Skip to content

Commit

Permalink
v0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyMorganz committed Mar 31, 2022
1 parent 14a0c76 commit 2070dfb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stylua"
version = "0.12.5"
version = "0.13.0"
authors = ["JohnnyMorganz <[email protected]>"]
description = "A code formatter for Lua"
license = "MPL-2.0"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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.

Expand Down

0 comments on commit 2070dfb

Please sign in to comment.