Technology1 min read

jQuery 4.1.0

By · Published by Everything Blog

In short

The library modernizes internal operations by replacing older lookup methods like getElementsByTagName with querySelectorAll and refactoring loops to prevent exceeding array bounds. Selector parsing security is strengthened with a fix for identifier matching ReDoS, corrected unescapeSelector patterns, and a targeted workaround for a Safari 27 regular expression interpreter bug. Additionally, the update integrates the responseURL field into jqXHR, refines XML styling support, and enhances the overall test suite with coverage for SVG elements.

Key points

  • Core networking is improved with the addition of the responseURL field to jqXHR objects.: Core networking is improved with the addition of the responseURL field to jqXHR objects.
  • Selector logic is hardened by mapping invalid escape code points directly to the U+FFFD r…: Selector logic is hardened by mapping invalid escape code points directly to the U+FFFD replacement character.
  • Commercial support options have been updated within the project documentation to official…: Commercial support options have been updated within the project documentation to officially include TuxCare.

Sources checked by our analysis pipeline: 1

Releases

4.1.0

Compare

Sorry, something went wrong.

No results found

Immutable

release. Only release title and notes can be modified.

Ajax

Add the responseURL

field to jqXHR (#4339 , 5691e03a )

Support an alternative completeCallback API for transports (a05c3d73 )

Core

Refactor loops to avoid going behind array bounds (5f8ed054 )

Drop getElementsBy{Tag,Class}Name in favor of querySelectorAll (#3642 , 53a2bcf9 )

CSS

Empty the computeTableStyleTests probe table when it might be reused (#5932 , f37226f0 )

Use createElementNS to support XML documents (#4730 , dcb31ae8 )

Data

Docs

Add a new commercial support vendor: TuxCare (b75c1fef )

Fix spelling of XMLHttpRequest in README (#5903 ) (71c0dd14 )

Add guidelines for machine-generated contributions (51eb576c )

Update the jQuery NES HeroDevs link in README (#5853 ) (dd7b28f4 )

Update active version table (fef45254 )

update README with 4.0 release (#5781 , 5bffcc1a )

Selector

Work around a Safari 27 regex interepreter bug (b557a8c4 )

Fix the runescape regex in unescapeSelector (e77f87c8 )

Decode invalid escape code points to U+FFFD (#5845 ) (7e1efd77 )

Optimize jQuery.uniqueSort duplicate removal (35789e76 )

Be more strict…

Technology