---
title: "jQuery 4.1.0 is out alongside jQuery 3.8.0, the last planned feature release for the 3.x branch"
url: https://badiyaa.com/jquery-4-1-0-3-8-0-release/
published: 2026-11-18T10:45:00+00:00
modified: 2026-11-18T10:45:00+00:00
section: Tech
publisher: Badiyaa
---

# jQuery 4.1.0 is out alongside jQuery 3.8.0, the last planned feature release for the 3.x branch

jQuery 4.1.0 and 3.8.0 were released on November 17, with a selector ReDoS fix and word that 3.x now gets only critical fixes.

The 3.x line of jQuery, the JavaScript library still running on roughly two out of three of the world’s busiest websites, has reached its last planned feature release. jQuery 3.8.0 arrived on November 17 together with jQuery 4.1.0, the first minor update to the 4.x branch, and the maintainers say the older line now gets only critical security and bug fixes.

Lead maintainer Timmy Willison put it plainly in the release post: “It is a send-off, not a comeback.” The team is steering anyone still on 3.x toward 4.x, with an upgrade guide and the jQuery Migrate plugin to smooth the move.

## Why a jQuery point release still matters

jQuery turned 20 this year. John Resig introduced it at BarCamp NYC in January 2006, and version 4.0.0 only landed on January 17, 2026, the first major release in close to a decade. It still loads on 65.3% of the 10 million most popular websites, according to web-usage figures for October 2026. That reach is why one bug fix in this release deserves attention from people who never think about their site’s JavaScript.

## The page-freezing selector bug

Both new versions close a ReDoS hole, short for regular-expression denial of service. The pattern jQuery used to recognize identifiers in CSS selectors could backtrack catastrophically: feed it a long chain of hex escapes ending in an invalid character, say inside an attribute selector, and the browser tab could hang. The rewritten pattern follows the CSS specification more closely and no longer has that slow path.

The practical advice follows from the version split. Sites already on 4.0.0 can move to 4.1.0 straight from the jQuery CDN or with npm install jquery@4.1.0. Sites pinned to 3.x should at least take 3.8.0 for the ReDoS fix, then plan the jump to 4.x, because new features will not come back to the old line.

## What developers get in 4.1.0

- **responseURL on jqXHR:** the final address after redirects, where the browser’s XHR reports it. IE 11 and the script and JSONP transports do not.

- **Custom form elements:** form-associated custom elements now serialize properly with .serialize() and .serializeArray().

- **XML documents:** .css() and related methods now work in documents such as XSLT output, because jQuery builds its test elements in the XHTML namespace.

- **querySelectorAll only:** jQuery dropped getElementsByTagName and getElementsByClassName internally, clearing up several long-running selector bugs.

- **Faster uniqueSort:** removing duplicates now takes one linear pass with constant extra memory instead of quadratic time.

Both branches also gain an object-style callback for custom AJAX transports, so new fields can be added later without depending on argument order, plus fixes for rare crashes in IE and Edge Legacy.

## The goodbye gifts in 3.8.0

Much of 3.8.0 is code that has waited on the 3.x branch for years, some of it already shipped in 4.0.0. It adds support for the hidden=”until-found” attribute value and formally deprecates the push, sort and splice array methods and jQuery.expr[“:”], so the Migrate plugin can flag them before a move to 4.x.

For more on how small, old pieces of software keep shaping today’s web, see our stories on [Turbo Pascal fitting a compiler into 39,731 bytes](https://badiyaa.com/turbo-pascal-39731-bytes-compiler/) and on [Protomaps putting a world map in a single file](https://badiyaa.com/protomaps-pmtiles-self-hosted-world-map/).

Both releases are live now at code.jquery.com and on npm, with slim builds for each.

## Further reading

- [Wikipedia: jQuery](https://en.wikipedia.org/wiki/JQuery)

- [Wikipedia: ReDoS](https://en.wikipedia.org/wiki/ReDoS)

*Image: Martin Vorel, CC BY-SA 4.0 via Wikimedia Commons*

*This article was produced with AI assistance and reviewed by our Editorial Desk. [How we work](https://badiyaa.com/editorial-policy/).*
