Copy - Upgrading

Upgrade notes

^1.x to 2.0.0

  1. This version of EnsōCopy requires version ^4.0 of EnsōCore.

  2. This version provides a separate publishable config file. If you do not already have one, you should publish it and copy data from your existing config file.

    php artisan vendor:publish --provider "Yadda\Enso\Copy\EnsoCopyServiceProvider"
    
  3. If you have added the menu item to EnsoMenu using a static array, you should instead use the value from the new config file (copying any differences into your config file)

    EnsoMenu::addItems([
       ...
    
       [
           'icon' => 'fa fa-clipboard',
           'label' => 'Copy',
           'route' => ['admin.copy.index'],
       ],
    
       ...
    ]);
    

    Should become

    EnsoMenu::addItems([
       ...
    
       Config::get('enso.crud.copy.menuitem'),
    
       ...
    ]);