Release 0.18.0rc4 (2018-09-17)
Baseline: c062b1f1730f3562d5c16a037b374fc07dc8d9a2
Cherry picks:
- 2834613f93f74e988c51cf27eac0e59c79ff3b8f: Include also ext jars in the bootclasspath jar.
- 2579b791c023a78a577e8cb827890139d6fb7534: Fix toolchain_java9 on --host_javabase= after 7eb9ea150fb889a93908d96896db77d5658e5005
- faaff7fa440939d4367f284ee268225a6f40b826: Release notes: fix markdown
- b073a18e3fac05e647ddc6b45128a6158b34de2c: Fix NestHost length computation Fixes #5987
Incompatible changes:
- New bazelrc file list.
- Adds --incompatible_expand_directories to automatically expand directories in skylark command lines. Design doc: https://docs.google.com/document/d/11agWFiOUiz2htBLj6swPTob5z78TrC xm8DQE4uJLOwM
- --incompatible_package_name_is_a_function now defaults to true. The magic values PACKAGE_NAME and REPOSITORY_NAME are no longer exposed.
New features:
- Add --modify_execution_info, a flag to customize action execution info.
Important changes:
- A new, experimental, options --experimental_ui_deduplicate was added that makes the UI try to deduplicate messages from actions to keep the output on the console cleaner.
- Add ExecutionInfo to aquery output for ExecutionInfoSpecifier actions.
- The Android resource processing pipeline now supports persistence via worker processes. Enable it with
--persistent_android_resource_processor
. We have observed 1.5x faster clean local builds, and up to 2.5x faster incremental local builds.
- --windows_exe_launcher is deprecated, this flag will be removed soon. Please make sure you are not using it.
- CppRules: cc_binary link action no longer hardcodes -static-libgcc for toolchains that support embedded runtimes (guarded by --experimental_dont_emit_static_libgcc temporarily).
- When computing --instrumentation_filter, end filter patterns with "[/:]" to match non-top-level packages exactly and treat top-level targets consistently.
- The startup flag --host_javabase has been renamed to --server_javabase to avoid confusion with the build flag --host_javabase.
- objc_library now supports the module_name attribute
- Added "bazel info server_log" command to obtain the main Bazel server log file path, which can be quite useful for debugging Bazel issues.
- Support fileset expansion in ctx.actions.args(). Controlled by --incompatible_expand_directories.
- Fixes aapt shrink resources not respecting filters configurations
- --javacopt= no longer affects compilations of tools that are executed during the build; use --host_javacopt= to change javac flags in the host configuration.
- Revert the default of --incompatible_package_name_is_a_function to false.
- Future versions of Bazel will require a locally installed JDK for Java development. Previously Bazel would fall back to using the embedded --server_javabase if no JDK as available. Pass --incompatible_never_use_embedded_jdk_for_javabase to disable the legacy behaviour.
- .bazelignore is now fully functional.
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.
Index of files