Repository navigation
v2.6.0 #1172
JohnnyMorganz
started this conversation in
General
v2.6.0
#1172
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
[2.6.0] - 2026-10-10
Added
if local/if constcondition bindings in bothifstatements andifexpressions (e.g.if local x = getValue() then ... end)Inputmode forcollapse_simple_statement, preserving whether simple statements are single-line or multi-line in the input while still formatting their contents (#1112)Fixed
-- stylua: ignore start/endranges inside multiline tables reformatting the ignored fields (#1134)const, e.g.const Foo = require(path)read/writeaccess modifier merging into the element type in array type shorthand, changing the meaning of the code ({ read Foo }was formatted as{ readFoo }) (#1126)\r\r\n) on every format whenline_endings = "Windows", and keeping their original\r\nwhen formatting to Unix line endings (#1167)External Contributions
constimports in luau by @ddashdev in Fix sort_requires not recognizingconstimports in luau #1123New Contributors
constimports in luau #1123Full Changelog: v2.5.2...v2.6.0
This discussion was created from the release v2.6.0.
All reactions