Release: 4.0.0-rc.1

This commit is contained in:
Michał Gołębiowski-Owczarek 2025-08-11 18:52:15 +02:00
parent ff1f0eaafd
commit 586182f35e
No known key found for this signature in database
19 changed files with 66470 additions and 55 deletions

View File

@ -1,76 +1,89 @@
# Changelog
https://blog.jquery.com/2024/07/11/second-beta-of-jquery-4-0-0/
## Attributes
- Make `.attr( name, false )` remove for all non-ARIA attrs ([#5388](https://github.com/jquery/jquery/issues/5388), [063831b6](https://github.com/jquery/jquery/commit/063831b6378d518f9870ec5c4f1e7d5d16e04f36))
https://blog.jquery.com/2025/08/11/jquery-4-0-0-release-candidate-1/
## Build
- Bump the github-actions group with 2 updates ([3a98ef91](https://github.com/jquery/jquery/commit/3a98ef91dfa0b4897df7562f40bfd1715f5fc30e))
- upgrade dependencies; fix bundler tests on windows ([cb8ab6cc](https://github.com/jquery/jquery/commit/cb8ab6ccdb8a7b843301793d4b7138a5a3750d6b))
- improve specificity of eslint config; add ecma versions ([74970524](https://github.com/jquery/jquery/commit/74970524e5e164c72ec0415267b1e057280c9455))
- Bump the github-actions group with 2 updates ([46b9e480](https://github.com/jquery/jquery/commit/46b9e4803ec3506e830ea6b49541ea29717ed460))
- Group dependabot PRs updating GitHub Actions ([3cac1465](https://github.com/jquery/jquery/commit/3cac1465b4b5539bb679a517fbb52e5419c1866e))
- Bump actions/cache, actions/checkout & github/codeql-action ([df1df950](https://github.com/jquery/jquery/commit/df1df9503afad78bec3ba5217f9a9efce49fe634))
- Bump express from 4.18.3 to 4.19.2 ([691c0aee](https://github.com/jquery/jquery/commit/691c0aeeded5dea1ca2a0c5474c7adfdb1dadffe))
- make compare size cache readable for manual edits ([783c9d69](https://github.com/jquery/jquery/commit/783c9d6958fd20a6a9a199aeecad605a59686992))
- fix size comparison for slim files when the branch is dirty ([8a3a74c4](https://github.com/jquery/jquery/commit/8a3a74c475f92148675af4ee3f77e3d1746e6e88))
- migrate more uses of fs.promises; use node: protocol ([ae7f6139](https://github.com/jquery/jquery/commit/ae7f6139cc8e21a7116e8de30d26ca38426bde0b))
- Bump github/codeql-action from 3.24.0 to 3.24.6 ([ae67ace6](https://github.com/jquery/jquery/commit/ae67ace649fd2ac49eb74709c3d0a5952d0dc3bb))
- Bump actions/cache from 4.0.0 to 4.0.1 ([68f772e0](https://github.com/jquery/jquery/commit/68f772e003ee0f39cf0f755070fb4e9ec9e90973))
- drop support for Node 10 ([5aa7ed88](https://github.com/jquery/jquery/commit/5aa7ed888ddf314fba3c4f8750b891cb6427c9c2))
- add GitHub Actions workflow to update Filestash ([0293d3e3](https://github.com/jquery/jquery/commit/0293d3e30dd68bfe92be1d6d29f9b9200d1ae917))
- update jenkins script to only build ([c21c6f4d](https://github.com/jquery/jquery/commit/c21c6f4ddf96a5928e03bdd2bf0da87899f2ec24))
- Bump actions/cache & github/codeql-action (#5402) ([bf11739f](https://github.com/jquery/jquery/commit/bf11739f6c6926bc9bc1b5a1460505d3b7ef8b01))
- Make the sed usage portable across Linux & macOS ([a848611f](https://github.com/jquery/jquery/commit/a848611f9a3ac48b81c5fdcfdc1e8bd8b9de62a6))
- Bump form-data from 4.0.2 to 4.0.4 ([70ee64fc](https://github.com/jquery/jquery/commit/70ee64fc95780799cbc2b78185b05b00268f6377))
- Test on Safari 18 & 17 instead of "latest-1" ([958369f0](https://github.com/jquery/jquery/commit/958369f08815618b02e485bc29fac81cf4f2e1f6))
- Bump github/codeql-action in the github-actions group ([19621e99](https://github.com/jquery/jquery/commit/19621e99443d1a399a627ee535314d65398d1b89))
- Update the jQuery license link in comment headers ([ec9a387e](https://github.com/jquery/jquery/commit/ec9a387ee0c90e057227f44d34f7654fc3d87f1d))
- Try to unpack Firefox ESR via xz, fall back to bzip2 ([dc5d1f7c](https://github.com/jquery/jquery/commit/dc5d1f7c61bea9e415cda89f677355eb8217a057))
- Bump github/codeql-action in the github-actions group ([0ef60202](https://github.com/jquery/jquery/commit/0ef6020295b670ad91fba530c854f863faa97a90))
- Bump undici and release-it ([b668be0f](https://github.com/jquery/jquery/commit/b668be0fdc0d369e779840ef57033ea3fe040cb7))
- Bump the github-actions group with 2 updates ([bd6b453b](https://github.com/jquery/jquery/commit/bd6b453b7effa78b292812dbe218491624994526))
- Bump the github-actions group with 3 updates ([de2ecfc0](https://github.com/jquery/jquery/commit/de2ecfc092fcb6b9d08dc2dc141d389bbfe61c2d))
- ESLint: Remove the `outerIIFEBody` exception to `indent` ([50ca9571](https://github.com/jquery/jquery/commit/50ca957192e891afe37a7080a7c6c08ad1d469e7))
- Bump the github-actions group with 2 updates ([447432f4](https://github.com/jquery/jquery/commit/447432f4a3b182cd6032930fea0685010e7a9d9c))
- upgrade dependencies, including jtr@0.2.5 ([047f8683](https://github.com/jquery/jquery/commit/047f8683cba4efa800436de9fa30e44a32c20947))
- Bump the github-actions group with 2 updates ([667321eb](https://github.com/jquery/jquery/commit/667321eb2d1c4328b993c25fbe2342a01ec4f87f))
- Bump the github-actions group across 1 directory with 2 updates ([098591e6](https://github.com/jquery/jquery/commit/098591e6fd3222e64b59af92c8849f5d8963d43c))
- Test on iOS 18, no longer test on iOS 15 ([75b48e6a](https://github.com/jquery/jquery/commit/75b48e6a2bff1258ca4d85ab7887e78772a67a69))
- Bump github/codeql-action from 3.27.0 to 3.27.5 in the github-actions group ([03e183c4](https://github.com/jquery/jquery/commit/03e183c4ccf22bf4031920c3270c9f113cb72d1d))
- Report Brotli sizes in compareSize ([e4b5e622](https://github.com/jquery/jquery/commit/e4b5e6227717039a9c695b12e40d3f73ffec31b0))
- Fix pre release matching in compare size regex ([041f6e34](https://github.com/jquery/jquery/commit/041f6e347b621227822b900a7a821d341f0c5d53))
- Make middleware-mockserver not crash on reading nonexistent files ([d5ebb464](https://github.com/jquery/jquery/commit/d5ebb464debab6ac39fe065e93c8a7ae1de8547e))
- Bump the github-actions group with 4 updates ([07c9f02b](https://github.com/jquery/jquery/commit/07c9f02bd6cf27c0e1e38345c97f5c3e2718134f))
- Run tests on Node 22 & 23 ([19716254](https://github.com/jquery/jquery/commit/19716254877870ecd649272cadd00a0d0ff8be01))
- Enforce ECMAScript 5 in tests via ESLint ([#5542](https://github.com/jquery/jquery/issues/5542), [d74fc265](https://github.com/jquery/jquery/commit/d74fc265de2bca3060da2e6f5ec00371b16e43ca))
- Bump the github-actions group with 3 updates ([3ebe89f6](https://github.com/jquery/jquery/commit/3ebe89f6be21469702108c85b726a70284adbb91))
- Bump rollup from 4.19.0 to 4.22.4 ([147964e1](https://github.com/jquery/jquery/commit/147964e162f9dd62267f997a81d810ec18f6f9fa))
- Bump webpack from 5.93.0 to 5.94.0 ([3658caf1](https://github.com/jquery/jquery/commit/3658caf129bcf02b39b849dd4040e4fbf53b5d50))
- Bump github/codeql-action from 3.25.15 to 3.26.6 in the github-actions group ([a6feeaa7](https://github.com/jquery/jquery/commit/a6feeaa74050096f22f8df7257c88e31da313875))
- align eslint config with 3.x branch as much as possible ([7e6cee72](https://github.com/jquery/jquery/commit/7e6cee72e2e4d144f4e3fc6d46db9251d38c6fc2))
- Bump the github-actions group with 2 updates ([55bc35bc](https://github.com/jquery/jquery/commit/55bc35bcd453e1aefb9e893e7e6ebc665b3fbb11))
- upgrade dependencies, including requirejs to 2.3.7 ([a7d3383e](https://github.com/jquery/jquery/commit/a7d3383e669ff3eee2d2f5ce5a4bb0b9b79bafb1))
- use --input-type=module in npm scripts ([57ef12e0](https://github.com/jquery/jquery/commit/57ef12e0d19eafea0371800959b7b5f0fba61f6c))
## CSS
- Tests: Fix tests & support tests under CSS Zoom ([#5489](https://github.com/jquery/jquery/issues/5489), [071f6dba](https://github.com/jquery/jquery/commit/071f6dba6bd1d8db3f36ce4694aab5ff437b9e36))
- Fix dimensions of table `<col>` elements ([#5628](https://github.com/jquery/jquery/issues/5628), [eca2a564](https://github.com/jquery/jquery/commit/eca2a56457e1c40c071aeb3ac87efeb8bbb8013e))
- Drop the cache in finalPropName ([640d5825](https://github.com/jquery/jquery/commit/640d5825df5ff223560c5690f1a268681c32f9fa))
## Core
- Fix the exports setup to make bundlers work with ESM & CommonJS ([#5416](https://github.com/jquery/jquery/issues/5416), [60f11b58](https://github.com/jquery/jquery/commit/60f11b58bfeece6b6d0189d7d19b61a4e1e61139))
- Remove obsolete workarounds, update support comments ([e2fe97b7](https://github.com/jquery/jquery/commit/e2fe97b7f15cf5ee2e44566b381f7bf214e491b1))
- Switch `$.parseHTML` from `document.implementation` to `DOMParser` ([0e123509](https://github.com/jquery/jquery/commit/0e123509d529456ddf130abb97e6266b53f62c50))
## Docs
- Update remaining HTTP URLs to HTTPS ([7cdd8374](https://github.com/jquery/jquery/commit/7cdd8374234b77a3c70dd511a1b06066afb146bb))
- Align CONTRIBUTING.md with `3.x-stable` ([d9281061](https://github.com/jquery/jquery/commit/d92810614b53270a8f014db14022887ee3383fd5))
- Update CONTRIBUTING.md ([4ef25b0d](https://github.com/jquery/jquery/commit/4ef25b0de4a847f14ba2f88e309eaf759e035d78))
- add version support section to README ([cbc2bc1f](https://github.com/jquery/jquery/commit/cbc2bc1fd37bb6af5d2c60cf666265c4d438200f))
## Event
- Increase robustness of an inner native event in leverageNative ([#5459](https://github.com/jquery/jquery/issues/5459), [527fb3dc](https://github.com/jquery/jquery/commit/527fb3dcf0dcde69302a741dfc61cbfa58e99eb0))
- Use `.preventDefault()` in beforeunload ([7c123dec](https://github.com/jquery/jquery/commit/7c123dec4b96e7c3ce5f5a78e828c8aa335bea98))
## Offset
## Manipulation
- Increase search depth when finding the 'real' offset parent ([556eaf4a](https://github.com/jquery/jquery/commit/556eaf4a193287c306d163635cbb5f5c95a22a84))
- Make jQuery.cleanData not skip elements during cleanup ([#5214](https://github.com/jquery/jquery/issues/5214), [3cad5c43](https://github.com/jquery/jquery/commit/3cad5c435aa2333c39baa55a8bceb2b6bf1e2721))
## Release
- ensure builds have the proper version ([3e612aee](https://github.com/jquery/jquery/commit/3e612aeeb3821c657989e67b43c9b715f5cd32e2))
- set preReleaseBase in config file ([1fa8df5d](https://github.com/jquery/jquery/commit/1fa8df5dbd5d84cf55882a38eb6e571abd0aa938))
- fix running pre/post release scripts in windows ([5518b2da](https://github.com/jquery/jquery/commit/5518b2da1816b379b573abc55ba92f02776a3486))
- update AUTHORS.txt ([862e7a18](https://github.com/jquery/jquery/commit/862e7a1882f3f737db7dde1b5ecda9766d61694a))
- migrate release process to release-it ([jquery/jquery-release#114](https://github.com/jquery/jquery-release/issues/114), [2646a8b0](https://github.com/jquery/jquery/commit/2646a8b07fcc2cf7cf384724f622eb0c27f9166c))
- add factory files to release distribution ([#5411](https://github.com/jquery/jquery/issues/5411), [1a324b07](https://github.com/jquery/jquery/commit/1a324b0792ba8d032b89dd8bf78bbf5caa535367))
- Run `npm publish` in the post-release phase ([ff1f0eaa](https://github.com/jquery/jquery/commit/ff1f0eaafd0dbcd4c063c3c557d9cee0a461f89d))
- Only run browserless tests during the release ([fb5ab0f5](https://github.com/jquery/jquery/commit/fb5ab0f546e0e25ccb5feb3d51ca2ea743b06efc))
- Temporarily disable running tests on release ([3f79644b](https://github.com/jquery/jquery/commit/3f79644b72e928c529febc1aaee081a6c4b96be3))
- publish tmp/release/dist folder when releasing ([#5658](https://github.com/jquery/jquery/issues/5658), [a865212d](https://github.com/jquery/jquery/commit/a865212dea22d44bf2bea3e2c618c4a25c63c6a6))
- correct build date in verification; other improvements ([53ad94f3](https://github.com/jquery/jquery/commit/53ad94f319930a5bf8cb9bd935ebd4e028741903))
- remove dist files from main branch ([be048a02](https://github.com/jquery/jquery/commit/be048a027d0581746f71df7c8eb3ce1d9bd10a40))
## Selector
- Properly deprecate `jQuery.expr[ ":" ]`/`jQuery.expr.filters` ([329661fd](https://github.com/jquery/jquery/commit/329661fd538a07993a2fcfa2a75fdd7f5667f86c))
## Tests
- remove unnecessary scroll feature test ([ea31e4d5](https://github.com/jquery/jquery/commit/ea31e4d57c05a072df98a08df6532b2afb679d30))
- Align `:has` selector tests with `3.x-stable` ([f2d9fde5](https://github.com/jquery/jquery/commit/f2d9fde5f34c83a098fa2074ed808311086d9d23))
- revert concurrency group change ([fa73e2f1](https://github.com/jquery/jquery/commit/fa73e2f1b25304c93006dd45b6cba24f663e2ae7))
- include github ref in concurrency group ([5880e027](https://github.com/jquery/jquery/commit/5880e02707dcefc4ec527bd1c56f64b8b0eba391))
- Make the beforeunload event tests work regardless of extensions ([399a78ee](https://github.com/jquery/jquery/commit/399a78ee9fc5802509df462a2851aef1b60b7fbc))
- share queue/browser handling for all worker types ([284b082e](https://github.com/jquery/jquery/commit/284b082eb86602705519d6ca754c40f6d2f8fcc0))
- improve diffing for values of different types ([b9d333ac](https://github.com/jquery/jquery/commit/b9d333acef65a68d68b169b6acbbf96965414728))
- show any and all actual/expected values ([f80e78ef](https://github.com/jquery/jquery/commit/f80e78ef3e7ded1fc693465d02dfb07510ded0ab))
- add diffing to test reporter ([44fb7fa2](https://github.com/jquery/jquery/commit/44fb7fa220e2dc2780203b128df2181853b3300f))
- add actual and expected messages to test reporter ([1e84908b](https://github.com/jquery/jquery/commit/1e84908baf13da63c33ee66c857e45c2f02eced7))
- fix worker restarts for failed browser acknowledgements ([fedffe74](https://github.com/jquery/jquery/commit/fedffe7448b9e2328b43641158335be18eff5f69))
- add --hard-retries option to test runner ([822362e6](https://github.com/jquery/jquery/commit/822362e6efae90610d7289b46477c7fa22758141))
- fix cleanup in cases where server doesn't stop ([0754d596](https://github.com/jquery/jquery/commit/0754d5966400ff12e216031d68cb25ea314eac55))
- fix flakey message logs; ignore delete worker failures ([02d23478](https://github.com/jquery/jquery/commit/02d23478289e45af3d7f4673b9ffe84591c23472))
- reuse browser workers in BrowserStack tests (#5428) ([95a4c94b](https://github.com/jquery/jquery/commit/95a4c94b8131b737d8f160c582a4acfe2b65e0f8))
- Use allowlist instead of whitelist ([2b97b6bb](https://github.com/jquery/jquery/commit/2b97b6bbcfc67c234b86d41451aac7cdd778e855))
- migrate testing infrastructure to minimal dependencies ([dfc693ea](https://github.com/jquery/jquery/commit/dfc693ea25fe85e5f29da23752b0c7c8d285fbf0))
- Fix Karma tests on Node.js 20 ([d478a1c0](https://github.com/jquery/jquery/commit/d478a1c0226b7825a99718bf605ef9727ee4beca))
- Use releases.jquery.com as external host for AJAX testing ([f21a6ea6](https://github.com/jquery/jquery/commit/f21a6ea6b5b59fc7fca6a594c353962b23b1fc29))
- Fix tests for `jQuery.get( String, null-ish, null-ish, String )` ([05325801](https://github.com/jquery/jquery/commit/05325801b9453374bf8279f2121829a19b3c09d8))
- Add tests for `jQuery.get( String, null-ish, null-ish, String )` ([76687566](https://github.com/jquery/jquery/commit/76687566f0569dc832f13e901f0d2ce74016cd4d))
- Backport the `hidden="until-found"` attr tests from 3.x-stable ([3a31866b](https://github.com/jquery/jquery/commit/3a31866b80844d8bb06084c70c5b788dd129f7e8))
- migrate test runner to jquery-test-runner ([733e62d2](https://github.com/jquery/jquery/commit/733e62d20328dd3e5b226fd9793b159637d922b8))
- Add custom attribute getter tests to the selector module ([44667709](https://github.com/jquery/jquery/commit/4466770992d5833358169d0248c4deedadea1a96))
- Switch to an updated fork of promises-aplus-tests ([559bc5ac](https://github.com/jquery/jquery/commit/559bc5ac58cb3494ee936c1ee1a14ada75196c6b))
- Run tests in Edge in IE mode in GitHub Actions ([6d78c076](https://github.com/jquery/jquery/commit/6d78c0768d9aa6ba213678724c89af69a1958df6))
- Run tests on both real Firefox ESRs ([4b7ecbad](https://github.com/jquery/jquery/commit/4b7ecbad24463c875f03ef4c7a7d307a091f93fd))
- align mock.php spacing with 3.x-stable branch ([d5ae14f6](https://github.com/jquery/jquery/commit/d5ae14f6fe07e2c2050f029525664cc2d42f9376))
- replace dead links in qunit fixture ([dbc9dac7](https://github.com/jquery/jquery/commit/dbc9dac7aecb106b66050342ff8daf1ecdd4239f))
- replace express with basic Node server ([c85454a8](https://github.com/jquery/jquery/commit/c85454a84306677efda3286a3214419bff945849))

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

9706
dist-module/jquery.module.js Normal file

File diff suppressed because it is too large Load Diff

2
dist-module/jquery.module.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

2
dist-module/jquery.slim.module.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

9714
dist/jquery.factory.js vendored Normal file

File diff suppressed because it is too large Load Diff

6890
dist/jquery.factory.slim.js vendored Normal file

File diff suppressed because it is too large Load Diff

9714
dist/jquery.js vendored Normal file

File diff suppressed because it is too large Load Diff

2
dist/jquery.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/jquery.min.map vendored Normal file

File diff suppressed because one or more lines are too long

6890
dist/jquery.slim.js vendored Normal file

File diff suppressed because it is too large Load Diff

2
dist/jquery.slim.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/jquery.slim.min.map vendored Normal file

File diff suppressed because one or more lines are too long

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "jquery",
"version": "4.0.0-beta.2",
"version": "4.0.0-rc.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "jquery",
"version": "4.0.0-beta.2",
"version": "4.0.0-rc.1",
"license": "MIT",
"devDependencies": {
"@babel/cli": "7.26.4",

View File

@ -2,7 +2,7 @@
"name": "jquery",
"title": "jQuery",
"description": "JavaScript library for DOM operations",
"version": "4.0.0-beta.2",
"version": "4.0.0-rc.1",
"type": "module",
"exports": {
".": {
@ -87,7 +87,7 @@
"homepage": "https://jquery.com",
"author": {
"name": "OpenJS Foundation and other contributors",
"url": "https://github.com/jquery/jquery/blob/main/AUTHORS.txt"
"url": "https://github.com/jquery/jquery/blob/4.0.0-rc.1/AUTHORS.txt"
},
"repository": {
"type": "git",