Releases: pacocoursey/next-themes
Releases · pacocoursey/next-themes
v0.4.3
What's Changed
- Pass
nonce
to inline style tag when usingdisableTransitionOnChange
Full Changelog: v0.4.2...v0.4.3
v0.4.2
What's Changed
- Re-export types from
next-themes
by @cschroeter in #321
New Contributors
- @cschroeter made their first contribution in #321
Full Changelog: v0.4.1...v0.4.2
v0.4.1
What's Changed
- fix: support multiple attributes in the injection script by @Julian24Design in #310
- docs: update docs on how to use with tailwindcss >3.4.1 by @trm217 in #290
- chore: use corepack instead of pnpm setup action in ci by @trm217 in #291
- Add dynamic loading as a way to avoid hydration mismatch in README by @Judge-Paul in #249
- Add
scriptProps
prop to prevent Cloudflare Rocket Loader deferring script by @andreacassani in #156
New Contributors
- @Julian24Design made their first contribution in #310
- @Judge-Paul made their first contribution in #249
- @andreacassani made their first contribution in #156
Full Changelog: v0.4.0...v0.4.1
v0.4.0
What's Changed
- Improved inline script minification by @pacocoursey in #262
- fix: manually type ThemeProvider to fix type errors by @BlankParticle in #263
- mention
next-themes
is react agnostic by @dimaMachina in #268 - fix: make
children
optional by @Innei in #276 - feat: Allow Multiple Attributes by @trenaryja in #275
- fix: setTheme now works correctly when a function is passed. by @trm217 in #286
- feat: add react v19 to peer deps by @Yonom in #315
New Contributors
- @Hahlh made their first contribution in #255
- @Unsleeping made their first contribution in #229
- @Innei made their first contribution in #276
- @trenaryja made their first contribution in #275
- @lloydrichards made their first contribution in #256
- @Yonom made their first contribution in #315
Full Changelog: v0.3.0...v0.4.0
v0.3.0
What's
"use client"
was added to the library output so that you can use it as a React Client component without creating a wrapper.
New Contributors
- @MaxLeiter made their first contribution in #120
- @gnoff made their first contribution in #135
- @WITS made their first contribution in #168
- @dimaMachina made their first contribution in #186
- @amrhassab made their first contribution in #192
- @BekzodIsakov made their first contribution in #241
- @BlankParticle made their first contribution in #253
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Mildly Breaking Changes
These changes shouldn't affect 99% of usage of this library, but they're good to be aware of.
- Switches from
next/script
to a regularscript
tag inserted at the top of the<body>
- Replaces the base64 encoded script contents with a regular string again