Releases: jquery/jquery
Releases Β· jquery/jquery
Release 4.0.0
Immutable
release. Only release title and notes can be modified.
Changelog
Ajax
- Don't treat array data as binary (992a1911)
- Allow
processData: trueeven for binary data (ce264e07) - Support binary data (including FormData) (a7ed9a7b)
- Support
headersfor script transport even when cross-domain (#5142, 6d136443) - Support
nullas success functions injQuery.get(#4989, 74978b7e) - Don't auto-execute scripts unless dataType provided (#4822, 025da4dd)
- Make responseJSON work for erroneous same-domain JSONP requests (68b4ec59)
- Execute JSONP error script responses (#4771, a1e619b0)
- Avoid CSP errors in the script transport for async requests (#3969, 07a8e4a1)
- Drop the json to jsonp auto-promotion logic (#1799, #3376, e7b3bc48)
- Overwrite s.contentType with content-type header value, if any (#4119, 7fb90a6b)
- Deprecate AJAX event aliases, inline event/alias into deprecated (23d53928)
- Do not execute scripts for unsuccessful HTTP responses (#4250, 50871a5a)
- Simplify jQuery.ajaxSettings.xhr (#1967, abdc89ac)
Attributes
- Make
.attr( name, false )remove for all non-ARIA attrs (#5388, 063831b6) - Shave off a couple of bytes (b40a4807)
- Don't stringify attributes in the setter (#4948, 4250b628)
- Drop the
toggleClass(boolean|undefined)signature (#3388, a4421101) - Refactor val(): don't strip carriage return, isolate IE workarounds (ff281991)
- Don't set the type attr hook at all outside of IE (9e66fe9a)
CSS
- Fix dimensions of table
<col>elements (#5628, eca2a564) - Drop the cache in finalPropName (640d5825)
- Tests: Fix tests & support tests under CSS Zoom (#5489, 071f6dba)
- Fix reliableTrDimensions support test for initially hidden iframes (b1e66a5f)
- Selector: Align with 3.x, remove the outer
selector.jswrapper (53cf7244) - Make the reliableTrDimensions support test work with Bootstrap CSS (#5270, 65b85031)
- Make
offsetHeight( true ), etc. include negative margins (#3982, bce13b72) - Return
undefinedfor whitespace-only CSS variable values (#5120) (7eb00196) - Donβt trim whitespace of undefined custom property (#5105, ed306c02)
- Skip falsy values in
addClass( array ), compress code (#4998, a338b407) - Justify use of rtrim on CSS property values (655c0ed5)
- Trim whitespace surrounding CSS Custom Properties values (#4926, efadfe99)
- Include
show,hide&togglemethods in the jQuery slim build (297d18dd) - Remove the opacity CSS hook (865469f5)
- Workaround buggy getComputedStyle on table rows in IE/Edge (#4490, 26415e08)
- Don't automatically add "px" to properties with a few exceptions (#2795, 00a9c2e5)
Core
- Remove obsolete workarounds, update support comments (e2fe97b7)
- Switch
$.parseHTMLfromdocument.implementationtoDOMParser(0e123509) - Fix the exports setup to make bundlers work with ESM & CommonJS (#5416, 60f11b58)
- Add more info about named exports (5f869590)
- Simplify code post browser support reduction (93ca49e6)
- Move the factory to separate exports (46f6e3da)
- Use named exports in
src/(#5262, f75daab0) - Fix regression in jQuery.text() on HTMLDocument objects (#5264, a75d6b52)
- Selector: Move jQuery.contains from the selector to the core module (024d8719)
- Drop the root parameter of jQuery.fn.init (d2436df3)
- Don't rely on splice being present on input (9c6f64c7)
- Manipulation: Add basic TrustedHTML support (#4409, de5398a6)
- Report browser errors in parseXML (#4784, 89697325)
- Make jQuery.isXMLDoc accept falsy input (#4782, fd421097)
- Drop support for Edge Legacy (i.e. non-Chromium Microsoft Edge) (#4568, e35fb62d)
- Fire iframe script in its context, add doc param in globalEval (#4518, 4592595b)
- Exclude callbacks & deferred modules in the slim build as well (fbc44f52)
- Migrate from AMD to ES modules π (d0ce00cd)
- Use Array.prototype.flat where supported (#4320, [9df4f1d](9df4f1de12728b44a4b0f91748...
Release 4.0.0-rc.2
Immutable
release. Only release title and notes can be modified.
Changelog
Build
- De-dupe three authors via mailmap (5fe9c298)
- Post beta browser tests errors to jquery/dev on Matrix (afdd032f)
- Bump the github-actions group with 4 updates (546a1eb0)
- Fix Chrome beta tests (ec738b31)
- Add periodic tests on beta versions of browsers (c28c26ae)
- Bump the github-actions group with 2 updates (f513413a)
- Update glob form 10.4.5 to 10.5.0 (4dbe321a)
- Upgrade all dev dependencies (except sinon & eslint) (9572ae8a)
- Update jtr to 0.2.8; fixes Edge in IE mode (5169d8f0)
- Verify release using dist repo tarball; Node 24.x (#5719) (dda0a022)
- Bump the github-actions group with 2 updates (#5718) (fa41fe50)
- Separate Node.js & Browser Tests, update tested Node.js versions (98cc8c83)
- Update browsers tested in BrowserStack (1c297241)
- Bump the github-actions group with 2 updates (d6c1e238)
- Migrate lockbot to GitHub Actions (ef743289)
- Simplify caching in CI, use
npm ci(110e4657) - Bump the github-actions group with 3 updates (607b25eb)
- Bump tmp and @inquirer/editor (9c84195b)
Docs
Release
- Update AUTHORS.txt (c128d5d8)
- Fix release issues uncovered during the 4.0.0-rc.1 release (a5b0c431)
- remove dist files from main branch (9d06c6dd)
Selector
- Remove the workaround for
:has; test both on iPhone & iPad (65e35450)
Tests
- Fix the "outside view position" test in Headless Chrome (23d72cb1)
- Fix selector tests in Chrome 141 (25a1b080)
- Increase nomodule test timeout for IE from 1s to 5s (5eab0a3c)
- Fix module/nomodule tests flakiness (5964acf3)
- updated the vulnerability reporting process and added escalation steps (02cf4ee0)
Release 4.0.0-rc.1
Changelog
Build
- Make the sed usage portable across Linux & macOS (a848611f)
- Bump form-data from 4.0.2 to 4.0.4 (70ee64fc)
- Test on Safari 18 & 17 instead of "latest-1" (958369f0)
- Bump github/codeql-action in the github-actions group (19621e99)
- Update the jQuery license link in comment headers (ec9a387e)
- Try to unpack Firefox ESR via xz, fall back to bzip2 (dc5d1f7c)
- Bump github/codeql-action in the github-actions group (0ef60202)
- Bump undici and release-it (b668be0f)
- Bump the github-actions group with 2 updates (bd6b453b)
- Bump the github-actions group with 3 updates (de2ecfc0)
- ESLint: Remove the
outerIIFEBodyexception toindent(50ca9571) - Bump the github-actions group with 2 updates (447432f4)
- upgrade dependencies, including [email protected] (047f8683)
- Bump the github-actions group with 2 updates (667321eb)
- Bump the github-actions group across 1 directory with 2 updates (098591e6)
- Test on iOS 18, no longer test on iOS 15 (75b48e6a)
- Bump github/codeql-action from 3.27.0 to 3.27.5 in the github-actions group (03e183c4)
- Report Brotli sizes in compareSize (e4b5e622)
- Fix pre release matching in compare size regex (041f6e34)
- Make middleware-mockserver not crash on reading nonexistent files (d5ebb464)
- Bump the github-actions group with 4 updates (07c9f02b)
- Run tests on Node 22 & 23 (19716254)
- Enforce ECMAScript 5 in tests via ESLint (#5542, d74fc265)
- Bump the github-actions group with 3 updates (3ebe89f6)
- Bump rollup from 4.19.0 to 4.22.4 (147964e1)
- Bump webpack from 5.93.0 to 5.94.0 (3658caf1)
- Bump github/codeql-action from 3.25.15 to 3.26.6 in the github-actions group (a6feeaa7)
- align eslint config with 3.x branch as much as possible (7e6cee72)
- Bump the github-actions group with 2 updates (55bc35bc)
- upgrade dependencies, including requirejs to 2.3.7 (a7d3383e)
- use --input-type=module in npm scripts (57ef12e0)
CSS
Core
- Remove obsolete workarounds, update support comments (e2fe97b7)
- Switch
$.parseHTMLfromdocument.implementationtoDOMParser(0e123509)
Docs
- Align CONTRIBUTING.md with
3.x-stable(d9281061) - Update CONTRIBUTING.md (4ef25b0d)
- add version support section to README (cbc2bc1f)
Event
- Use
.preventDefault()in beforeunload (7c123dec)
Manipulation
Release
- Run
npm publishin the post-release phase (ff1f0eaa) - Only run browserless tests during the release (fb5ab0f5)
- Temporarily disable running tests on release (3f79644b)
- publish tmp/release/dist folder when releasing (#5658, a865212d)
- correct build date in verification; other improvements (53ad94f3)
- remove dist files from main branch (be048a02)
Selector
- Properly deprecate
jQuery.expr[ ":" ]/jQuery.expr.filters(329661fd)
Tests
- Use releases.jquery.com as external host for AJAX testing (f21a6ea6)
- Fix tests for
jQuery.get( String, null-ish, null-ish, String )(05325801) - Add tests for
jQuery.get( String, null-ish, null-ish, String )(76687566) - Backport the
hidden="until-found"attr tests from 3.x-stable (3a31866b) - migrate test runner to jquery-test-runner (733e62d2)
- Add custom attribute getter tests to the selector module (44667709)
- Switch to an updated fork of promises-aplus-tests (559bc5ac)
- Run tests in Edge in IE mode in GitHub Actions (6d78c076)
- Run tests on both real Firefox ESRs (4b7ecbad)
- align mock.php spacing with 3.x-stable branch (d5ae14f6)
- replace dead links in qunit fixture (dbc9dac7)
- replace express with basic Node server (c85454a8)
Release 4.0.0-beta.2
Changelog
Attributes
Build
- Bump the github-actions group with 2 updates (3a98ef91)
- upgrade dependencies; fix bundler tests on windows (cb8ab6cc)
- improve specificity of eslint config; add ecma versions (74970524)
- Bump the github-actions group with 2 updates (46b9e480)
- Group dependabot PRs updating GitHub Actions (3cac1465)
- Bump actions/cache, actions/checkout & github/codeql-action (df1df950)
- Bump express from 4.18.3 to 4.19.2 (691c0aee)
- make compare size cache readable for manual edits (783c9d69)
- fix size comparison for slim files when the branch is dirty (8a3a74c4)
- migrate more uses of fs.promises; use node: protocol (ae7f6139)
- Bump github/codeql-action from 3.24.0 to 3.24.6 (ae67ace6)
- Bump actions/cache from 4.0.0 to 4.0.1 (68f772e0)
- drop support for Node 10 (5aa7ed88)
- add GitHub Actions workflow to update Filestash (0293d3e3)
- update jenkins script to only build (c21c6f4d)
- Bump actions/cache & github/codeql-action (#5402) (bf11739f)
CSS
Core
Docs
- Update remaining HTTP URLs to HTTPS (7cdd8374)
Event
Offset
- Increase search depth when finding the 'real' offset parent (556eaf4a)
Release
- ensure builds have the proper version (3e612aee)
- set preReleaseBase in config file (1fa8df5d)
- fix running pre/post release scripts in windows (5518b2da)
- update AUTHORS.txt (862e7a18)
- migrate release process to release-it (jquery/jquery-release#114, 2646a8b0)
- add factory files to release distribution (#5411, 1a324b07)
Tests
- remove unnecessary scroll feature test (ea31e4d5)
- Align
:hasselector tests with3.x-stable(f2d9fde5) - revert concurrency group change (fa73e2f1)
- include github ref in concurrency group (5880e027)
- Make the beforeunload event tests work regardless of extensions (399a78ee)
- share queue/browser handling for all worker types (284b082e)
- improve diffing for values of different types (b9d333ac)
- show any and all actual/expected values (f80e78ef)
- add diffing to test reporter (44fb7fa2)
- add actual and expected messages to test reporter (1e84908b)
- fix worker restarts for failed browser acknowledgements (fedffe74)
- add --hard-retries option to test runner (822362e6)
- fix cleanup in cases where server doesn't stop (0754d596)
- fix flakey message logs; ignore delete worker failures (02d23478)
- reuse browser workers in BrowserStack tests (#5428) (95a4c94b)
- Use allowlist instead of whitelist (2b97b6bb)
- migrate testing infrastructure to minimal dependencies (dfc693ea)
- Fix Karma tests on Node.js 20 (d478a1c0)