Skip to content
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

[Gitflow] Merge master into develop #10138

Merged
merged 4 commits into from
Jan 10, 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
65 changes: 65 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,71 @@

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

## 7.93.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(core): Deprecate `getActiveTransaction()` & `scope.getTransaction()` (#10098)
- feat(core): Deprecate `Hub.shouldSendDefaultPii` (#10062)
- feat(core): Deprecate `new Transaction()` (#10125)
- feat(core): Deprecate `scope.getSpan()` & `scope.setSpan()` (#10114)
- feat(core): Deprecate `scope.setTransactionName()` (#10113)
- feat(core): Deprecate `span.startChild()` (#10091)
- feat(core): Deprecate `startTransaction()` (#10073)
- feat(core): Deprecate `Transaction.getDynamicSamplingContext` in favor of `getDynamicSamplingContextFromSpan` (#10094)
- feat(core): Deprecate arguments for `startSpan()` (#10101)
- feat(core): Deprecate hub capture APIs and add them to `Scope` (#10039)
- feat(core): Deprecate session APIs on hub and add global replacements (#10054)
- feat(core): Deprecate span `name` and `description` (#10056)
- feat(core): Deprecate span `tags`, `data`, `context` & setters (#10053)
- feat(core): Deprecate transaction metadata in favor of attributes (#10097)
- feat(core): Deprecate `span.sampled` in favor of `span.isRecording()` (#10034)
- ref(node-experimental): Deprecate `lastEventId` on scope (#10093)

#### Cron Monitoring Support for `node-schedule` library

This release adds auto instrumented check-ins for the `node-schedule` library.

```ts
import * as Sentry from '@sentry/node';
import * as schedule from 'node-schedule';

const scheduleWithCheckIn = Sentry.cron.instrumentNodeSchedule(schedule);

const job = scheduleWithCheckIn.scheduleJob('my-cron-job', '* * * * *', () => {
console.log('You will see this message every minute');
});
```

- feat(node): Instrumentation for `node-schedule` library (#10086)

### Other Changes

- feat(core): Add `span.spanContext()` (#10037)
- feat(core): Add `spanToJSON()` method to get span properties (#10074)
- feat(core): Allow to pass `scope` to `startSpan` APIs (#10076)
- feat(core): Allow to pass start/end timestamp for spans flexibly (#10060)
- feat(node): Make `getModuleFromFilename` compatible with ESM (#10061)
- feat(replay): Update rrweb to 2.7.3 (#10072)
- feat(utils): Add `parameterize` function (#9145)
- fix(astro): Use correct package name for CF (#10099)
- fix(core): Do not run `setup` for integration on client multiple times (#10116)
- fix(core): Ensure we copy passed in span data/tags/attributes (#10105)
- fix(cron): Make name required for instrumentNodeCron option (#10070)
- fix(nextjs): Don't capture not-found and redirect errors in generation functions (#10057)
- fix(node): `LocalVariables` integration should have correct name (#10084)
- fix(node): Anr events should have an `event_id` (#10068)
- fix(node): Revert to only use sync debugger for `LocalVariables` (#10077)
- fix(node): Update ANR min node version to v16.17.0 (#10107)


## 7.92.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.92.0",
"version": "7.93.0",
"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.7.3",
"@sentry/browser": "7.92.0",
"@sentry/tracing": "7.92.0",
"@sentry/browser": "7.93.0",
"@sentry/tracing": "7.93.0",
"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.92.0",
"version": "7.93.0",
"license": "MIT",
"private": true,
"scripts": {
Expand Down
6 changes: 3 additions & 3 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.92.0",
"version": "7.93.0",
"license": "MIT",
"engines": {
"node": ">=10"
Expand All @@ -19,8 +19,8 @@
},
"dependencies": {
"@prisma/client": "3.15.2",
"@sentry/node": "7.92.0",
"@sentry/tracing": "7.92.0",
"@sentry/node": "7.93.0",
"@sentry/tracing": "7.93.0",
"@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.92.0",
"version": "7.93.0",
"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.92.0",
"version": "7.93.0",
"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.92.0",
"version": "7.93.0",
"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.92.0",
"version": "7.93.0",
"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.92.0",
"@sentry/core": "7.92.0",
"@sentry/types": "7.92.0",
"@sentry/utils": "7.92.0",
"@sentry/browser": "7.93.0",
"@sentry/core": "7.93.0",
"@sentry/types": "7.93.0",
"@sentry/utils": "7.93.0",
"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.92.0",
"version": "7.93.0",
"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.92.0",
"@sentry/core": "7.92.0",
"@sentry/types": "7.92.0",
"@sentry/utils": "7.92.0",
"@sentry/browser": "7.93.0",
"@sentry/core": "7.93.0",
"@sentry/types": "7.93.0",
"@sentry/utils": "7.93.0",
"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.92.0",
"version": "7.93.0",
"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.92.0",
"@sentry/core": "7.92.0",
"@sentry/node": "7.92.0",
"@sentry/types": "7.92.0",
"@sentry/utils": "7.92.0",
"@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/vite-plugin": "^2.8.0"
},
"devDependencies": {
Expand Down
16 changes: 8 additions & 8 deletions packages/browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/browser",
"version": "7.92.0",
"version": "7.93.0",
"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,15 +29,15 @@
"access": "public"
},
"dependencies": {
"@sentry-internal/feedback": "7.92.0",
"@sentry-internal/tracing": "7.92.0",
"@sentry/core": "7.92.0",
"@sentry/replay": "7.92.0",
"@sentry/types": "7.92.0",
"@sentry/utils": "7.92.0"
"@sentry-internal/feedback": "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"
},
"devDependencies": {
"@sentry-internal/integration-shims": "7.92.0",
"@sentry-internal/integration-shims": "7.93.0",
"@types/md5": "2.1.33",
"btoa": "^1.2.1",
"chai": "^4.1.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.92.0",
"version": "7.93.0",
"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.92.0",
"@sentry/node": "7.92.0",
"@sentry/types": "7.92.0",
"@sentry/utils": "7.92.0"
"@sentry/core": "7.93.0",
"@sentry/node": "7.93.0",
"@sentry/types": "7.93.0",
"@sentry/utils": "7.93.0"
},
"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.92.0",
"version": "7.93.0",
"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.92.0",
"@sentry/utils": "7.92.0"
"@sentry/types": "7.93.0",
"@sentry/utils": "7.93.0"
},
"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.92.0';
export const SDK_VERSION = '7.93.0';
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.92.0",
"version": "7.93.0",
"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.92.0",
"@sentry/core": "7.92.0",
"@sentry/types": "7.92.0",
"@sentry/utils": "7.92.0"
"@sentry/browser": "7.93.0",
"@sentry/core": "7.93.0",
"@sentry/types": "7.93.0",
"@sentry/utils": "7.93.0"
},
"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.92.0",
"version": "7.93.0",
"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.92.0",
"@sentry/core": "7.92.0",
"@sentry/types": "7.92.0",
"@sentry/utils": "7.92.0",
"@sentry/browser": "7.93.0",
"@sentry/core": "7.93.0",
"@sentry/types": "7.93.0",
"@sentry/utils": "7.93.0",
"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.92.0",
"version": "7.93.0",
"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.92.0",
"@sentry-internal/typescript": "7.92.0",
"@sentry-internal/eslint-plugin-sdk": "7.93.0",
"@sentry-internal/typescript": "7.93.0",
"@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.92.0",
"version": "7.93.0",
"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
8 changes: 4 additions & 4 deletions packages/feedback/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry-internal/feedback",
"version": "7.92.0",
"version": "7.93.0",
"description": "Sentry SDK integration for user feedback",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/feedback",
Expand Down Expand Up @@ -29,9 +29,9 @@
"access": "public"
},
"dependencies": {
"@sentry/core": "7.92.0",
"@sentry/types": "7.92.0",
"@sentry/utils": "7.92.0"
"@sentry/core": "7.93.0",
"@sentry/types": "7.93.0",
"@sentry/utils": "7.93.0"
},
"scripts": {
"build": "run-p build:transpile build:types build:bundle",
Expand Down
Loading