mirror of
https://github.com/typst/typst
synced 2025-05-15 01:25:28 +08:00
Update changelog
This commit is contained in:
parent
12be8fe070
commit
2cfbf3e823
@ -5,6 +5,46 @@ description: |
|
|||||||
---
|
---
|
||||||
|
|
||||||
# Changelog
|
# Changelog
|
||||||
|
## Unreleased
|
||||||
|
- **Breaking changes:**
|
||||||
|
- Removed support for iterating over index and value in
|
||||||
|
[for loops]($scripting/#loops). This is now handled via unpacking and
|
||||||
|
enumerating. Same goes for the [`map()`]($type/array.map) method.
|
||||||
|
- [Dictionaries]($type/dictionary) now iterate in insertion order instead of
|
||||||
|
alphabetical order
|
||||||
|
|
||||||
|
- New features
|
||||||
|
- Added [unpacking syntax]($scripting/#bindings) for let bindings, which
|
||||||
|
allows things like `{let (1, 2) = array}`
|
||||||
|
- Added [`enumerate()`]($type/array.enumerate) method
|
||||||
|
- Added [`path`]($func/path) function for drawing Bézier paths
|
||||||
|
- Added [`layout`]($func/layout) function to access the size of the
|
||||||
|
surrounding page or container
|
||||||
|
- Added [`key`] parameter to [`sort()`]($type/array.sort) method
|
||||||
|
|
||||||
|
- 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
|
||||||
|
|
||||||
|
- Miscellaneous improvements
|
||||||
|
- 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]($func/op)
|
||||||
|
- Fixed bug where math could not be hidden with [`hide`]($func/hide)
|
||||||
|
- Fixed sizing issues with box, block, and shapes
|
||||||
|
- Fixed some translations
|
||||||
|
- Fixed inversion of [`cal`]($func/cal) and [`frak`]($func/frak) R
|
||||||
|
- Fixed page numbering in outline
|
||||||
|
- Fixed some styling issues in math
|
||||||
|
- Fixed supplements of references to headings
|
||||||
|
- Fixed syntax highlighting of identifiers in certain scenarios
|
||||||
|
- [Ratios]($type/ratio) can now be multiplied with more types and be converted
|
||||||
|
to [floats]($type/float) with the [`float`]($func/float) function
|
||||||
|
|
||||||
## April 04, 2023 (v0.1)
|
## April 04, 2023 (v0.1)
|
||||||
- **Breaking changes:**
|
- **Breaking changes:**
|
||||||
- When using the CLI, you now have to use subcommands:
|
- When using the CLI, you now have to use subcommands:
|
||||||
@ -73,7 +113,6 @@ description: |
|
|||||||
- Fixed line number in error message for CSV parsing
|
- Fixed line number in error message for CSV parsing
|
||||||
- Fixed invalid autocompletion after certain markup elements
|
- Fixed invalid autocompletion after certain markup elements
|
||||||
|
|
||||||
|
|
||||||
Thanks to everybody who contributed to this release!
|
Thanks to everybody who contributed to this release!
|
||||||
|
|
||||||
## March 28, 2023
|
## March 28, 2023
|
||||||
|
Loading…
x
Reference in New Issue
Block a user