github bazelbuild/bazel 4.0.0

latest releases: 7.4.1, 9.0.0-pre.20241105.2, 7.4.1rc2...
3 years ago

Release 4.0.0 (2021-01-21)

Baseline: 37a429a

Cherry picks:

  • a689d67:
    Use getRunfilesPath for run_under executable path generation.
    getRootRelativePath doesn't return a valid runfiles path for
    external source files anymore after the recent external source
    root change. Also, it won't work for external labels either once
    the --nolegacy_external_runfiles becomes default. This fixes
    issue #12545.
  • d90ec67:
    Fix NPE when coveragerunner is not set on the toolchain.
  • 8555789:
    Fix the classic query package-loading cutoff optimization with
    external workspaces.
  • d113d74:
    Update turbine
  • 1489f0f:
    Support Scala3 .tasty files
  • 0d2d95c:
    Update to java_tools javac11 release 10.5 (#12647)
  • a9419f3:
    Fix common prefix for instrumentation filter
  • 84fadcf:
    Fix builds for filegroup targets with incompatible dependencies
  • e43825d:
    Revert "Remove
    --incompatible_blacklisted_protos_requires_proto_info"
  • 082d58d:
    Transform roots along with paths during output deletion.
  • e8835c1:
    AttributeContainer.Large now handles more than 127 attributes.
  • e1e8734:
    Add an env attribute to all test and binary rule classes
  • a87d7ed:
    Take no action to prefetch empty artifacts.
  • 3e969ff:
    Fix a couple of bugs with Incompatible Target Skipping
  • e667082:
    Pass --host_action_env to host options hostActionEnvironment
    attribute
  • 07400c0:
    Add --{no,}autodetect_server_javabase.
  • c833660:
    Only treat "env" and "env_inherit" attrs specially for native
    rules
  • 6a60b30:
    Fix coverage support when using default_java_toolchain. (#12801)
  • 4158a6f:
    Revert JacocoCoverage target to remote_java_tools_java_import
    and add a new target for remore_java_tools_filegroup. (#12813)
  • f6d30cf:
    Add windows_msvc back to conditions in bazel_tools.

Release Notes: https://blog.bazel.build/2021/01/19/bazel-4-0.html

This release contains contributions from many people at Google, as well as Adam Liddell, Akira Baruah, Alexander Grund, Alex Eagle, Andrew Z Allen, Austin Schuh, Benjamin Peterson, Benson Muite, Brentley Jones, Cristian Hancila, Dan Halperin, Daniel Wagner-Hall, Dmitry Ivankov, Dmitry Ivankov, erenon, Eric Cousineau, Greg Estren, Gregor Jasny, Grzegorz Lukasik, Grzegorz Lukasik, hollste, Joe Lencioni, johnjbarton, Jonathan Perry, Jonathon Belotti, Keith Smiley, Kevin Gessner, Matt Davis, Matt Mackay, Menny Even Danan, Neeraj Gupta, Philipp Schrader, Ricardo Delfin, Ryan Beasley, Samuel Giddins, Simon Bjorklen, Simon Stewart, Stiopa Koltsov, Thi Doan, ThomasCJY, Timothy Klim, Tom de Goede, vectoralpha, V Vn Ngha, William A Rowe Jr, Xavier Bonaventura, Yannic Bonenberger, Yannic.

Notice: Bazel installers contain binaries licensed under the GPLv2 with
Classpath exception. Those installers should always be redistributed along with
the source code.

Some versions of Bazel contain a bundled version of OpenJDK. The license of the
bundled OpenJDK and other open-source components can be displayed by running
the command bazel license. The vendor and version information of the bundled
OpenJDK can be displayed by running the command bazel info java-runtime.
The binaries and source-code of the bundled OpenJDK can be
downloaded from our mirror server.

Security: All our binaries are signed with our
public key 3D5919B448457EE0.

Don't miss a new bazel release

NewReleases is sending notifications on new releases.