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"

packages/ember/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/ember",
3-
"version": "7.50.0",
3+
"version": "7.51.0",
44
"description": "Official Sentry SDK for Ember.js",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/ember",
@@ -29,9 +29,9 @@
2929
},
3030
"dependencies": {
3131
"@embroider/macros": "^1.9.0",
32-
"@sentry/browser": "7.50.0",
33-
"@sentry/types": "7.50.0",
34-
"@sentry/utils": "7.50.0",
32+
"@sentry/browser": "7.51.0",
33+
"@sentry/types": "7.51.0",
34+
"@sentry/utils": "7.51.0",
3535
"ember-auto-import": "^1.12.1 || ^2.4.3",
3636
"ember-cli-babel": "^7.26.11",
3737
"ember-cli-htmlbars": "^6.1.1",

packages/eslint-config-sdk/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/eslint-config-sdk",
3-
"version": "7.50.0",
3+
"version": "7.51.0",
44
"description": "Official Sentry SDK eslint config",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/eslint-config-sdk",
@@ -19,8 +19,8 @@
1919
"access": "public"
2020
},
2121
"dependencies": {
22-
"@sentry-internal/eslint-plugin-sdk": "7.50.0",
23-
"@sentry-internal/typescript": "7.50.0",
22+
"@sentry-internal/eslint-plugin-sdk": "7.51.0",
23+
"@sentry-internal/typescript": "7.51.0",
2424
"@typescript-eslint/eslint-plugin": "^5.48.0",
2525
"@typescript-eslint/parser": "^5.48.0",
2626
"eslint-config-prettier": "^6.11.0",

packages/eslint-plugin-sdk/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/eslint-plugin-sdk",
3-
"version": "7.50.0",
3+
"version": "7.51.0",
44
"description": "Official Sentry SDK eslint plugin",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/eslint-plugin-sdk",

packages/gatsby/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/gatsby",
3-
"version": "7.50.0",
3+
"version": "7.51.0",
44
"description": "Official Sentry SDK for Gatsby.js",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/gatsby",
@@ -20,10 +20,10 @@
2020
"access": "public"
2121
},
2222
"dependencies": {
23-
"@sentry/core": "7.50.0",
24-
"@sentry/react": "7.50.0",
25-
"@sentry/types": "7.50.0",
26-
"@sentry/utils": "7.50.0",
23+
"@sentry/core": "7.51.0",
24+
"@sentry/react": "7.51.0",
25+
"@sentry/types": "7.51.0",
26+
"@sentry/utils": "7.51.0",
2727
"@sentry/webpack-plugin": "1.19.0"
2828
},
2929
"peerDependencies": {

packages/hub/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/hub",
3-
"version": "7.50.0",
3+
"version": "7.51.0",
44
"description": "Sentry hub which handles global state managment.",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/hub",
@@ -16,9 +16,9 @@
1616
"access": "public"
1717
},
1818
"dependencies": {
19-
"@sentry/core": "7.50.0",
20-
"@sentry/types": "7.50.0",
21-
"@sentry/utils": "7.50.0",
19+
"@sentry/core": "7.51.0",
20+
"@sentry/types": "7.51.0",
21+
"@sentry/utils": "7.51.0",
2222
"tslib": "^1.9.3"
2323
},
2424
"scripts": {

packages/integration-shims/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/integration-shims",
3-
"version": "7.50.0",
3+
"version": "7.51.0",
44
"description": "Shims for integrations in Sentry SDK.",
55
"main": "build/cjs/index.js",
66
"module": "build/esm/index.js",
@@ -34,7 +34,7 @@
3434
"url": "https://github.com/getsentry/sentry-javascript/issues"
3535
},
3636
"dependencies": {
37-
"@sentry/types": "7.50.0"
37+
"@sentry/types": "7.51.0"
3838
},
3939
"engines": {
4040
"node": ">=12"

packages/integrations/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/integrations",
3-
"version": "7.50.0",
3+
"version": "7.51.0",
44
"description": "Pluggable integrations that can be used to enhance JS SDKs",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/integrations",
@@ -16,13 +16,13 @@
1616
"module": "build/npm/esm/index.js",
1717
"types": "build/npm/types/index.d.ts",
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
"localforage": "^1.8.1",
2222
"tslib": "^1.9.3"
2323
},
2424
"devDependencies": {
25-
"@sentry/browser": "7.50.0",
25+
"@sentry/browser": "7.51.0",
2626
"chai": "^4.1.2"
2727
},
2828
"scripts": {

packages/nextjs/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/nextjs",
3-
"version": "7.50.0",
3+
"version": "7.51.0",
44
"description": "Official Sentry SDK for Next.js",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/nextjs",
@@ -18,12 +18,12 @@
1818
},
1919
"dependencies": {
2020
"@rollup/plugin-commonjs": "24.0.0",
21-
"@sentry/core": "7.50.0",
22-
"@sentry/integrations": "7.50.0",
23-
"@sentry/node": "7.50.0",
24-
"@sentry/react": "7.50.0",
25-
"@sentry/types": "7.50.0",
26-
"@sentry/utils": "7.50.0",
21+
"@sentry/core": "7.51.0",
22+
"@sentry/integrations": "7.51.0",
23+
"@sentry/node": "7.51.0",
24+
"@sentry/react": "7.51.0",
25+
"@sentry/types": "7.51.0",
26+
"@sentry/utils": "7.51.0",
2727
"@sentry/webpack-plugin": "1.20.0",
2828
"chalk": "3.0.0",
2929
"rollup": "2.78.0",

packages/node-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/node-integration-tests",
3-
"version": "7.50.0",
3+
"version": "7.51.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=10"

packages/node/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/node",
3-
"version": "7.50.0",
3+
"version": "7.51.0",
44
"description": "Official Sentry SDK for Node.js",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/node",
@@ -16,10 +16,10 @@
1616
"access": "public"
1717
},
1818
"dependencies": {
19-
"@sentry-internal/tracing": "7.50.0",
20-
"@sentry/core": "7.50.0",
21-
"@sentry/types": "7.50.0",
22-
"@sentry/utils": "7.50.0",
19+
"@sentry-internal/tracing": "7.51.0",
20+
"@sentry/core": "7.51.0",
21+
"@sentry/types": "7.51.0",
22+
"@sentry/utils": "7.51.0",
2323
"cookie": "^0.4.1",
2424
"https-proxy-agent": "^5.0.0",
2525
"lru_map": "^0.3.3",

0 commit comments

Comments
 (0)