Skip to content

Commit 0ba1128

Browse files
committed
Split changelog (#5237)
1 parent 242a16e commit 0ba1128

File tree

18 files changed

+2140
-2051
lines changed

18 files changed

+2140
-2051
lines changed

docs/changelog.md

Lines changed: 0 additions & 2013 deletions
This file was deleted.

docs/changelog/0.1.0.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
title: 0.1.0
3+
description: Changes in Typst 0.1.0
4+
---
5+
6+
# Version 0.1.0 (April 04, 2023)
7+
8+
## Breaking changes
9+
- When using the CLI, you now have to use subcommands:
10+
- `typst compile file.typ` or `typst c file.typ` to create a PDF
11+
- `typst watch file.typ` or `typst w file.typ` to compile and watch
12+
- `typst fonts` to list all fonts
13+
- Manual counters now start at zero. Read the "How to step" section
14+
[here]($counter) for more details
15+
- The [bibliography styles]($bibliography.style) `{"author-date"}` and
16+
`{"author-title"}` were renamed to `{"chicago-author-date"}` and
17+
`{"chicago-author-title"}`
18+
19+
## Figure improvements
20+
- Figures now automatically detect their content and adapt their behavior.
21+
Figures containing tables, for instance, are automatically prefixed with
22+
"Table X" and have a separate counter
23+
- The figure's supplement (e.g. "Figure" or "Table") can now be customized
24+
- In addition, figures can now be completely customized because the show rule
25+
gives access to the automatically resolved kind, supplement, and counter
26+
27+
## Bibliography improvements
28+
- The [`bibliography`] now also accepts multiple bibliography paths (as an
29+
array)
30+
- Parsing of BibLaTeX files is now more permissive (accepts non-numeric edition,
31+
pages, volumes, dates, and Jabref-style comments; fixed abbreviation parsing)
32+
- Labels and references can now include `:` and `.` except at the end
33+
- Fixed APA bibliography ordering
34+
35+
## Drawing additions
36+
- Added [`polygon`] function for drawing polygons
37+
- Added support for clipping in [boxes]($box.clip) and [blocks]($block.clip)
38+
39+
## Command line interface
40+
- Now returns with non-zero status code if there is an error
41+
- Now watches the root directory instead of the current one
42+
- Now puts the PDF file next to input file by default
43+
- Now accepts more kinds of input files (e.g. `/dev/stdin`)
44+
- Added `--open` flag to directly open the PDF
45+
46+
## Miscellaneous improvements
47+
- Added [`yaml`] function to load data from YAML files
48+
- Added basic i18n for a few more languages (IT, RU, ZH, FR, PT)
49+
- Added numbering support for Hebrew
50+
- Added support for [integers]($int) with base 2, 8, and 16
51+
- Added symbols for double bracket and laplace operator
52+
- The [`link`] function now accepts [labels]($label)
53+
- The link syntax now allows more characters
54+
- Improved justification of Japanese and Chinese text
55+
- Calculation functions behave more consistently w.r.t to non-real results
56+
- Replaced deprecated angle brackets
57+
- Reduced maximum function call depth from 256 to 64
58+
- Fixed [`first-line-indent`]($par.first-line-indent) being not applied when a
59+
paragraph starts with styled text
60+
- Fixed extraneous spacing in unary operators in equations
61+
- Fixed block spacing, e.g. in `{block(above: 1cm, below: 1cm, ..)}`
62+
- Fixed styling of text operators in math
63+
- Fixed invalid parsing of language tag in raw block with a single backtick
64+
- Fixed bugs with displaying counters and state
65+
- Fixed crash related to page counter
66+
- Fixed crash when [`symbol`] function was called without arguments
67+
- Fixed crash in bibliography generation
68+
- Fixed access to label of certain content elements
69+
- Fixed line number in error message for CSV parsing
70+
- Fixed invalid autocompletion after certain markup elements
71+
72+
## Contributors
73+
<contributors from="v23-03-28" to="v0.1.0" />

docs/changelog/0.10.0.md

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
---
2+
title: 0.10.0
3+
description: Changes in Typst 0.10.0
4+
---
5+
6+
# Version 0.10.0 (December 4, 2023)
7+
8+
## Bibliography management
9+
- Added support for citation collapsing (e.g. `[[1]-[3]]` instead of
10+
`[[1], [2], [3]]`) if requested by a CSL style
11+
- Fixed bug where an additional space would appear after a group of citations
12+
- Fixed link show rules for links in the bibliography
13+
- Fixed show-set rules on citations
14+
- Fixed bibliography-related crashes that happened on some systems
15+
- Corrected name of the GB/T 7714 family of styles from 7114 to 7714
16+
- Fixed missing title in some bibliography styles
17+
- Fixed printing of volumes in some styles
18+
- Fixed delimiter order for contributors in some styles (e.g. APA)
19+
- Fixed behavior of alphanumeric style
20+
- Fixed multiple bugs with GB/T 7714 style
21+
- Fixed escaping in Hayagriva values
22+
- Fixed crashes with empty dates in Hayagriva files
23+
- Fixed bug with spacing around math blocks
24+
- Fixed title case formatting after verbatim text and apostrophes
25+
- Page ranges in `.bib` files can now be arbitrary strings
26+
- Multi-line values in `.bib` files are now parsed correctly
27+
- Entry keys in `.bib` files now allow more characters
28+
- Fixed error message for empty dates in `.bib` files
29+
- Added support for years of lengths other than 4 without leading zeros in
30+
`.bib` files
31+
- More LaTeX commands (e.g. for quotes) are now respected in `.bib` files
32+
33+
## Visualization
34+
- Added support for [patterns]($pattern) as fills and strokes
35+
- The `alpha` parameter of the [`components`]($color.components) function on
36+
colors is now a named parameter **(Breaking change)**
37+
- Added support for the [Oklch]($color.oklch) color space
38+
- Improved conversions between colors in different color spaces
39+
- Removed restrictions on [Oklab]($color.oklab) chroma component
40+
- Fixed [clipping]($block.clip) on blocks and boxes without a stroke
41+
- Fixed bug with [gradients]($gradient) on math
42+
- Fixed bug with gradient rotation on text
43+
- Fixed bug with gradient colors in PDF
44+
- Fixed relative base of Oklab chroma ratios
45+
- Fixed Oklab color negation
46+
47+
## Text and Layout
48+
- CJK text can now be emphasized with the `*` and `_` syntax even when there are
49+
no spaces
50+
- Added basic i18n for Greek and Estonian
51+
- Improved default [figure caption separator]($figure.caption.separator) for
52+
Chinese, French, and Russian
53+
- Changed default [figure supplement]($figure.supplement) for Russian to short
54+
form
55+
- Fixed [CJK-Latin-spacing]($text.cjk-latin-spacing) before line breaks and in
56+
[`locate`] calls
57+
- Fixed line breaking at the end of links
58+
59+
## Math
60+
- Added [`mid`]($math.mid) function for scaling a delimiter up to the height of
61+
the surrounding [`lr`]($math.lr) group
62+
- The [`op`]($math.op) function can now take any content, not just strings
63+
- Improved documentation for [math alignment]($category/math/#alignment)
64+
- Fixed swallowing of trailing comma when a symbol is used in a function-like
65+
way (e.g. `pi(a,b,)`)
66+
67+
## Scripting
68+
- Any non-identifier dictionary key is now interpreted as an expression: For
69+
instance, `{((key): value)}` will create a dictionary with a dynamic key
70+
- The [`stroke`] type now has a constructor that converts a value to a stroke or
71+
creates one from its parts
72+
- Added constructor for [`arguments`] type
73+
- Added [`calc.div-euclid`]($calc.div-euclid) and
74+
[`calc.rem-euclid`]($calc.rem-euclid) functions
75+
- Fixed equality of [`arguments`]
76+
- Fixed [`repr`]of [`cmyk`]($color.cmyk) colors
77+
- Fixed crashes with provided elements like figure captions, outline entries,
78+
and footnote entries
79+
80+
## Tooling and Diagnostics
81+
- Show rules that match on their own output now produce an appropriate error
82+
message instead of a crash (this is a first step, in the future they will just
83+
work)
84+
- Too highly or infinitely nested layouts now produce error messages instead of
85+
crashes
86+
- Added hints for invalid identifiers
87+
- Added hint when trying to use a manually constructed footnote or outline entry
88+
- Added missing details to autocompletions for types
89+
- Improved error message when passing a named argument where a positional one is
90+
expected
91+
- Jump from click now works on raw blocks
92+
93+
## Export
94+
- PDF compilation output is now again fully byte-by-byte reproducible if the
95+
document's [`date`]($document.date) is set manually
96+
- Fixed color export in SVG
97+
- Fixed PDF metadata encoding of multiple [authors]($document.author)
98+
99+
## Command line interface
100+
- Fixed a major bug where `typst watch` would confuse files and fail to pick up
101+
updates
102+
- Fetching of the release metadata in `typst update` now respects proxies
103+
- Fixed bug with `--open` flag on Windows when the path contains a space
104+
- The `TYPST_FONT_PATHS` environment variable can now contain multiple paths
105+
(separated by `;` on Windows and `:` elsewhere)
106+
- Updated embedded New Computer Modern fonts to version 4.7
107+
- The watching process doesn't stop anymore when the main file contains invalid
108+
UTF-8
109+
110+
## Miscellaneous Improvements
111+
- Parallelized image encoding in PDF export
112+
- Improved the internal representation of content for improved performance
113+
- Optimized introspection (query, counter, etc.) performance
114+
- The [document title]($document.title) can now be arbitrary content instead of
115+
just a string
116+
- The [`number-align`]($enum.number-align) parameter on numbered lists now also
117+
accepts vertical alignments
118+
- Fixed selectors on [quote] elements
119+
- Fixed parsing of `[#return]` expression in markup
120+
- Fixed bug where inline equations were displayed in equation outlines
121+
- Fixed potential CRLF issue in [`raw`] blocks
122+
- Fixed a bug where Chinese numbering couldn't exceed the number 255
123+
124+
## Development
125+
- Merged `typst` and `typst-library` and extracted `typst-pdf`, `typst-svg`, and
126+
`typst-render` into separate crates
127+
- The Nix flake now includes the git revision when running `typst --version`
128+
129+
## Contributors
130+
<contributors from="v0.9.0" to="v0.10.0" />

0 commit comments

Comments
 (0)