Skip to content

Commit 8365df0

Browse files
authored
Merge pull request #14667 from getsentry/prepare-release/8.44.0
meta(changelog): Update changelog for 8.44.0
2 parents e8847ee + 0cf7f70 commit 8365df0

File tree

28 files changed

+674
-382
lines changed

28 files changed

+674
-382
lines changed

.github/workflows/auto-release.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,16 @@ jobs:
1313
name: 'Prepare a new version'
1414

1515
steps:
16+
- name: Get auth token
17+
id: token
18+
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
19+
with:
20+
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
21+
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
22+
1623
- uses: actions/checkout@v4
1724
with:
18-
token: ${{ secrets.GH_RELEASE_PAT }}
25+
token: ${{ steps.token.outputs.token }}
1926
fetch-depth: 0
2027

2128
# https://github.com/actions-ecosystem/action-regex-match
@@ -38,7 +45,7 @@ jobs:
3845
uses: getsentry/action-prepare-release@v1
3946
if: github.event.pull_request.merged == true && steps.version-regex.outputs.match != '' && steps.get_version.outputs.version != ''
4047
env:
41-
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }}
48+
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
4249
with:
4350
version: ${{ steps.get_version.outputs.version }}
4451
force: false

.github/workflows/canary.yml

+6
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,12 @@ jobs:
149149
timeout-minutes: 7
150150
run: yarn ${{ matrix.build-command }}
151151

152+
- name: Install Playwright
153+
uses: ./.github/actions/install-playwright
154+
with:
155+
browsers: chromium
156+
cwd: dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
157+
152158
- name: Run E2E test
153159
working-directory: dev-packages/e2e-tests/test-applications/${{ matrix.test-application }}
154160
timeout-minutes: 15

.github/workflows/release.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,20 @@ jobs:
1717
runs-on: ubuntu-20.04
1818
name: 'Release a new version'
1919
steps:
20+
- name: Get auth token
21+
id: token
22+
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
23+
with:
24+
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
25+
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
2026
- uses: actions/checkout@v4
2127
with:
22-
token: ${{ secrets.GH_RELEASE_PAT }}
28+
token: ${{ steps.token.outputs.token }}
2329
fetch-depth: 0
2430
- name: Prepare release
2531
uses: getsentry/action-prepare-release@v1
2632
env:
27-
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }}
33+
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
2834
with:
2935
version: ${{ github.event.inputs.version }}
3036
force: ${{ github.event.inputs.force }}

CHANGELOG.md

+22
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,28 @@
1010

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

13+
## 8.44.0
14+
15+
### Deprecations
16+
17+
- **feat: Deprecate `autoSessionTracking` ([#14640](https://github.com/getsentry/sentry-javascript/pull/14640))**
18+
19+
Deprecates `autoSessionTracking`.
20+
To enable session tracking, it is recommended to unset `autoSessionTracking` and ensure that either, in browser environments
21+
the `browserSessionIntegration` is added, or in server environments the `httpIntegration` is added.
22+
23+
To disable session tracking, it is recommended to unset `autoSessionTracking` and to remove the `browserSessionIntegration` in
24+
browser environments, or in server environments configure the `httpIntegration` with the `trackIncomingRequestsAsSessions` option set to `false`.
25+
26+
### Other Changes
27+
28+
- feat: Reword log message around unsent spans ([#14641](https://github.com/getsentry/sentry-javascript/pull/14641))
29+
- feat(opentelemetry): Set `response` context for http.server spans ([#14634](https://github.com/getsentry/sentry-javascript/pull/14634))
30+
- fix(google-cloud-serverless): Update homepage link in package.json ([#14411](https://github.com/getsentry/sentry-javascript/pull/14411))
31+
- fix(nuxt): Add unbuild config to not fail on warn ([#14662](https://github.com/getsentry/sentry-javascript/pull/14662))
32+
33+
Work in this release was contributed by @robinvw1. Thank you for your contribution!
34+
1335
## 8.43.0
1436

1537
### Important Changes

dev-packages/e2e-tests/test-applications/nestjs-8/tests/transactions.test.ts

+4
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ test('Sends an API route transaction', async ({ baseURL }) => {
4646
origin: 'auto.http.otel.http',
4747
});
4848

49+
expect(transactionEvent.contexts?.response).toEqual({
50+
status_code: 200,
51+
});
52+
4953
expect(transactionEvent).toEqual(
5054
expect.objectContaining({
5155
spans: expect.arrayContaining([

dev-packages/e2e-tests/test-applications/node-express/tests/transactions.test.ts

+4
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ test('Sends an API route transaction', async ({ baseURL }) => {
4646
origin: 'auto.http.otel.http',
4747
});
4848

49+
expect(transactionEvent.contexts?.response).toEqual({
50+
status_code: 200,
51+
});
52+
4953
expect(transactionEvent).toEqual(
5054
expect.objectContaining({
5155
transaction: 'GET /test-transaction',

0 commit comments

Comments
 (0)