Zum Inhalt springen

Posthog Release Notes

Einträge
292
Quellen
1
Zuletzt aktualisiert

Folge Posthog, um die Release Notes in deinen Feed zu holen.

Posthog

@posthog/next@1.0.0

1.0.0

Major Changes

  • #5971 8752e66 Thanks @dustinbyrne! - Release @posthog/next v1.0.0 breaking changes:
    • Upgrade posthog-node dependency to v6 (Capture v1); see https://posthog.com/docs/libraries/node/migration if you use getPostHog(), serverOptions, or a custom reverse proxy
    • Unify middleware and server consent configuration onto consent?: ConsentConfig (replacing consentCookieName / consentCookiePrefix, enforcing server-side opt-out, and making seedAnonymousCookie: false a pure cookie-seeding toggle)
    • Align PostHogPageView and PostHogProvider defaults with posthog-js: trigger $pageview on initial mount and pathname changes only (call posthog.capture('$pageview') manually if your app relies on query- or hash-triggered pageviews) and strip URL #hash fragments by default (override via clientOptions={{ disable_capture_url_hashes: false }})
    • Reject secret keys (phx_, phs_, etc.) in PostHogProvider and postHogMiddleware, allowlist forwarded proxy headers and validate proxy URLs in postHogMiddleware, and ignore global singleton mutators (register, shutdown, optOut, etc.) on request-scoped server clients (2026-12-04)

Minor Changes …

Originalquelle(öffnet in neuem Tab)Problem melden