Skip to content

Latest commit

 

History

History
184 lines (101 loc) · 3.74 KB

CHANGELOG.md

File metadata and controls

184 lines (101 loc) · 3.74 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[2.5.6] - 2020-11-03

Changed

  • Upgrade translations loader
  • Fixed translations publishing

[2.5.5] - 2020-10-22

Added

  • Added Estonian (et) translations

Changed

  • Replaced translations logic with nova-translations-loader
  • Updated packages

[2.5.4] - 2020-07-29

Changed

  • Updated packages
  • Fixed double call to update method in Mozilla Firefox (thanks to @vkazakevich)

[2.5.3] - 2020-07-08

Changed

[2.5.2] - 2020-07-08

Changed

  • Fixed the requirement to publish config (thanks to @indykoning)

[2.5.1] - 2020-07-08

Added

  • Added option to override Settings model (thanks to @indykoning)

Changed

  • Updated packages

[2.5.0] - 2020-04-16

Added

  • Added default optional value to nova_get_setting($key, $default = null) helper (thanks to @Landish)
  • Added type="submit" to Settings submit button to allow enter press to save the form (thanks to @Landish)

Changed

  • Fixed Date and DateTime fields
  • Updated packages

[2.4.3] - 2020-03-19

Changed

  • Fixed ->rules('required') not displaying asterisk

[2.4.2] - 2020-03-05

Added

  • Support Nova 3.0 in composer.json requirements

[2.4.1] - 2020-03-02

Changed

  • Fixed typo

[2.4.0] - 2020-03-02

Added

  • Added config file with reload_page_on_save option

Changed

  • Read-only fields are no longer being saved
  • Migration(s) are now loaded automatically. The following migration file can be deleted from your project:
    • 2019_08_13_000000_create_nova_settings_table.php
  • Updated packages

[2.3.0] - 2020-02-25

Added

  • Added translations support

[2.2.0] - 2020-02-21

Added

[2.1.1] - 2020-02-11

Changed

  • nova_get_setting() and nova_get_settings() now cache values to avoid duplicate queries

[2.1.0] - 2020-01-27

Added

  • Allow passing callable that returns an array of fields as first argument of NovaSettings::addSettingsFields()

[2.0.2] - 2020-01-27

Changed

  • Improve nova-translatable support
  • Fixed Image field DELETE route not working when routes are cached
  • Updated packages

[2.0.1] - 2020-01-17

Changed

  • Support nova-translatable rule validation

[2.0.0] - 2020-01-17

Changed

  • Replaced customFormatter logic with casts that works identical to Laravel model's cast
  • nova_get_setting_value($key) is now nova_get_setting($key)
  • nova_get_settings($keys = null) now accepts an array of keys that define which settings to return
  • setSettingsFields($fields, $customFormatter) is now addSettingsFields($fields, $casts = [])
  • Added addCasts($casts = [])

[1.4.0] - 2019-12-10

Added

  • Added validation support (thanks to @tom075)

[1.3.0] - 2019-12-03

Added

  • Added support for Laravel Translatable (thanks to @royduin)

[1.2.1] - 2019-11-14

Changed

  • Fixed compatibility with Nova 2.7.0

[1.2.0] - 2019-11-11

Added

  • Added Image support

[1.1.0] - 2019-09-15

Added

  • Added Panel support

[1.0.0] - 2019-08-13

Initial release.

Added

  • Manage settings fields in code
  • UI for editing settings
  • Helpers for accessing settings