Skip to content

v0.3.1

Choose a tag to compare

@chad-hill chad-hill released this 09 Jun 18:37
· 10 commits to main since this release

0.3.1

Fixes

  • Seeding a fresh MongoDB now works. The atomic-payload template sets transactionOptions: false — a fresh database's first write implicitly creates its collection, which MongoDB refuses inside a transaction. Also lets the app run against a standalone (non–replica-set) local Mongo.
  • @pro-laico/core is safe outside a Next request. revalidateTag and withCache now swallow the "static generation store / incrementalCache missing" invariants and fall back to an uncached fetch, so seeding (and other non-request contexts) no longer crash.
  • @pro-laico/seed icon seeding. Icons upload sequentially instead of in parallel — parallel uploads shared one request and all collided on the unique filename. Also fixed the cookie seed icon, which duplicated the logo's filename.
  • create-atomic-payload published scaffolds — pnpm build allowlist + the fonts CLI bin.
  • next-env.d.ts is gitignored so builds don't churn the tree.

Internal

  • New monorepo test harness (Turbo + Vitest + Payload integration): a Mongo-backed full-template seed suite (mongodb-memory-server replica set), per-example seed tests (fonts/icons/styles), and a create-atomic-payload scaffold test harness — all wired into pnpm test.

What's Changed

Full Changelog: v0.3.0...v0.3.1