Magento 2.4.6 is Here! Learn What to Expect from Latest Magento Release

What is new in Magento 2.4.6?

On March 14, 2023, Adobe Commerce 2.4.6 and Magento Open Source 2.4.6 released their latest version, which introduced support for PHP 8.2. 

They have retained support for PHP 8.1 while discontinuing support for PHP 7.4. Additionally, they upgraded core Composer dependencies and third-party libraries to ensure compatibility with PHP 8.2, providing us with valuable functionality.

The latest Magento 2.4.6 provides 300 quality fixes and enhancements updates. The new Magento 2.4.6 release introduces significant performance and scalability improvements, along with enhancements in GraphQL operations for bulk cart operations and the rendering response of category trees.

Magento 2.4.6 Release – Key Highlights

  1. The 300+ quality fixes and enhancements are updated.
  2. The latest version introduces support for the latest PHP 8.2.
  3. They have achieved eight security issue fixes and enhancements updated in the latest version.
  4. Improved GraphQL performance and reduced response time on the server soon.
  5. JavaScript Libraries Upgraded to Latest Versions in this latest release version.
  6. They have updated the Page Builder and are Compatible with Page Builder v.1.7.3 & PWA Studio v.13.0.x in this latest release version.

The latest version release update (Adobe Commerce 2.4.6 and Magento 2.4.6 ) is an essential performance update and highlights the features and enhancements. See the below points for the improvements: 

Security Improvements 

The latest Magento version, 2.4.6, includes eight security fixes and platform security enhancements. 

See more information in the Adobe Security Bulletin.

When unexpected errors occur during payment processing at the checkout page related to the reCAPTCHA validation, it’s fixed. 

See more information in the ticket: GitHub-35093

In most cases, attackers first need to gain access to the Admin before they can exploit these issues. As a result, we remind you to take all the necessary steps to protect your Admin, see the list below:

We can see the Adobe Security Bulletin for the latest discussion of these fixed issues.

Additional Security Enhancements

Admin action logs now feature more specific actions auditing within grid views, mass actions, and exports. Additionally, detailed tracking of admin actions is now available.

A new system configuration has been introduced, which requires email confirmation when an admin user changes their email. 

A new system configuration setting (disabled by default) has been added to enhance site security, which mandates email confirmation when an admin user changes their email. 

You can find this setting under Stores > Settings: Configuration > Customers > Customer Configuration > Account Information Options > Require email confirmation if an email has been changed. 

When enabled in the admin panel, the application will request email confirmation every time an admin user changes their email address. This change affects the Magento_Customer module.

Platform Enhancements 

Added support for PHP 8.2. PHP 8.1 also remains fully supported. 

Take a look at this refer if you need support for PHP 8.2.

In the latest version, support for PHP 7.4 has been deprecated. Therefore, Magento Open Source 2.4.6 and Adobe Commerce 2.4.6 will not run on PHP 7.4.

Support for Composer 2.2.x has been included, while support for Composer 1.x has been removed in the latest version.

Redis has been updated to support Redis 7.0.x, and compatibility with Redis 6.2 remains in the new version.

Adobe Commerce 2.4.6 and Magento Open Source 2.4.6 now support OpenSearch v2.x on both Cloud and on-premises, while compatibility with OpenSearch 1.x also remains.

OpenSearch has become the default search engine for Magento Open Source and Adobe Commerce. You can refer to the search engine prerequisites for more details.

In the latest version, ElasticSearch 8.x is now supported. You can refer to Elasticsearch 8.x for more information.

Adobe Commerce 2.4.6 and Magento Open Source 2.4.6 have updated MariaDB support, with compatibility for MariaDB 10.6, and MariaDB 10.4 is still supported.

The new version has introduced the migration of the DHL schema from v6.2 to v10.0.

Other Platform Improvements & Replacements

JavaScript libraries are updated to the latest versions, and the outdated dependencies are removed.

Symfony dependencies have been updated to the new LTS version.

jQuery-migrate has been removed from the Adobe Commerce and Magento Open Source code bases and see the reference in this ticket GitHub-21406.

jQuery/fileUpload library is updated to v10.32 in the new version.

Zend framework (ZF1) components that have reached the end of life have been removed from the codebase. 

See the reference in Backward-incompatible changes highlights.

In the latest version, they Replaced Zend_Filter with laminas/laminas-filter and Updated Laminas dependencies that support PHP 8.2.

The laminas/laminas-dependency-plugin Composer plugin has been removed. 

See the reference in GitHub-36515.

Performance Improvements and Scalability Improvements 

The latest update is designed to improve performance and scalability for customer segment operations significantly. It includes several features, such as:

  • Improved performance for operations and involving 100+ customer segments.
  • Merchants are updated and import up to 100,000 records per minute in the new version.
  • Improved order processing for Adobe Commerce 2.4.6 on cloud infrastructure customers.
  • Enhanced product grid performance with the ability to limit the number of products displayed.

Accessibility Updates 

Magento is more accessible than ever with this latest release of Adobe and Magento version 2.4.6:

Adobe has made Magento 2.4.6 easier to use for everyone. The “Sign in” button now has a visible label in the latest version.

Storefront buttons have more descriptive and memorable names that have been updated.

The shop search filters have informative and detailed captions for the “Has Video” checkboxes.

Users who navigate using only a keyboard can now fully access all page functionalities.

New B2B Features

The Magento 2.4.6 release brings new and updated enhancements to the B2B functionality with the introduction of two GraphQL schemas:

Purchase Order GraphQL Schema: 

This schema provides B2B company users with  Purchase Order Management capabilities, including creating, editing, and deleting purchase orders.

Purchase Order Rule GraphQL Schema:

This schema enables the creation, editing, and deletion of approval rules, as well as the manual validation of purchase orders.

This release includes multiple bug fixes. See more details in this  B2B Release Notes.

New Braintree Features 

The latest release version comes with the following Braintree new enhancements updates:

It’s enabled the Braintree Pay Later button in the new version and they updated the messages for Italy and Spain. It’s enabled the PayLater messaging with PayPal Vault.

The Braintree payment method’s latest release version comes with Fraud Protection and ACH webhooks.

GraphQL Performance Enhancements and Improvement

The latest Adobe and Magento 2.4.6 release introduces various GraphQL performance enhancements and updates, including:

  • There are improved response times for product queries in categories with category permissions when it’s enabled. 
  • They have updated the optimizing GraphQL resolver operations and product permission processing.
  • Enhanced category tree rendering performance for stores with many categories by optimizing custom attributes metadata fetching, category ID fetching, and category children loading.
  • In the latest version, they have updated the faster response times for bulk cart operations through GraphQL, streamlining queries for adding up to 500 simple and configurable products.
  • The customer query is updated now and they support order sorting. They allow orders to be sorted by order number or creation date in ascending or descending order.
  • A new mutation, deleteCustomer, was added to enable customer account deletion through GraphQL.
  • Optimized permissions for reading shared catalogs in the ‘addProductsToCart’ mutation have improved overall performance.
  • Product permissions optimized with product inline fragments, further enhancing query efficiency.

Page Builder compatibility and PWA Studio compatibility 

In the Adobe and Magento 2.4.6 release, compatibility updates have been introduced for both Page Builder and PWA Studio:

  • Updated in Page Builder: Version 1.7.3 of Page Builder is now compatible with the latest released version of Adobe Commerce 2.4.6, ensuring seamless integration and performance.
  • Updated in PWA Studio: Version 13.0.x of PWA Studio is compatible with the latest released version of Adobe Commerce 2.4.6 and includes multiple enhancements to improve accessibility.

Refer to the  PWA Studio releases documentation for more information on bug fixes. The  Version compatibility documentation provides a list of PWA Studio versions and their compatible Adobe Commerce core versions.

Recommended Read: How To Install Magento PWA Studio

In the latest version, they Fixed the Major Issues  

The latest version has fixed more issues in the Magento Open Source 2.4.6 core code. See the list below:

They resolved the issues with the Yes/No filter on the Admin customer segments grid during the new cart price rule creation in the admin.

In this new version, the issue of missing spaces between custom currency symbols and prices for both storefront and admin product prices has been resolved.

They updated the full-page cache flushing is prevented unless the ordered product is out of stock.

The Adobe and Magento Open Source 2.4.6 updated the Performance improvements in installation, upgrade, and deployment processes and Proper execution of the catalog_index_refresh_price cron job, it’s fixed previous errors in the updated version.

In the new version, they support named constructor arguments in Magento\Framework\Code\Reader\ArgumentsReader::getParentCall() in the file and Accurate shipping rate calculations for FedEx, USPS, and UPS when the Free Shipping Cart rule is set to match only a subset of cart items.

Updated outdated JavaScript libraries to their latest versions and Enabled merchants to utilize custom external SMTP providers.

The new version resolved issues related to the duplication of order emails sent to customers when administrators created orders. 

It updated the efficient handling of bulk product updates and filtering in the grid via API without errors. It fixed the display of image options as HTML markup in default template emails for products with custom options. 

It also updated the proper caching of data when the L2 cache is configured to enhance performance. In the latest version, it improved the “Display Out of Stock Products” functionality when the option is enabled on the storefront inventory. 

Additionally, it allowed administrators to add simple products with a salable quantity of 0 to configurable products in their shopping carts.

These are a few overviews of the major fixed issues. see more details in this Adobe fixed issues

After updating the latest version known issues:   

After upgrading to Adobe Commerce 2.4.6, they encountered an issue where staged sales rule labels might mismatch with or be later than those from pre-2.4.5 product versions. 

They tried Workaround: Apply ACSD-50625_2.4.5-P1.patch during the upgrade before the Update metadata step. See salesRules labels issues when upgrading from versions < 2.4.5 Knowledge Base article.

Steps to resolving those issues:

Download the required patch. See more details in salesRules labels issues when upgrade from versions < 2.4.5.

Important Notes: Please take a look into it and based on the performance upgrade outline (Perform an upgrade.)

Apply this patch during the upgrade after the Manage packages phase and before the Update metadata phase. 

See How to apply a composer patch provided by Adobe and then complete the upgrade process.

For Workaround issues: This is available now on the Quality Patches Tool: Search for patches and search for patch ACSD-50814.

For more details see this reference Adobe Known issues.

Addition Information about the new version

Positives of the New Version

They fixed the security issues and core Compatibility issues. This makes the more secure and the best experience on the site.

In this new version, they come with a lot of functionality, more features, and the best performance that is useful to improve and you can see a better customer experience

Negatives for the New Version

This updated version may not work with older features or plugins.

They need to update the requirement version to make it work properly.

How To Upgrade To the Latest Version of Magento 2.4.6?

Use the following instructions to update your Magento store using CLI to version 2.4.6:

Important Notes: Please take a look into it and based on the performance upgrade (Perform an upgrade)

Step 1: Enable Maintenance Mode and Run the following command:

  • php bin/magento maintenance:enable.
  • And then We also need to turn off the cron job. Because the date is still updated in your store.

Step 2: Create a Backup of the composer.json file and Set the backup for your Magento application and its database

Run the following command:

  • cp composer.json composer.json.bak

Step: 3 Upgrade Packages

Please Note: please check if the system requirement for Magento 2.4.6 is compatible with your project (Adobe system requirement)

Step 4: Magento Upgrade with Composer

You must install a new version of the magento/composer-root-update-plugin package as a complete upgrade prerequisite.

We can also use this command for the composer update:

  • composer self-update 

Before upgrading, you must run the below commands:

  • composer require magento/composer-root-update-plugin ~2.0 –no-update
  • composer update

Step 5: Check the Composer Version and Run the following command:

  • composer -v

Below is the command for both Magento Open Source and Adobe Commerce. You can use either one based on your preference.

Magento Open Source:

  • composer require-commerce magento/product-community-edition –no-update

Adobe Commerce:

  • composer require-commerce magento/product-enterprise-edition –no-update

Here’s a breakdown of the above-mentioned command:

  • composer require-commerce magento/<product> <version> –no-update [–interactive-root-conflicts] [–force-root-updates] [–help]

Install the required version of Magento 2.4.6 and In our case, run the following command:

  • composer require-commerce magento/product-community-edition 2.4.6 –no-update

Step 6: Composer Update and Run the following command:

  • composer update

Step 7: Use the commands below to clear the cache and reindex the Magento store:

  • php bin/magento cache:clean
  • php bin/magento cache:flush
  • php bin/magento setup:upgrade
  • php bin/magento indexer:reindex

Step 8: To confirm that the Magento upgrade was successful, use the following command:

  • php bin/magento –version

Step 9: Disable Maintenance Mode and Run the following command:

  • php bin/magento maintenance:disable

How To Downgrade To the latest version of Magento 2.4.6 to 2.4.5?

Downgrading to any other Magento version is not easy to face the error and is not recommended because you need to downgrade the whole LAMP stack. 

However, we need to change the compatibility system requirement and check the downgrade to an older version to maintain their store well.

To revert from the Magento 2.4.6 version to any other version, follow the below steps:

Step 1: Enable Maintenance Mode and Run the following command:

  • php bin/magento maintenance:enable

Step 2: Composer Backup

To create the composer backup, run the following command:

  • cp composer.json composer.json.bak

Step 3: Downgrade Packages

Before reverting to Magento ver 2.4.5, make sure to downgrade the package’s complete upgrade prerequisite. as mentioned in the  Adobe system requirement.

Such downgrade:

PHP 8.2 to 8.1

Elasticsearch 8. X to 7.17

MariaDB 10.6 to 10.4

Redis 7.0.x to 6.2

Step 4: Downgrade Magento with Composer

Step 5: Run the following commands for Magento 2.4.5:

  • composer require-commerce magento/product-community-edition 2.4.5 –no-update
  • composer update

Step 6: Next, run all the following commands:

  • bin/magento setup:upgrade
  • bin/magento setup:di:compile
  • bin/magento setup:static-content:deploy -f
  • bin/magento cache:clean

Step 7: Disable Maintenance Mode and Run the following command:

  • php bin/magento maintenance:disable

Magento 2.4.6 has Official Release Notes

We can see more details about changes and updates in Adobe and Magento 2.4.6, please refer to the Adobe and Magento 2.4.6 official release notes 

We can see more details about the system requirements, Installation for upgrade instructions, and Perform an upgrade

Final Thoughts about an updated version

The new version of Adobe Commerce 2.4.6 and Magento 2.4.6 brings improved security features, significantly enhances performance, resolves numerous bugs, and introduces additional features.

This update increases the quality of the core code, ultimately delivering a better user experience for both customers and administrators.

About The Author

We take the guesswork out of ecommerce.
Schedule a consultation call today