Skip to content

Commit ca99121

Browse files
authored
Merge pull request #12976 from getsentry/prepare-release/8.19.0
meta(changelog): Update changelog for 8.19.0
2 parents a2972b6 + c7ff1a9 commit ca99121

File tree

101 files changed

+1337
-771
lines changed

Some content is hidden

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

101 files changed

+1337
-771
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ jobs:
105105
- *shared
106106
- 'packages/browser/**'
107107
- 'packages/browser-utils/**'
108-
- 'packages/replay/**'
108+
- 'packages/replay-internal/**'
109+
- 'packages/replay-worker/**'
109110
- 'packages/replay-canvas/**'
110111
- 'packages/feedback/**'
111112
- 'packages/wasm/**'
@@ -131,6 +132,7 @@ jobs:
131132
- *node
132133
- 'packages/nextjs/**'
133134
- 'packages/react/**'
135+
- 'packages/vercel-edge/**'
134136
remix:
135137
- *shared
136138
- *browser
@@ -147,8 +149,10 @@ jobs:
147149
- 'dev-packages/e2e-tests/test-applications/node-profiling/**'
148150
deno:
149151
- *shared
150-
- *browser
151152
- 'packages/deno/**'
153+
bun:
154+
- *shared
155+
- 'packages/bun/**'
152156
any_code:
153157
- '!**/*.md'
154158
@@ -166,6 +170,7 @@ jobs:
166170
changed_profiling_node: ${{ steps.changed.outputs.profiling_node }}
167171
changed_profiling_node_bindings: ${{ steps.changed.outputs.profiling_node_bindings }}
168172
changed_deno: ${{ steps.changed.outputs.deno }}
173+
changed_bun: ${{ steps.changed.outputs.bun }}
169174
changed_browser: ${{ steps.changed.outputs.browser }}
170175
changed_browser_integration: ${{ steps.changed.outputs.browser_integration }}
171176
changed_any_code: ${{ steps.changed.outputs.any_code }}
@@ -451,6 +456,7 @@ jobs:
451456
job_bun_unit_tests:
452457
name: Bun Unit Tests
453458
needs: [job_get_metadata, job_build]
459+
if: needs.job_get_metadata.outputs.changed_bun == 'true' || github.event_name != 'pull_request'
454460
timeout-minutes: 10
455461
runs-on: ubuntu-20.04
456462
strategy:
@@ -1031,7 +1037,9 @@ jobs:
10311037
'generic-ts3.8',
10321038
'node-fastify',
10331039
'node-hapi',
1034-
'nestjs',
1040+
'nestjs-basic',
1041+
'nestjs-distributed-tracing',
1042+
'nestjs-with-submodules',
10351043
'node-exports-test-app',
10361044
'node-koa',
10371045
'node-connect',

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@
88

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

11+
## 8.19.0
12+
13+
- feat(core): Align Span interface with OTEL (#12898)
14+
- fix(angular): Remove `afterSendEvent` listener once root injector is destroyed (#12786)
15+
- fix(browser): Fix bug causing unintentional dropping of transactions (#12933)
16+
- fix(feedback): Add a missing call of Actor.appendToDom method when DOMContentLoaded event is triggered (#12973)
17+
18+
Work in this release was contributed by @jaspreet57 and @arturovt. Thank you for your contribution!
19+
1120
## 8.18.0
1221

1322
### Important Changes
@@ -38,7 +47,7 @@ instead. If you want to disable performance monitoring, remove the `tracesSample
3847
- fix(tracing): Ensure you can pass `null` as `parentSpan` in `startSpan*` (#12928)
3948
- ref(core): Small bundle size improvement (#12830)
4049

41-
Work in this release was contributed by @GitSquared and @mcous. Thank you for your contributions!
50+
Work in this release was contributed by @GitSquared, @ziyadkhalil and @mcous. Thank you for your contributions!
4251

4352
## 8.17.0
4453

dev-packages/e2e-tests/test-applications/nestjs/package.json renamed to dev-packages/e2e-tests/test-applications/nestjs-basic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "nestjs",
2+
"name": "nestjs-basic",
33
"version": "0.0.1",
44
"private": true,
55
"scripts": {
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
import { Controller, Get, Param } from '@nestjs/common';
2+
import { AppService } from './app.service';
3+
4+
@Controller()
5+
export class AppController {
6+
constructor(private readonly appService: AppService) {}
7+
8+
@Get('test-transaction')
9+
testTransaction() {
10+
return this.appService.testTransaction();
11+
}
12+
13+
@Get('test-exception/:id')
14+
async testException(@Param('id') id: string) {
15+
return this.appService.testException(id);
16+
}
17+
18+
@Get('test-expected-exception/:id')
19+
async testExpectedException(@Param('id') id: string) {
20+
return this.appService.testExpectedException(id);
21+
}
22+
23+
@Get('test-span-decorator-async')
24+
async testSpanDecoratorAsync() {
25+
return { result: await this.appService.testSpanDecoratorAsync() };
26+
}
27+
28+
@Get('test-span-decorator-sync')
29+
async testSpanDecoratorSync() {
30+
return { result: await this.appService.testSpanDecoratorSync() };
31+
}
32+
33+
@Get('kill-test-cron')
34+
async killTestCron() {
35+
this.appService.killTestCron();
36+
}
37+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { Module } from '@nestjs/common';
2+
import { ScheduleModule } from '@nestjs/schedule';
3+
import { AppController } from './app.controller';
4+
import { AppService } from './app.service';
5+
6+
@Module({
7+
imports: [ScheduleModule.forRoot()],
8+
controllers: [AppController],
9+
providers: [AppService],
10+
})
11+
export class AppModule {}

dev-packages/e2e-tests/test-applications/nestjs/src/app.service.ts renamed to dev-packages/e2e-tests/test-applications/nestjs-basic/src/app.service.ts

Lines changed: 1 addition & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { Cron, SchedulerRegistry } from '@nestjs/schedule';
33
import * as Sentry from '@sentry/nestjs';
44
import { SentryCron, SentryTraced } from '@sentry/nestjs';
55
import type { MonitorConfig } from '@sentry/types';
6-
import { makeHttpRequest } from './utils';
76

87
const monitorConfig: MonitorConfig = {
98
schedule: {
@@ -13,53 +12,15 @@ const monitorConfig: MonitorConfig = {
1312
};
1413

1514
@Injectable()
16-
export class AppService1 {
15+
export class AppService {
1716
constructor(private schedulerRegistry: SchedulerRegistry) {}
1817

19-
testSuccess() {
20-
return { version: 'v1' };
21-
}
22-
23-
testParam(id: string) {
24-
return {
25-
paramWas: id,
26-
};
27-
}
28-
29-
testInboundHeaders(headers: Record<string, string>, id: string) {
30-
return {
31-
headers,
32-
id,
33-
};
34-
}
35-
36-
async testOutgoingHttp(id: string) {
37-
const data = await makeHttpRequest(`http://localhost:3030/test-inbound-headers/${id}`);
38-
39-
return data;
40-
}
41-
42-
async testOutgoingFetch(id: string) {
43-
const response = await fetch(`http://localhost:3030/test-inbound-headers/${id}`);
44-
const data = await response.json();
45-
46-
return data;
47-
}
48-
4918
testTransaction() {
5019
Sentry.startSpan({ name: 'test-span' }, () => {
5120
Sentry.startSpan({ name: 'child-span' }, () => {});
5221
});
5322
}
5423

55-
async testError() {
56-
const exceptionId = Sentry.captureException(new Error('This is an error'));
57-
58-
await Sentry.flush(2000);
59-
60-
return { exceptionId };
61-
}
62-
6324
testException(id: string) {
6425
throw new Error(`This is an exception with id ${id}`);
6526
}
@@ -68,26 +29,6 @@ export class AppService1 {
6829
throw new HttpException(`This is an expected exception with id ${id}`, HttpStatus.FORBIDDEN);
6930
}
7031

71-
async testOutgoingFetchExternalAllowed() {
72-
const fetchResponse = await fetch('http://localhost:3040/external-allowed');
73-
74-
return fetchResponse.json();
75-
}
76-
77-
async testOutgoingFetchExternalDisallowed() {
78-
const fetchResponse = await fetch('http://localhost:3040/external-disallowed');
79-
80-
return fetchResponse.json();
81-
}
82-
83-
async testOutgoingHttpExternalAllowed() {
84-
return makeHttpRequest('http://localhost:3040/external-allowed');
85-
}
86-
87-
async testOutgoingHttpExternalDisallowed() {
88-
return makeHttpRequest('http://localhost:3040/external-disallowed');
89-
}
90-
9132
@SentryTraced('wait and return a string')
9233
async wait() {
9334
await new Promise(resolve => setTimeout(resolve, 500));
@@ -124,20 +65,3 @@ export class AppService1 {
12465
this.schedulerRegistry.deleteCronJob('test-cron-job');
12566
}
12667
}
127-
128-
@Injectable()
129-
export class AppService2 {
130-
externalAllowed(headers: Record<string, string>) {
131-
return {
132-
headers,
133-
route: 'external-allowed',
134-
};
135-
}
136-
137-
externalDisallowed(headers: Record<string, string>) {
138-
return {
139-
headers,
140-
route: 'external-disallowed',
141-
};
142-
}
143-
}

0 commit comments

Comments
 (0)