This release is a migration window for the following changes.
** General Changes
https://docs.bazel.build now supports versioned documentation. Use the selector at the top of the navigation bar to switch between documentation for different Bazel releases.
projectId in all
mobile-install now works with aapt2. Try it out with
bazel mobile-install --android_aapt=aapt2 //my:target
Fixed issues with mobile-install v1 when deploying to Android 9 Pie devices. https://github.com/bazelbuild/bazel/issues/6814
Fixed issue where error messages from Android manifest merging actions were not fully propagated.
New incompatible change flag
--incompatible_use_aapt2_by_default for defaulting to aapt2 in Android builds has been added. To build with aapt2 today, pass the flag
--android_aapt=aapt2, or set the
aapt2 on your
Fixed mobile-install v1 error when installing an app with native libraries onto an Android 9 (Pie) device. See https://github.com/bazelbuild/examples/issues/77
Fixed a mobile-install bug where
arm64-v8a libraries were not deployed correctly on
arm64 devices. This was done by enabling incremental native lib deployment by default. A previously undocumented
--android_incremental_native_libs flag is removed, and is now the regular behavior. See https://github.com/bazelbuild/bazel/issues/2239
objc_bundle rule has been removed. Please migrate to rules_apple's apple_bundle_import.
apple_stub_binary rule has been deleted.
--xbinary_fdo option that passes xbinary profiles has been added.
cc_toolchain.(static|dynamic)_runtime_libsattributes are now optional
tools/build_defs/pkgnow supports a JSON manifest that can be used to add paths that have symbols that can't be specified via the command line
Filtering of inputs, outputs, and mnemonic filtering have been added to aquery.
The aquery and cquery query2 tests have been open-sourced.
In the Query HowTo, recommend ":*" instead of ":all". "all" might be the name of a target.
--runs_per_test has been placed in the TESTING documentation category.
A a clarifying message has been added to test case summary output when all test cases pass but the target fails.
This release contains contributions from many people at Google, as well as Benjamin Peterson, Dave Lee, George Gensure, Gert van Dijk, Gustavo Storti Salibi, Keith Smiley, Loo Rong Jie, Lukasz Tekieli, Mikhail Mazurskiy, Thi, Travis Cline, Vladimir Chebotarev, and 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 48457EE0.