blob: 9f2c05e5f31587cb852e031b7535e3c4d267e4db [file] [log] [blame] [view]
Bazel Release System241b1902022-07-11 17:18:16 +02001## Release 6.0.0-pre.20220630.1 (2022-07-11)
2
3```
4Baseline: fbf9277975ceb7be5255fd5cf449e22706d25d3f
5```
6
7Important changes:
8
9 - Removed the obsolete --incompatible_applicable_licenses flag. The
10 feature is permanently enabled.
11 - embedded_tools packages R8 desugarer again
12 - Bazel now selects sh path based on execution platform instead of
13 host platform, making it possible to execute sh actions in
14 multiplatform builds. --shell_executable now only applies to
15 actions configured for host.
16 - labels in genquery.scope are no longer configured.
17 - When Bzlmod is enabled, all Bzlmod-generated repos will have an
18 extra '@' prepended to their names. This effectively enables the
19 canonical label literal syntax for Bzlmod-generated repos
20 (`@@canonicalRepoName//pkg:target`; see
21 https://docs.google.com/document/d/1N81qfCa8oskCk5LqTW-LNthy6EBrDo
22 t7bdUsjz6JFC4/edit?usp=sharing).
23 - Exposed `CcSharedLibraryInfo` to Starlark builtins.
24 - Enable --use_top_level_targets_for_symlinks by default.
25 - Singlejar accepts runtime Created-By field
26 - --noincompatible_disable_managed_directories, and with that,
27 workspace(managed_directories=) is not supported anymore.
28 - Bazel supports D8 desugaring, albeit without persistent workers
29 - Remove mtime options from pkg_tar. Users should migrate to
30 @rules_pkg.
31 - Test for experimental multiplexed persistent resource processor.
32
33This release contains contributions from many people at Google, as well as arun.sampathkumar, Benjamin Lee, Benjamin Peterson, Ed Schouten, Emil Kattainen, Fabian Brandstetter, Fabian Meumertzheim, hvadehra, Krishna Ersson, Philipp Schrader, Stephan Wolski, Steve Vermeulen, Xdng Yng.
34
Bazel Release System5c544f42022-06-15 18:48:42 +020035## Release 6.0.0-pre.20220608.2 (2022-06-15)
36
37```
38Baseline: 4f5e325e337957ebea139dc52a00027acbbb572f
39
40Cherry picks:
41
42 + 442155f19f2c2764839327c8be3d3ab70edf1910:
43 Automated rollback of commit
44 a0a0d09debd090fbe74bba59b5d6d3107aaf97e9.
45```
46
47Important changes:
48
49 - Aspects can now define and use exec groups using the same API as
50 rules.
51
52This release contains contributions from many people at Google, as well as Kaiqin Chen.
53
Bazel Release Systemc9b24172022-06-10 16:56:39 +020054## Release 6.0.0-pre.20220601.1 (2022-06-10)
55
56```
57Baseline: 93f6e51a8756021f6e6a027d4520415385fe9293
58```
59
60Incompatible changes:
61
62 - this incompatible change breaks old instances of http_archive
63 that specified netrc as an absolute path. It is unlikely there
64 are many instances in the wild since the path would refer to a
65 netrc file inside the external repository by absolute path.
66 Migration should be straightforward.
67 - genrule switched to use exec transition instead of host. This can
68 break targets with hardcoded output paths. To avoid using
69 hardcoded paths use make variables, see
70 https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
71 defined_label_variables
72 - this incompatible change breaks old instances of http_archive
73 that specified netrc as an absolute path. It is unlikely there
74 are many instances in the wild since...
75 - Error Prone now checks for unused return values of additional
76 methods on `java.lang.Object`, which can be disabled using
77 `--javacopts=-Xep:ReturnValueIgnored:OFF`
78 - Error Prone now checks for unused return values of additional
79 methods on `java.lang.Object`, which can be disabled using
80 `--javacopts=-Xep:ReturnValueIgnored:OFF`
81 - The --incompatible_existing_rules_immutable_view flag has been
82 flipped to true. See
83 https://github.com/bazelbuild/bazel/issues/13907 for
84 migration notes.
85 - Split up the C++ archive from the C++ link action and set
86 `CppArchive` as mnemonic.
87 - workspace(managed_directories=) is not available anymore.
88 - --legacy_important_outputs now has a default of false.
89 - --legacy_important_outputs default reverted to true.
90 - objc_library now requires CcInfo in its deps. If this breaks
91 you, add empty CcInfo() to your rule.
92
93Important changes:
94
95 - Deprecate --incompatible_applicable_licenses flag, in preparation
96 for removal in Bazel 6.x.
97 - Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
98 - The Build Event Protocol now contains file digests and sizes
99 along with the file name and URI.
100 - Refactor system suspend event handling.
101 - alias() can now select() directly on constraint_value()
102 - Allow \a \b \f \v escape sequences in Starlark.
103 - Match remote and local xcode version by most granular version.
104 - Adds `--experimental_worker_multiplex_sandboxing` flag that
105 controls whether to sandbox multiplex workers that support it.
106 - provider() has a new parameter: init, a callback for performing
107 pre-processing and validation of field values. Iff this parameter
108 is set,
109 provider() returns a tuple of 2 elements: the usual provider
110 symbol (which,
111 when called, invokes init) and a raw constructor (which bypasses
112 init).
113 - Tests that fail to create or complete their
114 `TestAttemptContinuation` by
115 throwing an `ExecException` will report an `INCOMPLETE` status.
116 Previously, Bazel
117 would fail to report any status for the test attempt.
118 - Fixed an issue where Bazel could erroneously report a test passes
119 in coverage mode without actually running the test.
120 - Include more information about configurations in cquery proto
121 formatted output. This deprecates the configuration field of
122 AnalysisProtosV2.ConfiguredTarget, and adds a new field,
123 configuration_id, to
124 be used instead.
125 - experimental cc_library.implementation_deps inverted to
126 interface_deps
127 - In aquery and cquery proto output, indicate if a configuration is
128 a
129 tool or non-tool configuration.
130 - Include complete configurations in cquery proto output.
131 - experimental cc_library.implementation_deps inverted to
132 interface_deps
133 - Make protocOpts() publicly accessible.
134 - Add some documentation about how configuration information is
135 conveyed in cquery proto output.
136 - Introduces experimental static library linking API under
137 apple_common.link_multi_arch_static_library
138 - Further deprecation and removal of pkg_tar. Stop supporting
139 legacy use of 'files' attribute, where it could be a list of
140 labels instead of a map of paths to labels.
141 - Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
142 its purpose because --all_incompatible_changes would never set
143 it. The last rule it gated (pkg_tar) is scheduled to be removed
144 in Bazel 6.x.
145 - Add coverage configuration fragment, used to expose
146 output_generator label.
147 - Bazel now no longer includes system headers on macOS in coverage
148 reports (#14969).
149 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
150 $ANDROID_HOME.
151 - The default dexer is now d8. dx can be optionally enabled using:
152 --define=android_dexmerger_tool=dx_dexmerger \
153 --define=android_incremental_dexing_tool=dx_dexbuilder \
154 --define=android_standalone_dexing_tool=dx_compat_dx \
155 --use_workers_with_dexbuilder
156 - Packaging support for deploy JAR embedded JDK files (hermetic
157 Java).
158 - Don't stamp cc_common.link actions for tool dependencies.
159 - Starlark test rules can use the new inherited_environment
160 parameter of testing.TestEnvironment to specify environment
161 variables
162 whose values should be inherited from the shell environment.
163 - Enable merging permissions during Android manifest merging with
164 the --merge_android_manifest_permissions flag.
165 - Allow specialization to work with constraint_values.
166 - Bazel uses the D8 jar from Maven instead of the SDK.
167 - Make ijar / java_import preserve classes with `@kotlin.Metadata`
168 annotations
169 - Switch cc_test implementation to Starlark. Note: cc_test will now
170 link statically when _targeting_ Windows regardless of host
171 platform (rather than always linking statically when Windows is
172 the _host_).
173 - Switch cc_test implementation to Starlark. Note: cc_test will now
174 link statically when _targeting_ Windows regardless of host
175 platform (rather than always linking statically when Windows is
176 the _host_).
177 - Add devtools/build/lib/worker:work_request_handlers to the remote
178 android tools release package. This will be transitively packaged
179 into all_android_tools.
180 - Bazel uses the D8 jar from Maven instead of the SDK.
181 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
182 $ANDROID_HOME.
183 - Advance android_tools_pkg version to 0.24.0.
184 - Switch cc_test implementation to Starlark. Note: cc_test will now
185 link statically when _targeting_ Windows regardless of host
186 platform (rather
187 than always linking statically when Windows is the _host_).
188 - Bazel uses the D8 jar from Maven instead of the SDK.
189 - "blaze config" now only reports info from the last build. To
190 compare configurations across multiple builds, redirect "blaze
191 config" output to a file and run your favorite diff tool.
192 - The --incompatible_override_toolchain_transition flag is now
193 always set, and will be removed in the future. Thus,
194 --noincompatible_override_toolchain_transition has no effect, and
195 the value of the incompatible_use_toolchain_transition parameter
196 in aspect() and rule() builtins is ignored.
197 - Switch cc_test implementation to Starlark. Note: cc_test will now
198 link statically when _targeting_ Windows regardless of host
199 platform (rather
200 than always linking statically when Windows is the _host_).
201 - Toolchain types may now be optional, in addition to mandatory.
202 See https://bazel.build/docs/toolchains#optional-toolchains for
203 further details.
204 - Add six to deps of has_services=1 py_proto_librarys.
205 - pkg_tar(symlinks) has been removed. Users needing that feature
206 should
207 migrate to @rules_pkg.
208
209This 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.
210
Bazel Release Systemf9c7fdb2022-06-07 15:31:30 +0000211## Release 5.2.0 (2022-06-07)
212
213```
214Baseline: 8d66a4171baddcbe1569972f019e54130111202c
215
216Cherry picks:
217
218 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
219 Remote: Cache merkle trees
220 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
221 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
222 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
223 Compile Apple tools as fat binaries if possible
224 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
225 Add protobuf as a well known module
226 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
227 Remote: Merge target-level exec_properties with
228 --remote_default_exec_properties
229 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
230 Add -no_uuid for hermetic macOS toolchain setup
231 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
232 Remote: Fixes an issue when --experimental_remote_cache_async
233 encounter flaky tests.
234 + 77a002cce050e861fcc87c89acf7768aa5c97124:
235 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
236 has …
237 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
238 Fixes for the Starlark transition hash computation (#14251)
239 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
240 Do location expansion in copts of objc_library
241 + 50274a9f714616d4735a560db7f617e53fb8d01b:
242 [5.x] Remote: Add support for compression on gRPC cache (#14277)
243 + 61bf2e5b5181cbe34a2f0d584053570943881804:
244 Automated rollback of commit
245 34c71465f84fa780217926db2e8e5ca3d6d4568c.
246 + 79888fe7369479c398bafe064daa19a7ae30f710:
247 Silence a zstd-jni GCC warning.
248 + 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
249 Remote: Limit max number of gRPC connections by
250 --remote_max_connections.
251 + fd727ec96d861573dcbad3249d727a94eff84789:
252 Do location expansion in copts of objc_library
253 + 23d096931be9b7247eafa750999dd7feadde14c1:
254 Fix _is_shared_library_extension_valid
255 + 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
256 Remove merging of java_outputs in JavaPluginInfo.
257 + cea5f4f499aa832cf90c68898671869ce79d63f2:
258 Cherrypick Bzlmod documentation (#14301)
259 + 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
260 Format work requests according to ndjson spec
261 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
262 Enable user_link_flags_feature for macosx cc_toolchain_config
263 + 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
264 Remote: Use Action's salt field to differentiate cache across
265 workspaces.
266 + f94898915268be5670fb1e93a16c03e9b14d2a58:
267 [5.x] Remote: Fix "file not found" error when remote cache is
268 changed from enabled to disabled. (#14321)
269 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
270 Delete marker file before fetching an external repository
271 + c05c6261cdb2cacb7c9881c255c0ada435ab5182:
272 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
273 + d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
274 Fix remote spawn tests for remote_merkle_tree_cache=true
275 + 59e16e944200555da377799aa0d9e8d0674d2e27:
276 Show skipped tests as a warning
277 + 76b3c242831f8e88835e3002a831a185a41fcc52:
278 Build xcode-locator as a universal binary
279 + aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
280 Exit collect_coverage.sh early if LCOV_MERGER is not set.
281 + 4256d46327bad8638df91be1a5d4ef83b12b74c7:
282 Automated rollback of commit
283 d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
284 + dce24350befd08216b3910ae343670015444ff81:
285 [apple] fix issues compiling C in objc_library for watchos/armv7k
286 + bfc24139d93f8643686d91596ba347df2e01966a:
287 5.x: Remote: Ignore blobs referenced in BEP if the generating
288 action cannot be cached remotely. (#14389)
289 + 5aef53a8884038f3c9f06e6dddb9372196253378:
290 Remote: Don't blocking-get when acquiring gRPC connections.
291 (#14420)
292 + 005361c895da334beb873901e93aff06d180256e:
293 Disable IncludeValidation for ObjC in bazel
294 + d703b7b4f09fb3c389f99e52bac1f23930280b56:
295 Update java_tools v11.6
296 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
297 Stop remote blob upload if upload is complete. (#14467)
298 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
299 [5.x] Make remote BES uploader better (#14472)
300 + 2edab739e1f61fe8813230b03396ca46f0790089:
301 Avoid too verbose warnings in terminal when cache issues
302 + 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
303 Rename --project_id to --bes_instance_name
304 + c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
305 Automated rollback of commit
306 bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
307 + b341802700484d11c775bf02d80f43ba3f33b218:
308 [apple] support watchos_arm64 in toolchain
309 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
310 Disable implicitly collecting baseline coverage for toolchain
311 targets.
312 + 302971e1b3d803069ac949c0085c0d2a3916c8ab:
313 Automated rollback of commit
314 7d09b4a15985052670244c277e4357557b4d0039.
315 + 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
316 Bzlmod: Starlarkify default attr values for TypeCheckedTags
317 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
318 Fix build after rc4 cherrypicks (#14581)
319 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
320 Release 5.0.0 (2022-01-19)
321 + 486d153d1981c3f47129f675de20189667667fa7:
322 Find runfiles in directories that are themselves runfiles
323 + 0de7bb95022057e8b89334f44759cf6f950e131f:
324 Don't resolve symlinks for --sandbox_base
325 + 8b60c90f3641591b65c4e153113aea562f1fab94:
326 Remove uses of -lstdc++ on darwin
327 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
328 Allow Label instances as keys in select (#14755)
329 + 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
330 Remote: Only waits for background tasks from remote execution.
331 + 8734ccf9847eafb7193388cd9c6fa78faa78283f:
332 Add the default solib dir to the rpath for cc_imports with
333 transitions
334 + 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
335 Flip --experimental_worker_allow_json_protocol
336 + fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
337 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
338 cpu for tools when host cpu and exec cpu are different
339 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
340 Propagate --experimental_cc_implementation_deps to host config
341 + 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
342 Support select() on constraint_value for aliases.
343 + 67a133b431ccece22b7dd9a72f0837cff77d4360:
344 Improve documentation for select()
345 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
346 Cherrypicks for experimental cc_shared_library (#14773)
347 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
348 [apple] support tvos_sim_arm64 in toolchain (#14779)
349 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
350 Cherry pick win arm64 (#14794)
351 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
352 [5.1.0] cherrypick subpackages support (#14780)
353 + 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
354 Add a helper method for rules to depend on the cpp toolchain
355 type.
356 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
357 UrlRewriter should be able to load credentials from .netrc
358 (#14834)
359 + 32d1606dac2fea730abe174c41870b7ee70ae041:
360 Add "arch" struct field to repository_os
361 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
362 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
363 + c2ddbd1954af5baab63b93f2b055a410a27832c8:
364 Ignore missing include directory in JDK distribution.
365 + 16de03595e21f7bf31818e717505b23c953b3b7d:
366 Fix bazel coverage false negative
367 + 0c74741742301abcf67452a7f591daec1c3a7635:
368 Remote: Postpone the block waiting in `afterCommand` to
369 `BlockWaitingModule` (#14833)
370 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
371 Switch to `ProcessHandle` for getting the PID (#14842)
372 + a987b98ea0d6da2656c4115568ef9cbe8a164550:
373 Fix uses of std++ on bsd
374 + d184e4883bb7fc21de2f7aeea4304994de27e9ea:
375 Remote: handle early return of compressed blobs uploads
376 + 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
377 Add removeprefix/removesuffix to Starlark strings
378 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
379 Fix default CPU for macOS and iOS (#14923)
380 + cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
381 Add paramfile support for def_parser, since in rare cases on
382 Windows command line character limit was reached.
383 + 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
384 Normalize rpath entries to guard against missing default solib
385 dir
386 + 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
387 Fix aggressive params file assumption
388 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
389 Fix precompiled libs not in runfiles of cc_shared_library
390 (#14943)
391 + 764614e0f0287125269e7a92e909a44624bcb360:
392 Bzlmod: Allow multiple `use_extension`s on the same extension
393 (#14945)
394 + fa761f84994f18db383fbe9aaea524e4385da13a:
395 Fix typo in `apple_common.platform` docs
396 + f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
397 Yield a Proxy for addresses without protocol
398 + 8cefb8bed4ac82df8640682517372a9249732352:
399 Avoid merging URLs in HttpUtils
400 + b4804807fc2c184cc36df9e69e472942c01941b8:
401 Make protocOpts() public. (#14952)
402 + 113eaca5862c48797654ae2a3acbb6e15d761485:
403 Do not hide BulkTransferException messages when there were more
404 than one exception
405 + b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
406 merkle_tree_cache: change default size to 1000
407 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
408 Add --experimental_repository_cache_urls_as_default_canonical_id
409 to help detect broken repository URLs (#14989)
410 + f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
411 Expose the logic to read user netrc file
412 + b858ec39aebd7e586af5438aa2035db2adebf9a4:
413 Correct cpu and os values of `local_config_cc_toolchains` targets
414 + 5e79972c05d89280f0cf1fa620f807366847bac6:
415 Expose CoverageOutputGenerator on a Fragment (#14997)
416 + 78f03110e0dab42f37e427fd524e72706e036d74:
417 Correct error runfiles cc_shared_library (#14998)
418 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
419 [5.1] Adding Starlark dependencies to the package //external
420 (#14991)
421 + a73aa12be65454ac8cfb5a8f3e056c420402f997:
422 Remote: Fix crashes with InterruptedException when using http
423 cache.
424 + f8707c07f153ac4ac2ec4b210321f1a16343006d:
425 Account for interface libraries in cc_shared_library
426 + a570f5fdb1618a6c272d18bebaa712d3b2af3975:
427 Fix coverage runfiles directory issue
428 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
429 Do not validate input-only settings in transitions (#15048)
430 + 71747ccc9d0032a865854613329362563c0574df:
431 Filter out system headers on macOS.
432 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
433 Update Bazel bootstrap documentation and remove obsolete flags.
434 (#15065)
435 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
436 [5.1] Undocument --bes_best_effort (#15066)
437 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
438 Fix conflicting actions error when specifying
439 --host_macos_minimum_os (#15068)
440 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
441 [5.1] Remote: Action should not be successful and cached if
442 outputs were not created (#15071)
443 + 00d74ff737cccd60305ee58d85313556a077152a:
444 Support decompressing zstd tar archives for repository rules.
445 + f5857830bb68bd05ffc257506575ed37a8128933:
446 Remote: Don't check TreeArtifact output
447 + efb2b80953983dce499d453a9f55a74ffaf8c42d:
448 osx_cc_wrapper: Only expand existing response files
449 + c771c43b870fb8618db7bdab6725ab40cac4976d:
450 Remote: Fix crashes by InterruptedException when dynamic
451 execution is enabled. (#15091)
452 + 3785677cc84fc4024fda85575c05efbde5d512fc:
453 Use python3 on macOS
454 + 815d9e499a32fd4d87525ac0c698c293cf26433d:
455 Release 5.1.0 (2022-03-24)
456 + 1fbb69e366034484887e00c6006c7b79508765ed:
457 Prepare 5.1.1 release
458 + df153df9656e0e197f67622bb11f7d77e19238a0:
459 Fix CODEOWNERS syntax
460 + 2b92a3111e83a4d14934059afd0f51161a41276f:
461 Remote: Don't check declared outputs for failed action
462 + b47aa71b21d93c9499103e9a37a6c2ffa79865b9:
463 Upgrade abseil version to the latest
464 + c49c45d8dac87d21cf2b6a176ddd07f2c9f63414:
465 Revert default export all symbols on Windows
466 + 7d3fb993f55b35081786c3fe00cf3bebb89574f3:
467 Support ZIP files with total number of disks = 0
468 + 0f5dc111be06b2ee8694640f400b58e12bfa5fea:
469 Release 5.1.1 (2022-04-08)
470 + 2422cfb3e5d92d46f9065b2b1e442823a965faf7:
471 Update CODEOWNERS
472 + bbcff1802423fca7ee5bd6a3e527c12d6d7d80ba:
473 [5.2.0] Update java_tools 11.7.1 (#15231)
474 + 9c98120f33579b72561e02826d9fccf222eccb3c:
475 Add support for .ar archives (and .deb files)
476 + d3435b09d89f25bf5008ef3b9c870c835d51a8da:
477 Seperate GetSelfPath implementation for Blaze and Bazel
478 + c94572bea5ce6bdc0ccda9789e5be6fb3f4c173b:
479 Include jdk.crypto.mscapi in minimized Windows embedded JDK
480 + 299022ca2dc49b6cb27b2674f933755306ae8b9b:
481 remote: Proactively close the ZstdInputStream in
482 ZstdDecompressingOutputStream.
483 + 27707995cc6576ed1f51fbdb199ff8512e8418c9:
484 Collect coverage from cc_binary data deps of java_test
485 + 3442179d240e01ef13b0fa7814db7366bad5ffac:
486 Configure Apple crosstool to return a complete target triple
487 that includes minimum OS version and target environment
488 + bb6f1a7ce79168055ccd62629da07d46a52b930d:
489 Collect C++ lcov coverage if runtime object not in runfiles
490 + dbb6e9954b6e4423f727feb2719ffc75a93b514b:
491 Fixing dependencies of //external package
492 + f0213bbf730c4a5d1a31e65bc9c01fbb55a6edb3:
493 [5.2] Upgrade Google Auth Version (#15383)
494 + a1a74c9919e03e09ef7c6ae13f38f48eea80ead1:
495 Fix chocolatey package - docsUrl must not 404 (#15395)
496 + fe644bee95c14d461e0d1e3cccaa8bbcd57bcd8d:
497 Fix cache leak when applying transitions when only a rule's
498 attributes change.
499 + ad74d5243917bb27a37e38d151a4a3c8a49947eb:
500 Fix checking remote cache for omitted files in buildevent file
501 (#15405)
502 + ac219103d8798965b775db548d7b9214ecd78f73:
503 fix(bzlmod): throw on json parse exception
504 + 3d85b88609a362857d8ee3c0432a37d30268a8a2:
505 Add a flag to expose undeclared test outputs in unzipped form.
506 (#15431)
507 + abd7a9f70c3dfe96724a692dc7dc04ff33bdece1:
508 Remove -U_FORTIFY_SOURCE when thin_lto is enabled (#15433)
509 + 53b9cb8637c0faddc6b122a1daab72bcc274bdec:
510 Catch NumberFormatException while trying to parse thread id.
511 + 19740b55ebc283b7ec42b359bcd4c9096facfdd5:
512 Improve the --sandbox_debug error message
513 + 0a2a43f9aab1e3875f03f643f6414eb67834c883:
514 Set keywords on appropriate lifecycle events.
515 + 394ddb82b311ea7edbe2522736b0b0202903ddb6:
516 Record additional profiling information for remotely executed
517 actions.
518 + 652b48e567fcb30768dfc2eddee5f04bf6b5d65b:
519 Fix downloading remote execution output files inside output
520 dirs. (#15444)
521 + 73f1ecbc1cb00e16ceda4b582f4d57268f8701cd:
522 Fix android emulator darwin_arm64 select
523 + 2649c7c4adef0ebf9bca8fe46aa97304b22de522:
524 Fix --use_top_level_targets_for_symlinks with aliases (#15446)
525 + fa1081c1f3dce7324a1da59c40d1a1a3533c7047:
526 Filter libtool warning about table of contents
527 + 26f878325e915e0905626a0e4c8bbacffd72f875:
528 Unify sandbox/remote handling of empty TreeArtifact inputs
529 (#15449)
530 + 6b21b7773157a1eebd3dfe79ff4c4ee750059daf:
531 Revert "Fixes incorrect install names on darwin platforms"
532 + e133e66f715bac17bf5848e4440c089a8c8d3fd9:
533 config doesn't error on duplicate `--define` values (#15473)
534 + 84d59176622b76223828e61709179dbd5f0c9f8d:
535 Collect coverage from cc_binary data deps of py_test (#15298)
536 + 519d2daacfff3de6ffabfc5827621fa835e1c815:
537 SolibSymlinkAction does not need exec platform or properties
538 + 6e54699884cfad49d4e8f6dd59a4050bc95c4edf:
539 Let Starlark tests inherit env variables (#15217)
540 + 9610ae889e6fd45280c5beb7fe8f5bef2d736878:
541 Update PythonZipper action to use CommandLineItem.CapturingMapFn
542 + 2f1ff6fa17c3c30b2533bffe81f40eab06b453b9:
543 Make `coverage --combined_report=lcov` skip incompatible tests
544 + 9fad5a3dc93cd436a5712c46e6c98d3995428ddb:
545 Disable ReturnValueIgnored checks to unblock java_tools release
546 + 0120118893261968bdf116ef215655c428428fa8:
547 Bump the limit of Bazel install base size (#15585)
548 + 668805aace9bf96f78595fc2a122027a3000ceac:
549 Upgrade zlib to 1.2.12
550 + 4d900ceea12919ad62012830a95e51f9ec1a48bb:
551 [5.2] Remote: Fix a bug that outputs of actions tagged with
552 no-remote are u... (#15453)
553 + b703cb9b999e243d776b7620468e48f450c0ce3a:
554 Add feature to produce serialized diagnostics files (#15600)
555```
556
557Important changes:
558
559 - alias() can now select() directly on constraint_value()
560
561 Fixes https://github.com/bazelbuild/bazel/issues/13047.
562
563 Closes #14310.
564 - Fixed an issue where Bazel could erroneously report a test passes
565 in coverage mode without actually running the test.
566 - Make protocOpts() publicly accessible.
567 - Add coverage configuration fragment, used to expose
568 output_generator label.
569 - Bazel now no longer includes system headers on macOS in coverage
570 reports (#14969).
571
572 Closes #14971.
573 - Starlark test rules can use the new inherited_environment
574 parameter of testing.TestEnvironment to specify environment
575 variables
576 whose values should be inherited from the shell environment.
577
578 Closes #14849.
579
580This release contains contributions from many people at Google, as well as amberdixon, Andreas Fuchs, Benjamin Peterson, Brentley Jones, Chenchu Kolli, Dan Fleming, Danny Wolf, Fabian Meumertzheim, hvadehra, Keith Smiley, Niyas Sait, Noa Resare, Oliver Eikemeier, oquenchil, Peter Mounce, Philipp Schrader, Thi Doãn, Xùdōng Yáng, Yannic, Zhongpeng Lin.
581
Bazel Release System6dcd3212022-06-02 21:30:19 +0200582## Release 6.0.0-pre.20220526.1 (2022-06-02)
583
584```
585Baseline: e6bb6fcfcc9b571ef0bbdf039b5ae67954ade222
586```
587
588Incompatible changes:
589
590 - --legacy_important_outputs now has a default of false.
591 - --legacy_important_outputs default reverted to true.
592
593Important changes:
594
595 - pkg_tar(symlinks) has been removed. Users needing that feature
596 should
597 migrate to @rules_pkg.
598
599This release contains contributions from many people at Google, as well as Alessandro Patti, Benjamin Lee, Benjamin Peterson.
600
Bazel Release Systema7ec7102022-05-30 19:10:06 +0200601## Release 6.0.0-pre.20220520.1 (2022-05-30)
602
603```
604Baseline: 4879106fabdf4af9395743941987d4297d232296
605```
606
607Incompatible changes:
608
609 - workspace(managed_directories=) is not available anymore.
610
611Important changes:
612
613 - Add six to deps of has_services=1 py_proto_librarys.
614
615This release contains contributions from many people at Google, as well as Benjamin Peterson, Christopher Peterson Sauer.
616
Bazel Release System97fa6122022-05-23 23:41:36 +0200617## Release 6.0.0-pre.20220517.1 (2022-05-23)
618
619```
620Baseline: 61fd06d92706d64fbcef64f0f54cded91c88afff
621```
622
623Incompatible changes:
624
625 - Split up the C++ archive from the C++ link action and set
626 `CppArchive` as mnemonic.
627
628Important changes:
629
630 - Switch cc_test implementation to Starlark. Note: cc_test will now
631 link statically when _targeting_ Windows regardless of host
632 platform (rather
633 than always linking statically when Windows is the _host_).
634 - Bazel uses the D8 jar from Maven instead of the SDK.
635 - "blaze config" now only reports info from the last build. To
636 compare configurations across multiple builds, redirect "blaze
637 config" output to a file and run your favorite diff tool.
638 - The --incompatible_override_toolchain_transition flag is now
639 always set, and will be removed in the future. Thus,
640 --noincompatible_override_toolchain_transition has no effect, and
641 the value of the incompatible_use_toolchain_transition parameter
642 in aspect() and rule() builtins is ignored.
643 - Switch cc_test implementation to Starlark. Note: cc_test will now
644 link statically when _targeting_ Windows regardless of host
645 platform (rather
646 than always linking statically when Windows is the _host_).
647 - Toolchain types may now be optional, in addition to mandatory.
648 See https://bazel.build/docs/toolchains#optional-toolchains for
649 further details.
650
651This release contains contributions from many people at Google, as well as Andreas Fuchs, Andrew Klotz, Benjamin Lee, Benjamin Peterson, Chris Clearwater, Christopher Peterson Sauer, Christopher Sauer, Daniel Wagner-Hall, Fabian Meumertzheim, Fredrik Medley, George Prekas, Grzegorz Lukasik, Halil Sener, homuler, John Laxson, John Millikin, Keith Smiley, Matt Clarkson, Peter Mounce, Philipp Schrader, Ryan Beasley, Saleem Abdulrasool, Takeo Sawada, ThomasCJY, Vladimir Tagakov, Xdng Yng.
652
Bazel Release System50e90602022-05-03 18:36:36 +0200653## Release 6.0.0-pre.20220421.3 (2022-05-03)
654
655```
656Baseline: 092884b0118f1b8b14ba2277851baa6dcce5cac2
657
658Cherry picks:
659
660 + 82861c3a6e9761af883b1f6c99eef27da28b3d00:
661 remove debug statement
662 + a5a4198b4bae3e10e30bf48083d037acce39aac3:
663 Automated rollback of commit
664 92d760b37722feffd5b1121e4f9a1152d8120946.
665```
666
667Important changes:
668
669 - Switch cc_test implementation to Starlark. Note: cc_test will now
670 link statically when _targeting_ Windows regardless of host
671 platform (rather than always linking statically when Windows is
672 the _host_).
673 - Switch cc_test implementation to Starlark. Note: cc_test will now
674 link statically when _targeting_ Windows regardless of host
675 platform (rather than always linking statically when Windows is
676 the _host_).
677 - Add devtools/build/lib/worker:work_request_handlers to the remote
678 android tools release package. This will be transitively packaged
679 into all_android_tools.
680 - Bazel uses the D8 jar from Maven instead of the SDK.
681 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
682 $ANDROID_HOME.
683 - Advance android_tools_pkg version to 0.24.0.
684
685This release contains contributions from many people at Google, as well as Benjamin Peterson, Brandon Duffany, Daniel Wagner-Hall, Emil Kattainen, Fabian Meumertzheim, hvd, Keith Smiley, Tao Wang, Thomas Chen, ThomasCJY, Tom de Goede.
686
Bazel Release Systemfb9c61a2022-04-26 21:19:34 +0200687## Release 6.0.0-pre.20220414.2 (2022-04-26)
688
689```
690Baseline: 6872fd230b7fe4a15fa900d16f6f9ddd5726cdc3
691
692Cherry picks:
693
694 + a603c2382ffcc49f344eee73dfcd65aa2332f64f:
695 Automated rollback of commit
696 b93f828133e74cb3589ba7ffcfe74d2fe72430cd.
697 + 6142eac9153b539661c43dada5e11b552a6f58f6:
698 Automated rollback of commit
699 314b0900cec69a9d017ab84e94ee1cc0b6782470.
700```
701
702Important changes:
703
704 - Bazel uses the D8 jar from Maven instead of the SDK.
705 - Make ijar / java_import preserve classes with `@kotlin.Metadata`
706 annotations
707 - Bazel uses the D8 jar from Maven instead of the SDK.
708 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
709 $ANDROID_HOME.
710
711This release contains contributions from many people at Google, as well as Alex Torok, gkorlam, hvadehra, Vasilios Pantazopoulos, Yannic.
712
Bazel Release Systeme9de4932022-04-19 14:08:32 +0200713## Release 6.0.0-pre.20220411.2 (2022-04-19)
714
715```
716Baseline: 8f0034ce1e7854521e259a5eaf71859b1e6f95bc
717
718Cherry picks:
719
720 + a9465dfa4b124e331b8bb3e8d0219ea3dff7cdb1:
721 Automated rollback of commit
722 240af807c935225d98b630666000cc03934f2ce7.
723```
724
725Important changes:
726
727 - Allow specialization to work with constraint_values.
728
729This release contains contributions from many people at Google, as well as Brentley Jones, Fabian Meumertzheim, Keith Smiley, Noa Resare, Sahin Yort, Thomas Zayouna, Vasilios Pantazopoulos.
730
Bazel Release System5257e252022-04-14 16:11:53 +0200731## Release 6.0.0-pre.20220407.1 (2022-04-14)
732
733```
734Baseline: 9db58e0656d7456e8180e90400c2c94a76bf5c8b
735```
736
737Incompatible changes:
738
739 - this incompatible change breaks old instances of http_archive
740 that specified netrc as an absolute path. It is unlikely there
741 are many instances in the wild since the path would refer to a
742 netrc file inside the external repository by absolute path.
743 Migration should be straightforward.
744 - genrule switched to use exec transition instead of host. This can
745 break targets with hardcoded output paths. To avoid using
746 hardcoded paths use make variables, see
747 https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
748 defined_label_variables
749 - this incompatible change breaks old instances of http_archive
750 that specified netrc as an absolute path. It is unlikely there
751 are many instances in the wild since...
752 - Error Prone now checks for unused return values of additional
753 methods on `java.lang.Object`, which can be disabled using
754 `--javacopts=-Xep:ReturnValueIgnored:OFF`
755 - Error Prone now checks for unused return values of additional
756 methods on `java.lang.Object`, which can be disabled using
757 `--javacopts=-Xep:ReturnValueIgnored:OFF`
758 - The --incompatible_existing_rules_immutable_view flag has been
759 flipped to true. See
760 https://github.com/bazelbuild/bazel/issues/13907 for
761 migration notes.
762
763Important changes:
764
765 - Deprecate --incompatible_applicable_licenses flag, in preparation
766 for removal in Bazel 6.x.
767 - Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
768 - The Build Event Protocol now contains file digests and sizes
769 along with the file name and URI.
770 - Refactor system suspend event handling.
771 - alias() can now select() directly on constraint_value()
772 - Allow \a \b \f \v escape sequences in Starlark.
773 - Match remote and local xcode version by most granular version.
774 - Adds `--experimental_worker_multiplex_sandboxing` flag that
775 controls whether to sandbox multiplex workers that support it.
776 - provider() has a new parameter: init, a callback for performing
777 pre-processing and validation of field values. Iff this parameter
778 is set,
779 provider() returns a tuple of 2 elements: the usual provider
780 symbol (which,
781 when called, invokes init) and a raw constructor (which bypasses
782 init).
783 - Tests that fail to create or complete their
784 `TestAttemptContinuation` by
785 throwing an `ExecException` will report an `INCOMPLETE` status.
786 Previously, Bazel
787 would fail to report any status for the test attempt.
788 - Fixed an issue where Bazel could erroneously report a test passes
789 in coverage mode without actually running the test.
790 - Include more information about configurations in cquery proto
791 formatted output. This deprecates the configuration field of
792 AnalysisProtosV2.ConfiguredTarget, and adds a new field,
793 configuration_id, to
794 be used instead.
795 - experimental cc_library.implementation_deps inverted to
796 interface_deps
797 - In aquery and cquery proto output, indicate if a configuration is
798 a
799 tool or non-tool configuration.
800 - Include complete configurations in cquery proto output.
801 - experimental cc_library.implementation_deps inverted to
802 interface_deps
803 - Make protocOpts() publicly accessible.
804 - Add some documentation about how configuration information is
805 conveyed in cquery proto output.
806 - Introduces experimental static library linking API under
807 apple_common.link_multi_arch_static_library
808 - Further deprecation and removal of pkg_tar. Stop supporting
809 legacy use of 'files' attribute, where it could be a list of
810 labels instead of a map of paths to labels.
811 - Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
812 its purpose because --all_incompatible_changes would never set
813 it. The last rule it gated (pkg_tar) is scheduled to be removed
814 in Bazel 6.x.
815 - Add coverage configuration fragment, used to expose
816 output_generator label.
817 - Bazel now no longer includes system headers on macOS in coverage
818 reports (#14969).
819 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
820 $ANDROID_HOME.
821 - The default dexer is now d8. dx can be optionally enabled using:
822 --define=android_dexmerger_tool=dx_dexmerger \
823 --define=android_incremental_dexing_tool=dx_dexbuilder \
824 --define=android_standalone_dexing_tool=dx_compat_dx \
825 --use_workers_with_dexbuilder
826 - Packaging support for deploy JAR embedded JDK files (hermetic
827 Java).
828 - Don't stamp cc_common.link actions for tool dependencies.
829 - Starlark test rules can use the new inherited_environment
830 parameter of testing.TestEnvironment to specify environment
831 variables
832 whose values should be inherited from the shell environment.
833 - Enable merging permissions during Android manifest merging with
834 the --merge_android_manifest_permissions flag.
835
836This release contains contributions from many people at Google, as well as Adam Wolf, Albert Lloveras, Alessandro Patti, Alex Eagle, Alex Scott, Andreas Herrmann, Andrew Katson, arunkumar9t2, Ast-x64, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Ben Lee, Bohdan Vanieiev, Bradley Burns, Brandon Jacklyn, Brentley Jones, Brentley Jones, Chad Miller, Chris Fredrickson, Christopher Sauer, ckiffel, Cristian Hancila, crydell-ericsson, Dan Fleming, Daniel Wagner-Hall, Danny Wolf, David Ostrovsky, Denys Kurylenko, Dimi Shahbaz, divanorama, dmaclach, Ed Schouten, Fabian Meumertzheim, floriographygoth, Fredrik Medley, gkgoat1, Greg Estren, Greg, Hannes Kufler, hvadehra, Jan, Jay Bazuzi, jheaff1, Jiawen Chen, Joel Williamson, juanchoviedo, Keith Smiley, Ken Micklas, Kevin Lin, lihu, Luc Bertrand, Marek uppa, Matt Mackay, Michael P. Nitowski, Mikhail Balabin, Mostyn Bramley-Moore, Nick Korostelev, Nitesh Anandan, Niyas Sait, Noa Resare, Oscar Bonilla, Patrick Balestra, Paul Tarjan, Pras Velagapudi, Rahul Butani, Rifqi Mulya Fahmi, Ryan Schmidt, Simon Bjorklen, Son Luong Ngoc, Stiopa Koltsov, Sven Tiffe, Ted Kaplan, Tetsuo Kiso, Thi Doan, Thomas Zayouna, Timothe Peignier, Ulf Adams, Ulrik Falklof, Vasilios Pantazopoulos, William Muir, Xavier Bonaventura, Xdng Yng, Yannic Bonenberger, Yesudeep Mangalapilly, Yuval K, Zhongpeng Lin.
837
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +0200838## Release 5.1.1 (2022-04-08)
Bazel Release System98022492022-04-08 14:11:37 +0200839
840```
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +0200841Baseline: 8d66a4171baddcbe1569972f019e54130111202c
Bazel Release System724177f2022-03-25 20:57:02 +0100842
843Cherry picks:
844
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +0200845 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
846 Remote: Cache merkle trees
847 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
848 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
849 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
850 Compile Apple tools as fat binaries if possible
851 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
852 Add protobuf as a well known module
853 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
854 Remote: Merge target-level exec_properties with
855 --remote_default_exec_properties
856 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
857 Add -no_uuid for hermetic macOS toolchain setup
858 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
859 Remote: Fixes an issue when --experimental_remote_cache_async
860 encounter flaky tests.
861 + 77a002cce050e861fcc87c89acf7768aa5c97124:
862 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
863 has …
864 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
865 Fixes for the Starlark transition hash computation (#14251)
866 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
867 Do location expansion in copts of objc_library
868 + 50274a9f714616d4735a560db7f617e53fb8d01b:
869 [5.x] Remote: Add support for compression on gRPC cache (#14277)
870 + 61bf2e5b5181cbe34a2f0d584053570943881804:
Bazel Release System724177f2022-03-25 20:57:02 +0100871 Automated rollback of commit
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +0200872 34c71465f84fa780217926db2e8e5ca3d6d4568c.
873 + 79888fe7369479c398bafe064daa19a7ae30f710:
874 Silence a zstd-jni GCC warning.
875 + 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
876 Remote: Limit max number of gRPC connections by
877 --remote_max_connections.
878 + fd727ec96d861573dcbad3249d727a94eff84789:
879 Do location expansion in copts of objc_library
880 + 23d096931be9b7247eafa750999dd7feadde14c1:
881 Fix _is_shared_library_extension_valid
882 + 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
883 Remove merging of java_outputs in JavaPluginInfo.
884 + cea5f4f499aa832cf90c68898671869ce79d63f2:
885 Cherrypick Bzlmod documentation (#14301)
886 + 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
887 Format work requests according to ndjson spec
888 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
889 Enable user_link_flags_feature for macosx cc_toolchain_config
890 + 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
891 Remote: Use Action's salt field to differentiate cache across
892 workspaces.
893 + f94898915268be5670fb1e93a16c03e9b14d2a58:
894 [5.x] Remote: Fix "file not found" error when remote cache is
895 changed from enabled to disabled. (#14321)
896 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
897 Delete marker file before fetching an external repository
898 + c05c6261cdb2cacb7c9881c255c0ada435ab5182:
899 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
900 + d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
901 Fix remote spawn tests for remote_merkle_tree_cache=true
902 + 59e16e944200555da377799aa0d9e8d0674d2e27:
903 Show skipped tests as a warning
904 + 76b3c242831f8e88835e3002a831a185a41fcc52:
905 Build xcode-locator as a universal binary
906 + aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
907 Exit collect_coverage.sh early if LCOV_MERGER is not set.
908 + 4256d46327bad8638df91be1a5d4ef83b12b74c7:
909 Automated rollback of commit
910 d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
911 + dce24350befd08216b3910ae343670015444ff81:
912 [apple] fix issues compiling C in objc_library for watchos/armv7k
913 + bfc24139d93f8643686d91596ba347df2e01966a:
914 5.x: Remote: Ignore blobs referenced in BEP if the generating
915 action cannot be cached remotely. (#14389)
916 + 5aef53a8884038f3c9f06e6dddb9372196253378:
917 Remote: Don't blocking-get when acquiring gRPC connections.
918 (#14420)
919 + 005361c895da334beb873901e93aff06d180256e:
920 Disable IncludeValidation for ObjC in bazel
921 + d703b7b4f09fb3c389f99e52bac1f23930280b56:
922 Update java_tools v11.6
923 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
924 Stop remote blob upload if upload is complete. (#14467)
925 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
926 [5.x] Make remote BES uploader better (#14472)
927 + 2edab739e1f61fe8813230b03396ca46f0790089:
928 Avoid too verbose warnings in terminal when cache issues
929 + 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
930 Rename --project_id to --bes_instance_name
931 + c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
932 Automated rollback of commit
933 bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
934 + b341802700484d11c775bf02d80f43ba3f33b218:
935 [apple] support watchos_arm64 in toolchain
936 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
937 Disable implicitly collecting baseline coverage for toolchain
938 targets.
939 + 302971e1b3d803069ac949c0085c0d2a3916c8ab:
940 Automated rollback of commit
941 7d09b4a15985052670244c277e4357557b4d0039.
942 + 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
943 Bzlmod: Starlarkify default attr values for TypeCheckedTags
944 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
945 Fix build after rc4 cherrypicks (#14581)
946 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
947 Release 5.0.0 (2022-01-19)
948 + 486d153d1981c3f47129f675de20189667667fa7:
949 Find runfiles in directories that are themselves runfiles
950 + 0de7bb95022057e8b89334f44759cf6f950e131f:
951 Don't resolve symlinks for --sandbox_base
952 + 8b60c90f3641591b65c4e153113aea562f1fab94:
953 Remove uses of -lstdc++ on darwin
954 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
955 Allow Label instances as keys in select (#14755)
956 + 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
957 Remote: Only waits for background tasks from remote execution.
958 + 8734ccf9847eafb7193388cd9c6fa78faa78283f:
959 Add the default solib dir to the rpath for cc_imports with
960 transitions
961 + 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
962 Flip --experimental_worker_allow_json_protocol
963 + fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
964 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
965 cpu for tools when host cpu and exec cpu are different
966 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
967 Propagate --experimental_cc_implementation_deps to host config
968 + 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
969 Support select() on constraint_value for aliases.
970 + 67a133b431ccece22b7dd9a72f0837cff77d4360:
971 Improve documentation for select()
972 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
973 Cherrypicks for experimental cc_shared_library (#14773)
974 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
975 [apple] support tvos_sim_arm64 in toolchain (#14779)
976 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
977 Cherry pick win arm64 (#14794)
978 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
979 [5.1.0] cherrypick subpackages support (#14780)
980 + 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
981 Add a helper method for rules to depend on the cpp toolchain
982 type.
983 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
984 UrlRewriter should be able to load credentials from .netrc
985 (#14834)
986 + 32d1606dac2fea730abe174c41870b7ee70ae041:
987 Add "arch" struct field to repository_os
988 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
989 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
990 + c2ddbd1954af5baab63b93f2b055a410a27832c8:
991 Ignore missing include directory in JDK distribution.
992 + 16de03595e21f7bf31818e717505b23c953b3b7d:
993 Fix bazel coverage false negative
994 + 0c74741742301abcf67452a7f591daec1c3a7635:
995 Remote: Postpone the block waiting in `afterCommand` to
996 `BlockWaitingModule` (#14833)
997 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
998 Switch to `ProcessHandle` for getting the PID (#14842)
999 + a987b98ea0d6da2656c4115568ef9cbe8a164550:
1000 Fix uses of std++ on bsd
1001 + d184e4883bb7fc21de2f7aeea4304994de27e9ea:
1002 Remote: handle early return of compressed blobs uploads
1003 + 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
1004 Add removeprefix/removesuffix to Starlark strings
1005 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
1006 Fix default CPU for macOS and iOS (#14923)
1007 + cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
1008 Add paramfile support for def_parser, since in rare cases on
1009 Windows command line character limit was reached.
1010 + 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
1011 Normalize rpath entries to guard against missing default solib
1012 dir
1013 + 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
1014 Fix aggressive params file assumption
1015 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
1016 Fix precompiled libs not in runfiles of cc_shared_library
1017 (#14943)
1018 + 764614e0f0287125269e7a92e909a44624bcb360:
1019 Bzlmod: Allow multiple `use_extension`s on the same extension
1020 (#14945)
1021 + fa761f84994f18db383fbe9aaea524e4385da13a:
1022 Fix typo in `apple_common.platform` docs
1023 + f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
1024 Yield a Proxy for addresses without protocol
1025 + 8cefb8bed4ac82df8640682517372a9249732352:
1026 Avoid merging URLs in HttpUtils
1027 + b4804807fc2c184cc36df9e69e472942c01941b8:
1028 Make protocOpts() public. (#14952)
1029 + 113eaca5862c48797654ae2a3acbb6e15d761485:
1030 Do not hide BulkTransferException messages when there were more
1031 than one exception
1032 + b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
1033 merkle_tree_cache: change default size to 1000
1034 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
1035 Add --experimental_repository_cache_urls_as_default_canonical_id
1036 to help detect broken repository URLs (#14989)
1037 + f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
1038 Expose the logic to read user netrc file
1039 + b858ec39aebd7e586af5438aa2035db2adebf9a4:
1040 Correct cpu and os values of `local_config_cc_toolchains` targets
1041 + 5e79972c05d89280f0cf1fa620f807366847bac6:
1042 Expose CoverageOutputGenerator on a Fragment (#14997)
1043 + 78f03110e0dab42f37e427fd524e72706e036d74:
1044 Correct error runfiles cc_shared_library (#14998)
1045 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
1046 [5.1] Adding Starlark dependencies to the package //external
1047 (#14991)
1048 + a73aa12be65454ac8cfb5a8f3e056c420402f997:
1049 Remote: Fix crashes with InterruptedException when using http
1050 cache.
1051 + f8707c07f153ac4ac2ec4b210321f1a16343006d:
1052 Account for interface libraries in cc_shared_library
1053 + a570f5fdb1618a6c272d18bebaa712d3b2af3975:
1054 Fix coverage runfiles directory issue
1055 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
1056 Do not validate input-only settings in transitions (#15048)
1057 + 71747ccc9d0032a865854613329362563c0574df:
1058 Filter out system headers on macOS.
1059 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
1060 Update Bazel bootstrap documentation and remove obsolete flags.
1061 (#15065)
1062 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
1063 [5.1] Undocument --bes_best_effort (#15066)
1064 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
1065 Fix conflicting actions error when specifying
1066 --host_macos_minimum_os (#15068)
1067 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
1068 [5.1] Remote: Action should not be successful and cached if
1069 outputs were not created (#15071)
1070 + 00d74ff737cccd60305ee58d85313556a077152a:
1071 Support decompressing zstd tar archives for repository rules.
1072 + f5857830bb68bd05ffc257506575ed37a8128933:
1073 Remote: Don't check TreeArtifact output
1074 + efb2b80953983dce499d453a9f55a74ffaf8c42d:
1075 osx_cc_wrapper: Only expand existing response files
1076 + c771c43b870fb8618db7bdab6725ab40cac4976d:
1077 Remote: Fix crashes by InterruptedException when dynamic
1078 execution is enabled. (#15091)
1079 + 3785677cc84fc4024fda85575c05efbde5d512fc:
1080 Use python3 on macOS
1081 + 815d9e499a32fd4d87525ac0c698c293cf26433d:
1082 Release 5.1.0 (2022-03-24)
1083 + 1fbb69e366034484887e00c6006c7b79508765ed:
1084 Prepare 5.1.1 release
1085 + df153df9656e0e197f67622bb11f7d77e19238a0:
1086 Fix CODEOWNERS syntax
1087 + d418245e8cdd6eef9c6ba326f96fd4aabd046fe2:
1088 Remote: Don't check declared outputs for failed action (#15181)
1089 + ffa2a0b197d1f4ffe2031fd0b1b40da9d126793b:
1090 Upgrade abseil version to the latest (#15183)
1091 + 8ae15207ecf0be3f45b8cd249077a2c1896e2b09:
1092 Fix windows_export_all_symbols in cc_shared_library (#15190)
1093 + 94cc0985ea07a2d69ef07ac9d3a9943e094794f2:
1094 Support ZIP files with total number of disks = 0 (#15200)
Bazel Release System724177f2022-03-25 20:57:02 +01001095```
1096
Bazel Release System724177f2022-03-25 20:57:02 +01001097Important changes:
1098
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +02001099 - alias() can now select() directly on constraint_value()
1100
1101 Fixes https://github.com/bazelbuild/bazel/issues/13047.
1102
1103 Closes #14310.
Bazel Release System724177f2022-03-25 20:57:02 +01001104 - Fixed an issue where Bazel could erroneously report a test passes
1105 in coverage mode without actually running the test.
Bazel Release System724177f2022-03-25 20:57:02 +01001106 - Make protocOpts() publicly accessible.
Bazel Release System724177f2022-03-25 20:57:02 +01001107 - Add coverage configuration fragment, used to expose
1108 output_generator label.
1109 - Bazel now no longer includes system headers on macOS in coverage
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +02001110 reports (#14969).
1111
1112 Closes #14971.
Bazel Release System724177f2022-03-25 20:57:02 +01001113
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +02001114This release contains contributions from many people at Google, as well as amberdixon, Benjamin Peterson, Brentley Jones, Dan Fleming, Danny Wolf, Fabian Meumertzheim, Keith Smiley, Niyas Sait, Noa Resare, Oliver Eikemeier, oquenchil, Philipp Schrader, Xùdōng Yáng, Yannic.
Bazel Release System724177f2022-03-25 20:57:02 +01001115
Bazel Release System45b225d2022-03-24 14:57:44 +01001116## Release 5.1.0 (2022-03-24)
Bazel Release System3c156f32022-01-19 15:04:51 +01001117
1118```
1119Baseline: 8d66a4171baddcbe1569972f019e54130111202c
1120
1121Cherry picks:
1122
1123 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
1124 Remote: Cache merkle trees
1125 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
1126 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
1127 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
1128 Compile Apple tools as fat binaries if possible
1129 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
1130 Add protobuf as a well known module
1131 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
1132 Remote: Merge target-level exec_properties with
1133 --remote_default_exec_properties
1134 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
1135 Add -no_uuid for hermetic macOS toolchain setup
1136 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
1137 Remote: Fixes an issue when --experimental_remote_cache_async
1138 encounter flaky tests.
1139 + 77a002cce050e861fcc87c89acf7768aa5c97124:
1140 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
1141 has …
1142 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
1143 Fixes for the Starlark transition hash computation (#14251)
1144 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
1145 Do location expansion in copts of objc_library
1146 + 50274a9f714616d4735a560db7f617e53fb8d01b:
1147 [5.x] Remote: Add support for compression on gRPC cache (#14277)
1148 + 61bf2e5b5181cbe34a2f0d584053570943881804:
1149 Automated rollback of commit
1150 34c71465f84fa780217926db2e8e5ca3d6d4568c.
1151 + 79888fe7369479c398bafe064daa19a7ae30f710:
1152 Silence a zstd-jni GCC warning.
Bazel Release System45b225d2022-03-24 14:57:44 +01001153 + 8d5973d29d60c0c615838c534ee27f93377cf5af:
Bazel Release System3c156f32022-01-19 15:04:51 +01001154 Remote: Limit max number of gRPC connections by
1155 --remote_max_connections.
1156 + fd727ec96d861573dcbad3249d727a94eff84789:
1157 Do location expansion in copts of objc_library
1158 + 23d096931be9b7247eafa750999dd7feadde14c1:
1159 Fix _is_shared_library_extension_valid
Bazel Release System45b225d2022-03-24 14:57:44 +01001160 + 7632928a116efc4e28a02ec9206870663bcaacf7:
Bazel Release System3c156f32022-01-19 15:04:51 +01001161 Remove merging of java_outputs in JavaPluginInfo.
1162 + cea5f4f499aa832cf90c68898671869ce79d63f2:
1163 Cherrypick Bzlmod documentation (#14301)
Bazel Release System45b225d2022-03-24 14:57:44 +01001164 + 299e50aae9d8c0b7f0d47aa2ce3d2658a3a80a94:
1165 Format work requests according to ndjson spec (#14314)
1166 + e53ae63c04a7158b78da19bc76ede57a8cc31673:
Bazel Release System3c156f32022-01-19 15:04:51 +01001167 Enable user_link_flags_feature for macosx cc_toolchain_config
Bazel Release System45b225d2022-03-24 14:57:44 +01001168 (#14313)
1169 + b587be37b3b817879d700d7ee55c44cd884b0905:
Bazel Release System3c156f32022-01-19 15:04:51 +01001170 Remote: Use Action's salt field to differentiate cache across
Bazel Release System45b225d2022-03-24 14:57:44 +01001171 workspaces. (#14320)
Bazel Release System3c156f32022-01-19 15:04:51 +01001172 + f94898915268be5670fb1e93a16c03e9b14d2a58:
1173 [5.x] Remote: Fix "file not found" error when remote cache is
1174 changed from enabled to disabled. (#14321)
Bazel Release System45b225d2022-03-24 14:57:44 +01001175 + dc76f74d3a6f77de03c49234386bf0ca7d15bdcc:
Bazel Release System3c156f32022-01-19 15:04:51 +01001176 Delete marker file before fetching an external repository
Bazel Release System45b225d2022-03-24 14:57:44 +01001177 (#14323)
1178 + fabdff40070acf415282543b72cf114e2b5723f6:
Bazel Release System3c156f32022-01-19 15:04:51 +01001179 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
Bazel Release System45b225d2022-03-24 14:57:44 +01001180 (#14331)
1181 + 541ed05702751a5b061b22f1ff98f0cef17af1a5:
1182 Fix remote spawn tests for remote_merkle_tree_cache=true (#14334)
1183 + aa884df6b09ed19fccd83aad67f39653fde5fbed:
1184 Show skipped tests as a warning (#14345)
1185 + 6916fc1c4c49134ee76b9a725deddd1e6bcab24a:
1186 Build xcode-locator as a universal binary (#14351)
1187 + ffa12adb44e86772ae48eeb5a387f172130407fa:
Bazel Release System3c156f32022-01-19 15:04:51 +01001188 Exit collect_coverage.sh early if LCOV_MERGER is not set.
Bazel Release System45b225d2022-03-24 14:57:44 +01001189 (#14359)
1190 + b46de754aba0f24d67cd9c882f8a82428915fae5:
Bazel Release System3c156f32022-01-19 15:04:51 +01001191 Automated rollback of commit
Bazel Release System45b225d2022-03-24 14:57:44 +01001192 d84f7998ef8f15e27376a0c8f25b320145c4ba9e. (#14358)
1193 + 24a340a50a11e255dff656d2ee9b3dcfb093b729:
Bazel Release System3c156f32022-01-19 15:04:51 +01001194 [apple] fix issues compiling C in objc_library for watchos/armv7k
1195 + bfc24139d93f8643686d91596ba347df2e01966a:
1196 5.x: Remote: Ignore blobs referenced in BEP if the generating
1197 action cannot be cached remotely. (#14389)
1198 + 5aef53a8884038f3c9f06e6dddb9372196253378:
1199 Remote: Don't blocking-get when acquiring gRPC connections.
1200 (#14420)
Bazel Release System45b225d2022-03-24 14:57:44 +01001201 + 2fb7dfe7b35b5997cc5fbcd1d98612b99419f097:
1202 Disable IncludeValidation for ObjC in bazel (#14440)
1203 + 7deb940f3840e6ac3233963a9b68227e7f0f4a9e:
1204 Update java_tools v11.6 (#14423)
Bazel Release System3c156f32022-01-19 15:04:51 +01001205 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
1206 Stop remote blob upload if upload is complete. (#14467)
1207 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
1208 [5.x] Make remote BES uploader better (#14472)
Bazel Release System45b225d2022-03-24 14:57:44 +01001209 + d7f134110631641ea8c3f9b19b37165bb177ef2e:
1210 Avoid too verbose warnings in terminal when cache issues (#14504)
1211 + 2b48c6b9a447756fcb3295b8a75899b96efa7fd4:
1212 Rename --project_id to --bes_instance_name (#14507)
1213 + 7c7f102576c917acf6c9d6013a5c7c4783bf396d:
Bazel Release System3c156f32022-01-19 15:04:51 +01001214 Automated rollback of commit
Bazel Release System45b225d2022-03-24 14:57:44 +01001215 bfdfa6ebfd21b388f1c91f512291c848e1a92a96. (#14515)
1216 + 9c1c622fed219cb6b9c0656ebe4a4f3c117029b9:
1217 [apple] support watchos_arm64 in toolchain (#14527)
Bazel Release System3c156f32022-01-19 15:04:51 +01001218 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
1219 Disable implicitly collecting baseline coverage for toolchain
1220 targets.
Bazel Release System45b225d2022-03-24 14:57:44 +01001221 + 48a0fc51ccf6a3a263b9f8d96921d84d4243e0e6:
Bazel Release System3c156f32022-01-19 15:04:51 +01001222 Automated rollback of commit
1223 7d09b4a15985052670244c277e4357557b4d0039.
Bazel Release System45b225d2022-03-24 14:57:44 +01001224 + a233aaa649572b7173ea27aceed31cb705d7ba9b:
Bazel Release System3c156f32022-01-19 15:04:51 +01001225 Bzlmod: Starlarkify default attr values for TypeCheckedTags
1226 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
1227 Fix build after rc4 cherrypicks (#14581)
Bazel Release System45b225d2022-03-24 14:57:44 +01001228 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
1229 Release 5.0.0 (2022-01-19)
1230 + d53f53cf5cc05c738a9857ca95059ce8903107cd:
1231 Find runfiles in directories that are themselves runfiles
1232 (#14737)
1233 + 167e79f08a95ae14edfb44d85452c9c74e0f1a3c:
1234 Don't resolve symlinks for --sandbox_base (#14748)
1235 + 22bede95a5a74c61571d3b50c14488b0e922ff63:
1236 Remove uses of -lstdc++ on darwin (#14750)
1237 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
1238 Allow Label instances as keys in select (#14755)
1239 + a5f2813acf3e31aeb3037d80a6f9d7fddf76a1c8:
1240 Remote: Only waits for background tasks from remote execution.
1241 (#14752)
1242 + d17a769965f12363f339c7b93524f49dbcdd1b1e:
1243 Add the default solib dir to the rpath for cc_imports with
1244 transitions (#14757)
1245 + 53ee76e96365bdea88847f77706d55f2c39b9273:
1246 Flip --experimental_worker_allow_json_protocol (#14749)
1247 + 21ff46a639a83084975251ca7c21cfc8d74763eb:
1248 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
1249 cpu for tools when host cpu and exec cpu are different (#14751)
1250 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
1251 Propagate --experimental_cc_implementation_deps to host config
1252 + 0df1851f0759279d84c79ea6731552437c95ce65:
1253 Support select() on constraint_value for aliases. (#14754)
1254 + 58ecec37747636b3483bbcba29a7f3e0e2372697:
1255 Improve documentation for select() (#14769)
1256 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
1257 Cherrypicks for experimental cc_shared_library (#14773)
1258 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
1259 [apple] support tvos_sim_arm64 in toolchain (#14779)
1260 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
1261 Cherry pick win arm64 (#14794)
1262 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
1263 [5.1.0] cherrypick subpackages support (#14780)
1264 + af34c452c12dae8758340dc5c284cf30f3c80302:
1265 Add a helper method for rules to depend on the cpp toolchain
1266 type. (#14795)
1267 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
1268 UrlRewriter should be able to load credentials from .netrc
1269 (#14834)
1270 + 65904046031325c418734dfda994bdeff4134160:
1271 Add "arch" struct field to repository_os (#14835)
1272 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
1273 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
1274 + 59384ddee429ca363022c2a03b62a5a9a43c31c4:
1275 Ignore missing include directory in JDK distribution. (#14832)
1276 + 344e8f8e97db2e2aa9b2fce7d68083a7549e4bc6:
1277 Fix bazel coverage false negative (#14836)
1278 + 0c74741742301abcf67452a7f591daec1c3a7635:
1279 Remote: Postpone the block waiting in `afterCommand` to
1280 `BlockWaitingModule` (#14833)
1281 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
1282 Switch to `ProcessHandle` for getting the PID (#14842)
1283 + 031a772acfd304fb5678e6a53e6c4ac3b99103ff:
1284 Fix uses of std++ on bsd (#14860)
1285 + 8ebd70b0c97c8bd584647f219be8dd52217cb5cf:
1286 Remote: handle early return of compressed blobs uploads (#14885)
1287 + 50bb742fc35c04ab422a7ce723160b27d6900e6c:
1288 Add removeprefix/removesuffix to Starlark strings (#14899)
1289 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
1290 Fix default CPU for macOS and iOS (#14923)
1291 + ed7a10d6170049877a07cf27edaf8db65d17f77b:
1292 Add param file for def parser action (#14925)
1293 + e624aff6d63dd6264d7ff56ec9650b7a1aeb3a36:
1294 Normalize rpath entries to guard against missing default solib
1295 dir (#14929)
1296 + c1ecca22d2cb761bd094fcd40eb8b13e826e777e:
1297 Fix aggressive params file assumption (#14930)
1298 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
1299 Fix precompiled libs not in runfiles of cc_shared_library
1300 (#14943)
1301 + 764614e0f0287125269e7a92e909a44624bcb360:
1302 Bzlmod: Allow multiple `use_extension`s on the same extension
1303 (#14945)
1304 + 85d7ed68fa7bd84a5a23baf0431cbb04d64d7fa6:
1305 Fix typo in `apple_common.platform` docs (#14958)
1306 + a6a430540879bd866dfbef5cd048b2a4ab6bd883:
1307 Yield a Proxy for addresses without protocol (#14956)
1308 + 698da7e563b76633c973ea3029b7e313b69545fd:
1309 Avoid merging URLs in HttpUtils (#14954)
1310 + b4804807fc2c184cc36df9e69e472942c01941b8:
1311 Make protocOpts() public. (#14952)
1312 + 61cfa1d01eefb0923e8e3029ab9e92fdfe77ff50:
1313 Do not hide BulkTransferException messages when there were more
1314 than one exception (#14986)
1315 + 0764821a8c1175fbcbca630d3681901244b33095:
1316 merkle_tree_cache: change default size to 1000 (#14984)
1317 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
1318 Add --experimental_repository_cache_urls_as_default_canonical_id
1319 to help detect broken repository URLs (#14989)
1320 + 87ef5ce4103be75e8d9935e071fa215a481536e1:
1321 Expose the logic to read user netrc file (#14990)
1322 + 785c7ecafa9b93e700e846397c3a13c320c1dbdd:
1323 Correct cpu and os values of `local_config_cc_toolchains`
1324 targets (#14995)
1325 + 5e79972c05d89280f0cf1fa620f807366847bac6:
1326 Expose CoverageOutputGenerator on a Fragment (#14997)
1327 + 78f03110e0dab42f37e427fd524e72706e036d74:
1328 Correct error runfiles cc_shared_library (#14998)
1329 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
1330 [5.1] Adding Starlark dependencies to the package //external
1331 (#14991)
1332 + 6cd6a27d4480eff91258ef8258b5af1901acde65:
1333 Remote: Fix crashes with InterruptedException when using http
1334 cache. (#14999)
1335 + 91a580ad198a9d7f179c1822d55f75ba5318e2ce:
1336 Fix interface_library-only libraries_to_link for
1337 cc_shared_library (#15046)
1338 + 1345938867e5c0c381f46cccf889c7b2b20a867a:
1339 Fix coverage runfiles directory issue (#15047)
1340 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
1341 Do not validate input-only settings in transitions (#15048)
1342 + f19d6107bca9aea7742bd66eb3080f29fcf3bd81:
1343 Filter out system headers on macOS. (#15020)
1344 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
1345 Update Bazel bootstrap documentation and remove obsolete flags.
1346 (#15065)
1347 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
1348 [5.1] Undocument --bes_best_effort (#15066)
1349 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
1350 Fix conflicting actions error when specifying
1351 --host_macos_minimum_os (#15068)
1352 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
1353 [5.1] Remote: Action should not be successful and cached if
1354 outputs were not created (#15071)
1355 + 6d26dc74da2602817d56b0507ec79394c35a3781:
1356 Support decompressing zstd tar archives for repository rules.
1357 (#15087)
1358 + 376cd472bbf7d81c7feb79563e7894cc3d74151a:
1359 Remote: Don't check TreeArtifact output (#15085)
1360 + 48b60d22bca0158d194b78481ff86b0ac251243f:
1361 osx_cc_wrapper: Only expand existing response files (#15090)
1362 + c771c43b870fb8618db7bdab6725ab40cac4976d:
1363 Remote: Fix crashes by InterruptedException when dynamic
1364 execution is enabled. (#15091)
1365 + 3b2d686f2976e66ca4f93b568f2262a88621855a:
1366 Use python3 on macOS (#15102)
Bazel Release Systemf0f1fb42022-01-14 17:48:08 +01001367```
1368
1369Important changes:
1370
Bazel Release System45b225d2022-03-24 14:57:44 +01001371 - alias() can now select() directly on constraint_value()
1372
1373 Fixes https://github.com/bazelbuild/bazel/issues/13047.
1374
1375 Closes #14310.
1376 - Fixed an issue where Bazel could erroneously report a test passes
1377 in coverage mode without actually running the test.
1378 - Make protocOpts() publicly accessible.
1379 - Add coverage configuration fragment, used to expose
1380 output_generator label.
1381 - Bazel now no longer includes system headers on macOS in coverage
1382 reports (#14969).
1383
1384 Closes #14971.
Bazel Release Systemf0f1fb42022-01-14 17:48:08 +01001385
Bazel Release System45b225d2022-03-24 14:57:44 +01001386This release contains contributions from many people at Google, as well as amberdixon, Benjamin Peterson, Brentley Jones, Dan Fleming, Danny Wolf, Fabian Meumertzheim, Keith Smiley, Niyas Sait, Noa Resare, Oliver Eikemeier, oquenchil, Philipp Schrader, Xùdōng Yáng, Yannic.
Bazel Release System32fb9c682021-11-19 01:26:48 +01001387
Bazel Release Systemc0050dd2021-11-11 21:26:22 +01001388## Release 6.0.0-pre.20211101.2 (2021-11-11)
1389
1390```
1391Baseline: 9c65356cedcf4e68077219c10f5a7bb39d38054b
1392
1393Cherry picks:
1394
1395 + 2c9721f9ba11979eee1fd95fe793b52369df99ac:
1396 Automated rollback of commit
1397 9c65356cedcf4e68077219c10f5a7bb39d38054b.
1398```
1399
1400Important changes:
1401
1402 - Deprecate --incompatible_applicable_licenses flag, in preparation
1403 for removal in Bazel 6.x.
1404
1405This release contains contributions from many people at Google, as well as Alex Eagle, Benjamin Peterson, Ben Lee, Fabian Meumertzheim, Fredrik Medley, Keith Smiley, Rahul Butani, Ulf Adams, William Muir.
1406
Bazel Release System9d6fd6d2021-11-03 17:44:05 +01001407## Release 6.0.0-pre.20211025.1 (2021-11-03)
1408
1409```
1410Baseline: 5c04973b000b6e1819d6b51d238498a0b507c7af
1411```
1412
1413Important changes:
1414
1415 - Bazel no longer supports Java 8. From this version on, the
1416 minimum required JDK is OpenJDK 11.
1417
1418This release contains contributions from many people at Google, as well as Benjamin Peterson, John Laxson, Keith Smiley, Thi Don.
1419
Bazel Release System276aef32021-10-26 17:40:43 +02001420## Release 6.0.0-pre.20211019.1 (2021-10-26)
1421
1422```
1423Baseline: 406fc1ba5fae98843c99f89a43dcbdbca0d90274
1424```
1425
1426Incompatible changes:
1427
1428 - Remove `--experimental_profile_cpu_usage`.
1429 - flipped --incompatible_java_common_parameters (see #12373)
1430
1431This release contains contributions from many people at Google, as well as ecngtng, Fabian Meumertzheim, Keith Smiley, Mauricio Galindo, Thaler Benedek.
1432
Bazel Release System15a09392021-10-20 21:00:46 +02001433## Release 5.0.0-pre.20211011.2 (2021-10-20)
1434
1435```
1436Baseline: 3b3bad9e774891856c198738c46d547de954b84a
1437
1438Cherry picks:
1439
1440 + d8c23189c9118f99cfc3eaac98976b7c6fdacae0:
1441 Automated rollback of commit
1442 2571ce2d9e72ee60326ef524fee1702cb2dd07e7.
1443```
1444
1445Incompatible changes:
1446
1447 - Removed --action_graph from the dump command.
1448 - Remove `--{experimental_,}json_trace_compression` option.
1449
1450Important changes:
1451
1452 - The --experimental_existing_rules_immutable_view flag has been
1453 renamed to --incompatible_existing_rules_immutable_view
1454
1455This release contains contributions from many people at Google, as well as Alex Eagle, hvadehra, Keith Smiley, Torgil Svensson, Yuval.
1456
Bazel Release System6c21d272021-10-19 16:14:18 +02001457## Release 5.0.0-pre.20211006.1 (2021-10-19)
1458
1459```
1460Baseline: 681886de2901a2f7920288253674927cf13f1585
1461```
1462
1463Important changes:
1464
1465 - incompatible_disable_depset_items is flipped
1466
1467This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Keith Smiley, Thomas Carmet, Timothe Peignier.
1468
Bazel Release System60eb0012021-10-07 17:43:31 +02001469## Release 5.0.0-pre.20210929.1 (2021-10-07)
1470
1471```
1472Baseline: 61a5fae1b49ed067350d93578da268715031df06
1473```
1474
1475Important changes:
1476
1477 - The deprecated "relative_to_caller_repository" parameter has been
1478 removed from the Label constructor.
1479 - The toolchain transition is now enabled for all toolchains.
1480
1481This release contains contributions from many people at Google, as well as Artem V. Navrotskiy, hvadehra, Ikko Ashimine, Paul Gschwendtner, ron-stripe, Yuval K.
1482
Bazel Release Systemc2d6def2021-09-30 19:26:44 +02001483## Release 5.0.0-pre.20210923.7 (2021-09-30)
1484
1485```
1486Baseline: 9a765c8b498a72e20af6c391bef01e794913c317
1487
1488Cherry picks:
1489
1490 + f959a22bc59229b723cfca8c987da210b03b8a8d:
1491 Rollback.
1492```
1493
1494Important changes:
1495
1496 - Add support to length-delimited protos as undeclared output
1497 annotations []
1498
1499This release contains contributions from many people at Google, as well as Benjamin Peterson, Brandon Jacklyn, Rabi Shanker Guha.
1500
Bazel Release System1b7bb2fd2021-09-27 13:05:45 +02001501## Release 5.0.0-pre.20210921.1 (2021-09-27)
1502
1503```
1504Baseline: 11f1a6d3ce529a63d4b7111c62ae504ceac2a019
1505```
1506
1507Incompatible changes:
1508
1509 - Remove --bep_publish_used_heap_size_post_build
1510 - JSON trace profile: rename counter names.
1511
1512Important changes:
1513
1514 - Adds --experimental_existing_rules_immutable_view flag to make the
1515 native.existing_rule and native.existing_rules functions more
1516 efficient by
1517 returning immutable, lightweight dict-like view objects instead
1518 of mutable
1519 dicts.
1520
1521This release contains contributions from many people at Google, as well as Wren Turkal.
1522
Bazel Release System865f0f42021-09-23 13:40:49 +02001523## Release 5.0.0-pre.20210916.1 (2021-09-23)
1524
1525```
1526Baseline: e4a26b6391fd2d3112a29bf81b4397055c854184
1527```
1528
1529This release contains contributions from many people at Google, as well as Peter Kasting, Ulrik Falklof.
1530
Bazel Release System717b2352021-09-17 18:49:37 +02001531## Release 5.0.0-pre.20210913.1 (2021-09-17)
1532
1533```
1534Baseline: 0017fd23e1ff9aea7241c92a503024e3f2a3425b
1535```
1536
1537This release contains contributions from many people at Google, as well as Keith Smiley, Mathieu Olivari, Yannic Bonenberger.
1538
Bazel Release System139abf42021-09-14 20:51:20 +02001539## Release 5.0.0-pre.20210907.1 (2021-09-14)
1540
1541```
1542Baseline: 9cb59369a84d9328c2929eefcb58c1b972ab15f2
1543```
1544
1545Important changes:
1546
1547 - The `--toolchain_resolution_debug` flag now accepts regexes
1548 matching targets, as well as toolchain types, when choosing what
1549 debug messages to print.
1550
1551This release contains contributions from many people at Google, as well as Benjamin Peterson, frazze-jobb, Tetsuo Kiso.
1552
Bazel Release System50550962021-09-10 17:35:37 +02001553## Release 5.0.0-pre.20210831.2 (2021-09-10)
1554
1555```
1556Baseline: 14fe5dff967cf91f130746f646d1bb1cfc1053f2
1557
1558Cherry picks:
1559
1560 + 6f5c4bb4d17abd6b9654f255c12775eb35638000:
1561 Automated rollback of commit
1562 8181f0abe6591bc14957e6a941a6556fb040ca9f.
1563```
1564
1565Important changes:
1566
1567 - The --all_incompatible_changes flag is now a no-op
1568
1569This release contains contributions from many people at Google, as well as Keith Smiley, kekxv, ron-stripe, Sergey Tyurin.
1570
Bazel Release Systemd13f58b2021-09-03 20:30:13 +02001571## Release 5.0.0-pre.20210826.1 (2021-09-03)
1572
1573```
1574Baseline: f53c389dbd4b0ae66307e9bd4a72b36b3d284ec3
1575```
1576
1577Incompatible changes:
1578
1579 - Removing java_common.javac_jar Starlark call.
1580 - native.existing_rule now returns select values in a form that is
1581 accepted by rule instantiation. This is a breaking API change
1582 because there is some code that relies on the precise type
1583 returned, including brittle workarounds for this bug specifically
1584 and insufficiently flexible workarounds for other issues with the
1585 intersection of select and native.existing_rule.
1586 - flipped incompatible_use_toolchain_resolution_for_java_rules, see
1587 #7849
1588 - Query output=xml/proto/location for source files will now show
1589 the location of line 1 of the source file (as the new default)
1590 instead of its location in the BUILD file.
1591 - Specifying a target pattern underneath a directory specified by
1592 .bazelignore will now emit a warning, not an error.
1593 - Query `--order_output=auto` will now sort lexicographically.
1594 However, when `somepath` is used as a top level function (e.g.
1595 `query 'somepath(a, b)'`), it will continue to output in
1596 dependency order. If you do not want the lexicographical output
1597 ordering, specify another `--order_output` value (`no`, `deps` or
1598 `full`) based on what ordering you require.
1599 - In the build event stream,
1600 BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
1601 Its value was always mostly meaningless.
1602 BuildMetrics.TargetMetrics.targets_configured and
1603 BuildMetrics.ActionSummary.actions_created now include configured
1604 aspect data.
1605 - //visibility:legacy_public has been removed.
1606 - Flip and remove incompatible_dont_collect_so_artifacts
1607 (https://github.com/bazelbuild/bazel/issues/13043).
1608 - Remove flag --experimental_no_product_name_out_symlink: it is
1609 always true.
1610 - The Starlark method generate_dsym in objc fragment has
1611 been deleted. Please use the equivalent apple_generate_dsym in
1612 cpp
1613 fragment instead.
1614 - Native libraries in data attribute are not collected. See
1615 https://github.com/bazelbuild/bazel/issues/13550 for details
1616 - Enforce the `--profile` path to be absolute.
1617 - Enforce the --memory_profile path to be absolute.
1618 - JavaToolchainInfo.jvm_opt returns Depset instead of a list.
1619 - --apple_sdk has been deleted. It is a no-op.
1620 - --bep_publish_used_heap_size_post_build is now a no-op and will
1621 be deleted in a future release. Use --memory_profile=/dev/null
1622 instead.
1623 - Flipped --incompatible_disallow_resource_jars (see
1624 https://github.com/bazelbuild/bazel/issues/13221).
1625
1626New features:
1627
1628 - Args.add_all and Args.add_joined can now accept closures in
1629 map_each if explicitly enabled via allow_closure.
1630 - Add `--bes_header` flag to pass extra headers to the BES server.
1631
1632Important changes:
1633
1634 - Flag --incompatible_objc_compile_info_migration is removed. See
1635 #10854.
1636 - Flag --incompatible_objc_compile_info_migration is removed. See
1637 #10854.
1638 - Flag --incompatible_objc_compile_info_migration is removed. See
1639 #10854.
1640 - none
1641 PAIR=cmita
1642 - The --incompatible_load_python_rules_from_bzl flag is now a no-op.
1643 - Filter all (instead of just C++) source files for coverage output
1644 according to --instrumentation_filter and
1645 --instrument_test_targets.
1646 - The `--incompatible_disable_native_apple_binary_rule` flag has
1647 been added which disables the native `apple_binary` rule. Users
1648 who need to use `apple_binary` directly (if they cannot use one
1649 of the more specific Apple rules) should load it from
1650 https://github.com/bazelbuild/rules_apple.
1651 - The Android rules' --use_singlejar_apkbuilder is now a no-op.
1652 SingleJar will always be used to build APKs.
1653 - dict.setdefault(key, ...) now fails if dict is frozen, even if it
1654 already contains key. This is an incompatible API change.
1655 - Flag --incompatible_objc_provider_remove_compile_info is removed.
1656 See #11359.
1657 - Starlark now permits def statements to be nested (closures).
1658 - native.existing_rule now returns select values in a form that is
1659 accepted by rule instantiation. This is a breaking API change,
1660 though the fallout is expected to be small.
1661 - Starlark now supports lambda (anonymous function) expressions.
1662 - The "test" and "coverage" commands no longer return 3 when a
1663 test action fails because of a system error. Instead, the exit
1664 code
1665 reflects the type of system error.
1666 - The undocumented ctx.expand feature no longer exists.
1667 - Make --legacy_dynamic_scheduler a no-op flag.
1668 - Multiplex persistent workers can now use the JSON protocol.
1669 - native.existing_rule now returns a mutable list, not a tuple, for
1670 a list-valued attributes. This is an incompatible API change.
1671 - Roll back change to have native.existing_rules use list instead
1672 of tuple.
1673 - BEP includes test suite expansions.
1674 - config_setting now honors `visibility` attribute (and defaults to
1675 `//visibility:public`)
1676 - Change the MultiArchSplitTransitionProvider to be based on
1677 platform type + CPU instead of fixed "ios_" + cpu.
1678 - enforce config_setting visibility. See
1679 https://github.com/bazelbuild/bazel/issues/12932 for details.
1680 - add a flag to build v4 signature file
1681 - Added _direct_source_jars output group to Java related targets.
1682 END_PUBLIC
1683 - pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
1684 Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
1685 - Allowing the lipo operations to be conditional in the
1686 linkMultiArchBinary API for Apple binaries. Single architecture
1687 slices are now returned through AppleBinaryOutput and the
1688 Starlark API.
1689 - Release restriction for "-" in the package name for Python
1690 sources. Now `py_binary` and `py_test` targets can have main
1691 source file with "-" in the path.
1692 - Users consuming BEP may assume that a `named_set_of_files` event
1693 will
1694 appear before any event referencing that `named_set` by ID. This
1695 allows consumers
1696 to process the files for such events (eg. `TargetCompleted`)
1697 immediately.
1698 - BEP includes all files from successful actions in requested
1699 output groups.
1700 Previously, an output group's files were excluded if any file in
1701 the output group
1702 was not produced due to a failing action. Users can expect BEP
1703 output to be larger
1704 for failed builds.
1705 - In BEP, TargetComplete.output_group has a new field `incomplete`
1706 indicating that the file_sets field is missing one or more
1707 declared artifacts
1708 whose generating actions failed.
1709 - The flag `--toolchain_resolution_debug` now takes a regex
1710 argument, which is used to check which toolchain types should
1711 have debug info printed. You may use `.*` as an argument to keep
1712 the current behavior of debugging every toolchain type.
1713 - Add runfiles.merge_all() for merging a sequence of runfiles
1714 objects.
1715 - runfiles.merge() and merge_all() now respect
1716 --nested_set_depth_limit.
1717 If you hit the depth limit because you were calling merge() in a
1718 loop, use
1719 merge_all() on a sequence of runfiles objects instead.
1720 - Bazel will no longer create a bazel-out symlink if
1721 --symlink_prefix is specified: the directory pointed to via the
1722 bazel-out symlink is accessible via ${symlink_prefix}-out. If
1723 this causes problems for you, set
1724 --experimental_no_product_name_out_symlink=false in your builds
1725 and file an issue.
1726 - Updates worker protocol with cancellation fields, and adds
1727 experimental_worker_cancellation flag to control cancellation.
1728 - Simplify build failure output by always using `NNN arguments`.
1729 - trim_test_configuration now defaults to on
1730 - Mark genrule.srcs as a source attribute for coverage.
1731 - When using --allow_analysis_failures (for example, via
1732 bazel-skylib's
1733 analysistest with `expect_failure = True`), analysis-time
1734 failures in aspect
1735 implementation functions will now be propagated and saved in
1736 AnalysisFailureInfo, just like analysis-time failures in rules.
1737 - cquery --noimplicit_deps now correctly filters out resolved
1738 cc_toolchains
1739 - Sign apks deterministically.
1740 - Make gcov optional in cc_toolchain tools.
1741 - If --experimental_prefer_mutual_xcode is passed, Bazel will
1742 choose the local default (instead of the newest mutually
1743 available version) if it's available both locally and remotely.
1744 - Remove java_lite_proto_library.strict_deps attribute.
1745 - Generate proguard configurations deterministically.
1746 - Adds a new flag, `--incompatible_enable_cc_test_feature` which
1747 switches from the use of build variables to the feature of the
1748 same name.
1749 - Dropped fragile xz support from built in pkg_tar. Users requiring
1750 xz
1751 compression should switch to bazlebuild/rules_pkg.
1752 - If all strategies of one branch (the local or remote execution
1753 branch) of the `dynamic` strategy fail to even accept (via the
1754 response they give from `canExec`) the action, `dynamic` will now
1755 try to see if the other branch can accept it. (Trying to run it
1756 and it failing will still cause a failure if it was the first
1757 result, this is about strategies claiming they can't even try the
1758 action)
1759 - Add `disable_annotation_processing` option to
1760 `java_common.compile`, which disables any annotation processors
1761 passed to `plugins` or in `exported_plugins` of `deps`
1762 - Remove obsolete --incompatible_prohibit_aapt1
1763 - The minimum Android build tools version for the Android rules is
1764 now 30.0.0
1765 - Adds --experimental_reuse_sandbox_directories flag to reuse
1766 already-created non-worker sandboxes with cleanup.
1767 - --experimental_force_gc_after_build is deprecated and will be
1768 removed soon. Use --bep_publish_used_heap_size_post_build instead
1769 - Forward coverage-instrumented files from non-tool dependencies by
1770 default.
1771 - The used_heap_size_post_build field in BEP is populated when the
1772 --memory_profile flag is set
1773 - --run_validations defaults to true.
1774 - Consider label_keyed_string_dict attributes when gathering
1775 instrumented files for coverage.
1776 - Remove flag
1777 --experimental_forward_instrumented_files_info_by_default, now
1778 that this behavior is the default.
1779 - When using MemoryProfiler with multiple GCs via the
1780 --memory_profile_stable_heap_parameters flag, we do a more
1781 precise calculation of heap used at the end of the build. This
1782 will generally result in lower values.
1783 - --bep_publish_used_heap_size_post_build is deprecated. Use
1784 --memory_profile=/dev/null instead.
1785 - Disable --all_incompatible_changes flag.
1786
1787This release contains contributions from many people at Google, as well as Adam Liddell, Alex Eagle, Andrew Katson, Anthony Pratti, Austin Schuh, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Benjamin Peterson, Ben Lee, Brentley Jones, bromano, Cameron Mulhern, Christopher Peterson Sauer, Christopher Sauer, Cristian Hancila, Dan Bamikiya, Daniel McCarney, Daniel Wagner-Hall, Danny Wolf, Dave MacLachlan, Dave Nicponski, David Cummings, David, David Ostrovsky, Delwin9999, Denys Kurylenko, Dmitry Ivankov, dorranh, Ed Schouten, Eitan Adler, Elliotte Rusty Harold, erenon, Eric Cousineau, Ethan Steinberg, Fabian Meumertzheim, FaBrand, Felix Ehrenpfort, Finn Ball, Fredrik Medley, Garrett Holmstrom, Gautam Korlam, George Gensure, goodspark, Greg Estren, Grzegorz Lukasik, Grzegorz Lukasik, Ikko Ashimine, Jesse Chan, Joe Lencioni, Johannes Abt, John Laxson, Jonathan Schear, Justus Tumacder, Keith Smiley, Kevin Hogeland, Lauri Peltonen, Liu Liu, Lszl Csomor, m, Marc Zych, Mark Karpov, Masoud Koleini, Matt Mackay, Max Liu, Menny Even Danan, menny, Michael Chinen, Nathaniel Brough, Nick Korostelev, Niek Peeters, Nikolay Shelukhin, odisseus, Oleh Stolyar, Olek Wojnar, Olle Lundberg, Omar Zuniga, Philipp Schrader, Pras Velagapudi, Qais Patankar, Rai, Ryan Beasley, samhowes, Samuel Giddins, Sebastian Olsson, Steve Siano, steve-the-bayesian, Stiopa Koltsov, susinmotion, tatiana, Thi Doan, ThomasCJY, Timothy Klim, Tobi, Torgil Svensson, Trustin Lee, Ulf Adams, Uri Baghin, Vaidas Pilkauskas, Vertexwahn, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yannic Bonenberger, Yannic, Yury Evtikhov, Yuval Kaplan, Yuval, [zqzzq].
1788
Bazel Release Systeme92e04d2021-08-30 09:37:05 -04001789## Release 4.2.1 (2021-08-30)
Bazel Release System6962b0d2021-08-27 17:50:42 +02001790
1791```
Bazel Release Systeme92e04d2021-08-30 09:37:05 -04001792Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
Bazel Release System6962b0d2021-08-27 17:50:42 +02001793
1794Cherry picks:
1795
Bazel Release Systeme92e04d2021-08-30 09:37:05 -04001796 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
1797 Use getRunfilesPath for run_under executable path generation.
1798 getRootRelativePath doesn't return a valid runfiles path for
1799 external source files anymore after the recent external source
1800 root change. Also, it won't work for external labels either once
1801 the --nolegacy_external_runfiles becomes default. This fixes
1802 issue #12545.
1803 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
1804 Fix NPE when coveragerunner is not set on the toolchain.
1805 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
1806 Fix the classic query package-loading cutoff optimization with
1807 external workspaces.
1808 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
1809 Update turbine
1810 + bef4bbbb47d47befe3711d06f358782ee12554f9:
1811 Update turbine
1812 + d113d7454127bba78aa618dac81e5d164920b662:
1813 Update turbine
1814 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
1815 Support Scala3 .tasty files
1816 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
1817 Update to java_tools javac11 release 10.5 (#12647)
1818 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
1819 Fix common prefix for instrumentation filter
1820 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
1821 Fix builds for filegroup targets with incompatible dependencies
1822 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
1823 Revert "Remove
1824 --incompatible_blacklisted_protos_requires_proto_info"
1825 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
1826 Transform roots along with paths during output deletion.
1827 + e8835c1c221d76a2d5532d18083eaa04401619b3:
1828 AttributeContainer.Large now handles more than 127 attributes.
1829 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
1830 Add an env attribute to all test and binary rule classes
1831 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
1832 Take no action to prefetch empty artifacts.
1833 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
1834 Fix a couple of bugs with Incompatible Target Skipping
1835 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
1836 Pass --host_action_env to host options hostActionEnvironment
1837 attribute
1838 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
1839 Add --{no,}autodetect_server_javabase.
1840 + c83366064621d5a265eba14d93a03deff58fe6d8:
1841 Only treat "env" and "env_inherit" attrs specially for native
1842 rules
1843 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
1844 Fix coverage support when using default_java_toolchain. (#12801)
1845 + 4158a6f512e52516437e00f8d9609a91be7fc195:
1846 Revert JacocoCoverage target to remote_java_tools_java_import
1847 and add a new target for remore_java_tools_filegroup. (#12813)
1848 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
1849 Add windows_msvc back to conditions in bazel_tools.
1850 + 6b33bdb1e22514304c0e35ce8e067f2175685245:
1851 Release 4.0.0 (2021-01-21)
1852 + 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
1853 Fix error message from getPrerequisites to not print internal
1854 details.
1855 + 27e15ad11410eb1014f5247fd0eeb31a46733c07:
1856 Clean up ConfiguredTargetValueAccessor and
1857 ConfiguredTargetAccessor
1858 + e87feb8ac9573cef993824f82370d0389570521d:
1859 Move getConfigConditions into ConfiguredTarget.
1860 + 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
1861 Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
1862 value.
1863 + 079bb7d69931705bb2b092c9017090e224ef3043:
1864 Clean up old dependencies that are unused since
1865 https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
1866 5ef5702880d5ac7c5c.
1867 + e03cb63e059420847d6578d7cbfe93f05615c95e:
1868 Update bazelbuild/platforms to a current release. - Roll forward
1869 https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
1870 7f925cf88e0cd5b76a with kythe fix.
1871 + 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
1872 Update docs and tests to use the @platforms//:incompatible
1873 constraint
1874 + c71697cf33b0fbbb42fc2910bac83960edc7e855:
1875 Clarify test_suite behaviour in the Platforms docs
1876 + dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
1877 Enable toolchain resolution for filegroup targets.
1878 + 24d086446f74606819dc53c3a436caa056ff05b7:
1879 PlatformProviderUtils should ignore targets that don't have the
1880 needed
1881 + ba60c0b3f9bbd00975c984244839b155e84b4c5d:
1882 ijar: fix manifest sections handling
1883 + 58bb42ad7ca263a75c6eeef51482f805726663a5:
1884 Revert "Switch to -fdebug-compilation-dir"
1885 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
1886 Update turbine
1887 + bef4bbbb47d47befe3711d06f358782ee12554f9:
1888 Update turbine
1889 + d113d7454127bba78aa618dac81e5d164920b662:
1890 Update turbine
1891 + ad241fbebd90a9f0ad65ccd0658838f57030db68:
1892 Allow cquery to filter out incompatible targets
1893 + 1782f0ae751569607ef88930c822ac460a1f8bb3:
1894 Patch grpc to fix cares selecting the wrong source when building
1895 for darwin_arm64 cpu.
1896 + 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
1897 [1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
1898 blobs
1899 + 848a51747a460ab4c5185e4c61ab522a9981cbea:
1900 [2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
1901 blobs
1902 + 9b30172547f2093acb56aedf159a77d5dceffda2:
1903 [3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
1904 blobs
1905 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
1906 Allow exec groups to inherit from the rule or other exec groups.
1907 + d0676693310215407224c1b8e8aea9e3eddc183d:
1908 Support execution constraints per exec group
1909 + f1e0d346c8235c855e61afc2adb870e4b895e002:
1910 Clean up RuleContext to use a Table instead of a Map of Maps.
1911 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
1912 Documentation for #13110
1913 + 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
1914 Prevent --repo_env from triggering unnecessary fetches
1915 + 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
1916 Prevent a crash when using --repo_env=VAR without a value
1917 + 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
1918 Report digest of failed uploads
1919 + 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
1920 Status error presentation with details
1921 + 9a70805db543e2fb910e1c55ef3b3567362adf30:
1922 Fix double shutdown of BuildEventArtifactUploader when BES+File
1923 output enabled.
1924 + 325eb956c92530bdfda54a36a186cae4245a4f7b:
1925 Add rxjava3 to third_party
1926 + ceaac966a7b977461b69ce9501df6a467f4a93b2:
1927 remote: set executable bit of an input file based on its real
1928 value
1929 + 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
1930 Remote: correctly implement equals and hashCode.
1931 + 48648503729d53fdee1322fde2c8e6c05e99cff9:
1932 Fixed an error that bazel binary is not executable when testing
1933 with remote execution.
1934 + bc54c648aa1f99509c7c36d5e6b570d066689209:
1935 Remote: Use parameters instead of thread-local storage to
1936 provide tracing metadata.
1937 + 92955e617b5c41713a5163dc0437c2a024b31815:
1938 Remote: Use parameters instead of thread-local storage to
1939 provide tracing metadata. (Part 2)
1940 + 75bd1ff8ab56d241916bde36291301fa026b2bab:
1941 Remote: Use parameters instead of thread-local storage to
1942 provide tracing metadata. (Part 3)
1943 + 37ee252f3744abc4511f55b5089cc52abd3ba09d:
1944 Remote: Use parameters instead of thread-local storage to
1945 provide tracing metadata. (Part 4)
1946 + 71e35b165f924e2649a078fcf6007645d58039af:
1947 Remote: Use parameters instead of thread-local storage to
1948 provide tracing metadata. (Part 5)
1949 + 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
1950 Write/QueryWriteStatus logging refinement/addition
1951 + 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
1952 Remote: gRPC load balancing. (Part 1)
1953 + e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
1954 Remote: gRPC load balancing. (Part 2)
1955 + 6667ad7dd77f8d97952133052c17e7779c1430ec:
1956 Remote: gRPC load balancing. (Part 3)
1957 + 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
1958 Remote: gRPC load balancing. (Part 4)
1959 + 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
1960 Implement getMessage for BulkTransferException
1961 + a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
1962 Remote: gRPC load balancing. (Part 5)
1963 + 7a62c2d4e27e398f440910c81eacc384f38ca8be:
1964 Remote: Add interoperability between Rx and ListenableFuture.
1965 + 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
1966 Update to latest remote-execution proto
1967 + dad96301d12aa77eb67399e08265a5f30f5ffd6a:
1968 Set Platform on Action not just Command
1969 + 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
1970 Remote: Add AsyncTaskCache which is used to deduplicate task
1971 executions and cache the results.
1972 + 9d0c7325ac810febe565a62fdd875ae0c240b274:
1973 Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
1974 + f54fe07209acc25340df8d2e02993b1add2deafa:
1975 Add --experimental_repository_disable_download to allow users
1976 disable download for external repos
1977 + b243584a479eb4481a9bf4f69acc899610a3b630:
1978 Report errors parsing rewriter config file
1979 + 63bc1c7d0853dc187e4b96a490d733fb29f79664:
1980 Downloader rewriter config has all_blocked_message
1981 + 495ac923f398443be45c20ab29d183fe47e08911:
1982 Allow UrlRewriter to change protocol, i.e. https->http, and
1983 http->https
1984 + 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
1985 Allow overriding the hostname and instance name in bytestream://
1986 URIs
1987 + 0881c80d29acecdfbb58c49156f805e8c50db117:
1988 Don't set requestId on non-multiplex requests.
1989 + e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
1990 When generating a symlink in _virtual_includes, add the original
1991 header to the 'allowed to use' set too
1992 + f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
1993 Make SimpleLogHandler not swallow interrupts.
1994 + f8606e5e76579442a1c6563e718ea54c673f1a04:
1995 linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
1996 + dac0d40d0eb903f5cb70341398d1a333c19adf3a:
1997 Improve "Common Attributes" section
1998 + a607d9dc70ac67f1aa2c32ca954177f9c77860be:
1999 Never create more than one process per WorkerMultiplexer.
2000 + 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
2001 Move sending requests and reading responses for multiplex
2002 workers into separate subthreads.
2003 + 003cfcde3fd3901c1279ba1db3db3a14536248b4:
2004 Allow use of JSON protocol in multiplex workers.
2005 + 308bce36cba46095fe41866e703710035ddddada:
2006 Actively kill off still-active workers when stopping work on
2007 interrupt.
2008 + 8959dff512fe4505af786bcf2ef981ec7082a913:
2009 Add sanitizer support to Apple platforms
2010 + 32f16e9360f3e1856db1775eb5014b930da2a303:
2011 Fix a Google-internal broken link.
2012 + c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
2013 Add SHA-1 to subresource integrity format for download()
2014 checksums
2015 + 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
2016 Remove fallback strategy support for workers, add flag for it in
2017 sandbox.
2018 + 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
2019 Update to java_tools javac11 10.6 (#13245)
2020 + 4928295b236ec8f590a7e9d863502bc2f50a77d9:
2021 Allow .S files in C++ Starlark cc_common.compile.
2022 + 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
2023 Automatic code cleanup.
2024 + b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
2025 Change short output of worker type to have the same logic as the
2026 worker creation for sandboxing vs. multiplex.
2027 + e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
2028 More properly destroy workers on interrupt.
2029 + 7056711eb11b672133274eb29fc93b01dcf088d5:
2030 Make WorkRequestHandler do a GC after some amount of CPU time
2031 has been used on requests. For Bazel and Blaze, defaults to 10s
2032 based on benchmarking.
2033 + 596653d3cf76e7b208da343e1fde5fe20273a5ff:
2034 Allow tree artifacts to be source or header inputs to
2035 cc_common.compile()
2036 + 055c93d11ab20cc4479539b24bbdfa5cab78a342:
2037 Switch to path autocompletion after -- for bazel run commands.
2038 + 807f2a1929e23b60b237c63fadb25af81de2e3c3:
2039 Fix Incompatible Target Skipping for test args
2040 + 9a5cd854e0613f91d52075973e2454b1e009e1ef:
2041 Fix order of build request id and command id
2042 + 706f5acd02363e48076dc97e37613fd968932d03:
2043 Fix bazel crash when passing config_setting to
2044 target_compatible_with
2045 + 61da1d2bf10eabba4c75de959b0374f302d89d70:
2046 Support multiple --bazelrc on command line
2047 + 5593358a58b66f06c4e421bb48856de94c3fd625:
2048 Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
2049 to
2050 + 662cf54de7a103db30e04ebae2d2b919437c4846:
2051 Remote: Fix an issue that a failed action could lead to
2052 RuntimeException caused by InterruptedException thrown when
2053 acquiring gRPC connections.
2054 https://github.com/bazelbuild/bazel/issues/13239
2055 + a3a1763212f29932618b9b9b2f929976ae0e3b6e:
2056 Pass more `--add-exports=` flags
2057 + d2b942879471786e82f1c96eea8722bbe7919fc1:
2058 Remote: Fixed a bug that remote cache is missed due to
2059 executable bit is changed
2060 + 616dc264f02907d7b7887285d22307dfe6d097b6:
2061 Fix Bazel Coverage with C++ to work with Remote Execution
2062 + 5f40d12e741aa30d506eaa15673fb2ae76d29468:
2063 Fix external_path_test with newer Xcode versions.
2064 + b416193075642017e13c774422b49cb07fb65c23:
2065 Allow using embedded tools in sandboxed spawn runners.
2066 + eb762d4e7431637e607146b1c191485795047ef9:
2067 Fix racy write of temporary files while staging virtual inputs
2068 for the sandbox.
2069 + f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
2070 Update platforms_test to not rely on filegroup not using
2071 toolchain
2072 + 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
2073 Update SkyframeTests to not rely on filegroup not using toolchain
2074 + 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
2075 Update ConfigurableAttributesTest to not rely on filegroup not
2076 using …
2077 + 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
2078 Make WorkerExecRoot not be a subclass of SandboxedSpawn.
2079 + 31db460a45767de0bcd664a6efbe9d163b85b802:
2080 Make WorkerExecRoot not be re-created on each createFileSystem()
2081 call. Preparation for holding a map of existing links, but also
2082 just nicer.
2083 + a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
2084 Start the file existence check traversal from the execroot base
2085 instead of execroot so that external repo files at
2086 "<execroot>/../<path>" are correctly handled when the sibling
2087 repository layout is enabled.
2088 + b048282c7893231d3a7191b251804973917b07a4:
2089 Use readdir for cleanExisting in WorkerExecRoot.
2090 + 270f00dd01fa06cf3e813da5a406be3446de7377:
2091 Add native support for Apple Silicon
2092 + 8e56b9423e8ad2f7323fb90b19b73858def81e39:
2093 Explicitly state that embedding macOS OpenJDK is for x86_64
2094 + 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
2095 Remote: Fix a race that AsyncTaskCache#Execution could be reused
2096 after disposed which results in
2097 CancellationException("disposed") propagated to downstream.
2098 + 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
2099 Remove wrapped_clang params files after use
2100 + 47edc57806056f3c8764241ed41b8acc72bd2ebf:
2101 Silence swiftmodule timestamp warnings
2102 + f6e1074b09ebefba185c0531e9cea26b9596c8a9:
2103 Remote: Use shutdownNow() instead of shutdown() in
2104 ChannelConnection#close() as a workaround to a gRPC bug.
2105 + 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
2106 And mnemonic and label to remote metadata
2107 + 615e1b16a81b0defc15699ec8027d6ddd70366d1:
2108 Change `set -x` in coverage to be set by var
2109 + fe4daea99c8cd163793eca84bfb12c8fc437616b:
2110 Bump minimal JDK install base maximum size from 290 to 295 MB.
2111 + 4840a68cd273a429e46d4114a3973fd11d0e3583:
2112 Remote: Check the return value of ActionOwner.getLabel() since
2113 it could be `null`.
2114 + 14abe4fd7c3967686a3536939fdc3882e691bca2:
2115 Allow `DiffAwareness` to share precomputed information about the
2116 workspace and propagate it to the `WorkspaceStatusAction`.
2117 + 082d98772690946ed29c157e60640c97a6e1195b:
2118 Implement available() method for Windows subprocesses.
2119 + c2bdd034014f66ce14529cc353cda18a32320f6c:
2120 Move --repo_env to common options
2121 + e09f2743738044095b9d784ea62df16b7f5750e6:
2122 Revert "Documentation for #13110"
2123 + a165baa250652fdc865ae0df39160be1f7f74c47:
2124 Revert "Clean up RuleContext to use a Table instead of a Map of
2125 Maps."
2126 + 51fb9e13a864f4f704ae378ea632433bae7ddc31:
2127 Revert "Support execution constraints per exec group"
2128 + cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
2129 Revert "Allow exec groups to inherit from the rule or other exec
2130 groups."
2131 + 2ac6581aeaab33ba506fce96dfa6a75eaa819233:
2132 Release 4.1.0 (2021-05-21)
2133 + 7a0f36e3f0a21fed8857efbaa51ded2dbdeefab6:
2134 Change gceMachineType of highcpu platform from n1-highcpu-32 to
2135 e2-highcpu-32
2136 + 19491a91143f0c6132aca62c5ae40ab72e9dc0e2:
2137 Fix #10127: Remove Python 2 dependency from tools/android.
2138 + 80c59dea59d4dce39d4b5d21665c3d7313197358:
2139 fix main repo starlark options parsing - now flags passed on the
2140 command line as --@main_workspace//flag and --//flag will both
2141 parse to --//flag. Before this CL, the former maintained its
2142 workspace prefix and we would get different entries for these
2143 two formats.
2144 + 451b296c3aceb127ebb4a313b6e9608854fa68fa:
2145 Update threshold for long path shortening to be MAX_PATH - 4
2146 + 671e0489a5bd6d5abb4dcd9bcfc85134cee38385:
2147 Force source files to be readable before copying them from
2148 sandbox.
2149 + 6080c1e07f4229ea72eacd04faa9302e44955a84:
2150 Let workers finish lost races without delaying dynamic execution.
2151 + ee738dacb5d0089d3f57b15305057cb9ba675e74:
2152 Fix label_flag and label_setting to not have a dependency on the
2153 default
2154 + 74de0ba4e79341c77b8b85ff4485f92287b6854c:
2155 Java coverage: fix handling of external files
2156 + 48eee8b4b447a2ad11df28dd81a2ccb65562b5f5:
2157 [Bazel] Fix mobile-install for python2
2158 + 763dd0ce6e1644bf895231432f616427a11d385a:
2159 Add `stub_shebang` to `py_runtime`
2160 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
2161 Move use of legacy sandbox -> local fallback to only be used
2162 after all strategies have been tried, and improve messages
2163 around it.
2164 + 6dc941e58dfc1d4a9714a76b921fbe11fce658ed:
2165 Remove restriction on generate_pdb_file to be only used in dbg
2166 and fastbuild mode
2167 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
2168 Check the result of Future.cancel() when cancelling the other
2169 branch of dynamic execution.
2170 + aaae8ce2881c8c1a5d4ad64f20d6e71aa372cf2e:
2171 Update DEFAULT_MACOS_CPU to match host
2172 + 2f0927a4fd9342f4dcfd43475d3f1c90c523584f:
2173 Fix symlink creation on older Windows versions
2174 + fd9cffdcaf05551126e66f1cd62815eaa1af6bd9:
2175 Suppress interrupted status during pool closure
2176 + 33903d28bcea0005adf9b2a8cc4659c5e2999bbe:
2177 Fix Windows developer mode symlinks
2178 + 0cd1666721bdbe988dc361c085bb43cbd41a27f3:
2179 Respect Starlark options with values in `removeStarlarkOptions()`
2180 + 7920ffef472b25db3f4e564e5a3a28a4664c666e:
2181 cquery inherits from `test` not `build`
2182 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
2183 Allow exec groups to inherit from the rule or other exec groups.
2184 + d0676693310215407224c1b8e8aea9e3eddc183d:
2185 Support execution constraints per exec group
2186 + f1e0d346c8235c855e61afc2adb870e4b895e002:
2187 Clean up RuleContext to use a Table instead of a Map of Maps.
2188 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
2189 Documentation for #13110
2190 + e376580ae4e9ad5bddc196bfb6ad3127e3ff561b:
2191 Split ExecGroup into a new target.
2192 + 0cbb8a863522d2f77ab6b67a01e39b19a9a81807:
2193 Create a new interface to allow Starlark objects to get a thread
2194 when getIndex is called.
2195 + d2e21cec31f09b27ef3589f47b0779f34077ca7e:
2196 Renamed ExecGroupCollection to clarify that it is only for
2197 Starlark usage.
2198 + b9519f92f8ce096107164ca5075feced0e989de7:
2199 Make StarlarkExecGroupContext use AutoValue.
2200 + 52b1b748b2368820bac2ca94323fb82c39c00e51:
2201 Use a dummy toolchain context for rules that don't have one.
2202 + 41877d0fefe3f021f3ff6d4ce398d0deb27157e6:
2203 Extract a separate StarlarkToolchainContext for starlark-only
2204 operations.
2205 + b120d4febc571f17e12501ad87fbff32ef94e9bb:
2206 Fix toolchains to support type lookup.
2207 + dc140d0b6119950dd4a7d71b125b15a78bacc8ce:
2208 Move DEFAULT_EXEC_GROUP_NAME from ToolchainCollection to
2209 ExecGroup.
2210 + 9b18d951a52819f1998ddfdc1739fa1b5bf0353d:
2211 Rename ToolchainCollection.getExecGroups to getExecGroupNames.
2212 + 10d4473bf476a587e3d9f9b2214581ec420c1919:
2213 BuildViewForTesting should directly call into
2214 ConfiguredTargetFunction.
2215 + 58a6fb1f8739e39125cc8c647f28cff2e79fe9aa:
2216 Move exec group tests out of platforms_test and into integration.
2217 + 7d5493d922761c3ce0037f0025912cc532c55ad7:
2218 Update creating exec groups that explicitly copy from defaults.
2219 + 8c6382a81237e72dbec24b3850df9481461e0015:
2220 Create a new ExecGroupCollection container to manage exec group
2221 inheritance and exec property parsing.
2222 + b4b0c321910bc968736ef48e8140528ea7d323cd:
2223 Fix unix toolchain for macos arm64 platform
2224 + f64f071f44394a33a1be40cb7642e2c881d1e9bb:
2225 Add `required_providers` attribute to Starlark defined aspects.
2226 + f2cbdcf67ac1990f05a8241ba8dae65795edac82:
2227 Don't ever claim /dev/null is an execpath.
2228 + ceec93c35ead1bd487e96a5fee46e8d080f88858:
2229 Don't ever claim /dev/null is an execpath.
2230 + 1f3f9f4c4b2eded90518aacd1b0b80c1b0dfd1c5:
2231 Use the parent directory of the exec root as the input root on
2232 RBE.
2233 + 4efeac9cb5f85325ed73f64e133a078c483cac01:
2234 Make the Merkle tree computation work in the wake of
2235 https://github.com/bazelbuild/bazel/commit/7149f578006a4ad0d51df6
2236 9830a6986749b34df5 .
2237 + b56a2aa709dcb681cfc3faa148a702015ec631d5:
2238 Remote: Use execRoot as input root and do NOT set working
2239 directory by default.
2240 + ae53991f2e207edacd1352ba94261e2473b79f14:
2241 Remote: Add RemoteExecutionService as a layer between spawn
2242 execution and remote execution.
2243 + 0c07c2e6571dd4806552213b2237ecb7a908afa4:
2244 Remote: Add remoteCacheable key to execution log
2245 + 5e617d83f3aab1fd36b07be4b58aba58604cc46e:
2246 Remote: Register "remote" strategy even if remote execution is
2247 not available.
2248 + 4ca8946a8e1c4c2fd48d8fb8ce38adb8b282fef0:
2249 Remote: Add --experimental_capture_corrupted_outputs flag.
2250 + 97d7b4c277814d73b50450b03f4bb160ce7e99b4:
2251 Remote: Report checking cache status before the action is
2252 scheduled to run remotely.
2253 + ba5b2a7c9448a3681a0d86d80670447e338a06dc:
2254 when writing to local disk cache, open files later in order to
2255 avoid "too many open files"
2256 + 3551898849a93306ad9b4dfdd7d4667913098efe:
2257 Propagate test envs to xml generation action
2258 + 9f8c678d7054548865f56f3464f778c751657074:
2259 Remote: Fix a bug that the XML generation is executed even if
2260 test.xml is generated when build with --remote_download_minimal.
2261 + af42653e6f6bd229142f4678bb256a8c397b4d8d:
2262 Automatic code cleanup.
2263 + 07a84ce31d9b09853c63c7e373418696dd285dc5:
2264 Remote: Another attempt to fix the CancellationException error
2265 in AsyncTaskCache caused by a race condition.
2266 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
2267 Remote: Display download progress when actions are downloading
2268 outputs from remote cache.
2269 + 18c82168433719b400a705a4a0222969a7a026ba:
2270 Remote: Do not upload empty output to remote cache.
2271 + 6a138a60e562beeef36003c4814a6b8ce9f253f6:
2272 Fix compiling errors
2273 + bcce6dd026e90336e80616a8c1004a79a2f8640c:
2274 Add the TEMP_FAILURE_RETRY macro to linux-sandbox-pid1.cc.
2275 + c8c0d94a49e1b865d95c6d245c2d152c7c7c9722:
2276 Export proguard specs from aar_import
2277 + 1a0285c3b64b121268ced3eb9ad9d5ba396b4905:
2278 Fix stripping of macOS loadable bundles
2279 + 0d3c231f5a08861d28e987703e9196890e6164bf:
2280 Roll forward config_setting visibility enforcement behind a flag.
2281 + bb7a01027242390da1c18fbf87c274cc34c11b79:
2282 Fix merge conflicts.
2283 + 8b8e77ea226aaa12e79580422bc5984e80ce048b:
2284 Remove redundant declaration.
2285 + 7c92cfcf9a88933c29334f6271ad3f086f7f36f4:
2286 Ignore empty virtual artifacts when spawn-logging inputs.
2287 + 4158b61211e099db780565d064a1c1a80c91bd2a:
2288 Use correct exit code on invalid aquery --output
2289 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
2290 Remote: Fix a race when reporting action progresses.
2291 + 0e652737988e3c115e98e1552f6fada52bc2b9a2:
2292 Change MIN_BUILD_TOOLS_REVISION to 30.0.0
2293 + 6f9909c04b1e00faa510b38ccabac78821046cf9:
2294 Update Android remote tools to ensure Bazel uses the latest
2295 Android tooling that has been updated to support AndroidX
2296 databinding generation.
2297 + 31d88c629dff2c5f8e8a4baf8c89fd3349c9783e:
2298 Automated rollback of commit
2299 9a1d428e33bfae1ec5b68250d4732b72346b8b39.
2300 + 951a3023fbcdbe025e350590e6fa86097da3fe05:
2301 Increase allowed size of the install_base.
2302 + a7845f65befbeb65a28ec53e62458211a7bc3f8e:
2303 Increase allowed size for install base again.
2304 + affc27f9d18f9781437e91a3f36c73962a56f261:
2305 Bump version of java allocation instrumenter.
2306 + 7efabba19cf6400bf9e707f53b40a6dd7110fafb:
2307 Reference the correct version of the java allocation
2308 instrumenter.
2309 + 9055c67b17abf5fed487ae44d0e22f1c6ea1e50c:
2310 Support extracting aar files.
2311 + 861c3caa85e47da35a8a4f1512e57d43b9263c37:
2312 Revert "Remote: Fix a race when reporting action progresses."
2313 + 92ec798ddc1f38fb4868af08c1d818639283f501:
2314 Revert "Remote: Display download progress when actions are
2315 downloading outputs from remote cache."
2316 + ce091abb290d1d753f480cdee0e69748eb20db52:
2317 Revert "Fix compiling errors"
2318 + 1b19cd310418b850e8e0ca2086ffe50755c9ed7e:
2319 Revert "Remote: Fix a bug that the XML generation is executed
2320 even if test.xml is generated when build with
2321 --remote_download_minimal."
2322 + 988b56f5916e024d10695797a7f963b30fc998c7:
2323 Revert "Remote: Report checking cache status before the action
2324 is scheduled to run remotely."
2325 + 35c98d07b21785efae57a7c4230cc1e452f74fd2:
2326 Revert "Let workers finish lost races without delaying dynamic
2327 execution."
2328 + c4e22b9ace07f5d360c5327a38f9ae4ab24b7109:
2329 Migrate ExampleWorker to use WorkRequestHandler.
2330 + 230be161176bd6f1251077af7674f80d38ff1e25:
2331 Do not interleave readdir() calls with deletion of directory
2332 entries.
2333 + 3cc8ce6ba0934b1a4d9db184daf055c1207ef105:
2334 Propagate OOME if NewByteArray allocation failed
2335 + 19fc15ebbf6c63fcce90a038e91c5ec726852848:
2336 Create helper method for sandbox tests, transform existing tests
2337 into using it.
2338 + deb1006c0778692f7eaef4cbcf7eeb8112b55e91:
2339 Cleanup: Replace NULL with nullptr
2340 + f4b5e0233341977aaa76593ca032d9ac4eba7444:
2341 Let workers finish lost races without delaying dynamic execution.
2342 + 186decab01ee247c7453baf19dac778545ec4937:
2343 Interface and flag specification for worker cancellation.
2344 + 5894a8544d51c99f1356130b8b487bc93299fedd:
2345 Create BUILD file in worker tests directory instead of running
2346 tests from the parent directory.
2347 + e9e6978809b0214e336fee05047d5befe4f4e0c3:
2348 Server-side implementation of worker cancellation.
2349 + 5103662238f2df2038c7dff079e9c655e08ba654:
2350 Add builder for WorkRequestHandler.
2351 + 1a519bb66c3fa3e4ef3b9a9a556597920751fbcd:
2352 Makes singleplex requests be handled in separate threads in
2353 WorkRequestHandler.
2354 + 779d66019210f54e10a1343ee004df72a8dec812:
2355 Only allow worker async finishing when sandboxed.
2356 + a698bef6146a807fd82ee4402d89c23c83802e33:
2357 Support for cancellation in WorkRequestHandler.
2358 + 9dc95af4c7ef10979f21173260f5433006116096:
2359 Make workers restart on flags that affect their
2360 creation/behaviour.
2361 + 7e5cd529e9f8c9cb67900af36182f00ef7316654:
2362 Remote: Report checking cache status before the action is
2363 scheduled to run remotely.
2364 + 6e134a1b68418fba9992692901efa77a80c346f7:
2365 Remote: Fix a bug that the XML generation is executed even if
2366 test.xml is generated when build with --remote_download_minimal.
2367 + d4d071401acadb0d8977850a9439474e60fd7bb9:
2368 Fix compiling errors
2369 + 2579c9a18360955699d028426b45d381ff53783c:
2370 Eagerly initialize JNI copies of Java classes: doing lazy
2371 initialization on a per-method basis doesn't save anything and
2372 adds a tiny bit of overhead to every one of these calls.
2373 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
2374 Remote: Display download progress when actions are downloading
2375 outputs from remote cache.
2376 + 3835d9b21ad524d06873dfbf465ffd2dfb635ba8:
2377 Update the WorkRequestHandler to use callbacks of type:
2378 BiFunction<WorkRequest, PrintWriter, Integer>: - Mark
2379 constructors that use BiFunction<List<String>, PrintWriter,
2380 Integer> callback as deprecated. - Use a wrapper class for the
2381 BiFunction<WorkRequest, PrintWriter, Integer>. Suggesting this
2382 to avoid having two constructors that takes a BiFunction, as it
2383 creates a confusion between the deprecated and new constructor
2384 when given a lambda expressions.
2385 + 5e352afe2b35487ea2ced85ca79bd9f79858e648:
2386 Fix bug in WorkRequestHandler's handling of singleplex requests
2387 that would cause occasional hangs.
2388 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
2389 Remote: Fix a race when reporting action progresses.
2390 + c9d823e42796962eed039b8122528c2a1541190f:
2391 Disable flaky test.
2392 + e6809c90ecc0ef5783faa39e63188fc33a79b80e:
2393 Revert "Check the result of Future.cancel() when cancelling the
2394 other branch of dynamic execution."
2395 + be4cbc7a67196414e3d3f323be8ab55fb5e530f7:
2396 Revert "Move use of legacy sandbox -> local fallback to only be
2397 used after all strategies have been tried, and improve messages
2398 around it."
2399 + b32349f50ff3d958613aef9275751ad9d50d344c:
2400 Set a fallback dynamic local strategy even when the
2401 dynamic_local_strategy flag is passed.
2402 + f395157c95692565bc220c7ccf788974fe0885fd:
2403 Allow running an extra spawn for local branch of dynamic
2404 execution.
2405 + 039461c76113ab3f165132dd26d0c58eb3e45cae:
2406 Adding debugging information for case when two branches
2407 apparently cancel each other.
2408 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
2409 Move use of legacy sandbox -> local fallback to only be used
2410 after all strategies have been tried, and improve messages
2411 around it.
2412 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
2413 Check the result of Future.cancel() when cancelling the other
2414 branch of dynamic execution.
2415 + 1962a59a5478f5ad374700b0abf0a718b1b3a7d3:
2416 Fix the case where if all strategies for one branch of `dynamic`
2417 execution fail to accept (that is, refuse to even take) the
2418 action given, the whole action fails. Instead of seeing whether
2419 the other branch can run and the action that that it succeeded.
2420 + b7c1ad2aff91105659299723a712b72eea943040:
2421 Fix rare crash in dynamic execution where both branches got
2422 cancelled.
2423 + 2c3cff5422b115d7bb86ed28a056f3d368ebceeb:
2424 Check if `treeDeleter` is actually async before casting it.
2425 Fixes #13240.
2426 + 1a89ce1757e75f8ba9bda76d7373a7e8527bcfc5:
2427 Make worker JSON protocol properly ignore unknown fields.
2428 + 4b12fc80abf4152815f09e473a972e52a1fe8b51:
2429 Fix test_source_file_does_not_override_standard_library to work
2430 with Python 3.9.
2431 + f4e10367df2d881f05e3ddd5bd0531b390a845fe:
2432 Removing line ending matches in tests to be compatible on Windows
2433 + ba74df07ced96226d78851e11d1df03147f1cc1f:
2434 Refactors CompilationSupport for objc to use existing API
2435 + a04cb1bfad4734f801c48bae3070a799067bda4e:
2436 Release 4.2.0 (2021-08-18)
2437 + ba8678077024e1b4e5d7419c758a97e8dc9fceea:
2438 Revert "fix main repo starlark options parsing.
2439 + 9f67cdf3d51c05bc2209786aa24b72658b61362c:
2440 cquery: disable `--build_tests_only`.
Bazel Release System6962b0d2021-08-27 17:50:42 +02002441```
2442
Bazel Release System6962b0d2021-08-27 17:50:42 +02002443Important changes:
2444
Bazel Release Systeme92e04d2021-08-30 09:37:05 -04002445 - Multiplex persistent workers can now use the JSON protocol.
2446 - enforce config_setting visibility. See
2447 https://github.com/bazelbuild/bazel/issues/12932 for details.
2448 - The minimum Android build tools version for the Android rules is
2449 now 30.0.0
2450 - Updates worker protocol with cancellation fields, and adds
2451 experimental_worker_cancellation flag to control cancellation.
2452 - If all strategies of one branch (the local or remote execution
2453 branch) of the `dynamic` strategy fail to even accept (via the
2454 response they give from `canExec`) the action, `dynamic` will now
2455 try to see if the other branch can accept it. (Trying to run it
2456 and it failing will still cause a failure if it was the first
2457 result, this is about strategies claiming they can't even try the
2458 action)
Bazel Release System6962b0d2021-08-27 17:50:42 +02002459
Bazel Release Systeme92e04d2021-08-30 09:37:05 -04002460This release contains contributions from many people at Google, as well as Alex Eagle, Austin Schuh, Benjamin Peterson, bromano, Christopher Peterson Sauer, Christopher Sauer, Cristian Hancila, Daniel Wagner-Hall, Denys Kurylenko, Ed Schouten, Finn Ball, George Gensure, Greg Estren, Johannes Abt, Keith Smiley, Kevin Hogeland, Lauri Peltonen, Philipp Schrader, Ryan Beasley, Thi Doan, ThomasCJY, Timothy Klim, Trustin Lee, Ulf Adams, Vaidas Pilkauskas, Vertexwahn, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yuval Kaplan, Yuval.
Bazel Release System2f2a4372021-08-25 13:07:14 +02002461
Bazel Release Systemb3feb612021-08-19 15:32:21 +02002462## Release 5.0.0-pre.20210810.4 (2021-08-19)
2463
2464```
2465Baseline: ead44955c5cf02d94152f2cf3462c40ee6659594
2466
2467Cherry picks:
2468
2469 + 99a85e79a11cef98d0e08db21ab94833398381af:
2470 Automated rollback of commit
2471 92f7b58672baffe5a230f675d7197c2a10892284.
2472 + 16523615ba04c2697f436ca02d957809e6fe8dbf:
2473 Fix a race condition in scheduling code in
2474 `FileSystemValueCheckerInferringAncestors`.
2475 + ed251187b078c4262bbbc1da72015ce12f9964f4:
2476 Add incompatible flag to guard top-level aspects dependencies
2477```
2478
2479Incompatible changes:
2480
2481 - Removing java_common.javac_jar Starlark call.
2482 - native.existing_rule now returns select values in a form that is
2483 accepted by rule instantiation. This is a breaking API change
2484 because there is some code that relies on the precise type
2485 returned, including brittle workarounds for this bug specifically
2486 and insufficiently flexible workarounds for other issues with the
2487 intersection of select and native.existing_rule.
2488 - flipped incompatible_use_toolchain_resolution_for_java_rules, see
2489 #7849
2490 - Query output=xml/proto/location for source files will now show
2491 the location of line 1 of the source file (as the new default)
2492 instead of its location in the BUILD file.
2493 - Specifying a target pattern underneath a directory specified by
2494 .bazelignore will now emit a warning, not an error.
2495 - Query `--order_output=auto` will now sort lexicographically.
2496 However, when `somepath` is used as a top level function (e.g.
2497 `query 'somepath(a, b)'`), it will continue to output in
2498 dependency order. If you do not want the lexicographical output
2499 ordering, specify another `--order_output` value (`no`, `deps` or
2500 `full`) based on what ordering you require.
2501 - In the build event stream,
2502 BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
2503 Its value was always mostly meaningless.
2504 BuildMetrics.TargetMetrics.targets_configured and
2505 BuildMetrics.ActionSummary.actions_created now include configured
2506 aspect data.
2507 - //visibility:legacy_public has been removed.
2508 - Flip and remove incompatible_dont_collect_so_artifacts
2509 (https://github.com/bazelbuild/bazel/issues/13043).
2510 - Remove flag --experimental_no_product_name_out_symlink: it is
2511 always true.
2512 - The Starlark method generate_dsym in objc fragment has
2513 been deleted. Please use the equivalent apple_generate_dsym in
2514 cpp
2515 fragment instead.
2516 - Native libraries in data attribute are not collected. See
2517 https://github.com/bazelbuild/bazel/issues/13550 for details
2518 - Enforce the `--profile` path to be absolute.
2519 - Enforce the --memory_profile path to be absolute.
2520 - JavaToolchainInfo.jvm_opt returns Depset instead of a list.
2521 - --apple_sdk has been deleted. It is a no-op.
2522
2523Important changes:
2524
2525 - Flag --incompatible_objc_compile_info_migration is removed. See
2526 #10854.
2527 - Flag --incompatible_objc_compile_info_migration is removed. See
2528 #10854.
2529 - Flag --incompatible_objc_compile_info_migration is removed. See
2530 #10854.
2531 - none
2532 PAIR=cmita
2533 - The --incompatible_load_python_rules_from_bzl flag is now a no-op.
2534 - Filter all (instead of just C++) source files for coverage output
2535 according to --instrumentation_filter and
2536 --instrument_test_targets.
2537 - The `--incompatible_disable_native_apple_binary_rule` flag has
2538 been added which disables the native `apple_binary` rule. Users
2539 who need to use `apple_binary` directly (if they cannot use one
2540 of the more specific Apple rules) should load it from
2541 https://github.com/bazelbuild/rules_apple.
2542 - The Android rules' --use_singlejar_apkbuilder is now a no-op.
2543 SingleJar will always be used to build APKs.
2544 - dict.setdefault(key, ...) now fails if dict is frozen, even if it
2545 already contains key. This is an incompatible API change.
2546 - Flag --incompatible_objc_provider_remove_compile_info is removed.
2547 See #11359.
2548 - Starlark now permits def statements to be nested (closures).
2549 - native.existing_rule now returns select values in a form that is
2550 accepted by rule instantiation. This is a breaking API change,
2551 though the fallout is expected to be small.
2552 - Starlark now supports lambda (anonymous function) expressions.
2553 - The "test" and "coverage" commands no longer return 3 when a
2554 test action fails because of a system error. Instead, the exit
2555 code
2556 reflects the type of system error.
2557 - The undocumented ctx.expand feature no longer exists.
2558 - Make --legacy_dynamic_scheduler a no-op flag.
2559 - Multiplex persistent workers can now use the JSON protocol.
2560 - native.existing_rule now returns a mutable list, not a tuple, for
2561 a list-valued attributes. This is an incompatible API change.
2562 - Roll back change to have native.existing_rules use list instead
2563 of tuple.
2564 - BEP includes test suite expansions.
2565 - config_setting now honors `visibility` attribute (and defaults to
2566 `//visibility:public`)
2567 - Change the MultiArchSplitTransitionProvider to be based on
2568 platform type + CPU instead of fixed "ios_" + cpu.
2569 - enforce config_setting visibility. See
2570 https://github.com/bazelbuild/bazel/issues/12932 for details.
2571 - add a flag to build v4 signature file
2572 - Added _direct_source_jars output group to Java related targets.
2573 END_PUBLIC
2574 - pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
2575 Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
2576 - Allowing the lipo operations to be conditional in the
2577 linkMultiArchBinary API for Apple binaries. Single architecture
2578 slices are now returned through AppleBinaryOutput and the
2579 Starlark API.
2580 - Release restriction for "-" in the package name for Python
2581 sources. Now `py_binary` and `py_test` targets can have main
2582 source file with "-" in the path.
2583 - Users consuming BEP may assume that a `named_set_of_files` event
2584 will
2585 appear before any event referencing that `named_set` by ID. This
2586 allows consumers
2587 to process the files for such events (eg. `TargetCompleted`)
2588 immediately.
2589 - BEP includes all files from successful actions in requested
2590 output groups.
2591 Previously, an output group's files were excluded if any file in
2592 the output group
2593 was not produced due to a failing action. Users can expect BEP
2594 output to be larger
2595 for failed builds.
2596 - In BEP, TargetComplete.output_group has a new field `incomplete`
2597 indicating that the file_sets field is missing one or more
2598 declared artifacts
2599 whose generating actions failed.
2600 - The flag `--toolchain_resolution_debug` now takes a regex
2601 argument, which is used to check which toolchain types should
2602 have debug info printed. You may use `.*` as an argument to keep
2603 the current behavior of debugging every toolchain type.
2604 - Add runfiles.merge_all() for merging a sequence of runfiles
2605 objects.
2606 - runfiles.merge() and merge_all() now respect
2607 --nested_set_depth_limit.
2608 If you hit the depth limit because you were calling merge() in a
2609 loop, use
2610 merge_all() on a sequence of runfiles objects instead.
2611 - Bazel will no longer create a bazel-out symlink if
2612 --symlink_prefix is specified: the directory pointed to via the
2613 bazel-out symlink is accessible via ${symlink_prefix}-out. If
2614 this causes problems for you, set
2615 --experimental_no_product_name_out_symlink=false in your builds
2616 and file an issue.
2617 - Updates worker protocol with cancellation fields, and adds
2618 experimental_worker_cancellation flag to control cancellation.
2619 - Simplify build failure output by always using `NNN arguments`.
2620 - trim_test_configuration now defaults to on
2621 - Mark genrule.srcs as a source attribute for coverage.
2622 - When using --allow_analysis_failures (for example, via
2623 bazel-skylib's
2624 analysistest with `expect_failure = True`), analysis-time
2625 failures in aspect
2626 implementation functions will now be propagated and saved in
2627 AnalysisFailureInfo, just like analysis-time failures in rules.
2628 - cquery --noimplicit_deps now correctly filters out resolved
2629 cc_toolchains
2630 - Sign apks deterministically.
2631 - Make gcov optional in cc_toolchain tools.
2632 - If --experimental_prefer_mutual_xcode is passed, Bazel will
2633 choose the local default (instead of the newest mutually
2634 available version) if it's available both locally and remotely.
2635 - Remove java_lite_proto_library.strict_deps attribute.
2636 - Generate proguard configurations deterministically.
2637 - Adds a new flag, `--incompatible_enable_cc_test_feature` which
2638 switches from the use of build variables to the feature of the
2639 same name.
2640 - Dropped fragile xz support from built in pkg_tar. Users requiring
2641 xz
2642 compression should switch to bazlebuild/rules_pkg.
2643 - If all strategies of one branch (the local or remote execution
2644 branch) of the `dynamic` strategy fail to even accept (via the
2645 response they give from `canExec`) the action, `dynamic` will now
2646 try to see if the other branch can accept it. (Trying to run it
2647 and it failing will still cause a failure if it was the first
2648 result, this is about strategies claiming they can't even try the
2649 action)
2650 - Add `disable_annotation_processing` option to
2651 `java_common.compile`, which disables any annotation processors
2652 passed to `plugins` or in `exported_plugins` of `deps`
2653 - Remove obsolete --incompatible_prohibit_aapt1
2654 - The minimum Android build tools version for the Android rules is
2655 now 30.0.0
2656 - Adds --experimental_reuse_sandbox_directories flag to reuse
2657 already-created non-worker sandboxes with cleanup.
2658 - --experimental_force_gc_after_build is deprecated and will be
2659 removed soon. Use --bep_publish_used_heap_size_post_build instead
2660 - Forward coverage-instrumented files from non-tool dependencies by
2661 default.
2662 - The used_heap_size_post_build field in BEP is populated when the
2663 --memory_profile flag is set
2664 - --run_validations defaults to true.
2665 - Consider label_keyed_string_dict attributes when gathering
2666 instrumented files for coverage.
2667 - Remove flag
2668 --experimental_forward_instrumented_files_info_by_default, now
2669 that this behavior is the default.
2670 - When using MemoryProfiler with multiple GCs via the
2671 --memory_profile_stable_heap_parameters flag, we do a more
2672 precise calculation of heap used at the end of the build. This
2673 will generally result in lower values.
2674 - --bep_publish_used_heap_size_post_build is deprecated. Use
2675 --memory_profile=/dev/null instead.
2676
2677This release contains contributions from many people at Google, as well as Adam Liddell, Alex Eagle, Andrew Katson, Anthony Pratti, Austin Schuh, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Benjamin Peterson, bromano, Cameron Mulhern, Christopher Peterson Sauer, Christopher Sauer, Cristian Hancila, Dan Bamikiya, Daniel McCarney, Daniel Wagner-Hall, Danny Wolf, Dave MacLachlan, Dave Nicponski, David Cummings, David, David Ostrovsky, Delwin9999, Denys Kurylenko, Dmitry Ivankov, dorranh, Ed Schouten, Eitan Adler, Elliotte Rusty Harold, erenon, Eric Cousineau, Ethan Steinberg, FaBrand, Felix Ehrenpfort, Finn Ball, Fredrik Medley, Garrett Holmstrom, Gautam Korlam, George Gensure, goodspark, Greg Estren, Grzegorz Lukasik, Jesse Chan, Joe Lencioni, Johannes Abt, John Laxson, Jonathan Schear, Justus Tumacder, Keith Smiley, Kevin Hogeland, Lauri Peltonen, Liu Liu, Lszl Csomor, m, Marc Zych, Mark Karpov, Masoud Koleini, Matt Mackay, Max Liu, Menny Even Danan, menny, Michael Chinen, Nathaniel Brough, Nick Korostelev, Niek Peeters, Nikolay Shelukhin, odisseus, Oleh Stolyar, Olek Wojnar, Olle Lundberg, Philipp Schrader, Pras Velagapudi, Qais Patankar, Rai, Ryan Beasley, samhowes, Samuel Giddins, Sebastian Olsson, Steve Siano, steve-the-bayesian, Stiopa Koltsov, susinmotion, tatiana, Thi Doan, ThomasCJY, Timothy Klim, Tobi, Torgil Svensson, Trustin Lee, Ulf Adams, Uri Baghin, Vaidas Pilkauskas, Vertexwahn, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yannic Bonenberger, Yannic, Yury Evtikhov, Yuval Kaplan, Yuval, [zqzzq].
2678
Bazel Release System497a8482021-08-18 08:44:59 -04002679## Release 4.2.0 (2021-08-18)
Bazel Release System9ec8fb12021-08-13 14:57:53 +02002680
2681```
Bazel Release System497a8482021-08-18 08:44:59 -04002682Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
Bazel Release System9ec8fb12021-08-13 14:57:53 +02002683
2684Cherry picks:
2685
Bazel Release System497a8482021-08-18 08:44:59 -04002686 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
2687 Use getRunfilesPath for run_under executable path generation.
2688 getRootRelativePath doesn't return a valid runfiles path for
2689 external source files anymore after the recent external source
2690 root change. Also, it won't work for external labels either once
2691 the --nolegacy_external_runfiles becomes default. This fixes
2692 issue #12545.
2693 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
2694 Fix NPE when coveragerunner is not set on the toolchain.
2695 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
2696 Fix the classic query package-loading cutoff optimization with
2697 external workspaces.
2698 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
2699 Update turbine
2700 + bef4bbbb47d47befe3711d06f358782ee12554f9:
2701 Update turbine
2702 + d113d7454127bba78aa618dac81e5d164920b662:
2703 Update turbine
2704 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
2705 Support Scala3 .tasty files
2706 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
2707 Update to java_tools javac11 release 10.5 (#12647)
2708 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
2709 Fix common prefix for instrumentation filter
2710 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
2711 Fix builds for filegroup targets with incompatible dependencies
2712 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
2713 Revert "Remove
2714 --incompatible_blacklisted_protos_requires_proto_info"
2715 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
2716 Transform roots along with paths during output deletion.
2717 + e8835c1c221d76a2d5532d18083eaa04401619b3:
2718 AttributeContainer.Large now handles more than 127 attributes.
2719 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
2720 Add an env attribute to all test and binary rule classes
2721 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
2722 Take no action to prefetch empty artifacts.
2723 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
2724 Fix a couple of bugs with Incompatible Target Skipping
2725 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
2726 Pass --host_action_env to host options hostActionEnvironment
2727 attribute
2728 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
2729 Add --{no,}autodetect_server_javabase.
2730 + c83366064621d5a265eba14d93a03deff58fe6d8:
2731 Only treat "env" and "env_inherit" attrs specially for native
2732 rules
2733 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
2734 Fix coverage support when using default_java_toolchain. (#12801)
2735 + 4158a6f512e52516437e00f8d9609a91be7fc195:
2736 Revert JacocoCoverage target to remote_java_tools_java_import
2737 and add a new target for remore_java_tools_filegroup. (#12813)
2738 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
2739 Add windows_msvc back to conditions in bazel_tools.
2740 + 6b33bdb1e22514304c0e35ce8e067f2175685245:
2741 Release 4.0.0 (2021-01-21)
2742 + 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
2743 Fix error message from getPrerequisites to not print internal
2744 details.
2745 + 27e15ad11410eb1014f5247fd0eeb31a46733c07:
2746 Clean up ConfiguredTargetValueAccessor and
2747 ConfiguredTargetAccessor
2748 + e87feb8ac9573cef993824f82370d0389570521d:
2749 Move getConfigConditions into ConfiguredTarget.
2750 + 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
2751 Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
2752 value.
2753 + 079bb7d69931705bb2b092c9017090e224ef3043:
2754 Clean up old dependencies that are unused since
2755 https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
2756 5ef5702880d5ac7c5c.
2757 + e03cb63e059420847d6578d7cbfe93f05615c95e:
2758 Update bazelbuild/platforms to a current release. - Roll forward
2759 https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
2760 7f925cf88e0cd5b76a with kythe fix.
2761 + 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
2762 Update docs and tests to use the @platforms//:incompatible
2763 constraint
2764 + c71697cf33b0fbbb42fc2910bac83960edc7e855:
2765 Clarify test_suite behaviour in the Platforms docs
2766 + dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
2767 Enable toolchain resolution for filegroup targets.
2768 + 24d086446f74606819dc53c3a436caa056ff05b7:
2769 PlatformProviderUtils should ignore targets that don't have the
2770 needed
2771 + ba60c0b3f9bbd00975c984244839b155e84b4c5d:
2772 ijar: fix manifest sections handling
2773 + 58bb42ad7ca263a75c6eeef51482f805726663a5:
2774 Revert "Switch to -fdebug-compilation-dir"
2775 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
2776 Update turbine
2777 + bef4bbbb47d47befe3711d06f358782ee12554f9:
2778 Update turbine
2779 + d113d7454127bba78aa618dac81e5d164920b662:
2780 Update turbine
2781 + ad241fbebd90a9f0ad65ccd0658838f57030db68:
2782 Allow cquery to filter out incompatible targets
2783 + 1782f0ae751569607ef88930c822ac460a1f8bb3:
2784 Patch grpc to fix cares selecting the wrong source when building
2785 for darwin_arm64 cpu.
2786 + 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
2787 [1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
2788 blobs
2789 + 848a51747a460ab4c5185e4c61ab522a9981cbea:
2790 [2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
2791 blobs
2792 + 9b30172547f2093acb56aedf159a77d5dceffda2:
2793 [3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
2794 blobs
2795 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
2796 Allow exec groups to inherit from the rule or other exec groups.
2797 + d0676693310215407224c1b8e8aea9e3eddc183d:
2798 Support execution constraints per exec group
2799 + f1e0d346c8235c855e61afc2adb870e4b895e002:
2800 Clean up RuleContext to use a Table instead of a Map of Maps.
2801 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
2802 Documentation for #13110
2803 + 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
2804 Prevent --repo_env from triggering unnecessary fetches
2805 + 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
2806 Prevent a crash when using --repo_env=VAR without a value
2807 + 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
2808 Report digest of failed uploads
2809 + 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
2810 Status error presentation with details
2811 + 9a70805db543e2fb910e1c55ef3b3567362adf30:
2812 Fix double shutdown of BuildEventArtifactUploader when BES+File
2813 output enabled.
2814 + 325eb956c92530bdfda54a36a186cae4245a4f7b:
2815 Add rxjava3 to third_party
2816 + ceaac966a7b977461b69ce9501df6a467f4a93b2:
2817 remote: set executable bit of an input file based on its real
2818 value
2819 + 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
2820 Remote: correctly implement equals and hashCode.
2821 + 48648503729d53fdee1322fde2c8e6c05e99cff9:
2822 Fixed an error that bazel binary is not executable when testing
2823 with remote execution.
2824 + bc54c648aa1f99509c7c36d5e6b570d066689209:
2825 Remote: Use parameters instead of thread-local storage to
2826 provide tracing metadata.
2827 + 92955e617b5c41713a5163dc0437c2a024b31815:
2828 Remote: Use parameters instead of thread-local storage to
2829 provide tracing metadata. (Part 2)
2830 + 75bd1ff8ab56d241916bde36291301fa026b2bab:
2831 Remote: Use parameters instead of thread-local storage to
2832 provide tracing metadata. (Part 3)
2833 + 37ee252f3744abc4511f55b5089cc52abd3ba09d:
2834 Remote: Use parameters instead of thread-local storage to
2835 provide tracing metadata. (Part 4)
2836 + 71e35b165f924e2649a078fcf6007645d58039af:
2837 Remote: Use parameters instead of thread-local storage to
2838 provide tracing metadata. (Part 5)
2839 + 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
2840 Write/QueryWriteStatus logging refinement/addition
2841 + 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
2842 Remote: gRPC load balancing. (Part 1)
2843 + e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
2844 Remote: gRPC load balancing. (Part 2)
2845 + 6667ad7dd77f8d97952133052c17e7779c1430ec:
2846 Remote: gRPC load balancing. (Part 3)
2847 + 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
2848 Remote: gRPC load balancing. (Part 4)
2849 + 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
2850 Implement getMessage for BulkTransferException
2851 + a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
2852 Remote: gRPC load balancing. (Part 5)
2853 + 7a62c2d4e27e398f440910c81eacc384f38ca8be:
2854 Remote: Add interoperability between Rx and ListenableFuture.
2855 + 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
2856 Update to latest remote-execution proto
2857 + dad96301d12aa77eb67399e08265a5f30f5ffd6a:
2858 Set Platform on Action not just Command
2859 + 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
2860 Remote: Add AsyncTaskCache which is used to deduplicate task
2861 executions and cache the results.
2862 + 9d0c7325ac810febe565a62fdd875ae0c240b274:
2863 Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
2864 + f54fe07209acc25340df8d2e02993b1add2deafa:
2865 Add --experimental_repository_disable_download to allow users
2866 disable download for external repos
2867 + b243584a479eb4481a9bf4f69acc899610a3b630:
2868 Report errors parsing rewriter config file
2869 + 63bc1c7d0853dc187e4b96a490d733fb29f79664:
2870 Downloader rewriter config has all_blocked_message
2871 + 495ac923f398443be45c20ab29d183fe47e08911:
2872 Allow UrlRewriter to change protocol, i.e. https->http, and
2873 http->https
2874 + 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
2875 Allow overriding the hostname and instance name in bytestream://
2876 URIs
2877 + 0881c80d29acecdfbb58c49156f805e8c50db117:
2878 Don't set requestId on non-multiplex requests.
2879 + e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
2880 When generating a symlink in _virtual_includes, add the original
2881 header to the 'allowed to use' set too
2882 + f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
2883 Make SimpleLogHandler not swallow interrupts.
2884 + f8606e5e76579442a1c6563e718ea54c673f1a04:
2885 linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
2886 + dac0d40d0eb903f5cb70341398d1a333c19adf3a:
2887 Improve "Common Attributes" section
2888 + a607d9dc70ac67f1aa2c32ca954177f9c77860be:
2889 Never create more than one process per WorkerMultiplexer.
2890 + 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
2891 Move sending requests and reading responses for multiplex
2892 workers into separate subthreads.
2893 + 003cfcde3fd3901c1279ba1db3db3a14536248b4:
2894 Allow use of JSON protocol in multiplex workers.
2895 + 308bce36cba46095fe41866e703710035ddddada:
2896 Actively kill off still-active workers when stopping work on
2897 interrupt.
2898 + 8959dff512fe4505af786bcf2ef981ec7082a913:
2899 Add sanitizer support to Apple platforms
2900 + 32f16e9360f3e1856db1775eb5014b930da2a303:
2901 Fix a Google-internal broken link.
2902 + c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
2903 Add SHA-1 to subresource integrity format for download()
2904 checksums
2905 + 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
2906 Remove fallback strategy support for workers, add flag for it in
2907 sandbox.
2908 + 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
2909 Update to java_tools javac11 10.6 (#13245)
2910 + 4928295b236ec8f590a7e9d863502bc2f50a77d9:
2911 Allow .S files in C++ Starlark cc_common.compile.
2912 + 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
2913 Automatic code cleanup.
2914 + b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
2915 Change short output of worker type to have the same logic as the
2916 worker creation for sandboxing vs. multiplex.
2917 + e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
2918 More properly destroy workers on interrupt.
2919 + 7056711eb11b672133274eb29fc93b01dcf088d5:
2920 Make WorkRequestHandler do a GC after some amount of CPU time
2921 has been used on requests. For Bazel and Blaze, defaults to 10s
2922 based on benchmarking.
2923 + 596653d3cf76e7b208da343e1fde5fe20273a5ff:
2924 Allow tree artifacts to be source or header inputs to
2925 cc_common.compile()
2926 + 055c93d11ab20cc4479539b24bbdfa5cab78a342:
2927 Switch to path autocompletion after -- for bazel run commands.
2928 + 807f2a1929e23b60b237c63fadb25af81de2e3c3:
2929 Fix Incompatible Target Skipping for test args
2930 + 9a5cd854e0613f91d52075973e2454b1e009e1ef:
2931 Fix order of build request id and command id
2932 + 706f5acd02363e48076dc97e37613fd968932d03:
2933 Fix bazel crash when passing config_setting to
2934 target_compatible_with
2935 + 61da1d2bf10eabba4c75de959b0374f302d89d70:
2936 Support multiple --bazelrc on command line
2937 + 5593358a58b66f06c4e421bb48856de94c3fd625:
2938 Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
2939 to
2940 + 662cf54de7a103db30e04ebae2d2b919437c4846:
2941 Remote: Fix an issue that a failed action could lead to
2942 RuntimeException caused by InterruptedException thrown when
2943 acquiring gRPC connections.
2944 https://github.com/bazelbuild/bazel/issues/13239
2945 + a3a1763212f29932618b9b9b2f929976ae0e3b6e:
2946 Pass more `--add-exports=` flags
2947 + d2b942879471786e82f1c96eea8722bbe7919fc1:
2948 Remote: Fixed a bug that remote cache is missed due to
2949 executable bit is changed
2950 + 616dc264f02907d7b7887285d22307dfe6d097b6:
2951 Fix Bazel Coverage with C++ to work with Remote Execution
2952 + 5f40d12e741aa30d506eaa15673fb2ae76d29468:
2953 Fix external_path_test with newer Xcode versions.
2954 + b416193075642017e13c774422b49cb07fb65c23:
2955 Allow using embedded tools in sandboxed spawn runners.
2956 + eb762d4e7431637e607146b1c191485795047ef9:
2957 Fix racy write of temporary files while staging virtual inputs
2958 for the sandbox.
2959 + f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
2960 Update platforms_test to not rely on filegroup not using
2961 toolchain
2962 + 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
2963 Update SkyframeTests to not rely on filegroup not using toolchain
2964 + 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
2965 Update ConfigurableAttributesTest to not rely on filegroup not
2966 using …
2967 + 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
2968 Make WorkerExecRoot not be a subclass of SandboxedSpawn.
2969 + 31db460a45767de0bcd664a6efbe9d163b85b802:
2970 Make WorkerExecRoot not be re-created on each createFileSystem()
2971 call. Preparation for holding a map of existing links, but also
2972 just nicer.
2973 + a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
2974 Start the file existence check traversal from the execroot base
2975 instead of execroot so that external repo files at
2976 "<execroot>/../<path>" are correctly handled when the sibling
2977 repository layout is enabled.
2978 + b048282c7893231d3a7191b251804973917b07a4:
2979 Use readdir for cleanExisting in WorkerExecRoot.
2980 + 270f00dd01fa06cf3e813da5a406be3446de7377:
2981 Add native support for Apple Silicon
2982 + 8e56b9423e8ad2f7323fb90b19b73858def81e39:
2983 Explicitly state that embedding macOS OpenJDK is for x86_64
2984 + 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
2985 Remote: Fix a race that AsyncTaskCache#Execution could be reused
2986 after disposed which results in
2987 CancellationException("disposed") propagated to downstream.
2988 + 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
2989 Remove wrapped_clang params files after use
2990 + 47edc57806056f3c8764241ed41b8acc72bd2ebf:
2991 Silence swiftmodule timestamp warnings
2992 + f6e1074b09ebefba185c0531e9cea26b9596c8a9:
2993 Remote: Use shutdownNow() instead of shutdown() in
2994 ChannelConnection#close() as a workaround to a gRPC bug.
2995 + 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
2996 And mnemonic and label to remote metadata
2997 + 615e1b16a81b0defc15699ec8027d6ddd70366d1:
2998 Change `set -x` in coverage to be set by var
2999 + fe4daea99c8cd163793eca84bfb12c8fc437616b:
3000 Bump minimal JDK install base maximum size from 290 to 295 MB.
3001 + 4840a68cd273a429e46d4114a3973fd11d0e3583:
3002 Remote: Check the return value of ActionOwner.getLabel() since
3003 it could be `null`.
3004 + 14abe4fd7c3967686a3536939fdc3882e691bca2:
3005 Allow `DiffAwareness` to share precomputed information about the
3006 workspace and propagate it to the `WorkspaceStatusAction`.
3007 + 082d98772690946ed29c157e60640c97a6e1195b:
3008 Implement available() method for Windows subprocesses.
3009 + c2bdd034014f66ce14529cc353cda18a32320f6c:
3010 Move --repo_env to common options
3011 + e09f2743738044095b9d784ea62df16b7f5750e6:
3012 Revert "Documentation for #13110"
3013 + a165baa250652fdc865ae0df39160be1f7f74c47:
3014 Revert "Clean up RuleContext to use a Table instead of a Map of
3015 Maps."
3016 + 51fb9e13a864f4f704ae378ea632433bae7ddc31:
3017 Revert "Support execution constraints per exec group"
3018 + cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
3019 Revert "Allow exec groups to inherit from the rule or other exec
3020 groups."
3021 + 2ac6581aeaab33ba506fce96dfa6a75eaa819233:
3022 Release 4.1.0 (2021-05-21)
3023 + 7a0f36e3f0a21fed8857efbaa51ded2dbdeefab6:
3024 Change gceMachineType of highcpu platform from n1-highcpu-32 to
3025 e2-highcpu-32
3026 + 19491a91143f0c6132aca62c5ae40ab72e9dc0e2:
3027 Fix #10127: Remove Python 2 dependency from tools/android.
3028 + 80c59dea59d4dce39d4b5d21665c3d7313197358:
3029 fix main repo starlark options parsing - now flags passed on the
3030 command line as --@main_workspace//flag and --//flag will both
3031 parse to --//flag. Before this CL, the former maintained its
3032 workspace prefix and we would get different entries for these
3033 two formats.
3034 + 451b296c3aceb127ebb4a313b6e9608854fa68fa:
3035 Update threshold for long path shortening to be MAX_PATH - 4
3036 + 671e0489a5bd6d5abb4dcd9bcfc85134cee38385:
3037 Force source files to be readable before copying them from
3038 sandbox.
3039 + 6080c1e07f4229ea72eacd04faa9302e44955a84:
3040 Let workers finish lost races without delaying dynamic execution.
3041 + ee738dacb5d0089d3f57b15305057cb9ba675e74:
3042 Fix label_flag and label_setting to not have a dependency on the
3043 default
3044 + 74de0ba4e79341c77b8b85ff4485f92287b6854c:
3045 Java coverage: fix handling of external files
3046 + 48eee8b4b447a2ad11df28dd81a2ccb65562b5f5:
3047 [Bazel] Fix mobile-install for python2
3048 + 763dd0ce6e1644bf895231432f616427a11d385a:
3049 Add `stub_shebang` to `py_runtime`
3050 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
3051 Move use of legacy sandbox -> local fallback to only be used
3052 after all strategies have been tried, and improve messages
3053 around it.
3054 + 6dc941e58dfc1d4a9714a76b921fbe11fce658ed:
3055 Remove restriction on generate_pdb_file to be only used in dbg
3056 and fastbuild mode
3057 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
3058 Check the result of Future.cancel() when cancelling the other
3059 branch of dynamic execution.
3060 + aaae8ce2881c8c1a5d4ad64f20d6e71aa372cf2e:
3061 Update DEFAULT_MACOS_CPU to match host
3062 + 2f0927a4fd9342f4dcfd43475d3f1c90c523584f:
3063 Fix symlink creation on older Windows versions
3064 + fd9cffdcaf05551126e66f1cd62815eaa1af6bd9:
3065 Suppress interrupted status during pool closure
3066 + 33903d28bcea0005adf9b2a8cc4659c5e2999bbe:
3067 Fix Windows developer mode symlinks
3068 + 0cd1666721bdbe988dc361c085bb43cbd41a27f3:
3069 Respect Starlark options with values in `removeStarlarkOptions()`
3070 + 7920ffef472b25db3f4e564e5a3a28a4664c666e:
3071 cquery inherits from `test` not `build`
3072 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
3073 Allow exec groups to inherit from the rule or other exec groups.
3074 + d0676693310215407224c1b8e8aea9e3eddc183d:
3075 Support execution constraints per exec group
3076 + f1e0d346c8235c855e61afc2adb870e4b895e002:
3077 Clean up RuleContext to use a Table instead of a Map of Maps.
3078 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
3079 Documentation for #13110
3080 + e376580ae4e9ad5bddc196bfb6ad3127e3ff561b:
3081 Split ExecGroup into a new target.
3082 + 0cbb8a863522d2f77ab6b67a01e39b19a9a81807:
3083 Create a new interface to allow Starlark objects to get a thread
3084 when getIndex is called.
3085 + d2e21cec31f09b27ef3589f47b0779f34077ca7e:
3086 Renamed ExecGroupCollection to clarify that it is only for
3087 Starlark usage.
3088 + b9519f92f8ce096107164ca5075feced0e989de7:
3089 Make StarlarkExecGroupContext use AutoValue.
3090 + 52b1b748b2368820bac2ca94323fb82c39c00e51:
3091 Use a dummy toolchain context for rules that don't have one.
3092 + 41877d0fefe3f021f3ff6d4ce398d0deb27157e6:
3093 Extract a separate StarlarkToolchainContext for starlark-only
3094 operations.
3095 + b120d4febc571f17e12501ad87fbff32ef94e9bb:
3096 Fix toolchains to support type lookup.
3097 + dc140d0b6119950dd4a7d71b125b15a78bacc8ce:
3098 Move DEFAULT_EXEC_GROUP_NAME from ToolchainCollection to
3099 ExecGroup.
3100 + 9b18d951a52819f1998ddfdc1739fa1b5bf0353d:
3101 Rename ToolchainCollection.getExecGroups to getExecGroupNames.
3102 + 10d4473bf476a587e3d9f9b2214581ec420c1919:
3103 BuildViewForTesting should directly call into
3104 ConfiguredTargetFunction.
3105 + 58a6fb1f8739e39125cc8c647f28cff2e79fe9aa:
3106 Move exec group tests out of platforms_test and into integration.
3107 + 7d5493d922761c3ce0037f0025912cc532c55ad7:
3108 Update creating exec groups that explicitly copy from defaults.
3109 + 8c6382a81237e72dbec24b3850df9481461e0015:
3110 Create a new ExecGroupCollection container to manage exec group
3111 inheritance and exec property parsing.
3112 + b4b0c321910bc968736ef48e8140528ea7d323cd:
3113 Fix unix toolchain for macos arm64 platform
3114 + f64f071f44394a33a1be40cb7642e2c881d1e9bb:
3115 Add `required_providers` attribute to Starlark defined aspects.
3116 + f2cbdcf67ac1990f05a8241ba8dae65795edac82:
3117 Don't ever claim /dev/null is an execpath.
3118 + ceec93c35ead1bd487e96a5fee46e8d080f88858:
3119 Don't ever claim /dev/null is an execpath.
3120 + 1f3f9f4c4b2eded90518aacd1b0b80c1b0dfd1c5:
3121 Use the parent directory of the exec root as the input root on
3122 RBE.
3123 + 4efeac9cb5f85325ed73f64e133a078c483cac01:
3124 Make the Merkle tree computation work in the wake of
3125 https://github.com/bazelbuild/bazel/commit/7149f578006a4ad0d51df6
3126 9830a6986749b34df5 .
3127 + b56a2aa709dcb681cfc3faa148a702015ec631d5:
3128 Remote: Use execRoot as input root and do NOT set working
3129 directory by default.
3130 + ae53991f2e207edacd1352ba94261e2473b79f14:
3131 Remote: Add RemoteExecutionService as a layer between spawn
3132 execution and remote execution.
3133 + 0c07c2e6571dd4806552213b2237ecb7a908afa4:
3134 Remote: Add remoteCacheable key to execution log
3135 + 5e617d83f3aab1fd36b07be4b58aba58604cc46e:
3136 Remote: Register "remote" strategy even if remote execution is
3137 not available.
3138 + 4ca8946a8e1c4c2fd48d8fb8ce38adb8b282fef0:
3139 Remote: Add --experimental_capture_corrupted_outputs flag.
3140 + 97d7b4c277814d73b50450b03f4bb160ce7e99b4:
3141 Remote: Report checking cache status before the action is
3142 scheduled to run remotely.
3143 + ba5b2a7c9448a3681a0d86d80670447e338a06dc:
3144 when writing to local disk cache, open files later in order to
3145 avoid "too many open files"
3146 + 3551898849a93306ad9b4dfdd7d4667913098efe:
3147 Propagate test envs to xml generation action
3148 + 9f8c678d7054548865f56f3464f778c751657074:
3149 Remote: Fix a bug that the XML generation is executed even if
3150 test.xml is generated when build with --remote_download_minimal.
3151 + af42653e6f6bd229142f4678bb256a8c397b4d8d:
3152 Automatic code cleanup.
3153 + 07a84ce31d9b09853c63c7e373418696dd285dc5:
3154 Remote: Another attempt to fix the CancellationException error
3155 in AsyncTaskCache caused by a race condition.
3156 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
3157 Remote: Display download progress when actions are downloading
3158 outputs from remote cache.
3159 + 18c82168433719b400a705a4a0222969a7a026ba:
3160 Remote: Do not upload empty output to remote cache.
3161 + 6a138a60e562beeef36003c4814a6b8ce9f253f6:
3162 Fix compiling errors
3163 + bcce6dd026e90336e80616a8c1004a79a2f8640c:
3164 Add the TEMP_FAILURE_RETRY macro to linux-sandbox-pid1.cc.
3165 + c8c0d94a49e1b865d95c6d245c2d152c7c7c9722:
3166 Export proguard specs from aar_import
3167 + 1a0285c3b64b121268ced3eb9ad9d5ba396b4905:
3168 Fix stripping of macOS loadable bundles
3169 + 0d3c231f5a08861d28e987703e9196890e6164bf:
3170 Roll forward config_setting visibility enforcement behind a flag.
3171 + bb7a01027242390da1c18fbf87c274cc34c11b79:
3172 Fix merge conflicts.
3173 + 8b8e77ea226aaa12e79580422bc5984e80ce048b:
3174 Remove redundant declaration.
3175 + 7c92cfcf9a88933c29334f6271ad3f086f7f36f4:
3176 Ignore empty virtual artifacts when spawn-logging inputs.
3177 + 4158b61211e099db780565d064a1c1a80c91bd2a:
3178 Use correct exit code on invalid aquery --output
3179 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
3180 Remote: Fix a race when reporting action progresses.
3181 + 0e652737988e3c115e98e1552f6fada52bc2b9a2:
3182 Change MIN_BUILD_TOOLS_REVISION to 30.0.0
3183 + 6f9909c04b1e00faa510b38ccabac78821046cf9:
3184 Update Android remote tools to ensure Bazel uses the latest
3185 Android tooling that has been updated to support AndroidX
3186 databinding generation.
3187 + 31d88c629dff2c5f8e8a4baf8c89fd3349c9783e:
Bazel Release System9ec8fb12021-08-13 14:57:53 +02003188 Automated rollback of commit
Bazel Release System497a8482021-08-18 08:44:59 -04003189 9a1d428e33bfae1ec5b68250d4732b72346b8b39.
3190 + 951a3023fbcdbe025e350590e6fa86097da3fe05:
3191 Increase allowed size of the install_base.
3192 + a7845f65befbeb65a28ec53e62458211a7bc3f8e:
3193 Increase allowed size for install base again.
3194 + affc27f9d18f9781437e91a3f36c73962a56f261:
3195 Bump version of java allocation instrumenter.
3196 + 7efabba19cf6400bf9e707f53b40a6dd7110fafb:
3197 Reference the correct version of the java allocation
3198 instrumenter.
3199 + afb819697a6c3daca71a0105d723f54d42fe129f:
3200 Support extracting aar files.
3201 + 861c3caa85e47da35a8a4f1512e57d43b9263c37:
3202 Revert "Remote: Fix a race when reporting action progresses."
3203 + 92ec798ddc1f38fb4868af08c1d818639283f501:
3204 Revert "Remote: Display download progress when actions are
3205 downloading outputs from remote cache."
3206 + ce091abb290d1d753f480cdee0e69748eb20db52:
3207 Revert "Fix compiling errors"
3208 + 1b19cd310418b850e8e0ca2086ffe50755c9ed7e:
3209 Revert "Remote: Fix a bug that the XML generation is executed
3210 even if test.xml is generated when build with
3211 --remote_download_minimal."
3212 + 988b56f5916e024d10695797a7f963b30fc998c7:
3213 Revert "Remote: Report checking cache status before the action
3214 is scheduled to run remotely."
3215 + 35c98d07b21785efae57a7c4230cc1e452f74fd2:
3216 Revert "Let workers finish lost races without delaying dynamic
3217 execution."
3218 + c4e22b9ace07f5d360c5327a38f9ae4ab24b7109:
3219 Migrate ExampleWorker to use WorkRequestHandler.
3220 + 230be161176bd6f1251077af7674f80d38ff1e25:
3221 Do not interleave readdir() calls with deletion of directory
3222 entries.
3223 + 3cc8ce6ba0934b1a4d9db184daf055c1207ef105:
3224 Propagate OOME if NewByteArray allocation failed
3225 + 19fc15ebbf6c63fcce90a038e91c5ec726852848:
3226 Create helper method for sandbox tests, transform existing tests
3227 into using it.
3228 + deb1006c0778692f7eaef4cbcf7eeb8112b55e91:
3229 Cleanup: Replace NULL with nullptr
3230 + f4b5e0233341977aaa76593ca032d9ac4eba7444:
3231 Let workers finish lost races without delaying dynamic execution.
3232 + 186decab01ee247c7453baf19dac778545ec4937:
3233 Interface and flag specification for worker cancellation.
3234 + 5894a8544d51c99f1356130b8b487bc93299fedd:
3235 Create BUILD file in worker tests directory instead of running
3236 tests from the parent directory.
3237 + e9e6978809b0214e336fee05047d5befe4f4e0c3:
3238 Server-side implementation of worker cancellation.
3239 + 5103662238f2df2038c7dff079e9c655e08ba654:
3240 Add builder for WorkRequestHandler.
3241 + 1a519bb66c3fa3e4ef3b9a9a556597920751fbcd:
3242 Makes singleplex requests be handled in separate threads in
3243 WorkRequestHandler.
3244 + 779d66019210f54e10a1343ee004df72a8dec812:
3245 Only allow worker async finishing when sandboxed.
3246 + a698bef6146a807fd82ee4402d89c23c83802e33:
3247 Support for cancellation in WorkRequestHandler.
3248 + 9dc95af4c7ef10979f21173260f5433006116096:
3249 Make workers restart on flags that affect their
3250 creation/behaviour.
3251 + 7e5cd529e9f8c9cb67900af36182f00ef7316654:
3252 Remote: Report checking cache status before the action is
3253 scheduled to run remotely.
3254 + 6e134a1b68418fba9992692901efa77a80c346f7:
3255 Remote: Fix a bug that the XML generation is executed even if
3256 test.xml is generated when build with --remote_download_minimal.
3257 + d4d071401acadb0d8977850a9439474e60fd7bb9:
3258 Fix compiling errors
3259 + 2579c9a18360955699d028426b45d381ff53783c:
3260 Eagerly initialize JNI copies of Java classes: doing lazy
3261 initialization on a per-method basis doesn't save anything and
3262 adds a tiny bit of overhead to every one of these calls.
3263 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
3264 Remote: Display download progress when actions are downloading
3265 outputs from remote cache.
3266 + 3835d9b21ad524d06873dfbf465ffd2dfb635ba8:
3267 Update the WorkRequestHandler to use callbacks of type:
3268 BiFunction<WorkRequest, PrintWriter, Integer>: - Mark
3269 constructors that use BiFunction<List<String>, PrintWriter,
3270 Integer> callback as deprecated. - Use a wrapper class for the
3271 BiFunction<WorkRequest, PrintWriter, Integer>. Suggesting this
3272 to avoid having two constructors that takes a BiFunction, as it
3273 creates a confusion between the deprecated and new constructor
3274 when given a lambda expressions.
3275 + 5e352afe2b35487ea2ced85ca79bd9f79858e648:
3276 Fix bug in WorkRequestHandler's handling of singleplex requests
3277 that would cause occasional hangs.
3278 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
3279 Remote: Fix a race when reporting action progresses.
3280 + c9d823e42796962eed039b8122528c2a1541190f:
3281 Disable flaky test.
3282 + e6809c90ecc0ef5783faa39e63188fc33a79b80e:
3283 Revert "Check the result of Future.cancel() when cancelling the
3284 other branch of dynamic execution."
3285 + be4cbc7a67196414e3d3f323be8ab55fb5e530f7:
3286 Revert "Move use of legacy sandbox -> local fallback to only be
3287 used after all strategies have been tried, and improve messages
3288 around it."
3289 + b32349f50ff3d958613aef9275751ad9d50d344c:
3290 Set a fallback dynamic local strategy even when the
3291 dynamic_local_strategy flag is passed.
3292 + f395157c95692565bc220c7ccf788974fe0885fd:
3293 Allow running an extra spawn for local branch of dynamic
3294 execution.
3295 + 039461c76113ab3f165132dd26d0c58eb3e45cae:
3296 Adding debugging information for case when two branches
3297 apparently cancel each other.
3298 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
3299 Move use of legacy sandbox -> local fallback to only be used
3300 after all strategies have been tried, and improve messages
3301 around it.
3302 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
3303 Check the result of Future.cancel() when cancelling the other
3304 branch of dynamic execution.
3305 + 1962a59a5478f5ad374700b0abf0a718b1b3a7d3:
3306 Fix the case where if all strategies for one branch of `dynamic`
3307 execution fail to accept (that is, refuse to even take) the
3308 action given, the whole action fails. Instead of seeing whether
3309 the other branch can run and the action that that it succeeded.
3310 + b7c1ad2aff91105659299723a712b72eea943040:
3311 Fix rare crash in dynamic execution where both branches got
3312 cancelled.
3313 + 2c3cff5422b115d7bb86ed28a056f3d368ebceeb:
3314 Check if `treeDeleter` is actually async before casting it.
3315 Fixes #13240.
3316 + 1a89ce1757e75f8ba9bda76d7373a7e8527bcfc5:
3317 Make worker JSON protocol properly ignore unknown fields.
3318 + 7bbff61d9486eeb6b7cd0b6cfb619a9b6e08967b:
3319 Fix test_source_file_does_not_override_standard_library to work
3320 with Python 3.9.
3321 + f4e10367df2d881f05e3ddd5bd0531b390a845fe:
3322 Removing line ending matches in tests to be compatible on Windows
3323 + ba74df07ced96226d78851e11d1df03147f1cc1f:
3324 Refactors CompilationSupport for objc to use existing API
Bazel Release System16293d52021-07-29 13:40:11 +02003325```
3326
3327Important changes:
3328
Bazel Release System497a8482021-08-18 08:44:59 -04003329 - Multiplex persistent workers can now use the JSON protocol.
3330 - enforce config_setting visibility. See
3331 https://github.com/bazelbuild/bazel/issues/12932 for details.
3332 - The minimum Android build tools version for the Android rules is
3333 now 30.0.0
3334 - Updates worker protocol with cancellation fields, and adds
3335 experimental_worker_cancellation flag to control cancellation.
3336 - If all strategies of one branch (the local or remote execution
3337 branch) of the `dynamic` strategy fail to even accept (via the
3338 response they give from `canExec`) the action, `dynamic` will now
3339 try to see if the other branch can accept it. (Trying to run it
3340 and it failing will still cause a failure if it was the first
3341 result, this is about strategies claiming they can't even try the
3342 action)
Bazel Release System16293d52021-07-29 13:40:11 +02003343
Bazel Release System497a8482021-08-18 08:44:59 -04003344This release contains contributions from many people at Google, as well as Alex Eagle, Austin Schuh, Benjamin Peterson, bromano, Christopher Peterson Sauer, Christopher Sauer, Cristian Hancila, Daniel Wagner-Hall, Denys Kurylenko, Ed Schouten, Finn Ball, George Gensure, Greg Estren, Johannes Abt, Keith Smiley, Kevin Hogeland, Lauri Peltonen, Philipp Schrader, Ryan Beasley, Thi Doan, ThomasCJY, Timothy Klim, Trustin Lee, Ulf Adams, Vaidas Pilkauskas, Vertexwahn, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yuval Kaplan, Yuval.
Bazel Release System6810a322021-07-27 17:54:50 +02003345
Bazel Release Systemf3be7b12021-07-16 14:23:53 +02003346## Release 5.0.0-pre.20210708.4 (2021-07-16)
3347
3348```
3349Baseline: ca1d20fdfa95dad533c64aba08ba9d7d98be41b7
3350
3351Cherry picks:
3352
3353 + 802901e697015ee6a56ac36cd0000c1079207d12:
3354 Add flags parameter to attr.label for use in builtins only.
3355 + aa768ada9ef6bcd8de878a5ca2dbd9932f0868fc:
3356 Automated rollback of commit
3357 ca1d20fdfa95dad533c64aba08ba9d7d98be41b7.
3358 + 4bcf2e83c5cb4f459aae815b38f1edd823286a29:
3359 Automated rollback of commit
3360 ff38dbfc65b8ffe92833e67f12ce616739a3d213.
3361 + 706483fd6398f00fd4faba73812de9bf15728086:
3362 Resolve merge conflict
3363 + 3821db8725b9ea3267cddfd0bbad55f50e96527e:
3364 Fix merge conflict properly
3365```
3366
3367Important changes:
3368
3369 - The used_heap_size_post_build field in BEP is populated when the
3370 --memory_profile flag is set
3371
3372This release contains contributions from many people at Google, as well as Daniel Wagner-Hall, Grzegorz Lukasik, Keith Smiley, Kevin Hogeland, Yannic Bonenberger.
3373
Bazel Release System1f1aec12021-07-02 16:12:06 +02003374## Release 5.0.0-pre.20210623.2 (2021-07-02)
3375
3376```
3377Baseline: 8b453331163378071f1cfe0ae7c74d551c21b834
3378
3379Cherry picks:
3380
3381 + 223113c9202e8f338b183d1736d97327d28241ea:
3382 Automated rollback of commit
3383 ae2a6a2dc909e468a284913c410fde995cf51095.
3384```
3385
3386Important changes:
3387
3388 - Adds --experimental_reuse_sandbox_directories flag to reuse
3389 already-created non-worker sandboxes with cleanup.
3390 - --experimental_force_gc_after_build is deprecated and will be
3391 removed soon. Use --bep_publish_used_heap_size_post_build instead
3392 - Forward coverage-instrumented files from non-tool dependencies by
3393 default.
3394
3395This release contains contributions from many people at Google, as well as David Ostrovsky, Johannes Abt, Masoud Koleini, Pras Velagapudi.
3396
Bazel Release System30f0ca72021-06-25 19:40:13 +02003397## Release 5.0.0-pre.20210615.3 (2021-06-25)
3398
3399```
3400Baseline: e7bd0947ab552a26ec032d0f1a50ee15c8810f6c
3401
3402Cherry picks:
3403
3404 + 04bed291c9f56163ae4da3a358d71cf8399b47a4:
3405 Disable shadowed_action part of action_aspect_test
3406 + 367b19eb8821b4de738c6c994ba275c695f4726b:
3407 Fix starlark action with shadowed_action inputs cache test
3408 + 4acb9ae67a7135b2365b92e91601d4797adc2ad5:
3409 Automated rollback of commit
3410 03f6af623ae3de4a9b756b5235ebd31cc2faf762.
3411```
3412
3413Incompatible changes:
3414
3415 - Native libraries in data attribute are not collected. See
3416 https://github.com/bazelbuild/bazel/issues/13550 for details
3417
3418Important changes:
3419
3420 - Remove obsolete --incompatible_prohibit_aapt1
3421 - The minimum Android build tools version for the Android rules is
3422 now 30.0.0
3423
3424This release contains contributions from many people at Google, as well as Cameron Mulhern, Delwin9999, Keith Smiley.
3425
Bazel Release System7ad949b2021-06-11 15:03:28 +02003426## Release 5.0.0-pre.20210604.6 (2021-06-11)
3427
3428```
3429Baseline: d571c8976f279e4d485498d0875c85ae73aecc42
3430
3431Cherry picks:
3432
3433 + c367a7e027f351e8ffefabf919563abbb8c7d0e1:
3434 Fix places where nodes were still being enqueued at
3435 `Integer.MAX_VALUE` and add checks for overflow conditions.
3436 + 260015df1524543d56b0dbff00958320cd58d166:
3437 Automated rollback of commit
3438 f1b37b5d610728634d92ef4ebd4d1435c0c8605d.
3439```
3440
3441Important changes:
3442
3443 - Add `disable_annotation_processing` option to
3444 `java_common.compile`, which disables any annotation processors
3445 passed to `plugins` or in `exported_plugins` of `deps`
3446
3447This release contains contributions from many people at Google, as well as Dave MacLachlan, FaBrand, George Gensure, Jesse Chan, Keith Smiley, Kevin Hogeland, Uri Baghin, Xavier Bonaventura.
3448
Bazel Release Systemf24ceb62021-06-09 20:59:14 +02003449## Release 5.0.0-pre.20210520.7 (2021-06-09)
3450
3451```
3452Baseline: e2ae73fe16cbedf095b9e6d5687b06ecf765d794
3453
3454Cherry picks:
3455
3456 + 0fdb485421f9d134f11103a36c48182769fb40d3:
3457 Automated rollback of commit
3458 f2230d8494e70f02b1e4fb082fcf8550aa684a40.
3459 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
3460 Support rolling releases in Bazel release scripts.
3461 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
3462 Fix syntax error in Bazel release scripts
3463 + 4ef9c566c861848fef7907cf07a6e7d9d15cee7a:
3464 Fix location of -prerelease option
3465 + a6dfd927c58c63275159858ac661a9b669594a0c:
3466 Add --experimental_shadowed_action to graveyard options for all
3467 commands.
3468```
3469
3470Important changes:
3471
3472 - If all strategies of one branch (the local or remote execution
3473 branch) of the `dynamic` strategy fail to even accept (via the
3474 response they give from `canExec`) the action, `dynamic` will now
3475 try to see if the other branch can accept it. (Trying to run it
3476 and it failing will still cause a failure if it was the first
3477 result, this is about strategies claiming they can't even try the
3478 action)
3479
3480This release contains contributions from many people at Google, as well as Benedek Thaler.
3481
Bazel Release System6af9fa62021-06-09 19:45:15 +02003482## Release 5.0.0-pre.20210516.1 (2021-06-09)
3483
3484```
3485Baseline: 275c54c982468b97611dc764c68daed8d7c45004
3486
3487Cherry picks:
3488
3489 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
3490 Support rolling releases in Bazel release scripts.
3491 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
3492 Fix syntax error in Bazel release scripts
3493 + 4ef9c566c861848fef7907cf07a6e7d9d15cee7a:
3494 Fix location of -prerelease option
3495```
3496
3497This release contains contributions from many people at Google, as well as Keith Smiley, Niek Peeters.
3498
Bazel Release System57d167b2021-06-01 12:52:54 +02003499## Release 5.0.0-pre.20210510.2.2 (2021-06-01)
3500
3501```
3502Baseline: 8a42645ec500874b0440475763ab680d5efc1e6a
3503
3504Cherry picks:
3505
3506 + e3c78c4eeaf4e8db3c22aa71c6c1578cb48c8dcc:
3507 Ensure that test status artifacts are reported as top-level
3508 artifacts.
3509 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
3510 Support rolling releases in Bazel release scripts.
3511 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
3512 Fix syntax error in Bazel release scripts
3513 + 4ef9c566c861848fef7907cf07a6e7d9d15cee7a:
3514 Fix location of -prerelease option
3515```
3516
3517This release contains contributions from many people at Google, as well as .
3518
Bazel Release Systemf7049e52021-05-31 22:10:26 +02003519## Release 5.0.0-pre.20210510.2.1 (2021-05-31)
3520
3521```
3522Baseline: 8a42645ec500874b0440475763ab680d5efc1e6a
3523
3524Cherry picks:
3525
3526 + e3c78c4eeaf4e8db3c22aa71c6c1578cb48c8dcc:
3527 Ensure that test status artifacts are reported as top-level
3528 artifacts.
3529 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
3530 Support rolling releases in Bazel release scripts.
3531 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
3532 Fix syntax error in Bazel release scripts
3533```
3534
3535This release contains contributions from many people at Google, as well as .
3536
Bazel Release Systeme7d34802021-05-31 20:35:38 +02003537## Release 5.0.0-pre.20210510.2 (2021-05-31)
3538
3539```
3540Baseline: 8a42645ec500874b0440475763ab680d5efc1e6a
3541
3542Cherry picks:
3543
3544 + e3c78c4eeaf4e8db3c22aa71c6c1578cb48c8dcc:
3545 Ensure that test status artifacts are reported as top-level
3546 artifacts.
3547 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
3548 Support rolling releases in Bazel release scripts.
3549```
3550
3551Incompatible changes:
3552
3553 - Removing java_common.javac_jar Starlark call.
3554 - native.existing_rule now returns select values in a form that is
3555 accepted by rule instantiation. This is a breaking API change
3556 because there is some code that relies on the precise type
3557 returned, including brittle workarounds for this bug specifically
3558 and insufficiently flexible workarounds for other issues with the
3559 intersection of select and native.existing_rule.
3560 - flipped incompatible_use_toolchain_resolution_for_java_rules, see
3561 #7849
3562 - Query output=xml/proto/location for source files will now show
3563 the location of line 1 of the source file (as the new default)
3564 instead of its location in the BUILD file.
3565 - Specifying a target pattern underneath a directory specified by
3566 .bazelignore will now emit a warning, not an error.
3567 - Query `--order_output=auto` will now sort lexicographically.
3568 However, when `somepath` is used as a top level function (e.g.
3569 `query 'somepath(a, b)'`), it will continue to output in
3570 dependency order. If you do not want the lexicographical output
3571 ordering, specify another `--order_output` value (`no`, `deps` or
3572 `full`) based on what ordering you require.
3573 - In the build event stream,
3574 BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
3575 Its value was always mostly meaningless.
3576 BuildMetrics.TargetMetrics.targets_configured and
3577 BuildMetrics.ActionSummary.actions_created now include configured
3578 aspect data.
3579 - //visibility:legacy_public has been removed.
3580 - Flip and remove incompatible_dont_collect_so_artifacts
3581 (https://github.com/bazelbuild/bazel/issues/13043).
3582 - Remove flag --experimental_no_product_name_out_symlink: it is
3583 always true.
3584 - The Starlark method generate_dsym in objc fragment has
3585 been deleted. Please use the equivalent apple_generate_dsym in
3586 cpp
3587 fragment instead.
3588
3589Important changes:
3590
3591 - Flag --incompatible_objc_compile_info_migration is removed. See
3592 #10854.
3593 - Flag --incompatible_objc_compile_info_migration is removed. See
3594 #10854.
3595 - Flag --incompatible_objc_compile_info_migration is removed. See
3596 #10854.
3597 - none
3598 PAIR=cmita
3599 - The --incompatible_load_python_rules_from_bzl flag is now a no-op.
3600 - Filter all (instead of just C++) source files for coverage output
3601 according to --instrumentation_filter and
3602 --instrument_test_targets.
3603 - The `--incompatible_disable_native_apple_binary_rule` flag has
3604 been added which disables the native `apple_binary` rule. Users
3605 who need to use `apple_binary` directly (if they cannot use one
3606 of the more specific Apple rules) should load it from
3607 https://github.com/bazelbuild/rules_apple.
3608 - The Android rules' --use_singlejar_apkbuilder is now a no-op.
3609 SingleJar will always be used to build APKs.
3610 - dict.setdefault(key, ...) now fails if dict is frozen, even if it
3611 already contains key. This is an incompatible API change.
3612 - Flag --incompatible_objc_provider_remove_compile_info is removed.
3613 See #11359.
3614 - Starlark now permits def statements to be nested (closures).
3615 - native.existing_rule now returns select values in a form that is
3616 accepted by rule instantiation. This is a breaking API change,
3617 though the fallout is expected to be small.
3618 - Starlark now supports lambda (anonymous function) expressions.
3619 - The "test" and "coverage" commands no longer return 3 when a
3620 test action fails because of a system error. Instead, the exit
3621 code
3622 reflects the type of system error.
3623 - The undocumented ctx.expand feature no longer exists.
3624 - Make --legacy_dynamic_scheduler a no-op flag.
3625 - Multiplex persistent workers can now use the JSON protocol.
3626 - native.existing_rule now returns a mutable list, not a tuple, for
3627 a list-valued attributes. This is an incompatible API change.
3628 - Roll back change to have native.existing_rules use list instead
3629 of tuple.
3630 - BEP includes test suite expansions.
3631 - config_setting now honors `visibility` attribute (and defaults to
3632 `//visibility:public`)
3633 - Change the MultiArchSplitTransitionProvider to be based on
3634 platform type + CPU instead of fixed "ios_" + cpu.
3635 - enforce config_setting visibility. See
3636 https://github.com/bazelbuild/bazel/issues/12932 for details.
3637 - add a flag to build v4 signature file
3638 - Added _direct_source_jars output group to Java related targets.
3639 END_PUBLIC
3640 - pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
3641 Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
3642 - Allowing the lipo operations to be conditional in the
3643 linkMultiArchBinary API for Apple binaries. Single architecture
3644 slices are now returned through AppleBinaryOutput and the
3645 Starlark API.
3646 - Release restriction for "-" in the package name for Python
3647 sources. Now `py_binary` and `py_test` targets can have main
3648 source file with "-" in the path.
3649 - Users consuming BEP may assume that a `named_set_of_files` event
3650 will
3651 appear before any event referencing that `named_set` by ID. This
3652 allows consumers
3653 to process the files for such events (eg. `TargetCompleted`)
3654 immediately.
3655 - BEP includes all files from successful actions in requested
3656 output groups.
3657 Previously, an output group's files were excluded if any file in
3658 the output group
3659 was not produced due to a failing action. Users can expect BEP
3660 output to be larger
3661 for failed builds.
3662 - In BEP, TargetComplete.output_group has a new field `incomplete`
3663 indicating that the file_sets field is missing one or more
3664 declared artifacts
3665 whose generating actions failed.
3666 - The flag `--toolchain_resolution_debug` now takes a regex
3667 argument, which is used to check which toolchain types should
3668 have debug info printed. You may use `.*` as an argument to keep
3669 the current behavior of debugging every toolchain type.
3670 - Add runfiles.merge_all() for merging a sequence of runfiles
3671 objects.
3672 - runfiles.merge() and merge_all() now respect
3673 --nested_set_depth_limit.
3674 If you hit the depth limit because you were calling merge() in a
3675 loop, use
3676 merge_all() on a sequence of runfiles objects instead.
3677 - Bazel will no longer create a bazel-out symlink if
3678 --symlink_prefix is specified: the directory pointed to via the
3679 bazel-out symlink is accessible via ${symlink_prefix}-out. If
3680 this causes problems for you, set
3681 --experimental_no_product_name_out_symlink=false in your builds
3682 and file an issue.
3683 - Updates worker protocol with cancellation fields, and adds
3684 experimental_worker_cancellation flag to control cancellation.
3685 - Simplify build failure output by always using `NNN arguments`.
3686 - trim_test_configuration now defaults to on
3687 - Mark genrule.srcs as a source attribute for coverage.
3688 - When using --allow_analysis_failures (for example, via
3689 bazel-skylib's
3690 analysistest with `expect_failure = True`), analysis-time
3691 failures in aspect
3692 implementation functions will now be propagated and saved in
3693 AnalysisFailureInfo, just like analysis-time failures in rules.
3694 - cquery --noimplicit_deps now correctly filters out resolved
3695 cc_toolchains
3696 - Sign apks deterministically.
3697 - Make gcov optional in cc_toolchain tools.
3698 - If --experimental_prefer_mutual_xcode is passed, Bazel will
3699 choose the local default (instead of the newest mutually
3700 available version) if it's available both locally and remotely.
3701 - Remove java_lite_proto_library.strict_deps attribute.
3702 - Generate proguard configurations deterministically.
3703 - Adds a new flag, `--incompatible_enable_cc_test_feature` which
3704 switches from the use of build variables to the feature of the
3705 same name.
3706 - Dropped fragile xz support from built in pkg_tar. Users requiring
3707 xz
3708 compression should switch to bazlebuild/rules_pkg.
3709
3710This release contains contributions from many people at Google, as well as Adam Liddell, Alex Eagle, Anthony Pratti, Austin Schuh, Benedek Thaler, Benjamin Lee, Benjamin Peterson, bromano, Christopher Sauer, Cristian Hancila, Daniel McCarney, Daniel Wagner-Hall, Danny Wolf, Dave Nicponski, David Cummings, David, David Ostrovsky, Denys Kurylenko, Dmitry Ivankov, dorranh, Ed Schouten, Elliotte Rusty Harold, erenon, Eric Cousineau, Ethan Steinberg, Felix Ehrenpfort, Finn Ball, Fredrik Medley, Garrett Holmstrom, Gautam Korlam, George Gensure, goodspark, Greg Estren, Grzegorz Lukasik, John Laxson, Jonathan Schear, Justus Tumacder, Keith Smiley, Lauri Peltonen, Liu Liu, Lszl Csomor, m, Marc Zych, Mark Karpov, Matt Mackay, Max Liu, Menny Even Danan, menny, Michael Chinen, Nathaniel Brough, Nick Korostelev, Nikolay Shelukhin, odisseus, Oleh Stolyar, Olek Wojnar, Olle Lundberg, Philipp Schrader, Qais Patankar, Ryan Beasley, samhowes, Samuel Giddins, Sebastian Olsson, Steve Siano, steve-the-bayesian, Stiopa Koltsov, susinmotion, tatiana, Thi Doan, ThomasCJY, Timothy Klim, Tobi, Torgil Svensson, Trustin Lee, Ulf Adams, Vaidas Pilkauskas, Vertexwahn, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yannic, Yury Evtikhov, Yuval Kaplan, Yuval, [zqzzq].
3711
Bazel Release System2ac65812021-05-21 13:07:43 +02003712## Release 4.1.0 (2021-05-21)
3713
3714```
3715Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
3716
3717Cherry picks:
3718
3719 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
3720 Use getRunfilesPath for run_under executable path generation.
3721 getRootRelativePath doesn't return a valid runfiles path for
3722 external source files anymore after the recent external source
3723 root change. Also, it won't work for external labels either once
3724 the --nolegacy_external_runfiles becomes default. This fixes
3725 issue #12545.
3726 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
3727 Fix NPE when coveragerunner is not set on the toolchain.
3728 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
3729 Fix the classic query package-loading cutoff optimization with
3730 external workspaces.
3731 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
3732 Update turbine
3733 + bef4bbbb47d47befe3711d06f358782ee12554f9:
3734 Update turbine
3735 + d113d7454127bba78aa618dac81e5d164920b662:
3736 Update turbine
3737 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
3738 Support Scala3 .tasty files
3739 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
3740 Update to java_tools javac11 release 10.5 (#12647)
3741 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
3742 Fix common prefix for instrumentation filter
3743 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
3744 Fix builds for filegroup targets with incompatible dependencies
3745 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
3746 Revert "Remove
3747 --incompatible_blacklisted_protos_requires_proto_info"
3748 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
3749 Transform roots along with paths during output deletion.
3750 + e8835c1c221d76a2d5532d18083eaa04401619b3:
3751 AttributeContainer.Large now handles more than 127 attributes.
3752 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
3753 Add an env attribute to all test and binary rule classes
3754 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
3755 Take no action to prefetch empty artifacts.
3756 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
3757 Fix a couple of bugs with Incompatible Target Skipping
3758 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
3759 Pass --host_action_env to host options hostActionEnvironment
3760 attribute
3761 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
3762 Add --{no,}autodetect_server_javabase.
3763 + c83366064621d5a265eba14d93a03deff58fe6d8:
3764 Only treat "env" and "env_inherit" attrs specially for native
3765 rules
3766 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
3767 Fix coverage support when using default_java_toolchain. (#12801)
3768 + 4158a6f512e52516437e00f8d9609a91be7fc195:
3769 Revert JacocoCoverage target to remote_java_tools_java_import
3770 and add a new target for remore_java_tools_filegroup. (#12813)
3771 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
3772 Add windows_msvc back to conditions in bazel_tools.
3773 + 6b33bdb1e22514304c0e35ce8e067f2175685245:
3774 Release 4.0.0 (2021-01-21)
3775 + 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
3776 Fix error message from getPrerequisites to not print internal
3777 details.
3778 + 27e15ad11410eb1014f5247fd0eeb31a46733c07:
3779 Clean up ConfiguredTargetValueAccessor and
3780 ConfiguredTargetAccessor
3781 + e87feb8ac9573cef993824f82370d0389570521d:
3782 Move getConfigConditions into ConfiguredTarget.
3783 + 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
3784 Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
3785 value.
3786 + 079bb7d69931705bb2b092c9017090e224ef3043:
3787 Clean up old dependencies that are unused since
3788 https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
3789 5ef5702880d5ac7c5c.
3790 + e03cb63e059420847d6578d7cbfe93f05615c95e:
3791 Update bazelbuild/platforms to a current release. - Roll forward
3792 https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
3793 7f925cf88e0cd5b76a with kythe fix.
3794 + 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
3795 Update docs and tests to use the @platforms//:incompatible
3796 constraint
3797 + c71697cf33b0fbbb42fc2910bac83960edc7e855:
3798 Clarify test_suite behaviour in the Platforms docs
3799 + dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
3800 Enable toolchain resolution for filegroup targets.
3801 + 24d086446f74606819dc53c3a436caa056ff05b7:
3802 PlatformProviderUtils should ignore targets that don't have the
3803 needed
3804 + ba60c0b3f9bbd00975c984244839b155e84b4c5d:
3805 ijar: fix manifest sections handling
3806 + 58bb42ad7ca263a75c6eeef51482f805726663a5:
3807 Revert "Switch to -fdebug-compilation-dir"
3808 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
3809 Update turbine
3810 + bef4bbbb47d47befe3711d06f358782ee12554f9:
3811 Update turbine
3812 + d113d7454127bba78aa618dac81e5d164920b662:
3813 Update turbine
3814 + ad241fbebd90a9f0ad65ccd0658838f57030db68:
3815 Allow cquery to filter out incompatible targets
3816 + 1782f0ae751569607ef88930c822ac460a1f8bb3:
3817 Patch grpc to fix cares selecting the wrong source when building
3818 for darwin_arm64 cpu.
3819 + 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
3820 [1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
3821 blobs
3822 + 848a51747a460ab4c5185e4c61ab522a9981cbea:
3823 [2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
3824 blobs
3825 + 9b30172547f2093acb56aedf159a77d5dceffda2:
3826 [3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
3827 blobs
3828 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
3829 Allow exec groups to inherit from the rule or other exec groups.
3830 + d0676693310215407224c1b8e8aea9e3eddc183d:
3831 Support execution constraints per exec group
3832 + f1e0d346c8235c855e61afc2adb870e4b895e002:
3833 Clean up RuleContext to use a Table instead of a Map of Maps.
3834 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
3835 Documentation for #13110
3836 + 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
3837 Prevent --repo_env from triggering unnecessary fetches
3838 + 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
3839 Prevent a crash when using --repo_env=VAR without a value
3840 + 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
3841 Report digest of failed uploads
3842 + 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
3843 Status error presentation with details
3844 + 9a70805db543e2fb910e1c55ef3b3567362adf30:
3845 Fix double shutdown of BuildEventArtifactUploader when BES+File
3846 output enabled.
3847 + 325eb956c92530bdfda54a36a186cae4245a4f7b:
3848 Add rxjava3 to third_party
3849 + ceaac966a7b977461b69ce9501df6a467f4a93b2:
3850 remote: set executable bit of an input file based on its real
3851 value
3852 + 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
3853 Remote: correctly implement equals and hashCode.
3854 + 48648503729d53fdee1322fde2c8e6c05e99cff9:
3855 Fixed an error that bazel binary is not executable when testing
3856 with remote execution.
3857 + bc54c648aa1f99509c7c36d5e6b570d066689209:
3858 Remote: Use parameters instead of thread-local storage to
3859 provide tracing metadata.
3860 + 92955e617b5c41713a5163dc0437c2a024b31815:
3861 Remote: Use parameters instead of thread-local storage to
3862 provide tracing metadata. (Part 2)
3863 + 75bd1ff8ab56d241916bde36291301fa026b2bab:
3864 Remote: Use parameters instead of thread-local storage to
3865 provide tracing metadata. (Part 3)
3866 + 37ee252f3744abc4511f55b5089cc52abd3ba09d:
3867 Remote: Use parameters instead of thread-local storage to
3868 provide tracing metadata. (Part 4)
3869 + 71e35b165f924e2649a078fcf6007645d58039af:
3870 Remote: Use parameters instead of thread-local storage to
3871 provide tracing metadata. (Part 5)
3872 + 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
3873 Write/QueryWriteStatus logging refinement/addition
3874 + 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
3875 Remote: gRPC load balancing. (Part 1)
3876 + e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
3877 Remote: gRPC load balancing. (Part 2)
3878 + 6667ad7dd77f8d97952133052c17e7779c1430ec:
3879 Remote: gRPC load balancing. (Part 3)
3880 + 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
3881 Remote: gRPC load balancing. (Part 4)
3882 + 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
3883 Implement getMessage for BulkTransferException
3884 + a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
3885 Remote: gRPC load balancing. (Part 5)
3886 + 7a62c2d4e27e398f440910c81eacc384f38ca8be:
3887 Remote: Add interoperability between Rx and ListenableFuture.
3888 + 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
3889 Update to latest remote-execution proto
3890 + dad96301d12aa77eb67399e08265a5f30f5ffd6a:
3891 Set Platform on Action not just Command
3892 + 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
3893 Remote: Add AsyncTaskCache which is used to deduplicate task
3894 executions and cache the results.
3895 + 9d0c7325ac810febe565a62fdd875ae0c240b274:
3896 Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
3897 + f54fe07209acc25340df8d2e02993b1add2deafa:
3898 Add --experimental_repository_disable_download to allow users
3899 disable download for external repos
3900 + b243584a479eb4481a9bf4f69acc899610a3b630:
3901 Report errors parsing rewriter config file
3902 + 63bc1c7d0853dc187e4b96a490d733fb29f79664:
3903 Downloader rewriter config has all_blocked_message
3904 + 495ac923f398443be45c20ab29d183fe47e08911:
3905 Allow UrlRewriter to change protocol, i.e. https->http, and
3906 http->https
3907 + 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
3908 Allow overriding the hostname and instance name in bytestream://
3909 URIs
3910 + 0881c80d29acecdfbb58c49156f805e8c50db117:
3911 Don't set requestId on non-multiplex requests.
3912 + e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
3913 When generating a symlink in _virtual_includes, add the original
3914 header to the 'allowed to use' set too
3915 + f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
3916 Make SimpleLogHandler not swallow interrupts.
3917 + f8606e5e76579442a1c6563e718ea54c673f1a04:
3918 linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
3919 + dac0d40d0eb903f5cb70341398d1a333c19adf3a:
3920 Improve "Common Attributes" section
3921 + a607d9dc70ac67f1aa2c32ca954177f9c77860be:
3922 Never create more than one process per WorkerMultiplexer.
3923 + 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
3924 Move sending requests and reading responses for multiplex
3925 workers into separate subthreads.
3926 + 003cfcde3fd3901c1279ba1db3db3a14536248b4:
3927 Allow use of JSON protocol in multiplex workers.
3928 + 308bce36cba46095fe41866e703710035ddddada:
3929 Actively kill off still-active workers when stopping work on
3930 interrupt.
3931 + 8959dff512fe4505af786bcf2ef981ec7082a913:
3932 Add sanitizer support to Apple platforms
3933 + 32f16e9360f3e1856db1775eb5014b930da2a303:
3934 Fix a Google-internal broken link.
3935 + c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
3936 Add SHA-1 to subresource integrity format for download()
3937 checksums
3938 + 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
3939 Remove fallback strategy support for workers, add flag for it in
3940 sandbox.
3941 + 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
3942 Update to java_tools javac11 10.6 (#13245)
3943 + 4928295b236ec8f590a7e9d863502bc2f50a77d9:
3944 Allow .S files in C++ Starlark cc_common.compile.
3945 + 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
3946 Automatic code cleanup.
3947 + b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
3948 Change short output of worker type to have the same logic as the
3949 worker creation for sandboxing vs. multiplex.
3950 + e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
3951 More properly destroy workers on interrupt.
3952 + 7056711eb11b672133274eb29fc93b01dcf088d5:
3953 Make WorkRequestHandler do a GC after some amount of CPU time
3954 has been used on requests. For Bazel and Blaze, defaults to 10s
3955 based on benchmarking.
3956 + 596653d3cf76e7b208da343e1fde5fe20273a5ff:
3957 Allow tree artifacts to be source or header inputs to
3958 cc_common.compile()
3959 + 055c93d11ab20cc4479539b24bbdfa5cab78a342:
3960 Switch to path autocompletion after -- for bazel run commands.
3961 + 807f2a1929e23b60b237c63fadb25af81de2e3c3:
3962 Fix Incompatible Target Skipping for test args
3963 + 9a5cd854e0613f91d52075973e2454b1e009e1ef:
3964 Fix order of build request id and command id
3965 + 706f5acd02363e48076dc97e37613fd968932d03:
3966 Fix bazel crash when passing config_setting to
3967 target_compatible_with
3968 + 61da1d2bf10eabba4c75de959b0374f302d89d70:
3969 Support multiple --bazelrc on command line
3970 + 5593358a58b66f06c4e421bb48856de94c3fd625:
3971 Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
3972 to
3973 + 662cf54de7a103db30e04ebae2d2b919437c4846:
3974 Remote: Fix an issue that a failed action could lead to
3975 RuntimeException caused by InterruptedException thrown when
3976 acquiring gRPC connections.
3977 https://github.com/bazelbuild/bazel/issues/13239
3978 + a3a1763212f29932618b9b9b2f929976ae0e3b6e:
3979 Pass more `--add-exports=` flags
3980 + d2b942879471786e82f1c96eea8722bbe7919fc1:
3981 Remote: Fixed a bug that remote cache is missed due to
3982 executable bit is changed
3983 + 616dc264f02907d7b7887285d22307dfe6d097b6:
3984 Fix Bazel Coverage with C++ to work with Remote Execution
3985 + 5f40d12e741aa30d506eaa15673fb2ae76d29468:
3986 Fix external_path_test with newer Xcode versions.
3987 + b416193075642017e13c774422b49cb07fb65c23:
3988 Allow using embedded tools in sandboxed spawn runners.
3989 + eb762d4e7431637e607146b1c191485795047ef9:
3990 Fix racy write of temporary files while staging virtual inputs
3991 for the sandbox.
3992 + f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
3993 Update platforms_test to not rely on filegroup not using
3994 toolchain
3995 + 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
3996 Update SkyframeTests to not rely on filegroup not using toolchain
3997 + 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
3998 Update ConfigurableAttributesTest to not rely on filegroup not
3999 using …
4000 + 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
4001 Make WorkerExecRoot not be a subclass of SandboxedSpawn.
4002 + 31db460a45767de0bcd664a6efbe9d163b85b802:
4003 Make WorkerExecRoot not be re-created on each createFileSystem()
4004 call. Preparation for holding a map of existing links, but also
4005 just nicer.
4006 + a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
4007 Start the file existence check traversal from the execroot base
4008 instead of execroot so that external repo files at
4009 "<execroot>/../<path>" are correctly handled when the sibling
4010 repository layout is enabled.
4011 + b048282c7893231d3a7191b251804973917b07a4:
4012 Use readdir for cleanExisting in WorkerExecRoot.
4013 + 270f00dd01fa06cf3e813da5a406be3446de7377:
4014 Add native support for Apple Silicon
4015 + 8e56b9423e8ad2f7323fb90b19b73858def81e39:
4016 Explicitly state that embedding macOS OpenJDK is for x86_64
4017 + 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
4018 Remote: Fix a race that AsyncTaskCache#Execution could be reused
4019 after disposed which results in
4020 CancellationException("disposed") propagated to downstream.
4021 + 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
4022 Remove wrapped_clang params files after use
4023 + 47edc57806056f3c8764241ed41b8acc72bd2ebf:
4024 Silence swiftmodule timestamp warnings
4025 + f6e1074b09ebefba185c0531e9cea26b9596c8a9:
4026 Remote: Use shutdownNow() instead of shutdown() in
4027 ChannelConnection#close() as a workaround to a gRPC bug.
4028 + 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
4029 And mnemonic and label to remote metadata
4030 + 6d28486e8eca70f76d13922944cb567b8aa09380:
4031 Change `set -x` in coverage to be set by var
4032 + 9b9de653355864e9700889ee36a3a49a450a2607:
4033 Bump minimal JDK install base maximum size from 290 to 295 MB.
4034 + 9e7e592ca51eba1a3f120320c41c845312894d74:
4035 Remote: Check the return value of ActionOwner.getLabel() since
4036 it could be `null`.
4037 + 14abe4fd7c3967686a3536939fdc3882e691bca2:
4038 Allow `DiffAwareness` to share precomputed information about the
4039 workspace and propagate it to the `WorkspaceStatusAction`.
4040 + 082d98772690946ed29c157e60640c97a6e1195b:
4041 Implement available() method for Windows subprocesses.
4042 + c2bdd034014f66ce14529cc353cda18a32320f6c:
4043 Move --repo_env to common options
4044 + e09f2743738044095b9d784ea62df16b7f5750e6:
4045 Revert "Documentation for #13110"
4046 + a165baa250652fdc865ae0df39160be1f7f74c47:
4047 Revert "Clean up RuleContext to use a Table instead of a Map of
4048 Maps."
4049 + 51fb9e13a864f4f704ae378ea632433bae7ddc31:
4050 Revert "Support execution constraints per exec group"
4051 + cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
4052 Revert "Allow exec groups to inherit from the rule or other exec
4053 groups."
4054```
4055
4056Important changes:
4057
4058 - Multiplex persistent workers can now use the JSON protocol.
4059
4060This release contains contributions from many people at Google, as well as Alex Eagle, Austin Schuh, Benjamin Peterson, Cristian Hancila, Daniel Wagner-Hall, Denys Kurylenko, Ed Schouten, Finn Ball, George Gensure, Keith Smiley, Lauri Peltonen, Philipp Schrader, Ryan Beasley, Thi Doan, Timothy Klim, Ulf Adams, Vaidas Pilkauskas, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yuval Kaplan, Yuval.
4061
Bazel Release System506f3192021-01-21 08:25:01 +01004062## Release 4.0.0 (2021-01-21)
4063
4064```
4065Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
4066
4067Cherry picks:
4068
4069 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
4070 Use getRunfilesPath for run_under executable path generation.
4071 getRootRelativePath doesn't return a valid runfiles path for
4072 external source files anymore after the recent external source
4073 root change. Also, it won't work for external labels either once
4074 the --nolegacy_external_runfiles becomes default. This fixes
4075 issue #12545.
4076 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
4077 Fix NPE when coveragerunner is not set on the toolchain.
4078 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
4079 Fix the classic query package-loading cutoff optimization with
4080 external workspaces.
4081 + d113d7454127bba78aa618dac81e5d164920b662:
4082 Update turbine
4083 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
4084 Support Scala3 .tasty files
4085 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
4086 Update to java_tools javac11 release 10.5 (#12647)
4087 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
4088 Fix common prefix for instrumentation filter
4089 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
4090 Fix builds for filegroup targets with incompatible dependencies
4091 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
4092 Revert "Remove
4093 --incompatible_blacklisted_protos_requires_proto_info"
4094 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
4095 Transform roots along with paths during output deletion.
4096 + e8835c1c221d76a2d5532d18083eaa04401619b3:
4097 AttributeContainer.Large now handles more than 127 attributes.
4098 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
4099 Add an env attribute to all test and binary rule classes
4100 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
4101 Take no action to prefetch empty artifacts.
4102 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
4103 Fix a couple of bugs with Incompatible Target Skipping
4104 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
4105 Pass --host_action_env to host options hostActionEnvironment
4106 attribute
4107 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
4108 Add --{no,}autodetect_server_javabase.
4109 + c83366064621d5a265eba14d93a03deff58fe6d8:
4110 Only treat "env" and "env_inherit" attrs specially for native
4111 rules
4112 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
4113 Fix coverage support when using default_java_toolchain. (#12801)
4114 + 4158a6f512e52516437e00f8d9609a91be7fc195:
4115 Revert JacocoCoverage target to remote_java_tools_java_import
4116 and add a new target for remore_java_tools_filegroup. (#12813)
4117 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
4118 Add windows_msvc back to conditions in bazel_tools.
4119```
4120
4121New features:
4122
4123 - Starlark-defined flags can now be shorthanded using --flag_alias.
4124
4125Important changes:
4126
4127 - Add --starlark:file option. This adds a capability to the
4128 (cquery)[https://docs.bazel.build/versions/master/cquery.html]
4129 feature in `--output=starlark` mode so that the expression to
4130 format output may
4131 be specified in a file.
4132 - Error messages emitted when an action fails are reworked to be
4133 more informative about the failing action. Some tooling may have
4134 to be updated as a result.
4135 - Querying with output=location now allows the relative_locations
4136 flag to properly display relative locations instead of the full
4137 path. Fixes https://github.com/bazelbuild/bazel/issues/3497.
4138 - --flag_alias can now be used without
4139 --experimental_enable_flag_alias
4140 - Remove no-op `--deep_execroot` flag
4141 - The BEP uses `AbortReason.OUT_OF_MEMORY` for abort events when
4142 the build tool is crashing due to OOM.
4143 - Added flag `incompatible_display_source_file_location` for `blaze
4144 query location=output` to print the location of line 1 of the
4145 actual source files instead of the source file targets. Provides
4146 a solution to https://github.com/bazelbuild/bazel/issues/8900.
4147 - The Starlark json module is now available.
4148 Use json.encode(x) to encode a Starlark value as JSON.
4149 struct.to_json(x) is deprecated and will be disabled by
4150 the --incompatible_struct_has_no_methods flag.
4151 - The flag `--incompatible_objc_compile_info_migration` is enabled
4152 by default. See #10854.
4153 - The flag `--incompatible_objc_provider_remove_compile_info` is
4154 enabled by default. See #11359.
4155 - Add `relative_ast_path` feature for darwin builds to relativize
4156 swiftmodule paths for debugging
4157 - Use proto.encode_text(x) to encode a Starlark value as textproto.
4158 struct.to_proto() is deprecated and will be disabled by
4159 the --incompatible_struct_has_no_methods flag.
4160 Both functions now reject list/dict fields that contain list/dict
4161 elements.
4162 - Add --starlark:file option. This adds a capability to the
4163 (cquery)[https://docs.bazel.build/versions/master/cquery.html]
4164 feature in `--output=starlark` mode so that the expression to
4165 format output may be specified in a file.
4166 See [Configured Query Starlark
4167 Output](//docs.google.com/document/d/1kL6Tdmp6uLBa9lq_DbUSjIC87glO
4168 zKIyPoBeF95Rs4c/edit)
4169 - Flipped --incompatble_proto_output_v2 for aquery.
4170 - The --incompatible_load_java_rules_from_bzl flag is now a no-op.
4171 - The --incompatible_load_proto_rules_from_bzl flag is now a no-op.
4172 - Flipped --incompatible_force_strict_header_check_from_starlark
4173 - --incompatible_string_replace_count is flipped and removed
4174 (#11244)
4175 - Bazel skips incompatible targets based on target platform
4176 and `target_compatible_with` contents. See
4177 https://docs.bazel.build/versions/master/platforms.html for more
4178 details.
4179 - Bazel returns exit code 36 (rather than 1) if it fails to start a
4180 subprocess in a local sandbox due to environmental issues, for
4181 example, if the argument list is too long.
4182 - //tools/build_defs/pkg:pkg_rpm is no longer built in to Bazel.
4183 See https://github.com/bazelbuild/bazel/issues/11218 for
4184 instructions
4185 on how to migrate to the replacement.
4186 - Javac now supports multiplex workers.
4187 - The `--default_ios_provisioning_profile` flag has been removed
4188 (it was a no-op).
4189 - Add support for using AndroidX dependencies in
4190 data-binding-enabled targets.
4191 - Fix data-binding generation for android_local_test.
4192 - Enable debug_prefix_map_pwd_is_dot feature by default on macOS,
4193 this passes `-fdebug-prefix-map=$PWD=.` for every compile to
4194 remove absolute paths from debug info.
4195 - --incompatible_run_shell_command_string is enabled by default
4196 (#5903)
4197 - py_binary now tolerates package paths that contain hyphens ('-').
4198 Note that such paths might not be importable from within Python
4199 code.
4200 - C++ Starlark API requires linker_inputs wrapping library_to_link.
4201 #10860
4202 - Toolchain rule is extended with target_settings attribute.
4203 - --incompatible_restrict_string_escapes=true is now the default.
4204 Unnecessary backslashes such as "\." in string literals are now
4205 an error, instead of being silently treated as "\\.".
4206 To fix the error while preserving behavior, double the backlash.
4207 However, the error is often a sign that the original code was
4208 wrong.
4209 - Propagate instrumented files for transitive sources of
4210 `android_library` and `android_binary`
4211 - --local_resources and --incompatible_remove_local_resources have
4212 been removed. If you've been setting --local resources or
4213 --incompatible_remove_local_resources=false, you must migrate to
4214 using --local_ram_resources and --local_cpu_resources instead.
4215 - Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
4216 - --incompatible_avoid_conflict_dlls=true is now the default.
4217 - Dynamic execution now uses the new scheduler by default.
4218 - Dynamic execution now uses the new scheduler by default.
4219 - The new dynamic scheduler is now the default.
4220
4221This 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.
4222
Bazel Release System58c80412020-12-17 11:04:01 -05004223## Release 3.7.2 (2020-12-17)
4224
4225```
4226Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
4227
4228Cherry picks:
4229
4230 + 0d14ec84a06c4da628a7f6d9d1c5f9314392ab15:
4231 Release 3.7.0 (2020-10-20)
4232 + d563446a77b906807cea86f5c2abafa5900d901a:
4233 Add `-XDcompilePolicy=simple` to default javacopts
4234 + 6336264e4b0d8cc422ec73e1b923bf8014ace778:
4235 Update rules_cc reference to head of rules_cc as of 2020-11-11.
4236 + b3f934680554515aa312b5dd4453df5cd38f0aea:
4237 Bump rules_cc to support llvm 11.0.0 clang-cl compiler on Windows
4238 + e055b433efdccb28b9c21082e72d8e79d9b34e0f:
4239 Remove accidentally re-added
4240 tools/jdk/java_toolchain_default.bzl.
4241 + 02838a1b2aa2f6d03980536ab2ac6840c3c98e84:
4242 Avoid the spawn cache if executing dynamically.
4243 + d0efd7b9e5109ff5ac6d13c91f58c3fc4dc3afd8:
4244 Release 3.7.1 (2020-11-24)
4245 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
4246 Use getRunfilesPath for run_under executable path generation.
4247 getRootRelativePath doesn't return a valid runfiles path for
4248 external source files anymore after the recent external source
4249 root change. Also, it won't work for external labels either once
4250 the --nolegacy_external_runfiles becomes default. This fixes
4251 issue #12545.
4252```
4253
4254Important changes:
4255
4256 - Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
4257
4258This release contains contributions from many people at Google, as well as William A Rowe Jr.
4259
Bazel Release Systemd0efd7b2020-11-24 12:34:38 -05004260## Release 3.7.1 (2020-11-24)
4261
4262```
4263Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
4264
4265Cherry picks:
4266
4267 + 0d14ec84a06c4da628a7f6d9d1c5f9314392ab15:
4268 Release 3.7.0 (2020-10-20)
4269 + d563446a77b906807cea86f5c2abafa5900d901a:
4270 Add `-XDcompilePolicy=simple` to default javacopts
4271 + 6336264e4b0d8cc422ec73e1b923bf8014ace778:
4272 Update rules_cc reference to head of rules_cc as of 2020-11-11.
4273 + b3f934680554515aa312b5dd4453df5cd38f0aea:
4274 Bump rules_cc to support llvm 11.0.0 clang-cl compiler on Windows
4275 + e055b433efdccb28b9c21082e72d8e79d9b34e0f:
4276 Remove accidentally re-added
4277 tools/jdk/java_toolchain_default.bzl.
4278 + 02838a1b2aa2f6d03980536ab2ac6840c3c98e84:
4279 Avoid the spawn cache if executing dynamically.
4280```
4281
4282Important changes:
4283
4284 - Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
4285
4286This release contains contributions from many people at Google, as well as William A Rowe Jr.
4287
Bazel Release System8cffdf12020-10-20 09:22:27 -04004288## Release 3.7.0 (2020-10-20)
4289
4290```
4291Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
4292```
4293
4294Incompatible changes:
4295
4296 - The syntax //foo/BUILD can no longer be used on the command line
4297 to refer to the //foo:BUILD target. Use //foo:BUILD (preferred)
4298 or foo/BUILD instead. This does not affect BUILD/bzl files, where
4299 that syntax already didn't work.
4300 - This removes `--objc_header_scanner_tool`. The flag was primarily
4301 used internally, and to our knowledge, a compatible tool was
4302 never released. Therefore this flag is believed to be unused.
4303
4304New features:
4305
4306 - select() directly supports constraint_value (no need for an
4307 intermediate config_setting).
4308
4309Important changes:
4310
4311 - Non-android targets can again be built when
4312 android_sdk_repository is present but invalid.
4313 - Add a build variable for -install_name / -soname.
4314 - Add a build variable for -install_name / -soname.
4315 - Include "resources" attr in dependency attributes for java_*
4316 coverage configuration.
4317 - --trim_test_configuration should work for almost all cases when a
4318 non-test target depends on a test.
4319 - Javac now supports multiplex workers.
4320 - Javac now supports multiplex workers.
4321 - Blaze now allows symbolic links that point to their own ancestor
4322 unless they are traversed recursively by e.g. a //... recursive
4323 target pattern or a recursive glob.
4324 - Blaze now allows symbolic links that point to their own ancestor
4325 unless they are traversed recursively by e.g. a //... recursive
4326 target pattern or a recursive glob.
4327 - Blaze now allows symbolic links that point to their own ancestor
4328 unless they are traversed recursively by e.g. a //... recursive
4329 target pattern or a recursive glob.
4330 - Generated Go protobufs no longer depend on //net/proto2/go:proto
4331
4332This release contains contributions from many people at Google, as well as Benjamin Peterson, Cristian Hancila, Ed Schouten, Fredrik Medley, Greg Estren, jgehw, Jin, Kalle Johansson, Keith Smiley, Kseniia Vasilchuk, Michael Eisel, Michael Hackner, Michael Krasnyk, Mostyn Bramley-Moore, Ruixin Bao, Samuel Giddins, Simon Stewart, Torgil Svensson, Ulf Adams, Vasilios Pantazopoulos, Wenyu Zhang, Yannic Bonenberger, yoav-steinberg.
4333
Bazel Release System76152be2020-10-06 15:07:12 +02004334## Release 3.6.0 (2020-10-06)
Bazel Release System72817e32020-10-01 00:30:50 -04004335
4336```
Bazel Release System76152be2020-10-06 15:07:12 +02004337Baseline: aa0d97c0bfc4c09ec6f45303aa80052ba28afbd9
Bazel Release System72817e32020-10-01 00:30:50 -04004338
4339Cherry picks:
4340
Bazel Release System76152be2020-10-06 15:07:12 +02004341 + 32c88da98f301333dc447b75564459165368d418:
4342 Patch RuleContext for android_binary.deps to restore legacy
4343 behavior.
4344 + db9fc88fed387f09067a9250a731f8bf9ad74b05:
4345 android_test also needs the legacy behavior in
4346 RuleContext.getPrerequisites.
4347 + 144d5149a0c50e464dd1be0769fed2ce33ab26a4:
4348 Update android_sdk_repository to create a valid, but useless,
4349 repository
4350 + bb11f9235da52eb3b3e462ce0286f1a89188cb89:
Bazel Release System72817e32020-10-01 00:30:50 -04004351 Patch upb to fix build error with gcc 10
Bazel Release System76152be2020-10-06 15:07:12 +02004352 + 9f06be482aea3fcadeaf8fca6e48b32f224eba2e:
Bazel Release System72817e32020-10-01 00:30:50 -04004353 Patch upb to fix build error with gcc 10 (third_party)
Bazel Release System76152be2020-10-06 15:07:12 +02004354 + b67b75e3a62f5433d812993f3702f431b6967e86:
4355 Fix issue where libtool_check_unique isn't found for sandbox
4356 builds
Bazel Release System72817e32020-10-01 00:30:50 -04004357```
4358
Bazel Release System76152be2020-10-06 15:07:12 +02004359Incompatible changes:
4360
4361 - `--experimental_ui_limit_console_output` is removed. Users of
4362 `--experimental_ui_limit_console_output=1` for silencing terminal
4363 output should use `--ui_event_filters=` instead.
4364 - --proto:instantiation_stack must be enabled in addition to
4365 --record_rule_instantiation_callstack to see call stack in proto
4366 output from blaze query.
4367
Bazel Release System72817e32020-10-01 00:30:50 -04004368New features:
4369
4370 - cc_common.compile support for include_prefix/strip_include_prefix
Bazel Release System76152be2020-10-06 15:07:12 +02004371 - Multiplexed persistent workers: Use
4372 --experimental_worker_max_multiplex_instances to configure the
4373 number of WorkRequests that are sent concurrently to one worker
4374 process. The --worker_max_instances flag will no longer be used
4375 to determine max instances for multiplex workers, since the two
4376 have different resource requirements. Multiplex workers will by
4377 default have a max instances of 8.
Bazel Release System72817e32020-10-01 00:30:50 -04004378
4379Important changes:
4380
Bazel Release System76152be2020-10-06 15:07:12 +02004381 - The prelude file (//tools/build_rules:prelude_bazel) is now
4382 processed as a Starlark module, rather than being sourced into
4383 the BUILD file textually. This may cause slight breakages
4384 depending on the content of the prelude file. (Use of the prelude
4385 file is discouraged as it will be removed in the long term.)
4386 - Removed --experimental_ignore_deprecated_instrumentation_spec and
4387 cleaned up the old deprecated behavior.
4388 - Added CODEBASE.md, a description of the Bazel codebase.
Bazel Release System72817e32020-10-01 00:30:50 -04004389 - Removed the flag --experimental_transparent_compression.
4390 - Removed the flag --experimental_action_args.
4391 - Stop needlessly parsing WORKSPACE files from external
4392 repositories.
4393 - Dot ('.') is now allowed in workspace names. See
4394 https://github.com/bazelbuild/bazel/issues/11837.
Bazel Release System76152be2020-10-06 15:07:12 +02004395 - This change can cause memory and performance regressions for some
4396 builds with C++ dependencies, due to extra actions being executed.
4397 RELNOTES: None
4398 - Building Android apps for legacy multi-dex (pre-L) now require a
4399 main-dex list if the application does not fit into a single DEX
4400 file.
4401 - Puts the experimental_worker_multiplex flag to use.
4402 - In Starlark, the Args object supports a new parameter file format
4403 'flag_per_line', compatible with the Abseil flags library.
4404 - The flag --incompatible_no_support_tools_in_action_inputs is
4405 removed.
4406 - Support for NDK 21 added
4407 - Bazel will now skip printing action stdout/stderr contents if
4408 they exceed --experimental_ui_max_stdouterr_memory_bytes.
4409 - The Starlark interpreter now correctly emits an error
4410 if the operand of the first loop in a list comprehension
4411 refers to a variable bound by a later loop, such as y in
4412 this example:
4413 [e1 for x in f(y) in e2 for y in e3] # error: undefined y
4414 ^
4415 This may cause latent dynamic errors to become static errors.
4416 - Added support for a 'supports-graceful-termination' execution
4417 requirement and tag, which causes Bazel to send a SIGTERM to any
4418 tagged
4419 actions before sending a delayed SIGKILL. This is to give
4420 actions, and more
4421 specifically tests, a chance to clean up after themselves.
4422 - Non-android targets can again be built when
4423 android_sdk_repository is present but invalid.
Bazel Release System72817e32020-10-01 00:30:50 -04004424
Bazel Release System76152be2020-10-06 15:07:12 +02004425This release contains contributions from many people at Google, as well as Benjamin Peterson, Daniel Wagner-Hall, Dave MacLachlan, David Ostrovsky, Emil Kattainen, George Gensure, Greg Estren, Keith Smiley, mai12, Mai Hussien, Michael Eisel, Per Halvor Tryggeseth, Ruixin Bao, Samuel Giddins, Steeve Morin, Thi Doan, Tom de Goede, Ulf Adams, Zhongpeng Lin.
Bazel Release System72817e32020-10-01 00:30:50 -04004426
Bazel Release System2b051be2020-09-02 15:41:41 -04004427## Release 3.5.0 (2020-09-02)
4428
4429```
4430Baseline: 889bc0b523b47eeb38a72bf9bb6858ee525a7c7e
4431
4432Cherry picks:
4433
Bazel Release System57f0b7c2020-09-02 16:07:55 -04004434 + a7a0d48fbeb059ee60e77580e5d05baeefdd5699:
4435 Make no-op starlark transition not affect the output directory.
4436 + b37c51c7085f0aefe04034dd451acb847605ddb5:
4437 Add include_prefix and strip_include_prefix to cc_common.compile
4438 + f6ad35fcde93f92c591778ed7db38d167f5bbc03:
4439 Delete --experimental_transparent_compression
4440 + 39bc97eab295bddb35b38bfc4a2ff3d2b15d034e:
4441 Remove --experimental_action_args
4442 + b9706675a7abf6ceebb250f0b3dfa4087a0c35f6:
4443 Stop needlessly parsing WORKSPACE files from external
4444 repositories.
4445 + e574d558da17cfd0f818e7a937a07926aa270069:
4446 Allow hyphen char in workspace name
4447 + 9993785fa0c4fa4172aa31d306f3abea76833abf:
4448 Allow dot ('.') in workspace names.
4449```
4450
4451New features:
4452
4453 - cc_common.compile support for include_prefix/strip_include_prefix
4454
4455Important changes:
4456
4457 - Removed the flag --experimental_transparent_compression.
4458 - Removed the flag --experimental_action_args.
4459 - Stop needlessly parsing WORKSPACE files from external
4460 repositories.
4461 - Dot ('.') is now allowed in workspace names. See
4462 https://github.com/bazelbuild/bazel/issues/11837.
4463
4464This release contains contributions from many people at Google, as well as David Ostrovsky.
4465
4466## Release 3.5.0 (2020-09-02)
4467
4468```
4469Baseline: 889bc0b523b47eeb38a72bf9bb6858ee525a7c7e
4470
4471Cherry picks:
4472
Bazel Release System2b051be2020-09-02 15:41:41 -04004473 + d6b9469efebd200a39d7fd43876a18822fcdbe7b:
4474 Make no-op starlark transition not affect the output directory.
4475 + b37c51c7085f0aefe04034dd451acb847605ddb5:
4476 Add include_prefix and strip_include_prefix to cc_common.compile
4477 + 0ebb1d5a5388109e3f026a355c77fdf0121f3a43:
4478 Delete --experimental_transparent_compression
4479 + 312e121c70aebfaa91b0a3106fa964e0bc12d1df:
4480 Remove --experimental_action_args
4481 + 7e6e855bb82734f582e03c2c7fad3148c139d0e0:
4482 Stop needlessly parsing WORKSPACE files from external
4483 repositories.
4484 + d4049f6f85efb8f48d1f6b72764115af5b184831:
4485 Allow hyphen char in workspace name
4486 + 0a35be1843a2e4d49d5e5c3893cd6673705b7fb1:
4487 Allow dot ('.') in workspace names.
4488```
4489
4490Incompatible changes:
4491
4492 - The --experimental_process_wrapper_wait_fix flag (used
4493 purely to roll out a risky bug fix) has been removed.
4494 - Removed the --experimental_ui_deduplicate flag.
4495 - Bazel now correctly prefers Xcode versions in `/Applications`
4496 over any other paths, which resolves an issue with accidentally
4497 picking up an Xcode version from a Time Machine backup or network
4498 disk. In the improbable case that you relied on the old behavior
4499 and Bazel now picks up Xcode from the wrong location, you can fix
4500 it by moving that Xcode version to /Applications.
4501
4502New features:
4503
4504 - cquery now follows aspects with --include_aspects.
4505 - cc_common.compile support for include_prefix/strip_include_prefix
4506
4507Important changes:
4508
4509 - Add support to bazel/crosstool for building arm64 on macos aka
4510 darwin
4511 - Add opt in 'oso_prefix_is_pwd' feature for Apple builds
4512 - Add InstrumentedFilesInfo provider to Starlark globals.
4513 - Fixed resource shrinking when <overlayable/> tags are used.
4514 - Remove old incompatible flag
4515 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
4516 s_tree.
4517 - Update coverage configuration for Python, filegroup, and shell
4518 script rules to distinguish between source and dependency
4519 attributes.
4520 - Add support to bazel/crosstool for building arm64e on macos aka
4521 darwin
4522 - Make filegroup always forward InstrumentedFilesProvider and not
4523 collect any sources directly.
4524 - Support signing key rotation in android_binary
4525 - Remove legacy handling of --extra_checks
4526 - Support signing key rotation in android_binary
4527 GO...
4528 - `--apple_bitcode` now takes an optional platform and only applies
4529 the Bitcode mode to that platform if present. The option may be
4530 provided multiple times.
4531 - Support signing key rotation in android_binary
4532 - NS_BLOCK_ASSERTIONS is now passed for all Apple architectures.
4533 - Major changes to reporting of Starlark errors and the call stack.
4534 (Please be alert to possible regressions, such as errors that
4535 lack relevant location information.)
4536 - Removed the flag --experimental_transparent_compression.
4537 - Removed the flag --experimental_action_args.
4538 - Stop needlessly parsing WORKSPACE files from external
4539 repositories.
4540 - Dot ('.') is now allowed in workspace names. See
4541 https://github.com/bazelbuild/bazel/issues/11837.
4542
4543This release contains contributions from many people at Google, as well as Adam Gross, Andrew Suffield, Benjamin Peterson, bnczk, David Ostrovsky, Ed Schouten, Greg Estren, Grzegorz Lukasik, Holger Freyther, Kalle Johansson, Keith Smiley, Kerrick Staley, Kyle Teske, Mostyn Bramley-Moore, Ryan Beasley, Ryan Pavlik, Siggi Simonarson, Stiopa Koltsov, Ulf Adams, Xiaoyi Shi, Yannic Bonenberger, Yesudeep Mangalapilly.
4544
Bazel Release Systemd917bf22020-07-14 08:24:10 +02004545## Release 3.4.1 (2020-07-14)
4546
4547```
4548Baseline: 7404d17ac76da876ae0b432d1fccf222a9e991fe
4549
4550Cherry picks:
4551
4552 + f31f2d787116120b2b16e9aa9a64fab171c0d954:
4553 fixup! Gracefully handle the lack of subreaper support in Linux.
4554 + 3a4f221e3c57495c1ed0d1ec8128f92323b13079:
4555 Revert "Replace the remaining dependencies for Bazel Debian
4556 build (third_party)"
4557 + c55ec0f2cb3f5b44e5025bf9d3c5dc91d94db287:
4558 Revert "Upgrade gRPC to 1.26.0"
4559```
4560
4561This release contains contributions from many people at Google, as well as Ryan Beasley.
4562
Bazel Release System93262a52020-07-13 17:23:50 +02004563## Release 3.4.0 (2020-07-13)
4564
4565```
4566Baseline: 7404d17ac76da876ae0b432d1fccf222a9e991fe
4567
4568Cherry picks:
4569
4570 + a4334be50a206bf8d676a0196af11056c48ac35b:
4571 fixup! Gracefully handle the lack of subreaper support in Linux.
4572```
4573
4574Incompatible changes:
4575
4576 - This removes the short-lived --process_wrapper_extra_flags
4577 flag, which was introduced primarily to roll out a bug fix.
4578 Unfortunately,
4579 this made us inadvertently expose all of the process-wrapper's
4580 command line
4581 interface to the public, which should not have happened. Given
4582 the corner
4583 case of the utility of this flag, the lack of documentation for
4584 it, and the
4585 fact that it only appeared in a single release, we are treating
4586 this as a
4587 bug instead of a backwards compatibility breakage.
4588
4589New features:
4590
4591 - bazel info: Allow to specify multiple keys.
4592 - Support code coverage with GCC 9.
4593
4594Important changes:
4595
4596 - Allow InstrumentedFilesInfo fields to be read from Starlark.
4597 - The --starlark_cpu_profile=<file> flag writes a profile in
4598 pprof format containing a statistical summary of CPU usage
4599 by all Starlark execution during the bazel command. Use it
4600 to identify slow Starlark functions in loading and analysis.
4601 - The --debug_depset_flag has been removed as it is in effect
4602 always on at no cost.
4603 - Rule authors should use the
4604 incompatible_use_toolchain_transition rule attribute to migrate
4605 to using
4606 the toolchain transition. jcater to udpate notes further.
4607 - `apple_binary` rules now accept the `stamp` attribute with the
4608 same
4609 semantics that it has in `cc_binary` rules.
4610 - --incompatible_objc_provider_remove_compile_info turns off
4611 the compile info/mege_zip Starlark APIs in ObjcProvider. See
4612 #11359.
4613 - The --debug_depset_flag has been removed as it is in effect
4614 always on at no cost.
4615 - Fix behavior of ctx.actions.write so content is written without
4616 an incorrect encoding to UTF-8.
4617 See https://github.com/bazelbuild/bazel/issues/10174 for details.
4618 - Collect more performance metrics for worker execution.
4619 - Add flag --incompatible_force_strict_header_check_from_starlark
4620 - Configure coverage and runfiles for sh_library.
4621 - Adds --incompatible_blacklisted_protos_requires_proto_info to
4622 indicate whether proto_lang_toolchain.blacklisted_protos requires
4623 ProtoInfo.
4624
4625This release contains contributions from many people at Google, as well as Andrzej Guszak, Benjamin Peterson, Benjamin Romano, Carlos Eduardo Seo, Claudio Bley, dannysullivan, David Ostrovsky, George Gensure, Graham Jenson, Grzegorz Lukasik, Gunnar Wagenknecht, Henk van der Laan, Jin, John Millikin, Marin Baron, Nikhil Marathe, Robin Nabel, Ryan Beasley, Samuel Giddins, Sergey Balabanov, utsav-dbx, Vo Van Nghia, Yannic Bonenberger.
4626
Bazel Release System97a53342020-06-30 11:05:57 -04004627## Release 3.3.1 (2020-06-30)
4628
4629```
4630Baseline: c063b5caf776dee665497b64c5c17d4ed7e6750a
4631
4632Cherry picks:
4633
4634 + cb798a475eb54087e1e83f8aa1dc1c54550877b5:
4635 Restore missing Building with Platforms docs.
4636 + 9be97678b02bbd45d164c8458c8fd4f7791cb7aa:
4637 Release 3.3.0 (2020-06-17)
4638 + 3b0439e37247a480e08337a6314d06231bdbafd3:
4639 Fix incorrect assumption of desugar persistent worker conditional
4640```
4641
4642This release contains contributions from many people at Google, as well as .
4643
Bazel Release System9be97672020-06-17 08:51:54 -04004644## Release 3.3.0 (2020-06-17)
4645
4646```
4647Baseline: c063b5caf776dee665497b64c5c17d4ed7e6750a
4648
4649Cherry picks:
4650
4651 + 23bd69d7499de097b15e6025cc0796bdbc9886b8:
4652 Restore missing Building with Platforms docs.
4653```
4654
4655Incompatible changes:
4656
4657 - The startup option --fatal_event_bus_exceptions is now a no-op
4658 and will be removed soon.
4659
4660New features:
4661
4662 - Bazel offers basic completion for the fish shell.
4663
4664Important changes:
4665
4666 - Add configuration_field for --custom_malloc to cpp config fragment
4667 - Flip --incompatible_objc_compile_info_migration to true. See
4668 #10854.
4669 - It is now possible to use different action mnemonics while still
4670 sharing the same pool of persistent workers. It requires setting
4671 a new property
4672 on the execution requirements (`worker-key-mnemonic`). The value
4673 overrides
4674 the action's mnemonic when it comes to reusing worker processes.
4675 - linkshared=1 in cc_binary no longer requires '.so' or '.dll' in
4676 the target name
4677 - Revert --incompatible_objc_compile_info_migration to false. See
4678 #10854.
4679 - Invoke clang with the correct -target flag when building for
4680 watchOS.
4681 - NA
4682 - Add experiment flag to forward InstrumentedFilesInfo from
4683 non-tool deps by default.
4684
4685This release contains contributions from many people at Google, as well as Abhishek Kumar, Adam Azarchs, Akira Baruah, Daniel Wagner-Hall, Derek Argueta, glukasiknuro, Greg Estren, Greg, Jason Furmanek, Jiri Dank, Keith Smiley, Kseniia Vasilchuk, Laurent Le Brun, Matt Mackay, Michael Klemm, Nikolay Shelukhin, Patrick Balestra, Rui Chen, Siggi Simonarson, sventiffe, Tobias Werth, Tom de Goede, Vladimir Chebotarev, Yannic Bonenberger.
4686
Bazel Release Systemb0ba5dc2020-05-27 19:50:27 +02004687## Release 3.2.0 (2020-05-27)
4688
4689```
4690Baseline: 1d93d26d9900328dcba0026bf21cb45cc37a4596
4691```
4692
4693Important changes:
4694
4695 - Renamed --experimental_slim_json_profile to --slim_profile.
4696 - Expose ctx.attr.write Args content for analysistest when possible
4697 - Added aquery_differ_v2 that works with the new aquery proto
4698 output format.
4699 - Add new flag, 'experimental_no_product_name_out_symlink', to omit
4700 creating '<product>-out' symlink if user specifies
4701 '--symlink_prefix' option.
4702 - --ram_utilization_factor is removed (as is
4703 --incompatible_remove_ram_utilization_factor). Please use
4704 --local_ram_resources.
4705 - Improve include scanner support for cl.exe and clang-cl command
4706 lines
4707 - ctx.split_attr now includes attributes with Starlark split
4708 transitions.
4709 - Added --incompatible_string_replace_count, to make
4710 string.replace() behave as in Python.
4711 - Bazel can now recursively delete non-executable but readable
4712 directories.
4713 - Restore case-sensitivity to -I and /I include scanning detection
4714 to avoid conflicts.
4715
4716This release contains contributions from many people at Google, as well as Alessandro Patti, Antoine Eiche, Beebs, Brian Silverman, George Gensure, Gerhard Pretorius, Gibson Fahnestock, Greg, Gregor Jasny, Gustav Westling, hannometer, Jin, Jonathan Gerrish, Josh Smith, Justin Y Wei, Laurent Le Brun, Links, liubang, Lszl Csomor, Matt Mackay, Moritz Krger, Ryan Beasley, Siddhartha Bagaria, Yannic Bonenberger, Yannic, Zhongpeng Lin.
4717
Bazel Release System3a59ab62020-04-21 17:37:54 +02004718## Release 3.1.0 (2020-04-21)
4719
4720```
4721Baseline: 17ebbf15bea3733c0c21e0376fb5906e391edb49
4722
4723Cherry picks:
4724
4725 + 71fb56b4bb669a419f473598c8722e125dbb5c9e:
4726 Suppress last-ditch download exceptions w/cleanup
4727 + fd60614c38da0db22431d91a793423904dff801f:
4728 In repo rules, don't warn about generator_* attributes being
4729 non-canonical
4730 + 2a372792f5cc09bd0e8389d5fc4bbfdd2f5d6e37:
4731 Refactor configureFeatures and prevent NPE
4732 + 777a6ee6ed95cae4ddb949d52b63ee8a66024f03:
4733 Automated rollback of commit
4734 0bbe38176e15d891a4e4cab2d8425e292de6cc5f.
4735 + 2ee53c9267eb6de8eae109950ca8f3953bf1ae66:
4736 Guard parseActionResultMetadata with bulk wrapper
4737```
4738
4739Incompatible changes:
4740
4741 - The deprecated startup options
4742 --experimental_oom_more_eagerly(_threshold) are removed.
4743
4744Important changes:
4745
4746 - Remove flag
4747 --incompatible_load_proto_toolchain_for_javalite_from_com_google_p
4748 rotobuf which has been flipped in Bazel 3.0.
4749 - Allow assembly file sources in cc_common.compile.
4750 - Set default .netrc file on Windows to %USERPROFILE%
4751 - A maximum 150 attributes per RuleClass is enforced
4752 - Increase max targets per rule class limit to 200
4753 - ctx.split_attr now includes attributes with Starlark split
4754 transitions.
4755 - The --max_computation_steps flag bounds the computation done by a
4756 BUILD file.
4757 - Native patch can handle file permission properly
4758 - Aspects may now propagate through dependencies on rule outputs by
4759 being defined with `apply_to_generating_rules = True`.
4760 - 'query --output=build' now shows where rule classes (not just
4761 rules) are created.
4762 - The flag `incompatible_bzl_disallow_load_after_statement` is
4763 removed.
4764 - ctx.split_attr now includes attributes with Starlark split
4765 transitions.
4766 - The flag `incompatible_no_output_attr_default` is removed.
4767 - Fix wall-time of the SpawnResult in WorkerSpawnRunner
4768 - Add stamp parameter for cc_common.link to enable including build
4769 info
4770 - The flag `--incompatible_restrict_named_params` is removed.
4771 - The flag `--incompatible_depset_union` is removed.
4772 - Bazel uses fewer compiler flags by default when building
4773 Objective-C. In
4774 particular, Bazel no longer sets `-O0`, `-DDEBUG=1`,
4775 `-fstack-protector`, `-fstack-protector-all`, or `-g` in dbg
4776 mode, and
4777 Bazel no longer sets `-Os`, `-DNDEBUG=1`, `-Wno-unused-variable`,
4778 `-Winit-self`, or `-Wno-extra` in opt mode. If you want to apply
4779 these
4780 flags to your project, you can reenable them in your CROSSTOOL.
4781 - A maximum attribute name length is 128 is enforced
4782
4783This release contains contributions from many people at Google, as well as Alessandro Patti, Benjamin Peterson, Benjamin Romano, Bor Kae Hwang, Chris Heisterkamp, Cristian Hancila, Dmitri G, Douglas Parker, George Gensure, Gregor Jasny, John Millikin, Keith Smiley, Leo, Mike Fourie, Patrick Balestra, Robbert Van Ginkel, Ryota, Samuel Giddins, Ulf Adams, Ulf Adams, Vertexwahn, Xavier Bonaventura, Yannic Bonenberger.
4784
Bazel Release System22018272020-04-06 08:49:47 -04004785## Release 3.0.0 (2020-04-06)
4786
4787```
4788Baseline: 3c7cc747ac653dca8b88a9e43726a794e2c27a9c
4789
4790Cherry picks:
4791
4792 + 19e214b44df9c82a8a3bd3381344f7145813c572:
4793 Use prefix encoding for paths.
4794 + 63b01f7b1cd6603a08bf2a8ae813388c201e3448:
4795 Avoid file operations in the sandbox creation critical path.
4796 + 80a2d7cc5f8a22816934dcd2ca9bdf87050f3d9f:
4797 Implementation (but not plumbing) of the gRPC remote downloader
4798 + 586eabf419972c74fdd5fef328cfe9a259e035ed:
4799 Implement RemoteDownloader w/ `--experimental_remote_downloader`
4800```
4801
4802Incompatible changes:
4803
4804 - Flip --incompatible_remove_enabled_toolchain_types, so that rules
4805 can no longer access enabled toolchain types from the platform
4806 fragment.
4807 - The --incompatible_use_jdk11_as_host_javabase flag has been
4808 removed (it was flipped in Bazel 0.25.0).
4809 - Using JDK 9 or 10 as a `--host_javabase` is no longer officially
4810 supported. As always, you can use the
4811 `@bazel_tools//tools/jdk:toolchain_vanilla` Java toolchain to use
4812 older or newer JDKs than what Bazel currently supports.
4813 - --fatal_event_bus_exceptions is deprecated and should not be
4814 used. Any crashes should be reported so that they can be fixed.
4815 - The old-style binary profile format is no longer suppported, use
4816 the new JSON trace profile instead.
4817
4818Important changes:
4819
4820 - Improve the performance of creating a sandboxed execution root
4821 for workers when the number of inputs is large (>1000).
4822 - Treat .cu and .cl files as C++ source. CUDA or OpenCL are not
4823 natively supported and will require custom flags to compile with
4824 e.g. clang.
4825 - Add actions' primary output details in JSON profile and
4826 analysis_v2.proto.
4827 - Add --cds_archive option for embedding CDS archive into deploy
4828 JAR.
4829 - Add new global attribute: applicable_licenses
4830 - Package level default with default_applicable_licenses
4831 - guarded by --incompatible_applicable_licenses (default true for
4832 Blaze, false for Bazel)
4833 - In support of
4834 https://docs.google.com/document/d/1uwBuhAoBNrw8tmFs-NxlssI6VRolid
4835 GYdYqagLqHWt8/edit#
4836 - Non-test Java rules no longer require the TestConfiguration and
4837 thus --trim_test_configuration is again usable for Java builds
4838 - The flag `--incompatible_always_check_depset_elements` is enabled
4839 by default.
4840 - --incompatible_objc_compile_info_migration determines
4841 whether native rules can assume compile info has been migrated to
4842 CcInfo. See https://github.com/bazelbuild/bazel/issues/10854.
4843 - --incompatible_remove_local_resources is true by default. Please
4844 use --local_ram_resources and --local_cpu_resources instead of
4845 --local_resources.
4846
4847This release contains contributions from many people at Google, as well as Alessandro Patti, Benjamin Peterson, Christy Norman, Dave hughes, David Haxton, David Neil, garyschulte, George Chiramel, George Gensure, Gibson Fahnestock, Greg Estren, Greg, Jason Hoch, Jin, John Millikin, Jonathan Springer, Keith Smiley, Laurent Le Brun, Ulf Adams, Yannic Bonenberger, Yannic, Yihong Wang, Yuchen Dai.
4848
Bazel Release System4b01eb52020-03-03 10:22:31 +01004849## Release 2.2.0 (2020-03-03)
Bazel Release Systeme53c0282020-02-21 15:49:31 +01004850
4851```
Bazel Release System4b01eb52020-03-03 10:22:31 +01004852Baseline: 78055efad0917b848078bf8d97b3adfddf91128d
Bazel Release Systeme53c0282020-02-21 15:49:31 +01004853```
4854
Bazel Release System4b01eb52020-03-03 10:22:31 +01004855Incompatible changes:
Bazel Release Systeme53c0282020-02-21 15:49:31 +01004856
Bazel Release System4b01eb52020-03-03 10:22:31 +01004857 - The --[no]incompatible_windows_bashless_run_command flag is no
4858 longer supported. It was flipped in Bazel 1.0
4859 - The --[no]incompatible_windows_native_test_wrapper flag is no
4860 longer supported. It was flipped in Bazel 1.0
4861
4862Important changes:
4863
4864 - Consistent target naming style in example target names.
4865 - cquery's config() now supports arbitrary configurations.
4866 - The flag --incompatible_disallow_dict_lookup_unhashable_keys is
4867 removed.
4868 - Include target label in Python version error message.
4869 - The flag --incompatible_remap_main_repo is removed.
4870 - Windows: we now discourage running Bazel from MSYS2 because of a
4871 newly found bug (#10573)
4872 - Reduced the packaging time (`package-bazel.sh`) for the
4873 `//src:bazel-dev` Bazel development build target from 14s to 6s.
4874 Use `//src:bazel-dev` if you're iterating rapidly on a local
4875 Bazel changes, and use `//src:bazel --compilation_mode=opt` for
4876 release builds.
4877 - cquery: "//foo:bar" now means "all configured targets with label
4878 //foo:bar" instead of "choose an arbitrary configured target with
4879 label //foo:bar". See cquery docs for details.
4880 - WORKSPACE and BUILD.bazel files of http_archive repositories can
4881 now be patched using the "patch_cmds" and "patches" attributes.
4882 - Actions with "parse" on the critical path should no longer finish
4883 in the future.
4884 - Flags that affect external repositories like
4885 "--override_repository" can now be addressed in bazelrc files
4886 using the "common" command, without causing commands like "bazel
4887 shutdown" to fail.
4888 - The flag --incompatible_disallow_unverified_http_downloads is
4889 removed.
4890 - Create the incompatibleApplicableLicenses flag.
4891 We plan to flip this from false to true in Bazel 4.x.
4892 Implementation to follow.
4893 - Treat .cu and .cl files as C++ source. CUDA or OpenCL are not
4894 natively supported and will require custom flags to compile with
4895 e.g. clang.
4896 - Treat .cu and .cl files as C++ source. CUDA or OpenCL are not
4897 natively supported and will require custom flags to compile with
4898 e.g. clang.
4899 - The --starlark_cpu_profile=<file> flag writes a profile in
4900 pprof format containing a statistical summary of CPU usage
4901 by all Starlark execution during the bazel command. Use it
4902 to identify slow Starlark functions in loading and analysis.
4903 - --ram_utilization_factor will be deprecated. Please use
4904 --local_ram_resources=HOST_RAM*<float>
4905 - Docs: glob() documentation is rewritten, and now it points out a
4906 pitfall of rules shadowing glob-matched files.
4907
4908This release contains contributions from many people at Google, as well as Alessandro Patti, Alex Kirchhoff, aman, Artur Dryomov, Benjamin Peterson, Benjamin Peterson, David Ostrovsky, Elliotte Rusty Harold, Eric Klein, George Chiramel, George Gensure, Guillaume Bouchard, Hui-Zhi, John Millikin, Jonathan Springer, Laurent Le Brun, Michael McLoughlin, nikola-sh, Nikolaus Wittenstein, Nikolay Shelukhin, Yannic Bonenberger, Yannic.
Bazel Release Systeme53c0282020-02-21 15:49:31 +01004909
Bazel Release Systeme6ee35f2020-02-07 13:56:14 +01004910## Release 2.1.0 (2020-02-07)
4911
4912```
4913Baseline: 41ec5a28fb30a8d6c5c60194c4bb29528352cf78
4914
4915Cherry picks:
4916
4917 + 733ac0ff7ad1e13ab68ceb2fde694d7ab71b2366:
4918 Adds an alias for d8_jar_import in android.WORKSPACE.
4919 + c94b1474b368dedf9f68f34fad90cc8664f2b0e0:
4920 Automatic code cleanup.
4921 + 2a8cc7075f741721563efd9dc050ca3458cde30b:
4922 Do not fail or print errors when Shellzelisk cannot find a
4923 requested ?
4924 + bdf34d7fd9539411e93348ba25307f34362d9a42:
4925 Fix race when extracting the install base when Bazel runs in a
4926 PID namespace.
4927 + d381c25bb7dd205c283f7ad91cac13190d2dfede:
4928 Fix wrong mode of install base directory.
4929 + eab39cc7b5a612f891fd1e5af5b45bdc1b66e6e1:
4930 Disable broken test_max_open_file_descriptors.
4931```
4932
4933Incompatible changes:
4934
4935 - The following attributes of CcToolchainProvider, which formerly
4936 were
4937 accessible both as fields (x.f) and as methods (x.f()), are now
4938 only fields:
4939
4940New features:
4941
4942 - Similar to the
4943 [.bazelignore](https://docs.bazel.build/versions/master/guide.html
4944 #.bazelignore) in the main repository, a `.bazelignore` file in
4945 external repository will cause the specified directories to be
4946 ignored by Bazel. Bazel won't try to identify any packages under
4947 the directories, but the files can still be referenced in other
4948 BUILD files.
4949 - bazelignore files now support line comments, e.g. "# this is a
4950 comment"
4951
4952Important changes:
4953
4954 - Experimental support for d8 merger is now available for use using
4955 --define=android_dexmerger_tool=d8_dexmerger.
4956 - Critical path run time should not have a longer run time than
4957 total execution run time.
4958 - Remove "please do not import" warning for cc rules.
4959 - x.f() is now equivalent to y=x.f; y(). That is, x.f should return
4960 the same
4961 attribute value regardless of whether it is accessed as a field
4962 or called
4963 like a method. Any arguments to the call are evaluated after the
4964 x.f operation.
4965 - Add desugaring support for RoleManager#addRoleHolderAsUser
4966 - Adds ctx.target_platform_has_constraint to allow rules to check
4967 the target platform's constraints.
4968 - Critical path run time should not have a longer run time than
4969 total execution run time.
4970 - Post new ConvenienceSymlinksIdentifiedEvent to the
4971 BuildEventProtocol when
4972 --experimental_convenience_symlinks_bep_event is enabled.
4973 - Keyword-only arguments are now allowed:
4974 def foo(a, *, k): pass
4975 def foo(a, *b, k): pass
4976 where k can be specified only by keyword:
4977 foo(5, k=6)
4978 - Generated Go protobufs now depend on //net/proto2/go:protodeps in
4979 addition to //net/proto2/go:proto
4980 - cquery 'somepath' returns more reliable results when the
4981 dep has a different configuration than the parent. To get a
4982 result for
4983 `somepath(//foo, //bar`) where //bar isn't in the top-level
4984 configuration,
4985 run your query with `--universe_scope=//foo`. See cquery docs for
4986 details.
4987
4988This release contains contributions from many people at Google, as well as Adam Liddell, Alessandro Patti, Andreas Herrmann, Bor Kae Hwang, Brian Silverman, Emran BatmanGhelich, George Gensure, Greg Estren, Jeff Palm, Jonathan Beverly, Mark Nevill, Patrick Niklaus, Peter, Philipp Wollermann, Ryan Beasley, Shin Yamamoto, Yen-Chi Chen.
4989
Bazel Release System59e36002019-12-19 13:26:27 +01004990## Release 2.0.0 (2019-12-19)
4991
4992```
4993Baseline: 807ed23e4f53a5e008ec823e9c23e2c9baa36d0d
4994
4995Cherry picks:
4996
4997 + db0e32ca6296e56e5314993fe9939bc7331768ec:
4998 build.sh: Fix bug in build script for RC release
4999 + 85e84f7812f04bc0dbc36376f31b6dd2d229b905:
5000 Set --incompatible_prohibit_aapt1 default to true.
5001 + 84eae2ff550c433a3d0409cf2b5525059939439d:
5002 Let shellzelisk fallback to bazel-real if it's the requested
5003 version.
5004 + d5ae460f1581ddf27514b4be18255481b47b4075:
5005 Fix a typo in bazel.sh
5006```
5007
5008Incompatible changes:
5009
5010 - --incompatible_remap_main_repo is enabled by default. Therefore,
5011 both ways of addressing the main repository, by its name and by
5012 '@' are now considered referring to the same repository.
5013 see https://github.com/bazelbuild/bazel/issues/7130
5014 - --incompatible_disallow_dict_lookup_unhashable_keys is enabled by
5015 default https://github.com/bazelbuild/bazel/issues/9184
5016 - --incompatible_remove_native_maven_jar is now enabled by default
5017 and the flag removed. See https://github.com/bazelbuild/bazel/issues/6799
5018 - --incompatible_prohibit_aapt1 is enabled by default.
5019 See https://github.com/bazelbuild/bazel/issues/10000
5020
5021Important changes:
5022
5023 - --incompatible_proto_output_v2: proto v2 for aquery proto output
5024 formats, which reduces the output size compared to v1. Note that
5025 the messages' ids in v2 are in uint64 instead of string like in
5026 v1.
5027 - Adds --incompatible_remove_enabled_toolchain_types.
5028 - Package loading now consistently fails if package loading had a
5029 glob evaluation that encountered a symlink cycle or symlink
5030 infinite expansion. Previously, such package loading with such
5031 glob evaluations would fail only in some cases.
5032 - The --disk_cache flag can now also be used together
5033 with the gRPC remote cache.
5034 - An action's discover inputs runtime metrics is now categorized as
5035 parse time on the CriticalPathComponent.
5036 - Make the formatting example more like to the written text by
5037 adding an initial description.
5038 - An action's discover inputs runtime metrics is now categorized as
5039 parse time on the CriticalPathComponent.
5040 - Bazel's Debian package and the binary installer now include an
5041 improved wrapper that understands `<WORKSPACE>/.bazelversion`
5042 files and the `$USE_BAZEL_VERSION` environment variable. This is
5043 similar to what Bazelisk offers
5044 (https://github.com/bazelbuild/bazelisk#how-does-bazelisk-know-whi
5045 ch-bazel-version-to-run-and-where-to-get-it-from), except that it
5046 works offline and integrates with apt-get.
5047 - We are planning to deprecate the runfiles manifest files, which
5048 aren't safe in the presence of whitespace, and also unnecessarily
5049 require local CPU when remote execution is used. This release
5050 adds --experimental_skip_runfiles_manifests to disable the
5051 generation of the input manifests (rule.manifest files) in most
5052 cases. Note that this flag has no effect on Windows by default or
5053 if --experimental_enable_runfiles is explicitly set to false.
5054
5055This release contains contributions from many people at Google, as well as aldersondrive, Benjamin Peterson, Bor Kae Hwang, David Ostrovsky, Jakob Buchgraber, Jin, John Millikin, Keith Smiley, Lauri Peltonen, nikola-sh, Peter Mounce, Tony Hsu.
5056
Bazel Release System5be24a82019-11-26 16:19:50 +01005057## Release 1.2.1 (2019-11-26)
5058
5059```
5060Baseline: 11deef7582dfeec7a04ee3f7236393d9b8027367
5061
5062Cherry picks:
5063
5064 + c76c3e539c73ecf6e96e3e098be7be59e17bf276:
5065 Replace macOS CC path with relative path
5066 + 63332eb556fadfe9edd0806add79942482adddef:
5067 Hardcode path to dirname on macOS
5068 + ceadf0a063cb97c32aced143d2447781d1dafc38:
5069 Add tool executables (from FilesToRunProvider) to action inputs.
5070 + dbe63b00954a25fa4405f7cbf273df78c16498dd:
5071 Fix some of the bazel Windows tools code to work with GCC.
5072```
5073
5074This release fixes a single regression:
5075- #10297: Bazel 1.2.0 does no longer run on macOS High Sierra.
5076
5077It is the same code as Bazel 1.2.0, except that we rebuild the macOS release
5078binaries with Xcode 10.2.1 to make them backwards compatible with older macOS
5079versions again.
5080
Bazel Release Systemef69db82019-11-20 16:01:18 +01005081## Release 1.2.0 (2019-11-20)
5082
5083```
5084Baseline: 11deef7582dfeec7a04ee3f7236393d9b8027367
5085
5086Cherry picks:
5087
5088 + c76c3e539c73ecf6e96e3e098be7be59e17bf276:
5089 Replace macOS CC path with relative path
5090 + 63332eb556fadfe9edd0806add79942482adddef:
5091 Hardcode path to dirname on macOS
5092 + ceadf0a063cb97c32aced143d2447781d1dafc38:
5093 Add tool executables (from FilesToRunProvider) to action inputs.
5094 + dbe63b00954a25fa4405f7cbf273df78c16498dd:
5095 Fix some of the bazel Windows tools code to work with GCC.
5096```
5097
5098Incompatible changes:
5099
5100 - Tree artifacts and regular artifact paths can no longer overlap.
5101
5102New features:
5103
5104 - Added a special "_validation" output group to enable moving
5105 "validation actions" off the critical path of builds.
5106
5107Important changes:
5108
5109 - The query flag "--host_deps" (commonly used as "--nohost_deps")
5110 has been renamed to "--tool_deps", and now also removes
5111 dependencies in any execution configuration from being reported
5112 in the query output. The previous flag name is deprecated and
5113 will be removed in a future release.
5114 - The `cc_common.{compile,link}` APIs can now be used without
5115 passing the `--experimental_cc_skylark_api_enabled_packages` flag.
5116 - A list of log paths will be provided in build output.
5117 - Improve runfiles documentation.
5118 - Improve documentation on rule outputs.
5119 - BUILD/.bzl execution errors cause execution to stop, even at
5120 top-level
5121 - Multiple Starlark validation errors are reported in a single pass.
5122 - Introduce --experimental_nested_set_as_skykey_threshold
5123 - Blaze will prevent idle sleep during test and build actions. Note
5124 that this does not affect screen savers and will not keep a
5125 laptop awake if the user forces sleep or closes the lid. This is
5126 purely to avoid idle sleeping when the user is not interacting
5127 with the device.
5128 - Improve testing docs.
5129 - Incompatible flag
5130 `--incompatible_validate_top_level_header_inclusions` has been
5131 added. See https://github.com/bazelbuild/bazel/issues/10047 for
5132 details.
5133 - Fix an aquery bug with handling malformed queries that crashes
5134 bazel.
5135 - List fields on CcLinkingOutputs.
5136 - [Python] Added flag --incomaptible_default_to_explicit_init_py to
5137 switch the default value of legacy_create_init to True. With this
5138 flag enabled, your py_binary and py_test targets will no longer
5139 behave as if empty __init__.py files were implicitly littered in
5140 your runfiles tree. See
5141 [#10076](https://github.com/bazelbuild/bazel/issues/10076).
5142 - Fix documentation on allowed target names.
5143 - --target_platform_fallback now also applies to exec/host
5144 configurations
5145 - android_binary and android_libary can now depend on targets
5146 providing
5147 CcInfos.
5148 - Add support for tracking suspensions (sleeps or SIGSTOP) on macOS.
5149 - d8 dexers (both standalone and incremental) are now available for
5150 use.
5151 - Add Desugar support for FreezePeriod#<init>
5152
5153This release contains contributions from many people at Google, as well as Alex Kirchhoff, Andrew Suffield, Asaf Flescher, Austin Schuh, Benjamin Peterson, Bor Kae Hwang, Brian Richardson, Christy Norman, Clint Harrison, Dan Halperin, Daniel Martn, Dave Lee, David Neil, David Ostrovsky, George Gensure, Greg Estren, Greg, Ira Shikhman, Jacob Parker, Jakub Bujny, John Millikin, John Millikin, Keith Smiley, Laurent Le Brun, marcohu, Marwan Tammam, Mostyn Bramley-Moore, Peter Mounce, Ruben Das, Stepan Koltsov, Thi Don, Thi, Tomasz Strejczek, Walt Panfil, Yannic Bonenberger, Zackary Lowery.
5154
Bazel Release Systemf15bfb32019-10-21 12:49:43 +02005155## Release 1.0.1 (2019-10-21)
Bazel Release Systeme693c192019-10-21 10:40:19 +02005156
5157```
Bazel Release Systemf15bfb32019-10-21 12:49:43 +02005158Baseline: 97a82646dadd93bf52d47828bda42e3383b657c6
Bazel Release Systeme693c192019-10-21 10:40:19 +02005159
5160Cherry picks:
5161
Bazel Release Systemf15bfb32019-10-21 12:49:43 +02005162 + a0e3bb207fe2044120a2555a37162ee1f2b17500:
5163 Remove support for authentication and .netrc
5164 + ada2c55dcc106cd55bafbbe5d9a966e21e4770e0:
5165 Add explicit --sdk argument to xcrun calls
5166 + 847df729528f6e5919ec8374247eadf792cba544:
5167 toolchain_vanilla: Unset source and target language level
5168 versions
5169 + 5cfa0303d6ac3b5bd031ff60272ce80a704af8c2:
5170 Update java_tools version to javac11-v5.1.
5171 + 9c257df5b9b1de5459fc066e77c435ae085957a7:
5172 Release 1.0.0 (2019-10-10)
5173 + f7a31b30f5319639c36a6c6b1c14f358597d98d2:
5174 Prevent action-cache duplicate suppression
5175 + 618e5a28f7f735c37724377b15775a4975349c74:
5176 Use FileSystemUtils.moveFile instead of renameTo function of Path
Bazel Release Systeme693c192019-10-21 10:40:19 +02005177```
5178
Bazel Release Systemf15bfb32019-10-21 12:49:43 +02005179This release contains contributions from many people at Google, as well as David Ostrovsky, George Gensure, Keith Smiley.
Bazel Release Systeme693c192019-10-21 10:40:19 +02005180
Bazel Release Systemb9067c42019-10-10 11:55:50 +02005181## Release 1.0.0 (2019-10-10)
Bazel Release System4f9cd082019-09-10 09:39:08 -04005182
5183```
Bazel Release Systemb9067c42019-10-10 11:55:50 +02005184Baseline: 97a82646dadd93bf52d47828bda42e3383b657c6
Bazel Release System4f9cd082019-09-10 09:39:08 -04005185
5186Cherry picks:
5187
Bazel Release System4f9cd082019-09-10 09:39:08 -04005188 + a0e3bb207fe2044120a2555a37162ee1f2b17500:
5189 Remove support for authentication and .netrc
Bazel Release Systemb9067c42019-10-10 11:55:50 +02005190 + ada2c55dcc106cd55bafbbe5d9a966e21e4770e0:
5191 Add explicit --sdk argument to xcrun calls
5192 + 847df729528f6e5919ec8374247eadf792cba544:
5193 toolchain_vanilla: Unset source and target language level
5194 versions
5195 + 5cfa0303d6ac3b5bd031ff60272ce80a704af8c2:
5196 Update java_tools version to javac11-v5.1.
Bazel Release System4f9cd082019-09-10 09:39:08 -04005197```
5198
Bazel Release Systemb9067c42019-10-10 11:55:50 +02005199Incompatible changes:
5200
5201 - Python, Windows: the
5202 --[no]incompatible_windows_escape_python_args is no longer
5203 supported. (It was flipped to true in Bazel 0.27.0)
5204 - --incompatible_use_native_patch is enabled by default
5205 - Windows: --incompatible_windows_bashless_run_command is now true
5206 by default, meaning "bazel run //foo:bin" will run the binary as
5207 a subprocess of the Bazel client. (When the flag is false, the
5208 binary is executed as a subprocess of Bash.)
5209 - Windows: --incompatible_windows_native_test_wrapper is enabled by
5210 default
5211
5212New features:
5213
5214 - Genrule now supports `cmd_bash`, `cmd_ps`, `cmd_bat` attributes.
5215 More details at
5216 https://docs.bazel.build/versions/master/be/general.html#genrule.c
5217 md
5218 - config_setting can now check multiple values on "--foo=firstVal
5219 --foo=secondVal ..."-style flags
5220 - tags: use `--experimental_allow_tags_propagation` flag to
5221 propagate tags to the action's execution requirements from
5222 targets. Such tags should start with: `no-`, `requires-`,
5223 `supports-`, `block-`, `disable-`, `cpu:`. See #8830 for details.
5224 - Users can now get generated def file from cc_library via
5225 "def_file" output group on Windows.
5226 - Platform-specific bazelrc: with --enable_platform_specific_config
5227 you can
5228 enable flags in bazelrc according to your host platform.
5229 - tags: use `--experimental_allow_tags_propagation` flag to
5230 propagate tags to the action's execution requirements from
5231 cc_library or cc_binary targets. Such tags should start with:
5232 `no-`, `requires-`, `supports-`, `block-`, `disable-`, `cpu:`.
5233 See #8830 for details.
5234 - tags: use --experimental_allow_tags_propagation flag to propagate
5235 tags to the action's execution requirements from java targets.
5236 Such tags should start with: no-, requires-, supports-, block-,
5237 disable-, cpu:. See #8830 for details.
5238
5239Important changes:
5240
5241 - Bazel Android builds now use aapt2 by default. To revert to aapt,
5242 set `--android_aapt=aapt`.
5243 - Make either --subcommands or --verbose_failures imply
5244 --materialize_param_files
5245 - Bazel Android builds now use aapt2 by default. To revert to aapt,
5246 set `--an...
5247 RELNOTES: None
5248 - by default all remote connections considered to be via `gRPC`
5249 with TLS enabled, unless other specified. To disable TLS use
5250 `grpc://` prefix for you endpoints. All remote connections via
5251 `gRPC` affected - `--remote_cache`, `--remote_executor` or
5252 `--bes_backend`. http cache/executor is not affected. See #8061
5253 for details.
5254 - cc_* rules support non-transitive defines through a
5255 'local_defines' attribute.
5256 - Enable
5257 incompatible_disallow_rule_execution_platform_constraints_allowed
5258 by default (https://github.com/bazelbuild/bazel/issues/8136).
5259 - incompatible_disallow_split_empty_separator is enabled by default
5260 - Fixed Android build issues with aapt2 on Windows. See the [GitHub
5261 issue](https://github.com/bazelbuild/bazel/issues/9102) for more
5262 information.
5263 - --incompatible_disable_static_cc_toolchains has been flipped. See
5264 https://github.com/bazelbuild/bazel/issues/8546.
5265 - --remote_default_platform_properties has been deprecated in favor
5266 of --remote_default_exec_properties.
5267 - The --incompatible_make_thinlto_command_lines_standalone flag has
5268 been flipped, see https://github.com/bazelbuild/bazel/issues/6791
5269 for more information.
5270 - The --incompatible_use_specific_tool_files flag has been flipped.
5271 See https://github.com/bazelbuild/bazel/pull/9126 for more
5272 information.
5273 - Clarify default visibility.
5274 - Enables incompatible_auto_configure_host_platform
5275 - New incompatible flag --incompatible_disable_depset_items
5276 disables the "items" parameter in the Starlark depset
5277 constructor. Use "direct" and "transitive" parameters instead.
5278 - --incompatible_assignment_identifiers_have_local_scope is enabled
5279 - incompatible_disable_partition_default_parameter is enabled by
5280 default ()
5281 - incompatible_restrict_attribute_names is enabled
5282 (https://github.com/bazelbuild/bazel/issues/6437)
5283 - The --incompatible_disable_nocopts flag has been flipped. See
5284 https://github.com/bazelbuild/bazel/issues/8546 for more
5285 information.
5286 - Deprecated Java-Starlark API java_common.create_provider is
5287 removed. JavaInfo() legacy args (actions, sources, source_jars,
5288 use_ijar, java_toolchain, host_javabase) are removed.
5289 - The flag incompatible_disallow_hashing_frozen_mutables is enabled
5290 (https://github.com/bazelbuild/bazel/issues/7800)
5291 - `maven_jar` and `maven_server` now disallow using plain HTTP URLs
5292 without a specified checksum. If you are still using `maven_jar`,
5293 consider migrating to
5294 [`rules_jvm_external`](https://github.com/bazelbuild/rules_jvm_ext
5295 ernal) for transitive dependency management. See
5296 [#8607](https://github.com/bazelbuild/bazel/issues/8607) for more
5297 information.
5298 - Added `sha256` and `sha256_src` attributes to `maven_jar`. Please
5299 consider migrating to SHA-256 as SHA-1 has been deemed
5300 cryptographically insecure ([https://shattered.io]()). Or, use
5301 [`rules_jvm_external`](https://github.com/bazelbuild/rules_jvm_ext
5302 ernal) to manage your transitive Maven dependencies with artifact
5303 pinning and SHA-256 verification support.
5304 - introducing per-target exec_properties
5305 - Bazel now supports ThinLTO builds on Linux for Clang versions >=
5306 6.0. ThinLTO can be enabled through --features=thin_lto
5307 - The Target.output_group field in Starlark is removed. Use
5308 OutputGroupInfo instead. See
5309 https://github.com/bazelbuild/bazel/issues/7949 for details.
5310 - Make a number of parameters of Starlark builtin functions
5311 positional-only (as opposed to specifiable by keyword). See
5312 https://github.com/bazelbuild/bazel/issues/8147 for details.
5313 - incompatible_skip_genfiles_symlink is enabled by default (#8651)
5314 - Change Pruned events will fire immediately after being checked.
5315 - --incompatible_remove_legacy_whole_archive has been flipped. See
5316 https://github.com/bazelbuild/bazel/issues/7362 for more
5317 information
5318
5319This release contains contributions from many people at Google, as well as Adam Liddell, Alessandro Patti, Arshabh Kumar Agarwal, Artem Pelenitsyn, Artem Zinnatullin, Benjamin Peterson, David Ostrovsky, Emmanuel Goh, Farhim Ferdous, George Gensure, iirina, Keith Smiley, Kiril Videlov, Laurent Le Brun, Mantas Sakalauskas, Marwan Tammam, Matt Mukerjee, panzhongxian, Shachar Anchelovich, Stepan Koltsov, Stephan Wolski, Travis Clarke, Yannic Bonenberger, Yuta Saito.
Bazel Release System4f9cd082019-09-10 09:39:08 -04005320
Bazel Release Systemf791df02019-08-28 10:29:12 -04005321## Release 0.29.0 (2019-08-28)
5322
5323```
5324Baseline: 6c5ef5369a3ffceb8a65cc159a2fff1401242810
5325
5326Cherry picks:
5327
5328 + 338829f2633e91ae0492ee4169446465e10b5994:
5329 Fix retrying of SocketTimeoutExceptions in HttpConnector
5330 + 14651cd86b6fc1d48f56a208a9b5278b3e2dcf75:
5331 Fallback to next urls if download fails in HttpDownloader
5332 + b7d300c6be3e130dec0e62a4f19493105f595d57:
5333 Fix incorrect stdout/stderr in remote action cache. Fixes #9072
5334 + 960217631abdcab0a7ed95e2ab10acd55f636639:
5335 Automated rollback of commit
5336 0f0a0d58725603cf2f1c175963360b525718a195.
5337 + da557f96c697102ad787e57bbf7db2460f6a60a8:
5338 Windows: fix "bazel run" argument quoting
5339 + ef8b6f68cc8ffd2e6523a894034ae383e87ec74c:
5340 Return JavaInfo from java proto aspects.
5341 + 209175ff8ffeb05628ed8a187dd414a3d2935c55:
5342 Revert back to the old behavior of not creating a proto source
5343 root for generated .proto files.
5344 + 644060b7a4bc98384b66e3d2343b950b875b5e35:
5345 Fix PatchUtil for parsing special patch format
5346 + 067040d7bcb3b24a88432e210a96adacee3f37b4:
5347 Put the removal of the legacy repository-relative proto path
5348 behind the --incompatible_generated_protos_in_virtual_imports
5349 flag.
5350 + 76ed014e77d7b862f6eb2894600ae525ea570f11:
5351 repository mapping lookup: convert to canonical name first
5352```
5353
5354Important changes:
5355
5356 - rule_test: fix Bazel 0.27 regression ("tags" attribute was
5357 ingored, https://github.com/bazelbuild/bazel/issues/8723
5358 - Adds --incompatible_enable_execution_transition, which enables
5359 incremental migration of host attributes to exec attributes.
5360 - objc_proto_library rule has been deleted from Bazel.
5361 - repository_ctx.read is no longer restricted to files
5362 in the repository contructed.
5363 - tags 'no-remote', 'no-cache', 'no-remote-cache',
5364 'no-remote-exec', 'no-sandbox' are propagated now to the actions
5365 from targets when '--ncompatible_allow_tags_propagation' flag set
5366 to true. See #8830.
5367 - Adds flag
5368 --//tools/build_defs/pkg:incompatible_no_build_defs_pkg. This
5369 flag turns off the rules //tools/build_defs/pkg:{pkg_deb,
5370 pkg_rpm, pkg_tar}.
5371 - The Android NDK is now integrated with toolchains. To use them,
5372 pass the `--extra_toolchains=@androidndk//:all` flag or register
5373 them in your WORKSPACE with
5374 `register_toolchains("@androidndk//:all")`.
5375 - Stdout and stderr are checked to determine if output is going to a
5376 terminal. `--is_stderr_atty` is deprecated and `--isatty` is
5377 undeprecated.
5378 - --incompatible_load_proto_rules_from_bzl was added to forbid
5379 loading the native proto rules directly. See more on tracking
5380 issue #8922
5381 - Docker Sandbox now respects remote_default_platform_properties
5382 - pkg_deb, pkg_rpm & pkg_tar deprecation plan announced in the
5383 documentation.
5384 - The new java_tools release:
5385 * fixes https://github.com/bazelbuild/bazel/issues/8614
5386 * exposes a new toolchain `@java_tools//:prebuilt_toolchain`
5387 which is using all the pre-built tools, including singlejar and
5388 ijar, even on remote execution. This toolchain should be used
5389 only when host and execution platform are the same, otherwise the
5390 binaries will not work on the execution platform.
5391 - java_common.compile supports specifying
5392 annotation_processor_additional_inputs and
5393 annotation_processor_additional_outputs for the Java compilation
5394 action for supporting annotation processors that consume or
5395 produce artifacts. Fixes #6415
5396 - There is now documentation on optimizing Android app build
5397 performance. Read it at
5398 https://docs.bazel.build/versions/0.29.0/android-build-performance
5399 .html
5400 - Execution log now respects --remote_default_platform_properties
5401 - Include a link to the relevant documenation on transitive Python
5402 version errors.
5403 - New incompatible flag
5404 --incompatible_disable_target_provider_fields removes the ability
5405 (in Starlark) to access a target's providers via the field syntax
5406 (for example, `ctx.attr.dep.my_provider`). The provider-key
5407 syntax should be used instead (for example,
5408 `ctx.attr.dep[MyProvider]`). See
5409 https://github.com/bazelbuild/bazel/issues/9014 for details.
5410 - A new platform exec_properties is added to replace
5411 remote_execution_properties.
5412 - Added --incompatible_load_python_rules_from_bzl, which will be
5413 flipped in Bazel 1.0. See
5414 https://github.com/bazelbuild/bazel/issues/9006.
5415 - add --break_build_on_parallel_dex2oat_failure to shortcut tests
5416 on dex2oat errors
5417
5418This 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.
5419
Bazel Release System3fd8c412019-07-19 17:14:15 +02005420## Release 0.28.1 (2019-07-19)
5421
5422```
5423Baseline: 2e374a9c6e3d4ed71f0145de287c4b2fe43c76d6
5424
5425Cherry picks:
5426
5427 + 6d0b14b95a71175362030b4811ca74512b00a890:
5428 rule_test: apply "tags" to all rules in the macro
5429 + 18cd9048526f067a4950c6ddbf4b1b3604760af0:
5430 Release 0.28.0 (2019-07-10)
5431 + 2260b970cb2a10c21a2fde116aa82c79be52991f:
5432 When copying dynamic libraries to binary, copy them into the
5433 runfiles as well.
5434 + a0af170f87c8230fcd8860599b983df097b646bd:
5435 Undo breaking change of hiding android_common behind
5436 --experimental_google_legacy_api
5437 + c6ca6c2ccd9e11a87f837341ae05d2ba037975b1:
5438 Ignore external/ directory in users' source tree when creating
5439 execroot symlink tree.
5440```
5441
5442Important changes:
5443
5444 - rule_test: fix Bazel 0.27 regression ("tags" attribute was
5445 ingored, https://github.com/bazelbuild/bazel/issues/8723
5446
5447This release contains contributions from many people at Google, as well as .
5448
Bazel Release Systemf4a08032019-07-10 18:11:04 +02005449## Release 0.28.0 (2019-07-10)
Bazel Release System7e809492019-07-10 17:50:43 +02005450
5451```
Bazel Release Systemf4a08032019-07-10 18:11:04 +02005452Baseline: 2e374a9c6e3d4ed71f0145de287c4b2fe43c76d6
Bazel Release System7e809492019-07-10 17:50:43 +02005453
5454Cherry picks:
5455
Bazel Release System7e809492019-07-10 17:50:43 +02005456 + 6d0b14b95a71175362030b4811ca74512b00a890:
5457 rule_test: apply "tags" to all rules in the macro
5458```
5459
Bazel Release Systemf4a08032019-07-10 18:11:04 +02005460Incompatible changes:
5461
5462 - Add --incompatible_enable_profile_by_default to enable the JSON
5463 profile by default.
5464 - The --incompatible_windows_style_arg_escaping flag is flipped to
5465 "true", and the "false" case unsupported. Bazel no longer accepts
5466 this flag.
5467
Bazel Release System7e809492019-07-10 17:50:43 +02005468Important changes:
5469
Bazel Release Systemf4a08032019-07-10 18:11:04 +02005470 - Bazel now supports hiding compiler warnings for targets that
5471 you're not explicitly building (see
5472 https://docs.bazel.build/versions/master/user-manual.html#flag--au
5473 to_output_filter).
5474 - Flag `--incompatible_restrict_escape_sequences` is added. See
5475 https://github.com/bazelbuild/bazel/issues/8380
5476 - The "info" command now supports the "starlark-semantics"
5477 argument, which outputs a representation of the effective Starlark
5478 semantics option values.
5479 - The `outputs` parameter of the `rule()` function is deprecated
5480 and attached to flag `--incompatible_no_rule_outputs_param`.
5481 Migrate rules to use `OutputGroupInfo` or `attr.output` instead.
5482 See https://github.com/bazelbuild/bazel/issues/7977 for more info.
Bazel Release System7e809492019-07-10 17:50:43 +02005483 - When `--incompatible_strict_action_env` is enabled, the default
5484 `PATH` now includes `/usr/local/bin`.
5485 - Turn on --experimental_build_setting_api by default for starlark
5486 build settings (see
5487 https://docs.bazel.build/versions/master/skylark/config.html#user-
5488 defined-build-settings for more info)
Bazel Release Systemf4a08032019-07-10 18:11:04 +02005489 - `@bazel_tools//tools/jdk:toolchain_java10` and
5490 `@bazel_tools//tools/jdk:toolchain_java11` are now available to
5491 enable java 10, respectively java 11 language level support.
5492 - The `command` parameter of the `actions.run_shell()` function
5493 will be restricted to only accept strings (and not string
5494 sequences). This check is attached to flag
5495 `--incompatible_run_shell_command_string`. One may migrate by
5496 using the `arguments` parameter of `actions.run()` instead. See
5497 https://github.com/bazelbuild/bazel/issues/5903 for more info.
5498 - Incompatible change
5499 `--incompatible_use_platforms_repo_for_constraints` has been
5500 added. See https://github.com/bazelbuild/bazel/issues/8622 for
5501 details.
5502 - Incompatible change
5503 `--incompatible_use_platforms_repo_for_constraints` has been
5504 added. See https://github.com/bazelbuild/bazel/issues/8622 f...
5505 - Bazel's C++ autoconfiguration now understands `BAZEL_LINKLIBS`
5506 environment variable to specify system libraries that should be
5507 appended to the link command line.
5508 - paths under the execution root starting with "." or "_" will be
5509 re-linked across builds
5510 - execution_log_json_file now allows actions without outputs.
5511 - Labels aapt as deprecated for aapt_version, and heavily endorses
5512 aapt2.
5513 - Update doc links still pointing to cc_binary.features to point to
5514 common features
5515 - Incompatible change
5516 `--incompatible_use_platforms_repo_for_constraints` has been
5517 added. See https://github.com/bazelbuild/bazel/issues/8622 for
5518 details.
5519 RELNOTES:
5520 - --incompatible_disable_nocopts flag has been added. See
5521 https://github.com/bazelbuild/bazel/issues/8706 for details.
5522 - Fixed treatment of <dist:module /> tags in AndroidManifest.xml
5523 - Fixed asset precedence for android_binary rules with aapt2.
5524 - Bazel now officially supports running on CentOS 7.
5525 - The runtime dynamic libraries are no longer in default output
5526 group of cc_binary.
5527 - set the FDOBuildType as CSFDO for binaries built with
5528 --cs_fdo_absolute_path.
5529 - Bazel can now be bootstrapped and built on arm64 platforms
5530 without requiring any flags or patches.
5531 - Fixed treatment of AndroidManifest.xml attributes which contained
5532 XML escaping
5533 - Retire experimental blaze flag
5534 experimental_link_compile_output_separately. The same behavior is
5535 available through the feature dynamic_link_test_srcs.
5536 - --incompatible_load_java_rules_from_bzl was added to forbid
5537 loading the native java rules directly. See more on tracking
5538 issue #8746
5539 - Turn on --experimental_build_setting_api by default for starlark
5540 build settings (see
5541 https://docs.bazel.build/versions/master/skylark/config.html#user-
5542 defined-build-settings for more info)
5543 - Attribute names are going to be restricted and must be
5544 syntactically valid identifiers.
5545 https://github.com/bazelbuild/bazel/issues/6437
Bazel Release System7e809492019-07-10 17:50:43 +02005546 - rule_test: fix Bazel 0.27 regression ("tags" attribute was
5547 ingored, https://github.com/bazelbuild/bazel/issues/8723
5548
Bazel Release Systemf4a08032019-07-10 18:11:04 +02005549This 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.
Bazel Release System7e809492019-07-10 17:50:43 +02005550
Bazel Release System316cb9b2019-07-02 19:45:51 +02005551## Release 0.27.1 (2019-07-02)
5552
5553```
5554Baseline: 8c3b3fba3f68833bd97d3df2db9c48f0539efc3b
5555
5556Cherry picks:
5557
5558 + 123c68daed17b19927372e4df7f7a2256db6b80e:
5559 Warn in more cases of possible Python version mismatch in host
5560 config
5561 + 052167e907373ac7ea43238c3049739f6e94a9d1:
5562 Add a non-strict autodetecting Python toolchain
5563 + 6ef6d879ab69225d54ecab3db847fb4eff33bbeb:
5564 Default java toolchain target
5565 + 50fa3ec27efdd95771c70faa38a4543d4fed44f2:
5566 Fix problems with the non-strict Python toolchain
5567 + e2a626c4f61fe4ceb79a5675d09a6f25ca7b5b22:
5568 Automated rollback of commit
5569 bc6f7cb330bb531f062bb301f3703876051191f5.
5570 + 6efc5b787ad3164cc2fb779c73377695032b4524:
5571 Treat existence of managed directories as a part of repository
5572 dirtiness.
5573 + 3a4be3c93813987a27a97dade3f9ebbc5770e349:
5574 Add /usr/local/bin to default PATH under strict action env
5575 + 5c1005c0947b010ee36ca851b8ba07c9479cf682:
5576 Automated rollback of commit
5577 536a166270590a8dbc701718550383f3a07cc763.
5578 + c82eb4878c7dc829455caeb915affe36c89df06f:
5579 Release 0.27.0 (2019-06-17)
5580 + d4589630428c1c1bc08a9baf36257e636fe9d746:
5581 Check for both :lcov_merger and $lcov_merger attributes in
5582 TestActionBuilder.
5583```
5584
5585Important changes:
5586
5587 - Add new options --cs_fdo_absolute_path= to support the absolute
5588 path
5589 profile for LLVM's context-sensitive FDO.
5590 - When `--incompatible_strict_action_env` is enabled, the default
5591 `PATH` now includes `/usr/local/bin`.
5592 - Turn on --experimental_build_setting_api by default for starlark
5593 build settings (see
5594 https://docs.bazel.build/versions/master/skylark/config.html#user-
5595 defined-build-settings for more info)
5596
5597This release contains contributions from many people at Google, as well as Ricky Pai.
5598
Bazel Release Systemaecb1e82019-06-17 14:57:36 +02005599## Release 0.27.0 (2019-06-17)
Bazel Release Systeme6976fb2019-06-06 13:01:57 +02005600
5601```
Bazel Release Systemaecb1e82019-06-17 14:57:36 +02005602Baseline: 5935259724bebd1c4bdebc90e159d0f655c8c219
Bazel Release Systeme6976fb2019-06-06 13:01:57 +02005603
5604Cherry picks:
5605
Bazel Release Systemaecb1e82019-06-17 14:57:36 +02005606 + fe81b49e727efdcc90a270520af193af75f4e31d:
5607 Support of using the absolute path profile for LLVM's Context
5608 Sensitive FDO
5609 + ce5e7180d98e1244fdfba0349952727826cbd173:
5610 Demote OptionProcessor from globals
5611 + 3ed9d3681c3e130aafcf3c405ff1795c601bdf95:
5612 Properly wire up BES half-close. The lack thereof was a simple
5613 oversight.
5614 + 4ca768e9f87701fb92598d0a8325a5fc8881a852:
5615 standardize graph output indentation with 2 spaces
5616 + aff189a7c514a0171a53a2dcdd37c93ecaa672ad:
5617 Make sure default Linux artifacts have an associated action,
5618 even when artifact names are altered.
5619 + 8c3b3fba3f68833bd97d3df2db9c48f0539efc3b:
5620 Failures early in package loading will now fail all --keep_going
5621 builds.
5622 + 123c68daed17b19927372e4df7f7a2256db6b80e:
5623 Warn in more cases of possible Python version mismatch in host
5624 config
5625 + 052167e907373ac7ea43238c3049739f6e94a9d1:
5626 Add a non-strict autodetecting Python toolchain
5627 + 6ef6d879ab69225d54ecab3db847fb4eff33bbeb:
5628 Default java toolchain target
5629 + 50fa3ec27efdd95771c70faa38a4543d4fed44f2:
5630 Fix problems with the non-strict Python toolchain
5631 + e2a626c4f61fe4ceb79a5675d09a6f25ca7b5b22:
5632 Automated rollback of commit
5633 bc6f7cb330bb531f062bb301f3703876051191f5.
5634 + 6efc5b787ad3164cc2fb779c73377695032b4524:
5635 Treat existence of managed directories as a part of repository
5636 dirtiness.
5637 + 3a4be3c93813987a27a97dade3f9ebbc5770e349:
5638 Add /usr/local/bin to default PATH under strict action env
5639 + 5c1005c0947b010ee36ca851b8ba07c9479cf682:
5640 Automated rollback of commit
5641 536a166270590a8dbc701718550383f3a07cc763.
Bazel Release Systeme6976fb2019-06-06 13:01:57 +02005642```
5643
Bazel Release Systemaecb1e82019-06-17 14:57:36 +02005644Incompatible changes:
5645
5646 - --incompatible_disable_objc_provider_resources no longer has
5647 effect. Use of deprecated resource fields on the Objc provider is
5648 now disallowed regardless of this flag.
5649 - deleted deprecated --experimental-remote-retry* flags, please use
5650 --remote_retries instead
5651 - flipped --incompatible_list_based_execution_strategy_selection
5652 flag to be true by default. See
5653 https://github.com/bazelbuild/bazel/issues/7480 for details.
5654 - Octal integer literals in Starlark are required to start with
5655 "Oo".
5656 - The "native" module is no longer available in BUILD files, all
5657 its members can be accessed directly as global symbols. This can
5658 be temporarily reverted by providing
5659 --incompatible_disallow_native_in_build_file=false as a flag to
5660 Blaze.
5661 - The "native" module is no longer available in BUILD files, all
5662 its members can be accessed directly as global symbols. This can
5663 be temporarily reverted by providing
5664 --incompatible_disallow_native_in_build_file=false as a flag to
5665 Blaze.
5666 - Turn off binary style profile format.
5667 - The "native" module is no longer available in BUILD files, all
5668 its members can be accessed directly as global symbols. This can
5669 be temporarily reverted by providing
5670 --incompatible_disallow_native_in_build_f...
5671 - cleanup that affects user provided apple frameworks is
5672 now enabled by default. See
5673 https://github.com/bazelbuild/bazel/issues/7944 for more info.
5674 - Python rules now determine the Python runtime using toolchains
5675 rather than `--python_top` and `--python_path`, which are
5676 deprecated. See
5677 [#7899](https://github.com/bazelbuild/bazel/issues/7899) for
5678 information on declaring Python toolchains and migrating your
5679 code. As a side-benefit, this addresses
5680 [#4815](https://github.com/bazelbuild/bazel/issues/4815)
5681 (incorrect interpreter version used) on non-Windows platforms.
5682 Note however that some builds break due to getting the version
5683 they asked for -- consider setting `python_version = "PY2"` on
5684 Python 2 targets and `--host_force_python=PY2` if any Python 2
5685 targets are used in the host configuration. You can temporarily
5686 opt out of this change with
5687 `--incompatible_use_python_toolchains=false`.
5688 - Depsets can't be iterated over unless they're converted to lists
5689 using the .to_list() method. Use
5690 --incompatible_depset_is_not_iterable=false to
5691 temporarily restore the previous behaviour.
5692
5693New features:
5694
5695 - Bash, runfiles: the copy-pasted init code of the Bash runfiles
5696 library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
5697 The rlocation() implementation is the same.
5698 - Bash, runfiles: the copy-pasted init code of the Bash runfiles
5699 library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
5700 The rlocation() implementation is the same.
5701 - Bash, runfiles: the copy-pasted init code of the Bash runfiles
5702 library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
5703 To use the new init code, you need Bazel 0.27 or newer. The old
5704 (longer) init code still works.
5705
5706Important changes:
5707
5708 - The `outputs` parameter of the `rule()` function is deprecated
5709 and attached to flag `--incompatible_no_rule_outputs_param`.
5710 Migrate rules to use `OutputGroupInfo` or `attr.output` instead.
5711 See https://github.com/bazelbuild/bazel/issues/7977 for more info.
5712 - The --incompatible_disable_objc_library_resources flag is being
5713 removed. Please remove it from your configs as it otherwise will
5714 fail the build.
5715 - Add a generic additional_linker_inputs attribute on cc_binary
5716 rules.
5717 - Windows, C++ autoconfigure: BAZEL_VC and BAZEL_VS may now have
5718 quotes, so if you set these envvars' values in cmd.exe via
5719 TAB-completion then you no longer need to remove the surrounding
5720 quotes.
5721 - pkg_deb has new attributes: `config` and `templates` that can be
5722 used for integration with debconf
5723 - Allow cc_import() of a DLL with no interface library on Windows,
5724 used to document runtime dependencies.
5725 - All host-configured Python tools that are built for the wrong
5726 Python version will now emit a warning message when they exit
5727 with non-zero status. See #7899.
5728 - deprecated --remote_local_fallback_strategy. Use
5729 `--strategy=remote,local` instead. See
5730 https://github.com/bazelbuild/bazel/issues/7480.
5731 - Introduce --incompatible_disable_native_android_rules flag
5732 - The Android desugaring actions now support a persistent worker
5733 mode for faster local build performance. Enable it with
5734 `--strategy=Desugar=worker`.
5735 - --incompatible_static_name_resolution_in_build_files is now
5736 enabled by default
5737 - --incompatible_disable_deprecated_attr_params is now enabled by
5738 default (#5818)
5739 - Repository containing autoconfigured C++ toolchain
5740 `@local_config_cc` has been split in 2 - see
5741 `local_config_cc_toolchains`.
5742 - --incompatible_string_join_requires_strings is now enabled by
5743 default
5744 - Flag --incompatible_new_actions_api is enabled by dewfault (#5825)
5745 - New flag `--incompatible_disallow_empty_glob`. See
5746 https://github.com/bazelbuild/bazel/issues/8195
5747 - --incompatible_no_kwargs_in_build_files is enabled by default
5748 - Incompatible flag
5749 `--incompatible_require_ctx_in_configure_features` has been
5750 flipped. See https://github.com/bazelbuild/bazel/issues/7793 for
5751 more information.
5752 - `BAZEL_USE_XCODE_TOOLCHAIN=1` tells Bazel not to look for Xcode to
5753 decide whether to enable toolchains for Apple rules, but to
5754 assume Xcode is
5755 available. Can be also used when building on Darwin and no C++ or
5756 ObjC is being
5757 built, so there is no need to detect Xcode.
5758 - Android desugaring actions now use persistent workers by default.
5759 This has been measured to provide up to 20% reduction in build
5760 times. To disable it, use the `--strategy=Desugar=sandboxed`
5761 flag. See https://github.com/bazelbuild/bazel/issues/8342 and
5762 https://github.com/bazelbuild/bazel/issues/8427 for more details
5763 on local build speed optimization for Android apps.
5764 - Fixed an issue with Android builds where `--fat_apk_cpu` doesn't
5765 pack all selected shared libraries from `aar_import` targets into
5766 the APK. See
5767 [#8283](https://github.com/bazelbuild/bazel/issues/8283).
5768 - Turn on --experimental_starlark_config_transitions by default for
5769 starlark transitions (see
5770 https://docs.bazel.build/versions/master/skylark/config.html#user-
5771 defined-transitions for more info)
5772 - Turn on --experimental_build_setting_api by default for starlark
5773 build settings (see
5774 https://docs.bazel.build/versions/master/skylark/config.html#user-
5775 defined-build-settings for more info)
5776 - Incompatible flag
5777 `--incompatible_dont_enable_host_nonhost_crosstool_features` has
5778 been flipped. See https://github.com/bazelbuild/bazel/issues/7407
5779 for more information.
5780 - Added support for Android NDK 19 and 20.
5781 - Flip --incompatible_no_support_tools_in_action_inputs
5782 - --remote_executor, --remote_cache or --bes_backend=someurl.com
5783 would be treated as grpcs://someurl.com, if the
5784 --incompatible_tls_enabled_removed flag enabled. See
5785 https://github.com/bazelbuild/bazel/issues/8061 for details.
5786 - Add new options --cs_fdo_absolute_path= to support the absolute
5787 path
5788 profile for LLVM's context-sensitive FDO.
5789 - When `--incompatible_strict_action_env` is enabled, the default
5790 `PATH` now includes `/usr/local/bin`.
5791 - Turn on --experimental_build_setting_api by default for starlark
5792 build settings (see
5793 https://docs.bazel.build/versions/master/skylark/config.html#user-
5794 defined-build-settings for more info)
5795
5796This 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.
Bazel Release Systeme6976fb2019-06-06 13:01:57 +02005797
Klaus Aehligc84f7d32019-06-17 15:26:27 +02005798## Release 0.26.1 (2019-06-06)
5799
5800```
5801Baseline: cb82ed84d44db0169a8fbf15f9cee434b77002bb
5802
5803Cherry picks:
5804
5805 + d1c0d205945f5a765efb0a48593b1cd82699ce32:
5806 Allow WORKSPACE file to be a symlink if no managed directories
5807 is used.
5808 + c3d2aa74ccd23dfb8a8173c2b3e2955f0c5892cb:
5809 Fix ios, tvos and watchos arm64 constraints
5810 + 55e42052a22a60b68d88a89932b2a068311b1a95:
5811 Bump java_tools_javac10 from 3.1 to 3.2
5812```
5813
5814Patch release on top of 0.26.0, fixing
5815- https://github.com/bazelbuild/bazel/issues/8475
5816- https://github.com/bazelbuild/bazel/issues/8520
5817- https://github.com/bazelbuild/intellij/issues/845
5818
Bazel Release System8089b272019-05-28 10:31:53 +02005819## Release 0.26.0 (2019-05-28)
Bazel Release System48845c32019-05-23 15:21:53 -04005820
5821```
Bazel Release System8089b272019-05-28 10:31:53 +02005822Baseline: daa8ae565ab2023e49134f0aad233b0a8bd7a5d0
Bazel Release System48845c32019-05-23 15:21:53 -04005823
5824Cherry picks:
5825
Bazel Release System8089b272019-05-28 10:31:53 +02005826 + 61c7ffa60ae9c1937dd6d8ee30a8c0471094ee71:
5827 Automated rollback of commit
5828 87388e24814b177f54ca7697b4233489f90c587e.
5829 + 898d7b6138af73f03daf35b767d252560087de70:
5830 Add test for repository overrides, conflicting with managed
5831 directories being added when Bazel server is already started.
5832 + c2001a4569483596d9dc74ba9cabcbe4b6f1887f:
5833 Automated rollback of commit
5834 bbe47a1564a832e1a175206f2dfbc92af94c120b.
5835 + e67c961905792cd63950c6f6efc33275ad243c49:
5836 Fix a non-determinism in create_embedded_tools.py.
Bazel Release System48845c32019-05-23 15:21:53 -04005837 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
5838 Remove unsupported cpu attribute from cc_toolchains.
Bazel Release System8089b272019-05-28 10:31:53 +02005839 + 597e289b097d3bfed8eea1cb0924bbeb04877e42:
5840 remote: made CombinedCache a composition of Disk and Http Cache
5841 + 942f7cf6a0da0a4ecc804615424f039e50963933:
5842 C++: Fixes bug in C++ API with external repo aspects
Bazel Release System48845c32019-05-23 15:21:53 -04005843 + 85a5a2bd569a5274950fc7327a044c395248c024:
5844 Configure @androidsdk//:emulator_x86 and :emulator_arm to point
5845 to the unified emulator binary
Bazel Release System8089b272019-05-28 10:31:53 +02005846 + 9835cb4135503768cdf1161746b95d7969ccb938:
5847 Automated rollback of commit
5848 844e4e297b404d6ff28b818d8150d4b9c47de887.
5849 + c963ba21073b514961946b8b4b45b091f08fdaa1:
5850 Windows, Python: fix arg. esc. also in host config
5851 + a1ea487e0a9e180a36fa4aab57f7c746ddcf367a:
5852 Do not pre-cache changed files under managed directories
5853 + 7dc78cdd04eedf2f4373b170053ba5fc2a990929:
5854 Add explicit execution and target constraints for autodiscovered
5855 cc t?
5856 + dd9ac13f7e3b71bdf2eca717bc7681bdd12389a2:
5857 Fix a bug when a relative path is used for the execution log
Bazel Release System48845c32019-05-23 15:21:53 -04005858 + 0ff19c6d0adf3c0df94fff59ca3bd13cbcf99897:
5859 Fix StandaloneTestStrategy.appendStderr
Bazel Release System8089b272019-05-28 10:31:53 +02005860 + 7f495315749478e75a3424726cc273a535b7c3b8:
5861 Fix the autodetecting Python toolchain on Mac
5862 + ddce7235ef29a0aba727c265eae865d15af4ed09:
5863 Avoid exporting PATH unnecessarily
5864 + 35dd05a059fa7fddfdd888cfc69102994e3c04dc:
5865 Allow Starlark rules to be able to use the `exec_compatible_with`
Bazel Release System48845c32019-05-23 15:21:53 -04005866```
5867
Klaus Aehlig63bf1152019-05-28 10:41:12 +02005868### Incompatible changes
5869
5870- [`--incompatible_windows_escape_jvm_flags`](https://github.com/bazelbuild/bazel/issues/7486)
5871 is enabled by default, and removed.
5872
5873- [`--incompatible_windows_style_arg_escaping`](https://github.com/bazelbuild/bazel/issues/7454)
5874 is enabled by default.
5875
5876- [`--incompatible_no_output_attr_default`](https://github.com/bazelbuild/bazel/issues/7950)
5877 is enabled by default.
5878
5879- [`--incompatible_depset_union`](https://github.com/bazelbuild/bazel/issues/5817)
5880 is enabled by default.
5881
5882- [`--incompatible_disable_genrule_cc_toolchain_dependency`](https://github.com/bazelbuild/bazel/issues/6867) removed
5883
5884- [`--Incompatible_disallow_rule_execution_platform_constraints_allowed`](https://github.com/bazelbuild/bazel/issues/8136):
5885 When enabled, disallows the use of the `execution_platform_constraints_allowed`
5886 attribute when defining new rules.
5887
5888- [`--incompatible_disable_objc_provider_resources`](https://github.com/bazelbuild/bazel/issues/5710)
5889 is now enabled by default.
5890
5891### Apple
5892
5893- The `--ios_multi_cpus`, `--watchos_cpus`, `--macos_cpus` and `--tvos_cpus` are
5894 now additive. This means that you can now split the `--ios_multi_cpus=arm64,armv7`
5895 into `--ios_multi_cpus=arm64` and `--ios_multi_cpus=armv7`.
5896
5897- Add `--incompatible_objc_framework_cleanup` to control whether to enable some
5898 objc framework cleanup that changes the API. Specifically, the cleanup changes
5899 the objc provider API pertaining to frameworks. This change is expected to be
5900 transparent to most users unless they write their own Starlark rules to handle
5901 frameworks. See https://github.com/bazelbuild/bazel/issues/7594 for details.
5902
5903- `objc_library` does not support resource attributes any more. Please read
5904 [#7594](https://github.com/bazelbuild/bazel/issues/7594) for more info.
5905
5906### Android
5907
5908- Android resource conflicts will no longer be reported between a strong attr
5909 resource and a weak attr resource, if the weak attr does not have format
5910 specified.
5911
5912### C++
5913
5914- [Allow debugging C++ features logic](https://github.com/bazelbuild/bazel/commit/53156db1e30fe7197889c3cbc8d1321ff9b85143
5915
5916- Add new options [`--cs_fdo_instrument`](https://docs.bazel.build/versions/master/command-line-reference.html#flag--cs_fdo_instrument)
5917 and [`--cs_fdo_profile`](https://docs.bazel.build/versions/master/command-line-reference.html#flag--cs_fdo_profile)
5918 to support LLVM's context-sensitive FDO (CSFDO).
5919
5920- [Bazel C++ compile/link Starlark API](https://github.com/bazelbuild/bazel/issues/4570).
5921 Can be used with experimental flag `--experimental_cc_skylark_api_enabled_packages`.
5922
5923- `cc_toolchain.static_runtime_lib` and `cc_toolchain.dynamic_runtime_lib` are
5924 now exposed to Starlark.
5925
5926- C++ Starlark API for compilation and linking is no longer whitelisted
5927
5928- Incompatible flag `--incompatible_make_thinlto_command_lines_standalone` has
5929 been added. See https://github.com/bazelbuild/bazel/issues/6791 for details.
5930
5931- Feature `disable_whole_archive_for_static_lib` has been added to allow turning
5932 off legacy_whole_archive for individual targets.
5933 https://github.com/bazelbuild/bazel/issues/7362
5934
5935### Python
5936
5937- Fixed an issue where some `py_runtimes` were incompatible with using
5938 `--build_python_zip` ([#5104](https://github.com/bazelbuild/bazel/issues/5104)).
5939
5940### Starlark
5941
5942- The flag [`--incompatible_restrict_named_params`](https://github.com/bazelbuild/bazel/issues/8147)
5943 is added. [Buildifier](https://github.com/bazelbuild/buildtools) will soon be
5944 updated to automatically fix this in your code.
5945
5946- The flag [`--incompatible_no_kwargs_in_build_files`](https://github.com/bazelbuild/bazel/issues/8021)
5947 is added. It fixes a bug where the `**kwarg` notation was allowed in `BUILD`
5948 files.
5949
5950- The flag [`--incompatible_static_name_resolution_in_build_files`](https://github.com/bazelbuild/bazel/issues/8022)
5951 is added. This fixes a bug where invalid code was silently accepted.
5952
5953- The flag [`--incompatible_disallow_old_octal_notation`](https://github.com/bazelbuild/bazel/issues/8059)
5954 is added. It removes a deprecated notation for octal numbers.
5955 [Buildifier](https://github.com/bazelbuild/buildtools) can update your code
5956 automatically.
5957
5958- [`struct.to_proto()`](https://docs.bazel.build/versions/master/skylark/lib/struct.html#to_proto)
5959 can now convert dictionaries into proto3 text message.
5960
5961- The [`glob`](https://docs.bazel.build/versions/master/be/functions.html#glob)
5962 function has a new argument `allow_empty`. When set to `False` (this will be
5963 the default in the future), the glob fails when it doesn't match anything.
5964 Please explicitly set `allow_empty = True` to the globs that need it.
5965
5966### Windows
5967
5968- Windows, Python: the new `--incompatible_windows_escape_python_args` flag
5969 (`false` by default) builds `py_binary` and `py_test` targets with correct
5970 command line argument escaping. Similar to
5971 https://github.com/bazelbuild/bazel/issues/7486 but for `py_*` rules.
5972
5973### Other changes
5974
5975- cquery supports `--output=build`
5976
5977- Generated Go protobufs now depend on `//net/proto2/go:proto_gendeps` instead
5978 of `//net/proto2/go:proto`
5979
5980- Added `--incompatible_remove_binary_profile` to disable the old binary
5981 profiles. Instead use the JSON profile format:
5982 https://docs.bazel.build/versions/master/skylark/performance.html#json-profile
5983
5984- Introducing `--execution_log_binary_file` and `--execution_log_json_file`
5985 that output a stable sorted execution log. They will offer a stable
5986 replacement to `--experimental_execution_log_file`.
5987
5988- New platform_mappings ability to allow gradual flag to platforms/toolchains
5989 migration. See also https://github.com/bazelbuild/bazel/issues/6426
5990
5991- Added support for compiling against fully qualified `R` classes from
5992 `aar_import` dependencies.
5993
5994- `--tls_enabled` flag is deprecated. Please provide `grpcs` as a scheme in
5995 the URLs if TLS should be used for a remote connection.
5996
5997### Community
5998
5999- Alex Eagle gave a talk at ng-conf:
6000 [The Bazel Opt-in Preview is Here!](https://www.youtube.com/watch?v=J1lnp-nU4wM)
6001
6002- The latest release of
6003 [rules_haskell](https://github.com/tweag/rules_haskell/releases/tag/v0.9)
6004 includes many new improvements, including an initial Windows support.
6005
6006- The latest
6007 [Buildifier release](https://github.com/bazelbuild/buildtools/releases/tag/0.25.1)
6008 includes Windows binaries, as well as a JSON output for diagnostics.
6009
6010- Natan Silnitsky gave the talk
6011 [How to successfully migrate to Bazel from Maven or Gradle](https://www.youtube.com/watch?v=2UOFm-Cc_cU)
6012 at the Java Eastern Europe Conference.
6013
6014This release contains contributions from many people at Google, as well as
6015Benjamin Peterson, Brian Topping, clyang82, Dave Lee, George Gensure,, Greg,
6016Guro Bokum, Keith Smiley, Max Vorobev, Michael Hackner, Robert Brown, Robert
6017Sayre, Ryan Beasley, and Yannic.
6018
6019
6020## Release 0.25.3 (2019-05-23)
6021
6022```
6023Baseline: 03662462941953dad23af88693804b8b1d4430b9
6024
6025Cherry picks:
6026
6027 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
6028 Windows: fix native test wrapper's arg. escaping
6029 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
6030 Flip --incompatible_windows_escape_jvm_flags
6031 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
6032 Sort DirectoryNode children to ensure validity.
6033 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
6034 Conditionally use deprecated signature for initWithContentsOfURL
6035 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
6036 Add http_archive entries for testing with various JDK versions.
6037 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
6038 Now that ubuntu1804 uses JDK 11, remove explicit
6039 ubuntu1804_java11 tests.
6040 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
6041 Fix wrong name of ubuntu1804_javabase9 task.
6042 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
6043 Remove @executable_path/Frameworks from rpaths
6044 + 130f86ded1ce84f959f0b78c065211902faed546:
6045 Download stderr/stdout to a temporary FileOutErr
6046 + 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
6047 Release 0.25.0 (2019-05-01)
6048 + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
6049 Add implementation to removed methods to address
6050 https://github.com/bazelbuild/bazel/issues/8226
6051 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
6052 Remove unsupported cpu attribute from cc_toolchains.
6053 + cccced1e7fc7eaf4ba8f2c9d73dbac72b2686df9:
6054 Release 0.25.1 (2019-05-07)
6055 + 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
6056 Use package identifier instead of package name
6057 + 85a5a2bd569a5274950fc7327a044c395248c024:
6058 Configure @androidsdk//:emulator_x86 and :emulator_arm to point
6059 to the unified emulator binary
6060 + 6549ac5bba3eef2b1813b5a75757437383bf38f0:
6061 Release 0.25.2 (2019-05-10)
6062 + 0ff19c6d0adf3c0df94fff59ca3bd13cbcf99897:
6063 Fix StandaloneTestStrategy.appendStderr
6064```
6065
Bazel Release System48845c32019-05-23 15:21:53 -04006066Incompatible changes:
6067
6068 - Flip --incompatible_windows_escape_jvm_flags to true. See
6069 https://github.com/bazelbuild/bazel/issues/7486
6070
Klaus Aehlig63bf1152019-05-28 10:41:12 +02006071This release contains contributions from many people at Google, as well as George Gensure, Keith Smiley, Robert Sayre.
Bazel Release System48845c32019-05-23 15:21:53 -04006072
Klaus Aehlig63bf1152019-05-28 10:41:12 +02006073## Release 0.25.2 (2019-05-10)
Bazel Release System6549ac52019-05-10 16:44:09 -04006074
Klaus Aehlig63bf1152019-05-28 10:41:12 +02006075```
6076Baseline: 03662462941953dad23af88693804b8b1d4430b9
Bazel Release System6549ac52019-05-10 16:44:09 -04006077
Klaus Aehlig63bf1152019-05-28 10:41:12 +02006078Cherry picks:
Bazel Release System6549ac52019-05-10 16:44:09 -04006079
Klaus Aehlig63bf1152019-05-28 10:41:12 +02006080 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
6081 Windows: fix native test wrapper's arg. escaping
6082 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
6083 Flip --incompatible_windows_escape_jvm_flags
6084 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
6085 Sort DirectoryNode children to ensure validity.
6086 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
6087 Conditionally use deprecated signature for initWithContentsOfURL
6088 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
6089 Add http_archive entries for testing with various JDK versions.
6090 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
6091 Now that ubuntu1804 uses JDK 11, remove explicit
6092 ubuntu1804_java11 tests.
6093 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
6094 Fix wrong name of ubuntu1804_javabase9 task.
6095 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
6096 Remove @executable_path/Frameworks from rpaths
6097 + 130f86ded1ce84f959f0b78c065211902faed546:
6098 Download stderr/stdout to a temporary FileOutErr
6099 + 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
6100 Release 0.25.0 (2019-05-01)
6101 + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
6102 Add implementation to removed methods to address
6103 https://github.com/bazelbuild/bazel/issues/8226
6104 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
6105 Remove unsupported cpu attribute from cc_toolchains.
6106 + cccced1e7fc7eaf4ba8f2c9d73dbac72b2686df9:
6107 Release 0.25.1 (2019-05-07)
6108 + 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
6109 Use package identifier instead of package name
6110 + 85a5a2bd569a5274950fc7327a044c395248c024:
6111 Configure @androidsdk//:emulator_x86 and :emulator_arm to point
6112 to the unified emulator binary
6113```
6114
6115* Add fix for https://github.com/bazelbuild/bazel/issues/8254
6116* Add fix for https://github.com/bazelbuild/bazel/issues/8280
6117
6118## Release 0.25.1 (2019-05-07)
6119
6120```
6121Baseline: 03662462941953dad23af88693804b8b1d4430b9
6122
6123Cherry picks:
6124
6125 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
6126 Windows: fix native test wrapper's arg. escaping
6127 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
6128 Flip --incompatible_windows_escape_jvm_flags
6129 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
6130 Sort DirectoryNode children to ensure validity.
6131 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
6132 Conditionally use deprecated signature for initWithContentsOfURL
6133 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
6134 Add http_archive entries for testing with various JDK versions.
6135 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
6136 Now that ubuntu1804 uses JDK 11, remove explicit
6137 ubuntu1804_java11 tests.
6138 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
6139 Fix wrong name of ubuntu1804_javabase9 task.
6140 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
6141 Remove @executable_path/Frameworks from rpaths
6142 + 130f86ded1ce84f959f0b78c065211902faed546:
6143 Download stderr/stdout to a temporary FileOutErr
6144 + 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
6145 Release 0.25.0 (2019-05-01)
6146 + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
6147 Add implementation to removed methods to address
6148 https://github.com/bazelbuild/bazel/issues/8226
6149 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
6150 Remove unsupported cpu attribute from cc_toolchains.
6151```
6152
6153Adding a commit which reintroduces the implementation for cc_common.compile and cc_common.link https://github.com/bazelbuild/bazel/issues/8226
Bazel Release Systemcccced12019-05-07 13:52:56 -04006154
Bazel Release System2ab38662019-05-01 17:41:28 -04006155## Release 0.25.0 (2019-05-01)
6156
6157```
6158Baseline: 03662462941953dad23af88693804b8b1d4430b9
6159
6160Cherry picks:
6161
6162 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
6163 Windows: fix native test wrapper's arg. escaping
6164 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
6165 Flip --incompatible_windows_escape_jvm_flags
6166 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
6167 Sort DirectoryNode children to ensure validity.
6168 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
6169 Conditionally use deprecated signature for initWithContentsOfURL
6170 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
6171 Add http_archive entries for testing with various JDK versions.
6172 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
6173 Now that ubuntu1804 uses JDK 11, remove explicit
6174 ubuntu1804_java11 tests.
6175 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
6176 Fix wrong name of ubuntu1804_javabase9 task.
6177 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
6178 Remove @executable_path/Frameworks from rpaths
6179 + 130f86ded1ce84f959f0b78c065211902faed546:
6180 Download stderr/stdout to a temporary FileOutErr
6181```
6182
6183Incompatible changes:
6184
6185 - (Starlark rules) The legacy "py" provider can no longer be passed
6186 to or produced by native Python rules; use
6187 [PyInfo](https://docs.bazel.build/versions/master/skylark/lib/PyIn
6188 fo.html) instead. See
6189 [#7298](https://github.com/bazelbuild/bazel/issues/7298) for more
6190 information.
6191 - (Python rules) The `default_python_version` attribute of the
6192 `py_binary` and `py_test` rules has been renamed to
6193 `python_version`. Also, the `--force_python` flag has been
6194 renamed to `--python_version`. See
6195 [#7308](https://github.com/bazelbuild/bazel/issues/7308) for more
6196 information.
6197 - (Python rules) The python version now changes to whatever version
6198 is specified in a `py_binary` or `py_test`'s `python_version`
6199 attribute, instead of being forced to the value set by a command
6200 line flag. You can temporarily revert this change with
6201 `--incompatible_allow_python_version_transitions=false`. See
6202 [#7307](https://github.com/bazelbuild/bazel/issues/7307) for more
6203 information.
6204 - --incompatible_disable_third_party_license_checking` is enabled
6205 by default
6206 - Introduced --incompatible_use_python_toolchains, which supersedes
6207 --python_top/--python_path. See #7899 and #7375 for more
6208 information.
6209 - Python 3 is now the default Python version (for `py_binary` and
6210 `py_test` targets that don't specify the `python_version`
6211 attribute). Targets that are built for Python 3 will no longer
6212 have their output put in a separate `-py3` directory; instead
6213 there is now a separate `-py2` directory for Python 2 targets.
6214 See #7359 and #7593 for more information.
6215 - objc_library resource attributes are now disabled by default.
6216 Please migrate them to data instead. See
6217 https://github.com/bazelbuild/bazel/issues/7594 for more info.
6218 - Flip --incompatible_windows_escape_jvm_flags to true. See
6219 https://github.com/bazelbuild/bazel/issues/7486
6220
6221New features:
6222
6223 - genrules now support a $(RULEDIR) variable that resolves to the
6224 directory where the outputs of the rule are put.
6225 - Added --incompatible_windows_native_test_wrapper flag: enables
6226 using the Bash-less test wrapper on Windows. (No-op on other
6227 platforms.)
6228
6229Important changes:
6230
6231 - incompatible_use_jdk11_as_host_javabase: makes JDK 11 the default
6232 --host_javabase for remote jdk
6233 (https://github.com/bazelbuild/bazel/issues/7219)
6234 - Makes genquery somepath output deterministic.
6235 - Tristate attributes of native rules now reject True/False (use
6236 1/0)
6237 - Rollback of "Tristate attributes of native rules now reject
6238 True/False (use 1/0)"
6239 - Tristate attributes of native rules now reject True/False (use
6240 1/0)
6241 - Added -incompatible_do_not_split_linking_cmdline flag. See #7670
6242 - Tristate attributes of native rules now temporarily accept
6243 True/False again
6244 - `--incompatible_disable_legacy_crosstool_fields` has been flipped
6245 (https://github.com/bazelbuild/bazel/issues/6861)
6246 `--incompatible_disable_expand_if_all_available_in_flag_set` has
6247 been flipped (https://github.com/bazelbuild/bazel/issues/7008)
6248 - `--incompatible_disable_legacy_crosstool_fields` has been flipped
6249 (https://github.com/bazelbuild/bazel/issues/6861)
6250 `--incompatible_disable_expand_if_all_available_in_flag_set...
6251 RELNOTES: None.
6252 - --incompatible_no_transitive_loads is enabled by default.
6253 - Makes TreeArtifact deterministic.
6254 - --incompatible_no_transitive_loads is enabled by default.
6255 - Android NDK C++ toolchain is now configured in Starlark. This
6256 should be a backwards compatible change, but in case of bugs
6257 blame unknown commit.
6258 - `--incompatible_disable_legacy_crosstool_fields` has been flipped
6259 (https://github.com/bazelbuild/bazel/issues/6861)
6260 `--incompatible_disable_expand_if_all_available_in_flag_set` has
6261 been flipped (https://github.com/bazelbuild/bazel/issues/7008)
6262 - --incompatible_no_transitive_loads is enabled by default.
6263 - --incompatible_bzl_disallow_load_after_statement is enabled
6264 - Added `--incompatible_require_ctx_in_configure_features`, see
6265 https://github.com/bazelbuild/bazel/issues/7793 for details.
6266 - Flag --incompatible_merge_genfiles_directory is flipped. This
6267 removes the directory `bazel-genfiles` in favor of `bazel-bin`.
6268 - previously deprecated flag --experimental_remote_spawn_cache was
6269 removed
6270 - `--incompatible_disallow_load_labels_to_cross_package_boundaries`
6271 is enabled by default
6272 - Fix an issue where the Android resource processor did not surface
6273 errors from aapt2 compile and link actions.
6274 - --incompatible_no_attr_license is enabled by default
6275 - `--incompatible_disable_crosstool_file` has been flipped
6276 (https://github.com/bazelbuild/bazel/issues/7320)
6277 - A new flag `--incompatible_string_join_requires_strings` is
6278 introduced. The sequence argument of `string.join` must contain
6279 only string elements.
6280 - --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
6281 s_tree has been flipped
6282 - Incompatible flag `--incompatible_disable_legacy_cc_provider` has
6283 been flipped (see https://github.com/bazelbuild/bazel/issues/7036
6284 for details).
6285 - Don't drop the analysis cache when the same --define flag is set
6286 multiple times and the last value is the same (e.g. if the
6287 current invocation was run with "--define foo=bar" and the
6288 previous one was run with "--define foo=baz --define foo=bar").
6289 - The --incompatible_disable_genrule_cc_toolchain_dependency flag
6290 has been flipped (see
6291 https://github.com/bazelbuild/bazel/issues/6867 for details).
6292 - Incompatible change
6293 `--incompatible_remove_cpu_and_compiler_attributes_from_cc_toolcha
6294 in` has been flipped (see
6295 https://github.com/bazelbuild/bazel/issues/7075 for details).
6296 - --noexperimental_java_coverage is a no-op flag.
6297 - --experimental_java_coverage/--incompatible_java_coverage flag was
6298 removed. See #7425.
6299 - incompatible_use_toolchain_providers_in_java_common: pass
6300 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
6301 APIs instead of configured targets
6302 (https://github.com/bazelbuild/bazel/issues/7186.)
6303 - --incompatible_remote_symlinks has been flipped. The remote
6304 caching and execution protocol will now represent symlinks in
6305 outputs as such. See
6306 https://github.com/bazelbuild/bazel/issues/7917 for more details.
6307 - Bazel is now ~20MiB smaller, from unbundling the Android rules'
6308 runtime dependencies.
6309
6310This release contains contributions from many people at Google, as well as Andreas Herrmann, Andrew Suffield, Andy Scott, Benjamin Peterson, Ed Baunton, George Gensure, Ian McGinnis, Ity Kaul, Jingwen Chen, John Millikin, Keith Smiley, Marwan Tammam, Mike Fourie, Oscar Bonilla, perwestling, petros, Robert Sayre, Ryan Beasley, silvergasp, Stanimir Mladenov, Travis Cline, Vladimir Chebotarev, ??.
6311
Bazel Release System7f8bc5f2019-04-02 12:26:16 -04006312## Release 0.24.1 (2019-04-02)
6313
6314```
6315Baseline: 235e76b0e756d05599a6cbe1663ff8e13df84a86
6316
6317Cherry picks:
6318
6319 + badd82e4c5cda7b3232481e1c63a5550ac898cd8:
6320 Automated rollback of commit
6321 1b4c37c38804559b5c1ade6f9c93501875e231b0.
6322 + 33e571939085dd158422e1b3503cfc738e0a3165:
6323 Fix the Python version select() mechanism to handle
6324 PY3-as-default
6325 + 56366ee3a73e2c92b2fa36a9840478202b9618ca:
6326 Set non-empty values for msvc_env_* when VC not installed
6327 + 22b3fbf4800113df51d603d943bd9eb9517ef904:
6328 Windows, test wrapper: fix broken integration test
6329 + f14d447cb56aee563f6e686b8f5b086a3bb55d47:
6330 Add whitelist file for starlark transitions
6331 + d99bc478db1f3414b4f6cd3dc14ca70aacf6b375:
6332 Update BUILD
6333 + 3529ad7ccf0c26dfb20a9d67b9d96de15f309f8b:
6334 Rename tools/function_transition_whitelist/BUILD to
6335 tools/whitelists/function_transition_whitelist/BUILD
6336 + de0612ad3ef7cc8c44069261befdeb0d15b97c10:
6337 Update bazel_toolchains to latest release and add toolchain
6338 config target for BuildKite CI (rbe_ubuntu1604)
6339 + 3e660ad178926648e8e10e2ee7a1a30b12f9b3d1:
6340 Automated rollback of commit
6341 087734009801242b83655efb863b2d5a761ae3dc.
6342 + 314cf1f9e4b332955c4800b2451db4e926c3e092:
6343 Pass -undefined dynamic_lookup to dynamic library linking
6344 actions on Mac
6345 + fc586a86b614667a21e5a01aea3544ac0338de78:
6346 Move cc_flags target into @bazel_tools//tools/cpp.
6347 + ea1703b30f9ac43a0c3262f5729c34658ed8d473:
6348 C++: Fix crash reported in #7721
6349 + 803801d1494f06f0ce977a1f2241ef6a4d85df09:
6350 Pass execution info to xml generating spawn. Fixes #7794
6351 + f092ec388a4b58788285b928c86f0f81561d4be4:
6352 Release 0.24.0 (2019-03-26)
6353 + c56c489119e6587975964c44ceb9e429ad950736:
6354 Wrap StatusRuntimeExceptions from GrpcRemoteCache
6355```
6356
6357Baseline: f092ec388a4b58788285b928c86f0f81561d4be4
6358
6359Cherrypicks:
6360+ c56c489119e6587975964c44ceb9e429ad950736: Wrap StatusRuntimeExceptions from GrpcRemoteCache
6361
Bazel Release System4f5c17c2019-03-26 12:08:43 -04006362## Release 0.24.0 (2019-03-26)
Bazel Release System0e4525f2019-03-11 17:43:39 +01006363
6364```
Bazel Release System4f5c17c2019-03-26 12:08:43 -04006365Baseline: 235e76b0e756d05599a6cbe1663ff8e13df84a86
Bazel Release System0e4525f2019-03-11 17:43:39 +01006366
6367Cherry picks:
6368
Bazel Release System4f5c17c2019-03-26 12:08:43 -04006369 + badd82e4c5cda7b3232481e1c63a5550ac898cd8:
6370 Automated rollback of commit
6371 1b4c37c38804559b5c1ade6f9c93501875e231b0.
6372 + 33e571939085dd158422e1b3503cfc738e0a3165:
6373 Fix the Python version select() mechanism to handle
6374 PY3-as-default
Bazel Release System0e4525f2019-03-11 17:43:39 +01006375 + 56366ee3a73e2c92b2fa36a9840478202b9618ca:
6376 Set non-empty values for msvc_env_* when VC not installed
Bazel Release System4f5c17c2019-03-26 12:08:43 -04006377 + 22b3fbf4800113df51d603d943bd9eb9517ef904:
6378 Windows, test wrapper: fix broken integration test
6379 + f14d447cb56aee563f6e686b8f5b086a3bb55d47:
6380 Add whitelist file for starlark transitions
6381 + d99bc478db1f3414b4f6cd3dc14ca70aacf6b375:
6382 Update BUILD
6383 + 3529ad7ccf0c26dfb20a9d67b9d96de15f309f8b:
6384 Rename tools/function_transition_whitelist/BUILD to
6385 tools/whitelists/function_transition_whitelist/BUILD
6386 + de0612ad3ef7cc8c44069261befdeb0d15b97c10:
6387 Update bazel_toolchains to latest release and add toolchain
6388 config target for BuildKite CI (rbe_ubuntu1604)
6389 + 3e660ad178926648e8e10e2ee7a1a30b12f9b3d1:
6390 Automated rollback of commit
6391 087734009801242b83655efb863b2d5a761ae3dc.
6392 + 314cf1f9e4b332955c4800b2451db4e926c3e092:
6393 Pass -undefined dynamic_lookup to dynamic library linking
6394 actions on Mac
6395 + fc586a86b614667a21e5a01aea3544ac0338de78:
6396 Move cc_flags target into @bazel_tools//tools/cpp.
6397 + ea1703b30f9ac43a0c3262f5729c34658ed8d473:
6398 C++: Fix crash reported in #7721
6399 + 803801d1494f06f0ce977a1f2241ef6a4d85df09:
6400 Pass execution info to xml generating spawn. Fixes #7794
Bazel Release System0e4525f2019-03-11 17:43:39 +01006401```
6402
Bazel Release System4f5c17c2019-03-26 12:08:43 -04006403Incompatible changes:
Bazel Release System0e4525f2019-03-11 17:43:39 +01006404
Bazel Release System4f5c17c2019-03-26 12:08:43 -04006405 - Added --incompatible_py3_is_default to test switching the default
6406 Python version to PY3 for py_binary/py_test targets that do not
6407 specify a version. See #7359.
6408 - //tools/cmd_line_differ has been renamed to //tools/aquery_differ
6409 & can now compare (in addition to command lines) inputs of
6410 actions given 2 aquery results.
6411 - java_(mutable_|)proto_library: removed strict_deps attribute.
6412 - The flag --incompatible_list_based_execution_strategy_selection
6413 was added and is used to ease the migration to the new style of
6414 specifying
6415 execution strategy selection and fallback behavior. The
6416 documentation for
6417 this flag is here: https://github.com/bazelbuild/bazel/issues/7480
6418 - Added --incompatible_py2_outputs_are_suffixed, for switching the
6419 bazel-bin symlink to point to Python 3 outputs instead of Python
6420 2 outputs. See
6421 [#7593](https://github.com/bazelbuild/bazel/issues/7593).
Bazel Release Systemf28ff222019-03-04 11:12:24 +01006422
Bazel Release System4f5c17c2019-03-26 12:08:43 -04006423New features:
Bazel Release Systemf28ff222019-03-04 11:12:24 +01006424
Bazel Release System4f5c17c2019-03-26 12:08:43 -04006425 - Make actions.args() object chainable.
6426 - Added --incompatible_windows_style_arg_escaping flag: enables
6427 correct subprocess argument escaping on Windows. (No-op on other
6428 platforms.)
6429 - Added --incompatible_windows_escape_jvm_flags flag: enables
6430 correct java_binary.jvm_flags and java_test.jvm_flags
6431 tokenization and escaping on Windows. (No-op on other platforms.)
Bazel Release Systemf28ff222019-03-04 11:12:24 +01006432
Bazel Release System4f5c17c2019-03-26 12:08:43 -04006433Important changes:
Bazel Release Systemf28ff222019-03-04 11:12:24 +01006434
Bazel Release System4f5c17c2019-03-26 12:08:43 -04006435 - Allow running aquery against the current state of Skyframe
6436 - Added support for the "navigation" resource directory to Android
6437 resource processing in Bazel. This is used by the Navigation
6438 Architecture Component.
6439 - --incompatible_disable_runtimes_filegroups was flipped
6440 (https://github.com/bazelbuild/bazel/issues/6942)
6441 - Incompatible flag `--incompatible_linkopts_in_user_link_flags`
6442 has been flipped (https://github.com/bazelbuild/bazel/issues/6826)
6443 - Incompatible flag `--incompatible_dont_emit_static_libgcc` has
6444 been flipped (https://github.com/bazelbuild/bazel/issues/6825)
6445 - --incompatible_disallow_filetype is enabled by default.
6446 - Fixed issue where exceptions and stacktraces were silently
6447 swallowed in the Android resource processing pipeline.
6448 - `--incompatible_disable_expand_if_all_available_in_flag_set` has
6449 been flipped (https://github.com/bazelbuild/bazel/issues/7008)
6450 - --incompatible_disallow_dict_plus is enabled by default
6451 - Adds --incompatible_disable_objc_library_resources to disable
6452 resource attributes in objc_library. Please migrate these
6453 attributes to `data` instead.
6454 - --incompatible_disallow_old_style_args_add is enabled by default.
6455 - Using the `native` module in BUILD files is deprecated. It will
6456 be forbidden with --incompatible_disallow_native_in_build_file.
6457 - (Python rules) PyRuntimeInfo is exposed to Starlark, making it
6458 possible for Starlark rules to depend on or imitate `py_runtime`.
6459 The `files` attribute of `py_runtime` is no longer mandatory.
6460 - incompatible_use_toolchain_providers_in_java_common: pass
6461 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
6462 APIs instead of configured
6463 targetshttps://github.com/bazelbuild/bazel/issues/7186.
6464 - is_using_fission crosstool variable is now exposed in all compile
6465 actions when fission is active (it used to be exposed only for
6466 linking actions).
6467 - incompatible_use_toolchain_providers_in_java_common: pass
6468 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
6469 APIs instead of configured
6470 targetshttps://github.com/bazelbuild/bazel/issues/7186.
6471 - `py_runtime` gains a `python_version` attribute for specifying
6472 whether it represents a Python 2 or 3 interpreter.
6473 - `--incompatible_java_coverage` is enabled by default.
6474 - Starlark rules can safely declare attributes named "licenses"
6475 - When using
6476 --incompatible_list_based_execution_strategy_selection, Bazel
6477 will use remote execution by default (if you specify
6478 --remote_executor), otherwise persistent workers (if the action
6479 supports it), otherwise sandboxed local execution (if the action
6480 and platform supports it) and at last unsandboxed local
6481 execution. The flags --spawn_strategy and --strategy continue to
6482 work as before - this only sets new defaults for the case where
6483 you don't specify these flags.
6484 - Set default value of --incompatible_remap_main_repo to true.
6485 - Set default value of --incompatible_remap_main_repo to true.
6486
6487This 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.
Bazel Release Systemf28ff222019-03-04 11:12:24 +01006488
Bazel Release Systemed104862019-02-26 18:36:00 +01006489## Release 0.23.0 (2019-02-26)
6490
6491```
6492Baseline: 441fd75d0047f8a998d784c557736ab9075db893
6493
6494Cherry picks:
6495
6496 + 6ca7763669728253606578a56a205bca3ea883e9:
6497 Fix a typo
6498 + 2310b1c2c8b2f32db238f667747e7d5672480f4a:
6499 Ignore SIGCHLD in test setup script
6500 + f9eb1b56706f91063e9d080b850fa56964e77324:
6501 Complete channel initialization in the event loop
6502```
6503
6504Incompatible changes:
6505
6506 - //src:bazel uses the minimal embedded JDK, if you want to
6507 avoid the extra steps of minimizing the JDK, use //src:bazel-dev
6508 instead.
6509 - //src:bazel uses the minimal embedded JDK, if you want to
6510 avoid the extra steps of building bazel with the minimized JDK,
6511 use //src:bazel-dev
6512 instead.
6513 - The default value of --host_platform and --platforms will be
6514 changed to not be dependent on the configuration. This means
6515 that setting
6516 --cpu or --host_cpu will not affect the target or host platform.
6517 - Toolchain resolution for cc rules is now enabled via an
6518 incompatible flag, --incompatible_enable_cc_toolchain_resolution.
6519 The previous
6520 flag, --enabled_toolchain_types, is deprecated and will be
6521 removed.
6522 - java_(mutable_|)proto_library: removed strict_deps attribute.
6523 - Python rules will soon reject the legacy "py" struct provider
6524 (preview by enabling --incompatible_disallow_legacy_py_provider).
6525 Upgrade rules to use PyInfo instead. See
6526 [#7298](https://github.com/bazelbuild/bazel/issues/7298).
6527 - java_(mutable_|)proto_library: removed strict_deps attribute.
6528 - Two changes to native Python rules: 1) `default_python_version`
6529 and `--force_python` are deprecated; use `python_version` and
6530 `--python_version` respectively instead. You can preview the
6531 removal of the deprecated names with
6532 --incompatible_remove_old_python_version_api. See
6533 [#7308](https://github.com/bazelbuild/bazel/issues/7308). 2) The
6534 version flag will no longer override the declared version of a
6535 `py_binary` or `py_test` target. You can preview this new
6536 behavior with --incompatible_allow_python_version_transitions.
6537 See [#7307](https://github.com/bazelbuild/bazel/issues/7307).
6538
6539Important changes:
6540
6541 - There is a new flag available
6542 `--experimental_java_common_create_provider_enabled_packages`
6543 that acts as a whitelist for usages of
6544 `java_common.create_provider`. The constructor will be deprecated
6545 in Bazel 0.23.
6546 - [#7024] Allow chaining of the same function type in aquery.
6547 - Introduces --local_{ram,cpu}_resources, which will take the place
6548 of --local_resources.
6549 - [#6930] Add documentation for the aquery command.
6550 - Incompatible flag `--incompatible_dont_emit_static_libgcc` has
6551 been flipped (https://github.com/bazelbuild/bazel/issues/6825)
6552 - Incompatible flag `--incompatible_linkopts_in_user_link_flags`
6553 has been flipped (https://github.com/bazelbuild/bazel/issues/6826)
6554 - Flag --incompatible_range_type is removed.
6555 - Flag --incompatible_disallow_slash_operator is removed.
6556 - Flag --incompatible_disallow_conflicting_providers is removed.
6557 - `--incompatible_disallow_data_transition` is now enabled by
6558 default
6559 - Allow inclusion of param files in aquery output
6560 - [#6985] Add test to verify aquery's behavior for Cpp action
6561 templates.
6562 - --incompatible_require_feature_configuration_for_pic was flipped
6563 (https://github.com/bazelbuild/bazel/issues/7007).
6564 - Also ignore module-info.class in multi-version Jars
6565 - objc_framework has been deleted. Please refer to
6566 apple_dynamic_framework_import and apple_static_framework_import
6567 rules available in
6568 [rules_apple](https://github.com/bazelbuild/rules_apple/blob/maste
6569 r/doc/rules-general.md)
6570 - --test_sharding_strategy=experimental_heuristic is no more
6571 - objc_bundle_library has been removed. Please migrate to
6572 rules_apple's
6573 [apple_resource_bundle](https://github.com/bazelbuild/rules_apple/
6574 blob/master/doc/rules-resources.md#apple_resource_bundle).
6575 - You can now use the attribute `aapt_version` or the flag
6576 `--android_aapt` to pick the aapt version for android_local_test
6577 tests
6578 - In --keep_going mode, Bazel now correctly returns a non-zero exit
6579 code when encountering a package loading error during target
6580 pattern parsing of patterns like "//foo:all" and "//foo/...".
6581 - The default value for --incompatible_strict_action_env has been
6582 flipped to 'false' again, as we discovered breakages for local
6583 execution users. We'll need some more time to figure out the best
6584 way to make this work for local and remote execution. Follow
6585 https://github.com/bazelbuild/bazel/issues/7026 for more details.
6586 - Locally-executed spawns tagged "no-cache" no longer upload their
6587 outputs to the remote cache.
6588 - Introduces --host_compiler flag to allow setting a compiler for
6589 host compilation when --host_crosstool_top is specified.
6590 - --incompatible_expand_directories is enabled by default
6591 - [aquery] Handle the case of aspect-on-aspect.
6592 - Fixed a longstanding bug in the http remote cache where the value
6593 passed to
6594 --remote_timeout would be interpreted as milliseconds instead of
6595 seconds.
6596 - Enable --incompatible_use_jdk10_as_host_javabase by default, see
6597 https://github.com/bazelbuild/bazel/issues/6661
6598 - Add --incompatible_use_jdk11_as_host_javabase: makes JDK 11 the
6599 default --host_javabase for remote jdk
6600 (https://github.com/bazelbuild/bazel/issues/7219)
6601 - Highlight TreeArtifact in aquery text output.
6602 - Locally-executed spawns tagged "no-cache" no longer upload their
6603 outputs to the remote cache.
6604 - java_common APIs now accept JavaToolchainInfo and JavaRuntimeInfo
6605 instead of configured targets for java_toolchain and java_runtime
6606 - cc_common.create_cc_toolchain_config_info is stable and available
6607 for production use
6608 - incompatible_use_toolchain_providers_in_java_common: pass
6609 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
6610 APIs instead of configured targets
6611 (https://github.com/bazelbuild/bazel/issues/7186)
6612 - --incompatible_strict_argument_ordering is enabled by default.
6613 - Bazel now supports reading cache hits from a repository cache,
6614 even if it doesn't have write access to the cache.
6615 - Adding arm64e to OSX CROSSTOOL.
6616 - Ignore package-level licenses on config_setting.
6617 - Add an optional output_source_jar parameter to java_common.compile
6618 - --incompatible_disable_objc_provider_resources is now enabled by
6619 default. This disables ObjcProvider's fields related to resource
6620 processing.
6621 - Explicitly set https.protocols and exclude TLSv1.3.
6622 - Bazel now validates that JAVA_HOME points to a valid JDK and
6623 falls back to auto-detection by looking up the path of `javac`.
6624 - Upgrade the embedded JDK version to 11.0.2.
6625 - Added --incompatible_disable_crosstool_file
6626 (https://github.com/bazelbuild/bazel/issues/7320)
6627 - --incompatible_disable_objc_provider_resources is now enabled by
6628 default. This disables ObjcProvider's fields related to resource
6629 processing.
6630 - --incompatible_disable_tools_defaults_package has been flipped.
6631 - For tests that do not generate a test.xml, Bazel now uses a
6632 separate action to generate one; this results in minor
6633 differences in the generated test.xml, and makes the generation
6634 more reliable overall.
6635 - incompatible_generate_javacommon_source_jar: java_common.compile
6636 now always generates a source jar, see
6637 https://github.com/bazelbuild/bazel/issues/5824.
6638 - New incompatible flag
6639 --incompatible_disallow_struct_provider_syntax removes the
6640 ability for rule implementation functions to return struct. Such
6641 functions should return a list of providers instead. Migration
6642 tracking: https://github.com/bazelbuild/bazel/issues/7347
6643
6644This release contains contributions from many people at Google, as well as Benjamin Peterson, Ed Schouten, erenon, George Gensure, Greg Estren, Igal Tabachnik, Ittai Zeidman, Jannis Andrija Schnitzer, John Millikin, Keith Smiley, Kelly Campbell, Max Vorobev, nicolov, Robin Nabel.
6645
Bazel Release System2f82b332019-01-28 13:54:53 +01006646## Release 0.22.0 (2019-01-28)
6647
6648```
6649Baseline: deb028e3fb30b4e2953df16f35ab1f55a08ea8fa
6650
6651Cherry picks:
6652
6653 + a3a5975dca3ad04c19dc7d063fcf490a8cd612fd:
6654 Fix a race condition in remote cache
6655 + b8d0e1b05c225a4b943ce498194d069d18093d9a:
6656 Use a new GitHub token and KMS key for the release process.
6657 + 3759e3895503aa2bbd6943c5b568b8c050b9448f:
6658 remote: fix unexpected IO error (not a directory)
6659 + 4473bb1a9ec4282aa8497b86580d68e82415df4a:
6660 Fix a race condition in Bazel's Windows process management.
6661 + 9137fb940886aa516f32ca8a36feccedb545c99b:
6662 undo flag flip of --incompatible_strict_action_env
6663 + 12ab12e80ad1c9a3510aa4bbfdf3fddafc0bca00:
6664 Revert "Enabling Bazel to generate input symlinks as defined by
6665 RE AP?
6666 + 6345c747d8cb1819e70c853becadbf8a989decf1:
6667 Automated rollback of commit
6668 30536baa4a410d8c0a7adab5cd58cd8a2ac7e46c.
6669```
6670
Bazel Release System2f82b332019-01-28 13:54:53 +01006671
Bazel Release System2f82b332019-01-28 13:54:53 +01006672
Klaus Aehligcb59bd22019-01-28 14:20:37 +01006673The Bazel team is happy to announce a new release of Bazel,
6674[Bazel 0.22.0](https://github.com/bazelbuild/bazel/releases/tag/0.22.0).
Bazel Release System2f82b332019-01-28 13:54:53 +01006675
Klaus Aehligcb59bd22019-01-28 14:20:37 +01006676Baseline: deb028e3fb30b4e2953df16f35ab1f55a08ea8fa
Bazel Release System2f82b332019-01-28 13:54:53 +01006677
Klaus Aehligcb59bd22019-01-28 14:20:37 +01006678### Breaking changes
6679
6680- [`--incompatible_string_is_not_iterable`](https://github.com/bazelbuild/bazel/issues/5830)
6681
6682### Upcoming changes
6683
6684This release is a [migration window for the following changes](https://github.com/bazelbuild/bazel/labels/migration-0.22).
6685
6686- [`--incompatible_disallow_data_transition`](https://github.com/bazelbuild/bazel/issues/6153)
6687- [`--incompatible_dont_emit_static_libgcc`](https://github.com/bazelbuild/bazel/issues/6825)
6688- [`--incompatible_linkopts_in_user_link_flags`](https://github.com/bazelbuild/bazel/issues/6826)
6689- [`--incompatible_disable_legacy_crosstool_fields`](https://github.com/bazelbuild/bazel/issues/6861)
6690- [`--incompatible_use_aapt2_by_default`](https://github.com/bazelbuild/bazel/issues/6907)
6691- [`--incompatible_disable_runtimes_filegroups`](https://github.com/bazelbuild/bazel/issues/6942)
6692- [`--incompatible_disable_legacy_cc_provider`](https://github.com/bazelbuild/bazel/issues/7036)
6693- [`--incompatible_require_feature_configuration_for_pic`](https://github.com/bazelbuild/bazel/issues/7007)
6694- [`--incompatible_disable_expand_if_all_available_in_flag_set`](https://github.com/bazelbuild/bazel/issues/7008)
6695- [`--incompatible_disable_legacy_proto_provider`](https://github.com/bazelbuild/bazel/issues/7152)
6696- [`--incompatible_disable_proto_source_root`](https://github.com/bazelbuild/bazel/issues/7153)
6697
6698### General Changes
6699
6700- https://docs.bazel.build now supports versioned
6701 documentation. Use the selector at the top of the navigation bar
6702 to switch between documentation for different Bazel releases.
6703
6704- set `projectId` in all `PublishBuildToolEventStreamRequest`
6705
6706### Android
6707
6708- mobile-install now works with aapt2. Try it out with `bazel
6709 mobile-install --android_aapt=aapt2 //my:target`
6710
6711- Fixed issues with mobile-install v1 when deploying to Android 9 Pie
6712 devices. https://github.com/bazelbuild/bazel/issues/6814
6713
6714- Fixed issue where error messages from Android manifest merging
6715 actions were not fully propagated.
6716
6717- New incompatible change flag `--incompatible_use_aapt2_by_default`
6718 for defaulting to aapt2 in Android builds has been added. To build with
6719 aapt2 today, pass the flag
6720 `--incompatible_use_aapt2_by_default=true` or
6721 `--android_aapt=aapt2`, or set the `aapt_version` to `aapt2` on
6722 your `android_binary` or `android_local_test` target.
6723
6724- Fixed mobile-install v1 error when installing an app with native
6725 libraries onto an Android 9 (Pie) device. See
6726 https://github.com/bazelbuild/examples/issues/77
6727
6728- Fixed a mobile-install bug where `arm64-v8a` libraries were not
6729 deployed correctly on `arm64` devices. This was done by enabling
6730 incremental native lib deployment by default. A previously
6731 undocumented `--android_incremental_native_libs` flag is removed,
6732 and is now the regular behavior. See
6733 https://github.com/bazelbuild/bazel/issues/2239
6734
6735### Apple
6736
6737- The `objc_bundle` rule has been removed. Please migrate to rules_apple's
6738 [apple_bundle_import](https://github.com/bazelbuild/rules_apple/bl
6739 ob/master/doc/rules-resources.md#apple_bundle_import).
6740
6741- The `apple_stub_binary` rule has been deleted.
6742
6743- The `--xbinary_fdo` option that passes xbinary profiles has been added.
6744
6745### C++
6746
6747- `cc_toolchain.(static|dynamic)_runtime_libs` attributes are now optional
6748
6749### Packaging
6750
6751- `build_tar.py` in `tools/build_defs/pkg` now supports a JSON manifest
6752 that can be used to add paths that have symbols that can't be
6753 specified via the command line
6754
6755### Query
6756
6757- Filtering of inputs, outputs, and mnemonic filtering have been added to
6758 aquery.
6759
6760- The aquery and cquery query2 tests have been open-sourced.
6761
6762- The Bazel query how-to recommends ":*" instead of ":all", because "all" might
6763 be the name of a target.
6764
6765### Testing
6766
6767- The `--runs_per_test` has been placed in the TESTING documentation category.
6768
6769- A a clarifying message has been added to test case summary output when all
6770 test cases pass but the target fails.
6771
6772### Contributors
6773
6774This release contains contributions from many people at Google, as well as
6775Benjamin Peterson, Dave Lee, George Gensure, Gert van Dijk, Gustavo Storti
6776Salibi, Keith Smiley, Loo Rong Jie, Lukasz Tekieli, Mikhail Mazurskiy, Thi,
6777Travis Cline, Vladimir Chebotarev, and Yannic.
Bazel Release System2f82b332019-01-28 13:54:53 +01006778
Bazel Release Systema189d422018-12-19 13:53:11 +01006779## Release 0.21.0 (2018-12-19)
6780
6781```
6782Baseline: cb9b2afbba3f8d3a1db8bf68e65d06f1b36902f5
6783
6784Cherry picks:
6785
6786 + 12b96466ee0d6ab83f7d4cd24be110bb5021281d:
6787 Windows, test wrapper: rename the associated flag
6788 + 7fc967c4d6435de2bb4e34aac00ca2e499f55fca:
6789 Use a fixed thread pool in ByteStreamBuildEventArtifactUploader
6790 + 798b9a989aa793655d29504edb5fb85f3143db84:
6791 Add --build_event_upload_max_threads option
6792 + dbe05df23ccf4c919379e0294e0701fd3f66739c:
6793 Update the version of skylib bundled in the distfile
6794```
6795
6796Incompatible changes:
6797
6798 - The --experimental_stl command line option is removed.
6799 - aquery defaults to human readable output format.
6800
6801New features:
6802
6803 - repository_ctx.download and repository_ctx.download_and_extract
6804 now return a struct.
6805 - Android Databinding v2 can be enabled with
6806 --experimental_android_databinding_v2.
6807
6808Important changes:
6809
6810 - The deprecated and unmaintained Docker rules in
6811 tools/build_defs/docker were removed. Please use
6812 https://github.com/bazelbuild/rules_docker instead.
6813 - The new --upload_query_output_using_bep query/cquery/aquery flag
6814 causes query outputs to be uploaded via BEP.
6815 - New incompatible flag --incompatible_strict_argument_ordering
6816 - --strict_android_deps and --strict_java_deps were renamed to
6817 --experimental_strict_java_deps
6818 - config_settings that select on "compiler" value instead of values
6819 = {"compiler" : "x"} should use flag_values =
6820 {"@bazel_tools//tools/cpp:compiler": "x"}.
6821 - The new --upload_query_output_using_bep query/cquery/aquery flag
6822 causes query outputs to be uploaded via BEP.
6823 - Turn on --incompatible_disable_sysroot_from_configuration
6824 - We revamped our Android with Bazel tutorial! Check it out
6825 [here](https://docs.bazel.build/versions/master/tutorial/android-a
6826 pp.html).
6827 - --incompatible_disallow_slash_operator is now on by default
6828 - Enable --experimental_check_desugar_deps by default. This flag
6829 rules out several types of invalid Android builds at compile-time.
6830 - The --max_config_changes_to_show option lists the names of
6831 options which
6832 have changed and thus caused the analysis cache to be dropped.
6833 - The --experimental_strict_action_env option has been renamed to
6834 --incompatible_strict_action_env and is now on by default. This
6835 means Bazel will no longer use the client's PATH and
6836 LD_LIBRARY_PATH environmental variables in the default action
6837 environment. If the old behavior is desired, pass
6838 --action_env=PATH and --action_env=LD_LIBRARY_PATH.
6839 --noincompatible_strict_action_env will also temporarily restore
6840 the old behavior. However, as --action_env is a more general and
6841 explicit way to pass client environmental variables into actions,
6842 --noincompatible_strict_action_env will eventually be deprecated
6843 and removed. See #6648 for more details.
6844 - XCRUNWRAPPER_LABEL has been removed. If you used this value
6845 before, please use @bazel_tools//tools/objc:xcrunwrapper instead.
6846 - --incompatible_static_name_resolution is no unable by default
6847 - We will phase out --genrule_strategy in favor of
6848 --strategy=Genrule=<value> (for genrules) or
6849 --spawn_strategy=<value> (for all actions).
6850 - --incompatible_package_name_is_a_function is now enabled by
6851 default
6852 - Dynamic execution is now available with
6853 --experimental_spawn_strategy. Dynamic execution allows a build
6854 action to run locally and remotely simultaneously, and Bazel
6855 picks the fastest action. This provides the best of both worlds:
6856 faster clean builds than pure local builds, and faster
6857 incremental builds than pure remote builds.
6858 - --incompatible_package_name_is_a_function is now enabled by
6859 default
6860 - New incompatible flag --incompatible_merge_genfiles_directory
6861 - grpc log now logs updateActionResult
6862 - CppConfiguration doesn't do package loading anymore. That means:
6863 * it's no longer needed to have C++ toolchain available when
6864 building non-C++ projects
6865 * bazel will not analyze C++ toolchain when not needed -> speedup
6866 ~2s on bazel startup when C++ rules using hermetic toolchain are
6867 not loaded
6868 - --incompatible_package_name_is_a_fu...
6869
6870This release contains contributions from many people at Google, as well as andy g scott ?, Attila Ol?h, Benjamin Peterson, Clint Harrison, Dave Lee, Ed Schouten, Greg Estren, Gregor Jasny, Jamie Snape, Jerry Marino, Loo Rong Jie, Or Shachar, Sevki Hasirci, William Chargin.
6871
Bazel Release System85378562018-11-30 15:34:16 +01006872## Release 0.20.0 (2018-11-30)
6873
6874```
6875Baseline: 7bf7f031c332dc483257248d1c1f98ad75bbc83b
6876
6877Cherry picks:
6878
6879 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
6880 update bazel-toolchains pin to latest release Part of changes to
6881 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
6882 before 0.17.0 are not compatible with bazel 0.19.0 or above.
6883 + 241f28d05424db2d11ee245dc856b992258505e3:
6884 Revert "Toggle --incompatible_disable_late_bound_option_defaults
6885 flag."
6886 + f7e5aef145c33968f658eb2260e25630dc41cc67:
6887 Add cc_toolchain targets for the new entries in the default
6888 cc_toolchain_suite.
6889 + d2920e32ec7f3f8551a693d33c17b19f1b802145:
6890 Revert "WindowsFileSystem: open files with delete-sharing"
6891```
6892
6893[Breaking changes in 0.20](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Abreaking-change-0.20)
6894
6895 - [--incompatible_remove_native_http_archive](https://github.com/bazelbuild/bazel/issues/6570).
6896 - [--incompatible_remove_native_git_repository](https://github.com/bazelbuild/bazel/issues/6569).
6897 - [--incompatible_disable_cc_toolchain_label_from_crosstool_proto](https://github.com/bazelbuild/bazel/issues/6434).
6898 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6384).
6899 - [--incompatible_disable_cc_configuration_make_variables](https://github.com/bazelbuild/bazel/issues/6381).
6900 - [--incompatible_disallow_conflicting_providers](https://github.com/bazelbuild/bazel/issues/5902).
6901 - [--incompatible_range_type](https://github.com/bazelbuild/bazel/issues/5264).
6902
6903[0.20 is a migration window for the following changes](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Amigration-0.20)
6904
6905 - [--incompatible_use_jdk10_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6661)
6906 - [--incompatible_use_remotejdk_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6656)
6907 - [--incompatible_disable_sysroot_from_configuration](https://github.com/bazelbuild/bazel/issues/6565)
6908 - [--incompatible_provide_cc_toolchain_info_from_cc_toolchain_suite](https://github.com/bazelbuild/bazel/issues/6537)
6909 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6383)
6910 - [--incompatible_package_name_is_a_function](https://github.com/bazelbuild/bazel/issues/5827)
6911
6912[Breaking changes in the next release (0.21)](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Abreaking-change-0.21)
6913
6914 - [--incompatible_use_jdk10_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6661)
6915 - [--incompatible_use_remotejdk_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6656)
6916 - [--incompatible_disable_sysroot_from_configuration](https://github.com/bazelbuild/bazel/issues/6565)
6917 - [--incompatible_provide_cc_toolchain_info_from_cc_toolchain_suite](https://github.com/bazelbuild/bazel/issues/6537)
6918 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6383)
6919 - [--incompatible_disallow_data_transition](https://github.com/bazelbuild/bazel/issues/6153)
6920 - [--incompatible_package_name_is_a_function](https://github.com/bazelbuild/bazel/issues/5827)
6921 - [--incompatible_disallow_slash_operator](https://github.com/bazelbuild/bazel/issues/5823)
6922 - [--incompatible_static_name_resolution](https://github.com/bazelbuild/bazel/issues/5637)
6923
6924Incompatible changes:
6925
6926 - the --experimental_no_dotd_scanning_with_modules command line
6927 argument is not supported anymore.
6928 - The --prune_cpp_modules command line option is not supported
6929 anymore.
6930 - the --experimental_prune_cpp_input_discovery command line option
6931 is not supported anymore.
6932
6933New features:
6934
6935 - Added support for Android NDK r18.
6936
6937Important changes:
6938
6939 - The 'default' parameter of attr.output and attr.output_list is
6940 removed. This is controlled by
6941 --incompatible_no_output_attr_default
6942 - A number of platform-related Starlark APIs which were previously
6943 marked "experimental" are now disabled by default, and may be
6944 enabled via --experimental_platforms_api
6945 - Make legacy-test-support ("legacy_test-<api-level>") from
6946 android_sdk_repository neverlink. The legacy test support
6947 libraries shouldn't be built into test binaries. To make them
6948 available at runtime, developers should declare them via
6949 uses-library:
6950 https://developer.android.com/training/testing/set-up-project#andr
6951 oid-test-base
6952 - query remote server Capabilities (per REAPI v2)
6953 - CppRules: All cc_toolchains depended on from
6954 cc_toolchain_suite.toolchains are now analyzed when not using
6955 platforms in order to select the right cc_toolchain.
6956 - removed obsolete --explicit_jre_deps flag.
6957 - Incompatible flag
6958 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
6959 flipped.
6960 - Improve error messaging when unsupport proguard options are
6961 specified at the library level.
6962 - Incompatible flag
6963 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
6964 flipped.
6965 - Incompatible flag
6966 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
6967 flipped.
6968 - The --incompatible_disable_late_bound_option_defaults flag has
6969 been flipped (#6384)
6970 - Incompatible flag
6971 --incompatible_disable_legacy_flags_cc_toolchain_api was flipped
6972 (#6434)
6973 - Fixed issue where ctx.resolve_command created conflicting
6974 intermediate files when resolve_command was called multiple times
6975 within the same rule invocation with a long command attribute.
6976 - Incompatible flag
6977 --incompatible_disable_cc_configuration_make_variables was
6978 flipped (#6381)
6979 - If the --javabase flag is unset, it Bazel locates a JDK using
6980 the JAVA_HOME environment variable and searching the PATH. If no
6981 JDK is found --javabase will be empty, and builds targeting Java
6982 will not
6983 be supported. Previously Bazel would fall back to using the
6984 embedded
6985 JDK as a --javabase, but this is no longer default behaviour. A
6986 JDK should
6987 be explicitly installed instead to enable Java development
6988 - Bazel will now shut down when idle for 5 minutes and the system
6989 is low on RAM (linux only).
6990 - CROSSTOOL file is now read from the package of cc_toolchain, not
6991 from
6992 the package of cc_toolchain_suite. This is not expected to break
6993 anybody since
6994 cc_toolchain_suite and cc_toolchain are commonly in the same
6995 package.
6996 - All overrides of Starlark's ctx.new_file function are now
6997 deprecated.
6998 Try the `--incompatible_new_actions_api` flag to ensure your
6999 code is forward-compatible.
7000 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
7001 was flipped.
7002 - Introduce --(no)shutdown_on_low_sys_mem startup flag to toggle
7003 idle low-memory shutdown, disabled by default.
7004 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
7005 was flipped.
7006 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
7007 was flipped.
7008 - CppRules: All cc_toolchains depended on from
7009 cc_toolchain_suite.toolchains are now analyzed when not using
7010 platforms in order to select the right cc_toolchain.
7011 - The function `attr.license` is deprecated and will be removed.
7012 It can be disabled now with `--incompatible_no_attr_license`.
7013 - `range()` function now returns a lazy value
7014 (`--incompatible_range_type` is now set by default).
7015 - The code coverage report now includes the actual paths to header
7016 files instead of the ugly,
7017 Bazel generated, virtual includes path.
7018 - `--incompatible_disallow_conflicting_providers` has been switched
7019 to true
7020 - Add new flag `--incompatible_disable_systool_from_configration` to
7021 disable loading the systool from CppConfiguration.
7022 - Add new flag `--incompatible_disable_sysroot_from_configuration`
7023 to
7024 disable loading the systool from CppConfiguration.
7025 - Sorting remote Platform properties for remote execution. May
7026 affect cache keys!
7027 - Use different server log files per Bazel server process; java.log
7028 is
7029 now a symlink to the latest log.
7030
7031This release contains contributions from many people at Google, as well as a7g4 <a7g4@a7g4.net>, Alan <alan.agius@betssongroup.com>, Asaf Flescher <asafflesch@gmail.com>, Benjamin Peterson <bp@benjamin.pe>, Ed Schouten <ed.schouten@prodrive-technologies.com>, George Gensure <ggensure@uber.com>, George Kalpakas <kalpakas.g@gmail.com>, Greg <gregestren@users.noreply.github.com>, Irina Iancu <iirina@users.noreply.github.com>, Keith Smiley <keithbsmiley@gmail.com>, Loo Rong Jie <loorongjie@gmail.com>, Mark Zeren <mzeren@vmware.com>, Petros Eskinder <petroseskinder@users.noreply.github.com>, rachcatch <rachelcatchpoole@hotmail.com>, Robert Brown <robert.brown@gmail.com>, Robert Gay <robert.gay@redfin.com>, Salty Egg <2281521+zhouhao@users.noreply.github.com>.
7032
Bazel Release Systemcb3e2982018-11-19 11:19:38 -05007033## Release 0.19.2 (2018-11-19)
7034
7035```
7036Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
7037
7038Cherry picks:
7039
7040 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
7041 Fix the "nojava" platform and enable full presubmit checks for
7042 the various JDK platforms now that we have enough GCE resources.
7043 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
7044 Add openjdk_linux_archive java_toolchain for nojava platform.
7045 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
7046 Automated rollback of commit
7047 19a401c38e30ebc0879925a5caedcbe43de0028f.
7048 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
7049 Windows: Fix Precondition check for addDynamicInputLinkOptions
7050 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
7051 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
7052 it exists.
7053 + e025726006236520f7e91e196b9e7f139e0af5f4:
7054 Update turbine
7055 + 5f312dd1678878fb7563eae0cd184f2270346352:
7056 Fix event id for action_completed BEP events
7057 + f0c844c77a2406518c4e75c49188390d5e281d3d:
7058 Release 0.19.0 (2018-10-29)
7059 + c3fb1db9e4e817e8a911f5b347b30f2674a82f7c:
7060 Do not use CROSSTOOL to select cc_toolchain
7061 + 8e280838e8896a6b5eb5421fda435b96b6f8de60:
7062 Windows Add tests for msys gcc toolchain and mingw gcc toolchain
7063 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
7064 update bazel-toolchains pin to latest release Part of changes to
7065 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
7066 before 0.17.0 are not compatible with bazel 0.19.0 or above.
7067 + eb2af0f699350ad187048bf814a95af23f562c77:
7068 Release 0.19.1 (2018-11-12)
7069 + 6bc452874ddff69cbf7f66186238032283f1195f:
7070 Also update cc_toolchain.toolchain_identifier when
7071 CC_TOOLCHAIN_NAME is set
7072 + f7e5aef145c33968f658eb2260e25630dc41cc67:
7073 Add cc_toolchain targets for the new entries in the default
7074 cc_toolchain_suite.
7075 + 683c302129b66a8999f986be5ae7e642707e978c:
7076 Read the CROSSTOOL from the package of the current cc_toolchain,
7077 not from --crosstool_top
7078```
7079
7080- Fixes regression #6662, by fixing tools/cpp/BUILD
7081- Fixes regression #6665, by setting the toolchain identifier.
7082- CROSSTOOL file is now read from the package of cc_toolchain, not from the
7083 package of cc_toolchain_suite. This is not expected to break anybody since
7084 cc_toolchain_suite and cc_toolchain are commonly in the same package.
7085
Bazel Release System684f1092018-11-12 10:26:58 -05007086## Release 0.19.1 (2018-11-12)
7087
7088```
7089Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
7090
7091Cherry picks:
7092
7093 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
7094 Fix the "nojava" platform and enable full presubmit checks for
7095 the various JDK platforms now that we have enough GCE resources.
7096 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
7097 Add openjdk_linux_archive java_toolchain for nojava platform.
7098 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
7099 Automated rollback of commit
7100 19a401c38e30ebc0879925a5caedcbe43de0028f.
7101 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
7102 Windows: Fix Precondition check for addDynamicInputLinkOptions
7103 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
7104 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
7105 it exists.
7106 + e025726006236520f7e91e196b9e7f139e0af5f4:
7107 Update turbine
7108 + 5f312dd1678878fb7563eae0cd184f2270346352:
7109 Fix event id for action_completed BEP events
7110 + f0c844c77a2406518c4e75c49188390d5e281d3d:
7111 Release 0.19.0 (2018-10-29)
7112 + c3fb1db9e4e817e8a911f5b347b30f2674a82f7c:
7113 Do not use CROSSTOOL to select cc_toolchain
7114 + 8e280838e8896a6b5eb5421fda435b96b6f8de60:
7115 Windows Add tests for msys gcc toolchain and mingw gcc toolchain
7116 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
7117 update bazel-toolchains pin to latest release Part of changes to
7118 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
7119 before 0.17.0 are not compatible with bazel 0.19.0 or above.
7120```
7121
7122Important changes:
7123- Fix regression #6610, which prevents using the MINGW compiler on Windows.
7124
Klaus Aehlig5e5832c2018-10-31 15:45:53 +01007125## Release 0.19.0 (2018-10-29)
7126
7127```
7128Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
7129
7130Cherry picks:
7131
7132 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
7133 Fix the "nojava" platform and enable full presubmit checks for
7134 the various JDK platforms now that we have enough GCE resources.
7135 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
7136 Add openjdk_linux_archive java_toolchain for nojava platform.
7137 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
7138 Automated rollback of commit
7139 19a401c38e30ebc0879925a5caedcbe43de0028f.
7140 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
7141 Windows: Fix Precondition check for addDynamicInputLinkOptions
7142 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
7143 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
7144 it exists.
7145 + e025726006236520f7e91e196b9e7f139e0af5f4:
7146 Update turbine
7147 + 5f312dd1678878fb7563eae0cd184f2270346352:
7148 Fix event id for action_completed BEP events
7149```
7150
7151The Bazel team is happy to announce a new version of Bazel, [Bazel 0.19](https://github.com/bazelbuild/bazel/releases/tag/0.19.0).
7152
7153This document lists the major changes since Bazel 0.18.
7154
7155General changes
7156---------------
7157
7158* The `--incompatible_expand_directories` flag will automatically expand directories in command lines. Design doc: https://docs.google.com/document/d/11agWFiOUiz2htBLj6swPTob5z78TrCxm8DQE4uJLOwM
7159
7160* The `--loading_phase_threads` flag now defaults to `auto` (not 200, as was previously the case), which at the moment corresponds to the number of CPUs. This is appropriate for most users. However, if your sources reside on a network file system, increasing this value may yield better analysis-time performance when disk caches are cold.
7161
7162Android
7163-------
7164
7165* Fixed missing debug symbols when building native code with `--compilation_mode=dbg` that target Android ARM architectures by adding the `-g` flag.
7166
7167C++
7168---
7169
7170* Added `--incompatible_disable_legacy_flags_cc_toolchain_api` to deprecate legacy `cc_toolchain` Starlark API for legacy CROSSTOOL fields. Tracking issue is #6434. Migration docs are on the bazel website.
7171
7172* Runfiles in cc_test: the C++ runfiles library (`@bazel_tools//tools/cpp/runfiles`) can now create Runfiles objects for tests. See `//tools/cpp/runfiles/runfiles_src.h` (in the Bazel source tree) for documentation.
7173
7174* :cc_binary link action no longer hardcodes `-static-libgcc` for toolchains that support embedded runtimes (guarded by `--experimental_dont_emit_static_libgcc` temporarily).
7175
7176* The flag `--experimental_enable_cc_configuration_make_variables` is removed, use `--incompatible_disable_cc_configuration_make_variables` instead.
7177
7178Java
7179----
7180
7181* If the `--javabase` flag is unset, Bazel locates a JDK using the `JAVA_HOME` environment variable and searching the PATH. If no JDK is found `--javabase` will be empty, and builds targeting Java will not be supported. Previously Bazel would fall back to using the embedded JDK as a `--javabase`, but this is no longer default behaviour. A JDK should be explicitly installed instead to enable Java development.
7182
7183Code Coverage
7184-------------
7185
7186* LcovMerger was renamed to CoverageOutputGenerator.
7187
7188* Faster coverage collection for gcc compiled C++ code can now be tested by enabling it with `--experimental_cc_coverage`.
7189
7190Other Changes
7191-------------
7192
7193* Add `--apple_compiler` and `--apple_grte_top options`. These provide the equivalent of --compiler / --grte_top for the toolchain configured in --apple_crosstool_top.
7194
7195* There is now a `same_pkg_direct_rdeps` query function. See the query documentation for more details.
7196
7197* Propagating remote errors to the user even if `--verbose_failures=false` is set.
7198
7199* Add number of configured targets to analysis phase status output.
7200
7201* Bazel will now check stderr instead of stdout to decide if it is outputting to a terminal. `--isatty` is deprecated, use `--is_stderr_atty` instead.
7202
7203Future Changes
7204--------------
7205
7206* None of the C++ related incompatible flags mentioned in the 0.18 release were flipped, they will be flipped in the next release (0.20). We have created tracking issues for all the relevant incompatible flags:
7207 * [`--incompatible_disable_late_bound_option_defaults`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-late-bound-option-defaults): #6384
7208 * [`--incompatible_disable_depset_in_cc_user_flags`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-depsets-in-c-toolchain-api-in-user-flags): #6383
7209 * [`--incompatible_disable_cc_toolchain_label_from_crosstool_proto`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-crosstool-to-select-the-cc_toolchain-label): #6382
7210 * [`--incompatible_disable_cc_configuration_make_variables`](https://github.com/bazelbuild/bazel/issues/6381): #6381
7211 * [`--incompatible_disable_legacy_cpp_toolchain_skylark_api`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-legacy-c-configuration-api): #6380
7212 * [`incompatible_disable_legacy_flags_cc_toolchain_api`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-legacy-c-toolchain-api): #6434
7213
7214* In the 0.20 release the flags [`--incompatible_remove_native_git_repository`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#remove-native-git-repository) and [`--incompatible_remove_native_http_archive`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#remove-native-http-archive) will be turned on.
7215
7216Thank you to our contributors!
7217------------------------------
7218
7219This release contains contributions from many people at Google, as well as Andreas Herrmann, Andreas Hippler, Benjamin Peterson, David Ostrovsky, Ed Baunton, George Gensure, Igal Tabachnik, Jason Gavris, Loo Rong Jie, rmalik, and Yannic Bonenberger
7220
7221Thank you to everyone who contributed to this release!
7222
Bazel Release System92849b82018-10-31 15:41:11 +01007223## Release 0.18.1 (2018-10-31)
Bazel Release System36177972018-10-15 10:29:10 +02007224
7225```
Bazel Release System92849b82018-10-31 15:41:11 +01007226Baseline: c062b1f1730f3562d5c16a037b374fc07dc8d9a2
Bazel Release System36177972018-10-15 10:29:10 +02007227
7228Cherry picks:
7229
Bazel Release System92849b82018-10-31 15:41:11 +01007230 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
7231 Include also ext jars in the bootclasspath jar.
7232 + 2579b791c023a78a577e8cb827890139d6fb7534:
7233 Fix toolchain_java9 on --host_javabase=<jdk9> after
7234 7eb9ea150fb889a93908d96896db77d5658e5005
7235 + faaff7fa440939d4367f284ee268225a6f40b826:
7236 Release notes: fix markdown
7237 + b073a18e3fac05e647ddc6b45128a6158b34de2c:
7238 Fix NestHost length computation Fixes #5987
7239 + bf6a63d64a010f4c363d218e3ec54dc4dc9d8f34:
7240 Fixes #6219. Don't rethrow any remote cache failures on either
7241 download or upload, only warn. Added more tests.
7242 + c1a7b4c574f956c385de5c531383bcab2e01cadd:
7243 Fix broken IdlClassTest on Bazel's CI.
7244 + 71926bc25b3b91fcb44471e2739b89511807f96b:
7245 Fix the Xcode version detection which got broken by the upgrade
7246 to Xcode 10.0.
7247 + 86a8217d12263d598e3a1baf2c6aa91b2e0e2eb5:
7248 Temporarily restore processing of workspace-wide tools/bazel.rc
7249 file.
Bazel Release System83870d62018-10-29 10:31:13 -04007250 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
7251 Windows: Fix Precondition check for addDynamicInputLinkOptions
Bazel Release System83870d62018-10-29 10:31:13 -04007252 + e025726006236520f7e91e196b9e7f139e0af5f4:
7253 Update turbine
Bazel Release System36177972018-10-15 10:29:10 +02007254```
7255
Bazel Release System92849b82018-10-31 15:41:11 +01007256Important changes:
Bazel Release System83870d62018-10-29 10:31:13 -04007257
Bazel Release System92849b82018-10-31 15:41:11 +01007258 - Fix regression #6219, remote cache failures
Bazel Release System36177972018-10-15 10:29:10 +02007259
Klaus Aehlig7b417542018-10-29 15:46:36 +01007260## Release 0.18.0 (2018-10-15)
7261
7262```
7263Baseline: c062b1f1730f3562d5c16a037b374fc07dc8d9a2
7264
7265Cherry picks:
7266
7267 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
7268 Include also ext jars in the bootclasspath jar.
7269 + 2579b791c023a78a577e8cb827890139d6fb7534:
7270 Fix toolchain_java9 on --host_javabase=<jdk9> after
7271 7eb9ea150fb889a93908d96896db77d5658e5005
7272 + faaff7fa440939d4367f284ee268225a6f40b826:
7273 Release notes: fix markdown
7274 + b073a18e3fac05e647ddc6b45128a6158b34de2c:
7275 Fix NestHost length computation Fixes #5987
7276 + bf6a63d64a010f4c363d218e3ec54dc4dc9d8f34:
7277 Fixes #6219. Don't rethrow any remote cache failures on either
7278 download or upload, only warn. Added more tests.
7279 + c1a7b4c574f956c385de5c531383bcab2e01cadd:
7280 Fix broken IdlClassTest on Bazel's CI.
7281 + 71926bc25b3b91fcb44471e2739b89511807f96b:
7282 Fix the Xcode version detection which got broken by the upgrade
7283 to Xcode 10.0.
7284 + 86a8217d12263d598e3a1baf2c6aa91b2e0e2eb5:
7285 Temporarily restore processing of workspace-wide tools/bazel.rc
7286 file.
7287```
7288
7289General changes
7290
7291- New [bazelrc file list](https://docs.bazel.build/versions/master/user-manual.html#where-are-the-bazelrc-files).
7292 If you need to keep both the old and new lists of .rc files active
7293 concurrently to support multiple versions of Bazel, you can import the old
7294 file location into the new list using `try-import`. This imports a file if it
7295 exists and silently exits if it does not. You can use this method to account
7296 for a user file that may or may not exist
7297
7298- [.bazelignore](https://docs.bazel.build/versions/master/user-manual.html#.bazelignore)
7299 is now fully functional.
7300
7301- The startup flag `--host_javabase` has been renamed to
7302 `--server_javabase` to avoid confusion with the build flag
7303 `--host_javabase`.
7304
7305Android
7306
7307- The Android resource processing pipeline now supports persistence
7308 via worker processes. Enable it with
7309 `--persistent_android_resource_processor`. We have observed a 50% increase
7310 in build speed for clean local builds and up to 150% increase in build
7311 speed for incremental local builds.
7312
7313C++
7314
7315- In-memory package //tools/defaults has been removed (controlled by
7316 `--incompatible_disable_tools_defaults_package` flag). Please see
7317 [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-inmemory-tools-defaults-package)
7318 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
7319 behavior will be removed in Bazel 0.20.
7320
7321- Late bound option defaults (typical example was the `--compiler` flag, when
7322 it was not specified, it’s value was computed using the CROSSTOOL) are removed
7323 (controlled by `--incompatible_disable_late_bound_option_defaults` flag).
7324 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-late-bound-option-defaults)
7325 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
7326 behavior will be removed in Bazel 0.20.
7327
7328- Depsets are no longer accepted in `user_compile_flags` and `user_link_flags`
7329 in the C++ toolchain API (controlled by
7330 `--incompatible_disable_depset_in_cc_user_flags` flag) affects C++ users.
7331 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-depsets-in-c-toolchain-api-in-user-flags)
7332 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
7333 behavior will be removed in Bazel 0.20.
7334
7335- CROSSTOOL is no longer consulted when selecting C++ toolchain (controlled by
7336 `--incompatible_disable_cc_toolchain_label_from_crosstool_proto` flag).
7337 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-crosstool-to-select-the-cc_toolchain-label)
7338 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
7339
7340- You can now use [`toolchain_identifier` attribute](https://github.com/bazelbuild/bazel/commit/857d4664ce939f240b1d10d8d2baca6c6893cfcb)
7341 on `cc_toolchain` to pair it with CROSSTOOL toolchain.
7342
7343- C++ specific Make variables
7344 are no longer passed from the `CppConfiguration`, but from the C++ toolchain
7345 (controlled by `--incompatible_disable_cc_configuration_make_variables` flag).
7346 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-c-specific-make-variables-from-the-configuration)
7347 and migrate soon, the flag will be flipped
7348 in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
7349
7350- Skylark api accessing C++
7351 toolchain in `ctx.fragments.cpp` is removed (controlled by
7352 `--incompatible_disable_legacy_cpp_toolchain_skylark_api` flag).
7353 Please migrate soon, the flag will be flipped
7354 in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
7355
7356- cc_binary link action no longer hardcodes
7357 `-static-libgcc` for toolchains that support embedded runtimes
7358 (guarded by [`--experimental_dont_emit_static_libgcc`](https://source.bazel.build/bazel/+/2f281960b829e964526a9d292d4c3003e4d19f1c)
7359 temporarily). Proper deprecation using `--incompatible` flags will follow.
7360
7361Java
7362
7363- Future versions of Bazel will require a locally installed JDK
7364 for Java development. Previously Bazel would fall back to using
7365 the embedded `--server_javabase` if no JDK as available. Pass
7366 `--incompatible_never_use_embedded_jdk_for_javabase` to disable the
7367 legacy behaviour.
7368
7369- `--javacopt=` no longer affects compilations of tools that are
7370 executed during the build; use `--host_javacopt=` to change javac
7371 flags in the host configuration.
7372
7373Objective C
7374
7375- `objc_library` now supports the module_name attribute.
7376
7377Skylark
7378
7379- Adds `--incompatible_expand_directories` to automatically expand
7380 directories in skylark command lines. Design doc:
7381 https://docs.google.com/document/d/11agWFiOUiz2htBLj6swPTob5z78TrCxm8DQE4uJLOwM
7382
7383- Support fileset expansion in ctx.actions.args(). Controlled by
7384 `--incompatible_expand_directories`.
7385
7386Windows
7387
7388- `--windows_exe_launcher` is deprecated, this flag will be removed
7389 soon. Please make sure you are not using it.
7390
7391- Bazel now supports the symlink runfiles tree on Windows with
7392 `--experimental_enable_runfiles` flag. For more details, see
7393 [this doc](https://docs.google.com/document/d/1hnYmU1BmtCSJOUvvDAK745DSJQCapToJxb3THXYMrmQ).
7394
7395Other Changes
7396
7397- A new experimental option `--experimental_ui_deduplicate` has been added. It
7398 causes the UI to attempt to deduplicate messages from actions to keep the
7399 console output cleaner.
7400
7401- Add `--modify_execution_info`, a flag to customize action execution
7402 info.
7403
7404- Add ExecutionInfo to aquery output for ExecutionInfoSpecifier
7405 actions.
7406
7407- When computing `--instrumentation_filter`, end filter patterns with
7408 "[/:]" to match non-top-level packages exactly and treat
7409 top-level targets consistently.
7410
7411- Added the `bazel info server_log` command, which obtains the main Bazel
7412 server log file path. This can help debug Bazel issues.
7413
7414- `aapt shrink` resources now properly respect filter configurations.
7415
Bazel Release System50921e62018-09-21 12:27:04 +02007416## Release 0.17.2 (2018-09-21)
7417
7418```
7419Baseline: aa118ca818baf722aede0bc48d0a17584fa45b6e
7420
7421Cherry picks:
7422 + 0e0462589528154cb5160411991075a2000b5452:
7423 Update checker framework dataflow and javacutil versions
7424 + 3987300d6651cf0e6e91b395696afac6913a7d66:
7425 Stop using --release in versioned java_toolchains
7426 + 438b2773b8c019afa46be470b90bcf70ede7f2ef:
7427 make_deb: Add new empty line in the end of conffiles file
7428 + 504401791e0a0e7e3263940e9e127f74956e7806:
7429 Properly mark configuration files in the Debian package.
7430 + 9ed9d8ac4347408d15c8fce7c9c07e5c8e658b30:
7431 Add flag
7432 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfil
7433 es_tree.
7434 + 22d761ab42dfb1b131f1facbf490ccdb6c17b89c:
7435 Update protobuf to 3.6.1 -- add new files
7436 + 27303d79c38f2bfa3b64ee7cd7a6ef03a9a87842:
7437 Update protobuf to 3.6.1 -- update references
7438 + ddc97ed6b0367eb443e3e09a28d10e65179616ab:
7439 Update protobuf to 3.6.1 -- remove 3.6.0 sources
7440 + ead1002d3803fdfd4ac68b4b4872076b19d511a2:
7441 Fix protobuf in the WORKSPACE
7442 + 12dcd35ef7a26d690589b0fbefb1f20090cbfe15:
7443 Revert "Update to JDK 10 javac"
7444 + 7eb9ea150fb889a93908d96896db77d5658e5005:
7445 Automated rollback of
7446 https://github.com/bazelbuild/bazel/commit/808ec9ff9b5cec14f23a4b
7447 a106bc5249cacc8c54 and
7448 https://github.com/bazelbuild/bazel/commit/4c9149d558161e7d3e363f
7449 b697f5852bc5742a36 and some manual merging.
7450 + 4566a428c5317d87940aeacfd65f1018340e52b6:
7451 Fix tests on JDK 9 and 10
7452 + 1e9f0aa89dad38eeab0bd40e95e689be2ab6e5e5:
7453 Fix more tests on JDK 9 and 10
7454 + a572c1cbc8c26f625cab6716137e2d57d05cfdf3:
7455 Add ubuntu1804_nojava, ubuntu1804_java9, ubuntu1804_java10 to
7456 postsubmit.
7457 + 29f1de099e4f6f0f50986aaa4374fc5fb7744ee8:
7458 Disable Android shell tests on the "nojava" platform.
7459 + b495eafdc2ab380afe533514b3bcd7d5b30c9935:
7460 Update bazel_toolchains to latest release.
7461 + 9323c57607d37f9c949b60e293b573584906da46:
7462 Windows: fix writing java.log
7463 + 1aba9ac4b4f68b69f2d91e88cfa8e5dcc7cb98c2:
7464 Automated rollback of commit
7465 de22ab0582760dc95f33e217e82a7b822378f625.
7466 + 2579b791c023a78a577e8cb827890139d6fb7534:
7467 Fix toolchain_java9 on --host_javabase=<jdk9> after
7468 7eb9ea150fb889a93908d96896db77d5658e5005
7469 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
7470 Include also ext jars in the bootclasspath jar.
7471 + fdb09a260dead1e1169f94584edc837349a4f4a5:
7472 Release 0.17.1 (2018-09-14)
7473 + 1d956c707e1c843896ac58a341c335c9c149073d:
7474 Do not fail the build when gcov is not installed
7475 + 2e677fb6b8f309b63558eb13294630a91ee0cd33:
7476 Ignore unrecognized VM options in desugar.sh, such as the JVM 9
7477 flags to silence warnings.
7478```
7479
7480Important changes:
7481
7482 - In the future, Bazel will expand tree artifacts in runfiles, too,
7483 which causes the sandbox to link each file individually into the
7484 sandbox directory, instead of symlinking the entire directory. In
7485 this release, the behavior is not enabled by default yet. Please
7486 try it out via
7487 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
7488 s_tree and let us know if it causes issues. If everything looks
7489 good, this behavior will become the default in a following
7490 release.
7491
Bazel Release Systemfdb09a22018-09-14 12:15:54 +02007492## Release 0.17.1 (2018-09-14)
7493
7494```
7495Baseline: aa118ca818baf722aede0bc48d0a17584fa45b6e
7496
7497Cherry picks:
7498 + 0e0462589528154cb5160411991075a2000b5452:
7499 Update checker framework dataflow and javacutil versions
7500 + 3987300d6651cf0e6e91b395696afac6913a7d66:
7501 Stop using --release in versioned java_toolchains
7502 + 438b2773b8c019afa46be470b90bcf70ede7f2ef:
7503 make_deb: Add new empty line in the end of conffiles file
7504 + 504401791e0a0e7e3263940e9e127f74956e7806:
7505 Properly mark configuration files in the Debian package.
7506 + 9ed9d8ac4347408d15c8fce7c9c07e5c8e658b30:
7507 Add flag
7508 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfil
7509 es_tree.
7510 + 22d761ab42dfb1b131f1facbf490ccdb6c17b89c:
7511 Update protobuf to 3.6.1 -- add new files
7512 + 27303d79c38f2bfa3b64ee7cd7a6ef03a9a87842:
7513 Update protobuf to 3.6.1 -- update references
7514 + ddc97ed6b0367eb443e3e09a28d10e65179616ab:
7515 Update protobuf to 3.6.1 -- remove 3.6.0 sources
7516 + ead1002d3803fdfd4ac68b4b4872076b19d511a2:
7517 Fix protobuf in the WORKSPACE
7518 + 12dcd35ef7a26d690589b0fbefb1f20090cbfe15:
7519 Revert "Update to JDK 10 javac"
7520 + 7eb9ea150fb889a93908d96896db77d5658e5005:
7521 Automated rollback of
7522 https://github.com/bazelbuild/bazel/commit/808ec9ff9b5cec14f23a4b
7523 a106bc5249cacc8c54 and
7524 https://github.com/bazelbuild/bazel/commit/4c9149d558161e7d3e363f
7525 b697f5852bc5742a36 and some manual merging.
7526 + 4566a428c5317d87940aeacfd65f1018340e52b6:
7527 Fix tests on JDK 9 and 10
7528 + 1e9f0aa89dad38eeab0bd40e95e689be2ab6e5e5:
7529 Fix more tests on JDK 9 and 10
7530 + a572c1cbc8c26f625cab6716137e2d57d05cfdf3:
7531 Add ubuntu1804_nojava, ubuntu1804_java9, ubuntu1804_java10 to
7532 postsubmit.
7533 + 29f1de099e4f6f0f50986aaa4374fc5fb7744ee8:
7534 Disable Android shell tests on the "nojava" platform.
7535 + b495eafdc2ab380afe533514b3bcd7d5b30c9935:
7536 Update bazel_toolchains to latest release.
7537 + 9323c57607d37f9c949b60e293b573584906da46:
7538 Windows: fix writing java.log
7539 + 1aba9ac4b4f68b69f2d91e88cfa8e5dcc7cb98c2:
7540 Automated rollback of commit
7541 de22ab0582760dc95f33e217e82a7b822378f625.
7542 + 2579b791c023a78a577e8cb827890139d6fb7534:
7543 Fix toolchain_java9 on --host_javabase=<jdk9> after
7544 7eb9ea150fb889a93908d96896db77d5658e5005
7545 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
7546 Include also ext jars in the bootclasspath jar.
7547```
7548
7549Incompatible changes:
7550
7551 - Loading @bazel_tools//tools/build_defs/repo:git_repositories.bzl
7552 no longer works. Load @bazel_tools//tools/build_defs/repo:git.bzl
7553 instead.
7554 - If the same artifact is generated by two distinct but identical
7555 actions, and a downstream action has both those actions' outputs
7556 in its inputs, the artifact will now appear twice in the
7557 downstream action's inputs. If this causes problems in Skylark
7558 actions, you can use the uniquify=True argument in Args.add_args.
7559 - If the same artifact is generated by two distinct but identical
7560 actions, and a downstream action has both those actions' outputs
7561 in its inputs, the artifact will now appear twice in the
7562 downstream action's inputs. If this causes problems in Skylark
7563 actions, you can use the uniquify=True argument in Args.add_args.
7564 - Labels in C++ rules' linkopts attribute are not expanded anymore
7565 unless they are wrapped, e.g: $(location //foo:bar)
7566 - If the same artifact is generated by two distinct but identical
7567 actions, and a downstream action has both those actions' outputs
7568 in its inputs, the artifact will now appear twice in the
7569 downstream action's inputs. If this causes problems in Skylark
7570 actions, you can use the uniquify=True argument in Args.add_args.
7571 - New bazelrc file list.
7572 - Windows: when BAZEL_SH envvar is not defined and Bazel searches
7573 for a suitable bash.exe, Bazel will no longer look for Git Bash
7574 and no longer recommend installing it as a Bash implementation.
7575 See issue #5751.
7576 - New bazelrc file list.
7577
7578New features:
7579
7580 - The aquery command now supports --output=text.
7581 - Java, runfiles: the Java runfiles library is now in
7582 @bazel_tools//tools/java/runfiles. The old target
7583 (@bazel_tools//tools/runfiles:java-runfiles) is deprecated and
7584 will be removed in Bazel 0.18.0.
7585 - Java, runfiles: the Java runfiles library is now in
7586 @bazel_tools//tools/java/runfiles. The old target
7587 (@bazel_tools//tools/runfiles:java-runfiles) is deprecated and
7588 will be removed in Bazel 0.19.0 (not 0.18.0, as stated earlier).
7589
7590Important changes:
7591
7592 - Allow @ in package names.
7593 - Remove support for java_runtime_suite; use alias() together with
7594 select() instead.
7595 - Python wrapper scripts for MSVC are removed.
7596 - [JavaInfo] Outputs are merged in java_common.merge().
7597 - Faster analysis by improved parallelization.
7598 - --experimental_shortened_obj_file_path is removed.
7599 - Introduce the --remote_cache_proxy flag,
7600 which allows for remote http caching to connect
7601 via a unix domain socket.
7602 - No longer define G3_VERSION_INFO for c++ linkstamp compiles, as
7603 it was a duplicate of G3_TARGET_NAME.
7604 - Added support for Android NDK r17. The default STL is now
7605 `libc++`, and support for targeting `mips`, `mips64` and `ARMv5`
7606 (`armeabi`) has been removed.
7607 - Add aquery command to get analysis time information about the
7608 action graph.
7609 - Fixed compatibility with aar_import when using aapt2. AAPT2 is
7610 now supported for Android app builds without resource shrinking.
7611 To use it, pass the `--android_aapt=aapt2` flag or define
7612 android_binary.aapt_version=aapt2.
7613 - Code coverage is collected for Java binaries invoked from sh_test.
7614 - java_common.compile creates the native headers jar accesible via
7615 JavaInfo.outputs.native_headers.
7616 - Deleting deprecated no-op flag --show_package_location
7617 - The JDK shipped with Bazel was updated to JDK10.
7618 - Rename the startup flag --host_javabase to --server_javabase to
7619 avoid confusion with the build flag --host_javabase
7620 - newly added options --experimental_repository_hash_file and
7621 --experimental_verify_repository_rules allow to verify for
7622 repositories
7623 the directory generated against pre-recorded hashes. See
7624 documentation
7625 for those options.
7626 - Removed the gen_jars output group
7627 - --subcommands can now take a "pretty_print" value
7628 ("--subcommands=pretty_print") to print the
7629 arguments of subcommands as a list for easier reading.
7630 - follow-up to
7631 https://github.com/bazelbuild/bazel/commit/1ac359743176e659e9c7472
7632 645e3142f3c44b9e8
7633 - A rule error is now thrown if a Skylark rule implementation
7634 function returns multiple providers of the same type.
7635 - When using Bazel's remote execution feature and Bazel has to
7636 fallback to local execution for an action, Bazel used
7637 non-sandboxed
7638 local execution until now. From this release on, you can use the
7639 new
7640 flag --remote_local_fallback_strategy=<strategy> to tell Bazel
7641 which
7642 strategy to use in that case.
7643 - Execution Log Parser can now, when printing it out, filter the
7644 log by runner type
7645 - A rule error is now thrown if a Skylark rule implementation
7646 function returns multiple providers of the same type.
7647 - Removed the gen_jars output group
7648 - Removed the gen_jars output group
7649 - Set --defer_param_files to default to true.
7650 - Sort attribute lists in proto-form query output to fix
7651 non-deterministic genquery output.
7652 - Replace 0/1 with False/True for testonly attribute
7653 - bazel now supports a .bazelignore file specifying
7654 directories to be ignored; however, these directories still
7655 have to be well founded and, in particular, may not contain
7656 symlink cycles.
7657 - Add more detailed reporting of the differences between startup
7658 options.
7659 - update data binding to 3.2.0
7660 - For Android incremental dexing actions, Bazel now persists its
7661 DexBuilder process across individual actions. From our
7662 benchmarks, this results in a 1.2x speedup for clean local builds.
7663 - The standard `xcode_VERSION` feature now always uses exactly two
7664 components in the version, even if you specify `--xcode_version`
7665 with
7666 more or fewer than two.
7667 - A rule error will be thrown if a Skylark rule implementation
7668 function returns multiple providers of the same type. Try the
7669 `--incompatible_disallow_conflicting_providers` flag to ensure
7670 your code is forward-compatible.
7671 - Removed notion of FULLY_STATIC linking mode from C++ rules.
7672 - In documentation, we've renamed Skylark into Starlark.
7673 - Execution Log Parser can now, when printing it out, reorder the
7674 actions for easier text diffs
7675 - Linkstamps are no longer recompiled after server restart.
7676 - Use VanillaJavaBuilder and disable header compilation in
7677 toolchain_hostjdk8. The default toolchain will soon drop
7678 compatibility with JDK 8. Using a JDK 8 host_javabase
7679 will only be supported when using 'VanillaJavaBuilder' (which
7680 does not support Error Prone,
7681 Strict Java Deps, or reduced classpaths) and with header
7682 compilation disabled.
7683 - In the future, Bazel will expand tree artifacts in runfiles, too,
7684 which causes the sandbox to link each file individually into the
7685 sandbox directory, instead of symlinking the entire directory. In
7686 this release, the behavior is not enabled by default yet. Please
7687 try it out via
7688 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
7689 s_tree and let us know if it causes issues. If everything looks
7690 good, this behavior will become the default in a following
7691 release.
7692
Bazel Release System1bd58832018-08-13 15:41:26 +02007693## Release 0.16.1 (2018-08-13)
7694
7695```
7696Baseline: 4f64b77a3dd8e4ccdc8077051927985f9578a3a5
7697
7698Cherry picks:
7699 + 4c9a0c82d308d5df5c524e2a26644022ff525f3e:
7700 reduce the size of bazel's embedded jdk
7701 + d3228b61f633cdc5b3f740b641a0836f1bd79abd:
7702 remote: limit number of open tcp connections by default. Fixes
7703 #5491
7704 + 8ff87c164f48dbabe3b20becd00dde90c50d46f5:
7705 Fix autodetection of linker flags
7706 + c4622ac9205d2f1b42dac8c598e83113d39e7f11:
7707 Fix autodetection of -z linker flags
7708 + 10219659f58622d99034288cf9f491865f818218:
7709 blaze_util_posix.cc: fix order of #define
7710 + ab1f269017171223932e0da9bb539e8a17dd99ed:
7711 blaze_util_freebsd.cc: include path.h explicitly
7712 + 68e92b45a37f2142c768a56eb7ecfa484b8b22df:
7713 openjdk: update macOS openjdk image. Fixes #5532
7714 + f45c22407e6b00fcba706eb62141cb9036bd38d7:
7715 Set the start time of binary and JSON profiles to zero correctly.
7716 + bca1912853086b8e9a28a85a1b144ec0dc9717cc:
7717 remote: fix race on download error. Fixes #5047
7718 + 3842bd39e10612c7eef36c6048407e81bcd0a8fb:
7719 jdk: use parallel old gc and disable compact strings
7720 + 6bd0bdf5140525cb33dc2db068b210261d9df271:
7721 Add objc-fully-link to the list of actions that require the
7722 apple_env feature. This fixes apple_static_library functionality.
7723 + f330439fb970cfa17c70fc59c1458bb1c31c9522:
7724 Add the action_names_test_files target to the OSS version of
7725 tools/buils_defs/cc/BUILD.
7726 + d215b64362c4ede61c8ba87b5f3f57bce4785d15:
7727 Fix StackOverflowError on Windows. Fixes #5730
7728 + 366da4cf27b7f957ef39f89206db77fa2ac289df:
7729 In java_rules_skylark depend on the javabase through
7730 //tools/jdk:current_java_runtime
7731 + 30c601dc13d9e1b40a57434c022c888c7578cc56:
7732 Don't use @local_jdk for jni headers
7733 + c56699db5f9173739ba3ac55aa9fa69b6457a99b:
7734 'DumpPlatformClasspath' now dumps the current JDK's default
7735 platform classpath
7736```
7737
7738This release is a patch release that contains fixes for several serious
7739regressions that were found after the release of Bazel 0.16.0.
7740
7741In particular this release resolves the following issues:
7742
7743 - Bazel crashes with a StackOverflowError on Windows (See #5730)
7744 - Bazel requires a locally installed JDK and does not fall back
7745 to the embedded JDK (See #5744)
7746 - Bazel fails to build for Homebrew on macOS El Capitan (See #5777)
7747 - A regression in apple_static_library (See #5683)
7748
7749Please watch our blog for a more detailed release announcement.
7750
Bazel Release Systemb292ad12018-07-31 12:55:37 -04007751## Release 0.16.0 (2018-07-31)
Bazel Release System97564f62018-07-17 14:19:41 +02007752
7753```
Bazel Release Systemb292ad12018-07-31 12:55:37 -04007754Baseline: 4f64b77a3dd8e4ccdc8077051927985f9578a3a5
Bazel Release System97564f62018-07-17 14:19:41 +02007755
7756Cherry picks:
Bazel Release Systemb292ad12018-07-31 12:55:37 -04007757 + 4c9a0c82d308d5df5c524e2a26644022ff525f3e:
7758 reduce the size of bazel's embedded jdk
7759 + d3228b61f633cdc5b3f740b641a0836f1bd79abd:
7760 remote: limit number of open tcp connections by default. Fixes
7761 #5491
Bazel Release System97564f62018-07-17 14:19:41 +02007762 + 8ff87c164f48dbabe3b20becd00dde90c50d46f5:
7763 Fix autodetection of linker flags
7764 + c4622ac9205d2f1b42dac8c598e83113d39e7f11:
7765 Fix autodetection of -z linker flags
Bazel Release Systemb292ad12018-07-31 12:55:37 -04007766 + 10219659f58622d99034288cf9f491865f818218:
7767 blaze_util_posix.cc: fix order of #define
7768 + ab1f269017171223932e0da9bb539e8a17dd99ed:
7769 blaze_util_freebsd.cc: include path.h explicitly
7770 + 68e92b45a37f2142c768a56eb7ecfa484b8b22df:
7771 openjdk: update macOS openjdk image. Fixes #5532
7772 + f45c22407e6b00fcba706eb62141cb9036bd38d7:
7773 Set the start time of binary and JSON profiles to zero correctly.
7774 + bca1912853086b8e9a28a85a1b144ec0dc9717cc:
7775 remote: fix race on download error. Fixes #5047
7776 + 3842bd39e10612c7eef36c6048407e81bcd0a8fb:
7777 jdk: use parallel old gc and disable compact strings
Bazel Release System97564f62018-07-17 14:19:41 +02007778```
7779
Bazel Release Systemb292ad12018-07-31 12:55:37 -04007780Incompatible changes:
7781
7782 - The $(ANDROID_CPU) Make variable is not available anymore. Use
7783 $(TARGET_CPU) after an Android configuration transition instead.
7784 - The $(JAVA_TRANSLATIONS) Make variable is not supported anymore.
7785 - Skylark structs (using struct()) may no longer have to_json and
7786 to_proto overridden.
7787 - The mobile-install --skylark_incremental_res flag is no longer
7788 available, use the --skylark flag instead.
7789
7790New features:
7791
7792 - android_local_test now takes advantage of Robolectric's binary
7793 resource processing which allows for faster tests.
7794 - Allow @ in package names.
7795
Bazel Release System97564f62018-07-17 14:19:41 +02007796Important changes:
7797
Bazel Release Systemb292ad12018-07-31 12:55:37 -04007798 - Option --glibc is removed, toolchain selection relies solely on
7799 --cpu and --compiler options.
7800 - Build support for enabling cross binary FDO optimization.
7801 - The --distdir option is no longer experimental. This
7802 option allows to specify additional directories to look for
7803 files before trying to fetch them from the network. Files from
7804 any of the distdirs are only used if a checksum for the file
7805 is specified and both, the filename and the checksum, match.
7806 - Java coverage works now with multiple jobs.
7807 - Flip default value of --experimental_shortened_obj_file_path to
7808 true, Bazel now generates short object file path by default.
7809 - New rules for importing Android dependencies:
7810 `aar_import_external` and `aar_maven_import_external`.
7811 `aar_import_external` enables specifying external AAR
7812 dependencies using a list of HTTP URLs for the artifact.
7813 `aar_maven_import_external` enables specifying external AAR
7814 dependencies using the artifact coordinate and a list of server
7815 URLs.
7816 - The BAZEL_JAVAC_OPTS environment variable allows arguments, e.g.,
7817 "-J-Xmx2g", may be passed to the javac compiler during bootstrap
7818 build. This is helpful if your system chooses too small of a max
7819 heap size for the Java compiler during the bootstrap build.
7820 - --noexpand_configs_in_place is deprecated.
7821 - A tool to parse the Bazel execution log.
7822 - Support for LIPO has been fully removed.
7823 - Remove support for --discard_actions_after_execution.
7824 - Add --materialize_param_files flag to write parameter files even
7825 when actions are executed remotely.
7826 - Windows default system bazelrc is read from the user's
7827 ProgramData if present.
7828 - --[no]allow_undefined_configs no longer exists, passing undefined
7829 configs is an error.
Bazel Release System1281a022018-07-16 16:13:53 +02007830 - In remote caching we limit the number of open
7831 TCP connections to 100 by default. The number can be adjusted
7832 by specifying the --remote_max_connections flag.
7833
Bazel Release System5013a332018-06-26 14:07:47 +02007834## Release 0.15.0 (2018-06-26)
7835
7836```
7837Baseline: b93ae42e8e693ccbcc387841a17f58259966fa38
7838
7839Cherry picks:
7840 + 4b80f2455e7e49a95f3a4c9102a67a57dad52207:
7841 Add option to enable Docker sandboxing.
7842 + 6b1635279e8b33dc1ac505ac81825e38f8797a14:
7843 Allow disabling the simple blob caches via CLI flag overrides.
7844 + 4ec0a7524913ab2c4641368e3f8c09b347351a08:
7845 Use BUILD.bazel instead of BUILD for external projects
7846```
7847
7848Incompatible changes:
7849
7850 - Bazel now always runs binaries in with "bazel run" in
7851 interactive mode. The "--nodirect_run" command line option is now
7852 a no-op.
7853 - "bazel run --noas_test" is not supported anymore.
7854 - Indentation on the first line of a file was previously ignored.
7855 This is now fixed.
7856
7857New features:
7858
7859 - C++,runfiles: to access data-dependencies (runfiles) in C++
7860 programs, use the runfiles library built into Bazel. For usage
7861 info, see
7862 https://github.com/bazelbuild/bazel/blob/master/tools/cpp/runfiles
7863 /runfiles.h
7864
7865Important changes:
7866
7867 - Bazel now allows almost all 7-bit ASCII characters in labels.
7868 - Remove vestigial java_plugin.data attribute
7869 - Bazel supports including select Java 8 APIs into Android apps
7870 targeting pre-Nougat Android devices with
7871 --experimental_desugar_java8_libs
7872 - Flag `--incompatible_disable_glob_tracking` is removed.
7873 - SkyQuery's rbuildfiles now returns targets corresponding to
7874 broken packages.
7875 - Introduce build support for providing cache prefetch hints.
7876 - Update the skylark DefaultInfo documentation to spell out
7877 runfiles, data_runfiles and default_runfiles
7878 - An internal action for symlinking runfiles will use Command
7879 instead of a Spawns. This should have no functional chages; the
7880 only user visible consequence should be that the internal action
7881 is no longer be included in statistics when calculating processes
7882 count.
7883 - --batch is deprecated
7884 - execution strategies line no longer handles differently the case
7885 where all processes have the same strategy.
7886 - The --experimental_remote_spawn_cache flag is now enabled by
7887 default, and remote caching no longer needs --*_strategy=remote
7888 flags (it will fail if they are specified).
7889 - android_binary.aapt_version='aapt2' now supports en_XA and ar_XB
7890 - Added --apple_enable_auto_dsym_dbg flag.
7891 - non_propagated_deps has been removed from objc_library and
7892 apple_binary.
7893 - For Android projects, Bazel now supports building fonts as
7894 resources. See
7895 https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml
7896 for more information on the feature.
7897 - With --incompatible_no_support_tools_in_action_inputs enabled, Skylark
7898 action inputs are no longer scanned for tools. Move any such
7899 inputs to the newly introduced 'tools' attribute.
7900
Bazel Release System513bbf52018-06-08 14:15:20 +02007901## Release 0.14.1 (2018-06-08)
7902
7903```
7904Baseline: 5c3f5c9be7fa40d4fb3c35756891fab8483ca406
7905
7906Cherry picks:
7907 + f96f037f8f77335dc444844abcc31a372a3e1849:
7908 Windows, Java launcher: Support jar files under different drives
7909 + ff8162d01409db34893de98bd840a51c5f13e257:
7910 sh_configure.bzl: FreeBSD is also a known platform
7911 + 7092ed324137f03fcd34856bdb0595a1bdec3069:
7912 Remove unneeded exec_compatible_with from local_sh_toolchain
7913 + 57bc201346e61c62a921c1cbf32ad24f185c10c9:
7914 Do not autodetect C++ toolchain when
7915 BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 is present
7916 + 35a78c09cf2fbfc3de9c124d2142e3d72aac4348:
7917 remote: recursively delete incomplete downloaded output
7918 directory.
7919 + 3c9cd82b847f3ece8ec04b2029bd5e8ad0eb7502:
7920 distfile: pack the archives needed later in the build
7921 + 27487c77387e457df18be3b6833697096d074eab:
7922 Slightly refactor SpawnAction to improve env handling
7923 + 1b333a2c37add9d04fe5bc5258ee4f73c93115e2:
7924 Fix Cpp{Compile,Link}Action environment and cache key computation
7925 + 3da8929963e9c70dff5d8859d6e988e6e7f4f9d7:
7926 Make SymlinkTreeAction properly use the configuration's
7927 environment
7928 + eca7b81cf8cc51e1fe56e5ed7d4ad5cd1668a17a:
7929 Add a missing dependency from checker framework dataflow to
7930 javacutils
7931 + 10a4de954c2061258d8222961fc3bd39516db49d:
7932 Release 0.14.0 (2018-06-01)
7933 + 4b80f2455e7e49a95f3a4c9102a67a57dad52207:
7934 Add option to enable Docker sandboxing.
7935 + 6b1635279e8b33dc1ac505ac81825e38f8797a14:
7936 Allow disabling the simple blob caches via CLI flag overrides.
7937```
7938
7939Bug fix for [#5336](https://github.com/bazelbuild/bazel/issues/5336)
7940Bug fix fot [#5308](https://github.com/bazelbuild/bazel/issues/5308)
7941
Bazel Release System3a592f62018-06-01 15:04:31 +02007942## Release 0.14.0 (2018-06-01)
7943
7944```
7945Baseline: 5c3f5c9be7fa40d4fb3c35756891fab8483ca406
7946
7947Cherry picks:
7948 + f96f037f8f77335dc444844abcc31a372a3e1849:
7949 Windows, Java launcher: Support jar files under different drives
7950 + ff8162d01409db34893de98bd840a51c5f13e257:
7951 sh_configure.bzl: FreeBSD is also a known platform
7952 + 7092ed324137f03fcd34856bdb0595a1bdec3069:
7953 Remove unneeded exec_compatible_with from local_sh_toolchain
7954 + 57bc201346e61c62a921c1cbf32ad24f185c10c9:
7955 Do not autodetect C++ toolchain when
7956 BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 is present
7957 + 35a78c09cf2fbfc3de9c124d2142e3d72aac4348:
7958 remote: recursively delete incomplete downloaded output
7959 directory.
7960 + 3c9cd82b847f3ece8ec04b2029bd5e8ad0eb7502:
7961 distfile: pack the archives needed later in the build
7962 + 27487c77387e457df18be3b6833697096d074eab:
7963 Slightly refactor SpawnAction to improve env handling
7964 + 1b333a2c37add9d04fe5bc5258ee4f73c93115e2:
7965 Fix Cpp{Compile,Link}Action environment and cache key computation
7966 + 3da8929963e9c70dff5d8859d6e988e6e7f4f9d7:
7967 Make SymlinkTreeAction properly use the configuration's
7968 environment
7969 + eca7b81cf8cc51e1fe56e5ed7d4ad5cd1668a17a:
7970 Add a missing dependency from checker framework dataflow to
7971 javacutils
7972```
7973
7974Incompatible changes:
7975
7976 - Add --incompatible_disallow_legacy_javainfo flag.
7977 - Added flag --incompatible_disallow_old_style_args_add to help
7978 migrate from args.add() to args.add_all() / args.add_joined()
7979 where appropriate.
7980
7981New features:
7982
7983 - Bash,runfiles: use the new platform-independent library in
7984 `@bazel_tools//tools/bash/runfiles` to access runfiles
7985 (data-dependencies). See
7986 https://github.com/bazelbuild/bazel/blob/master/tools/bash/runfile
7987 s/runfiles.bash for usage information.
7988 - TemplateVariableInfo can now be constructed from Skylark.
7989 - The java_host_runtime_alias rule is now implemented in Java.
7990
7991Important changes:
7992
7993 - Flip default value of --experimental_shortened_obj_file_path to
7994 true, Bazel now generates short object file path by default.
7995 - Introduce fdo_profile rule that allows architecture-sensitive
7996 specification of fdo profiles.
7997 - canonicalize-flags no longer reorders the flags
7998 - CppRules: optional_compiler_flag was removed from CROSSTOOL, use
7999 features instead.
8000 - Labels of the form ////foo are disallowed.
8001 - The `/` operator is deprecated in favor of `//` (floor integer
8002 division).
8003 Try the `--incompatible_disallow_slash_operator` flag to ensure
8004 your code
8005 is forward-compatible.
8006 - Flip default value of --experimental_shortened_obj_file_path to
8007 true, Bazel now generates short object file path by default.
8008 - Exposed "mnemonic" and "env" fields on skylark "Action" objects.
8009 - Removed flag `--incompatible_disallow_toplevel_if_statement`.
8010 - Remove vestigial 'deps' and 'data' attributes from
8011 proto_lang_toolchain
8012 - Args objects (ctx.actions.args()) have new methods add_all() and
8013 add_joined() for building command lines using depsets.
8014 - `FileType` is deprecated and will be removed soon.
8015 Try the `--incompatible_disallow_filetype` flag to ensure your
8016 code
8017 is forward-compatible.
8018 - Introduce absolute_path_profile attribute that allows fdo_profile
8019 to accept absolute paths.
8020 - Support two-arg overloads for ctx.actions.args (eg.
8021 args.add("--foo", val))
8022 - Introduce 'tools' attribute to ctx.actions.run.
8023 - Fixed error message for proguard_apply_dictionary.
8024 - "bazel run" now lets one run interactive binaries. The
8025 BUILD_WORKSPACE_DIRECTORY and BUILD_WORKING_DIRECTORY environment
8026 variables indicate the working directory and the workspace root
8027 of the Bazel invocation. Tests are provided with an approximation
8028 of the official test environment.
8029 - repository rules are no longer restricted to return None.
8030 - Add --high_priority_workers flag.
8031 - CppRules: Feature configuration can be created from Skylark
8032 - Adds new-style JavaInfo provider constructor.
8033 - Make java_common.compile now uses java_toolchain javacopts by
8034 default; explicitly retrieving them using
8035 java_common.default_javac_opts is unnecessary.
8036 - CppRules: C++ command lines and env variables for C++ actions can
8037 be retrieved from feature configuration.
8038 - Skylark rule definitions may advertise providers that targets of
8039 the rule must propagate.
8040 - Bazel now supports running actions inside Docker containers.
8041 To use this feature, run "bazel build --spawn_strategy=docker
8042 --experimental_docker_image=myimage:latest".
8043 - Remote execution works for Windows binaries with launchers.
8044 - Fixing start/end lib expansion for linking. There were many cases
8045 where archive files were still being used with toolchains that
8046 support start/end lib. This change consolidates the places that
8047 make that decision so they can be more consistent.
8048 - Add support for reporting an error if
8049 android_test.binary_under_test contains incompatible versions of
8050 deps
8051 - We replaced the --experimental_local_disk_cache and
8052 --experimental_local_disk_cache_path flags into a single
8053 --disk_cache flag. Additionally, Bazel now tries to create the disk cache
8054 directory if it doesn't exist.
8055 - Save Blaze memory by not storing LinkerInput objects in
8056 LinkCommandLine
8057 - In the JavaInfo created by java_common.create_provider now
8058 includes both direct and transitive arguments in
8059 transitive_compile_time_jars and transitive_runtime_jars
8060 - Allow --worker_max_instances to take MnemonicName=value to
8061 specify max for each worker.
8062 - Allow java_toolchain.header_compiler to be an arbitrary executable
8063
Bazel Release System24c68ff2018-05-23 10:59:57 +02008064## Release 0.13.1 (2018-05-23)
8065
8066```
8067Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05
8068
8069Cherry picks:
8070 + f083e7623cd03e20ed216117c5ea8c8b4ec61948:
8071 windows: GetOutputRoot() returns GetHomeDir()
8072 + fa36d2f48965b127e8fd397348d16e991135bfb6:
8073 Automated rollback of commit
8074 4465dae23de989f1452e93d0a88ac2a289103dd9.
8075 + 4abd2babcc50900afd0271bf30dc64055f34e100:
8076 Add error message on empty public resources
8077 + 2c957575ff24c183d48ade4345a79ffa5bec3724:
8078 test-setup: remove leading "./" from test name
8079 + e6eaf251acb3b7054c8c5ced58a49c054b5f23b1:
8080 Sort entries by segment when building a parent node to prevent
8081 unordered directory structures.
8082```
8083
8084Important changes:
8085
8086 - Remote Execution: Fixes a regression that produces directories with unsorted file/directory lists
8087
Bazel Release System1d9c6062018-04-30 10:45:38 +02008088## Release 0.13.0 (2018-04-30)
8089
8090```
8091Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05
8092
8093Cherry picks:
8094 + f083e7623cd03e20ed216117c5ea8c8b4ec61948:
8095 windows: GetOutputRoot() returns GetHomeDir()
8096 + fa36d2f48965b127e8fd397348d16e991135bfb6:
8097 Automated rollback of commit
8098 4465dae23de989f1452e93d0a88ac2a289103dd9.
8099 + 4abd2babcc50900afd0271bf30dc64055f34e100:
8100 Add error message on empty public resources
8101 + 2c957575ff24c183d48ade4345a79ffa5bec3724:
8102 test-setup: remove leading "./" from test name
8103```
8104
8105Incompatible changes:
8106
8107 - Remove //tools/defaults:android_jar. Use
8108 @bazel_tools//tools/android:android_jar instead.
8109 - The flag --incompatible_show_all_print_messages is removed.
8110 Messages generated by `print` statements from any package will be
8111 displayed as
8112 DEBUG messages.
8113 - The --incompatible_disallow_uncalled_set_constructor flag is no
8114 longer available, the `set` constructor` is completely removed
8115 from Skylark.
8116 Use `depset` instead.
8117 - Variables PACKAGE_NAME and REPOSITORY_NAME are deprecated in
8118 favor of
8119 functions `package_name()` and `repository_name()`.
8120
8121 https://docs.bazel.build/versions/master/skylark/lib/native.html#p
8122 ackage_name
8123 - BUILD_TIMESTAMP now contains seconds (and not milliseconds) since
8124 the epoch.
8125
8126New features:
8127
8128 - Strings have a new .elems() method, that provides an iterator on
8129 the characters of the string.
8130 - Now you can access three functions in windows_cc_configure.bzl by:
8131 load("@bazel_tools/tools/cpp:windows_cc_configure.bzl",
8132 "<function_name>")
8133
8134Important changes:
8135
8136 - CppRules: Unified action_configs for static libraries
8137 - Remove support for blaze dump --vfs. It is no longer meaningful.
8138 - Enable dependency checking for aar_import targets.
8139 - internal_bootstrap_hack has been deprecated and removed.
8140 - Properly handle tree artifacts on the link command line coming
8141 from a cc_library dependency.
8142 - Allow C++ features to make proto_library emit smaller C++ code
8143 - The 'j2objc' configuration fragment is exposed to Skylark.
8144 - Remove the default content of the global bazelrc.
8145 - In int() function, do not auto-detect base if input starts with
8146 '0'.
8147 - Users can now pass --experimental_shortened_obj_file_path=true to
8148 have a shorter object file path, the object file paths (and all
8149 other related paths) will be constructed as following:
8150 If there's no two or more source files with the same base name:
8151
8152 <bazel-bin>/<target_package_path>/_objs/<target_name>/<source_base
8153 _name>.<extension>
8154 otherwise:
8155
8156 <bazel-bin>/<target_package_path>/_objs/<target_name>/N/<source_ba
8157 se_name>.<extension>
8158 N = the file?s order among the source files with the same
8159 basename, starts from 0.
8160 - Move (c/cxx)opts from legacy_compile_flags to user_compile_flags
8161 - CppRules: Remove optional_*_flag fields from CROSSTOOL, they are
8162 not
8163 used, and could be expressed using features.
8164 - Introduce --incompatible_disable_objc_provider_resources to turn
8165 off all resource-related fields of the Objc provider.
8166 - Removed the statement of "What does Bazel support?" as it's
8167 limiting/misleading. Added supported host OSes to
8168 "multi-platform" paragraph.
8169 - android_library AAR output now contains proguard.txt
8170 - Bazel now displays information about remote cache hits and
8171 execution strategies used in its UI after every build and test,
8172 and adds a corresponding line "process stats" to BuildToolLogs in
8173 BEP.
8174 - Print correct build result for builds with --aspects flag.
8175 - android_binary.manifest_merger is no longer supported.
8176
Bazel Release System546976c2018-04-11 17:34:19 +02008177## Release 0.12.0 (2018-04-11)
8178
8179```
8180Baseline: b33e5afa313322a7048044c44d854cbb666b988e
8181
8182Cherry picks:
8183 + 369409995bd75eeb0683fd24f7585d2a90320796:
8184 Automated rollback of commit
8185 c2b332b45e6ea41a14ecbd3c5f30782bcdeec301.
8186 + dbf779869751cc893ba240402d352c6e70be2978:
8187 Emit SJD errors even if we don't know the label of a dependency
8188 + 4c3098cfa6f00f90c7530b6f40d3e93062931c1d:
8189 Android tools: remove mtime-modifications
8190 + a1068c44a700ec2cff84cbd12592e9bfea25d754:
8191 NDK cc_toolchains: include bundled runtime libraries in
8192 cc_toolchain.all_files
8193 + b1be5816ec1bf8e1172c1bed4f29b4e6c6bb7202:
8194 runfiles,Python: remove library from @bazel_tools
8195 + 0a4622012ff796429220fe57d3217f262cc208a8:
8196 Fix visibility of def_parser for remote builds
8197 + 3c5373c50c7c492842f8a468906eda2c0bc90787:
8198 Remove visibility attribute from
8199 //third_party/def_parser:def_parser
8200 + f54d7e5293cc40ce3507a9adef530e46ab817585:
8201 Enable bulk writes in the HttpBlobStore
8202 + 04ce86e8ba96630f89a436167b7f3a195c5e50e7:
8203 remote/http: properly complete user promise
8204```
8205
8206Incompatible changes:
8207
8208 - The order of dict-valued attributes is now the order in the BUILD
8209 file (or in the Skylark dict they were created from) and not
8210 lexicographically sorted.
8211
8212New features:
8213
8214 - The new "--direct_run" flag on "blaze run" lets one run
8215 interactive binaries.
8216 - "blaze run --direct_run" with tests now gives the test an
8217 approximation of the official test environment.
8218 - "blaze run --direct_run" now exports the
8219 BUILD_{WORKSPACE,WORKING}_DIRECTORY variables to tell the binary
8220 about the cwd of the client and the workspace root.
8221 - New Android device test rule: android_instrumentation_test.
8222 - Add option to dump the action graph to a file: 'bazel dump
8223 --action_graph=/path/to/file'.
8224 - Pass `tags` from `java_import_external` rule to the generated
8225 `java_import` rule.
8226 - blaze query: use --proto:output_rule_attrs to filter for given
8227 attributes
8228 - Added Android NDK r15 support, including compatibility with
8229 Unified Headers.
8230 - Adds --ltobackendopt and --per_file_ltobackendopt for passing
8231 options to ThinLTO LTO backend compile actions only.
8232
8233Important changes:
8234
8235 - Fix how libraries to link is specified to archiver actions.
8236 - Fix how libraries_to_link are expanded in the archiver command
8237 line.
8238 - stop using --no-locals in android coverage builds
8239 - apple_binary can now generate dSYM outputs with the
8240 --apple_generate_dsym=true flag.
8241 - Fix FDO_STAMP_MACRO to only be set when fdoBuildStamp is not null.
8242 - Improved clarity of warning message for unsupported NDK revisions.
8243 - Add lint check for discouraging glob(["**/*.java"])
8244 - unifly lint glob(["**/*.java"]) message
8245 - Removed flags `--incompatible_checked_arithmetic`,
8246 `--incompatible_dict_literal_has_no_duplicates`,
8247 `--incompatible_disallow_keyword_only_args`, and `
8248 --incompatible_comprehension_variables_do_not_leak`.
8249 - Add "proto_source_root" flag to proto_library.
8250 - Updated default android_cpu value to armeabi-v7a
8251 - In skylark, print(target) now shows the provider keys of a
8252 target, as debug information.
8253 - The native http_archive rule is deprecated. Use the
8254 Skylark version available via
8255 load("@bazel_tools//tools/build_defs/repo:http.bzl",
8256 "http_archive")
8257 instead.
8258 - flaky_test_attempts supports the regex@attempts syntax, like
8259 runs_per_test.
8260 - Fixed include paths for NDK r13+ llvm-libc++ headers to
8261 `ndk/sources/cxx-stl/llvm-libc++/include` and
8262 `ndk/sources/cxx-stl/llvm-libc++abi/include`
8263 - --config flags now expand in place by default.
8264 - aar_import now sets java.transitive_exports.
8265 - repository_cache is no longer experimental and enabled by default.
8266 - BAZEL_LINKOPTS is now consulted when autoconfiguring c++ toolchain
8267 - The native git_repository rule is deprecated. Use the
8268 Skylark version available via
8269 load("@bazel_tools//tools/build_defs/repo:git.bzl",
8270 "git_repository")
8271 instead.
8272 - Removed flag `--incompatible_load_argument_is_label`.
8273 - CcToolchain: Introduced action_config for
8274 "c++-link-transitive-dynamic-library"
8275 - Use bazel dump --action_graph=/path/to/action.proto
8276 --action_graph:targets://foo:bar,//foo:foo to filter for certain
8277 targets in the action graph dump.
8278 - Added Android NDK r16 support. Use --cxxopt='-std=c++11` compile
8279 with the C++11 standard, and
8280 `--android_crosstool_top=@androidndk//:toolchain-libcpp` to use
8281 the `libc++` STL.
8282 - Add a --build_event_publish_all_actions flag to allow all actions
8283 to be published via the BEP.
8284 - C++: Introduced --experimental_drop_fully_static_linking_mode
8285 - Removed cc_inc_library, please use cc_library instead
8286 - CppRules: cc_binary/cc_test now enable 'static_linking_mode' or
8287 'dynamic_linking_mode'.
8288
Bazel Release Systemc86d6a02018-03-06 19:32:18 +01008289## Release 0.11.1 (2018-03-06)
8290
8291```
8292Baseline: 00d781ae78a8bd51d3c61b621d79f0bb095aff9e
8293
8294Cherry picks:
8295 + ea2d4c475febdbd59ca0e0ba46adc7be759f84e0:
8296 Update stub_finds_runfiles_test to be a real sh_test.
8297 + d855d8133f4efb73ebd5e82c54a9afb4c7565d46:
8298 java,runfiles: fix bugs in runfiles library
8299 + 56aeb04a064218b845ecc193d530c341c6ec854d:
8300 Fixing #4585: broken re-execution of orphaned actions.
8301 + cf3f81aef7c32019d70cbce218a64a03276268f0:
8302 remote: Add support for HTTP Basic Auth
8303 + 28bd997c1c8793973f63dcae4c22bbae49e7d8b7:
8304 Fixing test-setup.sh occasionally missing stdout/stderr, on
8305 systems where "tail --pid" is supported.
8306 + 109e4b4dc9e786e3a2d8d7cb245d18320dbe9216:
8307 Automated rollback of commit
8308 7e6837cc1d1aa4259f5c27ba3606b277b5f6c3e9.
8309 + b3d52b1b6d46a0f23cc91125c1d522e9d13433b4:
8310 Fix incorrect include directories when -no-canonical-prefixes is
8311 passed to clang
8312 + 1001141f0674ff4b611814edcb00a5183680ef4a:
8313 Roll forward of
8314 https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1
8315 b52bcac5a3ff942029
8316 (https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba
8317 1b52bcac5a3ff942029). Fix #4625 by running the test process in a
8318 sub-shell.
8319 + fc98b44b6181fa4c3efd8613d887970629468d74:
8320 android,windows: bugfix in aar_resources_extractor
8321```
8322
8323Important changes:
8324
8325 - Fixes regression building Android rules on Windows.
8326
Bazel Release System09077a32018-02-23 11:09:18 -05008327## Release 0.11.0 (2018-02-23)
8328
8329```
8330Baseline: 00d781ae78a8bd51d3c61b621d79f0bb095aff9e
8331
8332Cherry picks:
8333 + ea2d4c475febdbd59ca0e0ba46adc7be759f84e0:
8334 Update stub_finds_runfiles_test to be a real sh_test.
8335 + d855d8133f4efb73ebd5e82c54a9afb4c7565d46:
8336 java,runfiles: fix bugs in runfiles library
8337 + 56aeb04a064218b845ecc193d530c341c6ec854d:
8338 Fixing #4585: broken re-execution of orphaned actions.
8339 + cf3f81aef7c32019d70cbce218a64a03276268f0:
8340 remote: Add support for HTTP Basic Auth
8341 + 28bd997c1c8793973f63dcae4c22bbae49e7d8b7:
8342 Fixing test-setup.sh occasionally missing stdout/stderr, on
8343 systems where "tail --pid" is supported.
8344 + 109e4b4dc9e786e3a2d8d7cb245d18320dbe9216:
8345 Automated rollback of commit
8346 7e6837cc1d1aa4259f5c27ba3606b277b5f6c3e9.
8347 + b3d52b1b6d46a0f23cc91125c1d522e9d13433b4:
8348 Fix incorrect include directories when -no-canonical-prefixes is
8349 passed to clang
8350 + 3904ac33a983fd8faebba1b52bcac5a3ff942029:
8351 Automated rollback of commit
8352 28bd997c1c8793973f63dcae4c22bbae49e7d8b7.
8353 + 1001141f0674ff4b611814edcb00a5183680ef4a:
8354 Roll forward of
8355 https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1
8356 b52bcac5a3ff942029
8357 (https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba
8358 1b52bcac5a3ff942029). Fix #4625 by running the test process in a
8359 sub-shell.
8360```
8361
8362Incompatible changes:
8363
8364 - ctx.fragments.jvm is not available anymore.
8365
8366New features:
8367
8368 - java,runfiles: You can now depend on
8369 `@bazel_tools//tools/runfiles:java-runfiles` to get a
8370 platform-independent runfiles library for Java. See JavaDoc of
8371 https://github.com/bazelbuild/bazel/blob/master/src/tools/runfiles
8372 /java/com/google/devtools/build/runfiles/Runfiles.java for usage
8373 information.
8374
8375Important changes:
8376
8377 - The --[no]experimental_disable_jvm command line option is not
8378 supported anymore.
8379 - Allow expanding TreeArtifacts for libraries_to_link
8380 - Proguarded Android binaries can be built with incremental dexing.
8381 - aar_import now supports assets.
8382 - Crash in OutputJar::Close has been fixed
8383 - generator_* attributes are nonconfigurable.
8384 - Introduces --[no]keep_state_after_build
8385 - Add support for merged object files needed for -flto-unit.
8386 - Fix how libraries to link is specified to archiver actions.
8387 - Replace //tools/defaults:android_jar with
8388 @bazel_tools//tools/android:android_jar.
8389 //tools/defaults:android_jar will be removed in a future release.
8390 - java_common.compile supports neverlink
8391 - Resolved an issue where a failure in the remote cache would not
8392 trigger local re-execution of an action.
8393
Bazel Release Systeme1148362018-02-15 10:02:05 +01008394## Release 0.10.1 (2018-02-15)
8395
8396```
8397Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993
8398
8399Cherry picks:
8400 + f6ca78808722c8c119affdb33400838ee92d44b6:
8401 isable_presubmit
8402 + 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52:
8403 Fix StreamResourceLeak error
8404 + e5436745e1732f5e43fc55f0deb5b19e23ce8524:
8405 windows: fix --symlink_prefix=/ throwing exception
8406 + 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3:
8407 Fix turbine command lines with empty javacopts
8408 + 96c654d43eb2906177325cbc2fc2b1e90dbcc792:
8409 Remove EOL'd Linux flavours, bump CentOS to 6.9.
8410 + f0bec36864f10370cbbda4caa8beac2e0c5ee45b:
8411 Automated rollback of commit
8412 2aeaeba66857c561dd6d63c79a213f1cabc3650d.
8413 + 860af5be10b6bad68144d9d2d34173e86b40268c:
8414 Consolidate Error Prone resource handling
8415 + 2e631c99495f75270d2639542cefb531ec262d67:
8416 sandbox: properly add `tmpDir` to `writablePaths`
8417 + 5bfa5844d0d16d71e88002956e88402bfec88ef7:
8418 actions,temp: respect TMPDIR envvar
8419 + 6cc2ad8676d1ae0542b351a07a05ddbe5efac165:
8420 sandbox: add env[TMPDIR] instead of `tmpDir`
8421 + 40c757f4ab90214f95935672532a495c4551490a:
8422 Change git clone to pull all history, so all needed commits can
8423 be accessed.
8424 + 56aeb04a064218b845ecc193d530c341c6ec854d:
8425 Fixing #4585: broken re-execution of orphaned actions.
8426```
8427
8428Important changes:
8429
8430 - Resolved an issue where a failure in the remote cache would not
8431 trigger local re-execution of an action.
8432
Bazel Release System5bd27482018-02-01 09:43:33 +01008433## Release 0.10.0 (2018-02-01)
8434
8435```
8436Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993
8437
8438Cherry picks:
8439 + f6ca78808722c8c119affdb33400838ee92d44b6:
8440 isable_presubmit
8441 + 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52:
8442 Fix StreamResourceLeak error
8443 + e5436745e1732f5e43fc55f0deb5b19e23ce8524:
8444 windows: fix --symlink_prefix=/ throwing exception
8445 + 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3:
8446 Fix turbine command lines with empty javacopts
8447 + 96c654d43eb2906177325cbc2fc2b1e90dbcc792:
8448 Remove EOL'd Linux flavours, bump CentOS to 6.9.
8449 + f0bec36864f10370cbbda4caa8beac2e0c5ee45b:
8450 Automated rollback of commit
8451 2aeaeba66857c561dd6d63c79a213f1cabc3650d.
8452 + 860af5be10b6bad68144d9d2d34173e86b40268c:
8453 Consolidate Error Prone resource handling
8454 + 2e631c99495f75270d2639542cefb531ec262d67:
8455 sandbox: properly add `tmpDir` to `writablePaths`
8456 + 5bfa5844d0d16d71e88002956e88402bfec88ef7:
8457 actions,temp: respect TMPDIR envvar
8458 + 6cc2ad8676d1ae0542b351a07a05ddbe5efac165:
8459 sandbox: add env[TMPDIR] instead of `tmpDir`
8460 + 40c757f4ab90214f95935672532a495c4551490a:
8461 Change git clone to pull all history, so all needed commits can
8462 be accessed.
8463```
8464
8465Incompatible changes:
8466
8467 - In order to access the template variables $(JAVA) and
8468 $(JAVABASE), @bazel_tools//tools/jdk:current_java_runtime needs
8469 to be added to the toolchains= attribute from now on.
8470 - The ctx.middle_man function is not supported anymore.
8471 - The flag --incompatible_list_plus_equals_inplace is removed, its
8472 default behavior is preserved. += on lists now always mutates the
8473 left hand
8474 side.
8475 - --android_sdk no longer supports filegroup targets.
8476 - android_* rules no longer support legacy_native_support attribute.
8477
8478New features:
8479
8480 - query: Add option --noproto:flatten_selects to turn off
8481 flattening of selector lists in proto output.
8482 - New android test rule, android_local_test.
8483
8484Important changes:
8485
8486 - The --remote_rest_cache flag now respects --remote_timeout.
8487 - --experimental_java_coverage is available for testing.
8488 - The deprecated builtin `set` is no longer allowed even from within
8489 unexecuted code in bzl files. It's temporarily possible to use
8490 --incompatible_disallow_uncalled_set_constructor=false if this
8491 change causes
8492 incompatibility issues.
8493 - Linkstamping is now a separate and full-blown CppCompileAction,
8494 it's
8495 no longer a part of linking command.
8496 - Using `+`, `|` or `.union` on depsets is now deprecated. Please
8497 use the new
8498 constructor instead (see
8499 https://docs.bazel.build/versions/master/skylark/depsets.html).
8500 - config_feature_flag's default_value is optional. It is
8501 only an error to have a config_feature_flag with no default_value
8502 if that config_feature_flag has not been set in the configuration
8503 it is being evaluated in.
8504 - --[no]keep_incrementality_data is gone, replaced by the
8505 enum-valued --incremental_state_retention_strategy
8506 - Linkstamping is now a separate and full-blown CppCompileAction,
8507 it's
8508 no longer a part of linking command.
8509 - Added --checkHashMismatch flag to ZipFilterAction. Valid values
8510 are IGNORE, WARN and ERROR. --errorOnHashMismatch is deprecated,
8511 please use this flag instead.
8512 - Set build jobs equivalent to number of logical processors by
8513 default. Should improve build times significantly.
8514 - Added --(no)expand_test_suites flag.
8515 - Rename --keep_incrementality_data to --track_incremental_state
8516 - --remote_rest_cache was renamed to --remote_http_cache. Both
8517 options keep working in this release, but --remote_rest_cache
8518 will be
8519 removed in the next release.
8520 - Aspects-on-aspect see and propagate over aspect attributes.
8521 - --auth_* flags were renamed to --google_* flags. The old names
8522 will continue to work for this release but will be removed in the
8523 next
8524 release.
8525 - Remote Caching and Execution support output directories.
8526 - Remove defunct flags
8527 --experimental_incremental_dexing_for_lite_proto and
8528 --experimental_incremental_dexing_error_on_missed_jars that have
8529 long been enabled by default
8530 - New version of aapt2 and Resources.proto.
8531 - Make PIC and non PIC outputs for C++ compilation with Tree
8532 Artifacts
8533
Bazel Release System7b423cc2017-12-19 10:31:05 +01008534## Release 0.9.0 (2017-12-19)
Bazel Release System3d53cb02017-12-05 15:28:40 +01008535
8536```
Bazel Release System7b423cc2017-12-19 10:31:05 +01008537Baseline: ddd5ac16aeffa6c4693c348f73e7365240b1abc5
Bazel Release System3d53cb02017-12-05 15:28:40 +01008538
8539Cherry picks:
Bazel Release System7b423cc2017-12-19 10:31:05 +01008540 + 2cf560f83922e6df9626ba3ee063c1caf6797548:
8541 Update version of re2
8542 + a2d2615362c65be98629b39ce39754a325ed1c42:
8543 Check for null build file returned from getBuildFileForPackage.
8544 + 68c577afc2fb33b5e66b820bcc9043fed1071456:
8545 Fix some broken targets and failing tests.
8546 + 766ba8adc4487f17ebfc081aeba6f34b18b53d6c:
Bazel Release System3d53cb02017-12-05 15:28:40 +01008547 Automated rollback of commit
Bazel Release System7b423cc2017-12-19 10:31:05 +01008548 337f19cc54e77c45daa1d5f61bf0a8d3daf8268f.
8549 + a22d0e9c14e58b29d81f5a83bdcc6e5fce52eafe:
8550 Fix: uploading artifacts of failed actions to remote cache
8551 stopped working.
8552 + 03964c8ccb20d673add76c7f37245e837c3899b6:
8553 [java_common.compile] Name output source jar relative to the
8554 output jar name
Bazel Release System3d53cb02017-12-05 15:28:40 +01008555```
8556
Bazel Release System7b423cc2017-12-19 10:31:05 +01008557Incompatible changes:
8558
8559 - The deprecated `set` constructor is removed, along with the
8560 migration flag --incompatible_disallow_set_constructor. It is
8561 still temporarily
8562 allowed to refer to `set` from within unexecuted code.
8563 - The flag --incompatible_disallow_set_constructor is no longer
8564 available, the deprecated `set` constructor is not available
8565 anymore.
8566 - The path to the JVM executable is not accessible anymore as
8567 ctx.{fragments,host_fragments}.jvm.java_executable. Use
8568 JavaRuntimeInfo.java_executable_exec_path instead.
8569 - --clean_style is no longer an option.
8570
8571New features:
8572
8573 - Users can use win_def_file attribute to specify a DEF file for
8574 exporting symbols when build a shared library on Windows.
8575 - Add --experimental_android_resource_cycle_shrinking option to
8576 allow for more aggressive code and resource shrinking.
8577
8578Important changes:
8579
8580 - Late-bound attributes are exposed to skylark. This is a new API
8581 (`configuration_field()`) to depend on certain
8582 configuration-defined targets from skylark rules.
8583 - Document interaction between test_suite and target exclusions
8584 - AAR manifest files will come from the processed resource APK if it
8585 exists.
8586 RELNOTES: None for Blaze users.
8587 - Document interaction between test_suite and target exclusions
8588 - --keep_incrementality_data flag allows Bazel servers to be run in
8589 memory-saving non-incremental mode independent of --batch and
8590 --discard_analysis_cache.
8591 - Add deps attribute to Skylark maven_aar and maven_jar workspace
8592 rules.
8593 - Use --expand_configs_in_place as a startup argument to change the
8594 order in which --config expansions are interpreted.
8595 - SOURCE_DATE_EPOCH
8596 (https://reproducible-builds.org/specs/source-date-epoch/) can
8597 be used to override the timestamp used for stamped target (when
8598 using --stamp).
8599 - Package specifications can now be prefixed with `-` to indicate
8600 negation
8601 - transitive_source_jars is now exposed on JavaInfo.
8602 - Add six to deps of has_services=1 py_proto_librarys.
8603 - java_tests no complain when use_testrunner is explicitly set to 1
8604 and main_class is set.
8605 - transitive_source_jars is now exposed on JavaInfo.
8606 - Debug messages generated by `print()` are not being filtered out
8607 by --output_filter anymore, it's recommended not to use them in
8608 production code.
8609 - in the Label() function, relative_to_caller_repository is now
8610 deprecated.
8611 - java_tests no complain when use_testrunner is explicitly set to 1
8612 and main_class is set.
8613 - Bazel's default hash function was changed from MD5 to SHA256.
8614 In particular, this affects users of remote caching and
8615 execution, as
8616 all hashes will be SHA256 by default.
8617 - Remove redirects for domains be.bazel.build and cr.bazel.build
8618 from the source for docs.bazel.build (because those subdomains
8619 don't resolve here; they resolve to bazel.build, which has the
8620 redirects for them)
8621 - First argument of 'load' must be a label. Path syntax is removed.
8622 (label should start with '//' or ':').
8623 - Document startup option --host_javabase
8624 - The --host_platform and --platform flags are no longer
8625 experimental.
Bazel Release System3d53cb02017-12-05 15:28:40 +01008626
Bazel Release System0838aee2017-11-27 14:16:34 +01008627## Release 0.8.0 (2017-11-27)
8628
8629```
8630Baseline: cff0dc94f6a8e16492adf54c88d0b26abe903d4c
8631
8632Cherry picks:
8633 + 8a49b156c4edf710e3e1e0acfde5a8d27cc3a086:
8634 Fix ImportError on tools.android for junction_lib
8635 + 275ae45b1228bdd0f912c4fbd634b29ba4180383:
8636 Automated rollback of commit
8637 4869c4e17d5b1410070a1570f3244148d8f97b5d.
8638 + d0bf589f2716b3d139c210930371a684c6e158eb:
8639 Add a random number to action temp dir
8640 + 9738f35abddb7ef7a7ef314b5d2a52a3be1b830a:
8641 CcProtoLibrary: Don't add dynamic librarys to filesToBuild on
8642 Windows
8643 + 0d6ff477099fdf6c8c1c7d4e2104f9184afe0a2b:
8644 Automated rollback of commit
8645 0ebb3e54fc890946ae6b3d059ecbd50e4b5ec840.
8646```
8647
8648Incompatible changes:
8649
8650 - ctx.fragments.apple.{xcode_version,ios_minimum_os} is not
8651 supported anymore. The same information is accessible through the
8652 target @bazel_tools//tools/osx:current_xcode_config: point an
8653 implicit attribute to it (i.e.
8654 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
8655 nfig")) then use
8656 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].
8657 - ctx.fragments.apple.minimum_os_for_platform_type is not supported
8658 anymore. The same information is accessible through the target
8659 @bazel_tools//tools/osx:current_xcode_config: point an implicit
8660 attribute to it (i.e.
8661 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
8662 nfig")) then use
8663 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].minimum_o
8664 s_for_platform_type .
8665 - ctx.fragments.apple.sdk_version_for_platform is not supported
8666 anymore. The same information is accessible through the target
8667 @bazel_tools//tools/osx:current_xcode_config: point an implicit
8668 attribute to it (i.e.
8669 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
8670 nfig")) then use
8671 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].sdk_versi
8672 on_for_platform .
8673 - --javabase=<absolute path> and --host_javabase=<absolute path>
8674 are not supported anymore. If you need this functionality
8675 java_runtime_suite(name="suite", default=":runtime")
8676 java_runtime(name="runtime", java_home=<path to the JDK>) is an
8677 alternative.
8678 - The flag --incompatible_descriptive_string_representations is no
8679 longer available, old style string representations of objects are
8680 not supported
8681 anymore.
8682 - The flag --incompatible_disallow_set_constructor is no longer
8683 available, the deprecated `set` constructor is not available
8684 anymore.
8685 - += on lists now mutates them. `list1 += list2` is now equivalent
8686 to `list1.extend(list2)` and not equivalent to `list1 = list1 +
8687 list2` anymore.
8688 - the target_apple_env and apple_host_system_env methods on
8689 ctx.fragments.apple are not supported anymore. The same
8690 information is accessible through apple_common.target_apple_env
8691 and apple_common.apple_host_system_env . They need the Xcode
8692 configuration as an argument, which can be obtained by declaring
8693 an implicit dependency on it (i.e.
8694 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
8695 nfig")) and then calling e.g.
8696 apple_common.apple_host_system_env(ctx.attr._xcode_config[apple_co
8697 mmon.XcodeVersionConfig]).
8698 - C++ toolchain identifiers are not in the name of the output
8699 directory anymore.
8700 - Selecting on "xcode_version" and
8701 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
8702 What was config_setting(values={"$FOO_version": $VALUE}) is now
8703 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
8704 flag": $VALUE}).
8705 - Selecting on "xcode_version" and
8706 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
8707 What was config_setting(values={"$FOO_version": $VALUE}) is now
8708 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
8709 flag": $VALUE}).
8710 - The flag --incompatible_disallow_set_constructor is no longer
8711 available, the deprecated `set` constructor is not available
8712 anymore.
8713 - Selecting on "xcode_version" and
8714 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
8715 What was config_setting(values={"$FOO_version": $VALUE}) is now
8716 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_versi...
8717
8718New features:
8719
8720 - runfiles, sh: Shell scripts may now depend on
8721 //src/tools/runfiles:runfiles_sh_lib and source runfiles.sh. The
8722 script defines the `rlocation` function which returns runfile
8723 paths on every platform.
8724 - In addition to $(location), Bazel now also supports $(rootpath)
8725 to obtain
8726 the root-relative path (i.e., for runfiles locations), and
8727 $(execpath) to
8728 obtain the exec path (i.e., for build-time locations)
8729
8730Important changes:
8731
8732 - android_binary now supports custom debug keys via the debug_key
8733 attribute.
8734 - Updated Android proguard to 5.3.3. It now works with android-24+.
8735 - --experimental_use_parallel_android_resource_processing and
8736 --experimental_android_use_nocompress_extensions_on_apk are
8737 removed. These features are fully rolled out.
8738 - Fixes #2574
8739 - Fixes #3834
8740 - Enable experimental UI by default.
8741 - .
8742 RELNOTES: None.
8743 RELNOTES: No.
8744 - Add memory profiler.
8745 - [Bazel] {java,cc}_proto_library now look for dependencies in
8746 @com_google_protobuf, instead of in @com_google_protobuf_$LANG
8747 - Improved merge.sh script in cookbook.
8748 - Fixing regression to --experimental_remote_spawn_cache
8749 - Support for linker scripts in NativeDepsHelper (e.g.,
8750 android_binary)
8751 - Skylark semantics flags now affect WORKSPACE files and repository
8752 rules.
8753 - ctx.outputs.executable is deprecated. Use DefaultInfo(executable
8754 = ...) instead.
8755 - Update "mirror.bazel.build" urls to use https.
8756 - Improve --config logging when --announce_rc is present.
8757 - Document interaction between test_suite and target exclusions
8758 - Replace version numbers for Bazel installers with "<version>"
8759 (because this will change often)
8760 - Published command lines should have improved lists of effective
8761 options.
8762 - --incremental_dexing_binary_types has been removed. All builds
8763 are supported by incremental dexing (modulo proguard and some
8764 blacklisted dx flags).
8765 - Document --host_javabase, --host_java_toolchain
8766
Bazel Release System76b6d0a2017-10-18 14:34:11 +02008767## Release 0.7.0 (2017-10-18)
8768
8769```
8770Baseline: 5cc6246d429f7d9119b97ce263b4fd6893222e92
8771
8772Cherry picks:
8773 + e79a1107d90380501102990d82cbfaa8f51a1778:
8774 Windows,bootstrapping: fix build_windows_jni.sh
8775```
8776
8777Incompatible changes:
8778
8779 - The --output=location flag to 'bazel query' cannot be used with
8780 query expressions that involve the 'buildfiles' or 'loadfiles'
8781 operators. This also applies to 'genquery' rules.
8782 - Operators for equality, comparison, 'in' and 'not in' are no
8783 longer associative,
8784 e.g. x < y < z is now a syntax error. Before, it was parsed
8785 as: (x < y) < z.
8786 - In strings, octal sequences greater than \377 are now forbidden
8787 (e.g. "\\600").
8788 Previously, Blaze had the same behavior as Python 2, where
8789 "\\450" == "\050".
8790 - Using tabulation for identation is now fobidden in .bzl files
8791 - `load` is now a language keyword, it cannot be used as an
8792 identifier
8793 - lvalues must have define at least one variable (i.e. we forbid
8794 `[] = f()`).
8795 - Fixed a bug whereby multiple load() statements could appear on
8796 the same line
8797 - -extra_checks:off is no longer supported; use
8798 -XepDisableAllChecks instead
8799 - java_common.java_toolchain_attr is removed. Depend on the
8800 java_toolchain_alias() rule to accomplish the same thing.
8801 - cc_common.cc_toolchain_attr and java_common.java_runtime_attr are
8802 not supported anymore and were replaced with the
8803 cc_toolchain_alias() and java_runtime_alias() rules.
8804 - Noop flag --deprecated_generate_xcode_project deleted.
8805 - Objects in Skylark are converted to strings in a more descriptive
8806 and less harmful way (they don't leak information that shouldn't
8807 be accessed by Skylark code, e.g. nondeterministic memory addresses
8808 of objects).
8809 - `set` is deprecated in BUILD and .bzl files, please use `depset`
8810 instead. Ordering names have also been changed, please use "default",
8811 "postorder", "preorder", and "topological" instead of "stable",
8812 "compile", "naive_link", and "link" correspondingly.
8813 - Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is
8814 an error.
8815 - Keyword-only syntax in a function definition is now forbidden
8816 e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`
8817 - --incompatible_comprehension_variables_do_not_leak defaults to
8818 "true."
8819 Iteration variable becomes inaccessible after a list/dict
8820 comprehension.
8821 - @bazel_tools//tools/build_defs/docker:docker.bzl is no longer
8822 available, please see https://github.com/bazelbuild/rules_docker.
8823
8824New features:
8825
8826 - Zipped LLVM profiles are now supported.
8827 - LIPO maps to ThinLTO for LLVM builds.
8828 - Change to handle LLVM FDO zipped profile contents correctly.
8829 - Do not disable fully dynamic linking with ThinLTO when invoked
8830 via LIPO options.
8831 - There is now a 'siblings' query function. See the query
8832 documentation for more details.
8833 - Added the print_action command, which outputs the
8834 actions needed to build a given target in the form of an
8835 ExtraActionSummary proto in text format.
8836 - android_binary now supports proguard_apply_dictionary to specify
8837 a custom dictionary to use for choosing names to obfuscate
8838 classes and members to.
8839
8840Important changes:
8841
8842 - Windows: bazel clean --expunge works
8843 - First argument of 'load' should be a label. Path syntax is
8844 deprecated (label should start with '//' or ':').
8845 - Octal prefix '0' is deprecated in favor of '0o' (use 0o777
8846 instead of 0777).
8847 - The extension_safe attribute of apple_binary no longer validates
8848 transitive dependencies are compiled against extension_safe APIs.
8849 - Parentheses around the tuple are now mandatory in [a for b in c
8850 if 1, 2]
8851 - Adjust the thresholds for --test_verbose_timeout_warnings so that
8852 it can recommending timeout increases and won't recommend
8853 timeouts that are too close to the actual timeout.
8854 - Iterating on a `depset` object is deprecated. If you need an
8855 iterable, call the `.to_list()` method first.
8856 - Bazel now uses tools from action_configs in Crosstool by default
8857 (as oposed to using top level tools).
8858 - Incremental dexing errors on combination of --multidex=off and
8859 either --main-dex-list or --minimal-main-dex.
8860 - When using the dictionary literal syntax, it is now an error to
8861 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
8862 - New property on android_sdk: aapt2
8863 Choose the version of aapt on android_binary
8864 - Add idl_preprocessed attribute to android_library, so that
8865 preprocessed aidl files can be passed to android_library for
8866 compiling
8867 - Bazel's remote_worker backend for remote execution supports
8868 sandboxing on Linux now. Check
8869 https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w
8870 orker/README.md for details.
8871 - Allows flags that expand to take values.
8872 - Make querying attributes formed by selector lists of list types
8873 more efficient by no longer listing every possible combination of
8874 attribute value but by more compactly storing the possible values
8875 of the list.
8876 - writing build events to a file is no longer experimental
8877 - set --rewrite_calls_to_long_compare to false by default.
8878 - ObjC and C++ coverage feature is unified under name 'coverage'
8879 - Enable --incremental_dexing for Android builds by default. Note
8880 that some dexopts are incompatible with incremental dexing,
8881 including --force-jumbo.
8882 - Evaluation will soon use checked arithmetics and throw an error
8883 instead of overflow/underflow.
8884 - Implicit iteration in the CROSSTOOL has been removed, use
8885 explicit 'iterate_over' message.
8886 - Add option for Android specific grte_top
8887 - Crosstool patches are only applied if the toolchain doesn't define
8888 'no_legacy_features' feature.
8889 - 'platform_type' is now a mandatory attribute on apple_binary and
8890 apple_static_library rules.
8891 If this change breaks your build, feel free to add platform_type
8892 = 'ios' to any apple_binary and apple_static_library
8893 targets in your project, as this was the previous default
8894 behavior.
8895 - Remove apple_watch2_extension build rule. Users should be using
8896 the skylark watchos_application and watchos_extension rules.
8897 https://github.com/bazelbuild/rules_apple has details.
8898 - Check stderr to detect if connected to a terminal. Deprecate
8899 --isatty.
8900 - Commands that shut down the server (like "shutdown") now ensure
8901 that the server process has terminated before the client process
8902 terminates.
8903 - Remove apple_watch1_extension and apple_watch_extension_binary
8904 rules. Users should be using the skylark watchos_application and
8905 watchos_extension rules.
8906 https://github.com/bazelbuild/rules_apple has details.
8907 - Windows: Wrapper-less CROSSTOOL becomes default now.
8908 set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.
8909 - Ignore --glibc in the Android transition.
8910 - Remove --experimental_android_use_singlejar_for_multidex.
8911 - nocopts now also filter copts
8912 - 'strip' action is now configured via feature configuration
8913 - The Build Event Service (BES) client now properly supports
8914 Google Applicaton Default Credentials.
8915 - Flags from action_config get added first to the command line
8916 first, before the flags from features.
8917 - update dexing tools to Android SDK 26.0.1
8918 - Bazel Android support now requires build-tools 26.0.1 or later.
8919 - `bazel info output_path` no longer relies on the root directory
8920 filename being equal to the workspace name.
8921 - The `print` function now prints debug messages instead of
8922 warnings.
8923 - speedup of incremental dexing tools
8924 - --announce_rc now controls whether bazelrc startup options are
8925 printed to stderr.
8926 - Removing a few unused objc_provider keys.
8927 - Improved logging when workers have to be restarted due to its
8928 files having changed.
8929 - Top-level `if` statements are now forbidden.
8930 - Java protos are compiled to Java 7 bytecode.
8931 - All Android builds now use the desugar tool to support some Java
8932 8 features by default. To disable, use the --nodesugar_for_android flag.
8933 - Skylark-related options may now appear as "common" command
8934 options in the .bazelrc
8935 - Python is now required to build bazel.
8936 - New --build_runfile_manifests flag controls production of
8937 runfiles manifests.
8938 - Enable debug info for Java builds
8939 - Allow java_lite_proto_library in the deps of android rules.
8940 - .so files in APKs will be memory-page aligned when
8941 android_binary.nocompress_extensions contains ".so" and
8942 --experimental_android_use_nocompress_extensions_on_apk is
8943 specified.
8944 - Skylark providers can specify allowed fields and their
8945 documentation.
8946 - Support ctx.actions.args() for more efficient Skylark command
8947 line construction.
8948 - The remote HTTP/1.1 caching client (--remote_rest_cache) now
8949 distinquishes between action cache and CAS. The request URL for
8950 the action cache is prefixed with 'ac' and the URL for the CAS
8951 is prefixed with 'cas'.
8952 - `JavaInfo` is a preferred alias to `java_common.provider`.
8953 - J2ObjC version updated to 2.0.3.
8954 - A new Java coverage implementation is available. Makes possible
8955 coverage for Skylark JVM rules.
8956 - Make proguard_apply_dictionary also apply to class and package
8957 obfuscation, not just class members.
8958 - android_binary.nocompress_extensions now applies to all files in
8959 the APK, not just resources and assets.
8960 - The apple_genrule rule that is distributed with Bazel has been
8961 deleted. Users who wish to use genrules with Xcode's
8962 DEVELOPER_DIR set should use the rules in
8963 https://github.com/bazelbuild/rules_apple instead.
8964 - The swift_library rule that is distributed with Bazel has been
8965 deleted. Users who wish to compile Swift should use the rules in
8966 https://github.com/bazelbuild/rules_apple instead.
8967 - The Build Event Protocol's File.uri field is now properly
8968 encoded according to RFC2396.
8969 - Deprecated: Using the android_library.deps attribute to
8970 implicitly export targets to dependent rules. If your code is
8971 using this feature, Bazel will raise a warning. To fix, please
8972 use android_library.exports to explicitly specify exported
8973 targets. Run with
8974 --experimental_allow_android_library_deps_without_srcs=false to
8975 ensure forward compatibility when this feature is removed in a
8976 future release.
8977 - java_common.create_provider is now supported with creating ijars
8978 by default. This introduces incompatibilities for existing users.
8979 Please set use_ijar=False if you don't want to use ijars.
8980 - Tests can now write files to TEST_UNDECLARED_OUTPUTS_DIR and
8981 TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR and these will be
8982 reflected under bazel-testlogs.
8983 - remove unused --host_incremental_dexing flag
8984 - Stop using --undefined dynamic_lookup in Apple links. Enables
8985 unresolved symbol errors.
8986 - All test output files included for cached, uncached, and multiple
8987 attempt tests.
8988 - Android rules no longer restrict the manifest file to be named
8989 "AndroidManifest.xml".
8990 - Boolean flag values will now get normalized to 1 or 0 in
8991 canonicalize-flags output.
8992 - added experimental --use_new_category_enum to the help command to
8993 output options grouped by the new type of category.
8994 - Expose output jars and jdeps in java_common.provider, when
8995 available.
8996 - android_library targets are no longer allowed to use deps to
8997 export targets implicitly; please use android_library.exports
8998 instead.
8999 - New depset API
9000 - apple_binary and apple_static_library no longer support
9001 compilation attributes such as 'srcs'. If this breaks any
9002 existing targets, you may migrate all such attributes to a new
9003 objc_library target and depend on that objc_library target via
9004 the 'deps' attribute of apple_binary or apple_static_library.
9005
Bazel Release Systemed0ebc02017-10-05 23:52:25 +02009006## Release 0.6.1 (2017-10-05)
9007
9008```
9009Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689
9010
9011Cherry picks:
9012 + a615d288b008c36c659fdc17965207bb62d95d8d:
9013 Rollback context.actions.args() functionality.
9014 + 7b091c1397a82258e26ab5336df6c8dae1d97384:
9015 Add a global failure when a test is interrupted/cancelled.
9016 + 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120:
9017 Cleanups for Skylark tracebacks
9018 + cc9c2f07127a832a88f27f5d72e5508000b53429:
9019 Remove the status xml attribute from AntXmlResultWriter
9020 + 471c0e1678d0471961f1dc467666991e4cce3846:
9021 Release 0.6.0 (2017-09-28)
9022 + 8bdd409f4900d4574667fed83d86b494debef467:
9023 Only compute hostname once per server lifetime
9024 + 0bc9b3e14f305706d72180371f73a98d6bfcdf35:
9025 Fix bug in NetUtil caching.
9026```
9027
9028Important changes:
9029 - Only compute hostname once per server lifetime
9030
Bazel Release System471c0e12017-09-28 16:36:12 +02009031## Release 0.6.0 (2017-09-28)
9032
9033```
9034Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689
9035
9036Cherry picks:
9037 + a615d288b008c36c659fdc17965207bb62d95d8d:
9038 Rollback context.actions.args() functionality.
9039 + 7b091c1397a82258e26ab5336df6c8dae1d97384:
9040 Add a global failure when a test is interrupted/cancelled.
9041 + 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120:
9042 Cleanups for Skylark tracebacks
9043 + cc9c2f07127a832a88f27f5d72e5508000b53429:
9044 Remove the status xml attribute from AntXmlResultWriter
9045```
9046
9047Incompatible changes:
9048
9049 - Noop flag --deprecated_generate_xcode_project deleted.
9050 - Objects in Skylark are converted to strings in a more descriptive
9051 and less harmful way (they don't leak information that shouldn't
9052 be accessed by Skylark code, e.g. nondeterministic memory addresses
9053 of objects).
9054 - `set` is deprecated in BUILD and .bzl files, please use `depset`
9055 instead. Ordering names have also been changed, please use
9056 "default", "postorder", "preorder", and "topological" instead of
9057 "stable", "compile", "naive_link", and "link" correspondingly.
9058 - Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is
9059 an error.
9060 - Keyword-only syntax in a function definition is now forbidden
9061 e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`
9062 - --incompatible_comprehension_variables_do_not_leak defaults to
9063 "true."
9064 Iteration variable becomes inaccessible after a list/dict
9065 comprehension.
9066
9067New features:
9068
9069 - There is now a 'siblings' query function. See the query
9070 documentation for more details.
9071 - Added the print_action command, which outputs the
9072 actions needed to build a given target in the form of an
9073 ExtraActionSummary proto in text format.
9074 - android_binary now supports proguard_apply_dictionary to specify
9075 a custom dictionary to use for choosing names to obfuscate
9076 classes and members to.
9077
9078Important changes:
9079
9080 - 'strip' action is now configured via feature configuration
9081 - Flags from action_config get added first to the command line
9082 first,
9083 before the flags from features.
9084 - `bazel info output_path` no longer relies on the root directory
9085 filename being equal to the workspace name.
9086 - The `print` function now prints debug messages instead of
9087 warnings.
9088 - speedup of incremental dexing tools
9089 - --announce_rc now controls whether bazelrc startup options are
9090 printed to stderr.
9091 - Removing a few unused objc_provider keys.
9092 - Improved logging when workers have to be restarted due to its
9093 files having changed.
9094 - Top-level `if` statements are now forbidden.
9095 - Java protos are compiled to Java 7 bytecode.
9096 - All Android builds now use the desugar tool to support some Java
9097 8 features by default. To disable, use the
9098 --nodesugar_for_android flag.
9099 - Skylark-related options may now appear as "common" command
9100 options in the .bazelrc
9101 - Python is now required to build bazel.
9102 - When the lvalue of an augmented assignment is a list, we now
9103 throw an error
9104 before evaluating the code (e.g. `a, b += 2, 3`).
9105 - New --build_runfile_manifests flag controls production of
9106 runfiles manifests.
9107 - Enable debug info for Java builds
9108 - Allow java_lite_proto_library in the deps of android rules.
9109 - .so files in APKs will be memory-page aligned when
9110 android_binary.nocompress_extensions contains ".so" and
9111 --experimental_android_use_nocompress_extensions_on_apk is
9112 specified.
9113 - Skylark providers can specify allowed fields and their
9114 documentation.
9115 - Support ctx.actions.args() for more efficient Skylark command
9116 line construction.
9117 - The remote HTTP/1.1 caching client (--remote_rest_cache) now
9118 distinquishes between action cache and CAS. The request URL for
9119 the action cache is prefixed with 'ac' and the URL for the CAS
9120 is prefixed with 'cas'.
9121 - `JavaInfo` is a preferred alias to `java_common.provider`.
9122 - J2ObjC version updated to 2.0.3.
9123 - A new Java coverage implementation is available. Makes possible
9124 coverage for Skylark JVM rules.
9125 - Make proguard_apply_dictionary also apply to class and package
9126 obfuscation, not just class members.
9127 - When using the dictionary literal syntax, it is now an error to
9128 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
9129 - android_binary.nocompress_extensions now applies to all files in
9130 the APK, not just resources and assets.
9131 - The apple_genrule rule that is distributed with Bazel has been
9132 deleted. Users who wish to use genrules with Xcode's
9133 DEVELOPER_DIR set should use the rules in
9134 https://github.com/bazelbuild/rules_apple instead.
9135 - The swift_library rule that is distributed with Bazel has been
9136 deleted. Users who wish to compile Swift should use the rules in
9137 https://github.com/bazelbuild/rules_apple instead.
9138
Bazel Release System5371d132017-08-25 11:24:06 +02009139## Release 0.5.4 (2017-08-25)
9140
9141```
9142Baseline: 6563b2d42d29196432d5fcafa0144b8371fbb028
9143
9144Cherry picks:
9145 + d4fa181f8607c35230b7efa1ce94188b51508962:
9146 Use getExecPathString when getting bash_main_file
9147 + 837e1b3d4859140d29aaa6bbab8fbb008e6d701e:
9148 Windows, sh_bin. launcher: export runfiles envvars
9149 + fe9ba893c0ebec19228086356af5fa8d81f2809b:
9150 grpc: Consolidate gRPC code from BES and Remote Execution. Fixes
9151 #3460, #3486
9152 + e8d4366cd374fba92f1425de0d475411c8defda4:
9153 Automated rollback of commit
9154 496d3ded0bce12b7371a93e1183ba30e6aa88032.
9155 + 242a43449dd44a22857f6ce95f7cc6a7e134d298:
9156 bes,remote: update default auth scope.
9157 + 793b409eeae2b42be7fed58251afa87b5733ca4d:
9158 Windows, sh_bin. launcher: fix manifest path
9159 + 7e4fbbe4ab3915a57b2187408c3909e5cd6c6013:
9160 Add --windows_exe_launcher option
9161 + 91fb38e92ace6cf14ce5da6527d71320b4e3f3d2:
9162 remote_worker: Serialize fork() calls. Fixes #3356
9163 + b79a9fcd40f448d3aebb2b93a2ebe80d09b38408:
9164 Quote python_path and launcher in
9165 python_stub_template_windows.txt
9166 + 4a2e17f85fc8450aa084b201c5f24b30010c5987:
9167 Add build_windows_jni.sh back
9168 + ce61d638197251f71ed90db74843b55d9c2e9ae5:
9169 don't use methods and classes removed in upstream dx RELNOTES:
9170 update dexing tools to Android SDK 26.0.1
9171 + 5393a4996d701fa192964a35cbb75e558a0599c0:
9172 Make Bazel enforce requirement on build-tools 26.0.1 or later.
9173 + 5fac03570f80856c063c6019f5beb3bdc1672dee:
9174 Fix --verbose_failures w/ sandboxing to print the full command
9175 line
9176 + f7bd1acf1f96bb7e3e19edb9483d9e07eb5af070:
9177 Only patch in C++ compile features when they are not already
9178 defined in crosstool
9179 + d7f5c120417bc2d2344dfb285322355f225d9153:
9180 Bump python-gflags to 3.1.0, take two
9181 + 3cb136d5451e9d8af58f9a99990cad0592df101a:
9182 Add python to bazel's dockerfiles
9183```
9184
9185New features:
9186
9187 - Do not disable fully dynamic linking with ThinLTO when invoked
9188 via LIPO options.
9189
9190Important changes:
9191
9192 - Ignore --glibc in the Android transition.
9193 - Remove --experimental_android_use_singlejar_for_multidex.
9194 - nocopts now also filter copts
9195 - The Build Event Service (BES) client now properly supports
9196 Google Applicaton Default Credentials.
9197 - update dexing tools to Android SDK 26.0.1
9198 - Bazel Android support now requires build-tools 26.0.1 or later.
9199 - Fix a bug in the remote_worker that would at times make it crash on Linux. See #3356
9200 - The java_proto_library rule now supports generated sources. See #2265
9201
Bazel Release System195a7a82017-07-27 20:27:32 +02009202## Release 0.5.3 (2017-07-27)
9203
9204```
9205Baseline: 88518522a18df5788736be6151fc67992efe2aad
9206
9207Cherry picks:
9208 + 820a46af10808396873c36d0f331e533118cf0c6:
9209 Automated rollback of commit
9210 6d6e87297fe8818e4c374fdfabfbcf538bca898a.
9211 + ccfb2df69ecf4746f5a15e1295af995c3a45aa94:
9212 Allow py_binary to be the executable of a Skylark action or any
9213 SpawnAction on Windows.
9214 + 06534911696838e720c8681f6f568c69d28da65e:
9215 Fix string representation for the Root class
9216 + cd159bcee72a7f377621b45409807231a636f9e2:
9217 sandbox: Allow UNIX sockets on macOS even when block-network is
9218 used.
9219 + ad73cba3caa2e08ad61ea9ca63f9111cde1f48d1:
9220 Fix python_stub_template.txt to be compatible with Python 2.4.
9221 + 9a63aff8bb771af8917903fbbc9df3b708e2c0ed:
9222 Create Windows ZIP release artifact using Bazel
9223 + 5e576637b5705aff0a7bf56b5077463dffcd712f:
9224 Automated rollback of commit
9225 820a46af10808396873c36d0f331e533118cf0c6.
9226 + b6e29ca217b02c3ba499b85479a3830f59c9b9b6:
9227 Use the correct function to generate the release notes
9228 + 0f3481ba6364f24ef76b839bdde06ae7883c9bd9:
9229 Include <cinttypes> instead of <stdint.h>
9230```
9231
9232Incompatible changes:
9233
9234 - The --output=location flag to 'bazel query' cannot be used with
9235 query expressions that involve the 'buildfiles' or 'loadfiles'
9236 operators. This also applies to 'genquery' rules.
9237 - Operators for equality, comparison, 'in' and 'not in' are no
9238 longer associative, e.g. x < y < z is now a syntax error.
9239 Before, it was parsed as: (x < y) < z.
9240 - In strings, octal sequences greater than \377 are now forbidden
9241 (e.g. "\\600"). Previously, Blaze had the same behavior as Python 2,
9242 where "\\450" == "\050".
9243 - Using tabulation for identation is now fobidden in .bzl files
9244 - `load` is now a language keyword, it cannot be used as an
9245 identifier
9246 - lvalues must have define at least one variable (i.e. we forbid
9247 `[] = f()`).
9248 - Fixed a bug whereby multiple load() statements could appear on
9249 the same line
9250 - -extra_checks:off is no longer supported; use
9251 -XepDisableAllChecks instead
9252 - java_common.java_toolchain_attr is removed. Depend on the
9253 java_toolchain_alias() rule to accomplish the same thing.
9254 - cc_common.cc_toolchain_attr and java_common.java_runtime_attr are
9255 not supported anymore and were replaced with the
9256 cc_toolchain_alias() and java_runtime_alias() rules.
9257
9258New features:
9259
9260 - Zipped LLVM profiles are now supported.
9261 - LIPO maps to ThinLTO for LLVM builds.
9262 - Change to handle LLVM FDO zipped profile contents correctly.
9263
9264Important changes:
9265
9266 - Windows: bazel clean --expunge works
9267 - First argument of 'load' should be a label. Path syntax is
9268 deprecated (label should start with '//' or ':').
9269 - Octal prefix '0' is deprecated in favor of '0o' (use 0o777
9270 instead of 0777).
9271 - The extension_safe attribute of apple_binary no longer validates
9272 transitive dependencies are compiled against extension_safe APIs.
9273 - Parentheses around the tuple are now mandatory in [a for b in c
9274 if 1, 2]
9275 - Adjust the thresholds for --test_verbose_timeout_warnings so that
9276 it can recommending timeout increases and won't recommend
9277 timeouts that are too close to the actual timeout.
9278 - Iterating on a `depset` object is deprecated. If you need an
9279 iterable, call the `.to_list()` method first.
9280 - Bazel now uses tools from action_configs in Crosstool by default
9281 (as oposed to using top level tools).
9282 - Incremental dexing errors on combination of --multidex=off and
9283 either --main-dex-list or --minimal-main-dex.
9284 - When using the dictionary literal syntax, it is now an error to
9285 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
9286 - New property on android_sdk: aapt2
9287 Choose the version of aapt on android_binary
9288 - Add idl_preprocessed attribute to android_library, so that
9289 preprocessed aidl files can be passed to android_library for
9290 compiling
9291 - Bazel's remote_worker backend for remote execution supports
9292 sandboxing on Linux now. Check
9293 https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w
9294 orker/README.md for details.
9295 - Allows flags that expand to take values.
9296 - Make querying attributes formed by selector lists of list types
9297 more efficient by no longer listing every possible combination of
9298 attribute value but by more compactly storing the possible values
9299 of the list.
9300 - Writing build events to a file is no longer experimental
9301 - set --rewrite_calls_to_long_compare to false by default.
9302 - ObjC and C++ coverage feature is unified under name 'coverage'
9303 - Enable --incremental_dexing for Android builds by default. Note
9304 that some dexopts are incompatible with incremental dexing,
9305 including --force-jumbo.
9306 - Evaluation will soon use checked arithmetics and throw an error
9307 instead of overflow/underflow.
9308 - Implicit iteration in the CROSSTOOL has been removed, use
9309 explicit 'iterate_over' message.
9310 - Add option for Android specific grte_top
9311 - Crosstool patches are only applied if the toolchain doesn't define
9312 'no_legacy_features' feature.
9313 - 'platform_type' is now a mandatory attribute on apple_binary and
9314 apple_static_library rules.
9315 If this change breaks your build, feel free to add platform_type
9316 = 'ios' to any apple_binary and apple_static_library
9317 targets in your project, as this was the previous default
9318 behavior.
9319 - Remove apple_watch2_extension build rule. Users should be using
9320 the skylark watchos_application and watchos_extension rules.
9321 https://github.com/bazelbuild/rules_apple has details.
9322 - Check stderr to detect if connected to a terminal. Deprecate
9323 --isatty.
9324 - Commands that shut down the server (like "shutdown") now ensure
9325 that the server process has terminated before the client process
9326 terminates.
9327 - Remove apple_watch1_extension and apple_watch_extension_binary
9328 rules. Users should be using the skylark watchos_application and
9329 watchos_extension rules.
9330 https://github.com/bazelbuild/rules_apple has details.
9331 - Windows: Wrapper-less CROSSTOOL becomes default now.
9332 set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.
9333
Bazel Release System7b851222017-06-27 15:08:47 +02009334## Release 0.5.2 (2017-06-27)
9335
9336```
9337Baseline: e78ad83ded6e9c6d639793827e27b6570e6e9f65
9338
9339Cherry picks:
9340 + 68028317c1d3d831a24f90e2b25d1410ce045c54:
9341 experimental UI: move stopUpdateThread() out of synchronized,
9342 again
9343 + 019935dfbb61e61d08d1351b0365fb4e2d0df305:
9344 Fix bug in URI computation in RemoteModule
9345 + e9424cf9b9d72b98594966d5ac0f15bb018ec639:
9346 Automated rollback of commit
9347 7dec00574aa91327693f6ba7e90bff5bc834253e.
9348 + 9eea05d068a06ab642dd9d86d46ee5fa2e36b02e:
9349 Switching to Watcher API instead of wait_for_completion, in
9350 preparation for deprecating the wait_for_completion field.
9351 + 89659810e3048782dfb5e308e39aa8a0727e464e:
9352 Set correct execroot for info
9353 + 716b527266f47f59a2b7fb2e5fc52cb45e1691b1:
9354 Only create a single per-build instance of the remote cache /
9355 executor
9356 + 1d82d199f82409f217a42bcefebb96f723f91caa:
9357 protobuf: Update protobuf jars to be binary compatible with Java
9358 6. Fixes #3198
9359 + 524b90d9e5acc4fa568f215c9415eaa902e979f8:
9360 Change CAS URI to use the "bytestream" scheme instead of being
9361 scheme-less
9362 + 4929ad79865f8c13ef3b33c827040f4a037e4afe:
9363 Automated g4 rollback of commit
9364 923d7df521f67d031b288180560848bd35e20976.
9365 + 68b9a7e2dc17e32b194238d287e79bee1ba035b9:
9366 Automated g4 rollback of commit
9367 da56606563ee9df438db93392f681bf2abb4ac97.
9368 + 2ba693ffbe824136a0ca5f47d34710612f6302c3:
9369 Automated rollback of commit
9370 ce7c4deda60a307bba5f0c9421738e2a375cf44e.
9371```
9372
9373Incompatible changes:
9374
9375 - Blaze no longer generates xcode projects. Use tulsi.bazel.build
9376 instead.
9377
9378Important changes:
9379
9380 - Keyword-only syntax in a function definition is deprecated
9381 (e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`) and will be
9382 removed in the future.
9383 - Attempting to build an Android target without setting up
9384 android_sdk_repository will now produce a helpful error message.
9385 - Adds a sha256 attribute to git_repository and new_git_repository.
9386 This can only be used if the remote is a public GitHub
9387 repository. It forces
9388 Bazel to download the repository as a tarball, which will often
9389 be faster and
9390 more robust than cloning it.
9391 - Sandboxing is now enabled by default on FreeBSD (via
9392 processwrapper-sandbox).
9393 - android_test may use manifest placeholders with 'manifest_merger
9394 = "android"'.
9395 - load() statements should be called at the top of .bzl files,
9396 before any
9397 other statement. This convention will be enforced in the future.
9398 - Effectively remove sysroot from CppConfiguration and allow it to
9399 use select statements.
9400 - proto_library.strict_proto_deps no longer exists.
9401 - Flag --explicit_jre_deps is now a noop.
9402 - The 'legacy' Android manifest merger is deprecated. Please
9403 upgrade to the 'android' manifest merger, which is the same
9404 merger used by Gradle.
9405 https://developer.android.com/studio/build/manifest-merge.html
9406 - Using $(CC_FLAGS) in a GenRule adds a dependency to the c++
9407 toolchain
9408 - add one-version enforcement to android_local_test
9409 - Skylark support (apple_common.dotted_version(string)) for
9410 building DottedVersion objects to interface with native apple
9411 rules
9412 - CC_FLAGS can be defined using 'cc-flags-make-variable' action_config in
9413 CROSSTOOL
9414 - ios_framework native rule has been removed. This rule had been
9415 essentially broken for several months now; users should be using
9416 the skylark ios framework rule.
9417 https://github.com/bazelbuild/rules_apple has details.
9418 - Clean command no longer uses boolean values for --async,
9419 --expunge, and --expunge_async options.
9420 - Partially fixes external J2ObjC support.
9421 - '--aspects' can occur more than once on the command line.
9422 - --no_ prefix no longer recognized.
9423 - Use action_config in crosstool for static library archiving,
9424 remove ar_flag.
9425 - Added a new flag --sandbox_writable_path, which asks the sandbox
9426 to
9427 make an existing directory writable when running actions.
9428 - bazel test now also computes a default instrumentation filter if
9429 --collect_code_coverage is enabled
9430 - n/na
9431 - In .bzl files, top-level `if` statements are deprecated and will
9432 be forbidden
9433 in the future. Move them in a function body instead (or use a
9434 conditional
9435 expression instead: `x if condition else y`).
9436 - ios_device and ios_test are deprecated. Please use the new testing
9437 rules in https://github.com/bazelbuild/rules_apple instead.
9438 - bazel query --output package now displays packages from external
9439 repository with the format "@reponame//package". Packages in the
9440 main repository continue to have the format "package".
9441 - ctx.expand_make_variables is deprecated.
9442 - Bazel posts links to the CAS to the BEP if remote caching /
9443 execution is enabled
9444 - `bazel info execution_root` returns the corrrect directory name
9445 for the execution root.
9446
Bazel Release System63222de2017-06-06 11:32:04 +02009447## Release 0.5.1 (2017-06-06)
9448
9449```
9450Baseline: f3ae88ee043846e7acdffd645137075a4e72c573
9451
9452Cherry picks:
9453 + c58ba098526b748f9c73e6229cafd74748205aa1:
9454 Release to GCS: put the final release in its own directory
9455 + 0acead4ea3631240659836ce6ecd6d7f67fd352b:
9456 Update protobuf to latest master at a64497c and apply
9457 @laszlocsomor's latest changes from
9458 https://github.com/google/protobuf/pull/2969 on top of it.
9459 + d0242ce4a87929f2528f4602d0fb09d1ccfcea94:
9460 Make symlinks consistent
9461 + d953ca8b87a46decbce385cebb446ae0dd390881:
9462 Clean VanillaJavaBuilder output directories
9463 + 755669fb5de1f4e762f27c19776cac9f410fcb94:
9464 Pass all the environment variable to Bazel during bootstrapping
9465 + 6f041661ca159903691fcb443d86dc7b6454253d:
9466 Do not mark the JDK7 installer -without-jdk-installer
9467 + 720561113bfa702acfc2ca24ce3cc3fd7ee9c115:
9468 Fix #2958: Installer should not overwrite bazelrc
9469 + 511c35b46cead500d4e76706e0a709e50995ceba:
9470 Bootstrap: move the fail function to the top
9471 + 8470be1122825aae8ad0903dd1e1e2a90cce47d2:
9472 Clean up javac and Error Prone targets
9473 + 4a404de2c6c38735167e17ab41be45ef6fc4713a:
9474 Update javac version to 9-dev-r4023-2
9475 + 36ce4b433e19498a78c34540d5a166d4e0006b22:
9476 Update javac version to 9-dev-r4023-2
9477 + 38949b8526bdb3e6db22f3846aac87162c28c33f:
9478 Migrate off versioned javac and Error Prone targets
9479 + 1a57d298f8aa6ea8136d93223902104f2479cd2a:
9480 Re-enabling passing -sourcepath via javacopts.
9481 + eb565f408e03125e92d42b00756e519795be6593:
9482 Make make sure that msys build actually builds msys version
9483 + 39f328cf392056618d1a3ead4835a138b189a06d:
9484 Fix typo. Also do not override host_cpu for msvc.
9485 + 624802893f4fe72118f00a78452605d41a2e1c6f:
9486 Select correct JDK for windows_msys
9487 + c4f271d1a68366b6fa5ff38ea7d951b6a22af044:
9488 Automated g4 rollback of commit
9489 3e5edafa2a04a71cd3596e929e83222da725f3f9.
9490 + 926180997a0f296a5a009326aead887279ce0a90:
9491 Remove process-tools.cc which I forgot to delete during the last
9492 rollback.
9493 + baca6e4cb023649920871b74810927d304729e59:
9494 Fix #2982: Bazel installer should not check for installed JDK if
9495 using a bundled JDK.
9496 + 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842:
9497 Disable msys path conversion on Windows.
9498 + cc21998c299b4d1f97df37b961552ff8168da17f:
9499 Rollforward #2 of: Basic open-source crosstool to support
9500 targeting apple platform types.
9501 + 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f:
9502 Escape % in strings that will appear in Crosstool
9503 + 3b08f774e7938928e3a240a47a0a7554cdc8d50b:
9504 Adding feature for linking C Run-Time library on Windows
9505 + 3566474202d1978acfdcb7e5ff73ee03ea6f3df9:
9506 Do not use sed -E in bootstrap/compile.sh
9507 + c3cf7d917afd02d71de3800cd46ad8d14f1ddf55:
9508 Reverts non-xcode-available darwin crosstool generation.
9509```
9510
9511Important changes:
9512
9513 - Fixes regression in 0.5.0 requiring Xcode to build C++ on OSX.
9514
Bazel Release Systema3e26832017-05-26 14:11:07 +02009515## Release 0.5.0 (2017-05-26)
9516
9517```
9518Baseline: f3ae88ee043846e7acdffd645137075a4e72c573
9519
9520Cherry picks:
9521 + c58ba098526b748f9c73e6229cafd74748205aa1:
9522 Release to GCS: put the final release in its own directory
9523 + 0acead4ea3631240659836ce6ecd6d7f67fd352b:
9524 Update protobuf to latest master at a64497c and apply
9525 @laszlocsomor's latest changes from
9526 https://github.com/google/protobuf/pull/2969 on top of it.
9527 + d0242ce4a87929f2528f4602d0fb09d1ccfcea94:
9528 Make symlinks consistent
9529 + d953ca8b87a46decbce385cebb446ae0dd390881:
9530 Clean VanillaJavaBuilder output directories
9531 + 755669fb5de1f4e762f27c19776cac9f410fcb94:
9532 Pass all the environment variable to Bazel during bootstrapping
9533 + 6f041661ca159903691fcb443d86dc7b6454253d:
9534 Do not mark the JDK7 installer -without-jdk-installer
9535 + 720561113bfa702acfc2ca24ce3cc3fd7ee9c115:
9536 Fix #2958: Installer should not overwrite bazelrc
9537 + 511c35b46cead500d4e76706e0a709e50995ceba:
9538 Bootstrap: move the fail function to the top
9539 + 8470be1122825aae8ad0903dd1e1e2a90cce47d2:
9540 Clean up javac and Error Prone targets
9541 + 4a404de2c6c38735167e17ab41be45ef6fc4713a:
9542 Update javac version to 9-dev-r4023-2
9543 + 36ce4b433e19498a78c34540d5a166d4e0006b22:
9544 Update javac version to 9-dev-r4023-2
9545 + 38949b8526bdb3e6db22f3846aac87162c28c33f:
9546 Migrate off versioned javac and Error Prone targets
9547 + 1a57d298f8aa6ea8136d93223902104f2479cd2a:
9548 Re-enabling passing -sourcepath via javacopts.
9549 + eb565f408e03125e92d42b00756e519795be6593:
9550 Make make sure that msys build actually builds msys version
9551 + 39f328cf392056618d1a3ead4835a138b189a06d:
9552 Fix typo. Also do not override host_cpu for msvc.
9553 + 624802893f4fe72118f00a78452605d41a2e1c6f:
9554 Select correct JDK for windows_msys
9555 + c4f271d1a68366b6fa5ff38ea7d951b6a22af044:
9556 Automated g4 rollback of commit
9557 3e5edafa2a04a71cd3596e929e83222da725f3f9.
9558 + 926180997a0f296a5a009326aead887279ce0a90:
9559 Remove process-tools.cc which I forgot to delete during the last
9560 rollback.
9561 + baca6e4cb023649920871b74810927d304729e59:
9562 Fix #2982: Bazel installer should not check for installed JDK if
9563 using a bundled JDK.
9564 + 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842:
9565 Disable msys path conversion on Windows.
9566 + cc21998c299b4d1f97df37b961552ff8168da17f:
9567 Rollforward #2 of: Basic open-source crosstool to support
9568 targeting apple platform types.
9569 + 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f:
9570 Escape % in strings that will appear in Crosstool
9571 + 3b08f774e7938928e3a240a47a0a7554cdc8d50b:
9572 Adding feature for linking C Run-Time library on Windows
9573```
9574
9575Incompatible changes:
9576
9577 - Bazel's Linux sandbox no longer mounts an empty tmpfs on /tmp,
9578 instead the existing /tmp is mounted read-write. If you prefer
9579 to have a tmpfs on /tmp for sandboxed actions for increased
9580 hermeticity, please use the flag --sandbox_tmpfs_path=/tmp.
9581 - Converting artifacts to strings and printing them now return
9582 "File" instead of "Artifact" to be consistent with the type name.
9583 - The return type of depset.to_list() is now a list rather than a
9584 frozen list. (Modifying the list has no effect on the depset.)
9585 - Bazel now prints logs in single lines to java.log
9586 - --use_dash, --dash_url and --dash_secret are removed.
9587 - Remote repositories must define any remote repositories they
9588 themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
9589 defined
9590 in @x's WORKSPACE file).
9591 - Remote repositories must define any remote repositories they
9592 themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
9593 defined
9594 in @x's WORKSPACE file).
9595 - objc_xcodeproj has been removed, use tulsi.bazel.build instead.
9596
9597New features:
9598
9599 - If grte_top is a label, it can now follow non-configurable
9600 redirects.
9601 - Optional coverage_files attribute to cc_toolchain
9602 - "query --output=build" now includes select()s
9603 - Raw LLVM profiles are now supported.
9604
9605Important changes:
9606
9607 - Automatically generate Proguard mapping when resource shrinking
9608 and Proguard are enabled.
9609 - New rules in Bazel: proto_library, java_lite_proto_library,
9610 java_proto_library and cc_proto_library
9611 - Activate the "dead_strip" feature if objc binary stripping is
9612 enabled.
9613 - More stable naming scheme for lambda classes in desugared android
9614 code
9615 - Convert --use_action_cache to a regular option
9616 - Per-architecture dSYM binaries are now propagated by
9617 apple_binary's AppleDebugOutputsProvider.
9618 - Avoid factory methods when desugaring stateless lambdas for
9619 Android
9620 - desugar calls to Objects.requireNonNull(Object o) with
9621 o.getClass() for android
9622 - Add an --copy_bridges_from_classpath argument to android
9623 desugaring tool
9624 - Change how desugar finds desugared classes to have it working on
9625 Windows
9626 - Evaluation of commands on TargetsBelowDirectory patterns
9627 (e.g. //foo/...) matching packages that fail to load now report
9628 more
9629 detailed error messages in keep_going mode.
9630 - Allow to have several inputs and outputs
9631 - Repository context's execute() function can print stdout/stderr
9632 while running. To enable, pass quiet=False.
9633 - Bazel can now be built with a bundled version of the OpenJDK.
9634 This makes it possible to use Bazel on systems without a JDK, or
9635 where
9636 the installed JDK is too old.
9637 - The --jobs flag now defaults to "auto", which causes Bazel to
9638 use a reasonable degree of parallelism based on the local
9639 machine's
9640 capacity.
9641 - Bazel benchmark (perf.bazel.build) supports Java and Cpp targets.
9642 - no factory methods generated for lambda expressions on android
9643 - The Linux sandbox no longer changes the user to 'nobody' by
9644 default, instead the current user is used as is. The old behavior
9645 can be
9646 restored via the --sandbox_fake_username flag.
9647 - /tmp and /dev/shm are now writable by default inside the
9648 Linux sandbox.
9649 - Bazel can now use the process-wrapper + symlink tree based
9650 sandbox implementation in FreeBSD.
9651 - turn on --experimental_incremental_dexing_error_on_missed_jars by
9652 default.
9653 - All android_binarys are now signed with both Apk Signature V1 and
9654 V2. See https://source.android.com/security/apksigning/v2.html
9655 for more details.
9656 - Windows MSVC wrappers: Not filtering warning messages anymore,
9657 use --copt=-w and --host_copt=-w to suppress them.
9658 - A downloader bug was fixed that prevented RFC 7233 Range
9659 connection resumes from working with certain HTTP servers
9660 - Introduces experimental android_device rule for configuring and
9661 launching Android emulators.
9662 - For boolean flags, setting them to false using --no_<flag_name>
9663 is deprecated. Use --no<flag_name> without the underscore, or
9664 --<flag_name>=false instead.
9665 - Add --experimental_android_compress_java_resources flag to store
9666 java
9667 resources as compressed inside the APK.
9668 - Removed --experimental_use_jack_for_dexing and libname.jack
9669 output of
9670 android_library.
9671 - blaze canonicalize-flags now takes a --show_warnings flag
9672 - Changing --invocation_policy will no longer force a server
9673 restart.
9674 - Bazel now supports Android NDK14.
9675 - android_binary multidex should now work without additional flags.
9676 - Use action_config in crosstool for static library archiving,
9677 remove ar_flag.
9678 - new option for bazel canonicalize-flags, --canonicalize_policy
9679 - Use action_config in crosstool for static library archiving,
9680 remove ar_flag.
9681 - android_library exports_manifest now defaults to True.
9682 - Fix select condition intersections.
9683 - Adds a --override_repository option that takes a repository
9684 name and path. This forces Bazel to use the directory at that path
9685 for the repository. Example usage:
9686 `--override_repository=foo=/home/user/gitroot/foo`.
9687 - fix idempotency issue with desugaring lambdas in interface
9688 initializers for android
9689 - --experimental_android_use_singlejar_for_multidex is now a no-op
9690 and will eventually be removed.
9691 - Every local_repository now requires a WORKSPACE file.
9692 - Remove jack and jill attributes of the android_sdk rule.
9693 - Add Skylark stubs needed to remove sysroot from CppConfiguration.
9694 - Desugar try-with-resources so that this language feature is
9695 available
9696 to deveces with API level under 19.
9697 - The flag --worker_max_retries was removed. The
9698 WorkerSpawnStrategy no longer retries execution of failed Spawns,
9699 the reason being that this just masks compiler bugs and isn't
9700 done for any other execution strategy either.
9701 - Bazel will no longer gracefully restart workers that crashed /
9702 quit, instead this triggers a build failure.
9703 - All java resources are now compressed in android_binary APKs by
9704 default.
9705 - All java resources are now compressed in android_binary APKs by
9706 default.
9707 - android_ndk_repository now creates a cc_library
9708 (@androidndk//:cpufeatures) for the cpufeatures library that is
9709 bundled in the Android NDK. See
9710 https://developer.android.com/ndk/guides/cpu-features.html for
9711 more details.
9712 - 'output_groups' and 'instrumented_files' cannot be specified in
9713 DefaultInfo.
9714 - You can increase the CPU reservation for tests by adding a
9715 "cpu:<n>" (e.g. "cpu:4" for four cores) tag to their rule in a
9716 BUILD file. This can be used if tests would otherwise overwhelm
9717 your system if there's too much parallelism.
9718 - Deprecate use_singlejar_for_proguard_libraryjars and force
9719 behavior to always on.
9720
Bazel Release System8d635fc2017-03-16 13:18:30 +01009721## Release 0.4.5 (2017-03-16)
9722
9723```
9724Baseline: 2e689c29d5fc8a747216563235e905b1b62d63b0
9725
9726Cherry picks:
9727 + a28b54033227d930672ec7f2714de52e5e0a67eb:
9728 Fix Cpp action caching
9729 + 6d1d424b4c0da724e20e14235de8012f05c470f8:
9730 Fix paths of binaries in .deb packages.
9731 + 0785cbb672357d950e0c045770c4567df9fbdc43:
9732 Update to guava 21.0 and Error Prone version 2.0.18-20160224
9733 + 30490512eb0e48a3774cc4e4ef78680e77dd4e47:
9734 Update to latest javac and Error Prone
9735 + 867d16eab3bfabae070567ecd878c291978ff338:
9736 Allow ' ', '(', ')' and '$' in labels
9737 + 7b295d34f3a4f42c13aafc1cc8afba3cb4aa2985:
9738 Pass through -sourcepath to the JavaBuilder
9739 + 14e4755ce554cdfc685fc9cc2bfb5b699a3b48f4:
9740 PathFragment comparisons are now platform-aware
9741 + ed7795234ca7ccd2567007f2c502f853cd947e50:
9742 Flag to import external repositories in python import path
9743 + 81ae08bbc13f5f4a04f18caae339ca77ae2699c1:
9744 Suppress error for non-exhaustive switches
9745 + e8d1177eef9a9798d2b971630b8cea59471eec33:
9746 Correctly returns null if an environment variables is missing
9747 + 869d52f145c077e3499b88df752cebc60af51d66:
9748 Fix NPE in Android{S,N}dkRepositoryFunction.
9749 + d72bc57b60b26245e64f5ccafe023a5ede81cc7f:
9750 Select the good guava jars for JDK7 build
9751 + 92ecbaeaf6fa11dff161254df38d743d48be8c61:
9752 Windows: Assist JNI builds with a target for jni_md.h.
9753 + 36958806f2cd38dc51e64cd7bcc557bd143bbdb6:
9754 Add java_common.create_provider to allow creating a
9755 java_common.provider
9756 + 8c00f398d7be863c4f502bde3f5d282b1e18f504:
9757 Improve handling of unknown NDK revisions in
9758 android_ndk_repository.
9759 + b6ea0d33d3ab72922c8fb3ec1ff0e437af09584d:
9760 Add the appropriate cxx_builtin_include_directory entries for
9761 clang to the Android NDK crosstool created by
9762 android_ndk_repository.
9763```
9764
9765Incompatible changes:
9766
9767 - Depsets (former sets) are converted to strings as "depset(...)"
9768 instead of
9769 "set(...)".
9770 - Using --symlink_prefix is now applied to the output
9771 symlink (e.g. bazel-out) and the exec root symlink (e.g.
9772 bazel-workspace).
9773 - Bazel now uses the test's PATH for commands specified as
9774 --run_under; this can affect users who explicitly set PATH to
9775 a more
9776 restrictive value than the default, which is to forward the
9777 local PATH
9778 - It's not allowed anymore to compare objects of different types
9779 (i.e. a string to an integer) and objects for which comparison
9780 rules are not
9781 defined (i.e. a dict to another dict) using order operators.
9782
9783New features:
9784
9785 - environ parameter to the repository_rule function let
9786 defines a list of environment variables for which a change of
9787 value
9788 will trigger a repository refetching.
9789
9790Important changes:
9791
9792 - android_ndk_repository now supports Android NDK R13.
9793 - Android resource shrinking is now available for android_binary
9794 rules. To enable, set the attribute 'shrink_resources = 1'. See
9795 https://bazel.build/versions/master/docs/be/android.html#android_b
9796 inary.shrink_resources.
9797 - resolve_command/action's input_manifest return/parameter is now
9798 list
9799 - For increased compatibility with environments where UTS
9800 namespaces are not available, the Linux sandbox no longer hides
9801 the hostname of the local machine by default. Use
9802 --sandbox_fake_hostname to re-enable this feature.
9803 - proto_library: alias libraries produce empty files for descriptor
9804 sets.
9805 - Adds pkg_rpm rule for generating RPM packages.
9806 - Allow CROSSTOOL files to have linker flags specific to static
9807 shared libraries.
9808 - Make it mandatory for Java test suites in bazel codebase, to
9809 contain at least one test.
9810 - Support for Java 8 lambdas, method references, type annotations
9811 and repeated annotations in Android builds with
9812 --experimental_desugar_for_android.
9813 - Removed .xcodeproj automatic output from objc rules. It can still
9814 be generated by requesting it explicitly on the command line.
9815 - Flips --explicit_jre_deps flag on by default.
9816 - Activate the "dbg", "fastbuild", and "opt" features in the objc
9817 CROSSTOOL.
9818 - Remove support for configuring JDKs with filegroups; use
9819 java_runtime and java_runtime_suite instead
9820 - android_ndk_repository api_level attribute is now optional. If not
9821 specified, the highest api level in the ndk/platforms directory
9822 is used.
9823
Bazel Release System6712cac2017-02-01 19:53:37 +01009824## Release 0.4.4 (2017-02-01)
9825
9826```
9827Baseline: 4bf8cc30a
9828
9829Cherry picks:
9830 + ef1c6fd33: msvc_tools.py.tpl: Change default runtime library to
9831 static
9832```
9833
9834Incompatible changes:
9835
9836 - Only targets with public visibility can be bound to something in
9837 //external: .
9838 - The deprecated -x startup option has been removed.
9839 - docker_build: change the repository names embedded by
9840 docker_build. You can revert to the old behavior by setting
9841 legacy_repository_naming=True.
9842 - The string methods strip(), lstrip(), and rstrip() now
9843 by default remove the same whitespace characters as Python 3
9844 does, and accept
9845 None as an argument.
9846 - Deprecated globals HOST_CFG and DATA_CFG are removed. Use strings
9847 "host" and "data" instead.
9848 - repository_ctx environment is now affected by --action_env flag
9849 (value from the
9850 client environment will be replaced by value given on the command
9851 line through --action_env).
9852 - All executable labels must also have a cfg parameter specified.
9853 - Removed the cmd_helper.template function.
9854 The function was equivalent to:
9855 def template(items, template):
9856 return [template.format(path = i.path, short_path =
9857 i.short_path)
9858 for i in items]
9859 - Tuples that end with a trailing comma must now be inside parens,
9860 e.g. (1,) instead of 1,
9861 - The traversal orders for depsets have been renamed. The old names
9862 are deprecated and will be removed in the future. New names:
9863 "stable" -> "default", "compile" -> "postorder", "link" ->
9864 "topological", "naive_link" -> "preorder".
9865
9866New features:
9867
9868 - Skylark: you can now multiply a list by an integer to get the
9869 concatenation of N copies of this list, e.g. [a,b] * 3 =
9870 [a,b,a,b,a,b]
9871 - Allow Android aidl tool to add a jar to the program's classpath,
9872 such as if needed to support generated sources.
9873 - Add transitive proguard_specs when android_sdk.aidl_lib is
9874 specified
9875 - Windows: "/dev/null" is now a supported path, e.g.
9876 --bazelrc=/dev/null now works
9877
9878Important changes:
9879
9880 - Bazel Android builds use the apksigner tool from the Android SDK
9881 build-tools. Bazel Android builds now require build-tools version
9882 24.0.3 or
9883 later.
9884 - Android SDK external bindings for support libraries, e.g.
9885 //external:android/appcompat_v4, are removed because the support
9886 library JARs that they referenced no longer ship with the Android
9887 SDK.
9888 - aar_import rule is now documented.
9889 - An IE bug was fixed in repository_ctx.download_and_extract
9890 - Update "-I" to "-isystem" in documentation to reflect current
9891 behavior.
9892 - android_sdk_repository build_tools_version is now optional. The
9893 highest installed build-tools will be used if none is specified.
9894 - New flag --sandbox_add_mount_pair to specify customized
9895 source:target path pairs to bind mount inside the sandbox.
9896 - expose proto_library descriptor set to skylark via
9897 <dep>.proto.descriptor_set
9898 - The `set` constructor is deprecated in favor of `depset`
9899 - Autodetect gold linker in cc_configure.bzl
9900 - Remove build flag --experimental_j2objc_annotation_processing. It
9901 is on by default now.
9902 - Set clang's -mwatchos-version-min correctly using the value of
9903 --watchos_minimum_os, not --watchos_sdk_version.
9904 - singlejar can now create jar files larger than 4GB.
9905 - android_sdk_repository and android_ndk_repository now read
9906 $ANDROID_HOME and $ANDROID_NDK_HOME if the path attribute is not
9907 set.
9908 - Removed broken api levels 3, 4 and 5 from Android NDK 12.
9909 - Default --android_dynamic_mode to off.
9910 - android_sdk_repository no longer requires api_level. If one is
9911 not specified, the highest android platform installed will be
9912 used. Furthermore, android_sdk's are created for all android
9913 platforms installed and can be specified with the --android_sdk
9914 flag.
9915 - To iterate over or test for membership in a set, prefer using the
9916 new to_list() method. E.g., "for x in myset.to_list():", or
9917 "print(x in myset.to_list())". Iteration/membership-test on the
9918 raw set itself is deprecated.
9919 - Remove support for --javawarn; use e.g. --javacopt=-Xlint:all
9920 instead
9921
Bazel Release Systemd3b23642016-12-22 13:30:47 +01009922## Release 0.4.3 (2016-12-22)
Bazel Release System80865ff2016-11-30 13:18:54 +01009923
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +01009924```
Bazel Release Systemd3b23642016-12-22 13:30:47 +01009925Baseline: c645a45
Bazel Release System80865ff2016-11-30 13:18:54 +01009926
9927Cherry picks:
Bazel Release Systemd3b23642016-12-22 13:30:47 +01009928 + af878d0: Add coverage support for java test. (series 4/4 of
9929 open-sourcing coverage command for java test)
9930 + 09b92a8: Rollback of commit
9931 67b4d5250edcefa7220e928e529b1f385e2dc464.
9932 + b11dd48: Fix bad bug with the parallel implementation of
9933 BinaryOperatorExpression. Turns out that
9934 ForkJoinTask#adapt(Callable) returns a ForkJoinTask
9935 whose Future#get on error throws a ExecutionException
9936 wrapping a RuntimeException wrapping the thrown checked
9937 exception from the callable. This is documented
9938 behavior [1] that I incorrectly didn't know about.
9939 + 9012bf1: Fix scripts/packages/convert_changelog to read the
9940 changelog correctly
9941 + 55c97bc: Release script: if master branch does not exist, fall
9942 back on origin/master
9943 + 4fb378c: Debian repository: override section and priority fields
9944 + acbcbc2: Fix release notes in emails
9945 + 4975760: Fix PathFragment to not use Java8-only static hashCode
9946 methods.
9947 + 05fd076: Disable sandboxing for XibCompile actions.
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +01009948```
Bazel Release System80865ff2016-11-30 13:18:54 +01009949
9950Incompatible changes:
9951
Bazel Release Systemd3b23642016-12-22 13:30:47 +01009952 - Skylark maven_jar and maven_aar settings attribute is now a label
9953 so it can be checked into your workspace.
9954 - --{no}experimental_use_rclass_generator is now a nop.
9955
9956New features:
9957
9958 - Coverage support (*experimental*) for pure Java target.
9959 Use `bazel coverage //my:target` to generate coverage information
9960 from a `java_test`.
Bazel Release System80865ff2016-11-30 13:18:54 +01009961
9962Important changes:
9963
Bazel Release Systemd3b23642016-12-22 13:30:47 +01009964 - Enable fallback URLs in Skylark http rules.
9965 - cc_proto_library generates C++ code from proto_library rules.
9966 - cc_library now supports the strip_prefix and strip_include_prefix
9967 attributes for control of include paths.
9968 - Skylark dicts internally don't rely on keys order anymore and
9969 accept any hashable values (i.e. structs with immutable values)
9970 as keys. Iteration order of dictionaries is no longer specified.
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +01009971
9972## Release 0.4.2 (2016-12-02)
9973
9974```
9975Baseline: 6331a94
9976
9977Cherry picks:
9978 + 7b835d9: Do not patch WORKSPACE in the release process
9979```
9980
9981Incompatible changes:
9982
9983 - Callback functions in Skylark no longer support the cfg
9984 parameter. This is a cleanup and only affects the signatures of
9985 callbacks, since the parameter hasn't been set since September
9986 2016.
9987
9988Important changes:
9989
9990 - Alias proto_library's produce a descriptor set that contains all
9991 srcs of its dependencies.
9992 - proto_library supports strict proto deps.
9993 - Top level @androidsdk support library targets have been replaced
9994 by @androidsdk//<group id>:<artifact id>-<version> for Android
9995 SDK Support and Google Play Services libraries.
9996
Bazel Release System15402a92016-11-30 10:12:30 +01009997## Release 0.4.1 (2016-11-21)
9998
9999```
10000Baseline: 9a796de
10001
10002Cherry picks:
10003 + 88bfe85: Description redacted. -- MOS_MIGRATED_REVID=139219934
10004 + b09ea94: Rollback of commit
10005 a3f5f576cd35798140ba3e81d03d919dd4ecb847.
10006```
10007
10008New features:
10009
10010 - android_library now has a "exported_plugins" attribute just like
10011 java_library
10012 - Use --strict_system_includes to apply hdrs_check=strict also to
10013 cc_library.includes, even if sandboxing is disabled.
10014 - Bazel on Windows: java_binary can now be the executable of
10015 Skylark rule actions (ctx.action's executable argument)
10016 - Packages are defined in BUILD.bazel as well as BUILD files.
10017
10018Important changes:
10019
10020 - getattr()'s 3-arg form no longer raises an error when the
10021 retrieved field is a built-in method.
10022 - --apk_signing_method default changed to v1. Android APKs are now
10023 signed with the new ApkSignerTool by default.
10024 - New rule: proto_lang_toolchain(), to support LANG_proto_library
10025 rules on multiple platforms.
10026 - Fix for Android clang++ std::stack segfault on 32bit x86. See
10027 https://code.google.com/p/android/issues/detail?id=220159
10028 - Default android_manifest_merger is now "android" which uses the
10029 official Android manifest merger.
10030 http://tools.android.com/tech-docs/new-build-system/user-guide/man
10031 ifest-merger
10032 - Do not propagate aspect to its own attributes when using '*'.
10033 - Comparing sets (`if set1 < set2:`) is not allowed anymore in
10034 Skylark because it didn't work correctly anyway.
10035 - When --experimental_extra_action_top_level_only, Bazel reports
10036 extra-actions for actions registered by Aspects injected by a
10037 top-level rule (approximately).
10038 - Blacklists for proto_lang_toolchain() no longer have to be
10039 proto_library's.
10040 - Extra actions now contain aspect-related information.
10041 - Fix slicing bug where "abc"[:-4:-1] would give wrong answer
10042
Bazel Release Systemd0761e62016-11-02 13:36:35 -040010043## Release 0.4.0 (2016-10-26)
10044
10045```
10046Baseline: 088bbc6
10047
10048Cherry picks:
10049 + b01160c: Stamp Windows release.
10050 + 2d6736e: Add --no-tty for gpg signing
10051 + 9b1dfb8: Remove .sig file before gpg signing
10052 + 81aede1: Reimplement whole archive on Windows
10053```
10054
10055Incompatible changes:
10056
10057 - Skylark: updating list/dicts while they are being looped over is not
10058 allowed. Use an explicit copy if needed ("for x in list(mylist):").
10059 - Bazel now uses the --cpu flag to look up Jvms; it falls back
10060 to "default" if it can't find a Jvm matching the CPU value.
10061 - --command_port=-1 to use AF_UNIX for client/server communications
10062 is not supported anymore.
10063 - Sandboxed actions can access the network by default, unless their
10064 target has a "block-network" tag.
10065
10066New features:
10067
10068 - Files now have an "extension" property in Skylark.
10069
10070Important changes:
10071
10072 - Added a new flag --sandbox_tmpfs_path, which asks the sandbox to
10073 mount an empty, writable directory at a specified path when
10074 running actions. (Supported on Linux only for now.)
10075 - Update protoc-3.0.0-mingw.exe to a working (statically linked)
10076 binary
10077 - apple_static_library rule to create multi-architecture static
10078 archive files from Objc/C++/Swift dependencies on apple platforms
10079 - JS: Add support for localization with closure managed rules.
10080 - Create a flag --android_dynamic_mode to turn off dynamic mode
10081 during the Android split transition.
10082 - Darwin sandboxing is default.
10083 - Remove flag --experimental_zip_tree_artifact from j2objc Java
10084 annotation processing support.
10085 - A few functions are added to BUILD files for consistency (hash,
10086 dir,
10087 hasattr, getattr) with .bzl files, although they are not very
10088 useful.
10089 - --watchfs is now a command option; the startup option of the same
10090 name is deprecated. I.e., use bazel build --watchfs, not
10091 blaze --watchfs
10092 build.
10093
Bazel Release System33579a42016-10-07 13:05:11 -040010094## Release 0.3.2 (2016-10-07)
10095
10096```
10097Baseline: 023a7bd
10098
10099Cherry picks:
10100 + bebbbe5: Fix dependency on libtool's helper script
10101 make_hashed_objlist.py.
10102 + 8a0d45f: Add the version information to the bazel.exe file
10103 + 2bc0939: Allow new_ rules to overwrited BUILD files in
10104 downloaded repos
10105 + c5545fd: Rollback of commit
10106 96d46280bc5a4803ba2242a4ad16939f85a3b212.
10107 + eb87208: Make cc_configure on Windows more robust
10108 + c30432c: Fix cc_configure on Windows
10109 + 95b16a8: sandbox: Replace the error-prone lazy cleanup of
10110 sandbox directories by a simple synchronous cleanup.
10111 + e898023: Fix #1849: Sandboxing on OS X should be turned off by
10112 default for 0.3.2.
10113 + ffdc05d: Add action_config and feature for linking on Windows
10114```
10115
10116Incompatible changes:
10117
10118 - If you maintain a rule that uses persistent workers, you'll have
10119 to specify execution_requirements={"supports-workers": 1} in the
10120 ctx.action that intends to run a tool with workers. The
10121 WorkerSpawnStrategy will alert you with a warning message if you
10122 forget to make this change and fallback to non-worker based
10123 execution.
10124 - It is now an error to include a precompiled library (.a, .lo, .so)
10125 in a cc_library which would generate a library with the same name
10126 (e.g., libfoo.so in cc_library foo) if that library also contains
10127 other linkable
10128 sources.
10129 - The main repository's execution root is under the main
10130 repository's workspace name, not the source directory's basename.
10131 This shouldn't
10132 have any effect on most builds, but it's possible it could break
10133 someone doing
10134 weird things with paths in actions.
10135 - Blaze doesn't support Unix domain sockets for communication
10136 between its client and server anymore. Therefore, the
10137 --command_port command line argument doesn't accept -1 as a valid
10138 value anymore.
10139 - Skylark: It is an error to shadow a global variable with a local
10140 variable after the global has already been accessed in the
10141 function.
10142 - bin_dir and genfiles_dir are now properties of ctx, not
10143 configuration. That is, to access the bin or genfiles directory
10144 from a
10145 Skylark rule, use ctx.bin_dir or ctx.genfiles_dir (not
10146 ctx.configuration.{bin,genfiles}_dir). At the moment, you can
10147 access
10148 {bin,genfiles}_dir from either, but the ctx.configuration version
10149 will
10150 stop working in a future release.
10151 - filegroup-based C++ toolchains are not supported anymore.
10152 --*_crosstool_top options must always point to a
10153 cc_toolchain_suite rule (or an alias of one).
10154 - repository_ctx.{download,download_and_extract,execute} API now use
10155 named parameters for optional parameters and no
10156 longer uses argument
10157 type to distinguished between arguments
10158 (executable attribute name
10159 must be specified when preceding optional
10160 arguments are missing).
10161
10162New features:
10163
10164 - print and fail are now available in BUILD files.
10165
10166Important changes:
10167
10168 - Added @bazel_tools//tools/build_defs/repo/git.bzl as a Skylark
10169 rule for Git repositories.
10170 - Added @bazel_tools//tools/build_defs/repo/maven_rules.bzl as a
10171 Skylark rule for Maven repositories.
10172 - Add global hash() function for strings (only)
10173 - Improve Android split transition handling.
10174 - Removes exports_manifest attribute from android_binary rule.
10175 - java_proto_library: control strict-deps through a rule-level and
10176 a package-level attribute.
10177 - Persistent workers are now used by default for Java compilation
10178 in Bazel, which should speed up your Java builds by ~4x. You can
10179 switch back to the old behavior via --strategy=Javac=standalone.
10180 Check out http://www.bazel.io/blog/2015/12/10/java-workers.html
10181 for more details.
10182 - objc_* rules can now depend on any target that returns an "objc"
10183 provider.
10184 - Adds support for NDK12 to `android_ndk_repository` rule in Bazel.
10185 - Test targets can disable the JUnit4 test security manager via a
10186 property.
10187 - Disable the Android split transition if --android_cpu and
10188 fat_apk_cpu are both empty.
10189 - New sandboxing implementation for Linux in which all actions run
10190 in a separate execroot that contains input files as symlinks back
10191 to the originals in the workspace. The running action now has
10192 read-write access to its execroot and /tmp only and can no longer
10193 write in arbitrary other places in the file system.
10194 - Add worker support to single jar.
10195 - Invoke source jar action as a worker.
10196 - Sandboxed builds allow network access for builds by default.
10197 Tests will still be run without networking, unless
10198 "requires-network" is specified as a tag.
10199 - Add path.realpath() method for Skylark repositories.
10200 - On Mac devices, detect locally installed versions of xcode to:
10201 1. Use a sensible default if xcode is required but
10202 --xcode_version is unspecified.
10203 2. Use sensible default iOS SDK version for the targeted version
10204 of xcode if ios_sdk_version is unspecified.
10205 - Emacs' [C-x `], a.k.a. next-error, works again in emacsen >= 25.1
10206 - swift_library can be used to build watchOS apps.
10207 - Exposes the is_device field on Apple platform objects and adds
10208 the apple_common.platform_type(name) method to retrieve a
10209 platform_type value that can be passed to methods like the Apple
10210 fragment's multi_arch_platform.
10211 - Move Skylark git_repository rules to git.bzl
10212 - Add support for aspects to attr.label() attributes
10213 - Global varaiables HOST_CFG and DATA_CFG are deprecated in favor
10214 of strings "host"
10215 and "data.
10216 Argument `cfg = "host"` or `cfg = "data"` is mandatory if
10217 `executable = True` is provided for a label.
10218 - The deprecation attribute of all rules now causes warnings
10219 to be printed when other targets depend on a target with that
10220 attribute set.
10221 - Change default of --[no]instrument_test_targets to false, change
10222 default --instrumentation_filter (which previously tried to
10223 exclude test targets by heuristic) to only exclude targets in
10224 javatests.
10225 - Remove deprecated absolute paths in blaze IDE artifacts
10226 - When using android_binary.manifest_merger="android" the merger
10227 produces a summary log next to the merged manifest artifact.
10228 - Allow different default mallocs per configuration.
10229
Bazel Release System70c772b2016-07-29 10:28:13 +020010230## Release 0.3.1 (2016-07-29)
10231
10232```
10233Baseline: 792a9d6
10234
10235Cherry picks:
10236 + 25e5995: Rollback of commit
10237 a2770334ea3f3111026eb3e1368586921468710c.
10238 + 2479405: Fix NPE with unset maven_jar sha1
10239 + 3cf2126: Rewrite the extra action info files if the data within
10240 them changes.
10241 + 5a9c6b4: JavaBuilder: Reintroduce the -extra_checks flag.
10242```
10243
10244Incompatible changes:
10245
10246 - Removed predefined Python variable "generic_cpu".
10247 - Skylark rules: if you set "outputs" or an attribute to a
10248 function, this function must now list its required attributes as
10249 parameters (instead of an attribute map).
10250 - The host_platform and target_platform entries are not written to
10251 the master log anymore.
10252 - Bazel requires Hazelcast 3.6 or higher now for remote execution
10253 support, because we upgraded our client library and the protocol
10254 it uses is incompatible with older versions.
10255
10256New features:
10257
10258 - LIPO context (--lipo_context) can now also be a cc_test (in
10259 addition to cc_binary)
10260
10261Important changes:
10262
10263 - If --android_crosstool_top is set, native code compiled for
10264 android will always use --android_compiler and not --compiler in
10265 choosing the crosstool toolchain, and will use --android_cpu if
10266 --fat_apk_cpu is not set.
10267 - Add --instrument_test_targets option.
10268 - apple_binary supports a new platform_type attribute, which, if
10269 set to "watchos", will build dependencies for Apple's watchOS2.
10270 - objc_binary now supports late-loaded dynamic frameworks.
10271 - Native Swift rules no longer pull in module maps unconditionally.
10272 Use --experimental_objc_enable_module_maps for that.
10273 - Merged manifests are guaranteed to have the application element
10274 as the last child of the manifest element as required by Android
10275 N.
10276 - The Android manifest merger is now available as an option for
10277 android_binary rules. The merger will honor tools annotations in
10278 AndroidManifest.xml and will perform placeholder substitutions
10279 using the values specified in android_binary.manifest_values. The
10280 merger may be selected by setting the manifest_merger attribute
10281 on android_binary.
10282 - The progress message would not clear packages that need to be
10283 loaded twice.
10284 - Remove warning for high value of --jobs.
10285 - Use the correct build configuration for shared native deps during
10286 Android split transitions.
10287 - When building ObjectiveC++, pass the flag -std=gnu++11.
10288 - use xcrun simctl instead of iossim to launch the app for "blaze
10289 run".
10290 - Glob arguments 'exclude' and 'exclude_directories' must be named
10291 - Bazel no longer regards an empty file as changed if its mtime has
10292 changed.
10293
Bazel Release Systemccadf8d2016-06-10 13:28:40 +020010294## Release 0.3.0 (2016-06-10)
10295
10296```
10297Baseline: a9301fa
10298
10299Cherry picks:
10300 + ff30a73: Turn --legacy_external_runfiles back on by default
10301 + aeee3b8: Fix delete[] warning on fsevents.cc
10302```
10303
10304Incompatible changes:
10305
10306 - The --cwarn command line option is not supported anymore. Use
10307 --copt instead.
10308
10309New features:
10310
10311 - On OSX, --watchfs now uses FsEvents to be notified of changes
10312 from the filesystem (previously, this flag had no effect on OS X).
10313 - add support for the '-=', '*=', '/=', and'%=' operators to
10314 skylark. Notably, we do not support '|=' because the semantics
10315 of skylark sets are sufficiently different from python sets.
10316
10317Important changes:
10318
10319 - Use singular form when appropriate in blaze's test result summary
10320 message.
10321 - Added supported for Android NDK revision 11
10322 - --objc_generate_debug_symbols is now deprecated.
10323 - swift_library now generates an Objective-C header for its @objc
10324 interfaces.
10325 - new_objc_provider can now set the USES_SWIFT flag.
10326 - objc_framework now supports dynamic frameworks.
10327 - Symlinks in zip files are now unzipped correctly by http_archive,
10328 download_and_extract, etc.
10329 - swift_library is now able to import framework rules such as
10330 objc_framework.
10331 - Adds "jre_deps" attribute to j2objc_library.
10332 - Release apple_binary rule, for creating multi-architecture
10333 ("fat") objc/cc binaries and libraries, targeting ios platforms.
10334 - Aspects documentation added.
10335 - The --ues_isystem_for_includes command line option is not
10336 supported anymore.
10337 - global function 'provider' is removed from .bzl files. Providers
10338 can only be accessed through fields in a 'target' object.
10339
Bazel Release System9fdd6012016-05-17 11:12:31 +020010340## Release 0.2.3 (2016-05-10)
10341
10342```
10343Baseline: 5a2dd7a
10344```
10345
10346Incompatible changes:
10347
10348 - All repositories are now directly under the x.runfiles directory
10349 in the runfiles tree (previously, external repositories were at
10350 x.runfiles/main-repo/external/other-repo. This simplifies
10351 handling remote repository runfiles considerably, but will break
10352 existing references to external repository runfiles.
10353 Furthermore, if a Bazel project does not provide a workspace name
10354 in the WORKSPACE file, Bazel will now default to using __main__
10355 as the workspace name (instead of "", as previously). The
10356 repository's runfiles will appear under x.runfiles/__main__/.
10357 - Bazel does not embed protocol buffer-related rules anymore.
10358 - It is now an error for a cc rule's includes attribute to point to
10359 the workspace root.
10360 - Bazel warns if a cc rule's includes attribute points out of
10361 third_party.
10362 - Removed cc_* attributes: abi / abi_deps. Use select() instead.
10363
10364New features:
10365
10366 - select({"//some:condition": None }) is now possible (this "unsets"
10367 the attribute).
10368
10369Important changes:
10370
10371 - java_import now allows its 'jars' attribute to be empty.
10372 - adds crunch_png attribute to android_binary
10373 - Replace --java_langtools, --javabuilder_top, --singlejar_top,
10374 --genclass_top, and --ijar_top with
10375 java_toolchain.{javac,javabuilder,singlejar,genclass,ijar}
10376 - External repository correctness fix: adding a new file/directory
10377 as a child of a new_local_repository is now noticed.
10378 - iOS apps are signed with get-task-allow=1 unless building with -c
10379 opt.
10380 - Generate debug symbols (-g) is enabled for all dbg builds of
10381 objc_ rules.
10382 - Bazel's workspace name is now io_bazel. If you are using Bazel's
10383 source as an external repository, then you may want to update the
10384 name you're referring to it as or you'll begin seeing warnings
10385 about name mismatches in your code.
10386 - Fixes integer overflow in J2ObjC sources to be Java-compatible.
10387 - A FlagPolicy specified via the --invocation_policy flag will now
10388 match the current command if any of its commands matches any of
10389 the commands the current command inherits from, as opposed to
10390 just the current command.
10391 - The key for the map to cc_toolchain_suite.toolchains is now a
10392 string of the form "cpu|compiler" (previously, it was just "cpu").
10393 - Fix interaction between LIPO builds and C++ header modules.
10394 - Ctrl-C will now interrupt a download, instead of waiting for it to
10395 finish.
10396 - Proxy settings can now be specified in http_proxy and https_proxy
10397 environment variables (not just HTTP_PROXY and HTTPS_PROXY).
10398 - Skylark targets can now read include directories from
10399 ObjcProvider.
10400 - Expose parameterized aspects to Skylark.
10401 - Support alwayslink cc_library dependencies in objc binaries.
10402 - Import cc_library dependencies in generated Xcode project.
10403
Bazel Release System1aedd1f12016-04-25 09:47:50 +020010404## Release 0.2.2b (2016-04-22)
Bazel Release System951cea22016-04-21 14:10:12 +020010405
10406```
10407Baseline: 759bbfe
Bazel Release System1aedd1f12016-04-25 09:47:50 +020010408
10409Cherry picks:
Bazel Release System951cea22016-04-21 14:10:12 +020010410 + 1250fda: Rollback of commit
10411 351475627b9e94e5afdf472cbf465f49c433a25e.
10412 + ba8700e: Correctly set up build variables for the correct pic
10413 mode for fake_binary rules.
10414 + 386f242: Automated [] rollback of commit
10415 525fa71b0d6f096e9bfb180f688a4418c4974eb4.
Bazel Release System1aedd1f12016-04-25 09:47:50 +020010416 + 97e5ab0: Fix cc_configure include path for Frameworks on OS X.
10417 + a20352e: cc_configure: always add -B/usr/bin to the list of gcc
10418 option
10419 + 0b26f44: cc_configure: Add piii to the list of supported
10420 cpu_value
10421 + 3e4e416: cc_configure: uses which on the CC environment variable
10422 + aa3dbd3: cc_configure.bzl: strip end of line when looking for
10423 the cpu
10424 + 810d60a: cc_configure: Add -B to compiler flag too
Bazel Release System951cea22016-04-21 14:10:12 +020010425```
10426
Bazel Release System1aedd1f12016-04-25 09:47:50 +020010427Patch release, only includes fixes to C++ auto-configuration.
Bazel Release System951cea22016-04-21 14:10:12 +020010428
Bazel Release System950c1ab2016-03-31 17:18:55 +020010429## Release 0.2.1 (2016-03-21)
10430
10431```
10432Baseline: 19b5675
10433```
10434
10435Incompatible changes:
10436
10437 - Skylark rules that are available from their own repository will
10438 now issue a warning when accessed through @bazel_tools.
10439 - Set --legacy_bazel_java_test to off by default. java_test will
10440 now have a slightly different behaviour, correctly emitting XML
10441 file but, as a downside, it needs correct declaration of the
10442 test suite (see https://github.com/bazelbuild/bazel/issues/1017).
10443 - Labels in .bzl files in remote repositories will be resolved
10444 relative to their repository (instead of the repository the
10445 Skylark rule is used in).
10446 - Renamed proto_java_library to java_proto_library. The former
10447 is now deprecated and will print out a warning when used.
10448 - android_sdk now compiles android_jack on the fly from
10449 android_jar, which means android_jar must be a jar and
10450 android_jack is now deprecated. The Jack tools (jack, jill,
10451 resource_extractor) must be specified.
10452 - Any project that depended on the objc_options rule will be
10453 broken. Can be fixed by adding attrs (infoplists,copts) directly
10454 to rules depending on the options.
10455 - .aidl files correctly require import statements for types
10456 defined in the same package and the same android_library.
10457
10458New features:
10459
10460 - Experimental Windows support is available.
10461 - Experimental support for writing remote repository rules in
10462 Skylark is available.
10463 - iOS ipa_post_processor attribute allows for user-defined IPA
10464 edits.
10465 - Adds a to_json method to Skylark structs, providing conversion to
10466 JSON format.
10467 - Native python rule can depend on skylark rule as long as skylark
10468 rule provides 'py' provider.
10469 - When using both --verbose_failures and --sandbox_debug, Bazel
10470 prints instructions how to spawn a debugging shell inside the
10471 sandbox.
10472 - add flag --sandbox_add_path, which takes a list of additional
10473 paths as argument and mount these paths to sandbox.
10474
10475Important changes:
10476
10477 - @androidsdk//:org_apache_http_legacy added for the legacy Apache
10478 classes for android sdk version 23 and above.
10479 - Genrules correctly work when used with bazel run.
10480 - When namespace-sandbox is run with the -D (debug) flag and
10481 inside a terminal, it spawns a shell inside the sandbox to aid in
10482 debugging when the sandboxed command fails.
10483 - Added --artifact to workspace generator for generating workspace
10484 and build file rules from artifact coodrinates.
10485 - Specifying --experimental_android_resource_shrinking on the
10486 command line will enable a resource shrinking pass on
10487 android_binary targets that already use Proguard.
10488 - J2ObjC updated to 1.0.1 release.
10489 - Added "root_symlinks" and "symlinks" parameters to Skylark
10490 runfiles() method.
10491 - You can no longer use objc_binary targets for the xctest_app
10492 attribute of an ios_test rule.
10493 - Enable overriding jsonnet binaries and stdlib for Jsonnet rules.
10494 - mount target of /etc/resolv.conf if it is a symlink.
10495 - Tests that failed to build because execution was halted no longer
10496 print their status.
10497 - Bazel warns if a cc rule's includes attribute contains up-level
10498 references that escape its package.
10499 - Add repository_ctx.download and repository_ctx.download_and_extract
10500 function.
10501
Bazel Release Systemf98290d2016-02-23 13:51:16 +010010502## Release 0.2.0 (2016-02-18)
10503
10504```
10505Baseline: 9e100ac
10506```
10507
10508Incompatible changes:
10509
10510 - ObjC compile actions for J2ObjC-translated code now only has
10511 access to headers from the java deps of the associated original
10512 java rule.
10513 These compile actions no longer takes the compiler options
10514 specified in "copts" attribute on objc_binary/ios_test rules.
10515 J2ObjC dead code removal (enabled through flag
10516 "--j2objc_dead_code_removal") now happens *after* ObjC
10517 compilation.
10518 - maven_jar no longer supports separate artifact_id, group_id, and
10519 verison fields. This information should be provided in the
10520 artifact field,
10521 instead.
10522
10523New features:
10524
10525 - Better support for toolchains that don't have a dynamic linker.
10526 - build_file_content attribute added to new_git_repository,
10527 new_http_archive, and new_local_repository.
10528 - Add support for .tar.bz2 archives to http_archive rules.
10529
10530Important changes:
10531
10532 - The --skyframe flag is no longer available for the build command.
10533 - The --artifacts flag was removed from the dump command.
10534 - The sha256 attribute is now optional (although recommended!) for
10535 remote repository rules.
10536 - Add instrumented file provider support to Skylark rules.
10537 - Add imports attribute to native Python rules.
10538 - Allow overriding -gsplit-dwarf from copts.
10539 - Improved sandbox performance on XFS filesystems.
10540
Bazel Release System00cf25d2016-02-09 18:36:51 +010010541## Release 0.1.5 (2016-02-05)
10542
10543```
10544Baseline: 3a95f35
10545 + 8378cd8: Rollback of commit
10546 a9b84575a32476a5faf991da22b44661d75c19b6.
10547```
10548
10549Incompatible changes:
10550
10551 - Set stamping to false by default (i.e., --nostamp)
10552 - Removed --objc_dump_syms_binary.
10553 - Removes --objc_gcov_binary flag.
10554 - Remove JAVAC "Make" variable
10555 - The startup flag --blaze_cpu is removed,
10556
10557New features:
10558
10559 - A new java test runner that support XML output and test filtering
10560 is supported. It can be used by specifying --nolegacy_bazel_java_test
10561 or by specifying the test_class attribute on a java_test.
10562 - Skylark aspects can now specify configuration fragment
10563 dependencies with fragments and host_fragments like rules can.
10564
10565Important changes:
10566
10567 - Support for downloading remote resources through proxies by
10568 setting HTTP_PROXY (or HTTPS_PROXY).
10569 - Timestamps within Android apks are removed to make apks
10570 deterministic.
10571 - Support aggregation over existing rules in Skylark extensions
10572 through native.rules and native.rule.
10573 - A tools/bazel script in the workspace will be executed
10574 as an opportunity to use a fixed version of Bazel (not
10575 implemented for the homebrew recipe yet).
10576 - --noimplicit_deps and --nohost_deps work correctly for Aspect
10577 attributes.
10578 - JDK-related targets are now available via @local_jdk (instead of
10579 @local-jdk).
10580 - j2objc tools can now be accessed via @bazel_j2objc, not
10581 @bazel-j2objc.
10582 - Repository rules must use names that are valid workspace names.
10583 - [rust] Update to Rust 1.6
10584 - Add support for .tar.xz archives to http_archive rules.
10585 - Make C++ modules compatible with tools using
10586 --compilation_prerequisites_only
10587 - [d] Update to DMD 2.070.0
10588
Bazel Release System446d9922016-01-21 10:59:31 +010010589## Release 0.1.4 (2016-01-15)
10590
10591```
10592Baseline: e933d5e
10593 + 3d796fe: Rollback of commit
10594 ac6ed79e1a3fa6b0ca91657b28e2a35f7e49758c.
10595 + 7a02e5d: Fix installer under OS X
10596 + 848740c: Fix bazel version for debian package
10597 + 7751d43: Add a method for getting the root of a rule workspace
10598 to the Label method
10599```
10600
10601Important changes:
10602
10603 - add loadfiles() query operator, to find skylark files loaded by
10604 targets.
10605 - Added ability to declare and use aspects in Skylark.
10606 - Skylark load statements may now reference .bzl files via build
10607 labels, in addition to paths. In particular, such labels can be
10608 used to reference Skylark files in external repositories; e.g.,
10609 load("@my_external_repo//some_pkg:some_file.bzl", ...).
10610 Path-based loads are now deprecated and may be disabled in the
10611 future. Caveats: Skylark files currently do not respect package
10612 visibility; i.e., all Skylark files are effectively public. Also,
10613 loads may not reference the special //external package.
10614 - Relative paths can now be used for 'path' with
10615 new_local_repository and local_repository.
10616
Bazel Release System1518253e2016-01-11 10:10:19 +010010617## Release 0.1.3 (2016-01-07)
10618
10619```
10620Baseline: 23ad8f6
10621 + de2183d: Only depend on the WORKSPACE file for external files
10622 that are under the external/ directory, i.e. were
10623 created by Bazel.
10624 + f8f855c: Rollback of commit
10625 12bad3af0eade9c4b79d76f9e1c950ad2e3214c2.
10626 + f627562: Stop parsing the WORKSPACE file when a parse error is
10627 detected
10628 + 763f139: Add -fno-canonical-system-headers to CROSSTOOL files so
10629 that gcc doesn't resolve symlinks in .d files, which
10630 would confuse Blaze.
10631 + b95995b: Use openjdk7 as dependency for debian package of jdk7
10632 flavor
10633```
10634
10635New features:
10636
10637 - Skylark macros are now enabled in WORKSPACE file.
10638 - .bazelrc allows workspace-relative imports as "import
10639 %workspace%/path/to/rcfile"
10640 - Evaluate the query expression in a file by passing
10641 --query_file=<file> to query
10642
10643Important changes:
10644
10645 - Remove obsolete --objc_per_proto_includes flag.
10646 - iOS apps and extensions now have launch_storyboard
10647 - Passing multiple JVM options via a single --host_jvm_args flag is
10648 now deprecated. Pass each JVM option behind its own
10649 --host_jvm_args flag.
10650 - Resources defined locally on an android_library rule will respect
10651 the neverlink attribute.
10652 - Update Rust to 1.4
10653 - Fix resource handling for exported android_library rules
10654 - Files in external repositories are now treated as mutable, which
10655 will make the correctness guarantees of using external
10656 repositories stronger (existent), but may cause performance
10657 penalties.
10658
Bazel Release System0d2e4092015-12-04 23:31:41 +010010659## Release 0.1.2 (2015-11-20)
10660
10661```
10662Baseline: ee0ade3
10663 + 1e66ccd: RELNOTES: Symlink dirents of directories containing a
10664 file named
10665 "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA
10666 _A_RECURSIVE_TARGET_PATTERN" will *not* be traversed
10667 for transitive target patterns. The motivation here is
10668 to allow directories that intentionally contain wonky
10669 symlinks (e.g. foo/bar -> foo) to opt out of being
10670 consumed by Blaze. For example, given
10671 + f5773fc: Set the ijar MAX_BUFFER_SIZE to 256 MB
10672```
10673
10674New features:
10675
10676 - java_library now supports the proguard_specs attribute for
10677 passing Proguard configuration up to Android (not Java) binaries.
10678 - http_file can specify "executable" to make the downloaded file
10679 runnable.
10680 - Debian and tar packaging is now supported
10681 (see tools/build_defs/pkg/README.md).
10682 - cpxx_builtin_include_directory specifications allow more
10683 flexibility.
10684 - accept %crosstool_top% in cxx_builtin_include_directory
10685 - android_binary now supports proguard_apply_mapping to re-use a
10686 previously generated proguard mapping.
10687
10688Important changes:
10689
10690 - remove webstatusserver (--use_webstatusserver).
10691 - Add support for objc textual headers, which will not be compiled
10692 when modules are enabled.
10693 - actoolzip, momczip and swiftstdlibtoolzip have all been made into
10694 bash scripts and have been renamed to actoolwrapper, momcwrapper
10695 and swiftstdlibtoolwrapper respectively. The old versions will be
10696 deleted in a later change.
10697 - [rust] Add rust_bench_test and rust_doc_test rules and improve
10698 usability of rust_test tule.
10699 - Java rules now support a resource_strip_prefix attribute that
10700 allows the removal of path prefixes from Java resources.
10701 - [docker_build] incremental loading is default now.
10702 Specify explicitly //package:target.tar (with the .tar extension)
10703 to obtain the full image.
10704 - --ios_signing_cert_name allows specifying a cert for iOS app
10705 signing
10706 - Go rules for Bazel.
10707 - [jsonnet] Update to Jsonnet 0.8.1.
10708 - [jsonnet] Add vars and code_vars attributes to jsonnet_to_json to
10709 allow passing external variables to Jsonnet via --var and
10710 --code_var.
10711 - Adds --override_workspace_root blaze flag to hand-set
10712 workspace_root and mainGroup in xcodeproj.
10713 - Allow dots in package names.
10714 - When used as a forwarding rule (i.e., has no sources),
10715 android_library
10716 will also forward any exported_plugins in its dependencies.
10717 - Add support for Windows-created zip files with non-posix
10718 permissions.
10719 - [jsonnet] Add jsonnet_to_json_test rule for testing Jsonnet code.
10720 - C++ compile actions run in a sandbox now on systems that support
10721 sandboxed execution.
10722 - The names of the clang compilers in the Android NDK crosstool no
10723 longer reference gcc.
10724 - 420 dpi is now a valid density for andoid_binary.densities.
10725 - Bazel does strict validation of include files now to ensure
10726 correct incremental builds. If you see compilation errors when
10727 building C++ code, please make sure that you explicitly declare
10728 all header files in the srcs or hdrs attribute of your cc_*
10729 targets and that your cc_* targets have correct "deps" on
10730 cc_library's that they use.
10731 - [jsonnet] Fix jsonnet_to_json rule to read code_vars from
10732 code_vars instead of vars.
10733 - Tests, genrules, and Skylark actions without the
10734 "requires-network" tag will no longer be able to access the
10735 network.
10736 - C++ libraries no longer need includes = ["."] (or similar copts)
10737 to include paths relative to a remote repository's root.
10738 - Support exports attribute for android_library
10739 - Symlink dirents of directories containing a file named
10740 "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA_A_RECURSI
10741 VE_TARGET_PATTERN" will *not* be traversed for transitive target
10742 patterns. The motivation here is to allow directories that
10743 intentionally contain wonky symlinks (e.g. foo/bar -> foo) to opt
10744 out of being consumed by Blaze.
10745
Bazel Release Systemfa35b182015-10-14 12:11:51 -040010746## Release 0.1.1 (2015-10-05)
10747
10748```
10749Baseline: 22616ae
10750 + 1ef338f: Rollback of "Propagates cc_library linkopts attribute
10751 to dependent objc_libraries.": breaks certain
10752 objc_binary build targets.
10753 + 5fb1073: Reintroduce an inconsistency check (albeit, in a weaker
10754 form) removed by a previous change that was trying to
10755 optimize away a filesystem call.
10756 + 6d00468b2eb976866cfb814d562e0d53a580a46f: Add IdlClass to the embedded default android tools
10757 repository and rearrange BuildJar's JarHelper so that
10758 it too can be embedded.
10759 + a5199039934a2e399a7201adc0d74e2f2d2b0ff3: Fixes Android integration tests by wiring up idlclass
10760 rules in integration environment.
10761```
10762
10763Incompatible changes:
10764
10765 - Bazel requires JDK 8 to run.
10766 - Attribute "copts" is removed from j2objc_library.
10767
10768New features:
10769
10770 - a cc_binary rule may list '.s' and '.asm' files in the srcs
10771 - Support for build with libsass.
10772 - labels in "linkopts" may match any label in either "deps" or
10773 "srcs" to be considered valid.
10774 - Maven servers that require username & password authentication are
10775 now supported (see maven_server documentation).
10776
10777Important changes:
10778
10779 - Support empty plist files
10780 - The <compatible-screens> section of the AndroidManifest.xml will
10781 not be overwritten if it already contains a <screen> tag for each
10782 of the densities specified on the android_binary rule.
10783 - Add Jsonnet rules to Bazel
10784 - Remove deprecated xcode_options flag.
10785 - Workspace names are now restricted to being in their base
10786 directory
10787 (that is, the names cannot contain up-level references or /./).
10788 - j2objc_library on Bazel now transpiles transitive proto_library
10789 dependencies. (Note that java_* rules in Bazel do not yet support
10790 protos; currently they ignore proto dependencies.)
10791 - new_http_archive can specify a root directory.
10792 - Adds support for dylibs on devices for Xcode 7.
10793 - [d] d_docs rules now depend on a d_binary, a d_library or
10794 d_source_library.
10795 - [docker] docker_build now set the permission to 0555 to files
10796 added to the layer, use `mode = "0644"` to use the legacy behavior.
10797 - android_binary now has a main_dex_proguard_specs attribute to
10798 specify which classes should be in the main dex.
10799 - [rust] Add rust_docs rule for generating rustdoc.
Bazel Release System79e40ac2015-09-08 23:38:00 +020010800## Release 0.1.0 (2015-09-08)
10801
10802```
10803Baseline: a0881e8
10804 + 87374e6: Make android_binary use a constant, hard-coded,
10805 checked-in debug key.
10806 + 2984f1c: Adds some safety checks in the Bazel installer
10807 + 4e21d90: Remove BUILD.glob and incorporate the necessary
10808 filegroups into the android_{ndk,sdk}_repository rules
10809 themselves.
10810 + 1ee813e: Fix Groovy rules to work with sandboxing
10811 + 8741978: Add initial D rules to Bazel.
10812 + 2c2e70d: Fix the installer and fixing the package shiped into
10813 binary version of Bazel.
10814```
10815
10816Initial release.
Bazel Release System6712cac2017-02-01 19:53:37 +010010817
Bazel Release System8d635fc2017-03-16 13:18:30 +010010818
Bazel Release Systema3e26832017-05-26 14:11:07 +020010819
Bazel Release System63222de2017-06-06 11:32:04 +020010820
Bazel Release System7b851222017-06-27 15:08:47 +020010821
Bazel Release System195a7a82017-07-27 20:27:32 +020010822
Bazel Release System5371d132017-08-25 11:24:06 +020010823
Bazel Release System471c0e12017-09-28 16:36:12 +020010824
Bazel Release Systemed0ebc02017-10-05 23:52:25 +020010825
Bazel Release System76b6d0a2017-10-18 14:34:11 +020010826
Bazel Release System0838aee2017-11-27 14:16:34 +010010827
Bazel Release System3d53cb02017-12-05 15:28:40 +010010828
Bazel Release System5bd27482018-02-01 09:43:33 +010010829
Bazel Release Systeme1148362018-02-15 10:02:05 +010010830
Bazel Release System09077a32018-02-23 11:09:18 -050010831
Bazel Release Systemc86d6a02018-03-06 19:32:18 +010010832
Bazel Release System546976c2018-04-11 17:34:19 +020010833
Bazel Release System1d9c6062018-04-30 10:45:38 +020010834
Bazel Release System24c68ff2018-05-23 10:59:57 +020010835
Bazel Release System3a592f62018-06-01 15:04:31 +020010836
Bazel Release System513bbf52018-06-08 14:15:20 +020010837
Bazel Release System5013a332018-06-26 14:07:47 +020010838
Bazel Release System1281a022018-07-16 16:13:53 +020010839
Bazel Release System1bd58832018-08-13 15:41:26 +020010840
Bazel Release Systemfdb09a22018-09-14 12:15:54 +020010841
Bazel Release System50921e62018-09-21 12:27:04 +020010842
Bazel Release System36177972018-10-15 10:29:10 +020010843
Bazel Release System92849b82018-10-31 15:41:11 +010010844
Bazel Release System684f1092018-11-12 10:26:58 -050010845
Bazel Release Systemcb3e2982018-11-19 11:19:38 -050010846
Bazel Release System85378562018-11-30 15:34:16 +010010847