Packages

@nuxtjs/color-mode

4.1.0 · 27 Oct 2026MIT1.3M / weekRepositoryHomepagenpmAtom feed

Upgrading @nuxtjs/color-mode From 3.5.2 to 4.1.0

3 releases in betweenevery note read

Reading releases, release notes and advisories…

  1. 3.5.2yours
  2. 4.0.0major
  3. 4.0.1
  4. 4.1.0target

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

Release by release

  1. 4.1.0

    27 Oct 20264 new · 1 fix
    • New
    • 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)

  2. 4.0.1

    9 Jun 20262 new · 4 fixes
    • 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

  3. 4.0.0

    Migration needed11 Nov 20251 new · 5 fixes
    • Breaking

      Drop default classSuffix

    • Breaking

      Move to typesVersions, bump dependencies, and drop cjs support

    • Breaking

      Disallow setting colorMode.value + test types

    • Breaking

      Remove defunct hid option

10 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.