chore(deps): update all non-major dependencies #136

Open
renovate[bot] wants to merge 1 commit from renovate/all-minor-patch into main
renovate[bot] commented 2024-06-21 02:56:35 +08:00 (Migrated from github.com)

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sentry/node (source) 8.10.0 -> 8.17.0 age adoption passing confidence
@sentry/types (source) 8.10.0 -> 8.17.0 age adoption passing confidence
@types/node (source) 20.14.6 -> 20.14.10 age adoption passing confidence
mongoose (source) 8.4.3 -> 8.5.1 age adoption passing confidence
typescript (source) 5.4.5 -> 5.5.3 age adoption passing confidence

Release Notes

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

v8.17.0

Compare Source

  • feat: Upgrade OTEL deps (#​12809)
  • fix(nuxt): Add module to build:transpile script (#​12843)
  • fix(browser): Allow SDK initialization in NW.js apps (#​12846)

v8.16.0

Compare Source

Important Changes
  • feat(nextjs): Use spans generated by Next.js for App Router (#​12729)

Previously, the @sentry/nextjs SDK automatically recorded spans in the form of transactions for each of your top-level
server components (pages, layouts, ...). This approach had a few drawbacks, the main ones being that traces didn't have
a root span, and more importantly, if you had data stream to the client, its duration was not captured because the
server component spans had finished before the data could finish streaming.

With this release, we will capture the duration of App Router requests in their entirety as a single transaction with
server component spans being descendants of that transaction. This means you will get more data that is also more
accurate. Note that this does not apply to the Edge runtime. For the Edge runtime, the SDK will emit transactions as it
has before.

Generally speaking, this change means that you will see less transactions and more spans in Sentry. You will no
longer receive server component transactions like Page Server Component (/path/to/route) (unless using the Edge
runtime), and you will instead receive transactions for your App Router SSR requests that look like
GET /path/to/route.

If you are on Sentry SaaS, this may have an effect on your quota consumption: Less transactions, more spans.

  • - feat(nestjs): Add nest cron monitoring support (#​12781)

The @sentry/nestjs SDK now includes a @SentryCron decorator that can be used to augment the native NestJS @Cron
decorator to send check-ins to Sentry before and after each cron job run:

import { Cron } from '@​nestjs/schedule';
import { SentryCron, MonitorConfig } from '@​sentry/nestjs';
import type { MonitorConfig } from '@​sentry/types';

const monitorConfig: MonitorConfig = {
  schedule: {
    type: 'crontab',
    value: '* * * * *',
  },
  checkinMargin: 2, // In minutes. Optional.
  maxRuntime: 10, // In minutes. Optional.
  timezone: 'America/Los_Angeles', // Optional.
};

export class MyCronService {
  @​Cron('* * * * *')
  @​SentryCron('my-monitor-slug', monitorConfig)
  handleCron() {
    // Your cron job logic here
  }
}
Other Changes
  • feat(node): Allow to pass instrumentation config to httpIntegration (#​12761)
  • feat(nuxt): Add server error hook (#​12796)
  • feat(nuxt): Inject sentry config with Nuxt addPluginTemplate (#​12760)
  • fix: Apply stack frame metadata before event processors (#​12799)
  • fix(feedback): Add missing h import in ScreenshotEditor (#​12784)
  • fix(node): Ensure autoSessionTracking is enabled by default (#​12790)
  • ref(feedback): Let CropCorner inherit the existing h prop (#​12814)
  • ref(otel): Ensure we never swallow args for ContextManager (#​12798)

v8.15.0

Compare Source

  • feat(core): allow unregistering callback through on (#​11710)
  • feat(nestjs): Add function-level span decorator to nestjs (#​12721)
  • feat(otel): Export & use spanTimeInputToSeconds for otel span exporter (#​12699)
  • fix(core): Pass origin as referrer for lazyLoadIntegration (#​12766)
  • fix(deno): Publish from build directory (#​12773)
  • fix(hapi): Specify error channel to filter boom errors (#​12725)
  • fix(react): Revert back to jsxRuntime: 'classic' to prevent breaking react 17 (#​12775)
  • fix(tracing): Report dropped spans for transactions (#​12751)
  • ref(scope): Delete unused public getStack() (#​12737)

Work in this release was contributed by @​arturovt and @​jaulz. Thank you for your contributions!

v8.14.0

Compare Source

Important Changes
  • feat(nestjs): Filter 4xx errors (#​12695)

The @sentry/nestjs SDK no longer captures 4xx errors automatically.

Other Changes

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

v8.13.0

Compare Source

Important Changes
  • feat(nestjs): Add Nest SDK This release adds a dedicated SDK for NestJS (@sentry/nestjs)
    in alpha state. The SDK is a drop-in replacement for the Sentry Node SDK (@sentry/node) supporting the same set of
    features. See the docs for how to use the SDK.
Other Changes

v8.12.0

Compare Source

Important Changes
  • feat(solid): Remove need to pass router hooks to solid integration (breaking)

This release introduces breaking changes to the @sentry/solid package (which is currently out in alpha).

We've made it easier to get started with the solid router integration by removing the need to pass use* hooks
explicitly to solidRouterBrowserTracingIntegration. Import solidRouterBrowserTracingIntegration from
@sentry/solid/solidrouter and add it to Sentry.init

import * as Sentry from '@​sentry/solid';
import { solidRouterBrowserTracingIntegration, withSentryRouterRouting } from '@​sentry/solid/solidrouter';
import { Router } from '@​solidjs/router';

Sentry.init({
  dsn: '__PUBLIC_DSN__',
  integrations: [solidRouterBrowserTracingIntegration()],
  tracesSampleRate: 1.0, //  Capture 100% of the transactions
});

const SentryRouter = withSentryRouterRouting(Router);
  • feat(core): Return client from init method (#​12585)

Sentry.init() now returns a client directly, so you don't need to explicitly call getClient() anymore:

const client = Sentry.init();
  • feat(nextjs): Add deleteSourcemapsAfterUpload option (#​12457)

This adds an easy way to delete sourcemaps immediately after uploading them:

module.exports = withSentryConfig(nextConfig, {
  sourcemaps: {
    deleteSourcemapsAfterUpload: true,
  },
});
  • feat(node): Allow to configure maxSpanWaitDuration (#​12610)

Adds configuration option for the max. duration in seconds that the SDK will wait for parent spans to be finished before
discarding a span. The SDK will automatically clean up spans that have no finished parent after this duration. This is
necessary to prevent memory leaks in case of parent spans that are never finished or otherwise dropped/missing. However,
if you have very long-running spans in your application, a shorter duration might cause spans to be discarded too early.
In this case, you can increase this duration to a value that fits your expected data.

Other Changes
  • feat(feedback): Extra check for iPad in screenshot support (#​12593)
  • fix(bundle): Ensure CDN bundles do not overwrite window.Sentry (#​12580)
  • fix(feedback): Inject preact from feedbackModal into feedbackScreenshot integration (#​12535)
  • fix(node): Re-throw errors from koa middleware (#​12609)
  • fix(remix): Mark isRemixV2 as optional in exposed types. (#​12614)
  • ref(node): Add error message to NodeFetch log (#​12612)

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

v8.11.0

Compare Source

Important Changes
  • feat(core): Add parentSpan option to startSpan* APIs (#​12567)

We've made it easier to create a span as a child of a specific span via the startSpan* APIs. This should allow you to
explicitly manage the parent-child relationship of your spans better.

Sentry.startSpan({ name: 'root' }, parent => {
  const span = Sentry.startInactiveSpan({ name: 'xxx', parentSpan: parent });

  Sentry.startSpan({ name: 'xxx', parentSpan: parent }, () => {});

  Sentry.startSpanManual({ name: 'xxx', parentSpan: parent }, () => {});
});
Other Changes
  • feat(node): Detect release from more providers (#​12529)
  • fix(profiling-node): Use correct getGlobalScope import (#​12564)
  • fix(profiling-node) sample timestamps need to be in seconds (#​12563)
  • ref: Align @sentry/node exports from framework SDKs. (#​12589)

Bundle size 📦

Path Size
@​sentry/browser 22.22 KB
@​sentry/browser (incl. Tracing) 33.31 KB
@​sentry/browser (incl. Tracing, Replay) 69.09 KB
@​sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.41 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) 73.14 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) 85.31 KB
@​sentry/browser (incl. Tracing, Replay, Feedback, metrics) 87.17 KB
@​sentry/browser (incl. metrics) 26.5 KB
@​sentry/browser (incl. Feedback) 38.42 KB
@​sentry/browser (incl. sendFeedback) 26.85 KB
@​sentry/browser (incl. FeedbackAsync) 31.42 KB
@​sentry/react 24.96 KB
@​sentry/react (incl. Tracing) 36.35 KB
@​sentry/vue 26.32 KB
@​sentry/vue (incl. Tracing) 35.16 KB
@​sentry/svelte 22.35 KB
CDN Bundle 23.41 KB
CDN Bundle (incl. Tracing) 35.04 KB
CDN Bundle (incl. Tracing, Replay) 69.17 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 74.34 KB
CDN Bundle - uncompressed 68.76 KB
CDN Bundle (incl. Tracing) - uncompressed 103.61 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 214.08 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 226.67 KB
@​sentry/nextjs (client) 36.23 KB
@​sentry/sveltekit (client) 33.95 KB
@​sentry/node 112.99 KB
@​sentry/node - without tracing 90.4 KB
@​sentry/aws-serverless 99.48 KB
Automattic/mongoose (mongoose)

v8.5.1

Compare Source

==================

  • perf(model): performance improvements for insertMany() #​14724
  • fix(model): avoid leaving subdoc defaults on top-level doc when setting subdocument to same value #​14728 #​14722
  • fix(model): handle transactionAsyncLocalStorage option with insertMany() #​14743
  • types: make _id required on Document type #​14735 #​14660
  • types: fix ChangeStream.close to return a Promise like the driver #​14740 orgads

v8.5.0

Compare Source

==================

  • perf: memoize toJSON / toObject default options #​14672
  • feat(document): add $createModifiedPathsSnapshot(), $restoreModifiedPathsSnapshot(), $clearModifiedPaths() #​14699 #​14268
  • feat(query): make sanitizeProjection prevent projecting in paths deselected in the schema #​14691
  • feat: allow setting array default value to null #​14717 #​6691
  • feat(mongoose): allow drivers to set global plugins #​14682
  • feat(connection): bubble up monitorCommands events to Mongoose connection if monitorCommands option set #​14681 #​14611
  • fix(document): ensure post('deleteOne') hooks are called when calling save() after subdoc.deleteOne() #​14732 #​9885
  • fix(query): remove count() and findOneAndRemove() from query chaining #​14692 #​14689
  • fix: remove default connection if setting createInitialConnection to false after Mongoose instance created #​14679 #​8302
  • types(models+query): infer return type from schema for 1-level deep nested paths #​14632
  • types(connection): make transaction() return type match the executor function #​14661 #​14656
  • docs: fix docs links in index.md mirasayon

v8.4.5

Compare Source

==================

v8.4.4

Compare Source

==================

  • perf: avoid unnecesary get() call and use faster approach for converting to string #​14673 #​14394
  • fix(projection): handle projections on arrays in Model.hydrate() projection option #​14686 #​14680
  • fix(document): avoid passing validateModifiedOnly to subdocs so subdocs get fully validating if they're directly modified #​14685 #​14677
  • fix: handle casting primitive array with $elemMatch in bulkWrite() #​14687 #​14678
  • fix(query): cast $pull using embedded discriminator schema when discriminator key is set in filter #​14676 #​14675
  • types(connection): fix return type of withSession() #​14690 tt-public
  • types: add $documents pipeline stage and fix $unionWith type #​14666 nick-statsig
  • docs(findoneandupdate): improve example that shows findOneAndUpdate() returning doc before updates were applied #​14671 #​14670
Microsoft/TypeScript (typescript)

v5.5.3

Compare Source

v5.5.2

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.


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

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

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@sentry/node](https://togithub.com/getsentry/sentry-javascript/tree/master/packages/node) ([source](https://togithub.com/getsentry/sentry-javascript)) | [`8.10.0` -> `8.17.0`](https://renovatebot.com/diffs/npm/@sentry%2fnode/8.10.0/8.17.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@sentry%2fnode/8.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@sentry%2fnode/8.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@sentry%2fnode/8.10.0/8.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@sentry%2fnode/8.10.0/8.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@sentry/types](https://togithub.com/getsentry/sentry-javascript/tree/master/packages/types) ([source](https://togithub.com/getsentry/sentry-javascript)) | [`8.10.0` -> `8.17.0`](https://renovatebot.com/diffs/npm/@sentry%2ftypes/8.10.0/8.17.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@sentry%2ftypes/8.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@sentry%2ftypes/8.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@sentry%2ftypes/8.10.0/8.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@sentry%2ftypes/8.10.0/8.17.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.14.6` -> `20.14.10`](https://renovatebot.com/diffs/npm/@types%2fnode/20.14.6/20.14.10) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.14.6/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.14.6/20.14.10?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [mongoose](https://mongoosejs.com) ([source](https://togithub.com/Automattic/mongoose)) | [`8.4.3` -> `8.5.1`](https://renovatebot.com/diffs/npm/mongoose/8.4.3/8.5.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/mongoose/8.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/mongoose/8.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/mongoose/8.4.3/8.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/mongoose/8.4.3/8.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://togithub.com/Microsoft/TypeScript)) | [`5.4.5` -> `5.5.3`](https://renovatebot.com/diffs/npm/typescript/5.4.5/5.5.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.4.5/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.4.5/5.5.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>getsentry/sentry-javascript (@&#8203;sentry/node)</summary> ### [`v8.17.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#8170) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/8.16.0...8.17.0) - feat: Upgrade OTEL deps ([#&#8203;12809](https://togithub.com/getsentry/sentry-javascript/issues/12809)) - fix(nuxt): Add module to build:transpile script ([#&#8203;12843](https://togithub.com/getsentry/sentry-javascript/issues/12843)) - fix(browser): Allow SDK initialization in NW.js apps ([#&#8203;12846](https://togithub.com/getsentry/sentry-javascript/issues/12846)) ### [`v8.16.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#8160) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/8.15.0...8.16.0) ##### Important Changes - **feat(nextjs): Use spans generated by Next.js for App Router ([#&#8203;12729](https://togithub.com/getsentry/sentry-javascript/issues/12729))** Previously, the `@sentry/nextjs` SDK automatically recorded spans in the form of transactions for each of your top-level server components (pages, layouts, ...). This approach had a few drawbacks, the main ones being that traces didn't have a root span, and more importantly, if you had data stream to the client, its duration was not captured because the server component spans had finished before the data could finish streaming. With this release, we will capture the duration of App Router requests in their entirety as a single transaction with server component spans being descendants of that transaction. This means you will get more data that is also more accurate. Note that this does not apply to the Edge runtime. For the Edge runtime, the SDK will emit transactions as it has before. Generally speaking, this change means that you will see less *transactions* and more *spans* in Sentry. You will no longer receive server component transactions like `Page Server Component (/path/to/route)` (unless using the Edge runtime), and you will instead receive transactions for your App Router SSR requests that look like `GET /path/to/route`. If you are on Sentry SaaS, this may have an effect on your quota consumption: Less transactions, more spans. - **- feat(nestjs): Add nest cron monitoring support ([#&#8203;12781](https://togithub.com/getsentry/sentry-javascript/issues/12781))** The `@sentry/nestjs` SDK now includes a `@SentryCron` decorator that can be used to augment the native NestJS `@Cron` decorator to send check-ins to Sentry before and after each cron job run: ```typescript import { Cron } from '@&#8203;nestjs/schedule'; import { SentryCron, MonitorConfig } from '@&#8203;sentry/nestjs'; import type { MonitorConfig } from '@&#8203;sentry/types'; const monitorConfig: MonitorConfig = { schedule: { type: 'crontab', value: '* * * * *', }, checkinMargin: 2, // In minutes. Optional. maxRuntime: 10, // In minutes. Optional. timezone: 'America/Los_Angeles', // Optional. }; export class MyCronService { @&#8203;Cron('* * * * *') @&#8203;SentryCron('my-monitor-slug', monitorConfig) handleCron() { // Your cron job logic here } } ``` ##### Other Changes - feat(node): Allow to pass instrumentation config to `httpIntegration` ([#&#8203;12761](https://togithub.com/getsentry/sentry-javascript/issues/12761)) - feat(nuxt): Add server error hook ([#&#8203;12796](https://togithub.com/getsentry/sentry-javascript/issues/12796)) - feat(nuxt): Inject sentry config with Nuxt `addPluginTemplate` ([#&#8203;12760](https://togithub.com/getsentry/sentry-javascript/issues/12760)) - fix: Apply stack frame metadata before event processors ([#&#8203;12799](https://togithub.com/getsentry/sentry-javascript/issues/12799)) - fix(feedback): Add missing `h` import in `ScreenshotEditor` ([#&#8203;12784](https://togithub.com/getsentry/sentry-javascript/issues/12784)) - fix(node): Ensure `autoSessionTracking` is enabled by default ([#&#8203;12790](https://togithub.com/getsentry/sentry-javascript/issues/12790)) - ref(feedback): Let CropCorner inherit the existing h prop ([#&#8203;12814](https://togithub.com/getsentry/sentry-javascript/issues/12814)) - ref(otel): Ensure we never swallow args for ContextManager ([#&#8203;12798](https://togithub.com/getsentry/sentry-javascript/issues/12798)) ### [`v8.15.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#8150) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/8.14.0...8.15.0) - feat(core): allow unregistering callback through `on` ([#&#8203;11710](https://togithub.com/getsentry/sentry-javascript/issues/11710)) - feat(nestjs): Add function-level span decorator to nestjs ([#&#8203;12721](https://togithub.com/getsentry/sentry-javascript/issues/12721)) - feat(otel): Export & use `spanTimeInputToSeconds` for otel span exporter ([#&#8203;12699](https://togithub.com/getsentry/sentry-javascript/issues/12699)) - fix(core): Pass origin as referrer for `lazyLoadIntegration` ([#&#8203;12766](https://togithub.com/getsentry/sentry-javascript/issues/12766)) - fix(deno): Publish from build directory ([#&#8203;12773](https://togithub.com/getsentry/sentry-javascript/issues/12773)) - fix(hapi): Specify error channel to filter boom errors ([#&#8203;12725](https://togithub.com/getsentry/sentry-javascript/issues/12725)) - fix(react): Revert back to `jsxRuntime: 'classic'` to prevent breaking react 17 ([#&#8203;12775](https://togithub.com/getsentry/sentry-javascript/issues/12775)) - fix(tracing): Report dropped spans for transactions ([#&#8203;12751](https://togithub.com/getsentry/sentry-javascript/issues/12751)) - ref(scope): Delete unused public `getStack()` ([#&#8203;12737](https://togithub.com/getsentry/sentry-javascript/issues/12737)) Work in this release was contributed by [@&#8203;arturovt](https://togithub.com/arturovt) and [@&#8203;jaulz](https://togithub.com/jaulz). Thank you for your contributions! ### [`v8.14.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#8140) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/8.13.0...8.14.0) ##### Important Changes - **feat(nestjs): Filter 4xx errors ([#&#8203;12695](https://togithub.com/getsentry/sentry-javascript/issues/12695))** The `@sentry/nestjs` SDK no longer captures 4xx errors automatically. ##### Other Changes - chore(react): Remove private namespace `JSX` ([#&#8203;12691](https://togithub.com/getsentry/sentry-javascript/issues/12691)) - feat(deps): bump [@&#8203;opentelemetry/propagator-aws-xray](https://togithub.com/opentelemetry/propagator-aws-xray) from 1.25.0 to 1.25.1 ([#&#8203;12719](https://togithub.com/getsentry/sentry-javascript/issues/12719)) - feat(deps): bump [@&#8203;prisma/instrumentation](https://togithub.com/prisma/instrumentation) from 5.16.0 to 5.16.1 ([#&#8203;12718](https://togithub.com/getsentry/sentry-javascript/issues/12718)) - feat(node): Add `registerEsmLoaderHooks` option ([#&#8203;12684](https://togithub.com/getsentry/sentry-javascript/issues/12684)) - feat(opentelemetry): Expose sampling helper ([#&#8203;12674](https://togithub.com/getsentry/sentry-javascript/issues/12674)) - fix(browser): Make sure measure spans have valid start timestamps ([#&#8203;12648](https://togithub.com/getsentry/sentry-javascript/issues/12648)) - fix(hapi): Widen type definitions ([#&#8203;12710](https://togithub.com/getsentry/sentry-javascript/issues/12710)) - fix(nextjs): Attempt to ignore critical dependency warnings ([#&#8203;12694](https://togithub.com/getsentry/sentry-javascript/issues/12694)) - fix(react): Fix React jsx runtime import for esm ([#&#8203;12740](https://togithub.com/getsentry/sentry-javascript/issues/12740)) - fix(replay): Start replay in `afterAllSetup` instead of next tick ([#&#8203;12709](https://togithub.com/getsentry/sentry-javascript/issues/12709)) Work in this release was contributed by [@&#8203;quisido](https://togithub.com/quisido). Thank you for your contribution! ### [`v8.13.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#8130) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/8.12.0...8.13.0) ##### Important Changes - **feat(nestjs): Add Nest SDK** This release adds a dedicated SDK for [NestJS](https://nestjs.com/) (`@sentry/nestjs`) in alpha state. The SDK is a drop-in replacement for the Sentry Node SDK (`@sentry/node`) supporting the same set of features. See the [docs](https://docs.sentry.io/platforms/javascript/guides/nestjs/) for how to use the SDK. ##### Other Changes - deps: Bump bundler plugins to `2.20.1` ([#&#8203;12641](https://togithub.com/getsentry/sentry-javascript/issues/12641)) - deps(nextjs): Remove react peer dep and allow rc ([#&#8203;12670](https://togithub.com/getsentry/sentry-javascript/issues/12670)) - feat: Update OTEL deps ([#&#8203;12635](https://togithub.com/getsentry/sentry-javascript/issues/12635)) - feat(deps): bump [@&#8203;prisma/instrumentation](https://togithub.com/prisma/instrumentation) from 5.15.0 to 5.15.1 ([#&#8203;12627](https://togithub.com/getsentry/sentry-javascript/issues/12627)) - feat(node): Add context info for missing instrumentation ([#&#8203;12639](https://togithub.com/getsentry/sentry-javascript/issues/12639)) - fix(feedback): Improve feedback error message ([#&#8203;12647](https://togithub.com/getsentry/sentry-javascript/issues/12647)) ### [`v8.12.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#8120) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/8.11.0...8.12.0) ##### Important Changes - **feat(solid): Remove need to pass router hooks to solid integration** (breaking) This release introduces breaking changes to the `@sentry/solid` package (which is currently out in alpha). We've made it easier to get started with the solid router integration by removing the need to pass **use\*** hooks explicitly to `solidRouterBrowserTracingIntegration`. Import `solidRouterBrowserTracingIntegration` from `@sentry/solid/solidrouter` and add it to `Sentry.init` ```js import * as Sentry from '@&#8203;sentry/solid'; import { solidRouterBrowserTracingIntegration, withSentryRouterRouting } from '@&#8203;sentry/solid/solidrouter'; import { Router } from '@&#8203;solidjs/router'; Sentry.init({ dsn: '__PUBLIC_DSN__', integrations: [solidRouterBrowserTracingIntegration()], tracesSampleRate: 1.0, // Capture 100% of the transactions }); const SentryRouter = withSentryRouterRouting(Router); ``` - **feat(core): Return client from init method ([#&#8203;12585](https://togithub.com/getsentry/sentry-javascript/issues/12585))** `Sentry.init()` now returns a client directly, so you don't need to explicitly call `getClient()` anymore: ```js const client = Sentry.init(); ``` - **feat(nextjs): Add `deleteSourcemapsAfterUpload` option ([#&#8203;12457](https://togithub.com/getsentry/sentry-javascript/issues/12457))** This adds an easy way to delete sourcemaps immediately after uploading them: ```js module.exports = withSentryConfig(nextConfig, { sourcemaps: { deleteSourcemapsAfterUpload: true, }, }); ``` - **feat(node): Allow to configure `maxSpanWaitDuration` ([#&#8203;12610](https://togithub.com/getsentry/sentry-javascript/issues/12610))** Adds configuration option for the max. duration in seconds that the SDK will wait for parent spans to be finished before discarding a span. The SDK will automatically clean up spans that have no finished parent after this duration. This is necessary to prevent memory leaks in case of parent spans that are never finished or otherwise dropped/missing. However, if you have very long-running spans in your application, a shorter duration might cause spans to be discarded too early. In this case, you can increase this duration to a value that fits your expected data. ##### Other Changes - feat(feedback): Extra check for iPad in screenshot support ([#&#8203;12593](https://togithub.com/getsentry/sentry-javascript/issues/12593)) - fix(bundle): Ensure CDN bundles do not overwrite `window.Sentry` ([#&#8203;12580](https://togithub.com/getsentry/sentry-javascript/issues/12580)) - fix(feedback): Inject preact from feedbackModal into feedbackScreenshot integration ([#&#8203;12535](https://togithub.com/getsentry/sentry-javascript/issues/12535)) - fix(node): Re-throw errors from koa middleware ([#&#8203;12609](https://togithub.com/getsentry/sentry-javascript/issues/12609)) - fix(remix): Mark `isRemixV2` as optional in exposed types. ([#&#8203;12614](https://togithub.com/getsentry/sentry-javascript/issues/12614)) - ref(node): Add error message to NodeFetch log ([#&#8203;12612](https://togithub.com/getsentry/sentry-javascript/issues/12612)) Work in this release was contributed by [@&#8203;n4bb12](https://togithub.com/n4bb12). Thank you for your contribution! ### [`v8.11.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/8.11.0) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/8.10.0...8.11.0) ##### Important Changes - **feat(core): Add `parentSpan` option to `startSpan*` APIs ([#&#8203;12567](https://togithub.com/getsentry/sentry-javascript/issues/12567))** We've made it easier to create a span as a child of a specific span via the startSpan\* APIs. This should allow you to explicitly manage the parent-child relationship of your spans better. ```js Sentry.startSpan({ name: 'root' }, parent => { const span = Sentry.startInactiveSpan({ name: 'xxx', parentSpan: parent }); Sentry.startSpan({ name: 'xxx', parentSpan: parent }, () => {}); Sentry.startSpanManual({ name: 'xxx', parentSpan: parent }, () => {}); }); ``` ##### Other Changes - feat(node): Detect release from more providers ([#&#8203;12529](https://togithub.com/getsentry/sentry-javascript/issues/12529)) - fix(profiling-node): Use correct getGlobalScope import ([#&#8203;12564](https://togithub.com/getsentry/sentry-javascript/issues/12564)) - fix(profiling-node) sample timestamps need to be in seconds ([#&#8203;12563](https://togithub.com/getsentry/sentry-javascript/issues/12563)) - ref: Align `@sentry/node` exports from framework SDKs. ([#&#8203;12589](https://togithub.com/getsentry/sentry-javascript/issues/12589)) #### Bundle size 📦 | Path | Size | | ---------------------------------------------------------------- | ----------------- | | [@&#8203;sentry/browser](https://togithub.com/sentry/browser) | 22.22 KB | | [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) | 33.31 KB | | [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) | 69.09 KB | | [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - with treeshaking flags | 62.41 KB | | [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay with Canvas) | 73.14 KB | | [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay, Feedback) | 85.31 KB | | [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay, Feedback, metrics) | 87.17 KB | | [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. metrics) | 26.5 KB | | [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. Feedback) | 38.42 KB | | [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. sendFeedback) | 26.85 KB | | [@&#8203;sentry/browser](https://togithub.com/sentry/browser) (incl. FeedbackAsync) | 31.42 KB | | [@&#8203;sentry/react](https://togithub.com/sentry/react) | 24.96 KB | | [@&#8203;sentry/react](https://togithub.com/sentry/react) (incl. Tracing) | 36.35 KB | | [@&#8203;sentry/vue](https://togithub.com/sentry/vue) | 26.32 KB | | [@&#8203;sentry/vue](https://togithub.com/sentry/vue) (incl. Tracing) | 35.16 KB | | [@&#8203;sentry/svelte](https://togithub.com/sentry/svelte) | 22.35 KB | | CDN Bundle | 23.41 KB | | CDN Bundle (incl. Tracing) | 35.04 KB | | CDN Bundle (incl. Tracing, Replay) | 69.17 KB | | CDN Bundle (incl. Tracing, Replay, Feedback) | 74.34 KB | | CDN Bundle - uncompressed | 68.76 KB | | CDN Bundle (incl. Tracing) - uncompressed | 103.61 KB | | CDN Bundle (incl. Tracing, Replay) - uncompressed | 214.08 KB | | CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 226.67 KB | | [@&#8203;sentry/nextjs](https://togithub.com/sentry/nextjs) (client) | 36.23 KB | | [@&#8203;sentry/sveltekit](https://togithub.com/sentry/sveltekit) (client) | 33.95 KB | | [@&#8203;sentry/node](https://togithub.com/sentry/node) | 112.99 KB | | [@&#8203;sentry/node](https://togithub.com/sentry/node) - without tracing | 90.4 KB | | [@&#8203;sentry/aws-serverless](https://togithub.com/sentry/aws-serverless) | 99.48 KB | </details> <details> <summary>Automattic/mongoose (mongoose)</summary> ### [`v8.5.1`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#851--2024-07-12) [Compare Source](https://togithub.com/Automattic/mongoose/compare/8.5.0...8.5.1) \================== - perf(model): performance improvements for insertMany() [#&#8203;14724](https://togithub.com/Automattic/mongoose/issues/14724) - fix(model): avoid leaving subdoc defaults on top-level doc when setting subdocument to same value [#&#8203;14728](https://togithub.com/Automattic/mongoose/issues/14728) [#&#8203;14722](https://togithub.com/Automattic/mongoose/issues/14722) - fix(model): handle transactionAsyncLocalStorage option with insertMany() [#&#8203;14743](https://togithub.com/Automattic/mongoose/issues/14743) - types: make \_id required on Document type [#&#8203;14735](https://togithub.com/Automattic/mongoose/issues/14735) [#&#8203;14660](https://togithub.com/Automattic/mongoose/issues/14660) - types: fix ChangeStream.close to return a Promise<void> like the driver [#&#8203;14740](https://togithub.com/Automattic/mongoose/issues/14740) [orgads](https://togithub.com/orgads) ### [`v8.5.0`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#850--2024-07-08) [Compare Source](https://togithub.com/Automattic/mongoose/compare/8.4.5...8.5.0) \================== - perf: memoize toJSON / toObject default options [#&#8203;14672](https://togithub.com/Automattic/mongoose/issues/14672) - feat(document): add $createModifiedPathsSnapshot(), $restoreModifiedPathsSnapshot(), $clearModifiedPaths() [#&#8203;14699](https://togithub.com/Automattic/mongoose/issues/14699) [#&#8203;14268](https://togithub.com/Automattic/mongoose/issues/14268) - feat(query): make sanitizeProjection prevent projecting in paths deselected in the schema [#&#8203;14691](https://togithub.com/Automattic/mongoose/issues/14691) - feat: allow setting array default value to null [#&#8203;14717](https://togithub.com/Automattic/mongoose/issues/14717) [#&#8203;6691](https://togithub.com/Automattic/mongoose/issues/6691) - feat(mongoose): allow drivers to set global plugins [#&#8203;14682](https://togithub.com/Automattic/mongoose/issues/14682) - feat(connection): bubble up monitorCommands events to Mongoose connection if monitorCommands option set [#&#8203;14681](https://togithub.com/Automattic/mongoose/issues/14681) [#&#8203;14611](https://togithub.com/Automattic/mongoose/issues/14611) - fix(document): ensure post('deleteOne') hooks are called when calling save() after subdoc.deleteOne() [#&#8203;14732](https://togithub.com/Automattic/mongoose/issues/14732) [#&#8203;9885](https://togithub.com/Automattic/mongoose/issues/9885) - fix(query): remove count() and findOneAndRemove() from query chaining [#&#8203;14692](https://togithub.com/Automattic/mongoose/issues/14692) [#&#8203;14689](https://togithub.com/Automattic/mongoose/issues/14689) - fix: remove default connection if setting createInitialConnection to false after Mongoose instance created [#&#8203;14679](https://togithub.com/Automattic/mongoose/issues/14679) [#&#8203;8302](https://togithub.com/Automattic/mongoose/issues/8302) - types(models+query): infer return type from schema for 1-level deep nested paths [#&#8203;14632](https://togithub.com/Automattic/mongoose/issues/14632) - types(connection): make transaction() return type match the executor function [#&#8203;14661](https://togithub.com/Automattic/mongoose/issues/14661) [#&#8203;14656](https://togithub.com/Automattic/mongoose/issues/14656) - docs: fix docs links in index.md [mirasayon](https://togithub.com/mirasayon) ### [`v8.4.5`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#845--2024-07-05) [Compare Source](https://togithub.com/Automattic/mongoose/compare/8.4.4...8.4.5) \================== - types: correct this for validate.validator schematype option [#&#8203;14720](https://togithub.com/Automattic/mongoose/issues/14720) [#&#8203;14696](https://togithub.com/Automattic/mongoose/issues/14696) - docs(model): note that insertMany() with lean skips applying defaults [#&#8203;14723](https://togithub.com/Automattic/mongoose/issues/14723) [#&#8203;14698](https://togithub.com/Automattic/mongoose/issues/14698) ### [`v8.4.4`](https://togithub.com/Automattic/mongoose/blob/HEAD/CHANGELOG.md#844--2024-06-25) [Compare Source](https://togithub.com/Automattic/mongoose/compare/8.4.3...8.4.4) \================== - perf: avoid unnecesary get() call and use faster approach for converting to string [#&#8203;14673](https://togithub.com/Automattic/mongoose/issues/14673) [#&#8203;14394](https://togithub.com/Automattic/mongoose/issues/14394) - fix(projection): handle projections on arrays in Model.hydrate() projection option [#&#8203;14686](https://togithub.com/Automattic/mongoose/issues/14686) [#&#8203;14680](https://togithub.com/Automattic/mongoose/issues/14680) - fix(document): avoid passing validateModifiedOnly to subdocs so subdocs get fully validating if they're directly modified [#&#8203;14685](https://togithub.com/Automattic/mongoose/issues/14685) [#&#8203;14677](https://togithub.com/Automattic/mongoose/issues/14677) - fix: handle casting primitive array with $elemMatch in bulkWrite() [#&#8203;14687](https://togithub.com/Automattic/mongoose/issues/14687) [#&#8203;14678](https://togithub.com/Automattic/mongoose/issues/14678) - fix(query): cast $pull using embedded discriminator schema when discriminator key is set in filter [#&#8203;14676](https://togithub.com/Automattic/mongoose/issues/14676) [#&#8203;14675](https://togithub.com/Automattic/mongoose/issues/14675) - types(connection): fix return type of withSession() [#&#8203;14690](https://togithub.com/Automattic/mongoose/issues/14690) [tt-public](https://togithub.com/tt-public) - types: add $documents pipeline stage and fix $unionWith type [#&#8203;14666](https://togithub.com/Automattic/mongoose/issues/14666) [nick-statsig](https://togithub.com/nick-statsig) - docs(findoneandupdate): improve example that shows findOneAndUpdate() returning doc before updates were applied [#&#8203;14671](https://togithub.com/Automattic/mongoose/issues/14671) [#&#8203;14670](https://togithub.com/Automattic/mongoose/issues/14670) </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.5.3`](https://togithub.com/Microsoft/TypeScript/compare/v5.5.2...f0e992167440686f948965e5441a918b34251886) [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.5.2...v5.5.3) ### [`v5.5.2`](https://togithub.com/Microsoft/TypeScript/compare/v5.4.5...ce2e60e4ea15a65992e54a9e8877d16be9d42abb) [Compare Source](https://togithub.com/Microsoft/TypeScript/compare/v5.4.5...v5.5.2) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/wdhdev/dbh-utils). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Commenting is not possible because the repository is archived.
No description provided.