Magento 2.4.8 Beta Guide: Updates & Key Features

Biztech

By : Biztech

Magento 2.4.8 Beta Guide: Updates & Key Features1

Introduction

Magento 2.4.8 Beta is here, bringing a host of exciting upgrades for users to explore. This new version includes important improvements in security, performance, and compliance. These changes are essential for maintaining a smooth and safe e-commerce experience. 

Magento users are encouraged to test the beta release and share their feedback. In this blog, we will understand in detail what’s new in the latest version of Magento 2.4.8 Beta. 

For those interested, the Magento 2.4.7 release notes offer valuable insights into previous updates.

Magento 2.4.8 Beta – Key Highlights

  • The League/Flysystem Composer dependencies have been upgraded to version 3.x, enhancing file management and retrieval efficiency.
  • This update also brings support for PHP versions 8.2 and 8.3.
  • PHPUnit has transitioned from version 9 to version 10, offering more precise testing capabilities for developers.
  • Database compatibility has been broadened, now supporting MySQL 8.4 and MariaDB 11.4, ensuring better database performance and reliability.
  • On the user interface side, the integration of TinyMCE 7.3.0 provides a more polished and efficient WYSIWYG editor for content management.
  • Additionally, require.js has been updated to version 2.3.7, optimizing JavaScript module loading for quicker page responsiveness.
  • Finally, the latest Google Maps API version 3.56 is now supported.

What’s New in Magento 2.4.8?

Magento 2.4.8 addresses 254 known issues and introduces key improvements across several areas, including performance, security, and GraphQL functionality.

Performance Enhancements

This release brings several significant performance improvements aimed at boosting system efficiency and stability. Key updates include enhanced libraries like league/flysystem, monolog/monolog, and wikimedia/less.php, which optimize file handling, logging, and CSS processing. Additionally, outdated libraries have been removed to enhance load times and improve user experience. Further, improvements in database interactions, as well as updates to PHPUnit and the WebAPI Test framework, streamline testing workflows.

Security Improvements

Magento 2.4.8 includes important security fixes, ensuring the platform is better protected against potential vulnerabilities. Highlights include:

  • Require.js updated to version 2.3.7, addressing issues related to arbitrary code execution and DoS attacks (CVE-2024-38999).
  • A fix in Magento_GraphQl to prevent improper header processing when header values fail validation.
  • Prototype.js has been updated to fix vulnerabilities that could lead to Regular Expression Denial of Service (ReDOS) attacks (CVE-2020-27511).

GraphQL Updates

Magento 2.4.8 also brings notable improvements to GraphQL, enhancing both performance and flexibility:

  • Custom Scalar Types Support: This feature allows custom definitions for scalar types in GraphQL, making it easier to handle various data types such as HTML and URLs.
  • Pagination Fix for Cart Items: This resolves issues with incorrect pagination, ensuring accurate retrieval of cart item data.
  • Cache Invalidation for Resolvers: Magento now properly invalidates the cache when customer data is updated through imports, ensuring data consistency.
  • Improved Product Sorting: Multi-field sorting in GraphQL queries has been enhanced to ensure sorting is more reliable and results align with specified criteria.

This update is designed to improve Magento’s overall performance, security, and flexibility in handling custom requirements.

Issues Fixed in Magento 2.4.8 Beta

The Magento Open Source 2.4.8 update introduced fixes for 254 issues across various system components, enhancing functionality and stability. Key highlights include:

  • Resolved an issue with the /V1/transactions REST API that triggered errors when parent_txn_id matched txn_id.
  • Enhanced GraphQL’s GetCustomSelectedOptionAttributes function to handle integer values correctly.
  • Fixed an issue in the REST API that blocked requests containing a slash in the SKU when using OAuth1.
  • Corrected misaligned admin page action buttons, ensuring they float properly to the right.
  • Allowed product photos with capital letter file extensions to be accepted without error.
  • Fixed issues in the cart coupon code application logic to prevent errors.
  • Updated the order comment status change functionality through the REST API to align with the current order state.
  • Improved GraphQL product list sorting by allowing sorting by multiple fields, as outlined in the documentation.
  • Resolved issues with saving custom attributes within the admin customer edit section.
  • Addressed a crash when saving customer addresses if the region field was absent.
  • Improved the alignment of action buttons within the admin panel.
  • Enhanced validation of customer address forms to prevent random code entries in name fields.
  • Corrected the display of constructor parameters when executing the devinfo command.
  • Fixed a 404 error that appeared on the customer dashboard after login.
  • Enhanced handling custom scalar types in GraphQL to effectively validate complex values.

This update offers a range of refinements to boost performance and address critical bugs, providing a more streamlined user experience.

Why Upgrade to Magento 2.4.8

The Magento 2.4.8 release combines improved compatibility, enhanced performance, and strengthened security to optimize user experience and back-end reliability. 

Upgrading to Magento 2.4.8 allows merchants to achieve more seamless site performance, reduced vulnerabilities, and greater scalability—essential factors for businesses aspiring to expand their online presence. 

For those partnering with a Magento development company, this upgrade offers a valuable step towards maintaining a robust and growth-ready eCommerce platform.

Nutshell

In conclusion, Magento 2.4.8 Beta brings a range of meaningful upgrades that streamline performance and enhance security. 

The focus on improving page speed and optimizing the checkout experience will be a win for merchants and shoppers alike. Developers will appreciate the better support for PHP 8.2, making compatibility more future-proof. 

The security patches provide a much-needed layer of protection against emerging threats. This update also simplifies the integration of third-party modules, offering flexibility. 

Overall, these upgrades ensure Magento remains a robust eCommerce platform to meet evolving business needs.

Is Magento 2.4.8 compatible with PHP 8.2?

Magento 2.4.8 supports PHP 8.2 with some necessary updates to ensure compatibility. However, before upgrading, it’s important to check if any installed extensions or custom code also supports PHP 8.2.

What security updates are included in Magento 2.4.8?

Magento 2.4.8 includes important security updates, including fixes for vulnerabilities that could potentially affect the system’s integrity. These updates help protect the platform from various threats and enhance security overall.

Can I upgrade to Magento 2.4.8 directly from Magento 2.4.7?

Yes, you can upgrade directly from Magento 2.4.7 to 2.4.8 without any issues. Magento provides an easy upgrade path for minor version changes, ensuring that your site stays up-to-date with the latest features and fixes.

What is the best way to upgrade to Magento 2.4.8?

The best way to upgrade is by using Composer, which ensures that all dependencies are updated correctly. It’s also recommended to backup your site and test the upgrade on a staging environment before applying it to production.

Are there any changes in the admin interface with Magento 2.4.8?

Magento 2.4.8 introduces some improvements in the admin interface, such as performance enhancements and bug fixes. While no major visual changes are expected, these updates make the admin panel more stable and efficient.

Get a Free Consultation

    ✓ 100% Guaranteed Security of Your Information