Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Changelog

## 0.17.0

* improve statements filtering by transfering comments. This fixes the `remove_types` rule issues related to lost comments ([#297](https://github.com/seaofvoices/darklua/pull/297))
* improve warning messages when a path can't be found in a Rojo sourcemap (when using the `roblox` require mode) ([#294](https://github.com/seaofvoices/darklua/pull/294))
* fix missing trailing commas when writing table types using the `retain_lines` generator ([#293](https://github.com/seaofvoices/darklua/pull/293))
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 = "darklua"
version = "0.16.0"
version = "0.17.0"
authors = ["jeparlefrancais <jeparlefrancais21@gmail.com>"]
edition = "2018"
readme = "README.md"
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ You can try darklua directly into your browser! Check out https://darklua.com/tr

# [Installation](https://darklua.com/docs/installation/)

## [GitHub Releases](https://github.com/seaofvoices/darklua/releases/latest)

There are pre-built versions of darklua under the [releases page](https://github.com/seaofvoices/darklua/releases) available for direct downloads.

## [Rokit](https://github.com/rojo-rbx/rokit)

When using [Rokit](https://github.com/rojo-rbx/rokit), install darklua with the command:
Expand All @@ -38,7 +42,7 @@ rokit add seaofvoices/darklua
If you are already using Foreman, then installing darklua is as simple as adding this line in the `foreman.toml` file:

```toml
darklua = { github = "seaofvoices/darklua", version = "=0.16.0" }
darklua = { github = "seaofvoices/darklua", version = "=0.17.0" }
```

# License
Expand Down
4 changes: 2 additions & 2 deletions site/content/docs/bundle/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ jobs:
<code>
[package]
name = "darklua"
version = "0.16.0"
version = "0.17.0"
edition = "2018"
readme = "README.md"
description = "Transform Lua scripts"
Expand Down Expand Up @@ -350,7 +350,7 @@ harness = false
name = "darklua",
readme = "README.md",
repository = "https://github.com/seaofvoices/darklua",
version = "0.16.0",
version = "0.17.0",
},
profile = {
dev = {
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/installation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ rokit add seaofvoices/darklua
If you are already using [Foreman](https://github.com/Roblox/foreman), then installing darklua is as simple as adding this line in the `foreman.toml` file:

```toml
darklua = { github = "seaofvoices/darklua", version = "=0.16.0" }
darklua = { github = "seaofvoices/darklua", version = "=0.17.0" }
```

## Download a Release
Expand Down
2 changes: 1 addition & 1 deletion site/content/rules/convert_luau_number.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Convert Luau numbers into Lua compatible numbers
added_in: "unreleased"
added_in: "0.17.0"
parameters: []
examples:
- content: "print(0b1000_0001)"
Expand Down
2 changes: 1 addition & 1 deletion site/content/rules/convert_square_root_call.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: "Convert calls to `math.sqrt(value)` into an exponent form (`value ^ 0.5`)"
added_in: "unreleased"
added_in: "0.17.0"
parameters: []
examples:
- content: "local result = math.sqrt(16)"
Expand Down
4 changes: 2 additions & 2 deletions site/content/rules/inject_global_value.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ parameters:
type: string
description: An environment variable to read the value from
- name: env_json
added_in: "unreleased"
added_in: "0.17.0"
type: string
description: An environment variable to read the json-encoded value from
- name: default_value
added_in: "unreleased"
added_in: "0.17.0"
type: any
description: The default value when using an environment variable that is not defined
examples:
Expand Down
2 changes: 1 addition & 1 deletion site/content/rules/remove_method_call.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Removes usages of the method syntax (`:`) in function calls
added_in: "unreleased"
added_in: "0.17.0"
parameters: []
examples:
- content: "obj:method()"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//!
//! ```toml
//! [dependencies]
//! darklua = "0.16.0"
//! darklua = "0.17.0"
//! ```
//!
//! This library is designed for developers who want to integrate Lua/Luau transformation capabilities
Expand Down
Loading