Skip to content

Commit a456a37

Browse files
committed
v2.3.0
1 parent e53a9e4 commit a456a37

File tree

7 files changed

+13
-12
lines changed

7 files changed

+13
-12
lines changed

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
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.0] - 2025-09-27
11+
1012
### Added
1113

1214
- The language server has an initialization option called `respect_editor_formatting_options`.
@@ -149,13 +151,11 @@ failing tests ([#824](https://github.com/JohnnyMorganz/StyLua/issues/824))
149151
### Changed
150152

151153
- Updated parser crate with following changes:
152-
153154
- Support Luau floor division (`//`)
154155
- Fix Luau string interpolation parsing
155156
- Fix Luau `\z` escape parsing
156157

157158
- Simplified access and modification patterns for StyLua configuration. You can now access the properties directly
158-
159159
- **Deprecated:** the old access patterns of `.property()` and `.with_property()` are now deprecated
160160
- **Breaking Change (WASM):** due to JS/TS lack of differentiation between `.property` / `.property()` implementation, the `.property()` functions were removed from WASM output.
161161

@@ -861,7 +861,8 @@ This feature is enabled by default, it can be disabled using `--no-editorconfig`
861861

862862
Initial alpha release
863863

864-
[unreleased]: https://github.com/JohnnyMorganz/StyLua/compare/v2.2.0...HEAD
864+
[unreleased]: https://github.com/JohnnyMorganz/StyLua/compare/v2.3.0...HEAD
865+
[2.3.0]: https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.3.0
865866
[2.2.0]: https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.2.0
866867
[2.1.0]: https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.1.0
867868
[2.0.2]: https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.0.2

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.2.0"
3+
version = "2.3.0"
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.2.0
63+
rev: v2.3.0
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.2.0 /stylua /usr/bin/stylua
87+
COPY --from=JohnnyMorganz/StyLua:2.3.0 /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/stylua@2.2.0
113+
aftman add johnnymorganz/stylua@2.3.0
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.2.0",
3+
"version": "2.3.0",
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.2.0",
7+
"version": "2.3.0",
88
"license": "MPL-2.0",
99
"readme": "README.md",
1010
"repository": {

0 commit comments

Comments
 (0)