Skip to content

Commit

Permalink
Merge pull request #12401 from getsentry/master
Browse files Browse the repository at this point in the history
[Gitflow] Merge master into develop
  • Loading branch information
github-actions[bot] authored and billyvg committed Jun 10, 2024
2 parents f5449d2 + 66b2755 commit 37f658e
Show file tree
Hide file tree
Showing 44 changed files with 210 additions and 166 deletions.
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,50 @@

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

## 8.8.0

- **feat: Upgrade OTEL dependencies (#12388)**

This upgrades the OpenTelemetry dependencies to the latest versions and makes OTEL use `import-in-the-middle` `v1.8.0`.
This should fix numerous issues with using OTEL instrumentation with ESM.

High level issues fixed with OTEL + ESM:

- incompatibilities with using multiple loaders, commonly encountered while using `tsx` or similar libraries.
- incompatibilities with libraries that use duplicate namespace exports like `date-fns`.
- incompatibilities with libraries that use self-referencing namespace imports like `openai`.
- incompatibilities with dynamic export patterns like exports with function calls.
- `ENOENT: no such file or directory` bugs that libraries like [`discord.js`](https://github.com/discordjs/discord.js)
surface.

If you are still encountering issues with OpenTelemetry instrumentation and ESM, please let us know.

- deps: Bump Sentry bundler plugins to version `2.18.0` (#12381)
- feat: Add `thirdPartyErrorFilterIntegration` (#12267)
- feat(core): Filter out error events with exception values and no stacktraces, values, or types (#12387)
- feat(core): Ignore additional common but inactionable errors (#12384)
- feat(deps): Bump @opentelemetry/propagator-aws-xray from 1.3.1 to 1.24.1 (#12333)
- feat(deps): Bump @sentry/cli from 2.31.2 to 2.32.1 (#12332)
- feat(redis): Support `mget` command in caching functionality (#12380)
- feat(vercel-edge): Export core integrations from Vercel edge SDK (#12308)
- fix(browser): Fix idle span ending (#12306)
- fix(browser): Fix parenthesis parsing logic for chromium (#12373)
- fix(browser): Fix types export path for CJS (#12305)
- fix(feedback): Override TriggerLabel Option (#12316)
- fix(feedback): Wait for document to be ready before doing autoinject (#12294)
- fix(nextjs): Fix memory leak (#12335)
- fix(nextjs): Fix version detection and option insertion logic for `clientTraceMetadata` option (#12323)
- fix(nextjs): Update argument name in log message about `sentry` property on Next.js config object (#12366)
- fix(node): Do not manually finish / update root Hapi spans. (#12287)
- fix(node): Fix virtual parent span ID handling & update create-next-app E2E test (#12368)
- fix(node): Skip capturing Hapi Boom responses v8. (#12288)
- fix(performance): Fix LCP not getting picked up on initial pageload transaction by setting reportAllChanges to true
(#12360)
- fix(replay): Avoid infinite loop of logs (#12309)
- fix(replay): Ignore old events when manually starting replay (#12349)
- ref(browser): Ensure idle span ending is consistent (#12310)
- ref(profiling): unref timer (#12340)

## 8.7.0

### Important Changes
Expand Down
4 changes: 2 additions & 2 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": "8.7.0",
"version": "8.8.0",
"main": "index.js",
"license": "MIT",
"engines": {
Expand Down Expand Up @@ -42,7 +42,7 @@
"@babel/preset-typescript": "^7.16.7",
"@playwright/test": "^1.44.1",
"@sentry-internal/rrweb": "2.11.0",
"@sentry/browser": "8.7.0",
"@sentry/browser": "8.8.0",
"axios": "1.6.7",
"babel-loader": "^8.2.2",
"html-webpack-plugin": "^5.5.0",
Expand Down
2 changes: 1 addition & 1 deletion dev-packages/bundle-analyzer-scenarios/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry-internal/bundle-analyzer-scenarios",
"version": "8.7.0",
"version": "8.8.0",
"description": "Scenarios to test bundle analysis with",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/dev-packages/bundle-analyzer-scenarios",
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": "8.7.0",
"version": "8.8.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": "8.7.0",
"version": "8.8.0",
"license": "MIT",
"engines": {
"node": ">=14.18"
Expand Down Expand Up @@ -31,8 +31,8 @@
"@nestjs/core": "^10.3.3",
"@nestjs/platform-express": "^10.3.3",
"@prisma/client": "5.9.1",
"@sentry/node": "8.7.0",
"@sentry/types": "8.7.0",
"@sentry/node": "8.8.0",
"@sentry/types": "8.8.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": "8.7.0",
"version": "8.8.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": "8.7.0",
"version": "8.8.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 dev-packages/size-limit-gh-action/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@sentry-internal/size-limit-gh-action",
"description": "An internal Github Action to compare the current size of a PR against the one on develop.",
"version": "8.7.0",
"version": "8.8.0",
"license": "MIT",
"engines": {
"node": ">=18"
Expand Down
6 changes: 3 additions & 3 deletions dev-packages/test-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"version": "8.7.0",
"version": "8.8.0",
"name": "@sentry-internal/test-utils",
"author": "Sentry",
"license": "MIT",
Expand Down Expand Up @@ -45,8 +45,8 @@
},
"devDependencies": {
"@playwright/test": "^1.44.1",
"@sentry/types": "8.7.0",
"@sentry/utils": "8.7.0"
"@sentry/types": "8.8.0",
"@sentry/utils": "8.8.0"
},
"volta": {
"extends": "../../package.json"
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": "8.7.0",
"version": "8.8.0",
"npmClient": "yarn"
}
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": "8.7.0",
"version": "8.8.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": "8.7.0",
"@sentry/core": "8.7.0",
"@sentry/types": "8.7.0",
"@sentry/utils": "8.7.0",
"@sentry/browser": "8.8.0",
"@sentry/core": "8.8.0",
"@sentry/types": "8.8.0",
"@sentry/utils": "8.8.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": "8.7.0",
"version": "8.8.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 @@ -61,11 +61,11 @@
"astro": ">=3.x || >=4.0.0-beta"
},
"dependencies": {
"@sentry/browser": "8.7.0",
"@sentry/core": "8.7.0",
"@sentry/node": "8.7.0",
"@sentry/types": "8.7.0",
"@sentry/utils": "8.7.0",
"@sentry/browser": "8.8.0",
"@sentry/core": "8.8.0",
"@sentry/node": "8.8.0",
"@sentry/types": "8.8.0",
"@sentry/utils": "8.8.0",
"@sentry/vite-plugin": "^2.18.0"
},
"devDependencies": {
Expand Down
10 changes: 5 additions & 5 deletions packages/aws-serverless/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/aws-serverless",
"version": "8.7.0",
"version": "8.8.0",
"description": "Official Sentry SDK for AWS Lambda and AWS Serverless Environments",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/serverless",
Expand Down Expand Up @@ -66,10 +66,10 @@
"dependencies": {
"@opentelemetry/instrumentation-aws-lambda": "0.42.0",
"@opentelemetry/instrumentation-aws-sdk": "0.42.0",
"@sentry/core": "8.7.0",
"@sentry/node": "8.7.0",
"@sentry/types": "8.7.0",
"@sentry/utils": "8.7.0",
"@sentry/core": "8.8.0",
"@sentry/node": "8.8.0",
"@sentry/types": "8.8.0",
"@sentry/utils": "8.8.0",
"@types/aws-lambda": "^8.10.62"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/browser-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry-internal/browser-utils",
"version": "8.7.0",
"version": "8.8.0",
"description": "Browser Utilities for all Sentry JavaScript SDKs",
"repository": "git://github.com/getsentry/sentry-javascript.git",
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/browser-utils",
Expand Down Expand Up @@ -42,9 +42,9 @@
"access": "public"
},
"dependencies": {
"@sentry/core": "8.7.0",
"@sentry/types": "8.7.0",
"@sentry/utils": "8.7.0"
"@sentry/core": "8.8.0",
"@sentry/types": "8.8.0",
"@sentry/utils": "8.8.0"
},
"scripts": {
"build": "run-p build:transpile build:types",
Expand Down
18 changes: 9 additions & 9 deletions packages/browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/browser",
"version": "8.7.0",
"version": "8.8.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 @@ -42,16 +42,16 @@
"access": "public"
},
"dependencies": {
"@sentry-internal/browser-utils": "8.7.0",
"@sentry-internal/feedback": "8.7.0",
"@sentry-internal/replay": "8.7.0",
"@sentry-internal/replay-canvas": "8.7.0",
"@sentry/core": "8.7.0",
"@sentry/types": "8.7.0",
"@sentry/utils": "8.7.0"
"@sentry-internal/browser-utils": "8.8.0",
"@sentry-internal/feedback": "8.8.0",
"@sentry-internal/replay": "8.8.0",
"@sentry-internal/replay-canvas": "8.8.0",
"@sentry/core": "8.8.0",
"@sentry/types": "8.8.0",
"@sentry/utils": "8.8.0"
},
"devDependencies": {
"@sentry-internal/integration-shims": "8.7.0",
"@sentry-internal/integration-shims": "8.8.0",
"@types/md5": "2.1.33",
"btoa": "^1.2.1",
"fake-indexeddb": "^4.0.1",
Expand Down
12 changes: 6 additions & 6 deletions packages/bun/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/bun",
"version": "8.7.0",
"version": "8.8.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 @@ -42,11 +42,11 @@
"access": "public"
},
"dependencies": {
"@sentry/core": "8.7.0",
"@sentry/node": "8.7.0",
"@sentry/opentelemetry": "8.7.0",
"@sentry/types": "8.7.0",
"@sentry/utils": "8.7.0"
"@sentry/core": "8.8.0",
"@sentry/node": "8.8.0",
"@sentry/opentelemetry": "8.8.0",
"@sentry/types": "8.8.0",
"@sentry/utils": "8.8.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": "8.7.0",
"version": "8.8.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 @@ -42,8 +42,8 @@
"access": "public"
},
"dependencies": {
"@sentry/types": "8.7.0",
"@sentry/utils": "8.7.0"
"@sentry/types": "8.8.0",
"@sentry/utils": "8.8.0"
},
"scripts": {
"build": "run-p build:transpile build:types",
Expand Down
8 changes: 4 additions & 4 deletions packages/deno/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sentry/deno",
"version": "8.7.0",
"version": "8.8.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 @@ -26,9 +26,9 @@
"index.d.ts"
],
"dependencies": {
"@sentry/core": "8.7.0",
"@sentry/types": "8.7.0",
"@sentry/utils": "8.7.0"
"@sentry/core": "8.8.0",
"@sentry/types": "8.8.0",
"@sentry/utils": "8.8.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": "8.7.0",
"version": "8.8.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 @@ -33,10 +33,10 @@
"dependencies": {
"@babel/core": "^7.24.4",
"@embroider/macros": "^1.16.0",
"@sentry/browser": "8.7.0",
"@sentry/core": "8.7.0",
"@sentry/types": "8.7.0",
"@sentry/utils": "8.7.0",
"@sentry/browser": "8.8.0",
"@sentry/core": "8.8.0",
"@sentry/types": "8.8.0",
"@sentry/utils": "8.8.0",
"ember-auto-import": "^2.7.2",
"ember-cli-babel": "^8.2.0",
"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": "8.7.0",
"version": "8.8.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": "8.7.0",
"@sentry-internal/typescript": "8.7.0",
"@sentry-internal/eslint-plugin-sdk": "8.8.0",
"@sentry-internal/typescript": "8.8.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": "8.7.0",
"version": "8.8.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
Loading

0 comments on commit 37f658e

Please sign in to comment.