@nuxtjs/color-mode
4.1.0 · 27 Oct 2026MIT1.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @nuxtjs/color-mode From 2.0.10 to 4.1.0
30 releases in betweennotes for 23
Reading releases, release notes and advisories…
- 9+
- changes to make
- 0
- advisories fixed
- 16+
- new
- 24+
- fixes
Counted from 23 of 30 release notes. Advisories are counted from the advisory database, in full.
Start here
Before you upgrade
Tick each one off as you go- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking4.0.0
- Breaking3.0.0
- Breaking3.0.0
- Breaking3.0.0
- Breaking3.0.0
Release by release
- New
Support
@nuxt/vite-server - New
Support nuxt v5
- New
Allow cookieAttrs to be set and overridden via runtime config
- New
Defer non-critical client plugin work until after hydration
- Fixed
Use useCookie option names for cookieAttrs (#432) (#432, #435)
- New
- New
Add cookie attributes
- New
Tree-shake unused cookie preference code from plugin
- Fixed
Avoid optional chaining
- Fixed
Client crash when disabled cookies and storage
- Fixed
Set helper on window in testing
- Fixed
Cookie parsing
- New
- Breaking
Drop default classSuffix
- Breaking
Move to
typesVersions, bump dependencies, and drop cjs support - Breaking
Disallow setting
colorMode.value+ test types - Breaking
Remove defunct
hidoption
- Breaking
3.5.2nothing new or fixed in the note
- Fixed
Synchronize Vue 2 & 3 component behaviour
- Fixed
- New
placeholderslot for<ColorScheme>component - New
cookiestorage
- New
- Fixed
Augment vue rather than @vue/runtime-core
- Fixed
- Fixed
Remove newline at end of minified script
- Fixed
4 other lines we could not sort, mostly version bumps
- 3.0.0
Uses
@nuxt/module-builderto build module. - 3.0.0
Refactor structure (
lib->src/dist,templates->runtime) - 3.0.0
Rewrite in TypeScript
- 3.0.0
Move from templating options to creating a virtual module for greater performance
54 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.