Version 0.1.0
This is the initial stable release for Lune! 🌙
All of the current APIs should work as expected, and there are no known major bugs.
Added
task
now supports passing arguments intask.spawn
/task.delay
/task.defer
require
now uses paths relative to the file instead of being relative to the current directory, which is consistent with almost all other languages but not original Lua / Luau - this is a breaking change but will allow for proper packaging of third-party modules and more in the future.- NOTE: If you still want to use the default Lua behavior instead of relative paths, set the environment variable
LUAU_PWD_REQUIRE
totrue
- NOTE: If you still want to use the default Lua behavior instead of relative paths, set the environment variable
Changed
- Improved error message when an invalid file path is passed to
require
- Much improved error formatting and stack traces
Fixed
- Fixed downloading of type definitions making json files instead of the proper format
- Process termination will now always make sure all lua state is cleaned up before exiting, in all cases