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