Releases: OpenMage/magento-lts
v19.4.19
Overview
This is a maintanance release with small bugfixes, code cleanup, documentation improvements and a better overall PHPStan coverage.
We're also bumping the minimum required PHP version to 7.3 with intl extension enabled.
Our source code finally has a much better "copyright" section, to thank all the team that is contributing to this beautiful project.
Important things you should check before upgrading
This release requires PHP 7.3 with intl extension, do not upgrade if your system doesn't match this requirement.
What's Changed
- Fixed whitespace for docblocks by @fballiano in #2550
- Remove redundant polyfill code for error reporting constants by @elidrissidev in #2555
- Fixed whitespace for docblocks by @fballiano in #2556
- Some CSS fixes to OpenMage adminhtml theme by @sreichel in #2422
- Fixed whitespace for docblocks by @fballiano in #2558
- Set default width for grid datetime columns, ref #2239 by @sreichel in #2544
- Removed PHP 5.3 compatibility code from Mage_Adminhtml_Model_System_Config_Backend_Locale_Timezone by @fballiano in #2563
- Added info about targetNamespace change in README by @fballiano in #2559
- Removed unused controller Mage_Shipping_ShippingController by @fballiano in #2564
- phpstan: fixed calls on Varien_Object/Mage_Core_Model_Abstract by @sreichel in #2565
- Ignore scss-cache and .phar files in .gitignore by @sreichel in #2566
- Changed boolean/integer to bool/int in docs by @sreichel in #2567
- Fixed whitespace for docblocks by @fballiano in #2562
- An Exception is thrown and logged if file is not found while merging by @fballiano in #2445
- Fixed PHPStan error with Mage_Catalog_Model_Resource_Product_Option_Collection by @fballiano in #2572
- Make php7.3 minimum requirement by @sreichel in #2413
- Added missing css.map file by @sreichel in #2573
- Added php-extension "intl" as requirement, updated composer by @sreichel in #2437
- Delete Mage_AmazonPayments.csv by @elidrissidev in #2579
- Update label for
system/csrf/use_form_key
config by @elidrissidev in #2578 - Refactoring: Replace dirname(FILE) With Corresponding Constant by @Sdfendor in #2582
- Fixed some docs for phpdocumentor by @sreichel in #2577
- phpstan: added some return statements to match parent class or interface by @sreichel in #2574
- phpstan: return type fixes by @sreichel in #2587
- Use null coalescing operator by @sreichel in #2543
- Updated phpstan experimental by @sreichel in #2589
- Fix Phpdoc Typos in Various Files by @Sdfendor in #2591
- phpstan: fixed "Access to an undefined property" by @sreichel in #2554
- Strip null bytes from strings and filter conditions. by @colinmollenhour in #1430
- Fixed phpstan-workflow by @sreichel in #2593
- Some fixes for phpdocs by @sreichel in #2588
- Removed Mage_GoogleBase.csv by @sreichel in #2599
- Better admin/config validation for allowed currencies by @sreichel in #2597
- Fix admin grid filter, ref #1430 by @sreichel in #2602
- [backport] Aggregate most viewed products report daily via a Cron job (#1829) by @sreichel in #2610
- Update deprecated using ${var} in lib/Zend by @sreichel in #2611
- Fix integers being cast to decimal in some particular cases by @digitalpianism in #1198
- phpstan: fixes for Mage_Catalog_Model_Product_Type_Abstract by @sreichel in #2605
- phpdocs: Undefined methods by @sreichel in #2613
- Downgraded composer dependencies to also fit php7.3 by @sreichel in #2576
- Added two indexes on sales_flat_order and sales_flat_order_item tables by @fballiano in #2447
- Phpdocs/phpstan update by @sreichel in #2596
- Replace Date Format String Literals With Existing Constants by @Sdfendor in #2592
- [PHP 8.1] Fix passing null to preg_split limit param by @elidrissidev in #2616
- Updated github workflow by @sreichel in #2608
- Updated README by @sreichel in #2618
- Fixed detect changes in custom options section (product edit) by @fballiano in #2444
- Add/Remove mark when region/zip is required by @luigifab in #2149
- Optimize EAV collections by @Sekiphp in #911
- Convert Exception to Throwable in Mage_Core_Block_Template. by @kiatng in #2623
- Added css class for sorted columns by @sreichel in #2604
- Improvements in cron scripts by @fballiano in #2380
- Fixed javascript error on adminhtml login page caused by #2149 by @fballiano in #2624
- Fixed bug caused by #2605 by @fballiano in #2625
- Fix workflow badges in README by @elidrissidev in #2626
- Update hardcoded credit card message in checkout by @elidrissidev in #2628
- bugfix + add module names to helper by @sreichel in #2617
- Get catalog search result collection from engine by @elidrissidev in #2634
- Add PHP dependencies security check workflow by @elidrissidev in #2639
- [security-workflow] Fixed cron syntax by @sreichel in #2640
- Add OpenMage Contributors Copyright by @justinbeaty in #2295
- docs: added ddev snippets by @sreichel in #2575
- Only run workflows when relevant files change by @elidrissidev in #2641
- Add back notification popup severity icons URL by @elidrissidev in #2633
- Fixes issue #475, reduce reprocessed jpeg image file size by defaulting image quality to 85% by @kiatng in #2629
- Prevent from editing a non-editable Order by @elidrissidev in #2632
- Allow automatic full invoice from API by @luigifab in #2393
- Add check if array key exists before use it by @przemyslaw-p in #2649
- Reload admin ACL by @luigifab in #1714
- Fixed Mage_Catalog_Model_Product_Status::addSaleableFilterToCollection() does nothing by @fballiano in #2603
- Reindex EAV values only for active storeviews by @fballiano in #2651
- Check if remote storage is enabled before saving local file by @elidrissidev in #2627
- Phpstan: fixed return types (docs only) by @sreichel in #2636
- Cast getLoadingTimeout() to int in template by @sreichel in #2661
- Fixes #2658 by @sreichel in #2662
- Re-added composer validation to github workflow by @sreichel in #2667
- Fix bug on clonePosition() in prototype.js. by @kiatng in #2669
- Fixes phpunit-workflow by @sreichel in #2672
- Reduce getId calls by @luigifab in #2677
- Allow to save configuration without fields by @luigifab in #2679
- Do not crash when creditmemo does not exist by @luigifab in #2684
- Fix esi parsing with turpentine by @luigifab in #2682
- Remove try catch throw by @luigifab in https://github.com/Open...
v20.0.16
Overview
This is a bugfix release with a couple of really good enhancements.
In the meanwhile we're working on completing the full PHPStan validation, which is allowing us to reformat the whole source code to make it look more beautiful than ever.
Last but not least, we already merged 2 PRs for the upcoming PHP 8.2 support!
Important things you should check before upgrading
- Added weight for API salesOrderShipmentAddTrack by @luigifab in #1377
- Color swatches work with disparate product IDs by @luigifab in #2390
- Changed default root dir (composer install) by @sreichel in #2401
- Fixed targetNamespace in WS-I Compliant by @leissbua in #2405
- Removed unused boxover.js by @fballiano in #2435
- Fixed "Is Required" custom option attribute always set "Yes" in PHP8.1 by @fballiano in #2441
- Removed unused jQuery 1.10.2, updated jQuery 1.12.1 to 1.12.4 by @fballiano in #2442
- Removed hideit input field from Contact form by @addison74 in #2398
- Split Mage_All.xml into own module XML files by @tmewes in #2455
- Updated jQuery Cycle for rwd theme by @fballiano in #2505
- Flow.js updates by @justinbeaty in #2433
- Enabled website config cache by @fballiano in #2355
- Removed more Internet Explorer related libraries by @fballiano in #2504
- Fixed broken boxes.css in OM 20.0.15 by @fballiano in #2364
What's Changed
- Use constant for _isAllowed() check by @sreichel in #2342
- Revert "Add basic text for Ukraine (#2074)" by @fballiano in #2325
- Mage_Catalog_Model_Product_Attribute_Backend_Groupprice_Abstract: avoid loading all websites when using only the current one by @fballiano in #2351
- Make Curl Client HTTP/2 compatible by @Schrank in #1137
- Block access to all dot files. by @colinmollenhour in #2349
- Capitalization Adjustment Regarding CamelCase in Method Names by @Sdfendor in #2365
- Some microoptimization by @sreichel in #2335
- Enclosed error with
<pre>
tag for prettier error print. by @kiatng in #2368 - Updated phpstan to 1.8.2 by @sreichel in #2367
- Escape product titles in MSRP JavaScript by @discountscott in #2366
- Backend grid heads - Align the elements for range and date types by @addison74 in #2330
- Force describeTable() to use read DB adapter by @fballiano in #2371
- Do not install n98/n98_layouthelper by @sreichel in #2373
- Replaced deprecated method getRegionJson() with getRegionJsonByStore(). by @kiatng in #2375
- Replaced remaining sizeof alias calls by @Sdfendor in #2369
- Removed DISCLAIMER and change Magento -> OpenMage in header by @justinbeaty in #2297
- Added label for phpstan cosmetic changes by @sreichel in #2384
- Added weight for API salesOrderShipmentAddTrack by @luigifab in #1377
- PHPStan/DOCBlock fixes ... by @sreichel in #2336
- Updated docs for email addTo() by @sreichel in #2382
- Updated phpstan experimental by @sreichel in #2386
- Cosmetic changes to Mage_Payment_Model_Method_Abstract::validate() by @fballiano in #2388
- Replaced Remaining join Alias Calls by @Sdfendor in #2389
- Hidden empty sub menu by @luigifab in #2391
- Removed Thumbs.db file by @luigifab in #2394
- Fixed Issue with PHP < 8.1 in composer.json by @addison74 in #2378
- Blocked access to various project files by @colinmollenhour in #2359
- Color swatches work with disparate product IDs by @luigifab in #2390
- Moved Credit Memo button at the end by @luigifab in #2392
- Minor fixes on 'filter_condition_callback' method _filterStoreConditi… by @kiatng in #2362
- Added ReturnTypeWillChange to various Files catched by code style checker by @Flyingmana in #2302
- Phpstan fixes by @sreichel in #2396
- Fixed camelCase in lib/Varien by @sreichel in #2403
- Changed default root dir (composer install) by @sreichel in #2401
- Fixed targetNamespace in WS-I Compliant by @leissbua in #2405
- Removed deprecated string interpolation for PHP 8.2 by @fballiano in #2408
- Moved files out of root by @sreichel in #2414
- Product reviews backend: fixed grid ID typo preventing save button to show by @fballiano in #2415
- Added ReturnTypeWillChange to Varien_Data_Collection by @Sdfendor in #2409
- Added null check before method_exists by @holozaen in #2417
- Removed deprecated utf8_encode() for PHP 8.2 by @fballiano in #2404
- Method Annotation Improvement Mage_Catalog_Model_Product_Option_Type_Date by @Sdfendor in #2418
- Correct usage for adding items to ArrayObject by @sreichel in #2372
- Removed useless array_column function polyfill by @elidrissidev in #2423
- Fixed wishlist share email validation by @sreichel in #2425
- Small improvements to openmage backend theme for better readability by @fballiano in #2257
- Comments More Typo Fixes Retreive => Retrieve by @Sdfendor in #2431
- Removed unused boxover.js by @fballiano in #2435
- phpstan: fixed calls to Mage_Core_Block_Abstract by @sreichel in #2412
- Added some dev tools & code sniffers by @sreichel in #2400
- Updated phstorm meta files by @sreichel in #2436
- Added "number" validation to minimum order amount in the backend by @fballiano in #2439
- DHL International: PHP8: Cast $dimension before calling round() by @fballiano in #2438
- [backport] Added a configuration flag to disable global search in adminhtml by @sreichel in #2443
- Fixed "Is Required" custom option attribute always set "Yes" in PHP8.1 by @fballiano in #2441
- Fixed wrong setDefaultSort() with two parameters by @sreichel in #2446
- Fixed wrong camelCase by @sreichel in #2452
- phpstan: fixed call to an undefined method Mage_Core_Helper_Abstract::init() by @sreichel in #2453
- Fixed yoda style by @sreichel in #2459
- Use short array syntax by @sreichel in #2458
- Removed meaningless "enter description here" comments in code by @fballiano in #2463
- Removed unused constant GALLERY_IMAGE_TABLE by @fballiano in #2460
- Fixed yoda style & short array syntax in app\Mage.php by @sreichel in #2465
- Fixed sort direction by @sreichel in #2468
- Removed deprecated class Mage_Tag_Block_Customer_Edit by @fballiano in #2462
- Use composer-plugin to install phpcs sniffs by @sreichel in #2470
- Added loading delay adminhtml by @justinbeaty in #2426
- Fixed some email template resources by @justinbeaty in #2476
- Phpstan fixes by @sreichel in #2457
- Fixed default sort order for admin catalog search terms, closes #2477 by @sre...
v19.4.18
Overview
This is a bugfix release while we're working on completing the full PHPStan validation, which is allowing us to reformat the whole source code to make it look more beautiful than ever.
Last but not least, we already merged 2 PRs for the upcoming PHP 8.2 support!
Important things you should check before upgrading
- Added weight for API salesOrderShipmentAddTrack by @luigifab in #1377
- Color swatches work with disparate product IDs by @luigifab in #2390
- Changed default root dir (composer install) by @sreichel in #2401
- Fixed targetNamespace in WS-I Compliant by @leissbua in #2405
- Removed unused boxover.js by @fballiano in #2435
- Fixed "Is Required" custom option attribute always set "Yes" in PHP8.1 by @fballiano in #2441
- Removed unused jQuery 1.10.2, updated jQuery 1.12.1 to 1.12.4 by @fballiano in #2442
- Removed hideit input field from Contact form by @addison74 in #2398
- Split Mage_All.xml into own module XML files by @tmewes in #2455
- Updated jQuery Cycle for rwd theme by @fballiano in #2505
Complete changelog
- Use constant for _isAllowed() check by @sreichel in #2342
- Revert "Add basic text for Ukraine (#2074)" by @fballiano in #2325
- Mage_Catalog_Model_Product_Attribute_Backend_Groupprice_Abstract: avoid loading all websites when using only the current one by @fballiano in #2351
- Make Curl Client HTTP/2 compatible by @Schrank in #1137
- Block access to all dot files. by @colinmollenhour in #2349
- Capitalization Adjustment Regarding CamelCase in Method Names by @Sdfendor in #2365
- Some microoptimization by @sreichel in #2335
- Enclosed error with
<pre>
tag for prettier error print. by @kiatng in #2368 - Updated phpstan to 1.8.2 by @sreichel in #2367
- Escape product titles in MSRP JavaScript by @discountscott in #2366
- Backend grid heads - Align the elements for range and date types by @addison74 in #2330
- Force describeTable() to use read DB adapter by @fballiano in #2371
- Do not install n98/n98_layouthelper by @sreichel in #2373
- Replaced deprecated method getRegionJson() with getRegionJsonByStore(). by @kiatng in #2375
- Replaced remaining sizeof alias calls by @Sdfendor in #2369
- Removed DISCLAIMER and change Magento -> OpenMage in header by @justinbeaty in #2297
- Added label for phpstan cosmetic changes by @sreichel in #2384
- Added weight for API salesOrderShipmentAddTrack by @luigifab in #1377
- PHPStan/DOCBlock fixes ... by @sreichel in #2336
- Updated docs for email addTo() by @sreichel in #2382
- Updated phpstan experimental by @sreichel in #2386
- Cosmetic changes to Mage_Payment_Model_Method_Abstract::validate() by @fballiano in #2388
- Replaced Remaining join Alias Calls by @Sdfendor in #2389
- Hidden empty sub menu by @luigifab in #2391
- Removed Thumbs.db file by @luigifab in #2394
- Fixed Issue with PHP < 8.1 in composer.json by @addison74 in #2378
- Blocked access to various project files by @colinmollenhour in #2359
- Color swatches work with disparate product IDs by @luigifab in #2390
- Moved Credit Memo button at the end by @luigifab in #2392
- Minor fixes on 'filter_condition_callback' method _filterStoreConditi… by @kiatng in #2362
- Added ReturnTypeWillChange to various Files catched by code style checker by @Flyingmana in #2302
- Phpstan fixes by @sreichel in #2396
- Fixed camelCase in lib/Varien by @sreichel in #2403
- Changed default root dir (composer install) by @sreichel in #2401
- Fixed targetNamespace in WS-I Compliant by @leissbua in #2405
- Removed deprecated string interpolation for PHP 8.2 by @fballiano in #2408
- Moved files out of root by @sreichel in #2414
- Product reviews backend: fixed grid ID typo preventing save button to show by @fballiano in #2415
- Added ReturnTypeWillChange to Varien_Data_Collection by @Sdfendor in #2409
- Added null check before method_exists by @holozaen in #2417
- Removed deprecated utf8_encode() for PHP 8.2 by @fballiano in #2404
- Method Annotation Improvement Mage_Catalog_Model_Product_Option_Type_Date by @Sdfendor in #2418
- Correct usage for adding items to ArrayObject by @sreichel in #2372
- Removed useless array_column function polyfill by @elidrissidev in #2423
- Fixed wishlist share email validation by @sreichel in #2425
- Small improvements to openmage backend theme for better readability by @fballiano in #2257
- Comments More Typo Fixes Retreive => Retrieve by @Sdfendor in #2431
- Removed unused boxover.js by @fballiano in #2435
- phpstan: fixed calls to Mage_Core_Block_Abstract by @sreichel in #2412
- Added some dev tools & code sniffers by @sreichel in #2400
- Updated phstorm meta files by @sreichel in #2436
- Added "number" validation to minimum order amount in the backend by @fballiano in #2439
- DHL International: PHP8: Cast $dimension before calling round() by @fballiano in #2438
- [backport] Added a configuration flag to disable global search in adminhtml by @sreichel in #2443
- Fixed "Is Required" custom option attribute always set "Yes" in PHP8.1 by @fballiano in #2441
- Fixed wrong setDefaultSort() with two parameters by @sreichel in #2446
- Fixed wrong camelCase by @sreichel in #2452
- phpstan: fixed call to an undefined method Mage_Core_Helper_Abstract::init() by @sreichel in #2453
- Fixed yoda style by @sreichel in #2459
- Use short array syntax by @sreichel in #2458
- Removed meaningless "enter description here" comments in code by @fballiano in #2463
- Removed unused constant GALLERY_IMAGE_TABLE by @fballiano in #2460
- Fixed yoda style & short array syntax in app\Mage.php by @sreichel in #2465
- Fixed sort direction by @sreichel in #2468
- Removed deprecated class Mage_Tag_Block_Customer_Edit by @fballiano in #2462
- Use composer-plugin to install phpcs sniffs by @sreichel in #2470
- Added loading delay adminhtml by @justinbeaty in #2426
- Fixed some email template resources by @justinbeaty in #2476
- Phpstan fixes by @sreichel in #2457
- Fixed default sort order for admin catalog search terms, closes #2477 by @sreichel in #2480
- Cosmetic changes to backend footer by @fballiano in #2482
- Addendum to #2426 - Adminhtml loader by @justinbeaty in #2475
- Removed memory_limit checks for better performance by @fballiano in #2471
- Fixed typos for "deprecated" word by @fballiano in https://github.c...
v20.0.15
Important things you should check before upgrading
In this release we changed the targetNamespace
of all the WSDL files (used in the API modules), from Magento
to OpenMage
.
If your custom modules extends OpenMage's APIs with a custom WSDL file and there are some hardcoded targetNamespace="urn:Magento"
string, your APIs may stop working.
Please replace all occurrences of targetNamespace="urn:Magento"
with targetNamespace="urn:OpenMage"
(or alternatively targetNamespace="urn:{{var wsdl.name}}"
) to avoid any problem.
To find which files need the modification you can run grep -rn 'urn:Magento' --include \*.xml
from the root directory of your project.
What's Changed
- Replaced a lot of Magento logos with OpenMage ones by @fballiano in #1599
- Remove end class comment by @luigifab in #2092
- Trim trailing whitespace by @luigifab in #2093
- Fixed issue #268: sales_order_create_sidebar_wishlist breaks if wishlist module is disabled by @fballiano in #2059
- Better messages for product alerts by @fballiano in #1930
- Clean review_entity_summary when reviews are deleted by @fballiano in #1103
- Fixed admin tabs order not working properly. by @kiatng in #1360
- Fix admin menu z-index when debug template paths is enabled by @elidrissidev in #1819
- Change default sort in CMS Pages/Blocks/Widgets grids by @addison74 in #1922
- Small improvements in Manage Attributes grid by @addison74 in #1944
- Added database ID to EAV options table by @fballiano in #2060
- Clean up empty directories created when file requested does not exist in remote storage. by @colinmollenhour in #1338
- Add a word-break to list items to keep the layout intact by @loekvangool in #1321
- Fix download custom option backend by @empiricompany in #1827
- Fix Varien_File_Uploader ignored errors with try catch by @luigifab in #1277
- User-configurable cron expression for regular cache flushing #2086 by @LukasCesal in #2087
- Fixed infinite loop of popup alerts in backend attribute set page by @kiatng in #1672
- Added option not to use timezone in rendering datetime in backend grid. by @kiatng in #1997
- Upgrade GitHub action/checkout to v3 by @fballiano in #2141
- Fix admin menu z-index for popup message by @luigifab in #2142
- Fix undefined array key when an image depend on another field by @luigifab in #2133
- Fix supplied resource is not a valid stream resource for Varien_Io_File by @eneiasramos in #2040
- Raise phpstan level to 1 and fix basic issues by @tmotyl in #2055
- Fix wrong tier price percentage rounding by @empiricompany in #2089
- Replaced travis badge with workflow badges by @fballiano in #2067
- Update References to Documentation/Magento Website - Issue #988 by @fballiano in #2069
- Create a global config cache rather than a config cache per store by @rvelhote in #1066
- Rise Phpstan level 2, fix some issues by @tmotyl in #2146
- Backend mask title has padding also when not having an icon by @fballiano in #2145
- Fix config menu css from Isse #1219 by @aterjung in #1224
- Fix protect code changing on order save by @justinbeaty in #1422
- Introducing polyfill for is_countable() by @fballiano in #2163
- Ensure there are no emails without recipient in email queue by @lemundo-team in #1109
- Fix Core Bug: To make "01/01/1970" a valid birthday by @1Shiroyuuki1 in #1851
- Fix issues with isCurrentlySecure detection and Offloader Header config. by @colinmollenhour in #1462
- PHP 8 fix null provided to count() in tax calculation class by @iamniels in #2162
- Better error handling for issues during bulk attribute update by @woutersamaey in #1434
- Allow to cancel orders like registerCancellation by @luigifab in #1804
- Revert "Fix wrong payment info template paths" by @fballiano in #2179
- Fix Failed IPN changing to Payment Received incorrectly by @fballiano in #2183
- Reverted commit 2ae8c05 by @fballiano in #2182
- Revert "creditmemo bundle inventory calculation error" by @fballiano in #2186
- Sourcemap link removed since this file is not minified by @fballiano in #2187
- Remove suppression operator from translate method to support PHP 8 by @iamniels in #2161
- [PHP 8] Fix TypeError when calling round() with a string argument by @elidrissidev in #2193
- Backend - Change the default sort column in Export page by @addison74 in #2170
- Fix warnings on undefined user agent by @Caprico85 in #2032
- Fix PHP 8 Fatal error: Uncaught ValueError: imagecolorsforindex() in Varien_Image_Adapter_Gd2 by @iamniels in #2197
- Do not calculate catalogrules when there are none by @tmotyl in #1119
- Replaced apc with apcu functions. by @f1-outsourcing in #1951
- Added robots.txt.sample by @simbus82 in #1024
- Changed timestamp definition to fix issue #1166 by @fballiano in #2189
- Cast params receiving int to string by @holozaen in #2144
- Set log level from config by @elidrissidev in #1727
- Expected PayPal (Express) field not found in NVP Response: AMT by @luigifab in #1520
- (BC) Remove js index file by @luigifab in #1622
- Fix display of Insert widget and Insert variable by @luigifab in #1848
- Fix region API list response - Update Api.php --> bug by @kyansi in #792
- Fixed issue #2001, EAV datetime attribute can't save time. by @kiatng in #2003
- Wrap max log level retrieval from config in a try catch by @elidrissidev in #2203
- Fix to allow for always reorder by @seansan in #504
- Remove frontend_type tag for text by @luigifab in #2148
- Reduce needless saves by avoiding setting _hasDataChanges flag by @colinmollenhour in #2066
- Pass delimiter char to preg_quote by @MarcinNowakMacopedia in #2047
- Phpstan errors in pr1325 by @kiatng in #2207
- Avoids multiplying all price adjustments by the number of websites by @azambon in #1303
- Use latest media editor plugin (989c4b5 from 2015030) for tinymce v3.5 by @theroch in #1123
- Some more room for the category menu by @loekvangool in #1314
- PHP 8: Fix cannot remove category on admin product edit categories tab by @iamniels in #2205
- Config cache for system.xml loader: Speed improvement by @lamskoy in #1916
- Remove strict typing for Mage_Catalog_Model_Product->setStockItem met… by @colinmollenhour in #2208
- Avoid session invalidation when changing session lifetime. by @colinmollenhour in #546
- Modernize setCategoryIds() by @loekvangool in #1308
- Replace Magento word with OpenMage in root files by @addison74 in #2215
- Remove backslash character in translations files by @addison74 in #2219
- Fix ACL resource name typo in Api2 roles page by @elidrissidev in #2222
- Missing bottom borders in Orders page with Gift Messages allowed...
v19.4.17
Important things you should check before upgrading
In this release we changed the targetNamespace
of all the WSDL files (used in the API modules), from Magento
to OpenMage
.
If your custom modules extends OpenMage's APIs with a custom WSDL file and there are some hardcoded targetNamespace="urn:Magento"
string, your APIs may stop working.
Please replace all occurrences of targetNamespace="urn:Magento"
with targetNamespace="urn:OpenMage"
(or alternatively targetNamespace="urn:{{var wsdl.name}}"
) to avoid any problem.
To find which files need the modification you can run grep -rn 'urn:Magento' --include \*.xml
from the root directory of your project.
What's Changed
- Replaced a lot of Magento logos with OpenMage ones by @fballiano in #1599
- Remove end class comment by @luigifab in #2092
- Trim trailing whitespace by @luigifab in #2093
- Fixed ssue #268: sales_order_create_sidebar_wishlist breaks if wishlist module is disabled by @fballiano in #2059
- Better messages for product alerts by @fballiano in #1930
- Clean review_entity_summary when reviews are deleted by @fballiano in #1103
- Fixed admin tabs order not working properly. by @kiatng in #1360
- Fix admin menu z-index when debug template paths is enabled by @elidrissidev in #1819
- Change default sort in CMS Pages/Blocks/Widgets grids by @addison74 in #1922
- Small improvements in Manage Attributes grid by @addison74 in #1944
- Added database ID to EAV options table by @fballiano in #2060
- Clean up empty directories created when file requested does not exist in remote storage. by @colinmollenhour in #1338
- Add a word-break to list items to keep the layout intact by @loekvangool in #1321
- Fix download custom option backend by @empiricompany in #1827
- Fix Varien_File_Uploader ignored errors with try catch by @luigifab in #1277
- User-configurable cron expression for regular cache flushing #2086 by @LukasCesal in #2087
- Fixed infinite loop of popup alerts in backend attribute set page by @kiatng in #1672
- Added option not to use timezone in rendering datetime in backend grid. by @kiatng in #1997
- Upgrade GitHub action/checkout to v3 by @fballiano in #2141
- Fix admin menu z-index for popup message by @luigifab in #2142
- Fix undefined array key when an image depend on another field by @luigifab in #2133
- Fix supplied resource is not a valid stream resource for Varien_Io_File by @eneiasramos in #2040
- Raise phpstan level to 1 and fix basic issues by @tmotyl in #2055
- Fix wrong tier price percentage rounding by @empiricompany in #2089
- Replaced travis badge with workflow badges by @fballiano in #2067
- Update References to Documentation/Magento Website - Issue #988 by @fballiano in #2069
- Create a global config cache rather than a config cache per store by @rvelhote in #1066
- Rise Phpstan level 2, fix some issues by @tmotyl in #2146
- Backend mask title has padding also when not having an icon by @fballiano in #2145
- Fix config menu css from Isse #1219 by @aterjung in #1224
- Fix protect code changing on order save by @justinbeaty in #1422
- Introducing polyfill for is_countable() by @fballiano in #2163
- Ensure there are no emails without recipient in email queue by @lemundo-team in #1109
- Fix Core Bug: To make "01/01/1970" a valid birthday by @1Shiroyuuki1 in #1851
- Fix issues with isCurrentlySecure detection and Offloader Header config. by @colinmollenhour in #1462
- PHP 8 fix null provided to count() in tax calculation class by @iamniels in #2162
- Better error handling for issues during bulk attribute update by @woutersamaey in #1434
- Allow to cancel orders like registerCancellation by @luigifab in #1804
- Revert "Fix wrong payment info template paths" by @fballiano in #2179
- Fix Failed IPN changing to Payment Received incorrectly by @fballiano in #2183
- Reverted commit 2ae8c05 by @fballiano in #2182
- Revert "creditmemo bundle inventory calculation error" by @fballiano in #2186
- Sourcemap link removed since this file is not minified by @fballiano in #2187
- Remove suppression operator from translate method to support PHP 8 by @iamniels in #2161
- [PHP 8] Fix TypeError when calling round() with a string argument by @elidrissidev in #2193
- Backend - Change the default sort column in Export page by @addison74 in #2170
- Fix warnings on undefined user agent by @Caprico85 in #2032
- Fix PHP 8 Fatal error: Uncaught ValueError: imagecolorsforindex() in Varien_Image_Adapter_Gd2 by @iamniels in #2197
- Do not calculate catalogrules when there are none by @tmotyl in #1119
- Replaced apc with apcu functions. by @f1-outsourcing in #1951
- Add robots.txt.sample by @simbus82 in #1024
- Changed timestamp definition to fix issue #1166 by @fballiano in #2189
- Cast params receiving int to string by @holozaen in #2144
- Set log level from config by @elidrissidev in #1727
- Expected PayPal (Express) field not found in NVP Response: AMT by @luigifab in #1520
- Fix display of Insert widget and Insert variable by @luigifab in #1848
- Fix region API list response - Update Api.php --> bug by @kyansi in #792
- Fixed issue #2001, EAV datetime attribute can't save time. by @kiatng in #2003
- Wrap max log level retrieval from config in a try catch by @elidrissidev in #2203
- Fix to allow for always reorder by @seansan in #504
- Remove frontend_type tag for text by @luigifab in #2148
- Pass delimiter char to preg_quote by @MarcinNowakMacopedia in #2047
- Avoids multiplying all price adjustments by the number of websites by @azambon in #1303
- Use latest media editor plugin (989c4b5 from 2015030) for tinymce v3.5 by @theroch in #1123
- Some more room for the category menu by @loekvangool in #1314
- PHP 8: Fix cannot remove category on admin product edit categories tab by @iamniels in #2205
- Config cache for system.xml loader: Speed improvement by @lamskoy in #1916
- Avoid session invalidation when changing session lifetime. by @colinmollenhour in #546
- Modernize setCategoryIds() by @loekvangool in #1308
- Replace Magento word with OpenMage in root files by @addison74 in #2215
- Remove backslash character in translations files by @addison74 in #2219
- Fix ACL resource name typo in Api2 roles page by @elidrissidev in #2222
- Missing bottom borders in Orders page with Gift Messages allowed by @addison74 in #2220
- Backend > Orders grid - More space for columns by @addison74 in #2217
- Fixed issue #2196, throws error if an email is already a newsletter s… by @kiatng in #2214
- Widen some dynamic admin input fields by @loekvangool in #1315
- Admin's password validation during Api's...
v20.0.14
What's Changed
- Add field info to exception when thrown in saving System Configuration. by @kiatng in #1784
- Fix Tax Rule name update by @elidrissidev in #1728
- Fixed method addExpressionFieldToSelect to use Zend_Db_Expr by @midlan in #1259
- enable programmatic creation of reviews for specific users by @luigifab in #1803
- API fix option labels for store view by @woutersamaey in #1828
- Fix newsletter subcriber loading by customer by @mmenozzi in #1779
- Fix file delete of customer attribute by @kiatng in #927
- Trim trailing whitespace by @luigifab in #1834 and #1846
- Updated .gitignore by @midlan in #1859
- Add gitpod online IDE config by @Flyingmana in #1836
- Add phpstan configuration, dependencies and github action by @Flyingmana in #1875
- Add
Mage_Index
helpers declaration toconfig.xml
by @elidrissidev in #1878 - API: _getLocation - removed unused argument; fix phpdoc by @Sekiphp in #1867
- Grid page size: replaced similar lines to foreach by @Sekiphp in #1856
- Fix exception handling on Observer call when class not found by @spinsch in #1861
- Fixes catalog pricerules with dates in conditions, closes #433 by @sreichel in #1159
- Zend_Locale_Format::isNumber throws notice for float values by @fballiano in #1758
- Update PayPal currencies and countries by @luigifab in #1805
- Aggregate most viewed products report daily via a Cron job by @elidrissidev in #1829
- extend php Syntax check to php 8.1 by @Flyingmana in #1883
- Fix incompatible declaration error by @holozaen in #1890
- Zend registry - removed method offset exists (using parental) by @Sekiphp in #1873
- [PHP 8.1] Fix deprecation notice in mcryptcompat lib by @Sdfendor in #1891
- Bugfix #1885 - Add to cart only accepts 1 item by @gdemarsico in #1896
- Array to string conversion when adding reviews from backend by @fballiano in #1769
- Update phpdoc in Collection.php by @rubanooo in #1816
- Fix syntax in lib/Zend/Locale/Data/es_419.xml by @elidrissidev in #1901
- make fulltext search separator (OR/AND) configurable from backend by @sreichel in #1852
- Revert of Mage_Adminhtml_Block_Widget_Grid::_exportIterateCollection by @midlan in #1914
- demo.html is an unnecessary file by @addison74 in #1926
- Revert #1355 for transactional email by @luigifab in #1898
- Sort ascending CMS Block list in Categories by @addison74 in #1925
- [PHP 8.0] Refactor legacy usage of implode in
Mage_Api2
by @elidrissidev in #1938 - Initialize Api2 Fields validator's required fields array by @elidrissidev in #1936
- No alt tag value in Recently Viewed Products side block by @addison74 in #1920
- Dashboard - Top 5 Search Terms link issue by @addison74 in #1917
- Removed unused var $_odd in templates. by @kiatng in #1964
- Documentation fix on README file about composer require by @nimasan in #1954
- Fix typo in Zend/Date.php by @eltociear in #1979
- [PHP 8.0] Check if track
progressdetail
is an array before callingcount
by @elidrissidev in #1982 - [PHP 8.1] Fix cookie deletion behavior by @Sdfendor in #1984
- updateAttributeSet() accepting array or string by @Sekiphp in #1535
- Fix typo in code comment by @dotancohen in #1988
- Fix #1924 non-existing field by @woutersamaey in #1941
- Added optgroup feature for massaction items (grids) by @Sekiphp in #1913
- PHPDoc fix for Mage_Core_Model_Config by @Sdfendor in #1802
- Missing middlename for salesOrderAddressEntity in SOAP APIs by @fballiano in #1977
- Attribute note adminhtml show translate by @boesbo in #1710
- Removed global polyfill function for PHP versions below 7.0 by @Sdfendor in #1990
- fix typo in _applyCustomOption() to correctly calculate min/max price by @jouriy in #1500
- Fix typo: Replace 'Retrive' with 'Retrieve' globally by @tmewes in #1995
- Add formkey validation to Newsletter subscribe action (theme BC-break) by @elidrissidev in #1866
- Added ability to add target attribute for adminhtml menu items by @Sekiphp in #1985
- Add docblock to app\code\core\Mage\Adminhtml\Block\Widget\Grid\Column… by @kiatng in #1987
- [PHP 8.1] Fix passing
null
totrim()
by @elidrissidev in #2002 - Replaced remaining deprecated urlEscape calls. by @Sdfendor in #2008
- Update phpstan version by @tmotyl in #2015
- Replaced isAvailable() with isSalable() so events are considered by @woutersamaey in #1630
- Use mb_substr to split the postcode by @luigifab in #1357
- Fix count(): Parameter must be an array or an object that implements Countable by @Sekiphp in #1960
- Fix getting default
min_sale_qty
when trying to mass-update product attributes by @elidrissidev in #1850 - Add polyfill for PHP8 native string functions by @tmotyl in #2014
- Improve getScheme on Zend_Controller_Request_Http by @mmenozzi in #1872
- Fix @method declarations in Mage_Catalog_Model_Resource_Eav_Attribute by @Caprico85 in #2031
- Deprecated global function "now" because it's equivalent to Varien_Date::now() by @Sdfendor in #1991
- Fixed the unused parameter in assignProduct by @rubanooo in #2011
- Remove white space for config values for #1852 by @luigifab in #2020
- password_new.html - typo in vars by @m-overlund in #2039
- add unit Tests and send coverage results to SonarCloud by @Flyingmana in #2041
- Use vanillaJS instead of prototype in Wishlist add to cart column by @MarcinNowakMacopedia in #2051
- do not mark github job as failes through sonar failure by @Flyingmana in #2053
- Analyze most of the source code with phpstan. Provide baseline. by @tmotyl in #2035
- Update PHPdoc and remove useless var by @bastienlm in #2056
- Add unit tests for security helper validateAgainstBlockMethodBlacklist and provide composer.lock by @tmotyl in #2058
- Fix widget edition in WYSIWYG by @FredericMartinez in #1605
- Use vanillaJS instead of encodeURI in wishlist add to cart by @MarcinNowakMacopedia in #2052
- Fixed bug on incorrect category store_id when set with store code in … by @kiatng in #1601
- Remove notification survey block by @kkrieger85 in #1267
- Fixed grid filter reset by @spinsch in #821
- Documentation of some changes by @luigifab in #1831
- Fix: Integrity constraint violation: Duplicate key by @tim-breitenstein-it in #1331
- Align label with value by @AlterWeb in #1230
- Remove backend current date from backend's header by @fballiano in https://github.com/OpenM...
v19.4.16
What's Changed
- Add field info to exception when thrown in saving System Configuration. by @kiatng in #1784
- Fix Tax Rule name update by @elidrissidev in #1728
- Fixed method addExpressionFieldToSelect to use Zend_Db_Expr by @midlan in #1259
- API fix option labels for store view by @woutersamaey in #1828
- Fix newsletter subcriber loading by customer by @mmenozzi in #1779
- Fix file delete of customer attribute by @kiatng in #927
- Trim trailing whitespace by @luigifab in #1834 and #1846
- Updated .gitignore by @midlan in #1859
- Add gitpod online IDE config by @Flyingmana in #1836
- Add phpstan configuration, dependencies and github action by @Flyingmana in #1875
- Add
Mage_Index
helpers declaration toconfig.xml
by @elidrissidev in #1878 - API: _getLocation - removed unused argument; fix phpdoc by @Sekiphp in #1867
- Grid page size: replaced similar lines to foreach by @Sekiphp in #1856
- Fix exception handling on Observer call when class not found by @spinsch in #1861
- Fixes catalog pricerules with dates in conditions, closes #433 by @sreichel in #1159
- Zend_Locale_Format::isNumber throws notice for float values by @fballiano in #1758
- Update PayPal currencies and countries by @luigifab in #1805
- extend php Syntax check to php 8.1 by @Flyingmana in #1883
- Fix incompatible declaration error by @holozaen in #1890
- [PHP 8.1] Fix deprecation notice in mcryptcompat lib by @Sdfendor in #1891
- Bugfix #1885 - Add to cart only accepts 1 item by @gdemarsico in #1896
- Array to string conversion when adding reviews from backend by @fballiano in #1769
- Update phpdoc in Collection.php by @rubanooo in #1816
- Fix syntax in lib/Zend/Locale/Data/es_419.xml by @elidrissidev in #1901
- make fulltext search separator (OR/AND) configurable from backend by @sreichel in #1852
- Revert of Mage_Adminhtml_Block_Widget_Grid::_exportIterateCollection by @midlan in #1914
- demo.html is an unnecessary file by @addison74 in #1926
- Sort ascending CMS Block list in Categories by @addison74 in #1925
- [PHP 8.0] Refactor legacy usage of implode in
Mage_Api2
by @elidrissidev in #1938 - Initialize Api2 Fields validator's required fields array by @elidrissidev in #1936
- No alt tag value in Recently Viewed Products side block by @addison74 in #1920
- Dashboard - Top 5 Search Terms link issue by @addison74 in #1917
- Removed unused var $_odd in templates. by @kiatng in #1964
- Documentation fix on README file about composer require by @nimasan in #1954
- Fix typo in Zend/Date.php by @eltociear in #1979
- [PHP 8.0] Check if track
progressdetail
is an array before callingcount
by @elidrissidev in #1982 - [PHP 8.1] Fix cookie deletion behavior by @Sdfendor in #1984
- updateAttributeSet() accepting array or string by @Sekiphp in #1535
- Fix typo in code comment by @dotancohen in #1988
- Fix #1924 non-existing field by @woutersamaey in #1941
- Added optgroup feature for massaction items (grids) by @Sekiphp in #1913
- PHPDoc fix for Mage_Core_Model_Config by @Sdfendor in #1802
- Missing middlename for salesOrderAddressEntity in SOAP APIs by @fballiano in #1977
- Attribute note adminhtml show translate by @boesbo in #1710
- fix typo in _applyCustomOption() to correctly calculate min/max price by @jouriy in #1500
- Fix typo: Replace 'Retrive' with 'Retrieve' globally by @tmewes in #1995
- Add formkey validation to Newsletter subscribe action (theme BC-break) by @elidrissidev in #1866
- Added ability to add target attribute for adminhtml menu items by @Sekiphp in #1985
- Add docblock to app\code\core\Mage\Adminhtml\Block\Widget\Grid\Column… by @kiatng in #1987
- [PHP 8.1] Fix passing
null
totrim()
by @elidrissidev in #2002 - Replaced remaining deprecated urlEscape calls. by @Sdfendor in #2008
- Update phpstan version by @tmotyl in #2015
- Use mb_substr to split the postcode by @luigifab in #1357
- Fix count(): Parameter must be an array or an object that implements Countable by @Sekiphp in #1960
- Fix getting default
min_sale_qty
when trying to mass-update product attributes by @elidrissidev in #1850 - Add polyfill for PHP8 native string functions by @tmotyl in #2014
- Improve getScheme on Zend_Controller_Request_Http by @mmenozzi in #1872
- Fix @method declarations in Mage_Catalog_Model_Resource_Eav_Attribute by @Caprico85 in #2031
- Deprecated global function "now" because it's equivalent to Varien_Date::now() by @Sdfendor in #1991
- Fixed the unused parameter in assignProduct by @rubanooo in #2011
- Remove white space for config values for #1852 by @luigifab in #2020
- password_new.html - typo in vars by @m-overlund in #2039
- add unit Tests and send coverage results to SonarCloud by @Flyingmana in #2041
- Use vanillaJS instead of prototype in Wishlist add to cart column by @MarcinNowakMacopedia in #2051
- do not mark github job as failes through sonar failure by @Flyingmana in #2053
- Analyze most of the source code with phpstan. Provide baseline. by @tmotyl in #2035
- Update PHPdoc and remove useless var by @bastienlm in #2056
- Add unit tests for security helper validateAgainstBlockMethodBlacklist and provide composer.lock by @tmotyl in #2058
- Fix widget edition in WYSIWYG by @FredericMartinez in #1605
- Use vanillaJS instead of encodeURI in wishlist add to cart by @MarcinNowakMacopedia in #2052
- Fixed bug on incorrect category store_id when set with store code in … by @kiatng in #1601
- Remove notification survey block by @kkrieger85 in #1267
- Fixed grid filter reset by @spinsch in #821
- Documentation of some changes by @luigifab in #1831
- Fix: Integrity constraint violation: Duplicate key by @tim-breitenstein-it in #1331
- Align label with value by @AlterWeb in #1230
- Remove backend current date from backend's header by @fballiano in #2063
- Lazy load contributors images by @luigifab in #2070
- Do not save customer addresses when there are no changes by @luigifab in #1579
- Removed getQty() from Mage_Wishlist_IndexController by @fballiano in #2072
- Add title for old googlecheckout payment method by @luigifab in #2076
- Default sortby should be read from core_config_data by @fballiano in #2062
- Prevent Zend_Date from checking locale for know date codes by @MarcinNowakMacopedia in #2050
- Update a...
v20.0.13
v20.0.13 - 2021-08-26
2 security updates
CVE-2021-32758 - GHSA-26rr-v2j2-25fh - Layout XML Arbitrary Code Fix
CVE-2021-32759 - GHSA-xm9f-vxmx-4m58 - Data Flow Sanitation Issue Fix
more updates:
#1735 Fixed origData is empty in a quote
#1667 Removed orphan directory and code of compiler and downloder.
#1355 Removed unused variable
#1525 Fixed incorrect datetime in block.
and merged changes from v19.4.15
v19.4.15
v19.4.15 - 2021-08-26
2 security updates
CVE-2021-32758 - GHSA-26rr-v2j2-25fh - Layout XML Arbitrary Code Fix
CVE-2021-32759 - GHSA-xm9f-vxmx-4m58 - Data Flow Sanitation Issue Fi
more updates:
#1478 make composer validation workflow use --strict
#1687 Removed phpdoc to parent doc take effect
Bump Version - align version with 20.0 branch
#1698 Do not load product when it is already loaded
#1715 Fix as attribute for cookie notice
#1402 fix ArgumentCountError: array_merge_recursive()
#1713 Fix retrun type of getColumn in Column_Renderer_Interface
#1254 Fix undefined offset on redis session
#1692 Add events list
#1670 Updated new events in README.md.
#1689 Fixed phpdoc of Mage_Core_Model_Resource_Db_Collection_Abstract::addExpressionFieldToSelect
#1665 Removed deprecated flash js (AC_RunActiveContent.js)
#1718 Handle empty Order increment prefix
#1684 Enforce specific PNG compression level of 9
#1628 Do not load captcha.js when disabled
#1637 Grid range filter - optimize SQL query when from === to
#1720 rewrite isTableExists for performance reasons
#1733 fixes regression introduced by PR 1720
#1746 Fixed phpdoc of Varien_Data_Collection_Db::getSelectSql
#1711 Allow BASE_URL to be overridden by environment in install script.
#1449 Add support for maintenance mode bypass via maintenance.ip file
#1541 Move ahead commits from 1.9.3.x (#447)
#1541 Move ahead commits from 1.9.3.x (#583)
#1541 Move ahead commits from 1.9.3.x (#575)
#1755 removed space after "To" in backend grids
#1725 Log exception on api
#1701 Code style (endif)
#1594 Invalidate reset password token when user changes password.
#1724 Add event sales_order_creditmemo_refund_before
#1262 Add instruction to add him-/herself to contributors list.
#1743 Fixed docblock in addStatusHistoryComment().
#574 Mark indexProcess as STATUS_REQUIRE_REINDEX; it is cleared after
#1197 Add redis, and specify in more details + add php7.4 mention
#1243 Added proof of stability stack
#1627 Fix README.md contributors badge
#1380 Add check to avoid js error
#1676 Add OpenMage version to API 'magento.info'.
#1760 Update contributors list
#1770 Add int casting in getLogCleanTime
#1797 Phpdoc of Mage_Core_Model_Session_Abstract_Varien
v20.0.12
v20.0.12 - 2021-06-25
fix version in getOpenMageVersionInfo()
v20.0.11 - 2021-06-25
#1567 Fixed incorrect regex in Varien_Object _underscore()
#1544 Prevent backend_type from being changed automatically on attribute save without the admin realizing
#1555 Performance improvement for catalog product images
#1600 Remove "default" themes from 20.x
#1610 Reinstate getters and setters for $_pageHelpUrl which some third party modules still use
#1532 add Possibility to disable global search in backend
#1513 Add redis as a valid option for global/session_save (and activate Cm_RedisSession module by default)
#1499 Set proper HTTP response code on error
#1623 steamClose dosent void this->_streamHandler in php8
#1073 (BC) Removed IE compatibility
#1523 don't redirect to "downloader" (which doesn't exists)
and merged changes from v19.4.14