0.10.0
Release 0.10.0 (2018-02-01)
Baseline: 22c2f9a
Cherry picks:
- f6ca788:
isable_presubmit - 65c13dd:
Fix StreamResourceLeak error - e543674:
windows: fix --symlink_prefix=/ throwing exception - 22ccdd1:
Fix turbine command lines with empty javacopts - 96c654d:
Remove EOL'd Linux flavours, bump CentOS to 6.9. - f0bec36:
Automated rollback of commit
2aeaeba. - 860af5b:
Consolidate Error Prone resource handling - 2e631c9:
sandbox: properly addtmpDir
towritablePaths
- 5bfa584:
actions,temp: respect TMPDIR envvar - 6cc2ad8:
sandbox: add env[TMPDIR] instead oftmpDir
- 40c757f:
Change git clone to pull all history, so all needed commits can
be accessed.
Incompatible changes:
- In order to access the template variables $(JAVA) and
$(JAVABASE), @bazel_tools//tools/jdk:current_java_runtime needs
to be added to the toolchains= attribute from now on. - The ctx.middle_man function is not supported anymore.
- The flag --incompatible_list_plus_equals_inplace is removed, its
default behavior is preserved. += on lists now always mutates the
left hand
side. - --android_sdk no longer supports filegroup targets.
- android_* rules no longer support legacy_native_support attribute.
New features:
- query: Add option --noproto:flatten_selects to turn off
flattening of selector lists in proto output. - New android test rule, android_local_test.
Important changes:
- The --remote_rest_cache flag now respects --remote_timeout.
- --experimental_java_coverage is available for testing.
- The deprecated builtin
set
is no longer allowed even from within
unexecuted code in bzl files. It's temporarily possible to use
--incompatible_disallow_uncalled_set_constructor=false if this
change causes
incompatibility issues. - Linkstamping is now a separate and full-blown CppCompileAction,
it's
no longer a part of linking command. - Using
+
,|
or.union
on depsets is now deprecated. Please
use the new
constructor instead (see
https://docs.bazel.build/versions/master/skylark/depsets.html). - config_feature_flag's default_value is optional. It is
only an error to have a config_feature_flag with no default_value
if that config_feature_flag has not been set in the configuration
it is being evaluated in. - --[no]keep_incrementality_data is gone, replaced by the
enum-valued --incremental_state_retention_strategy - Linkstamping is now a separate and full-blown CppCompileAction,
it's
no longer a part of linking command. - Added --checkHashMismatch flag to ZipFilterAction. Valid values
are IGNORE, WARN and ERROR. --errorOnHashMismatch is deprecated,
please use this flag instead. - Set build jobs equivalent to number of logical processors by
default. Should improve build times significantly. - Added --(no)expand_test_suites flag.
- Rename --keep_incrementality_data to --track_incremental_state
- --remote_rest_cache was renamed to --remote_http_cache. Both
options keep working in this release, but --remote_rest_cache
will be
removed in the next release. - Aspects-on-aspect see and propagate over aspect attributes.
- --auth_* flags were renamed to --google_* flags. The old names
will continue to work for this release but will be removed in the
next
release. - Remote Caching and Execution support output directories.
- Remove defunct flags
--experimental_incremental_dexing_for_lite_proto and
--experimental_incremental_dexing_error_on_missed_jars that have
long been enabled by default - New version of aapt2 and Resources.proto.
- Make PIC and non PIC outputs for C++ compilation with Tree
Artifacts
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.