github getsentry/sentry-javascript 7.94.1

latest releases: 8.32.0, 8.31.0-beta.0, 8.31.0...
8 months ago

This release fixes a publishing issue with 7.94.0.

These are the 7.94.0 release notes:

Important Changes

Deprecations

As we're moving closer to the next major version of the SDK, more public APIs were deprecated.

To get a head start on migrating to the replacement APIs, please take a look at our
migration guide.

  • feat: Deprecate user segment field (#10210)
  • feat(core): Deprecate finish on Span interface in favour of end (#10161)
  • feat(core): Deprecate getCurrentHub() (#10200)
  • feat(core): Deprecate hub.bindClient() & makeMain() (#10188)
  • feat(core): Deprecate Span.instrumenter (#10139)
  • feat(core): Deprecate Span.isSuccess() in favor of reading span status (#10213)
  • feat(core): Deprecate Span.op in favor of op attribute (#10189)
  • feat(core): Deprecate Span.spanRecorder (#10199)
  • feat(core): Deprecate Span.status (#10208)
  • feat(core): Deprecate Span.transaction in favor of getRootSpan (#10134)
  • feat(core): Deprecate Transaction.instrumenter (#10162)
  • feat(core): Deprecate Transaction.setMeasurement in favor of setMeasurement (#10182)
  • feat(core): Deprecate integration classes & Integrations.X (#10198)
  • feat(core): Deprecate methods on Hub (#10124)
  • feat(core): Deprecate remaining setName declarations on Transaction and Span (#10164)
  • feat(core): Deprecate span startTimestamp & endTimestamp (#10192)
  • feat(core): Deprecate hub.bindClient() and makeMain() (#10118)
  • feat(types): Deprecate op on Span interface (#10217)
  • feat(integrations): Deprecate Transaction integration (#10178)
  • feat(integrations): Deprecate pluggable integration classes (#10211)

Replay & Canvas

We have added a new ReplayCanvas integration (#10112), which you can add to capture the contents of canvas elements
with Replay.

Just add it in addition to the regular replay integration:

Sentry.init({
  integrations: [new Sentry.Replay(), new Sentry.ReplayCanvas()],
});

Other Changes

  • feat(core): Add client.getIntegrationByName() (#10130)
  • feat(core): Add client.init() to replace client.setupIntegrations() (#10118)
  • feat(core): Add withActiveSpan (#10195)
  • feat(core): Add withIsolationScope (#10141)
  • feat(core): Streamline integration function results to be compatible (#10135)
  • feat(core): Write data from setUser, setTags, setExtras, setTag, setExtra, and setContext to isolation
    scope (#10163)
  • feat(core): Add domain information to resource span data #10205
  • feat(feedback): Export sendFeedback from @sentry/browser (#10231)
  • feat(node): Update and vendor https-proxy-agent (#10088)
  • feat(node-experimental): Add withActiveSpan (#10194)
  • feat(replays): Add snapshot function to replay canvas integration (#10066)
  • feat(types): Add SerializedEvent interface (pre v8) (#10240)
  • feat(types): Add support for new monitor config thresholds (#10225)
  • fix: Ensure all integration classes have correct types (#10183)
  • fix(astro): Fix import path when using external init files with default path (#10214)
  • fix(cdn): Emit console warning instead of error for integration shims (#10193)
  • fix(core): Take user from current scope when starting a session (#10153)
  • fix(node-experimental): Ensure http.status_code is always a string (#10177)
  • fix(node): Guard against process.argv[1] being undefined (#10155)
  • fix(node): Module name resolution (#10144)
  • fix(node): Remove leading slash in Windows filenames (#10147)
  • fix(remix): Capture thrown fetch responses. (#10166)
  • fix(tracing): Gate mongo operation span data behind sendDefaultPii (#10227)
  • fix(tracing-internal): Delay pageload transaction finish until document is interactive (#10215)
  • fix(tracing-internal): Only collect request/response spans when browser performance timing is available (#10207)
  • fix(tracing-internal): Prefer fetch init headers over fetch input headers (#10176)
  • fix(utils): Ensure dropUndefinedKeys() does not break class instances (#10245)

Bundle size 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 77.62 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 68.88 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 72.77 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 62.52 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped) 32.89 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.15 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.16 KB
@sentry/browser - Webpack (gzipped) 22.51 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 75.2 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 66.81 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.66 KB
@sentry/browser - ES6 CDN Bundle (gzipped) 24.21 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 210.51 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 98.48 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 72.46 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 35.71 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.3 KB
@sentry/react - Webpack (gzipped) 22.55 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 85.88 KB
@sentry/nextjs Client - Webpack (gzipped) 50.01 KB
@sentry-internal/feedback - Webpack (gzipped) 17.14 KB

Don't miss a new sentry-javascript release

NewReleases is sending notifications on new releases.