Closed renovate[bot] closed 9 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
28a4349
) 93.93% compared to head (c38bb56
) 93.93%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR contains the following updates:
0.7.2
->0.8.0
1.160.0
->1.161.0
7.86.0
->7.93.0
6.5.1
->6.5.2
2.29.4
->2.30.1
Release Notes
bluesky-social/atproto (@atproto/api)
### [`v0.8.0`](https://togithub.com/bluesky-social/atproto/blob/HEAD/packages/api/CHANGELOG.md#080) [Compare Source](https://togithub.com/bluesky-social/atproto/compare/@atproto/api@0.7.4...@atproto/api@0.8.0) ##### Minor Changes - [#2010](https://togithub.com/bluesky-social/atproto/pull/2010) [`14067733`](https://togithub.com/bluesky-social/atproto/commit/140677335f76b99129c1f593d9e11d64624386c6) Thanks [@estrattonbailey](https://togithub.com/estrattonbailey)! - Improve `resumeSession` event emission. It will no longer double emit when some requests fail, and the `create-failed` event has been replaced by `expired` where appropriate, and with a new event `network-error` where appropriate or an unknown error occurs. ### [`v0.7.4`](https://togithub.com/bluesky-social/atproto/blob/HEAD/packages/api/CHANGELOG.md#074) [Compare Source](https://togithub.com/bluesky-social/atproto/compare/@atproto/api@0.7.3...@atproto/api@0.7.4) ##### Patch Changes - [#1966](https://togithub.com/bluesky-social/atproto/pull/1966) [`8f3f43cb`](https://togithub.com/bluesky-social/atproto/commit/8f3f43cb40f79ff7c52f81290daec55cfb000093) Thanks [@pfrazee](https://togithub.com/pfrazee)! - Fix to the application of the no-unauthenticated label ### [`v0.7.3`](https://togithub.com/bluesky-social/atproto/blob/HEAD/packages/api/CHANGELOG.md#073) [Compare Source](https://togithub.com/bluesky-social/atproto/compare/@atproto/api@0.7.2...@atproto/api@0.7.3) ##### Patch Changes - [#1962](https://togithub.com/bluesky-social/atproto/pull/1962) [`7dec9df3`](https://togithub.com/bluesky-social/atproto/commit/7dec9df3b583ee8c06c0c6a7e32c259820dc84a5) Thanks [@pfrazee](https://togithub.com/pfrazee)! - Add seenAt time to listNotifications outputfdebijl/clog (@fdebijl/clog)
### [`v1.161.0`](https://togithub.com/fdebijl/clog/blob/HEAD/CHANGELOG.md#11610-2024-01-01) [Compare Source](https://togithub.com/fdebijl/clog/compare/v1.160.0...v1.161.0)getsentry/sentry-javascript (@sentry/node)
### [`v7.93.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7930) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.92.0...7.93.0) ##### 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](https://togithub.com/getsentry/sentry-javascript/blob/develop/MIGRATION.md). - feat(core): Deprecate `getActiveTransaction()` & `scope.getTransaction()` ([#10098](https://togithub.com/getsentry/sentry-javascript/issues/10098)) - feat(core): Deprecate `Hub.shouldSendDefaultPii` ([#10062](https://togithub.com/getsentry/sentry-javascript/issues/10062)) - feat(core): Deprecate `new Transaction()` ([#10125](https://togithub.com/getsentry/sentry-javascript/issues/10125)) - feat(core): Deprecate `scope.getSpan()` & `scope.setSpan()` ([#10114](https://togithub.com/getsentry/sentry-javascript/issues/10114)) - feat(core): Deprecate `scope.setTransactionName()` ([#10113](https://togithub.com/getsentry/sentry-javascript/issues/10113)) - feat(core): Deprecate `span.startChild()` ([#10091](https://togithub.com/getsentry/sentry-javascript/issues/10091)) - feat(core): Deprecate `startTransaction()` ([#10073](https://togithub.com/getsentry/sentry-javascript/issues/10073)) - feat(core): Deprecate `Transaction.getDynamicSamplingContext` in favor of `getDynamicSamplingContextFromSpan` ([#10094](https://togithub.com/getsentry/sentry-javascript/issues/10094)) - feat(core): Deprecate arguments for `startSpan()` ([#10101](https://togithub.com/getsentry/sentry-javascript/issues/10101)) - feat(core): Deprecate hub capture APIs and add them to `Scope` ([#10039](https://togithub.com/getsentry/sentry-javascript/issues/10039)) - feat(core): Deprecate session APIs on hub and add global replacements ([#10054](https://togithub.com/getsentry/sentry-javascript/issues/10054)) - feat(core): Deprecate span `name` and `description` ([#10056](https://togithub.com/getsentry/sentry-javascript/issues/10056)) - feat(core): Deprecate span `tags`, `data`, `context` & setters ([#10053](https://togithub.com/getsentry/sentry-javascript/issues/10053)) - feat(core): Deprecate transaction metadata in favor of attributes ([#10097](https://togithub.com/getsentry/sentry-javascript/issues/10097)) - feat(core): Deprecate `span.sampled` in favor of `span.isRecording()` ([#10034](https://togithub.com/getsentry/sentry-javascript/issues/10034)) - ref(node-experimental): Deprecate `lastEventId` on scope ([#10093](https://togithub.com/getsentry/sentry-javascript/issues/10093)) ##### Cron Monitoring Support for `node-schedule` library This release adds auto instrumented check-ins for the `node-schedule` library. ```ts 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](https://togithub.com/getsentry/sentry-javascript/issues/10086)) ##### Other Changes - feat(core): Add `span.spanContext()` ([#10037](https://togithub.com/getsentry/sentry-javascript/issues/10037)) - feat(core): Add `spanToJSON()` method to get span properties ([#10074](https://togithub.com/getsentry/sentry-javascript/issues/10074)) - feat(core): Allow to pass `scope` to `startSpan` APIs ([#10076](https://togithub.com/getsentry/sentry-javascript/issues/10076)) - feat(core): Allow to pass start/end timestamp for spans flexibly ([#10060](https://togithub.com/getsentry/sentry-javascript/issues/10060)) - feat(node): Make `getModuleFromFilename` compatible with ESM ([#10061](https://togithub.com/getsentry/sentry-javascript/issues/10061)) - feat(replay): Update rrweb to 2.7.3 ([#10072](https://togithub.com/getsentry/sentry-javascript/issues/10072)) - feat(utils): Add `parameterize` function ([#9145](https://togithub.com/getsentry/sentry-javascript/issues/9145)) - fix(astro): Use correct package name for CF ([#10099](https://togithub.com/getsentry/sentry-javascript/issues/10099)) - fix(core): Do not run `setup` for integration on client multiple times ([#10116](https://togithub.com/getsentry/sentry-javascript/issues/10116)) - fix(core): Ensure we copy passed in span data/tags/attributes ([#10105](https://togithub.com/getsentry/sentry-javascript/issues/10105)) - fix(cron): Make name required for instrumentNodeCron option ([#10070](https://togithub.com/getsentry/sentry-javascript/issues/10070)) - fix(nextjs): Don't capture not-found and redirect errors in generation functions ([#10057](https://togithub.com/getsentry/sentry-javascript/issues/10057)) - fix(node): `LocalVariables` integration should have correct name ([#10084](https://togithub.com/getsentry/sentry-javascript/issues/10084)) - fix(node): Anr events should have an `event_id` ([#10068](https://togithub.com/getsentry/sentry-javascript/issues/10068)) - fix(node): Revert to only use sync debugger for `LocalVariables` ([#10077](https://togithub.com/getsentry/sentry-javascript/issues/10077)) - fix(node): Update ANR min node version to v16.17.0 ([#10107](https://togithub.com/getsentry/sentry-javascript/issues/10107)) ### [`v7.92.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.92.0) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.91.0...7.92.0) ##### Important Changes ##### Deprecations - feat(core): Add `span.updateName()` and deprecate `span.setName()` ([#10018](https://togithub.com/getsentry/sentry-javascript/issues/10018)) - feat(core): Deprecate `span.getTraceContext()` ([#10032](https://togithub.com/getsentry/sentry-javascript/issues/10032)) - feat(core): Deprecate `span.toTraceparent()` in favor of `spanToTraceHeader()` util ([#10031](https://togithub.com/getsentry/sentry-javascript/issues/10031)) - feat(core): Deprecate `trace` in favor of `startSpan` ([#10012](https://togithub.com/getsentry/sentry-javascript/issues/10012)) - feat(core): Deprecate span `toContext()` and `updateWithContext()` ([#10030](https://togithub.com/getsentry/sentry-javascript/issues/10030)) - ref: Deprecate `deepReadDirSync` ([#10016](https://togithub.com/getsentry/sentry-javascript/issues/10016)) - ref: Deprecate `lastEventId()` ([#10043](https://togithub.com/getsentry/sentry-javascript/issues/10043)) Please take a look at the [Migration docs](./MIGRATION.md) for more details. These methods will be removed in the upcoming [v8 major release](https://togithub.com/getsentry/sentry-javascript/discussions/9802). ##### Cron Monitoring Support for `cron` and `node-cron` libraries - feat(node): Instrumentation for `cron` library ([#9999](https://togithub.com/getsentry/sentry-javascript/issues/9999)) - feat(node): Instrumentation for `node-cron` library ([#9904](https://togithub.com/getsentry/sentry-javascript/issues/9904)) This release adds instrumentation for the `cron` and `node-cron` libraries. This allows you to monitor your cron jobs with [Sentry cron monitors](https://docs.sentry.io/product/crons/). For [`cron`](https://www.npmjs.com/package/cron): ```js import * as Sentry from '@sentry/node'; import { CronJob } from 'cron'; const CronJobWithCheckIn = Sentry.cron.instrumentCron(CronJob, 'my-cron-job'); // use the constructor const job = new CronJobWithCheckIn('* * * * *', () => { console.log('You will see this message every minute'); }); // or from const job = CronJobWithCheckIn.from({ cronTime: '* * * * *', onTick: () => { console.log('You will see this message every minute'); }, }); ``` For [`node-cron`](https://www.npmjs.com/package/node-cron): ```js import * as Sentry from '@sentry/node'; import cron from 'node-cron'; const cronWithCheckIn = Sentry.cron.instrumentNodeCron(cron); cronWithCheckIn.schedule( '* * * * *', () => { console.log('running a task every minute'); }, { name: 'my-cron-job' }, ); ``` ##### Other Changes - feat(astro): Add `enabled` option to Astro integration options ([#10007](https://togithub.com/getsentry/sentry-javascript/issues/10007)) - feat(core): Add `attributes` to `Span` ([#10008](https://togithub.com/getsentry/sentry-javascript/issues/10008)) - feat(core): Add `setClient()` and `getClient()` to `Scope` ([#10055](https://togithub.com/getsentry/sentry-javascript/issues/10055)) - feat(integrations): Capture error cause with `captureErrorCause` in `ExtraErrorData` integration ([#9914](https://togithub.com/getsentry/sentry-javascript/issues/9914)) - feat(node-experimental): Allow to pass base span options to trace methods ([#10006](https://togithub.com/getsentry/sentry-javascript/issues/10006)) - feat(node): Local variables via async inspector in node 19+ ([#9962](https://togithub.com/getsentry/sentry-javascript/issues/9962)) - fix(astro): handle commonjs related issues ([#10042](https://togithub.com/getsentry/sentry-javascript/issues/10042)) - fix(astro): Handle non-utf8 encoded streams in middleware ([#9989](https://togithub.com/getsentry/sentry-javascript/issues/9989)) - fix(astro): prevent sentry from externalized ([#9994](https://togithub.com/getsentry/sentry-javascript/issues/9994)) - fix(core): Ensure `withScope` sets current scope correctly with async callbacks ([#9974](https://togithub.com/getsentry/sentry-javascript/issues/9974)) - fix(node): ANR fixes and additions ([#9998](https://togithub.com/getsentry/sentry-javascript/issues/9998)) - fix(node): Anr should not block exit ([#10035](https://togithub.com/getsentry/sentry-javascript/issues/10035)) - fix(node): Correctly resolve module name ([#10001](https://togithub.com/getsentry/sentry-javascript/issues/10001)) - fix(node): Handle inspector already open ([#10025](https://togithub.com/getsentry/sentry-javascript/issues/10025)) - fix(node): Make `NODE_VERSION` properties required ([#9964](https://togithub.com/getsentry/sentry-javascript/issues/9964)) - fix(node): Anr doesn't block exit ([#10064](https://togithub.com/getsentry/sentry-javascript/issues/10064)) - fix(utils): use correct typeof URL validation ([#10028](https://togithub.com/getsentry/sentry-javascript/issues/10028)) - perf(astro): reduce unnecessary path resolutions ([#10021](https://togithub.com/getsentry/sentry-javascript/issues/10021)) - ref(astro): Use astro logger instead of console ([#9995](https://togithub.com/getsentry/sentry-javascript/issues/9995)) - ref(remix): Isolate Express instrumentation from server auto-instrumentation. ([#9966](https://togithub.com/getsentry/sentry-javascript/issues/9966)) Work in this release contributed by [@joshkel](https://togithub.com/joshkel). Thank you for your contribution! #### Bundle size 📦 | Path | Size | | ---------------------------------------------------------------------------------- | ----------------- | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 76.1 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack (gzipped) | 67.5 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 61.1 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - Webpack (gzipped) | 32.08 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Feedback) - Webpack (gzipped) | 30.49 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - Webpack (gzipped) | 22.21 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 73.53 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 65.2 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (gzipped) | 31.37 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (gzipped) | 23.29 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 204.35 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 94.24 KB | | [@sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (minified & uncompressed) | 69.09 KB | | [@sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES5 CDN Bundle (gzipped) | 34.33 KB | | [@sentry/react](https://togithub.com/sentry/react) (incl. Tracing, Replay) - Webpack (gzipped) | 67.91 KB | | [@sentry/react](https://togithub.com/sentry/react) - Webpack (gzipped) | 22.23 KB | | [@sentry/nextjs](https://togithub.com/sentry/nextjs) Client (incl. Tracing, Replay) - Webpack (gzipped) | 84.53 KB | | [@sentry/nextjs](https://togithub.com/sentry/nextjs) Client - Webpack (gzipped) | 49.14 KB | | [@sentry-internal/feedback](https://togithub.com/sentry-internal/feedback) - Webpack (gzipped) | 16.73 KB | ### [`v7.91.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7910) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.90.0...7.91.0) ##### Important Changes - **feat: Add server runtime metrics aggregator ([#9894](https://togithub.com/getsentry/sentry-javascript/issues/9894))** The release adds alpha support for [Sentry developer metrics](https://togithub.com/getsentry/sentry/discussions/58584) in the server runtime SDKs (`@sentry/node`, `@sentry/deno`, `@sentry/nextjs` server-side, etc.). Via the newly introduced APIs, you can now flush metrics directly to Sentry. To enable capturing metrics, you first need to add the `metricsAggregator` experiment to your `Sentry.init` call. ```js Sentry.init({ dsn: '__DSN__', _experiments: { metricsAggregator: true, }, }); ``` Then you'll be able to add `counters`, `sets`, `distributions`, and `gauges` under the `Sentry.metrics` namespace. ```js // Add 4 to a counter named `hits` Sentry.metrics.increment('hits', 4); // Add 2 to gauge named `parallel_requests`, tagged with `type: "a"` Sentry.metrics.gauge('parallel_requests', 2, { tags: { type: 'a' } }); // Add 4.6 to a distribution named `response_time` with unit seconds Sentry.metrics.distribution('response_time', 4.6, { unit: 'seconds' }); // Add 2 to a set named `valuable.ids` Sentry.metrics.set('valuable.ids', 2); ``` - **feat(node): Rework ANR to use worker script via an integration ([#9945](https://togithub.com/getsentry/sentry-javascript/issues/9945))** The [ANR tracking integration for Node](https://docs.sentry.io/platforms/node/configuration/application-not-responding/) has been reworked to use an integration. ANR tracking now requires a minimum Node version of 16 or higher. Previously you had to call `Sentry.enableANRDetection` before running your application, now you can simply add the `Anr` integration to your `Sentry.init` call. ```js import * as Sentry from '@sentry/node'; Sentry.init({ dsn: 'https://public@dsn.ingest.sentry.io/1337', integrations: [new Sentry.Integrations.Anr({ captureStackTrace: true, anrThreshold: 200 })], }); ``` ##### Other Changes - feat(breadcrumbs): Send component names on UI breadcrumbs ([#9946](https://togithub.com/getsentry/sentry-javascript/issues/9946)) - feat(core): Add `getGlobalScope()` method ([#9920](https://togithub.com/getsentry/sentry-javascript/issues/9920)) - feat(core): Add `getIsolationScope()` method ([#9957](https://togithub.com/getsentry/sentry-javascript/issues/9957)) - feat(core): Add `span.end()` to replace `span.finish()` ([#9954](https://togithub.com/getsentry/sentry-javascript/issues/9954)) - feat(core): Ensure `startSpan` & `startSpanManual` fork scope ([#9955](https://togithub.com/getsentry/sentry-javascript/issues/9955)) - feat(react): Send component name on spans ([#9949](https://togithub.com/getsentry/sentry-javascript/issues/9949)) - feat(replay): Send component names in replay breadcrumbs ([#9947](https://togithub.com/getsentry/sentry-javascript/issues/9947)) - feat(sveltekit): Add options to configure fetch instrumentation script for CSP ([#9969](https://togithub.com/getsentry/sentry-javascript/issues/9969)) - feat(tracing): Send component name on interaction spans ([#9948](https://togithub.com/getsentry/sentry-javascript/issues/9948)) - feat(utils): Add function to extract relevant component name ([#9921](https://togithub.com/getsentry/sentry-javascript/issues/9921)) - fix(core): Rethrow caught promise rejections in `startSpan`, `startSpanManual`, `trace` ([#9958](https://togithub.com/getsentry/sentry-javascript/issues/9958)) ### [`v7.90.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7900) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.89.0...7.90.0) - feat(replay): Change to use preset quality values ([#9903](https://togithub.com/getsentry/sentry-javascript/issues/9903)) - fix(replay): Adjust development hydration error messages ([#9922](https://togithub.com/getsentry/sentry-javascript/issues/9922)) - fix(sveltekit): Add `types` field to package.json `exports` ([#9926](https://togithub.com/getsentry/sentry-javascript/issues/9926)) ### [`v7.89.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7890) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.88.0...7.89.0) ##### Important Changes ##### Deprecations - **feat(core): Deprecate `configureScope` ([#9887](https://togithub.com/getsentry/sentry-javascript/issues/9887))** - **feat(core): Deprecate `pushScope` & `popScope` ([#9890](https://togithub.com/getsentry/sentry-javascript/issues/9890))** This release deprecates `configureScope`, `pushScope`, and `popScope`, which will be removed in the upcoming v8 major release. ##### Hapi Integration - **feat(node): Add Hapi Integration ([#9539](https://togithub.com/getsentry/sentry-javascript/issues/9539))** This release adds an integration for Hapi. It can be used as follows: ```ts const Sentry = require('@sentry/node'); const Hapi = require('@hapi/hapi'); const init = async () => { const server = Hapi.server({ // your server configuration ... }); Sentry.init({ dsn: '__DSN__', tracesSampleRate: 1.0, integrations: [ new Sentry.Integrations.Hapi({ server }), ], }); server.route({ // your route configuration ... }); await server.start(); }; ``` ##### SvelteKit 2.0 - **chore(sveltekit): Add SvelteKit 2.0 to peer dependencies ([#9861](https://togithub.com/getsentry/sentry-javascript/issues/9861))** This release adds support for SvelteKit 2.0 in the `@sentry/sveltekit` package. If you're upgrading from SvelteKit 1.x to 2.x and already use the Sentry SvelteKit SDK, no changes apart from upgrading to this (or a newer) version are necessary. ##### Other Changes - feat(core): Add type & utility for function-based integrations ([#9818](https://togithub.com/getsentry/sentry-javascript/issues/9818)) - feat(core): Update `withScope` to return callback return value ([#9866](https://togithub.com/getsentry/sentry-javascript/issues/9866)) - feat(deno): Support `Deno.CronSchedule` for cron jobs ([#9880](https://togithub.com/getsentry/sentry-javascript/issues/9880)) - feat(nextjs): Auto instrument generation functions ([#9781](https://togithub.com/getsentry/sentry-javascript/issues/9781)) - feat(nextjs): Connect server component transactions if there is no incoming trace ([#9845](https://togithub.com/getsentry/sentry-javascript/issues/9845)) - feat(node-experimental): Update to new Scope APIs ([#9799](https://togithub.com/getsentry/sentry-javascript/issues/9799)) - feat(replay): Add `canvas.type` setting ([#9877](https://togithub.com/getsentry/sentry-javascript/issues/9877)) - fix(nextjs): Export `createReduxEnhancer` ([#9854](https://togithub.com/getsentry/sentry-javascript/issues/9854)) - fix(remix): Do not capture thrown redirect responses. ([#9909](https://togithub.com/getsentry/sentry-javascript/issues/9909)) - fix(sveltekit): Add conditional exports ([#9872](https://togithub.com/getsentry/sentry-javascript/issues/9872)) - fix(sveltekit): Avoid capturing 404 errors on client side ([#9902](https://togithub.com/getsentry/sentry-javascript/issues/9902)) - fix(utils): Do not use `Event` type in worldwide ([#9864](https://togithub.com/getsentry/sentry-javascript/issues/9864)) - fix(utils): Support crypto.getRandomValues in old Chromium versions ([#9251](https://togithub.com/getsentry/sentry-javascript/issues/9251)) - fix(utils): Update `eventFromUnknownInput` to avoid scope pollution & `getCurrentHub` ([#9868](https://togithub.com/getsentry/sentry-javascript/issues/9868)) - ref: Use `addBreadcrumb` directly & allow to pass hint ([#9867](https://togithub.com/getsentry/sentry-javascript/issues/9867)) Work in this release contributed by [@adam187](https://togithub.com/adam187), and [@jghinestrosa](https://togithub.com/jghinestrosa). Thank you for your contributions! ### [`v7.88.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7880) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.87.0...7.88.0) ##### Important Changes - **feat(browser): Add browser metrics sdk ([#9794](https://togithub.com/getsentry/sentry-javascript/issues/9794))** The release adds alpha support for [Sentry developer metrics](https://togithub.com/getsentry/sentry/discussions/58584) in the Browser SDKs (`@sentry/browser` and related framework SDKs). Via the newly introduced APIs, you can now flush metrics directly to Sentry. To enable capturing metrics, you first need to add the `MetricsAggregator` integration. ```js Sentry.init({ dsn: '__DSN__', integrations: [ new Sentry.metrics.MetricsAggregator(), ], }); ``` Then you'll be able to add `counters`, `sets`, `distributions`, and `gauges` under the `Sentry.metrics` namespace. ```js // Add 4 to a counter named `hits` Sentry.metrics.increment('hits', 4); // Add 2 to gauge named `parallel_requests`, tagged with `happy: "no"` Sentry.metrics.gauge('parallel_requests', 2, { tags: { happy: 'no' } }); // Add 4.6 to a distribution named `response_time` with unit seconds Sentry.metrics.distribution('response_time', 4.6, { unit: 'seconds' }); // Add 2 to a set named `valuable.ids` Sentry.metrics.set('valuable.ids', 2); ``` In a future release we'll add support for server runtimes (Node, Deno, Bun, Vercel Edge, etc.) - **feat(deno): Optionally instrument `Deno.cron` ([#9808](https://togithub.com/getsentry/sentry-javascript/issues/9808))** This releases add support for instrumenting [Deno cron's](https://deno.com/blog/cron) with [Sentry cron monitors](https://docs.sentry.io/product/crons/). This requires v1.38 of Deno run with the `--unstable` flag and the usage of the `DenoCron` Sentry integration. ```ts // Import from the Deno registry import * as Sentry from "https://deno.land/x/sentry/index.mjs"; Sentry.init({ dsn: '__DSN__', integrations: [ new Sentry.DenoCron(), ], }); ``` ##### Other Changes - feat(replay): Bump `rrweb` to 2.6.0 ([#9847](https://togithub.com/getsentry/sentry-javascript/issues/9847)) - fix(nextjs): Guard against injecting multiple times ([#9807](https://togithub.com/getsentry/sentry-javascript/issues/9807)) - ref(remix): Bump Sentry CLI to ^2.23.0 ([#9773](https://togithub.com/getsentry/sentry-javascript/issues/9773)) ### [`v7.87.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7870) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.86.0...7.87.0) - feat: Add top level `getCurrentScope()` method ([#9800](https://togithub.com/getsentry/sentry-javascript/issues/9800)) - feat(replay): Bump `rrweb` to 2.5.0 ([#9803](https://togithub.com/getsentry/sentry-javascript/issues/9803)) - feat(replay): Capture hydration error breadcrumb ([#9759](https://togithub.com/getsentry/sentry-javascript/issues/9759)) - feat(types): Add profile envelope types ([#9798](https://togithub.com/getsentry/sentry-javascript/issues/9798)) - fix(astro): Avoid RegExp creation during route interpolation ([#9815](https://togithub.com/getsentry/sentry-javascript/issues/9815)) - fix(browser): Avoid importing from `./exports` ([#9775](https://togithub.com/getsentry/sentry-javascript/issues/9775)) - fix(nextjs): Catch rejecting flushes ([#9811](https://togithub.com/getsentry/sentry-javascript/issues/9811)) - fix(nextjs): Fix devserver CORS blockage when `assetPrefix` is defined ([#9766](https://togithub.com/getsentry/sentry-javascript/issues/9766)) - fix(node): Capture errors in tRPC middleware ([#9782](https://togithub.com/getsentry/sentry-javascript/issues/9782))neet/masto.js (masto)
### [`v6.5.2`](https://togithub.com/neet/masto.js/blob/HEAD/CHANGELOG.md#652-2023-12-27) [Compare Source](https://togithub.com/neet/masto.js/compare/v6.5.1...v6.5.2) ##### Bug Fixes - Fix search API to return paginator ([2691c27](https://togithub.com/neet/masto.js/commit/2691c274b789ea80c561b2baa12305e0dfed859a)) - Fix type of hashtags to be an array in `Search` entity ([35cad26](https://togithub.com/neet/masto.js/commit/35cad2681e61c95b60e7e91c5ea1a666bd777a70))moment/moment (moment)
### [`v2.30.1`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2301) [Compare Source](https://togithub.com/moment/moment/compare/2.30.0...2.30.1) - Release Dec 27, 2023 - Revert [https://github.com/moment/moment/pull/5827](https://togithub.com/moment/moment/pull/5827), because it's breaking a lot of TS code. ### [`v2.30.0`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2300-Full-changelog) [Compare Source](https://togithub.com/moment/moment/compare/2.29.4...2.30.0) - Release Dec 26, 2023Configuration
📅 Schedule: Branch creation - "after 8am and before 5pm on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.