Skip to content

Release#476

Merged
Shramkoweb merged 6 commits into
mainfrom
develop
Mar 28, 2026
Merged

Release#476
Shramkoweb merged 6 commits into
mainfrom
develop

Conversation

@Shramkoweb

Copy link
Copy Markdown
Owner

No description provided.

Shramkoweb and others added 6 commits March 28, 2026 14:05
* 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
# Conflicts:
#	next.config.js
@vercel

vercel Bot commented Mar 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
portfolio Building Building Preview Mar 28, 2026 7:23pm

@coderabbitai

coderabbitai Bot commented Mar 28, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 21ae63cb-17cd-4c76-b3cc-6ca434e4ce59

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch develop

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Shramkoweb
Shramkoweb merged commit 54c134a into main Mar 28, 2026
11 checks passed
@Shramkoweb
Shramkoweb deleted the develop branch March 28, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant