Adobe has unveiled the beta version of Magento Open Source 2.4.8, which introduces numerous enhancements and lays the groundwork for a more robust and secure eCommerce platform. Announced on October 8th, 2024, this beta serves as a preview of forthcoming Magento developments, allowing developers and merchants to explore new features and provide feedback for potential improvements. It is important to note that this beta version is not intended for use on production sites; however, engaging with it will offer insights into the anticipated stable release and how a Magento 2 Development Company can assist in formulating an upgrade strategy tailored to your needs.
Magento 2.4.8 Beta – Key Highlights
Magento Certified Developers are professionals who have successfully passed Magento’s rigorous certification exams. These certifications validate their expertise in:
- The Composer dependencies for league/flysystem have been upgraded to version 3.x, which enhances the processes of file storage and retrieval
- This version is compatible with PHP 8.2 and 8.3.
- Additionally, PHPUnit has transitioned from version 9 to version 10, which improves testing precision for developers.
- Database compatibility has been broadened to include MySQL 8.4 and MariaDB 11.4, thereby increasing database stability and performance
- A significant enhancement to the user interface is the integration of TinyMCE 7.3.0, which provides a more sophisticated WYSIWYG editor for content management.
- Furthermore, require.js has been updated to version 2.3.7, optimizing JavaScript module loading for quicker page interactions
- This update also supports the latest version of the Google Maps API, which is 3.56
What’s New in Magento 2.4.8?
-
Performance enhancements
Magento 2.4.8 introduces substantial performance improvements designed to enhance both efficiency and stability
Notable enhancements encompass updates to libraries including league/flysystem, monolog/monolog, and wikimedia/less.php, which collectively improve file management, logging capabilities, and CSS pre-processing. Additionally, the removal of obsolete libraries contributes to faster load times and an improved user experience.
Furthermore, the upgrade features advancements in database interactions, along with updates to PHPUnit and the WebAPI Test framework, aimed at optimizing testing procedures.
Security improvements
The recent upgrade addresses identified security vulnerabilities within the platform, enhancing its protection against potential threats.
- The Require.js has been updated to the latest version 2.3.7, which resolves issues related to arbitrary code execution and Denial of Service (DoS) attacks [CVE-2024-38999].
- Additionally, the Magento_GraphQl has been corrected to properly process execute headers, even when the header value fails validation.
- Furthermore, Prototype.js has been updated to rectify security vulnerabilities that could result in Regular Expression Denial of Service (ReDOS) [CVE-2020-27511].
GraphQL Updates:
- Support for Custom Scalar Types: Enhanced management of various data types
- Resolution of GraphQL Cart Items Pagination: Addressed pagination challenges to ensure precise data retrieval.
- Cache Invalidation for GraphQL Resolvers: Maintained data integrity through effective cache invalidation
- Enhanced Product Sorting in GraphQL: Facilitated dependable sorting across multiple fields
Issues Fixed in Magento 2.4.8 Beta:
- Magento 2.4.8 Beta has successfully addressed 254 identified issues, thereby enhancing both the stability and functionality of the platform. Key improvements include:
- REST API Enhancements: Issues related to the /V1/transactions API and SKU management with OAuth1 have been resolved
- GraphQL Improvements: Adjustments have been made to integer value processing and product sorting capabilities
- Admin Panel Enhancements: Button alignment discrepancies, product image management, and the saving of custom attributes have been rectified
- Customer Account Improvements: Resolved issues concerning login processes, validation of address forms, and the saving of customer addresses.
- Additional Fixes: Enhancements have been made to the output of the devinfo command and the status changes of order comments via the REST API.
Why Upgrade to Magento 2.4.8?
- Upgrading to Magento 2.4.8, upon the release of its stable version, offers considerable advantages:
- Improved Performance: Enhanced speed and efficiency resulting from updated libraries and optimized coding practices
- Bolstered Security: Safeguards against identified vulnerabilities and an overall enhancement of security measures.
- Better Compatibility: Compatibility with the latest versions of PHP, MySQL, and MariaDB.
- Advanced GraphQL Features: Increased flexibility and performance for GraphQL integrations.
- Greater Stability: A multitude of bug fixes that resolve existing issues and improve the stability of the platform.