Skip to content

Commit 2e6147a

Browse files
Merge pull request #8044 from getsentry/master
[Gitflow] Merge master into develop
2 parents 3c00c68 + fa81a1b commit 2e6147a

File tree

36 files changed

+186
-122
lines changed

36 files changed

+186
-122
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ jobs:
193193
steps:
194194
- name: PR is opened against master
195195
uses: mshick/add-pr-comment@a65df5f64fc741e91c59b8359a4bc56e57aaf5b1
196-
if: ${{ github.base_ref == 'master' && !startsWith(github.ref, 'refs/heads/prepare-release/') }}
196+
if: ${{ github.base_ref == 'master' && !startsWith(github.head_ref, 'prepare-release/') }}
197197
with:
198198
message: |
199199
⚠️ This PR is opened against **master**. You probably want to open it against **develop**.

CHANGELOG.md

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

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

7+
## 7.51.0
8+
9+
### Important Changes
10+
11+
- **feat(sveltekit): Auto-wrap `load` functions with proxy module (#7994)**
12+
13+
`@sentry/sveltekit` now auto-wraps `load` functions in
14+
15+
* `+(page|layout).(ts|js)` files (universal loads)
16+
* `+(page|layout).server.(ts|js)` files (server-only loads)
17+
18+
This means that you don't have to manually add the `wrapLoadWithSentry` and `wrapServerLoadWithSentry` functions around your load functions. The SDK will not interfere with already wrapped `load` functions.
19+
20+
For more details, take a look at the [Readme](https://github.com/getsentry/sentry-javascript/blob/develop/packages/sveltekit/README.md#configure-auto-instrumentation)
21+
22+
- **chore(angular): Upgrade `peerDependencies` to Angular 16 (#8035)**
23+
24+
We now officially support Angular 16 in `@sentry/angular-ivy`.
25+
Note that `@sentry/angular` _does not_ support Angular 16.
26+
27+
- **feat(node): Add ability to send cron monitor check ins (#8039)**
28+
29+
This release adds [Sentry cron monitoring](https://docs.sentry.io/product/crons/) support to the Node SDK.
30+
31+
To monitor your cron jobs, send check-ins everytime you execute your cron jobs to Sentry. You can do this with the `captureCheckIn` method exported from the SDK. First you must send an `in_progress`, checkin, then you can send one with status `ok` or `error` based on what happened with your cron job.
32+
33+
```ts
34+
const Sentry = require('@sentry/node');
35+
36+
// ...
37+
38+
Sentry.captureCheckIn({
39+
// make sure this is the same slug as what you set up your
40+
// Sentry cron monitor with.
41+
monitorSlug: 'dailyEmail',
42+
status: 'in_progress',
43+
});
44+
45+
const startTime = timeInSeconds();
46+
47+
runTask();
48+
49+
Sentry.captureCheckIn({
50+
monitorSlug: 'dailyEmail',
51+
status: 'ok',
52+
duration: timeInSeconds() - startTime,
53+
});
54+
```
55+
56+
### Additional Features and Fixes
57+
58+
- feat(browser): Export makeMultiplexedTransport from browser SDK (#8012)
59+
- feat(node): Add `http.method` to node http spans (#7991)
60+
- feat(tracing): add body size for fetch requests (#7935)
61+
- feat(tracing): Use http.method for span data (#7990)
62+
- fix(integrations): Handle windows paths with no prefix or backslash prefix in `RewriteFrames` (#7995)
63+
- fix(node): Mark stack frames with url protocol as in-app frames (#8008)
64+
- fix(remix): Export `Integration` type declaration as union type (#8016)
65+
- fix(replay): Do not add replay_id to DSC while buffering (#8020)
66+
- fix(tracing): Don't set method multiple times (#8014)
67+
- fix(utils): Normalize `undefined` to `undefined` instead of `"[undefined]"` (#8017)
68+
69+
Work in this release contributed by @srubin and @arjenbrandenburgh. Thank you for your contributions!
70+
771
## 7.50.0
872

973
### Important Changes

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"version": "7.50.0",
3+
"version": "7.51.0",
44
"npmClient": "yarn",
55
"useWorkspaces": true
66
}

packages/angular-ivy/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/angular-ivy",
3-
"version": "7.50.0",
3+
"version": "7.51.0",
44
"description": "Official Sentry SDK for Angular with full Ivy Support",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/angular-ivy",
@@ -21,9 +21,9 @@
2121
"rxjs": "^6.5.5 || ^7.x"
2222
},
2323
"dependencies": {
24-
"@sentry/browser": "7.50.0",
25-
"@sentry/types": "7.50.0",
26-
"@sentry/utils": "7.50.0",
24+
"@sentry/browser": "7.51.0",
25+
"@sentry/types": "7.51.0",
26+
"@sentry/utils": "7.51.0",
2727
"tslib": "^2.3.0"
2828
},
2929
"devDependencies": {

packages/angular/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/angular",
3-
"version": "7.50.0",
3+
"version": "7.51.0",
44
"description": "Official Sentry SDK for Angular",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/angular",
@@ -21,9 +21,9 @@
2121
"rxjs": "^6.5.5 || ^7.x"
2222
},
2323
"dependencies": {
24-
"@sentry/browser": "7.50.0",
25-
"@sentry/types": "7.50.0",
26-
"@sentry/utils": "7.50.0",
24+
"@sentry/browser": "7.51.0",
25+
"@sentry/types": "7.51.0",
26+
"@sentry/utils": "7.51.0",
2727
"tslib": "^2.0.0"
2828
},
2929
"devDependencies": {

packages/browser-integration-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/browser-integration-tests",
3-
"version": "7.50.0",
3+
"version": "7.51.0",
44
"main": "index.js",
55
"license": "MIT",
66
"engines": {

packages/browser/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/browser",
3-
"version": "7.50.0",
3+
"version": "7.51.0",
44
"description": "Official Sentry SDK for browsers",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/browser",
@@ -16,15 +16,15 @@
1616
"access": "public"
1717
},
1818
"dependencies": {
19-
"@sentry-internal/tracing": "7.50.0",
20-
"@sentry/core": "7.50.0",
21-
"@sentry/replay": "7.50.0",
22-
"@sentry/types": "7.50.0",
23-
"@sentry/utils": "7.50.0",
19+
"@sentry-internal/tracing": "7.51.0",
20+
"@sentry/core": "7.51.0",
21+
"@sentry/replay": "7.51.0",
22+
"@sentry/types": "7.51.0",
23+
"@sentry/utils": "7.51.0",
2424
"tslib": "^1.9.3"
2525
},
2626
"devDependencies": {
27-
"@sentry-internal/integration-shims": "7.50.0",
27+
"@sentry-internal/integration-shims": "7.51.0",
2828
"@types/md5": "2.1.33",
2929
"btoa": "^1.2.1",
3030
"chai": "^4.1.2",

packages/core/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/core",
3-
"version": "7.50.0",
3+
"version": "7.51.0",
44
"description": "Base implementation for all Sentry JavaScript SDKs",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/core",
@@ -16,8 +16,8 @@
1616
"access": "public"
1717
},
1818
"dependencies": {
19-
"@sentry/types": "7.50.0",
20-
"@sentry/utils": "7.50.0",
19+
"@sentry/types": "7.51.0",
20+
"@sentry/utils": "7.51.0",
2121
"tslib": "^1.9.3"
2222
},
2323
"scripts": {

packages/core/src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const SDK_VERSION = '7.50.0';
1+
export const SDK_VERSION = '7.51.0';

packages/e2e-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/e2e-tests",
3-
"version": "7.50.0",
3+
"version": "7.51.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=10"

0 commit comments

Comments
 (0)