Skip to content

Commit d05e789

Browse files
Merge branch 'main' into capture-app-start-errors
2 parents ee11f58 + f2c6fa5 commit d05e789

File tree

208 files changed

+15189
-3164
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

208 files changed

+15189
-3164
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.yml

Lines changed: 43 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,89 @@
1-
name: "🐞 Bug Report"
1+
name: '🐞 Bug Report'
22
description: "Tell us about something that's not working the way we (probably) intend."
3-
labels: ["Platform: React-Native", "Type: 🪲 Bug"]
3+
labels: ['Platform: React-Native', 'Type: 🪲 Bug']
4+
type: Bug
45
body:
56
- type: dropdown
67
id: environment
78
validations:
89
required: true
910
attributes:
10-
label: "What React Native libraries do you use?"
11-
description: "Select all options that describe your application."
11+
label: 'What React Native libraries do you use?'
12+
description: 'Select all options that describe your application.'
1213
multiple: true
1314
options:
14-
- "React Native without Frameworks"
15-
- "React Navigation"
16-
- "Hermes"
17-
- "RN New Architecture"
18-
- "Expo Application Services (EAS)"
19-
- "Expo (mobile only)"
20-
- "Expo Web"
21-
- "Expo Router"
22-
- "React Native Web"
23-
- "React Native Navigation by Wix"
15+
- 'React Native without Frameworks'
16+
- 'React Navigation'
17+
- 'Hermes'
18+
- 'RN New Architecture'
19+
- 'Expo Application Services (EAS)'
20+
- 'Expo (mobile only)'
21+
- 'Expo Web'
22+
- 'Expo Router'
23+
- 'React Native Web'
24+
- 'React Native Navigation by Wix'
2425

2526
- type: dropdown
2627
id: sentry
2728
validations:
2829
required: true
2930
attributes:
30-
label: "Are you using sentry.io or on-premise?"
31-
description: "Select exactly one option."
31+
label: 'Are you using sentry.io or on-premise?'
32+
description: 'Select exactly one option.'
3233
options:
33-
- "sentry.io (SaS)"
34-
- "on-premise (Self-Hosted)"
34+
- 'sentry.io (SaS)'
35+
- 'on-premise (Self-Hosted)'
3536

3637
- type: input
3738
id: version
3839
validations:
3940
required: true
4041
attributes:
41-
label: "@sentry/react-native SDK Version"
42-
description: "If the issue started after the SDK upgrade, please input both old and new versions."
43-
placeholder: "5.33.1 ← should look like this"
42+
label: '@sentry/react-native SDK Version'
43+
description: 'If the issue started after the SDK upgrade, please input both old and new versions.'
44+
placeholder: '5.33.1 ← should look like this'
4445

4546
- type: textarea
4647
id: doctor
4748
validations:
4849
required: true
4950
attributes:
50-
label: "How does your development environment look like?"
51-
description: "Output of the command `npx react-native@latest info` or manully describe your development environment?"
52-
placeholder: |-
53-
info Fetching system and libraries information...
54-
OS: OS version
55-
Node: Your version
56-
Yarn: Yarn version
57-
Expo SDK: Expo SDK version
58-
react: React version
59-
react-native: React Native version
60-
hermesEnabled: bool
61-
newArchEnabled: bool
51+
label: 'How does your development environment look like?'
52+
description:
53+
'Output of the command `npx react-native@latest info` or manully describe your development environment?'
54+
value: |-
55+
````
56+
⬇ Place the `npx react-native@latest info` output here. ⬇
57+
58+
59+
60+
61+
````
6262
6363
- type: textarea
6464
id: init
6565
validations:
6666
required: true
6767
attributes:
68-
label: "Sentry.init()"
69-
description: "Code snipped of Sentry initialization from your application."
70-
placeholder: |-
68+
label: 'Sentry.init()'
69+
description: 'Code snipped of Sentry initialization from your application.'
70+
value: |-
71+
````js
7172
Sentry.init({
7273
dsn: 'https://[email protected]/...'
7374
// other options
7475
});
76+
````
7577
7678
- type: textarea
7779
id: repro
7880
validations:
7981
required: true
8082
attributes:
81-
label: "Steps to Reproduce"
83+
label: 'Steps to Reproduce'
8284
description: "How can we see what you're seeing? Specific is terrific."
8385
placeholder: |-
84-
1. Build Android using `npx react-native run-android --mode Debug`
86+
1. Build Android using `npx react-native run-android --mode Debug`
8587
2. Start Metro Dev server using `npx react-native start`
8688
3. Click on button executing `Sentry.capture(new Error("This is not captured :("))`
8789
@@ -90,15 +92,15 @@ body:
9092
validations:
9193
required: true
9294
attributes:
93-
label: "Expected Result"
95+
label: 'Expected Result'
9496

9597
- type: textarea
9698
id: actual
9799
validations:
98100
required: true
99101
attributes:
100-
label: "Actual Result"
101-
description: "JS Console? iOS Console? Logcat? Screenshots? Yes, please."
102+
label: 'Actual Result'
103+
description: 'JS Console? iOS Console? Logcat? Screenshots? Yes, please.'
102104

103105
- type: markdown
104106
attributes:

.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: 💡 Feature Request
2+
description: Tell us about a problem our SDK could solve but doesn't.
3+
labels: ['Platform: React-Native', 'enhancement']
4+
type: Feature
5+
body:
6+
- type: textarea
7+
id: problem
8+
attributes:
9+
label: Problem Statement
10+
description: What problem could Sentry solve that it doesn't?
11+
placeholder: |-
12+
I want to make whirled peas, but Sentry doesn't blend.
13+
validations:
14+
required: true
15+
16+
- type: textarea
17+
id: expected
18+
attributes:
19+
label: Solution Brainstorm
20+
description: We know you have bright ideas to share ... share away, friend.
21+
placeholder: |-
22+
Add a blender to Sentry.
23+
24+
- type: dropdown
25+
id: submit-a-pr
26+
attributes:
27+
label: Are you willing to submit a PR?
28+
description: We accept contributions!
29+
options:
30+
- 'Yes'
31+
- 'No'
32+
33+
- type: markdown
34+
attributes:
35+
value: |-
36+
## Thanks 🙏
37+
Check our [triage docs](https://open.sentry.io/triage/) for what to expect next.

.github/workflows/buildandtest.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
2424
steps:
2525
- uses: actions/checkout@v4
26-
- run: corepack enable
26+
- run: npm i -g corepack
2727
- uses: actions/setup-node@v4
2828
with:
2929
node-version: 18
@@ -41,7 +41,7 @@ jobs:
4141
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
4242
steps:
4343
- uses: actions/checkout@v4
44-
- run: corepack enable
44+
- run: npm i -g corepack
4545
- uses: actions/setup-node@v4
4646
with:
4747
node-version: 18
@@ -59,7 +59,7 @@ jobs:
5959
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
6060
steps:
6161
- uses: actions/checkout@v4
62-
- run: corepack enable
62+
- run: npm i -g corepack
6363
- uses: actions/setup-node@v4
6464
with:
6565
node-version: 18
@@ -82,7 +82,7 @@ jobs:
8282
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
8383
steps:
8484
- uses: actions/checkout@v4
85-
- run: corepack enable
85+
- run: npm i -g corepack
8686
- uses: actions/setup-node@v4
8787
with:
8888
node-version: 18
@@ -125,7 +125,7 @@ jobs:
125125
YARN_ENABLE_IMMUTABLE_INSTALLS: false
126126
steps:
127127
- uses: actions/checkout@v4
128-
- run: corepack enable
128+
- run: npm i -g corepack
129129
- uses: actions/setup-node@v4
130130
with:
131131
node-version: 18
@@ -155,7 +155,7 @@ jobs:
155155
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
156156
steps:
157157
- uses: actions/checkout@v4
158-
- run: corepack enable
158+
- run: npm i -g corepack
159159
- uses: actions/setup-node@v4
160160
with:
161161
node-version: 18
@@ -189,7 +189,7 @@ jobs:
189189
dev: [true, false]
190190
steps:
191191
- uses: actions/checkout@v4
192-
- run: corepack enable
192+
- run: npm i -g corepack
193193
- uses: actions/setup-node@v4
194194
with:
195195
node-version: 18

.github/workflows/codegen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
--targetPlatform ios
3838
steps:
3939
- uses: actions/checkout@v4
40-
- run: corepack enable
40+
- run: npm i -g corepack
4141
- uses: actions/setup-node@v4
4242
with:
4343
node-version: 18

.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@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # [email protected].9
47+
uses: github/codeql-action/init@fca7ace96b7d713c7035871441bd52efbe39e27e # [email protected].19
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@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # [email protected].9
58+
uses: github/codeql-action/autobuild@fca7ace96b7d713c7035871441bd52efbe39e27e # [email protected].19
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@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # [email protected].9
69+
uses: github/codeql-action/analyze@fca7ace96b7d713c7035871441bd52efbe39e27e # [email protected].19

0 commit comments

Comments
 (0)