-
v3.0.0 Stable
released this
2026-04-23 02:47:30 +00:00 | 9 commits to main since this releaseGrackle v3.0.0 release notes
Notable changes
- The
postprocessconfiguration is replaced by the more powerfultemplatingLanguagesconfiguration, supporting custom processing pipelines for both static files and templates used byresponse.render() - Grackle now sends default Cache-Control headers in every response. Static files get a long
max-age, and handlers are treated asprivate.
Breaking changes
- The
postprocessconfig is removed. UsetemplatingLanguagesinstead.
New features
- You can configure custom templating languages and static file processing with
templatingLanguagesin your config. - Default Cache-Control headers are sent in every response.
- To override the default in static files, use
staticFilesCacheControlin your config - Handlers can use
response.setHeaderto override the default
- To override the default in static files, use
- JavaScript templates can export a const string called
contentTypeto change the content type of the response from the defaulttext/html
See the bundled documentation for more details.
Bug fixes
response.removeHeaderandresponse.setHeaderdid not work. Now they do.
Other
- Dependency versions are now pinned
- Dependencies upgraded
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
1 download
- The