From e4ba0aaa433cfb700836a521a287d7391d28e3a3 Mon Sep 17 00:00:00 2001 From: JohnnyMorganz Date: Sun, 6 Feb 2022 20:11:34 +0000 Subject: [PATCH] v0.12.2 --- CHANGELOG.md | 2 ++ Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 4 ++-- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 460d9d38..4907bd15 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.2] - 2022-02-06 ### Fixed - Fixed crash due to unhandled singleton type formatting under the `luau` feature flag. ([#358](https://github.com/JohnnyMorganz/StyLua/issues/358)) - Includes types in shape calculation for causing a generic for to go multiline under the `luau` feature flag. ([#360](https://github.com/JohnnyMorganz/StyLua/issues/360)s) diff --git a/Cargo.lock b/Cargo.lock index b824ad92..59157f1c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -818,7 +818,7 @@ dependencies = [ [[package]] name = "stylua" -version = "0.12.1" +version = "0.12.2" dependencies = [ "anyhow", "console", diff --git a/Cargo.toml b/Cargo.toml index 084f0b09..e34db5e9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "stylua" -version = "0.12.1" +version = "0.12.2" authors = ["JohnnyMorganz "] description = "A code formatter for Lua" license = "MPL-2.0" diff --git a/README.md b/README.md index da247c93..7bff0ecc 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.12.1 + rev: v0.12.2 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.12.1" } +stylua = { source = "JohnnyMorganz/stylua", version = "0.12.2" } ``` - A community maintained package repository. Please note, these packages are maintained by third-parties and we do not control their packaging manifests.