8000 Releases · luau-lang/lute · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: luau-lang/lute

0.1.0-nightly.20250518

18 May 00:16
aee8ec3
Compare
Choose a tag to compare
Pre-release
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

17 May 00:14
cb1dc27
Compare
Choose a tag to compare
Pre-release
Fix certain invalid `@lute/` runtime requires giving a nonsensical er…

0.1.0-nightly.20250514

14 May 00:15
1e82c96
Compare
Choose a tag to compare
Pre-release
Explicit port reuse in net.serve (#276)

Closes #127

0.1.0-nightly.20250513

13 May 00:15
b997df0
Compare
Choose a tag to compare
Pre-release
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

12 May 00:16
445ea7b
Compare
Choose a tag to compare
Pre-release
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

11 May 00:16
5fde7d3
Compare
Choose a tag to compare
Pre-release
CST: Handle table types (#255)

0.1.0-nightly.20250510

10 May 00:14
9cef98c
Compare
Choose a tag to compare
Pre-release
net: request (#263)

0.1.0-nightly.20250508

08 May 00:15
fdfd5d5
Compare
Choose a tag to compare
Pre-release
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

06 May 00:15
f3b4ae4
Compare
Choose a tag to compare
Pre-release
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

05 May 00:16
30084dc
Compare
Choose a tag to compare
Pre-release
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>
0