Skip to content

Commit 3324a90

Browse files
Merge pull request #9853 from getsentry/master
[Gitflow] Merge master into develop
2 parents d3bf75d + f1a677f commit 3324a90

File tree

42 files changed

+220
-161
lines changed

Some content is hidden

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

42 files changed

+220
-161
lines changed

CHANGELOG.md

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

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

7+
## 7.88.0
8+
9+
### Important Changes
10+
11+
- **feat(browser): Add browser metrics sdk (#9794)**
12+
13+
The release adds alpha support for [Sentry developer metrics](https://github.com/getsentry/sentry/discussions/58584) in the Browser SDKs (`@sentry/browser` and related framework SDKs). Via the newly introduced APIs, you can now flush metrics directly to Sentry.
14+
15+
To enable capturing metrics, you first need to add the `MetricsAggregator` integration.
16+
17+
```js
18+
Sentry.init({
19+
dsn: '__DSN__',
20+
integrations: [
21+
new Sentry.metrics.MetricsAggregator(),
22+
],
23+
});
24+
```
25+
26+
Then you'll be able to add `counters`, `sets`, `distributions`, and `gauges` under the `Sentry.metrics` namespace.
27+
28+
```js
29+
// Add 4 to a counter named `hits`
30+
Sentry.metrics.increment('hits', 4);
31+
32+
// Add 2 to gauge named `parallel_requests`, tagged with `happy: "no"`
33+
Sentry.metrics.gauge('parallel_requests', 2, { tags: { happy: 'no' } });
34+
35+
// Add 4.6 to a distribution named `response_time` with unit seconds
36+
Sentry.metrics.distribution('response_time', 4.6, { unit: 'seconds' });
37+
38+
// Add 2 to a set named `valuable.ids`
39+
Sentry.metrics.set('valuable.ids', 2);
40+
```
41+
42+
In a future release we'll add support for server runtimes (Node, Deno, Bun, Vercel Edge, etc.)
43+
44+
- **feat(deno): Optionally instrument `Deno.cron` (#9808)**
45+
46+
This releases add support for instrumenting [Deno cron's](https://deno.com/blog/cron) with [Sentry cron monitors](https://docs.sentry.io/product/crons/). This requires v1.38 of Deno run with the `--unstable` flag and the usage of the `DenoCron` Sentry integration.
47+
48+
```ts
49+
// Import from the Deno registry
50+
import * as Sentry from "https://deno.land/x/sentry/index.mjs";
51+
52+
Sentry.init({
53+
dsn: '__DSN__',
54+
integrations: [
55+
new Sentry.DenoCron(),
56+
],
57+
});
58+
```
59+
60+
### Other Changes
61+
62+
- feat(replay): Bump `rrweb` to 2.6.0 (#9847)
63+
- fix(nextjs): Guard against injecting multiple times (#9807)
64+
- ref(remix): Bump Sentry CLI to ^2.23.0 (#9773)
65+
766
## 7.87.0
867

968
- feat: Add top level `getCurrentScope()` method (#9800)

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"version": "7.87.0",
3+
"version": "7.88.0",
44
"npmClient": "yarn"
55
}

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.87.0",
3+
"version": "7.88.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.87.0",
25-
"@sentry/types": "7.87.0",
26-
"@sentry/utils": "7.87.0",
24+
"@sentry/browser": "7.88.0",
25+
"@sentry/types": "7.88.0",
26+
"@sentry/utils": "7.88.0",
2727
"tslib": "^2.4.1"
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.87.0",
3+
"version": "7.88.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.87.0",
25-
"@sentry/types": "7.87.0",
26-
"@sentry/utils": "7.87.0",
24+
"@sentry/browser": "7.88.0",
25+
"@sentry/types": "7.88.0",
26+
"@sentry/utils": "7.88.0",
2727
"tslib": "^2.4.1"
2828
},
2929
"devDependencies": {

packages/astro/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/astro",
3-
"version": "7.87.0",
3+
"version": "7.88.0",
44
"description": "Official Sentry SDK for Astro",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/astro",
@@ -43,11 +43,11 @@
4343
"astro": ">=3.x || >=4.0.0-beta"
4444
},
4545
"dependencies": {
46-
"@sentry/browser": "7.87.0",
47-
"@sentry/core": "7.87.0",
48-
"@sentry/node": "7.87.0",
49-
"@sentry/types": "7.87.0",
50-
"@sentry/utils": "7.87.0",
46+
"@sentry/browser": "7.88.0",
47+
"@sentry/core": "7.88.0",
48+
"@sentry/node": "7.88.0",
49+
"@sentry/types": "7.88.0",
50+
"@sentry/utils": "7.88.0",
5151
"@sentry/vite-plugin": "^2.8.0"
5252
},
5353
"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.87.0",
3+
"version": "7.88.0",
44
"main": "index.js",
55
"license": "MIT",
66
"engines": {

packages/browser/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/browser",
3-
"version": "7.87.0",
3+
"version": "7.88.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",
@@ -23,15 +23,15 @@
2323
"access": "public"
2424
},
2525
"dependencies": {
26-
"@sentry-internal/feedback": "7.87.0",
27-
"@sentry-internal/tracing": "7.87.0",
28-
"@sentry/core": "7.87.0",
29-
"@sentry/replay": "7.87.0",
30-
"@sentry/types": "7.87.0",
31-
"@sentry/utils": "7.87.0"
26+
"@sentry-internal/feedback": "7.88.0",
27+
"@sentry-internal/tracing": "7.88.0",
28+
"@sentry/core": "7.88.0",
29+
"@sentry/replay": "7.88.0",
30+
"@sentry/types": "7.88.0",
31+
"@sentry/utils": "7.88.0"
3232
},
3333
"devDependencies": {
34-
"@sentry-internal/integration-shims": "7.87.0",
34+
"@sentry-internal/integration-shims": "7.88.0",
3535
"@types/md5": "2.1.33",
3636
"btoa": "^1.2.1",
3737
"chai": "^4.1.2",

packages/bun/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/bun",
3-
"version": "7.87.0",
3+
"version": "7.88.0",
44
"description": "Official Sentry SDK for bun",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/bun",
@@ -23,10 +23,10 @@
2323
"access": "public"
2424
},
2525
"dependencies": {
26-
"@sentry/core": "7.87.0",
27-
"@sentry/node": "7.87.0",
28-
"@sentry/types": "7.87.0",
29-
"@sentry/utils": "7.87.0"
26+
"@sentry/core": "7.88.0",
27+
"@sentry/node": "7.88.0",
28+
"@sentry/types": "7.88.0",
29+
"@sentry/utils": "7.88.0"
3030
},
3131
"devDependencies": {
3232
"bun-types": "latest"

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.87.0",
3+
"version": "7.88.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",
@@ -23,8 +23,8 @@
2323
"access": "public"
2424
},
2525
"dependencies": {
26-
"@sentry/types": "7.87.0",
27-
"@sentry/utils": "7.87.0"
26+
"@sentry/types": "7.88.0",
27+
"@sentry/utils": "7.88.0"
2828
},
2929
"scripts": {
3030
"build": "run-p build:transpile build:types",

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.87.0';
1+
export const SDK_VERSION = '7.88.0';

0 commit comments

Comments
 (0)