Packages

@posthog/next

0.11.1 · 17 Nov 2026MIT95k / weekRepositorynpmAtom feed

Your version

0.6.0

23 Jun 2026Where it was published

0.11.1 is the newest release of 0.6.x.

In short

1 new1 internal

Release note

Minor Changes

  • Enable exception capture by default.

    • Client-side PostHog initialization now sets capture_exceptions: true by default. Pass clientOptions.capture_exceptions to override this.

    • Apps can export onRequestError from @posthog/next in instrumentation.ts to capture server-side request errors handled by Next.js, including in the Edge runtime.

    • Alternatively, import captureRequestError and call it from onRequestError. (2026-06-23)

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.