From a127f0925f644d11d9cf62ebe1ac0c25547ae444 Mon Sep 17 00:00:00 2001 From: Alexey Karimov Date: Tue, 17 Nov 2026 13:15:02 +0500 Subject: [PATCH] docs(react-native): 7.0.0-beta5 release notes and Gradle plugin 4.1.1 Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01Ws1LS4EaUy9s7QaKsfyvb4 Change-Id: I154673140d2815919ed160a8c30ca7d1b830cf9b --- docs/sdk/react_native/expo.mdx | 2 +- docs/sdk/react_native/feedback.md | 2 +- docs/sdk/react_native/migration.mdx | 2 +- docs/sdk/react_native/overview.mdx | 4 ++-- docs/sdk/react_native/release-notes.md | 19 +++++++++++++++++++ .../react_native/symbolication/android.mdx | 8 ++++---- .../react_native/symbolication/overview.mdx | 4 ++-- 7 files changed, 30 insertions(+), 11 deletions(-) diff --git a/docs/sdk/react_native/expo.mdx b/docs/sdk/react_native/expo.mdx index 0b48969..4d4d612 100644 --- a/docs/sdk/react_native/expo.mdx +++ b/docs/sdk/react_native/expo.mdx @@ -86,7 +86,7 @@ See [Installation](/sdk/react_native/installation#4-launch-bugsee) for what `lau | `symbolicateReactNativeFrameworks` | boolean | `false` | Make `pod install` download React Native's own dSYMs, so React frames in iOS crashes symbolicate. See [React Native's dSYMs](#react-native-dsyms-on-ios). | | `autoLaunch` | boolean | `false` | Android only. Writes the `com.bugsee.app-token` manifest meta-data, so the native SDK launches at process start. See [Auto-launch on Android](#auto-launch-on-android). | | `endpoint` | string | none (production) | A self-hosted, staging or regional Bugsee API base. See [Custom endpoint](#custom-endpoint). | -| `gradlePluginVersion` | string | the version the package is built against (4.0.8 in `7.0.0-beta4`) | The `com.bugsee.android.gradle` version to declare. | +| `gradlePluginVersion` | string | the version the package is built against (4.1.1 in `7.0.0-beta5`) | The `com.bugsee.android.gradle` version to declare. | ## What the plugin changes diff --git a/docs/sdk/react_native/feedback.md b/docs/sdk/react_native/feedback.md index ffb0873..ad87970 100644 --- a/docs/sdk/react_native/feedback.md +++ b/docs/sdk/react_native/feedback.md @@ -13,7 +13,7 @@ Bugsee includes an in-app chat that lets your users talk to your support team an ## Installation -Add the feedback package next to `@bugsee/react-native`. The two must be the **same release**: install both at the same version, or both with the `@beta` tag. Nothing enforces it: the package's peer dependency accepts any `@bugsee/react-native` from `7.0.0-beta4` on. +Add the feedback package next to `@bugsee/react-native`. The two must be the **same release**: install both at the same version, or both with the `@beta` tag. Nothing enforces it: the package's peer dependency accepts any `@bugsee/react-native` from `7.0.0-beta5` on. ```sh yarn add @bugsee/react-native@beta @bugsee/react-native-feedback@beta diff --git a/docs/sdk/react_native/migration.mdx b/docs/sdk/react_native/migration.mdx index 964b22d..9e9a359 100644 --- a/docs/sdk/react_native/migration.mdx +++ b/docs/sdk/react_native/migration.mdx @@ -13,7 +13,7 @@ This page documents Bugsee React Native SDK **7.x**, which is in beta and can ch ::: :::note -This guide compares `react-native-bugsee` 6.0.x with `@bugsee/react-native` `7.0.0-beta4`. If you are setting up a new project, start from [Installation](/sdk/react_native/installation) instead. +This guide compares `react-native-bugsee` 6.0.x with `@bugsee/react-native` `7.0.0-beta5`. If you are setting up a new project, start from [Installation](/sdk/react_native/installation) instead. ::: This guide walks through every public-API change between the 6.x package (`react-native-bugsee`) and the 7.x package (`@bugsee/react-native`, plus `@bugsee/react-native-feedback` for the feedback chat). diff --git a/docs/sdk/react_native/overview.mdx b/docs/sdk/react_native/overview.mdx index 0ac7bf2..d229788 100644 --- a/docs/sdk/react_native/overview.mdx +++ b/docs/sdk/react_native/overview.mdx @@ -59,11 +59,11 @@ Hermes is required. JavaScriptCore (Hermes off) is not supported: React Native r ## Versions -This beta, `7.0.0-beta4`, is built on these native SDKs: +This beta, `7.0.0-beta5`, is built on these native SDKs: | Platform | Native SDK | Notes | | --- | --- | --- | -| Android | `com.bugsee:bugsee-android` 7.6.0 | Bugsee Gradle plugin 4.0.8 for release uploads and Android network capture | +| Android | `com.bugsee:bugsee-android` 7.6.0 | Bugsee Gradle plugin 4.1.1 for release uploads and Android network capture | | iOS | Bugsee iOS SDK 7.1.0 | A stable release of the iOS SDK | `@bugsee/react-native` 7.x replaces `react-native-bugsee` 6.x. They are different packages with different APIs, not an upgrade in place: remove the old package and follow [Migrating from 6.x to 7.x](/sdk/react_native/migration). diff --git a/docs/sdk/react_native/release-notes.md b/docs/sdk/react_native/release-notes.md index 5bf5cbd..4af46fd 100644 --- a/docs/sdk/react_native/release-notes.md +++ b/docs/sdk/react_native/release-notes.md @@ -13,6 +13,25 @@ Release history for Bugsee React Native SDK 7.x: `@bugsee/react-native` and `@bu Each release lists the native SDKs it is built on. Their own changes are in the native SDK release notes: [Android](/sdk/android/release-notes) and [iOS](/sdk/ios/release-notes). +## 7.0.0-beta5 (November 17 2026) + +Updates the Bugsee Gradle plugin the package builds against to **4.1.1** (it was 4.0.8). There are no changes to the JavaScript API. + +**Changes** + +- **Gradle plugin 4.1.1.** The Expo config plugin declares it by default, and the [installation](/sdk/react_native/installation) and [symbolication](/sdk/react_native/symbolication/android) pages use it for bare apps. If you pin the plugin yourself, set `id 'com.bugsee.android.gradle' version '4.1.1' apply false`. +- **The plugin needs the Android Gradle Plugin 8.6 or newer and Gradle 8.7 or newer** (Gradle 9 is supported). On older versions the build fails early with a message that says so. See [Gradle plugin requirements](/sdk/android/gradle-plugin/requirements). +- **Failing the build on an upload error is now possible.** Set `failOnUploadError` in the `bugsee { }` block to fail the build when a mapping, native symbol or build upload does not complete. By default it still only warns. +- **Native symbols** are still uploaded from the unstripped libraries, and an upload that did not change is skipped on the next build. +- **Uploads honour the JVM proxy settings,** secrets such as the app token stay out of build logs, and the plugin falls back to an installed `bugsee-cli` when the download fails. +- `@bugsee/react-native-feedback` requires `@bugsee/react-native` `^7.0.0-beta5`. + +**Compatibility** + +- Android: Bugsee Android SDK 7.6.0, Bugsee Gradle plugin 4.1.1. +- iOS: Bugsee iOS SDK 7.1.0. +- `@bugsee/cli` 0.7.12. + ## 7.0.0-beta4 (November 16 2026) Built on Bugsee Android SDK 7.6.0 and Bugsee iOS SDK 7.1.0, the first stable iOS SDK a 7.x release is built on. **Shake-to-report and the Android notification-bar trigger are now off by default.** diff --git a/docs/sdk/react_native/symbolication/android.mdx b/docs/sdk/react_native/symbolication/android.mdx index 2f0f18b..226086a 100644 --- a/docs/sdk/react_native/symbolication/android.mdx +++ b/docs/sdk/react_native/symbolication/android.mdx @@ -82,7 +82,7 @@ The Bugsee Gradle plugin (`com.bugsee.android.gradle`) uploads the R8/ProGuard m It is also what records `fetch` and `XMLHttpRequest` on Android: React Native sends them through OkHttp, and the plugin is what lets the SDK record OkHttp traffic. Without the plugin, those requests are not recorded on Android; see [Network events](/sdk/react_native/network). -Use the plugin version the package is built against: `android.gradlePlugin` in `node_modules/@bugsee/react-native/native-versions.json`, which is **4.0.8** for `7.0.0-beta4`. Its requirements (Android Gradle Plugin and Gradle versions) are on [Gradle plugin requirements](/sdk/android/gradle-plugin/requirements). +Use the plugin version the package is built against: `android.gradlePlugin` in `node_modules/@bugsee/react-native/native-versions.json`, which is **4.1.1** for `7.0.0-beta5`. Its requirements (Android Gradle Plugin and Gradle versions) are on [Gradle plugin requirements](/sdk/android/gradle-plugin/requirements). **`android/settings.gradle`**: the plugin is published to Maven Central, which Gradle does not search for plugins unless told to: @@ -101,7 +101,7 @@ pluginManagement { ```groovy title="android/build.gradle" plugins { - id 'com.bugsee.android.gradle' version '4.0.8' apply false + id 'com.bugsee.android.gradle' version '4.1.1' apply false } ``` @@ -138,7 +138,7 @@ The plugin's upload tasks, `uploadBugseeMapping`, `uploadBugseeNative` task uploads native symbols. Gradle plugin 4.0.8 reads them from the **unstripped** libraries that the Android Gradle Plugin leaves in `build/intermediates/merged_native_libs/`, keyed by GNU build ID. That makes them independent of `ndk.debugSymbolLevel`: +With `plugin.ndk.enabled=true`, each Release build's `uploadBugseeNative` task uploads native symbols. Gradle plugin 4.0.8 and later read them from the **unstripped** libraries that the Android Gradle Plugin leaves in `build/intermediates/merged_native_libs/`, keyed by GNU build ID. That makes them independent of `ndk.debugSymbolLevel`: - Every library that still has its debug info is uploaded with it, so crash frames get function names and `file:line`. That covers your own native code, and React Native's `libreactnative.so`, which the Maven `react-android` artifact ships with full debug info. - Libraries that ship stripped (Hermes's `libhermesvm.so` from Maven, the Bugsee SDK's own) get their symbol table: function names only. @@ -169,7 +169,7 @@ Then trigger a test crash in the Release build and check the report's frames; se ## Turning uploads off - **Source maps**: `-PbugseeUploadSourcemaps=false`, `bugseeUploadSourcemaps=false` in `android/gradle.properties`, or `BUGSEE_UPLOAD_SOURCEMAPS=false`. -- **Mapping, native symbols and build info**: native symbols follow `plugin.ndk.enabled`, but the Gradle plugin 4.0.8 has no switch for its mapping upload. The Expo config plugin's `uploadSymbols: false` turns all of the plugin's upload tasks off with this line in `android/app/build.gradle`, which a bare app can use too: +- **Mapping, native symbols and build info**: native symbols follow `plugin.ndk.enabled`, but the Gradle plugin 4.1.1 has no switch for its mapping upload. The Expo config plugin's `uploadSymbols: false` turns all of the plugin's upload tasks off with this line in `android/app/build.gradle`, which a bare app can use too: ```groovy title="android/app/build.gradle" tasks.matching { it.name.startsWith('uploadBugsee') }.configureEach { enabled = false } diff --git a/docs/sdk/react_native/symbolication/overview.mdx b/docs/sdk/react_native/symbolication/overview.mdx index 56bffe2..d3474d1 100644 --- a/docs/sdk/react_native/symbolication/overview.mdx +++ b/docs/sdk/react_native/symbolication/overview.mdx @@ -48,9 +48,9 @@ Before upload, the hooks rewrite absolute paths in the map's `sources` to paths | Piece | What it is | What it does here | | --- | --- | --- | -| `@bugsee/cli` | The Bugsee CLI, a dependency of `@bugsee/react-native` (pinned exactly, 0.7.12 in `7.0.0-beta4`). Its binary comes from a platform-specific optional dependency. | Stamps and uploads source maps for the package's build hooks, and uploads dSYMs from the iOS post-action. See [Bugsee CLI](/cli). | +| `@bugsee/cli` | The Bugsee CLI, a dependency of `@bugsee/react-native` (pinned exactly, 0.7.12 in `7.0.0-beta5`). Its binary comes from a platform-specific optional dependency. | Stamps and uploads source maps for the package's build hooks, and uploads dSYMs from the iOS post-action. See [Bugsee CLI](/cli). | | Package build hooks | `scripts/bugsee-sourcemaps.gradle` and `scripts/hermesc-preserve-js.*` (Android), `scripts/bugsee-xcode.sh` (iOS), shipped in the package. | Give each Release bundle a debug ID and upload its source map. They do not need the Bugsee Gradle plugin. | -| Bugsee Gradle plugin | `com.bugsee.android.gradle`, version 4.0.8 for `7.0.0-beta4`. A Gradle plugin, so autolinking cannot add it. | Uploads the R8 mapping, the native symbols and the build info of each Release build, with its own copy of the CLI. It also instruments OkHttp, which is how `fetch` and `XMLHttpRequest` reach Bugsee's network capture on Android; see [Installation](/sdk/react_native/installation#android). | +| Bugsee Gradle plugin | `com.bugsee.android.gradle`, version 4.1.1 for `7.0.0-beta5`. A Gradle plugin, so autolinking cannot add it. | Uploads the R8 mapping, the native symbols and the build info of each Release build, with its own copy of the CLI. It also instruments OkHttp, which is how `fetch` and `XMLHttpRequest` reach Bugsee's network capture on Android; see [Installation](/sdk/react_native/installation#android). | | iOS bundle phase | Xcode's **Bundle React Native code and images** phase, pointed at `bugsee-xcode.sh` instead of React Native's `react-native-xcode.sh`. | Runs React Native's script, then stamps and uploads the source map. | | iOS Archive post-action | A Run Script in the scheme's **Archive** post-actions that runs `bugsee-cli xcode post-action`. | Registers the build and uploads its dSYMs, React Native's included when they are in the Archive. See [iOS build publishing](/cli/xcode). | | Expo config plugin | `@bugsee/react-native` in the `plugins` of `app.json`. | Writes all of the above on `expo prebuild`. React Native's dSYMs are opt-in, with `symbolicateReactNativeFrameworks`. See [Expo](/sdk/react_native/expo#what-the-plugin-changes). |