releases.shpreview
PostHog/PostHog JS/@posthog/core@1.30.0

Browser detection expanded to Brave, Vivaldi, Yandex, and others

@posthog/core@1.30.0

1 featureThis release1 featureNew capabilitiesAI-tallied from the release notes

1.30.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

  • Updated dependencies []:
    • @posthog/types@1.377.0

Fetched June 1, 2026