Skip to content

Releases: getsentry/sentry-javascript

7.6.0

08 Jul 20:50
Compare
Choose a tag to compare

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.

  • ref(angular): Add transaction source for Angular Router (#5382)
  • ref(build): Reenable lambda layer release in craft (#5207)
  • feat(nextjs): Record transaction name source when creating transactions (#5391)
  • ref(react): Add source to react-router-v3 (#5377)
  • ref(react): Add transaction source for react router v4/v5 (#5384)
  • ref(react): Add transaction source for react router v6 (#5385)
  • feat(remix): Wrap root with ErrorBoundary (#5365)
  • fix(remix): Move hook checks inside the wrapper component (#5371)
  • fix(remix): Strip query params from transaction names (#5368)
  • fix(remix): Make peer deps less restrictive (#5369)
  • fix(remix): Wrap handleDocumentRequest functions (#5387)
  • ref(serverless): Add transaction source (#5394)
  • feat(tracing): Add transaction source field (#5367)
  • feat(tracing): Record transaction name source when name set directly (#5396)
  • ref(tracing): Add transaction source to default router (#5386)
  • ref(tracing): Include transaction in DSC if transaction source is not an unparameterized URL (#5392)
  • feat(vue): Add transaction source to VueRouter instrumentation (#5381)

Work in this release contributed by @moishinetzer. Thank you for your contribution!

7.5.1

06 Jul 12:08
Compare
Choose a tag to compare

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.

  • ref(tracing): Remove transaction name and user_id from DSC (#5363)

7.5.0

04 Jul 13:45
Compare
Choose a tag to compare

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.

  • feat(sdk): Add sendDefaultPii option to the JS SDKs (#5341)
  • fix(remix): Sourcemaps upload script is missing in the tarball (#5356)
  • fix(remix): Use cjs for main entry point (#5352)
  • ref(tracing): Only add user_id to DSC if sendDefaultPii is true (#5344)

Work in this release contributed by @jkcorrea and @nfelger. Thank you for your contributions!

7.4.1

01 Jul 12:05
Compare
Choose a tag to compare

This release includes the first published version of @sentry/remix.

  • build(remix): Make remix package public (#5349)

7.4.0

01 Jul 09:58
Compare
Choose a tag to compare

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.

  • feat(remix): Enable Remix SDK #5327
  • feat(remix): Add release / sourcemap upload script. (#5312)
  • feat(remix): Add Remix server SDK (#5269)
  • feat(remix): Add Remix client SDK (#5264)
  • feat(remix): Add Remix SDK package boilerplate (#5256)
  • fix(utils): Handle toJSON methods that return circular references (#5323)

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.

7.3.1

28 Jun 14:14
Compare
Choose a tag to compare
  • feat(react): expose FallbackRender as top-level type (#5307)
  • fix(core): Remove optional chaining usage (#5304)
  • fix(ember): Restore ember package contents (#5318)
  • fix(ember): Update README docs to match sentry-docs (#5315)
  • ref(hub): Reduce hub bundle size (#5306)
  • ref(tracing): Ignore third party baggage entries from incoming requests (#5319)
  • ref(types): Add type for measurement unit (#5313)

Work in this release contributed by @MasterOdin. Thank you for your contribution!

7.3.0

24 Jun 12:55
Compare
Choose a tag to compare
  • feat(nextjs): Add exception handler for _error.js (#5259)
  • feat(tracing): Add additional Dynamic Sampling Context items to baggage and envelope headers (#5292)
  • fix(node): Allow ParseRequestOptions to be passed to request handler (#5287)
  • fix(tracing): Baggage parsing fails when input is not of type string (#5276)
  • fix(tracing): Report the right units for CLS and TTFB (#5303)
  • fix(vue): Property access on undefined in errorHandler (#5279)
  • ref(node): Move stack parser to utils so it can be used from Electron (#5286)
  • ref(tracing): Move getBaggage() from Span to Transaction class (#5299)
  • ref(tracing): Unify DSC key names in envelope and baggage headers (#5302)

Work in this release contributed by @Arinono. Thank you for your contribution!

7.2.0

17 Jun 12:03
Compare
Choose a tag to compare
  • feat(angular): Add Angular 14 support (#5253)
  • feat(tracing): GraphQL and Apollo Integrations (#3953)
  • fix(docs): Adjust hash-link to propagation-of-baggage-header (#5235)
  • fix(docs): Update MIGRATION for SeverityLevel (#5225)
  • fix(nextjs): Export showReportDialog from NextJS SDK (#5242)
  • fix(vue): Accounts for undefined options when formatting component name (#5254)
  • ref(node): Move request-data-extraction functions to@sentry/utils (#5257)
  • ref(tracing): Check and set mutability of baggage (#5205)
  • ref(tracing): Sync baggage data in Http and envelope headers (#5218)
  • chore(angular): Add Angular version to event contexts (#5260)
  • chore(core): Remove circular JSON debugging hacks (#5267)
  • chore(integrations): Add trace to CONSOLE_LEVELS (#5249)

Work in this release contributed by @Arinono and @slaesh. Thank you for your contributions!

7.1.1

08 Jun 06:10
Compare
Choose a tag to compare
  • Revert "ref(node): Move non-handler code out of handlers module" (#5223)
  • fix(types): Vendor in TextEncoderCommon type (#5221)

7.1.0

07 Jun 16:14
Compare
Choose a tag to compare
  • 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)