jQuery 3.0 Release Candidate Announced

The release candidate of jQuery 3.0 has been announced, with changes to clean up the API along with fixes for bugs which might prove to be breaking changes for some code.

The release candidate of jQuery 3.0 has been announced, with changes to clean up the API along with fixes for bugs which might prove to be breaking changes for some code.
 
 
 
The cleaning up process involves the removal of the earlier deprecated public APIs, changes to or removal of undocumented APIs, and changes to the documented or undocumented behavior of the existing APIs for specific inputs.
 
The company states,
 
“Welcome to the Release Candidate for jQuery 3.0! This is the same code we expect to release as the final version of jQuery 3.0 (pending any major bugs or regressions). When released, jQuery 3.0 will become the only version of jQuery. The 1.12 and 2.2 branches will continue to receive critical support patches for a while, but will not get any new features or major revisions. Note that jQuery 3.0 will not support IE6-8. If you need IE6-8 support, you can continue to use the latest 1.12 release.”
 
The jQuery JavaScript library is installed on the majority of sites available on the web with high traffic. It had been designed in order to make it easier to script client-side HTML, and its most popular JavaScript library. When released, the jQuery 3.0 will become the only version of jQuery.
 
The jQuery JavaScript library is installed on the majority of the sites on the web with high traffic. It was designed in order to make it easier to script the client-side HTML, and it is the most popular JavaScript library. When released, jQuery 3.0 will become the only version of jQuery. The 1.12 and 2.2 branches will still support critical support patches, however, there will not be any new features or major revisions available for them.
 
The majority of the work with this particular release has been to clean up the APIs and there are correspondingly fewer feature improvements. The developers have stated that although the changes warrant the version number change, they expect and hope that these releases will  not be too much trouble when it comes to upgrading the existing code.
 
The company states,
 
“Despite the 3.0 version number, we anticipate that these releases shouldn’t be too much trouble when it comes to upgrading existing code. 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 is also jQuery Migrate v3.0-rc plugin in order to help identify compability issues in your code.
 
Among the new features, jQuery.Deferred objects have now been updated for compatibility with Promises/A+ and ES2015 Promises. This involves making some major changes to the .then()method, so that an exception thrown in .then() callback becomes a rejection value and callbacks are always invoked asynchronously.
 
Another change means that the error cases do not fail silently. The developers explain that this is an attempt to avoid the situations where you would accidentally  make a crazy request, and you have no idea what happened. jQuery 3.0 will instead send an errors so you will able to tell why your request failed.
 
Animations have improved on platforms which support the requestAnimationFrames API. If your platform supports that API, jQuery will now use it, providing you with smoother animations which will use less CPU time. Developers have attempted this using this particular API some time back, however, they withdrew the facility because of compatibility issues with the existing code. The company was able to overcome this problem and the support is now back.


Next Recommended Reading jQuery 3.0 Alpha Released