diff --git a/CHANGELOG.md b/CHANGELOG.md index 244ed6f2..7bce3169 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - [Adds `lua_versions` to standard library definitions](https://kampfkarren.github.io/selene/usage/std.html#lua_versions). Specifying this will only allow the syntax used by those languages. The default standard libraries now specify these, meaning that invalid syntax for that language will no longer be supported. - Added missing third parameter to `PathWaypoint.new` in the Roblox standard library - Added `vector` library to Luau standard library +- Added `math.map` to the Luau standard library ### Changed - Upgrades to [full-moon 1.0.0](https://github.com/Kampfkarren/full-moon/blob/main/CHANGELOG.md#100---2024-10-08), which should provide faster parse speeds, support for multiple parsing errors at the same time, and support for some new Luau syntax. diff --git a/selene-lib/default_std/luau.yml b/selene-lib/default_std/luau.yml index 24312169..c3fe3e80 100644 --- a/selene-lib/default_std/luau.yml +++ b/selene-lib/default_std/luau.yml @@ -300,6 +300,14 @@ globals: - required: false type: number must_use: true + math.map: + args: + - type: number + - type: number + - type: number + - type: number + - type: number + must_use: true math.noise: args: - type: number