jQuery 4.1.0
First reported by Github ·
jQuery 4.1.0 is now available with performance improvements and compatibility updates for modern web development.
jQuery has released version 4.1.0, introducing several enhancements and bug fixes. Key updates include the addition of the responseURL field to jqXHR and support for an alternative completeCallback API in transports within the Ajax module. The Core module has seen loop refactoring to prevent out-of-bounds array access and the deprecation of getElementsBy{Tag,Class}Name in favor of querySelectorAll. For CSS, computeTableStyleTests' probe table will now be emptied to avoid reuse, and createElementNS will be used to support XML documents. The Data module has been optimized for size, and documentation now includes a new commercial support vendor, TuxCare, alongside spelling corrections and updated guidelines for contributions. The Selector module addresses specific Safari bugs, improves regex handling, and optimizes duplicate removal in uniqueSort. The Serialize module now supports form-associated custom elements. This release also includes a significant number of test updates across various modules.
The release of jQuery 4.1.0 signifies a continued commitment to maintaining and evolving a foundational JavaScript library, even as newer frameworks gain prominence. The shift from older DOM selection methods like getElementsBy{Tag,Class}Name to querySelectorAll in the Core module reflects a move towards more standardized and potentially more performant browser APIs. Furthermore, the explicit addition of support for form-associated custom elements in the Serialize module indicates an awareness of emerging web component standards and their integration needs.
This update positions jQuery as a viable option for projects that require robust backward compatibility and incremental modernization rather than a complete framework overhaul. Developers maintaining legacy applications or building new projects where jQuery's extensive ecosystem is still a primary driver will benefit from these ongoing improvements. The inclusion of commercial support vendor information also suggests a strategy to ensure jQuery's long-term viability and enterprise adoption.
AI-written summary. May contain errors.