You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The upgrade from @c15t/react v1.8.5 to v2.0.0 is a major release with significant breaking changes that require code modifications and a new approach to styling and script management.
Key Breaking Changes:
New Styling System: Version 2.0 replaces the v1 css-in-js theme objects with a new token-based styling system. Styling is now applied by importing a CSS stylesheet (e.g., @c15t/react/styles.css) instead of using theme objects. This will require a complete refactor of any custom styling.
Tracking Blocker Removed: The deprecated tracking blocker functionality has been removed and is replaced by a new, more capable Script Loader system. Implementations using the old tracking blocker must be migrated to the new script loader API.
Policy-Driven Consent: A new "Policy Packs" system for managing regional consent behavior replaces the previous "one-size-fits-all" model, which may require changes to your consent strategy configuration.
New c15t CLI with Codemods: The official CLI tool has been updated and includes codemods to assist with the migration from v1 to v2, indicating the substantial nature of the required changes.
Source: Changelog v2.0.0 Recommendation: This is a high-effort upgrade. Do not merge without a dedicated effort to refactor styling, adopt the new script loader, and review the new policy-driven consent system. It is highly recommended to use the c15t CLI's codemods to assist with the migration.
Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.
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
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.
Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
docs/package.jsondocs/package-lock.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-OPENTELEMETRYPROPAGATORJAEGER-17901201
Breaking Change Risk
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Uncaught Exception