Upgrading from 2.x to 3.0
This document details the changes made between 2.x and 3.0 that may affect upgrades. It's not a full list of all changes (see the changelog for that), but rather a reference of (breaking) changes that may affect extras and sites.
Upgrade to 3.0¶
In general, you can follow the standard upgrading process when upgrading to 3.0. It's recommended to first upgrade to the latest 2.8 release for some time, which will log deprecated functionality your site may depend on to the MODX log.
After upgrading the core and upgrading your extras, you may encounter some breaking changes that need to be addressed in extras or custom code.
- Important: MODX 3.0 requires at least PHP 7.2
- Important: sqlsrv support has been removed
- A list of breaking changes can be found here, most notably many core classes have been moved and renamed
- The manager language is now dynamic
- Various system settings have been removed or changed
Other notable changes and improvements¶
- New template picker allows for easier resource creation #15535
- Redesigned installer #14507 and login #13773.
- Manager has been redesigned. Improved manager on mobile devices #14700, #14735. Changed resource styles in the tree #14832
- Language can now be switched on the fly #14046
- All manager permissions are automatically made available in
- Google translations are now disabled in the manager #14414
- More consistent resource/element duplication #14411
- Markdown is now parsed in package attributes (changelog/readme/license) #13853
Files & Media¶
- Media sources now use Flysystem #13709
- Core directories are now protected from being renamed/removed from the manager #14374