Skip to content

Commit

Permalink
Release version v0.9.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anaminus committed Apr 15, 2022
1 parent 03d0db1 commit d1f12d1
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 28 deletions.
44 changes: 26 additions & 18 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,45 +3,53 @@ This document describes changes between versions of rbxmk. The `imperative`
branch is the latest unreleased version.

## imperative
See a [comparison with the previous version][cmp-imperative] for a thorough list of changes.

The [Documentation page][doc-imperative] provides a complete reference for this version of rbxmk.

[doc-imperative]: https://github.com/Anaminus/rbxmk/blob/imperative/doc/README.md#user-content-rbxmk-reference
[cmp-imperative]: https://github.com/Anaminus/rbxmk/compare/v0.9.1...imperative

## v0.9.1
**Highlights:**
- Add support for `.luau` extension.
- Add [`luau` format](https://github.com/Anaminus/rbxmk/blob/imperative/doc/formats.md#user-content-luau).
- Add [`client.luau` format](https://github.com/Anaminus/rbxmk/blob/imperative/doc/formats.md#user-content-clientluau).
- Add [`localscript.luau` format](https://github.com/Anaminus/rbxmk/blob/imperative/doc/formats.md#user-content-localscriptluau).
- Add [`modulescript.luau` format](https://github.com/Anaminus/rbxmk/blob/imperative/doc/formats.md#user-content-modulescriptluau).
- Add [`script.luau` format](https://github.com/Anaminus/rbxmk/blob/imperative/doc/formats.md#user-content-scriptluau).
- Add [`server.luau` format](https://github.com/Anaminus/rbxmk/blob/imperative/doc/formats.md#user-content-serverluau).
- Add [`luau` format](https://github.com/Anaminus/rbxmk/blob/v0.9.1/doc/formats.md#user-content-luau).
- Add [`client.luau` format](https://github.com/Anaminus/rbxmk/blob/v0.9.1/doc/formats.md#user-content-clientluau).
- Add [`localscript.luau` format](https://github.com/Anaminus/rbxmk/blob/v0.9.1/doc/formats.md#user-content-localscriptluau).
- Add [`modulescript.luau` format](https://github.com/Anaminus/rbxmk/blob/v0.9.1/doc/formats.md#user-content-modulescriptluau).
- Add [`script.luau` format](https://github.com/Anaminus/rbxmk/blob/v0.9.1/doc/formats.md#user-content-scriptluau).
- Add [`server.luau` format](https://github.com/Anaminus/rbxmk/blob/v0.9.1/doc/formats.md#user-content-serverluau).
- 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](https://github.com/Anaminus/rbxmk/blob/imperative/doc/libraries.md#user-content-typesnone) to create an empty Optional exprim.
- Add [types.some](https://github.com/Anaminus/rbxmk/blob/imperative/doc/libraries.md#user-content-typessome) to create an Optional exprim that contains a value.
- Add [types.none](https://github.com/Anaminus/rbxmk/blob/v0.9.1/doc/libraries.md#user-content-typesnone) to create an empty Optional exprim.
- Add [types.some](https://github.com/Anaminus/rbxmk/blob/v0.9.1/doc/libraries.md#user-content-typessome) 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](https://github.com/Anaminus/rbxmk/blob/imperative/doc/types.md#user-content-uniqueid) type.
- Add support for [UniqueId](https://github.com/Anaminus/rbxmk/blob/v0.9.1/doc/types.md#user-content-uniqueid) type.
- Improve interface of the doc command.
- Frag mode is the default. List mode is enabled with the `--list` flag.
- Add [RootDesc.Copy](https://github.com/Anaminus/rbxmk/blob/imperative/doc/types.md#user-content-rootdesccopy) method.
- Add [RootDesc.Copy](https://github.com/Anaminus/rbxmk/blob/v0.9.1/doc/types.md#user-content-rootdesccopy) 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](https://github.com/Anaminus/rbxmk/blob/imperative/doc/formats.md#user-content-rbxl).
- Fix [SetAttribute](https://github.com/Anaminus/rbxmk/blob/imperative/doc/types.md#user-content-instancesetattribute) throwing an error when setting an attribute to nil.
- Fix [SetAttributes](https://github.com/Anaminus/rbxmk/blob/imperative/doc/types.md#user-content-instancesetattributes) pulling wrong argument for dictionary.
- Fix nondeterministic order of encoded SharedStrings in [rbxl format](https://github.com/Anaminus/rbxmk/blob/imperative/doc/formats.md#user-content-rbxl).
- Fix options not working for the [rbx formats](https://github.com/Anaminus/rbxmk/blob/v0.9.1/doc/formats.md#user-content-rbxl).
- Fix [SetAttribute](https://github.com/Anaminus/rbxmk/blob/v0.9.1/doc/types.md#user-content-instancesetattribute) throwing an error when setting an attribute to nil.
- Fix [SetAttributes](https://github.com/Anaminus/rbxmk/blob/v0.9.1/doc/types.md#user-content-instancesetattributes) pulling wrong argument for dictionary.
- Fix nondeterministic order of encoded SharedStrings in [rbxl format](https://github.com/Anaminus/rbxmk/blob/v0.9.1/doc/formats.md#user-content-rbxl).

**Internal:**
- Switch to [cobra](https://cobra.dev/) 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][cmp-imperative] for a thorough list of changes.
See a [comparison with the previous version][cmp-v0.9.1] for a thorough list of changes.

The [Documentation page][doc-imperative] provides a complete reference for this version of rbxmk.
The [Documentation page][doc-v0.9.1] provides a complete reference for this version of rbxmk.

[doc-imperative]: https://github.com/Anaminus/rbxmk/blob/imperative/doc/README.md#user-content-rbxmk-reference
[cmp-imperative]: https://github.com/Anaminus/rbxmk/compare/v0.8.0...imperative
[doc-v0.9.1]: https://github.com/Anaminus/rbxmk/blob/v0.9.1/doc/README.md#user-content-rbxmk-reference
[cmp-v0.9.1]: https://github.com/Anaminus/rbxmk/compare/v0.8.0...v0.9.1

## v0.9.0
Botched release. See v0.9.1.
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ for more simple actions, such as downloading models or publishing games.
[lua]: https://lua.org

## Download
The current version of rbxmk is **<version>v0.9.0</version>**. The following
The current version of rbxmk is **<version>v0.9.1</version>**. The following
builds are available for download:

| Windows | Mac | Linux |
Expand All @@ -28,13 +28,13 @@ See the [Release page][release] for more information on the current version.
in progress. Please practice redundancy and use backups to reduce the risk of
data loss. Be sure to [report][issues] issues as you encounter them!*

[win64]: https://github.com/Anaminus/rbxmk/releases/download/v0.9.0/rbxmk-v0.9.0-windows-amd64.zip
[win32]: https://github.com/Anaminus/rbxmk/releases/download/v0.9.0/rbxmk-v0.9.0-windows-386.zip
[macos]: https://github.com/Anaminus/rbxmk/releases/download/v0.9.0/rbxmk-v0.9.0-darwin-amd64.zip
[linux64]: https://github.com/Anaminus/rbxmk/releases/download/v0.9.0/rbxmk-v0.9.0-linux-amd64.zip
[linux32]: https://github.com/Anaminus/rbxmk/releases/download/v0.9.0/rbxmk-v0.9.0-linux-386.zip
[source]: https://github.com/Anaminus/rbxmk/archive/v0.9.0.zip
[release]: https://github.com/Anaminus/rbxmk/releases/tag/v0.9.0
[win64]: https://github.com/Anaminus/rbxmk/releases/download/v0.9.1/rbxmk-v0.9.1-windows-amd64.zip
[win32]: https://github.com/Anaminus/rbxmk/releases/download/v0.9.1/rbxmk-v0.9.1-windows-386.zip
[macos]: https://github.com/Anaminus/rbxmk/releases/download/v0.9.1/rbxmk-v0.9.1-darwin-amd64.zip
[linux64]: https://github.com/Anaminus/rbxmk/releases/download/v0.9.1/rbxmk-v0.9.1-linux-amd64.zip
[linux32]: https://github.com/Anaminus/rbxmk/releases/download/v0.9.1/rbxmk-v0.9.1-linux-386.zip
[source]: https://github.com/Anaminus/rbxmk/archive/v0.9.1.zip
[release]: https://github.com/Anaminus/rbxmk/releases/tag/v0.9.1
[issues]: https://github.com/Anaminus/rbxmk/issues

## Usage
Expand Down Expand Up @@ -80,7 +80,7 @@ If you installed Go correctly, this will install the latest version of rbxmk to
`$GOPATH/bin`, which will allow you run it directly from a shell.

A specific version of rbxmk may be installed by replacing `latest` with a
version number (e.g. `v0.9.0`).
version number (e.g. `v0.9.1`).

### Development
To compile and install the bleeding-edge version, the best way is to clone the
Expand Down
2 changes: 1 addition & 1 deletion rbxmk/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

package main

const Version = "0.9.0"
const Version = "0.9.1"

0 comments on commit d1f12d1

Please sign in to comment.