jQuery 4.1.0 patches a ReDoS flaw in its selector engine

jQuery 4.1.0 is out, and the headline fix is a regular-expression denial-of-service vulnerability in the selector's identifier matching. The release also drops getElementsByTagName and getElementsByClassName in favor of querySelectorAll, adds a responseURL field to jqXHR, supports form-associated custom elements in serialization, works around a Safari 27 regex bug, and adds guidelines for machine-generated contributions.
Fix ReDoS in identifier matching