Skip to content

Releases: pacocoursey/next-themes

v0.4.3

04 Nov 20:33
Compare
Choose a tag to compare

What's Changed

  • Pass nonce to inline style tag when using disableTransitionOnChange

Full Changelog: v0.4.2...v0.4.3

v0.4.2

04 Nov 19:46
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.4.1...v0.4.2

v0.4.1

04 Nov 03:22
5287ede
Compare
Choose a tag to compare

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

Full Changelog: v0.4.0...v0.4.1

v0.4.0

04 Nov 01:59
ad4daf2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.3.0...v0.4.0

v0.3.0

13 Mar 03:01
f5df966
Compare
Choose a tag to compare

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

Full Changelog: v0.2.0...v0.3.0

v0.2.0

05 May 12:46
Compare
Choose a tag to compare

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 regular script tag inserted at the top of the <body>
  • Replaces the base64 encoded script contents with a regular string again

Fixes

  • Fixes a bug with undefined references in the injected script
  • Supports CSP nonce again because the injected script is no longer base64 encdoed
  • Types are once again bundled in the published version
  • Fixes #107
  • Fixes #106
  • Fixes #99
  • Fixes #94
  • Fixes #90