Hi all,
Whats the best way to upgrade to the latest version of SS with Composer? There is some documentation but nothing that simple for a newbie like me ;)
I'm using 3.1.3 atm, but want to update to 3.1.5...
Thanks
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Hi all,
Whats the best way to upgrade to the latest version of SS with Composer? There is some documentation but nothing that simple for a newbie like me ;)
I'm using 3.1.3 atm, but want to update to 3.1.5...
Thanks
Edit your composer.json file (not the .lock file) - switch the numbers for the framework and cms dependancies to "3.1.5" or if you want to keep doing updates without editing this file later you can use wildcards for example "3.1.*@stable" will allow you to keep upgrading with each stable release of the 3.1 release.
After that in your command line you just need to run "composer update" and of course you'll want to test your work, though the patch version releases are usually non-breaking (so should be pretty safe).