-
-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Track timezone changes as breadcrumbs (#1930)
* feat: Add automatic timezone change reporting as a breadcrumb * Add a test for the new breadcrumb * Format code * Add changelog entry * Indent with 4 spaces for all source files * Fix testTimezoneChangeBreadcrumb by using the Swiftified name * Actually fix the tests * Improve the start method's logic, prevent duplicate call in case of iOS * Undo indentation change, it'll be in a separate PR * Feature complete, but test is flaky * Format code * timezoneOffset is nullable and shouldn't stop SentryAppState from being instantiated when it's missing on disk * Only run the code in iOS, because it doesn't compile for macOS Provide a default value to deal with test crashes, until we can properly fix the tests * Format code * Deal with timezoneOffset == nil * Commit first set of suggestions * Format code * Add more tests * It works, but tests need to be fixed * Format code * Don't cache fileManager, as it can change when the hub changes * Use currentDateProvider * Format code * Undo * Tests compile again * Fix warning * testTimezoneChangeBreadcrumb is still problematic * Added more tests, and the whole suit runs successfully * Format code * Add more filemanager tests * Format code * One more test Co-authored-by: Sentry Github Bot <bot+github-bot@sentry.io>
- Loading branch information
1 parent
47cee06
commit 53e3805
Showing
16 changed files
with
310 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
# Changelog | ||
|
||
## Unreleased | ||
|
||
### Features | ||
|
||
- Track timezone changes as breadcrumbs (#1930) | ||
|
||
## 7.19.0 | ||
|
||
### Features | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.