Skip to content

Commit 72b0956

Browse files
author
getsentry-bot
committed
Merge branch 'release/7.0.0-beta.1' into v7
2 parents d2b419e + 0cafc63 commit 72b0956

19 files changed

Lines changed: 70 additions & 33 deletions

File tree

CHANGELOG.md

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,46 @@
66
> make sure you follow our [migration guide](https://docs.sentry.io/platforms/react-native/migration/) first.
77
<!-- prettier-ignore-end -->
88
9-
## Unreleased
9+
## 7.0.0-beta.1
1010

11-
#### Features
11+
### Upgrading from 6.x to 7.0
12+
13+
Version 7 of the Sentry React Native SDK primarily introduces API cleanup and version support changes based on the Sentry Javascript SDK version 9. This update contains behavioral changes that will not be caught by type checkers, linters, or tests, so we recommend carefully reading through the entire migration guide instead of relying on automatic tooling.
14+
15+
Version 7 of the SDK is compatible with Sentry self-hosted versions 24.4.2 or higher (unchanged from v6). Lower versions may continue to work, but may not support all features.
16+
17+
### Major Changes
18+
19+
- Set `{{auto}}` if `user.ip_address` is `undefined` and `sendDefaultPii: true` ([#4466](https://github.com/getsentry/sentry-react-native/pull/4466))
20+
- `Sentry.captureUserFeedback` removed, use `Sentry.captureFeedback` instead ([#4855](https://github.com/getsentry/sentry-react-native/pull/4855))
21+
22+
### Major Changes from Sentry JS SDK v9
23+
24+
- Exceptions from `captureConsoleIntegration` are now marked as handled: true by default
25+
- `shutdownTimeout` moved from `core` to `@sentry/react-native`
26+
- `hasTracingEnabled` was renamed to `hasSpansEnabled`
27+
- You can no longer drop spans or return null on `beforeSendSpan` hook
28+
- Fork `scope` if custom scope is passed to `startSpanManual` or `startSpan`
29+
30+
#### Removed types
31+
32+
- TransactionNamingScheme
33+
- Request
34+
- Scope (prefer using the Scope class)
35+
36+
#### Other removed items.
37+
38+
- `autoSessionTracking` from options.
39+
To enable session tracking, ensure that `enableAutoSessionTracking` is enabled.
40+
- `enableTracing`. Instead, set `tracesSampleRate` to a value greater than `zero` to `enable tracing`, `0` to keep tracing integrations active without sampling, or `undefined` to disable the performance integration.
41+
- `getCurrentHub()`, `Hub`, and `getCurrentHubShim()`
42+
- `spanId` from propagation `context`
43+
- metrics API
44+
- `transactionContext` from `samplingContext`
45+
- `@sentry/utils` package, the exports were moved to `@sentry/core`
46+
- Standalone `Client` interface & deprecate `BaseClient`
47+
48+
### Features
1249

1350
- Add experimental support for Log tracing ([#4827](https://github.com/getsentry/sentry-react-native/pull/4827))
1451

dev-packages/e2e-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sentry-react-native-e2e-tests",
3-
"version": "7.0.0-beta.0",
3+
"version": "7.0.0-beta.1",
44
"private": true,
55
"description": "Sentry React Native End to End Tests Library",
66
"main": "dist/index.js",
@@ -14,7 +14,7 @@
1414
"@babel/preset-env": "^7.25.3",
1515
"@babel/preset-typescript": "^7.18.6",
1616
"@sentry/core": "9.22.0",
17-
"@sentry/react-native": "7.0.0-beta.0",
17+
"@sentry/react-native": "7.0.0-beta.1",
1818
"@types/node": "^20.9.3",
1919
"@types/react": "^18.2.64",
2020
"appium": "2.4.1",

dev-packages/type-check/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sentry-react-native-type-check",
33
"private": true,
4-
"version": "7.0.0-beta.0",
4+
"version": "7.0.0-beta.1",
55
"scripts": {
66
"type-check": "./run-type-check.sh"
77
}

dev-packages/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sentry-react-native-samples-utils",
3-
"version": "7.0.0-beta.0",
3+
"version": "7.0.0-beta.1",
44
"description": "Internal Samples Utils",
55
"main": "index.js",
66
"license": "MIT",

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"version": "7.0.0-beta.0",
3+
"version": "7.0.0-beta.1",
44
"packages": [
55
"packages/*",
66
"dev-packages/*",

packages/core/android/src/main/java/io/sentry/react/RNSentryVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
class RNSentryVersion {
44
static final String REACT_NATIVE_SDK_PACKAGE_NAME = "npm:@sentry/react-native";
5-
static final String REACT_NATIVE_SDK_PACKAGE_VERSION = "7.0.0-beta.0";
5+
static final String REACT_NATIVE_SDK_PACKAGE_VERSION = "7.0.0-beta.1";
66
static final String NATIVE_SDK_NAME = "sentry.native.android.react-native";
77
static final String ANDROID_SDK_NAME = "sentry.java.android.react-native";
88
static final String REACT_NATIVE_SDK_NAME = "sentry.javascript.react-native";

packages/core/ios/RNSentryVersion.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
NSString *const NATIVE_SDK_NAME = @"sentry.cocoa.react-native";
44
NSString *const REACT_NATIVE_SDK_NAME = @"sentry.javascript.react-native";
55
NSString *const REACT_NATIVE_SDK_PACKAGE_NAME = @"npm:@sentry/react-native";
6-
NSString *const REACT_NATIVE_SDK_PACKAGE_VERSION = @"7.0.0-beta.0";
6+
NSString *const REACT_NATIVE_SDK_PACKAGE_VERSION = @"7.0.0-beta.1";

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@sentry/react-native",
33
"homepage": "https://github.com/getsentry/sentry-react-native",
44
"repository": "https://github.com/getsentry/sentry-react-native",
5-
"version": "7.0.0-beta.0",
5+
"version": "7.0.0-beta.1",
66
"description": "Official Sentry SDK for react-native",
77
"typings": "dist/js/index.d.ts",
88
"types": "dist/js/index.d.ts",

packages/core/src/js/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export const SDK_PACKAGE_NAME = 'npm:@sentry/react-native';
22
export const SDK_NAME = 'sentry.javascript.react-native';
3-
export const SDK_VERSION = '7.0.0-beta.0';
3+
export const SDK_VERSION = '7.0.0-beta.1';

performance-tests/TestAppPlain/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "TestAppPlain",
3-
"version": "7.0.0-beta.0",
3+
"version": "7.0.0-beta.1",
44
"private": true,
55
"scripts": {
66
"android": "react-native run-android",

0 commit comments

Comments
 (0)