Official Sentry SDKs for JavaScript
MIT License
Bot releases are visible (Hide)
Published by getsentry-bot over 2 years ago
sentry_client
to auth headers (#5413)documentRequest
function name. (#5404)ok
responses as errors. (#5405)Published by getsentry-bot over 2 years ago
This release adds the source
field to all outgoing transactions.
See the tracking GH issue for more details.
This release also re-enables lambda layer releases for the Node Serverless SDK.
Work in this release contributed by @moishinetzer. Thank you for your contribution!
Published by getsentry-bot over 2 years ago
This release removes the user_id
and the transaction
field from the dynamic sampling context data that is attached to outgoing requests as well as sent to Relay.
Published by getsentry-bot over 2 years ago
This release adds the sendDefaultPii
flag to the Sentry.init
options.
When using performance monitoring capabilities of the SDK, it controls whether user IDs (set via Sentry.setUser
) are propagated in the baggage
header of outgoing HTTP requests.
This flag is set to false
per default, and acts as an opt-in mechanism for sending potentially sensitive data.
If you want to attach user IDs to Sentry transactions and traces, set this flag to true
but keep in mind that this is potentially sensitive information.
user_id
to DSC if sendDefaultPii
is true
(#5344)Work in this release contributed by @jkcorrea and @nfelger. Thank you for your contributions!
Published by getsentry-bot over 2 years ago
This release includes the first published version of @sentry/remix
.
Published by getsentry-bot over 2 years ago
This release contains the alpha version of @sentry/remix
, our newest JavaScript SDK! For details on how to use
it, please see the README and the tracking GitHub issue.
Attention: Due to an oversight, the @sentry/remix
package is only published on npm as part of the 7.4.1
release.
Work in this release contributed by @MichaelDeBoey. Thank you for your contribution!
Special thank you to @jacob-ebey for pointing us in the right direction while we were working on the Remix SDK:
https://github.com/jacob-ebey/remix-sentry.
Published by getsentry-bot over 2 years ago
Work in this release contributed by @MasterOdin. Thank you for your contribution!
Published by getsentry-bot over 2 years ago
_error.js
(#5259)ParseRequestOptions
to be passed to request handler (#5287)Work in this release contributed by @Arinono. Thank you for your contribution!
Published by getsentry-bot over 2 years ago
showReportDialog
from NextJS SDK (#5242)@sentry/utils
(#5257)Work in this release contributed by @Arinono and @slaesh. Thank you for your contributions!
Published by getsentry-bot over 2 years ago
Published by getsentry-bot over 2 years ago
http
transport (#5209)dropUndefinedKeys
(#5201)debug.min
bundle variant config (#5192)handlers
module (#5190)Published by getsentry-bot over 2 years ago
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.
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
).
bundle.min.js
to ES6 instead of ES5. ES5 bundles are still available at bundle.es5.min.js
. (#4958)Severity
enum for bundle size reasons. Please use string literals instead. (#4926)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. This was done to improve tree-shakability. (#4927)@sentry/*
npm packages. See details in our migration docs. (#4900) (#4901)Transport
API. This means custom transports will have to be adjusted accordingly.baggage
HTTP header alongside sentry-trace
header to propogate additional tracing related information. (#5133)registerRequestInstrumentation
export to instrumentOutgoingRequests
in @sentry/tracing
. (#4859)UserAgent
integration to HttpContext
. (#5027)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)@sentry/angular
to be compiled by the angular compiler. (#4641)@sentry/minimal
package in favour of using @sentry/hub
. (#4971)ignoreSentryErrors
option from AWS lambda SDK. Errors originating from the SDK will now always be caught internally. (#4994)Integrations.BrowserTracing
export from @sentry/nextjs
. Please import BrowserTracing
from @sentry/nextjs
directly.id
property from BrowserTracing
integration.SDK_NAME
export from @sentry/browser
, @sentry/node
, @sentry/tracing
and @sentry/vue
packages. (#5040)Angular
, Ember
, and Vue
integrations from @sentry/integrations
in favour of the explicit framework packages: @sentry/angular
, @sentry/ember
, and @sentry/vue
. (#4893)Status
, RequestSessionStatus
, and SessionStatus
. Deprecated enums SpanStatus
and Severity
. This was done to save on bundle size. (#4891) (#4889) (#4890)@sentry/apm
package. (#4845)user
field from DSN interface. publicKey
should be used instead. (#4864)getActiveDomain
method and DomainAsCarrier
type from @sentry/hub
. (#4858)eventStatusFromHttpCode
to save on bundle size.event.stacktrace
field. (#4885)showReportDialog
method on BrowserClient
(#4973)startSpan
and child
methods (#4849)frameContextLines
options (#4884)Sentry
from window in the Gatsby SDK (#4857)API
class from @sentry/core
. (#4848)Session
class to use a more functional approach. (#5054)Backend
class in favour of moving functionality into the Client
class (for more details, see #4911 and #4919).@sentry-internal/typescript
(#4940)_invokeClient
function from @sentry/hub
(#4972)@sentry/utils
(#5066)name
field to EventProcessor
(#4932)setMeasurement
public API (#4933)addEventListener
instrumentation (#5147)gcpfunction
(#5097)querySelector
when not available (#5160)dropUndefinedKeys
(#5163)Published by getsentry-bot over 2 years ago
addEventListener
instrumentation (#5147)querySelector
when not available (#5160)dropUndefinedKeys
(#5163)Published by getsentry-bot over 2 years ago
gcpfunction
(#5097)Published by getsentry-bot over 2 years ago
Published by getsentry-bot over 2 years ago
Please see the migration docs for guides to upgrade to version 7.
@sentry-internal/typescript
(#4940)Published by getsentry-bot over 2 years ago
Work in this release contributed by @cameronaziz and @kpdecker. Thank you for your contributions!
Published by getsentry-bot over 2 years ago
Published by getsentry-bot over 2 years ago
Published by getsentry-bot over 2 years ago