Skip to content

Commit 5e5c933

Browse files
author
Luca Forstner
authored
Merge pull request #12190 from getsentry/prepare-release/8.4.0
2 parents 37d09ca + b203c2b commit 5e5c933

Some content is hidden

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

60 files changed

+1393
-64
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -994,6 +994,7 @@ jobs:
994994
test-application:
995995
[
996996
'angular-17',
997+
'angular-18',
997998
'cloudflare-astro',
998999
'node-express',
9991000
'create-react-app',
@@ -1007,6 +1008,7 @@ jobs:
10071008
'node-express-esm-without-loader',
10081009
'nextjs-app-dir',
10091010
'nextjs-14',
1011+
'nextjs-15',
10101012
'react-create-hash-router',
10111013
'react-router-6-use-routes',
10121014
'react-router-5',

.github/workflows/canary.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ jobs:
8383
- test-application: 'nextjs-14'
8484
build-command: 'test:build-latest'
8585
label: 'nextjs-14 (latest)'
86+
- test-application: 'nextjs-15'
87+
build-command: 'test:build-canary'
88+
label: 'nextjs-15 (canary)'
89+
- test-application: 'nextjs-15'
90+
build-command: 'test:build-latest'
91+
label: 'nextjs-15 (latest)'
8692
- test-application: 'react-create-hash-router'
8793
build-command: 'test:build-canary'
8894
label: 'react-create-hash-router (canary)'

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@
44

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

7+
## 8.4.0
8+
9+
### Important Changes
10+
11+
- **feat(nextjs): Trace pageloads in App Router (#12157)**
12+
13+
If you are using Next.js version `14.3.0-canary.64` or above, the Sentry Next.js SDK will now trace clientside pageloads
14+
with React Server Components. This means, that client-side errors like
15+
`Error: An error occurred in the Server Components render.`, which previously didn't give you much information on how
16+
that error was caused, can now be traced back to a specific error in a server component.
17+
18+
- **feat(angular): Add Support for Angular 18 (#12183)**
19+
20+
This release guarantees support for Angular 18 with `@sentry/angular`.
21+
22+
### Other Changes
23+
24+
- feat(deps): Bump @opentelemetry/instrumentation-aws-lambda from 0.41.0 to 0.41.1 (#12078)
25+
- fix(metrics): Ensure string values are interpreted for metrics (#12165)
26+
727
## 8.3.0
828

929
### Important Changes

dev-packages/browser-integration-tests/suites/metrics/init.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ Sentry.init({
77
});
88

99
Sentry.metrics.increment('increment');
10-
Sentry.metrics.increment('increment');
10+
Sentry.metrics.increment('increment', 2);
11+
Sentry.metrics.increment('increment', '3');
1112
Sentry.metrics.distribution('distribution', 42);
12-
Sentry.metrics.distribution('distribution', 45);
13+
Sentry.metrics.distribution('distribution', '45');
1314
Sentry.metrics.gauge('gauge', 5);
14-
Sentry.metrics.gauge('gauge', 15);
15+
Sentry.metrics.gauge('gauge', '15');
1516
Sentry.metrics.set('set', 'nope');
1617
Sentry.metrics.set('set', 'another');

dev-packages/browser-integration-tests/suites/metrics/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ sentryTest('collects metrics', async ({ getLocalTestUrl, page }) => {
1212
const normalisedStatsdString = statsdString.replace(/T\d+\n?/g, 'T000000');
1313

1414
expect(normalisedStatsdString).toEqual(
15-
'increment@none:2|c|T000000distribution@none:42:45|d|T000000gauge@none:15:5:15:20:2|g|T000000set@none:3387254:3443787523|s|T000000',
15+
'increment@none:6|c|T000000distribution@none:42:45|d|T000000gauge@none:15:5:15:20:2|g|T000000set@none:3387254:3443787523|s|T000000',
1616
);
1717
});
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Editor configuration, see https://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.ts]
12+
quote_type = single
13+
14+
[*.md]
15+
max_line_length = off
16+
trim_trailing_whitespace = false
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# Compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
/bazel-out
8+
9+
# Node
10+
/node_modules
11+
npm-debug.log
12+
yarn-error.log
13+
14+
# IDEs and editors
15+
.idea/
16+
.project
17+
.classpath
18+
.c9/
19+
*.launch
20+
.settings/
21+
*.sublime-workspace
22+
23+
# Visual Studio Code
24+
.vscode/*
25+
!.vscode/settings.json
26+
!.vscode/tasks.json
27+
!.vscode/launch.json
28+
!.vscode/extensions.json
29+
.history/*
30+
31+
# Miscellaneous
32+
/.angular/cache
33+
.sass-cache/
34+
/connect.lock
35+
/coverage
36+
/libpeerconnection.log
37+
testem.log
38+
/typings
39+
40+
# System files
41+
.DS_Store
42+
Thumbs.db
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@sentry:registry=http://127.0.0.1:4873
2+
@sentry-internal:registry=http://127.0.0.1:4873
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Angular 18
2+
3+
E2E test app for Angular 18 and `@sentry/angular`.
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"angular-18": {
7+
"projectType": "application",
8+
"schematics": {},
9+
"root": "",
10+
"sourceRoot": "src",
11+
"prefix": "app",
12+
"architect": {
13+
"build": {
14+
"builder": "@angular-devkit/build-angular:application",
15+
"options": {
16+
"outputPath": "dist/angular-18",
17+
"index": "src/index.html",
18+
"browser": "src/main.ts",
19+
"polyfills": [
20+
"zone.js"
21+
],
22+
"tsConfig": "tsconfig.app.json",
23+
"assets": [
24+
"src/favicon.ico",
25+
"src/assets"
26+
],
27+
"styles": [
28+
"src/styles.css"
29+
],
30+
"scripts": []
31+
},
32+
"configurations": {
33+
"production": {
34+
"budgets": [
35+
{
36+
"type": "initial",
37+
"maximumWarning": "500kb",
38+
"maximumError": "1mb"
39+
},
40+
{
41+
"type": "anyComponentStyle",
42+
"maximumWarning": "2kb",
43+
"maximumError": "4kb"
44+
}
45+
],
46+
"outputHashing": "all"
47+
},
48+
"development": {
49+
"optimization": false,
50+
"extractLicenses": false,
51+
"sourceMap": true
52+
}
53+
},
54+
"defaultConfiguration": "production"
55+
},
56+
"serve": {
57+
"builder": "@angular-devkit/build-angular:dev-server",
58+
"configurations": {
59+
"production": {
60+
"buildTarget": "angular-18:build:production"
61+
},
62+
"development": {
63+
"buildTarget": "angular-18:build:development"
64+
}
65+
},
66+
"defaultConfiguration": "development"
67+
},
68+
"extract-i18n": {
69+
"builder": "@angular-devkit/build-angular:extract-i18n",
70+
"options": {
71+
"buildTarget": "angular-18:build"
72+
}
73+
},
74+
"test": {
75+
"builder": "@angular-devkit/build-angular:karma",
76+
"options": {
77+
"polyfills": [
78+
"zone.js",
79+
"zone.js/testing"
80+
],
81+
"tsConfig": "tsconfig.spec.json",
82+
"assets": [
83+
"src/favicon.ico",
84+
"src/assets"
85+
],
86+
"styles": [
87+
"src/styles.css"
88+
],
89+
"scripts": []
90+
}
91+
}
92+
}
93+
}
94+
}
95+
}

0 commit comments

Comments
 (0)