fix(deps): update sentry-javascript monorepo to v7 (major) #2013

Merged
konrad merged 1 commits from renovate/major-sentry-javascript-monorepo into main 2022-06-07 18:16:07 +00:00
Member

This PR contains the following updates:

Package Type Update Change
@sentry/tracing dependencies major 6.19.7 -> 7.1.0
@sentry/vue dependencies major 6.19.7 -> 7.1.0

Release Notes

getsentry/sentry-javascript

v7.1.0

Compare Source

  • feat(tracing): Propagate environment and release values in baggage Http headers (#​5193)
  • feat(node): Compression support for http transport (#​5209)
  • fix(serverless): Do not change DSN in Serverless integration (#​5212)
  • fix(core): Normalize trace context (#​5171)
  • fix(utils): Fix faulty references in dropUndefinedKeys (#​5201)
  • fix(build): Add missing debug logger plugin in debug.min bundle variant config (#​5192)
  • fix(tracing): Fix missing page load metrics in Electron renderer (#​5187)
  • ref(node): Move non-handler code out of handlers module (#​5190)
  • ref: Switch to magic string for logger statements (#​5155)
  • chore(build): Only upload lambda layer when releasing (#​5208)

v7.0.0

Compare Source

Version 7 of the Sentry JavaScript SDK brings a variety of features and fixes including bundle size and performance improvements, brand new integrations, support for the attachments API, and key bug fixes.

This release does not change or remove any top level public API methods (captureException, captureMessage), and only requires changes to certain configuration options or custom clients/integrations/transports.

Note: The v7 version of the JavaScript SDK requires a self-hosted version of Sentry 20.6.0 or higher. If you are using a version of self-hosted Sentry (aka onpremise) older than 20.6.0 then you will need to upgrade.

For detailed overview of all the changes, please see our v7 migration guide.

Breaking Changes

If you are a regular consumer of the Sentry JavaScript SDK you only need to focus on the general items. The internal breaking changes are aimed at libraries that build on top of and extend the JavaScript SDK (like @sentry/electron or @sentry/react-native).

General
Internal
Other Changes
Features
  • feat(tracing): Add Prisma ORM integration. (#​4931)
  • feat(react): Add react-router-v6 integration (#​5042)
  • feat: Add attachments API (#​5004)
  • feat: Add name field to EventProcessor (#​4932)
  • feat: Expose configurable stack parser (#​4902)
  • feat(tracing): Make setMeasurement public API (#​4933)
  • feat(tracing): Add GB unit to device memory tag value (#​4935)
  • feat: Export browser integrations individually (#​5028)
  • feat(core): Send Baggage in Envelope Header (#​5104)
Fixes
  • fix(browser): Fix memory leak in addEventListener instrumentation (#​5147)
  • fix(build): Fix express import in gcpfunction (#​5097)
  • fix(ember): Export sha hashes of injected scripts (#​5089)
  • fix(hub): Add missing parameter to captureException docstring (#​5001)
  • fix(integrations): Mark ExtraErrorData as already normalized (#​5053)
  • fix(serverless): Adjust v6 Lambda layer hotfix for v7 (#​5006)
  • fix(tracing): Adjust sideEffects package.json entry for v7 (#​4987)
  • fix(tracing): Remove isInstanceOf check in Hub constructor (#​5046)
  • fix(tracing): Don't use querySelector when not available (#​5160)
  • fix(nextjs): Update webpack-plugin and change how cli binary is detected. This should reduce bundle size of NextJS applications. (#​4988)
  • fix(utils): Fix infinite recursion in dropUndefinedKeys (#​5163)
Misc
  • feat(build): Vendor polyfills injected during build (#​5051)
  • ref(build): Use rollup to build AWS lambda layer (#​5146)
  • ref(core): Make event processing log warnings instead of errors (#​5010)
  • ref(node): Allow node stack parser to work in browser context (#​5135)
  • ref(serverless): Point DSN to relay in lambda extension (#​5126)
  • ref(serverless): Do not throw on flush error (#​5090)
  • ref(utils): Clean up dangerous type casts in object helper file (#​5047)
  • ref(utils): Add logic to enable skipping of normalization (#​5052)

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@sentry/tracing](https://github.com/getsentry/sentry-javascript) | dependencies | major | [`6.19.7` -> `7.1.0`](https://renovatebot.com/diffs/npm/@sentry%2ftracing/6.19.7/7.1.0) | | [@sentry/vue](https://github.com/getsentry/sentry-javascript) | dependencies | major | [`6.19.7` -> `7.1.0`](https://renovatebot.com/diffs/npm/@sentry%2fvue/6.19.7/7.1.0) | --- ### Release Notes <details> <summary>getsentry/sentry-javascript</summary> ### [`v7.1.0`](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#&#8203;710) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.0.0...7.1.0) - feat(tracing): Propagate environment and release values in baggage Http headers ([#&#8203;5193](https://github.com/getsentry/sentry-javascript/issues/5193)) - feat(node): Compression support for `http` transport ([#&#8203;5209](https://github.com/getsentry/sentry-javascript/issues/5209)) - fix(serverless): Do not change DSN in Serverless integration ([#&#8203;5212](https://github.com/getsentry/sentry-javascript/issues/5212)) - fix(core): Normalize trace context ([#&#8203;5171](https://github.com/getsentry/sentry-javascript/issues/5171)) - fix(utils): Fix faulty references in `dropUndefinedKeys` ([#&#8203;5201](https://github.com/getsentry/sentry-javascript/issues/5201)) - fix(build): Add missing debug logger plugin in `debug.min` bundle variant config ([#&#8203;5192](https://github.com/getsentry/sentry-javascript/issues/5192)) - fix(tracing): Fix missing page load metrics in Electron renderer ([#&#8203;5187](https://github.com/getsentry/sentry-javascript/issues/5187)) - ref(node): Move non-handler code out of `handlers` module ([#&#8203;5190](https://github.com/getsentry/sentry-javascript/issues/5190)) - ref: Switch to magic string for logger statements ([#&#8203;5155](https://github.com/getsentry/sentry-javascript/issues/5155)) - chore(build): Only upload lambda layer when releasing ([#&#8203;5208](https://github.com/getsentry/sentry-javascript/issues/5208)) ### [`v7.0.0`](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md#&#8203;700) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/6.19.7...7.0.0) Version 7 of the Sentry JavaScript SDK brings a variety of features and fixes including bundle size and performance improvements, brand new integrations, support for the attachments API, and key bug fixes. This release does not change or remove any top level public API methods (`captureException`, `captureMessage`), and only requires changes to certain configuration options or custom clients/integrations/transports. **Note: The v7 version of the JavaScript SDK requires a self-hosted version of Sentry 20.6.0 or higher. If you are using a version of [self-hosted Sentry](https://develop.sentry.dev/self-hosted/) (aka onpremise) older than `20.6.0` then you will need to [upgrade](https://develop.sentry.dev/self-hosted/releases/).** For detailed overview of all the changes, please see our [v7 migration guide](./MIGRATION.md#upgrading-from-6x-to-7x). ##### Breaking Changes If you are a regular consumer of the Sentry JavaScript SDK you only need to focus on the general items. The internal breaking changes are aimed at libraries that build on top of and extend the JavaScript SDK (like [`@sentry/electron`](https://github.com/getsentry/sentry-electron/) or [`@sentry/react-native`](https://github.com/getsentry/sentry-react-native/)). ##### General - [Updated CommonJS distributions to use ES6 by default](./MIGRATION.md#moving-to-es6-for-commonjs-files). If you need to support Internet Explorer 11 or old Node.js versions, we recommend using a preprocessing tool like [Babel](https://babeljs.io/) to convert Sentry packages to ES5. ([#&#8203;5005](https://github.com/getsentry/sentry-javascript/issues/5005)) - Default `bundle.min.js` to ES6 instead of ES5. [ES5 bundles are still available at `bundle.es5.min.js`](./MIGRATION.md#renaming-of-cdn-bundles). ([#&#8203;4958](https://github.com/getsentry/sentry-javascript/issues/4958)) - Updated build system to use TypeScript 3.8.3 ([#&#8203;4895](https://github.com/getsentry/sentry-javascript/issues/4895)) - Deprecated `Severity` enum for bundle size reasons. [Please use string literals instead](./MIGRATION.md#severity-severitylevel-and-severitylevels). ([#&#8203;4926](https://github.com/getsentry/sentry-javascript/issues/4926)) - Removed `critical` Severity level. ([#&#8203;5032](https://github.com/getsentry/sentry-javascript/issues/5032)) - `whitelistUrls` and `blacklistUrls` have been renamed to `allowUrls` and `denyUrls` in the `Sentry.init()` options. ([#&#8203;4850](https://github.com/getsentry/sentry-javascript/issues/4850)) - `BaseClient` and it's child classes now require `transport`, `stackParser`, and `integrations` to be [explicitly passed in](./MIGRATION.md#explicit-client-options). This was done to improve tree-shakability. ([#&#8203;4927](https://github.com/getsentry/sentry-javascript/issues/4927)) - Updated package distribution structure and stopped distributing CDN bundles through `@sentry/*` npm packages. [See details in our migration docs.](./MIGRATION.md#restructuring-of-package-content). ([#&#8203;4900](https://github.com/getsentry/sentry-javascript/issues/4900)) ([#&#8203;4901](https://github.com/getsentry/sentry-javascript/issues/4901)) - [Simplified `Transport` API](./MIGRATION.md#transport-changes). This means [custom transports will have to be adjusted accordingly.](./MIGRATION.md#custom-transports). - Updated how [Node Transport Options are passed down](./MIGRATION.md#node-transport-changes). - Start propogating [`baggage` HTTP header](https://www.w3.org/TR/baggage/) alongside `sentry-trace` header to [propogate additional tracing related information.](./MIGRATION.md#propagation-of-baggage-header). ([#&#8203;5133](https://github.com/getsentry/sentry-javascript/issues/5133)) - Renamed `registerRequestInstrumentation` export to `instrumentOutgoingRequests` in `@sentry/tracing`. ([#&#8203;4859](https://github.com/getsentry/sentry-javascript/issues/4859)) - Renamed `UserAgent` integration to `HttpContext`. ([#&#8203;5027](https://github.com/getsentry/sentry-javascript/issues/5027)) - Replaced `BrowserTracing` integration's `maxTransactionDuration` option with `finalTimeout` option in the `@sentry/tracing` package and reset `idleTimeout` based on activities count. This should improve accuracy of web-vitals like LCP by 20-30%. ([#&#8203;5044](https://github.com/getsentry/sentry-javascript/issues/5044)) - [Updated `@sentry/angular` to be compiled by the angular compiler](./MIGRATION.md#sentry-angular-sdk-changes). ([#&#8203;4641](https://github.com/getsentry/sentry-javascript/issues/4641)) - Made tracing package treeshakable ([#&#8203;5166](https://github.com/getsentry/sentry-javascript/issues/5166)) - Removed support for [Node v6](./MIGRATION.md#dropping-support-for-nodejs-v6). ([#&#8203;4851](https://github.com/getsentry/sentry-javascript/issues/4851)) - Removed `@sentry/minimal` package in favour of using [`@sentry/hub`](./MIGRATION.md#removal-of-sentryminimal). ([#&#8203;4971](https://github.com/getsentry/sentry-javascript/issues/4971)) - Removed support for Opera browser pre v15 ([#&#8203;4923](https://github.com/getsentry/sentry-javascript/issues/4923)) - Removed `ignoreSentryErrors` option from AWS lambda SDK. Errors originating from the SDK will now *always* be caught internally. ([#&#8203;4994](https://github.com/getsentry/sentry-javascript/issues/4994)) - Removed `Integrations.BrowserTracing` export from `@sentry/nextjs`. Please import `BrowserTracing` from `@sentry/nextjs` directly. - Removed static `id` property from `BrowserTracing` integration. - Removed `SDK_NAME` export from `@sentry/browser`, `@sentry/node`, `@sentry/tracing` and `@sentry/vue` packages. ([#&#8203;5040](https://github.com/getsentry/sentry-javascript/issues/5040)) - Removed `Angular`, `Ember`, and `Vue` integrations from `@sentry/integrations` [in favour of the explicit framework packages: `@sentry/angular`, `@sentry/ember`, and `@sentry/vue`](./MIGRATION.md#removal-of-old-platform-integrations-from-sentryintegrations-package). ([#&#8203;4893](https://github.com/getsentry/sentry-javascript/issues/4893)) - Removed [enums `Status`, `RequestSessionStatus`, and `SessionStatus`.](./MIGRATION.md#removed-enums). Deprecated [enums `SpanStatus` and `Severity`](./MIGRATION.md#deprecated-enums). This was done to save on bundle size. ([#&#8203;4891](https://github.com/getsentry/sentry-javascript/issues/4891)) ([#&#8203;4889](https://github.com/getsentry/sentry-javascript/issues/4889)) ([#&#8203;4890](https://github.com/getsentry/sentry-javascript/issues/4890)) - Removed support for deprecated `@sentry/apm` package. ([#&#8203;4845](https://github.com/getsentry/sentry-javascript/issues/4845)) - Removed deprecated `user` field from DSN interface. `publicKey` should be used instead. ([#&#8203;4864](https://github.com/getsentry/sentry-javascript/issues/4864)) - Removed deprecated `getActiveDomain` method and `DomainAsCarrier` type from `@sentry/hub`. ([#&#8203;4858](https://github.com/getsentry/sentry-javascript/issues/4858)) - Removed `eventStatusFromHttpCode` to save on bundle size. - Removed usage of deprecated `event.stacktrace` field. ([#&#8203;4885](https://github.com/getsentry/sentry-javascript/issues/4885)) - Removed raven-node backward-compat code ([#&#8203;4942](https://github.com/getsentry/sentry-javascript/issues/4942)) - Removed `showReportDialog` method on `BrowserClient` ([#&#8203;4973](https://github.com/getsentry/sentry-javascript/issues/4973)) - Removed deprecated `startSpan` and `child` methods ([#&#8203;4849](https://github.com/getsentry/sentry-javascript/issues/4849)) - Removed deprecated `frameContextLines` options ([#&#8203;4884](https://github.com/getsentry/sentry-javascript/issues/4884)) - Removed `Sentry` from window in the Gatsby SDK ([#&#8203;4857](https://github.com/getsentry/sentry-javascript/issues/4857)) ##### Internal - Removed support for the store endpoint ([#&#8203;4969](https://github.com/getsentry/sentry-javascript/issues/4969)) - Made hint callback argument non-optional ([#&#8203;5141](https://github.com/getsentry/sentry-javascript/issues/5141)) - Switched to using new transports internally ([#&#8203;4943](https://github.com/getsentry/sentry-javascript/issues/4943)) - [Removed `API` class from `@sentry/core`.](./MIGRATION.md#removing-the-api-class-from-sentrycore). ([#&#8203;4848](https://github.com/getsentry/sentry-javascript/issues/4848)) - [Refactored `Session` class to use a more functional approach.](./MIGRATION.md#session-changes). ([#&#8203;5054](https://github.com/getsentry/sentry-javascript/issues/5054)) - Removed `Backend` class in favour of moving functionality into the `Client` class (for more details, see [#&#8203;4911](https://github.com/getsentry/sentry-javascript/pull/4911) and [#&#8203;4919](https://github.com/getsentry/sentry-javascript/pull/4919)). - Removed forget async utility function ([#&#8203;4941](https://github.com/getsentry/sentry-javascript/issues/4941)) - Removed tslint from `@sentry-internal/typescript` ([#&#8203;4940](https://github.com/getsentry/sentry-javascript/issues/4940)) - Removed `_invokeClient` function from `@sentry/hub` ([#&#8203;4972](https://github.com/getsentry/sentry-javascript/issues/4972)) - Removed top level eventbuilder exports ([#&#8203;4887](https://github.com/getsentry/sentry-javascript/issues/4887)) - Added baggage API helpers in `@sentry/utils` ([#&#8203;5066](https://github.com/getsentry/sentry-javascript/issues/5066)) ##### Other Changes ##### Features - feat(tracing): Add Prisma ORM integration. ([#&#8203;4931](https://github.com/getsentry/sentry-javascript/issues/4931)) - feat(react): Add react-router-v6 integration ([#&#8203;5042](https://github.com/getsentry/sentry-javascript/issues/5042)) - feat: Add attachments API ([#&#8203;5004](https://github.com/getsentry/sentry-javascript/issues/5004)) - feat: Add `name` field to `EventProcessor` ([#&#8203;4932](https://github.com/getsentry/sentry-javascript/issues/4932)) - feat: Expose configurable stack parser ([#&#8203;4902](https://github.com/getsentry/sentry-javascript/issues/4902)) - feat(tracing): Make `setMeasurement` public API ([#&#8203;4933](https://github.com/getsentry/sentry-javascript/issues/4933)) - feat(tracing): Add GB unit to device memory tag value ([#&#8203;4935](https://github.com/getsentry/sentry-javascript/issues/4935)) - feat: Export browser integrations individually ([#&#8203;5028](https://github.com/getsentry/sentry-javascript/issues/5028)) - feat(core): Send Baggage in Envelope Header ([#&#8203;5104](https://github.com/getsentry/sentry-javascript/issues/5104)) ##### Fixes - fix(browser): Fix memory leak in `addEventListener` instrumentation ([#&#8203;5147](https://github.com/getsentry/sentry-javascript/issues/5147)) - fix(build): Fix express import in `gcpfunction` ([#&#8203;5097](https://github.com/getsentry/sentry-javascript/issues/5097)) - fix(ember): Export sha hashes of injected scripts ([#&#8203;5089](https://github.com/getsentry/sentry-javascript/issues/5089)) - fix(hub): Add missing parameter to captureException docstring ([#&#8203;5001](https://github.com/getsentry/sentry-javascript/issues/5001)) - fix(integrations): Mark ExtraErrorData as already normalized ([#&#8203;5053](https://github.com/getsentry/sentry-javascript/issues/5053)) - fix(serverless): Adjust v6 Lambda layer hotfix for v7 ([#&#8203;5006](https://github.com/getsentry/sentry-javascript/issues/5006)) - fix(tracing): Adjust sideEffects package.json entry for v7 ([#&#8203;4987](https://github.com/getsentry/sentry-javascript/issues/4987)) - fix(tracing): Remove isInstanceOf check in Hub constructor ([#&#8203;5046](https://github.com/getsentry/sentry-javascript/issues/5046)) - fix(tracing): Don't use `querySelector` when not available ([#&#8203;5160](https://github.com/getsentry/sentry-javascript/issues/5160)) - fix(nextjs): Update webpack-plugin and change how cli binary is detected. This should reduce bundle size of NextJS applications. ([#&#8203;4988](https://github.com/getsentry/sentry-javascript/issues/4988)) - fix(utils): Fix infinite recursion in `dropUndefinedKeys` ([#&#8203;5163](https://github.com/getsentry/sentry-javascript/issues/5163)) ##### Misc - feat(build): Vendor polyfills injected during build ([#&#8203;5051](https://github.com/getsentry/sentry-javascript/issues/5051)) - ref(build): Use rollup to build AWS lambda layer ([#&#8203;5146](https://github.com/getsentry/sentry-javascript/issues/5146)) - ref(core): Make event processing log warnings instead of errors ([#&#8203;5010](https://github.com/getsentry/sentry-javascript/issues/5010)) - ref(node): Allow node stack parser to work in browser context ([#&#8203;5135](https://github.com/getsentry/sentry-javascript/issues/5135)) - ref(serverless): Point DSN to relay in lambda extension ([#&#8203;5126](https://github.com/getsentry/sentry-javascript/issues/5126)) - ref(serverless): Do not throw on flush error ([#&#8203;5090](https://github.com/getsentry/sentry-javascript/issues/5090)) - ref(utils): Clean up dangerous type casts in object helper file ([#&#8203;5047](https://github.com/getsentry/sentry-javascript/issues/5047)) - ref(utils): Add logic to enable skipping of normalization ([#&#8203;5052](https://github.com/getsentry/sentry-javascript/issues/5052)) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
renovate added the
dependencies
label 2022-06-01 01:03:19 +00:00
Member

Hi renovate!

Thank you for creating a PR!

I've deployed the changes of this PR on a preview environment under this URL: https://2013-renovate-major-sentry-javascript--vikunja-frontend-preview.netlify.app

You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/.

Have a nice day!

Beep boop, I'm a bot.

Hi renovate! Thank you for creating a PR! I've deployed the changes of this PR on a preview environment under this URL: https://2013-renovate-major-sentry-javascript--vikunja-frontend-preview.netlify.app You can use this url to view the changes live and test them out. You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/. Have a nice day! > Beep boop, I'm a bot.
renovate force-pushed renovate/major-sentry-javascript-monorepo from 7e57c1c9fc to 729ca9c52c 2022-06-07 17:02:55 +00:00 Compare
konrad merged commit a843536862 into main 2022-06-07 18:16:07 +00:00
konrad deleted branch renovate/major-sentry-javascript-monorepo 2022-06-07 18:16:07 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.