github JohnnyMorganz/StyLua v0.14.3

latest releases: v0.20.0, v0.19.1, v0.19.0...
20 months ago

[0.14.3] - 2022-08-27

Fixed

General

  • Fixed macOS aarch64 target in release workflow (#528)
  • Fixed leading comments lost from an expression when excessive parentheses are removed from it (#530)
  • Fixed comments present in a complex expression not forcing multiline hanging leading to a syntax error (#524)
  • Take into account the extra line created when hanging at equals token in an assignment. This should prevent unnecessary hanging (#542)
  • Fixed comments added to a newly created trailing comment not being formatted (#547)
  • Fixed call chain with a small prefix not being kept inlined causing unstable formatting (#514)
  • Fixed shape computation for table fields causing unnecessary expansion (#551)
  • Fixed hanging the prefix string in ("str"):call unnecessarily when it provides no benefit (#508)
  • Fixed table field value being expanded when it could be hanged instead (#541)

Luau

  • Long union/interesection types inside of a parentheses will now cause the parentheses to expand multiline (#531)
  • Fixed unnecessary break on else in an if-expression when the expression contains a comment (#520)

What's Changed

New Contributors

Full Changelog: v0.14.2...v0.14.3

Don't miss a new StyLua release

NewReleases is sending notifications on new releases.