releases.shpreview
PostHog/PostHog JS/posthog-js@1.377.0

Brave, Vivaldi, Yandex, DuckDuckGo, and others now detected

posthog-js@1.377.0

1 feature1 fixThis release1 featureNew capabilities1 fixBug fixesAI-tallied from the release notes

1.377.0

Minor Changes

  • #3708 3d4a76f Thanks @pauldambra! - Detect Brave (desktop, Android, iOS), Vivaldi, Yandex, Naver Whale, DuckDuckGo, Pale Moon, and Waterfox so users on these browsers no longer get bucketed as Chrome or Firefox.

    detectBrowser / detectBrowserVersion now accept an optional third argument, BrowserDetectionHints, with a brave flag (set when navigator.brave exists). The browser SDK populates this automatically to catch desktop / Android Brave, which is Chromium-based and carries no UA marker. Brave on iOS is picked up purely from the Brave/ UA marker — WebKit doesn't ship navigator.brave. The original two-argument signature still works for non-DOM callers. (2026-06-01)

Patch Changes

  • #3703 f3cc6fa Thanks @marandaneto! - Disable/no-op initialization paths instead of throwing or sending requests when PostHog project tokens are missing or blank. (2026-06-01)
  • Updated dependencies [3d4a76f]:
    • @posthog/core@1.30.0
    • @posthog/types@1.377.0

Fetched June 1, 2026