Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@sentry-internal/feedback
Advanced tools
This SDK is considered experimental and in a beta state. It may experience breaking changes, and may be discontinued at any time. Please reach out on GitHub if you have any feedback/concerns.
To view Feedback in Sentry, your Sentry organization must be an early adopter.
Please read the offical integration documentation for installation instructions.
The Feedback integration is highly customizable, please read the official integration documentation for the most up-to-date configuration options.
8.0.0-alpha.1
This is the first Alpha release of the v8 cycle, which includes a variety of breaking changes.
Read the in-depth migration guide to find out how to address any breaking changes in your code.
- feat(node): Make @sentry/node
powered by OpenTelemetry (#10762)
The biggest change is the switch to use OpenTelemetry under the hood in @sentry/node
. This brings with it a variety of
changes:
autoDiscoverNodePerformanceMonitoringIntegrations()
anymore.Sentry.init()
before you import any other packages. Otherwise, the packages cannot be
instrumented:const Sentry = require('@sentry/node');
Sentry.init({
dsn: '...',
// ... other config here
});
// now require other things below this!
const http = require('http');
const express = require('express');
// ....
startTransaction
and span.startChild()
are no longer supported. This is due to the underlying change to
OpenTelemetry powered performance instrumentation. See
docs on the new performance APIs for details.Related changes:
defaultStackParser
& getSentryRelease
(#10722)errorHandler
(#10728)forceTransaction
in OTEL (#10807)isInitialized
(#10607)errorHandler
to expressErrorHandler
(#10746)- feat: Remove @sentry/integrations
package (#10799)
This package is no longer published. You can instead import these pluggable integrations directly from your SDK package
(e.g. @sentry/browser
or @sentry/react
).
- feat: Remove @sentry/hub
package (#10783)
This package is no longer published. You can instead import directly from your SDK package (e.g. @sentry/react
or
@sentry/node
).
- feat(v8): Remove @sentry/tracing (#10625)
This package is no longer published. You can instead import directly from your SDK package (e.g. @sentry/react
or
@sentry/node
).
- feat: Set required node version to >=14.8.0 for all packages (#10834)
The minimum required node version is now 14.8+. If you need support for older node versions, you can stay on the v7 branch.
- Removed class-based integrations
We have removed most of the deprecated class-based integrations. Instead, you can use the functional styles:
import * as Sentry from '@sentry/browser';
// v7
Sentry.init({
integrations: [new Sentry.BrowserTracing()],
});
// v8
Sentry.init({
integrations: [new Sentry.browserTracingIntegration()],
});
BrowserTracing
(#10653)- feat(v8/browser): Remove XHR transport (#10703)
We have removed the XHR transport, and are instead using the fetch-based transport now by default. This means that if you are using Sentry in a browser environment without fetch, you'll need to either provide a fetch polyfill, or provide a custom transport to Sentry.
- feat(sveltekit): Update @sentry/vite-plugin
to 2.x and adjust options API (#10813)
We have updated @sentry/sveltekit
to use the latest version of @sentry/vite-plugin
, which lead to changes in
configuration options.
withActiveSpan
is exported everywhere (#10878)null
to withActiveSpan
(#10717)hub
from global, hub.run
& hub utilities (#10718)getIsolationScope
and getGlobalScope
(#10658)setXXX
methods set on isolation scope (#10678)addBreadcrumb
write to the isolation scope instead of current scope (#10586)addEventProcessor
to add to isolation scope (#10606)Sentry.addBreadcrumb
to skip hub (#10601)TextEncoder
and TextDecoder
(#10701)captureConsoleIntegration
(#10744)BaseClient
(#10789)exports
field to package.json
(#10569)captureContext
function (#10735)webpack://
prefix more broadly from source map sources
field (#10642)worker_threads
and fix node v14 types (#10791)null
and undefined
(#10821)?
for anonymous function name (#10732)on
and emit
required on client (#10603)Span
class to SentrySpan
(#10687)captureXXX
methods (#10688)number
as span traceFlag
(#10855)status
field from Span (#10856)@remix-run/router
a dependency. (#10479)beforeAddBreadcrumb
hook instead of scope listener (#10600)We have also removed or updated a variety of deprecated APIs.
extractTraceparentData
export (#10559)span.isSuccess
method (#10699)traceHeaders
method (#10776)_eventFromIncompleteOnError
usage (#10553)browserApiErrorsIntegration
(#10755)Span
interface (#10854)setupOnce
optional in integrations (#10729)makeMain
usage (#10713)scope.applyToEvent()
method (#10842)lastEventId
(#10585)reuseExisting
option for ACS (#10645)tracingOrigins
options (#10614)showReportDialog
APIs (#10609)A full list of changes in the 7.x
release of the SDK can be found in the 7.x Changelog.
A full list of changes in the 6.x
release of the SDK can be found in the 6.x Changelog.
A full list of changes in the 5.x
release of the SDK can be found in the 5.x Changelog.
A full list of changes in the 4.x
release of the SDK can be found in the 4.x Changelog.
FAQs
Sentry SDK integration for user feedback
The npm package @sentry-internal/feedback receives a total of 3,297,644 weekly downloads. As such, @sentry-internal/feedback popularity was classified as popular.
We found that @sentry-internal/feedback demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.