Skip to content

Commit 8089b27

Browse files
Bazel Release Systemaehlig
Bazel Release System
authored andcommitted
Release 0.26.0 (2019-05-28)
Baseline: daa8ae5 Cherry picks: + 61c7ffa: Automated rollback of commit 87388e2. + 898d7b6: Add test for repository overrides, conflicting with managed directories being added when Bazel server is already started. + c2001a4: Automated rollback of commit bbe47a1. + e67c961: Fix a non-determinism in create_embedded_tools.py. + 81aefe7: Remove unsupported cpu attribute from cc_toolchains. + 597e289: remote: made CombinedCache a composition of Disk and Http Cache + 942f7cf: C++: Fixes bug in C++ API with external repo aspects + 85a5a2b: Configure @androidsdk//:emulator_x86 and :emulator_arm to point to the unified emulator binary + 9835cb4: Automated rollback of commit 844e4e2. + c963ba2: Windows, Python: fix arg. esc. also in host config + a1ea487: Do not pre-cache changed files under managed directories + 7dc78cd: Add explicit execution and target constraints for autodiscovered cc t? + dd9ac13: Fix a bug when a relative path is used for the execution log + 0ff19c6: Fix StandaloneTestStrategy.appendStderr + 7f49531: Fix the autodetecting Python toolchain on Mac + ddce723: Avoid exporting PATH unnecessarily + 35dd05a: Allow Starlark rules to be able to use the `exec_compatible_with` Incompatible changes: - Flip --incompatible_windows_escape_jvm_flags to true. See bazelbuild#7486 - Flip --incompatible_windows_style_arg_escaping to true. See bazelbuild#7454 - --incompatible_windows_escape_jvm_flags is enabled by default, and the flag no longer exists - `--incompatible_no_output_attr_default` is enabled by default. - --incompatible_depset_union is enabled by default. - Python rules now determine the Python runtime using toolchains rather than `--python_top` and `--python_path`, which are deprecated. See [bazelbuild#7899](bazelbuild#7899) for information on declaring Python toolchains and migrating your code. As a side-benefit, this addresses bazelbuild#4815 (incorrect interpreter version used) on non-Windows platforms. You can temporarily opt out of this change with `--incompatible_use_python_toolchains=false`. - Python rules now determine the Python runtime using toolchains rather than `--python_top` and `--python_path`, which are deprecated. See bazelbuild#7899 for information on declaring Python toolchains and migrating your code. As a side-benefit, this addresses bazelbuild#4815 (incorrect interpreter version used) on non-Windows platforms. You can temporarily opt out of this change with `--incompatible_use_python_toolchains=false`. New features: - Windows, Python: the --incompatible_windows_escape_python_args flag (false by default) builds py_binary and py_test targets with correct command line argument escaping. - cquery supports --output=build Important changes: - Allow debugging C++ features logic. - The --ios_multi_cpus, --watchos_cpus, --macos_cpus and tvos_cpus are now additive. This means that you can now split the --ios_multi_cpus=arm64,armv7 into --ios_multi_cpus=arm64 and --ios_multi_cpus=armv7. - Generated Go protobufs now depend on //net/proto2/go:proto_gendeps instead of //net/proto2/go:proto - Add new options --cs_fdo_instrument and --cs_profile to 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=<package_path>,<pac kage_path2>. - `cc_toolchain.static_runtime_lib` and `cc_toolchain.dynamic_runtime_lib` are now exposed to Starlark. - New flag `--incompatible_no_kwargs_in_build_files`. See bazelbuild#8021 - struct.to_proto() converts dict into proto3 text message (map<,>). - 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. - Flag `--incompatible_static_name_resolution_in_build_files` is added. See bazelbuild#8022 - Add --incompatible_objc_framework_cleanup to 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 frameworks. See bazelbuild#7594 for details. - Added --incompatible_remove_binary_profile to 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_file and --execution_log_json_file that output a stable sorted execution log. They will offer a stable replacement to --experimental_execution_log_file. - Flag `--incompatible_disallow_old_octal_notation` is added. See //github.com/bazelbuild/issues/8059 - Removes the --incompatible_disable_genrule_cc_toolchain_dependency flag. - 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. - Incompatible flag `--incompatible_make_thinlto_command_lines_standalone` has been added. See bazelbuild#6791 for details. - objc_library does not support resource attributes any more. Please read bazelbuild#7594 for more info. - The `outputs` parameter of the `rule()` function is deprecated and attached to flag `--incompatible_no_rule_outputs_param`. Migrate rules to use `OutputGroupInfo` or `attr.output` instead. See bazelbuild#7977 for more info. - New platform_mappings ability to allow gradual flag to platforms/toolchains migration. See also bazelbuild#6426 - Added support for compiling against fully qualified R classes from aar_import dependencies. - --tls_enabled flag is deprecated. Please provide 'grpcs' as a scheme in the URLs if TLS should be used for a remote connection. - Adds incompatible_disallow_rule_execution_platform_constraints_allowed, which disallows the use of the "execution_platform_constraints_allowed" attribute when defining new rules. - Flag `--incompatible_restrict_named_params` is added. See bazelbuild#8147 for details. - The glob function has a new argument `allow_empty`. When set to False, the glob fails when it doesn't match anything. - Adds the "disable_whole_archive_for_static_lib" feature to allow turning off legacy_whole_archive for individual targets. - C++ Starlark API for compilation and linking is no longer whitelisted - Update visibility advice in build-style - --incompatible_disable_objc_provider_resources is now enabled by default. - Fixed an issue where some `py_runtime`s were incompatible with using `--build_python_zip` (bazelbuild#5104). - The `outputs` parameter of the `rule()` function is deprecated and attached to flag `--incompatible_no_rule_outputs_param`. Migrate rules to use `OutputGroupInfo` or `attr.output` instead. See bazelbuild#7977 for more info. This release contains contributions from many people at Google, as well as Benjamin Peterson, Brian Topping, clyang82, Dave Lee, George Gensure, Greg Estren, Greg, Guro Bokum, Keith Smiley, Max Vorobev, Michael Hackner, Robert Brown, Robert Sayre, Ryan Beasley, Yannic.
1 parent 4f9110e commit 8089b27

File tree

1 file changed

+150
-112
lines changed

1 file changed

+150
-112
lines changed

CHANGELOG.md

+150-112
Original file line numberDiff line numberDiff line change
@@ -1,137 +1,175 @@
1-
## Release 0.25.3 (2019-05-23)
1+
## Release 0.26.0 (2019-05-28)
22

33
```
4-
Baseline: 03662462941953dad23af88693804b8b1d4430b9
4+
Baseline: daa8ae565ab2023e49134f0aad233b0a8bd7a5d0
55
66
Cherry picks:
77
8-
+ 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
9-
Windows: fix native test wrapper's arg. escaping
10-
+ afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
11-
Flip --incompatible_windows_escape_jvm_flags
12-
+ 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
13-
Sort DirectoryNode children to ensure validity.
14-
+ 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
15-
Conditionally use deprecated signature for initWithContentsOfURL
16-
+ 75a3a531b08e727ade4fa3cb0a574bd142727cce:
17-
Add http_archive entries for testing with various JDK versions.
18-
+ 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
19-
Now that ubuntu1804 uses JDK 11, remove explicit
20-
ubuntu1804_java11 tests.
21-
+ ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
22-
Fix wrong name of ubuntu1804_javabase9 task.
23-
+ 0020a97fdc20ca099ec6386771b20d3236f9890d:
24-
Remove @executable_path/Frameworks from rpaths
25-
+ 130f86ded1ce84f959f0b78c065211902faed546:
26-
Download stderr/stdout to a temporary FileOutErr
27-
+ 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
28-
Release 0.25.0 (2019-05-01)
29-
+ ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
30-
Add implementation to removed methods to address
31-
https://github.com/bazelbuild/bazel/issues/8226
8+
+ 61c7ffa60ae9c1937dd6d8ee30a8c0471094ee71:
9+
Automated rollback of commit
10+
87388e24814b177f54ca7697b4233489f90c587e.
11+
+ 898d7b6138af73f03daf35b767d252560087de70:
12+
Add test for repository overrides, conflicting with managed
13+
directories being added when Bazel server is already started.
14+
+ c2001a4569483596d9dc74ba9cabcbe4b6f1887f:
15+
Automated rollback of commit
16+
bbe47a1564a832e1a175206f2dfbc92af94c120b.
17+
+ e67c961905792cd63950c6f6efc33275ad243c49:
18+
Fix a non-determinism in create_embedded_tools.py.
3219
+ 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
3320
Remove unsupported cpu attribute from cc_toolchains.
34-
+ cccced1e7fc7eaf4ba8f2c9d73dbac72b2686df9:
35-
Release 0.25.1 (2019-05-07)
36-
+ 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
37-
Use package identifier instead of package name
21+
+ 597e289b097d3bfed8eea1cb0924bbeb04877e42:
22+
remote: made CombinedCache a composition of Disk and Http Cache
23+
+ 942f7cf6a0da0a4ecc804615424f039e50963933:
24+
C++: Fixes bug in C++ API with external repo aspects
3825
+ 85a5a2bd569a5274950fc7327a044c395248c024:
3926
Configure @androidsdk//:emulator_x86 and :emulator_arm to point
4027
to the unified emulator binary
41-
+ 6549ac5bba3eef2b1813b5a75757437383bf38f0:
42-
Release 0.25.2 (2019-05-10)
28+
+ 9835cb4135503768cdf1161746b95d7969ccb938:
29+
Automated rollback of commit
30+
844e4e297b404d6ff28b818d8150d4b9c47de887.
31+
+ c963ba21073b514961946b8b4b45b091f08fdaa1:
32+
Windows, Python: fix arg. esc. also in host config
33+
+ a1ea487e0a9e180a36fa4aab57f7c746ddcf367a:
34+
Do not pre-cache changed files under managed directories
35+
+ 7dc78cdd04eedf2f4373b170053ba5fc2a990929:
36+
Add explicit execution and target constraints for autodiscovered
37+
cc t?
38+
+ dd9ac13f7e3b71bdf2eca717bc7681bdd12389a2:
39+
Fix a bug when a relative path is used for the execution log
4340
+ 0ff19c6d0adf3c0df94fff59ca3bd13cbcf99897:
4441
Fix StandaloneTestStrategy.appendStderr
42+
+ 7f495315749478e75a3424726cc273a535b7c3b8:
43+
Fix the autodetecting Python toolchain on Mac
44+
+ ddce7235ef29a0aba727c265eae865d15af4ed09:
45+
Avoid exporting PATH unnecessarily
46+
+ 35dd05a059fa7fddfdd888cfc69102994e3c04dc:
47+
Allow Starlark rules to be able to use the `exec_compatible_with`
4548
```
4649

4750
Incompatible changes:
4851

4952
- Flip --incompatible_windows_escape_jvm_flags to true. See
5053
https://github.com/bazelbuild/bazel/issues/7486
54+
- Flip --incompatible_windows_style_arg_escaping to true. See
55+
https://github.com/bazelbuild/bazel/issues/7454
56+
- --incompatible_windows_escape_jvm_flags is enabled by default,
57+
and the flag no longer exists
58+
- `--incompatible_no_output_attr_default` is enabled by default.
59+
- --incompatible_depset_union is enabled by default.
60+
- Python rules now determine the Python runtime using toolchains
61+
rather than `--python_top` and `--python_path`, which are
62+
deprecated. See
63+
[#7899](https://github.com/bazelbuild/bazel/issues/7899) for
64+
information on declaring Python toolchains and migrating your
65+
code. As a side-benefit, this addresses #4815 (incorrect
66+
interpreter version used) on non-Windows platforms. You can
67+
temporarily opt out of this change with
68+
`--incompatible_use_python_toolchains=false`.
69+
- Python rules now determine the Python runtime using toolchains
70+
rather than `--python_top` and `--python_path`, which are
71+
deprecated. See #7899 for information on declaring Python
72+
toolchains and migrating your code. As a side-benefit, this
73+
addresses #4815 (incorrect interpreter version used) on
74+
non-Windows platforms. You can temporarily opt out of this change
75+
with `--incompatible_use_python_toolchains=false`.
5176

52-
This release contains contributions from many people at Google, as well as George Gensure, Keith Smiley, Robert Sayre.
53-
54-
## Release 0.25.2 (2019-05-10)
55-
56-
```
57-
Baseline: 03662462941953dad23af88693804b8b1d4430b9
58-
59-
Cherry picks:
60-
61-
+ 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
62-
Windows: fix native test wrapper's arg. escaping
63-
+ afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
64-
Flip --incompatible_windows_escape_jvm_flags
65-
+ 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
66-
Sort DirectoryNode children to ensure validity.
67-
+ 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
68-
Conditionally use deprecated signature for initWithContentsOfURL
69-
+ 75a3a531b08e727ade4fa3cb0a574bd142727cce:
70-
Add http_archive entries for testing with various JDK versions.
71-
+ 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
72-
Now that ubuntu1804 uses JDK 11, remove explicit
73-
ubuntu1804_java11 tests.
74-
+ ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
75-
Fix wrong name of ubuntu1804_javabase9 task.
76-
+ 0020a97fdc20ca099ec6386771b20d3236f9890d:
77-
Remove @executable_path/Frameworks from rpaths
78-
+ 130f86ded1ce84f959f0b78c065211902faed546:
79-
Download stderr/stdout to a temporary FileOutErr
80-
+ 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
81-
Release 0.25.0 (2019-05-01)
82-
+ ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
83-
Add implementation to removed methods to address
84-
https://github.com/bazelbuild/bazel/issues/8226
85-
+ 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
86-
Remove unsupported cpu attribute from cc_toolchains.
87-
+ cccced1e7fc7eaf4ba8f2c9d73dbac72b2686df9:
88-
Release 0.25.1 (2019-05-07)
89-
+ 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
90-
Use package identifier instead of package name
91-
+ 85a5a2bd569a5274950fc7327a044c395248c024:
92-
Configure @androidsdk//:emulator_x86 and :emulator_arm to point
93-
to the unified emulator binary
94-
```
95-
96-
* Add fix for https://github.com/bazelbuild/bazel/issues/8254
97-
* Add fix for https://github.com/bazelbuild/bazel/issues/8280
98-
99-
## Release 0.25.1 (2019-05-07)
100-
101-
```
102-
Baseline: 03662462941953dad23af88693804b8b1d4430b9
77+
New features:
10378

104-
Cherry picks:
79+
- Windows, Python: the --incompatible_windows_escape_python_args
80+
flag (false by default) builds py_binary and py_test targets with
81+
correct command line argument escaping.
82+
- cquery supports --output=build
10583

106-
+ 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
107-
Windows: fix native test wrapper's arg. escaping
108-
+ afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
109-
Flip --incompatible_windows_escape_jvm_flags
110-
+ 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
111-
Sort DirectoryNode children to ensure validity.
112-
+ 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
113-
Conditionally use deprecated signature for initWithContentsOfURL
114-
+ 75a3a531b08e727ade4fa3cb0a574bd142727cce:
115-
Add http_archive entries for testing with various JDK versions.
116-
+ 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
117-
Now that ubuntu1804 uses JDK 11, remove explicit
118-
ubuntu1804_java11 tests.
119-
+ ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
120-
Fix wrong name of ubuntu1804_javabase9 task.
121-
+ 0020a97fdc20ca099ec6386771b20d3236f9890d:
122-
Remove @executable_path/Frameworks from rpaths
123-
+ 130f86ded1ce84f959f0b78c065211902faed546:
124-
Download stderr/stdout to a temporary FileOutErr
125-
+ 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
126-
Release 0.25.0 (2019-05-01)
127-
+ ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
128-
Add implementation to removed methods to address
129-
https://github.com/bazelbuild/bazel/issues/8226
130-
+ 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
131-
Remove unsupported cpu attribute from cc_toolchains.
132-
```
84+
Important changes:
13385

134-
Adding a commit which reintroduces the implementation for cc_common.compile and cc_common.link https://github.com/bazelbuild/bazel/issues/8226
86+
- Allow debugging C++ features logic.
87+
- The --ios_multi_cpus, --watchos_cpus, --macos_cpus and tvos_cpus
88+
are now additive. This means that you can now split the
89+
--ios_multi_cpus=arm64,armv7 into --ios_multi_cpus=arm64 and
90+
--ios_multi_cpus=armv7.
91+
- Generated Go protobufs now depend on
92+
//net/proto2/go:proto_gendeps instead of //net/proto2/go:proto
93+
- Add new options --cs_fdo_instrument and --cs_profile to support
94+
LLVM's context-sensitive FDO (CSFDO).
95+
- Bazel C++ compile/link Starlark API. Can be used with
96+
experimental flag
97+
--experimental_cc_skylark_api_enabled_packages=<package_path>,<pac
98+
kage_path2>.
99+
- `cc_toolchain.static_runtime_lib` and
100+
`cc_toolchain.dynamic_runtime_lib` are now exposed to Starlark.
101+
- New flag `--incompatible_no_kwargs_in_build_files`. See
102+
https://github.com/bazelbuild/bazel/issues/8021
103+
- struct.to_proto() converts dict into proto3 text message (map<,>).
104+
- Android resource conflicts will no longer be reported between a
105+
strong attr resource and a weak attr resource, if the weak attr
106+
does not have format specified.
107+
- Flag `--incompatible_static_name_resolution_in_build_files` is
108+
added. See https://github.com/bazelbuild/bazel/issues/8022
109+
- Add --incompatible_objc_framework_cleanup to control whether to
110+
enable some objc framework cleanup that changes the API.
111+
Specifically, the cleanup changes the objc provider API
112+
pertaining to frameworks. This change is expected to be
113+
transparent to most users unless they write their own Starlark
114+
rules to handle frameworks. See
115+
https://github.com/bazelbuild/bazel/issues/7594 for details.
116+
- Added --incompatible_remove_binary_profile to disable the old
117+
binary
118+
profiles. Instead use the JSON profile format:
119+
https://docs.bazel.build/versions/master/skylark/performance.html#
120+
json-profile
121+
- Introducing --execution_log_binary_file and
122+
--execution_log_json_file that output a stable sorted execution
123+
log. They will offer a stable replacement to
124+
--experimental_execution_log_file.
125+
- Flag `--incompatible_disallow_old_octal_notation` is added. See
126+
//github.com/bazelbuild/bazel/issues/8059
127+
- Removes the
128+
--incompatible_disable_genrule_cc_toolchain_dependency flag.
129+
- Android resource conflicts will no longer be reported between a
130+
strong attr resource and a weak attr resource, if the weak attr
131+
does not have format specified.
132+
- Incompatible flag
133+
`--incompatible_make_thinlto_command_lines_standalone` has been
134+
added. See https://github.com/bazelbuild/bazel/issues/6791 for
135+
details.
136+
- objc_library does not support resource attributes any more.
137+
Please read #7594 for more info.
138+
- The `outputs` parameter of the `rule()` function is deprecated
139+
and attached to flag `--incompatible_no_rule_outputs_param`.
140+
Migrate rules to use `OutputGroupInfo` or `attr.output` instead.
141+
See https://github.com/bazelbuild/bazel/issues/7977 for more info.
142+
- New platform_mappings ability to allow gradual flag to
143+
platforms/toolchains migration. See also
144+
https://github.com/bazelbuild/bazel/issues/6426
145+
- Added support for compiling against fully qualified R classes
146+
from aar_import dependencies.
147+
- --tls_enabled flag is deprecated. Please provide 'grpcs' as a
148+
scheme in the URLs if TLS should be used for a remote connection.
149+
- Adds
150+
incompatible_disallow_rule_execution_platform_constraints_allowed,
151+
which
152+
disallows the use of the "execution_platform_constraints_allowed"
153+
attribute when defining new rules.
154+
- Flag `--incompatible_restrict_named_params` is added. See
155+
https://github.com/bazelbuild/bazel/issues/8147 for details.
156+
- The glob function has a new argument `allow_empty`. When set to
157+
False, the glob fails when it doesn't match anything.
158+
- Adds the "disable_whole_archive_for_static_lib" feature to allow
159+
turning off legacy_whole_archive for individual targets.
160+
- C++ Starlark API for compilation and linking is no longer
161+
whitelisted
162+
- Update visibility advice in build-style
163+
- --incompatible_disable_objc_provider_resources is now enabled by
164+
default.
165+
- Fixed an issue where some `py_runtime`s were incompatible with
166+
using `--build_python_zip` (#5104).
167+
- The `outputs` parameter of the `rule()` function is deprecated
168+
and attached to flag `--incompatible_no_rule_outputs_param`.
169+
Migrate rules to use `OutputGroupInfo` or `attr.output` instead.
170+
See https://github.com/bazelbuild/bazel/issues/7977 for more info.
171+
172+
This release contains contributions from many people at Google, as well as Benjamin Peterson, Brian Topping, clyang82, Dave Lee, George Gensure, Greg Estren, Greg, Guro Bokum, Keith Smiley, Max Vorobev, Michael Hackner, Robert Brown, Robert Sayre, Ryan Beasley, Yannic.
135173

136174
## Release 0.25.0 (2019-05-01)
137175

0 commit comments

Comments
 (0)