Releases: Anaminus/rbxmk
Releases · Anaminus/rbxmk
rbxmk v0.5.0
Highlights:
- Improve handling of HTTP cookies.
- Add rbxmk.cookiesFrom for getting cookies from known locations.
- Add rbxmk.newCookie for creating a cookie from scratch.
- DataModel metadata is now accessed through the Metadata symbol.
- Rename "file" source to "fs".
- Move os.dir and os.stat to the fs library.
- fs.dir and fs.stat return nil if the file does not exist.
- Additions to fs library.
- To reduce the impact of malicious scripts, files can only be accessed by rbxmk from certain locations.
- The working directory.
- The directory of the first running script.
- A temporary directory, accessible via
os.expand("$tmp")
- Changes to os.expand.
- Add the
$root_script_directory
variable, which expands to the directory of the first running script. - The
$temp_directory
variable now points to a temporary directory that is unique per run of rbxmk.
- Add the
Fixes:
- Fix garbled error messages.
Internal:
- Implement automated releases.
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.
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.
rbxmk v0.3.0
Imperative Mode is a complete rewrite of rbxmk from the ground up.
- Versus the previous quasi-declarative Lua API, the new API is completely imperative.
- The API is designed to emulate the Roblox Lua API.
The Documentation page provides a complete reference for this version of rbxmk.