Skip to content

Commit 6b33bdb

Browse files
Bazel Release SystemmeisterT
Bazel Release System
authored andcommitted
Release 4.0.0 (2021-01-21)
Baseline: 37a429a Cherry picks: + a689d67: Use getRunfilesPath for run_under executable path generation. getRootRelativePath doesn't return a valid runfiles path for external source files anymore after the recent external source root change. Also, it won't work for external labels either once the --nolegacy_external_runfiles becomes default. This fixes issue #12545. + d90ec67: Fix NPE when coveragerunner is not set on the toolchain. + 8555789: Fix the classic query package-loading cutoff optimization with external workspaces. + d113d74: Update turbine + 1489f0f: Support Scala3 .tasty files + 0d2d95c: Update to java_tools javac11 release 10.5 (#12647) + a9419f3: Fix common prefix for instrumentation filter + 84fadcf: Fix builds for filegroup targets with incompatible dependencies + e43825d: Revert "Remove --incompatible_blacklisted_protos_requires_proto_info" + 082d58d: Transform roots along with paths during output deletion. + e8835c1: AttributeContainer.Large now handles more than 127 attributes. + e1e8734: Add an env attribute to all test and binary rule classes + a87d7ed: Take no action to prefetch empty artifacts. + 3e969ff: Fix a couple of bugs with Incompatible Target Skipping + e667082: Pass --host_action_env to host options hostActionEnvironment attribute + 07400c0: Add --{no,}autodetect_server_javabase. + c833660: Only treat "env" and "env_inherit" attrs specially for native rules + 6a60b30: Fix coverage support when using default_java_toolchain. (#12801) + 4158a6f: Revert JacocoCoverage target to remote_java_tools_java_import and add a new target for remore_java_tools_filegroup. (#12813) + f6d30cf: Add windows_msvc back to conditions in bazel_tools. New features: - Starlark-defined flags can now be shorthanded using --flag_alias. Important changes: - Add --starlark:file option. This adds a capability to the (cquery)[https://docs.bazel.build/versions/master/cquery.html] feature in `--output=starlark` mode so that the expression to format output may be specified in a file. - Error messages emitted when an action fails are reworked to be more informative about the failing action. Some tooling may have to be updated as a result. - Querying with output=location now allows the relative_locations flag to properly display relative locations instead of the full path. Fixes #3497. - --flag_alias can now be used without --experimental_enable_flag_alias - Remove no-op `--deep_execroot` flag - The BEP uses `AbortReason.OUT_OF_MEMORY` for abort events when the build tool is crashing due to OOM. - Added flag `incompatible_display_source_file_location` for `blaze query location=output` to print the location of line 1 of the actual source files instead of the source file targets. Provides a solution to #8900. - The Starlark json module is now available. Use json.encode(x) to encode a Starlark value as JSON. struct.to_json(x) is deprecated and will be disabled by the --incompatible_struct_has_no_methods flag. - The flag `--incompatible_objc_compile_info_migration` is enabled by default. See #10854. - The flag `--incompatible_objc_provider_remove_compile_info` is enabled by default. See #11359. - Add `relative_ast_path` feature for darwin builds to relativize swiftmodule paths for debugging - Use proto.encode_text(x) to encode a Starlark value as textproto. struct.to_proto() is deprecated and will be disabled by the --incompatible_struct_has_no_methods flag. Both functions now reject list/dict fields that contain list/dict elements. - Add --starlark:file option. This adds a capability to the (cquery)[https://docs.bazel.build/versions/master/cquery.html] feature in `--output=starlark` mode so that the expression to format output may be specified in a file. See [Configured Query Starlark Output](//docs.google.com/document/d/1kL6Tdmp6uLBa9lq_DbUSjIC87glO zKIyPoBeF95Rs4c/edit) - Flipped --incompatble_proto_output_v2 for aquery. - The --incompatible_load_java_rules_from_bzl flag is now a no-op. - The --incompatible_load_proto_rules_from_bzl flag is now a no-op. - Flipped --incompatible_force_strict_header_check_from_starlark - --incompatible_string_replace_count is flipped and removed (#11244) - Bazel skips incompatible targets based on target platform and `target_compatible_with` contents. See https://docs.bazel.build/versions/master/platforms.html for more details. - Bazel returns exit code 36 (rather than 1) if it fails to start a subprocess in a local sandbox due to environmental issues, for example, if the argument list is too long. - //tools/build_defs/pkg:pkg_rpm is no longer built in to Bazel. See #11218 for instructions on how to migrate to the replacement. - Javac now supports multiplex workers. - The `--default_ios_provisioning_profile` flag has been removed (it was a no-op). - Add support for using AndroidX dependencies in data-binding-enabled targets. - Fix data-binding generation for android_local_test. - Enable debug_prefix_map_pwd_is_dot feature by default on macOS, this passes `-fdebug-prefix-map=$PWD=.` for every compile to remove absolute paths from debug info. - --incompatible_run_shell_command_string is enabled by default (#5903) - py_binary now tolerates package paths that contain hyphens ('-'). Note that such paths might not be importable from within Python code. - C++ Starlark API requires linker_inputs wrapping library_to_link. #10860 - Toolchain rule is extended with target_settings attribute. - --incompatible_restrict_string_escapes=true is now the default. Unnecessary backslashes such as "\." in string literals are now an error, instead of being silently treated as "\\.". To fix the error while preserving behavior, double the backlash. However, the error is often a sign that the original code was wrong. - Propagate instrumented files for transitive sources of `android_library` and `android_binary` - --local_resources and --incompatible_remove_local_resources have been removed. If you've been setting --local resources or --incompatible_remove_local_resources=false, you must migrate to using --local_ram_resources and --local_cpu_resources instead. - Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d - --incompatible_avoid_conflict_dlls=true is now the default. - Dynamic execution now uses the new scheduler by default. - Dynamic execution now uses the new scheduler by default. - The new dynamic scheduler is now the default. This release contains contributions from many people at Google, as well as Adam Liddell, Akira Baruah, Alexander Grund, Alex Eagle, Andrew Z Allen, Austin Schuh, Benjamin Peterson, Benson Muite, Brentley Jones, Cristian Hancila, Dan Halperin, Daniel Wagner-Hall, Dmitry Ivankov, Dmitry Ivankov, erenon, Eric Cousineau, Greg Estren, Gregor Jasny, Grzegorz Lukasik, Grzegorz Lukasik, hollste, Joe Lencioni, johnjbarton, Jonathan Perry, Jonathon Belotti, Keith Smiley, Kevin Gessner, Matt Davis, Matt Mackay, Menny Even Danan, Neeraj Gupta, Philipp Schrader, Ricardo Delfin, Ryan Beasley, Samuel Giddins, Simon Bjorklen, Simon Stewart, Stiopa Koltsov, Thi Doan, ThomasCJY, Timothy Klim, Tom de Goede, vectoralpha, V Vn Ngha, William A Rowe Jr, Xavier Bonaventura, Yannic Bonenberger, Yannic.
1 parent f6d30cf commit 6b33bdb

File tree

1 file changed

+226
-0
lines changed

1 file changed

+226
-0
lines changed

CHANGELOG.md

+226
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,229 @@
1+
## Release 4.0.0 (2021-01-21)
2+
3+
```
4+
Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
5+
6+
Cherry picks:
7+
8+
+ a689d673abadf80f1efaf8ddaeee92d56fc2847b:
9+
Use getRunfilesPath for run_under executable path generation.
10+
getRootRelativePath doesn't return a valid runfiles path for
11+
external source files anymore after the recent external source
12+
root change. Also, it won't work for external labels either once
13+
the --nolegacy_external_runfiles becomes default. This fixes
14+
issue #12545.
15+
+ d90ec67fdab9710f649a3c1d374fb6b938b9271a:
16+
Fix NPE when coveragerunner is not set on the toolchain.
17+
+ 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
18+
Fix the classic query package-loading cutoff optimization with
19+
external workspaces.
20+
+ d113d7454127bba78aa618dac81e5d164920b662:
21+
Update turbine
22+
+ 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
23+
Support Scala3 .tasty files
24+
+ 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
25+
Update to java_tools javac11 release 10.5 (#12647)
26+
+ a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
27+
Fix common prefix for instrumentation filter
28+
+ 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
29+
Fix builds for filegroup targets with incompatible dependencies
30+
+ e43825d0bef359f645e1cabf2164fd2db6ee4a35:
31+
Revert "Remove
32+
--incompatible_blacklisted_protos_requires_proto_info"
33+
+ 082d58de852ebaa640bcf13cf419cbb94eec2b26:
34+
Transform roots along with paths during output deletion.
35+
+ e8835c1c221d76a2d5532d18083eaa04401619b3:
36+
AttributeContainer.Large now handles more than 127 attributes.
37+
+ e1e87349335ac59f9b3df47cee8b999faeaa6d11:
38+
Add an env attribute to all test and binary rule classes
39+
+ a87d7ed2411d5382bac58a20b79e09c464ad13b9:
40+
Take no action to prefetch empty artifacts.
41+
+ 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
42+
Fix a couple of bugs with Incompatible Target Skipping
43+
+ e6670825b1e183f81f5c864aafd425d512fa9ff5:
44+
Pass --host_action_env to host options hostActionEnvironment
45+
attribute
46+
+ 07400c0392e7be163f8a3396fa5cf89ce6705412:
47+
Add --{no,}autodetect_server_javabase.
48+
+ c83366064621d5a265eba14d93a03deff58fe6d8:
49+
Only treat "env" and "env_inherit" attrs specially for native
50+
rules
51+
+ 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
52+
Fix coverage support when using default_java_toolchain. (#12801)
53+
+ 4158a6f512e52516437e00f8d9609a91be7fc195:
54+
Revert JacocoCoverage target to remote_java_tools_java_import
55+
and add a new target for remore_java_tools_filegroup. (#12813)
56+
+ f6d30cf5ef9a8a39fea7072317f89a872387b790:
57+
Add windows_msvc back to conditions in bazel_tools.
58+
```
59+
60+
New features:
61+
62+
- Starlark-defined flags can now be shorthanded using --flag_alias.
63+
64+
Important changes:
65+
66+
- Add --starlark:file option. This adds a capability to the
67+
(cquery)[https://docs.bazel.build/versions/master/cquery.html]
68+
feature in `--output=starlark` mode so that the expression to
69+
format output may
70+
be specified in a file.
71+
- Error messages emitted when an action fails are reworked to be
72+
more informative about the failing action. Some tooling may have
73+
to be updated as a result.
74+
- Querying with output=location now allows the relative_locations
75+
flag to properly display relative locations instead of the full
76+
path. Fixes https://github.com/bazelbuild/bazel/issues/3497.
77+
- --flag_alias can now be used without
78+
--experimental_enable_flag_alias
79+
- Remove no-op `--deep_execroot` flag
80+
- The BEP uses `AbortReason.OUT_OF_MEMORY` for abort events when
81+
the build tool is crashing due to OOM.
82+
- Added flag `incompatible_display_source_file_location` for `blaze
83+
query location=output` to print the location of line 1 of the
84+
actual source files instead of the source file targets. Provides
85+
a solution to https://github.com/bazelbuild/bazel/issues/8900.
86+
- The Starlark json module is now available.
87+
Use json.encode(x) to encode a Starlark value as JSON.
88+
struct.to_json(x) is deprecated and will be disabled by
89+
the --incompatible_struct_has_no_methods flag.
90+
- The flag `--incompatible_objc_compile_info_migration` is enabled
91+
by default. See #10854.
92+
- The flag `--incompatible_objc_provider_remove_compile_info` is
93+
enabled by default. See #11359.
94+
- Add `relative_ast_path` feature for darwin builds to relativize
95+
swiftmodule paths for debugging
96+
- Use proto.encode_text(x) to encode a Starlark value as textproto.
97+
struct.to_proto() is deprecated and will be disabled by
98+
the --incompatible_struct_has_no_methods flag.
99+
Both functions now reject list/dict fields that contain list/dict
100+
elements.
101+
- Add --starlark:file option. This adds a capability to the
102+
(cquery)[https://docs.bazel.build/versions/master/cquery.html]
103+
feature in `--output=starlark` mode so that the expression to
104+
format output may be specified in a file.
105+
See [Configured Query Starlark
106+
Output](//docs.google.com/document/d/1kL6Tdmp6uLBa9lq_DbUSjIC87glO
107+
zKIyPoBeF95Rs4c/edit)
108+
- Flipped --incompatble_proto_output_v2 for aquery.
109+
- The --incompatible_load_java_rules_from_bzl flag is now a no-op.
110+
- The --incompatible_load_proto_rules_from_bzl flag is now a no-op.
111+
- Flipped --incompatible_force_strict_header_check_from_starlark
112+
- --incompatible_string_replace_count is flipped and removed
113+
(#11244)
114+
- Bazel skips incompatible targets based on target platform
115+
and `target_compatible_with` contents. See
116+
https://docs.bazel.build/versions/master/platforms.html for more
117+
details.
118+
- Bazel returns exit code 36 (rather than 1) if it fails to start a
119+
subprocess in a local sandbox due to environmental issues, for
120+
example, if the argument list is too long.
121+
- //tools/build_defs/pkg:pkg_rpm is no longer built in to Bazel.
122+
See https://github.com/bazelbuild/bazel/issues/11218 for
123+
instructions
124+
on how to migrate to the replacement.
125+
- Javac now supports multiplex workers.
126+
- The `--default_ios_provisioning_profile` flag has been removed
127+
(it was a no-op).
128+
- Add support for using AndroidX dependencies in
129+
data-binding-enabled targets.
130+
- Fix data-binding generation for android_local_test.
131+
- Enable debug_prefix_map_pwd_is_dot feature by default on macOS,
132+
this passes `-fdebug-prefix-map=$PWD=.` for every compile to
133+
remove absolute paths from debug info.
134+
- --incompatible_run_shell_command_string is enabled by default
135+
(#5903)
136+
- py_binary now tolerates package paths that contain hyphens ('-').
137+
Note that such paths might not be importable from within Python
138+
code.
139+
- C++ Starlark API requires linker_inputs wrapping library_to_link.
140+
#10860
141+
- Toolchain rule is extended with target_settings attribute.
142+
- --incompatible_restrict_string_escapes=true is now the default.
143+
Unnecessary backslashes such as "\." in string literals are now
144+
an error, instead of being silently treated as "\\.".
145+
To fix the error while preserving behavior, double the backlash.
146+
However, the error is often a sign that the original code was
147+
wrong.
148+
- Propagate instrumented files for transitive sources of
149+
`android_library` and `android_binary`
150+
- --local_resources and --incompatible_remove_local_resources have
151+
been removed. If you've been setting --local resources or
152+
--incompatible_remove_local_resources=false, you must migrate to
153+
using --local_ram_resources and --local_cpu_resources instead.
154+
- Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
155+
- --incompatible_avoid_conflict_dlls=true is now the default.
156+
- Dynamic execution now uses the new scheduler by default.
157+
- Dynamic execution now uses the new scheduler by default.
158+
- The new dynamic scheduler is now the default.
159+
160+
This release contains contributions from many people at Google, as well as Adam Liddell, Akira Baruah, Alexander Grund, Alex Eagle, Andrew Z Allen, Austin Schuh, Benjamin Peterson, Benson Muite, Brentley Jones, Cristian Hancila, Dan Halperin, Daniel Wagner-Hall, Dmitry Ivankov, Dmitry Ivankov, erenon, Eric Cousineau, Greg Estren, Gregor Jasny, Grzegorz Lukasik, Grzegorz Lukasik, hollste, Joe Lencioni, johnjbarton, Jonathan Perry, Jonathon Belotti, Keith Smiley, Kevin Gessner, Matt Davis, Matt Mackay, Menny Even Danan, Neeraj Gupta, Philipp Schrader, Ricardo Delfin, Ryan Beasley, Samuel Giddins, Simon Bjorklen, Simon Stewart, Stiopa Koltsov, Thi Doan, ThomasCJY, Timothy Klim, Tom de Goede, vectoralpha, V Vn Ngha, William A Rowe Jr, Xavier Bonaventura, Yannic Bonenberger, Yannic.
161+
162+
## Release 3.7.2 (2020-12-17)
163+
164+
```
165+
Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
166+
167+
Cherry picks:
168+
169+
+ 0d14ec84a06c4da628a7f6d9d1c5f9314392ab15:
170+
Release 3.7.0 (2020-10-20)
171+
+ d563446a77b906807cea86f5c2abafa5900d901a:
172+
Add `-XDcompilePolicy=simple` to default javacopts
173+
+ 6336264e4b0d8cc422ec73e1b923bf8014ace778:
174+
Update rules_cc reference to head of rules_cc as of 2020-11-11.
175+
+ b3f934680554515aa312b5dd4453df5cd38f0aea:
176+
Bump rules_cc to support llvm 11.0.0 clang-cl compiler on Windows
177+
+ e055b433efdccb28b9c21082e72d8e79d9b34e0f:
178+
Remove accidentally re-added
179+
tools/jdk/java_toolchain_default.bzl.
180+
+ 02838a1b2aa2f6d03980536ab2ac6840c3c98e84:
181+
Avoid the spawn cache if executing dynamically.
182+
+ d0efd7b9e5109ff5ac6d13c91f58c3fc4dc3afd8:
183+
Release 3.7.1 (2020-11-24)
184+
+ a689d673abadf80f1efaf8ddaeee92d56fc2847b:
185+
Use getRunfilesPath for run_under executable path generation.
186+
getRootRelativePath doesn't return a valid runfiles path for
187+
external source files anymore after the recent external source
188+
root change. Also, it won't work for external labels either once
189+
the --nolegacy_external_runfiles becomes default. This fixes
190+
issue #12545.
191+
```
192+
193+
Important changes:
194+
195+
- Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
196+
197+
This release contains contributions from many people at Google, as well as William A Rowe Jr.
198+
199+
## Release 3.7.1 (2020-11-24)
200+
201+
```
202+
Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
203+
204+
Cherry picks:
205+
206+
+ 0d14ec84a06c4da628a7f6d9d1c5f9314392ab15:
207+
Release 3.7.0 (2020-10-20)
208+
+ d563446a77b906807cea86f5c2abafa5900d901a:
209+
Add `-XDcompilePolicy=simple` to default javacopts
210+
+ 6336264e4b0d8cc422ec73e1b923bf8014ace778:
211+
Update rules_cc reference to head of rules_cc as of 2020-11-11.
212+
+ b3f934680554515aa312b5dd4453df5cd38f0aea:
213+
Bump rules_cc to support llvm 11.0.0 clang-cl compiler on Windows
214+
+ e055b433efdccb28b9c21082e72d8e79d9b34e0f:
215+
Remove accidentally re-added
216+
tools/jdk/java_toolchain_default.bzl.
217+
+ 02838a1b2aa2f6d03980536ab2ac6840c3c98e84:
218+
Avoid the spawn cache if executing dynamically.
219+
```
220+
221+
Important changes:
222+
223+
- Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
224+
225+
This release contains contributions from many people at Google, as well as William A Rowe Jr.
226+
1227
## Release 3.7.0 (2020-10-20)
2228

3229
```

0 commit comments

Comments
 (0)