Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.7.1

This release fixes an Android build failure for consumers whose Kotlin compiler is older than the version `raygun4android` was compiled against (notably Expo SDK 55 / React Native 0.81, which pin Kotlin 2.1.20).

- fix: exclude `kotlin-stdlib` from `raygun4android` to avoid forcing a stdlib upgrade on the host app (#237)

## 1.7.0

This release adds a new `RaygunErrorBoundary` React component for capturing render-time errors with the React `componentStack`, upgrades the underlying native SDKs (`raygun4android` 5.2.1, `raygun4apple` 2.1.6), modernises the Android build for Gradle 9 / AGP 8.x (`compileSdkVersion 36`), and refreshes the demo projects to React Native 0.84.
Expand Down
2 changes: 1 addition & 1 deletion demo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@react-native-community/checkbox": "^0.5.20",
"@react-navigation/bottom-tabs": "^7.15.2",
"@react-navigation/native": "^7.2.2",
"raygun4reactnative": "file:raygun4reactnative-1.7.0.tgz",
"raygun4reactnative": "file:raygun4reactnative-1.7.1.tgz",
"react": "19.2.3",
"react-native": "^0.84.1",
"react-native-safe-area-context": "^5.4.1",
Expand Down
9 changes: 8 additions & 1 deletion sdk/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,14 @@ repositories {
dependencies {
//noinspection GradleDynamicVersion
implementation 'com.facebook.react:react-android:+'
implementation 'com.raygun:raygun4android:5.2.1'
// Exclude kotlin-stdlib so the host app's Kotlin version wins conflict resolution.
// raygun4android's stdlib (currently 2.3.0) would otherwise force-upgrade stdlib for
// every other module in the graph, breaking builds whose Kotlin compiler is older
// (e.g. React Native 0.81 / Expo SDK 55 pin Kotlin 2.1.20, which cannot read 2.3.0
// metadata). See https://github.com/MindscapeHQ/raygun4reactnative/issues/237.
implementation('com.raygun:raygun4android:5.2.1') {
exclude group: 'org.jetbrains.kotlin', module: 'kotlin-stdlib'
}
implementation 'com.jakewharton.timber:timber:4.7.1'
}

Expand Down
2 changes: 1 addition & 1 deletion sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "raygun4reactnative",
"title": "Raygun4reactnative",
"version": "1.7.0",
"version": "1.7.1",
"description": "Raygun React Native SDK",
"main": "dist/index.js",
"typescript": {
Expand Down
Loading