Important Next.js SDK changes:
This release adds support Vercel Cron Jobs in the Next.js SDK.
The SDK will automatically create Sentry Cron Monitors for your Vercel Cron Jobs configured via vercel.json
when deployed on Vercel.
You can opt out of this functionality by setting the automaticVercelMonitors
option to false
:
// next.config.js
const nextConfig = {
sentry: {
automaticVercelMonitors: false,
},
};
(Note: Sentry Cron Monitoring is currently in beta and subject to change. Help us make it better by letting us know what you think. Respond on GitHub or write to us at crons-feedback@sentry.io)
- feat(nextjs): Add API method to wrap API routes with crons instrumentation (#8084)
- feat(nextjs): Add automatic monitors for Vercel Cron Jobs (#8088)
Other changes
- feat(replay): Capture keyboard presses for special characters (#8051)
- fix(build): Don't mangle away global debug ID map (#8096)
- fix(core): Return checkin id from client (#8116)
- fix(core): Use last error for
ignoreErrors
check (#8089) - fix(docs): Change to
addTracingExtensions
was not documented in MIGRATION.md (#8101) - fix(replay): Check relative URLs correctly (#8024)
- fix(tracing-internal): Avoid classifying protocol-relative URLs as same-origin urls (#8114)
- ref: Hoist
createCheckinEnvelope
to core package (#8082)
Bundle size 📦
Path | Size |
---|---|
@sentry/browser - ES5 CDN Bundle (gzipped + minified) | 21.03 KB |
@sentry/browser - ES5 CDN Bundle (minified) | 65.63 KB |
@sentry/browser - ES6 CDN Bundle (gzipped + minified) | 19.57 KB |
@sentry/browser - ES6 CDN Bundle (minified) | 58.09 KB |
@sentry/browser - Webpack (gzipped + minified) | 21.17 KB |
@sentry/browser - Webpack (minified) | 69.04 KB |
@sentry/react - Webpack (gzipped + minified) | 21.19 KB |
@sentry/nextjs Client - Webpack (gzipped + minified) | 49.12 KB |
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 28.65 KB |
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 26.89 KB |
@sentry/replay ES6 CDN Bundle (gzipped + minified) | 47.7 KB |
@sentry/replay - Webpack (gzipped + minified) | 41.57 KB |
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 66.6 KB |
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 59.48 KB |