github kamadorueda/alejandra 4.1.0

one hour ago

Added

  • (experimental) A space_around_brackets configuration option.
  • The WASM format function accepts an optional configuration
    and returns formatter errors.
  • The build-wasm app accepts the wasm-pack target (web or nodejs).
  • Homebrew installation instructions.
  • Thank you messages for HigherOrderLogic, Jan T. Sott, Jonathan Ringer
    and icefery.

Changed

  • Recursion depth is controlled for faster formatting.
  • The WASM package moved into src/ and its tests run in CI.
  • Website links point to alejandra.kamadorueda.com.
  • Upgraded dependencies to their latest version.

Fixed

  • Multiline strings are not indented with tabs
    when tab indentation is used, because Nix keeps leading tabs (#474).
  • Trailing whitespace in multiline strings is kept (#409, #442).
  • Comment re-indentation uses the configured indentation.
  • The WASM format function returns an error
    instead of the unformatted input when the input does not parse.

Pull Requests

New Contributors

Full Changelog: 4.0.0...4.1.0

Don't miss a new alejandra release

NewReleases is sending notifications on new releases.