• v3.0.0 da129391f8

    v3.0.0 Stable

    tonymottaz released this 2026-04-23 02:47:30 +00:00 | 9 commits to main since this release

    Signed by tonymottaz
    GPG key ID: B6D30EE464115F5F

    Grackle v3.0.0 release notes

    Notable changes

    • The postprocess configuration is replaced by the more powerful templatingLanguages configuration, supporting custom processing pipelines for both static files and templates used by response.render()
    • Grackle now sends default Cache-Control headers in every response. Static files get a long max-age, and handlers are treated as private.

    Breaking changes

    • The postprocess config is removed. Use templatingLanguages instead.

    New features

    • You can configure custom templating languages and static file processing with templatingLanguages in your config.
    • Default Cache-Control headers are sent in every response.
      • To override the default in static files, use staticFilesCacheControl in your config
      • Handlers can use response.setHeader to override the default
    • JavaScript templates can export a const string called contentType to change the content type of the response from the default text/html

    See the bundled documentation for more details.

    Bug fixes

    • response.removeHeader and response.setHeader did not work. Now they do.

    Other

    • Dependency versions are now pinned
    • Dependencies upgraded
    Downloads