Repository navigation
0.11.0
This version of Lune contains one breaking change for scripts - the stop function on web server handles returned by net.serve is now a method, meaning handle.stop() is now handle:stop().
If you use any of the Lune crates as a dependency, Lune now also uses mlua version 0.12, and you may need to upgrade as well.
Added
- Added a
sizefield to the metadata returned byfs.metadata, containing the file size in bytes, ornilfor directories (#405) - Added
FromNameandFromValuemethods to theEnumdatatype in therobloxstandard library (#423)
Changed
- Web server handles returned by
net.servenow use standard Lua method calling convention and colon syntax, just like web sockets -handle.stop()is nowhandle:stop() - Improved the documentation for
roblox.getAuthCookieand for web sockets in thenetstandard library - Updated to Luau version
0.740 - Updated to rbx-dom database version
0.741
Fixed
- Fixed the
closemethod on web sockets always erroring with "Socket has been closed" instead of closing the socket (#400) - Fixed the documentation for
serde.hmacsaying it returns a base64 string, when it returns a hex string (#417) - Fixed
CFrame.lookAt,CFrame.lookAlongandCFrame.new(pos, lookAt)producing incorrect rotations when not rotating purely around the Y axis (#419) - Fixed
Color3:ToHextruncating color channels instead of rounding them, and returning uppercase hex digits instead of lowercase (#410) - Fixed
net.serveresponding with a500error when a response table does not contain astatus, which now defaults to200 - Fixed methods and properties added using
roblox.implementMethodandroblox.implementPropertybeing shadowed by children with the same name - Fixed
EnumandEnumItemvalues in therobloxstandard library not having a stable identity, making them unusable as table keys - Fixed type definitions for the
netstandard library missing thehttpandwssubmodules, as well as theipandportfields onServeHandle - Fixed the
MetadataKindtype definition includingsymlink, whichfs.metadatanever returns since symlinks are always followed (#405) - Fixed the documentation for
capturesin theregexstandard library describing it as finding all matches, when it only returns the capture groups of the first match
Internal Changes
- Upgraded to
mluaversion0.12- if you use any of the Lune crates as a dependency, you may also need to upgrade - Removed the deprecated
jitmodule alias from thelune-utilscrate - please use theprocessmodule directly instead - Updated all dependencies to their latest major versions, and removed several unused ones