Releases: luau-lang/lute
Releases · luau-lang/lute
0.1.0-nightly.20250518
Add Lute.Test target for C++ unit tests (#281) This PR adds the `doctest.h` header to our `tests` folder, along with a file containing a simple test. The `Lute.Test` target is now an option when running luthier. Tests can be run like this: 1. `python3 tools/luthier.py configure Lute.Test` 2. `python3 tools/luthier.py build Lute.Test` 3. `python3 tools/luthier.py run Lute.Test` Resolves #197.
0.1.0-nightly.20250517
Fix certain invalid `@lute/` runtime requires giving a nonsensical er…
0.1.0-nightly.20250514
Explicit port reuse in net.serve (#276) Closes #127
0.1.0-nightly.20250513
CST: Improve serialization of functions, handle AstTypeFunction (#275) This PR introduces support for serializing an AstTypeFunction. The most interesting part of this is the parameters, where the name (and hence colon) is optional. For this, we introduce a type `AstTypeFunctionParameter` to contain this information. We also serialize the vararg annotation independently. As part of this, we also extend the serialization on normal functions to include attributes, varargs, and the return type. For now we serialize a placeholder for the `:` token (in functions and for AstLocal too), which will get fixed after we sync to Luau 0.673.
0.1.0-nightly.20250512
CST: Handle generic definitions (#268) This PR adds the generic definition nodes into the function and type alias definitions. This involves serializing AstGenericType / AstGenericTypePack. Generic definitions can be punctuated, and are separated by commas. However, there is only 1 list of overall comma positions in the CST node. Hence we implement a way to split the commas so that we can separate `generics` and `genericPacks`. Note that this means the last element of `generics` in the punctuated list may still have a comma. --------- Co-authored-by: ariel <aweiss@hey.com>
0.1.0-nightly.20250511
CST: Handle table types (#255)
0.1.0-nightly.20250510
net: request (#263)
0.1.0-nightly.20250508
Tagged userdata headers (#262) Closes #261 by creating a `userdatas.h` header file under the Runtime folder, and switching the `Duration` and `Instant` userdatas to be tagged.
0.1.0-nightly.20250506
Ansi color battery improvements (#257) * Rename to richte 7C81 rm, play on words with rich text and isn't vague * Reduce the size of the created closures via doing all of the formatting within a `format` function * Use `table.concat` instead of repeadedly using the concat operator (`table.concat` is faster) * Remove dependency on lutes process lib, and added a nocolor arg to every formatter that replicates this behavior. As its stated in the README that batteries aren't supposed to depend on lute. * Rename bright formatters to be gramatically correct ie `redBright` is now `brightRed` If the process lib is ever moved to the @std alias (it might already be under there idk), I'd expect there to be a pcall require situation to be added so that if the env variable for no color is set richterm respects it.
0.1.0-nightly.20250505
Update ansi.luau (#160) - ansi.luau -> colorful.luau - NO_COLOR support - export Styler type - add `combine(...)`, looks like `combine(colorful.red, colorful.bold)("This is red bold text!")` - update to use string interpolation instead of concatenation in some places --------- Co-authored-by: ariel <aweiss@hey.com>