Skip to content

v1.1.0 (Nov 2, 2023)

Latest
Compare
Choose a tag to compare
@shwestrick shwestrick released this 02 Nov 15:25
· 3 commits to main since this release

In this release:

  • #77: --safety-check flag for checking that the output of smlfmt is correct, i.e., that the result is valid SML that exactly matches the source except for whitespace.
    • Note: originally called --check but renamed to --safety-check in #92.
  • #84, #86: allow passing input and output through stdin and stdout.
    • For example: echo "val x = 5 val y = 6" | ./smlfmt or cat test.sml | ./smlfmt > output.sml
  • #87: --read-only flag, useful for checking for syntax errors
  • #93: make install formula
  • #92: --check flag, to check if a file has already been formatted. Useful for CI.
  • Some bugfixes and other small improvements, e.g., 656885b 4d1952a

Also note that https://github.com/diku-dk/smlfmt.el offers Emacs integration for smlfmt.

Thanks @kopecs @p-ouellette @brandonspark @athas @ratsclub for your contributions!