Skip to content

v3.0.5

Choose a tag to compare

@glennib glennib released this 09 Oct 12:37
· 85 commits to main since this release

Important

This release failed to publish binaries. The problems are fixed in later releases, so you should target those if you want a pre-built binary.

Stack comments are now rendered with minijinja 3.
The built-in template renders exactly as before,
but a custom --template-path template may not, because minijinja 3 brings several operators and filters closer to Jinja2:

  • printing a whole object ({{ entry }}, {{ stack }}) uses Python-style single quotes;
  • tojson puts a space after commas and colons;
  • title only starts a word after whitespace or one of -([{<, so "don't" | title is Don't, not Don'T;
  • booleans count as numbers, round rounds half to even, // and % floor like Python,
    and division by zero is an error.

The full list is in minijinja's 3.0.0 changelog.
docs/stability.md now lists the template language as not stable:
it follows the minijinja version stakk is built with, so a release that updates minijinja may change how a template renders.
The render context stays under the contract.

Fixed

  • (deps) update minijinja to v3

Other

  • (deps) update rust crate toml to v1.1.8 (#325)
  • (deps) update dependency uv to v0.12.24 (#324)