Releases: kamansoft/vite-plugin-flatwave-react
Releases · kamansoft/vite-plugin-flatwave-react
v2.2.0
v2.1.0
v2.0.1
v2.0.0
2.0.0 (2026-06-20)
BREAKING CHANGES
- replaces empty-shell SSG with fully-rendered HTML
pipeline. All public routes now emit compiled Markdown + React component
HTML at build time instead of empty shells.
Changes:
- New src/ssg/ module: RenderStrategy (interface),
DefaultRenderStrategy, RenderPipeline, RenderContext, RenderHooks,
SsgOptions, TemplateOverrides - RenderStrategy interface allows full pipeline replacement
(DefaultRenderStrategy renders React via renderToString with compiled
Markdown props) - Hook pipeline with five phases: beforeRender, transformMarkdown,
transformHtml, afterRender, onError — all typed, ordered, async, with
error recovery - Template system with built-in index.html.ejs + filesystem override
convention (flatwave-templates/ at project root) - Markdown compiler (unified/remark/rehype) extracted to
src/content/markdownCompiler.ts with compileMarkdownToHtml(markdown,
options?) for reuse - Plugin option ssg: { enabled, strategy?, hooks?, template?,
compileMarkdown? } with sensible defaults - Example app demonstrates transformMarkdown + transformHtml hooks
- Output HTML now contains: compiled Markdown inside ,
SEO tags, analytics beacon injected via transformHtml hook - Removed dead code: empty src/ssg/ dir, inline
renderRouteHtml/renderSitemap/ renderRobotsTxt from index.ts, unused
ContentMarkdownCompilerOptions alias, unused RenderStrategy.ts file - Fixed production bugs: nested in error fallbacks,
double markdown compilation, transformHtml running on component output
instead of final document, component-not-found swallowing all content
(now graceful fallback to compiled markdown) - Version bumped to 1.0.0 (was 0.1.0)
- All 82 OpenSpec tasks complete; npm run validate passes (format, lint,
type-check, build, 11 tests)
v1.0.0
1.0.0 (2026-06-17)
⚠ BREAKING CHANGES
- automation: basic scaffolding for linting formating and pipelines
- automation: basic scaffolding for linting formating and pipelines
Features
- automation: basic scaffolding for linting formating and pipelines (81f8716)
- automation: basic scaffolding for linting formating and pipelines (81f8716)
- plugin: ship Flatwave React content plugin and npm release workflow (f37a8b5)
Bug Fixes
- publish: ci for publishing version (d38dc02)