Skip to content

Commit 8bae662

Browse files
authored
Merge pull request #1711 from bugsnag/android-5220
Bump bugsnag-android dependency to v5.22.0
2 parents 59e4de9 + 7e0eeb4 commit 8bae662

File tree

3 files changed

+21
-4
lines changed

3 files changed

+21
-4
lines changed

CHANGELOG.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,29 @@
44

55
### Changed
66

7-
- (react-native) Update bugsnag-android to v5.20.0
7+
- (react-native) Update bugsnag-android to v5.22.0
88
- The number of threads reported can now be limited using `Configuration.setMaxReportedThreads` (defaulting to 200)
99
[bugsnag-android#1607](https://github.com/bugsnag/bugsnag-android/pull/1607)
1010
- Improved the performance and stability of the NDK and ANR plugins by caching JNI references on start
1111
[bugsnag-android#1596](https://github.com/bugsnag/bugsnag-android/pull/1596)
1212
[bugsnag-android#1601](https://github.com/bugsnag/bugsnag-android/pull/1601)
13+
- Fix inconsistencies in stack trace quality for C/C++ events. Resolves a few
14+
cases where file and line number information was not resolving to the correct
15+
locations. This change may result in grouping changes to more correctly
16+
highlight the root cause of an event.
17+
[bugsnag-android#1605](https://github.com/bugsnag/bugsnag-android/pull/1605)
18+
[bugsnag-android#1606](https://github.com/bugsnag/bugsnag-android/pull/1606)
19+
- Fixed an issue where an uncaught exception on the main thread could in rare cases trigger an ANR.
20+
[bugsnag-android#1624](https://github.com/bugsnag/bugsnag-android/pull/1624)
21+
- Added `Bugsnag.isStarted()` to test whether the Bugsnag client is in the middle of initializing. This can be used to guard uses of the Bugsnag API that are either on separate threads early in the app's start-up and so not guaranteed to be executed after `Bugsnag.start` has completed, or where Bugsnag may not have been started at all due to some internal app logic.
22+
[slack-jallen](https://github.com/slack-jallen):[#1621](https://github.com/bugsnag/bugsnag-android/pull/1621)
23+
[bugsnag-android#1640](https://github.com/bugsnag/bugsnag-android/pull/1640)
24+
- Events and Sessions will be discarded if they cannot be uploaded and are older than 60 days or larger than 1MB
25+
[bugsnag-android#1633](https://github.com/bugsnag/bugsnag-android/pull/1633)
26+
- Fixed potentially [thread-unsafe access](https://github.com/bugsnag/bugsnag-android/issues/883) when invoking `Bugsnag` static methods across different threads whilst `Bugsnag.start` is still in-flight. It is now safe to call any `Bugsnag` static method once `Bugsnag.start` has _begun_ executing, as access to the client singleton is controlled by a lock, so the new `isStarted` method (see above) should only be required where it cannot be determined whether the call to `Bugsnag.start` has begun or you do not want to wait.
27+
- [bugsnag-android#1638](https://github.com/bugsnag/bugsnag-android/pull/1638)
28+
- Calling `bugsnag_event_set_context` with NULL `context` correctly clears the event context again
29+
[bugsnag-android#1637](https://github.com/bugsnag/bugsnag-android/pull/1637)
1330

1431
### Fixed
1532

packages/react-native/android/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ android {
3939
}
4040

4141
dependencies {
42-
api "com.bugsnag:bugsnag-android:5.20.0"
43-
api "com.bugsnag:bugsnag-plugin-react-native:5.20.0"
42+
api "com.bugsnag:bugsnag-android:5.22.0"
43+
api "com.bugsnag:bugsnag-plugin-react-native:5.22.0"
4444
implementation 'com.facebook.react:react-native:+'
4545

4646
testImplementation "junit:junit:4.12"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
version
2-
5.20.0
2+
5.22.0

0 commit comments

Comments
 (0)