
Research
/Security News
60 Malicious Ruby Gems Used in Targeted Credential Theft Campaign
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
@sentry/sveltekit
Advanced tools
The minimum supported version of SvelteKit is 2.0.0
. The SDK works best with Vite 4.2 and newer. Older Vite versions
might not generate source maps correctly.
Check our docs for SvelteKit adapter compatibility.
This package is a wrapper around @sentry/node
for the server and @sentry/svelte
for the client side, with added
functionality related to SvelteKit.
To get started installing the SDK, use the Sentry Next.js Wizard by running the following command in your terminal or read the Getting Started Docs:
npx @sentry/wizard@latest -i sveltekit
The wizard will guide you throuhg logging in to Sentry and setting up the SDK. After the wizard setup is completed, the SDK will automatically capture unhandled errors, and optionally, traces and replays.
10.2.0
ignoreSpans
option (#17078)This release adds a new top-level Sentry.init
option, ignoreSpans
, that can be used as follows:
Sentry.init({
ignoreSpans: [
'partial match', // string matching on the span name
/regex/, // regex matching on the span name
{
name: 'span name',
op: /http.client/,
},
],
});
Spans matching the filter criteria will not be recorded. Potential child spans of filtered spans will be re-parented, if possible.
Adds support for OpenAI manual instrumentation in @sentry/cloudflare
and @sentry/vercel-edge
.
To instrument the OpenAI client, wrap it with Sentry.instrumentOpenAiClient
and set recording settings.
import * as Sentry from '@sentry/cloudflare';
import OpenAI from 'openai';
const openai = new OpenAI();
const client = Sentry.instrumentOpenAiClient(openai, { recordInputs: true, recordOutputs: true });
// use the wrapped client
The startTrace
option is deprecated and will be removed in a future major version. If you want to disable tracing, set SENTRY_TRACES_SAMPLE_RATE
to 0.0
. instead. As of today, the flag does not affect traces anymore.
gen_ai.invoke_agent
spans from child LLM calls (#17281)sentry.origin
span attribute to SentryTraced
decorator (#17318)openai
to the instrumented fn (#17320)sendBufferedReplayOrFlush
when opening/sending feedback (#17236)FAQs
Official Sentry SDK for SvelteKit
The npm package @sentry/sveltekit receives a total of 41,553 weekly downloads. As such, @sentry/sveltekit popularity was classified as popular.
We found that @sentry/sveltekit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 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.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.