Skip to content

Commit

Permalink
Add CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
tingerrr committed Mar 19, 2024
1 parent 1902f5a commit 9375c8a
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# [unreleased](https://github.com/tingerrr/hydra/releases/tags/)
## Added

## Removed

## Changed

---

# [v0.4.0](https://github.com/tingerrr/hydra/releases/tags/v0.4.0)
Almost all changes in this release are **BREAKING CHANGES**.

## Added
- internal util functions and dictionaries for recreating `auto` fallbacks used within the typst
compiler
- `core.get-text-dir` - returns the text direction
- `core.get-binding` - returns the page binding
- `core.get-page-size` - returns the page size
- `core.get-top-margin` - returns the absolute top margin
- `util.text-direction` - returns the text direction for a given language

## Removed
- various parameters on `hydra` have been removed
- `binding` has been removed in favor of get rule
- `dir` has been removed in favor of get rule
- `paper` has been removed in favor of get rule
- `page-size` has been removed in favor of get rule
- `top-margin` has been removed in favor of get rule
- `loc` has been removed in favor of user provided context

## Changed
- hydra now requires a minimum Typst compiler version of `0.11.0`
- `hydra` is now contextual
- most internal functions are now contextual
- the internal context dictionary now holds a `anchor-loc` instead of a `loc`
- `get-anchor-pos` has been renamed to `locate-last-anchor`
- the internal `page-sizes` dictionary was changed to function

---

# [v0.3.0](https://github.com/tingerrr/hydra/releases/tags/v0.3.0)

# [v0.2.0](https://github.com/tingerrr/hydra/releases/tags/v0.2.0)

# [v0.1.0](https://github.com/tingerrr/hydra/releases/tags/v0.1.0)

0 comments on commit 9375c8a

Please sign in to comment.