Version 0.2.0 (April 11, 2023)
-
Breaking changes:
- Removed support for iterating over index and value in for loops. This is now handled via unpacking and enumerating. Same goes for the
map()
method. - Dictionaries now iterate in insertion order instead of alphabetical order.
- Removed support for iterating over index and value in for loops. This is now handled via unpacking and enumerating. Same goes for the
-
New features
- Added unpacking syntax for let bindings, which allows things like
let (1, 2) = array
- Added
enumerate()
method - Added
path
function for drawing Bézier paths - Added
layout
function to access the size of the surrounding page or container - Added
key
parameter tosorted()
method
- Added unpacking syntax for let bindings, which allows things like
-
Command line interface
- Fixed
--open
flag blocking the program - New Computer Modern font is now embedded into the binary
- Shell completions and man pages can now be generated by setting the
GEN_ARTIFACTS
environment variable to a target directory and then building Typst
- Fixed
-
Miscellaneous improvements
- Fixed page numbering in outline
- Added basic i18n for a few more languages (AR, NB, CS, NN, PL, SL, ES, UA, VI)
- Added a few numbering patterns (Ihora, Chinese)
- Added
sinc
operator - Fixed bug where math could not be hidden with
hide
- Fixed sizing issues with box, block, and shapes
- Fixed some translations
- Fixed inversion of "R" in
cal
andfrak
styles - Fixed some styling issues in math
- Fixed supplements of references to headings
- Fixed syntax highlighting of identifiers in certain scenarios
- Ratios can now be multiplied with more types and be converted to floats with the
float
function
Thanks to everyone who contributed to this release: @Marmare314, @dccsillag, @Dherse, @EpicEricEE, @Leedehai, @G1gg1L3s, @PgBiel, @RLangendam, @Raphael-CV, @SekoiaTree, @SteamedFish, @adamijak, @asayers, @asibahi, @astrale-sharp, @classabbyamp, @cmoog, @felipeacsi, @figsoda, @ichxorya, @jakobrs, @michidk, @radimsuckr, @rqy2002, @s-zymon, @tbethe, @teenjuna, @viddrobnic.