Packages

posthog-js

1.450.1 · 17 Nov 2026(Apache-2.0 AND MIT)28.2M / weekRepositoryHomepagenpmAtom feed

Upgrading posthog-js From 1.438.13 to 1.454.2

71 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.438.13Latest1.450.1
  1. 1.438.13yours
  2. 60 releases
  3. 1.451.1security
  4. 9 releases
  5. 1.454.2target
0
changes to make
0
advisories fixed
18
new
70
fixes

Security

  • Fixed requests being blocked by web application firewalls running the OWASP Core Rule Set (ModSecurity and others) for visitors whose session was sampled out of session replay. The ph_<token>_posthog cookie stored that decision with a ! prefix that rule 942190 flags as SQL injection. The decision now uses a plain letter, and this version removes old ! values from the cookie on the next page load, whether or not replay starts on that page. Versions before 1.417.0 that load the unversioned recorder from the PostHog CDN stop writing new ! values without upgrading, but only replace old ones on pages where the recorder loads. (2026-11-18)

    1.451.1

Release by release

  1. 1.454.2

    23 Nov 20261 fix
    • Fixed

      Updated DOMPurify from 3.4.13 to 3.4.18. (2026-11-23)

  2. 1.454.1

    23 Nov 20261 fix
    • Fixed

      Stop heatmaps and dead clicks from sending interactions that happened while capturing was off, such as clicks before the visitor consented. (2026-11-23)

  3. 1.454.0

    23 Nov 20261 new
    • New

      Capture the Snapchat click ID as sccid when the landing URL spells it ScCid or SsCid. When mask_personal_data_properties is on, also mask ScCid, SsCid and sscid in captured URLs, including landing URLs stored by older SDK versions. (2026-11-23)

  4. 1.453.3

    23 Nov 20261 fix
    • Fixed

      Stop sending replay debug properties on events captured while session replay is off (2026-11-23)

  5. 1.453.2

    20 Nov 20261 fix
    • Fixed

      Name survey buttons by their visible text instead of a hard-coded English "Submit survey" label, so screen readers and voice control match the configured or translated button text. Tests that find the button by the name "Submit survey" need to use the visible button text or the .form-submit class instead. (2026-11-20)

  6. 1.453.1

    20 Nov 20262 fixes
    • Fixed

      Only attach the queue-size debug property while the queue is backed up: $sdk_debug_retry_queue_size on web when requests are waiting to be retried, and $sdk_debug_pending_queue_size on React Native once the queue reaches flushAt (2026-11-20)

    • Fixed

      Only register $sdk_debug_extensions_init_method and $sdk_debug_extensions_init_time_ms when extensions were loaded and their initialization took measurable time. (2026-11-20)

  7. 1.453.0

    19 Nov 20261 new · 1 fix
    • New

      Add an explicit per-select session replay masking policy. (2026-11-19)

    • Fixed

      Reduce main-thread work when validating native gzip output (2026-11-19)

  8. 1.452.0

    19 Nov 20261 new
    • New

      Add opt-in require_subresource_integrity to verify lazy-loaded extension scripts against SHA-384 hashes built into the trusted SDK bundle; it disables site apps and the toolbar and doesn't cover the initial loader unless pinned, third-party widgets or a malicious release with valid hashes. (2026-11-19)

48 internal lines (docs, tests, tooling) left out.

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.