Skip to content

zprint-filter-1.2.5

Compare
Choose a tag to compare
@kkinnear kkinnear released this 24 Jan 19:05
· 94 commits to main since this release

Lots of minor to moderate changes and fixes in this release.

NOTE: This is the first release where zprintl (the linux pre-built binary) has been taken from the GitHub CI build and test process, instead of built on my aging 2012 Intel MacBook Air. Please let me know if you have any issues using zprintl. Thanks!

  • Added a bunch of changes to justification, which are not on by default. In pairs, if you have a collection as the left-hand-side of a pair, and you would like the right-hand-side of the pair to format on the last line of a multi-line left-hand-side, include :style :multi-lhs-hang. See the CHANGELOG.md for more details.
  • You can now get regular expression matching for function names -> function types. More info in the CHANGELOG too.
  • Formatted files would sometimes change if they were immediately formatted again. Particularly when using :respect-nl. This is now mostly fixed. There are still some issues when comments wrap, which I will be working on, but formatting now appears largely stable. This has led to some changes in the formatting heuristics, which were rather "discontinuous", and didn't blend gracefully together. So the formatting has changed as I have wrestled with the heuristics (by turning some off, and changing the tuning for others to compensate). The changes aren't terrible, but if you prefer the old way, use :style :original-tuning. You will lose the stability, but if it didn't bother you before then I expect it won't bother you now.
  • Lots of fixes for bugs, for example empty vectors were dropped when using :format :off. See the CHANGELOG for details of all of the fixes.