Packages

next-themes

0.4.6 · 11 Mar 2025MIT36.6M / weekRepositoryHomepagenpmAtom feed

Upgrading next-themes From 0.3.0 to 0.4.6

7 releases in betweenevery note read

0
changes to make
0
advisories fixed
4
new
7
fixes

Release by release

  1. 0.4.6

    11 Mar 20251 fix
    • Fixed

      Add null check for value in updateDOM function to prevent runtime errors and flashing

  2. 0.4.5

    9 Mar 20251 fix
    • Fixed

      Map theme to class using ValueObject in injected script

  3. 0.4.4

    5 Dec 20241 fix
    • Fixed

      Infinite loop theme flicker

  4. 0.4.2 – 0.4.32 releases, nothing new or fixed in the notes

  5. 0.4.1

    4 Nov 20242 new · 1 fix
    • New

      Add dynamic loading as a way to avoid hydration mismatch in README

    • New

      Add scriptProps prop to prevent Cloudflare Rocket Loader deferring script

    • Fixed

      Support multiple attributes in the injection script

  6. 0.4.0

    4 Nov 20242 new · 3 fixes
    • New

      Allow Multiple Attributes

    • New

      Add react v19 to peer deps

    • Fixed

      Manually type ThemeProvider to fix type errors

    • Fixed

      Make children optional

    • Fixed

      setTheme now works correctly when a function is passed.

7 other lines we could not sort, mostly version bumps
  • Reduce number of renders by pre-setting resolvedTheme

    0.4.5
  • Bump next from 14.2.10 to 14.2.15 in the npm_and_yarn group across 1 directory

    0.4.5
  • Bump the npm_and_yarn group across 1 directory with 7 updates

    0.4.5
  • Pass nonce to inline style tag when using disableTransitionOnChange

    0.4.3
  • Re-export types from next-themes

    0.4.2
  • Improved inline script minification

    0.4.0
  • Mention next-themes is react agnostic

    0.4.0

3 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.