diff --git a/CHANGELOG.md b/CHANGELOG.md index cd54d25..85f75ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,15 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased -### Changed +### Added +- `task` now supports passing arguments in `task.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` to `true`_ + +### 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 ## `0.0.6` - January 23rd, 2023 @@ -25,8 +30,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial implementation of [Roblox's task library](https://create.roblox.com/docs/reference/engine/libraries/task), with some caveats: - Minimum wait / delay time is currently set to 10ms, subject to change - - It is not yet possible to pass arguments to tasks created using `spawn` / `delay` / `defer` - - Timings for `defer` are flaky and deferred tasks are not (yet) guaranteed to run after spawned tasks + - It is not yet possible to pass arguments to tasks created using `task.spawn` / `task.delay` / `task.defer` + - Timings for `task.defer` are flaky and deferred tasks are not (yet) guaranteed to run after spawned tasks With all that said, everything else should be stable!