Skip to content

Apheleia 4.3

Latest
Compare
Choose a tag to compare
@raxod502 raxod502 released this 13 Nov 03:52

Features

  • New user option apheleia-skip-functions, like apheleia-inhibit-functions but for skipping a formatter run even when apheleia-mode is generally enabled (#317).
  • ocp-indent for Ocaml (#306).

Formatters

Bugs fixed

  • apheleia-npx would use an incorrect path for the Yarn PnP ESM loader (#301).
  • apheleia-npx did not correctly guard against word splitting and would fail when directory names contained spaces (#301).
  • apheleia-npx was sometimes not able to find formatters in a Yarn PnP project if there was also a node_modules folder at the root of the project (#301).
  • Ormolu is now passed the --stdin-input-file argument, which has become required (#312).
  • mix format is now passed the --stdin-filename argument which is required in some cases. The version of Mix is autodetected and this option is only passed when it is supported (#319).
  • mix format is now run with MIX_QUIET to supress compilation output (#326)
  • Beancount files are formatted without an error (#309).

Internal

  • Improvements to formatter test framework, it is now possible to write tests that have additional data files (#301).