From 59be1c313b50d3ee72f988c840f9a178792a4c72 Mon Sep 17 00:00:00 2001 From: JohnnyMorganz Date: Sat, 7 Dec 2024 14:57:04 +0100 Subject: [PATCH] v2.0.2 --- CHANGELOG.md | 5 ++++- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 6 +++--- stylua-npm-bin/package-lock.json | 4 ++-- stylua-npm-bin/package.json | 2 +- wasm/package.json | 2 +- 7 files changed, 13 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 06172ed0..f1dc3f5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.0.2] - 2024-12-07 + ### Fixed - Fixed regression where configuration present in current working directory not used when formatting from stdin and no `--stdin-filepath` is provided ([#928](https://github.com/JohnnyMorganz/StyLua/issues/928)) @@ -799,7 +801,8 @@ This feature is enabled by default, it can be disabled using `--no-editorconfig` Initial alpha release -[unreleased]: https://github.com/JohnnyMorganz/StyLua/compare/v2.0.1...HEAD +[unreleased]: https://github.com/JohnnyMorganz/StyLua/compare/v2.0.2...HEAD +[2.0.2]: https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.0.2 [2.0.1]: https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.0.1 [2.0.0]: https://github.com/JohnnyMorganz/StyLua/releases/tag/v2.0.0 [0.20.0]: https://github.com/JohnnyMorganz/StyLua/releases/tag/v0.20.0 diff --git a/Cargo.lock b/Cargo.lock index e8ef69ec..74b4a8bd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -901,7 +901,7 @@ dependencies = [ [[package]] name = "stylua" -version = "2.0.1" +version = "2.0.2" dependencies = [ "anyhow", "assert_cmd", diff --git a/Cargo.toml b/Cargo.toml index 74203ca7..8dc74aee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "stylua" -version = "2.0.1" +version = "2.0.2" authors = ["JohnnyMorganz "] description = "A code formatter for Lua" license = "MPL-2.0" diff --git a/README.md b/README.md index 8bb36527..788430c6 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Add the following to your `.pre-commit-config.yaml` file: ```yaml - repo: https://github.com/JohnnyMorganz/StyLua - rev: v2.0.1 + rev: v2.0.2 hooks: - id: stylua # or stylua-system / stylua-github ``` @@ -84,7 +84,7 @@ StyLua is available on the [Docker Hub](https://hub.docker.com/r/johnnymorganz/s If you are using Docker, the easiest way to install StyLua is: ```dockerfile -COPY --from=JohnnyMorganz/StyLua:2.0.1 /stylua /usr/bin/stylua +COPY --from=JohnnyMorganz/StyLua:2.0.2 /stylua /usr/bin/stylua ``` ### Homebrew @@ -101,7 +101,7 @@ brew install stylua - [Aftman](https://github.com/LPGhatguy/aftman) ```sh -aftman add johnnymorganz/stylua@2.0.1 +aftman add johnnymorganz/stylua@2.0.2 ``` - A community maintained package repository. Please note, these packages are maintained by third-parties and we do not control their packaging manifests. diff --git a/stylua-npm-bin/package-lock.json b/stylua-npm-bin/package-lock.json index 71ff1ef7..84276223 100644 --- a/stylua-npm-bin/package-lock.json +++ b/stylua-npm-bin/package-lock.json @@ -1,12 +1,12 @@ { "name": "@johnnymorganz/stylua-bin", - "version": "2.0.1", + "version": "2.0.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@johnnymorganz/stylua-bin", - "version": "2.0.1", + "version": "2.0.2", "hasInstallScript": true, "license": "MPL-2.0", "dependencies": { diff --git a/stylua-npm-bin/package.json b/stylua-npm-bin/package.json index 6dd4056b..e9d3da55 100644 --- a/stylua-npm-bin/package.json +++ b/stylua-npm-bin/package.json @@ -1,6 +1,6 @@ { "name": "@johnnymorganz/stylua-bin", - "version": "2.0.1", + "version": "2.0.2", "description": "A code formatter for Lua", "bin": { "stylua": "./run.js" diff --git a/wasm/package.json b/wasm/package.json index 474c3ae2..f3635424 100644 --- a/wasm/package.json +++ b/wasm/package.json @@ -4,7 +4,7 @@ "JohnnyMorganz " ], "description": "A code formatter for Lua", - "version": "2.0.1", + "version": "2.0.2", "license": "MPL-2.0", "readme": "README.md", "repository": {