jQuery 4.0 发布
不再支持 IE < 11,另将在 5.0 版本中放弃对所有 IE 的支持
弃用 API
-
jQuery.cssNumber
-
jQuery.cssProps
-
jQuery.isArray
-
jQuery.parseJSON
-
jQuery.nodeName
-
jQuery.isFunction
-
jQuery.isWindow
-
jQuery.camelCase
-
jQuery.type
-
jQuery.now
-
jQuery.isNumeric
-
jQuery.trim
-
jQuery.fx.interval
其他需要注意的
-
跨域:自动
JSONP
改为cors
-
从 AMD 迁移到 ES module
-
删除内置 PromiseA+,如需 Promise,可以使用 polyfill
-
focusin 和 focosout 事件顺序遵循
当前
(新版) W3C 规范 -
Array 方法:删除 push、sort、splice