Skip to content

Releases: bazelbuild/bazelisk

v1.7.1

06 Oct 14:40
Compare
Choose a tag to compare

This Bazelisk release contains the following changes:

  • 🔢 Fix regression introduced in the v1.7.0 refactoring that the release version was no longer correctly injected into the binary.

v1.7.0

06 Oct 14:33
Compare
Choose a tag to compare

This Bazelisk release contains the following changes:

  • 🏗️ Refactoring for easier maintenance and better test coverage. (#151)
  • 🦠 Workaround against being detected as a virus on Windows. (#162)
  • 💯 Fixed a bug where Bazelisk would crash when two Bazel releases were in "release candidate" state at the same time and we used the GCS-based fallback to detect the version. (#170)

Thanks @fwe for the contributions!

v1.6.1 (small but important bug fixes)

18 Aug 07:51
6f5ce4b
Compare
Choose a tag to compare

This Bazelisk release fixes two reported bugs:

  • 📁 Correctly handle the case when tools/bazel is a directory by ignoring it instead of crashing. (#148)
  • 🌌 Correctly prepend the Bazel binary to the PATH on Windows. (#149)

Thanks @Kiougar and @coeuvre for the contributions!

v1.6.0 (arm64 support, .bazeliskrc, PATH fix)

07 Aug 14:07
Compare
Choose a tag to compare

This Bazelisk release brings two improvements:

  • 🦾 Bazelisk now supports arm64 on Linux. Note that Bazel 3.4.0 was the first release with arm64 binaries. Thanks for the contribution @lizan!
  • 🌌 Bazelisk now runs Bazel with a $PATH set so that running the bazel command resolves to the correct Bazel version. For example, this is useful if you have shell scripts or tests that invoke bazel - these will now pick the right version of Bazel. Thanks for the contribution @coeuvre! (#111)
  • 📝 Bazelisk now supports reading config values from a .bazeliskrc file. Thanks @zellyn! Docs for this feature are here: https://github.com/bazelbuild/bazelisk#bazeliskrc-configuration-file (#127)

Known issues:

  • 💔 This release is broken on Windows due to #149. A fix will be released in v1.6.1.

v1.5.0 (GCS fallback)

05 Jun 11:54
9f7127d
Compare
Choose a tag to compare

This Bazelisk release contains a feature that improve reliability:

  • 🆘 When Bazelisk cannot fetch Bazel's version history from GitHub's API, it will instead try to get it from metadata stored in Bazel's Google Cloud Storage bucket.

v1.4.0 (npm improvements, Starlark incompatible flags)

17 Apr 13:06
1e4c5df
Compare
Choose a tag to compare

This fresh Bazelisk release brings two improvements:

  • ✨ Add bazel as a binary in the NPM package JSON. When you install Bazelisk via npm i -g @bazel/bazelisk you can from now on run it just using bazel, too.
  • 🎏 Support for --//some/path:incompatible_some_flag incompatible flags was added, which are flags defined by Starlark rules.

v1.3.0 (npm and local mirrors)

04 Feb 19:26
Compare
Choose a tag to compare

This fresh Bazelisk release brings two improvements:

  • 👩‍💻 @alexeagle contributed support for uploading Bazelisk to npm. If you're a fan of Node.js, try to install your Bazelisk via npm install -g @bazel/bazelisk. (#114).
  • 🏗 @ali5h contributed support for a "local mirror" feature. If you specify the BAZELISK_BASE_URL environment variable, Bazelisk will download binaries from that server. We'll iterate on this in the near future to make Bazelisk fully offline and "internal mirror" ready. (#107)

v1.2.1

20 Dec 19:49
56a03d9
Compare
Choose a tag to compare

This patch release fixes a bug that was introduced in v1.2.0. The Bazel version in which an incompatible flag is going to be flipped is now correct.

v1.2.0

20 Dec 16:02
Compare
Choose a tag to compare

Another release with two new features and some bug fixes.

What's new

Go version

  • Bazelisk now supports WORKSPACE.bazel files which can be used as aliases for WORKSPACE files.
  • The --migrate flag will now print more information about incompatible flags, including the Bazel release in which they will be flipped, and links to their GitHub issues.

Python version

v1.1.0 (Local Binaries)

11 Oct 15:05
fd66bc3
Compare
Choose a tag to compare

This release just adds one feature:

Bazel versions (e.g. in USE_BAZEL_VERSION or .bazelversion) can now refer to absolute paths on the filesystem. As an added convenience, a tilde prefix is expanded to the user's home directory.

Example:

$ USE_BAZEL_VERSION="~/bin/bazel-1.0" bazelisk

This would tell Bazelisk to not download any binaries and instead just directly use the Bazel binary in $HOME/bin/bazel-1.0.

The build process was also updated to use Bazel 1.0 and the latest rules_go version (which means we now build Bazelisk with Go 1.13).