New bibliography engine based on CSL (Citation Style Language). Ships with about 100 commonly used citation styles and can load custom .csl files.
Added new form argument to the cite function to produce different forms of citations (e.g. for producing a citation suitable for inclusion in prose)
The cite function now takes only a single label/key instead of allowing multiple. Adjacent citations are merged and formatted according to the citation style's rules automatically. This works both with the reference syntax and explicit calls to the cite function. (Breaking change)
The cite function now takes a label instead of a string (Breaking change)
Added full argument to bibliography function to print the full bibliography even if not all works were cited
Bibliography entries can now contain Typst equations (wrapped in $..$ just like in markup), this works both for .yml and .bib bibliographies
The hayagriva YAML format was improved. See its changelog for more details. (Breaking change)
A few bugs with .bib file parsing were fixed
Removed brackets argument of cite function in favor of form
Added tooltip that shows which variables a function captures (when hovering over the equals sign or arrow of the function)
Diagnostics are now deduplicated
Improved diagnostics when trying to apply unary + or - to types that only support binary + and -
Error messages now state which label or citation key isn't present in the document or its bibliography
Fixed a bug where function argument parsing errors were shadowed by function execution errors (e.g. when trying to call array.sorted and passing the key function as a positional argument instead of a named one).
Export
Added support for configuring the document's creation date. If the date is set to auto (the default), the PDF's creation date will be set to the current date and time.
The PDF creator tool metadata now includes the Typst version
Web app
Added version picker to pin a project to an older compiler version (with support for Typst 0.6.0+)
Fixed desyncs between editor and compiler and improved overall stability
The app now continues to highlight the document when typing while the document is being compiled
Command line interface
Added support for discovering fonts through fontconfig
Now clears the screen instead of resetting the terminal
Now automatically picks correct file extension for selected output format
Now only regenerates images for changed pages when using typst watch with PNG or SVG export
Miscellaneous Improvements
Added version type and sys.version constant specifying the current compiler version. Can be used to gracefully support multiple versions.
The U+2212 MINUS SIGN is now used when displaying a numeric value, in the repr of any numeric value and to replace a normal hyphen in text mode when before a digit. This improves, in particular, how negative integer values are displayed in math mode.
Added support for specifying a default value instead of failing for remove function in array and dictionary
Simplified page setup guide examples
Switched the documentation from using the word "hashtag" to the word "hash" where appropriate
Added support for array.zip without any further arguments
Fixed crash when a plugin tried to read out of bounds memory