Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/lit-dev-content/site/docs/v3/releases/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ Lit 3.0 has very few breaking changes from Lit 2.x:
- APIs marked deprecated in Lit 2.x releases have been removed.
- SSR hydration support modules have moved to the `@lit-labs/ssr-client` package.
- Type only: Type of `ReactiveElement`'s `renderRoot` and `createRenderRoot()` have been updated.
- Decorator behavior has been unified between TypeScript experimental decorators and standard decorators.
- Support was removed for Babel decorators version "2018-09".
- Decorator behavior has been unified between TypeScript experimental decorators and standard decorators.
- As a consequence, if you use TypeScript you'll need to upgrade to at least TypeScript v5.2, to get the updated types for both kinds of decorators.

For the vast majority of users there should be no required code changes to upgrade from Lit 2 to Lit 3. Most apps and libraries should be able to extend their npm version ranges to include both 2.x and 3.x, like `"^2.7.0 || ^3.0.0"`.

Expand Down
Loading