Skip to content

Commit a253713

Browse files
author
Luca Forstner
committed
Merge remote-tracking branch 'origin/develop' into lforst-xhr-function-names
2 parents da62e90 + 615c670 commit a253713

File tree

2,298 files changed

+70197
-29802
lines changed

Some content is hidden

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

2,298 files changed

+70197
-29802
lines changed

.craft.yml

Lines changed: 43 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ targets:
5858
- name: npm
5959
id: '@sentry/react'
6060
includeNames: /^sentry-react-\d.*\.tgz$/
61+
- name: npm
62+
id: '@sentry/solid'
63+
includeNames: /^sentry-solid-\d.*\.tgz$/
6164
- name: npm
6265
id: '@sentry/svelte'
6366
includeNames: /^sentry-svelte-\d.*\.tgz$/
@@ -72,6 +75,9 @@ targets:
7275
- name: npm
7376
id: '@sentry/vercel-edge'
7477
includeNames: /^sentry-vercel-edge-\d.*\.tgz$/
78+
- name: npm
79+
id: '@sentry/cloudflare'
80+
includeNames: /^sentry-cloudflare-\d.*\.tgz$/
7581
- name: npm
7682
id: '@sentry/deno'
7783
includeNames: /^sentry-deno-\d.*\.tgz$/
@@ -94,14 +100,23 @@ targets:
94100
- name: npm
95101
id: '@sentry/bun'
96102
includeNames: /^sentry-bun-\d.*\.tgz$/
103+
- name: npm
104+
id: '@sentry/nestjs'
105+
includeNames: /^sentry-nestjs-\d.*\.tgz$/
97106

98107
## 6. Fullstack/Meta Frameworks (depending on Node and Browser or Framework SDKs)
99108
- name: npm
100109
id: '@sentry/nextjs'
101110
includeNames: /^sentry-nextjs-\d.*\.tgz$/
111+
- name: npm
112+
id: '@sentry/nuxt'
113+
includeNames: /^sentry-nuxt-\d.*\.tgz$/
102114
- name: npm
103115
id: '@sentry/remix'
104116
includeNames: /^sentry-remix-\d.*\.tgz$/
117+
- name: npm
118+
id: '@sentry/solidstart'
119+
includeNames: /^sentry-solidstart-\d.*\.tgz$/
105120
- name: npm
106121
id: '@sentry/sveltekit'
107122
includeNames: /^sentry-sveltekit-\d.*\.tgz$/
@@ -157,37 +172,49 @@ targets:
157172
# Sentry Release Registry Target
158173
- name: registry
159174
sdks:
175+
'npm:@sentry/angular':
176+
onlyIfPresent: /^sentry-angular-\d.*\.tgz$/
177+
'npm:@sentry/astro':
178+
onlyIfPresent: /^sentry-astro-\d.*\.tgz$/
179+
'npm:@sentry/aws-serverless':
180+
onlyIfPresent: /^sentry-aws-serverless-\d.*\.tgz$/
160181
'npm:@sentry/browser':
161182
onlyIfPresent: /^sentry-browser-\d.*\.tgz$/
162183
includeNames: /\.js$/
163184
checksums:
164185
- algorithm: sha384
165186
format: base64
166-
'npm:@sentry/node':
167-
onlyIfPresent: /^sentry-node-\d.*\.tgz$/
168-
'npm:@sentry/react':
169-
onlyIfPresent: /^sentry-react-\d.*\.tgz$/
170-
'npm:@sentry/vue':
171-
onlyIfPresent: /^sentry-vue-\d.*\.tgz$/
187+
'npm:@sentry/bun':
188+
onlyIfPresent: /^sentry-bun-\d.*\.tgz$/
189+
'npm:@sentry/cloudflare':
190+
onlyIfPresent: /^sentry-cloudflare-\d.*\.tgz$/
191+
'npm:@sentry/deno':
192+
onlyIfPresent: /^sentry-deno-\d.*\.tgz$/
193+
'npm:@sentry/ember':
194+
onlyIfPresent: /^sentry-ember-\d.*\.tgz$/
172195
'npm:@sentry/gatsby':
173196
onlyIfPresent: /^sentry-gatsby-\d.*\.tgz$/
174-
'npm:@sentry/angular':
175-
onlyIfPresent: /^sentry-angular-\d.*\.tgz$/
176-
'npm:@sentry/astro':
177-
onlyIfPresent: /^sentry-astro-\d.*\.tgz$/
178-
'npm:@sentry/wasm':
179-
onlyIfPresent: /^sentry-wasm-\d.*\.tgz$/
197+
'npm:@sentry/google-cloud-serverless':
198+
onlyIfPresent: /^sentry-google-cloud-serverless-\d.*\.tgz$/
180199
'npm:@sentry/nextjs':
181200
onlyIfPresent: /^sentry-nextjs-\d.*\.tgz$/
201+
'npm:@sentry/node':
202+
onlyIfPresent: /^sentry-node-\d.*\.tgz$/
203+
'npm:@sentry/react':
204+
onlyIfPresent: /^sentry-react-\d.*\.tgz$/
182205
'npm:@sentry/remix':
183206
onlyIfPresent: /^sentry-remix-\d.*\.tgz$/
207+
'npm:@sentry/solid':
208+
onlyIfPresent: /^sentry-solid-\d.*\.tgz$/
209+
'npm:@sentry/solidstart':
210+
onlyIfPresent: /^sentry-solidstart-\d.*\.tgz$/
184211
'npm:@sentry/svelte':
185212
onlyIfPresent: /^sentry-svelte-\d.*\.tgz$/
186213
'npm:@sentry/sveltekit':
187214
onlyIfPresent: /^sentry-sveltekit-\d.*\.tgz$/
188-
'npm:@sentry/bun':
189-
onlyIfPresent: /^sentry-bun-\d.*\.tgz$/
190215
'npm:@sentry/vercel-edge':
191216
onlyIfPresent: /^sentry-vercel-edge-\d.*\.tgz$/
192-
'npm:@sentry/ember':
193-
onlyIfPresent: /^sentry-ember-\d.*\.tgz$/
217+
'npm:@sentry/vue':
218+
onlyIfPresent: /^sentry-vue-\d.*\.tgz$/
219+
'npm:@sentry/wasm':
220+
onlyIfPresent: /^sentry-wasm-\d.*\.tgz$/

.github/ISSUE_TEMPLATE/bug.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: 🐞 Bug Report
22
description: Tell us about something that's not working the way we (probably) intend.
3-
labels: ['Type: Bug']
3+
type: 'bug'
44
body:
55
- type: checkboxes
66
attributes:
@@ -31,18 +31,23 @@ body:
3131
setup.
3232
options:
3333
- '@sentry/browser'
34-
- '@sentry/astro'
34+
- '@sentry/node'
3535
- '@sentry/angular'
36+
- '@sentry/astro'
3637
- '@sentry/aws-serverless'
3738
- '@sentry/bun'
39+
- '@sentry/cloudflare'
3840
- '@sentry/deno'
3941
- '@sentry/ember'
4042
- '@sentry/gatsby'
4143
- '@sentry/google-cloud-serverless'
44+
- '@sentry/nestjs'
4245
- '@sentry/nextjs'
43-
- '@sentry/node'
46+
- '@sentry/nuxt'
4447
- '@sentry/react'
4548
- '@sentry/remix'
49+
- '@sentry/solid'
50+
- '@sentry/solidstart'
4651
- '@sentry/svelte'
4752
- '@sentry/sveltekit'
4853
- '@sentry/vue'
@@ -56,7 +61,7 @@ body:
5661
attributes:
5762
label: SDK Version
5863
description: What version of the SDK are you using?
59-
placeholder: ex. 7.8.0
64+
placeholder: ex. 8.10.0
6065
validations:
6166
required: true
6267
- type: input
@@ -66,7 +71,7 @@ body:
6671
description:
6772
If you're using one of our framework-specific SDKs (`@sentry/react`, for example), what version of the
6873
_framework_ are you using?
69-
placeholder: ex. React 17.0.0
74+
placeholder: ex. React 18.3.0 or Next 14.0.0
7075
- type: input
7176
id: link-to-sentry
7277
attributes:
@@ -78,9 +83,14 @@ body:
7883
- type: textarea
7984
id: sdk-setup
8085
attributes:
81-
label: SDK Setup
82-
description: How do you set up your Sentry SDK? Please show us your `Sentry.init` options.
86+
label: Reproduction Example/SDK Setup
87+
description:
88+
To ensure that we can help you as fast as possible, please share a link to a reproduction example (GitHub repo or online code editor).
89+
This enables us to quickly understand and address your issue.
90+
If you do not post a link, kindly paste your `Sentry.init` code, so we can see how you set up Sentry.
8391
placeholder: |-
92+
https://some-JS-online-code-editor.com/my-example
93+
8494
```javascript
8595
Sentry.init({
8696
dsn: __YOUR_DSN__

.github/ISSUE_TEMPLATE/feature.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: 💡 Feature Request
22
description: Create a feature request for a sentry-javascript SDK.
3-
labels: ['Type: Improvement']
3+
type: 'enhancement'
44
body:
55
- type: markdown
66
attributes:

.github/ISSUE_TEMPLATE/flaky.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: ❅ Flaky Test
22
description: Report a flaky test in CI
33
title: '[Flaky CI]: '
4+
type: 'task'
45
labels: ['Type: Tests']
56
body:
67
- type: dropdown
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: 💡 [Internal] Blank Issue
2+
description: Only for Sentry Employees! Create an issue without a template.
3+
type: 'task'
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: Make sure to apply relevant labels and issue types before submitting.
8+
- type: textarea
9+
id: description
10+
attributes:
11+
label: Description
12+
validations:
13+
required: true
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: "Install yarn dependencies"
2+
description: "Installs yarn dependencies and caches them."
3+
4+
outputs:
5+
cache_key:
6+
description: "The dependency cache key"
7+
value: ${{ steps.compute_lockfile_hash.outputs.hash }}
8+
9+
runs:
10+
using: "composite"
11+
steps:
12+
# we use a hash of yarn.lock as our cache key, because if it hasn't changed, our dependencies haven't changed,
13+
# so no need to reinstall them
14+
- name: Compute dependency cache key
15+
id: compute_lockfile_hash
16+
run: echo "hash=dependencies-${{ hashFiles('yarn.lock', 'packages/*/package.json', 'dev-packages/*/package.json') }}" >> "$GITHUB_OUTPUT"
17+
shell: bash
18+
19+
- name: Check dependency cache
20+
uses: actions/cache@v4
21+
id: cache_dependencies
22+
with:
23+
path: ${{ env.CACHED_DEPENDENCY_PATHS }}
24+
key: ${{ steps.compute_lockfile_hash.outputs.hash }}
25+
26+
- name: Install dependencies
27+
if: steps.cache_dependencies.outputs.cache-hit != 'true'
28+
run: yarn install --ignore-engines --frozen-lockfile
29+
shell: bash
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: "Install Playwright dependencies"
2+
description: "Installs Playwright dependencies and caches them."
3+
inputs:
4+
browsers:
5+
description: 'What browsers to install.'
6+
default: 'chromium webkit firefox'
7+
8+
runs:
9+
using: "composite"
10+
steps:
11+
- name: Get Playwright version
12+
id: playwright-version
13+
run: echo "version=$(node -p "require('@playwright/test/package.json').version")" >> $GITHUB_OUTPUT
14+
shell: bash
15+
16+
- name: Restore cached playwright binaries
17+
uses: actions/cache/restore@v4
18+
id: playwright-cache
19+
with:
20+
path: |
21+
~/.cache/ms-playwright
22+
key: playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }}
23+
24+
# Only store cache on develop branch
25+
- name: Store cached playwright binaries
26+
uses: actions/cache/save@v4
27+
if: github.event_name == 'push' && github.ref == 'refs/heads/develop'
28+
with:
29+
path: |
30+
~/.cache/ms-playwright
31+
key: playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }}
32+
33+
# We always install all browsers, if uncached
34+
- name: Install Playwright dependencies (uncached)
35+
run: npx playwright install chromium webkit firefox --with-deps
36+
if: steps.playwright-cache.outputs.cache-hit != 'true'
37+
shell: bash
38+
39+
- name: Install Playwright system dependencies only (cached)
40+
run: npx playwright install-deps ${{ inputs.browsers || 'chromium webkit firefox' }}
41+
if: steps.playwright-cache.outputs.cache-hit == 'true'
42+
shell: bash

0 commit comments

Comments
 (0)