-
v2.0.0 Stable
released this
2026-04-15 16:01:00 +00:00 | 31 commits to main since this releaseMajor updates
- Simplification of file naming conventions
- Better HMR
- Switch Markdown rendering to markdown-it
- View bundled documentation with
grackle docscommand
Breaking changes
- Handlers can only use a single template file now, and the template file name must be
_template.<ext>where<ext>is a supported template file extension. There is no more content negotiation -- it must render HTML only. To render other content types, do it manually in your handler:response.send(200, yourContent, yourContentType). - No more concept of "static templates" using the
$file name prefix. Instead, static files may go through a postprocessing pipeline to be transformed. Currently, there are two built-in pipelines for Vento and Markdown files. In the future you can configure more. NODE_ENVis no longer used to enable HMR. Instead, use the new--dev-hmrCLI option.
New features
- Markdown: GitHub alert syntax supported (bring your own CSS)
- Markdown: Syntax highlighting supported (bring your own CSS)
- CLI: new
docscommand to serve bundled documentation - CLI: new
--dev-hmroption on theservercommand to enable HMR - Static file route matching includes the filename
Fixes
- HMR works better now
- Route matching prioritization is more correct
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads