You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/lit-dev-content/site/docs/v3/releases/upgrade.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,8 +23,9 @@ Lit 3.0 has very few breaking changes from Lit 2.x:
23
23
- APIs marked deprecated in Lit 2.x releases have been removed.
24
24
- SSR hydration support modules have moved to the `@lit-labs/ssr-client` package.
25
25
- Type only: Type of `ReactiveElement`'s `renderRoot` and `createRenderRoot()` have been updated.
26
-
- Decorator behavior has been unified between TypeScript experimental decorators and standard decorators.
27
26
- Support was removed for Babel decorators version "2018-09".
27
+
- Decorator behavior has been unified between TypeScript experimental decorators and standard decorators.
28
+
- 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.
28
29
29
30
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"`.
0 commit comments