Skip to content

Latest commit

 

History

History
105 lines (62 loc) · 2.66 KB

CHANGELOG.md

File metadata and controls

105 lines (62 loc) · 2.66 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.

[4.0.0] - 23-04-02

Changed

Minimum requirements for Laravel 10. Laravel 9 users should use v3 of this package.

[3.0.1] - 22-07-18

Removed

  • Removed loading blade views which no longer exist since 3.0.0.

[3.0.0] - 22-07-07

Added

  • Support for Laravel Nova 4
  • Created a configuration file

Removed

  • Locales now act as a resource (previously a tool)

Changed

  • Requirements

    • php: >= 8.0
    • laravel/framework: >= 9.0
    • laravel/nova: ^4.0
  • Changed the service provider name from ToolServiceProvider to NovaLocaleManagerServiceProvider

    • Might require you to run composer dump-autoload

Due to our organization changing it's name, we are changing the namespace starting this release.

  • composer.json:
    • "optimist-digital/nova-locale-manager" =>"outl1ne/nova-locale-manager"
  • imports:
    • OptimistDigital\NovaLocaleManager => Outl1ne\NovaLocaleManager

[2.0.4] - 07-02-2022

Changed

  • Allow spatie/once 3.0

[2.0.4] - 07-02-2022

Changed

  • Allow spatie/once 3.0

[2.0.3] - 2021-05-07

Changed

  • Added nullable type declarations for return value

[2.0.2] - 2020-05-26

Changed

  • Fixed locale helpers returning an associative array instead of a regular array when one of the locales isn't active

[2.0.1] - 2020-03-05

Added

  • Support Nova 3.0 in composer.json requirements

[2.0.0] - 2020-02-25

Added

  • Added active boolean to locales (NB! Requires php artisan migrate)
  • Added nova_get_default_locale_slug() helper function

Changed

  • Migrations are now loaded automatically, you can delete the old migration(s) from your project:

    • 2019_03_26_000000_create_locale_manager_tables.php
    • 2019_03_26_000001_add_default_boolean.php
  • Made a new (inline) action "Toggle active" which enables/disables the locale

  • Made a new (inline) action "Make default" which makes the selected locale the default one

  • Reworked index view's UI and layout

  • Caching now uses spatie/once instead of static properties

  • Renamed locale column to slug (NB! Requires php artisan migrate)

  • Added $activeOnly option to nova_get_locales($activeOnly = false)

  • Added $activeOnly option to nova_get_locales_full($activeOnly = false)

  • Refactored a lot of code

[1.0.0] - 2019-03-26

Initial release.