Repository navigation
fix(deps): update rust crate typst-syntax to 0.15 - #33
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
renovate
Bot
force-pushed
the
renovate/cargo-(non-major)
branch
2 times, most recently
from
October 15, 2026 14:00
16c147f to
e2ddfd0
Compare
renovate
Bot
force-pushed
the
renovate/cargo-(non-major)
branch
from
October 20, 2026 10:45
e2ddfd0 to
739fa0d
Compare
renovate
Bot
force-pushed
the
renovate/cargo-(non-major)
branch
from
October 26, 2026 18:56
739fa0d to
6a16869
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.14→0.15Release Notes
typst/typst (typst-syntax)
v0.15.1: Version 0.15.1 (July 17, 2026)Compare Source
View changelog with links into the documentation on typst.app/docs
Library
Text
Math
lr/ matched delimitersopelements could be vertically misalignedLayout
number-align/marker-alignset to an alignment with a vertical componentExport
SVG
html.frameelements did not respect pretty printingBundle
Content-Typeheaders based on file extensions was expanded to include more commonly used file types (e.g.jsonfiles)Command Line Interface
typst evalsubcommand will now exit with code 1 when the provided expression fails to evaluateContributors
Thanks to everyone who contributed to this release: @Marcono1234, @mkorje, @DevlinNul, @Hyperrick, @Lege19, @cady-b, @e345ee, @saecki.
v0.15.0: Version 0.15.0 (June 15, 2026)Compare Source
Read the announcement blog post
View changelog with links into the documentation on typst.app/docs
Highlights
withinselector simplifies many introspection use casesdividerelement represents a thematic break that templates can stylepathtype, project-relative paths can be passed to packagestypst evalCLI subcommand supersedestypst queryLanguage
Syntax
imagefunction calls) may not contain backslashes anymore; instead forward slashes must be used (Breaking change)#-30deg)Styling
Scripting
stdLibrary
Foundations
pathtype that is now accepted in all places where paths were previously only represented as stringsmapandfilterfunctions on dictionaries and argumentsargumentsvalues are now accessible with field access syntaxslicefunctions on strings and arrays will now error if passing both anendand acount(Minor breaking change)inclusiveparameter torangefunctionasinh,acosh,atanh, anderffunctions tocalcmoduleint.minandint.maxconstants for the minimum and maximum representable integer, respectivelyquofor negative integersnorm,abs,gcd, andlcmoffsetparameter ofdatetime.todaynow accepts durations as an alternative to integers, allowing for sub-hour precision offsetsdatetimeconstructor now emits more precise errors when components are missingbaseparameter tointconstructor to configure in which base to parse a stringbaseparameter of thestrconstructor was accepted for non-integer values if its value was10(Minor breaking change)panicfunction now displays strings as-is instead of showing theirrepr, making it more suitable for friendly, user-facing messagesreprof styles and locations to be more distinctModel
dividerelement representing a thematic break that templates can styledocumentelement can now be constructed to produce individual documents in bundle exportpathandformatparameters todocumentelementassetelementtargetparameter tobibliographyelement to configure which citation is picked up by which bibliographygroupparameter tobibliographyelement to configure how numbers are shared/reset across bibliographiesmonthkey in.bibfiles.bibfilesvolumefields in.bibfiles to bibliographiesAnthosentries in Hayagriva YAML files by treating them aschapters in CSLfootnoteis now within the superscript instead of around it, improving PDF tagging and HTML outputnumberingsupport for Armenian numerals , Arabic Abjad numerals , and Tibetan numeralsnumberingnow uses the modern Greek stylepar.first-line-indentproperty will now fold, meaning that partial dictionaries across different set rules orparcalls are combinedlist.marker-alignproperty for defining how to align list markersendalignment (horizontally)Text
ital,slnt,wght,wdth, andopszare automatically set based on textweight,stretch,style, andsizevariationsparameter of thetextfunctiontext.alternatesparameter now accepts an integer in addition to a boolean to select stylistic alternates other than0and1text.featuresis now more strict (Minor breaking change)context text.fontdid not reflect thecoversfieldloremfunction would not produce the exact number of requested wordsshow math.equation: set text(stylistic-set: 6)Math
underbracemath.opelementssizeparameter of thelrfunction now consistently applies to middle delimiters in the same way it does to outer delimiterssizeparameter of thelrfunction now resolves relatively to the height of just the inner content; it does not take the delimiters into account anymore (Minor breaking change)binomelement now uses different OpenType constants for layout; though this does not lead to visible changes with most fontsmath.cancellines is now specified in font-relative instead of absolute unitscasesfunctiontext.strokeclassfunction now applies the class only to its direct body rather than recursively (Minor breaking change)chevron.l) are now callable to produce anlrelement (Minor breaking change)$pi(1, 2)$, sincepiis not a function)Symbols
codex0.3.0 changelog for a full listing.Layout
boxwith an inset is now aligned with the text surrounding theboxboxwould shift its baselineblockin an equation will keep the baseline intactlistorenumare now properly baseline-aligned with the first line of the item even if the item is vertically larger than a normal linebleedparameter topageelement to set up bleed margins"us-executive"papershow pagerules as they are unsupportedall: falseis setVisualize
offsetparameter for shifting the starting position of a tilingstackandpolygoncolor.map.coolwarmfor use with gradientsstackandpolygonxmlnsattributefont-variation-settingsCSS propertyd0b540fand3483462on hayro); in particular:JPXDecode) and JBIG2 (JBIG2Decode) imagesIntrospection
withinselector that matches elements that are contained within any elements matching an ancestor selectoratparameter tocounter.displayfunctioncounter.displayauto-selects the numbering to useData Loading
xmlfunctionjsonfunction now emits a friendly error when the loaded JSON has a leading UTF‑8 BOMExport
Bundle
HTML
html.frameto render equations to SVG, try MathML output. Switching to it will improve the accessibility of your document (though rendering will be somewhat less consistent across browsers).boxandblockelements' purpose is now aligned with paged export (Breaking change)boxis used to bring block-level content inlineblockensures inline-level content becomes block-leveldisplayproperty or by wrapping in an additional<span>or<div>.display: none)boxorblockas appropriate<div>) do not immediately force adjacent inline-level Typst content to be wrapped in a paragraph; rather, they are considered neutral for paragraph groupingblockelements to force adjacent inline content into paragraphs. Package authors should do the same to ensure paragraph creation is consistent between HTML and paged export.targetfunction can now be used without thehtmlfeature flag (the rest of HTML export remains feature-flagged)<html>element now receives alangattribute respecting what was configured fortext.langimageelement now always emitswidthandheightattributes on the generated HTML<img>element<pre>tags will now prefer raw newlines over<br>elements to encode line breaks--prettyCLI flag or the checkbox in the web app to pretty-print itattrsparameter onhtml.elemwill now fold, meaning that partial attributes across different set rules orhtml.elemcalls are combinedhtml.scriptandhtml.styleonly accept a string and not arbitrary content anymore (Breaking change)<br>elements now collapse adjacent Typst spacesPDF
--prettyCLI flag or the checkbox in the web app to pretty-print thempdf.artifact; these are now internally used when appropriateSVG
--prettyCLI flag or the checkbox in the web app to pretty-print themtypst-frame,typst-doc,typst-group,typst-shape, andtypst-textanymore (Minor breaking change)PNG
xandyscale would turn invisible in PNG exportCommand Line Interface
typst evalsubcommand to evaluate a Typst code expression from the CLI; this command supersedestypst query--prettyflag for producing human-readable output; output is otherwise minified by default (applies to HTML, SVG, and PDF, but not PNG)typst fonts --variantsis now more readable and informative; in particular, it also displays the paths of font files and, for variable fonts, variation axes--deps-format make(which is incompatible and thus fails), no empty Make dependency file will be emitted anymoreCOM1) now results in an explicit error--timingsargument now requires an explicit file name instead of defaulting torecord-{n}.json(Breaking change)--help/-handtypst infooutputtypst infoandtypst compiletypst watchwith HTML export--creation-timestamporSOURCE_DATE_EPOCH, leading to irreproducible resultsTooling
Deprecations
numberingsystems that do not support the number zero (e.g. for"⓵")council-of-science-editorsis now calledcse-citation-sequence-brackets-8th-editioncouncil-of-science-editors-author-dateis now calledcse-name-yearmodern-language-association-8/mla-8is superseded bymodern-language-association/mlavancouveris now callednlm-citation-sequencevancouver-superscriptis now callednlm-citation-sequence-superscriptenumandtermsitemsRemovals
pathelement, usecurveinstead (Breaking change)patterntype, usetilinginstead (Breaking change)pdf.embedelement, usepdf.attachinstead (Breaking change)cbor.decode,csv.decode,json.decode,toml.decode,xml.decode,yaml.decode, andimage.decode; directly passbytesto the top-level functions instead (Breaking change)Development
typst-kitcrate was completely reworked to make it easier to create a TypstWorldimplementationContributors
Thanks to everyone who contributed to this release: @saecki, @isuffix, @mkorje, @MDLC01, @YDX-2147483647, @cady-b, @eltos, @Andrew15-5, @PgBiel, @Leedehai, @Ri-Nai, @andylizi, @elegaanz, @3w36zj6, @sijow, @t-rapp, @tingerrr, @CrumblyLiquid, @GabrielDTB, @LaurenzV, @Lege19, @Raphael-CV, @RungeCC, @SeSodesa, @TheJanzap, @lltsdyp, @omentic, @tovrstra, @wylited, @AdrienHorgnies, @AzurIce, @DzmingLi, @EclipseAditya, @EpicEricEE, @HSGamer, @Howard-aile, @JKRhb, @Krasjet, @Marcono1234, @MeGaGiGaGon, @NyCodeGHG, @OneProgGit, @SchrodingerBlume, @Simar-malhotra09, @T0mstone, @TheMagisterial, @TheZoq2, @TimerErTim, @VanillaViking, @WakaJoekoe, @Xiretza, @aaron-jack-manning, @amkaii, @apcamargo, @arbrauns, @arza-zara, @bountonw, @c-tonneslan, @dayala1, @deivisCode, @ditsak, @doerrdan, @dylwil3, @ecstrema, @fidelity-michael, @frozolotl, @gabriel-araujjo, @gomazarashi, @har7an, @hpcfzl, @istudyatuni, @iwkjosec, @j-wilbert, @jakmaz, @jassielof, @jbirnick, @jhvoigts, @joshtriplett, @kamack38, @kristoferssolo, @linux-user36, @luanst, @metsw24-max, @mewmew, @mezzogallium, @mihirmanna, @pavelzw, @pine919, @pohlrabi404, @purpl3F0x, @rice8y, @ryuryu-ymj, @starsep, @thatfloflo, @tjjfvi, @ultimatile, @veralvx, @vlad2305m, @zouharvi.
Configuration
📅 Schedule: (in timezone Asia/Tokyo)
* 0-3 * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.