docs/changelog/0.8.0.md
int] and [str]{type(10) == int} instead of the old
{type(10) == "integer"}. Compatibility with the
old way will remain for a while to give package authors time to upgrade, but
it will be removed at some point.{"hello".len()} is equivalent to {str.len("hello")}import renaming with asduration] typejson.decode, json.encode, and similar
functions for other formatsarray.intersperse functionstr.rev functioncalc.tau constantarray.zip function variadiceval] when the mode was set to {"math"}ends-with function on stringsrgba becomes to-rgba, cmyk becomes
to-cmyk, and luma becomes to-luma (Breaking change)highlight] function for highlighting text with a background colorpolygon.regular function for drawing a regular
polygonraw] elements alongside
tab-width parameternumber-align argument on
page function (Breaking change)| and || as
there were too many false positives. You can use functions like
abs or norm or an explicit lr
call instead. (Breaking change)typst update command for self-updating the CLI
(thanks to @jimvdl)--format argument to explicitly specify the output format--cert option for setting a custom CA certificate--one is passed to typst queryfigure.caption function that can be used for
simpler figure customization (Breaking change because it.caption now
renders the full caption with supplement in figure show rules and manual
outlines)caption-pos argument to figure.caption function and renamed it to
position (Breaking change)separator argument to figure.caption
function[#let] expressions in markup (Breaking change)Span and FileId more type-safe so that all error conditions must be
handled by World implementors