Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Created by
brew bump
Created with
brew bump-formula-pr
.release notes
Added a REPL to Lune. (#83)
This allows you to run scripts within Lune without writing files!
Example usage, inside your favorite terminal:
Added a new
luau
built-in library for manually compiling and loading Luau source code. (#82)Example usage:
Changed
Update to Luau version
0.591
Lune's internal task scheduler and
require
functionality has been completely rewritten.The new scheduler is much more stable, conforms to a larger test suite, and has a few additional benefits:
require("@lune/builtin-name")
. This also improves startup times slightly.process.spawn
now run on different thread(s), freeing up resources for the main thread where luau runs.net.serve
now processes requests on background threads, also freeing up resources. In the future, this will also allow us to offload heavy tasks such as compression/decompression to background threads.When using the
serde
built-in library, keys are now sorted during serialization. This means that the output ofencode
is now completely deterministic, and wont cause issues when committing generated files to git etc.Fixed
Fixed not being able to pass arguments to the thread using
coroutine.resume
. (#86)Fixed a large number of long-standing issues, from the task scheduler rewrite:
require
hanging indefinitely when the module being require-d uses an async function in its main body.net.serve
) not keeping Lune alive even if there are no lua threads to run.Tried to resume next queued future but none are queued
.userdata
type.