Skip to content

Commit

Permalink
Update NEWS.md
Browse files Browse the repository at this point in the history
  • Loading branch information
WGUNDERWOOD committed Dec 8, 2024
1 parent 8f149dd commit 5633f57
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 23 deletions.
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Version v0.5.0 is a major release, including breaking changes and substantial ne
- See below for information on the new `--config`, `--noconfig`, `--man`, `--completion`, and `--args` flags.

## Configuration file support
Configuring tex-fmt can now be achieved using a configuration file as well as CLI arguments. The configuration file can be read from a user-specified path with `--config`, from the current working directory, from the root of the current git repository, or from the user's configuration directory, in order of decreasing priority. Arguments passed on the command line will always override those specified in configuration files. Configuration files can be disabled by passing `--noconfig`.
Configuring tex-fmt can now be achieved using a configuration file as well as CLI arguments. The configuration file can be read from a user-specified path with `--config <config>`, from the current working directory, from the root of the current git repository, or from the user's configuration directory, in order of decreasing priority. Arguments passed on the command line will always override those specified in configuration files. Configuration files can be disabled by passing `--noconfig`.

## Man pages
Man pages can be generated using the `--man` flag. Pre-built man pages are also available for download from the GitHub repository.
Expand All @@ -18,7 +18,7 @@ Man pages can be generated using the `--man` flag. Pre-built man pages are also
Completion files for popular shells, including bash, fish, zsh, elvish and PowerShell, can be generated using the `--completion <shell>` flag. Pre-built completion scripts are also available for download from the GitHub repository.

## Minor changes
- All arguments passed to tex-fmt can be inspected by passing `--args`
- Arguments passed to tex-fmt can be inspected by passing `--args`
- Fixed bug with `\itemsep` matching the `\item` pattern
- Added last non-indented line number to "Indent did not return to zero" error messages
- Removed LTO optimization to improve compile time with minimal effect on run time
Expand Down
41 changes: 22 additions & 19 deletions notes.org
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,26 @@
** Args resolver
** GitHub README
* Release process
** DONE Update release notes
*** DONE git log --oneline --no-merges vX.X.X..main
*** DONE Write in NEWS.md
** DONE Update version number in Cargo.toml
** DONE Update Nix flake and lock
*** DONE Check for new NixOS version (nixos-XX.XX) for flake.nix
*** DONE just nix
** DONE Update Rust version
*** DONE just upgrade
** DONE Run tests
*** DONE just
*** DONE just perf
*** DONE Update performance results in README.md
** DONE Push to GitHub and check tests pass
** DONE Create a git tag
*** DONE git tag vX.X.X
*** DONE git push --tags
** DONE Publish to crates.io with cargo publish
** Publish GitHub release with notes
** 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) for flake.nix
*** 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
*** Pass --allow-dirty if notes.org has changed
** Publish GitHub release with notes from NEWS.md
*** GitHub binaries published automatically with actions
** Publish in nixpkgs
*** Check out master branch of nixpkgs fork
Expand All @@ -47,3 +48,5 @@
*** git push --set-upstream origin HEAD
*** Go to GitHub and create a pull request
*** Submit pull request and check relevant boxes
** Tidy repository
*** Commit any new changes to NEWS.md or notes.org
4 changes: 2 additions & 2 deletions tex-fmt.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
check = false
print = false
wrap = true
tabsize = 2
wraplen = 80
tabsize = 2
tabchar = "space"
verbosity = "warn"
stdin = false
verbosity = "warn"

0 comments on commit 5633f57

Please sign in to comment.