Bazel 3.5 has just been released.
Bazel 3.5 is a minor release. It is an incremental update to Bazel 3.4.
Incompatible changes
- Remove the
--experimental_process_wrapper_wait_fixflag. - Remove the
--experimental_ui_deduplicateflag. - Remove the
--experimental_transparent_compressionflag. - Remove the
--experimental_action_argsflag. - Remove the
--incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfiles_treeflag. - Bazel now correctly prefers Xcode versions in
/Applicationsover other paths, by default. This resolves an issue with accidentally picking up an Xcode version from a Time Machine backup or network disk. If you rely on the old behavior, move your desired Xcode version to/Applications.
Rules
C++
- Add
cc_common.compilesupport forinclude_prefix/strip_include_prefix.
Android
- Support signing key rotation in
android_binary.
Apple
--apple_bitcodenow takes an optional platform and only applies the Bitcode mode to that platform if present. The option may be provided multiple times.- Add optional
oso_prefix_is_pwdfeature for Apple builds. NS_BLOCK_ASSERTIONSis now passed for all Apple architectures.
Java
- Java 14 is now supported through custom
toolchain_jdk_14. Thejava_toolsrepository provides this support in the java_tools with javac14 v1.0 release.
Other changes
cquerynow follows aspects when the--include_aspectsflag is used.- Add support to
bazel/crosstoolfor building arm64 on macos. - Update coverage configuration for Python,
filegroup, and shell script rules to distinguish between source and dependency attributes. - Add
InstrumentedFilesInfoprovider to Starlark globals. - Make
filegroupalways forwardInstrumentedFilesProviderand not collect any sources directly. - Update Starlark error reporting and the call stack. This may cause changes in the locations where errors were previously reported.
- Allow dot ('.') in
workspacenames. See #11837.
Contributors
This release contains contributions from many people at Google, as well as Adam Gross, Andrew Suffield, Benjamin Peterson, David Ostrovsky, Ed Schouten, Grzegorz Lukasik, Holger Freyther, Kalle Johansson, Keith Smiley, Kerrick Staley, Kyle Teske, Mostyn Bramley-Moore, Ryan Beasley, Ryan Pavlik, Siggi Simonarson, Stiopa Koltsov, Ulf Adams, Xiaoyi Shi, Yannic Bonenberger, Yesudeep Mangalapilly, bnczk.