StyLua icon indicating copy to clipboard operation
StyLua copied to clipboard

Stabilisation Roadmap

Open JohnnyMorganz opened this issue 3 years ago • 0 comments

StyLua is pretty stable now, with the formatting not changing wildly anymore. We should look to stabilise to something like v2.0.0

Stabilisation Guarantees:

  • The formatting output is stable, and should not change excessively
  • Major code formatting changes will be classified as a breaking change and will require a major version bump
  • Minor version bumps will still allow minor style changes, especially around edge cases.
  • With the above three points, a minor/patch version bump should not result in excessive diff noise

Checklist before stabilisation:

  • [ ] Runtime syntax selection support (syntax = "Lua51"/"Lua52"/"Luau") [#103, #407]. This requires support upstream in full-moon
  • [x] https://github.com/JohnnyMorganz/StyLua/issues/448
  • [ ] Investigate ways to allow users to pin to an exact version of stylua easily in their tools (to prevent mismatching diffs - #398)
  • [x] (Potentially) Lua 5.3 and Lua 5.4 support [#533, #534]. This requires support upstream in full-moon
  • [ ] Make stdin support respect-ignores flag: https://github.com/JohnnyMorganz/StyLua/pull/765
  • [ ] Remove legacy build artifacts (old names) from releases

... and a bit more as I continue to think on it. (All issues labelled as "bug" should also be resolved beforehand)

JohnnyMorganz avatar May 10 '22 12:05 JohnnyMorganz