Release (#473)#474
Conversation
* Fix/sentry (#469) * fix: handle unhandled fetch rejections on view counter calls and filter Google Translate proxy errors in Sentry * fix: harden CSP and security headers - Replace connect-src wildcard with explicit allowlist to prevent data exfiltration - Remove unsafe-eval from production script-src (keep for dev HMR only) - Add missing directives: object-src, base-uri, form-action, frame-ancestors, upgrade-insecure-requests - Add google-analytics.com to script-src and img-src for GTM chain-loading and tracking pixels - Drop data: from worker-src to prevent code execution bypass - Set X-XSS-Protection to 0 per OWASP recommendation - Upgrade Referrer-Policy to strict-origin-when-cross-origin - Add Permissions-Policy header to disable unused browser APIs * fix: move commitlint from pre-commit to commit-msg hook The hook was in pre-commit where the commit message doesn't exist yet, causing commitlint to validate previous commits instead of the current one. Also fix argument from $2 to $1 as commit-msg receives the message file path as the first argument. * fix: restore unsafe-eval in CSP for production runtime A bundled dependency uses new Function() during useMemo in blog post rendering, causing EvalError on Vercel preview deployments. * chore: bump prisma, sentry, and pnpm versions * chore: regenerate sitemap * fix: remove deprecated Sentry build options for v10 + Turbopack (#471) * chore: approve pnpm 10 build scripts for native dependencies (#472)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (9)
📝 WalkthroughWalkthroughThis PR updates git hooks configuration to enforce commitlint via commit-msg instead of pre-commit, strengthens Next.js security policies (CSP headers and Sentry denials), bumps dependency versions (Prisma, Sentry, pnpm), adds error handling to view-tracking fetch calls, and regenerates the sitemap with updated timestamps and new URL entries. Changes
Possibly Related PRs
Estimated Code Review Effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Fix/sentry (Fix/sentry #469)
fix: handle unhandled fetch rejections on view counter calls and filter Google Translate proxy errors in Sentry
fix: harden CSP and security headers
The hook was in pre-commit where the commit message doesn't exist yet, causing commitlint to validate previous commits instead of the current one. Also fix argument from $2 to $1 as commit-msg receives the message file path as the first argument.
A bundled dependency uses new Function() during useMemo in blog post rendering, causing EvalError on Vercel preview deployments.
chore: bump prisma, sentry, and pnpm versions
chore: regenerate sitemap
fix: remove deprecated Sentry build options for v10 + Turbopack (fix: remove deprecated Sentry build options for v10 + Turbopack #471)
chore: approve pnpm 10 build scripts for native dependencies (chore: approve pnpm 10 build scripts for native dependencies #472)
Summary by CodeRabbit
New Features
Bug Fixes
Security