diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c5a7e88..1cd8f2d2 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.0] - 2024-11-17 + ### Breaking Changes - For automated downloaders: the legacy release artifacts `stylua-win64.zip`, `stylua-linux.zip` and `stylua-macos.zip` are no longer produced in GitHub releases, in favour of more specific names (e.g., `stylua-windows-x86_64`, `stylua-linux-x86_64` and `stylua-macos-x86_64`). @@ -782,7 +784,8 @@ This feature is enabled by default, it can be disabled using `--no-editorconfig` Initial alpha release -[unreleased]: https://github.com/JohnnyMorganz/StyLua/compare/v0.20.0...HEAD +[unreleased]: https://github.com/JohnnyMorganz/StyLua/compare/v2.0.0...HEAD +[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 [0.19.1]: https://github.com/JohnnyMorganz/StyLua/releases/tag/v0.19.1 [0.19.0]: https://github.com/JohnnyMorganz/StyLua/releases/tag/v0.19.0 diff --git a/Cargo.lock b/Cargo.lock index cf11ea52..3eba7187 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -901,7 +901,7 @@ dependencies = [ [[package]] name = "stylua" -version = "0.20.0" +version = "2.0.0" dependencies = [ "anyhow", "assert_cmd", diff --git a/Cargo.toml b/Cargo.toml index 6d02ebb2..c2cbf44f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "stylua" -version = "0.20.0" +version = "2.0.0" authors = ["JohnnyMorganz "] description = "A code formatter for Lua" license = "MPL-2.0" diff --git a/README.md b/README.md index 458bdf46..6475479c 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: v0.20.0 + rev: v2.0.0 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:0.20.0 /stylua /usr/bin/stylua +COPY --from=JohnnyMorganz/StyLua:2.0.0 /stylua /usr/bin/stylua ``` ### Homebrew diff --git a/stylua-npm-bin/package-lock.json b/stylua-npm-bin/package-lock.json index 28634ede..5525ee99 100644 --- a/stylua-npm-bin/package-lock.json +++ b/stylua-npm-bin/package-lock.json @@ -1,12 +1,12 @@ { "name": "@johnnymorganz/stylua-bin", - "version": "0.20.0", + "version": "2.0.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@johnnymorganz/stylua-bin", - "version": "0.20.0", + "version": "2.0.0", "hasInstallScript": true, "license": "MPL-2.0", "dependencies": { diff --git a/stylua-npm-bin/package.json b/stylua-npm-bin/package.json index 1dfe9b25..d4e8a651 100644 --- a/stylua-npm-bin/package.json +++ b/stylua-npm-bin/package.json @@ -1,6 +1,6 @@ { "name": "@johnnymorganz/stylua-bin", - "version": "0.20.0", + "version": "2.0.0", "description": "A code formatter for Lua", "bin": { "stylua": "./run.js" diff --git a/wasm/package.json b/wasm/package.json index d7546204..361842ed 100644 --- a/wasm/package.json +++ b/wasm/package.json @@ -4,7 +4,7 @@ "JohnnyMorganz " ], "description": "A code formatter for Lua", - "version": "0.20.0", + "version": "2.0.0", "license": "MPL-2.0", "readme": "README.md", "repository": {