Skip to content

Commit

Permalink
v0.12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyMorganz committed Feb 6, 2022
1 parent 3be10b4 commit e4ba0aa
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.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)
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.1"
version = "0.12.2"
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 @@ -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
```
Expand All @@ -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.

Expand Down

0 comments on commit e4ba0aa

Please sign in to comment.