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.

Laravel Tech Community
Laravel Tech Community
Laravel Tech Community
jQuery 3.6.4 Released: Introducing the :has() Selector and Other Updates

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!

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Web DevelopmentselectorjQuery
Laravel Tech Community
Written by

Laravel Tech Community

Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.