Skip to content

docs: end-to-end consistency pass for the v4 API - #6

Merged
michaeljfalk merged 1 commit into
mainfrom
docs/v4-consistency-pass
Jun 17, 2026
Merged

michaeljfalk merged 1 commit into
mainfrom
docs/v4-consistency-pass

Conversation

@michaeljfalk

Copy link
Copy Markdown
Owner

Summary

Exhaustive consistency sweep of the docs now that the API has grown through v4.0.0. Docs-only — no code or version change.

IMPLEMENTATION.md

  • New section 4 "Multiple selection" — chips, array value, a submitFormat table (repeat/bracket/delimited → what each server sees), and an Express normalize tip. Renumbered MongoDB/EJS/Blaze/Theming/Security to 5–9 (TOC + anchors updated).
  • enhance() section now notes <select multiple> auto-upgrade.
  • Search-route response shape corrected to { value, label, sublabel } (raw is opt-in via exposeRaw), with a pointer to the security model — the old line listed raw unconditionally.
  • Client async section documents automatic AbortSignal cancellation and cache: true.
  • Rewrote "A note on required" — it claimed required was cosmetic and "does not block submission." That's been false since 3.3.0: required is enforced via the Constraint Validation API on the visible input. This was the most important fix.

README.md

  • Size claim ~12 KB → ~14 KB gzipped (JS) + ~2 KB CSS (measured).
  • CI matrix Node 18/20/22 → 18/20/22/24; broadened the test-coverage sentence.

Verification

  • All in-page anchors in both docs resolve (checked with a GitHub-slug validator).
  • npm test → 45/45 (unchanged; docs-only).

🤖 Generated with Claude Code

IMPLEMENTATION.md:
- Add section 4 "Multiple selection" (chips, array value, submitFormat table,
  Express normalize tip); renumber MongoDB/EJS/Blaze/Theming/Security to 5–9.
- enhance() section: note <select multiple> auto-upgrade.
- Fix search-route response shape to { value, label, sublabel } (raw is opt-in
  via exposeRaw), with a pointer to the security model.
- Client async section: document automatic AbortSignal cancellation + cache:true.
- Rewrite the "A note on required": required now DOES block submit via Constraint
  Validation on the visible input (3.3.0) — the old "cosmetic only" text was wrong.

README.md:
- Size claim ~12 KB → ~14 KB gzipped (JS) + ~2 KB CSS (measured).
- CI matrix Node 18/20/22 → 18/20/22/24; broaden the test-coverage sentence.

Verified all in-page anchors in both docs resolve. No code/version change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@michaeljfalk
michaeljfalk merged commit f95f0d2 into main Jun 17, 2026
1 check passed
@michaeljfalk
michaeljfalk deleted the docs/v4-consistency-pass branch June 17, 2026 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant