We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Sentry.currentHub
1 parent cc6b2eb commit 2bf8577Copy full SHA for 2bf8577
CHANGELOG.md
@@ -1,5 +1,7 @@
1
# Unreleased
2
3
+* Remove `Sentry.currentHub` (#490)
4
+
5
# 5.1.0
6
7
* Fix: Merge user from event and scope (#467)
dart/lib/src/sentry.dart
@@ -24,13 +24,6 @@ class Sentry {
24
25
Sentry._();
26
27
- /// Returns the current hub
28
- @Deprecated(
29
- 'This is scheduled to be removed in Sentry v6.0.0. '
30
- 'Instead of currentHub you should use Sentry\'s static methods.',
31
- )
32
- static Hub get currentHub => _hub;
33
-
34
/// Initializes the SDK
35
/// passing a [AppRunner] callback allows to run the app within its own error
36
/// zone ([`runZonedGuarded`](https://api.dart.dev/stable/2.10.4/dart-async/runZonedGuarded.html))
0 commit comments