Skip to content

v0.15.0

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Sep 17:52

This release introduces support for Lua 5.3 and Lua 5.4!

When compiling/installing with cargo, pass --features lua53 or --features lua54 respectively. By default, the GitHub Releases build with Lua 5.3 and 5.4 enabled (but note issues such as #407)

Changes to GitHub Release Artifacts

This release changes the naming for binary artifacts. We now append the arch to the end of all artifacts

  • stylua-win64.zip -> stylua-windows-x86_64.zip
  • stylua-macos.zip -> stylua-macos-x86_64.zip
  • stylua-linux.zip -> stylua-linux-x86_64.zip

Linux aarch64 is also now supported, alongside macOS aarch64.

The old artifact naming is kept temporarily for backwards compatibility. We recommend any references to be changed, as these artifacts will no longer be produced in future versions.


[0.15.0] - 2022-09-21

Added

  • Added support for Lua 5.3, gated behind the lua53 feature flag (#534)
  • Added support for Lua 5.4, gated behind the lua54 feature flag (#533)
  • Added --allow-hidden flag to allow entering and formatting hidden files/directories (#562)
  • Added --output-format=summary which can be used with --check to output a summary of the list of files not correctly formatted (#573)

Changed

  • We will no longer expand function calls when it contains an inlined multiline comment (#543, #561)

Fixed

  • Precommit hook now supports downloading aarch64 binary for M1 macs (#558)
  • Fixed mistransformations of generic for loop with comments in the expression list (#579)
  • Fixed then/else token not taken into account when formatting an if-expression (#582)
  • Fixed macos-aarch64 artifact for real

What's Changed

New Contributors

Full Changelog: v0.14.3...v0.15.0