Skip to content

Commit

Permalink
Merge branch 'master' into ref/sentry-exception
Browse files Browse the repository at this point in the history
  • Loading branch information
philipphofmann authored Mar 26, 2021
2 parents 4e9c2eb + bbd52a7 commit 9d11092
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Breaking Changes

- ref: Align SentryException with unified API #1026: Replaced `SentryException.thread` with `SentryException.threadId` and `SentryException.stacktrace`.
- ref: Remove deprecated SentryHub.getScope #1025: Use `SentryHub.scope` instead.
- ref: Make closeCachedSessionWithTimestamp private #1022
- ref: Improve envelope API for Hybrid SDKs #1020: We removed `SentryClient.storeEnvelope`, which is reserved for Hybrid SDKs.
- ref: Remove currentHub from SentrySDK #1019: We removed `SentrySDK.currentHub` and `SentrySDK.setCurrentHub`. In case you need this methods, please open up an issue.
Expand Down
5 changes: 0 additions & 5 deletions Sources/Sentry/Public/SentryHub.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,6 @@ SENTRY_NO_INIT
*/
- (SentryClient *_Nullable)getClient;

/**
* Returns either the current scope and if nil a new one.
*/
- (SentryScope *)getScope __deprecated_msg("Use SentryHub.scope instead.");

/**
* Returns either the current scope and if nil a new one.
*/
Expand Down
5 changes: 0 additions & 5 deletions Sources/Sentry/SentryHub.m
Original file line number Diff line number Diff line change
Expand Up @@ -363,11 +363,6 @@ - (SentryScope *)scope
}
}

- (SentryScope *)getScope
{
return self.scope;
}

- (void)configureScope:(void (^)(SentryScope *scope))callback
{
SentryScope *scope = self.scope;
Expand Down

0 comments on commit 9d11092

Please # to comment.