chore: update JohnnyMorganz/StyLua (2.3.1 → 2.5.2) #1

Merged
Wuast94 merged 1 commit from updatarr/johnnymorganz-stylua-0b6f0ef165 into main 2026-09-06 17:18:30 +02:00
Owner

Updates JohnnyMorganz/StyLua.

Links:

Automerge: Disabled because no Updatarr config was found

Updates

Dependency From To Type Locations
JohnnyMorganz/StyLua 2.3.1 2.5.2 minor [1] L17

Files

  • [1] .forgejo/workflows/publish.yml

Release notes

JohnnyMorganz/StyLua (2.3.1 → 2.5.2)

v2.4.0: v2.4.0

Compare source

Source

Source ref: v2.4.0

[2.4.0] - 2026-03-07

Added

  • Added flag --no-ignore-vcs to continue formatting files listed in a .gitignore file, instead of skipping over them (#895)
  • Support call_parentheses = Input in editorconfig (#1057)
  • Luau: Support formatting explicit type instantiations (f<<T>>(), obj:method<<T>>())
  • Support stylua_syntax and stylua_block_newline_gaps properties in editorconfig (#1054)

Fixed

  • Fixed syntax error in output when a single-line comment appears between an index suffix and a table call argument, e.g. foo.bar -- comment { } (#873)
  • Fixed malformed formatting when a binary expression inside of a function call with comments around the operators is incorrectly collapsed onto one line (#996)
  • Fixed repeated unary minus on long lines being collapsed into a comment, e.g. - - - - -5 becoming -----5 (#1075)
  • Fixed --preserve-block-newline-gaps CLI flag not being applied as a config override
  • Fixed LSP not respecting .stylua.toml on Windows due to incorrect file URI to path conversion (#1051)

External Contributions

New Contributors

Full Changelog: v2.3.1...v2.4.0

v2.4.1: v2.4.1

Compare source

Source

Source ref: v2.4.1

[2.4.1] - 2026-04-06

Fixed

  • Luau: Fixed panic when formatting explicit type instantiation (f<<T>>()) inside a nested function call argument (e.g. as a callback) (#1088)
  • Luau: Fixed parentheses being incorrectly removed from single-element type packs in explicit type instantiation, e.g. f<<(number)>>(10) becoming f<<number>>(10) (#1089)

Full Changelog: v2.4.0...v2.4.1

v2.5.0: v2.5.0

Compare source

Source

Source ref: v2.5.0

[2.5.0] - 2026-05-16

Added

  • Luau: Added support for const variable assignments (const x = 1) and const function declarations (#1102)

Changed

  • The npm package @johnnymorganz/stylua-bin now 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 function and const function declarations that have attributes (e.g. @native) at the start of a block (#1109)

Full Changelog: v2.4.1...v2.5.0

v2.5.1: v2.5.1

Compare source

Source

Source ref: v2.5.1

There were no code changes in this release, it was an attempt to fix npm publishing, see https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.5.0 for the main updates

[2.5.1] - 2026-05-16

Fixed

  • Fixed npm publishing by bumping Node.js from 22 to 24 in CI workflows to support npm trusted publishing

Full Changelog: v2.5.0...v2.5.1

v2.5.2: v2.5.2

Compare source

Source

Source ref: v2.5.2

There were no code changes in this release, it was just a fix to npm publishing, see https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.5.0 for the main updates

[2.5.2] - 2026-05-16

Fixed

  • Fixed npm publishing failing provenance validation due to normalization of repository URL

Full Changelog: v2.5.1...v2.5.2

Updates [`JohnnyMorganz/StyLua`](https://github.com/JohnnyMorganz/StyLua). Links: - [Source](https://github.com/JohnnyMorganz/StyLua) - [Release](https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.5.2) - [Compare](https://github.com/JohnnyMorganz/StyLua/compare/v2.3.1...v2.5.2) Automerge: Disabled because no Updatarr config was found ### Updates | Dependency | From | To | Type | Locations | | --- | --- | --- | --- | --- | | <code>JohnnyMorganz/StyLua</code> | <code>2.3.1</code> | <code>2.5.2</code> | minor | [1] L17 | ### Files - [1] <code>.forgejo/workflows/publish.yml</code> ### Release notes <details> <summary>JohnnyMorganz/StyLua (2.3.1 → 2.5.2)</summary> ### [`v2.4.0`](https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.4.0): v2.4.0 [Compare source](https://github.com/JohnnyMorganz/StyLua/compare/v2.3.1...v2.4.0) [Source](https://github.com/JohnnyMorganz/StyLua) Source ref: <code>v2.4.0</code> <h2>[2.4.0] - 2026-03-07</h2> <h3>Added</h3> <ul> <li>Added flag <code>--no-ignore-vcs</code> to continue formatting files listed in a <code>.gitignore</code> file, instead of skipping over them (<a href="https://github.com/JohnnyMorganz/StyLua/issues/895" data-hovercard-type="issue" data-hovercard-url="/JohnnyMorganz/StyLua/issues/895/hovercard">#895</a>)</li> <li>Support <code>call_parentheses = Input</code> in editorconfig (<a href="https://github.com/JohnnyMorganz/StyLua/pull/1057" data-hovercard-type="pull_request" data-hovercard-url="/JohnnyMorganz/StyLua/pull/1057/hovercard">#1057</a>)</li> <li>Luau: Support formatting explicit type instantiations (<code>f&lt;&lt;T&gt;&gt;()</code>, <code>obj:method&lt;&lt;T&gt;&gt;()</code>)</li> <li>Support <code>stylua_syntax</code> and <code>stylua_block_newline_gaps</code> properties in editorconfig (<a href="https://github.com/JohnnyMorganz/StyLua/issues/1054" data-hovercard-type="issue" data-hovercard-url="/JohnnyMorganz/StyLua/issues/1054/hovercard">#1054</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>Fixed syntax error in output when a single-line comment appears between an index suffix and a table call argument, e.g. <code>foo.bar -- comment { }</code> (<a href="https://github.com/JohnnyMorganz/StyLua/issues/873" data-hovercard-type="issue" data-hovercard-url="/JohnnyMorganz/StyLua/issues/873/hovercard">#873</a>)</li> <li>Fixed malformed formatting when a binary expression inside of a function call with comments around the operators is incorrectly collapsed onto one line (<a href="https://github.com/JohnnyMorganz/StyLua/issues/996" data-hovercard-type="issue" data-hovercard-url="/JohnnyMorganz/StyLua/issues/996/hovercard">#996</a>)</li> <li>Fixed repeated unary minus on long lines being collapsed into a comment, e.g. <code>- - - - -5</code> becoming <code>-----5</code> (<a href="https://github.com/JohnnyMorganz/StyLua/issues/1075" data-hovercard-type="issue" data-hovercard-url="/JohnnyMorganz/StyLua/issues/1075/hovercard">#1075</a>)</li> <li>Fixed <code>--preserve-block-newline-gaps</code> CLI flag not being applied as a config override</li> <li>Fixed LSP not respecting <code>.stylua.toml</code> on Windows due to incorrect file URI to path conversion (<a href="https://github.com/JohnnyMorganz/StyLua/issues/1051" data-hovercard-type="issue" data-hovercard-url="/JohnnyMorganz/StyLua/issues/1051/hovercard">#1051</a>)</li> </ul> <hr> <h2>External Contributions</h2> <ul> <li>Remove WASM build workaround by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/magic-akari/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/magic-akari">@magic-akari</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3833126321" data-permission-text="Title is private" data-url="https://github.com/JohnnyMorganz/StyLua/issues/1060" data-hovercard-type="pull_request" data-hovercard-url="/JohnnyMorganz/StyLua/pull/1060/hovercard" href="https://github.com/JohnnyMorganz/StyLua/pull/1060">#1060</a></li> <li>Fix <code>call_parentheses = Input</code> don't work in editorconfig by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/phanen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/phanen">@phanen</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3760118083" data-permission-text="Title is private" data-url="https://github.com/JohnnyMorganz/StyLua/issues/1057" data-hovercard-type="pull_request" data-hovercard-url="/JohnnyMorganz/StyLua/pull/1057/hovercard" href="https://github.com/JohnnyMorganz/StyLua/pull/1057">#1057</a></li> <li>Fix path conversion on Windows by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/8LWXpg/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/8LWXpg">@8LWXpg</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3943912759" data-permission-text="Title is private" data-url="https://github.com/JohnnyMorganz/StyLua/issues/1068" data-hovercard-type="pull_request" data-hovercard-url="/JohnnyMorganz/StyLua/pull/1068/hovercard" href="https://github.com/JohnnyMorganz/StyLua/pull/1068">#1068</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/8LWXpg/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/8LWXpg">@8LWXpg</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3943912759" data-permission-text="Title is private" data-url="https://github.com/JohnnyMorganz/StyLua/issues/1068" data-hovercard-type="pull_request" data-hovercard-url="/JohnnyMorganz/StyLua/pull/1068/hovercard" href="https://github.com/JohnnyMorganz/StyLua/pull/1068">#1068</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/JohnnyMorganz/StyLua/compare/v2.3.1...v2.4.0"><tt>v2.3.1...v2.4.0</tt></a></p> ### [`v2.4.1`](https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.4.1): v2.4.1 [Compare source](https://github.com/JohnnyMorganz/StyLua/compare/v2.3.1...v2.4.1) [Source](https://github.com/JohnnyMorganz/StyLua) Source ref: <code>v2.4.1</code> <h2>[2.4.1] - 2026-04-06</h2> <h3>Fixed</h3> <ul> <li>Luau: Fixed panic when formatting explicit type instantiation (<code>f&lt;&lt;T&gt;&gt;()</code>) inside a nested function call argument (e.g. as a callback) (<a href="https://github.com/JohnnyMorganz/StyLua/issues/1088" data-hovercard-type="issue" data-hovercard-url="/JohnnyMorganz/StyLua/issues/1088/hovercard">#1088</a>)</li> <li>Luau: Fixed parentheses being incorrectly removed from single-element type packs in explicit type instantiation, e.g. <code>f&lt;&lt;(number)&gt;&gt;(10)</code> becoming <code>f&lt;&lt;number&gt;&gt;(10)</code> (<a href="https://github.com/JohnnyMorganz/StyLua/issues/1089" data-hovercard-type="issue" data-hovercard-url="/JohnnyMorganz/StyLua/issues/1089/hovercard">#1089</a>)</li> </ul> <hr> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/JohnnyMorganz/StyLua/compare/v2.4.0...v2.4.1"><tt>v2.4.0...v2.4.1</tt></a></p> ### [`v2.5.0`](https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.5.0): v2.5.0 [Compare source](https://github.com/JohnnyMorganz/StyLua/compare/v2.3.1...v2.5.0) [Source](https://github.com/JohnnyMorganz/StyLua) Source ref: <code>v2.5.0</code> <h2>[2.5.0] - 2026-05-16</h2> <h3>Added</h3> <ul> <li>Luau: Added support for <code>const</code> variable assignments (<code>const x = 1</code>) and <code>const function</code> declarations (<a href="https://github.com/JohnnyMorganz/StyLua/issues/1102" data-hovercard-type="issue" data-hovercard-url="/JohnnyMorganz/StyLua/issues/1102/hovercard">#1102</a>)</li> </ul> <h3>Changed</h3> <ul> <li>The npm package <code>@johnnymorganz/stylua-bin</code> now ships pre-built binaries via platform-specific optional packages (<code>@johnnymorganz/stylua-bin-linux-x64</code>, <code>-linux-arm64</code>, <code>-darwin-x64</code>, <code>-darwin-arm64</code>, <code>-win32-x64</code>) instead of downloading the binary at install time. This makes the packages self-contained with no extra dependencies.</li> </ul> <h3>Fixed</h3> <ul> <li>Fixed npm publishing by bumping Node.js from 16 to 22 in CI workflows to support npm trusted publishing</li> <li>Luau: Fixed union/intersection type definitions not being hung when the type alone fits within the column width but the full line (including <code>=</code>) exceeds it (<a href="https://github.com/JohnnyMorganz/StyLua/issues/1104" data-hovercard-type="issue" data-hovercard-url="/JohnnyMorganz/StyLua/issues/1104/hovercard">#1104</a>)</li> <li>Luau: Fixed stray leading newlines not being removed from <code>local function</code> and <code>const function</code> declarations that have attributes (e.g. <code>@native</code>) at the start of a block (<a href="https://github.com/JohnnyMorganz/StyLua/issues/1109" data-hovercard-type="issue" data-hovercard-url="/JohnnyMorganz/StyLua/issues/1109/hovercard">#1109</a>)</li> </ul> <hr> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/JohnnyMorganz/StyLua/compare/v2.4.1...v2.5.0"><tt>v2.4.1...v2.5.0</tt></a></p> ### [`v2.5.1`](https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.5.1): v2.5.1 [Compare source](https://github.com/JohnnyMorganz/StyLua/compare/v2.3.1...v2.5.1) [Source](https://github.com/JohnnyMorganz/StyLua) Source ref: <code>v2.5.1</code> <p><em>There were no code changes in this release, it was an attempt to fix npm publishing, see <a href="https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.5.0">https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.5.0</a> for the main updates</em></p> <h2>[2.5.1] - 2026-05-16</h2> <h3>Fixed</h3> <ul> <li>Fixed npm publishing by bumping Node.js from 22 to 24 in CI workflows to support npm trusted publishing</li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/JohnnyMorganz/StyLua/compare/v2.5.0...v2.5.1"><tt>v2.5.0...v2.5.1</tt></a></p> ### [`v2.5.2`](https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.5.2): v2.5.2 [Compare source](https://github.com/JohnnyMorganz/StyLua/compare/v2.3.1...v2.5.2) [Source](https://github.com/JohnnyMorganz/StyLua) Source ref: <code>v2.5.2</code> <p><em>There were no code changes in this release, it was just a fix to npm publishing, see <a href="https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.5.0">https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.5.0</a> for the main updates</em></p> <h2>[2.5.2] - 2026-05-16</h2> <h3>Fixed</h3> <ul> <li>Fixed npm publishing failing provenance validation due to normalization of repository URL</li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/JohnnyMorganz/StyLua/compare/v2.5.1...v2.5.2"><tt>v2.5.1...v2.5.2</tt></a></p> </details>
Wuast94 changed title from chore: update JohnnyMorganz/StyLua to v2.5.2 to chore: update JohnnyMorganz/StyLua to 2.5.2 2026-09-02 16:10:06 +02:00
Wuast94 force-pushed updatarr/johnnymorganz-stylua-0b6f0ef165 from 95ba7fac92 to ae0b1f6fc1 2026-09-02 16:10:07 +02:00 Compare
Wuast94 changed title from chore: update JohnnyMorganz/StyLua to 2.5.2 to chore: update JohnnyMorganz/StyLua (2.3.1 → 2.5.2) 2026-09-05 02:06:28 +02:00
Wuast94 force-pushed updatarr/johnnymorganz-stylua-0b6f0ef165 from ae0b1f6fc1 to 29e58c0992 2026-09-05 02:06:29 +02:00 Compare
Wuast94 force-pushed updatarr/johnnymorganz-stylua-0b6f0ef165 from 29e58c0992 to 0f520aff86 2026-09-06 02:57:01 +02:00 Compare
Wuast94 force-pushed updatarr/johnnymorganz-stylua-0b6f0ef165 from 0f520aff86 to a9129ad6c4 2026-09-06 04:30:02 +02:00 Compare
Wuast94 force-pushed updatarr/johnnymorganz-stylua-0b6f0ef165 from a9129ad6c4 to 6c2c464de0 2026-09-06 06:02:20 +02:00 Compare
Wuast94 force-pushed updatarr/johnnymorganz-stylua-0b6f0ef165 from 6c2c464de0 to 2d7e6cdb87 2026-09-06 13:35:07 +02:00 Compare
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Wuast94/wuastbude-pack!1
No description provided.