@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 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.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 next protected release requires a matching 2.x wrapper/Swift pod line and a published Android 2.x BOM/module pin. `make check-protected-native-pins` refuses the current 1.x source line; update the wrapper version, native pins, and embedded SDK versions together only after the exact Android and Swift artifacts are available to Maven Central and CocoaPods consumers. The release workflow then compiles and runs clean apps against those published artifacts on Android API 37 and Xcode 27 before npm publication.
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. These bounds do not move native SDK persistence off its caller thread.
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).
@@ -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.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.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.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
@@ -49,4 +49,4 @@ function withAndroidDesugaring(contents) {
49
49
  return next;
50
50
  }
51
51
 
52
- export default createRunOncePlugin(withDebugBundle, "@debugbundle/sdk-react-native", "3.0.0");
52
+ export default createRunOncePlugin(withDebugBundle, "@debugbundle/sdk-react-native", "3.0.1");
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.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.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.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@debugbundle/sdk-react-native",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "React Native SDK for DebugBundle mobile event capture.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
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.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;