chore: update dependency io_bazel to v0.29.1
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| io_bazel | http_archive | minor | 0.25.0 -> 0.29.1 |
Release Notes
bazelbuild/bazel
v0.29.1
See announcement for 0.29: https://blog.bazel.build/2019/08/27/bazel-0.29.0.html
This release includes a few fixes on top of 0.29, related to remote execution, git_repository, workspace_status_command, and .netrc.
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 48457EE.
v0.29.0
Baseline: 6c5ef5369a3ffceb8a65cc159a2fff1401242810
Cherry picks:
+ 338829f2633e91ae0492ee4169446465e10b5994:
Fix retrying of SocketTimeoutExceptions in HttpConnector
+ 14651cd86b6fc1d48f56a208a9b5278b3e2dcf75:
Fallback to next urls if download fails in HttpDownloader
+ b7d300c6be3e130dec0e62a4f19493105f595d57:
Fix incorrect stdout/stderr in remote action cache. Fixes #​9072
+ 960217631abdcab0a7ed95e2ab10acd55f636639:
Automated rollback of commit
0f0a0d58725603cf2f1c175963360b525718a195.
+ da557f96c697102ad787e57bbf7db2460f6a60a8:
Windows: fix "bazel run" argument quoting
+ ef8b6f68cc8ffd2e6523a894034ae383e87ec74c:
Return JavaInfo from java proto aspects.
+ 209175ff8ffeb05628ed8a187dd414a3d2935c55:
Revert back to the old behavior of not creating a proto source
root for generated .proto files.
+ 644060b7a4bc98384b66e3d2343b950b875b5e35:
Fix PatchUtil for parsing special patch format
+ 067040d7bcb3b24a88432e210a96adacee3f37b4:
Put the removal of the legacy repository-relative proto path
behind the --incompatible_generated_protos_in_virtual_imports
flag.
+ 76ed014e77d7b862f6eb2894600ae525ea570f11:
repository mapping lookup: convert to canonical name first
Important changes:
- rule_test: fix Bazel 0.27 regression ("tags" attribute was ingorhttps://github.com/bazelbuild/bazel/issues/87238723
- Adds --incompatible_enable_execution_transition, which enables incremental migration of host attributes to exec attributes.
- objc_proto_library rule has been deleted from Bazel.
- repository_ctx.read is no longer restricted to files in the repository contructed.
- tags 'no-remote', 'no-cache', 'no-remote-cache', 'no-remote-exec', 'no-sandbox' are propagated now to the actions from targets when '--ncompatible_allow_tags_propagation' flag set to true. See #8830.
- Adds flag --//tools/build_defs/pkg:incompatible_no_build_defs_pkg. This flag turns off the rules //tools/build_defs/pkg:{pkg_deb, pkg_rpm, pkg_tar}.
- The Android NDK is now integrated with toolchains. To use them,
pass the
--extra_toolchains=@​androidndk//:allflag or register them in your WORKSPACE withregister_toolchains("@​androidndk//:all"). - Stdout and stderr are checked to determine if output is going to a
terminal.
--is_stderr_attyis deprecated and--isattyis undeprecated. - --incompatible_load_proto_rules_from_bzl was added to forbid loading the native proto rules directly. See more on tracking issue #8922
- Docker Sandbox now respects remote_default_platform_properties
- pkg_deb, pkg_rpm & pkg_tar deprecation plan announced in the documentation.
- The new java_tools release:
- fixes https://github.com/bazelbuild/bazel/issues/8614
- exposes a new toolchain
@java_tools//:prebuilt_toolchainwhich is using all the pre-built tools, including singlejar and ijar, even on remote execution. This toolchain should be used only when host and execution platform are the same, otherwise the binaries will not work on the execution platform.
- java_common.compile supports specifying annotation_processor_additional_inputs and annotation_processor_additional_outputs for the Java compilation action for supporting annotation processors that consume or produce artifacts. Fixes #6415
- There is now documentation on optimizing Android app build performance. Read it at https://docs.bazel.build/versions/0.29.0/android-build-performance .html
- Execution log now respects --remote_default_platform_properties
- Include a link to the relevant documenation on transitive Python version errors.
- New incompatible flag
--incompatible_disable_target_provider_fields removes the ability
(in Starlark) to access a target's providers via the field syntax
(for example,
ctx.attr.dep.my_provider). The provider-key syntax should be used instead (for example,ctx.attr.dep[MyProvider]). See https://github.com/bazelbuild/bazel/issues/90149014 for details. - A new platform exec_properties is added to replace remote_execution_properties.
- Added --incompatible_load_python_rules_from_bzl, which will be flipped in Bazel 1.0. https://github.com/bazelbuild/bazel/issues/9006ues/9006.
- add --break_build_on_parallel_dex2oat_failure to shortcut tests on dex2oat errors
This release contains contributions from many people at Google, as well as Alexander Ilyin, Arek Sredzki, Artem Zinnatullin, Benjamin Peterson, Fan Wu, John Millikin, Loo Rong Jie, Marwan Tammam, Oscar Bonilla, Peter Mounce, Sergio Rodriguez Orellana, Takeo Sawada, and Yannic Bonenberger.
v0.28.1
Baseline: 2e374a9c6e3d4ed71f0145de287c4b2fe43c76d6
Cherry picks:
+ 6d0b14b95a71175362030b4811ca74512b00a890:
rule_test: apply "tags" to all rules in the macro
+ 18cd9048526f067a4950c6ddbf4b1b3604760af0:
Release 0.28.0 (2019-07-10)
+ 2260b970cb2a10c21a2fde116aa82c79be52991f:
When copying dynamic libraries to binary, copy them into the
runfiles as well.
+ a0af170f87c8230fcd8860599b983df097b646bd:
Undo breaking change of hiding android_common behind
--experimental_google_legacy_api
+ c6ca6c2ccd9e11a87f837341ae05d2ba037975b1:
Ignore external/ directory in users' source tree when creating
execroot symlink tree.
Important changes:
- rule_test: fix Bazel 0.27 regression ("tags" attribute was ingorhttps://github.com/bazelbuild/bazel/issues/87238723
This release contains contributions from many people at Google, as well as .
v0.28.0
Baseline: 2e374a9c6e3d4ed71f0145de287c4b2fe43c76d6
Cherry picks:
+ 6d0b14b95a71175362030b4811ca74512b00a890:
rule_test: apply "tags" to all rules in the macro
Incompatible changes:
- Add --incompatible_enable_profile_by_default to enable the JSON profile by default.
- The --incompatible_windows_style_arg_escaping flag is flipped to "true", and the "false" case unsupported. Bazel no longer accepts this flag.
Important changes:
- Bazel now supports hiding compiler warnings for targets that you're not explicitly building (see https://docs.bazel.build/versions/master/user-manual.html#flag--au to_output_filter).
- Flag
--incompatible_restrict_escape_sequencesis added. See https://github.com/bazelbuild/bazel/issues/83808380 - The "info" command now supports the "starlark-semantics" argument, which outputs a representation of the effective Starlark semantics option values.
- The
outputsparameter of therule()function is deprecated and attached to flag--incompatible_no_rule_outputs_param. Migrate rules to useOutputGroupInfoorattr.outputinstead. https://github.com/bazelbuild/bazel/issues/79777977 for more info. - When
--incompatible_strict_action_envis enabled, the defaultPATHnow includes/usr/local/bin. - Turn on --experimental_build_setting_api by default for starlark build settings (see https://docs.bazel.build/versions/master/skylark/config.html#user- defined-build-settings for more info)
@bazel_tools//tools/jdk:toolchain_java10and@bazel_tools//tools/jdk:toolchain_java11are now available to enable java 10, respectively java 11 language level support.- The
commandparameter of theactions.run_shell()function will be restricted to only accept strings (and not string sequences). This check is attached to flag--incompatible_run_shell_command_string. One may migrate by using theargumentsparameter ofactions.run()instead. See https://github.com/bazelbuild/bazel/issues/59035903 for more info. - Incompatible change
--incompatible_use_platforms_repo_for_constraintshas been added. https://github.com/bazelbuild/bazel/issues/86228622 for details. - Incompatible change
--incompatible_use_platforms_repo_for_constraintshas been added. https://github.com/bazelbuild/bazel/issues/86228622 f... - Bazel's C++ autoconfiguration now understands
BAZEL_LINKLIBSenvironment variable to specify system libraries that should be appended to the link command line. - paths under the execution root starting with "." or "_" will be re-linked across builds
- execution_log_json_file now allows actions without outputs.
- Labels aapt as deprecated for aapt_version, and heavily endorses aapt2.
- Update doc links still pointing to cc_binary.features to point to common features
- Incompatible change
--incompatible_use_platforms_repo_for_constraintshas been added. https://github.com/bazelbuild/bazel/issues/86228622 for details. RELNOTES: - --incompatible_disable_nocopts flag has been added. Seehttps://github.com/bazelbuild/bazel/issues/8706/8706 for details.
- Fixed treatment of <dist:module /> tags in AndroidManifest.xml
- Fixed asset precedence for android_binary rules with aapt2.
- Bazel now officially supports running on CentOS 7.
- The runtime dynamic libraries are no longer in default output group of cc_binary.
- set the FDOBuildType as CSFDO for binaries built with --cs_fdo_absolute_path.
- Bazel can now be bootstrapped and built on arm64 platforms without requiring any flags or patches.
- Fixed treatment of AndroidManifest.xml attributes which contained XML escaping
- Retire experimental blaze flag experimental_link_compile_output_separately. The same behavior is available through the feature dynamic_link_test_srcs.
- --incompatible_load_java_rules_from_bzl was added to forbid loading the native java rules directly. See more on tracking issue #8746
- Turn on --experimental_build_setting_api by default for starlark build settings (see https://docs.bazel.build/versions/master/skylark/config.html#user- defined-build-settings for more info)
- Attribute names are going to be restricted and must be syntactically valid identifiehttps://github.com/bazelbuild/bazel/issues/6437ues/6437
- rule_test: fix Bazel 0.27 regression ("tags" attribute was ingorhttps://github.com/bazelbuild/bazel/issues/87238723
This release contains contributions from many people at Google, as well as Ben Diuguid, Benjamin Peterson, Dave Lee, Loo Rong Jie, Mark Butcher, Marwan Tammam, Pedro Alvarez.
v0.27.2
This contains a fix on top of Bazel 0.27.1 for https://github.com/bazelbuild/bazel/issues/8723
This release contains contributions from many people at Google, as well as .
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 48457EE.
v0.27.1
Baseline: 8c3b3fba3f68833bd97d3df2db9c48f0539efc3b
Cherry picks:
+ 123c68daed17b19927372e4df7f7a2256db6b80e:
Warn in more cases of possible Python version mismatch in host
config
+ 052167e907373ac7ea43238c3049739f6e94a9d1:
Add a non-strict autodetecting Python toolchain
+ 6ef6d879ab69225d54ecab3db847fb4eff33bbeb:
Default java toolchain target
+ 50fa3ec27efdd95771c70faa38a4543d4fed44f2:
Fix problems with the non-strict Python toolchain
+ e2a626c4f61fe4ceb79a5675d09a6f25ca7b5b22:
Automated rollback of commit
bc6f7cb330bb531f062bb301f3703876051191f5.
+ 6efc5b787ad3164cc2fb779c73377695032b4524:
Treat existence of managed directories as a part of repository
dirtiness.
+ 3a4be3c93813987a27a97dade3f9ebbc5770e349:
Add /usr/local/bin to default PATH under strict action env
+ 5c1005c0947b010ee36ca851b8ba07c9479cf682:
Automated rollback of commit
536a166270590a8dbc701718550383f3a07cc763.
+ c82eb4878c7dc829455caeb915affe36c89df06f:
Release 0.27.0 (2019-06-17)
+ d4589630428c1c1bc08a9baf36257e636fe9d746:
Check for both :lcov_merger and $lcov_merger attributes in
TestActionBuilder.
Important changes:
- Add new options --cs_fdo_absolute_path= to support the absolute path profile for LLVM's context-sensitive FDO.
- When
--incompatible_strict_action_envis enabled, the defaultPATHnow includes/usr/local/bin. - Turn on --experimental_build_setting_api by default for starlark build settings (see https://docs.bazel.build/versions/master/skylark/config.html#user- defined-build-settings for more info)
This release contains contributions from many people at Google, as well as Ricky Pai.
v0.27.0
Baseline: 5935259724bebd1c4bdebc90e159d0f655c8c219
Cherry picks:
+ fe81b49e727efdcc90a270520af193af75f4e31d:
Support of using the absolute path profile for LLVM's Context
Sensitive FDO
+ ce5e7180d98e1244fdfba0349952727826cbd173:
Demote OptionProcessor from globals
+ 3ed9d3681c3e130aafcf3c405ff1795c601bdf95:
Properly wire up BES half-close. The lack thereof was a simple
oversight.
+ 4ca768e9f87701fb92598d0a8325a5fc8881a852:
standardize graph output indentation with 2 spaces
+ aff189a7c514a0171a53a2dcdd37c93ecaa672ad:
Make sure default Linux artifacts have an associated action,
even when artifact names are altered.
+ 8c3b3fba3f68833bd97d3df2db9c48f0539efc3b:
Failures early in package loading will now fail all --keep_going
builds.
+ 123c68daed17b19927372e4df7f7a2256db6b80e:
Warn in more cases of possible Python version mismatch in host
config
+ 052167e907373ac7ea43238c3049739f6e94a9d1:
Add a non-strict autodetecting Python toolchain
+ 6ef6d879ab69225d54ecab3db847fb4eff33bbeb:
Default java toolchain target
+ 50fa3ec27efdd95771c70faa38a4543d4fed44f2:
Fix problems with the non-strict Python toolchain
+ e2a626c4f61fe4ceb79a5675d09a6f25ca7b5b22:
Automated rollback of commit
bc6f7cb330bb531f062bb301f3703876051191f5.
+ 6efc5b787ad3164cc2fb779c73377695032b4524:
Treat existence of managed directories as a part of repository
dirtiness.
+ 3a4be3c93813987a27a97dade3f9ebbc5770e349:
Add /usr/local/bin to default PATH under strict action env
+ 5c1005c0947b010ee36ca851b8ba07c9479cf682:
Automated rollback of commit
536a166270590a8dbc701718550383f3a07cc763.
Incompatible changes:
- --incompatible_disable_objc_provider_resources no longer has effect. Use of deprecated resource fields on the Objc provider is now disallowed regardless of this flag.
- deleted deprecated --experimental-remote-retry* flags, please use --remote_retries instead
- flipped --incompatible_list_based_execution_strategy_selection flag to be true by default. https://github.com/bazelbuild/bazel/issues/7480ues/7480 for details.
- Octal integer literals in Starlark are required to start with "Oo".
- The "native" module is no longer available in BUILD files, all its members can be accessed directly as global symbols. This can be temporarily reverted by providing --incompatible_disallow_native_in_build_file=false as a flag to Blaze.
- The "native" module is no longer available in BUILD files, all its members can be accessed directly as global symbols. This can be temporarily reverted by providing --incompatible_disallow_native_in_build_file=false as a flag to Blaze.
- Turn off binary style profile format.
- The "native" module is no longer available in BUILD files, all its members can be accessed directly as global symbols. This can be temporarily reverted by providing --incompatible_disallow_native_in_build_f...
- cleanup that affects user provided apple frameworks is now enabled by default. https://github.com/bazelbuild/bazel/issues/7944ues/7944 for more info.
- Python rules now determine the Python runtime using toolchains
rather than
--python_topand--python_path, which are deprecated. See #7899 for information on declaring Python toolchains and migrating your code. As a side-benefit, this addresses #4815 (incorrect interpreter version used) on non-Windows platforms. Note however that some builds break due to getting the version they asked for -- consider settingpython_version = "PY2"on Python 2 targets and--host_force_python=PY2if any Python 2 targets are used in the host configuration. You can temporarily opt out of this change with--incompatible_use_python_toolchains=false. - Depsets can't be iterated over unless they're converted to lists using the .to_list() method. Use --incompatible_depset_is_not_iterable=false to temporarily restore the previous behaviour.
New features:
- Bash, runfiles: the copy-pasted init code of the Bash runfiles
library is now shorter, see
tools/bash/runfiles/runfiles.bash. The rlocation() implementation is the same. - Bash, runfiles: the copy-pasted init code of the Bash runfiles
library is now shorter, see
tools/bash/runfiles/runfiles.bash. The rlocation() implementation is the same. - Bash, runfiles: the copy-pasted init code of the Bash runfiles
library is now shorter, see
tools/bash/runfiles/runfiles.bash. To use the new init code, you need Bazel 0.27 or newer. The old (longer) init code still works.
Important changes:
- The
outputsparameter of therule()function is deprecated and attached to flag--incompatible_no_rule_outputs_param. Migrate rules to useOutputGroupInfoorattr.outputinstead. https://github.com/bazelbuild/bazel/issues/79777977 for more info. - The --incompatible_disable_objc_library_resources flag is being removed. Please remove it from your configs as it otherwise will fail the build.
- Add a generic additional_linker_inputs attribute on cc_binary rules.
- Windows, C++ autoconfigure: BAZEL_VC and BAZEL_VS may now have quotes, so if you set these envvars' values in cmd.exe via TAB-completion then you no longer need to remove the surrounding quotes.
- pkg_deb has new attributes:
configandtemplatesthat can be used for integration with debconf - Allow cc_import() of a DLL with no interface library on Windows, used to document runtime dependencies.
- All host-configured Python tools that are built for the wrong Python version will now emit a warning message when they exit with non-zero status. See #7899.
- deprecated --remote_local_fallback_strategy. Use
--strategy=remote,localinstead. See https://github.com/bazelbuild/bazel/issues/74807480. - Introduce --incompatible_disable_native_android_rules flag
- The Android desugaring actions now support a persistent worker
mode for faster local build performance. Enable it with
--strategy=Desugar=worker. - --incompatible_static_name_resolution_in_build_files is now enabled by default
- --incompatible_disable_deprecated_attr_params is now enabled by default (#5818)
- Repository containing autoconfigured C++ toolchain
@local_config_cchas been split in 2 - seelocal_config_cc_toolchains. - --incompatible_string_join_requires_strings is now enabled by default
- Flag --incompatible_new_actions_api is enabled by dewfault (#5825)
- New flag
--incompatible_disallow_empty_glob. See https://github.com/bazelbuild/bazel/issues/81958195 - --incompatible_no_kwargs_in_build_files is enabled by default
- Incompatible flag
--incompatible_require_ctx_in_configure_featureshas been flipped. https://github.com/bazelbuild/bazel/issues/77937793 for more information. BAZEL_USE_XCODE_TOOLCHAIN=1tells Bazel not to look for Xcode to decide whether to enable toolchains for Apple rules, but to assume Xcode is available. Can be also used when building on Darwin and no C++ or ObjC is being built, so there is no need to detect Xcode.- Android desugaring actions now use persistent workers by default.
This has been measured to provide up to 20% reduction in build
times. To disable it, use the
--strategy=Desugar=sandboxedflag. https://github.com/bazelbuild/bazel/issues/83428342 https://github.com/bazelbuild/bazel/issues/8427ues/8427 for more details on local build speed optimization for Android apps. - Fixed an issue with Android builds where
--fat_apk_cpudoesn't pack all selected shared libraries fromaar_importtargets into the APK. See #8283. - Turn on --experimental_starlark_config_transitions by default for starlark transitions (see https://docs.bazel.build/versions/master/skylark/config.html#user- defined-transitions for more info)
- Turn on --experimental_build_setting_api by default for starlark build settings (see https://docs.bazel.build/versions/master/skylark/config.html#user- defined-build-settings for more info)
- Incompatible flag
--incompatible_dont_enable_host_nonhost_crosstool_featureshas been flipped. https://github.com/bazelbuild/bazel/issues/74077407 for more information. - Added support for Android NDK 19 and 20.
- Flip --incompatible_no_support_tools_in_action_inputs
- --remote_executor, --remote_cache or --bes_backend=someurl.com would be treated as grpcs://someurl.com, if the --incompatible_tls_enabled_removed flag enahttps://github.com/bazelbuild/bazel/issues/8061el/issues/8061 for details.
- Add new options --cs_fdo_absolute_path= to support the absolute path profile for LLVM's context-sensitive FDO.
- When
--incompatible_strict_action_envis enabled, the defaultPATHnow includes/usr/local/bin. - Turn on --experimental_build_setting_api by default for starlark build settings (see https://docs.bazel.build/versions/master/skylark/config.html#user- defined-build-settings for more info)
This release contains contributions from many people at Google, as well as Alex Thompson, Andy Scott, Benjamin Peterson, David McNett, Drew Gassaway, Ira Shikhman, James deBoer, Jay Vercellone, Jingwen Chen, Josh Rosen, Keith Smiley, Laurent Le Brun, Lee Mracek, Marwan Tammam, Matt Passell, Michael Hackner, Michal Majcherski, Patrick Niklaus, Peter Mounce, Ricky Pai, Steeve Morin, szakmary, Takuto Ikuta, Vladimir Chebotarev, Yen-Chi Chen.
v0.26.1
Baseline: cb82ed84d44db0169a8fbf15f9cee434b77002bb
Cherry picks:
+ d1c0d205945f5a765efb0a48593b1cd82699ce32:
Allow WORKSPACE file to be a symlink if no managed directories
is used.
+ c3d2aa74ccd23dfb8a8173c2b3e2955f0c5892cb:
Fix ios, tvos and watchos arm64 constraints
+ 55e42052a22a60b68d88a89932b2a068311b1a95:
Bump java_tools_javac10 from 3.1 to 3.2
Patch release on top of 0.26.0, fixing
- https://github.com/bazelbuild/bazel/issues/8475
- https://github.com/bazelbuild/bazel/issues/8520
- https://github.com/bazelbuild/intellij/issues/845
v0.26.0
Baseline: daa8ae565ab2023e49134f0aad233b0a8bd7a5d0
Cherry picks:
+ 61c7ffa60ae9c1937dd6d8ee30a8c0471094ee71:
Automated rollback of commit
87388e24814b177f54ca7697b4233489f90c587e.
+ 898d7b6138af73f03daf35b767d252560087de70:
Add test for repository overrides, conflicting with managed
directories being added when Bazel server is already started.
+ c2001a4569483596d9dc74ba9cabcbe4b6f1887f:
Automated rollback of commit
bbe47a1564a832e1a175206f2dfbc92af94c120b.
+ e67c961905792cd63950c6f6efc33275ad243c49:
Fix a non-determinism in create_embedded_tools.py.
+ 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
Remove unsupported cpu attribute from cc_toolchains.
+ 597e289b097d3bfed8eea1cb0924bbeb04877e42:
remote: made CombinedCache a composition of Disk and Http Cache
+ 942f7cf6a0da0a4ecc804615424f039e50963933:
C++: Fixes bug in C++ API with external repo aspects
+ 85a5a2bd569a5274950fc7327a044c395248c024:
Configure @​androidsdk//:emulator_x86 and :emulator_arm to point
to the unified emulator binary
+ 9835cb4135503768cdf1161746b95d7969ccb938:
Automated rollback of commit
844e4e297b404d6ff28b818d8150d4b9c47de887.
+ c963ba21073b514961946b8b4b45b091f08fdaa1:
Windows, Python: fix arg. esc. also in host config
+ a1ea487e0a9e180a36fa4aab57f7c746ddcf367a:
Do not pre-cache changed files under managed directories
+ 7dc78cdd04eedf2f4373b170053ba5fc2a990929:
Add explicit execution and target constraints for autodiscovered
cc t?
+ dd9ac13f7e3b71bdf2eca717bc7681bdd12389a2:
Fix a bug when a relative path is used for the execution log
+ 0ff19c6d0adf3c0df94fff59ca3bd13cbcf99897:
Fix StandaloneTestStrategy.appendStderr
+ 7f495315749478e75a3424726cc273a535b7c3b8:
Fix the autodetecting Python toolchain on Mac
+ ddce7235ef29a0aba727c265eae865d15af4ed09:
Avoid exporting PATH unnecessarily
+ 35dd05a059fa7fddfdd888cfc69102994e3c04dc:
Allow Starlark rules to be able to use the `exec_compatible_with`
Incompatible changes
-
--incompatible_windows_escape_jvm_flagsis enabled by default, and removed. -
--incompatible_windows_style_arg_escapingis enabled by default. -
--incompatible_no_output_attr_defaultis enabled by default. -
--incompatible_depset_unionis enabled by default. -
--incompatible_disable_genrule_cc_toolchain_dependencyremoved -
--Incompatible_disallow_rule_execution_platform_constraints_allowed: When enabled, disallows the use of theexecution_platform_constraints_allowedattribute when defining new rules. -
--incompatible_disable_objc_provider_resourcesis now enabled by default.
Apple
-
The
--ios_multi_cpus,--watchos_cpus,--macos_cpusand--tvos_cpusare now additive. This means that you can now split the--ios_multi_cpus=arm64,armv7into--ios_multi_cpus=arm64and--ios_multi_cpus=armv7. -
Add
--incompatible_objc_framework_cleanupto control whether to enable some objc framework cleanup that changes the API. Specifically, the cleanup changes the objc provider API pertaining to frameworks. This change is expected to be transparent to most users unless they write their own Starlark rules to handle https://github.com/bazelbuild/bazel/issues/7594azel/issues/7594 for details. -
objc_librarydoes not support resource attributes any more. Please read #7594 for more info.
Android
- Android resource conflicts will no longer be reported between a strong attr resource and a weak attr resource, if the weak attr does not have format specified.
C++
-
[Allow debugging C++ features logic](https://github.com/bazelbuild/bazel/commit/53156db1e30fe7197889c3cbc8d1321ff9b85143
-
Add new options
--cs_fdo_instrumentand--cs_fdo_profileto support LLVM's context-sensitive FDO (CSFDO). -
Bazel C++ compile/link Starlark API. Can be used with experimental flag
--experimental_cc_skylark_api_enabled_packages. -
cc_toolchain.static_runtime_libandcc_toolchain.dynamic_runtime_libare now exposed to Starlark. -
C++ Starlark API for compilation and linking is no longer whitelisted
-
Incompatible flag
--incompatible_make_thinlto_command_lines_standalonehas been added. https://github.com/bazelbuild/bazel/issues/67916791 for details. -
Feature
disable_whole_archive_for_static_libhas been added to allow turning off legacy_whole_archive for individual targehttps://github.com/bazelbuild/bazel/issues/7362ues/7362
Python
- Fixed an issue where some
py_runtimeswere incompatible with using--build_python_zip(#5104).
Starlark
-
The flag
--incompatible_restrict_named_paramsis added. Buildifier will soon be updated to automatically fix this in your code. -
The flag
--incompatible_no_kwargs_in_build_filesis added. It fixes a bug where the**kwargnotation was allowed inBUILDfiles. -
The flag
--incompatible_static_name_resolution_in_build_filesis added. This fixes a bug where invalid code was silently accepted. -
The flag
--incompatible_disallow_old_octal_notationis added. It removes a deprecated notation for octal numbers. Buildifier can update your code automatically. -
struct.to_proto()can now convert dictionaries into proto3 text message. -
The
globfunction has a new argumentallow_empty. When set toFalse(this will be the default in the future), the glob fails when it doesn't match anything. Please explicitly setallow_empty = Trueto the globs that need it.
Windows
- Windows, Python: the new
--incompatible_windows_escape_python_argsflag (falseby default) buildspy_binaryandpy_testtargets with correct command line argument escaping. Similarhttps://github.com/bazelbuild/bazel/issues/7486ues/7486 but forpy_*rules.
Other changes
-
cquery supports
--output=build -
Generated Go protobufs now depend on
//net/proto2/go:proto_gendepsinstead of//net/proto2/go:proto -
Added
--incompatible_remove_binary_profileto disable the old binary profiles. Instead use the JSON profile format: https://docs.bazel.build/versions/master/skylark/performance.html#json-profile -
Introducing
--execution_log_binary_fileand--execution_log_json_filethat output a stable sorted execution log. They will offer a stable replacement to--experimental_execution_log_file. -
New platform_mappings ability to allow gradual flag to platforms/toolchains migration. See ahttps://github.com/bazelbuild/bazel/issues/64266426
-
Added support for compiling against fully qualified
Rclasses fromaar_importdependencies. -
--tls_enabledflag is deprecated. Please providegrpcsas a scheme in the URLs if TLS should be used for a remote connection.
Community
-
Alex Eagle gave a talk at ng-conf: The Bazel Opt-in Preview is Here!
-
The latest release of rules_haskell includes many new improvements, including an initial Windows support.
-
The latest Buildifier release includes Windows binaries, as well as a JSON output for diagnostics.
-
Natan Silnitsky gave the talk How to successfully migrate to Bazel from Maven or Gradle at the Java Eastern Europe Conference.
This release contains contributions from many people at Google, as well as Benjamin Peterson, Brian Topping, clyang82, Dave Lee, George Gensure,, Greg, Guro Bokum, Keith Smiley, Max Vorobev, Michael Hackner, Robert Brown, Robert Sayre, Ryan Beasley, and Yannic.
v0.25.3
Baseline: 03662462941953dad23af88693804b8b1d4430b9
Cherry picks:
+ 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
Windows: fix native test wrapper's arg. escaping
+ afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
Flip --incompatible_windows_escape_jvm_flags
+ 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
Sort DirectoryNode children to ensure validity.
+ 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
Conditionally use deprecated signature for initWithContentsOfURL
+ 75a3a531b08e727ade4fa3cb0a574bd142727cce:
Add http_archive entries for testing with various JDK versions.
+ 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
Now that ubuntu1804 uses JDK 11, remove explicit
ubuntu1804_java11 tests.
+ ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
Fix wrong name of ubuntu1804_javabase9 task.
+ 0020a97fdc20ca099ec6386771b20d3236f9890d:
Remove @​executable_path/Frameworks from rpaths
+ 130f86ded1ce84f959f0b78c065211902faed546:
Download stderr/stdout to a temporary FileOutErr
+ 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
Release 0.25.0 (2019-05-01)
+ ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
Add implementation to removed methods to address
https://github.com/bazelbuild/bazel/issues/8226
+ 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
Remove unsupported cpu attribute from cc_toolchains.
+ cccced1e7fc7eaf4ba8f2c9d73dbac72b2686df9:
Release 0.25.1 (2019-05-07)
+ 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
Use package identifier instead of package name
+ 85a5a2bd569a5274950fc7327a044c395248c024:
Configure @​androidsdk//:emulator_x86 and :emulator_arm to point
to the unified emulator binary
+ 6549ac5bba3eef2b1813b5a75757437383bf38f0:
Release 0.25.2 (2019-05-10)
+ 0ff19c6d0adf3c0df94fff59ca3bd13cbcf99897:
Fix StandaloneTestStrategy.appendStderr
Incompatible changes:
- Flip --incompatible_windows_escape_jvm_flags to true. See https://github.com/bazelbuild/bazel/issues/74867486
This release contains contributions from many people at Google, as well as George Gensure, Keith Smiley, Robert Sayre.
v0.25.2
Baseline: 03662462941953dad23af88693804b8b1d4430b9
Cherry picks:
+ 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
Windows: fix native test wrapper's arg. escaping
+ afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
Flip --incompatible_windows_escape_jvm_flags
+ 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
Sort DirectoryNode children to ensure validity.
+ 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
Conditionally use deprecated signature for initWithContentsOfURL
+ 75a3a531b08e727ade4fa3cb0a574bd142727cce:
Add http_archive entries for testing with various JDK versions.
+ 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
Now that ubuntu1804 uses JDK 11, remove explicit
ubuntu1804_java11 tests.
+ ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
Fix wrong name of ubuntu1804_javabase9 task.
+ 0020a97fdc20ca099ec6386771b20d3236f9890d:
Remove @​executable_path/Frameworks from rpaths
+ 130f86ded1ce84f959f0b78c065211902faed546:
Download stderr/stdout to a temporary FileOutErr
+ 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
Release 0.25.0 (2019-05-01)
+ ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
Add implementation to removed methods to address
https://github.com/bazelbuild/bazel/issues/8226
+ 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
Remove unsupported cpu attribute from cc_toolchains.
+ cccced1e7fc7eaf4ba8f2c9d73dbac72b2686df9:
Release 0.25.1 (2019-05-07)
+ 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
Use package identifier instead of package name
+ 85a5a2bd569a5274950fc7327a044c395248c024:
Configure @​androidsdk//:emulator_x86 and :emulator_arm to point
to the unified emulator binary
- Add fix for https://github.com/bazelbuild/bazel/issues/8254
- Add fix for https://github.com/bazelbuild/bazel/issues/8280
v0.25.1
Baseline: 03662462941953dad23af88693804b8b1d4430b9
Cherry picks:
+ 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
Windows: fix native test wrapper's arg. escaping
+ afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
Flip --incompatible_windows_escape_jvm_flags
+ 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
Sort DirectoryNode children to ensure validity.
+ 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
Conditionally use deprecated signature for initWithContentsOfURL
+ 75a3a531b08e727ade4fa3cb0a574bd142727cce:
Add http_archive entries for testing with various JDK versions.
+ 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
Now that ubuntu1804 uses JDK 11, remove explicit
ubuntu1804_java11 tests.
+ ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
Fix wrong name of ubuntu1804_javabase9 task.
+ 0020a97fdc20ca099ec6386771b20d3236f9890d:
Remove @​executable_path/Frameworks from rpaths
+ 130f86ded1ce84f959f0b78c065211902faed546:
Download stderr/stdout to a temporary FileOutErr
+ 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
Release 0.25.0 (2019-05-01)
+ ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
Add implementation to removed methods to address
https://github.com/bazelbuild/bazel/issues/8226
+ 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
Remove unsupported cpu attribute from cc_toolchains.
Adding a commit which reintroduces the implementation for cc_common.compile and cc_common.link https://github.com/bazelbuild/bazel/issues/8226
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.