Fixed fatal crashes being reported without a stack trace since 4.77.0 when a stack frame has no chunk ID.
PostHog JS
npx @buildinternet/releases get posthog-jsMetrics recorded inside sampled spans now carry trace exemplars, linking them to the span's trace. Updated @posthog/core to 1.59.0.
Metrics recorded inside sampled spans now have trace exemplars attached to them.
Metrics recorded inside sampled spans now carry trace exemplars. Dependency @posthog/types bumped to 1.416.0.
The supported @anthropic-ai/sdk peer dependency range is widened to >=0.112.3 <0.134.0, a small dependency-range change on an otherwise patch-only release.
The Next.js config package now uses its own PostHog CLI for sourcemap uploads, preventing failures when an older CLI version is installed elsewhere in a monorepo.
Fixed before_send callback types to accept non-null events while still allowing null returns to drop events.
Fixed before_send callback types to accept non-null events while still allowing null returns to drop events.
The @posthog/types package corrects the before_send callback signature so it accepts non-null events while still permitting a null return to drop an event.
Fixed before_send callback types to accept non-null events while still allowing null returns to drop events, plus dependency updates to @posthog/types and @posthog/core.
WebMCP error types and sanitized messages are now captured.
Notes clarify which server-only credentials to use for local evaluation when a project API key is supplied instead.
Properties passed to capture() and other event methods now override SDK context properties such as $app_version, $os_name, and $lib, matching posthog-js and posthog-android behavior.
Properties passed to capture() and other event methods now override SDK context properties such as $app_version, $os_name, and $lib, matching posthog-js and posthog-android.
Properties passed to capture() and other event methods now override SDK context properties such as $app_version, $os_name, and $lib, matching posthog-js and posthog-android.
Browser logging is now shared across SDKs with consistent initialization and cleanup, and captureLog and logger calls made before logging setup are dropped instead of buffered.
Browser logging is now shared across SDKs with consistent initialization and cleanup, and captureLog and logger calls made before logging setup are dropped instead of buffered.
WebMCP intent and model injection is now skipped for schemas with constraints that the extra fields could break. WebMCPExtensions is exported from the slim extension-bundles entry point.
Sourcemaps from Next.js 16 Turbopack builds are now supported without rewriting build assets, and a compatible posthog-js runtime is required for native debug and release IDs.
Supports immutable Next.js 16 Turbopack sourcemaps without rewriting build assets, and requires a compatible posthog-js runtime for native debug and release IDs. Updates @posthog/plugin-utils to 2.0.1.
