Skip to content

Conversation

@chenxzhang
Copy link
Collaborator

@chenxzhang chenxzhang commented Oct 24, 2025

#1326

When using opt-in consent mode with multiple non-consented integrations, only the last integration would be filtered.
This PR fixes the bug by filtering on cdnSettingsCopy.remotePlugins

  • I've included a changeset (psst. run yarn changeset. Read about changesets here).

@changeset-bot
Copy link

changeset-bot bot commented Oct 24, 2025

🦋 Changeset detected

Latest commit: 1f14091

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@segment/analytics-consent-tools Patch
@segment/analytics-consent-wrapper-onetrust Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov
Copy link

codecov bot commented Oct 24, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.19%. Comparing base (235ddf9) to head (1f14091).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1328   +/-   ##
=======================================
  Coverage   91.19%   91.19%           
=======================================
  Files         163      163           
  Lines        4383     4383           
  Branches     1052     1052           
=======================================
  Hits         3997     3997           
  Misses        386      386           
Flag Coverage Δ
browser 92.21% <ø> (ø)
core 89.86% <ø> (ø)
node 87.93% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@chenxzhang chenxzhang merged commit 1e26961 into master Oct 24, 2025
7 checks passed
@chenxzhang chenxzhang deleted the LIBRARIES-2885/fix-filtering branch October 24, 2025 19:53
@github-actions github-actions bot mentioned this pull request Oct 24, 2025
aalkhodiry added a commit to nayla-finance/analytics-next that referenced this pull request Nov 2, 2025
* Small repo chores (segmentio#1289)

* Migrate consent integration tests to Playwright (segmentio#1292)

Co-authored-by: Neelkanth Kaushik <[email protected]>

* Fix jira automation (segmentio#1301)

* Update Node.js version to ^20 across the repository (segmentio#1307)

* Expose BaseUserTraits (segmentio#1306)

* change to minor release (segmentio#1310)

* Version Packages (segmentio#1309)

* Update to use new signals specification (segmentio#1311)

* Move signals packages out of repo (segmentio#1315)

* Add architecture documentation (segmentio#1319)

* Update dependencies for snyk issues (segmentio#1321)

* Remove github signals docs folder (segmentio#1322)

* Fix filtering of non-consented device mode integrations (segmentio#1328)

* Version Packages (segmentio#1329)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update RELEASING.md on how to rotate npm tokens (segmentio#1330)

---------

Co-authored-by: Seth Silesky <[email protected]>
Co-authored-by: Neelkanth Kaushik <[email protected]>
Co-authored-by: Chenxiang Zhang <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

3 participants