Skip to content

Commit

Permalink
v0.1.0-alpha.2
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyMorganz committed Dec 22, 2020
1 parent 0906b64 commit 1f2c421
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Changelog
All notable changes to this project will be documented in this file.

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.1.0-alpha.2] - 2020-12-22
### Added
- Single quote escapes are now removed from string literals if present when converting to double-quoted strings

### Changed
- If there is a single argument in a function call, and it is either a table or anonymous function, the relevant start/end tokens are no longer pushed onto new lines
- Comments are now left completely unformatted, apart from trimming trailing whitespace at the end of single-line comments

### Fixed
- Double quotes are now escaped when converting from single quote to double quote strings

## [0.1.0-alpha] - 2020-12-22
Initial alpha release
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.1.0-alpha"
version = "0.1.0-alpha.2"
authors = ["JohnnyMorganz <[email protected]>"]
description = "A code formatter for Lua"
license = "MPL-2.0"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Please note, currently by default, StyLua is built with Luau features enabled. I
### With [Foreman](https://github.com/Roblox/foreman)
StyLua can be installed using foreman. Add the following to your `foreman.toml` file:
```
stylua = { source = "JohnnyMorganz/stylua", version = "0.1.0"}
stylua = { source = "JohnnyMorganz/stylua", version = "0.1.0-alpha.2" }
```

### From Crates.io
Expand Down

0 comments on commit 1f2c421

Please sign in to comment.