| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| stylua-windows-x86_64.zip | 2026-05-16 | 2.9 MB | |
| stylua-macos-x86_64.zip | 2026-05-16 | 3.1 MB | |
| stylua-macos-aarch64.zip | 2026-05-16 | 3.0 MB | |
| stylua-linux-x86_64-musl.zip | 2026-05-16 | 3.4 MB | |
| stylua-linux-x86_64.zip | 2026-05-16 | 3.3 MB | |
| stylua-linux-aarch64.zip | 2026-05-16 | 3.3 MB | |
| stylua-linux-aarch64-musl.zip | 2026-05-16 | 3.3 MB | |
| README.md | 2026-05-16 | 1.2 kB | |
| v2.5.0 source code.tar.gz | 2026-05-16 | 452.6 kB | |
| v2.5.0 source code.zip | 2026-05-16 | 748.1 kB | |
| Totals: 10 Items | 23.5 MB | 0 | |
[2.5.0] - 2026-05-16
Added
- Luau: Added support for
constvariable assignments (const x = 1) andconst functiondeclarations (#1102)
Changed
- The npm package
@johnnymorganz/stylua-binnow ships pre-built binaries via platform-specific optional packages (@johnnymorganz/stylua-bin-linux-x64,-linux-arm64,-darwin-x64,-darwin-arm64,-win32-x64) instead of downloading the binary at install time. This makes the packages self-contained with no extra dependencies.
Fixed
- Fixed npm publishing by bumping Node.js from 16 to 22 in CI workflows to support npm trusted publishing
- Luau: Fixed union/intersection type definitions not being hung when the type alone fits within the column width but the full line (including
=) exceeds it (#1104) - Luau: Fixed stray leading newlines not being removed from
local functionandconst functiondeclarations that have attributes (e.g.@native) at the start of a block (#1109)
Full Changelog: https://github.com/JohnnyMorganz/StyLua/compare/v2.4.1...v2.5.0