Skip to content

fix(deps): update dependency posthog-js to v1.360.2 - autoclosed#140

Closed
renovate[bot] wants to merge 1 commit intomainfrom
renovate/posthog-js-1.x
Closed

fix(deps): update dependency posthog-js to v1.360.2 - autoclosed#140
renovate[bot] wants to merge 1 commit intomainfrom
renovate/posthog-js-1.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 15, 2026

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
posthog-js (source) 1.268.81.360.2 age confidence

Release Notes

PostHog/posthog-js (posthog-js)

v1.360.2

Compare Source

1.360.2

Patch Changes

v1.360.1

Compare Source

1.360.1

Patch Changes

v1.360.0

Compare Source

1.360.0

Patch Changes
  • #​3213 db089fd Thanks @​TueHaulund! - fix(replay): treat legacy configs without cache_timestamp as fresh

    Configs persisted by older SDK versions never include a cache_timestamp.
    Defaulting to 0 treats them as always stale, causing the persisted config
    to be cleared before start() runs — so recording never starts for
    customers on older core SDK versions paired with the latest CDN recorder. (2026-03-09)

  • #​3207 c5a37cb Thanks @​dustinbyrne! - fix: PostHogFeatureFlags uses a TreeShakeable type
    (2026-03-09)

  • Updated dependencies [c5a37cb]:

v1.359.1

Compare Source

1.359.1
Patch Changes

v1.359.0

Compare Source

1.359.0

Minor Changes
Patch Changes

v1.358.1

Compare Source

1.358.1

Patch Changes
  • #​3191 9f41d26 Thanks @​TueHaulund! - fix(replay): fall back to persisted config when remote config fetch fails

    When the remote config fetch failed (network error, ad blocker, CDN outage), the SDK received an empty {} response with no sessionRecording key. The onRemoteConfig handler returned early without ever setting _receivedFlags = true, leaving the recording permanently stuck in pending_config status for the entire page session.

    This removes the _receivedFlags gate entirely. The 1-hour TTL on persisted config (added in #​3051, increased from 5 minutes) and the stale-config retry in _onScriptLoaded (added in #​3093) already prevent recording from starting with outdated config. The additional gate was redundant and created a deadlock when the config fetch failed.

    Now when the config fetch fails, startIfEnabledOrStop() is called and falls back to persisted config from a previous page load. If no persisted config exists (first-ever visit), recording is correctly disabled rather than silently stuck. (2026-03-04)

  • #​3198 9d0df0e Thanks @​TueHaulund! - Reduce session replay memory pressure by tracking per-event sizes in SnapshotBuffer, eliminating redundant JSON.stringify calls during buffer operations. Also bumps @​posthog/rrweb to 0.0.46 which uses FNV-1a hash-based canvas frame deduplication instead of storing full base64 strings.
    (2026-03-04)

  • Updated dependencies []:

v1.358.0

Compare Source

1.358.0

Minor Changes
Patch Changes

v1.357.2

Compare Source

1.357.2

Patch Changes

v1.357.1

Compare Source

1.357.1

Patch Changes

v1.357.0

Compare Source

1.357.0

Minor Changes
Patch Changes
  • #​3179 0dce119 Thanks @​TueHaulund! - Bump @​posthog/rrweb-* to 0.0.45 — reuses a single OffscreenCanvas in the canvas recording worker instead of allocating a new one per frame, fixing a memory leak in Safari where GPU-backed canvas resources were not being garbage collected promptly
    (2026-03-02)
  • Updated dependencies [4f885c0]:

v1.356.2

Compare Source

1.356.2

Patch Changes
  • #​3174 e9127d8 Thanks @​TueHaulund! - Detect and report when rrweb fails to initialize. rrweb's record() silently swallows startup errors and returns undefined, which previously left the SDK reporting an active recording status while capturing zero data. The SDK now checks the return value and reports a new rrweb_error status, making the failure visible in debug properties.
    (2026-03-02)

  • #​3175 6ee5f12 Thanks @​TueHaulund! - Fix memory leak in canvas recording on Safari < 16.4 where ImageBitmaps were never closed when OffscreenCanvas was unavailable in the web worker.
    (2026-03-02)

  • #​3178 186871a Thanks @​TueHaulund! - Skip canvas FPS recording entirely on browsers without OffscreenCanvas support (Safari < 16.4) instead of running a wasteful requestAnimationFrame loop that can never produce data. Also includes displayWidth/displayHeight in canvas mutation data for correct replay sizing.
    (2026-03-02)

  • #​3176 87bae20 Thanks @​dustinbyrne! - fix: Drop explicit exports
    (2026-03-02)

  • #​3172 2e46959 Thanks @​dustinbyrne! - fix: Compressed requests use ArrayBuffer
    (2026-03-02)

  • Updated dependencies []:

v1.356.1

Compare Source

1.356.1

Patch Changes
  • #​3128 a500d14 Thanks @​ksvat! - wait for fresh config before recording start decision, add new recorder status, output recording started event
    (2026-02-27)
  • Updated dependencies []:

v1.356.0

Compare Source

1.356.0

Minor Changes
Patch Changes
  • #​3154 a47179c Thanks @​slshults! - fix: Improve tablet device type detection when Chrome sends desktop-like UA strings

    Chrome on Android tablets defaults to "request desktop site" mode, sending a UA string
    indistinguishable from desktop Linux. This uses the Client Hints API (navigator.userAgentData.platform)
    and touch capability (navigator.maxTouchPoints) to correctly classify these devices as Tablet or Mobile
    when UA-based detection falls through to the Desktop default. (2026-02-26)

  • #​3145 d741668 Thanks @​dmarticus! - Adds a remote_config_refresh_interval_ms config option to control how often feature flags are automatically refreshed in long-running sessions.
    (2026-02-26)

  • Updated dependencies [ec54fd8, d741668]:

v1.355.0

Compare Source

1.355.0

Minor Changes
Patch Changes

v1.354.4

Compare Source

1.354.4

Patch Changes

v1.354.3

Compare Source

1.354.3

Patch Changes

v1.354.2

Compare Source

1.354.2

Patch Changes

v1.354.1

Compare Source

1.354.1

Patch Changes

v1.354.0

Compare Source

1.354.0

Minor Changes
Patch Changes

v1.353.1

Compare Source

1.353.1

Patch Changes

v1.353.0

Compare Source

1.353.0

Minor Changes
Patch Changes

v1.352.1

Compare Source

1.352.1

Patch Changes

v1.352.0

Compare Source

1.352.0

Minor Changes
Patch Changes

v1.351.4

Compare Source

1.351.4
Patch Changes
  • #​3119 2649a9a Thanks @​dmarticus! - Adds a fresh option to getFeatureFlag(), getFeatureFlagResult(), and isFeatureEnabled() that only returns values loaded from the server, not cached localStorage values.
    (2026-02-19)
  • Updated dependencies [2649a9a]:

v1.351.3

Compare Source

1.351.3
Patch Changes

v1.351.2

Compare Source

1.351.2
Patch Changes

v1.351.1

Compare Source

1.351.1
Patch Changes

v1.351.0

Compare Source

1.351.0
Minor Changes
Patch Changes

v1.350.0

Compare Source

1.350.0
Minor Changes
  • #​2895 1b47203 Thanks @​benjackwhite! - RemoteConfig (config.js) has been loaded for ages and is in use by us in production. This PR makes it the sole config loading mechanism for posthog-js, removing the legacy /flags/?v=2&config=true path and the __preview_remote_config gate.
    (2026-02-17)
Patch Changes

v1.349.0

Compare Source

1.349.0
Minor Changes
Patch Changes

v1.348.0

Compare Source

1.348.0
Minor Changes
Patch Changes

v1.347.2

Compare Source

1.347.2

Patch Changes

v1.347.1

Compare Source

1.347.1

Patch Changes

v1.347.0

Compare Source

1.347.0

Minor Changes
Patch Changes

v1.346.0

Compare Source

1.346.0

Minor Changes
Patch Changes

v1.345.5

Compare Source

1.345.5

Patch Changes
  • #​3060 7437982 Thanks @​pauldambra! - Add missing featureFlags property and OverrideFeatureFlagsOptions type to PostHog interface, restore set_config to the loaded callback type, and add featureFlagsReloading to on() event types
    (2026-02-11)
  • Updated dependencies [7437982]:

v1.345.4

Compare Source

1.345.4

Patch Changes

v1.345.3

Compare Source

1.345.3

Patch Changes

v1.345.2

Compare Source

1.345.2

Patch Changes

v1.345.1

Compare Source

1.345.1

Patch Changes

v1.345.0

Compare Source

1.345.0

Minor Changes
Patch Changes

v1.344.0

Compare Source

v1.343.2

Compare Source

1.343.2

Patch Changes

v1.343.1

Compare Source

1.343.1

Patch Changes

v1.343.0

Compare Source

1.343.0

Minor Changes
Patch Changes

v1.342.1

Compare Source

1.342.1

Patch Changes

v1.342.0

Compare Source

1.342.0

Minor Changes
Patch Changes

v1.341.2

Compare Source

1.341.2

Patch Changes

v1.341.1

Compare Source

1.341.1

Patch Changes

v1.341.0

Compare Source

1.341.0

Minor Changes
Patch Changes

v1.340.0

Compare Source

1.340.0

Minor Changes
Patch Changes

v1.339.1

Compare Source

1.339.1

Patch Changes
  • #​3007 af665cc Thanks @​adboio! - add element inference precision to tours; do not mark as shown until we know first step rendered successfully
    (2026-02-03)
  • Updated dependencies []:

v1.339.0

Compare Source

1.339.0

Minor Changes
Patch Changes

v1.338.1

Compare Source

1.338.1

Patch Changes

v1.338.0

Compare Source

1.338.0

Minor Changes
Patch Changes

v1.337.1

Compare Source

1.337.1

Patch Changes

v1.337.0

Compare Source

1.337.0

Minor Changes
  • #​2996 7768010 Thanks @​matheus-vb! - Filter out flags marked as failed before merging with cached values, preventing transient backend errors from overwriting previously evaluated flag states
    (2026-02-03)

  • #​3000 4a1af3b Thanks @​veryayskiy! - Render markdown in support product
    (2026-02-03)

Patch Changes

v1.336.4

Compare Source

1.336.4

Patch Changes

v1.336.3

Compare Source

1.336.3

Patch Changes

v1.336.2

Compare Source

1.336.2

Patch Changes

v1.336.1

Compare Source

1.336.1

Patch Changes

v1.336.0

Compare Source

1.336.0

Minor Changes
Patch Changes

v1.335.5

Compare Source

1.335.5

Patch Changes

v1.335.4

[Compare Source](https://redirect.github.com/PostHog/posthog-js/compare/posthog-js@1.335.3...p


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/posthog-js-1.x branch from fa15ae9 to 598c5d7 Compare March 15, 2026 21:24
@renovate renovate bot changed the title fix(deps): update dependency posthog-js to v1.360.2 fix(deps): update dependency posthog-js to v1.360.2 - autoclosed Mar 16, 2026
@renovate renovate bot closed this Mar 16, 2026
@renovate renovate bot deleted the renovate/posthog-js-1.x branch March 16, 2026 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants