Skip to content

feat(js): Add shared dataCollection prompt and preset (v11 only) - #1358

Merged
s1gr1d merged 2 commits into
masterfrom
sig/data-collection-setup-1-utils
Sep 22, 2026
Merged

s1gr1d merged 2 commits into
masterfrom
sig/data-collection-setup-1-utils

Conversation

@s1gr1d

@s1gr1d s1gr1d commented Sep 22, 2026

Copy link
Copy Markdown
Member

Adds src/utils/data-collection.ts: a v11 gate (sdkSupportsDataCollection),
a yes/no prompt with telemetry (askShouldReduceDataCollection), and a
renderer for the PII-reducing dataCollection preset with deny lists
(getDataCollectionSnippet).

Also hoists the duplicated private getMajor helpers from sveltekit and
react-router into src/utils/semver.ts as getMajorVersion.
@s1gr1d
s1gr1d merged commit 59e1f0f into master Sep 22, 2026
59 checks passed
@s1gr1d
s1gr1d deleted the sig/data-collection-setup-1-utils branch September 22, 2026 14:23
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.

2 participants