Bazel Blog

Bazel rolling releases

*tl:dr Bazel rolling releases are now available *

As previously announced, Bazel has been migrating to a two-track release model to better address the different needs of our users.

Roughly every nine months, we’ll publish a stable LTS release that has been thoroughly tested against downstream projects, and which will receive critical security and bug fixes afterwards.

For those of you who want to live closer to HEAD, we’re offering rolling releases. These weekly releases are tested on Bazel's test suite on Bazel CI and Google’s internal test suite. Where possible, incompatible flags will still be used to ease the burden of migrating to new functionality, but default behaviors may change with any rolling release. (You can also use rolling releases to preview the next LTS version. For example, 5.0.0-pre.20210604.6 is based on a candidate cut on 2021-06-04 and represents a milestone towards the 5.0 LTS release.)

While the first LTS release has been available since January, I’m very happy to announce that rolling releases are now available.

You can download the latest rolling release (5.0.0-pre.20210604.6) from GitHub and our releases website. Alternatively you can use Bazelisk v1.9.0 (or later), which supports rolling releases, too. You can set up Bazelisk to use a specific version name or the “rolling” identifier, which uses the most recent rolling release. For more details, see the Bazelisk documentation.

We’re still working on polishing some rough edges, especially around documentation. Please let us know if you have feedback - simply reply to the announcement in bazel-discuss or post to one of the following GitHub issues: #13505 covers rolling releases in general, whereas #13572 is the tracking issue for 5.0.0-pre.20210604.6 in particular.