Skip to content

Commit 923cfaf

Browse files
committed
Release: 4.0.0-rc.1
1 parent 840175d commit 923cfaf

34 files changed

+1236
-1165
lines changed

AUTHORS.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,3 +373,5 @@ Gabriela Gutierrez <gabigutierrez@google.com>
373373
Dimitri Papadopoulos Orfanos <3234522+DimitriPapadopoulos@users.noreply.github.com>
374374
J.Son <x@x-wx.com>
375375
Liam James <liam@minimaximize.com>
376+
ac-mmi <79802170+ac-mmi@users.noreply.github.com>
377+
neogy-akash <AKASHNEOGY400@GMAIL.COM>

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
For information on how to get started and how to use jQuery, please see [jQuery's documentation](https://api.jquery.com/).
66
For source files and issues, please visit the [jQuery repo](https://github.com/jquery/jquery).
77

8-
If upgrading, please see the [blog post for 4.0.0-beta.2](https://blog.jquery.com/2024/07/11/second-beta-of-jquery-4-0-0/). This includes notable differences from the previous version and a more readable changelog.
8+
If upgrading, please see the [blog post for 4.0.0-rc.1](https://blog.jquery.com/2025/08/11/jquery-4-0-0-release-candidate-1/). This includes notable differences from the previous version and a more readable changelog.
99

1010
## Including jQuery
1111

@@ -16,30 +16,30 @@ Below are some of the most common ways to include jQuery.
1616
#### Script tag
1717

1818
```html
19-
<script src="https://code.jquery.com/jquery-4.0.0-beta.2.min.js"></script>
19+
<script src="https://code.jquery.com/jquery-4.0.0-rc.1.min.js"></script>
2020
```
2121

2222
or, to use the jQuery ECMAScript module:
2323

2424
```html
2525
<script type="module">
26-
import { $ } from "https://code.jquery.com/jquery-4.0.0-beta.2.module.min.js";
26+
import { $ } from "https://code.jquery.com/jquery-4.0.0-rc.1.module.min.js";
2727
</script>
2828
```
2929

3030
or:
3131

3232
```html
3333
<script type="module">
34-
import { jQuery } from "https://code.jquery.com/jquery-4.0.0-beta.2.module.min.js";
34+
import { jQuery } from "https://code.jquery.com/jquery-4.0.0-rc.1.module.min.js";
3535
</script>
3636
```
3737

3838
All jQuery modules export named `$` & `jQuery` tokens; the further examples will just show `$`. The default import also works:
3939

4040
```html
4141
<script type="module">
42-
import $ from "https://code.jquery.com/jquery-4.0.0-beta.2.module.min.js";
42+
import $ from "https://code.jquery.com/jquery-4.0.0-rc.1.module.min.js";
4343
</script>
4444
```
4545

@@ -48,14 +48,14 @@ However, named imports provide better interoperability across tooling and are th
4848
Sometimes you don’t need AJAX, or you prefer to use one of the many standalone libraries that focus on AJAX requests. And often it is simpler to use a combination of CSS, class manipulation or the Web Animations API. Similarly, many projects opt into relying on native browser promises instead of jQuery Deferreds. Along with the regular version of jQuery that includes the `ajax`, `callbacks`, `deferred`, `effects` & `queue` modules, we’ve released a “slim” version that excludes these modules. You can load it as a regular script:
4949

5050
```html
51-
<script src="https://code.jquery.com/jquery-4.0.0-beta.2.slim.min.js"></script>
51+
<script src="https://code.jquery.com/jquery-4.0.0-rc.1.slim.min.js"></script>
5252
```
5353

5454
or as a module:
5555

5656
```html
5757
<script type="module">
58-
import { $ } from "https://code.jquery.com/jquery-4.0.0-beta.2.module.slim.min.js";
58+
import { $ } from "https://code.jquery.com/jquery-4.0.0-rc.1.module.slim.min.js";
5959
</script>
6060
```
6161

@@ -67,8 +67,8 @@ To avoid repeating long import paths that change on each jQuery release, you can
6767
<script type="importmap">
6868
{
6969
"imports": {
70-
"jquery": "https://code.jquery.com/jquery-4.0.0-beta.2.module.min.js",
71-
"jquery/slim": "https://code.jquery.com/jquery-4.0.0-beta.2.module.slim.min.js"
70+
"jquery": "https://code.jquery.com/jquery-4.0.0-rc.1.module.min.js",
71+
"jquery/slim": "https://code.jquery.com/jquery-4.0.0-rc.1.module.slim.min.js"
7272
}
7373
}
7474
</script>

changelog.md

Lines changed: 64 additions & 51 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)