Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 4, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sentry/react (source) 7.92.0 -> 7.99.0 age adoption passing confidence

Release Notes

getsentry/sentry-javascript (@​sentry/react)

v7.99.0

Compare Source

Important Changes
Deprecations

This release includes some deprecations for span related methods and integrations in our Deno SDK, @sentry/deno. For
more details please look at our
migration guide.

  • feat(core): Deprecate Span.setHttpStatus in favor of setHttpStatus (#​10268)
  • feat(core): Deprecate spanStatusfromHttpCode in favour of getSpanStatusFromHttpCode (#​10361)
  • feat(core): Deprecate StartSpanOptions.origin in favour of passing attribute (#​10274)
  • feat(deno): Expose functional integrations to replace classes (#​10355)
Other Changes
  • feat(bun): Add missing @sentry/node re-exports (#​10396)
  • feat(core): Add afterAllSetup hook for integrations (#​10345)
  • feat(core): Ensure startSpan() can handle spans that require parent (#​10386)
  • feat(core): Read propagation context off scopes in startSpan APIs (#​10300)
  • feat(remix): Export missing @sentry/node functions (#​10385, #​10391)
  • feat(serverless): Add missing @sentry/node re-exports (#​10390)
  • feat(sveltekit): Add more missing @sentry/node re-exports (#​10392)
  • feat(tracing): Export proper type for browser tracing (#​10411)
  • feat(tracing): Expose new browserTracingIntegration (#​10351)
  • fix: Ensure afterAllSetup is called when using addIntegration() (#​10372)
  • fix(core): Export spanToTraceContext function from span utils (#​10364)
  • fix(core): Make FunctionToString integration use SETUP_CLIENTS weakmap (#​10358)
  • fix(deno): Call function if client is not setup (#​10354)
  • fix(react): Fix attachReduxState option (#​10381)
  • fix(spotlight): Use unpatched http.request (#​10369)
  • fix(tracing): Only create request span if there is active span (#​10375)
  • ref: Read propagation context off of scope and isolation scope when propagating and applying trace context (#​10297)

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

Bundle size 📦

Path Size
@​sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.18 KB
@​sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.39 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.28 KB
@​sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.01 KB
@​sentry/browser (incl. Tracing) - Webpack (gzipped) 33.41 KB
@​sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.28 KB
@​sentry/browser (incl. Feedback) - Webpack (gzipped) 31.33 KB
@​sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.34 KB
@​sentry/browser - Webpack (gzipped) 22.6 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.54 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 33.45 KB
@​sentry/browser - ES6 CDN Bundle (gzipped) 24.66 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 213.12 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 101.13 KB
@​sentry/browser - ES6 CDN Bundle (minified & uncompressed) 74 KB
@​sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.56 KB
@​sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.78 KB
@​sentry/react - Webpack (gzipped) 22.63 KB
@​sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 86.45 KB
@​sentry/nextjs Client - Webpack (gzipped) 50.76 KB
@​sentry-internal/feedback - Webpack (gzipped) 17.21 KB

v7.98.0

Compare Source

This release primarily fixes some type declaration errors:

  • feat(core): Export IntegrationIndex type (#​10337)
  • fix(nextjs): Fix Http integration type declaration (#​10338)
  • fix(node): Fix type definitions (#​10339)

Bundle size 📦

Path Size
@​sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 77.84 KB
@​sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.04 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 72.93 KB
@​sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 62.68 KB
@​sentry/browser (incl. Tracing) - Webpack (gzipped) 33.07 KB
@​sentry/browser (incl. Feedback) - Webpack (gzipped) 31.25 KB
@​sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.26 KB
@​sentry/browser - Webpack (gzipped) 22.5 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 75.57 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.13 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.97 KB
@​sentry/browser - ES6 CDN Bundle (gzipped) 24.43 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 211.42 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 99.44 KB
@​sentry/browser - ES6 CDN Bundle (minified & uncompressed) 73.08 KB
@​sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.07 KB
@​sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.45 KB
@​sentry/react - Webpack (gzipped) 22.55 KB
@​sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 86.11 KB
@​sentry/nextjs Client - Webpack (gzipped) 50.4 KB
@​sentry-internal/feedback - Webpack (gzipped) 17.21 KB

v7.97.0

Compare Source

Note: The 7.96.0 release was incomplete. This release is partially encompassing changes from 7.96.0.

  • feat(react): Add stripBasename option for React Router 6 (#​10314)

Bundle size 📦

Path Size
@​sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 77.84 KB
@​sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.04 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 72.93 KB
@​sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 62.68 KB
@​sentry/browser (incl. Tracing) - Webpack (gzipped) 33.07 KB
@​sentry/browser (incl. Feedback) - Webpack (gzipped) 31.25 KB
@​sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.26 KB
@​sentry/browser - Webpack (gzipped) 22.5 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 75.57 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.13 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.97 KB
@​sentry/browser - ES6 CDN Bundle (gzipped) 24.43 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 211.42 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 99.44 KB
@​sentry/browser - ES6 CDN Bundle (minified & uncompressed) 73.08 KB
@​sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.07 KB
@​sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.44 KB
@​sentry/react - Webpack (gzipped) 22.55 KB
@​sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 86.11 KB
@​sentry/nextjs Client - Webpack (gzipped) 50.4 KB
@​sentry-internal/feedback - Webpack (gzipped) 17.21 KB

v7.95.0

Compare Source

Important Changes
Deprecations

This release includes some deprecations in preparation for v8.

Most notably, it deprecates the Replay & Feedback classes in favor of a functional replacement:

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

Sentry.init({
  integrations: [
    // Instead of
    new Sentry.Replay(),
    new Sentry.Feedback(),
    // Use the functional replacement:
    Sentry.replayIntegration(),
    Sentry.feedbackIntegration(),
  ],
});
  • feat(core): Deprecate Span.origin in favor of sentry.origin attribute (#​10260)
  • feat(core): Deprecate Span.parentSpanId (#​10244)
  • feat(core): Expose isInitialized() to replace checking via getClient (#​10296)
  • feat(replay): Deprecate Replay, ReplayCanvas, Feedback classes (#​10270)
  • feat(wasm): Deprecate Wasm integration class (#​10230)
Other Changes
  • feat: Make parameterize function available through browser and node API (#​10085)
  • feat(feedback): Configure feedback border radius (#​10289)
  • feat(sveltekit): Update default integration handling & deprecate addOrUpdateIntegration (#​10263)
  • fix(replay-canvas): Add missing dependency on @​sentry/utils (#​10279)
  • fix(tracing): Don't send negative ttfb (#​10286)

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

Bundle size 📦
Path Size
@​sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 77.79 KB
@​sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 68.96 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 72.85 KB
@​sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 62.6 KB
@​sentry/browser (incl. Tracing) - Webpack (gzipped) 32.97 KB
@​sentry/browser (incl. Feedback) - Webpack (gzipped) 31.24 KB
@​sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.25 KB
@​sentry/browser - Webpack (gzipped) 22.53 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 75.46 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.03 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.85 KB
@​sentry/browser - ES6 CDN Bundle (gzipped) 24.36 KB
@​sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 211.12 KB
@​sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 99.11 KB
@​sentry/browser - ES6 CDN Bundle (minified & uncompressed) 72.91 KB
@​sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 35.95 KB
@​sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.37 KB
@​sentry/react - Webpack (gzipped) 22.58 KB
@​sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 85.98 KB
@​sentry/nextjs Client - Webpack (gzipped) 50.27 KB
@​sentry-internal/feedback - Webpack (gzipped) 17.21 KB

v7.94.1

Compare Source

This release fixes a publishing issue.

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

v7.93.0

Compare Source

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(core): Deprecate getActiveTransaction() & scope.getTransaction() (#​10098)
  • feat(core): Deprecate Hub.shouldSendDefaultPii (#​10062)
  • feat(core): Deprecate new Transaction() (#​10125)
  • feat(core): Deprecate scope.getSpan() & scope.setSpan() (#​10114)
  • feat(core): Deprecate scope.setTransactionName() (#​10113)
  • feat(core): Deprecate span.startChild() (#​10091)
  • feat(core): Deprecate startTransaction() (#​10073)
  • feat(core): Deprecate Transaction.getDynamicSamplingContext in favor of getDynamicSamplingContextFromSpan (#​10094)
  • feat(core): Deprecate arguments for startSpan() (#​10101)
  • feat(core): Deprecate hub capture APIs and add them to Scope (#​10039)
  • feat(core): Deprecate session APIs on hub and add global replacements (#​10054)
  • feat(core): Deprecate span name and description (#​10056)
  • feat(core): Deprecate span tags, data, context & setters (#​10053)
  • feat(core): Deprecate transaction metadata in favor of attributes (#​10097)
  • feat(core): Deprecate span.sampled in favor of span.isRecording() (#​10034)
  • ref(node-experimental): Deprecate lastEventId on scope (#​10093)
Cron Monitoring Support for node-schedule library

This release adds auto instrumented check-ins for the node-schedule library.

import * as Sentry from '@​sentry/node';
import * as schedule from 'node-schedule';

const scheduleWithCheckIn = Sentry.cron.instrumentNodeSchedule(schedule);

const job = scheduleWithCheckIn.scheduleJob('my-cron-job', '* * * * *', () => {
  console.log('You will see this message every minute');
});
  • feat(node): Instrumentation for node-schedule library (#​10086)
Other Changes
  • feat(core): Add span.spanContext() (#​10037)
  • feat(core): Add spanToJSON() method to get span properties (#​10074)
  • feat(core): Allow to pass scope to startSpan APIs (#​10076)
  • feat(core): Allow to pass start/end timestamp for spans flexibly (#​10060)
  • feat(node): Make getModuleFromFilename compatible with ESM (#​10061)
  • feat(replay): Update rrweb to 2.7.3 (#​10072)
  • feat(utils): Add parameterize function (#​9145)
  • fix(astro): Use correct package name for CF (#​10099)
  • fix(core): Do not run setup for integration on client multiple times (#​10116)
  • fix(core): Ensure we copy passed in span data/tags/attributes (#​10105)
  • fix(cron): Make name required for instrumentNodeCron option (#​10070)
  • fix(nextjs): Don't capture not-found and redirect errors in generation functions (#​10057)
  • fix(node): LocalVariables integration should have correct name (#​10084)
  • fix(node): Anr events should have an event_id (#​10068)
  • fix(node): Revert to only use sync debugger for LocalVariables (#​10077)
  • fix(node): Update ANR min node version to v16.17.0 (#​10107)

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link

codecov bot commented Feb 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (b684493) 76.88% compared to head (8b9937f) 76.88%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #463   +/-   ##
=======================================
  Coverage   76.88%   76.88%           
=======================================
  Files         245      245           
  Lines        9989     9989           
  Branches     1705     1705           
=======================================
  Hits         7680     7680           
  Misses       2141     2141           
  Partials      168      168           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/sentry-javascript-monorepo branch from 16c2124 to d9ebe87 Compare February 4, 2024 14:00
@renovate renovate bot force-pushed the renovate/sentry-javascript-monorepo branch from d9ebe87 to 8b9937f Compare February 4, 2024 15:18
@renovate renovate bot merged commit ba640e6 into main Feb 4, 2024
@renovate renovate bot deleted the renovate/sentry-javascript-monorepo branch February 4, 2024 19:17
@odlbot odlbot mentioned this pull request Feb 7, 2024
26 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants