
jQuery 3.7.0 has been released. It comes with bug fixes, performance improvement, and new features. Below is a summary of the changes.
jQuery 3.7.0 features
jQuery 3.7.0 introduces several new features and improvements. One new method is the chainable .uniqueSort(), which solves a problem with APIs like .prevAll() that return elements in reverse order. The new method does the equivalent of the existing jQuery.uniqueSort() but is chainable.
- CSS properties
jQuery 3.7.0 adds support for more CSS properties that should not automatically have “px” added to them when they are set without units.
- Performance improvement
In terms of performance improvements, jQuery 3.7.0 comes with performance improvement when using manipulation methods like .append(). The removal of a support test for a browser no longer supported means that checks against document changes no longer need to run, resulting in a speedup of between 0% and 100%.
- Focus and blur events,
jQuery 3.7.0 also addresses an issue with focus and blur events, which are fired asynchronously in all versions of Internet Explorer. This behavior caused issues, but the fix was to change which events were used natively. Now, focusin and focusout are run synchronously in IE, which solves many issues.
Finally, support for IE will be dropped in jQuery 4.0.
More details about jQuery 3.7.0.
Before you leave, Subscribe to our Newsletter to be updated via email when Blogging Tools you use to run your blog release new features or make critical changes. For any question about this post, or anything else related to website technologies, we are responding on Reddit or comment below.
Leave a Reply