Updating Pimcore
Our Backward Compatibility Promise
Since we're building on top of Symfony and in an app, Pimcore and Symfony code get mixed together, it makes sense that we're adopting the same backward compatibility promise for PHP code.
For further information on how you can ensure that your application won't break when upgrading to a newer version of the same major release branch, please have a look at https://symfony.com/doc/current/contributing/code/bc.html
Upgrading within Version 11
- Carefully read our Upgrade Notes before any update.
- Check your version constraint for
pimcore/pimcore
in yourcomposer.json
and adapt it if necessary to match with the desired target version. - Run
COMPOSER_MEMORY_LIMIT=-1 composer update
- Clear the data cache
bin/console pimcore:cache:clear
- Run core migrations:
bin/console doctrine:migrations:migrate --prefix=Pimcore\\Bundle\\CoreBundle
- (optional) Run migrations of your app or bundles