Skip to content

v0.3.2

Latest

Choose a tag to compare

@chad-hill chad-hill released this 09 Jun 22:23

Release Notes

0.3.2

A dependency-refresh release: every package, template, and example moves to the latest of its dependencies and all version pins are dropped (caret ranges throughout), plus a home-page rendering fix for the template and a full docs pass.

Dependencies

  • Everything to latest, pins removed. TypeScript 5.8 → 6.0, Payload 3.79 → 3.85 (payload + all @payloadcms/*), Next.js → 16.2.7, React / React DOM → 19.2.7, svgo 3 → 4, shiki 3 → 4, ora 8 → 9, @vercel/analytics 1 → 2, mongodb-memory-server 10 → 11, @mux/mux-video-react 0.25 → 0.31, sharp 0.32 → 0.34, Biome 2.4.16. Every exact pin is now a caret range.
  • @base-ui-components/react@base-ui/react (^1.5.0). The upstream package was deprecated and renamed; the plugins and template are migrated for you. If your own code imports it directly, switch the specifier.
  • Removed the react / react-dom / next overrides from pnpm-workspace.yaml — caret ranges converge on a single resolved version on their own.

Fixes

  • Home page (/) no longer renders blank in production. It was the only frontend route rendered dynamically (excluded from static generation), so the published path returned nothing. The home now prerenders as static HTML like every other page, via an optional catch-all route.
  • TypeScript 6 build breaks. Removed the deprecated baseUrl from the app tsconfigs and declared the @payloadcms/next/css side-effect import.
  • svgo 4. Updated icon SVG sanitization for the renamed removeScripts plugin.
  • @pro-laico/styles now declares its server-only peer — it imports server-only but previously resolved it only via lockfile hoisting.

Added

  • createTestPathField(pagesSlug?) is now exported from @pro-laico/core — the factory behind TestPathField, for binding the live-preview test-path field to a non-default pages collection slug.
  • Generated-artifact drift guard. A test:generated step fails the test run if the committed importMap.js / payload-types.ts drift from what the generators produce.

Docs

  • Plugin setup guides reworked. Each plugin page now notes that @pro-laico/core ships bundled (a dependency, not a separate install) and links to its Setup, with the registerPayloadConfig instrumentation wiring called out where cached reads need it.
  • Full accuracy pass. Corrected peer lists (the @base-ui rename, a missing server-only peer), fixed the @pro-laico/seed page's incorrect "runs in a transaction" claim, switched the fonts guide to the published atomic-fonts-download CLI, and documented ShortcutSet and createTestPathField.

Upgrading

  • Run pnpm install.
  • Clear .next once — the template's home route directory was renamed ((frontend)/[...slug][[...slug]]) and a stale .next references the old path.

What's Changed

Full Changelog: v0.3.1...v0.3.2