Skip to content

[Gitflow] Merge master into develop #10265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 80 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,86 @@

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

## 7.94.1

This release fixes a publishing issue.

## 7.94.0

### Important Changes

#### Deprecations

As we're moving closer to the next major version of the SDK, more public APIs were deprecated.

To get a head start on migrating to the replacement APIs, please take a look at our
[migration guide](https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.md).

- feat: Deprecate user segment field (#10210)
- feat(core): Deprecate `finish` on `Span` interface in favour of `end` (#10161)
- feat(core): Deprecate `getCurrentHub()` (#10200)
- feat(core): Deprecate `hub.bindClient()` & `makeMain()` (#10188)
- feat(core): Deprecate `Span.instrumenter` (#10139)
- feat(core): Deprecate `Span.isSuccess()` in favor of reading span status (#10213)
- feat(core): Deprecate `Span.op` in favor of op attribute (#10189)
- feat(core): Deprecate `Span.spanRecorder` (#10199)
- feat(core): Deprecate `Span.status` (#10208)
- feat(core): Deprecate `Span.transaction` in favor of `getRootSpan` (#10134)
- feat(core): Deprecate `Transaction.instrumenter` (#10162)
- feat(core): Deprecate `Transaction.setMeasurement` in favor of `setMeasurement` (#10182)
- feat(core): Deprecate integration classes & `Integrations.X` (#10198)
- feat(core): Deprecate methods on `Hub` (#10124)
- feat(core): Deprecate remaining `setName` declarations on `Transaction` and `Span` (#10164)
- feat(core): Deprecate span `startTimestamp` & `endTimestamp` (#10192)
- feat(core): Deprecate `hub.bindClient()` and `makeMain()` (#10118)
- feat(types): Deprecate `op` on `Span` interface (#10217)
- feat(integrations): Deprecate `Transaction` integration (#10178)
- feat(integrations): Deprecate pluggable integration classes (#10211)

#### Replay & Canvas

We have added a new `ReplayCanvas` integration (#10112), which you can add to capture the contents of canvas elements
with Replay.

Just add it _in addition_ to the regular replay integration:

```js
Sentry.init({
integrations: [new Sentry.Replay(), new Sentry.ReplayCanvas()],
});
```

### Other Changes

- feat(core): Add `client.getIntegrationByName()` (#10130)
- feat(core): Add `client.init()` to replace `client.setupIntegrations()` (#10118)
- feat(core): Add `withActiveSpan` (#10195)
- feat(core): Add `withIsolationScope` (#10141)
- feat(core): Streamline integration function results to be compatible (#10135)
- feat(core): Write data from `setUser`, `setTags`, `setExtras`, `setTag`, `setExtra`, and `setContext` to isolation
scope (#10163)
- feat(core): Add domain information to resource span data #10205
- feat(feedback): Export sendFeedback from @sentry/browser (#10231)
- feat(node): Update and vendor https-proxy-agent (#10088)
- feat(node-experimental): Add `withActiveSpan` (#10194)
- feat(replays): Add snapshot function to replay canvas integration (#10066)
- feat(types): Add `SerializedEvent` interface (pre v8) (#10240)
- feat(types): Add support for new monitor config thresholds (#10225)
- fix: Ensure all integration classes have correct types (#10183)
- fix(astro): Fix import path when using external init files with default path (#10214)
- fix(cdn): Emit console warning instead of error for integration shims (#10193)
- fix(core): Take user from current scope when starting a session (#10153)
- fix(node-experimental): Ensure `http.status_code` is always a string (#10177)
- fix(node): Guard against `process.argv[1]` being undefined (#10155)
- fix(node): Module name resolution (#10144)
- fix(node): Remove leading slash in Windows filenames (#10147)
- fix(remix): Capture thrown fetch responses. (#10166)
- fix(tracing): Gate mongo operation span data behind sendDefaultPii (#10227)
- fix(tracing-internal): Delay pageload transaction finish until document is interactive (#10215)
- fix(tracing-internal): Only collect request/response spans when browser performance timing is available (#10207)
- fix(tracing-internal): Prefer `fetch` init headers over `fetch` input headers (#10176)
- fix(utils): Ensure dropUndefinedKeys() does not break class instances (#10245)

## 7.93.0

### Important Changes
Expand Down
6 changes: 3 additions & 3 deletions dev-packages/browser-integration-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry-internal/browser-integration-tests",
"version": "7.93.0",
"version": "7.94.1",
"main": "index.js",
"license": "MIT",
"engines": {
Expand Down Expand Up @@ -46,8 +46,8 @@
"@babel/preset-typescript": "^7.16.7",
"@playwright/test": "^1.31.1",
"@sentry-internal/rrweb": "2.9.0",
"@sentry/browser": "7.93.0",
"@sentry/tracing": "7.93.0",
"@sentry/browser": "7.94.1",
"@sentry/tracing": "7.94.1",
"axios": "1.6.0",
"babel-loader": "^8.2.2",
"html-webpack-plugin": "^5.5.0",
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/e2e-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry-internal/e2e-tests",
"version": "7.93.0",
"version": "7.94.1",
"license": "MIT",
"private": true,
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions dev-packages/node-integration-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry-internal/node-integration-tests",
"version": "7.93.0",
"version": "7.94.1",
"license": "MIT",
"engines": {
"node": ">=10"
Expand All @@ -27,9 +27,9 @@
},
"dependencies": {
"@prisma/client": "3.15.2",
"@sentry/node": "7.93.0",
"@sentry/tracing": "7.93.0",
"@sentry/types": "7.93.0",
"@sentry/node": "7.94.1",
"@sentry/tracing": "7.94.1",
"@sentry/types": "7.94.1",
"@types/mongodb": "^3.6.20",
"@types/mysql": "^2.15.21",
"@types/pg": "^8.6.5",
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/overhead-metrics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"version": "7.93.0",
"version": "7.94.1",
"name": "@sentry-internal/overhead-metrics",
"main": "index.js",
"author": "Sentry",
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/rollup-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry-internal/rollup-utils",
"version": "7.93.0",
"version": "7.94.1",
"description": "Rollup utilities used at Sentry for the Sentry JavaScript SDK",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/rollup-utils",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "7.93.0",
"version": "7.94.1",
"npmClient": "yarn"
}
10 changes: 5 additions & 5 deletions packages/angular-ivy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/angular-ivy",
"version": "7.93.0",
"version": "7.94.1",
"description": "Official Sentry SDK for Angular with full Ivy Support",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/angular-ivy",
Expand All @@ -21,10 +21,10 @@
"rxjs": "^6.5.5 || ^7.x"
},
"dependencies": {
"@sentry/browser": "7.93.0",
"@sentry/core": "7.93.0",
"@sentry/types": "7.93.0",
"@sentry/utils": "7.93.0",
"@sentry/browser": "7.94.1",
"@sentry/core": "7.94.1",
"@sentry/types": "7.94.1",
"@sentry/utils": "7.94.1",
"tslib": "^2.4.1"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions packages/angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/angular",
"version": "7.93.0",
"version": "7.94.1",
"description": "Official Sentry SDK for Angular",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/angular",
Expand All @@ -21,10 +21,10 @@
"rxjs": "^6.5.5 || ^7.x"
},
"dependencies": {
"@sentry/browser": "7.93.0",
"@sentry/core": "7.93.0",
"@sentry/types": "7.93.0",
"@sentry/utils": "7.93.0",
"@sentry/browser": "7.94.1",
"@sentry/core": "7.94.1",
"@sentry/types": "7.94.1",
"@sentry/utils": "7.94.1",
"tslib": "^2.4.1"
},
"devDependencies": {
Expand Down
12 changes: 6 additions & 6 deletions packages/astro/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/astro",
"version": "7.93.0",
"version": "7.94.1",
"description": "Official Sentry SDK for Astro",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/astro",
Expand Down Expand Up @@ -49,11 +49,11 @@
"astro": ">=3.x || >=4.0.0-beta"
},
"dependencies": {
"@sentry/browser": "7.93.0",
"@sentry/core": "7.93.0",
"@sentry/node": "7.93.0",
"@sentry/types": "7.93.0",
"@sentry/utils": "7.93.0",
"@sentry/browser": "7.94.1",
"@sentry/core": "7.94.1",
"@sentry/node": "7.94.1",
"@sentry/types": "7.94.1",
"@sentry/utils": "7.94.1",
"@sentry/vite-plugin": "^2.8.0"
},
"devDependencies": {
Expand Down
20 changes: 10 additions & 10 deletions packages/browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/browser",
"version": "7.93.0",
"version": "7.94.1",
"description": "Official Sentry SDK for browsers",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/browser",
Expand Down Expand Up @@ -29,22 +29,21 @@
"access": "public"
},
"dependencies": {
"@sentry-internal/feedback": "7.93.0",
"@sentry-internal/replay-canvas": "7.93.0",
"@sentry-internal/tracing": "7.93.0",
"@sentry/core": "7.93.0",
"@sentry/replay": "7.93.0",
"@sentry/types": "7.93.0",
"@sentry/utils": "7.93.0"
"@sentry-internal/feedback": "7.94.1",
"@sentry-internal/replay-canvas": "7.94.1",
"@sentry-internal/tracing": "7.94.1",
"@sentry/core": "7.94.1",
"@sentry/replay": "7.94.1",
"@sentry/types": "7.94.1",
"@sentry/utils": "7.94.1"
},
"devDependencies": {
"@sentry-internal/integration-shims": "7.93.0",
"@sentry-internal/integration-shims": "7.94.1",
"@types/md5": "2.1.33",
"btoa": "^1.2.1",
"chai": "^4.1.2",
"chokidar": "^3.0.2",
"fake-indexeddb": "^4.0.1",
"mocha": "^6.1.4",
"karma": "^6.3.16",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
Expand All @@ -56,6 +55,7 @@
"karma-typescript": "^4.0.0",
"karma-typescript-es6-transform": "^4.0.0",
"karma-webkit-launcher": "^1.0.2",
"mocha": "^6.1.4",
"node-fetch": "^2.6.0",
"playwright": "^1.31.1",
"sinon": "^7.3.2",
Expand Down
10 changes: 5 additions & 5 deletions packages/bun/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/bun",
"version": "7.93.0",
"version": "7.94.1",
"description": "Official Sentry SDK for bun",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/bun",
Expand Down Expand Up @@ -29,10 +29,10 @@
"access": "public"
},
"dependencies": {
"@sentry/core": "7.93.0",
"@sentry/node": "7.93.0",
"@sentry/types": "7.93.0",
"@sentry/utils": "7.93.0"
"@sentry/core": "7.94.1",
"@sentry/node": "7.94.1",
"@sentry/types": "7.94.1",
"@sentry/utils": "7.94.1"
},
"devDependencies": {
"bun-types": "latest"
Expand Down
6 changes: 3 additions & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/core",
"version": "7.93.0",
"version": "7.94.1",
"description": "Base implementation for all Sentry JavaScript SDKs",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/core",
Expand Down Expand Up @@ -29,8 +29,8 @@
"access": "public"
},
"dependencies": {
"@sentry/types": "7.93.0",
"@sentry/utils": "7.93.0"
"@sentry/types": "7.94.1",
"@sentry/utils": "7.94.1"
},
"scripts": {
"build": "run-p build:transpile build:types",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const SDK_VERSION = '7.93.0';
export const SDK_VERSION = '7.94.1';
10 changes: 5 additions & 5 deletions packages/deno/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/deno",
"version": "7.93.0",
"version": "7.94.1",
"description": "Official Sentry SDK for Deno",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/deno",
Expand All @@ -17,10 +17,10 @@
"index.d.ts"
],
"dependencies": {
"@sentry/browser": "7.93.0",
"@sentry/core": "7.93.0",
"@sentry/types": "7.93.0",
"@sentry/utils": "7.93.0"
"@sentry/browser": "7.94.1",
"@sentry/core": "7.94.1",
"@sentry/types": "7.94.1",
"@sentry/utils": "7.94.1"
},
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.5",
Expand Down
10 changes: 5 additions & 5 deletions packages/ember/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/ember",
"version": "7.93.0",
"version": "7.94.1",
"description": "Official Sentry SDK for Ember.js",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/ember",
Expand Down Expand Up @@ -32,10 +32,10 @@
},
"dependencies": {
"@embroider/macros": "^1.9.0",
"@sentry/browser": "7.93.0",
"@sentry/core": "7.93.0",
"@sentry/types": "7.93.0",
"@sentry/utils": "7.93.0",
"@sentry/browser": "7.94.1",
"@sentry/core": "7.94.1",
"@sentry/types": "7.94.1",
"@sentry/utils": "7.94.1",
"ember-auto-import": "^1.12.1 || ^2.4.3",
"ember-cli-babel": "^7.26.11",
"ember-cli-htmlbars": "^6.1.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-config-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry-internal/eslint-config-sdk",
"version": "7.93.0",
"version": "7.94.1",
"description": "Official Sentry SDK eslint config",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/eslint-config-sdk",
Expand All @@ -22,8 +22,8 @@
"access": "public"
},
"dependencies": {
"@sentry-internal/eslint-plugin-sdk": "7.93.0",
"@sentry-internal/typescript": "7.93.0",
"@sentry-internal/eslint-plugin-sdk": "7.94.1",
"@sentry-internal/typescript": "7.94.1",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"eslint-config-prettier": "^6.11.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry-internal/eslint-plugin-sdk",
"version": "7.93.0",
"version": "7.94.1",
"description": "Official Sentry SDK eslint plugin",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/eslint-plugin-sdk",
Expand Down
Loading