Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Sentry Javascript V9 #840

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

feat: Sentry Javascript V9 #840

wants to merge 3 commits into from

Conversation

lucas-zimerman
Copy link
Collaborator

@lucas-zimerman lucas-zimerman commented Feb 11, 2025

The V9 change introduces break changes, but not as heavy as V8, making it without any break changes to some users.

  • Main break changes
  • Typescript bumped to V5
  • ES2018 bumped to ES2020
  • SDK initialization with VUE
  • sentry/utils no longer exists, main features were moved to sentry/core
  • JavaScript SDK now accepts multiple versions in parallel (not sure how it will behave)

Fixes #819
Fixes #837

Copy link
Contributor

github-actions bot commented Feb 11, 2025

Fails
🚫 Please consider adding a changelog entry for the next release.
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Instructions and example for changelog

Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.
Example:

## Unreleased

### Fixes/Features

- Sentry Javascript V9 ([#840](https://github.com/getsentry/sentry-capacitor/pull/840))

If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description.

Generated by 🚫 dangerJS against 9569422

(typeof CAP_GLOBAL_OBJ)['__SENTRY__']
>) = {};
}
const capacitorSiblingCarrier = globalCarriers?.version && globalCarriers['9.0.0'];
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q: should we use the version used by the SDK or the newest carrier?

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.

Implement Sampling Seed Propagation Explicity set user.ip_address: {{auto}}
1 participant