v0.4.0
Almost all changes in this release are BREAKING CHANGES.
Added
- internal util functions and dictionaries for recreating
autofallbacks used within the typst
compilercore.get-text-dir- returns the text directioncore.get-binding- returns the page bindingcore.get-top-margin- returns the absolute top marginutil.text-direction- returns the text direction for a given languageutil.page-binding- returns the page binding for a given text direction
Removed
- various parameters on
hydrahave been removedpaperhas been removed in favor of get rulepage-sizehas been removed in favor of get ruletop-marginhas been removed in favor of get rulelochas been removed in favor of user provided context
- internal util dictionary for page sizes
Changed
- hydra now requires a minimum Typst compiler version of
0.11.0 hydrais now contextual- most internal functions are now contextual
- the internal context dictionary now holds a
anchor-locinstead of aloc get-anchor-poshas been renamed tolocate-last-anchor- the internal
page-sizesdictionary was changed to function - various parameters on
hydraare now auto by defaultprev-filternext-filterdisplaydirbinding
New Contributors
Full Changelog: v0.3.0...v0.4.0