jQuery 4.1.0(github.com)
373 points by petecooper 12 days ago | 199 comments
tl;dr: jQuery 4.1.0 and 3.8.0 have been released, with the project maintainers "passing the torch" to new stewardship. Notable changes include a ReDoS fix in identifier matching, a Safari 27 regex workaround, support for form-associated custom elements in serialization, a new `responseURL` field on jqXHR, and dropping `getElementsBy{Tag,Class}Name` in favor of `querySelectorAll`. The release also adds contribution guidelines for machine-generated code.
HN Discussion:
  • ↑Appreciation for jQuery's design patterns like composability and event model still inspiring modern work
  • •Surprise that jQuery is still maintained given vanilla JS now covers most use cases
  • ↑Nostalgic gratitude for jQuery solving cross-browser pain in the IE/Netscape era
  • ~jQuery has outlived its usefulness and shouldn't be used in new projects
  • ↓LLMs make it easy to migrate legacy jQuery code to vanilla JS