The newest release of jQuery will follow the best practices of what is called “Compat”. A new major number indicates that there is a breaking change in the API and developers need to be aware that this could break their code.
In previous versions, the jQuery team indicated browser support using the version number. The release of jQuery Compat 3.0 version, will start from a clean sheet, although there will still be two versions:
jQuery Compat 3.0: the browser compatible version. This library will support all browsers and most versions. This will lead to a larger file size and a potential lower performance.
jQuery 3.0: this version will only support the most common browsers with the current version and the previous versions. This library will be a lot slimmer and will perform faster.
A big jump in version numbering will not lead to big migration issues however – developers will be relieved to hear that the majority of the current jQuery code will still work. With the version change the jQuery development team will meet the semantic versioning standards, so the changed or deprecated methods will be detected by a new version of the jQuery Migrate plug-in.
The new release of jQuery is not a major rework of the API like that announced by Angular for example. The design doesn’t actually need a lot of changes but simply some optimizations. The two principal changes we already know about are Promise/compatibility for Deferred Implementation and the return of requestAnimationFrame for animations in order to improve performance and the end of support for the Internet Explorer 6 and 7 browsers. The most important aspect of the new release will be the streamlining of versioning.
The Key Points Of JQuery 3.0 Compat To Remember Are:
If you need support for the widest variety of browsers, you’ll need the jQuery 3.0 Compat package.
If your web application is built for the leading edge browsers, or is an HTML based application contained in a web view (like Phone Gap or Cordova) where you know which browser engines are in use, the jQuery 3.0 package will be most suitable for you.
jQuery is offering an upgrade to their coding language that will allow users to incorporate previous versions and flexibly respond to changes in web design. Here at WebClues Infotech, we’re looking forward to seeing how these changes will be adopted by the development community.
Hire Skilled Developer From Us
Sharing knowledge helps us grow, stay motivated and stay on-track with frontier technological and design concepts. Developers and business innovators, customers and employees - our events are all about you.
Let’s Transform Your Idea into Reality - Get in Touch
1007-1010, Signature-1,
S.G.Highway, Makarba,
Ahmedabad, Gujarat - 380051
1308 - The Spire, 150 Feet Ring Rd,
Manharpura 1, Madhapar, Rajkot, Gujarat - 360007
Dubai Silicon Oasis, DDP,
Building A1, Dubai, UAE
8 The Green, Dover DE, 19901, USA
513 Baldwin Ave, Jersey City,
NJ 07306, USA
4701 Patrick Henry Dr. Building
26 Santa Clara, California 95054
120 Highgate Street, Coopers Plains, Brisbane, Queensland 4108
85 Great Portland Street, First
Floor, London, W1W 7LT
5096 South Service Rd,
ON Burlington, L7l 4X4