Repository navigation
docs: add a 0.10.x to v11 migration guide - #3309
Draft
interactivellama wants to merge 6 commits into
Draft
interactivellama wants to merge 6 commits into
interactivellama wants to merge 6 commits into
Conversation
4 of 15 tasks
interactivellama
force-pushed
the
feat/v11-llm-2-migration-guide
branch
from
November 15, 2026 21:48
632b973 to
9bd09c5
Compare
4 of 15 tasks
interactivellama
force-pushed
the
feat/v11-llm-2-migration-guide
branch
from
November 16, 2026 07:58
9bd09c5 to
adc0e23
Compare
interactivellama
force-pushed
the
feat/v11-llm-2-migration-guide
branch
from
November 18, 2026 23:29
adc0e23 to
7f82947
Compare
interactivellama
force-pushed
the
feat/v11-llm-2-migration-guide
branch
from
November 19, 2026 04:42
7f82947 to
a9cc629
Compare
interactivellama
force-pushed
the
feat/v11-llm-2-migration-guide
branch
from
November 19, 2026 22:07
a9cc629 to
7bc5f00
Compare
interactivellama
force-pushed
the
feat/v11-llm-2-migration-guide
branch
from
November 20, 2026 00:14
7bc5f00 to
9b87a92
Compare
7 of 15 tasks
interactivellama
force-pushed
the
feat/v11-llm-2-migration-guide
branch
2 times, most recently
from
November 20, 2026 23:37
61662be to
100ca1e
Compare
interactivellama
force-pushed
the
feat/v11-llm-2-migration-guide
branch
2 times, most recently
from
November 20, 2026 23:51
6737222 to
3d78367
Compare
interactivellama
force-pushed
the
feat/v11-llm-2-migration-guide
branch
from
November 23, 2026 07:59
3d78367 to
4aa378a
Compare
Platform changes (React 19, module format, peer dependencies, the DataTable rename, removed components and deep paths) and the cross-cutting patterns, each with a before and after snippet.
One row per changed prop, in alphabetical order, marked breaking, breaking at runtime, or deprecated and still working in 11.x.
Each v11 snippet in docs/migration-v11.md compiles, and each 0.10.x snippet the guide marks as rejected sits under @ts-expect-error, so the guide fails typecheck if it drifts from the types. The type-tests and lint tsconfigs include docs/.
Link the migration guide from the README and CONTRIBUTING, add the CHANGELOG Added line, and mark the ROADMAP item done.
The guide was written against the root-and-refs and slots changes (#3301, closed) that are not in feat/v11-p1-7-typing. Drop the rows and snippets for them: Badge and MediaObject children, the className* parts on Combobox, DatePicker, Input, ProgressBar, RadioGroup and SimpleDataTable, Tooltip className/style, Popover aria-labelledby, and the other renames that did not land. requestFocus is deprecated, not removed, on Button, Checkbox and Radio.
No snippet uses Icon. Lint now runs with --max-warnings=0, so the unused import fails it.
interactivellama
force-pushed
the
feat/v11-llm-2-migration-guide
branch
from
November 24, 2026 00:04
4aa378a to
819bf45
Compare
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.
Part of the v11 docs stack (3 of 3, stack #3316). Base: #3308. Merge last: this stack merges after the clean CI and GA requirements stacks, so it documents the final API.
Additional description
Adds
docs/migration-v11.md, a 0.10.x → v11 migration guide written for agents (and people) moving code forward:classNameplacement, focusing through a ref, slots instead of render functions,events, and controlled/uncontrolledisOpen.docs/__tests__/migration-v11.type-test.tsxtype-checks the guide's snippets, including@ts-expect-errorfor removed APIs.tsconfig.type-tests.jsonandtsconfig.eslint.jsonnow includedocs/.Inventory sources: the CHANGELOG
[Unreleased]and alpha sections, everyBREAKING CHANGE:footer since v0.10.65, and thecomponents/index.jsexport diff. Reverted changes (AlertautoFocus), bug fixes with no API change, and items that were deferred or cut from scope are left out.Matched to the 11.0 base (#3303). The guide was first drafted on a base that still contained the closed root-and-refs (#3301) and slots/children work. The last commit removes the rows for changes #3303 doesn't have (e.g. Badge/MediaObject
children,Inputref, theclassNamemoves other than the ones listed) and marksrequestFocusas deprecated, not removed. If any of that work lands later, it needs rows again.Findings, not fixed here:
events.onSelectActionItem, Badgestyle/styleIcon, and the Combobox optioncategory. The guide covers all three.SimpleDataTableItemandTreeNodeIdaren't exported from any public entry point, so consumers typingselection/selectedIdsstate have to restate the shape.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 lintpasses with 0 errors (npm run lint:fixto auto-fix). Warnings are the tracked gradual-migration backlog; do not add new errors.npm run typecheckis clean (tsc --noEmit).npm test -- --runpasses — this runs both Vitest projects (jsdomunit+ real-browserbrowser) and the story HTML snapshots. If you changed rendered markup on purpose, update snapshots withnpm test -- --run -uand review the diff.npm run buildsucceeds (type-check + Vite library build +.d.ts+ entry shims).Behavior & docs:
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.jsxfile (thebrowserproject); everything else is jsdom.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).content/visualPickerFigure, render props likerenderItem,iconprops,events), not assumptions — a common source of "component looks broken" reports has been stories authored against the wrong API. Cross-check againstcomponents/<name>/__examples__..d.ts(they're generated by the build); JS consumers rely on them via editor type-acquisition.REVIEWER checklist (do not remove)
CIworkflow: lint, typecheck, test, build). Chromatic visual review, if configured, has been checked.components/__tests__/__snapshots__/story-snapshots.test.jsx.snap).@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.