Skip to content

Commit

Permalink
Bump version number
Browse files Browse the repository at this point in the history
  • Loading branch information
WGUNDERWOOD committed Nov 15, 2024
1 parent 5872c8d commit 363e95f
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 26 deletions.
30 changes: 15 additions & 15 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tex-fmt"
version = "0.4.6"
version = "0.4.7"
authors = ["William George Underwood"]
license = "MIT"
repository = "https://github.com/WGUNDERWOOD/tex-fmt"
Expand All @@ -11,7 +11,7 @@ categories = ["command-line-utilities", "development-tools"]
exclude = ["tests/*", "extra/*", "*.nix", ".github/*"]

[dependencies]
clap = { version = "4.5.20", features = ["derive"] }
clap = { version = "4.5.21", features = ["derive"] }
colored = "2.1.0"
env_logger = "0.11.5"
lazy_static = "1.5.0"
Expand Down
10 changes: 10 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# v0.4.7

- Fix bug with `--stdin` adding newlines at EOF
- Fix logic for ignoring verbatim environments
- Ensure sectioning commands begin on new lines
- Various performance improvements
- Add NEWS.md for release notes
- Ensure all test files successfully compile to PDFs
- Better documentation of options in README.md

# v0.4.6

- Added ``--wrap`` flag to choose line length for wrapping
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,11 @@ and `minted` are automatically skipped.
## Performance

When formatting all of the test cases,
tex-fmt is over two thousand times faster than latexindent.
tex-fmt is over a thousand times faster than latexindent.

| **Files** | **Lines** | **Size** | **tex-fmt** | **latexindent** | **latexindent -m** |
| --- | --- | --- | --- | --- | --- |
| 49 | 94k | 3.5M | **0.047s** | 106s [x2208] | 127s [x2661] |
| 51 | 94k | 3.5M | **0.055s** | 106s [x1927] | 127s [x2309] |

## Contribution

Expand Down
12 changes: 6 additions & 6 deletions flake.lock

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

8 changes: 7 additions & 1 deletion notes.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,25 @@
* Tasks
** TODO Skipping a line seems to break linums
* Release process
** Update release notes
*** git log --oneline --no-merges vX.X.X main
*** Write in NEWS.md
** Update version number in Cargo.toml
** Update Nix flake and lock
*** Check for new NixOS version (nixos-XX.XX)
*** just nix
** Update Rust version
*** just upgrade
** Run tests
*** just
*** just perf
*** Update performance results in README.md
** Push to GitHub and check tests pass
** Create a git tag
*** git tag vX.X.X
*** git push --tags
** Publish to crates.io with cargo publish
** Publish GitHub release with notes
*** git log --oneline --no-merges vX.X.X main
*** GitHub binaries published automatically with actions
** Publish in nixpkgs
*** Check out master branch of nixpkgs fork
Expand Down

0 comments on commit 363e95f

Please sign in to comment.