Packages

next-themes

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

Upgrading next-themes From 0.4.0 to 0.4.6

6 releases in betweenevery note read

0
changes to make
0
advisories fixed
2
new
4
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

5 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

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.