v20.1.0-rc6
Pre-releaseYou should absolutely know
Since the approval of our second RFC - release schedule OpenMage 19.x enters and "patch only" state, it will be maintained for two more years as promised but only significant security patches or regression fixes will be ported to v19, every other development (and we have many) will be focused on v20+.
We encourage everybody to upgrade to v20, it is our latest and greatest and deserves the bit of work necessary for the upgrade (ask your developer/agency, don't do it yourself).
Release highlights
This is a big release, that's why we decided to move away from the 20.0.x versioning and go to 20.1.x. Since a lot of changes could have some impact on current installations we decided to release some "rc" versions before the official 20.1.0. Tests are more than welcome now but be extra careful with production environment.
What's most important is the removal of all the 3rd party libraries (phpseclib, mcrypt_compat, Cm_RedisSession, Cm_Cache_Backend_Redis and Pelago_Emogrifier and Zend Framework) form our repository, they are now imported via composer. This was an important step to clean up and modernise our code.
- If you want to clean up your project from all the files that were removed during this release cycle, please check this link for the complete list.
Don't worry though, if you've always installed OpenMage extracting the zip file, starting from this release you'll find a new zip file attached to the release itself, we build this zip adding all of the old 3rd party libraries so that you will not have to migrate to composer or use composer at all.
Also:
- PHP 7.4 is now the minimum required version and 8.2 is now supported.
- The M1 legacy themes have been moved to an external repository since it's old (and mostly unused) code.
- A great improvement to EAV config cache has been added to v20.
- Support for Google Analytics 4 and Google Tag Manager was added with enhanced ecommerce data (which historically was always provided by 3rd party extensions).
- Possibility to set backend locale per every admin user was added.
- "pub/" folder structure was introduced (optional), to have extra security for your installation
- Massive performance improvement in complex SQL queries (#2210)
- Many, many smaller bugfix and improvements
Things you should be aware of:
- Support for Google Analytics3 and Universal Analytics were removed.
- Support for UPS CGI API (which was shut down in May 2023) was removed.
- Old inactive quotes are now actually purged from the database (#1489).
Known issues:
- The "pub/" folder structure won't work in composer managed projects, because the composer-magento plugin can't manage symlinks inside "pub/" correctly (#1210).
Changelog
- Replaced prototypejs load event with vanilla js in js/mage/adminhtml/input-counter.js by @luigifab in #3311
- Bump phpstan/phpstan from 1.10.18 to 1.10.19 by @dependabot in #3332
- Bump phpseclib/phpseclib from 3.0.19 to 3.0.20 by @dependabot in #3333
- Bump friendsofphp/php-cs-fixer from 3.17.0 to 3.18.0 by @dependabot in #3334
- Bump macopedia/phpstan-magento1 from 1.0.5 to 1.0.7 by @dependabot in #3335
- Fixed passing null for str_replace is deprecated for downloadable products by @kyrena in #3330
- Fixed passing null for trim is deprecated in Mage_Catalog_Model_Resource_Category_Flat by @kyrena in #3331
- Fixed passing null for unserialize is deprecated in Mage_Sales_Model_Quote_Address by @kyrena in #3337
- Fixed "passing null to parameter" in Mage_Core_Helper_String by @kiatng in #3341
- getAttributeCode() on null prevention by moving after AttributeAbstract check by @discountscott in #3344
- Fixed passing null for trim is deprecated in Mage_Catalog_Model_Attribute_Backend_Customlayoutupdate by @kyrena in #3336
- Added methods to support "error state" for cron schedule by @luigifab in #3310
- Added README to gitattributes file by @fballiano in #3322
- Improvements to Google Analytics 4 code by @empiricompany in #3342
- Fixed eav_config_entity throwing error message on removed entity model by @davidhiendl in #3338
- Bump tj-actions/changed-files from 36 to 37 by @dependabot in #3350
- Bump EnricoMi/publish-unit-test-result-action from 1.40 to 2.7 by @dependabot in #3351
- Bump friendsofphp/php-cs-fixer from 3.18.0 to 3.19.2 by @dependabot in #3348
- Bump phpstan/phpstan from 1.10.19 to 1.10.21 by @dependabot in #3349
- Fixed logException twice in CartController.php by @kiatng in #3354
- Removed Google Analytics3 and Universal Analytics by @fballiano in #3347
- Fixed getQuote() returns null in quote item and quote address objects. by @kiatng in #3355
- Fixed passing null is deprecated for strpos in Mage_Core_Controller_Varien_Action by @kyrena in #3327
- Fixed passing null is deprecated for htmlspecialchars in Mage_Core_Helper_Abstract by @kyrena in #3324
- Bump friendsofphp/php-cs-fixer from 3.19.2 to 3.20.0 by @dependabot in #3360
- Removed support for UPS CGI API which was shut down in May 2023 by @fballiano in #3287
- Old inactive quotes are now actually purged from the database by @FredericMartinez in #1489
- Added support for Google Tag Manager injection, compatible with Analytics 4 and enhanced ecommerce data by @fballiano in #3356
Full Changelog: v20.1.0-rc5...v20.1.0-rc6