-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat: Prepare Major Release / Toggle session tracking flag #3099
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
Conversation
Gatsby/Ember/Angular/React/Vue
size-limit report
|
packages/ember/addon/index.ts
Outdated
| assert('Missing configuration for Sentry.', config.sentry); | ||
|
|
||
| const initConfig = Object.assign({}, config.sentry, _runtimeConfig || {}); | ||
| if (initConfig.autoSessionTracking === undefined) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unnecessary, as we call Sentry.init which already does that 3 lines below.
packages/vue/src/sdk.ts
Outdated
| if (options.defaultIntegrations === undefined) { | ||
| options.defaultIntegrations = defaultIntegrations; | ||
| } | ||
| if (options.autoSessionTracking === undefined) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder why we call Sentry.init in Ember, but not in Vue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Vue.js we overwrite init to initialize the helper.
This PR makes session tracking / release health enabled by default for all frontend SDKs.
After this is merged we need to prepare a major version bump.