Skip to content

Commit f092ec3

Browse files
Bazel Release Systemkatre
Bazel Release System
authored andcommitted
Release 0.24.0 (2019-03-26)
Baseline: 235e76b Cherry picks: + badd82e: Automated rollback of commit 1b4c37c. + 33e5719: Fix the Python version select() mechanism to handle PY3-as-default + 56366ee: Set non-empty values for msvc_env_* when VC not installed + 22b3fbf: Windows, test wrapper: fix broken integration test + f14d447: Add whitelist file for starlark transitions + d99bc47: Update BUILD + 3529ad7: Rename tools/function_transition_whitelist/BUILD to tools/whitelists/function_transition_whitelist/BUILD + de0612a: Update bazel_toolchains to latest release and add toolchain config target for BuildKite CI (rbe_ubuntu1604) + 3e660ad: Automated rollback of commit 0877340. + 314cf1f: Pass -undefined dynamic_lookup to dynamic library linking actions on Mac + fc586a8: Move cc_flags target into @bazel_tools//tools/cpp. + ea1703b: C++: Fix crash reported in #7721 + 803801d: Pass execution info to xml generating spawn. Fixes #7794 Incompatible changes: - Added --incompatible_py3_is_default to test switching the default Python version to PY3 for py_binary/py_test targets that do not specify a version. See #7359. - //tools/cmd_line_differ has been renamed to //tools/aquery_differ & can now compare (in addition to command lines) inputs of actions given 2 aquery results. - java_(mutable_|)proto_library: removed strict_deps attribute. - The flag --incompatible_list_based_execution_strategy_selection was added and is used to ease the migration to the new style of specifying execution strategy selection and fallback behavior. The documentation for this flag is here: #7480 - Added --incompatible_py2_outputs_are_suffixed, for switching the bazel-bin symlink to point to Python 3 outputs instead of Python 2 outputs. See [#7593](#7593). New features: - Make actions.args() object chainable. - Added --incompatible_windows_style_arg_escaping flag: enables correct subprocess argument escaping on Windows. (No-op on other platforms.) - Added --incompatible_windows_escape_jvm_flags flag: enables correct java_binary.jvm_flags and java_test.jvm_flags tokenization and escaping on Windows. (No-op on other platforms.) Important changes: - Allow running aquery against the current state of Skyframe - Added support for the "navigation" resource directory to Android resource processing in Bazel. This is used by the Navigation Architecture Component. - --incompatible_disable_runtimes_filegroups was flipped (#6942) - Incompatible flag `--incompatible_linkopts_in_user_link_flags` has been flipped (#6826) - Incompatible flag `--incompatible_dont_emit_static_libgcc` has been flipped (#6825) - --incompatible_disallow_filetype is enabled by default. - Fixed issue where exceptions and stacktraces were silently swallowed in the Android resource processing pipeline. - `--incompatible_disable_expand_if_all_available_in_flag_set` has been flipped (#7008) - --incompatible_disallow_dict_plus is enabled by default - Adds --incompatible_disable_objc_library_resources to disable resource attributes in objc_library. Please migrate these attributes to `data` instead. - --incompatible_disallow_old_style_args_add is enabled by default. - Using the `native` module in BUILD files is deprecated. It will be forbidden with --incompatible_disallow_native_in_build_file. - (Python rules) PyRuntimeInfo is exposed to Starlark, making it possible for Starlark rules to depend on or imitate `py_runtime`. The `files` attribute of `py_runtime` is no longer mandatory. - incompatible_use_toolchain_providers_in_java_common: pass JavaToolchainInfo and JavaRuntimeInfo providers to java_common APIs instead of configured targetshttps://github.com//issues/7186. - is_using_fission crosstool variable is now exposed in all compile actions when fission is active (it used to be exposed only for linking actions). - incompatible_use_toolchain_providers_in_java_common: pass JavaToolchainInfo and JavaRuntimeInfo providers to java_common APIs instead of configured targetshttps://github.com//issues/7186. - `py_runtime` gains a `python_version` attribute for specifying whether it represents a Python 2 or 3 interpreter. - `--incompatible_java_coverage` is enabled by default. - Starlark rules can safely declare attributes named "licenses" - When using --incompatible_list_based_execution_strategy_selection, Bazel will use remote execution by default (if you specify --remote_executor), otherwise persistent workers (if the action supports it), otherwise sandboxed local execution (if the action and platform supports it) and at last unsandboxed local execution. The flags --spawn_strategy and --strategy continue to work as before - this only sets new defaults for the case where you don't specify these flags. - Set default value of --incompatible_remap_main_repo to true. - Set default value of --incompatible_remap_main_repo to true. This release contains contributions from many people at Google, as well as Andrew Suffield, Brandon Lico, Chris Eason, Clint Harrison, Ed Schouten, Garrett Hopper, George Gensure, Greg, John Millikin, Julie, Keith Smiley, Laurent Le Brun, Ryan Beasley, Shmuel H, Travis Cline, Vladimir Chebotarev.
1 parent eeef62f commit f092ec3

File tree

1 file changed

+127
-0
lines changed

1 file changed

+127
-0
lines changed

CHANGELOG.md

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,130 @@
1+
## Release 0.24.0 (2019-03-26)
2+
3+
```
4+
Baseline: 235e76b0e756d05599a6cbe1663ff8e13df84a86
5+
6+
Cherry picks:
7+
8+
+ badd82e4c5cda7b3232481e1c63a5550ac898cd8:
9+
Automated rollback of commit
10+
1b4c37c38804559b5c1ade6f9c93501875e231b0.
11+
+ 33e571939085dd158422e1b3503cfc738e0a3165:
12+
Fix the Python version select() mechanism to handle
13+
PY3-as-default
14+
+ 56366ee3a73e2c92b2fa36a9840478202b9618ca:
15+
Set non-empty values for msvc_env_* when VC not installed
16+
+ 22b3fbf4800113df51d603d943bd9eb9517ef904:
17+
Windows, test wrapper: fix broken integration test
18+
+ f14d447cb56aee563f6e686b8f5b086a3bb55d47:
19+
Add whitelist file for starlark transitions
20+
+ d99bc478db1f3414b4f6cd3dc14ca70aacf6b375:
21+
Update BUILD
22+
+ 3529ad7ccf0c26dfb20a9d67b9d96de15f309f8b:
23+
Rename tools/function_transition_whitelist/BUILD to
24+
tools/whitelists/function_transition_whitelist/BUILD
25+
+ de0612ad3ef7cc8c44069261befdeb0d15b97c10:
26+
Update bazel_toolchains to latest release and add toolchain
27+
config target for BuildKite CI (rbe_ubuntu1604)
28+
+ 3e660ad178926648e8e10e2ee7a1a30b12f9b3d1:
29+
Automated rollback of commit
30+
087734009801242b83655efb863b2d5a761ae3dc.
31+
+ 314cf1f9e4b332955c4800b2451db4e926c3e092:
32+
Pass -undefined dynamic_lookup to dynamic library linking
33+
actions on Mac
34+
+ fc586a86b614667a21e5a01aea3544ac0338de78:
35+
Move cc_flags target into @bazel_tools//tools/cpp.
36+
+ ea1703b30f9ac43a0c3262f5729c34658ed8d473:
37+
C++: Fix crash reported in #7721
38+
+ 803801d1494f06f0ce977a1f2241ef6a4d85df09:
39+
Pass execution info to xml generating spawn. Fixes #7794
40+
```
41+
42+
Incompatible changes:
43+
44+
- Added --incompatible_py3_is_default to test switching the default
45+
Python version to PY3 for py_binary/py_test targets that do not
46+
specify a version. See #7359.
47+
- //tools/cmd_line_differ has been renamed to //tools/aquery_differ
48+
& can now compare (in addition to command lines) inputs of
49+
actions given 2 aquery results.
50+
- java_(mutable_|)proto_library: removed strict_deps attribute.
51+
- The flag --incompatible_list_based_execution_strategy_selection
52+
was added and is used to ease the migration to the new style of
53+
specifying
54+
execution strategy selection and fallback behavior. The
55+
documentation for
56+
this flag is here: https://github.com/bazelbuild/bazel/issues/7480
57+
- Added --incompatible_py2_outputs_are_suffixed, for switching the
58+
bazel-bin symlink to point to Python 3 outputs instead of Python
59+
2 outputs. See
60+
[#7593](https://github.com/bazelbuild/bazel/issues/7593).
61+
62+
New features:
63+
64+
- Make actions.args() object chainable.
65+
- Added --incompatible_windows_style_arg_escaping flag: enables
66+
correct subprocess argument escaping on Windows. (No-op on other
67+
platforms.)
68+
- Added --incompatible_windows_escape_jvm_flags flag: enables
69+
correct java_binary.jvm_flags and java_test.jvm_flags
70+
tokenization and escaping on Windows. (No-op on other platforms.)
71+
72+
Important changes:
73+
74+
- Allow running aquery against the current state of Skyframe
75+
- Added support for the "navigation" resource directory to Android
76+
resource processing in Bazel. This is used by the Navigation
77+
Architecture Component.
78+
- --incompatible_disable_runtimes_filegroups was flipped
79+
(https://github.com/bazelbuild/bazel/issues/6942)
80+
- Incompatible flag `--incompatible_linkopts_in_user_link_flags`
81+
has been flipped (https://github.com/bazelbuild/bazel/issues/6826)
82+
- Incompatible flag `--incompatible_dont_emit_static_libgcc` has
83+
been flipped (https://github.com/bazelbuild/bazel/issues/6825)
84+
- --incompatible_disallow_filetype is enabled by default.
85+
- Fixed issue where exceptions and stacktraces were silently
86+
swallowed in the Android resource processing pipeline.
87+
- `--incompatible_disable_expand_if_all_available_in_flag_set` has
88+
been flipped (https://github.com/bazelbuild/bazel/issues/7008)
89+
- --incompatible_disallow_dict_plus is enabled by default
90+
- Adds --incompatible_disable_objc_library_resources to disable
91+
resource attributes in objc_library. Please migrate these
92+
attributes to `data` instead.
93+
- --incompatible_disallow_old_style_args_add is enabled by default.
94+
- Using the `native` module in BUILD files is deprecated. It will
95+
be forbidden with --incompatible_disallow_native_in_build_file.
96+
- (Python rules) PyRuntimeInfo is exposed to Starlark, making it
97+
possible for Starlark rules to depend on or imitate `py_runtime`.
98+
The `files` attribute of `py_runtime` is no longer mandatory.
99+
- incompatible_use_toolchain_providers_in_java_common: pass
100+
JavaToolchainInfo and JavaRuntimeInfo providers to java_common
101+
APIs instead of configured
102+
targetshttps://github.com/bazelbuild/bazel/issues/7186.
103+
- is_using_fission crosstool variable is now exposed in all compile
104+
actions when fission is active (it used to be exposed only for
105+
linking actions).
106+
- incompatible_use_toolchain_providers_in_java_common: pass
107+
JavaToolchainInfo and JavaRuntimeInfo providers to java_common
108+
APIs instead of configured
109+
targetshttps://github.com/bazelbuild/bazel/issues/7186.
110+
- `py_runtime` gains a `python_version` attribute for specifying
111+
whether it represents a Python 2 or 3 interpreter.
112+
- `--incompatible_java_coverage` is enabled by default.
113+
- Starlark rules can safely declare attributes named "licenses"
114+
- When using
115+
--incompatible_list_based_execution_strategy_selection, Bazel
116+
will use remote execution by default (if you specify
117+
--remote_executor), otherwise persistent workers (if the action
118+
supports it), otherwise sandboxed local execution (if the action
119+
and platform supports it) and at last unsandboxed local
120+
execution. The flags --spawn_strategy and --strategy continue to
121+
work as before - this only sets new defaults for the case where
122+
you don't specify these flags.
123+
- Set default value of --incompatible_remap_main_repo to true.
124+
- Set default value of --incompatible_remap_main_repo to true.
125+
126+
This release contains contributions from many people at Google, as well as Andrew Suffield, Brandon Lico, Chris Eason, Clint Harrison, Ed Schouten, Garrett Hopper, George Gensure, Greg, John Millikin, Julie, Keith Smiley, Laurent Le Brun, Ryan Beasley, Shmuel H, Travis Cline, Vladimir Chebotarev.
127+
1128
## Release 0.23.0 (2019-02-26)
2129

3130
```

0 commit comments

Comments
 (0)