jQuery 3.0 最终版发布了。jQuery 3.0将是jQuery的未来。但如果你需要IE6-8支持,您可以继续使用最新版本1.12。
为了帮助用户升级,jQuery 发布了,以及将帮助您识别代码中的兼容性问题。
您也可以从以下npm获得更新:
此外,jQuery Migrate 3.0 也更新了。地址:
更新日志:
Avoid infinite recursion on non-lowercase attribute getters (,)
-
Add a support comment & fix a link @ tabIndex hook ()
-
-
Remove redundant parent check ()
-
Don't workaround the IE 11 iframe-in-fullscreen sizing issues (,)
-
Toggle detached elements as visible unless they have display: none (,)
-
-
-
-
Stop Firefox from treating disconnected elements as cascade-hidden (,)
Implement ready without Deferred (,,)
-
-
-
-
Add test for `jQuery.isPlainObject(localStorage)` ()
-
Do not expose second argument of the `jQuery.globalEval` ()
-
Separate the two paths in jQuery.when (,)
-
Provide explicit undefined context for jQuery.when raw casts (,)
-
-
-
-
-
-
Give better stack diagnostics on exceptions ()
Add tests for negative borders & paddings ()
Fix varIoUs spelling errors ()
-
Update support comments related to IE ()
-
Fix an incorrect comment in the attributes module ()
-
Updated links to https where they are supported. ()
-
-
Use https where possible ()
-
Use HTTPS URLs for jsfiddle & jsbin ()
-
Add FAQ to reduce noise in issues ()
-
-
-
Allow constructing a jQuery.Event without a target (,)
-
-
Add the most commonly used pointer event properties ()
-
Remove fixHooks,propHooks; switch to ES5 getter with addProp (,,)
-
Make event dispatch optimizable by JavaScript engines ()
-
-
Cover invalid delegation selector edge cases ()
-
-
Resolve strict mode ClientRect “no setter” exception ()
Take Safari 9.1 into account ()
-
Limit selection to #qunit-fixture in attributes.js ()
-
Set Edge's expected support for clearClone to true ()
-
Fix Deferred tests in Android 5.0's stock Chrome browser & Yandex.Browser ()
-
Add additional test for jQuery.isPlainObject ()
-
Build: update QUnit and fix incorrect test ()
-
Fix manipulation tests in Android 4.4 ()
-
Remove side-effects of one attributes test ()
-
Account for new offset tests ()
-
Make iframe tests wait after checking isReady ()
-
Refactor testIframe() to make it DRYer and more consistent ()
-
Weaken sync-assumption from jQuery.when to jQuery.ready.then ()
-
-
Make the regex catching Safari 9.0/9.1 more resilient ()
-
Add a support comment & fix a link @ tabIndex hook ()
-
Remove redundant parent check ()
Avoid infinite recursion on non-lowercase attribute getters (,)
Don't workaround the IE 11 iframe-in-fullscreen sizing issues (,)
-
Toggle detached elements as visible unless they have display: none (,)
-
-
-
-
Stop Firefox from treating disconnected elements as cascade-hidden (,)
Implement ready without Deferred (,,)
-
-
-
-
Add test for `jQuery.isPlainObject(localStorage)` ()
-
Do not expose second argument of the `jQuery.globalEval` ()
-
Separate the two paths in jQuery.when (,)
-
Provide explicit undefined context for jQuery.when raw casts (,)
-
-
-
-
-
-
Give better stack diagnostics on exceptions ()
Add tests for negative borders & paddings ()
Fix varIoUs spelling errors ()
-
Update support comments related to IE ()
-
Fix an incorrect comment in the attributes module ()
-
Updated links to https where they are supported. ()
-
-
Use https where possible ()
-
Use HTTPS URLs for jsfiddle & jsbin ()
-
Add FAQ to reduce noise in issues ()
-
-
-
Allow constructing a jQuery.Event without a target (,)
-
-
Add the most commonly used pointer event properties ()
-
Remove fixHooks,propHooks; switch to ES5 getter with addProp (,,)
-
Make event dispatch optimizable by JavaScript engines ()
-
-
Cover invalid delegation selector edge cases ()
-
-
Resolve strict mode ClientRect “no setter” exception ()
Take Safari 9.1 into account ()
-
Limit selection to #qunit-fixture in attributes.js ()
-
Set Edge's expected support for clearClone to true ()
-
Fix Deferred tests in Android 5.0's stock Chrome browser & Yandex.Browser ()
-
Add additional test for jQuery.isPlainObject ()
-
Build: update QUnit and fix incorrect test ()
-
Fix manipulation tests in Android 4.4 ()
-
Remove side-effects of one attributes test ()
-
Account for new offset tests ()
-
Make iframe tests wait after checking isReady ()
-
Refactor testIframe() to make it DRYer and more consistent ()
-
Weaken sync-assumption from jQuery.when to jQuery.ready.then ()
-
-
Make the regex catching Safari 9.0/9.1 more resilient ()
Don't workaround the IE 11 iframe-in-fullscreen sizing issues (,)
Toggle detached elements as visible unless they have display: none (,)
Stop Firefox from treating disconnected elements as cascade-hidden (,)
-
Add test for `jQuery.isPlainObject(localStorage)` ()
-
Do not expose second argument of the `jQuery.globalEval` ()
Implement ready without Deferred (,,)
Separate the two paths in jQuery.when (,)
-
Provide explicit undefined context for jQuery.when raw casts (,)
-
-
-
-
-
-
Give better stack diagnostics on exceptions ()
Add tests for negative borders & paddings ()
Fix varIoUs spelling errors ()
-
Update support comments related to IE ()
-
Fix an incorrect comment in the attributes module ()
-
Updated links to https where they are supported. ()
-
-
Use https where possible ()
-
Use HTTPS URLs for jsfiddle & jsbin ()
-
Add FAQ to reduce noise in issues ()
-
-
-
Allow constructing a jQuery.Event without a target (,)
-
-
Add the most commonly used pointer event properties ()
-
Remove fixHooks,propHooks; switch to ES5 getter with addProp (,,)
-
Make event dispatch optimizable by JavaScript engines ()
-
-
Cover invalid delegation selector edge cases ()
-
-
Resolve strict mode ClientRect “no setter” exception ()
Take Safari 9.1 into account ()
-
Limit selection to #qunit-fixture in attributes.js ()
-
Set Edge's expected support for clearClone to true ()
-
Fix Deferred tests in Android 5.0's stock Chrome browser & Yandex.Browser ()
-
Add additional test for jQuery.isPlainObject ()
-
Build: update QUnit and fix incorrect test ()
-
Fix manipulation tests in Android 4.4 ()
-
Remove side-effects of one attributes test ()
-
Account for new offset tests ()
-
Make iframe tests wait after checking isReady ()
-
Refactor testIframe() to make it DRYer and more consistent ()
-
Weaken sync-assumption from jQuery.when to jQuery.ready.then ()
-
-
Make the regex catching Safari 9.0/9.1 more resilient ()
Separate the two paths in jQuery.when (,)
Provide explicit undefined context for jQuery.when raw casts (,)
Give better stack diagnostics on exceptions ()
Add tests for negative borders & paddings ()
Fix varIoUs spelling errors ()
-
Update support comments related to IE ()
-
Fix an incorrect comment in the attributes module ()
-
Updated links to https where they are supported. ()
-
-
Use https where possible ()
-
Use HTTPS URLs for jsfiddle & jsbin ()
-
Add FAQ to reduce noise in issues ()
-
-
-
Allow constructing a jQuery.Event without a target (,)
-
-
Add the most commonly used pointer event properties ()
-
Remove fixHooks,propHooks; switch to ES5 getter with addProp (,,)
-
Make event dispatch optimizable by JavaScript engines ()
-
-
Cover invalid delegation selector edge cases ()
-
-
Resolve strict mode ClientRect “no setter” exception ()
Take Safari 9.1 into account ()
-
Limit selection to #qunit-fixture in attributes.js ()
-
Set Edge's expected support for clearClone to true ()
-
Fix Deferred tests in Android 5.0's stock Chrome browser & Yandex.Browser ()
-
Add additional test for jQuery.isPlainObject ()
-
Build: update QUnit and fix incorrect test ()
-
Fix manipulation tests in Android 4.4 ()
-
Remove side-effects of one attributes test ()
-
Account for new offset tests ()
-
Make iframe tests wait after checking isReady ()
-
Refactor testIframe() to make it DRYer and more consistent ()
-
Weaken sync-assumption from jQuery.when to jQuery.ready.then ()
-
-
Make the regex catching Safari 9.0/9.1 more resilient ()
Fix varIoUs spelling errors ()
Update support comments related to IE ()
Fix an incorrect comment in the attributes module ()
Updated links to https where they are supported. ()
Use https where possible ()
Use HTTPS URLs for jsfiddle & jsbin ()
Add FAQ to reduce noise in issues ()
Allow constructing a jQuery.Event without a target (,)
-
-
Add the most commonly used pointer event properties ()
-
Remove fixHooks,propHooks; switch to ES5 getter with addProp (,,)
-
Make event dispatch optimizable by JavaScript engines ()
-
-
Cover invalid delegation selector edge cases ()
-
-
Resolve strict mode ClientRect “no setter” exception ()
Take Safari 9.1 into account ()
-
Limit selection to #qunit-fixture in attributes.js ()
-
Set Edge's expected support for clearClone to true ()
-
Fix Deferred tests in Android 5.0's stock Chrome browser & Yandex.Browser ()
-
Add additional test for jQuery.isPlainObject ()
-
Build: update QUnit and fix incorrect test ()
-
Fix manipulation tests in Android 4.4 ()
-
Remove side-effects of one attributes test ()
-
Account for new offset tests ()
-
Make iframe tests wait after checking isReady ()
-
Refactor testIframe() to make it DRYer and more consistent ()
-
Weaken sync-assumption from jQuery.when to jQuery.ready.then ()
-
-
Make the regex catching Safari 9.0/9.1 more resilient ()
Allow constructing a jQuery.Event without a target (,)
Add the most commonly used pointer event properties ()
Remove fixHooks,propHooks; switch to ES5 getter with addProp (,,)
Make event dispatch optimizable by JavaScript engines ()
Cover invalid delegation selector edge cases ()
Resolve strict mode ClientRect “no setter” exception ()
Take Safari 9.1 into account ()
-
Limit selection to #qunit-fixture in attributes.js ()
-
Set Edge's expected support for clearClone to true ()
-
Fix Deferred tests in Android 5.0's stock Chrome browser & Yandex.Browser ()
-
Add additional test for jQuery.isPlainObject ()
-
Build: update QUnit and fix incorrect test ()
-
Fix manipulation tests in Android 4.4 ()
-
Remove side-effects of one attributes test ()
-
Account for new offset tests ()
-
Make iframe tests wait after checking isReady ()
-
Refactor testIframe() to make it DRYer and more consistent ()
-
Weaken sync-assumption from jQuery.when to jQuery.ready.then ()
-
-
Make the regex catching Safari 9.0/9.1 more resilient ()
Resolve strict mode ClientRect “no setter” exception ()
Take Safari 9.1 into account ()
-
Limit selection to #qunit-fixture in attributes.js ()
-
Set Edge's expected support for clearClone to true ()
-
Fix Deferred tests in Android 5.0's stock Chrome browser & Yandex.Browser ()
-
Add additional test for jQuery.isPlainObject ()
-
Build: update QUnit and fix incorrect test ()
-
Fix manipulation tests in Android 4.4 ()
-
Remove side-effects of one attributes test ()
-
Account for new offset tests ()
-
Make iframe tests wait after checking isReady ()
-
Refactor testIframe() to make it DRYer and more consistent ()
-
Weaken sync-assumption from jQuery.when to jQuery.ready.then ()
-
-
Make the regex catching Safari 9.0/9.1 more resilient ()
Take Safari 9.1 into account ()
-
Limit selection to #qunit-fixture in attributes.js ()
-
Set Edge's expected support for clearClone to true ()
-
Fix Deferred tests in Android 5.0's stock Chrome browser & Yandex.Browser ()
-
Add additional test for jQuery.isPlainObject ()
-
Build: update QUnit and fix incorrect test ()
-
Fix manipulation tests in Android 4.4 ()
-
Remove side-effects of one attributes test ()
-
Account for new offset tests ()
-
Make iframe tests wait after checking isReady ()
-
Refactor testIframe() to make it DRYer and more consistent ()
-
Weaken sync-assumption from jQuery.when to jQuery.ready.then ()
-
-
Make the regex catching Safari 9.0/9.1 more resilient ()
-
Limit selection to #qunit-fixture in attributes.js ()
-
Set Edge's expected support for clearClone to true ()
-
Fix Deferred tests in Android 5.0's stock Chrome browser & Yandex.Browser ()
-
Add additional test for jQuery.isPlainObject ()
-
Build: update QUnit and fix incorrect test ()
-
Fix manipulation tests in Android 4.4 ()
-
Remove side-effects of one attributes test ()
-
Account for new offset tests ()
-
Make iframe tests wait after checking isReady ()
-
Refactor testIframe() to make it DRYer and more consistent ()
-
Weaken sync-assumption from jQuery.when to jQuery.ready.then ()
-
Make the regex catching Safari 9.0/9.1 more resilient ()
Take Safari 9.1 into account ()