dependabot npm(deps): bump @sentry/node from 6.19.7 to 7.1.0
Bumps @sentry/node from 6.19.7 to 7.1.0.
Release notes
Sourced from @sentry/node
's releases.
7.1.0
- 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)
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 (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
- Updated CommonJS distributions to use ES6 by default. If you need to support Internet Explorer 11 or old Node.js versions, we recommend using a preprocessing tool like Babel to convert Sentry packages to ES5. (#5005)
- Default
bundle.min.js
to ES6 instead of ES5. ES5 bundles are still available atbundle.es5.min.js
. (#4958)- Updated build system to use TypeScript 3.8.3 (#4895)
- Deprecated
Severity
enum for bundle size reasons. Please use string literals instead. (#4926)- Removed
critical
Severity level. (#5032)whitelistUrls
andblacklistUrls
have been renamed toallowUrls
anddenyUrls
in theSentry.init()
options. (#4850)BaseClient
and it's child classes now requiretransport
,stackParser
, andintegrations
to be explicitly passed in. 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. (#4900) (#4901)- Simplified
Transport
API. This means custom transports will have to be adjusted accordingly.- Updated how Node Transport Options are passed down.
- Start propogating
baggage
HTTP header alongsidesentry-trace
header to propogate additional tracing related information. (#5133)- Renamed
registerRequestInstrumentation
export toinstrumentOutgoingRequests
in@sentry/tracing
. (#4859)- Renamed
UserAgent
integration toHttpContext
. (#5027)- Replaced
BrowserTracing
integration'smaxTransactionDuration
option withfinalTimeout
option in the@sentry/tracing
package and resetidleTimeout
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. (#4641)- Made tracing package treeshakable (#5166)
- Removed support for Node v6. (#4851)
- Removed
@sentry/minimal
package in favour of using@sentry/hub
. (#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 importBrowserTracing
from@sentry/nextjs
directly.- Removed static
id
property fromBrowserTracing
integration.- Removed
SDK_NAME
export from@sentry/browser
,@sentry/node
,@sentry/tracing
and@sentry/vue
packages. (#5040)
... (truncated)
Changelog
Sourced from @sentry/node
's changelog.
7.1.0
- 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)
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 (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
- Updated CommonJS distributions to use ES6 by default. If you need to support Internet Explorer 11 or old Node.js versions, we recommend using a preprocessing tool like Babel to convert Sentry packages to ES5. (#5005)
- Default
bundle.min.js
to ES6 instead of ES5. ES5 bundles are still available atbundle.es5.min.js
. (#4958)- Updated build system to use TypeScript 3.8.3 (#4895)
- Deprecated
Severity
enum for bundle size reasons. Please use string literals instead. (#4926)- Removed
critical
Severity level. (#5032)whitelistUrls
andblacklistUrls
have been renamed toallowUrls
anddenyUrls
in theSentry.init()
options. (#4850)BaseClient
and it's child classes now requiretransport
,stackParser
, andintegrations
to be explicitly passed in. 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.. (#4900) (#4901)- Simplified
Transport
API. This means custom transports will have to be adjusted accordingly..- Updated how Node Transport Options are passed down.
- Start propogating
baggage
HTTP header alongsidesentry-trace
header to propogate additional tracing related information.. (#5133)- Renamed
registerRequestInstrumentation
export toinstrumentOutgoingRequests
in@sentry/tracing
. (#4859)- Renamed
UserAgent
integration toHttpContext
. (#5027)- Replaced
BrowserTracing
integration'smaxTransactionDuration
option withfinalTimeout
option in the@sentry/tracing
package and resetidleTimeout
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. (#4641)- Made tracing package treeshakable (#5166)
- Removed support for Node v6. (#4851)
- Removed
@sentry/minimal
package in favour of using@sentry/hub
. (#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 importBrowserTracing
from@sentry/nextjs
directly.
... (truncated)
Commits
-
1dfdb08
release: 7.1.0 -
41be063
meta: Update changelog for 7.1.0 (#5220) -
e0a3d4e
fix(serverless) Do not change DSN in Serverless integration (#5212) -
e5477a4
meta: Update changelog for 7.1.0 (#5219) -
1456b9c
feat(tracing): Propagate environment and release values in baggage Http heade... -
5791c49
feat(node): Compression support forhttp
transport (#5209) -
329ca06
chore(build): Only upload lambda layer when releasing (#5208) -
7c521e3
ref(node): Move non-handler code out ofhandlers
module (#5190) -
d48f6fd
fix(dev): Add placeholder tsconfigs for tests (#5200) -
453b7ad
fix(core): Normalize trace context (#5171) - Additional commits viewable in compare view