@@ -5,6 +5,46 @@ description: |
5
5
---
6
6
7
7
# Changelog
8
+ ## Unreleased
9
+ - ** Breaking changes:**
10
+ - Removed support for iterating over index and value in
11
+ [ for loops] ( $scripting/#loops ) . This is now handled via unpacking and
12
+ enumerating. Same goes for the [ ` map() ` ] ( $type/array.map ) method.
13
+ - [ Dictionaries] ( $type/dictionary ) now iterate in insertion order instead of
14
+ alphabetical order
15
+
16
+ - New features
17
+ - Added [ unpacking syntax] ( $scripting/#bindings ) for let bindings, which
18
+ allows things like ` {let (1, 2) = array} `
19
+ - Added [ ` enumerate() ` ] ( $type/array.enumerate ) method
20
+ - Added [ ` path ` ] ( $func/path ) function for drawing Bézier paths
21
+ - Added [ ` layout ` ] ( $func/layout ) function to access the size of the
22
+ surrounding page or container
23
+ - Added [ ` key ` ] parameter to [ ` sort() ` ] ( $type/array.sort ) method
24
+
25
+ - Command line interface
26
+ - Fixed ` --open ` flag blocking the program
27
+ - New Computer Modern font is now embedded into the binary
28
+ - Shell completions and man pages can now be generated by setting the
29
+ ` GEN_ARTIFACTS ` environment variable to a target directory and then building
30
+ Typst
31
+
32
+ - Miscellaneous improvements
33
+ - Added basic i18n for a few more languages
34
+ (AR, NB, CS, NN, PL, SL, ES, UA, VI)
35
+ - Added a few numbering patterns (Ihora, Chinese)
36
+ - Added ` sinc ` [ operator] ( $func/op )
37
+ - Fixed bug where math could not be hidden with [ ` hide ` ] ( $func/hide )
38
+ - Fixed sizing issues with box, block, and shapes
39
+ - Fixed some translations
40
+ - Fixed inversion of [ ` cal ` ] ( $func/cal ) and [ ` frak ` ] ( $func/frak ) R
41
+ - Fixed page numbering in outline
42
+ - Fixed some styling issues in math
43
+ - Fixed supplements of references to headings
44
+ - Fixed syntax highlighting of identifiers in certain scenarios
45
+ - [ Ratios] ( $type/ratio ) can now be multiplied with more types and be converted
46
+ to [ floats] ( $type/float ) with the [ ` float ` ] ( $func/float ) function
47
+
8
48
## April 04, 2023 (v0.1)
9
49
- ** Breaking changes:**
10
50
- When using the CLI, you now have to use subcommands:
@@ -73,7 +113,6 @@ description: |
73
113
- Fixed line number in error message for CSV parsing
74
114
- Fixed invalid autocompletion after certain markup elements
75
115
76
-
77
116
Thanks to everybody who contributed to this release!
78
117
79
118
## March 28, 2023
0 commit comments