Acorn v4.0.0-beta.0 released

acorn v4.0.0-beta.0 released

What’s Changed

New Contributors

Full Changelog: https://github.com/roots/acorn/compare/v3.2.0...v4.0.0-beta.0

5 Likes

Upgrading to Acorn 4.x

Step 1. Upgrade Acorn

$ composer remove roots/acorn
$ composer upgrade
$ composer require roots/acorn:v4.0.0-beta.0 -W

Step 2. Upgrade Packages

All of my packages other than ACF Composer have a release and should bump with composer upgrade. For ACF Composer, you should be able to safely use log1x/acf-composer:dev-master for now.

Step 3. Update Parent Namespace in Service Providers

All service providers used inside of your application or packages should now extend Illuminate:

- use Roots\Acorn\ServiceProvider;
+ use Illuminate\Support\ServiceProvider;

Step 4. Update Acorn Configs (If Applicable)

If you previously published Acorn’s config(s), you can delete them all and re-publish/re-modify them with your changes or grab them manually from the Acorn repo. You mainly need the new provider stuff if you published config/app.php.

:warning: If any packages/dependencies have conflicts while updating, try removing and then re-requiring them after Acorn is bumped to 4.x.

5 Likes