0.5.2
Release 0.5.2 (2017-06-27)
Baseline: e78ad83
Cherry picks:
- 6802831:
experimental UI: move stopUpdateThread() out of synchronized,
again - 019935d:
Fix bug in URI computation in RemoteModule - e9424cf:
Automated rollback of commit
7dec005. - 9eea05d:
Switching to Watcher API instead of wait_for_completion, in
preparation for deprecating the wait_for_completion field. - 8965981:
Set correct execroot for info - 716b527:
Only create a single per-build instance of the remote cache /
executor - 1d82d19:
protobuf: Update protobuf jars to be binary compatible with Java
6. Fixes #3198 - 524b90d:
Change CAS URI to use the "bytestream" scheme instead of being
scheme-less - 4929ad7:
Automated g4 rollback of commit
923d7df. - 68b9a7e:
Automated g4 rollback of commit
da56606. - 2ba693f:
Automated rollback of commit
ce7c4de.
Incompatible changes:
- Blaze no longer generates xcode projects. Use tulsi.bazel.build
instead.
Important changes:
- Keyword-only syntax in a function definition is deprecated
(e.g.def foo(a, *, b)
ordef foo(a, *b, c)
) and will be
removed in the future. - Attempting to build an Android target without setting up
android_sdk_repository will now produce a helpful error message. - Adds a sha256 attribute to git_repository and new_git_repository.
This can only be used if the remote is a public GitHub
repository. It forces
Bazel to download the repository as a tarball, which will often
be faster and
more robust than cloning it. - Sandboxing is now enabled by default on FreeBSD (via
processwrapper-sandbox). - android_test may use manifest placeholders with 'manifest_merger
= "android"'. - load() statements should be called at the top of .bzl files,
before any
other statement. This convention will be enforced in the future. - Effectively remove sysroot from CppConfiguration and allow it to
use select statements. - proto_library.strict_proto_deps no longer exists.
- Flag --explicit_jre_deps is now a noop.
- The 'legacy' Android manifest merger is deprecated. Please
upgrade to the 'android' manifest merger, which is the same
merger used by Gradle.
https://developer.android.com/studio/build/manifest-merge.html - Using $(CC_FLAGS) in a GenRule adds a dependency to the c++
toolchain - add one-version enforcement to android_local_test
- Skylark support (apple_common.dotted_version(string)) for
building DottedVersion objects to interface with native apple
rules - CC_FLAGS can be defined using 'cc-flags-make-variable' action_config in
CROSSTOOL - ios_framework native rule has been removed. This rule had been
essentially broken for several months now; users should be using
the skylark ios framework rule.
https://github.com/bazelbuild/rules_apple has details. - Clean command no longer uses boolean values for --async,
--expunge, and --expunge_async options. - Partially fixes external J2ObjC support.
- '--aspects' can occur more than once on the command line.
- --no_ prefix no longer recognized.
- Use action_config in crosstool for static library archiving,
remove ar_flag. - Added a new flag --sandbox_writable_path, which asks the sandbox
to
make an existing directory writable when running actions. - bazel test now also computes a default instrumentation filter if
--collect_code_coverage is enabled - n/na
- In .bzl files, top-level
if
statements are deprecated and will
be forbidden
in the future. Move them in a function body instead (or use a
conditional
expression instead:x if condition else y
). - ios_device and ios_test are deprecated. Please use the new testing
rules in https://github.com/bazelbuild/rules_apple instead. - bazel query --output package now displays packages from external
repository with the format "@reponame//package". Packages in the
main repository continue to have the format "package". - ctx.expand_make_variables is deprecated.
- Bazel posts links to the CAS to the BEP if remote caching /
execution is enabled bazel info execution_root
returns the corrrect directory name
for the execution root.
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.