From cafff97906a3f071eb258da71a81a23047c2fa58 Mon Sep 17 00:00:00 2001 From: Kevin Morris Date: Sat, 28 Nov 2026 15:35:18 -0500 Subject: [PATCH] docs: point the CDN snippets at 4.6.1 and record the release in the plan Co-Authored-By: Claude Opus 5.5 --- README.md | 8 ++++---- docs/index.md | 4 ++-- docs/plans/modernization.md | 12 +++++++++++- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 8f96dcfd..6e7f82d7 100644 --- a/README.md +++ b/README.md @@ -16,19 +16,19 @@ jQuery is a dependency of the package and is installed with it. ## Download * **npm:** [jquery-form](https://www.npmjs.com/package/jquery-form). `dist/jquery.form.min.js` is the minified build, `dist/jquery.form.js` the readable one. -* **GitHub:** each version's built files are in the `dist` folder of its tag, such as [`v4.6.0/dist`](https://github.com/jquery-form/form/tree/v4.6.0/dist); see the [releases](https://github.com/jquery-form/form/releases). The `dist` folder on `main` holds unreleased code. +* **GitHub:** each version's built files are in the `dist` folder of its tag, such as [`v4.6.1/dist`](https://github.com/jquery-form/form/tree/v4.6.1/dist); see the [releases](https://github.com/jquery-form/form/releases). The `dist` folder on `main` holds unreleased code. ### CDN From jsDelivr: ```html - + ``` Or from cdnjs: ```html - + ``` ## Usage @@ -36,7 +36,7 @@ With a script tag, load the plugin after jQuery: ```html - + ``` With a bundler, importing the module registers the plugin on the jQuery that `import "jquery"` resolves to, so `jquery` must be importable: diff --git a/docs/index.md b/docs/index.md index 5b90bb8d..392a812f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -26,8 +26,8 @@ The jQuery Form Plugin allows you to easily and unobtrusively upgrade HTML forms crossorigin="anonymous" > diff --git a/docs/plans/modernization.md b/docs/plans/modernization.md index 124a8f5c..b39f7347 100644 --- a/docs/plans/modernization.md +++ b/docs/plans/modernization.md @@ -447,7 +447,17 @@ The order: mutation testing came first; CI passed without a rerun. npm has 4.6.0 with provenance, and jsDelivr, cdnjs and Packagist serve it; the CDN SRI hashes match the published file. #544 is closed. -6. **5.0** (Phase 14) after 4.6.0. Cut `release/4.x` from the 4.6.0 tag first (ADR-0002). + - 4.6.1 done 2026-11-28, the first release from `release/4.x` (cut at 6c29155, `main`'s tip + after 4.6.0; PR #648, merge commit 302dc93, tag `v4.6.1`). 4.4.0 had made `src/jquery.form.js`, + 4.3.0's `main`, the ES module source, which broke projects that load that path as a classic + script (WordPress, SHIRASAGI, OpenSourcePOS, Eventum, and cdnjs's 4.6.0 `jquery.form.js`). + 4.6.1 moves the module sources to `src/esm/` and commits the classic build at + `src/jquery.form.js` (ADR-0001). CI also tests jQuery 1.12.4 and 4.1.0, and Firefox runs in + `npm test`. npm has 4.6.1 on `latest` with provenance; jsDelivr, cdnjs and Packagist serve + it, and both CDN SRI hashes match. The 4.3.0–4.6.0 release notes now point at it. cdnjs/packages#2301 + moves cdnjs to npm auto-update so 5.0's `src/` can't collide again. Idea for later: #649. +6. **5.0** (Phase 14) after 4.6.0. `release/4.x` is cut (above). Before merging #646, update + `main`'s required checks to the 5.0 matrix (3.5.0, 3.7.1, 4.0.0, 4.1.0). Each release adds its column to `docs/metrics.md` and its section to the GitHub release notes.