Skip to content

Commit 51cb6fa

Browse files
committed
Add missing migration notes on 0.16 to docs
1 parent 1668ca5 commit 51cb6fa

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

MIGRATING.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Migration Guides
22

3+
## v0.16
4+
5+
**🔥 Breaking:** Theme UI now supports and **depends on** TypeScript newer than
6+
5.1.2 (because of breaking changes to JSX types, see
7+
https://github.com/system-ui/theme-ui/issues/2430#issuecomment-1586197881).
8+
9+
- Update `@types/react` to a version published after June 1, 2023.
10+
- JSX Automatic Runtime is highly encouraged to minimize the friction and ensure
11+
you don't get weird type errors.
12+
13+
**`@theme-ui/sidenav` package was removed due to low usage and breaking changes
14+
in `@types/react`.**
15+
16+
- Deps bumps for 0.16.0, support only new React and TypeScript to avoid type
17+
errors [#2432](https://github.com/system-ui/theme-ui/pull/2432)
18+
([@hasparus](https://github.com/hasparus))
19+
20+
**`ThemeProvider` was renamed to `ThemeUIProvider`**
21+
22+
- Deprecate/rename ThemeProvider to ThemeUIProvider
23+
[#2360](https://github.com/system-ui/theme-ui/pull/2360)
24+
([@lachlanjc](https://github.com/lachlanjc)
25+
[@hasparus](https://github.com/hasparus))
26+
327
## v0.15
428

529
**MDX is now opt-in.**

0 commit comments

Comments
 (0)