Socket
Socket
Sign inDemoInstall

@sentry/core

Package Overview
Dependencies
2
Maintainers
11
Versions
488
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1245
49Next

8.0.0-beta.5

Diff

Changelog

Source

8.0.0-beta.5

This beta release contains various bugfixes and improvements for the v8 beta cycle.

Important Changes

  • feat(svelte): Add Svelte 5 support (#11807)

We now officially support Svelte 5.

  • feat(browser): Send standalone fetch and XHR spans if there's no active parent span (#11783)

Starting with this version, spans for outgoing fetch/xhr requests will be captured even if no pageload/navigation span is ongoing. This means that you will be able to have a more complete trace, especially for web applications that make a lot of HTTP requests on longer lived pages.

Other Changes

  • feat(astro): Add transactionName to isolation scope for requests (#11786)
  • feat(browser): Create standalone INP spans via startInactiveSpan (#11788)
  • feat(core): Add trace envelope header to span envelope (#11699)
  • feat(core): Add options to start standalone (segment) spans via start*Span APIs (#11696)
  • feat(core): Set default scope for BaseClient methods (#11775)
  • feat(core): Wrap cron withMonitor callback in withIsolationScope (#11797)
  • feat(feedback): New feedback button design (#11641)
  • feat(nextjs): Add transactionName to isolation scope for Next.js server side features (#11782)
  • feat(nextjs): Mute webpack warnings about critical dependencies inside @opentelemetry/instrumentation (#11810)
  • feat(node): Upgrade @prisma/instrumentation to 5.13.0 (#11779)
  • feat(react): type error as unknown in ErrorBoundary (#11819)
  • feat(remix): Add wrapHandleErrorWithSentry (#10370)
  • feat(remix): Set formData as action span data. (#10836)
  • feat(remix): Update scope transactionName for Remix server features (#11784)
  • fix(angular): Call showReportDialog in root context (#11703)
  • fix(core): Capture only failed console.assert calls (#11799)
  • fix(ember): Ensure unnecessary spans are avoided (#11846)
  • fix(feedback): Clarify the difference between createWidget and create Form in the feedback public api (#11838)
  • fix(feedback): Fix feedback type (#11787)
  • fix(feedback): Vendor preact into bundle (#11845)
  • fix(remix): Rethrow loader, action and documentRequest errors (#11793)
  • ref: Always return an immediately generated event ID from captureException(), captureMessage(), and captureEvent() (#11805)
  • ref(core): Remove transaction name extraction from requestDataIntegration (#11513)
  • ref(svelte): Use onlyIfParent for recording component update spans (#11809)
sentry-bot
published 8.0.0-beta.4 •

Changelog

Source

8.0.0-beta.4

Important Changes

  • feat(browser): Add INP support for v8 (#11650)

INP web vital support was now forward-ported to version 8. Recording of INP data is enabled by default.

  • feat(core): Increase default transport buffer size from 30 to 64 (#11764)

The default limit of queued events to be sent was increased from 30 to 64 events. You may observe a higher memory footprint of the SDK. You can override this limit by setting the transportOptions.bufferSize option in Sentry.init().

  • feat(replay): Add "maxCanvasSize" option for replay canvases (#11617)

A maxCanvasSize option was added to the replayCanvasIntegration to disallow capturing of canvases larger than a certain size. This value defaults to 1280 which will not capture canvases bigger than 1280x1280 pixels.

Other Changes

  • deps: Downgrade @opentelemetry/instrumentation-http to 0.48.0 (#11745)
  • deps(nextjs): Remove unnecessary and faulty @opentelemetry/api dependency from Next.js package (#11717)
  • feat(aws): Add OTEL based integrations (#11548)
  • feat(core): Ensure trace context only includes relevant data (#11713)
  • feat(deps): Bump @opentelemetry/instrumentation-fastify from 0.33.0 to 0.35.0 (#11690)
  • feat(deps): Bump @opentelemetry/instrumentation-graphql from 0.37.0 to 0.39.0 (#11692)
  • feat(deps): Bump @opentelemetry/instrumentation-http from 0.48.0 to 0.50.0 (#11725)
  • feat(deps): Bump @opentelemetry/instrumentation-mongoose from 0.35.0 to 0.37.0 (#11693)
  • feat(deps): Bump @opentelemetry/instrumentation-mysql2 from 0.35.0 to 0.37.0 (#11726)
  • feat(deps): Bump @opentelemetry/instrumentation-nestjs-core from 0.34.0 to 0.36.0 (#11727)
  • feat(deps): Bump @opentelemetry/sdk-metrics from 1.21.0 to 1.23.0 (#11695)
  • feat(deps): Bump @prisma/instrumentation from 5.9.0 to 5.12.1 (#11724)
  • feat(feedback): Create async bundles and code to resolve helper integrations (#11621)
  • feat(nextjs): Sample out low-quality spans on older Next.js versions (#11722)
  • feat(opentelemetry): Support new http method attribute (#11756)
  • feat(opentelemetry): Use rest args for addOpenTelemetryInstrumentation (#11721)
  • feat(replay): Upgrade rrweb packages to 2.15.0 (#11736)
  • fix(browser): Ensure lazyLoadIntegration works in NPM mode (#11673)
  • fix(browser): Set custom sentry source correctly (#11735)
  • fix(ember): Do not create rendering spans without transaction (#11749)
  • fix(serverless): Check if cloud event callback is a function (#9044) (#11701)
  • ref(nextjs): Remove unnecessary logic to filter symbolification/sentry spans (#11714)
sentry-bot
published 7.112.2 •

Changelog

Source

7.112.2

  • fix(nextjs|sveltekit): Ensure we can pass browserTracingIntegration (#11765)
sentry-bot
published 7.112.1 •

Changelog

Source

7.112.1

  • fix(ember/v7): Do not create rendering spans without transaction (#11750)
sentry-bot
published 7.112.0 •

Changelog

Source

7.112.0

Important Changes

  • feat: Export pluggable integrations from SDK packages (#11723)

Instead of installing @sentry/integrations, you can now import the pluggable integrations directly from your SDK package:

// Before
import * as Sentry fromv '@sentry/browser';
import { dedupeIntegration } from '@sentry/integrations';

Sentry.init({
  integrations: [dedupeIntegration()],
});

// After
import * as Sentry from '@sentry/browser';

Sentry.init({
  integrations: [Sentry.dedupeIntegration()],
});

Note that only the functional integrations (e.g. xxxIntegration()) are re-exported.

Other Changes

  • feat(replay): Add "maxCanvasSize" option for replay canvases (#11732)
  • fix(serverless): [v7] Check if cloud event callback is a function (#11734)
sentry-bot
published 8.0.0-beta.3 •

Changelog

Source

8.0.0-beta.3

Important Changes

  • feat(opentelemetry): Add addOpenTelemetryInstrumentation (#11667)

A utility function addOpenTelemetryInstrumentation was added that allows for the registration of instrumentations that conform to the OpenTelemetry JS API without having to specify @opentelemetry/instrumentation as a dependency.

  • ref(core): Don't start transaction for trpc middleware (#11697)

Going forward, the Sentry trpcMiddleware will only create spans. Previously it used to always create a transaction. This change was made to integrate more nicely with the HTTP instrumentation added in earlier versions to avoid creating unnecessary transactions.

Other Changes

  • feat(nextjs): Instrument outgoing http requests (#11685)
  • feat(opentelemetry): Remove setupGlobalHub (#11668)
  • fix: Missing ErrorEvent export are added to node, browser, bun, deno, vercel-edge sub-packages (#11649)
  • fix(nextjs): Do not sample next spans if they have remote parent (#11680)
  • fix(nextjs): Re-enable OTEL fetch instrumentation and disable Next.js fetch instrumentation (#11686)
  • fix(node): Ensure DSC on envelope header uses root span (#11683)
  • ref(browser): Streamline pageload span creation and scope handling (#11679)
  • ref(core): Directly use endSession (#11669)
sentry-bot
published 7.111.0 •

Changelog

Source

7.111.0

  • feat(core): Add server.address to browser http.client spans (#11663)
  • fix: Ensure next & sveltekit correctly handle browserTracingIntegration (#11647)
  • fix(browser): Don't assume window.document is available (#11598)
sentry-bot
published 8.0.0-beta.2 •

Changelog

Source

8.0.0-beta.2

Important Changes

  • feat(browser): Update propagationContext on spanEnd to keep trace consistent

To ensure consistency throughout a route's duration, we update the scope's propagation context when the initial page load or navigation span ends. This keeps span-specific attributes like the sampled decision and dynamic sampling context on the scope, even after the transaction has ended.

  • fix(browser): Don't assume window.document is available (#11602)

We won't assume window.dodument is available in the browser SDKs anymore. This should prevent errors in environments where window.document is not available (such as web workers).

Other changes

  • feat(core): Add server.address to browser http.client spans (#11634)
  • feat(opentelemetry): Update OTEL packages & relax some version ranges (#11580)
  • feat(deps): bump @opentelemetry/instrumentation-hapi from 0.34.0 to 0.36.0 (#11496)
  • feat(deps): bump @opentelemetry/instrumentation-koa from 0.37.0 to 0.39.0 (#11495)
  • feat(deps): bump @opentelemetry/instrumentation-pg from 0.38.0 to 0.40.0 (#11494)
  • feat(nextjs): Skip OTEL root spans emitted by Next.js (#11623)
  • feat(node): Collect Local Variables via a worker (#11586)
  • fix(nextjs): Escape Next.js' OpenTelemetry instrumentation (#11625)
  • fix(feedback): Fix timeout on feedback submission (#11619)
  • fix(node): Allow use of NodeClient without calling init (#11585)
  • fix(node): Ensure DSC is correctly set in envelope headers (#11628)
sentry-bot
published 8.0.0-beta.1 •

Changelog

Source

8.0.0-beta.1

This is the first beta release of Sentry JavaScript SDK v8. With this release, there are no more planned breaking changes for the v8 cycle.

Read the in-depth migration guide to find out how to address any breaking changes in your code. All deprecations from the v7 cycle, with the exception of getCurrentHub(), have been removed and can no longer be used in v8.

Version Support

The Sentry JavaScript SDK v8 now supports Node.js 14.8.0 or higher. This applies to @sentry/node and all of our node-based server-side sdks (@sentry/nextjs, @sentry/remix, etc.).

The browser SDKs now require ES2018+ compatible browsers. New minimum browser versions:

  • Chrome 63
  • Edge 79
  • Safari/iOS Safari 12
  • Firefox 58
  • Opera 50
  • Samsung Internet 8.2

For more details, please see the version support section in migration guide.

Package removal

The following packages will no longer be published

sentry-bot
published 7.110.1 •

Changelog

Source

7.110.1

  • fix(nextjs): Fix tunnelRoute matching logic for hybrid cloud (#11577)
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