Packages

@nuxtjs/color-mode

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

Upgrading @nuxtjs/color-mode From 2.0.3 to 4.1.0

36 releases in betweennotes for 25

Reading releases, release notes and advisories…

Other targets from 2.0.3Newest 2.x2.1.1
  1. 2.0.3yours
  2. 8 releases
  3. 3.0.0major
  4. 24 releases
  5. 4.0.0major
  6. 1 release
  7. 4.1.0target
9+
changes to make
0
advisories fixed
16+
new
26+
fixes

Counted from 25 of 36 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

  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

  4. 3.5.2nothing new or fixed in the note

  5. 3.5.1

    14 Sep 20241 fix
    • Fixed

      Synchronize Vue 2 & 3 component behaviour

  6. 3.5.0

    13 Sep 20242 new
    • New

      placeholder slot for <ColorScheme> component

    • New

      cookie storage

  7. 3.4.4

    16 Aug 20241 fix
    • Fixed

      Augment vue rather than @vue/runtime-core

  8. 3.4.2

    24 Jun 20241 fix
    • Fixed

      Remove newline at end of minified script

4 other lines we could not sort, mostly version bumps
  • Uses @nuxt/module-builder to 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

    3.0.0

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.