Skip to content

rbxmk v0.9.1

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 15 Apr 17:52
· 154 commits to imperative since this release

Highlights:

  • Add support for .luau extension.
  • When a descriptor is set while encoding or decoding an instance, the service status is determined by the Service tag from instance's class descriptor instead of the instance's IsService field.
    • This improves conversion from XML Roblox formats to binary Roblox formats.
  • Add support for Optional types.
    • If a descriptor is set, optional properties are handled transparently by accepting either nil (for None), or a value of the optional's type (for Some).
    • Add types.none to create an empty Optional exprim.
    • Add types.some to create an Optional exprim that contains a value.
    • Currently, this only affects the "Model.WorldPivotData" property, which is an optional CFrame.
  • Add support for UniqueId type.
  • Improve interface of the doc command.
    • Frag mode is the default. List mode is enabled with the --list flag.
  • Add RootDesc.Copy method.

Fixes:

  • Fix descriptor IsA checks failing when superclass matches current class.
  • Fix encoding of PhysicalProperties type in rbxl format.
  • Fix options not working for the rbx formats.
  • Fix SetAttribute throwing an error when setting an attribute to nil.
  • Fix SetAttributes pulling wrong argument for dictionary.
  • Fix nondeterministic order of encoded SharedStrings in rbxl format.

Internal:

  • Switch to cobra for handling CLI.
    • When the program is executed from a GUI, a message is displayed indicating that it is a command-line tool.
    • Adds completion command for generating autocompletion scripts for various shells.

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.