rbxmk v0.4.0
Highlights:
- The command-line API now uses sub-commands.
rbxmk run
runs scripts as before.rbxmk help
displays help.rbxmk version
displays the current version.
- Implement Instance attributes.
- Instance.GetAttribute
- Instance.GetAttributes
- Instance.SetAttribute.
- Additional SetAttributes method for efficiently setting all attributes at once.
- Add inheritance-based methods to Instance.
- Format configuration: in APIs where a format string could be passed, a table can be passed instead, which can contain additional options that configure the format.
- The http source has been rewritten.
- Has single http.request function.
- Handles CSRF tokens automatically.
- Add rbxassetid source for accessing assets on the Roblox website.
- Add clipboard source for accessing the operating system's clipboard.
- Currently available only on Windows.
- Add os.stat function for getting the metadata of a file.
- Additions to the math library.
- math.log from Lua 5.2.
- math.clamp from Roblox.
- math.round from Roblox.
- math.sign from Roblox.
- Additions to the table library.
- table.pack from Lua 5.2.
- table.unpack from Lua 5.2.
- table.move from Lua 5.3.
- table.clear from Roblox.
- table.create from Roblox.
- table.find from Roblox.
- Additions to the string library.
- string.split from Roblox.
- Add rbxmk.formatCanDecode function for getting whether a given format can decode into a given type.
- Add json format for decoding JSON data generically, similar to HttpService.JSONEncode/JSONDecode.
- Add csv format for converting general CSV data.
- Add l10n.csv format for converting localization data.
- Instance.new is allowed to create classes with the NotCreatable tag.
- Document
_RBXMK_VERSION
global variable. - Remove rbxmk.readSource and rbxmk.writeSource functions.
Fixes:
- Fix sorting of members returned by ClassDesc.Members.
- Fix error with EnumDesc.AddItem.
- Fix error with RootDesc.AddEnum.
- Fix error when indexing Enums or calling GetEnums.
- Fix Enums.GetEnums returning no values.
- Fix issues with cloned Instances.
- Fix string and double types being returned as empty userdata.
- Fix strings not having a metatable.
See a comparison with the previous version for a thorough list of changes.
The Documentation page provides a complete reference for this version of rbxmk.