You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: pages/download.md
+5-4
Original file line number
Diff line number
Diff line change
@@ -26,14 +26,14 @@ Browse the jQuery CDN at **[releases.jquery.com](https://releases.jquery.com)**
26
26
27
27
### Upgrade
28
28
29
-
For help when upgrading jQuery, read the [upgrade guide](/upgrade-guide/).
30
-
We also recommend using the [jQuery Migrate plugin](https://github.com/jquery/jquery-migrate)
29
+
For help when upgrading jQuery, read the [upgrade guides](/upgrade-guide/).
30
+
We also recommend using the [jQuery Migrate plugin](https://github.com/jquery/jquery-migrate).
31
31
32
32
### jQuery Migrate Plugin
33
33
34
34
The [jQuery Migrate plugin](https://github.com/jquery/jquery-migrate/#readme) simplifies upgrading from older versions of jQuery. The plugin restores deprecated features and behaviors so that older code will still run properly on newer versions of jQuery.
35
35
36
-
When upgrading from a pre-1.9 jQuery version to jQuery 1.9 or upto jQuery 3.0, first use jQuery Migrate 1.x:
36
+
When upgrading from a pre-1.9 jQuery version to jQuery 1.9 or up to jQuery 3.0, first use jQuery Migrate 1.x:
37
37
38
38
* <ahref="https://code.jquery.com/jquery-migrate-1.4.1.min.js">Download jQuery Migrate 1.4.1</a> (compressed production version)
39
39
* <ahref="https://code.jquery.com/jquery-migrate-1.4.1.js">Download the uncompressed, development jQuery Migrate 1.4.1</a>
@@ -43,11 +43,12 @@ When migrating from jQuery 3.x to a later jQuery 3.x version, use jQuery Migrate
43
43
* <ahref="https://code.jquery.com/jquery-migrate-3.5.0.min.js">Download jQuery Migrate 3.5.0</a> (compressed production version)
44
44
* <ahref="https://code.jquery.com/jquery-migrate-3.5.0.js">Download the uncompressed, development jQuery Migrate 3.5.0</a>
45
45
46
-
Use the _compressed production_ version to simply restore compatibility issues without changing any application code.
46
+
Use the _compressed production_ version to restore compatibility issues without changing any application code.
47
47
48
48
Use the _uncompressed development_ version to additionally diagnose and help migrate compatibility issues, through helpful warnings on the console that identify how to transition your application code.
49
49
50
50
## Downloading jQuery using npm or Yarn
51
+
51
52
jQuery is published on [npm](https://www.npmjs.com/) under the [jquery package](https://www.npmjs.com/package/jquery). You can install the latest version of jQuery with the npm CLI:
Copy file name to clipboardexpand all lines: pages/support.md
+26-7
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,22 @@
4
4
}
5
5
</script>
6
6
7
+
## Supported versions
8
+
9
+
We support only the latest version of jQuery. The 1.x and 2.x branches are no longer supported.
10
+
11
+
jQuery 3.x is the current version branch of jQuery.
12
+
13
+
jQuery 4.0 is in beta. Once jQuery 4.0 is released, we will provide security patches and bug fixes on the 3.x branch for a limited time.
14
+
15
+
### Unsupported versions
16
+
17
+
When using a version earlier than the latest version, there are a few options:
18
+
19
+
*[Upgrade](/download#upgrade) to the latest version of jQuery. The best solution is to upgrade as it will include all features, bug fixes, security patches, and improvements. The [jQuery Migrate Plugin](https://github.com/jquery/jquery-migrate) and [upgrade guides](/upgrade-guide) are available to assist with upgrading.
20
+
* Continue using an older version of jQuery, but include all security patches through [commercial security support](#commercial-support).
21
+
* Continue using an older version of jQuery without security patches. **However, this can come with multiple risks.**
22
+
7
23
## Community support
8
24
9
25
The following learning resources are available online and free of charge:
@@ -27,17 +43,11 @@ We are on [Libera Chat IRC](https://libera.chat/) in the `#jquery` channel where
27
43
28
44
StackOverflow is a great place to ask questions and find support for all jQuery projects. Search or create [questions tagged with "jquery"](https://stackoverflow.com/questions/tagged/jquery), or refer to the ["jquery" tag introduction](https://stackoverflow.com/tags/jquery/info).
*[jQuery Forum](https://forum.jquery.com/) (2010-2021): For questions and advice regarding jQuery Core, jQuery UI, Themeroller, QUnit, development of jQuery Plugins, and more.
The following companies offer commercial support services for jQuery.
39
49
40
-
***[Bocoup](https://bocoup.com/)** builds complex cross device and cross platform JavaScript software for startups, the Fortune 500, and federally funded education projects. Bocoup offers in-depth JavaScript training on a number of subjects including jQuery. Learn more at <https://bocoup.com/services/training> or contact at <https://bocoup.com/contact>.
50
+
[HeroDevs](https://www.herodevs.com/support/jquery-nes?utm_source=jQuery&utm_medium=link&utm_campaign=eol_support_jQuery) offers security and compatibility support for EOL versions of jQuery through the [OpenJS Ecosystem Sustainability Program](https://openjsf.org/ecosystem-sustainability-program) and is an approved commercial support vendor. Find out more about their [Never Ending Support options](https://www.herodevs.com/support/jquery-nes?utm_source=jQuery&utm_medium=link&utm_campaign=eol_support_jQuery).
41
51
42
52
-------
43
53
@@ -72,3 +82,12 @@ For guidance on branding and trademark usage, visit <https://brand.jquery.org/>.
72
82
For reporting bugs in libraries, documentation, or content, the project's GitHub issue tracker should be used. All jQuery projects can be found at https://github.com/jquery
*[jQuery Forum](https://forum.jquery.com/) (2010-2021): For questions and advice regarding jQuery Core, jQuery UI, Themeroller, QUnit, development of jQuery Plugins, and more.
Copy file name to clipboardexpand all lines: pages/upgrade-guide.md
+30-3
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,35 @@
3
3
"noHeadingLinks":true
4
4
}</script>
5
5
6
-
## [3.5 Upgrade Guide](/upgrade-guide/3.5/)
6
+
## jQuery Upgrade Guides
7
7
8
-
## [3.0 Upgrade Guide](/upgrade-guide/3.0/)
8
+
The jQuery upgrade guides provide information on all breaking changes and some notable changes in pinnacle versions of jQuery. Overall, jQuery has had very strong backwards compatibility throughout its history. However, these breaking changes were deemed necessary to address security concerns, fix bugs that could not be fixed without behavior changes, or to adapt to the introduction of modern APIs on the web. Most of the breaking changes listed should not apply to the majority of users, but these guides add some context and explanation for each change.
9
9
10
-
## [1.9 Upgrade Guide](/upgrade-guide/1.9/)
10
+
### [3.5 Upgrade Guide](/upgrade-guide/3.5/)
11
+
12
+
### [3.0 Upgrade Guide](/upgrade-guide/3.0/)
13
+
14
+
### [1.9 Upgrade Guide](/upgrade-guide/1.9/)
15
+
16
+
### Upgrading jQuery
17
+
18
+
The jQuery Team provides the [jQuery Migrate plugin](https://github.com/jquery/jquery-migrate) to make upgrading jQuery as easy as possible. It is mainly meant as a development tool that generates warning messages in the browser console that can be used to identify and fix compatibility issues. It temporarily restores deprecated features and behaviors so that older code will still run on newer versions of jQuery while the compatibility issues are addressed.
19
+
20
+
There are two versions of jQuery Migrate: [1.x](https://github.com/jquery/jquery-migrate/tree/1.x-stable) and [3.x](https://github.com/jquery/jquery-migrate) (there is no Migrate 2.x). Only one version should be used at a time, but you may need to use both in succession if upgrading from a jQuery version that predates jQuery 1.9.
21
+
22
+
For example, if your current jQuery version is 1.4.4, first upgrade to jQuery 1.12.4 with jQuery Migrate 1.x and then upgrade to the latest jQuery with jQuery Migrate 3.x. If your current version is 1.9 or later, you can update straight to the latest jQuery with jQuery Migrate 3.x.
23
+
24
+
#### Using jQuery Migrate
25
+
26
+
First, add jQuery Migrate to your page *after* loading jQuery.
Then, test your website or application. As different jQuery APIs are used, jQuery Migrate will log messages to the console warning about any deprecations or breaking changes. Address each warning one at a time.
34
+
35
+
Finally, when no more warnings are logged to the console and all breaking changes have been addressed, the jQuery Migrate can be removed and migration is complete!
36
+
37
+
See the [jQuery Migrate README](https://github.com/jquery/jquery-migrate) for more details.
0 commit comments