jQuery UI 1.14 Upgrade Guide
link Overview
link Reminder: API Redesigns
$.uiBackCompat
flag to true
.
1
2
3
|
|
If you find a regression from the 1.11 API, please report it in the bug tracker<. Even though the 1.11 API is deprecated, it's important for 1.14 releases not to regress so that users are encouraged to upgrade even if they're not ready to use the new APIs.
link General changes
link Reduced browser support
link Reduced jQuery support
1.14.x
line. Each jQuery UI version will document on which jQuery versions it was tested - both in the release blog post and in the changelog page at ../../changelog/_/a.html>.
link The backwards compatibility flag is off by default
jQuery.uiBackCompat
flag to true.
link Removed APIs
$.fn._form
. Instead of$( elem )._form()
, use$( elem ).prop( "form" )
.$.ui.ie
. No version of IE is supported anymore and this API already only reported IE <11.$.ui.safeActiveElement
. Use nativedocument.activeElement
.$.ui.safeBlur
. Instead of$.ui.safeBlur( elem )
, use$( elem ).trigger( "blur" )
.
link Files & directory structure
- The deprecated file
ui/core.js
has been removed. - Files defining removed APIs have been removed. This includes:
ui/form.js
,ui/ie.js
,ui/safe-active-element.js
&ui.safe-blur.js
. - Directories
.github
,build
&external
have been removed from the npm package
link Newer jQuery features
jquery-patch.js
file for older jQuery versions. In 1.14, that file is deprecated and it's no longer required for compatibility with some older supported jQuery versions. It is provided for backwards compatibility - so that apps depending on those patches continue to work after the upgrade. The file has no effect in jQuery 3.5.0 or newer.
link Improved tests on PRs
link Datepicker
1
|
|
mousedown
. In later 1.13 versions, the UI would not disappear at all.
link Effects
rgb(127, 127, 127)
instead of rgb(127,127,127)
. Also, transparent values now report rgba(0, 0, 0, 0)
instead of transparent
. This matches the standard browser serialization. It mostly affects direct usage of jQuery Color, for example:
1
2
3
4
5
6
7
8
9
|
|