Skip to content

Commit 686f3bf

Browse files
committed
v0.8.0
1 parent 3f6fbe0 commit 686f3bf

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
9+
## [0.8.0] - 2021-04-30
810
### Added
911
- Parentheses around conditions are now removed, as they are not required in Lua. `if (foo and (not bar or baz)) then ... end` turns to `if foo and (not bar or baz) then ... end`
1012
- Long multi-variable assignments which surpass the column width, even when hanging on the equals token, will now hang on multiple lines.

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "stylua"
3-
version = "0.7.1"
3+
version = "0.8.0"
44
authors = ["JohnnyMorganz <therobloxbot@gmail.com>"]
55
description = "A code formatter for Lua"
66
license = "MPL-2.0"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ or would like to format Lua 5.2 code, please see [installing from crates.io](#fr
1515
### With [Foreman](https://github.com/Roblox/foreman)
1616
StyLua can be installed using foreman. Add the following to your `foreman.toml` file:
1717
```toml
18-
stylua = { source = "JohnnyMorganz/stylua", version = "0.7.1" }
18+
stylua = { source = "JohnnyMorganz/stylua", version = "0.8.0" }
1919
```
2020

2121
### Using the VSCode Extension

0 commit comments

Comments
 (0)