Repository navigation
Release 4.6.0 - #644
Open
kevindb wants to merge 78 commits into
Open
Release 4.6.0#644kevindb wants to merge 78 commits into
kevindb wants to merge 78 commits into
Conversation
Coverage stays on Chromium; npm test runs suite-webkit in a second Vitest run.
…aywright's Linux image
…e and node_modules volumes
…andom forms Known differences are a named allowlist; any other difference fails with its seed.
npm run test:e2e runs them; scripts/test-docker.sh --e2e runs them in Docker with Firefox.
…ed-file pages Adds jsdom 30.1.3 for the Node-side checks.
…he global one ADR-0001: same files and factory; the classic body now starts by reading its globals from root.
…etForm on mixed selections
…t the statusText of an error status
Add installation and usage, point Download at npm and the release tags, and rewrite File Uploads.
…block from the site layout
…ecurity reports to SECURITY.md
… dev dependencies
… reporting contact
…/form serves an empty page
…ets stay in the list
… numbers on the docs site
ubuntu-latest moved to 26.04 and restored a WebKit build for 24.04 that cannot load its libraries.
kevindb
marked this pull request as ready for review
November 14, 2026 14:04
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release 4.6.0: the version bump, the rebuilt
distand the 4.6.0 CDN snippets and SRI hash are in. After the merge, taggingv4.6.0on the merge commit publishes it to npm.No breaking changes are intended. Behavior changes only where the old behavior was a bug, differed from a native form submission, or differed between the plugin's own transports. Details are in
docs/research/4x-behavior-changes.md.Worth checking before upgrading:
+on every jQuery version. On jQuery 3 and 4,formSerialize,fieldSerializeand GET query strings used%20. Servers decode both the same way.browserfield is gone, so bundlers usedist/jquery.form.mjs(ordist/jquery.form.jsfor CommonJS). The newjsdelivrandunpkgfields keep bare CDN URLs on the minified file.parsererrorwhen the response does not parse for thedataType, as XHR requests do. An error status that also fails to parse reports itsstatusText.targetandiframeTargetstrings are only selectors, never parsed as HTML; one that starts with<matches nothing. This removes the lookup CodeQL alert 10 flagged.Other fixes: a lone UTF-16 surrogate in fields, the clicked button,
dataorextraDatais sent as U+FFFD instead of throwingURIErroron every transport. An iframe upload leaves out a clicked button disabled by its fieldset.LICENSE-MITis published with the package.Docs and repository:
debugwarning and its replacement. Replacing$.fieldValueto change what is serialized now warns underdebug; use jQueryvalHooks.licenseis the SPDX expression(LGPL-2.1-or-later OR MIT)(same terms) andhomepageis the docs site, in every manifest._config.ymlis gone.Tests (no effect on the published files): the suite runs on Chromium, Firefox and WebKit with jQuery 1.7.2, 3.7.1 and 4.0.0. A serialization oracle compares
formToArraywith the browser's ownFormData. End-to-end tests post through every transport to a Node server and compare with a native submit. Published-file tests load the packed package by script tag, AMD, import map, CommonJS and ESM. The required matrix checks are renamed tojQuery <version> on <browser>, and branch protection onmainnow requirestestand those nine checks. The Playwright browser cache is keyed on the runner image, afterubuntu-latestmoved to 26.04 and restored a WebKit build that could not load its libraries.Both items in #544 are resolved; it will be closed with a comment when 4.6.0 is published.
Evidence
main, 4.5.0): 912 tests passed, 2 expected failures.npm test: 1199 passed on Chromium and 1184 on WebKit (35 skipped), coverage 100%, no expected failures left. Firefox passes in Docker.workflow_dispatchon this branch) passed.Merge Danger
Door: two-way
The merge can be reverted. Publishing 4.6.0 to npm afterwards cannot be undone.
Blast Radius: consumers
Code that compares serialized strings sees
+for spaces on jQuery 3 and 4. Bundles pick the module build instead of the minified one. Atargetwritten as an HTML string no longer creates elements.🤖 Generated with Claude Code