This repository was archived by the owner on Sep 26, 2024. It is now read-only.
chore(deps): update dependency @sentry/node to v8 #888
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^7.42.0->^8.0.0Release Notes
getsentry/sentry-javascript (@sentry/node)
v8.30.0Compare Source
Important Changes
kafkajsintegration (#13528)This release adds a new integration that instruments
kafkajslibrary with spans and traces. This integration isautomatically enabled by default, but can be included with the
Sentry.kafkaIntegration()import.Other Changes
@opentelemetry/instrumentation-undicifor fetch tracing (#13485)trackComponentslist matches components with or without<>(#13543)Work in this release was contributed by @Zen-cronic and @odanado. Thank you for your contributions!
v8.29.0Compare Source
Important Changes
This release marks the beta releases of the
@sentry/solidand@sentry/solidstartSentry SDKs. For details on how touse them, check out the
Sentry Solid SDK README and the
Sentry SolidStart SDK README
respectively. Please reach out on GitHub if you have
any feedback or concerns.
Adds the SDK option to only wrap ES modules with
import-in-the-middlethat specifically need to be instrumented.All internal OpenTelemetry instrumentation was updated to their latest version. This adds support for Mongoose v7 and v8
and fixes various bugs related to ESM mode.
Other Changes
generic-poolintegration (#13465)browserTracingIntegrationby default (#13561)sentrySolidStartViteplugin to simplify source maps upload (#13493)context.waitUntilcall in request handler (#13549)generic-poolspan origins with underscores (#13579)Work in this release was contributed by @Zen-cronic. Thank you for your contribution!
v8.28.0Compare Source
Important Changes
This release contains the beta version of
@sentry/nestjs! For details on how to use it, check out theREADME. Any feedback/bug reports
are greatly appreciated, please reach out on GitHub.
This release fixes a bug in the
@sentry/browserpackage and all SDKs depending on this package (e.g.@sentry/reactor
@sentry/nextjs) that caused the SDK to send incorrect web vital values for the LCP, FCP and FP vitals. The SDKpreviously incorrectly processed the original values as they were reported from the browser. When updating your SDK to
this version, you might experience an increase in LCP, FCP and FP values, which potentially leads to a decrease in your
performance score in the Web Vitals Insights module in Sentry. This is because the previously reported values were
smaller than the actually measured values. We apologize for the inconvenience!
Other Changes
SentryGlobalGraphQLFilter(#13545)bundleSizeOptimizationsto build options (#13323)captureRequestError(#13550)@Injectable(#13544)Work in this release was contributed by @leopoldkristjansson, @mhuggins and @filips123. Thank you for your
contributions!
v8.27.0Compare Source
Important Changes
fix(nestjs): Exception filters in main app module are not being executed (#13278)
With this release nestjs error monitoring is no longer automatically set up after adding the
SentryModuleto yourapplication, which led to issues in certain scenarios. You will now have to either add the
SentryGlobalFiltertoyour main module providers or decorate the
catch()method in your existing global exception filters with the newlyreleased
@WithSentry()decorator. See the docs formore details.
Other Changes
Deno.permissions.querySync(#13378)Work in this release was contributed by @charpeni. Thank you for your contribution!
v8.26.0Compare Source
Important Changes
feat(node): Add
fsInstrumentation(#13291)This release adds
fsIntegration, an integration that instruments thefsAPI to the Sentry Node SDK. Theintegration creates spans with naming patterns of
fs.readFile,fs.unlink, and so on.This integration is not enabled by default and needs to be registered in your
Sentry.initcall. You can configurevia options whether to include path arguments or error messages as span attributes when an fs call fails:
WARNING: This integration may add significant overhead to your application. Especially in scenarios with a lot of
file I/O, like for example when running a framework dev server, including this integration can massively slow down
your application.
Other Changes
feat(browser): Add spotlightBrowser integration (#13263)
feat(browser): Allow sentry in safari extension background page (#13209)
feat(browser): Send CLS as standalone span (experimental) (#13056)
feat(core): Add OpenTelemetry-specific
getTraceDataimplementation (#13281)feat(nextjs): Always add
browserTracingIntegration(#13324)feat(nextjs): Always transmit trace data to the client (#13337)
feat(nextjs): export SentryBuildOptions (#13296)
feat(nextjs): Update
experimental_captureRequestErrorto reflectRequestInfo.pathchange in Next.js canary(#13344)
feat(nuxt): Always add tracing meta tags (#13273)
feat(nuxt): Set transaction name for server error (#13292)
feat(replay): Add a replay-specific logger (#13256)
feat(sveltekit): Add bundle size optimizations to plugin options (#13318)
feat(sveltekit): Always add browserTracingIntegration (#13322)
feat(tracing): Make long animation frames opt-out (#13255)
fix(astro): Correctly extract request data (#13315)
fix(astro): Only track access request headers in dynamic page requests (#13306)
fix(nuxt): Add import line for disabled
autoImport(#13342)fix(nuxt): Add vue to excludeEsmLoaderHooks array (#13346)
fix(opentelemetry): Do not overwrite http span name if kind is internal (#13282)
fix(remix): Ensure
originis correctly set for remix server spans (#13305)Work in this release was contributed by @MonstraG, @undead-voron and @Zen-cronic. Thank you for your contributions!
v8.25.0Compare Source
Important Changes
This release contains the alpha version of
@sentry/solidstart, our SDK for Solid Start!For details on how to use it, please see the README. Any feedback/bug reports are
greatly appreciated, please reach out on GitHub.
Other Changes
bundleSizeOptimizationsvite options to integration (#13250)getTraceMetaTagsfunction (#13201)useOperationNameForRootSpantographqlIntegration(#13248)wrapServerRouteWithSentrywrapper (#13247)contextoverevent(#13266)defaultIntegrations: undefined(#13261)v8.24.0Compare Source
v8.23.0Compare Source
Important Changes
This release includes support for Cloudflare D1, Cloudflare's serverless SQL database. To instrument your Cloudflare D1
database, use the
instrumentD1WithSentrymethod as follows:Other Changes
getTraceDatafunction (#13134)onBeforeResponsemiddleware to enable distributed tracing (#13221)windowglobal scopes (#13156)\_loadAndRenderDialog(#13203)Work in this release was contributed by @horochx. Thank you for your contribution!
v8.22.0Compare Source
Important Changes
This release adds support for Cloudflare Pages to
@sentry/cloudflare, our SDK for theCloudflare Workers JavaScript Runtime! For details on how to use it,
please see the README. Any feedback/bug reports are greatly appreciated, please
reach out on GitHub.
Other Changes
internal_sdk_errorclient report happens (#13072)globalThisfor code injection (#13132)v8.21.0Compare Source
Important Changes
withSentrymethod (#13025)This release contains the alpha version of
@sentry/cloudflare, our SDK for theCloudflare Workers JavaScript Runtime! For details on how to use it,
please see the README. Any feedback/bug reports are greatly appreciated, please
reach out on GitHub.
Please note that only Cloudflare Workers are tested and supported - official Cloudflare Pages support will come in an
upcoming release.
Other Changes
beforeSendTransaction(#13022)v8.20.0Compare Source
Important Changes
registerEsmLoaderHooksto preload (#12998)You can write your own custom preload script and configure this in the preload options.
registerEsmLoaderHookscan bepassed as an option to
preloadOpenTelemetry, which allows to exclude/include packages in the preload.Sentry will not emit "fetch" spans if tracing is disabled. This is relevant for user who use their own sampler.
Other Changes
v8.19.0Compare Source
node --import=@sentry/node/import app.js
v8.18.0Compare Source
Important Changes
enableTracing(12897)The
enableTracingoption has been deprecated and will be removed in the next major version. We recommend removing itin favor of the
tracesSampleRateandtracesSampleroptions. If you want to enable performance monitoring, please setthe
tracesSampleRateto a sample rate of your choice, or provide a sampling function astracesSampleroptioninstead. If you want to disable performance monitoring, remove the
tracesSamplerandtracesSampleRateoptions.Other Changes
excludeandincludeoptions for ESM loader (#12910)experimental_captureRequestErrorforonRequestErrorhook (#12885)rrwebto 2.25.0 (#12478)ErrorEventcheck in ErrorHandler to avoid throwing in Node environments (#12892)ignoreIncomingRequestscallback (#12929)otel.kind: INTERNALattribute (#12841)nullasparentSpaninstartSpan*(#12928)Work in this release was contributed by @GitSquared and @mcous. Thank you for your contributions!
Bundle size 📦
v8.17.0Compare Source
v8.16.0Compare Source
Important Changes
Previously, the
@sentry/nextjsSDK automatically recorded spans in the form of transactions for each of your top-levelserver 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 Edgeruntime), 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.
The
@sentry/nestjsSDK now includes a@SentryCrondecorator that can be used to augment the native NestJS@Crondecorator to send check-ins to Sentry before and after each cron job run:
Other Changes
httpIntegration(#12761)addPluginTemplate(#12760)himport inScreenshotEditor(#12784)autoSessionTrackingis enabled by default (#12790)v8.15.0Compare Source
on(#11710)spanTimeInputToSecondsfor otel span exporter (#12699)lazyLoadIntegration(#12766)jsxRuntime: 'classic'to prevent breaking react 17 (#12775)getStack()(#12737)Work in this release was contributed by @arturovt and @jaulz. Thank you for your contributions!
v8.14.0Compare Source
Important Changes
The
@sentry/nestjsSDK no longer captures 4xx errors automatically.Other Changes
JSX(#12691)registerEsmLoaderHooksoption (#12684)afterAllSetupinstead of next tick (#12709)Work in this release was contributed by @quisido. Thank you for your contribution!
v8.13.0Compare Source
Important Changes
@sentry/nestjs)in alpha state. The SDK is a drop-in replacement for the Sentry Node SDK (
@sentry/node) supporting the same set offeatures. See the docs for how to use the SDK.
Other Changes
2.20.1(#12641)v8.12.0Compare Source
Important Changes
This release introduces breaking changes to the
@sentry/solidpackage (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. ImportsolidRouterBrowserTracingIntegrationfrom@sentry/solid/solidrouterand add it toSentry.initSentry.init()now returns a client directly, so you don't need to explicitly callgetClient()anymore:deleteSourcemapsAfterUploadoption (#12457)This adds an easy way to delete sourcemaps immediately after uploading them:
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
window.Sentry(#12580)isRemixV2as optional in exposed types. (#12614)Work in this release was contributed by @n4bb12. Thank you for your contribution!
v8.11.0Compare Source
Important Changes
parentSpanoption tostartSpan*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.
Other Changes
@sentry/nodeexports from framework SDKs. (#12589)Bundle size 📦
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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.