chore(deps): update dependency posthog-js to v1.360.2#340
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency posthog-js to v1.360.2#340renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
cd9b7e0 to
9c469da
Compare
b50f641 to
6de31ca
Compare
6de31ca to
1d8562f
Compare
1d8562f to
929f0af
Compare
929f0af to
26aec3a
Compare
26aec3a to
b9980c9
Compare
b9980c9 to
cb8f114
Compare
a717eb6 to
528b1b6
Compare
528b1b6 to
5abe2e5
Compare
5abe2e5 to
8cb6ec2
Compare
351e9cd to
29eee3f
Compare
29eee3f to
5dc7bed
Compare
4a3a9cb to
3ca9663
Compare
3ca9663 to
bd708dc
Compare
2267c89 to
8cc4400
Compare
8cc4400 to
ade8b70
Compare
ade8b70 to
d9f7394
Compare
d9f7394 to
cbdc5d2
Compare
cbdc5d2 to
9b20b97
Compare
9b20b97 to
7f36bc1
Compare
7f36bc1 to
3d3d2c3
Compare
3d3d2c3 to
4b84ed3
Compare
4b84ed3 to
1ffad89
Compare
1ffad89 to
c61b5ca
Compare
c61b5ca to
cc5efc3
Compare
cc5efc3 to
5a63cd8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.275.3→1.360.2Release Notes
PostHog/posthog-js (posthog-js)
v1.360.2Compare Source
1.360.2
Patch Changes
bc30c2dThanks @dustinbyrne! - fix: Calling reset() now automatically reloads feature flags(2026-03-13)
bc30c2d,bc30c2d]:v1.360.1Compare Source
1.360.1
Patch Changes
4009c15]:v1.360.0Compare Source
1.360.0
Patch Changes
#3213
db089fdThanks @TueHaulund! - fix(replay): treat legacy configs without cache_timestamp as freshConfigs 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
c5a37cbThanks @dustinbyrne! - fix: PostHogFeatureFlags uses a TreeShakeable type(2026-03-09)
Updated dependencies [
c5a37cb]:v1.359.1Compare Source
1.359.1
Patch Changes
2b0cd52Thanks @marandaneto! - chore: upgrade dompurify to 3.3.2(2026-03-06)
v1.359.0Compare Source
1.359.0
Minor Changes
9180726Thanks @dustinbyrne! - feat: Tree-shake feature flags(2026-03-05)
Patch Changes
v1.358.1Compare Source
1.358.1
Patch Changes
#3191
9f41d26Thanks @TueHaulund! - fix(replay): fall back to persisted config when remote config fetch failsWhen the remote config fetch failed (network error, ad blocker, CDN outage), the SDK received an empty
{}response with nosessionRecordingkey. TheonRemoteConfighandler returned early without ever setting_receivedFlags = true, leaving the recording permanently stuck inpending_configstatus for the entire page session.This removes the
_receivedFlagsgate 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
9d0df0eThanks @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.0Compare Source
1.358.0
Minor Changes
0e08337Thanks @dustinbyrne! - feat: Tree-shake surveys, toolbar, exceptions, conversations, logs, experiments(2026-03-03)
Patch Changes
20c1ff2Thanks @dustinbyrne! - Add Extension interface for tree-shakable extensions(2026-03-03)
v1.357.2Compare Source
1.357.2
Patch Changes
f485c92Thanks @slshults! - fix: Move tablet detection logic into detectDeviceType for consistent classification across all call sites(2026-03-03)
v1.357.1Compare Source
1.357.1
Patch Changes
91223c5Thanks @adboio! - avoid re-checking URLs if they have not changed(2026-03-02)
5e8d5fc]:v1.357.0Compare Source
1.357.0
Minor Changes
4f885c0Thanks @marandaneto! - feat: add local sampleRate config for session recording(2026-03-02)
Patch Changes
0dce119Thanks @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)
4f885c0]:v1.356.2Compare Source
1.356.2
Patch Changes
#3174
e9127d8Thanks @TueHaulund! - Detect and report when rrweb fails to initialize. rrweb'srecord()silently swallows startup errors and returnsundefined, which previously left the SDK reporting an active recording status while capturing zero data. The SDK now checks the return value and reports a newrrweb_errorstatus, making the failure visible in debug properties.(2026-03-02)
#3175
6ee5f12Thanks @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
186871aThanks @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
87bae20Thanks @dustinbyrne! - fix: Drop explicit exports(2026-03-02)
#3172
2e46959Thanks @dustinbyrne! - fix: Compressed requests use ArrayBuffer(2026-03-02)
Updated dependencies []:
v1.356.1Compare Source
1.356.1
Patch Changes
a500d14Thanks @ksvat! - wait for fresh config before recording start decision, add new recorder status, output recording started event(2026-02-27)
v1.356.0Compare Source
1.356.0
Minor Changes
ec54fd8Thanks @dmarticus! - Add feature_flag_cache_ttl_ms config to prevent stale flag values(2026-02-26)
Patch Changes
#3154
a47179cThanks @slshults! - fix: Improve tablet device type detection when Chrome sends desktop-like UA stringsChrome 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
d741668Thanks @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.0Compare Source
1.355.0
Minor Changes
1d3f14cThanks @adboio! - add product tour wait period support(2026-02-26)
Patch Changes
v1.354.4Compare Source
1.354.4
Patch Changes
d6fd9c9Thanks @ksvat! - add re-entrancy guard for cases where ALL + regex + event trigger matching is configured(2026-02-26)
v1.354.3Compare Source
1.354.3
Patch Changes
77261d8Thanks @adboio! - add product tours device type targeting(2026-02-25)
v1.354.2Compare Source
1.354.2
Patch Changes
67cf41eThanks @dustinbyrne! - fix: Add additional legacy exports for fully qualified dist and lib exports(2026-02-25)
v1.354.1Compare Source
1.354.1
Patch Changes
9ae20e7Thanks @dustinbyrne! - fix: Expose all export paths(2026-02-25)
v1.354.0Compare Source
1.354.0
Minor Changes
4d0c783Thanks @dustinbyrne! - feat: Introduce internal config to improve tree-shaking(2026-02-25)
Patch Changes
v1.353.1Compare Source
1.353.1
Patch Changes
0b86924Thanks @adboio! - fix autofill bug in hosted surveys(2026-02-24)
v1.353.0Compare Source
1.353.0
Minor Changes
fba7e5bThanks @dustinbyrne! - feat: Persist $user_state to cookie for server-side access(2026-02-23)
Patch Changes
v1.352.1Compare Source
1.352.1
Patch Changes
#3129
6bfa003Thanks @pauldambra! - fix: no need to put rrweb and friends directly on window in posthog-recorder(2026-02-23)
#3131
ad26474Thanks @veryayskiy! - Fix issue with toolbar interferring distinct id in conversations(2026-02-23)
Updated dependencies []:
v1.352.0Compare Source
1.352.0
Minor Changes
c3c9780Thanks @veryayskiy! - Ability to retrieve previous conversations(2026-02-20)
Patch Changes
v1.351.4Compare Source
1.351.4
Patch Changes
2649a9aThanks @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)
2649a9a]:v1.351.3Compare Source
1.351.3
Patch Changes
1a53e8cThanks @adboio! - add animation option for tour banners(2026-02-19)
v1.351.2Compare Source
1.351.2
Patch Changes
d964a31Thanks @adboio! - add banner click tracking for tours(2026-02-19)
v1.351.1Compare Source
1.351.1
Patch Changes
c0b911dThanks @adboio! - prevent infinite recursion bug with 3rd party proxy on posthog(2026-02-18)
v1.351.0Compare Source
1.351.0
Minor Changes
8655261Thanks @veryayskiy! - Strip markdown in tickets list(2026-02-18)
Patch Changes
9dbc05eThanks @ablaszkiewicz! - warning on manual capture('$exception')(2026-02-18)
9dbc05e]:v1.350.0Compare Source
1.350.0
Minor Changes
1b47203Thanks @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
1b47203]:v1.349.0Compare Source
1.349.0
Minor Changes
f707ec9Thanks @adboio! - add support for product tours localization(2026-02-17)
Patch Changes
f707ec9]:v1.348.0Compare Source
1.348.0
Minor Changes
c4ca045Thanks @veryayskiy! - Support multiple tickets(2026-02-17)
Patch Changes
#3104
b11c3c5Thanks @adboio! - support customizable survey step button texts in product tours(2026-02-17)
#3081
d36a6edThanks @adboio! - move tour event names to constants(2026-02-17)
Updated dependencies [
e962f01]:v1.347.2Compare Source
1.347.2
Patch Changes
#3094
0d30218Thanks @TueHaulund! - feat(replay): add $snapshot_max_depth_exceeded debug property and bump rrweb to 0.0.42 with DOM depth limit(2026-02-13)
#3093
f19b7f2Thanks @TueHaulund! - fix(replay): retry session recording start when persisted remote config is stale(2026-02-13)
Updated dependencies []:
v1.347.1Compare Source
1.347.1
Patch Changes
312b785Thanks @adboio! - enable product tour image preload(2026-02-13)
v1.347.0Compare Source
1.347.0
Minor Changes
512d578Thanks @dustinbyrne! - fix: Revert tree shaking configuration(2026-02-12)
Patch Changes
9c078acThanks @adboio! - update z-index hierarchy for tours > surveys > conversations(2026-02-12)
v1.346.0Compare Source
1.346.0
Minor Changes
0d730bdThanks @adboio! - enable tours by default(2026-02-12)
Patch Changes
v1.345.5Compare Source
1.345.5
Patch Changes
7437982Thanks @pauldambra! - Add missingfeatureFlagsproperty andOverrideFeatureFlagsOptionstype toPostHoginterface, restoreset_configto the loaded callback type, and addfeatureFlagsReloadingtoon()event types(2026-02-11)
7437982]:v1.345.4Compare Source
1.345.4
Patch Changes
4e7fda9Thanks @marandaneto! - fix: session replay respects the network_timing remote config(2026-02-11)
v1.345.3Compare Source
1.345.3
Patch Changes
50ebdfbThanks @jordanm-posthog! - Fixed an issue where Dead Clicks could continue being captured after being disabled via remote config.(2026-02-10)
0acf16f]:v1.345.2Compare Source
1.345.2
Patch Changes
4580975Thanks @adboio! - add "product tour button clicked" events(2026-02-10)
v1.345.1Compare Source
1.345.1
Patch Changes
de43d70Thanks @adboio! - add survey shown tracking to useThumbSurvey + option to disable shown tracking in displaySurvey(2026-02-10)
v1.345.0Compare Source
1.345.0
Minor Changes
fe8090cThanks @dustinbyrne! - Add$feature_flag_errorproperty to$feature_flag_calledevents(2026-02-09)
Patch Changes
90db5d4Thanks @pauldambra! - fix: remote config cache invalidation was too aggressive(2026-02-09)
fe8090c]:v1.344.0Compare Source
v1.343.2Compare Source
1.343.2
Patch Changes
e055f9a]:v1.343.1Compare Source
1.343.1
Patch Changes
aa712a3Thanks @pauldambra! - fix: replay remote config cache should be invalidated periodically(2026-02-09)
v1.343.0Compare Source
1.343.0
Minor Changes
dd3328fThanks @veryayskiy! - Do not show identification form if user is identified(2026-02-09)
Patch Changes
8d9bb16Thanks @pauldambra! - fix: sampled: true in persistence if legacy and should be ignored(2026-02-09)
v1.342.1Compare Source
1.342.1
Patch Changes
8f75daeThanks @hpouillot! - fix(err): fix console error capturing(2026-02-06)
8f75dae]:v1.342.0Compare Source
1.342.0
Minor Changes
19d59eaThanks @dmarticus! - add featureFlagsReloading event for tracking flag reload state(2026-02-05)
Patch Changes
v1.341.2Compare Source
1.341.2
Patch Changes
b68e991Thanks @adboio! - unify element<>modal steps for product tours, deprecate element steps(2026-02-05)
v1.341.1Compare Source
1.341.1
Patch Changes
23292d4Thanks @adboio! - replace stopPropagation with preventDefault for tour manaul click triggers(2026-02-05)
v1.341.0Compare Source
1.341.0
Minor Changes
d7b37f7Thanks @robbie-c! - Rename setTestUser to setInternalOrTestUser(2026-02-04)
Patch Changes
v1.340.0Compare Source
1.340.0
Minor Changes
2b2725eThanks @veryayskiy! - Support widget position(2026-02-04)
Patch Changes
bb62809]:v1.339.1Compare Source
1.339.1
Patch Changes
af665ccThanks @adboio! - add element inference precision to tours; do not mark as shown until we know first step rendered successfully(2026-02-03)
v1.339.0Compare Source
1.339.0
Minor Changes
b3ec434Thanks @robbie-c! - Add a function isTestUser() and config option test_user_hostname(2026-02-03)
Patch Changes
5420f4dThanks @pauldambra! - upgrade to posthog/rrweb 0.0.40(2026-02-03)
b3ec434]:v1.338.1Compare Source
1.338.1
Patch Changes
3105ff6Thanks @adboio! - fix stale element references in multi-page product tours(2026-02-03)
v1.338.0Compare Source
1.338.0
Minor Changes
5ccf27eThanks @veryayskiy! - Fix issue with contrast colors in support widget(2026-02-03)
Patch Changes
v1.337.1Compare Source
1.337.1
Patch Changes
c99e5fe]:v1.337.0Compare Source
1.337.0
Minor Changes
#2996
7768010Thanks @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
4a1af3bThanks @veryayskiy! - Render markdown in support product(2026-02-03)
Patch Changes
9bd4dbcThanks @adboio! - do not intercept element clicks if a product tour fails to show(2026-02-03)
7768010]:v1.336.4Compare Source
1.336.4
Patch Changes
727536c]:v1.336.3Compare Source
1.336.3
Patch Changes
cbe84c1]:v1.336.2Compare Source
1.336.2
Patch Changes
#2985
2ed9623Thanks @adboio! - support custom banner container for product tours(2026-01-29)
#2991
2b32a60Thanks @lricoy! - treat undefined and null the same when receiving config(2026-01-29)
#2973
c1aa45cThanks @lricoy! - make attribution opt-in by default to reduce memory usage(2026-01-29)
Updated dependencies []:
v1.336.1Compare Source
1.336.1
Patch Changes
8c0c495]:v1.336.0Compare Source
1.336.0
Minor Changes
228930aThanks @dustinbyrne! - feat: AddgetFeatureFlagResultmethod(2026-01-28)
Patch Changes
228930a]:v1.335.5Compare Source
1.335.5
Patch Changes
b5c1981Thanks @adboio! - fix survey close button color(2026-01-27)
v1.335.4[Compare Source](htt
Configuration
📅 Schedule: Branch creation - Between 06:00 AM and 09:59 AM, only on Monday ( * 6-9 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.