Skip to content

Suprnova v0.7.2

Choose a tag to compare

@eas4ai eas4ai released this 28 Jul 15:47
· 222 commits to main since this release

Fixed

  • generate-types resolves nested prop structs without derives. 0.7.1's
    generator degraded any prop field whose type didn't derive
    InertiaProps/Data to unknown — so re-running the generator (or the
    suprnova serve watcher) over a project with a committed types file
    replaced real interfaces like Array<AdminArticleRow> with unknown and
    broke type-checking across the app. Plain structs defined anywhere in
    src/ now resolve to their real interfaces, transitively from the prop
    roots; unknown (with a warning) is reserved for types the project
    genuinely doesn't define — external crate types, enums, tuple structs.

Changed

  • routes.ts generation is opt-in. generate-types no longer drops
    frontend/src/types/routes.ts into every project unasked; pass
    --routes to generate it.

  • Frontend starter dependencies refreshed. New scaffolds from
    suprnova new now pin current versions: Vite ^8.1.5, Tailwind CSS ^4.3.3,
    Svelte ^5.56.8 (vite-plugin-svelte ^7.2.0, svelte-check ^4.7.4),
    React ^19.2.8 (plugin-react ^6.0.4), Vue ^3.5.40 (plugin-vue ^6.0.8,
    vue-tsc ^3.3.8), and @types/node ^24 (the Node 24 LTS types line).
    TypeScript stays at ^6.0.3 deliberately: it is the latest 6.x, and
    svelte-check's peer range (^5 || ^6) does not yet admit TypeScript 7.
    All three starters were verified end to end (npm install +
    npm run build) against the refreshed set.