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(v7): Export pluggable integrations from SDK packages #11723
Conversation
@@ -3,7 +3,7 @@ | |||
/* eslint-disable deprecation/deprecation */ | |||
import type { Event, EventProcessor, Hub, Integration } from '@sentry/types'; | |||
import { GLOBAL_OBJ, logger, normalize, uuid4 } from '@sentry/utils'; | |||
import localForage from 'localforage'; | |||
import * as localForage from 'localforage'; |
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.
Without this deno complained at build time, even if this is not used by the package 😬
@@ -35,7 +35,6 @@ | |||
"localforage": "^1.8.1" | |||
}, | |||
"devDependencies": { | |||
"@sentry/browser": "7.111.0", |
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 lead to a circular dependency, and we only used it in a single test for WINDOW
anyhow 😬
size-limit report 📦
|
This exports the functional integrations from
@sentry/integrations
from each package.In v8, the
@sentry/integrations
package will be gone, and the migration path is to just use it from the SDK package itself.