Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
380b389
update migration numbers on changelog (#4594)
lucas-zimerman Feb 25, 2025
9ad6fb8
fix(appStart): Align span description with other platforms (#4636)
krystofwoldrich Mar 10, 2025
f5a43d3
chore(deps): Bump Android SDK to v8.3.0 (#4490)
antonis Mar 13, 2025
077a1bd
Merge branch 'main' into v7
antonis Apr 2, 2025
6eaf70f
feat: Bump to Sentry Javascript V9 (#4568)
lucas-zimerman Apr 15, 2025
90aa098
Feat: V7 - JavaScript V9 Add browser session integration (#4732)
lucas-zimerman Apr 15, 2025
a852e28
chore: remove allowSyntheticDefaultImports from TypeScript configurat…
krystofwoldrich Apr 15, 2025
99b2852
Ref: Use main carrier on useEncodePolyfill (#4731)
lucas-zimerman Apr 15, 2025
51f9b96
chore(deps): v7: Bump Android SDK to v8.6.0 (#4663)
antonis Apr 16, 2025
7a15b00
Merge remote-tracking branch 'origin/main' into v7
krystofwoldrich Apr 16, 2025
2c9bcd9
fix(changelog): Move JS and Android deps to the unreleased section (#…
krystofwoldrich Apr 16, 2025
4fabd63
chore: bump JavaScript SDK to v9.12.0 (#4752)
krystofwoldrich Apr 16, 2025
29876df
fix(sdk): Set `{{auto}}` if `user.ip_address` is `undefined` and `sen…
krystofwoldrich Apr 16, 2025
6f2f83f
chore(deps): v7: Bump Android SDK to v8.8.0 (#4755)
antonis Apr 22, 2025
61f61ca
chore(deps): v7: Bump Android SDK to v8.9.0 (#4775)
antonis Apr 24, 2025
261f6a9
Bump Android from 8.9.0 to 8.10.0 (#4781)
antonis Apr 28, 2025
391dc92
chore(typescript): Enable strictNullChecks for the SDK source (#4760)
krystofwoldrich Apr 29, 2025
c68710a
chore(deps): v7: Bump Android SDK to v8.11.0 (#4793)
antonis Apr 30, 2025
10c9244
chore(deps): v7: Bump Android SDK to v8.11.1 (#4796)
antonis May 2, 2025
a1bd56f
chore(wrap): Remove props `updateProps`, `name` and `children` from w…
lucas-zimerman May 8, 2025
61ef053
Merge remote-tracking branch 'origin/main' into v7
krystofwoldrich May 11, 2025
1528fb5
Fix changelog
krystofwoldrich May 11, 2025
5ccf41a
release: 7.0.0-alpha.0
getsentry-bot May 12, 2025
0b5266e
Merge branch 'release/7.0.0-alpha.0' into v7
May 12, 2025
3f74051
Fix v7 other changes section header (#4823)
antonis May 12, 2025
636c53e
sync changelog (#4824)
lucas-zimerman May 12, 2025
a363b09
chore(deps-v7): update Android SDK to v8.12.0 (#4847)
lucas-zimerman May 21, 2025
80caa11
chore(deps-v7): update Cocoa SDK to v8.51.1 (#4843)
lucas-zimerman May 26, 2025
c27dafb
Bump Android to 8.13.1 (#4861)
antonis May 27, 2025
c6d4d0a
chore(deps-v7): update Javascript SDK to v9.22.0 (#4860)
lucas-zimerman May 27, 2025
e171ea3
feat(replay): Allow using browserReplayIntegration without isWeb guar…
krystofwoldrich May 27, 2025
6a8b747
fix(lint): In `browserReplay.ts`
krystofwoldrich May 28, 2025
c5ee1b6
!remove(sdk): Delete deprecated `captureUserFeedback` (#4855)
krystofwoldrich May 28, 2025
68bffee
chore(deps): v7: update Android SDK to v8.13.2 (#4867)
antonis May 28, 2025
3988733
Merge branch 'main' into v7
krystofwoldrich May 28, 2025
bea86b0
chore(encoding): Use global `TextEncode` when available (#4874)
krystofwoldrich Jun 3, 2025
2fffcd6
Merge remote-tracking branch 'origin/main' into v7
krystofwoldrich Jun 3, 2025
78c414f
chore(utils): Use single encodeUTF8 impl (#4885)
krystofwoldrich Jun 4, 2025
936481d
feat(breadcrumbs): Add environment aware defaults for RN/Expo/Web (#4…
krystofwoldrich Jun 4, 2025
3677dc5
Merge branch 'main' into v7
krystofwoldrich Jun 5, 2025
513afd6
Update change for beta.0
krystofwoldrich Jun 5, 2025
4c79e38
release: 7.0.0-beta.0
getsentry-bot Jun 5, 2025
eb3a867
Merge branch 'release/7.0.0-beta.0' into v7
Jun 5, 2025
480a5d3
fix(environment): remove deprecated `appOwnership` constant (#4893)
pchalupa Jun 5, 2025
daa1f7d
chore: Disable AppStart and NativeFrames integration by default in en…
krystofwoldrich Jun 9, 2025
8af9fb7
(feat-V7) Log Tracing (#4827)
lucas-zimerman Jun 11, 2025
12d48bc
chore(deps): v7: update Android SDK to v8.13.3 (#4929)
antonis Jun 17, 2025
43765af
feat(Logs): expose logger and console Integration (#4930)
lucas-zimerman Jun 18, 2025
62622b2
chore(deps): v7: update Android SDK to v8.14.0 (#4934)
antonis Jun 18, 2025
8131163
Merge branch 'main' into v7
antonis Jun 24, 2025
d2b419e
Merge branch 'main' into v7
antonis Jun 24, 2025
38a77c2
release: 7.0.0-beta.1
getsentry-bot Jun 25, 2025
0cafc63
chore: Add upgrading section in the changelog (#4945)
antonis Jun 25, 2025
72b0956
Merge branch 'release/7.0.0-beta.1' into v7
Jun 25, 2025
761d3b1
fix: ignoreErrors now works on Native (#4948)
lucas-zimerman Jun 27, 2025
ba7b8e8
chore(deps): v7: update Android SDK to v8.15.1 (#4953)
antonis Jun 27, 2025
901d64f
chore(deps): v7: update Android SDK to v8.16.0 (#4955)
antonis Jun 30, 2025
1667b2b
feat(expo): Automatically detect Release name and version for Expo We…
krystofwoldrich Jul 4, 2025
e1d4577
Merge branch 'main' into v7
antonis Jul 4, 2025
4513fab
V7: Uppercase boolean flags (#4965)
lucas-zimerman Jul 7, 2025
87e2950
Format Expo UI (#4973)
lucas-zimerman Jul 7, 2025
fdae0e0
chore(deps): v7: Bump Android SDK to 8.17.0 (#4987)
antonis Jul 10, 2025
c99094a
feat(feature-flags): v7: Expose featureFlagsIntegration (#4984)
antonis Jul 10, 2025
cf9975b
Merge branch 'main' into v7
antonis Jul 10, 2025
57b9041
fix(samples): v7: Remove `enableTracing` from sample apps (#4990)
antonis Jul 10, 2025
3750992
release: 7.0.0-beta.2
getsentry-bot Jul 11, 2025
f934944
Merge branch 'release/7.0.0-beta.2' into v7
Jul 11, 2025
1242db7
Merge branch 'main' into v7
antonis Jul 29, 2025
973a019
release: 7.0.0-rc.1
getsentry-bot Jul 30, 2025
806e787
Merge branch 'release/7.0.0-rc.1' into v7
Jul 30, 2025
f43169e
chore(deps): v7: update Android SDK to v8.18.0 (#5034)
antonis Jul 31, 2025
63313a6
Logs: Capture more device attributes (#5032)
lucas-zimerman Aug 5, 2025
f2dfdf2
chore(deps): v7: update Android SDK to v8.19.0 (#5063)
antonis Aug 13, 2025
159ee8e
chore(ci): v7: Handle GH runner image deprecations (#5105)
antonis Aug 28, 2025
ad7a627
chore(deps): v7: update Android SDK to v8.20.0 (#5106)
antonis Aug 28, 2025
3b2e69a
chore(deps): v7: update JavaScript SDK to v10 (#5111)
antonis Aug 28, 2025
35b15d5
release: 7.0.0-rc.2
getsentry-bot Aug 28, 2025
670196d
chore(changelog): v7: Update 7.0.0-rc.2 changelog (#5114)
antonis Aug 29, 2025
d208734
Merge branch 'release/7.0.0-rc.2' into v7
Aug 29, 2025
f523a4a
Ref(Logs): Move it outside of Experimental (#5122)
lucas-zimerman Sep 2, 2025
1254d56
chore(deps):v7: Bump Javascript SDK to 10.8.0 (#5123)
antonis Sep 2, 2025
5a583a6
Merge branch 'main' into v7
antonis Sep 2, 2025
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
318 changes: 317 additions & 1 deletion CHANGELOG.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dev-packages/e2e-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sentry-react-native-e2e-tests",
"version": "6.21.0",
"version": "7.0.0-rc.2",
"private": true,
"description": "Sentry React Native End to End Tests Library",
"main": "dist/index.js",
Expand All @@ -13,8 +13,8 @@
"devDependencies": {
"@babel/preset-env": "^7.25.3",
"@babel/preset-typescript": "^7.18.6",
"@sentry/core": "8.55.0",
"@sentry/react-native": "6.21.0",
"@sentry/core": "10.8.0",
"@sentry/react-native": "7.0.0-rc.2",
"@types/node": "^20.9.3",
"@types/react": "^18.2.64",
"appium": "2.4.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ const fs = require('fs');
const { argv } = require('process');

const parseArgs = require('minimist');
const { logger } = require('@sentry/core');
logger.enable();
const { debug } = require('@sentry/core');
debug.enable();

const args = parseArgs(argv.slice(2));
if (!args['app-build-gradle']) {
throw new Error('Missing --app-build-gradle');
}

logger.info('Patching app/build.gradle', args['app-build-gradle']);
debug.log('Patching app/build.gradle', args['app-build-gradle']);

const sentryGradlePatch = `
apply from: new File(["node", "--print", "require.resolve('@sentry/react-native/package.json')"].execute().text.trim(), "../sentry.gradle")
Expand All @@ -26,7 +26,7 @@ if (!isPatched) {
const patched = buildGradle.replace(reactNativeGradleRex, m => sentryGradlePatch + m);

fs.writeFileSync(args['app-build-gradle'], patched);
logger.info('Patched app/build.gradle successfully!');
debug.log('Patched app/build.gradle successfully!');
} else {
logger.info('app/build.gradle is already patched!');
debug.log('app/build.gradle is already patched!');
}
10 changes: 5 additions & 5 deletions dev-packages/e2e-tests/patch-scripts/rn.patch.app.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const path = require('path');
const { argv, env } = require('process');

const parseArgs = require('minimist');
const { logger } = require('@sentry/core');
logger.enable();
const { debug } = require('@sentry/core');
debug.enable();

const SENTRY_RELEASE = env.SENTRY_RELEASE;
const SENTRY_DIST = env.SENTRY_DIST;
Expand All @@ -16,7 +16,7 @@ if (!args.app) {
throw new Error('Missing --app');
}

logger.info('Patching RN App.(js|tsx)', args.app);
debug.log('Patching RN App.(js|tsx)', args.app);

const initPatch = `
import * as Sentry from '@sentry/react-native';
Expand Down Expand Up @@ -59,7 +59,7 @@ if (!isPatched) {
.replace(exportDefaultRex, 'export default Sentry.wrap(App);');

fs.writeFileSync(appPath, patched);
logger.info('Patched RN App.(js|tsx) successfully!');
debug.log('Patched RN App.(js|tsx) successfully!');
} else {
logger.info('App.(js|tsx) already patched!');
debug.log('App.(js|tsx) already patched!');
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ const fs = require('fs');
const { argv } = require('process');

const parseArgs = require('minimist');
const { logger } = require('@sentry/core');
logger.enable();
const { debug } = require('@sentry/core');
debug.enable();

const args = parseArgs(argv.slice(2));
if (!args['gradle-properties']) {
Expand All @@ -21,7 +21,7 @@ if (enableHermes === null) {
throw new Error('Invalid engine');
}

logger.info('Patching gradle.properties', args['gradle-properties']);
debug.log('Patching gradle.properties', args['gradle-properties']);
let content = fs.readFileSync(args['gradle-properties'], 'utf8');

const isHermesEnabled = content.includes('hermesEnabled=true');
Expand All @@ -31,9 +31,9 @@ if (enableHermes !== isHermesEnabled) {
? content.replace(/hermesEnabled=.*/g, patch)
: content.concat(`\n${patch}`);
if (enableHermes) {
logger.info('Patching gradle.properties for Hermes');
debug.log('Patching gradle.properties for Hermes');
} else {
logger.info('Patching gradle.properties for JSC');
debug.log('Patching gradle.properties for JSC');
}
}

Expand Down
10 changes: 5 additions & 5 deletions dev-packages/e2e-tests/patch-scripts/rn.patch.metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ const fs = require('fs');
const { argv } = require('process');

const parseArgs = require('minimist');
const { logger } = require('@sentry/core');
logger.enable();
const { debug } = require('@sentry/core');
debug.enable();

const args = parseArgs(argv.slice(2));
if (!args.path) {
throw new Error('Missing --path');
}

logger.info('Patching Metro config: ', args.path);
debug.log('Patching Metro config: ', args.path);

const configFilePath = args.path;

Expand Down Expand Up @@ -52,7 +52,7 @@ if (!isPatched) {
}

fs.writeFileSync(configFilePath, config.join('\n'), 'utf8');
logger.info('Patched Metro config successfully!');
debug.log('Patched Metro config successfully!');
} else {
logger.info('Metro config already patched!');
debug.log('Metro config already patched!');
}
12 changes: 6 additions & 6 deletions dev-packages/e2e-tests/patch-scripts/rn.patch.podfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ const fs = require('fs');
const { argv } = require('process');

const parseArgs = require('minimist');
const { logger } = require('@sentry/core');
logger.enable();
const { debug } = require('@sentry/core');
debug.enable();

const args = parseArgs(argv.slice(2));
if (!args['pod-file']) {
Expand All @@ -21,7 +21,7 @@ if (enableHermes === null) {
throw new Error('Invalid engine');
}

logger.info('Patching Podfile', args['pod-file']);
debug.log('Patching Podfile', args['pod-file']);
const content = fs.readFileSync(args['pod-file'], 'utf8');

const isHermesEnabled = content.includes(':hermes_enabled => true,');
Expand All @@ -32,11 +32,11 @@ if (shouldPatch) {
enableHermes ? ':hermes_enabled => true,' : ':hermes_enabled => false,',
);
if (enableHermes) {
logger.info('Patching Podfile for Hermes');
debug.log('Patching Podfile for Hermes');
} else {
logger.info('Patching Podfile for JSC');
debug.log('Patching Podfile for JSC');
}
fs.writeFileSync(args['pod-file'], patched);
} else {
logger.info('Podfile is already patched!');
debug.log('Podfile is already patched!');
}
38 changes: 16 additions & 22 deletions dev-packages/e2e-tests/patch-scripts/rn.patch.xcode.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ const { argv } = require('process');
const xcode = require('xcode');
const parseArgs = require('minimist');
const semver = require('semver');
const { logger } = require('@sentry/core');
logger.enable();
const { debug } = require('@sentry/core');
debug.enable();

const args = parseArgs(argv.slice(2));
if (!args.project) {
Expand All @@ -17,7 +17,7 @@ if (!args['rn-version']) {
throw new Error('Missing --rn-version');
}

logger.info('Patching Xcode project', args.project, 'for RN version', args['rn-version']);
debug.log('Patching Xcode project', args.project, 'for RN version', args['rn-version']);

const newBundleScriptRNVersion = '0.69.0-rc.0';

Expand All @@ -29,15 +29,15 @@ const symbolsScript = `
`;
const symbolsPatchRegex = /sentry-cli\s+(upload-dsym|debug-files upload)/;
if (semver.satisfies(args['rn-version'], `< ${newBundleScriptRNVersion}`, { includePrerelease: true })) {
logger.info('Applying old bundle script patch');
debug.log('Applying old bundle script patch');
bundleScript = `
export NODE_BINARY=node
../node_modules/@sentry/react-native/scripts/sentry-xcode.sh ../node_modules/react-native/scripts/react-native-xcode.sh
`;
bundleScriptRegex = /(packager|scripts)\/react-native-xcode\.sh\b/;
bundlePatchRegex = /sentry-cli\s+react-native[\s-]xcode/;
} else if (semver.satisfies(args['rn-version'], `>= ${newBundleScriptRNVersion}`, { includePrerelease: true })) {
logger.info('Applying new bundle script patch');
debug.log('Applying new bundle script patch');
bundleScript = `
WITH_ENVIRONMENT="../node_modules/react-native/scripts/xcode/with-environment.sh"
REACT_NATIVE_XCODE="../node_modules/react-native/scripts/react-native-xcode.sh"
Expand All @@ -62,38 +62,32 @@ for (const key in buildPhasesRaw) {
}
}

buildPhases.forEach((phase) => {
buildPhases.forEach(phase => {
const isBundleReactNative = phase.shellScript.match(bundleScriptRegex);
const isPatched = phase.shellScript.match(bundlePatchRegex);
if (!isBundleReactNative) {
return;
}
if (isPatched) {
logger.warn('Xcode project Bundle RN Build phase already patched');
debug.warn('Xcode project Bundle RN Build phase already patched');
return;
}
phase.shellScript = JSON.stringify(bundleScript);
logger.info('Patched Xcode project Bundle RN Build phase');
debug.log('Patched Xcode project Bundle RN Build phase');
});

const isSymbolsPhase = (phase) => phase.shellScript.match(symbolsPatchRegex);
const isSymbolsPhase = phase => phase.shellScript.match(symbolsPatchRegex);
const areSymbolsPatched = buildPhases.some(isSymbolsPhase);

if (!areSymbolsPatched) {
project.addBuildPhase(
[],
'PBXShellScriptBuildPhase',
'Upload Debug Symbols to Sentry',
null,
{
shellPath: '/bin/sh',
shellScript: symbolsScript,
},
);
logger.info('Added Xcode project Upload Debug Symbols Build phase');
project.addBuildPhase([], 'PBXShellScriptBuildPhase', 'Upload Debug Symbols to Sentry', null, {
shellPath: '/bin/sh',
shellScript: symbolsScript,
});
debug.log('Added Xcode project Upload Debug Symbols Build phase');
} else {
logger.warn('Xcode project Upload Debug Symbols Build phase already patched');
debug.warn('Xcode project Upload Debug Symbols Build phase already patched');
}

fs.writeFileSync(args.project, project.writeSync());
logger.info('Patched Xcode project successfully!');
debug.log('Patched Xcode project successfully!');
2 changes: 1 addition & 1 deletion dev-packages/type-check/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sentry-react-native-type-check",
"private": true,
"version": "6.21.0",
"version": "7.0.0-rc.2",
"scripts": {
"type-check": "./run-type-check.sh"
}
Expand Down
4 changes: 4 additions & 0 deletions dev-packages/type-check/ts3.8-test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ declare global {
interface IDBObjectStore {}
interface Window {
fetch: any;
setTimeout: any;
document: any;
}
interface ShadowRoot {}
interface BufferSource {}
Expand All @@ -19,6 +21,8 @@ declare global {
redirectCount: number;
}
interface PerformanceEntry {}
interface Performance {}
interface PerformanceNavigationTiming {}
}

declare module 'react-native' {
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/type-check/ts3.8-test/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"index.ts",
],
"compilerOptions": {
"skipLibCheck": false,
"skipLibCheck": true,
"noEmit": true,
"importHelpers": true,
"types": [],
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sentry-react-native-samples-utils",
"version": "6.21.0",
"version": "7.0.0-rc.2",
"description": "Internal Samples Utils",
"main": "index.js",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "6.21.0",
"version": "7.0.0-rc.2",
"packages": [
"packages/*",
"dev-packages/*",
Expand Down
1 change: 1 addition & 0 deletions packages/core/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ module.exports = {
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/unbound-method': 'off',
'import/first': 'off',
},
},
{
Expand Down
Loading
Loading