@debugbundle/sdk-react-native 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/DebugBundleReactNative.podspec +2 -2
- package/README.md +2 -2
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/debugbundle/reactnative/DebugBundleReactNativeModule.java +2 -2
- package/app.plugin.js +1 -1
- package/dist/client.js +1 -1
- package/ios/DebugBundleReactNative.swift +2 -2
- package/package.json +1 -1
- package/src/client.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [3.0.1] - 2026-09-26
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Adopt Android 3.0.1 and require Swift 3.0.1 or later in the compatible 3.x line, bringing the native acknowledgement and bounded retry repairs into React Native installs. The TypeScript facade and native bridge APIs are unchanged.
|
|
12
|
+
- Align embedded SDK versions and published-consumer pins with the patch release, and refresh native release and persistence guidance.
|
|
13
|
+
|
|
7
14
|
## [3.0.0] - 2026-09-25
|
|
8
15
|
|
|
9
16
|
### Changed
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Pod::Spec.new do |s|
|
|
2
2
|
s.name = "DebugBundleReactNative"
|
|
3
|
-
s.version = "3.0.
|
|
3
|
+
s.version = "3.0.1"
|
|
4
4
|
s.summary = "React Native wrapper for the DebugBundle mobile SDKs."
|
|
5
5
|
s.license = { :type => "Apache-2.0", :file => "LICENSE" }
|
|
6
6
|
s.author = { "DebugBundle" => "support@debugbundle.com" }
|
|
@@ -12,5 +12,5 @@ Pod::Spec.new do |s|
|
|
|
12
12
|
|
|
13
13
|
s.dependency "React-Core"
|
|
14
14
|
install_modules_dependencies(s) if defined?(install_modules_dependencies)
|
|
15
|
-
s.dependency "DebugBundle", "~> 3.0"
|
|
15
|
+
s.dependency "DebugBundle", "~> 3.0", ">= 3.0.1"
|
|
16
16
|
end
|
package/README.md
CHANGED
|
@@ -142,8 +142,8 @@ checks.
|
|
|
142
142
|
|
|
143
143
|
## Release
|
|
144
144
|
|
|
145
|
-
The package publishes to npm from `v*` tags through GitHub Actions. Configure an npm GitHub Actions trusted publisher for `debugbundle/debugbundle-react-native` and `release.yml`, with a blank environment and direct `npm publish` enabled. Publishing uses OIDC without a long-lived npm token. Make sure the tag matches `package.json` exactly. The
|
|
145
|
+
The package publishes to npm from `v*` tags through GitHub Actions. Configure an npm GitHub Actions trusted publisher for `debugbundle/debugbundle-react-native` and `release.yml`, with a blank environment and direct `npm publish` enabled. Publishing uses OIDC without a long-lived npm token. Make sure the tag matches `package.json` exactly. The 3.0.1 wrapper pins Android 3.0.1 and requires Swift 3.0.1 or later within the compatible 3.x CocoaPods line. `make check-protected-native-pins` checks the wrapper, native pins and embedded SDK versions together. Publish only after the exact Android and Swift artifacts are available and their published-consumer checks pass. The release workflow compiles and runs clean apps against those published artifacts on Android API 37 and Xcode 27 before npm publication.
|
|
146
146
|
|
|
147
|
-
Probe and context native calls share the event bridge's pending count and byte limits, including reserved exception capacity. Saturated auxiliary calls are discarded without evaluating probe suppliers. Probe labels are limited to 128 characters. Persistent JS context retains at most 50 fields with keys up to 128 characters, and field-sensitive privacy runs before local retention and native handoff. Throwing capture context accessors are withheld without escaping into application code.
|
|
147
|
+
Probe and context native calls share the event bridge's pending count and byte limits, including reserved exception capacity. Saturated auxiliary calls are discarded without evaluating probe suppliers. Probe labels are limited to 128 characters. Persistent JS context retains at most 50 fields with keys up to 128 characters, and field-sensitive privacy runs before local retention and native handoff. Throwing capture context accessors are withheld without escaping into application code. The native 3.x SDKs perform queue persistence on their bounded background workers; abrupt process termination before persistence completes can lose admitted events.
|
|
148
148
|
|
|
149
149
|
Version 3 defers optional `beforeSend` callbacks until capture returns. Callbacks run on the JavaScript event loop and must return promptly. Pending preparation and native delivery share bounded count/byte limits; valid expanded replacements may be dropped under pressure. See [the version3 migration guide](MIGRATION-3.0.md).
|
package/android/build.gradle
CHANGED
|
@@ -11,7 +11,7 @@ if (isReactNativeHostBuild) {
|
|
|
11
11
|
def hostKotlinVersion = rootProject.ext.has("kotlinVersion")
|
|
12
12
|
? rootProject.ext.get("kotlinVersion")
|
|
13
13
|
: "2.1.20"
|
|
14
|
-
def debugBundleAndroidVersion = rootProject.findProperty("debugBundleAndroidVersion") ?: "3.0.
|
|
14
|
+
def debugBundleAndroidVersion = rootProject.findProperty("debugBundleAndroidVersion") ?: "3.0.1"
|
|
15
15
|
|
|
16
16
|
android {
|
|
17
17
|
namespace "com.debugbundle.reactnative"
|
|
@@ -199,12 +199,12 @@ public final class DebugBundleReactNativeModule extends ReactContextBaseJavaModu
|
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
private String currentSdkVersion = "3.0.
|
|
202
|
+
private String currentSdkVersion = "3.0.1";
|
|
203
203
|
private String currentService = "react-native-app";
|
|
204
204
|
private String currentEnvironment = "production";
|
|
205
205
|
|
|
206
206
|
private DebugBundleConfig createConfig(ReadableMap config) {
|
|
207
|
-
currentSdkVersion = stringOrDefault(config, "sdkVersion", "3.0.
|
|
207
|
+
currentSdkVersion = stringOrDefault(config, "sdkVersion", "3.0.1");
|
|
208
208
|
currentService = stringOrDefault(config, "service", "react-native-app");
|
|
209
209
|
currentEnvironment = stringOrDefault(config, "environment", "production");
|
|
210
210
|
return DebugBundleConfig.create(
|
package/app.plugin.js
CHANGED
package/dist/client.js
CHANGED
|
@@ -3,7 +3,7 @@ import { applyBeforeSend } from "./before-send.js";
|
|
|
3
3
|
import { defaultRedactFields, DEFAULT_HEADER_ALLOWLIST, sanitizeHeaders, sanitizeValue } from "./redaction.js";
|
|
4
4
|
import { sanitizeTelemetry } from "./privacy-telemetry.js";
|
|
5
5
|
const SDK_NAME = "@debugbundle/sdk-react-native";
|
|
6
|
-
const DEFAULT_SDK_VERSION = "3.0.
|
|
6
|
+
const DEFAULT_SDK_VERSION = "3.0.1";
|
|
7
7
|
const MAX_PENDING_NATIVE_CALLS = 256;
|
|
8
8
|
const MAX_PENDING_LOW_PRIORITY_CALLS = 224;
|
|
9
9
|
const MAX_PENDING_NATIVE_BYTES = 4 * 1024 * 1024;
|
|
@@ -4,7 +4,7 @@ import DebugBundle
|
|
|
4
4
|
|
|
5
5
|
@objc(DebugBundleReactNative)
|
|
6
6
|
final class DebugBundleReactNative: NSObject {
|
|
7
|
-
private var currentSDKVersion = "3.0.
|
|
7
|
+
private var currentSDKVersion = "3.0.1"
|
|
8
8
|
private var currentService = "react-native-app"
|
|
9
9
|
private var currentEnvironment = "production"
|
|
10
10
|
|
|
@@ -14,7 +14,7 @@ final class DebugBundleReactNative: NSObject {
|
|
|
14
14
|
resolver resolve: @escaping RCTPromiseResolveBlock,
|
|
15
15
|
rejecter reject: @escaping RCTPromiseRejectBlock
|
|
16
16
|
) {
|
|
17
|
-
currentSDKVersion = config["sdkVersion"] as? String ?? "3.0.
|
|
17
|
+
currentSDKVersion = config["sdkVersion"] as? String ?? "3.0.1"
|
|
18
18
|
currentService = config["service"] as? String ?? "react-native-app"
|
|
19
19
|
currentEnvironment = config["environment"] as? String ?? "production"
|
|
20
20
|
let sdkConfig = DebugBundleConfig(
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -19,7 +19,7 @@ import type {
|
|
|
19
19
|
} from "./types.js";
|
|
20
20
|
|
|
21
21
|
const SDK_NAME = "@debugbundle/sdk-react-native" as const;
|
|
22
|
-
const DEFAULT_SDK_VERSION = "3.0.
|
|
22
|
+
const DEFAULT_SDK_VERSION = "3.0.1";
|
|
23
23
|
const MAX_PENDING_NATIVE_CALLS = 256;
|
|
24
24
|
const MAX_PENDING_LOW_PRIORITY_CALLS = 224;
|
|
25
25
|
const MAX_PENDING_NATIVE_BYTES = 4 * 1024 * 1024;
|