Skip to content

Commit 59dc6ff

Browse files
authored
Merge pull request #7284 from getsentry/prepare-release/7.39.0
2 parents 64a257d + cc119e3 commit 59dc6ff

File tree

198 files changed

+8670
-1453
lines changed

Some content is hidden

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

198 files changed

+8670
-1453
lines changed

.github/workflows/build.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
commit:
1212
description: If the commit you want to test isn't the head of a branch, provide its SHA here
1313
required: false
14+
schedule:
15+
# Run every day at midnight (without cache)
16+
- cron: '0 0 * * *'
1417

1518
# Cancel in progress workflows on pull_requests.
1619
# https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-a-fallback-value
@@ -141,7 +144,7 @@ jobs:
141144
has_gitflow_label:
142145
${{ github.event_name == 'pull_request' && contains(steps.pr-labels.outputs.labels, ' Gitflow ') }}
143146
force_skip_cache:
144-
${{ github.event_name == 'pull_request' && contains(steps.pr-labels.outputs.labels, ' ci-skip-cache ') }}
147+
${{ github.event_name == 'schedule' || (github.event_name == 'pull_request' && contains(steps.pr-labels.outputs.labels, ' ci-skip-cache ')) }}
145148

146149
job_install_deps:
147150
name: Install Dependencies
@@ -205,9 +208,8 @@ jobs:
205208
- name: NX cache
206209
uses: actions/cache@v3
207210
# Disable cache when:
208-
# - on develop
209211
# - on release branches
210-
# - when PR has `ci-skip-cache` label
212+
# - when PR has `ci-skip-cache` label or on nightly builds
211213
if: |
212214
needs.job_get_metadata.outputs.is_release == 'false' &&
213215
needs.job_get_metadata.outputs.force_skip_cache == 'false'
@@ -429,7 +431,7 @@ jobs:
429431
job_node_unit_tests:
430432
name: Node (${{ matrix.node }}) Unit Tests
431433
needs: [job_get_metadata, job_build]
432-
timeout-minutes: 30
434+
timeout-minutes: 10
433435
runs-on: ubuntu-20.04
434436
strategy:
435437
fail-fast: false
@@ -467,7 +469,7 @@ jobs:
467469
name: Nextjs (Node ${{ matrix.node }}) Tests
468470
needs: [job_get_metadata, job_build]
469471
if: needs.job_get_metadata.outputs.changed_nextjs == 'true' || github.event_name != 'pull_request'
470-
timeout-minutes: 30
472+
timeout-minutes: 15
471473
runs-on: ubuntu-20.04
472474
strategy:
473475
fail-fast: false
@@ -526,6 +528,7 @@ jobs:
526528
needs: [job_get_metadata, job_build]
527529
if: needs.job_get_metadata.outputs.changed_browser_integration == 'true' || github.event_name != 'pull_request'
528530
runs-on: ubuntu-20.04
531+
timeout-minutes: 15
529532
strategy:
530533
fail-fast: false
531534
matrix:

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

+4-3
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,17 @@ jobs:
1818

1919
steps:
2020
# https://github.com/actions-ecosystem/action-regex-match
21-
- uses: actions-ecosystem/action-regex-match@v2
21+
- name: Extract version from ref
22+
uses: actions-ecosystem/action-regex-match@v2
2223
id: head_version
2324
with:
2425
# Parse version from head ref, which is refs/tags/<tag_name>
25-
text: ${{ github.head_ref }}
26+
text: ${{ env.GITHUB_REF }}
2627
regex: '^refs\/tags\/([\d.]+)$'
2728

2829
- name: Get version
2930
id: get_version
30-
run: echo "version=${{ github.event.inputs.version || steps.head_version.outputs.match }}" >> $GITHUB_OUTPUT
31+
run: echo "version=${{ github.event.inputs.version || steps.head_version.outputs.group1 }}" >> $GITHUB_OUTPUT
3132

3233
- name: Update Github Release
3334
if: steps.get_version.outputs.version != ''

CHANGELOG.md

+31
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,37 @@
44

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

7+
## 7.39.0
8+
9+
This release adds a new package, `@sentry/angular-ivy`, which is our Angular SDK with full support for Angular's rendering engine, Ivy.
10+
11+
This release also adds a new `enableTracing` option, which can be used instead of `tracesSampleRate` for an easier setup.
12+
Related to this, the `hasTracingEnabled` utility function was moved from `@sentry/tracing` to `@sentry/core`.
13+
The old export from `@sentry/tracing` has been deprecated and will be removed in v8.
14+
15+
- feat(angular): Add Ivy-compatible Angular SDK package (#7264)
16+
- feat(core): Add source map images to `debug_meta` (#7168)
17+
- feat(loader): Make lazy-loading configurable (#7232)
18+
- feat(nextjs): Add performance monitoring to server components (#7242)
19+
- feat(nextjs): Default to `VERCEL_ENV` as environment (#7227)
20+
- feat(replay): Add more default block filters (#7233)
21+
- feat(tracing): Add `enableTracing` option (#7238)
22+
- fix(core): Exclude client reports from offline queuing (#7226)
23+
- fix(nextjs): Export serverside data-fetcher wrappers from client (#7256)
24+
- fix(replay): Fix timestamps on LCP (#7225)
25+
26+
**Replay `rrweb` changes:**
27+
28+
`@sentry-internal/rrweb` was updated from 1.103.0 to 1.104.1 (#7238):
29+
30+
- feat: Export `typings/types` ([#60](https://github.com/getsentry/rrweb/pull/60))
31+
- feat: Remove `autoplay` attribute from audio/video tags ([#59](https://github.com/getsentry/rrweb/pull/59))
32+
- fix: Exclude `modulepreload` as well ([#52](https://github.com/getsentry/rrweb/pull/52))
33+
- fix: Handle removed attributes ([#65](https://github.com/getsentry/rrweb/pull/65))
34+
- fix: Masking inputs on change when `maskAllInputs:false` ([#61](https://github.com/getsentry/rrweb/pull/61))
35+
- fix: More robust `rootShadowHost` check ([#50](https://github.com/getsentry/rrweb/pull/50))
36+
- fix: Textarea value is being duplicated ([#62](https://github.com/getsentry/rrweb/pull/62))
37+
738
## 7.38.0
839

940
- feat: Put `abs_path` into stack frame object (#7167)

nx.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"build:bundle",
88
"build:transpile",
99
"build:types",
10-
"lint:eslint"
10+
"lint:eslint",
11+
"test:unit"
1112
],
1213
"cacheDirectory": ".nxcache"
1314
}
@@ -69,6 +70,11 @@
6970
"lint:eslint": {
7071
"inputs": ["default"],
7172
"outputs": []
73+
},
74+
"test:unit": {
75+
"dependsOn": ["build:types", "^build:types", "build:transpile", "^build:transpile"],
76+
"inputs": ["default"],
77+
"outputs": ["{projectRoot}/coverage"]
7278
}
7379
}
7480
}

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"lint:eslint": "lerna run lint:eslint",
2626
"postpublish": "lerna run --stream --concurrency 1 postpublish",
2727
"test": "lerna run --ignore @sentry-internal/* test",
28+
"test:unit": "lerna run --ignore @sentry-internal/* test:unit",
2829
"test-ci-browser": "lerna run test --ignore \"@sentry/{node,opentelemetry-node,serverless,nextjs,remix,gatsby}\" --ignore @sentry-internal/*",
2930
"test-ci-node": "ts-node ./scripts/node-unit-tests.ts",
3031
"test:update-snapshots": "lerna run test:update-snapshots"
@@ -35,6 +36,7 @@
3536
},
3637
"workspaces": [
3738
"packages/angular",
39+
"packages/angular-ivy",
3840
"packages/browser",
3941
"packages/core",
4042
"packages/e2e-tests",

packages/angular-ivy/.eslintrc.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
},
5+
extends: ['../../.eslintrc.js'],
6+
ignorePatterns: ['scripts/**/*'],
7+
};

packages/angular-ivy/LICENSE

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Copyright (c) 2023 Sentry (https://sentry.io) and individual contributors. All rights reserved.
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
4+
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
5+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
6+
persons to whom the Software is furnished to do so, subject to the following conditions:
7+
8+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
9+
Software.
10+
11+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
12+
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
13+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
14+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)