Skip to content

feat(website): update deps, improve caching#211

Merged
david-on-github merged 2 commits into
mainfrom
david/website-deps
May 13, 2026
Merged

feat(website): update deps, improve caching#211
david-on-github merged 2 commits into
mainfrom
david/website-deps

Conversation

@david-on-github
Copy link
Copy Markdown
Collaborator

Migration from next 15->16
Switch from webpack to turbopack for builds
Restore caching on pages by scoping the WagmiProvider to the chain pages. (This was previously making all pages dynamic being in the root layout)
Removes some workarounds that were fixed in latest versions (eg. middleware image fix).
Dependency updates across the website app alongside a handful of Cloudflare Workers fixes, caching improvements, and minor feature work.
Replaces prism-react-renderer with shiki — prism-react-renderer is client-only and caused issues during the Next.js migration.

Changes

  • Bump payloadcms 3.76→3.84, next 15.4→16.2.6, wrangler 4.83→4.90, react 19.2.3→19.2.6, tailwindcss/postcss 4.1→4.3, @opennextjs/cloudflare 1.19.2→1.19.9
  • Stub drizzle-kit/api to keep worker bundle under 10MB limit
  • Add preview_bucket_name to fix R2 binding in local dev
  • Set cpus: 1 to avoid SQLite lock during build
  • Add Cloudflare-compatible Payload logger
  • Fix upvote count stale cache on back navigation
  • Scope Providers to chains layout to improve Next.js caching on non-dynamic pages
  • Remove logo carousel

Steps to Test

  1. Pull branch locally
  2. Run the app or service

Checklist

  • Code compiles / runs
  • Tests added / updated
  • Documentation updated if needed
  • PR is self-contained and focused
  • Code does not break any existing features
  • Code passes personal internal testing

Notes

  - Bump payloadcms 3.76→3.84, next 15.4→16.2.6, wrangler 4.83→4.90, react 19.2.3→19.2.6, tailwindcss/postcss 4.1→4.3, @opennextjs/cloudflare 1.19.2→1.19.9
  - Stub drizzle-kit/api to keep worker bundle under 10MB limit
  - Add preview_bucket_name to fix R2 binding in local dev
  - Set cpus: 1 to avoid SQLite lock during build
  - Add Cloudflare-compatible Payload logger
  - Fix upvote count stale cache on back navigation
  - Scope Providers to chains layout to improve Next.js caching on non-dynamic pages
  - Remove logo carousel
@david-on-github david-on-github requested a review from VanishMax May 13, 2026 16:46
Copy link
Copy Markdown
Collaborator

@VanishMax VanishMax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice changes!

- apparently these files need to be at the same level as layout where metadata base is defined for it to resolve
@david-on-github david-on-github merged commit 40a6cbc into main May 13, 2026
1 check passed
@david-on-github david-on-github deleted the david/website-deps branch May 13, 2026 18:04
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.

2 participants