Skip to content

5.0.0

Compare
Choose a tag to compare
@bazel-io bazel-io released this 19 Jan 14:49
· 10639 commits to master since this release

Release 5.0.0 (2022-01-19)

Release notes: https://blog.bazel.build/2022/01/19/bazel-5.0.html

Baseline: 8d66a41

Cherry picks:

  • becd149:
    Remote: Cache merkle trees
  • d7628e1:
    Update DEFAULT_IOS_CPU for M1 arm64 simulator support
  • 80c56ff:
    Compile Apple tools as fat binaries if possible
  • 3c09f34:
    Add protobuf as a well known module
  • 3a5b360:
    Remote: Merge target-level exec_properties with
    --remote_default_exec_properties
  • 917e15e:
    Add -no_uuid for hermetic macOS toolchain setup
  • f5cf8b0:
    Remote: Fixes an issue when --experimental_remote_cache_async
    encounter flaky tests.
  • 77a002c:
    Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
    has …
  • 557a7e7:
    Fixes for the Starlark transition hash computation (#14251)
  • 34c7146:
    Do location expansion in copts of objc_library
  • 50274a9:
    [5.x] Remote: Add support for compression on gRPC cache (#14277)
  • 61bf2e5:
    Automated rollback of commit
    34c7146.
  • 79888fe:
    Silence a zstd-jni GCC warning.
  • 063b5c9:
    Remote: Limit max number of gRPC connections by
    --remote_max_connections.
  • fd727ec:
    Do location expansion in copts of objc_library
  • 23d0969:
    Fix _is_shared_library_extension_valid
  • 5cf1d6e:
    Remove merging of java_outputs in JavaPluginInfo.
  • cea5f4f:
    Cherrypick Bzlmod documentation (#14301)
  • 227e49e:
    Format work requests according to ndjson spec
  • ae0a6c9:
    Enable user_link_flags_feature for macosx cc_toolchain_config
  • 8c2c78c:
    Remote: Use Action's salt field to differentiate cache across
    workspaces.
  • f948989:
    [5.x] Remote: Fix "file not found" error when remote cache is
    changed from enabled to disabled. (#14321)
  • 3069ac4:
    Delete marker file before fetching an external repository
  • c05c626:
    Remote: Fix file counting in merkletree.DirectoryTreeBuilder
  • d84f799:
    Fix remote spawn tests for remote_merkle_tree_cache=true
  • 59e16e9:
    Show skipped tests as a warning
  • 76b3c24:
    Build xcode-locator as a universal binary
  • aa52f2d:
    Exit collect_coverage.sh early if LCOV_MERGER is not set.
  • 4256d46:
    Automated rollback of commit
    d84f799.
  • dce2435:
    [apple] fix issues compiling C in objc_library for watchos/armv7k
  • bfc2413:
    5.x: Remote: Ignore blobs referenced in BEP if the generating
    action cannot be cached remotely. (#14389)
  • 5aef53a:
    Remote: Don't blocking-get when acquiring gRPC connections.
    (#14420)
  • 005361c:
    Disable IncludeValidation for ObjC in bazel
  • d703b7b:
    Update java_tools v11.6
  • 90965b0:
    Stop remote blob upload if upload is complete. (#14467)
  • dc59d9e:
    [5.x] Make remote BES uploader better (#14472)
  • 2edab73:
    Avoid too verbose warnings in terminal when cache issues
  • 1160485:
    Rename --project_id to --bes_instance_name
  • c63d9ec:
    Automated rollback of commit
    bfdfa6e.
  • b341802:
    [apple] support watchos_arm64 in toolchain
  • 43bcf80:
    Disable implicitly collecting baseline coverage for toolchain
    targets.
  • 302971e:
    Automated rollback of commit
    7d09b4a.
  • 6200202:
    Bzlmod: Starlarkify default attr values for TypeCheckedTags
  • 38117d4:
    Fix build after rc4 cherrypicks (#14581)

This release contains contributions from many people at Google, as well as amberdixon, Benjamin Peterson, Brentley Jones, Dan Fleming, Danny Wolf, Fabian Meumertzheim, Keith Smiley, Noa Resare, Oliver Eikemeier, Philipp Schrader, Xùdōng Yáng, 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.