Socket
Socket
Sign inDemoInstall

@sentry/hub

Package Overview
Dependencies
3
Maintainers
11
Versions
425
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1345
43Next

7.106.1

Diff

Changelog

Source

7.106.1

  • fix(nextjs/v7): Use passthrough createReduxEnhancer on server (#11010)
sentry-bot
published 7.106.0 •

Changelog

Source

7.106.0

  • feat(nextjs): Support Hybrid Cloud DSNs with tunnelRoute option (#10958)
  • feat(remix): Add Vite dev-mode support to Express instrumentation (#10811)
  • fix(core): Undeprecate setTransactionName
  • fix(browser): Don't use chrome variable name (#10874)
  • fix(nextjs): Client code should not use Node global (#10925)
  • fix(node): support undici headers as strings or arrays (#10938)
  • fix(types): Add AttachmentType and use for envelope attachment_type property (#10946)
  • ref(ember): Avoid namespace import to hopefully resolve minification issue (#10885)
  • chore(sveltekit): Fix punctuation in a console.log (#10895)

Work in this release contributed by @jessezhang91 and @bfontaine. Thank you for your contributions!

sentry-bot
published 7.105.0 •

Changelog

Source

7.105.0

Important Changes

  • feat: Ensure withActiveSpan is exported everywhere (#10877)

You can use the withActiveSpan method to ensure a certain span is the active span in a given callback. This can be used to create a span as a child of a specific span with the startSpan API methods:

const parentSpan = Sentry.startInactiveSpan({ name: 'parent' });
if (parentSpan) {
  withActiveSpan(parentSpan, () => {
    // This will be a direct child of parentSpan
    const childSpan = Sentry.startInactiveSpan({ name: 'child' });
  });
}
sentry-bot
published 7.104.0 •

Changelog

Source

7.104.0

Important Changes

  • feat(performance): create Interaction standalone spans on inp events (#10709)

This release adds support for the INP web vital. This is currently only supported for Saas Sentry, and product support is released with the upcoming 24.3.0 release of self-hosted.

To opt-in to this feature, you can use the enableInp option in the browserTracingIntegration:

Sentry.init({
  integrations: [
    Sentry.browserTracingIntegration({
      enableInp: true,
    });
  ]
})

Other Changes

  • feat(feedback): Flush replays when feedback form opens (#10567)
  • feat(profiling-node): Expose nodeProfilingIntegration (#10864)
  • fix(profiling-node): Fix dependencies to point to current versions (#10861)
  • fix(replay): Add errorHandler for replayCanvas integration (#10796)
sentry-bot
published 7.103.0 •

Changelog

Source

7.103.0

Important Changes

  • feat(core): Allow to pass forceTransaction to startSpan() APIs (#10819)

You can now pass forceTransaction: true to startSpan(), startSpanManual() and startInactiveSpan(). This allows you to start a span that you want to be a transaction, if possible. Under the hood, the SDK will connect this span to the running active span (if there is one), but still send the new span as a transaction to the Sentry backend, if possible, ensuring it shows up as a transaction throughout the system.

Please note that setting this to true does not guarantee that this will be sent as a transaction, but that the SDK will try to do so. You can enable this flag if this span is important to you and you want to ensure that you can see it in the Sentry UI.

Other Changes

  • fix: Make breadcrumbs option optional in WinterCGFetch integration (#10792)
sentry-bot
published 7.102.1 •

Changelog

Source

7.102.1

  • fix(performance): Fixes latest route name and source for interactions not updating properly on navigation (#10702)
  • fix(tracing): Guard against missing window.location (#10659)
  • ref: Make span types more robust (#10660)
  • ref(remix): Make @remix-run/router a dependency (v7) (#10779)
sentry-bot
published 7.102.0 •

Changelog

Source

7.102.0

  • fix: Export session API (#10712)
  • fix(core): Fix scope capturing via captureContext function (#10737)
sentry-bot
published 7.101.1 •

Changelog

Source

7.101.1

In version 7.101.0 the @sentry/hub package was missing due to a publishing issue. This release contains the package again.

  • fix(nextjs): Remove webpack:// prefix more broadly from source map sources field (#10641)
sentry-bot
published 7.100.1 •

Changelog

Source

7.100.1

This release contains build fixes for profiling-node.

  • build(profiling-node): make sure debug build plugin is used #10534
  • build: Only run profiling e2e test if bindings have changed #10542
  • fix(feedback): Replay breadcrumb for feedback events was incorrect #10536
sentry-bot
published 7.100.0 •

Changelog

Source

7.100.0

Important Changes

Deprecations

This release includes some deprecations. For more details please look at our migration guide.

The deprecation most likely to affect you is the one of BrowserTracing. Instead of new BrowserTracing(), you should now use browserTracingIntegration(), which will also handle framework-specific instrumentation out of the box for you - no need to pass a custom routingInstrumentation anymore. For @sentry/react, we expose dedicated integrations for the different react-router versions:

  • reactRouterV6BrowserTracingIntegration()
  • reactRouterV5BrowserTracingIntegration()
  • reactRouterV4BrowserTracingIntegration()
  • reactRouterV3BrowserTracingIntegration()

See the migration guide for details.

  • feat(angular): Export custom browserTracingIntegration() (#10353)
  • feat(browser): Deprecate BrowserTracing integration (#10493)
  • feat(browser): Export browserProfilingIntegration (#10438)
  • feat(bun): Export bunServerIntegration() (#10439)
  • feat(nextjs): Add browserTracingIntegration (#10397)
  • feat(react): Add reactRouterV3BrowserTracingIntegration for react router v3 (#10489)
  • feat(react): Add reactRouterV4/V5BrowserTracingIntegration for react router v4 & v5 (#10488)
  • feat(react): Add reactRouterV6BrowserTracingIntegration for react router v6 & v6.4 (#10491)
  • feat(remix): Add custom browserTracingIntegration (#10442)
  • feat(node): Expose functional integrations to replace classes (#10356)
  • feat(vercel-edge): Replace WinterCGFetch with winterCGFetchIntegration (#10436)
  • feat: Deprecate non-callback based continueTrace (#10301)
  • feat(vue): Deprecate new VueIntegration() (#10440)
  • feat(vue): Implement vue browserTracingIntegration() (#10477)
  • feat(sveltekit): Add custom browserTracingIntegration() (#10450)
Profiling Node

@sentry/profiling-node has been ported into the monorepo. Future development for it will happen here!

  • pkg(profiling-node): port profiling-node repo to monorepo (#10151)

Other Changes

  • feat: Export setHttpStatus from all packages (#10475)
  • feat(bundles): Add pluggable integrations on CDN to Sentry namespace (#10452)
  • feat(core): Pass name & attributes to tracesSampler (#10426)
  • feat(feedback): Add system-ui to start of font family (#10464)
  • feat(node-experimental): Add koa integration (#10451)
  • feat(node-experimental): Update opentelemetry packages (#10456)
  • feat(node-experimental): Update tracing integrations to functional style (#10443)
  • feat(replay): Bump rrweb to 2.10.0 (#10445)
  • feat(replay): Enforce masking of credit card fields (#10472)
  • feat(utils): Add propagationContextFromHeaders (#10313)
  • fix: Make startSpan, startSpanManual and startInactiveSpan pick up the scopes at time of creation instead of termination (#10492)
  • fix(feedback): Fix logo color when colorScheme is "system" (#10465)
  • fix(nextjs): Do not report redirects and notFound calls as errors in server actions (#10474)
  • fix(nextjs): Fix navigation tracing on app router (#10502)
  • fix(nextjs): Apply server action data to correct isolation scope (#10514)
  • fix(node): Use normal require call to import Undici (#10388)
  • ref(nextjs): Remove internally used deprecated APIs (#10453)
  • ref(vue): use startInactiveSpan in tracing mixin (#10406)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc