{"route":"/en-US-v0.13.1/changelog/0.10.0/","title":"0.10.0","description":"Changes in Typst 0.10.0","part":null,"outline":[{"id":"bibliography-management","name":"Bibliography management","children":[]},{"id":"visualization","name":"Visualization","children":[]},{"id":"text-and-layout","name":"Text and Layout","children":[]},{"id":"math","name":"Math","children":[]},{"id":"scripting","name":"Scripting","children":[]},{"id":"tooling-and-diagnostics","name":"Tooling and Diagnostics","children":[]},{"id":"export","name":"Export","children":[]},{"id":"command-line-interface","name":"Command line interface","children":[]},{"id":"miscellaneous-improvements","name":"Miscellaneous Improvements","children":[]},{"id":"development","name":"Development","children":[]},{"id":"contributors","name":"Contributors","children":[]}],"body":{"kind":"html","content":"<h1>Version 0.10.0 (December 4, 2023)</h1>\n<h2 id=\"bibliography-management\">Bibliography management</h2>\n<ul>\n<li>Added support for citation collapsing (e.g. <code>[1]-[3]</code> instead of\n<code>[1], [2], [3]</code>) if requested by a CSL style</li>\n<li>Fixed bug where an additional space would appear after a group of citations</li>\n<li>Fixed link show rules for links in the bibliography</li>\n<li>Fixed show-set rules on citations</li>\n<li>Fixed bibliography-related crashes that happened on some systems</li>\n<li>Corrected name of the GB/T 7714 family of styles from 7114 to 7714</li>\n<li>Fixed missing title in some bibliography styles</li>\n<li>Fixed printing of volumes in some styles</li>\n<li>Fixed delimiter order for contributors in some styles (e.g. APA)</li>\n<li>Fixed behavior of alphanumeric style</li>\n<li>Fixed multiple bugs with GB/T 7714 style</li>\n<li>Fixed escaping in Hayagriva values</li>\n<li>Fixed crashes with empty dates in Hayagriva files</li>\n<li>Fixed bug with spacing around math blocks</li>\n<li>Fixed title case formatting after verbatim text and apostrophes</li>\n<li>Page ranges in <code>.bib</code> files can now be arbitrary strings</li>\n<li>Multi-line values in <code>.bib</code> files are now parsed correctly</li>\n<li>Entry keys in <code>.bib</code> files now allow more characters</li>\n<li>Fixed error message for empty dates in <code>.bib</code> files</li>\n<li>Added support for years of lengths other than 4 without leading zeros in\n<code>.bib</code> files</li>\n<li>More LaTeX commands (e.g. for quotes) are now respected in <code>.bib</code> files</li>\n</ul>\n<h2 id=\"visualization\">Visualization</h2>\n<ul>\n<li>Added support for <a href=\"/en-US-v0.13.1/reference/visualize/tiling/\">patterns</a> as fills and strokes</li>\n<li>The <code>alpha</code> parameter of the <a href=\"/en-US-v0.13.1/reference/visualize/color/#definitions-components\"><code>components</code></a> function on\ncolors is now a named parameter <strong>(Breaking change)</strong></li>\n<li>Added support for the <a href=\"/en-US-v0.13.1/reference/visualize/color/#definitions-oklch\">Oklch</a> color space</li>\n<li>Improved conversions between colors in different color spaces</li>\n<li>Removed restrictions on <a href=\"/en-US-v0.13.1/reference/visualize/color/#definitions-oklab\">Oklab</a> chroma component</li>\n<li>Fixed <a href=\"/en-US-v0.13.1/reference/layout/block/#parameters-clip\">clipping</a> on blocks and boxes without a stroke</li>\n<li>Fixed bug with <a href=\"/en-US-v0.13.1/reference/visualize/gradient/\">gradients</a> on math</li>\n<li>Fixed bug with gradient rotation on text</li>\n<li>Fixed bug with gradient colors in PDF</li>\n<li>Fixed relative base of Oklab chroma ratios</li>\n<li>Fixed Oklab color negation</li>\n</ul>\n<h2 id=\"text-and-layout\">Text and Layout</h2>\n<ul>\n<li>CJK text can now be emphasized with the <code>*</code> and <code>_</code> syntax even when there are\nno spaces</li>\n<li>Added basic i18n for Greek and Estonian</li>\n<li>Improved default <a href=\"/en-US-v0.13.1/reference/model/figure/#definitions-caption-separator\">figure caption separator</a> for\nChinese, French, and Russian</li>\n<li>Changed default <a href=\"/en-US-v0.13.1/reference/model/figure/#parameters-supplement\">figure supplement</a> for Russian to short\nform</li>\n<li>Fixed <a href=\"/en-US-v0.13.1/reference/text/text/#parameters-cjk-latin-spacing\">CJK-Latin-spacing</a> before line breaks and in\n<a href=\"/en-US-v0.13.1/reference/introspection/locate/\" title=\"`locate`\"><code>locate</code></a> calls</li>\n<li>Fixed line breaking at the end of links</li>\n</ul>\n<h2 id=\"math\">Math</h2>\n<ul>\n<li>Added <a href=\"/en-US-v0.13.1/reference/math/lr/#functions-mid\"><code>mid</code></a> function for scaling a delimiter up to the height of\nthe surrounding <a href=\"/en-US-v0.13.1/reference/math/lr/#functions-lr\"><code>lr</code></a> group</li>\n<li>The <a href=\"/en-US-v0.13.1/reference/math/op/\"><code>op</code></a> function can now take any content, not just strings</li>\n<li>Improved documentation for <a href=\"/en-US-v0.13.1/reference/math/#alignment\">math alignment</a></li>\n<li>Fixed swallowing of trailing comma when a symbol is used in a function-like\nway (e.g. <code>pi(a,b,)</code>)</li>\n</ul>\n<h2 id=\"scripting\">Scripting</h2>\n<ul>\n<li>Any non-identifier dictionary key is now interpreted as an expression: For\ninstance, <code><span class=\"typ-punct\">(</span><span class=\"typ-punct\">(</span>key<span class=\"typ-punct\">)</span><span class=\"typ-punct\">:</span> value<span class=\"typ-punct\">)</span></code> will create a dictionary with a dynamic key</li>\n<li>The <a href=\"/en-US-v0.13.1/reference/visualize/stroke/\" title=\"`stroke`\"><code>stroke</code></a> type now has a constructor that converts a value to a stroke or\ncreates one from its parts</li>\n<li>Added constructor for <a href=\"/en-US-v0.13.1/reference/foundations/arguments/\" title=\"`arguments`\"><code>arguments</code></a> type</li>\n<li>Added <a href=\"/en-US-v0.13.1/reference/foundations/calc/#functions-div-euclid\"><code>calc.div-euclid</code></a> and\n<a href=\"/en-US-v0.13.1/reference/foundations/calc/#functions-rem-euclid\"><code>calc.rem-euclid</code></a> functions</li>\n<li>Fixed equality of <a href=\"/en-US-v0.13.1/reference/foundations/arguments/\" title=\"`arguments`\"><code>arguments</code></a></li>\n<li>Fixed <a href=\"/en-US-v0.13.1/reference/foundations/repr/\" title=\"`repr`\"><code>repr</code></a>of <a href=\"/en-US-v0.13.1/reference/visualize/color/#definitions-cmyk\"><code>cmyk</code></a> colors</li>\n<li>Fixed crashes with provided elements like figure captions, outline entries,\nand footnote entries</li>\n</ul>\n<h2 id=\"tooling-and-diagnostics\">Tooling and Diagnostics</h2>\n<ul>\n<li>Show rules that match on their own output now produce an appropriate error\nmessage instead of a crash (this is a first step, in the future they will just\nwork)</li>\n<li>Too highly or infinitely nested layouts now produce error messages instead of\ncrashes</li>\n<li>Added hints for invalid identifiers</li>\n<li>Added hint when trying to use a manually constructed footnote or outline entry</li>\n<li>Added missing details to autocompletions for types</li>\n<li>Improved error message when passing a named argument where a positional one is\nexpected</li>\n<li>Jump from click now works on raw blocks</li>\n</ul>\n<h2 id=\"export\">Export</h2>\n<ul>\n<li>PDF compilation output is now again fully byte-by-byte reproducible if the\ndocument's <a href=\"/en-US-v0.13.1/reference/model/document/#parameters-date\"><code>date</code></a> is set manually</li>\n<li>Fixed color export in SVG</li>\n<li>Fixed PDF metadata encoding of multiple <a href=\"/en-US-v0.13.1/reference/model/document/#parameters-author\">authors</a></li>\n</ul>\n<h2 id=\"command-line-interface\">Command line interface</h2>\n<ul>\n<li>Fixed a major bug where <code>typst watch</code> would confuse files and fail to pick up\nupdates</li>\n<li>Fetching of the release metadata in <code>typst update</code> now respects proxies</li>\n<li>Fixed bug with <code>--open</code> flag on Windows when the path contains a space</li>\n<li>The <code>TYPST_FONT_PATHS</code> environment variable can now contain multiple paths\n(separated by <code>;</code> on Windows and <code>:</code> elsewhere)</li>\n<li>Updated embedded New Computer Modern fonts to version 4.7</li>\n<li>The watching process doesn't stop anymore when the main file contains invalid\nUTF-8</li>\n</ul>\n<h2 id=\"miscellaneous-improvements\">Miscellaneous Improvements</h2>\n<ul>\n<li>Parallelized image encoding in PDF export</li>\n<li>Improved the internal representation of content for improved performance</li>\n<li>Optimized introspection (query, counter, etc.) performance</li>\n<li>The <a href=\"/en-US-v0.13.1/reference/model/document/#parameters-title\">document title</a> can now be arbitrary content instead of\njust a string</li>\n<li>The <a href=\"/en-US-v0.13.1/reference/model/enum/#parameters-number-align\"><code>number-align</code></a> parameter on numbered lists now also\naccepts vertical alignments</li>\n<li>Fixed selectors on <a href=\"/en-US-v0.13.1/reference/model/quote/\" title=\"quote\">quote</a> elements</li>\n<li>Fixed parsing of <code><span class=\"typ-key\">#</span><span class=\"typ-key\">return</span></code> expression in markup</li>\n<li>Fixed bug where inline equations were displayed in equation outlines</li>\n<li>Fixed potential CRLF issue in <a href=\"/en-US-v0.13.1/reference/text/raw/\" title=\"`raw`\"><code>raw</code></a> blocks</li>\n<li>Fixed a bug where Chinese numbering couldn't exceed the number 255</li>\n</ul>\n<h2 id=\"development\">Development</h2>\n<ul>\n<li>Merged <code>typst</code> and <code>typst-library</code> and extracted <code>typst-pdf</code>, <code>typst-svg</code>, and\n<code>typst-render</code> into separate crates</li>\n<li>The Nix flake now includes the git revision when running <code>typst --version</code></li>\n</ul>\n<h2 id=\"contributors\">Contributors</h2>"}}