Skip to main content

Compact developer tools 0.5.0

For the complete documentation index, see llms.txt

Compact developer tools 0.5.0 release notes

Compact developer tools (devtools) 0.5.0 ships a pair of usability improvements: you can now abbreviate subcommands, and the update subcommand accepts partial version numbers.

If you have an existing devtools installation, you can update it with the command compact self update.

If you do not have an existing devtools installation, you can install version 0.5.0 using the shell command shown on the release page.

New features

Subcommand abbreviations

The compact CLI now accepts abbreviations for its subcommands, for example compact up for update, compact c for compile, and compact fmt for format.

Most subcommands have official aliases, like fmt for format and fx for fixup. You can see these listed in the help text available through compact help or compact --help.

In addition, most subcommands accept any unambiguous prefix, so compact c, compact co, and compact com all work for compile. Where a prefix is ambiguous, the tool makes a choice: compact c runs compile, not clean.

GitHub user rvcas contributed this feature.

Partial version numbers

The update subcommand now accepts partial version numbers. For example, compact update 0.30 with the patch number omitted updates to the latest 0.30.x toolchain, so you do not need to know how many patch versions exist to get the newest one.

Likewise, compact update 0 updates to the latest 0.x.y version. This becomes more useful after Compact 1.0, when compact up 1 will keep you on the latest patched version of Compact 1.

GitHub user adamreynolds-io contributed parts of this feature.

Breaking changes

None.

Known issues

  • The zkir tool crashes with SIGILL when the x64 binaries run under emulation in ARM Docker environments, because no aarch64 Linux build is available in this release (issue #220). Fixed in devtools 0.5.1, which adds native ARM64 Linux binaries.