Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(fix): Add sentry.source custom in the navigation span.data #4294

Closed
Closed
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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
> make sure you follow our [migration guide](https://docs.sentry.io/platforms/react-native/migration/) first.
<!-- prettier-ignore-end -->

## Unreleased

### Dependencies

- Bump JavaScript SDK from v8.38.0 to v8.39.0 ([#4293](https://github.com/getsentry/sentry-react-native/pull/4293))
- [changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#8390)
- [diff](https://github.com/getsentry/sentry-javascript/compare/8.38.0...8.39.0)

## 6.3.0-beta.1

### Features
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@sentry/react-native": "6.3.0-beta.1",
"@sentry/utils": "8.38.0",
"@sentry/utils": "8.39.0",
"@types/node": "^20.9.3",
"@types/react": "^18.2.64",
"appium": "2.4.1",
Expand Down
16 changes: 8 additions & 8 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,21 @@
},
"dependencies": {
"@sentry/babel-plugin-component-annotate": "2.20.1",
"@sentry/browser": "8.38.0",
"@sentry/browser": "8.39.0",
"@sentry/cli": "2.38.2",
"@sentry/core": "8.38.0",
"@sentry/react": "8.38.0",
"@sentry/types": "8.38.0",
"@sentry/utils": "8.38.0"
"@sentry/core": "8.39.0",
"@sentry/react": "8.39.0",
"@sentry/types": "8.39.0",
"@sentry/utils": "8.39.0"
},
"devDependencies": {
"@babel/core": "^7.23.5",
"@expo/metro-config": "0.17.5",
"@mswjs/interceptors": "^0.25.15",
"@react-native/babel-preset": "0.75.4",
"@sentry-internal/eslint-config-sdk": "8.38.0",
"@sentry-internal/eslint-plugin-sdk": "8.38.0",
"@sentry-internal/typescript": "8.38.0",
"@sentry-internal/eslint-config-sdk": "8.39.0",
"@sentry-internal/eslint-plugin-sdk": "8.39.0",
"@sentry-internal/typescript": "8.39.0",
"@sentry/wizard": "3.34.4",
"@testing-library/react-native": "^12.7.2",
"@types/jest": "^29.5.3",
Expand Down
2 changes: 2 additions & 0 deletions packages/core/test/tracing/reactnavigation.ttid.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ describe('React Navigation - TTID', () => {
data: {
'sentry.op': 'navigation.processing',
'sentry.origin': SPAN_ORIGIN_AUTO_NAVIGATION_REACT_NAVIGATION,
'sentry.source': 'custom',
},
description: 'Processing navigation to New Screen',
op: 'navigation.processing',
Expand Down Expand Up @@ -229,6 +230,7 @@ describe('React Navigation - TTID', () => {
data: {
'sentry.op': 'navigation.processing',
'sentry.origin': SPAN_ORIGIN_AUTO_NAVIGATION_REACT_NAVIGATION,
'sentry.source': 'custom',
},
description: 'Processing navigation to Initial Screen',
op: 'navigation.processing',
Expand Down
6 changes: 3 additions & 3 deletions samples/react-native-macos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"@react-navigation/bottom-tabs": "^6.5.12",
"@react-navigation/native": "^6.1.9",
"@react-navigation/stack": "^6.3.20",
"@sentry/react": "8.38.0",
"@sentry/react": "8.39.0",
"@sentry/react-native": "6.3.0-beta.1",
"@sentry/types": "8.38.0",
"@sentry/utils": "8.38.0",
"@sentry/types": "8.39.0",
"@sentry/utils": "8.39.0",
"delay": "^6.0.0",
"react": "18.2.0",
"react-native": "0.73.9",
Expand Down
180 changes: 90 additions & 90 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7481,23 +7481,23 @@ __metadata:
languageName: node
linkType: hard

"@sentry-internal/browser-utils@npm:8.38.0":
version: 8.38.0
resolution: "@sentry-internal/browser-utils@npm:8.38.0"
"@sentry-internal/browser-utils@npm:8.39.0":
version: 8.39.0
resolution: "@sentry-internal/browser-utils@npm:8.39.0"
dependencies:
"@sentry/core": 8.38.0
"@sentry/types": 8.38.0
"@sentry/utils": 8.38.0
checksum: 815f4b1f492bee2d65db2ea3aed9cf4f2dede301bed9537b33a6e977b0056770d026dca756b0a2aa34acaa953991db37ee0a9ae9a289b17604c2fbbd7d9d6810
"@sentry/core": 8.39.0
"@sentry/types": 8.39.0
"@sentry/utils": 8.39.0
checksum: fd3a21cba7e38c9efe422ab9908bfd3927a0065b548606b04ed94a49de873c55516d4bcafa32a8679f9acd8efb1e433c5f0cbb70d3c58d2a946c0c332764028b
languageName: node
linkType: hard

"@sentry-internal/eslint-config-sdk@npm:8.38.0":
version: 8.38.0
resolution: "@sentry-internal/eslint-config-sdk@npm:8.38.0"
"@sentry-internal/eslint-config-sdk@npm:8.39.0":
version: 8.39.0
resolution: "@sentry-internal/eslint-config-sdk@npm:8.39.0"
dependencies:
"@sentry-internal/eslint-plugin-sdk": 8.38.0
"@sentry-internal/typescript": 8.38.0
"@sentry-internal/eslint-plugin-sdk": 8.39.0
"@sentry-internal/typescript": 8.39.0
"@typescript-eslint/eslint-plugin": ^5.48.0
"@typescript-eslint/parser": ^5.48.0
eslint-config-prettier: ^6.11.0
Expand All @@ -7508,49 +7508,49 @@ __metadata:
eslint-plugin-simple-import-sort: ^5.0.3
peerDependencies:
eslint: ">=5"
checksum: 129678b7bb5f17fe55e3eef322b25ab593c49194da6d4ff21e0e2c608acca0d8003d5463c8189705ad7790f59dc66f6ad355ca2de5e83221475473926940329a
checksum: 3019dd8916f19861c993b7d82631d143b2e451a207b218fc1c53e6a9075d01908f5830fb8da5e815ac8a6765c52f04823314a8041e466b8b1743823b4359ee13
languageName: node
linkType: hard

"@sentry-internal/eslint-plugin-sdk@npm:8.38.0":
version: 8.38.0
resolution: "@sentry-internal/eslint-plugin-sdk@npm:8.38.0"
checksum: 00100b153351569457b661e76c320ff520e9296be8628514761e1b7d442ad9f81da241cb07682141b3d6ac24882c16dafcb31128f6fd354c87b6c7d0fcaaeb98
"@sentry-internal/eslint-plugin-sdk@npm:8.39.0":
version: 8.39.0
resolution: "@sentry-internal/eslint-plugin-sdk@npm:8.39.0"
checksum: 579d8e7e365cfa3bf4efcb343228446d35479b9189bc0698b0e744952d9416383793cfc2a905e2d998e4178a2a3159ae059fd0f9c66f247bc990d6b6f6e1be2c
languageName: node
linkType: hard

"@sentry-internal/feedback@npm:8.38.0":
version: 8.38.0
resolution: "@sentry-internal/feedback@npm:8.38.0"
"@sentry-internal/feedback@npm:8.39.0":
version: 8.39.0
resolution: "@sentry-internal/feedback@npm:8.39.0"
dependencies:
"@sentry/core": 8.38.0
"@sentry/types": 8.38.0
"@sentry/utils": 8.38.0
checksum: 2b486be6485e6722de845c38b698c364e018b2cc341b3e7f99e29b2c5b7b45d6d9b7ea9f4c5aa4930f03df376b2bf88122ec637b4adbf2a82f720cca37e4b55f
"@sentry/core": 8.39.0
"@sentry/types": 8.39.0
"@sentry/utils": 8.39.0
checksum: 41ea8c6bfa8056c58fcabd99e92a487d38fe72a8ad148a0dc81e7db65ebeeca2f54b523f8a3a044440cb00a55265c697fa97c79282697e645977170819771eb4
languageName: node
linkType: hard

"@sentry-internal/replay-canvas@npm:8.38.0":
version: 8.38.0
resolution: "@sentry-internal/replay-canvas@npm:8.38.0"
"@sentry-internal/replay-canvas@npm:8.39.0":
version: 8.39.0
resolution: "@sentry-internal/replay-canvas@npm:8.39.0"
dependencies:
"@sentry-internal/replay": 8.38.0
"@sentry/core": 8.38.0
"@sentry/types": 8.38.0
"@sentry/utils": 8.38.0
checksum: 80a1373de6da863eb7f8c2bdb310692958438bc6ab938db420b2d3d3053b542cd57a9a6f15259aab605de991a2b999e8b603ce8514baf07ed1dcfd113e45c9e0
"@sentry-internal/replay": 8.39.0
"@sentry/core": 8.39.0
"@sentry/types": 8.39.0
"@sentry/utils": 8.39.0
checksum: 8da050fadf876a8fbf6d2d744064667f2c025f2ae6d3053471601aae4d35529e29e15140b7d375a2a410f6977f1bb488f6ea4d36036b447053956cd6ecb8faa6
languageName: node
linkType: hard

"@sentry-internal/replay@npm:8.38.0":
version: 8.38.0
resolution: "@sentry-internal/replay@npm:8.38.0"
"@sentry-internal/replay@npm:8.39.0":
version: 8.39.0
resolution: "@sentry-internal/replay@npm:8.39.0"
dependencies:
"@sentry-internal/browser-utils": 8.38.0
"@sentry/core": 8.38.0
"@sentry/types": 8.38.0
"@sentry/utils": 8.38.0
checksum: dd81ced980e39ea74cbd7f1f684bce0a0ec975e125a7dafde05b707412f4f71af7f64df58b3c1e62d8bea903f8011a7c6f4d79bfd0d3f802af798ee14fb925fd
"@sentry-internal/browser-utils": 8.39.0
"@sentry/core": 8.39.0
"@sentry/types": 8.39.0
"@sentry/utils": 8.39.0
checksum: 0c9d4d116830081cb7279e45a3b228559f8586e1261d06124dc82ac74e32f1a98e23a90bc33071ac1c229eaaa63e42cdb7af1b6ddb5bbdf6b5205455904d2507
languageName: node
linkType: hard

Expand All @@ -7565,12 +7565,12 @@ __metadata:
languageName: node
linkType: hard

"@sentry-internal/typescript@npm:8.38.0":
version: 8.38.0
resolution: "@sentry-internal/typescript@npm:8.38.0"
"@sentry-internal/typescript@npm:8.39.0":
version: 8.39.0
resolution: "@sentry-internal/typescript@npm:8.39.0"
peerDependencies:
typescript: 4.9.5
checksum: c9da08ef31a156f39f16747c21017387710118f2a8cd84dec4223b64a0b3ee0e99f4ea2e01fdccbe1ae793797a4e456db1819f489a8a141b019688c1db3ac39f
checksum: 309f30a0dd9e9cc4c32de4a059becfe58eee39c9127b1d14cb5595d9fc38398f5dcda1d40e99744e038b018303df59fd156753d6f73605370f6d88e31873d6e7
languageName: node
linkType: hard

Expand All @@ -7588,18 +7588,18 @@ __metadata:
languageName: node
linkType: hard

"@sentry/browser@npm:8.38.0":
version: 8.38.0
resolution: "@sentry/browser@npm:8.38.0"
"@sentry/browser@npm:8.39.0":
version: 8.39.0
resolution: "@sentry/browser@npm:8.39.0"
dependencies:
"@sentry-internal/browser-utils": 8.38.0
"@sentry-internal/feedback": 8.38.0
"@sentry-internal/replay": 8.38.0
"@sentry-internal/replay-canvas": 8.38.0
"@sentry/core": 8.38.0
"@sentry/types": 8.38.0
"@sentry/utils": 8.38.0
checksum: 9ac68a298b77db54ccc6f94b89064576bc2d201dfc9ee84782c28abe1de8d7ed267d4228b4c25eb5aedd4456a890e1c436f77417c7a2c110afcc83fc7d40e4d0
"@sentry-internal/browser-utils": 8.39.0
"@sentry-internal/feedback": 8.39.0
"@sentry-internal/replay": 8.39.0
"@sentry-internal/replay-canvas": 8.39.0
"@sentry/core": 8.39.0
"@sentry/types": 8.39.0
"@sentry/utils": 8.39.0
checksum: f87966235439492fbdbd67701e6e41226208cdc0c03fd5a8c3b30169bc4b2151bac0fb3aee32c9c8a2073f2563e17035450453ad6d6897194ac53282fcdc713e
languageName: node
linkType: hard

Expand Down Expand Up @@ -7715,13 +7715,13 @@ __metadata:
languageName: node
linkType: hard

"@sentry/core@npm:8.38.0":
version: 8.38.0
resolution: "@sentry/core@npm:8.38.0"
"@sentry/core@npm:8.39.0":
version: 8.39.0
resolution: "@sentry/core@npm:8.39.0"
dependencies:
"@sentry/types": 8.38.0
"@sentry/utils": 8.38.0
checksum: 013f1b5d39e904981d2fea665350dca5b63113be489e2b1fc22955641967b753d55d93e94aa34ee149a5dc202daaa9eb310ec7316ef4ccc914bfba672b7c440f
"@sentry/types": 8.39.0
"@sentry/utils": 8.39.0
checksum: 920feec1feabda9d24e852faf30e1a3de240c6381d58c8e19b20d6620ae33a4dd6274e520c07c21b68964424f7e8ec362adc53568305b6e6275ad14e62b23569
languageName: node
linkType: hard

Expand Down Expand Up @@ -7758,16 +7758,16 @@ __metadata:
"@expo/metro-config": 0.17.5
"@mswjs/interceptors": ^0.25.15
"@react-native/babel-preset": 0.75.4
"@sentry-internal/eslint-config-sdk": 8.38.0
"@sentry-internal/eslint-plugin-sdk": 8.38.0
"@sentry-internal/typescript": 8.38.0
"@sentry-internal/eslint-config-sdk": 8.39.0
"@sentry-internal/eslint-plugin-sdk": 8.39.0
"@sentry-internal/typescript": 8.39.0
"@sentry/babel-plugin-component-annotate": 2.20.1
"@sentry/browser": 8.38.0
"@sentry/browser": 8.39.0
"@sentry/cli": 2.38.2
"@sentry/core": 8.38.0
"@sentry/react": 8.38.0
"@sentry/types": 8.38.0
"@sentry/utils": 8.38.0
"@sentry/core": 8.39.0
"@sentry/react": 8.39.0
"@sentry/types": 8.39.0
"@sentry/utils": 8.39.0
"@sentry/wizard": 3.34.4
"@testing-library/react-native": ^12.7.2
"@types/jest": ^29.5.3
Expand Down Expand Up @@ -7814,18 +7814,18 @@ __metadata:
languageName: unknown
linkType: soft

"@sentry/react@npm:8.38.0":
version: 8.38.0
resolution: "@sentry/react@npm:8.38.0"
"@sentry/react@npm:8.39.0":
version: 8.39.0
resolution: "@sentry/react@npm:8.39.0"
dependencies:
"@sentry/browser": 8.38.0
"@sentry/core": 8.38.0
"@sentry/types": 8.38.0
"@sentry/utils": 8.38.0
"@sentry/browser": 8.39.0
"@sentry/core": 8.39.0
"@sentry/types": 8.39.0
"@sentry/utils": 8.39.0
hoist-non-react-statics: ^3.3.2
peerDependencies:
react: ^16.14.0 || 17.x || 18.x || 19.x
checksum: 6ebc461a5c609618ea1e578930fbd01f2e73870d425d506e9dad17af46dc30c2e7943a423fcfebe3094321098fc1ec16c846f062fbb41cc9ab3c8ab71e0ece06
checksum: ccb37949da893eec7fef071d68aed29ec90943abe8c06829be2caac65b99b200fd344ae42a10dba1b23be9905ff24cfc74b5bebfa55fdeb95fb5298080230528
languageName: node
linkType: hard

Expand All @@ -7836,10 +7836,10 @@ __metadata:
languageName: node
linkType: hard

"@sentry/types@npm:8.38.0":
version: 8.38.0
resolution: "@sentry/types@npm:8.38.0"
checksum: 19c7f55b43ec205f766f8442b1a0393ba13e04766141275444c2e55ad73abea3a7c382a98aa814cac1e2fa67b243a59096ab75fc93c22fe9d525fac416331a18
"@sentry/types@npm:8.39.0":
version: 8.39.0
resolution: "@sentry/types@npm:8.39.0"
checksum: 08d9b3b1cc47b681f2574914e47b3ecbce1f6e56e4a36ee6f489c5af0ff9323e9df0fa81f05e5e9af5bc6fd1136cb38bca6490066ba4a9cff16eb3cbff1f88ff
languageName: node
linkType: hard

Expand All @@ -7852,12 +7852,12 @@ __metadata:
languageName: node
linkType: hard

"@sentry/utils@npm:8.38.0":
version: 8.38.0
resolution: "@sentry/utils@npm:8.38.0"
"@sentry/utils@npm:8.39.0":
version: 8.39.0
resolution: "@sentry/utils@npm:8.39.0"
dependencies:
"@sentry/types": 8.38.0
checksum: 9547efda4328a16ccc0452b529270718e0b5f378e0472893ded05f51947ac9497aa2eec29206327922915131e7d6557b0651b9bbf2fd8e94149cf148bc0ab011
"@sentry/types": 8.39.0
checksum: 6971d24e60ed42d472ae211a1227847e08f4ac3d911df54f6ac479f4419c4c777596978af3c11b01032b0cc9ebd0ee6066df5d33e7564c5355a05a0518b0a38f
languageName: node
linkType: hard

Expand Down Expand Up @@ -24283,7 +24283,7 @@ __metadata:
"@babel/preset-env": ^7.20.2
"@babel/preset-typescript": ^7.18.6
"@sentry/react-native": 6.3.0-beta.1
"@sentry/utils": 8.38.0
"@sentry/utils": 8.39.0
"@types/node": ^20.9.3
"@types/react": ^18.2.64
appium: 2.4.1
Expand Down Expand Up @@ -24346,10 +24346,10 @@ __metadata:
"@react-navigation/bottom-tabs": ^6.5.12
"@react-navigation/native": ^6.1.9
"@react-navigation/stack": ^6.3.20
"@sentry/react": 8.38.0
"@sentry/react": 8.39.0
"@sentry/react-native": 6.3.0-beta.1
"@sentry/types": 8.38.0
"@sentry/utils": 8.38.0
"@sentry/types": 8.39.0
"@sentry/utils": 8.39.0
"@types/react": ^18.2.65
"@types/react-native-vector-icons": ^6.4.18
"@types/react-test-renderer": ^18.0.0
Expand Down
Loading