|JQuery 3.0 Release Candidate|
|Written by Kay Ewbank|
|Thursday, 26 May 2016|
The release candidate of JQuery 3.0 has been released, with changes to clean up the API, and fixes for bugs that may prove to be breaking changes for some code.
The cleaning up process involves the removal of previously deprecated public APIs, changes to or removal of undocumented APIs, and changes to the documented or undocumented behavior of existing APIs for specific inputs.
The majority of the work for this release has been to clean up the APIs, and there are correspondigly fewer feature improvements. The developers say that although the changes warrant the version number change, they anticipate that these releases shouldn’t be too much trouble when it comes to upgrading existing code, adding:
"Yes, there are a few “breaking changes” that justified the major version bump, but we’re hopeful the breakage doesn’t actually affect that many people."
There's also a jQuery Migrate 3.0-rc plugin to help identify compatibility issues in your code.
Among the new features, jQuery.Deferred objects have been updated for compatibility with Promises/A+ and ES2015 Promises. This involved making some major changes to the
Another change means that error cases don’t silently fail. The developers explain that this is an attempt to avoid the situation where you accidentally make a crazy request, and don't know why nothing happened. jQuery 3.0 will instead throw errors so you can tell why your request failed.
Animations have been improved on platforms that support the
or email your comment to: email@example.com
|Last Updated ( Thursday, 26 May 2016 )|