
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
@sentry-internal/replay-canvas
Advanced tools
Replay with canvas requires Node 14+, and browsers newer than IE11.
Replay and ReplayCanvas can be imported from @sentry/browser
, or a respective SDK package like @sentry/react
or
@sentry/vue
. You don't need to install anything in order to use Session Replay. The minimum version that includes
Replay is 7.27.0.
For details on using Replay when using Sentry via the CDN bundles, see CDN bundle.
To set up the canvas integration, add the following to your Sentry integrations:
Sentry.replayCanvasIntegration(),
import * as Sentry from '@sentry/browser';
// or e.g. import * as Sentry from '@sentry/react';
Sentry.init({
dsn: '__DSN__',
// This sets the sample rate to be 10%. You may want this to be 100% while
// in development and sample at a lower rate in production
replaysSessionSampleRate: 0.1,
// If the entire session is not sampled, use the below sample rate to sample
// sessions when an error occurs.
replaysOnErrorSampleRate: 1.0,
integrations: [Sentry.replayIntegration(), Sentry.replayCanvasIntegration()],
// ...
});
10.15.0
feat(cloudflare): Add honoIntegration with error-filtering function (#17743)
This release adds a honoIntegration
to @sentry/cloudflare
, which exposes a shouldHandleError
function that lets you define which errors in onError
should be captured.
By default, Sentry captures exceptions with error.status >= 500 || error.status <= 299
.
The integration is added by default, and it's possible to modify this behavior like this:
integrations: [
honoIntegration({
shouldHandleError: (err) => true; // always capture exceptions in onError
})
]
feat(node): Add instrumentation for hono handler (#17428)
This PR enhances the Hono integration by adding comprehensive handler instrumentation, error handling capabilities.
feat(aws): Enable Lambda extension by default when using the Lamba layer (#17684)
feat(browser): Add setActiveSpanInBrowser
to set an active span in the browser (#17714)
This PR adds a feature to the browser SDKs only: Making an inactive span active. We do this to enable use cases where having a span only being active in the callback is not practical.
0
and undefined
resource timing values (#17751)@typescript-eslint/no-unnecessary-type-assertion
rule (#17728)es2020
everywhere (#17709)Work in this release was contributed by @Karibash. Thank you for your contribution!
FAQs
Replay canvas integration
The npm package @sentry-internal/replay-canvas receives a total of 6,265,138 weekly downloads. As such, @sentry-internal/replay-canvas popularity was classified as popular.
We found that @sentry-internal/replay-canvas 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.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.