Packages

@posthog/types

1.427.1 · 23 Nov 2026MIT38.9M / weekRepositorynpmAtom feed

Upgrading @posthog/types From 1.391.1 to 1.392.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.391.1Newest 1.x, Latest1.427.1
  1. 1.391.1yours
  2. 1.392.0target
0
changes to make
0
advisories fixed
1
new
0
fixes

Release by release

  1. 1.392.0

    29 Jun 20261 new
    • New

      Add a get_current_url config option that overrides the URL used for client-side URL targeting — session replay URL triggers, the session replay URL blocklist, survey URL display conditions, product tour URL conditions, web experiment URL conditions, and autocapture URL allow/ignore lists. These match against window.location.href directly, which does not reflect a $current_url rewritten in before_send. Apps where the browser URL is not meaningful for targeting (e.g. Electron/desktop builds served from a generated host) can now return the logical URL to match against. Defaults to window.location.href when not set. (2026-06-29)

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.