Exception capture on by default; server-side request errors reported
@posthog/next@0.6.0
2 features1 enhancementThis release2 featuresNew capabilities1 enhancementImprovements to existing featuresAI-tallied from the release notes
0.6.0
Minor Changes
- #3925
1b0191cThanks @dustinbyrne! - Enable exception capture by default.- Client-side PostHog initialization now sets
capture_exceptions: trueby default. PassclientOptions.capture_exceptionsto override this. - Apps can export
onRequestErrorfrom@posthog/nextininstrumentation.tsto capture server-side request errors handled by Next.js, including in the Edge runtime. - Alternatively, import
captureRequestErrorand call it fromonRequestError. (2026-06-23)
- Client-side PostHog initialization now sets
Patch Changes
- Updated dependencies [
6391106]:- posthog-node@5.38.4
Fetched June 24, 2026
