-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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(core): Deprecate getCurrentHub()
#10200
Conversation
packages/core/test/lib/scope.test.ts
Outdated
@@ -528,6 +528,7 @@ describe('withActiveSpan()', () => { | |||
const client = new TestClient(options); | |||
const scope = new Scope(); | |||
const hub = new Hub(client, scope); | |||
// eslint-disable-next-line deprecation/deprecation | |||
makeMain(hub); |
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.
oops, I think this lint error sneaked in to develop @lforst
size-limit report 📦
|
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.
here we go!!!!
Instead, users should use the direct replacement of the hub method.
405d803
to
1339043
Compare
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.
RIP
Instead, users should use the direct replacement of the hub method.
This feels like a very big step! Goodbye Hub!