Skip to content

v1.3.3

Choose a tag to compare

@casoon casoon released this 26 Sep 09:47
· 21 commits to master since this release
b5f5efe

Added

  • Unit tests for the shared utilities (pnpm test:unit, Node's built-in test runner), also run in CI.

Fixed

  • shared was never type-checked (no type-check script), so missing Node types in shared/src/config/astro.ts went unnoticed. shared now runs tsc --noEmit as part of pnpm type-check, with @types/node as a dev dependency.

Changed

  • Translation keys are typed: de.ts must match the keys of en.ts, and t(locale) only accepts known keys — missing or misspelled keys fail astro check instead of rendering the key name.
  • The blog build fails when a published post is missing in a locale (the sitemap would otherwise advertise hreflang alternates that 404).
  • Sessions are disabled (session: false); the unused SESSION KV binding and SessionData type are removed.
  • JSON-LD now fills the recommended fields (Organization logo/contact/address/sameAs, WebPage dates/author/image, BlogPosting publisher logo) from a demo profile in shared/src/config/site.ts (example.com, 555-01xx) plus a logo.svg per app — no more structured-data warnings in the build.
  • Starter hero subtitle uses text-balance (no orphaned last word).
  • README deploy checklist: add rate limiting or Turnstile once the contact form actually sends mail.

Live demos: Starter · Blog