Skip to content

Commit a96757e

Browse files
committed
Build: Update jQuery to 4.0.0-rc.1, update README
1 parent 8f5205e commit a96757e

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![CI Status](https://github.com/jquery/jquery-migrate/actions/workflows/node.js.yml/badge.svg?branch=main)
22

3-
#### NOTE: To upgrade to jQuery 3.0, you first need version 1.12.x or 2.2.x. If you're using an older version, first upgrade to one of these versions using [jQuery Migrate 1.x](https://github.com/jquery/jquery-migrate/tree/1.x-stable#readme), to resolve any compatibility issues. For more information about the changes made in jQuery 3.0, see the [upgrade guide](https://jquery.com/upgrade-guide/3.0/) and [blog post](https://blog.jquery.com/2016/06/09/jquery-3-0-final-released/).
3+
#### NOTE: To upgrade to jQuery 4.x, you first need version 3.x. If you're using an older version, first upgrade to jQuery 3.x using [jQuery Migrate 3.x](https://github.com/jquery/jquery-migrate/tree/3.x-stable#readme), to resolve any compatibility issues. For more information about the changes made in jQuery 4.0, see the [upgrade guide](https://jquery.com/upgrade-guide/4.0/) and [blog post](https://blog.jquery.com/2024/07/17/second-beta-of-jquery-4-0-0/).
44

55
# jQuery Migrate
66
Upgrading libraries such as jQuery can be a lot of work, when breaking changes have been introduced. jQuery Migrate makes this easier, by restoring the APIs that were removed, and additionally shows warnings in the browser console (development version of jQuery Migrate only) when removed and/or deprecated APIs are used.
@@ -25,8 +25,8 @@ Each jQuery Migrate version supports the same browsers that the jQuery version u
2525
In your web page, load this plugin *after* the script tag for jQuery, for example:
2626

2727
```html
28-
<script src="https://code.jquery.com/jquery-3.7.1.js"></script>
29-
<script src="https://code.jquery.com/jquery-migrate-3.5.2.js"></script>
28+
<script src="https://code.jquery.com/jquery-4.0.0-rc.1.js"></script>
29+
<script src="https://code.jquery.com/jquery-migrate-4.0.0-beta.1.js"></script>
3030
```
3131

3232
## Download

jtr-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ runs:
66
- git.min
77
- git.slim
88
- git.slim.min
9-
- 4.0.0-beta.2
10-
- 4.0.0-beta.2.slim
9+
- 4.0.0-rc.1
10+
- 4.0.0-rc.1.slim
1111
plugin:
1212
- dev
1313
- min

jtr-local.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ runs:
66
- git.min
77
- git.slim
88
- git.slim.min
9-
- 4.0.0-beta.2
10-
- 4.0.0-beta.2.slim
9+
- 4.0.0-rc.1
10+
- 4.0.0-rc.1.slim
1111

1212
retries: 1

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"eslint-plugin-import": "2.31.0",
6666
"globals": "15.15.0",
6767
"husky": "9.1.7",
68-
"jquery": "4.0.0-beta.2",
68+
"jquery": "4.0.0-rc.1",
6969
"jquery-test-runner": "0.2.5",
7070
"jsdom": "26.0.0",
7171
"native-promise-only": "0.8.1",

test/data/testinit.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* dev Uncompressed development version: source files in the project /dist dir
99
* esmodules Non-combined dev version: source files from the project /src dir
1010
* min Minified version in the project /dist dir
11-
* VER Version from code.jquery.com, e.g.: git, 4.0.0.min or 4.0.0-beta.2
11+
* VER Version from code.jquery.com, e.g.: git, 4.0.0.min or 4.0.0-rc.1
1212
* else Full or relative path to be used for script src
1313
*/
1414
loadProject: function( projectName, defaultVersion, isSelf ) {
@@ -244,8 +244,8 @@ TestManager.init( {
244244
"git.min",
245245
"git.slim",
246246
"git.slim.min",
247-
"4.0.0-beta.2",
248-
"4.0.0-beta.2.slim"
247+
"4.0.0-rc.1",
248+
"4.0.0-rc.1.slim"
249249
]
250250
},
251251
"jquery-migrate": {

0 commit comments

Comments
 (0)