From 2070dfb0bc61927fc07f55184151948a131d0390 Mon Sep 17 00:00:00 2001 From: JohnnyMorganz Date: Thu, 31 Mar 2022 22:13:51 +0100 Subject: [PATCH] v0.13.0 --- 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 977adb8e..9ba7b1ef 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.13.0] - 2022-03-31 ### Added - Added support for alternative diff outputs. You can now use `--output-format=unified` or `--output-format=json` to output a unified diff or json mismatches list respectively. A unified diff can be fed into other tools such as `patch` or `delta`, whilst a JSON diff provides a more machine readable format useful for extensions. ([#230](https://github.com/JohnnyMorganz/StyLua/issues/230)) diff --git a/Cargo.lock b/Cargo.lock index 057f5eaf..a61164ea 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -887,7 +887,7 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] name = "stylua" -version = "0.12.5" +version = "0.13.0" dependencies = [ "anyhow", "assert_cmd", diff --git a/Cargo.toml b/Cargo.toml index 7a058321..8bd679ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "stylua" -version = "0.12.5" +version = "0.13.0" authors = ["JohnnyMorganz "] description = "A code formatter for Lua" license = "MPL-2.0" diff --git a/README.md b/README.md index 5114c195..51534eac 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,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.5 + rev: v0.13.0 hooks: - id: stylua # or stylua-system / stylua-github ``` @@ -53,7 +53,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.5" } +stylua = { source = "JohnnyMorganz/stylua", version = "0.13.0" } ``` - A community maintained package repository. Please note, these packages are maintained by third-parties and we do not control their packaging manifests.