Packages

@vercel/analytics

2.0.1 · 12 Mar 2026MIT10.8M / weekRepositoryHomepagenpmAtom feed

Upgrading @vercel/analytics From 0.1.4 to 2.0.1

28 releases in betweennotes for 26

Reading releases, release notes and advisories…

Other targets from 0.1.4Newest 0.x0.1.11
  1. 0.1.4yours
  2. 7 releases
  3. 1.0.0major
  4. 18 releases
  5. 2.0.0major
  6. 2.0.1target
2+
changes to make
0
advisories fixed
14+
new
13+
fixes

Counted from 26 of 28 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • Breaking2.0.0
  • Breaking2.0.0

Release by release

  1. 2.0.1

    12 Mar 20261 fix
    • Fixed

      nuxt: Set nuxt as optional dependency

  2. 2.0.0

    Migration needed10 Mar 20261 new · 1 fix
    • Breaking

      License changed from MPL-2.0 to MIT

    • Breaking

      Nuxt: introduce module support. If you need to configure it, load injectAnalytics() from @vercel/analytics/nuxt/runtime

    • New

      feat: load dynamic configuration (#184) — analytics config can now be loaded dynamically

    • Fixed

      fix: src and endpoint paths do not work when relative

  3. 1.6.1

    2 Dec 20251 fix
    • Fixed

      nuxt: Remove the module as breaking change

  4. 1.6.0

    1 Dec 20252 new
    • New

      nuxt: Add support for injectAnalytics() and Nuxt module

    • New

      Add undefined to AllowedPropertyValues type

  5. 1.5.0

    10 Feb 20251 new · 1 fix
    • New

      Support configurable deployment basepath

    • Fixed

      next/jest does not support import.meta

  6. 1.4.1

    19 Nov 20241 fix
    • Fixed

      #157: Error when rendering Nuxt component

  7. 1.4.0

    12 Nov 20242 new
    • New

      Route support for Astro, Nuxt, Remix, Sveltekit and Vue

    • New

      next/remix/react supports updating beforeSend

  8. 1.3.2nothing new or fixed in the note

11 other lines we could not sort, mostly version bumps
  • React 19 support

    1.3.2
  • server/track: Always consume the response body for a track request

    1.1.4
  • Server events can now be sent when deployment protection is enabled

    1.1.3
  • Upgrade @vercel/style-guide

    1.1.1
  • Remove react as peer dependency

    1.0.1
  • Improve dev script reliability by using non-adblocked URL

    1.0.0
  • Update package version

    0.1.11
  • Specify "browser" field first

    0.1.10
  • Push version for release

    0.1.10
  • Update playwright and pin version in CI

    0.1.8

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