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+.
Please try out this new release and let us know about any issues you experienced.
- Added support for custom CSS properties (#3144).
- Fixed a bug in
.height(), and related methods where CSS transforms were included in the calculations. For instance, an element with the style
transform: scale(2x)should not have its width and height values doubled (#3193).
- Added support for
<template>elements to the
- 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).
You can get the files from the jQuery CDN, or link to them directly:
You can also get this release from npm:
npm install firstname.lastname@example.org
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:
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.
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.
- Deprecate jQuery.holdReady (#3288, bd984f0e)
- Deprecate jQuery.nodeName (#3475, ac9e3016)
- Deprecate jQuery.isArray (#2961, 1b9575b9)
- Remove supported jQuery versions from ISSUE_TEMPLATE.md (fedc1aa6)
- Correct typo in issue template (a8816caf)
- Stabilize rAF logic & align timeout logic with it (#3434, 6d43dc42)
- Resolve issues revealed by recent Callbacks fix (#3502, #3503, 3c89329c)
- Trigger checkbox and radio click events identically (#3423, b442abac)
- Add radio click triggering tests (5f35b5b4)
- Eliminate little-used internal function (#3449, bf3a43ef)
- Report offset for 0 sized elements (#3267, 1777899a)
- 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)
- 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)