diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f5708b..e5f52d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,18 @@ # [unreleased](https://github.com/tingerrr/hydra/releases/tags/) ## Added + +## Removed + +## Changed + +--- + +# [v0.5.0](https://github.com/tingerrr/hydra/releases/tags/v0.5.0) +## Added - `use-last` parameter on `hydra` for a more LaTeX style heading look up, thanks @freundTech! - `hydra` now has a new `use-last` parameter - `context` now has a new `use-last` field - - **BREAKING CHANGE** `candidates` now has a new `last` field containiing a suitable match for the last primary candidate on this page + - **BREAKING CHANGE** `candidates` now has a new `last` field containing a suitable match for the last primary candidate on this page ## Removed diff --git a/Justfile b/Justfile index 713232e..e0e628d 100644 --- a/Justfile +++ b/Justfile @@ -32,7 +32,7 @@ gen-doc-examples: $"out/($it){n}.png") }; let pages = (ls out | length) / 2; - { pages: $pages } | to toml | save out.toml + { pages: $pages } | to toml | save -f out.toml } | ignore diff --git a/README.md b/README.md index ec43b0e..c6135b5 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ your document only when it is needed. ## Example ```typst -#import "@preview/hydra:0.4.0": hydra +#import "@preview/hydra:0.5.0": hydra #set page(paper: "a7", margin: (y: 4em), numbering: "1", header: context { if calc.odd(here().page()) { diff --git a/doc/manual.pdf b/doc/manual.pdf index b0c205b..52d548f 100644 Binary files a/doc/manual.pdf and b/doc/manual.pdf differ diff --git a/typst.toml b/typst.toml index efeb0f4..c6200cc 100644 --- a/typst.toml +++ b/typst.toml @@ -1,7 +1,7 @@ [package] entrypoint = "src/lib.typ" name = "hydra" -version = "0.4.0" +version = "0.5.0" compiler = "0.11.0" authors = ["tinger "] repository = "https://github.com/tingerrr/hydra" @@ -10,8 +10,3 @@ categories = ["components", "scripting"] keywords = ["context", "chapter", "section", "heading"] license = "MIT" exclude = ["examples", "README.md"] - -# TODO: this is non-critical and therefore not yet part of ci-semi-stable -# [tool.typst-test] -# tests = "test" -# template = "test/template.typ"