jQuery 3.2.0 Is Out!
jQuery 3.2.0 has been released!
This release includes some bug fixes, improvements, and some deprecations. There should be no compatibility issues if upgrading from jQuery 3.0+.
If you haven’t yet upgraded to jQuery 3+, please have a look at the 3.0 Upgrade Guide. The jQuery Migrate 3.0 plugin will help you to identify compatibility issues in your code.
Please try out this new release and let us know about any issues you experienced.
Notable Updates
- Added support for custom CSS properties (#3144).
- Deprecated
jQuery.holdReady
(#3288). - Deprecated
jQuery.nodeName
(#3475). - Deprecated
jQuery.isArray
(#2961). - Fixed a bug in
.width()
,.height()
, and related methods where CSS transforms were included in the calculations. For instance, an element with the styletransform: scale(2x)
should not have its width and height values doubled (#3193). - Added support for
<template>
elements to the.contents()
method (#3436). - Added back the deprecated module to the slim build. This change is largely insignificant given the module’s small size. We believe it makes more sense to remove deprecated pieces from the slim build at the same time as the main jQuery build (#3237).
Download
You can get the files from the jQuery CDN, or link to them directly:
https://code.jquery.com/jquery-3.2.0.js
https://code.jquery.com/jquery-3.2.0.min.js
You can also get this release from npm:
npm install jquery@3.2.0
Slim build
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 and class manipulation for all your web animations. Along with the regular version of jQuery that includes the ajax and effects modules, we’ve released a “slim” version that excludes these modules. The size of jQuery is very rarely a load performance concern these days, but the slim build is about 6k gzipped bytes smaller than the regular version – 23.6k vs 30k. These files are also available in the npm package and on the CDN:
https://code.jquery.com/jquery-3.2.0.slim.js
https://code.jquery.com/jquery-3.2.0.slim.min.js
These updates are already available as the current versions on npm and Bower. Information on all the ways to get jQuery is available at https://jquery.com/download/. Public CDNs receive their copies today, please give them a few days to post the files. If you’re anxious to get a quick start, use the files on our CDN until they have a chance to update.
Thanks
Many thanks to all of you who participated in this release by testing, reporting bugs, or submitting patches, including Connor Atherton, Jason Bedard, David Broder-Rodgers, Oleg Gaidarenko, Michał Gołębiowski, Richard Gibson, karan-96, Manoj Kumar, Alexander Lisianoi, Alex Louden, Alex Padilla, and the whole jQuery team.
GitHub changelog: Issues fixed in 3.2.0 | All changes
Full changelog
Callbacks
Core
- Deprecate jQuery.holdReady (#3288, bd984f0e)
- Deprecate jQuery.nodeName (#3475, ac9e3016)
- Deprecate jQuery.isArray (#2961, 1b9575b9)
CSS
Deferred
Dimensions
Docs
- Remove supported jQuery versions from ISSUE_TEMPLATE.md (fedc1aa6)
- Correct typo in issue template (a8816caf)
Effects
- Stabilize rAF logic & align timeout logic with it (#3434, 6d43dc42)
- Resolve issues revealed by recent Callbacks fix (#3502, #3503, 3c89329c)
Event
- Trigger checkbox and radio click events identically (#3423, b442abac)
- Add radio click triggering tests (5f35b5b4)
Manipulation
Offset
- Eliminate little-used internal function (#3449, bf3a43ef)
- Report offset for 0 sized elements (#3267, 1777899a)
Tests
- Skip CSS custom properties tests in non-supporting browsers (bcec54ee)
- Update the loader so test pages always get jQuery (14b393d0)
- Added tests for symbol-separated tag names (#2006, bd9145fa)
- Clean up after the CSS Custom Properties support test (fc34dbc2)
Traversing
Build
- Run tests on Node.js 7 (7bb62bb3)
- Stop testing on Node.js 0.10 (5b4cb0d3)
- jQuery Foundation -> JS Foundation (7fbab881)
- Make the @CODE-replacing regex more robust (4e509677)
- ESLint setup improvements (cbc8638c)
- Drop jscs.json from .npmignore (b3e0a560)
- Add most of the dist folder to .eslintignore (1754e315)
- Use valid ecmaVersion (8cb4cd71)
- Drop support for building on Node.js 0.12 (d10ac0e5)
- Fix tests in AMD mode (56136897)
- Fix markerPattern and ticketPattern regexes in package.json (25c6a0a2)
- Keep deprecated module in slim (#3237, 0588d0ce)
Notable Updates should say Deprecated jQuery.isArray (#2961).
“Notable updates
(…)
– Added back the deprecated module to the slim build. This change is largely insignificant given the module’s small size. We believe it makes more sense to remove deprecated pieces from the slim build at the same time as the main jQuery build (#3237).”
“Slim build
(…)All in all, it excludes ajax, effects, and currently deprecated code.(…)”
It seems the post contradicts itself on this point.
Custom CSS properties support, nice!
Congrats on the new release
jQuery.isArray is deprecated, not jQuery.inArray
@Steve, @gpgekko, @Elvis: Edited on all points. Thanks!
Thank you! Great changes!
Thanks ! nice one for all the work done.
Nice update. Thanks
Nice update. Thanks
JQuery has helped a lot with web designing over years, Thanks, team JQ