Skip to content

Commit b3a2adb

Browse files
authored
Merge branch 'main' into antonis/feedback-e2e-screenshot
2 parents df204f7 + bdb324a commit b3a2adb

File tree

27 files changed

+2551
-105
lines changed

27 files changed

+2551
-105
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @krystofwoldrich @lucas-zimerman @antonis
1+
* @antonis @lucas-zimerman

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
# Initializes the CodeQL tools for scanning.
4646
- name: Initialize CodeQL
47-
uses: github/codeql-action/init@fca7ace96b7d713c7035871441bd52efbe39e27e # pin@v3.28.19
47+
uses: github/codeql-action/init@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # pin@v3.29.0
4848
with:
4949
languages: ${{ matrix.language }}
5050
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -55,7 +55,7 @@ jobs:
5555
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5656
# If this step fails, then you should remove it and run the build manually (see below)
5757
- name: Autobuild
58-
uses: github/codeql-action/autobuild@fca7ace96b7d713c7035871441bd52efbe39e27e # pin@v3.28.19
58+
uses: github/codeql-action/autobuild@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # pin@v3.29.0
5959

6060
# ℹ️ Command-line programs to run using the OS shell.
6161
# 📚 https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions
@@ -66,4 +66,4 @@ jobs:
6666
# make bootstrap
6767
# make release
6868
- name: Perform CodeQL Analysis
69-
uses: github/codeql-action/analyze@fca7ace96b7d713c7035871441bd52efbe39e27e # pin@v3.28.19
69+
uses: github/codeql-action/analyze@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # pin@v3.29.0

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,34 @@
66
> make sure you follow our [migration guide](https://docs.sentry.io/platforms/react-native/migration/) first.
77
<!-- prettier-ignore-end -->
88
9+
## Unreleased
10+
11+
### Features
12+
13+
- Introducing `@sentry/react-native/playground` ([#4916](https://github.com/getsentry/sentry-react-native/pull/4916))
14+
15+
The new `withSentryPlayground` component allows developers to verify
16+
that the SDK is properly configured and reports errors as expected.
17+
18+
```jsx
19+
import * as Sentry from '@sentry/react-native';
20+
import { withSentryPlayground } from '@sentry/react-native/playground';
21+
22+
function App() {
23+
return <View>...</View>;
24+
}
25+
26+
export default withSentryPlayground(
27+
Sentry.wrap(App)
28+
);
29+
```
30+
31+
### Fixes
32+
33+
- Report slow and frozen frames as app start span data ([#4865](https://github.com/getsentry/sentry-react-native/pull/4865))
34+
- User set by `Sentry.setUser` is prefilled in Feedback Widget ([#4901](https://github.com/getsentry/sentry-react-native/pull/4901))
35+
- User data are considered from all scopes in the following order current, isolation and global.
36+
937
## 6.15.1
1038

1139
### Dependencies

packages/core/.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ module.exports = {
1919
'metro.d.ts',
2020
'plugin/build/**/*',
2121
'expo.d.ts',
22+
'playground.js',
23+
'playground.d.ts',
2224
],
2325
overrides: [
2426
{

packages/core/playground.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './dist/js/playground';

packages/core/playground.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './dist/js/playground';
209 KB
Loading
212 KB
Loading
464 KB
Loading

packages/core/react-native.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ module.exports = {
44
ios: {},
55
android: {
66
packageInstance: 'new RNSentryPackage()',
7-
packageImportPath: 'import io.sentry.react.RNSentryPackage;'
8-
}
9-
}
10-
}
7+
packageImportPath: 'import io.sentry.react.RNSentryPackage;',
8+
},
9+
},
10+
},
1111
};

0 commit comments

Comments
 (0)