lezi-fun
6d41c6208c
feat: upgrade Next.js 16 + React 19, R2 binding storage, adaptive build
- Next.js 14 → 16.3.0, React 18 → 19.2.8
- Route handlers: async params (await params) for Next 15+ — 17 files
- Fix destructuring params pattern (const {id} = await params) in
users/[id] and users/[id]/role
- storage.js: prefer Cloudflare R2 binding (FORUMLIFY_BUCKET, no S3
keys) on Workers; fallback S3-compatible API (Vercel/local)
- wrangler.jsonc: add FORUMLIFY_BUCKET binding to forum bucket
- scripts/build.js: adaptive build (CF env → OpenNext, else next build);
fix recursion via NEXT_PRIVATE_STANDALONE detection
- 40/40 tests pass on Next 16
2026-08-11 09:45:56 +08:00
148 Commits
..
2026-08-11 09:45:56 +08:00
2026-08-10 14:45:50 +08:00
2026-08-11 09:45:56 +08:00
2026-08-10 12:32:06 +08:00
2026-08-11 09:45:56 +08:00
2026-08-10 11:02:11 +08:00
2026-08-11 09:45:56 +08:00
2026-08-11 09:45:56 +08:00
2026-08-11 09:45:56 +08:00
2026-08-11 09:45:56 +08:00
2026-08-11 09:45:56 +08:00
2026-08-11 09:45:56 +08:00
2026-08-10 17:05:23 +08:00
2026-08-09 17:02:11 +08:00
2026-08-10 09:55:18 +08:00
2026-08-11 09:45:56 +08:00
2026-08-11 09:45:56 +08:00