jQuery 3.6.4 Released: Introducing the :has() Selector and Other Updates
jQuery 3.6.4 arrives just two months after its predecessor, adding support for the new :has() selector, refining how native CSS.supports determines whether selectors are handled by querySelectorAll or jQuery's engine, and includes various other bug fixes and improvements.
jQuery 3.6.x series updates are frequent; just two months after the last release, version 3.6.4 is out. The update mainly focuses on the new selector :has() .
The development team explains that they have been researching how to handle recently added browser selectors, especially :has . jQuery 3.6.3 introduced a strategy that uses native CSS.supports to decide whether a selector should be passed directly to querySelectorAll or processed by jQuery's selector engine, similar to handling complex :not() selectors or other selectors that work in jQuery but not in browsers. Technically this works well, though there are drawbacks; fortunately they no longer need to patch it and can revert to the original approach.
Other changes and fixes are listed in the official release announcement.
jQuery is a fast, small, and feature-rich JavaScript library. Its easy-to-use API works across many browsers, simplifying HTML document traversal and manipulation, event handling, animation, and Ajax operations. Combining versatility with extensibility, jQuery has changed the way millions of developers write JavaScript.
Found the article helpful? Like and share to show your support!
Laravel Tech Community
Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.