Skip to content

Commit 27c71e0

Browse files
Bazel Release Systemfweikert
authored andcommitted
Release 6.0.0-pre.20220608.2 (2022-06-15)
Baseline: 4f5e325 Cherry picks: + 442155f: Automated rollback of commit a0a0d09. Important changes: - Aspects can now define and use exec groups using the same API as rules. This release contains contributions from many people at Google, as well as Kaiqin Chen.
1 parent c6f71c1 commit 27c71e0

File tree

1 file changed

+176
-0
lines changed

1 file changed

+176
-0
lines changed

CHANGELOG.md

Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,179 @@
1+
## Release 6.0.0-pre.20220608.2 (2022-06-15)
2+
3+
```
4+
Baseline: 4f5e325e337957ebea139dc52a00027acbbb572f
5+
6+
Cherry picks:
7+
8+
+ 442155f19f2c2764839327c8be3d3ab70edf1910:
9+
Automated rollback of commit
10+
a0a0d09debd090fbe74bba59b5d6d3107aaf97e9.
11+
```
12+
13+
Important changes:
14+
15+
- Aspects can now define and use exec groups using the same API as
16+
rules.
17+
18+
This release contains contributions from many people at Google, as well as Kaiqin Chen.
19+
20+
## Release 6.0.0-pre.20220601.1 (2022-06-10)
21+
22+
```
23+
Baseline: 93f6e51a8756021f6e6a027d4520415385fe9293
24+
```
25+
26+
Incompatible changes:
27+
28+
- this incompatible change breaks old instances of http_archive
29+
that specified netrc as an absolute path. It is unlikely there
30+
are many instances in the wild since the path would refer to a
31+
netrc file inside the external repository by absolute path.
32+
Migration should be straightforward.
33+
- genrule switched to use exec transition instead of host. This can
34+
break targets with hardcoded output paths. To avoid using
35+
hardcoded paths use make variables, see
36+
https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
37+
defined_label_variables
38+
- this incompatible change breaks old instances of http_archive
39+
that specified netrc as an absolute path. It is unlikely there
40+
are many instances in the wild since...
41+
- Error Prone now checks for unused return values of additional
42+
methods on `java.lang.Object`, which can be disabled using
43+
`--javacopts=-Xep:ReturnValueIgnored:OFF`
44+
- Error Prone now checks for unused return values of additional
45+
methods on `java.lang.Object`, which can be disabled using
46+
`--javacopts=-Xep:ReturnValueIgnored:OFF`
47+
- The --incompatible_existing_rules_immutable_view flag has been
48+
flipped to true. See
49+
https://github.com/bazelbuild/bazel/issues/13907 for
50+
migration notes.
51+
- Split up the C++ archive from the C++ link action and set
52+
`CppArchive` as mnemonic.
53+
- workspace(managed_directories=) is not available anymore.
54+
- --legacy_important_outputs now has a default of false.
55+
- --legacy_important_outputs default reverted to true.
56+
- objc_library now requires CcInfo in its deps. If this breaks
57+
you, add empty CcInfo() to your rule.
58+
59+
Important changes:
60+
61+
- Deprecate --incompatible_applicable_licenses flag, in preparation
62+
for removal in Bazel 6.x.
63+
- Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
64+
- The Build Event Protocol now contains file digests and sizes
65+
along with the file name and URI.
66+
- Refactor system suspend event handling.
67+
- alias() can now select() directly on constraint_value()
68+
- Allow \a \b \f \v escape sequences in Starlark.
69+
- Match remote and local xcode version by most granular version.
70+
- Adds `--experimental_worker_multiplex_sandboxing` flag that
71+
controls whether to sandbox multiplex workers that support it.
72+
- provider() has a new parameter: init, a callback for performing
73+
pre-processing and validation of field values. Iff this parameter
74+
is set,
75+
provider() returns a tuple of 2 elements: the usual provider
76+
symbol (which,
77+
when called, invokes init) and a raw constructor (which bypasses
78+
init).
79+
- Tests that fail to create or complete their
80+
`TestAttemptContinuation` by
81+
throwing an `ExecException` will report an `INCOMPLETE` status.
82+
Previously, Bazel
83+
would fail to report any status for the test attempt.
84+
- Fixed an issue where Bazel could erroneously report a test passes
85+
in coverage mode without actually running the test.
86+
- Include more information about configurations in cquery proto
87+
formatted output. This deprecates the configuration field of
88+
AnalysisProtosV2.ConfiguredTarget, and adds a new field,
89+
configuration_id, to
90+
be used instead.
91+
- experimental cc_library.implementation_deps inverted to
92+
interface_deps
93+
- In aquery and cquery proto output, indicate if a configuration is
94+
a
95+
tool or non-tool configuration.
96+
- Include complete configurations in cquery proto output.
97+
- experimental cc_library.implementation_deps inverted to
98+
interface_deps
99+
- Make protocOpts() publicly accessible.
100+
- Add some documentation about how configuration information is
101+
conveyed in cquery proto output.
102+
- Introduces experimental static library linking API under
103+
apple_common.link_multi_arch_static_library
104+
- Further deprecation and removal of pkg_tar. Stop supporting
105+
legacy use of 'files' attribute, where it could be a list of
106+
labels instead of a map of paths to labels.
107+
- Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
108+
its purpose because --all_incompatible_changes would never set
109+
it. The last rule it gated (pkg_tar) is scheduled to be removed
110+
in Bazel 6.x.
111+
- Add coverage configuration fragment, used to expose
112+
output_generator label.
113+
- Bazel now no longer includes system headers on macOS in coverage
114+
reports (#14969).
115+
- android_sdk_repository read $ANDROID_SDK_ROOT in addition to
116+
$ANDROID_HOME.
117+
- The default dexer is now d8. dx can be optionally enabled using:
118+
--define=android_dexmerger_tool=dx_dexmerger \
119+
--define=android_incremental_dexing_tool=dx_dexbuilder \
120+
--define=android_standalone_dexing_tool=dx_compat_dx \
121+
--use_workers_with_dexbuilder
122+
- Packaging support for deploy JAR embedded JDK files (hermetic
123+
Java).
124+
- Don't stamp cc_common.link actions for tool dependencies.
125+
- Starlark test rules can use the new inherited_environment
126+
parameter of testing.TestEnvironment to specify environment
127+
variables
128+
whose values should be inherited from the shell environment.
129+
- Enable merging permissions during Android manifest merging with
130+
the --merge_android_manifest_permissions flag.
131+
- Allow specialization to work with constraint_values.
132+
- Bazel uses the D8 jar from Maven instead of the SDK.
133+
- Make ijar / java_import preserve classes with `@kotlin.Metadata`
134+
annotations
135+
- Switch cc_test implementation to Starlark. Note: cc_test will now
136+
link statically when _targeting_ Windows regardless of host
137+
platform (rather than always linking statically when Windows is
138+
the _host_).
139+
- Switch cc_test implementation to Starlark. Note: cc_test will now
140+
link statically when _targeting_ Windows regardless of host
141+
platform (rather than always linking statically when Windows is
142+
the _host_).
143+
- Add devtools/build/lib/worker:work_request_handlers to the remote
144+
android tools release package. This will be transitively packaged
145+
into all_android_tools.
146+
- Bazel uses the D8 jar from Maven instead of the SDK.
147+
- android_sdk_repository read $ANDROID_SDK_ROOT in addition to
148+
$ANDROID_HOME.
149+
- Advance android_tools_pkg version to 0.24.0.
150+
- Switch cc_test implementation to Starlark. Note: cc_test will now
151+
link statically when _targeting_ Windows regardless of host
152+
platform (rather
153+
than always linking statically when Windows is the _host_).
154+
- Bazel uses the D8 jar from Maven instead of the SDK.
155+
- "blaze config" now only reports info from the last build. To
156+
compare configurations across multiple builds, redirect "blaze
157+
config" output to a file and run your favorite diff tool.
158+
- The --incompatible_override_toolchain_transition flag is now
159+
always set, and will be removed in the future. Thus,
160+
--noincompatible_override_toolchain_transition has no effect, and
161+
the value of the incompatible_use_toolchain_transition parameter
162+
in aspect() and rule() builtins is ignored.
163+
- Switch cc_test implementation to Starlark. Note: cc_test will now
164+
link statically when _targeting_ Windows regardless of host
165+
platform (rather
166+
than always linking statically when Windows is the _host_).
167+
- Toolchain types may now be optional, in addition to mandatory.
168+
See https://bazel.build/docs/toolchains#optional-toolchains for
169+
further details.
170+
- Add six to deps of has_services=1 py_proto_librarys.
171+
- pkg_tar(symlinks) has been removed. Users needing that feature
172+
should
173+
migrate to @rules_pkg.
174+
175+
This release contains contributions from many people at Google, as well as Adam Wolf, Albert Lloveras, Alessandro Patti, Alex Eagle, Alex Scott, Alex Torok, Andreas Fuchs, Andreas Herrmann, Andrew Katson, Andrew Klotz, arunkumar9t2, Ast-x64, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Ben Lee, Bohdan Vanieiev, Bradley Burns, Brandon Duffany, Brandon Jacklyn, Brentley Jones, Brentley Jones, Chad Miller, Chris Clearwater, Chris Fredrickson, Christopher Peterson Sauer, Christopher Sauer, ckiffel, Cristian Hancila, crydell-ericsson, Dan Fleming, Daniel Wagner-Hall, Danny Wolf, David Ostrovsky, Denys Kurylenko, Dimi Shahbaz, divanorama, dmaclach, Ed Schouten, Emil Kattainen, Fabian Meumertzheim, floriographygoth, Fredrik Medley, George Prekas, gkgoat1, gkorlam, Greg Estren, Greg, Grzegorz Lukasik, Halil Sener, Hannes Kufler, homuler, hvadehra, hvd, Jan, Jay Bazuzi, jheaff1, Jiawen Chen, Joel Williamson, John Laxson, John Millikin, juanchoviedo, Keith Smiley, Ken Micklas, Kevin Lin, lihu, Luc Bertrand, Marek uppa, Matt Clarkson, Matt Mackay, Michael P. Nitowski, Mikhail Balabin, Mostyn Bramley-Moore, Nick Korostelev, Nitesh Anandan, Niyas Sait, Noa Resare, Oscar Bonilla, Patrick Balestra, Paul Tarjan, Peter Mounce, Philipp Schrader, Pras Velagapudi, Rahul Butani, Rifqi Mulya Fahmi, Ryan Beasley, Ryan Schmidt, Sahin Yort, Saleem Abdulrasool, Simon Bjorklen, Son Luong Ngoc, Stiopa Koltsov, Sven Tiffe, Takeo Sawada, Tao Wang, Ted Kaplan, Tetsuo Kiso, Thi Doan, Thomas Chen, ThomasCJY, Thomas Zayouna, Timothe Peignier, Tom de Goede, Ulf Adams, Ulrik Falklof, Vasilios Pantazopoulos, Vladimir Tagakov, William Muir, Xavier Bonaventura, Xdng Yng, Yannic Bonenberger, Yannic, Yesudeep Mangalapilly, Yuval K, Zhongpeng Lin.
176+
1177
## Release 5.2.0 (2022-06-07)
2178

3179
```

0 commit comments

Comments
 (0)