github PostHog/posthog-js posthog-js@1.377.0

latest releases: @posthog/core@1.30.2, @posthog/webpack-plugin@1.4.43, posthog-react-native@4.46.7...
8 hours ago

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

Don't miss a new posthog-js release

NewReleases is sending notifications on new releases.