Adobe Commerce 2.4.7-beta2 release notes
Adobe Commerce 2.4.7-beta2 includes over 200 quality fixes and enhancements. Core Composer dependencies and third-party libraries have been upgraded to the latest available versions.
This release increases GraphQL coverage for custom attributes and GraphQL resolver caches. It also introduces support for recently updated FedEx and UPS services.
Other release information
Although code for these features is bundled with releases of the Adobe Commerce core code, several of these projects (for example, B2B, Page Builder, and Progressive Web Applications (PWA) Studio) are also released independently. Bug fixes for these projects are documented in the separate, project-specific release information that is available in the documentation for each project.
Adobe Commerce 2.4.7-beta2
Adobe Commerce 2.4.7-beta2 has been tested against the following component versions:
- Apache 2.4
- Composer 2.5
- Elasticsearch 8.7
- MariaDB 10.6
- MySQL 8.0
- OpenSearch 2.5
- PHP 8.2 and 8.1
- PHPUnit 9.x
- RabbitMQ 3.11
- Redis 7.0
- Varnish 7.3
Our technology stack is built on PHP and MySQL. See System Requirements.
Adobe Commerce 2.4.7 highlights
Look for the following highlights in this release.
Security enhancements
Adobe Commerce 2.4.7-beta2 introduces ten security fixes and platform security improvements. Previous betas of Adobe Commerce 2.4.7 introduced 13 security fixes and platform security improvements.
No confirmed attacks related to these issues have occurred to date. However, certain vulnerabilities can potentially be exploited to access customer information or take over administrator sessions. Most of these issues require that an attacker first obtains access to the Admin. As a result, we remind you to take all necessary steps to protect your Admin, including but not limited to these efforts:
- IP allowlisting
- Two-factor authentication
- Use of a VPN
- Use of a unique location rather than
/admin
- Good password hygiene
See Adobe Security Bulletin for the latest discussion of these fixed issues.
Additional security enhancements
Security improvements for this release improve compliance with the latest security best practices.
New security enhancement for 2.4.7-beta2
This release introduces a new full page cache configuration setting that helps to mitigate the risks associated with the {BASE-URL}/page_cache/block/esi HTTP
endpoint. This endpoint supports unrestricted, dynamically loaded content fragments from Commerce layout handles and block structures. The new Handles Param configuration setting sets the value of this endpoint’s handles
parameter, which determines the maximum allowed number of handles per API. The default value of this property is 100. Merchants can change this value from the Admin ( Stores > Settings:Configuration > System > Full Page Cache > Handles Param ). See Configure the Commerce application to use Varnish.
Security highlights introduced in 2.4.7-beta1
-
Native rate limiting for payment information transmitted through REST and GraphQL APIs. Merchants can now configure rate limiting for the payment information transmitted using REST and GraphQL. This added layer of protection supports prevention of carding attacks and potentially decreases the volume of carding attacks that test many credit card numbers at once. This is a change in the default behavior of an existing REST endpoint. See Rate limiting.
-
The default behavior of the isEmailAvailable GraphQL query and (V1/customers/isEmailAvailable) REST endpoint has changed. By default, the API now always returns true. Merchants can enable the original behavior, which is to return
true
if the email does not exist in the database andfalse
if it exists.
Platform enhancements
Platform upgrades for this release improve compliance with the latest security best practices.
New platform enhancements for 2.4.7-beta2
The following platform components have been upgraded to their latest versions for 2.4.7-beta2:
allure-framework/allure-phpunit
colinmollenhour/cache-backend-file
(1.4.5)colinmollenhour/cache-backend-redis
(1.16.0)colinmollenhour/php-redis-session-abstract
(1.5.1)dealerdirect/phpcodesniffer-composer-installer
(1.0.0)jquery.ui.widget.js
(v1.13.2)squizlabs/php_codesniffer
strip-json-comments library
grunt
dependencyless js
libraryunderscore.js
libraryjquery/bootstrap
dependency
NPM packages:
grunt
(1.6.1)grunt-contrib-clean
(2.0.1)grunt-contrib-less
(3.0.0)grunt-eslint
(24.0.1)
Composer dependencies:
friendsofphp/php-cs-fixer
(3.22.0)jquery/jstree
dependencyjquery
dependencyjquery/tinycolor
laminas
dependency packagesmagento/composer-dependency-version-audit-plugin
(0.1.5)moment-timezone-with-data.js
pdepend/pdepend
(2.14.0)pdepend/pdepend
(2.14.0)pdepend/pdepend
(2.14.0)pdepend/pdepend
(2.14.0)php-amqplib/php-amqplib
(3.5.4)phpseclib/mcrypt_compat
(2.0.4)symfony
dependency packages
Platform enhancements introduced in 2.4.7-beta1
-
Composer 2.5.x. Compatibility with Composer 2.2.x remains.
-
Varnish cache 7.3 support. This release is compatible with the latest version of Varnish Cache 7.3. Compatibility remains with the 6.0.x and 7.2.x versions, but we recommended using Adobe Commerce 2.4.7-beta2 only with Varnish Cache version 7.3 or version 6.0 LTS.
-
RabbitMQ 3.11 support. This release is compatible with the latest version of RabbitMQ 3.11. Compatibility remains with RabbitMQ 3.9, which is supported through August 2023, but we recommended using Adobe Commerce 2.4.7-beta2 only with RabbitMQ 3.11.
Other upgrades and replacements
Adobe Commerce 2.4.7-beta2 introduces these platform upgrades:
-
The Commerce UPS XML API gateway has been migrated to the new Commerce UPS REST API to support updates that UPS is making to their API security model. (UPS is implementing an OAuth 2.0 security model (bearer tokens) for all APIs.) All previous Commerce UPS XML APIs have been removed from the Adobe Commerce 2.4.7 code base.
-
Adobe Commerce integration with FedEx has been migrated from legacy FedEx WSDL Web Services to the latest FedEx RESTful APIs. FedEx Web Services Tracking, Address Validation, and Validate Postal Codes WSDLS will be retired in May 2024.
-
Added support for the new USPS Ground Advantage shipping method. This is an out-of-box integration with USPS’s new shipping method, USPS Ground Advantage, which was released July 2023.
This new integration can be used to retrieve shipping rates and schedule deliveries and returns through the USPS shipping service. The USPS Ground Advantage shipping method replaces these shipping methods, which were retired when the USPS Ground Advantage shipping method was released:
- USPS Retail Ground
- First-Class Package Service
- Parcel Select Ground
-
Temando shipping modules have been removed from the core Commerce code base. This feature was deprecated in Adobe Commerce 2.4.4.
Library upgrades introduced in 2.4.7-beta1
Outdated JavaScript libraries have been upgraded to their latest versions, including:
moment.js
library (v2.29.4)jQuery UI
library (v1.13.2)jQuery
validation plugin library (v1.19.5)
Performance and scalability enhancements
This release introduces significant improvements in processing speed of save operations for large deployment configurations.
New enhancements for 2.4.7-beta2
-
JSON format now supported for the REST Import API. Merchants can now import up to 100,000 records per minute into Adobe Commerce in JSON format.
-
Sales rule performance improvements. Improved performance of enterprise deployments with many (approximately 100,000) active sales rules. Enterprise deployments that heavily implement promotions often deploy many active cart rules. These types of enterprise deployments running Commerce 2.4.7 will not see any performance degradation related to the number of configured cart price rules during checkout operations.
Performance enhancements introduced in 2.4.7-beta1
Previous betas of Adobe Commerce 2.4.7 introduced:
-
Faster save operations of store-level configurations for deployments with many stores. Saving configuration settings in deployments with more than 500 stores can be time-consuming. The new Async Config module enables asynchronous configuration save operations by running a cron job that uses a consumer to process the save operation in a message queue. AsyncConfig is disabled by default.
-
Faster generation of the config cache for large configurations. The
bin/magento cache:clean config
command now pre-warms the config cache when the config cache is enabled. This reduces the downtime required to generate the config cache for large configurations. Configuration save operations no longer clean theconfig_scopes
cache before writing data to the cache, which also reduces the time that other requests are locked out while config data is being written.
Application Server for GraphQL APIs
Commerce 2.4.7-beta2 introduces a new PHP Application Server for GraphQL APIs that is implemented on an Openswoole PHP framework. This application server enables Adobe Commerce to maintain state among Commerce GraphQL API requests and eliminates the need for bootstrapping, which results in higher throughput, lower latency, and efficient resource use for all GraphQL APIs. By sharing application state among processes, GraphQL API requests become significantly more efficient, and GraphQL API responses are on average 30% faster.
The ApplicationServer
module implements the PHP Application Server. Developers who want to implement this module in on-premises deployments must also install and configure Swoole and Nginx. Developers working with Adobe Commerce on cloud infrastructure projects do not need to download these components because the infrastructure already includes Nginx and OpenSwoole. Cloud developers must manually enable Application Server and cannot start or stop the module like other services. Adobe Commerce must be redeployed to start or stop the module, which requires site downtime.
See Application Server for GraphQL APIs for both on-premises and Cloud deployments.
This is a beta version of PHP Application Server for GraphQL APIs module. Deployments that include customizations and extensions may not be compatible with the module. Merchants who enable the module should be prepared to resolve potential incompatibilities with deployed customizations and extensions.
Adobe Commerce Extension metapackage
This release introduces the Adobe Commerce Extension metapackage v2.0.0-beta2, which automatically bundles select Adobe Commerce extensions with this core release. The versions of these extensions that are included in this metapackage are installed when composer update
is run, simplifying the process of upgrading these extensions when upgrading to the latest core release. These extensions maintain independent release schedules.
The Adobe Commerce Extension metapackage for Adobe Commerce 2.4.7-beta2 includes these extensions:
The Bolt checkout extension, which was included in Commerce 2.4.7-beta1, has been removed from this beta release.
Future versions of this extension metapackage may contain additional extensions.
B2B
This release is packaged with B2B 1.4.2. It contains bug fixes only, although the version of the PHP Application Server that is packaged with Adobe Commerce 2.4.6-beta2 introduces coverage for B2B GraphQL APIs.
B2B enhancements introduced in 2.4.7-beta1
Adobe Commerce 2.4.7-beta1 included new capabilities and enhancements for B2B negotiable quotes, REST API updates, as well as multiple bug fixes.
-
Seller initiated quotes. B2B Sales representatives can now initiate a quote directly from the Quote and Customer grids in the Admin. See Request for Quote
-
Line item discounts. Discounts can now be applied as a percentage off, a fixed value, or as extended pricing for specific line items within a quote.
-
Notes exchange on quote. During the negotiation process, B2B Buyers and Sellers can now add notes directly to a quote. Note creation and updates are included in the line item and quote history for transparency. See Negotiate a Quote.
-
Improved Quote Detail view. While viewing the quote detail page, sellers and buyers can now add items by SKU or from the product catalog, add or edit notes, apply line items discounts, and access product configuration directly from the quote detail page.
-
Updates to REST and GraphQL
-
Added an endpoint to provide web API coverage for the seller-initiated quote capability introduced in this release. See Manage negotiable quotes:
POST /V1/negotiableQuote/draft
. -
Enhanced web API coverage of the storefront features for shared catalog include new endpoints to assign and reset custom price actions:
POST /V1/sharedCatalog/:sharedCatalogId/assignTierPrices
andPOST /V1/sharedCatalog/:sharedCatalogId/resetTierPrices
.
-
For details about REST and GraphQL API coverage for Commerce B2B, see the Commerce Web API developer documentation. See B2B Release Notes for bug fix descriptions.
GraphQL
New GraphQL enhancements for 2.4.7-beta2
This release introduces support for resolver caching and expands support for custom customer attributes caching.
-
The following GraphQL query resolvers are now cacheable in the GraphQL Resolver Results cache, which improves performance when queries are submitted with POST requests:
Magento\CustomerGraphQl\Model\Resolver\Customer::resolve
Magento\CustomerGraphQl\Model\Resolver\CustomerAddress::resolve
Magento\CustomerGraphQl\Model\Resolver\IsSubscribed::resolve
Magento\CatalogGraphQl\Model\Resolver\Product\MediaGallery::resolve
-
GraphQL support has been added for order cancelation. The
cancelOrder
mutation allows a customer to cancel an order, passing its identifier and a cancelation reason. -
Added the
order_cancellation_enabled
andorder_cancellation_reasons.description
response fields to thestoreConfig
query to support user-initiated order cancelation requests. See Query a store’s order cancellation configuration -
Added the following fields to the
setBillingAddressOnCart
andsetShippingAddressesOnCart
mutations:fax
middlename
prefix
suffix
GraphQL enhancements introduced in 2.4.7-beta1
This release adds enhanced GraphQL caching abilities and support to the GraphQL schema for custom attributes, including:
-
Enhanced support for custom attributes. GraphQL custom attribute support has been enhanced by enriching API data to support all attribute types. The GraphQL EAV attributes schema now supports extending customer attributes and customer address objects in the Admin and retrieving them using GraphQL. Specific areas of enhancement include:
- extended/added custom attributes support to specific areas such as customer and customer address
- added caching for custom attributes
- enhanced existing custom attributes support for products
-
Enhanced GraphQL caching capabilities improve page load speed. Caching capability has been added to these queries, improving the speed of page load time for most PWA pages:
code language-none * [availableStores](https://developer.adobe.com/commerce/webapi/graphql/schema/store/queries/available-stores/) * [countries](https://developer.adobe.com/commerce/webapi/graphql/schema/store/queries/countries/) and [country](https://developer.adobe.com/commerce/webapi/graphql/schema/store/queries/country/) * [storeConfig](https://developer.adobe.com/commerce/webapi/graphql/schema/store/queries/store-config/) * [currency](https://developer.adobe.com/commerce/webapi/graphql/schema/store/queries/currency/) * [customAttributeMetadata](https://developer.adobe.com/commerce/webapi/graphql-api/index.html#query-customAttributeMetadata)
-
Added the
quickorder_active
field to the storeConfig and availableStores queries. This field indicates whether the quick order feature is enabled. -
The performance of the GraphQL parser has improved by reducing the number of times the parse method is called per request. It is now called once. Previously, the parser was called at least three times.
New queries
Deprecated queries
Payments
This release introduces support for vaulted payments for these payment methods:
- ApplePay
- GooglePay
- PayPal credit
This release also includes support for these payment methods:
- UnionPay cards with Braintree Card Payments
- GooglePay with 3D Secure payment
Page Builder
Page Builder v.1.7.4 is compatible with Adobe Commerce 2.4.7-beta2.
PWA Studio
PWA Studio v.13.3.x is compatible with Adobe Commerce 2.4.7-beta2. It includes multiple enhancements to improve accessibility. For information about bug fixes, see PWA Studio releases. See Version compatibility for a list of PWA Studio versions and their compatible Adobe Commerce core versions.
Fixed issues
We have fixed hundreds of issues in the Adobe Commerce 2.4.7-beta2 core code. A subset of the fixed issues included in this release is described below. Fixes included in Commerce 2.4.7-beta1 are also described.
Installation, upgrade, deployment
/bin/magento setup:install
now completes successfully afterapp/etc/config.php
has been deleted. Previously, the missing file was not regenerated during installation, and Commerce threw an error. GitHub-37805
bin/magento setup:upgrade
has been refactored to run successfully when installing a new module that installs both tables and associatedmview
indexers. GitHub-37304
- Database restoration no longer fails due a delimiter error. Previously, Commerce threw this error when
bin/magento setup: rollback --db
was executed:Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'delimiter' at line 1, query was: delimiter ;;
.
- The
bin/magento setup:upgrade
command no longer fails with this type of MySQL memory limit-related error:PHP Fatal error: Allowed memory size of 4294967296 bytes exhausted (tried to allocate 20480 bytes)
. Multi-select attribute migration has been optimized to consume less memory duringsetup:upgrade
.
- Generating a database backup now works as expected from both the Admin and command line. Previously, Adobe Commerce threw this error:
Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'delimiter' at line 1, query was: delimiter ;;
.
- Running
setup:config:set
without specifying the--lock-db-prefix
parameter no longer erases the current value from theenv.php
file.
- Varnish configuration has been updated to prevent guest users from accessing cached content related to other customer groups.
- Shoppers can now place an order in a deployment that implements split database when Checkout Async is enabled. Previously, Adobe Commerce threw this error:
An error occurred on the server. Please try to place the order again
.
bin/magento setup:upgrade
now completes successfully when installing a new module that installs both tables and associatedmview
indexers.
bin/magento setup:upgrade
now displays a more informative error message when a message queue topic does not include a topic name. GitHub-34246
bin/magento setup:upgrade
now displays a more informative error message when merged XML files are invalid. The error message now includes the filename.
Analytics
- Revenue reports are now displayed as expected in the Google Analytics (GA4) portal. GitHub-37605
price
andquantity
values in the Google Tag Manager data layer are now sent as numeric values as expected to Google Analytics. Previously, these values were sent as strings.
- Errors in handling header data when sending deployment data to the new relic module have been resolved.
- Enabling Google Tag Manager through Configuration > Sales > Google API > Google Analytics now triggers the GA Analytics 3 tags would not fire in the product details page when running Google Chrome extension developer tools.
Banner
- Refactored the way banner content is loaded to remove excessive database queries, resulting in improved cart load times.
Bundle products
- Corrected an error that occurs when you use the
POST V1/shipment
endpoint to create a shipment containing a bundle product. The endpoint now adds items as expected and no longer returns this error:The shipment couldn't be saved
.
- You can now save a scheduled update of a bundle product that includes a simple product that has an indefinite scheduled update. When the bundle product snapshot is created, the linked products are now grabbed by ID, entity ID, and also by SKU. Previously, the original version of the simple product was checked when the scheduled update on the bundle product was saved instead of the current version of the simple product.
- You can now use the
GET V1/shipment/
API route to create a shipment with a bundle product when the product has the together shipment type set. Bundle products are also now validated based on their shipment type property.
- Shoppers can now edit the quantity of a bundle product in their storefront shopping cart. Previously, Adobe Commerce did not handle null values for
ItemId
when products were edited in the storefront shopping cart and displayed this error: GitHub-37696
- Bundle products can now be successfully added to an Admin order using SKUs that contain a slash (
/
) character. Previously, admin users could not use this method to add products to an Admin order, and Commerce threw a JavaScript error.
- Admin users can now set decimal default values for newly added bundle options when Qty Uses Decimal is enabled for the corresponding simple product. Previously, decimal values could be set only for saved selections.
- Optimized performance for saving bundle products with a large number of options
- Bundle products are now successfully imported without duplicating SKUs in product options. Previously, Adobe Commerce created multiple duplicate SKUs in product options when you imported bundle products with duplicate entries.
- Bundle product price is now calculated properly when one of the products in the bundle is out of stock. Previously, if a product that was part of the bundle were out of stock, it was removed from the price calculation.
- Bundle products are now displayed as out of stock when the last of their required child products are bought. Previously, bundle products were displayed as in-stock on the storefront when their simple products were out of stock.
- Performance issues when adding bundle products with non-required options to the cart using the
addBundleProductsToCart
mutation have been resolved.
- The
categoryList
query now returns all bundle options as expected when the Show out-of-stock products configuration setting is enabled. Previously, out-of-stock options were not included in the query response.
- Bundle products created with
POST V1/products
now succeed when catalog price scope is set towebsite
. Previously, an integrity constraint violation occurred. GitHub-35595
Cache
- Cache cookies after login are now the same after browsing the website. Previously, the login controller sent the wrong cache cookie, and pages might have been cached multiple times.
- Responses from GraphQL GET operations on CMS pages that contain CMS blocks are now cleared as expected in Fastly cache. Subsequent schedule updates now show accurate, update content for these pages.
- Page cache is now cleared as expected for a parent product when one of its child products has been saved from the Admin. A plugin check has been introduced to reach cache invalidation for configurable variants, similar to other product types, irrespective of indexer state (scheduled or real time). Previously, prices were not updated properly on the storefront after a configurable variation was updated from the Admin.
- Added a caching mechanism for AWS credentials. A credentials provider now uses the Magento cache to cache credentials retrieved from AWS for EC2 configuration.
- The plugin whose purpose is to add the configurable cache tag when a simple product associated with a configurable product is saved now works as expected. All relevant configurable cache tags are removed as expected when a simple product is updated by
POST V1/products
. Previously, not all prices were updated on the storefront, and caches had to be manually cleared. GitHub-36726
Cart and checkout
- Shipping an order to multiple addresses no longer triggers an error during region ID processing.
- Fixed-discount amounts that are applied at the cart level are now correct.GitHub-37496
- Coupons are now applied successfully to an order when a shopper applies the coupon after selecting the flat rate shipping method where a cart price rule with shipping method set as a condition applies. Previously, the cart page displayed the Coupon is Not valid error, and the coupon was not applied. GitHub-34866
- The My billing and shipping address are the same checkbox now remains checked by default when a shopper uses Chrome autocomplete to fill in their shipping address and then clicks Next before the shipping methods block is reloaded. GitHub-33725
- The
applied_rule_ids
value in thequote_item
table now includes a correct list of applied rule IDs. Previously, this value contained only the last applied rule ID.
- Mini-cart and customer data in local storage now resets when a session is removed from the server. Previously, this data still appeared when the session file was removed.
- Discrete carts are no longer mistakenly merged from the Admin when persistent cart is enabled.
- The default shipping address in the checkout shipping step is no longer populated with the previously selected pick-in-store address.
- Products in the cart are no longer excluded from related and upsell product lists after the cache is flushed.
- The cart tax and shipping estimator now accurately reflects the default destination configuration. Previously, when you configured default tax destination calculation settings and specified State/Region and ZIP, only the ZIP value was shown in the cart under Estimate Tax and Shipping. This resulted from Adobe Commerce setting the region ID to undefined before invoking the conditional statement that set the default region ID from the Admin.
- Adobe Commerce no longer throws this error during checkout when persistent shopping cart is enabled:
Invalid state change requested
. Previously, when this error was thrown, multiple orders with the samequote_id
were occasionally created.
- The mini cart now displays bundle product prices that reflect cart tax configuration settings. Previously, the mini cart always included taxes in the prices of bundle products.
- The performance of customer segment rules that rely on active carts has been improved, which has reduced the time needed to add a product to the cart.
- The shipping estimate provided from the cart page is now accurate.
collectShippingRates
is now set only once. Previously, the shipping estimate was duplicated. GitHub-36648
- The
cart
query no longer returns an error when a product in the specified cart is out of stock. Previously, shoppers using this query to make a purchase could not complete their purchase when an item was out of stock, and their checkout page was blank.
- Guest API requests to
POST V1/guest-carts/<cartId>/shipping-information
no longer return acancel
status if the page reloads during login in a mobile environment. Previously, Adobe Commerce threw a 500 error and logged this exception:TypeError: Argument 2 passed to Magento\CustomerCustomAttributes\Model\Plugin\ProcessCustomerShippingAddressCustomAttributes::beforeSaveAddressInformation() must be of the type string, null given
.
- Free shipping eligibility is now calculated as expected when the Subtotal (Excl. Tax) condition for cart rules is applied. GitHub-36760
- The
cart
query now returns the correct tier pricing for a product. GitHub-29655
- Informative error messages have been added to the checkout page to guide shoppers when application of a coupon on the shipping page conflicts with the selected shipping method. Previously, a message told shoppers to return to the previous page.
- The authentication popup is now initialized only when it is needed instead of whenever guest checkout is enabled. It is now initialized when the guest shopper tries to proceed to checkout, and guest checkout is disabled. GitHub-30672
Cart price rule
- The
If an item is FOUND/NOT FOUND in the cart with ALL/ANY of these conditions true
catalog price rule condition now works correctly with category and SKU attributes. Previously, this condition was not correctly applied in cart price coupon logic, and invalid coupons were applied to orders. GitHub-37660
- You can now successfully save a new cart price rule with the
Magento_OfflineShipping
extension disabled. Previously, Adobe Commerce threw this error:[2023-05-09T00:49:34.666107+00:00] report.ERROR: Warning: Undefined array key "simple_free_shipping" in /Users/npuchko/www/l3/mem/magento24i3/app/code/Magento/SalesRule/Controller/Adminhtml/Promo/Quote/Save.php on line 67 [] []
. GitHub-37580
- Cart price rules are now applied as expected when a cart price rule related to one shipping method is configured for the store, and this shipping method is changed to another during check out. Previously, the
applied_rule_ids
value was never changed in thesales_order_item
table, and the cart price rule was not applied to the order.
Catalog
- When product stock status is automatically updated to out of stock based on stock configuration (quantity), stock status will be subsequently updated to in stock when the stock quantity is updated. Previously, the
stock_status_changed_auto
setting was ignored when a product’s stock configuration was updated to in stock.
- Toolbar sorting now works as expected on Search pages when the Remember Category Pagination setting is enabled. GitHub-33220
- Multi-select attributes are now saved as expected when Use Default Value checkbox in the store-view scope is selected. Previously, this checkbox was unselected was unchecked when the product was edited and the default value was saved.
- Admin users with website-limited access can now add Images to a product that falls within their scope. If the admin user does not have access rights to the product, Commerce displays an informative message. Previously, admin users with website-limited access could not add images to products to which they had access.
- User-defined
special_from_date
,special_to_date
,news_from_date
, andnews_to_date
values are not overridden when a product is edited in store-view scope.
- Commerce now displays the correct name after sorting products by name in Admin > Category > Products in category in multistore deployments where product names vary by store. GitHub-36208
- The
addProductsToCart
mutation now returns customizable options with data. Previously, it returned only empty customizable options. GitHub-37599
- Product position and ID selection are now displayed correctly when an admin user adds a new product to a category after clearing the cache but not reloading the category page. Previously, product position and selection were mismatched and displayed incorrectly.
- Merchants can now update the future start date or time of a scheduled change for downloadable product. Previously, Adobe Commerce threw this error during update of the future start date or time for the downloadable product:
The downloadable link isn't related to the product. Verify the link and try again
.
- Product backordered status is now displayed correctly on the storefront. Previously, products that were available for shipment were incorrectly identified as backordered.
- Accessing downloadable products from the Admin no longer results in an error when the admin user changes the store view from the view used during product creation to another store view. Product prices are now successfully converted to float when an admin user switches store view from all store views to the default store view. Previously, Adobe Commerce threw an error. GitHub-37519
- Exported products now have the correct
manage_stock
value when theuse_config_manage_stock
value equals1
. Previously, this default value was incorrect.
- Adobe Commerce no longer displays a warning message when you save a product that was created with custom options after deleting its image.
- Product thumbnail images are now displayed as expected in the product stock alert email that is sent when a product is back in stock. Previously, this image was not displayed in the alert email
- The product count in the category tree (Admin Catalog > Category) is now accurate. Previously, the category products count could not be retrieved from the
catalog_category_product_index
table. The typo that triggered this bug has been fixed. GitHub-35417
- The main product image on the product details page no longer visibly shifts downward during page load when
product_image_white_borders
in themeview.xml
is disabled. Previously, the product image visibly shifted downward during page load due to incorrect height settings in Fotorama JS.
- Customers are now notified about drops in product price when the customer is subscribed to price drop alerts. Previously, price-drop notifications were not always sent due to application-level caching.
- Server-side validation has been added to the process of creating product attributes through the web API. You cannot enable the Use in Layered Navigation Catalog field when the Catalog Input Type for Store Owner field value is
Text Field
,Text Area
,Text Editor
,Date
, orDate and Time
. Previously, products were omitted from categories and search results.
- The category page now re-loads with the correct pagination after a shopper opens the page, changes the pagination, navigates to a product page, and then returns to the category page. GitHub-36563
- Out-of-stock simple products that are options for a configurable product are now displayed as disabled on the storefront when Display Out of Stock Products is set to Yes. Previously, all options were displayed as available, despite their status and real availability.
- Updating the website scope attribute in a specific store view no longer overrides the value of that attribute in global scope. Previously, importing product prices when multiple rows are available with the same SKU and
store_view_code
resulted in inaccurate prices for the default and All Store view scopes.
- Merchants can now add a GIF image to a product’s image gallery from the Admin. Previously, Adobe Commerce displayed this error:
imagecolorsforindex(): Argument #2 ($color) is out of range
.
- Checks have been added to handle errors that result from undefined array keys. Previously, an error occurred during declarative schema whitelist generation.
- Adobe Commerce now returns a valid result for the custom date
01/01/1970
. Previously, the custom attribute returned this error:Invalid input datetime format of value '1/01/1970
. GitHub-37274
routes
queries that use fragments now return category information as expected. Previously, an internal server error occurred on the category page. GitHub-35906
- Issues with the
cataloginventory_stock
partial re-indexing process have been resolved, and indexer performance has improved. Previously, stock and product categories were not accurately updated.
- Adobe Commerce now generates a 301 redirect for a product when the category it belongs to has been moved to a new parent. GitHub-37039
Catalog rules
- Catalog rules are now correctly indexed when enabled by schedule update. As a result, discounted prices are now correctly generated and indexed. Previously, when two catalog rules were available, and one rule is activated after the first rule before the first rule’s the catalog rule indexing operation has completed, the catalog rule discount prices were not generated for the second catalog rule.
- Catalog rules are now applied as expected in a multi-website environment.
Configurable products
- Configurable products with two child products are no longer marked as out of stock when one child product is disabled by a scheduled update. This was a known issue for 2.4.7-beta1.
- The performance of save operations for configurable products with multiple options has improved. Previously, time outs could occur during product save operations. GitHub-36928
- The storefront display of configurable product prices now change as expected when a shopper selects a product option. GitHub-37378
Coupons
- Shoppers can now use two separate auto-generated coupon codes that have been generated by the same cart price rule. The
Uses per Coupon
field is now enabled when the coupon type selected toAuto
(similar for coupon type =Specific Coupon
) . This in turn enables the shopper to apply multiple coupon codes to the same cart price if the codes are different.
- A shopper’s single-use coupon value is now restored as expected when the order to which it was applied is canceled.
- The
GET V1/coupons/<couponId>
endpoint now returns the full expected response for manually created coupons just as it does for autogenerated coupons. Previously, some fields were omitted (for example,usage_limit
,usage_per_customer
, andcreated_at
).
cron
- Fixed the divide-by-zero fatal error in cron expressions. GitHub-37804
- The
sales_clean_quotes
cron process has been optimized to run faster by adding a composite index onstore_id
andupdated_at columns
in the quote table. This change improves cron job performance when processing many quotes.
- Admin users can now view which task the
bin/magento cron:run
process is currently performing. The title of the currently running process now lists the group and job names. GitHub-34321
Customer
- Adobe Commerce now displays the Date of Birth, Tax/VAT Number, Gender, Telephone, Company, and Fax fields on the edit customer page based on configuration settings. GitHub-36196
- Image options are no longer displayed as HTML markup in the Returns customer emails (default template) for products with custom image options.
- Company Admin details are now saved as expected, and admins are correctly redirected, when Assign Company Admin emails contain a
CMS Block URL
variable.
- Customer email addresses can now include diacritics. Previously, front-end validation prohibited the creation of a user with diacritics in their email address. GitHub-12075
- Stock and price alert emails are now translated according to the language configured for the website default store view. Previously, these emails were not translated.
POST V1/order/notify-orders-are-ready-for-pickup
now sends an email alerting customers that an order is ready for pickup only when the order is ready. Email is now triggered only when the request has been fulfilled without an exception.
Frameworks
bin/magento config:show
andset
commands that use$_ENV
variables now support the use of website and store codes that contain camelcase or uppercase characters.
- Added classes with
!important
as used in Tailwind 3 for CSS layout support. GitHub-37568
- A missing
jQuery
dependency has been added to thetrim-input.js
file. GitHub-37683
- Event-specific details are now passed as a second attribute (
context
) of thelog
method. GitHub-37879
- Aspect ratio values have been added to catalog images and unnecessary scripts have been removed from the UI framework. GitHub-37691
- Revised error messages triggered by invalid XML configuration to be more informative. GitHub-37788
- Refactored deprecated code related to the creation of dynamic properties throughout the codebase.
- The performance of indexers for large stores with extremely active product databases has improved. Indexers now index the latest product information once for each index rather than multiple times. Previously, products disappeared from the website, and product data could be out of date on the website. GitHub-30012
mview_state
record status now accurately indicates state based on changelog activity when a slave database connection is available. Previously, these records remained in awaiting
state in cloud deployments even when there were no new entries in the changelog.
- Added support for the
precision
option for currency format to preserve feature parity with the deprecatedZendCurrency
class.
- Cookie messages have been converted into observable attributes, and developers can now manipulate state, which can potentially trigger UI changes. Previously, cookies were read-only and could not be manipulated. GitHub-37308
- Admin users can now generate an invoice when their Commerce instance is connected to S3 storage. Previously, Commerce displayed this error:
Cannot create image resource. File not found
. GitHub-35706
- Adobe Commerce now logs an exception message as expected when VAT number validation by the VIES validation service fails. GitHub-36065
- The
Administrators
name has been removed from the query used to fetch an administrators role during admin role creation. GitHub-36998
- The
bin/magento setup:config:set
command no longer fails when an invalid database user name is included in theapp/etc/env.php
file. GitHub-37409
- Sorting by column on reserved words in a default Admin UI component no longer results in an SQL error in
var/log/exception.log
. GitHub-37423
- Added
AddDataForCostaRica.php
to provide state information for Costa Rica. GitHub-37382.
- Improved error message for scenario where user tries to access an invalid URL from the Admin. GitHub-35682.
Param $options[
position]
for currency symbols now works as expected and supports the customization of the currency symbol position. Previously, after migrating from Zend Framework 1, thetoCurrency
method ignored theposition
parameter. This issue occurred throughout the Admin interface.
- Refactored deprecated code related to creation of dynamic properties throughout the codebase.
- Custom style formats that were created by extending the TinyMCE editor in Adobe Commerce and Magento Open Source releases prior to 2.4.6 are now available as expected in the Page Builder
text
content type. Previously, the custom style format was ignored, and only the default formats loaded after upgrade to Adobe Commerce 2.4.6-p1. GitHub-36950
- Added the following informative note to the
quote.php
file:Important: This method also copies customer data to quote and removes quote addresses
. GitHub-37400
- Instantiation of the lock provider now goes through
\Magento\Framework\Lock\Proxy
class. The lock provider is now configured with thelock
setting through theapp/etc/env.php
file.
- Mutex has been implemented for orders to prevent race conditions during update by concurrent requests. Previously, concurrent requests (race conditions) for order cancellations caused duplicated entries in the
inventory_reservation
table.
- The
populateWithArray
function now transforms object properties to snake case correctly, making it compatible with theAbstractModel
getters and setters. Previously, the snake case formatting was incorrect when the data attribute name contained several uppercase letters in a row.
- The auto increment value in the
catalog_product_entity_varchar
table now increments correctly after a product is saved. Previously, this value increased by ten.
- Adobe Commerce no longer throws this file system exception when you try to flush the JavaScript/CSS cache:
No such file or directory
.
- The value of
value_id
incustomer_entity_int
is now incremented correctly. An update query is executed instead ofinsert on duplicate key update
when updating an entity that incorporates these attributes. As a result, the auto-increment columns used within the EAV model now grow in a linear fashion. Previously, the auto-increment process for columns skipped values due to failed insert queries. GitHub-28387
- Removed unnecessary white space from
id
attributes that do not require it. (This bug was introduced by an Adobe Commerce 2.4.6 code change.)
- Store codes no longer appear in the store URL when the store is in single-store mode. GitHub-36831
- Minor updates have been made to
around
plugins. GitHub-31443
- The swatches
Helper
has been refactored to remove misleading import aliases. GitHub-31373
- Admin users can now delete or rename a
sitemap.xml
file as expected. Previously, an admin user could delete the file from the Admin, but it remained in the file system. GitHub-37468
- Coupons are no longer flagged as used when payment fails for the order to which they have been applied. Queue messages are now processed in the order in which they are published when the consumer is started. Previously, the first message was pulled from the queue to simply check whether messages were queued, and was rejected afterward, which caused the first message to be processed last.
- Adobe Commerce no longer throws an exception in the log file when a user tries to print a shipping label. Previously, if an extension modifies response headers that contain an attachment, the system threw an exception in the log file.
- Support for more HTML classes has been added to
elements.xsd
. GitHub-36891
General fixes
- Passwords are now displayed as expected when the Show Password checkbox on the login page is active.
- The Reset Password Token system attribute of customer entity (
rp_token
) validation has been removed from attribute validation during customer account creation, and diacritics validation is included only in the resulting customer email. Previously, Commerce did not save the customer record and displayed this error:Something went wrong while saving the customer
.
- You can now successfully save edits to the Admin Pages and Block grid after deleting a column. GitHub-37525
- Company admins can now add company users from the storefront. Previously, Commerce logged this error when admin user tried to add a new user:
report.CRITICAL: Error: Call to a member function __toArray() on null in app/code/Magento/LoginAsCustomerLogging/Observer/LogSaveCustomerObserver.php:123
.
- Customers can now log in successfully with a new password from one device after resetting their password on a different device.
- The Admin customer address State/Province field now retains the last saved value as expected. Previously, when you removed the value from this field, Commerce continued to display the deleted value in the State/Province field. GitHub-36846
- Adobe Commerce no longer throws a constraint violation error when you deselect then select a newly created CMS page.
- A hierarchy website root is now correctly assigned to a newly created CMS page… Previously, the hierarchy website root selection was mismatched on newly created CMS pages.
- Errors no longer occur during requests for an RSS feed for categories when RSS Feed Top Level Category is enabled. Previously, browsing the RSS feed category page resulted in Elasticsearch
CRITICAL
errors in log files when RSS Feed Top Level Category was enabled.
- The correct value is now saved for
gws_store_groups
when role scope is changed during user role creation. Previously, when role scope was selected asAll
, thegws_store_groups
value was saved as null during user creation but not during role editing. Also, if role scope was selected asCustom
, then thegws_store_groups
value was always saved as null.
- The reset password page can now be accessed by clicking the Admin reset password link on the Admin login page when the Add Store Code to Urls setting is enabled. The Admin reset password link previously opened the login page or 404 page.
- The date range in the Admin statistics dashboard is now calculated based on the time zone that is set in configuration settings, then converted to UTC in order to fetch data from the database.
- The CMS hierarchy filter works as expected after you filter a store view then click Save on Admin Content > Hierarchy. Previously, clicking Save refreshed the page, but the context was lost, and the selected store view was no longer displayed.
- Clicking the Send invitation button (Admin Marketing > Private sales > Invitation) now submits a POST request along with the form key and sends the invitation successfully. Previously, when you clicked this button, neither the HTTP POST method nor the form key were present.
- Zero-byte files can now be successfully copied to remote storage with AWS S3.
- Admin users can now add a new customer address from the Admin when that customer has been created for another website whose store ID does not match the website ID. Previously, Adobe Commerce displayed this pop-up message:
Something went wrong
. GitHub-36582
- The CMS block editor page now displays the correct widget
block_id
value. GitHub-29644
Gift cards and wrapping
- Merchants can no longer create a gift card with a negative value.
- The
setGiftOptionsOnCart
mutation now removes gift wrapping from an order as expected. The value ofgift_wrapping_id
is now unset at the cart level. Previously, thegift_wrapping_id
was updated to its previous value after the order was placed even when this value was unset at the cart level.
- Gift card accounts now remain active as expected when the partial refund of a simple product is processed from the order to which the card was applied. Previously, the gift card account was deleted.
- The
setGiftOptionsOnCart
mutation now successfully updates the database when removing a gift message from the cart. Previously, message details were not updated in the database, and the gift message was not removed from the cart.
- The gift registry
Event Information
label is now translated as expected.
- Subtotals are now calculated correctly for custom gift card amounts.
- Gift cards are now applied correctly during checkout with multiple addresses. Previously, gift card amounts were applied incorrectly for multi-address shipments, which resulted in invalid gift card amounts.
- Emulation now starts during
send()
calls once the emulation has completed during thegetInfoBlockHtml()
call, and no error are logged. Previously, thesystem.log
file was flooded with this error:main.ERROR: Environment emulation nesting is not allowed
. GitHub-35603
- You can now use the
updateCartItems
mutation to update a gift card in a shopping cart. Previously, only the card amount could be updated in the cart by this mutation.
- Gift wrapping is now included as expected in a quote based on merged carts. Previously, gift messages were successfully merged, but not wrapping selections.
- The
addProductsToCart
mutation now successfully adds a gift card to a cart. Previously, this query expected the gift card recipient name, but the sender name was instead returned. Adobe Commerce threw this error:Please specify a recipient name
. GitHub-36665
Google ReCAPTCHA
- The Google reCAPTCHA in the checkout workflow now works as expected for checks, money orders, and custom payment methods.
- Adobe Commerce forms can no longer be submitted before the Google ReCAPTCHA checkbox loads.
- The reCAPTCHA widget now precedes the Place Order button on the payment page. Previously, the widget was displayed at the top of the page.
Google Tag Manager
- The Google Tag module now pushes the correct data to the data layer. Previously, page impressions data was not pushed to the data layer.
GraphQL
- Address error handling for GraphQL library components now works as expected.
- The
products
query now returns all relevant storefront pricing details when dynamic pricing is set to no and discounts are applied. Previously, the price range for products was not returned. GitHub-35649
- GraphQL transactions names now include top-level query names only in the New Relic logs. Previously, transaction names also included secondary query names.
- Address error handling for GraphQL library components now works as expected.
- When the Visibility setting for a product is set to
Catalog
,products
queries on that product now resolve the setting correctly. Previously, any filter provided was switched to theVisibility: Catalog
setting. GitHub-36591
- The
customer
query now returns aproduct_sale_price
field that includes tax on orders when the product price has been configured to include tax. GitHub-36946
- Product attributes of type
DateTime
now map to theFilterRangeTypeInput
filter in products queries. Previously, these attributes were mapped toFilterMatchTypeInput
. As a result of this change, queries filtering onDateTime
attributes requirefrom
andto
values instead of match values.
- The
customer
query now returns only customer reviews related to a specific store view as expected when filtered by store ID.
- The
categories
query no longer returns an error when theitems.redirect_code
response value contains a null value. GitHub-36675
- Rule-based related products now load as expected in GraphQL responses after a full cache clean. Previously, the product EAV attributes that were responsible for rule-based matches were not loaded for the requested entity, although they were loaded after re-loading the storefront product page.
- The
changeCustomerPassword
mutation now triggers email as expected after successfully resetting a password.
urlResolver
androute
queries now return a result when theTarget Path
of URL rewrite is an absolute URL. Previously, theurlResolver
query returned NULL when you used it to retrieve redirect data.
- The
products
query now returns correct labels when multiple store views exist. GitHub-29635
- The
categoryList
query now returns a populatedproduct
section of theoptions
block for bundle products’ child products as expected. Previously, no information about bundle product child products was returned.
- The
route
query now returns routes for categories and products as expected without an internal server error. GitHub-36544
- The
products
query now fetchesurl_key
values when multiple categories are selected.
product
queries now return aggregations only for products that are assigned to the specified shared catalog. Previously, aggregation data for products not assigned to a shared catalog appeared in layered navigation.
- The
OptionValueProvider
classget()
method now returns an attribute option value based on the givenoption_id
as expected. Previously, it returned an error. GitHub-35910
- The
products
query now returns all available aggregations (filters) and their correctly translated labels. Previously, price and category aggregation labels were not translated as expected. GitHub-36140
- You can now use a fragment
ProductCard
when queryingrelated_products
,upsell_products
, andcrosssell_products
onProductInterface
. GitHub-29769
- The
products
query now returns related, upsell, and cross-sell products in the order in which they were saved. GitHub-36461
- GraphQL queries now return related products data sorted by position. GitHub-33010
category_url_path
has been added toProductAttributeFilterInput
, which supports requesting all products for a category in a single query. GitHub-32460
- Corrected an error in which the method that sets the current store in a GraphQL mutation executed before the method that handles validation. GitHub-31336
Image
- The Admin favicon icon upload form now supports
.ico
file types. GitHub-34858
Import/export
- Product import no longer fails due to lack of memory. Previously, importing any number of products to a database that already contains approximately ten million products failed due to lack of memory.
- Validation checks now halt the import process as expected when there is no valid data to import, and Commerce now displays this error:
There are no valid rows to import
. Previously, validation passed under these conditions, but the import process failed with this message:entity values are mixed
. GitHub-32905
- Importing URL keys with the same product no longer overwrites or deletes existing default store view keys. URL rewrites are now regenerated for store views only when there is no overridden
url_key
value. Previously, importing URL rewrites with the same URL key overwrote the existing default store view URL key. (key_store
URL rewrites were deleted, but the URL rewrite on the Default store view level for the product was still set tokey_store
.)
- Product count no longer changes unexpectedly during import. Cache flush is now postponed until after the import process.
- The status of scheduled import actions now accurately represents the success or failure of the import operation. Previously, all actions were logged as successful.
- Commerce now takes into account the Disable Automatic Group Change Based on VAT ID setting during import of customer records. Previously, the
disable_auto_group_change
value in the import files was ignored. GitHub-36409
Magento\Framework\Convert\Excel
now successfully handles numbers that are preceded by a space. The Excel XML now encodes fields as aString
. Previously, the Excel writer encoded these values asnumber
, which resulted in invalid files. GitHub-33422
- Merchants can now specify the locale in which import data is presented and how data validators should parse this data. If a locale value is not specified, Adobe Commerce uses the default configuration locale (not the default store view) to parse the data. In the Admin, import and export processes continue to use the admin user interface locale to import, parse, and format data respectively.
- Importing products with
country_of_manufacture
attributes that were created by an admin user with a different locale setting than the admin user who is importing the products no longer throws a validation error. Previously, this import operation could result in a validation error on thecountry_of_manufacture
attribute.
- Stock source data is now imported successfully by the store import process, and Commerce now displays a complete notification message when the import process completes. Previously, the notification message was missing.
- Redundant indexer invalidation has been removed when indexers are in scheduled mode.
- Exported products now have the correct
manage_stock
value when theuse_config_manage_stock
value equals1
. Previously, this default value was incorrect.
- Adobe Commerce now displays an informative error message in the scheduled import grid when an image is not imported successfully during a scheduled import operation. Previously, no error message was displayed.
- The product import process is no longer interrupted when product images are missing. Previously, when a product image was missing during the import of a third-party service using a CSV file, Adobe Commerce displayed this error:
Maximum error count has been reached or a system error is occurred!
.
- The performance of customer export from the Customer grid has been improved in deployments where B2B is enabled.
- The product import process no longer throws a validation error when an attribute value in
configurable_variations
column contains a comma.
- Decoding has been excluded from the export process. The CSV export file text remain unchanged after import. As a result, the description does not change after re-import. Previously, HTML tags were removed in the Page Builder editor after product export and import.
- Non-default configurations (website or store scope) that are added as environment variables no longer interrupt the
app:config:import
process with a recursion error.
- Catalog search and price indexers in Update on Save mode are no longer invalidated after import. Previously, the Elasticsearch Indexer document version changed version when new and existing products were imported.
- Product reports are now exported to the
var
directory. Previously, these reports were exported to the document root directory, which is a read-only directory in cloud instances.
- Empty multi-select customer address fields no longer interrupt or halt the export process.
Index
- All indexers now use the same colors to represent indexer state. GitHub-34648
- The performance of the Catalog Rule Product indexer in deployments where rules are not assigned to all websites has been improved.
- Creating a custom product type when indexers are set to Update on schedule no longer causes the index update
cron
task to fail. GitHub-36471
- Display issues on the storefront product details page that were due to catalog permissions indexing have been resolved. Previously, Adobe Commerce cleared the index table first and then re-indexed during a full
catalogpermissions_product
orcatalogpermissions_category
indexing process. Catalog permissions did not work as expected on the storefront until the re-indexing completed.
bin/magento indexer:reindex customer_grid
no longer fails with a MySQL error when the customer grid includes newly created custom customer attributes. GitHub-36233
- Changing indexer mode for multiple indexers (that is, a mass action indexer mode change) now changes an indexer’s mode only when the current mode differs from the one being applied. This improves performance by preventing unnecessary trips to the database. GitHub-36823
Infrastructure
- Replaced MySQL
CREATE TEMPORARY TABLE ... LIKE
with refactoredCREATE TEMPORARY TABLE
for compliance with MySQL 8.x. GitHub-37926
- Adobe Commerce no longer includes the full path to the root of the server in the error message it displays when a malformed HTTP request has been sent to the server. Only strings are now passed to the
explode
method as a second argument.
restricted_classes.php
has replacedZend_Validate_File_Upload
. Previously, the validator crashed during upload of an import file larger than the value configured inphp.ini
. GitHub-37281
- Attribute options provided by the data source model and installed using the setup data patch (typically from third party modules) can now be used with customer segment rules. Previously, this combination did not return the list of customers that matched the configured segment.
- The email template engine can now correctly process certain nested directives (for example,
{{if}}{{depend}}...{{/depend}}{{/if}}
). GitHub-36438
product
queries with aggregation data now return the correct label values for Boolean type product attributes. GitHub-29123
- CSS files are no longer corrupted when merged when
var/tmp
andpub/static
are on different filesystems and CSS Merging Enabled is enabled. Temporary files have been created in the same static directory as the target file to ensure that both files are on the same filesystem. As a result, the call to rename it is atomic. GitHub-29172
- Call to a member function
getId()
no longer triggers an exception.
- Type checks are now enforced for array type in the design theme config processor. GitHub-34440
Logging
- Updated the date-time format in the System Reports feature to include records from log files in reports.
- Admin users can now see the logs for bulk actions that are created by integrations in the Bulk Actions Log section of the Admin.
Login
- Resetting a password in one browser and subsequently logging in through a different browser no longer results in an exception. GitHub-36447
- Customers are now redirected to the login page after activating an account as expected. Previously, customers were automatically logged in.
Orders
- Merchants can now generate credit memos for orders that contain some items with a zero total when other order items are available for refund. Previously, merchants could not perform multiple refunds when a customer had a 100% discount on some items in the order.
- Links between child and parent products are now displayed on the order page during re-order of the child product from the Admin. GitHub-37028
- The header section of the order page now contains the expected information about the sent invoice, credit memo, and shipment. GitHub-27474
- Credit memos for orders that contain only one configurable product are now generated correctly. Previously, the
isLast()
function did not returntrue
as expected. GitHub-36722
- Adobe Commerce no longer throws an error when creating a credit memo with an offline refund to a customer balance when the admin user does not have permission to the customer’s website. Previously, Adobe Commerce threw this error:
More permissions are needed to view this item
, and the admin user could not create a store credit refund.
- Order status is now correct when a partial refund has been made for an order that contains bundle products. Previously, order status was listed as complete after a partial refund was issued, even though the remaining order was not complete. GitHub-37377
- Shoppers can no longer order a product using a custom price when an order is first generated from the Admin using the one-off custom price. Previously, if an order contained an item with custom prices, this custom price was applied for other orders placed with the re-order functionality.
- Shoppers can no longer save incorrect order statuses on the order page. Order status is no longer changed from Complete to Processing when an item is shipped. Previously, Adobe Commerce did not check current order status before saving order status after a shopper entered a comment. GitHub-36562
- Adobe Commerce no longer throws an error on the storefront order return page when the configurable product being returned has been deleted. Previously, Adobe Commerce logged this error:
report.CRITICAL: Error: Call to a member function getShipmentType() on null in magento2ee/app/code/Magento/Rma/view/frontend/templates/return/create.phtml:52
.
- The sales order grid is now asynchronously synced with all orders as expected. GitHub-36562
- The filter-by-purchase-date functionality in the customer orders section of the orders page now works as expected. Previously, a JavaScript error occurred when the timezone conversion logic threw an error when the same time zone was provided to the method.
- The Adobe Commerce dashboard now displays the correct orders statistics on first load. Previously, the dashboard displayed incorrect order information, but displayed the correct information once the time period was updated.
- Admin users are now redirected as expected to the order page after selecting a store view during new order creation from the Admin.
- The
GET V1/orders/<OrderID>
endpoint now returns information on both the configurable and simple products in the order regardless of the stock status of the simple products. Admin users can place orders now only if the selected items (products) are in stock or salable. Previously, this API returned information only about the products that were in stock.
- The credit memo page no longer crashes when free shipping is enabled when shipping price includes tax, and tax calculations are applied after discounts. Previously, Adobe Commerce threw a
Division by zero
exception. GitHub-36800
- Using the
rest/V1/orders/{id}/comments
endpoint to post a comment about an order without providing order status no longer affects the display of the order. Previously, order status was logged as NULL in thesales_order
andsales_order_grid
tables, and neither the My Orders page or the Admin order grid displayed the order. GitHub-34180
- Invoices, shipments, and credit memos can now be successfully moved back from the archive together with their associated orders when the IDs they include differ from order IDs. Previously, if an order were moved to the archive and then restored, then invoice, shipping, credit memo records were missing from that order if the ID numbers did not match. GitHub-36847
Page Builder
- The performance of Page Builder save operations in the Chrome browser has improved.
- You can now use the Page Builder option in Admin > Content > Pages to insert copied text in all styles using the
text
element. Previously, Page Builder displayed plain text only and did not save styles.
- CORS errors no longer appear during product content editing with Page Builder when the admin user has a specific ACL. The admin user can now save the product. Previously, Page Builder did not save the product, and the save process froze.
- Accurate file size information is now included in the image preview for uploaded images in PageBuilder.
- Page Builder page elements now render at an acceptable speed in the Chrome browser (v112). Previously, saving content with PageBuilder running in the Chrome browser was slow, and Commerce logged this error in the browser console:
[ERROR] Page Builder was rendering for 5 seconds without releasing locks
.
- Page Builder video element autoplay now works as expected on mobile Safari browsers on iOS when the element is linked directly to a remote video file. Previously, no preview image was displayed.
- Page Builder now works as expected in the Chrome browser. Previously, content changes made in that browser were not always saved.
- Loading an Admin product edit page a product no longer generates an intermittent
Uncaught TypeError
JavaScript error.
- Images that are uploaded through the Page Builder editor are now tagged as used on Content > Media Gallery. Previously, these images were marked as not used anywhere in the Media Gallery.
- Adding a product to a shopping cart from the Page Builder carousel no longer duplicates item quantity from pages with two different widgets displaying the same products.
- Page Builder no longer adds the
tabindex
HTML attribute to hyperlink tagsa
when you edit a hyperlink, then save a template.
- The products widget and Page Builder preview now handle HTML special characters properly. Previously, the product widget did not correctly display SKUs that contained the
&
character.
- Page Builder text element content is now updated as expected when you select and update the complete content block in preview mode.
- Copying and pasting text from one Page Builder text editor to another now works as expected. Previously, the page into which you tried to paste text could not saved, and Adobe Commerce displayed this console error:
[ERROR] Page Builder was rendering for 5 seconds without releasing locks.
.
- Page Builder
column-block
content type that was created in older versions of Page Builder is now displayed correctly.
- Filtering for the product metadata description during product creation from the Admin has been improved. Previously, if Page Builder were enabled, the product metadata description was generated based on the default
{{name}} {{description}}
mask. The default product meta description mask is now composed of{{name}}
. GitHub-36107
- Adding a dynamic block with no content no longer triggers an error.
Payment
- PayPal Express Checkout transactions now include child product SKUs and full product titles. The
Magento/Paypal/Model/Cart.php
file now collects child product SKUs with their parent product title to identify the product title with the child SKU. GitHub-36808
- The Card Security Code Does Not Match configuration setting is now processed as expected during the Payflow Pro payment process. Previously, this evaluation process never completed, which blocked checkout.
- The Vault payment method option no longer appears in the Admin checkout workflow when the shopper does not have a vault token. GitHub-36273
- The Venmo button now can be hidden when the PayPal buttons are enabled. Previously, the Venmo button could not be removed from the cart, mini cart, product detail, or the checkout pages.
Braintree
- Resolved issues with fallback URLs for orders paid with by Ideal payments when local payment is enabled.
- Braintree payment information is now saved per store, and shoppers now see only card information that has been saved in the store in which they are shopping. Previously, shoppers could see stored card information from all stores during checkout. GitHub-34253
- Shoppers can now check out an order being shipped to multiple addresses using a Braintree payment method when vault for card payments is disabled. GitHub-37615
- Shoppers can no longer create a PayPal order without adding a last name.
- The Braintree Vault payment method option is no longer automatically deselected in the checkout workflow when a shopper updates their billing address. Previously, the payment method was deselected when the shopper deselected the My billing and shipping address are the same button.
- Resolved issues with checking out with PayPal through Braintree after upgrading from Adobe Commerce 2.4.5-p2. GitHub-37242
- Phone numbers are now rendered as expected with addresses in the Google Pay modal popup shipping address fields. Previously, phone numbers were missing.
- Orders are now placed successfully with Braintree when the Braintree response includes an empty value for
threeDSecureInfo/eciFlag
. Previously, a PHP error occurred during checkout when this value was empty.
- Adobe Commerce no longer throws an error when a shopper applies a coupon on the order review page when checking out with Google Pay from the mini cart. Previously, shoppers were redirected to a 404 page.
- Shoppers can now complete checkout using Braintree Payments and Adobe Commerce 2.4.6 with invisible ReCAPTCHA v2 or v3. GitHub-37241
- Shoppers can no longer click the PayPal button to purchase a configurable product without first selecting required options. Previously, shoppers could click the PayPal button and were subsequently redirected back to the product page with an error:
- The PayPal button is now displayed as expected on the cart and mini cart pages. Previously, this button was not displayed on the cart page and duplicated on the mini cart page.
- Partially invoiced orders are now captured as expected in the correct account in deployments where merchants have two different merchant account IDs for the same currency in their Braintree account.
- Adobe Commerce no longer throws an error when creating a second partial invoice for an order paid for by Braintree when the Enable Vault for Card Payments is enabled. Previously, when a merchant tried to create a second invoice, Adobe Commerce threw this error:
Your payment could not be taken. Please try again or use a different payment method. Payment method token is invalid
.
Performance
- The performance of the
addProductToCart
mutation when executing with many custom product attributes has improved. Previously, when this mutation was executed with many product attributes ( approximately 1000), Commerce tried to load all product attributes.
- Performance issues when loading product attributes that are used by cart rules have been resolved. Only product attributes for active cart rules are now loaded.
- The
bin/magento setup:perf:generate-fixtures setup/performance-toolkit/profiles/ee/small.xml
command now executes successfully when run multiple times. Previously, it threw this error when run more than once:Coupon with the same code already exists
.
Promotion
- The effects of the Fixed amount discount for whole cart price rule, when applied with the Apply to shipping amount rule, is now proportionally distributed as expected between products and shipping amounts. Previously, discount calculations were incorrect.
- The Discard Subsequent Rules setting is now applied as expected. When this setting is enabled, other rules with low priority can be applied to a different product only. GitHub-35707
Reports
- The Orders report (REPORTS > Sales > Orders) now includes correct order values when orders are generated by stores that use non-default currencies. Previously, this report included incorrect values. GitHub-36742
- Misleading information in the sales order report form has been revised for clarity.
- Admin users can now search for records with emails that contain
+
(plus) signs from the Abandoned Carts Report page. GitHub-36560
- GraphQL transactions names are now displayed properly after New Relic is disabled from the Commerce Admin. GitHub-36112
Rewards
- The reward points balance update email notification now takes into account the current store context. Previously, the reward points balance update email used configuration settings for the default store.
- Reward points can now be refunded after the creation of a credit memo. Previously, merchants could not refund rewards points after creating a credit memo, and order status remained
Completed
, notClosed
.
RMA
- The Enable RMA attribute at the individual product level now respects the store RMA settings configuration. Previously, this setting was toggled off by default when you added a product, no matter what the store configuration settings were.
Search search-heading
- The advanced search price and SKU filters now work correctly when applied together in an advanced search. GitHub-37581
- Searches are no longer performed for empty search fields. This reduces the size of the
search_query
table. Previously, incorrect queries or querying on empty search fields returned a huge data set, which increased the size of thesearch_query
table and resulted in problems with/tmp
.
- Storefront filters now work as expected when sorting catalog entries with dropdown custom attributes.
- Search results now display relevant results based on search weight of the attributes as expected.
- Informative text under the
Search Weight
attribute’sStorefront Properties
input field on Admin Stores > Attributes > Product now describes possible values. GitHub-36646
Shipping
- The
cart
query now returns discrete shipping discounts as separate shipping discounts with unique discount labels. The newapplied_to
discount property supports differentiation between discounts applied to a cart item. Previously, all shipping discounts were combined into one hardcoded Shipping Discount value.
- When an admin user creates a re-order, the billing and shipping addresses from the initial order automatically populate the relevant fields when the admin user clicks on the Reorder button (Admin Sales > Orders > View ). If the same addresses are saved in the shopper’s address book, the re-order will always incorporates an updated version of these addresses. Previously, the shipping address field was pre-populated with the updated data, but the billing address field was not.
- The Shipping Policy text box is now visible in the Admin Store View scope when Apply custom Shipping Policy is enabled and a custom shipping policy is available. GitHub-36425
- The
cart
query now returns aselected_shipping_method
value that matches one of theavailable_shipping_methods
carrier and method codes. Previously, when one of the selected shipping methods contained an underscore, these carrier/method codes were mismatched. GitHub-36606
- The
setShippingAddressesOnCart
mutation no longer throws an error when the second value in the street array is null. Previously, this exception was thrown:The address failed to save. Verify the address and try again
. GitHub-35160
Sitemap
- The XML sitemap now works as expected in a multistory deployment. Previously, the sitemaps did not contain the assigned default pages for each store. GitHub-35001
- Merchants can now create and save a product when website
id != 1
and single-store mode is enabled. Previously, the save action failed with this message:SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails
. GitHub-35009
Staging
- Store view labels values are no longer erased after a scheduled update for cart price rule.s Previously, these labels were erased even if they were not specified in the update.
- Content staging previews now work properly for linked pages. Previously, you could not navigate to linked pages in the staging preview, but were instead directed incorrectly to storefront pages.
- Сhanging a staging update no longer results in the removal of scheduled updates that are assigned a later date.
- JavaScript errors no longer occur when you add or edit scheduled updates for categories when Google Analytics Content Experiments is enabled.
- Merchants can now successfully save an existing schedule update for a category after viewing or editing it. Previously, Adobe Commerce threw an error in
system.log
.
- Downloadable links are now preserved as expected when a scheduled update is applied while previously added products are in the cart. Previously, downloadable links disappeared from the the customer’s My Account (My Downloadable Products) page and the Admin order view page.
- Products are now visible on the storefront as expected after a staging update that enables the product is applied. Previously, the product was enabled in the Admin but was not visible in the storefront category when the indexer mode of the catalog inventory was set to Update on Schedule. A full re-index fixed the issue.
- The
staging.synchronize_entity_period
consumer queue in themagento_bulk
table no longer increases when there are no staging updates to process. Previously, whencron
was configured to run every minute, a new record related to thestaging.synchronize_entity_period
consumer was added to this table every minute.
- Adobe Commerce no longer throws an SQL error when you create a schedule change for a product while saving another product. Previously, Adobe Commerce displayed this error:
The product with the SKU "%1" couldn't be added to the current update
.
Target rules
- Target rules now work correctly with different store views. Previously, issues with the related products rule cache prevented the display of recommended products in multi-store deployments.
Tax
- You can now edit the value of Tax Rate Country and Region from the Tax Rule edit page as expected. Previously, edits made from that page were not saved.
- The tax amount in the cart estimation area is now refreshed as expected when the shipping method is updated. Previously, the tax rate was not updated after a shopper changed country during check out.
- The
tax class
value for newly created simple products is now set to the parent product’s value when creating new variations of an existing configurable product in Store View scope. Previously, this value was set to none. As a result, no tax was added to these products in the cart, and customers were undercharged tax. GitHub-37180
Test
- Refactored
Magento\GraphQl\Catalog\ProductSearchTest::testFilterProductsBySingleCategoryId
test to handle random category order inproducts
query responses.
- Performance issues with large arrays in
TableNameSniff
have been resolved.
- Integration tests for the edit gift registry functionality no longer rely on existing entity IDs. All required data is now obtained through fixtures. Previously,
\Magento\GiftRegistry\Controller\Index\EditPostTest
failed.
CollectionTest::testGetDateRangeFirstPart()
now accounts for Daylight Savings time.
- Fixed deprecation notice for
StorefrontDeleteItemFromRequisitionListPrintView
.
UI
- Passwords are now displayed as expected when the Show Password checkbox on the login page is active. This was a known issue for 2.4.7-beta1.
- Adobe Commerce now displays correct prices for fixed bundle products with special prices. This was a known issue for 2.4.7-beta1.
- Updated the link to the GitHub Issues listing page in the storefront footer template file. GitHub-37214
- The Recently Viewed widget now displays the correct amount of tax in grouped product prices. GitHub-35881
- Admin users was can now drag and drop the customizable options created for the simple product as expected. GitHub-36051
- The order of product Dropdown attribute types now matches the order of images on the configurable product page. GitHub-37285
- System messages now load more quickly. Only the messages being displayed are.loaded. Previously, all messages were loaded from the database, which was time-consuming.
- Removing the breadcrumbs node by setting
remove=true
through the layout XML no longer results in removal of the page title on the category page. Previously, removing breadcrumbs this way removed the page title from the category page.
- The customer registration form now loads as expected when it includes multi-select customer attributes. Previously, Adobe Commerce threw this exception:
[2023-03-05T05:57:40.032602+00:00] report.CRITICAL: Exception: Deprecated Functionality: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /magento2ee/app/code/Magento/CustomAttributeManagement/Block/Form/Renderer/Multiselect.php on line 53 in /lib/internal/Magento/Framework/App/ErrorHandler.php:62
. GitHub-37189
- Welcome messages containing single quotation marks are now rendered correctly on the storefront with no console errors. Previously, if a welcome message contained a single quotation mark, then the welcome message was not loaded during storefront rendering. Adobe Commerce also displayed console errors.
- Adobe Commerce no longer throws an error when you try to quickly change the view between comment history and Returns in the Admin order page. Previously, Adobe Commerce displayed this generic error:
A technical problem with the server created an error
.
- Admin users with privileges restricted to one website can now update website-specific product attributes set to an
all stores view
scope.
- The magnifier widget now loads as expected on the product page.
- Multi-line customizable options are now rendered properly in invoice, shipment, and credit memo PDF documents. Previously, multi-line text was preceded by an unexpected page break, and if the text exceeded the page, text was truncated.
- Admin users can now add a new customer address from the Admin when that customer has been created for another website whose store ID does not match the website ID. Previously, Adobe Commerce displayed this pop-up message:
Something went wrong
. GitHub-36582
- Company Admin details are now saved as expected, and admins are correctly redirected, when Assign Company Admin emails contain a
CMS Block URL
variable.
- Error messages associated with submitting comments on the order details page are now more informative. Previously, when a shopper clicked Submit comment without either changing order status or entering text into the comment area, Adobe Commerce displayed this message:
The comment is missing. Enter and try again
.
- The calendar icon is now displayed as expected in the date range fields on Admin Marketing > Cart Price Rules after a date is selected for one field. Previously, after you selected a date for one field, the calendar icon was no longer displayed on other fields, and Adobe Commerce displayed placeholder text. GitHub-36499
- Customer registration forms that include multi-select fields now load successfully. Previously, this form did not load when it contained multi-select fields, and the following error was triggered:
report.CRITICAL: Exception: Deprecated Functionality: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /magento2ee/app/code/Magento/CustomAttributeManagement/Block/Form/Renderer/Multiselect.php on line 53 in /lib/internal/Magento/Framework/App/ErrorHandler.php:62
. GitHub-37189
- Clicking on a video thumbnail in the product gallery full screen mode now displays the video as expected. Previously, the video was not displayed, and the browser console displayed a JavaScript error. GitHub-36456
- Added a variable to the copyright line that is automatically updated each year. GitHub-36776
- The image slider on the product page now works as expected in mobile view. Previously, only the first image was successfully displayed. GitHub-37232
URL rewrites
- Category product URL rewrites are now generated as expected for all store views when a product is added to a category. GitHub-32910
- Commerce no longer throws an error when you try to create a 301/302 redirect for a product URL when Generate category/product URL Rewrites is enabled. When a product is created and assigned to a category, automated URL re-writes are created: one for the direct URL and one for the product through the category path. When a new product URL re-write is created, correlations among product, category, and store are checked. This check is now based on correlated entity properties (category and product). Previously, this check was performed on pre-existing URL re-writes.
- Category URL rewrites are now generated for all store views when a new category is imported from a CSV file.
- Product URL suffix and Category URL suffix configurations now match the suffixes in the
url_rewrite
table. Previously, race conditions when updating URL suffix configurations occurred, and the configured URL suffixes and theurl_rewrite
table did not match.
- Adobe Commerce now renders the category tree at all levels when creating category URL rewrites. Previously, only the first three levels of categories were displayed. GitHub-36973
- Newly created CMS pages with one child node are now included in the marketing filter grid (Marketing > URL rewrites). Previously, URL rewrites were not created for those CMS pages.
- Category URL rewrites are now present in the CSV file during import of a new category.
- Multi-store CMS pages without URL rewrites are now forwarded as expected. Previously, requested multi-store CMS pages without URL rewrites were redirected to the store home page, but the original CMS pages were not directed.
Visual Merchandiser
- You can now use the
Categories
attribute for Visual Merchandiser rules. Previously, Adobe Commerce threw this exception:Something went wrong while saving the category
.
Web API framework
- Asynchronous bulk REST API operations to update products with tier prices and different attribute sets now complete successfully. Previously, products with different attribute sets could not be updated this way, and Commerce displayed this error:
The product was unable to be saved. Please try again
.
- The
POST /V1/products/tier-prices
endpoint now returns a more informative error message when an invalid customer group name is used during tier price creation. Previously, Adobe Commerce returned an error like this:Notice: Undefined index: XXXXX in ~/public_html/vendor/magento/module-catalog/Model/Product/Price/Validation/TierPriceValidator.php on line 474"
. GitHub-36431
- You can now execute an authorized asynchronous bulk API request to create customers with a non-default group ID. Previously, these requests reset the group ID to the default value.
- Customers created using the Bulk API now receive customer registration emails in the language that is configured in their assigned website. Previously, all emails were sent to the default locale, not the locale of the website to which the customer is assigned.
- The
POST V1/guest-carts
call no longer submits guest orders when Allow Guest Checkout is disabled.
- You can now open an order from the Admin with the status
Received
whenAsyncOrder
is not enabled. Previously, you could not open the order detail page from the Admin when the order status was changed byPOST V1/orders
.
- Adobe Commerce now successfully returns the
content
attribute (base64 image code) inGET V1/products/sku/media
product media API responses. Thecontent
attribute did not previously appear in the response.
Wish list
- Commerce now displays a message indicating that an item has already been added to a wishlist when a shopper tries to add the same item to a wishlist multiple times. Previously under these conditions, Commerce increased the product quantity in the wishlist.
- Adobe Commerce now successfully adds products with required uploaded customizable option files to the wishlist. Previously, Commerce added two products to the wishlist, not one. GitHub-37437
Known issues
The following known issues will be fixed in Adobe Commerce 2.4.7-beta3:
Issue: A product is not removed as expected from the mini cart after the shared catalog that is assigned to it has been removed from the product. This issue was a known issue for 2.4.7-beta1 and is scheduled for resolution in 2.4.7-beta3.
System requirements
Our technology stack is built on PHP and MySQL. For more information, see System Requirements.
Installation and upgrade instructions
You can install Adobe Commerce 2.4.7-beta2 using Composer.