@courtmeddaugh shared the demo on slack and below
Here's a demo of how everything is working:
You can ask me to add you to the group above on staging if you want to try it out yourself.
All these will be shipped in %18.10
I'll close this epic and the next step will be carried out in gitlab#592966
Thanks everyone
/cc @nitinsinghal74 @jeromezng @jameslopez @aish.sub @brothwell1 @courtmeddaugh @apennells @kpalchyk @rzwambag
All the MRs have been merged and deployed
Closing
It already is, we're using it like so $options.displayUserDataHelpPath
Did you mean something else?
Sheldon Led (efe0aa49) at 16 Mar 16:25
Add usage by user for paid tier trial
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| @sentry/browser (source) | dependencies | minor | 10.40.0 -> 10.43.0 |
MR created with the help of gitlab-org/frontend/renovate-gitlab-bot
v10.43.0
feat(nextjs): Add Turbopack support for React component name annotation (#β19604)
We added experimental support for React component name annotation in Turbopack builds. When enabled, JSX elements
are annotated with data-sentry-component, data-sentry-element, and data-sentry-source-file attributes at build
time. This enables searching Replays by component name, seeing component names in breadcrumbs, and performance
monitoring β previously only available with webpack builds.
This feature requires Next.js 16+ and is currently behind an experimental flag:
// next.config.ts
import { withSentryConfig } from '@​sentry/nextjs';
export default withSentryConfig(nextConfig, {
_experimental: {
turbopackReactComponentAnnotation: {
enabled: true,
ignoredComponents: ['Header', 'Footer'], // optional
},
},
});
feat(hono): Instrument middlewares app.use() (#β19611)
Hono middleware registered via app.use() is now automatically instrumented, creating spans for each middleware invocation.
tracePropagation option to http and fetch integrations (#β19712)instrumentDurableObjectStorage (#β19662)build:dev command (#β19586)Work in this release was contributed by @βdmmulroy, @βlithdew, and @βsmorimoto. Thank you for your contributions!
v10.42.0
addVitePlugin instead of deprecated vite:extendConfig (#β19464)v10.41.0
feat(core,cloudflare,deno): Add instrumentPostgresJsSql instrumentation (#β19566)
Added a new instrumentation helper for the postgres (postgres.js) library, designed for
SDKs that are not based on OpenTelemetry (e.g. Cloudflare, Deno). This wraps a postgres.js sql tagged template instance so that
all queries automatically create Sentry spans.
import postgres from 'postgres';
import * as Sentry from '@​sentry/cloudflare'; // or '@​sentry/deno'
export default Sentry.withSentry(env => ({ dsn: '__DSN__' }), {
async fetch(request, env, ctx) {
const sql = Sentry.instrumentPostgresJsSql(postgres(env.DATABASE_URL));
// All queries now create Sentry spans
const users = await sql`SELECT * FROM users WHERE id = ${userId}`;
return Response.json(users);
},
});
The instrumentation is available in @sentry/core, @sentry/cloudflare, and @sentry/deno.
feat(nextjs): Add Turbopack support for thirdPartyErrorFilterIntegration (#β19542)
We added experimental support for the thirdPartyErrorFilterIntegration with Turbopack builds.
This feature requires Next.js 16+ and is currently behind an experimental flag:
// next.config.ts
import { withSentryConfig } from '@​sentry/nextjs';
export default withSentryConfig(nextConfig, {
_experimental: {
turbopackApplicationKey: 'my-app-key',
},
});
Then configure the integration in your client instrumentation file with a matching key:
// instrumentation-client.ts
import * as Sentry from '@​sentry/nextjs';
Sentry.init({
integrations: [
Sentry.thirdPartyErrorFilterIntegration({
filterKeys: ['my-app-key'],
behaviour: 'apply-tag-if-exclusively-contains-third-party-frames',
}),
],
});
not: foreign condition in turbopack loaders (#β19502)dotagents (#β19526)AGENTS.md for browser (#β19551)AGENTS.md for nextjs (#β19556)AGENTS.md (#β19521)Work in this release was contributed by @βYevheniiKotyrlo. Thank you for your contribution!
This MR has been generated by Renovate Bot.