Skip to content

Commit aef0a23

Browse files
authored
Merge pull request #15585 from getsentry/prepare-release/9.4.0
2 parents 2395f96 + 2b9317a commit aef0a23

File tree

127 files changed

+2226
-1784
lines changed

Some content is hidden

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

127 files changed

+2226
-1784
lines changed

.craft.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ targets:
196196
onlyIfPresent: /^sentry-node-\d.*\.tgz$/
197197
'npm:@sentry/react':
198198
onlyIfPresent: /^sentry-react-\d.*\.tgz$/
199+
'npm:@sentry/react-router':
200+
onlyIfPresent: /^sentry-react-router-\d.*\.tgz$/
199201
'npm:@sentry/remix':
200202
onlyIfPresent: /^sentry-remix-\d.*\.tgz$/
201203
'npm:@sentry/solid':

.github/CANARY_FAILURE_TEMPLATE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: '{{ env.TITLE }}'
33
labels: 'Type: Tests, Waiting for: Product Owner'
4+
type: 'task'
45
---
56

67
Canary tests failed: {{ env.RUN_LINK }}

.github/actions/install-playwright/action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ runs:
2323
with:
2424
path: |
2525
~/.cache/ms-playwright
26-
key: playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }}
26+
# Bump the iteration when bumping runner images to use a new cache
27+
key: playwright-${{ runner.os }}-iteration-1-${{ steps.playwright-version.outputs.version }}
2728

2829
# We always install all browsers, if uncached
2930
- name: Install Playwright dependencies (uncached)
@@ -45,4 +46,5 @@ runs:
4546
with:
4647
path: |
4748
~/.cache/ms-playwright
48-
key: playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }}
49+
# Bump the iteration when bumping runner images to use a new cache
50+
key: playwright-${{ runner.os }}-iteration-1-${{ steps.playwright-version.outputs.version }}

.github/workflows/auto-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ on:
99
# This workflow tirggers a release when merging a branch with the pattern `prepare-release/VERSION` into master.
1010
jobs:
1111
release:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-24.04
1313
name: 'Prepare a new version'
1414

1515
steps:
1616
- name: Get auth token
1717
id: token
18-
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
18+
uses: actions/create-github-app-token@0d564482f06ca65fa9e77e2510873638c82206f2 # v1.11.5
1919
with:
2020
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
2121
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}

.github/workflows/build.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ env:
6767
jobs:
6868
job_get_metadata:
6969
name: Get Metadata
70-
runs-on: ubuntu-20.04
70+
runs-on: ubuntu-24.04
7171
permissions:
7272
pull-requests: read
7373
steps:
@@ -123,7 +123,7 @@ jobs:
123123
job_build:
124124
name: Build
125125
needs: job_get_metadata
126-
runs-on: ubuntu-20.04
126+
runs-on: ubuntu-24.04
127127
timeout-minutes: 15
128128
if: |
129129
needs.job_get_metadata.outputs.changed_any_code == 'true' ||
@@ -214,7 +214,7 @@ jobs:
214214
job_check_branches:
215215
name: Check PR branches
216216
needs: job_get_metadata
217-
runs-on: ubuntu-20.04
217+
runs-on: ubuntu-24.04
218218
if: github.event_name == 'pull_request'
219219
permissions:
220220
pull-requests: write
@@ -230,7 +230,7 @@ jobs:
230230
name: Size Check
231231
needs: [job_get_metadata, job_build]
232232
timeout-minutes: 15
233-
runs-on: ubuntu-20.04
233+
runs-on: ubuntu-24.04
234234
if:
235235
github.event_name == 'pull_request' || needs.job_get_metadata.outputs.is_base_branch == 'true' ||
236236
needs.job_get_metadata.outputs.is_release == 'true'
@@ -260,7 +260,7 @@ jobs:
260260
# inter-package dependencies resolve cleanly.
261261
needs: [job_get_metadata, job_build]
262262
timeout-minutes: 10
263-
runs-on: ubuntu-20.04
263+
runs-on: ubuntu-24.04
264264
steps:
265265
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
266266
uses: actions/checkout@v4
@@ -283,7 +283,7 @@ jobs:
283283
name: Check file formatting
284284
needs: [job_get_metadata]
285285
timeout-minutes: 10
286-
runs-on: ubuntu-20.04
286+
runs-on: ubuntu-24.04
287287
steps:
288288
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
289289
uses: actions/checkout@v4
@@ -306,7 +306,7 @@ jobs:
306306
name: Circular Dependency Check
307307
needs: [job_get_metadata, job_build]
308308
timeout-minutes: 10
309-
runs-on: ubuntu-20.04
309+
runs-on: ubuntu-24.04
310310
steps:
311311
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
312312
uses: actions/checkout@v4
@@ -326,7 +326,7 @@ jobs:
326326
job_artifacts:
327327
name: Upload Artifacts
328328
needs: [job_get_metadata, job_build]
329-
runs-on: ubuntu-20.04
329+
runs-on: ubuntu-24.04
330330
# Build artifacts are only needed for releasing workflow.
331331
if: needs.job_get_metadata.outputs.is_release == 'true'
332332
steps:
@@ -363,7 +363,7 @@ jobs:
363363
name: Browser Unit Tests
364364
needs: [job_get_metadata, job_build]
365365
timeout-minutes: 10
366-
runs-on: ubuntu-20.04
366+
runs-on: ubuntu-24.04
367367
steps:
368368
- name: Check out base commit (${{ github.event.pull_request.base.sha }})
369369
uses: actions/checkout@v4
@@ -410,7 +410,7 @@ jobs:
410410
needs: [job_get_metadata, job_build]
411411
if: needs.job_build.outputs.changed_bun == 'true' || github.event_name != 'pull_request'
412412
timeout-minutes: 10
413-
runs-on: ubuntu-20.04
413+
runs-on: ubuntu-24.04
414414
strategy:
415415
fail-fast: false
416416
steps:
@@ -437,7 +437,7 @@ jobs:
437437
needs: [job_get_metadata, job_build]
438438
if: needs.job_build.outputs.changed_deno == 'true' || github.event_name != 'pull_request'
439439
timeout-minutes: 10
440-
runs-on: ubuntu-20.04
440+
runs-on: ubuntu-24.04
441441
strategy:
442442
fail-fast: false
443443
steps:
@@ -467,7 +467,7 @@ jobs:
467467
name: Node (${{ matrix.node }}) Unit Tests
468468
needs: [job_get_metadata, job_build]
469469
timeout-minutes: 10
470-
runs-on: ubuntu-20.04
470+
runs-on: ubuntu-24.04
471471
strategy:
472472
fail-fast: false
473473
matrix:
@@ -522,7 +522,7 @@ jobs:
522522
matrix.project) || ''}}${{ matrix.shard && format(' ({0}/{1})', matrix.shard, matrix.shards) || ''}} Tests
523523
needs: [job_get_metadata, job_build]
524524
if: needs.job_build.outputs.changed_browser_integration == 'true' || github.event_name != 'pull_request'
525-
runs-on: ubuntu-20.04-large-js
525+
runs-on: ubuntu-24.04-large-js
526526
timeout-minutes: 25
527527
strategy:
528528
fail-fast: false
@@ -616,7 +616,7 @@ jobs:
616616
name: PW ${{ matrix.bundle }} Tests
617617
needs: [job_get_metadata, job_build]
618618
if: needs.job_build.outputs.changed_browser_integration == 'true' || github.event_name != 'pull_request'
619-
runs-on: ubuntu-20.04
619+
runs-on: ubuntu-24.04
620620
timeout-minutes: 15
621621
strategy:
622622
fail-fast: false
@@ -676,7 +676,7 @@ jobs:
676676
job_check_for_faulty_dts:
677677
name: Check for faulty .d.ts files
678678
needs: [job_get_metadata, job_build]
679-
runs-on: ubuntu-20.04
679+
runs-on: ubuntu-24.04
680680
timeout-minutes: 5
681681
steps:
682682
- name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }})
@@ -704,7 +704,7 @@ jobs:
704704
Tests
705705
needs: [job_get_metadata, job_build]
706706
if: needs.job_build.outputs.changed_node_integration == 'true' || github.event_name != 'pull_request'
707-
runs-on: ubuntu-20.04
707+
runs-on: ubuntu-24.04
708708
timeout-minutes: 15
709709
strategy:
710710
fail-fast: false
@@ -751,7 +751,7 @@ jobs:
751751
name: Remix (Node ${{ matrix.node }}) Tests
752752
needs: [job_get_metadata, job_build]
753753
if: needs.job_build.outputs.changed_remix == 'true' || github.event_name != 'pull_request'
754-
runs-on: ubuntu-20.04
754+
runs-on: ubuntu-24.04
755755
timeout-minutes: 10
756756
strategy:
757757
fail-fast: false
@@ -799,7 +799,7 @@ jobs:
799799
always() &&
800800
needs.job_build.result == 'success'
801801
needs: [job_get_metadata, job_build]
802-
runs-on: ubuntu-20.04-large-js
802+
runs-on: ubuntu-24.04-large-js
803803
timeout-minutes: 15
804804
outputs:
805805
matrix: ${{ steps.matrix.outputs.matrix }}
@@ -860,7 +860,7 @@ jobs:
860860
if:
861861
always() && needs.job_e2e_prepare.result == 'success' && needs.job_e2e_prepare.outputs.matrix != '{"include":[]}'
862862
needs: [job_get_metadata, job_build, job_e2e_prepare]
863-
runs-on: ubuntu-22.04
863+
runs-on: ubuntu-24.04
864864
timeout-minutes: 15
865865
env:
866866
# We just use a dummy DSN here, only send to the tunnel anyhow
@@ -979,7 +979,7 @@ jobs:
979979
needs.job_e2e_prepare.outputs.matrix-optional != '{"include":[]}' && (github.event_name != 'pull_request' ||
980980
github.event.pull_request.head.repo.full_name == github.repository) && github.actor != 'dependabot[bot]'
981981
needs: [job_get_metadata, job_build, job_e2e_prepare]
982-
runs-on: ubuntu-20.04
982+
runs-on: ubuntu-24.04
983983
timeout-minutes: 15
984984
env:
985985
E2E_TEST_AUTH_TOKEN: ${{ secrets.E2E_TEST_AUTH_TOKEN }}
@@ -1099,7 +1099,7 @@ jobs:
10991099
]
11001100
# Always run this, even if a dependent job failed
11011101
if: always()
1102-
runs-on: ubuntu-20.04
1102+
runs-on: ubuntu-24.04
11031103
steps:
11041104
- name: Check for failures
11051105
if: contains(needs.*.result, 'failure')

.github/workflows/canary.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ permissions:
2727
jobs:
2828
job_e2e_prepare:
2929
name: Prepare E2E Canary tests
30-
runs-on: ubuntu-20.04
30+
runs-on: ubuntu-24.04
3131
timeout-minutes: 30
3232
steps:
3333
- name: Check out current commit
@@ -54,7 +54,7 @@ jobs:
5454
job_e2e_tests:
5555
name: E2E ${{ matrix.label }} Test
5656
needs: [job_e2e_prepare]
57-
runs-on: ubuntu-20.04
57+
runs-on: ubuntu-24.04
5858
timeout-minutes: 20
5959
env:
6060
# We just use a dummy DSN here, only send to the tunnel anyhow

.github/workflows/clear-cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
jobs:
2222
clear-caches:
2323
name: Delete all caches
24-
runs-on: ubuntu-20.04
24+
runs-on: ubuntu-24.04
2525
steps:
2626
- uses: actions/checkout@v4
2727

.github/workflows/enforce-license-compliance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717

1818
jobs:
1919
enforce-license-compliance:
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-24.04
2121
steps:
2222
- name: 'Enforce License Compliance'
2323
uses: getsentry/action-enforce-license-compliance@main

.github/workflows/external-contributors.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
permissions:
1313
pull-requests: write
1414
contents: write
15-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-24.04
1616
if: |
1717
github.event.pull_request.merged == true
1818
&& github.event.pull_request.author_association != 'COLLABORATOR'
@@ -36,7 +36,7 @@ jobs:
3636
author_association: ${{ github.event.pull_request.author_association }}
3737

3838
- name: Create PR with changes
39-
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f
39+
uses: peter-evans/create-pull-request@dd2324fc52d5d43c699a5636bcf19fceaa70c284
4040
with:
4141
# This token is scoped to Daniel Griesser
4242
# If we used the default GITHUB_TOKEN, the resulting PR would not trigger CI :(

.github/workflows/flaky-test-detector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ concurrency:
2323

2424
jobs:
2525
flaky-detector:
26-
runs-on: ubuntu-20.04
26+
runs-on: ubuntu-24.04
2727
timeout-minutes: 60
2828
name: 'Check tests for flakiness'
2929
# Also skip if PR is from master -> develop

.github/workflows/gitflow-sync-develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
jobs:
1818
main:
1919
name: Create PR master->develop
20-
runs-on: ubuntu-20.04
20+
runs-on: ubuntu-24.04
2121
permissions:
2222
pull-requests: write
2323
contents: write

.github/workflows/release-comment-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
# This workflow is triggered when a release is published
1313
jobs:
1414
release-comment-issues:
15-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-24.04
1616
name: 'Notify issues'
1717
steps:
1818
- name: Get version

.github/workflows/release-size-info.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
# It fetches the size-limit info from the release branch and adds it to the release
1414
jobs:
1515
release-size-info:
16-
runs-on: ubuntu-20.04
16+
runs-on: ubuntu-24.04
1717
name: 'Add size-limit info to release'
1818

1919
steps:

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ on:
1414
default: master
1515
jobs:
1616
release:
17-
runs-on: ubuntu-20.04
17+
runs-on: ubuntu-24.04
1818
name: 'Release a new version'
1919
steps:
2020
- name: Get auth token
2121
id: token
22-
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
22+
uses: actions/create-github-app-token@0d564482f06ca65fa9e77e2510873638c82206f2 # v1.11.5
2323
with:
2424
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
2525
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,23 @@
1010

1111
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
1212

13+
## 9.4.0
14+
15+
- feat(core): Add types for logs protocol and envelope ([#15530](https://github.com/getsentry/sentry-javascript/pull/15530))
16+
- feat(deps): Bump `@sentry/cli` from 2.41.1 to 2.42.2 ([#15510](https://github.com/getsentry/sentry-javascript/pull/15510))
17+
- feat(deps): Bump `@sentry/webpack-plugin` from 3.1.2 to 3.2.1 ([#15512](https://github.com/getsentry/sentry-javascript/pull/15512))
18+
- feat(feedback) Allowing annotation via highlighting & masking ([#15484](https://github.com/getsentry/sentry-javascript/pull/15484))
19+
- feat(nextjs): Add `use client` directive to client SDK entrypoints ([#15575](https://github.com/getsentry/sentry-javascript/pull/15575))
20+
- feat(nextjs): Allow silencing of instrumentation warning ([#15555](https://github.com/getsentry/sentry-javascript/pull/15555))
21+
- feat(sveltekit): Ensure `AsyncLocalStorage` async context strategy is used in Cloudflare Pages ([#15557](https://github.com/getsentry/sentry-javascript/pull/15557))
22+
- fix(cloudflare): Make `@cloudflare/workers-types` an optional peer dependency ([#15554](https://github.com/getsentry/sentry-javascript/pull/15554))
23+
- fix(core): Don't reverse values in event filters ([#15584](https://github.com/getsentry/sentry-javascript/pull/15584))
24+
- fix(core): Handle normalization of null prototypes correctly ([#15556](https://github.com/getsentry/sentry-javascript/pull/15556))
25+
- fix(nextjs): Only warn on missing `onRequestError` in version 15 ([#15553](https://github.com/getsentry/sentry-javascript/pull/15553))
26+
- fix(node): Allow for `undefined` transport to be passed in ([#15560](https://github.com/getsentry/sentry-javascript/pull/15560))
27+
- fix(wasm): Fix wasm integration stacktrace parsing for filename ([#15572](https://github.com/getsentry/sentry-javascript/pull/15572))
28+
- perf(node): Store normalized request for processing ([#15570](https://github.com/getsentry/sentry-javascript/pull/15570))
29+
1330
## 9.3.0
1431

1532
### Important Changes

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,8 @@ package. Please refer to the README and instructions of those SDKs for more deta
7676

7777
## Version Support Policy
7878

79-
The current version of the SDK is 8.x. Version 7.x of the SDK will continue to receive critical bugfixes until end
80-
of 2024.
81-
82-
All SDKs require Node v18+ to run. ESM-only SDKs require Node v18.19.1+ to run.
79+
We recognize the importance of continued support for our SDK across different versions.
80+
Our commitment is to provide bug fixes and feature updates for older versions based on community demand and usage.
8381

8482
## Installation and Usage
8583

0 commit comments

Comments
 (0)