You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating from 4.0.x or 4.1.x to 4.2 will work without issues, since Bolt follows semantic versioning. However, Bolt 4.2 also allows you to make the preparatory steps for upgrading to Bolt 5.0.
Here is how to update to Bolt 4.2 with these steps in preparation of the major release:
Run composer update as usual.
After it has completed without errors, verify that you are running version 4.2 by checking the output of php bin/console bolt:info or in Bolt's Dashboard.
Switch the site to development mode, if not already, by setting APP_ENV=dev and APP_DEBUG=1 in the .env file in the root of your project.
Locate the composer.json file in the root of your project, and make the following adjustments:
5.a Update the "scripts" section to be (if you have defined your own custom scripts, you can keep them):
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Updating from 4.0.x or 4.1.x to 4.2 will work without issues, since Bolt follows semantic versioning. However, Bolt 4.2 also allows you to make the preparatory steps for upgrading to Bolt 5.0.
Here is how to update to Bolt 4.2 with these steps in preparation of the major release:
composer update
as usual.php bin/console bolt:info
or in Bolt's Dashboard.APP_ENV=dev
andAPP_DEBUG=1
in the.env
file in the root of your project.composer.json
file in the root of your project, and make the following adjustments:5.a Update the
"scripts"
section to be (if you have defined your own custom scripts, you can keep them):5.b Add a new
"autoload-dev"
section in thecomposer.json
file right after the abovescripts
section, like so:composer update
. It should work without errors.Beta Was this translation helpful? Give feedback.
All reactions