Update changelog

This commit is contained in:
Laurenz 2023-04-05 00:15:54 +02:00
parent e13c72b301
commit 72c7c04a9d

View File

@ -6,84 +6,115 @@ description: |
# Changelog # Changelog
## Unreleased ## Unreleased
- **Breaking:** When using the CLI, you now have to use subcommands: - **Breaking changes:**
- `typst compile file.typ` or `typst c file.typ` to create a PDF - When using the CLI, you now have to use subcommands:
- `typst watch file.typ` or `typst w file.typ` to compile and watch - `typst compile file.typ` or `typst c file.typ` to create a PDF
- `typst fonts` to list all fonts - `typst watch file.typ` or `typst w file.typ` to compile and watch
- **Breaking:** Manual counters now start at zero. Read the "How to step" - `typst fonts` to list all fonts
section [here]($func/counter) for more details - Manual counters now start at zero. Read the "How to step" section
- **Breaking:** Renamed the `{"author-date"}` and `{"author-title"}` [here]($func/counter) for more details
[bibliography styles]($func/bibliography.style) to `{"chicago-author-date"}` - The [bibliography styles]($func/bibliography.style)
and `{"chicago-author-title"}` `{"author-date"}` and `{"author-title"}` were renamed to
- Added support for clipping in [boxes]($func/box.clip) and `{"chicago-author-date"}` and `{"chicago-author-title"}`
[blocks]($func/block.clip)
- Added [`polygon`]($func/polygon) function for drawing polygons - Figure improvements
- Added [`yaml`]($func/yaml) function to load data from YAML files - Figures now automatically detect their content and adapt their
- The [`link`]($func/link) function now accepts [labels]($func/label) behaviour. Figures containing tables, for instance, are automatically
- The [`bibliography`]($func/bibliography) now also accepts multiple prefixed with "Table X" and have a separate counter
bibliography paths (as an array) - The figure's supplement (e.g. "Figure" or "Table") can now be customized
- Parsing of BibLaTeX files is now more permissive (accepts non-numeric edition, - In addition, figures can now be completely customized because the show rule
pages, volumes, dates, and Jabref-style comments, fixed abbreviation parsing) gives access to the automatically resolved kind, supplement, and counter
- Labels and references can now include `:` and `.` if not at the end
- Added basic i18n for a few more languages (IT, RU, ZH, FR, PT) - Bibliography improvements
- Added numbering support for Hebrew - The [`bibliography`]($func/bibliography) now also accepts multiple
- Added support for [integers]($type/integer) with base 2, 8, and 16 bibliography paths (as an array)
- Added symbols for double bracket and laplace operator - Parsing of BibLaTeX files is now more permissive (accepts non-numeric
- The link syntax now allows more characters edition, pages, volumes, dates, and Jabref-style comments; fixed
- Improved justification of Japanese and Chinese text abbreviation parsing)
- Calculation functions behave more consistently w.r.t to non-real results - Labels and references can now include `:` and `.` except at the end
- Replaced deprecated angle brackets - Fixed APA bibliography ordering
- Reduced maximum function call depth from 256 to 64
- CLI now returns with non-zero status code if there is an error - Drawing additions
- CLI now watches the root directory instead of the current one - Added [`polygon`]($func/polygon) function for drawing polygons
- CLI now puts PDF file next to input file by default - Added support for clipping in [boxes]($func/box.clip) and
- CLI now accepts more kinds of input files (e.g. `/dev/stdin`) [blocks]($func/block.clip)
- CLI now has an `--open` flag to directly open the PDF
- Fixed block spacing, e.g. in `{block(above: 1cm, below: 1cm, ..)}` - Command line interface
- Fixed extraneous spacing in unary operators in equations - Now returns with non-zero status code if there is an error
- Fixed APA bibliography ordering - Now watches the root directory instead of the current one
- Fixed styling of text operators in math - Now puts the PDF file next to input file by default
- Fixed invalid parsing of language tag in raw block with a single backtick - Now accepts more kinds of input files (e.g. `/dev/stdin`)
- Fixed bugs with displaying counters and state - Added `--open` flag to directly open the PDF
- Fixed crash related to page counter
- Fixed crash when [`symbol`]($func/symbol) function is called without arguments - Miscellaneous improvements
- Fixed crash in bibliography generation - Added [`yaml`]($func/yaml) function to load data from YAML files
- Fixed access to label of certain content elements - Added basic i18n for a few more languages (IT, RU, ZH, FR, PT)
- Fixed line number in error message for CSV parsing - Added numbering support for Hebrew
- Fixed invalid autocompletion after certain markup elements - Added support for [integers]($type/integer) with base 2, 8, and 16
- Added symbols for double bracket and laplace operator
- The [`link`]($func/link) function now accepts [labels]($func/label)
- The link syntax now allows more characters
- Improved justification of Japanese and Chinese text
- Calculation functions behave more consistently w.r.t to non-real results
- Replaced deprecated angle brackets
- Reduced maximum function call depth from 256 to 64
- Fixed [`first-line-indent`]($func/par.first-line-indent) being not applied
when a paragraph starts with styled text
- Fixed extraneous spacing in unary operators in equations
- Fixed block spacing, e.g. in `{block(above: 1cm, below: 1cm, ..)}`
- Fixed styling of text operators in math
- Fixed invalid parsing of language tag in raw block with a single backtick
- Fixed bugs with displaying counters and state
- Fixed crash related to page counter
- Fixed crash when [`symbol`]($func/symbol) function was called without
arguments
- Fixed crash in bibliography generation
- Fixed access to label of certain content elements
- Fixed line number in error message for CSV parsing
- Fixed invalid autocompletion after certain markup elements
Thanks to everybody who contributed to this release!
## March 28, 2023 ## March 28, 2023
- **Breaking:** Enumerations now require a space after their marker, that is, - **Breaking changes:**
`[1.ok]` must now be written as `[1. ok]` - Enumerations now require a space after their marker, that is, `[1.ok]` must
- **Breaking:** Changed default style for [term lists]($func/terms): Does not now be written as `[1. ok]`
include a colon anymore and has a bit more indent - Changed default style for [term lists]($func/terms): Does not include a
- Fixed bibliography ordering in IEEE style colon anymore and has a bit more indent
- Fixed parsing of decimals in math: `[$1.2/3.4$]`
- Fixed parsing of unbalanced delimiters in fractions: `[$1/(2 (x)$]` - Command line interface
- Fixed unexpected parsing of numbers as enumerations, e.g. in `[1.2]` - Added `--font-path` argument for CLI
- Fixed combination of page fill and header - Embedded default fonts in CLI binary
- Fixed compiler crash if [`repeat`]($func/repeat) is used in page with - Fixed build of CLI if `git` is not installed
automatic width
- Fixed [matrices]($func/mat) with explicit delimiter - Miscellaneous improvements
- Fixed build of CLI if `git` is not installed - Added support for disabling [matrix]($func/mat) and [vector]($func/vec)
- Links in bibliographies are now affected by link styling delimiters. Generally with `[#set math.mat(delim: none)]` or one-off with
- Added support for disabling [matrix]($func/mat) and [vector]($func/vec) `[$mat(delim: #none, 1, 2; 3, 4)$]`.
delimiters. Generally with `[#set math.mat(delim: none)]` or one-off with - Added [`separator`]($func/terms.separator) argument to term lists
`[$mat(delim: #none, 1, 2; 3, 4)$]`. - Added [`round`]($func/round) function for equations
- Added [`separator`]($func/terms.separator) argument to term lists - Numberings now allow zeros. To reset a counter, you can write
- Fixed [`indent`]($func/terms.indent) property of term lists `[#counter(..).update(0)]`
- Added [`round`]($func/round) function for equations - Added documentation for `{page()}` and `{position()}` methods on
- Numberings now allow zeros. To reset a counter, you can write [`location`]($func/locate) type
`[#counter(..).update(0)]` - Added symbols for double, triple, and quadruple dot accent
- Added `--font-path` argument for CLI - Added smart quotes for Norwegian Bokmål
- Added Nix flake - Added Nix flake
- Numerous documentation fixes - Fixed bibliography ordering in IEEE style
- Added documentation for `{page()}` and `{position()}` methods on - Fixed parsing of decimals in math: `[$1.2/3.4$]`
[`location`]($func/locate) type - Fixed parsing of unbalanced delimiters in fractions: `[$1/(2 (x)$]`
- Added symbols for double, triple, and quadruple dot accent - Fixed unexpected parsing of numbers as enumerations, e.g. in `[1.2]`
- Added smart quotes for Norwegian Bokmål - Fixed combination of page fill and header
- Fixed hovering over comments in web app - Fixed compiler crash if [`repeat`]($func/repeat) is used in page with
- Embedded default fonts in CLI binary automatic width
- Fixed [matrices]($func/mat) with explicit delimiter
- Fixed [`indent`]($func/terms.indent) property of term lists
- Numerous documentation fixes
- Links in bibliographies are now affected by link styling
- Fixed hovering over comments in web app
Thanks to everybody who contributed to this release!
## March 21, 2023 ## March 21, 2023
- Reference and bibliography management - Reference and bibliography management