Skip to content

react-16.1.0-rc.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 10 Mar 06:08
· 51 commits to rc since this release

16.1.0-rc.1 (2026-03-10)

Features

Migration guide

The ThemeProvider no longer validates themes against a fixed AVAILABLE_THEMES list. The exported Theme type is now TEDITheme | string, where TEDITheme = 'default' | 'dark'. Any string value is accepted as a valid theme.

Theme initialization priority has also changed. The provider now resolves the initial theme in this order:

  1. localStorage (tedi-theme key)
  2. document.cookie (tedi-theme cookie)
  3. theme prop
  4. Falls back to 'default'

This means a previously-stored theme will take precedence over the theme prop. If your application relied on the prop always being authoritative, clear the stored value or adapt your initialization logic.