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
2 changes: 1 addition & 1 deletion docs/design/plans/2026-09-16-implementation-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Every phase's requirements implicitly include this section.

- React Native floor **0.81.0**, New Architecture required. No `oldarch` source set, no legacy bridge fallback. 0.81 still allows opting out of the New Architecture; that is a documented requirement on the consumer, not a second code path. Hard technical floor is 0.80 (`codegenConfig.ios.modulesProvider`).
- Android SDK **7.6.0** (7.3.0 first, pinned transitionally as `7.3.0-SNAPSHOT` while that release was pending — see Phase 3's rulings; 7.3.1 fixes bugsee-android #214–#221; beta validation pinned `7.3.2-SNAPSHOT`, bugsee-android main plus PR #265, released as 7.4.0; 7.4.1 adds the touch-capture fix for bugsee-android #267; 7.4.2 adds the lifecycle and secure-rectangle work the beta campaign ran against), Gradle plugin **4.0.8** (4.0.7 first; 4.0.8 uploads native symbols from the unstripped `merged_native_libs`, independent of `debugSymbolLevel`, with a bugsee-cli floor of 0.8.1), pinned exactly. Neither older pin carries what this wrapper needs: 7.2.0 has no wrapper channel, report-contract methods, `BugseeReportHandlerThread` or `com.bugsee.option.$$WRAPPER` consumer, and 4.0.6 strips every extension's provider (workbook 1.4). The plugin marker resolves from **Maven Central**, not the Gradle Plugin Portal.
- Android SDK **7.6.0** (7.3.0 first, pinned transitionally as `7.3.0-SNAPSHOT` while that release was pending — see Phase 3's rulings; 7.3.1 fixes bugsee-android #214–#221; beta validation pinned `7.3.2-SNAPSHOT`, bugsee-android main plus PR #265, released as 7.4.0; 7.4.1 adds the touch-capture fix for bugsee-android #267; 7.4.2 adds the lifecycle and secure-rectangle work the beta campaign ran against), Gradle plugin **4.1.1** (4.0.7 first; 4.0.8 uploads native symbols from the unstripped `merged_native_libs`, independent of `debugSymbolLevel`, with a bugsee-cli floor of 0.8.1; 4.1.0 requires AGP 8.6 and Gradle 8.7 or newer; 4.1.1 keeps native crash capture working when the SDK is declared in another module), pinned exactly. Neither older pin carries what this wrapper needs: 7.2.0 has no wrapper channel, report-contract methods, `BugseeReportHandlerThread` or `com.bugsee.option.$$WRAPPER` consumer, and 4.0.6 strips every extension's provider (workbook 1.4). The plugin marker resolves from **Maven Central**, not the Gradle Plugin Portal.
- iOS SDK **7.1.0** from `https://github.com/bugsee/spm`, requirement `exact`. SwiftPM will not admit a prerelease into a range. iOS deployment target **15.0**.
- Package `@bugsee/react-native`. `toSwiftName` maps it to `ReactNative`, which is **reserved**, so `react-native.config.js` pins `spm: { name: 'BugseeReactNative' }` and the SPM product name must match exactly.
- All native versions live in **one** file, `native-versions.json`, consumed by the podspec, `Package.swift` and the Gradle module. The SPM pin and podspec URL must never disagree.
Expand Down
21 changes: 21 additions & 0 deletions docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,27 @@ Newest first. The npm packages `@bugsee/react-native` and `@bugsee/react-native-
the same version. Each version also has a GitHub release with the packed tarballs and the generated list
of merged pull requests.

## 7.0.0-beta5

Native SDKs: **Android 7.6.0** (Gradle plugin **4.1.1**), **iOS 7.1.0**. npm dist-tags `beta` and `latest`.

### Gradle plugin 4.1.1

The package now builds against Bugsee Gradle plugin 4.1.1 (it was 4.0.8). This is what the Expo config
plugin declares by default and what the README tells bare apps to apply.

- The plugin requires **AGP 8.6 or newer and Gradle 8.7 or newer** (Gradle 9 is supported) and fails
early with a readable message otherwise.
- Native symbols are still uploaded from the unstripped libraries, and an upload that did not change is
skipped on the next build.
- Opt in to failing the build when an upload does not complete with `failOnUploadError` in the `bugsee { }`
block.
- 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.
- Native crash capture keeps working when the Bugsee SDK is declared in another module.

If you pin the plugin yourself, use 4.1.1: `id 'com.bugsee.android.gradle' version '4.1.1' apply false`.

## 7.0.0-beta4

Native SDKs: **Android 7.6.0** (Gradle plugin 4.0.8), **iOS 7.1.0**. npm dist-tags `beta` and `latest`.
Expand Down
4 changes: 2 additions & 2 deletions examples/bare/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ plugins {
// 'com.android.library' first!", since it hangs its tasks off an Android
// variant. The token file still belongs to this directory, the root
// project, not to app/.
id 'com.bugsee.android.gradle' version '4.0.8' apply false
id 'com.bugsee.android.gradle' version '4.1.1' apply false
}

// The token lives in bugsee.properties next to this file — the *root* Gradle
Expand All @@ -40,7 +40,7 @@ plugins {
def nativeVersions = new groovy.json.JsonSlurper().parse(file("../../../native-versions.json"))

def pinned = nativeVersions.android.gradlePlugin
def applied = '4.0.8'
def applied = '4.1.1'
if (pinned != applied) {
throw new GradleException(
"Bugsee Gradle plugin is pinned to ${pinned} in native-versions.json " +
Expand Down
2 changes: 1 addition & 1 deletion native-versions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"android": {
"sdk": "7.6.0",
"gradlePlugin": "4.0.8"
"gradlePlugin": "4.1.1"
},
"ios": {
"sdk": "7.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native-feedback/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ do not have to depend on this package.

## Status: beta

At the same version as `@bugsee/react-native` (`7.0.0-beta4`); the npm `latest` and `beta` tags
At the same version as `@bugsee/react-native` (`7.0.0-beta5`); the npm `latest` and `beta` tags
both point at it for now. Install both with `@beta` to keep following betas. The two must be the
same release.

Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-feedback/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bugsee/react-native-feedback",
"version": "7.0.0-beta4",
"version": "7.0.0-beta5",
"description": "In-app feedback UI for the Bugsee React Native SDK",
"license": "MIT",
"homepage": "https://www.bugsee.com",
Expand All @@ -19,7 +19,7 @@
"README.md"
],
"peerDependencies": {
"@bugsee/react-native": "^7.0.0-beta4",
"@bugsee/react-native": "^7.0.0-beta5",
"react": "*",
"react-native": ">=0.81.0"
},
Expand Down
7 changes: 5 additions & 2 deletions packages/react-native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ added.

## Status: beta

This is a beta (`7.0.0-beta4`), built on the 7.x native SDKs (Android 7.6.0, iOS 7.1.0). `latest` and `beta` both point at it for now, so a plain
This is a beta (`7.0.0-beta5`), built on the 7.x native SDKs (Android 7.6.0, iOS 7.1.0). `latest` and `beta` both point at it for now, so a plain
`yarn add @bugsee/react-native` installs it; the `@beta` form in [Install](#install)
keeps following betas once a stable release exists. The API can still change
between betas.
Expand Down Expand Up @@ -599,10 +599,13 @@ against (`android.gradlePlugin` in

```groovy
plugins {
id 'com.bugsee.android.gradle' version '4.0.8' apply false
id 'com.bugsee.android.gradle' version '4.1.1' apply false
}
```

Plugin 4.1.x needs the Android Gradle Plugin 8.6 or newer and Gradle 8.7 or newer (Gradle 9 is
supported); on older ones the build fails early with a message saying so.

`android/app/build.gradle` — apply it, and for native crash symbols add the
NDK module at the SDK version the package pins. No `ndk.debugSymbolLevel` is
needed for Bugsee ([Native symbols](#native-symbols-android)); set one only
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ + (instancetype)wrapperWithoutJsRuntime {
// test compares the three so they cannot drift.
return [self wrapperWithIdentity:@{
@"type" : @"react_native",
@"version" : @"7.0.0-beta4",
@"version" : @"7.0.0-beta5",
@"context" : @{},
}];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ - (void)testHasNoContextWhenNoneWasSupplied {
- (void)testWithoutJsRuntimeCarriesOnlyTypeAndVersion {
BGSRNWrapper *wrapper = [BGSRNWrapper wrapperWithoutJsRuntime];
XCTAssertEqualObjects(wrapper.wrapperType, @"react_native");
XCTAssertEqualObjects(wrapper.wrapperVersion, @"7.0.0-beta4");
XCTAssertEqualObjects(wrapper.wrapperVersion, @"7.0.0-beta5");
XCTAssertNil(wrapper.wrapperBuild);
XCTAssertEqual(wrapper.context.count, (NSUInteger)0);
}
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bugsee/react-native",
"version": "7.0.0-beta4",
"version": "7.0.0-beta5",
"description": "Bugsee SDK for React Native",
"license": "MIT",
"homepage": "https://www.bugsee.com",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/plugin/build/index.js

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

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"sdk": "7.6.0",
"gradlePlugin": "4.0.8"
"gradlePlugin": "4.1.1"
}
2 changes: 1 addition & 1 deletion packages/react-native/plugin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -387,4 +387,4 @@ export function listSchemes(iosRoot: string): string[] {
return schemes;
}

export default createRunOncePlugin(withBugsee, '@bugsee/react-native', '7.0.0-beta4');
export default createRunOncePlugin(withBugsee, '@bugsee/react-native', '7.0.0-beta5');
4 changes: 2 additions & 2 deletions scripts/__tests__/github-release.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function run(setup: Setup = {}) {
});
writeFileSync(
join(root, 'native-versions.json'),
JSON.stringify({ android: { sdk: '7.6.0', gradlePlugin: '4.0.8' }, ios: { sdk: '7.1.0' } }),
JSON.stringify({ android: { sdk: '7.6.0', gradlePlugin: '4.1.1' }, ios: { sdk: '7.1.0' } }),
);
const tarballs = join(dir, 'tarballs');
mkdirSync(tarballs);
Expand Down Expand Up @@ -148,7 +148,7 @@ describe('github-release.mjs', () => {
expect(notes).toContain('@bugsee/react-native@7.0.0-beta3');
expect(notes).toContain('@bugsee/react-native-feedback@7.0.0-beta3');
expect(notes).toContain('`beta`, `latest`');
expect(notes).toContain('Android SDK 7.6.0 (Gradle plugin 4.0.8), iOS SDK 7.1.0');
expect(notes).toContain('Android SDK 7.6.0 (Gradle plugin 4.1.1), iOS SDK 7.1.0');
});

it('does not mark a stable version as a prerelease', () => {
Expand Down
2 changes: 1 addition & 1 deletion scripts/__tests__/native-versions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('readNativeVersions', () => {
it('exposes the pinned native versions', () => {
const v = readNativeVersions();
expect(v.android.sdk).toBe('7.6.0');
expect(v.android.gradlePlugin).toBe('4.0.8');
expect(v.android.gradlePlugin).toBe('4.1.1');
// A released pin carries no snapshot provenance.
expect(v.android).not.toHaveProperty('snapshotCommit');
expect(v.ios.sdk).toBe('7.1.0');
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2037,7 +2037,7 @@ __metadata:
dependencies:
react-native: "npm:0.87.1"
peerDependencies:
"@bugsee/react-native": ^7.0.0-beta4
"@bugsee/react-native": ^7.0.0-beta5
react: "*"
react-native: ">=0.81.0"
languageName: unknown
Expand Down
Loading