Skip to content

Commit 9c323db

Browse files
committed
v2.3.1
1 parent 4ea606c commit 9c323db

File tree

7 files changed

+13
-10
lines changed

7 files changed

+13
-10
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.3.1] - 2025-11-01
11+
1012
### Fixed
1113

1214
- Use character-wised diff instead of byte-wise diff in the LSP server so that it can handle multi-byte characters ([#1042](https://github.com/JohnnyMorganz/StyLua/issues/1042), [#1043](https://github.com/JohnnyMorganz/StyLua/issues/1043)).
@@ -865,7 +867,8 @@ This feature is enabled by default, it can be disabled using `--no-editorconfig`
865867

866868
Initial alpha release
867869

868-
[unreleased]: https://github.com/JohnnyMorganz/StyLua/compare/v2.3.0...HEAD
870+
[unreleased]: https://github.com/JohnnyMorganz/StyLua/compare/v2.3.1...HEAD
871+
[2.3.1]: https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.3.1
869872
[2.3.0]: https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.3.0
870873
[2.2.0]: https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.2.0
871874
[2.1.0]: https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.1.0

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "stylua"
3-
version = "2.3.0"
3+
version = "2.3.1"
44
authors = ["JohnnyMorganz <[email protected]>"]
55
description = "A code formatter for Lua"
66
license = "MPL-2.0"

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Add the following to your `.pre-commit-config.yaml` file:
6060

6161
```yaml
6262
- repo: https://github.com/JohnnyMorganz/StyLua
63-
rev: v2.3.0
63+
rev: v2.3.1
6464
hooks:
6565
- id: stylua # or stylua-system / stylua-github
6666
```
@@ -84,7 +84,7 @@ StyLua is available on the [Docker Hub](https://hub.docker.com/r/johnnymorganz/s
8484
If you are using Docker, the easiest way to install StyLua is:
8585

8686
```dockerfile
87-
COPY --from=JohnnyMorganz/StyLua:2.3.0 /stylua /usr/bin/stylua
87+
COPY --from=JohnnyMorganz/StyLua:2.3.1 /stylua /usr/bin/stylua
8888
```
8989

9090
### Homebrew
@@ -110,7 +110,7 @@ uv tool install git+https://github.com/johnnymorganz/stylua
110110
- [Aftman](https://github.com/LPGhatguy/aftman)
111111

112112
```sh
113-
aftman add johnnymorganz/[email protected].0
113+
aftman add johnnymorganz/[email protected].1
114114
```
115115

116116
- A community maintained package repository. Please note, these packages are maintained by third-parties and we do not control their packaging manifests.

stylua-npm-bin/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

stylua-npm-bin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@johnnymorganz/stylua-bin",
3-
"version": "2.3.0",
3+
"version": "2.3.1",
44
"description": "A code formatter for Lua",
55
"bin": {
66
"stylua": "./run.js"

wasm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"JohnnyMorganz <[email protected]>"
55
],
66
"description": "A code formatter for Lua",
7-
"version": "2.3.0",
7+
"version": "2.3.1",
88
"license": "MPL-2.0",
99
"readme": "README.md",
1010
"repository": {

0 commit comments

Comments
 (0)