Skip to content

Releases: aspect-build/aspect-cli

5.0.2

28 Nov 03:06
Compare
Choose a tag to compare

See install instructions in README.md.

If you already have bazelisk installed, you can have bazelisk install the Aspect CLI just like it can install the standard Bazel CLI.

Add this to your .bazeliskrc in your project folder to install Aspect for all developers:

BAZELISK_BASE_URL=https://static.aspect.build/github.com/aspect-build/aspect-cli
USE_BAZEL_VERSION=aspect/5.0.2

What's Changed

New Contributors

Full Changelog: 5.0.1...5.0.2

5.0.1

17 Nov 00:05
Compare
Choose a tag to compare

This release fixes an interactivity issue with the query command that snuck into the 5.0.0 release.

Install on MacOS

On MacOS, you can run

brew install aspect-build/aspect/aspect

This installs the aspect command and also links it to bazel, just like the bazelisk installer does.

We plan to have a standard "core" homebrew formula so this will just be brew install aspect in the future.

Linux

On Linux, you can download the aspect binary and add it to your PATH manually. This also works on MacOS and Windows.

Install with Bazelisk

On any platform, so long as you already have bazelisk installed, you can have bazelisk install the Aspect CLI just like it can install the standard Bazel CLI.

Add this to your .bazeliskrc in your project folder to install Aspect for all developers:

BAZELISK_BASE_URL=https://static.aspect.build/github.com/aspect-build/aspect-cli
USE_BAZEL_VERSION=aspect/5.0.1

Note that in all cases, the .bazelversion file continues to indicate which version of the Bazel tool is fetched and run beneath the wrapper.

What's Changed

Full Changelog: 5.0.0...5.0.1

5.0.0

16 Nov 09:23
Compare
Choose a tag to compare

Install on MacOS

On MacOS, you can run

brew install aspect-build/aspect/aspect

This installs the aspect command and also links it to bazel, just like the bazelisk installer does.

We plan to have a standard "core" homebrew formula so this will just be brew install aspect in the future.

Install with Bazelisk

On any platform, so long as you already have bazelisk installed, you can have bazelisk install the Aspect CLI just like it can install the standard Bazel CLI.

Add this to your .bazeliskrc in your project folder to install Aspect for all developers:

BAZELISK_BASE_URL=https://static.aspect.build/github.com/aspect-build/aspect-cli
USE_BAZEL_VERSION=aspect/5.0.0

Note that in all cases, the .bazelversion file continues to indicate which version of the Bazel tool is fetched and run beneath the wrapper.

Why 5.0.0 and not 1.0.0 as the first official release?

In order to support bootstrapping with Bazelisk on Apple M1, we needed the version to be >=4.1.0 since Bazelisk is hard-coded to download amd64 binaries when it downloads a binary that has a version less than 4.1.0.

What's Changed

Read more