Skip to content

Commit

Permalink
release: bump to v0.11.29
Browse files Browse the repository at this point in the history
  • Loading branch information
Enter-tainer committed Jul 13, 2024
1 parent 0171085 commit b8a80fa
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# Changelog

## v0.11.29 - [2024-07-13]

- typstyle cli now can be installed from `cargo-binstall`
- typstyle now recognize dot chains and keep them aligned on multiple lines when possible.

Previously, typstyle's format result looks like this:
```typst
#{
let (title, _) = query(heading.where(level: 1)).map(e => (
e.body,
e.location().page(),
)).rev().find(((_, v)) => v <= page)
}
```

Now it will be formatted as:
```typst
#{
let (title, _) = query(heading.where(level: 1))
.map(e => (e.body, e.location().page()))
.rev()
.find(((_, v)) => v <= page)
}
```

- Minor adjustment for closure body formatting.

## v0.11.28 - [2024-06-25]

- typstyle cli now has a `--check` flag to check if the input is formatted. If it's not formatted, it will return a non-zero exit code.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "typstyle"
version = "0.11.28"
version = "0.11.29"
edition = "2021"
authors = ["Wenzhuo Liu"]
license-file = "LICENSE"
Expand Down

0 comments on commit b8a80fa

Please sign in to comment.