diff --git a/CHANGELOG.md b/CHANGELOG.md index 704bd903..efd42018 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [0.12.0] - 2022-01-31 ### Added - Added option `call_parentheses`: Specify whether to apply parentheses on function calls with single string or table arg. Possible options: `Always` (default), `NoSingleString`, `NoSingleTable`, `None`. ([#329](https://github.com/JohnnyMorganz/StyLua/issues/329)) diff --git a/Cargo.lock b/Cargo.lock index 50c786fe..50312072 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -818,7 +818,7 @@ dependencies = [ [[package]] name = "stylua" -version = "0.11.3" +version = "0.12.0" dependencies = [ "anyhow", "console", diff --git a/Cargo.toml b/Cargo.toml index e898e545..d12a2f02 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "stylua" -version = "0.11.3" +version = "0.12.0" authors = ["JohnnyMorganz "] description = "A code formatter for Lua" license = "MPL-2.0" diff --git a/README.md b/README.md index 3fcb0e39..80b56461 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ StyLua prebuilt binary from GitHub Actions). Add the following to your `.pre-commit-config.yaml` file: ```yaml - repo: https://github.com/JohnnyMorganz/StyLua - rev: v0.11.3 + rev: v0.12.0 hooks: - id: stylua # or stylua-system / stylua-github ``` @@ -52,7 +52,7 @@ Add the following to your `.pre-commit-config.yaml` file: - [VSCode Extension](https://marketplace.visualstudio.com/items?itemName=JohnnyMorganz.stylua) - [Foreman](https://github.com/Roblox/foreman) - Add the following to your `foreman.toml` file: ```toml -stylua = { source = "JohnnyMorganz/stylua", version = "0.11.3" } +stylua = { source = "JohnnyMorganz/stylua", version = "0.12.0" } ``` - A community maintained package repository. Please note, these packages are maintained by third-parties and we do not control their packaging manifests.