Skip to content

typstgen 0.2.0

Choose a tag to compare

@casoon casoon released this 24 Sep 10:00
· 98 commits to master since this release
73d0131

Breaking

  • Config::resolve_template_path and Error::TemplatePathNotFound are removed; use
    Config::template_roots, which returns every existing template directory.
  • Minimum supported Rust version is now 1.92 (required by Typst 0.15).

Added

  • compile_with_warnings returns the PDF together with Typst's warnings; the CLI prints them to
    stderr.
  • Errors and warnings name the file, line and column.

Changed

  • Typst 0.15 (was 0.13).
  • Template directories are optional: documents without imports compile without any.
  • Every existing entry of template_paths is searched per import, in order, instead of only the
    first existing one. Entries that are not directories are skipped.
  • Fonts found on disk are loaded only when a document uses them, and each face of a font
    collection is registered once.

Fixed

  • datetime.today() returns a date instead of a date and time, and honours offset.

Security

  • quick-xml 0.38 (RUSTSEC-2026-0194, RUSTSEC-2026-0195) is still pulled in through Typst's
    bibliography support; no fixed version is available yet. Do not compile untrusted documents.