Skip to content

docs: add the v11 release and support policy - #3317

Merged
interactivellama merged 5 commits into
masterfrom
feat/v11-asks-1-release-policy
Nov 18, 2026
Merged

interactivellama merged 5 commits into
masterfrom
feat/v11-asks-1-release-policy

Conversation

@interactivellama

@interactivellama interactivellama commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Part of the v11 merge train, in the fast lane. It overlaps no other stack and can merge any time. The RC step at the end of the train uses its next --rc.

Additional description

This adds the release policy that a primary internal stakeholder asked for before adopting DSR 11.

  • Versioning & Support Policy (docs/codebase-overview.md, linked from the README) sets out what a major, minor and patch may contain. A deprecation lasts at least one minor and is recorded under ### Deprecated with a dev warning. DSR fixes forward on master, so there are no long-lived 11.x maintenance branches. Consumers who want stability use ~11.y.0 and the rc dist-tag.
  • Breaking-Change Taxonomy is now defined by one rule: a change is breaking if it can fail a consumer's Testing Library getByRole or getByLabelText query. It also adds callback signatures, exported type narrowing, entry points and peer dependency minimums to the API surface.
  • CHANGELOG is backfilled into 11.0.0-alpha.5 to alpha.10 sections, built from the CHANGELOG at each tag. It adds entries for 18 PRs that shipped without one, three of them breaking (fix(combobox)!: route action items to events.onSelectActionItem, never onSelect #3243, fix!: type the v11 prop contracts (discriminated unions, no index signatures) #3252, fix(badge)!: apply style to the badge and add styleIcon #3256).
  • scripts/release.ts gains next --rc, which moves an alpha or beta to rc.0 and an rc to the next rc.

This PR has no breaking changes.


CONTRIBUTOR checklist (do not remove)

Please complete for every pull request.

Green gate — all of these must pass locally (CI runs the same):

  • npm run lint passes with 0 errors (npm run lint:fix to auto-fix). Warnings are the tracked gradual-migration backlog; do not add new errors.
  • npm run typecheck is clean (tsc --noEmit).
  • npm test -- --run passes — this runs both Vitest projects (jsdom unit + real-browser browser) and the story HTML snapshots. If you changed rendered markup on purpose, update snapshots with npm test -- --run -u and review the diff.
  • npm run build succeeds (type-check + Vite library build + .d.ts + entry shims).

Behavior & docs:

  • First-time contributors: sign the CLA (a bot will comment with instructions).
  • Added/updated Vitest + React Testing Library tests for the change (template: components/button/__tests__). New props and bug fixes should get a regression test. Tests that genuinely need a real browser (focus traversal, layout/measurement, canvas) go in a *.browser.test.jsx file (the browser project); everything else is jsdom.
  • Reviewed the component's Storybook stories: npm run storybook → http://localhost:6007/. Confirm the story actually renders and behaves (deprecated Storyshots/Karma are gone; there is no separate browser-tests server).
  • Story/example code uses the component's real prop API (e.g. slots like content / visualPickerFigure, render props like renderItem, icon props, events), not assumptions — a common source of "component looks broken" reports has been stories authored against the wrong API. Cross-check against components/<name>/__examples__.
  • Storybook Accessibility (a11y) panel shows no new violations for the affected stories.
  • If you added or changed a type, remember runtime PropTypes were removed in the TS migration — types are the contract. Ship accurate .d.ts (they're generated by the build); JS consumers rely on them via editor type-acquisition.

REVIEWER checklist (do not remove)

  • CI is green (GitHub Actions CI workflow: lint, typecheck, test, build). Chromatic visual review, if configured, has been checked.
  • Change has adequate test coverage; bug fixes include a regression test.
  • Reviewed the affected Storybook stories and their a11y panels.
  • Rendered markup still conforms to SLDS — check the story HTML snapshot diff (components/__tests__/__snapshots__/story-snapshots.test.jsx.snap).
  • Public API / package surface: if exports changed, the deep-import contract still holds (@salesforce/design-system-react/components/<name> and nested paths resolve for ESM, CJS, and types). Removing/renaming a public component or export is a breaking change → feat!:/BREAKING CHANGE: and a major version bump.

@interactivellama
interactivellama force-pushed the feat/v11-asks-1-release-policy branch from 7f370c4 to ac093a1 Compare November 16, 2026 08:48
@interactivellama
interactivellama marked this pull request as ready for review November 16, 2026 08:53
Define what a major, minor and patch release may contain, how long a
deprecation lasts and how it is recorded, and that DSR fixes forward on
master rather than keeping 11.x maintenance branches. Point consumers
who want stability at a tilde range plus the rc channel.
Everything since alpha.4 sat under [Unreleased]. Split it by release
using the CHANGELOG at each tag: each entry goes in the first release
whose tag had it, with that tag's wording. Entries first written after
alpha.10 stay under [Unreleased].

Add entries for the 18 PRs in alpha.5 to alpha.7 that shipped without
one, from their commit messages. This includes three breaking changes:
Combobox action rows moving to events.onSelectActionItem (#3243), the
discriminated-union prop types including Combobox option category
(#3252), and Badge style/styleIcon (#3256).

State how the section maps to a major/minor/patch level, and fix the
compare links to use the real tag names.
…tract

The breaking-change taxonomy now treats any change that can fail a
consumer's role- or label-based Testing Library query as breaking, and
adds callback signatures, exported types, entry points and peer
dependency minimums to the API surface.
`next --rc` moves an alpha or beta to rc.0 and an rc to the next rc, so
the release candidate step no longer needs an explicit version.
@interactivellama
interactivellama merged commit d25be8c into master Nov 18, 2026
11 checks passed
@interactivellama
interactivellama deleted the feat/v11-asks-1-release-policy branch November 18, 2026 19:16
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.

2 participants