jQuery 4.1.0 and 3.8.0 Released: Passing the Torch to 4.x
jQuery 4.1.0 adds responseURL to jqXHR, form-associated custom element serialization, XML document CSS support, and a ReDoS fix. jQuery 3.8.0 is the final feature release for the 3.x branch.

By TechWhoKnows
3 min read
The jQuery team released jQuery 4.1.0 and jQuery 3.8.0 on 17 November 2026, marking the first minor release of the 4.x line and the final feature release for the 3.x branch.
jQuery 4.1.0 highlights:
jqXHRobjects now exposeresponseURL, the final URL after redirects, following the existingresponseText/responseXML/responseJSONpatternForm-associated custom elements (custom elements registered with
formAssociated = true) now serialize correctly with.serialize()and.serializeArray()CSS methods work in XML documents by using
createElementNSwith the XHTML namespace internallyquerySelectorAllreplacesgetElementsByTagNameandgetElementsByClassNameinternally, fixing bugs with MathML elements, leading combinators on document fragments, and tag names containing symbolsjQuery.uniqueSortduplicate removal improved from O(N²) to O(N) time with constant spaceReDoS fix in identifier matching: the regular expression for matching identifiers in selectors was vulnerable to catastrophic backtracking; the pattern now explicitly excludes digits and hex characters where the spec requires
Loose document comparisons (
==) used everywhere to avoid rare crashes in IE 11 and Edge LegacyAlternative AJAX transport
completeCallbackAPI accepting a single object instead of positional arguments
jQuery 3.8.0 highlights:
Support for
hidden="until-found"attribute valueFormal deprecation of
push,sort,spliceArray methods on the jQuery prototype (removed in 4.0.0)Formal deprecation of
jQuery.expr[":"]andjQuery.expr.filters, usejQuery.expr.pseudosinsteadBackported fixes from 4.0.0 including self-removing scripts in
.html(),jQuery.cleanDatanot skipping elements, correct dimensions for table<col>elements, and robust native event handling
The team explicitly states that 3.8.0 is the last planned feature release on the 3.x branch. Going forward, 3.x will only receive critical security and bug fixes. The upgrade guide and jQuery Migrate plugin are available to help users move to 4.x.
Both releases are available on the jQuery CDN and npm (npm install jquery@4.1.0 / npm install jquery@3.8.0). Slim builds are also provided.
Sources
- 1Official jQuery Blogblog.jquery.com
- 2GitHub Releasegithub.com
- 3Hacker News discussionnews.ycombinator.com