Skip to content

Commit

Permalink
Release v0.5.0 (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
tingerrr authored Jul 3, 2024
1 parent b46c985 commit a505b39
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down
Binary file modified doc/manual.pdf
Binary file not shown.
7 changes: 1 addition & 6 deletions typst.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
repository = "https://github.com/tingerrr/hydra"
Expand All @@ -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"

0 comments on commit a505b39

Please sign in to comment.