Releases: Wroud/foundation
Releases · Wroud/foundation
Release list
@wroud/vite-plugin-ssg@7.4.0
✨ Features
- implement flight navigation with prefetching capabilities and associated tests (01ede41)
@wroud/vite-plugin-ssg@7.3.0
✨ Features
- add support for resolving entry from node_modules and update related tests (9caf11b)
@wroud/vite-plugin-ssg@7.2.0
✨ Features
- add hot module replacement (HMR) support for server components (446a2b4)
@wroud/vite-plugin-ssg@7.1.0
✨ Features
- add hash-based Content Security Policy (CSP) support (aa22d47)
@wroud/di@0.20.1
🩹 Fixes
- module duplication (4db230b)
@wroud/di-react@0.6.1
🩹 Fixes
- module duplication (4db230b)
@wroud/vite-plugin-ssg@7.0.0
⚠️ Breaking Changes
- rebuild SSG on @vitejs/plugin-rsc (a2a6857)
- Replace the bespoke SSG pipeline (virtual HTML entries, query-based
module resolution, manual tag injection) with a renderer built on
@vitejs/plugin-rsc. The app entry is now plain client React, SSR'd and
hydrated, with React Server Components as an opt-in second entry.
- Entry discovery is convention-based:*.entry.tsx(client) and
optional*.entry.rsc.tsx(react-server), auto-discovered underroot
or set via the newentry/rscEntryoptions. NorollupOptions.input.
- AddcreateRscConfig/RscInstance/toRscInstance,toAppInstance,
and theonAppStart/onRoutesPrerender/onAppStoplifecycle for
both app and rsc entries; routes drive prerender output.
- New options:entry,rscEntry,react(inject @vitejs/plugin-react),
prerender(false for pure-SSR runtime);renderTimeoutnow bounds only
the build render.
- Opt-in streaming client navigation vianavigate()and per-route.rsc
flight payloads;"use server"actions dispatched at request time.
- CSP nonce propagation across bootstrap/flight scripts, meta, and
Link/Scriptcomponents.
- Swap deps: drop @wroud/vite-plugin-asset-resolver, change-case,
magic-string, style-to-object; add @vitejs/plugin-rsc,
@vitejs/plugin-react, rsc-html-stream. - The entry contract and module API are replaced.
- Replace the bespoke SSG pipeline (virtual HTML entries, query-based