Sentry

Latest version: v23.7.1

Safety actively analyzes 630254 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 47 of 223

7.0.3

- fix: Add SentryMechanismMeta to Sentry.h (1102)

7.0.2

Not secure
- No documented changes. This is the same as 7.0.1. Ignore this release and please use 7.0.3 instead.

7.0.1

Not secure
ref: Prefix TracesSampler with Sentry (1091)

7.0.0

Not secure
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.mdupgrading-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.mdmoving-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. (#5005)
- Default `bundle.min.js` to ES6 instead of ES5. [ES5 bundles are still available at `bundle.es5.min.js`](./MIGRATION.mdrenaming-of-cdn-bundles). (4958)
- Updated build system to use TypeScript 3.8.3 (4895)
- Deprecated `Severity` enum for bundle size reasons. [Please use string literals instead](./MIGRATION.mdseverity-severitylevel-and-severitylevels). (4926)
- Removed `critical` Severity level. (5032)
- `whitelistUrls` and `blacklistUrls` have been renamed to `allowUrls` and `denyUrls` in the `Sentry.init()` options. (4850)
- `BaseClient` and it's child classes now require `transport`, `stackParser`, and `integrations` to be [explicitly passed in](./MIGRATION.mdexplicit-client-options). This was done to improve tree-shakability. (4927)
- Updated package distribution structure and stopped distributing CDN bundles through `sentry/*` npm packages. [See details in our migration docs.](./MIGRATION.mdrestructuring-of-package-content). (4900) (4901)
- [Simplified `Transport` API](./MIGRATION.mdtransport-changes). This means [custom transports will have to be adjusted accordingly.](./MIGRATION.mdcustom-transports).
- Updated how [Node Transport Options are passed down](./MIGRATION.mdnode-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). (5133)
- Renamed `registerRequestInstrumentation` export to `instrumentOutgoingRequests` in `sentry/tracing`. (4859)
- Renamed `UserAgent` integration to `HttpContext`. (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%. (5044)
- [Updated `sentry/angular` to be compiled by the angular compiler](./MIGRATION.mdsentry-angular-sdk-changes). (4641)
- Made tracing package treeshakable (5166)
- Removed support for [Node v6](./MIGRATION.mddropping-support-for-nodejs-v6). (4851)
- Removed `sentry/minimal` package in favour of using [`sentry/hub`](./MIGRATION.mdremoval-of-sentryminimal). (4971)
- Removed support for Opera browser pre v15 (4923)
- Removed `ignoreSentryErrors` option from AWS lambda SDK. Errors originating from the SDK will now *always* be caught internally. (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. (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.mdremoval-of-old-platform-integrations-from-sentryintegrations-package). (4893)
- Removed [enums `Status`, `RequestSessionStatus`, and `SessionStatus`.](./MIGRATION.mdremoved-enums). Deprecated [enums `SpanStatus` and `Severity`](./MIGRATION.mddeprecated-enums). This was done to save on bundle size. (4891) (4889) (4890)
- Removed support for deprecated `sentry/apm` package. (4845)
- Removed deprecated `user` field from DSN interface. `publicKey` should be used instead. (4864)
- Removed deprecated `getActiveDomain` method and `DomainAsCarrier` type from `sentry/hub`. (4858)
- Removed `eventStatusFromHttpCode` to save on bundle size.
- Removed usage of deprecated `event.stacktrace` field. (4885)
- Removed raven-node backward-compat code (4942)
- Removed `showReportDialog` method on `BrowserClient` (4973)
- Removed deprecated `startSpan` and `child` methods (4849)
- Removed deprecated `frameContextLines` options (4884)
- Removed `Sentry` from window in the Gatsby SDK (4857)

Internal

- Removed support for the store endpoint (4969)
- Made hint callback argument non-optional (5141)
- Switched to using new transports internally (4943)
- [Removed `API` class from `sentry/core`.](./MIGRATION.mdremoving-the-api-class-from-sentrycore). (4848)
- [Refactored `Session` class to use a more functional approach.](./MIGRATION.mdsession-changes). (5054)
- Removed `Backend` class in favour of moving functionality into the `Client` class (for more details, see [4911](https://github.com/getsentry/sentry-javascript/pull/4911) and [#4919](https://github.com/getsentry/sentry-javascript/pull/4919)).
- Removed forget async utility function (4941)
- Removed tslint from `sentry-internal/typescript` (4940)
- Removed `_invokeClient` function from `sentry/hub` (4972)
- Removed top level eventbuilder exports (4887)
- Added baggage API helpers in `sentry/utils` (5066)

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)

7.0.0rc.2

Features

- Platform Exception Event Processor ([1297](https://github.com/getsentry/sentry-dart/pull/1297))
- Support failedRequestTargets for HTTP Client errors ([1285](https://github.com/getsentry/sentry-dart/pull/1285))
- Captures errors for the default range `500-599` if `captureFailedRequests` is enabled
- Sentry Isolate Extension ([1266](https://github.com/getsentry/sentry-dart/pull/1266))
- Allow sentry user to control resolution of captured Flutter screenshots ([1288](https://github.com/getsentry/sentry-dart/pull/1288))

Enhancements

- Replace `toImage` with `toImageSync` for Flutter >= 3.7 ([1268](https://github.com/getsentry/sentry-dart/pull/1268))
- Don't await `FutureOr<T>` if it's not a future. This should marginally improve the performance ([1310](https://github.com/getsentry/sentry-dart/pull/1310))

7.0.0rc.1

Breaking Changes

- Enable enableNdkScopeSync by default ([1276](https://github.com/getsentry/sentry-dart/pull/1276))
- Update `sentry_dio` to dio v5 ([1282](https://github.com/getsentry/sentry-dart/pull/1282))

Dependencies

- Bump Android SDK from v6.13.1 to v6.14.0 ([1287](https://github.com/getsentry/sentry-dart/pull/1287))
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#6140)
- [diff](https://github.com/getsentry/sentry-java/compare/6.13.1...6.14.0)

Page 47 of 223

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.