blob: a23293daed3a9d3dab882ac4251e158c16dec760 [file] [log] [blame] [view]
Bazel Release System9ec8fb12021-08-13 14:57:53 +02001## Release 5.0.0-pre.20210802.5 (2021-08-13)
2
3```
4Baseline: 23f171e2208700dc2f2f65f5ccb32bacd7aec87d
5
6Cherry picks:
7
8 + 7b4f9826d2d38ac7d071a4ada7b8a40a7a78226d:
9 Automated rollback of commit
10 7649f610c45190735fd7de433b15679b21b2d91b.
11 + 14e4a78a4a6a8bd208adfd5360968750929bc3e6:
12 Automated rollback of commit
13 23f171e2208700dc2f2f65f5ccb32bacd7aec87d.
14 + 99a85e79a11cef98d0e08db21ab94833398381af:
15 Automated rollback of commit
16 92f7b58672baffe5a230f675d7197c2a10892284.
17```
18
19Incompatible changes:
20
21 - JavaToolchainInfo.jvm_opt returns Depset instead of a list.
22
23Important changes:
24
25 - When using MemoryProfiler with multiple GCs via the
26 --memory_profile_stable_heap_parameters flag, we do a more
27 precise calculation of heap used at the end of the build. This
28 will generally result in lower values.
29 - --bep_publish_used_heap_size_post_build is deprecated. Use
30 --memory_profile=/dev/null instead.
31
32This release contains contributions from many people at Google, as well as Andrew Katson, Christopher Peterson Sauer, Dan Bamikiya, Keith Smiley, Rai, Yannic Bonenberger.
33
Bazel Release Systemba8648f2021-08-03 14:46:54 +020034## Release 5.0.0-pre.20210728.1 (2021-08-03)
35
36```
37Baseline: d4dd2038039ecbc63e2d3037855c31145b335ad4
38```
39
40This release contains contributions from many people at Google, as well as Yannic Bonenberger, Yannic Bonenberger.
41
Bazel Release System16293d52021-07-29 13:40:11 +020042## Release 5.0.0-pre.20210722.2 (2021-07-29)
43
44```
45Baseline: 0d94a3471cd845a2c401be4b3c9059eaeb8dcda0
46
47Cherry picks:
48
49 + 0eef11411d09732266f79f46bfd91bbbf2db6c44:
50 Fix broken targets in nightly 2021.07.22-1
51```
52
53Important changes:
54
55 - Consider label_keyed_string_dict attributes when gathering
56 instrumented files for coverage.
57 - Remove flag
58 --experimental_forward_instrumented_files_info_by_default, now
59 that this behavior is the default.
60
61This release contains contributions from many people at Google, as well as Benjamin Peterson, Daniel Wagner-Hall, Yannic Bonenberger.
62
Bazel Release System6810a322021-07-27 17:54:50 +020063## Release 5.0.0-pre.20210720.2 (2021-07-27)
64
65```
66Baseline: a52b1320da06c85d5aaa1ece9eb46acabd09b33f
67
68Cherry picks:
69
70 + eb956e8b6a7d12fe2c75d67abfd8c950b4c9508e:
71 Fix NPE with `--watchfs` as startup option.
72```
73
74Incompatible changes:
75
76 - Enforce the `--profile` path to be absolute.
77 - Enforce the --memory_profile path to be absolute.
78
79Important changes:
80
81 - --run_validations defaults to true.
82
83This release contains contributions from many people at Google, as well as Joe Lencioni.
84
Bazel Release Systemf3be7b12021-07-16 14:23:53 +020085## Release 5.0.0-pre.20210708.4 (2021-07-16)
86
87```
88Baseline: ca1d20fdfa95dad533c64aba08ba9d7d98be41b7
89
90Cherry picks:
91
92 + 802901e697015ee6a56ac36cd0000c1079207d12:
93 Add flags parameter to attr.label for use in builtins only.
94 + aa768ada9ef6bcd8de878a5ca2dbd9932f0868fc:
95 Automated rollback of commit
96 ca1d20fdfa95dad533c64aba08ba9d7d98be41b7.
97 + 4bcf2e83c5cb4f459aae815b38f1edd823286a29:
98 Automated rollback of commit
99 ff38dbfc65b8ffe92833e67f12ce616739a3d213.
100 + 706483fd6398f00fd4faba73812de9bf15728086:
101 Resolve merge conflict
102 + 3821db8725b9ea3267cddfd0bbad55f50e96527e:
103 Fix merge conflict properly
104```
105
106Important changes:
107
108 - The used_heap_size_post_build field in BEP is populated when the
109 --memory_profile flag is set
110
111This release contains contributions from many people at Google, as well as Daniel Wagner-Hall, Grzegorz Lukasik, Keith Smiley, Kevin Hogeland, Yannic Bonenberger.
112
Bazel Release System1f1aec12021-07-02 16:12:06 +0200113## Release 5.0.0-pre.20210623.2 (2021-07-02)
114
115```
116Baseline: 8b453331163378071f1cfe0ae7c74d551c21b834
117
118Cherry picks:
119
120 + 223113c9202e8f338b183d1736d97327d28241ea:
121 Automated rollback of commit
122 ae2a6a2dc909e468a284913c410fde995cf51095.
123```
124
125Important changes:
126
127 - Adds --experimental_reuse_sandbox_directories flag to reuse
128 already-created non-worker sandboxes with cleanup.
129 - --experimental_force_gc_after_build is deprecated and will be
130 removed soon. Use --bep_publish_used_heap_size_post_build instead
131 - Forward coverage-instrumented files from non-tool dependencies by
132 default.
133
134This release contains contributions from many people at Google, as well as David Ostrovsky, Johannes Abt, Masoud Koleini, Pras Velagapudi.
135
Bazel Release System30f0ca72021-06-25 19:40:13 +0200136## Release 5.0.0-pre.20210615.3 (2021-06-25)
137
138```
139Baseline: e7bd0947ab552a26ec032d0f1a50ee15c8810f6c
140
141Cherry picks:
142
143 + 04bed291c9f56163ae4da3a358d71cf8399b47a4:
144 Disable shadowed_action part of action_aspect_test
145 + 367b19eb8821b4de738c6c994ba275c695f4726b:
146 Fix starlark action with shadowed_action inputs cache test
147 + 4acb9ae67a7135b2365b92e91601d4797adc2ad5:
148 Automated rollback of commit
149 03f6af623ae3de4a9b756b5235ebd31cc2faf762.
150```
151
152Incompatible changes:
153
154 - Native libraries in data attribute are not collected. See
155 https://github.com/bazelbuild/bazel/issues/13550 for details
156
157Important changes:
158
159 - Remove obsolete --incompatible_prohibit_aapt1
160 - The minimum Android build tools version for the Android rules is
161 now 30.0.0
162
163This release contains contributions from many people at Google, as well as Cameron Mulhern, Delwin9999, Keith Smiley.
164
Bazel Release System7ad949b2021-06-11 15:03:28 +0200165## Release 5.0.0-pre.20210604.6 (2021-06-11)
166
167```
168Baseline: d571c8976f279e4d485498d0875c85ae73aecc42
169
170Cherry picks:
171
172 + c367a7e027f351e8ffefabf919563abbb8c7d0e1:
173 Fix places where nodes were still being enqueued at
174 `Integer.MAX_VALUE` and add checks for overflow conditions.
175 + 260015df1524543d56b0dbff00958320cd58d166:
176 Automated rollback of commit
177 f1b37b5d610728634d92ef4ebd4d1435c0c8605d.
178```
179
180Important changes:
181
182 - Add `disable_annotation_processing` option to
183 `java_common.compile`, which disables any annotation processors
184 passed to `plugins` or in `exported_plugins` of `deps`
185
186This 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.
187
Bazel Release Systemf24ceb62021-06-09 20:59:14 +0200188## Release 5.0.0-pre.20210520.7 (2021-06-09)
189
190```
191Baseline: e2ae73fe16cbedf095b9e6d5687b06ecf765d794
192
193Cherry picks:
194
195 + 0fdb485421f9d134f11103a36c48182769fb40d3:
196 Automated rollback of commit
197 f2230d8494e70f02b1e4fb082fcf8550aa684a40.
198 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
199 Support rolling releases in Bazel release scripts.
200 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
201 Fix syntax error in Bazel release scripts
202 + 4ef9c566c861848fef7907cf07a6e7d9d15cee7a:
203 Fix location of -prerelease option
204 + a6dfd927c58c63275159858ac661a9b669594a0c:
205 Add --experimental_shadowed_action to graveyard options for all
206 commands.
207```
208
209Important changes:
210
211 - If all strategies of one branch (the local or remote execution
212 branch) of the `dynamic` strategy fail to even accept (via the
213 response they give from `canExec`) the action, `dynamic` will now
214 try to see if the other branch can accept it. (Trying to run it
215 and it failing will still cause a failure if it was the first
216 result, this is about strategies claiming they can't even try the
217 action)
218
219This release contains contributions from many people at Google, as well as Benedek Thaler.
220
Bazel Release System6af9fa62021-06-09 19:45:15 +0200221## Release 5.0.0-pre.20210516.1 (2021-06-09)
222
223```
224Baseline: 275c54c982468b97611dc764c68daed8d7c45004
225
226Cherry picks:
227
228 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
229 Support rolling releases in Bazel release scripts.
230 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
231 Fix syntax error in Bazel release scripts
232 + 4ef9c566c861848fef7907cf07a6e7d9d15cee7a:
233 Fix location of -prerelease option
234```
235
236This release contains contributions from many people at Google, as well as Keith Smiley, Niek Peeters.
237
Bazel Release System57d167b2021-06-01 12:52:54 +0200238## Release 5.0.0-pre.20210510.2.2 (2021-06-01)
239
240```
241Baseline: 8a42645ec500874b0440475763ab680d5efc1e6a
242
243Cherry picks:
244
245 + e3c78c4eeaf4e8db3c22aa71c6c1578cb48c8dcc:
246 Ensure that test status artifacts are reported as top-level
247 artifacts.
248 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
249 Support rolling releases in Bazel release scripts.
250 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
251 Fix syntax error in Bazel release scripts
252 + 4ef9c566c861848fef7907cf07a6e7d9d15cee7a:
253 Fix location of -prerelease option
254```
255
256This release contains contributions from many people at Google, as well as .
257
Bazel Release Systemf7049e52021-05-31 22:10:26 +0200258## Release 5.0.0-pre.20210510.2.1 (2021-05-31)
259
260```
261Baseline: 8a42645ec500874b0440475763ab680d5efc1e6a
262
263Cherry picks:
264
265 + e3c78c4eeaf4e8db3c22aa71c6c1578cb48c8dcc:
266 Ensure that test status artifacts are reported as top-level
267 artifacts.
268 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
269 Support rolling releases in Bazel release scripts.
270 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
271 Fix syntax error in Bazel release scripts
272```
273
274This release contains contributions from many people at Google, as well as .
275
Bazel Release Systeme7d34802021-05-31 20:35:38 +0200276## Release 5.0.0-pre.20210510.2 (2021-05-31)
277
278```
279Baseline: 8a42645ec500874b0440475763ab680d5efc1e6a
280
281Cherry picks:
282
283 + e3c78c4eeaf4e8db3c22aa71c6c1578cb48c8dcc:
284 Ensure that test status artifacts are reported as top-level
285 artifacts.
286 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
287 Support rolling releases in Bazel release scripts.
288```
289
290Incompatible changes:
291
292 - Removing java_common.javac_jar Starlark call.
293 - native.existing_rule now returns select values in a form that is
294 accepted by rule instantiation. This is a breaking API change
295 because there is some code that relies on the precise type
296 returned, including brittle workarounds for this bug specifically
297 and insufficiently flexible workarounds for other issues with the
298 intersection of select and native.existing_rule.
299 - flipped incompatible_use_toolchain_resolution_for_java_rules, see
300 #7849
301 - Query output=xml/proto/location for source files will now show
302 the location of line 1 of the source file (as the new default)
303 instead of its location in the BUILD file.
304 - Specifying a target pattern underneath a directory specified by
305 .bazelignore will now emit a warning, not an error.
306 - Query `--order_output=auto` will now sort lexicographically.
307 However, when `somepath` is used as a top level function (e.g.
308 `query 'somepath(a, b)'`), it will continue to output in
309 dependency order. If you do not want the lexicographical output
310 ordering, specify another `--order_output` value (`no`, `deps` or
311 `full`) based on what ordering you require.
312 - In the build event stream,
313 BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
314 Its value was always mostly meaningless.
315 BuildMetrics.TargetMetrics.targets_configured and
316 BuildMetrics.ActionSummary.actions_created now include configured
317 aspect data.
318 - //visibility:legacy_public has been removed.
319 - Flip and remove incompatible_dont_collect_so_artifacts
320 (https://github.com/bazelbuild/bazel/issues/13043).
321 - Remove flag --experimental_no_product_name_out_symlink: it is
322 always true.
323 - The Starlark method generate_dsym in objc fragment has
324 been deleted. Please use the equivalent apple_generate_dsym in
325 cpp
326 fragment instead.
327
328Important changes:
329
330 - Flag --incompatible_objc_compile_info_migration is removed. See
331 #10854.
332 - Flag --incompatible_objc_compile_info_migration is removed. See
333 #10854.
334 - Flag --incompatible_objc_compile_info_migration is removed. See
335 #10854.
336 - none
337 PAIR=cmita
338 - The --incompatible_load_python_rules_from_bzl flag is now a no-op.
339 - Filter all (instead of just C++) source files for coverage output
340 according to --instrumentation_filter and
341 --instrument_test_targets.
342 - The `--incompatible_disable_native_apple_binary_rule` flag has
343 been added which disables the native `apple_binary` rule. Users
344 who need to use `apple_binary` directly (if they cannot use one
345 of the more specific Apple rules) should load it from
346 https://github.com/bazelbuild/rules_apple.
347 - The Android rules' --use_singlejar_apkbuilder is now a no-op.
348 SingleJar will always be used to build APKs.
349 - dict.setdefault(key, ...) now fails if dict is frozen, even if it
350 already contains key. This is an incompatible API change.
351 - Flag --incompatible_objc_provider_remove_compile_info is removed.
352 See #11359.
353 - Starlark now permits def statements to be nested (closures).
354 - native.existing_rule now returns select values in a form that is
355 accepted by rule instantiation. This is a breaking API change,
356 though the fallout is expected to be small.
357 - Starlark now supports lambda (anonymous function) expressions.
358 - The "test" and "coverage" commands no longer return 3 when a
359 test action fails because of a system error. Instead, the exit
360 code
361 reflects the type of system error.
362 - The undocumented ctx.expand feature no longer exists.
363 - Make --legacy_dynamic_scheduler a no-op flag.
364 - Multiplex persistent workers can now use the JSON protocol.
365 - native.existing_rule now returns a mutable list, not a tuple, for
366 a list-valued attributes. This is an incompatible API change.
367 - Roll back change to have native.existing_rules use list instead
368 of tuple.
369 - BEP includes test suite expansions.
370 - config_setting now honors `visibility` attribute (and defaults to
371 `//visibility:public`)
372 - Change the MultiArchSplitTransitionProvider to be based on
373 platform type + CPU instead of fixed "ios_" + cpu.
374 - enforce config_setting visibility. See
375 https://github.com/bazelbuild/bazel/issues/12932 for details.
376 - add a flag to build v4 signature file
377 - Added _direct_source_jars output group to Java related targets.
378 END_PUBLIC
379 - pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
380 Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
381 - Allowing the lipo operations to be conditional in the
382 linkMultiArchBinary API for Apple binaries. Single architecture
383 slices are now returned through AppleBinaryOutput and the
384 Starlark API.
385 - Release restriction for "-" in the package name for Python
386 sources. Now `py_binary` and `py_test` targets can have main
387 source file with "-" in the path.
388 - Users consuming BEP may assume that a `named_set_of_files` event
389 will
390 appear before any event referencing that `named_set` by ID. This
391 allows consumers
392 to process the files for such events (eg. `TargetCompleted`)
393 immediately.
394 - BEP includes all files from successful actions in requested
395 output groups.
396 Previously, an output group's files were excluded if any file in
397 the output group
398 was not produced due to a failing action. Users can expect BEP
399 output to be larger
400 for failed builds.
401 - In BEP, TargetComplete.output_group has a new field `incomplete`
402 indicating that the file_sets field is missing one or more
403 declared artifacts
404 whose generating actions failed.
405 - The flag `--toolchain_resolution_debug` now takes a regex
406 argument, which is used to check which toolchain types should
407 have debug info printed. You may use `.*` as an argument to keep
408 the current behavior of debugging every toolchain type.
409 - Add runfiles.merge_all() for merging a sequence of runfiles
410 objects.
411 - runfiles.merge() and merge_all() now respect
412 --nested_set_depth_limit.
413 If you hit the depth limit because you were calling merge() in a
414 loop, use
415 merge_all() on a sequence of runfiles objects instead.
416 - Bazel will no longer create a bazel-out symlink if
417 --symlink_prefix is specified: the directory pointed to via the
418 bazel-out symlink is accessible via ${symlink_prefix}-out. If
419 this causes problems for you, set
420 --experimental_no_product_name_out_symlink=false in your builds
421 and file an issue.
422 - Updates worker protocol with cancellation fields, and adds
423 experimental_worker_cancellation flag to control cancellation.
424 - Simplify build failure output by always using `NNN arguments`.
425 - trim_test_configuration now defaults to on
426 - Mark genrule.srcs as a source attribute for coverage.
427 - When using --allow_analysis_failures (for example, via
428 bazel-skylib's
429 analysistest with `expect_failure = True`), analysis-time
430 failures in aspect
431 implementation functions will now be propagated and saved in
432 AnalysisFailureInfo, just like analysis-time failures in rules.
433 - cquery --noimplicit_deps now correctly filters out resolved
434 cc_toolchains
435 - Sign apks deterministically.
436 - Make gcov optional in cc_toolchain tools.
437 - If --experimental_prefer_mutual_xcode is passed, Bazel will
438 choose the local default (instead of the newest mutually
439 available version) if it's available both locally and remotely.
440 - Remove java_lite_proto_library.strict_deps attribute.
441 - Generate proguard configurations deterministically.
442 - Adds a new flag, `--incompatible_enable_cc_test_feature` which
443 switches from the use of build variables to the feature of the
444 same name.
445 - Dropped fragile xz support from built in pkg_tar. Users requiring
446 xz
447 compression should switch to bazlebuild/rules_pkg.
448
449This 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].
450
Bazel Release System2ac65812021-05-21 13:07:43 +0200451## Release 4.1.0 (2021-05-21)
452
453```
454Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
455
456Cherry picks:
457
458 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
459 Use getRunfilesPath for run_under executable path generation.
460 getRootRelativePath doesn't return a valid runfiles path for
461 external source files anymore after the recent external source
462 root change. Also, it won't work for external labels either once
463 the --nolegacy_external_runfiles becomes default. This fixes
464 issue #12545.
465 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
466 Fix NPE when coveragerunner is not set on the toolchain.
467 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
468 Fix the classic query package-loading cutoff optimization with
469 external workspaces.
470 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
471 Update turbine
472 + bef4bbbb47d47befe3711d06f358782ee12554f9:
473 Update turbine
474 + d113d7454127bba78aa618dac81e5d164920b662:
475 Update turbine
476 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
477 Support Scala3 .tasty files
478 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
479 Update to java_tools javac11 release 10.5 (#12647)
480 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
481 Fix common prefix for instrumentation filter
482 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
483 Fix builds for filegroup targets with incompatible dependencies
484 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
485 Revert "Remove
486 --incompatible_blacklisted_protos_requires_proto_info"
487 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
488 Transform roots along with paths during output deletion.
489 + e8835c1c221d76a2d5532d18083eaa04401619b3:
490 AttributeContainer.Large now handles more than 127 attributes.
491 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
492 Add an env attribute to all test and binary rule classes
493 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
494 Take no action to prefetch empty artifacts.
495 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
496 Fix a couple of bugs with Incompatible Target Skipping
497 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
498 Pass --host_action_env to host options hostActionEnvironment
499 attribute
500 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
501 Add --{no,}autodetect_server_javabase.
502 + c83366064621d5a265eba14d93a03deff58fe6d8:
503 Only treat "env" and "env_inherit" attrs specially for native
504 rules
505 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
506 Fix coverage support when using default_java_toolchain. (#12801)
507 + 4158a6f512e52516437e00f8d9609a91be7fc195:
508 Revert JacocoCoverage target to remote_java_tools_java_import
509 and add a new target for remore_java_tools_filegroup. (#12813)
510 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
511 Add windows_msvc back to conditions in bazel_tools.
512 + 6b33bdb1e22514304c0e35ce8e067f2175685245:
513 Release 4.0.0 (2021-01-21)
514 + 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
515 Fix error message from getPrerequisites to not print internal
516 details.
517 + 27e15ad11410eb1014f5247fd0eeb31a46733c07:
518 Clean up ConfiguredTargetValueAccessor and
519 ConfiguredTargetAccessor
520 + e87feb8ac9573cef993824f82370d0389570521d:
521 Move getConfigConditions into ConfiguredTarget.
522 + 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
523 Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
524 value.
525 + 079bb7d69931705bb2b092c9017090e224ef3043:
526 Clean up old dependencies that are unused since
527 https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
528 5ef5702880d5ac7c5c.
529 + e03cb63e059420847d6578d7cbfe93f05615c95e:
530 Update bazelbuild/platforms to a current release. - Roll forward
531 https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
532 7f925cf88e0cd5b76a with kythe fix.
533 + 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
534 Update docs and tests to use the @platforms//:incompatible
535 constraint
536 + c71697cf33b0fbbb42fc2910bac83960edc7e855:
537 Clarify test_suite behaviour in the Platforms docs
538 + dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
539 Enable toolchain resolution for filegroup targets.
540 + 24d086446f74606819dc53c3a436caa056ff05b7:
541 PlatformProviderUtils should ignore targets that don't have the
542 needed
543 + ba60c0b3f9bbd00975c984244839b155e84b4c5d:
544 ijar: fix manifest sections handling
545 + 58bb42ad7ca263a75c6eeef51482f805726663a5:
546 Revert "Switch to -fdebug-compilation-dir"
547 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
548 Update turbine
549 + bef4bbbb47d47befe3711d06f358782ee12554f9:
550 Update turbine
551 + d113d7454127bba78aa618dac81e5d164920b662:
552 Update turbine
553 + ad241fbebd90a9f0ad65ccd0658838f57030db68:
554 Allow cquery to filter out incompatible targets
555 + 1782f0ae751569607ef88930c822ac460a1f8bb3:
556 Patch grpc to fix cares selecting the wrong source when building
557 for darwin_arm64 cpu.
558 + 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
559 [1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
560 blobs
561 + 848a51747a460ab4c5185e4c61ab522a9981cbea:
562 [2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
563 blobs
564 + 9b30172547f2093acb56aedf159a77d5dceffda2:
565 [3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
566 blobs
567 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
568 Allow exec groups to inherit from the rule or other exec groups.
569 + d0676693310215407224c1b8e8aea9e3eddc183d:
570 Support execution constraints per exec group
571 + f1e0d346c8235c855e61afc2adb870e4b895e002:
572 Clean up RuleContext to use a Table instead of a Map of Maps.
573 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
574 Documentation for #13110
575 + 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
576 Prevent --repo_env from triggering unnecessary fetches
577 + 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
578 Prevent a crash when using --repo_env=VAR without a value
579 + 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
580 Report digest of failed uploads
581 + 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
582 Status error presentation with details
583 + 9a70805db543e2fb910e1c55ef3b3567362adf30:
584 Fix double shutdown of BuildEventArtifactUploader when BES+File
585 output enabled.
586 + 325eb956c92530bdfda54a36a186cae4245a4f7b:
587 Add rxjava3 to third_party
588 + ceaac966a7b977461b69ce9501df6a467f4a93b2:
589 remote: set executable bit of an input file based on its real
590 value
591 + 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
592 Remote: correctly implement equals and hashCode.
593 + 48648503729d53fdee1322fde2c8e6c05e99cff9:
594 Fixed an error that bazel binary is not executable when testing
595 with remote execution.
596 + bc54c648aa1f99509c7c36d5e6b570d066689209:
597 Remote: Use parameters instead of thread-local storage to
598 provide tracing metadata.
599 + 92955e617b5c41713a5163dc0437c2a024b31815:
600 Remote: Use parameters instead of thread-local storage to
601 provide tracing metadata. (Part 2)
602 + 75bd1ff8ab56d241916bde36291301fa026b2bab:
603 Remote: Use parameters instead of thread-local storage to
604 provide tracing metadata. (Part 3)
605 + 37ee252f3744abc4511f55b5089cc52abd3ba09d:
606 Remote: Use parameters instead of thread-local storage to
607 provide tracing metadata. (Part 4)
608 + 71e35b165f924e2649a078fcf6007645d58039af:
609 Remote: Use parameters instead of thread-local storage to
610 provide tracing metadata. (Part 5)
611 + 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
612 Write/QueryWriteStatus logging refinement/addition
613 + 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
614 Remote: gRPC load balancing. (Part 1)
615 + e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
616 Remote: gRPC load balancing. (Part 2)
617 + 6667ad7dd77f8d97952133052c17e7779c1430ec:
618 Remote: gRPC load balancing. (Part 3)
619 + 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
620 Remote: gRPC load balancing. (Part 4)
621 + 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
622 Implement getMessage for BulkTransferException
623 + a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
624 Remote: gRPC load balancing. (Part 5)
625 + 7a62c2d4e27e398f440910c81eacc384f38ca8be:
626 Remote: Add interoperability between Rx and ListenableFuture.
627 + 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
628 Update to latest remote-execution proto
629 + dad96301d12aa77eb67399e08265a5f30f5ffd6a:
630 Set Platform on Action not just Command
631 + 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
632 Remote: Add AsyncTaskCache which is used to deduplicate task
633 executions and cache the results.
634 + 9d0c7325ac810febe565a62fdd875ae0c240b274:
635 Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
636 + f54fe07209acc25340df8d2e02993b1add2deafa:
637 Add --experimental_repository_disable_download to allow users
638 disable download for external repos
639 + b243584a479eb4481a9bf4f69acc899610a3b630:
640 Report errors parsing rewriter config file
641 + 63bc1c7d0853dc187e4b96a490d733fb29f79664:
642 Downloader rewriter config has all_blocked_message
643 + 495ac923f398443be45c20ab29d183fe47e08911:
644 Allow UrlRewriter to change protocol, i.e. https->http, and
645 http->https
646 + 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
647 Allow overriding the hostname and instance name in bytestream://
648 URIs
649 + 0881c80d29acecdfbb58c49156f805e8c50db117:
650 Don't set requestId on non-multiplex requests.
651 + e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
652 When generating a symlink in _virtual_includes, add the original
653 header to the 'allowed to use' set too
654 + f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
655 Make SimpleLogHandler not swallow interrupts.
656 + f8606e5e76579442a1c6563e718ea54c673f1a04:
657 linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
658 + dac0d40d0eb903f5cb70341398d1a333c19adf3a:
659 Improve "Common Attributes" section
660 + a607d9dc70ac67f1aa2c32ca954177f9c77860be:
661 Never create more than one process per WorkerMultiplexer.
662 + 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
663 Move sending requests and reading responses for multiplex
664 workers into separate subthreads.
665 + 003cfcde3fd3901c1279ba1db3db3a14536248b4:
666 Allow use of JSON protocol in multiplex workers.
667 + 308bce36cba46095fe41866e703710035ddddada:
668 Actively kill off still-active workers when stopping work on
669 interrupt.
670 + 8959dff512fe4505af786bcf2ef981ec7082a913:
671 Add sanitizer support to Apple platforms
672 + 32f16e9360f3e1856db1775eb5014b930da2a303:
673 Fix a Google-internal broken link.
674 + c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
675 Add SHA-1 to subresource integrity format for download()
676 checksums
677 + 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
678 Remove fallback strategy support for workers, add flag for it in
679 sandbox.
680 + 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
681 Update to java_tools javac11 10.6 (#13245)
682 + 4928295b236ec8f590a7e9d863502bc2f50a77d9:
683 Allow .S files in C++ Starlark cc_common.compile.
684 + 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
685 Automatic code cleanup.
686 + b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
687 Change short output of worker type to have the same logic as the
688 worker creation for sandboxing vs. multiplex.
689 + e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
690 More properly destroy workers on interrupt.
691 + 7056711eb11b672133274eb29fc93b01dcf088d5:
692 Make WorkRequestHandler do a GC after some amount of CPU time
693 has been used on requests. For Bazel and Blaze, defaults to 10s
694 based on benchmarking.
695 + 596653d3cf76e7b208da343e1fde5fe20273a5ff:
696 Allow tree artifacts to be source or header inputs to
697 cc_common.compile()
698 + 055c93d11ab20cc4479539b24bbdfa5cab78a342:
699 Switch to path autocompletion after -- for bazel run commands.
700 + 807f2a1929e23b60b237c63fadb25af81de2e3c3:
701 Fix Incompatible Target Skipping for test args
702 + 9a5cd854e0613f91d52075973e2454b1e009e1ef:
703 Fix order of build request id and command id
704 + 706f5acd02363e48076dc97e37613fd968932d03:
705 Fix bazel crash when passing config_setting to
706 target_compatible_with
707 + 61da1d2bf10eabba4c75de959b0374f302d89d70:
708 Support multiple --bazelrc on command line
709 + 5593358a58b66f06c4e421bb48856de94c3fd625:
710 Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
711 to
712 + 662cf54de7a103db30e04ebae2d2b919437c4846:
713 Remote: Fix an issue that a failed action could lead to
714 RuntimeException caused by InterruptedException thrown when
715 acquiring gRPC connections.
716 https://github.com/bazelbuild/bazel/issues/13239
717 + a3a1763212f29932618b9b9b2f929976ae0e3b6e:
718 Pass more `--add-exports=` flags
719 + d2b942879471786e82f1c96eea8722bbe7919fc1:
720 Remote: Fixed a bug that remote cache is missed due to
721 executable bit is changed
722 + 616dc264f02907d7b7887285d22307dfe6d097b6:
723 Fix Bazel Coverage with C++ to work with Remote Execution
724 + 5f40d12e741aa30d506eaa15673fb2ae76d29468:
725 Fix external_path_test with newer Xcode versions.
726 + b416193075642017e13c774422b49cb07fb65c23:
727 Allow using embedded tools in sandboxed spawn runners.
728 + eb762d4e7431637e607146b1c191485795047ef9:
729 Fix racy write of temporary files while staging virtual inputs
730 for the sandbox.
731 + f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
732 Update platforms_test to not rely on filegroup not using
733 toolchain
734 + 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
735 Update SkyframeTests to not rely on filegroup not using toolchain
736 + 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
737 Update ConfigurableAttributesTest to not rely on filegroup not
738 using …
739 + 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
740 Make WorkerExecRoot not be a subclass of SandboxedSpawn.
741 + 31db460a45767de0bcd664a6efbe9d163b85b802:
742 Make WorkerExecRoot not be re-created on each createFileSystem()
743 call. Preparation for holding a map of existing links, but also
744 just nicer.
745 + a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
746 Start the file existence check traversal from the execroot base
747 instead of execroot so that external repo files at
748 "<execroot>/../<path>" are correctly handled when the sibling
749 repository layout is enabled.
750 + b048282c7893231d3a7191b251804973917b07a4:
751 Use readdir for cleanExisting in WorkerExecRoot.
752 + 270f00dd01fa06cf3e813da5a406be3446de7377:
753 Add native support for Apple Silicon
754 + 8e56b9423e8ad2f7323fb90b19b73858def81e39:
755 Explicitly state that embedding macOS OpenJDK is for x86_64
756 + 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
757 Remote: Fix a race that AsyncTaskCache#Execution could be reused
758 after disposed which results in
759 CancellationException("disposed") propagated to downstream.
760 + 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
761 Remove wrapped_clang params files after use
762 + 47edc57806056f3c8764241ed41b8acc72bd2ebf:
763 Silence swiftmodule timestamp warnings
764 + f6e1074b09ebefba185c0531e9cea26b9596c8a9:
765 Remote: Use shutdownNow() instead of shutdown() in
766 ChannelConnection#close() as a workaround to a gRPC bug.
767 + 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
768 And mnemonic and label to remote metadata
769 + 6d28486e8eca70f76d13922944cb567b8aa09380:
770 Change `set -x` in coverage to be set by var
771 + 9b9de653355864e9700889ee36a3a49a450a2607:
772 Bump minimal JDK install base maximum size from 290 to 295 MB.
773 + 9e7e592ca51eba1a3f120320c41c845312894d74:
774 Remote: Check the return value of ActionOwner.getLabel() since
775 it could be `null`.
776 + 14abe4fd7c3967686a3536939fdc3882e691bca2:
777 Allow `DiffAwareness` to share precomputed information about the
778 workspace and propagate it to the `WorkspaceStatusAction`.
779 + 082d98772690946ed29c157e60640c97a6e1195b:
780 Implement available() method for Windows subprocesses.
781 + c2bdd034014f66ce14529cc353cda18a32320f6c:
782 Move --repo_env to common options
783 + e09f2743738044095b9d784ea62df16b7f5750e6:
784 Revert "Documentation for #13110"
785 + a165baa250652fdc865ae0df39160be1f7f74c47:
786 Revert "Clean up RuleContext to use a Table instead of a Map of
787 Maps."
788 + 51fb9e13a864f4f704ae378ea632433bae7ddc31:
789 Revert "Support execution constraints per exec group"
790 + cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
791 Revert "Allow exec groups to inherit from the rule or other exec
792 groups."
793```
794
795Important changes:
796
797 - Multiplex persistent workers can now use the JSON protocol.
798
799This 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.
800
Bazel Release System506f3192021-01-21 08:25:01 +0100801## Release 4.0.0 (2021-01-21)
802
803```
804Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
805
806Cherry picks:
807
808 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
809 Use getRunfilesPath for run_under executable path generation.
810 getRootRelativePath doesn't return a valid runfiles path for
811 external source files anymore after the recent external source
812 root change. Also, it won't work for external labels either once
813 the --nolegacy_external_runfiles becomes default. This fixes
814 issue #12545.
815 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
816 Fix NPE when coveragerunner is not set on the toolchain.
817 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
818 Fix the classic query package-loading cutoff optimization with
819 external workspaces.
820 + d113d7454127bba78aa618dac81e5d164920b662:
821 Update turbine
822 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
823 Support Scala3 .tasty files
824 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
825 Update to java_tools javac11 release 10.5 (#12647)
826 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
827 Fix common prefix for instrumentation filter
828 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
829 Fix builds for filegroup targets with incompatible dependencies
830 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
831 Revert "Remove
832 --incompatible_blacklisted_protos_requires_proto_info"
833 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
834 Transform roots along with paths during output deletion.
835 + e8835c1c221d76a2d5532d18083eaa04401619b3:
836 AttributeContainer.Large now handles more than 127 attributes.
837 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
838 Add an env attribute to all test and binary rule classes
839 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
840 Take no action to prefetch empty artifacts.
841 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
842 Fix a couple of bugs with Incompatible Target Skipping
843 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
844 Pass --host_action_env to host options hostActionEnvironment
845 attribute
846 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
847 Add --{no,}autodetect_server_javabase.
848 + c83366064621d5a265eba14d93a03deff58fe6d8:
849 Only treat "env" and "env_inherit" attrs specially for native
850 rules
851 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
852 Fix coverage support when using default_java_toolchain. (#12801)
853 + 4158a6f512e52516437e00f8d9609a91be7fc195:
854 Revert JacocoCoverage target to remote_java_tools_java_import
855 and add a new target for remore_java_tools_filegroup. (#12813)
856 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
857 Add windows_msvc back to conditions in bazel_tools.
858```
859
860New features:
861
862 - Starlark-defined flags can now be shorthanded using --flag_alias.
863
864Important changes:
865
866 - Add --starlark:file option. This adds a capability to the
867 (cquery)[https://docs.bazel.build/versions/master/cquery.html]
868 feature in `--output=starlark` mode so that the expression to
869 format output may
870 be specified in a file.
871 - Error messages emitted when an action fails are reworked to be
872 more informative about the failing action. Some tooling may have
873 to be updated as a result.
874 - Querying with output=location now allows the relative_locations
875 flag to properly display relative locations instead of the full
876 path. Fixes https://github.com/bazelbuild/bazel/issues/3497.
877 - --flag_alias can now be used without
878 --experimental_enable_flag_alias
879 - Remove no-op `--deep_execroot` flag
880 - The BEP uses `AbortReason.OUT_OF_MEMORY` for abort events when
881 the build tool is crashing due to OOM.
882 - Added flag `incompatible_display_source_file_location` for `blaze
883 query location=output` to print the location of line 1 of the
884 actual source files instead of the source file targets. Provides
885 a solution to https://github.com/bazelbuild/bazel/issues/8900.
886 - The Starlark json module is now available.
887 Use json.encode(x) to encode a Starlark value as JSON.
888 struct.to_json(x) is deprecated and will be disabled by
889 the --incompatible_struct_has_no_methods flag.
890 - The flag `--incompatible_objc_compile_info_migration` is enabled
891 by default. See #10854.
892 - The flag `--incompatible_objc_provider_remove_compile_info` is
893 enabled by default. See #11359.
894 - Add `relative_ast_path` feature for darwin builds to relativize
895 swiftmodule paths for debugging
896 - Use proto.encode_text(x) to encode a Starlark value as textproto.
897 struct.to_proto() is deprecated and will be disabled by
898 the --incompatible_struct_has_no_methods flag.
899 Both functions now reject list/dict fields that contain list/dict
900 elements.
901 - Add --starlark:file option. This adds a capability to the
902 (cquery)[https://docs.bazel.build/versions/master/cquery.html]
903 feature in `--output=starlark` mode so that the expression to
904 format output may be specified in a file.
905 See [Configured Query Starlark
906 Output](//docs.google.com/document/d/1kL6Tdmp6uLBa9lq_DbUSjIC87glO
907 zKIyPoBeF95Rs4c/edit)
908 - Flipped --incompatble_proto_output_v2 for aquery.
909 - The --incompatible_load_java_rules_from_bzl flag is now a no-op.
910 - The --incompatible_load_proto_rules_from_bzl flag is now a no-op.
911 - Flipped --incompatible_force_strict_header_check_from_starlark
912 - --incompatible_string_replace_count is flipped and removed
913 (#11244)
914 - Bazel skips incompatible targets based on target platform
915 and `target_compatible_with` contents. See
916 https://docs.bazel.build/versions/master/platforms.html for more
917 details.
918 - Bazel returns exit code 36 (rather than 1) if it fails to start a
919 subprocess in a local sandbox due to environmental issues, for
920 example, if the argument list is too long.
921 - //tools/build_defs/pkg:pkg_rpm is no longer built in to Bazel.
922 See https://github.com/bazelbuild/bazel/issues/11218 for
923 instructions
924 on how to migrate to the replacement.
925 - Javac now supports multiplex workers.
926 - The `--default_ios_provisioning_profile` flag has been removed
927 (it was a no-op).
928 - Add support for using AndroidX dependencies in
929 data-binding-enabled targets.
930 - Fix data-binding generation for android_local_test.
931 - Enable debug_prefix_map_pwd_is_dot feature by default on macOS,
932 this passes `-fdebug-prefix-map=$PWD=.` for every compile to
933 remove absolute paths from debug info.
934 - --incompatible_run_shell_command_string is enabled by default
935 (#5903)
936 - py_binary now tolerates package paths that contain hyphens ('-').
937 Note that such paths might not be importable from within Python
938 code.
939 - C++ Starlark API requires linker_inputs wrapping library_to_link.
940 #10860
941 - Toolchain rule is extended with target_settings attribute.
942 - --incompatible_restrict_string_escapes=true is now the default.
943 Unnecessary backslashes such as "\." in string literals are now
944 an error, instead of being silently treated as "\\.".
945 To fix the error while preserving behavior, double the backlash.
946 However, the error is often a sign that the original code was
947 wrong.
948 - Propagate instrumented files for transitive sources of
949 `android_library` and `android_binary`
950 - --local_resources and --incompatible_remove_local_resources have
951 been removed. If you've been setting --local resources or
952 --incompatible_remove_local_resources=false, you must migrate to
953 using --local_ram_resources and --local_cpu_resources instead.
954 - Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
955 - --incompatible_avoid_conflict_dlls=true is now the default.
956 - Dynamic execution now uses the new scheduler by default.
957 - Dynamic execution now uses the new scheduler by default.
958 - The new dynamic scheduler is now the default.
959
960This 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.
961
Bazel Release System58c80412020-12-17 11:04:01 -0500962## Release 3.7.2 (2020-12-17)
963
964```
965Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
966
967Cherry picks:
968
969 + 0d14ec84a06c4da628a7f6d9d1c5f9314392ab15:
970 Release 3.7.0 (2020-10-20)
971 + d563446a77b906807cea86f5c2abafa5900d901a:
972 Add `-XDcompilePolicy=simple` to default javacopts
973 + 6336264e4b0d8cc422ec73e1b923bf8014ace778:
974 Update rules_cc reference to head of rules_cc as of 2020-11-11.
975 + b3f934680554515aa312b5dd4453df5cd38f0aea:
976 Bump rules_cc to support llvm 11.0.0 clang-cl compiler on Windows
977 + e055b433efdccb28b9c21082e72d8e79d9b34e0f:
978 Remove accidentally re-added
979 tools/jdk/java_toolchain_default.bzl.
980 + 02838a1b2aa2f6d03980536ab2ac6840c3c98e84:
981 Avoid the spawn cache if executing dynamically.
982 + d0efd7b9e5109ff5ac6d13c91f58c3fc4dc3afd8:
983 Release 3.7.1 (2020-11-24)
984 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
985 Use getRunfilesPath for run_under executable path generation.
986 getRootRelativePath doesn't return a valid runfiles path for
987 external source files anymore after the recent external source
988 root change. Also, it won't work for external labels either once
989 the --nolegacy_external_runfiles becomes default. This fixes
990 issue #12545.
991```
992
993Important changes:
994
995 - Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
996
997This release contains contributions from many people at Google, as well as William A Rowe Jr.
998
Bazel Release Systemd0efd7b2020-11-24 12:34:38 -0500999## Release 3.7.1 (2020-11-24)
1000
1001```
1002Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
1003
1004Cherry picks:
1005
1006 + 0d14ec84a06c4da628a7f6d9d1c5f9314392ab15:
1007 Release 3.7.0 (2020-10-20)
1008 + d563446a77b906807cea86f5c2abafa5900d901a:
1009 Add `-XDcompilePolicy=simple` to default javacopts
1010 + 6336264e4b0d8cc422ec73e1b923bf8014ace778:
1011 Update rules_cc reference to head of rules_cc as of 2020-11-11.
1012 + b3f934680554515aa312b5dd4453df5cd38f0aea:
1013 Bump rules_cc to support llvm 11.0.0 clang-cl compiler on Windows
1014 + e055b433efdccb28b9c21082e72d8e79d9b34e0f:
1015 Remove accidentally re-added
1016 tools/jdk/java_toolchain_default.bzl.
1017 + 02838a1b2aa2f6d03980536ab2ac6840c3c98e84:
1018 Avoid the spawn cache if executing dynamically.
1019```
1020
1021Important changes:
1022
1023 - Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
1024
1025This release contains contributions from many people at Google, as well as William A Rowe Jr.
1026
Bazel Release System8cffdf12020-10-20 09:22:27 -04001027## Release 3.7.0 (2020-10-20)
1028
1029```
1030Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
1031```
1032
1033Incompatible changes:
1034
1035 - The syntax //foo/BUILD can no longer be used on the command line
1036 to refer to the //foo:BUILD target. Use //foo:BUILD (preferred)
1037 or foo/BUILD instead. This does not affect BUILD/bzl files, where
1038 that syntax already didn't work.
1039 - This removes `--objc_header_scanner_tool`. The flag was primarily
1040 used internally, and to our knowledge, a compatible tool was
1041 never released. Therefore this flag is believed to be unused.
1042
1043New features:
1044
1045 - select() directly supports constraint_value (no need for an
1046 intermediate config_setting).
1047
1048Important changes:
1049
1050 - Non-android targets can again be built when
1051 android_sdk_repository is present but invalid.
1052 - Add a build variable for -install_name / -soname.
1053 - Add a build variable for -install_name / -soname.
1054 - Include "resources" attr in dependency attributes for java_*
1055 coverage configuration.
1056 - --trim_test_configuration should work for almost all cases when a
1057 non-test target depends on a test.
1058 - Javac now supports multiplex workers.
1059 - Javac now supports multiplex workers.
1060 - Blaze now allows symbolic links that point to their own ancestor
1061 unless they are traversed recursively by e.g. a //... recursive
1062 target pattern or a recursive glob.
1063 - Blaze now allows symbolic links that point to their own ancestor
1064 unless they are traversed recursively by e.g. a //... recursive
1065 target pattern or a recursive glob.
1066 - Blaze now allows symbolic links that point to their own ancestor
1067 unless they are traversed recursively by e.g. a //... recursive
1068 target pattern or a recursive glob.
1069 - Generated Go protobufs no longer depend on //net/proto2/go:proto
1070
1071This 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.
1072
Bazel Release System76152be2020-10-06 15:07:12 +02001073## Release 3.6.0 (2020-10-06)
Bazel Release System72817e32020-10-01 00:30:50 -04001074
1075```
Bazel Release System76152be2020-10-06 15:07:12 +02001076Baseline: aa0d97c0bfc4c09ec6f45303aa80052ba28afbd9
Bazel Release System72817e32020-10-01 00:30:50 -04001077
1078Cherry picks:
1079
Bazel Release System76152be2020-10-06 15:07:12 +02001080 + 32c88da98f301333dc447b75564459165368d418:
1081 Patch RuleContext for android_binary.deps to restore legacy
1082 behavior.
1083 + db9fc88fed387f09067a9250a731f8bf9ad74b05:
1084 android_test also needs the legacy behavior in
1085 RuleContext.getPrerequisites.
1086 + 144d5149a0c50e464dd1be0769fed2ce33ab26a4:
1087 Update android_sdk_repository to create a valid, but useless,
1088 repository
1089 + bb11f9235da52eb3b3e462ce0286f1a89188cb89:
Bazel Release System72817e32020-10-01 00:30:50 -04001090 Patch upb to fix build error with gcc 10
Bazel Release System76152be2020-10-06 15:07:12 +02001091 + 9f06be482aea3fcadeaf8fca6e48b32f224eba2e:
Bazel Release System72817e32020-10-01 00:30:50 -04001092 Patch upb to fix build error with gcc 10 (third_party)
Bazel Release System76152be2020-10-06 15:07:12 +02001093 + b67b75e3a62f5433d812993f3702f431b6967e86:
1094 Fix issue where libtool_check_unique isn't found for sandbox
1095 builds
Bazel Release System72817e32020-10-01 00:30:50 -04001096```
1097
Bazel Release System76152be2020-10-06 15:07:12 +02001098Incompatible changes:
1099
1100 - `--experimental_ui_limit_console_output` is removed. Users of
1101 `--experimental_ui_limit_console_output=1` for silencing terminal
1102 output should use `--ui_event_filters=` instead.
1103 - --proto:instantiation_stack must be enabled in addition to
1104 --record_rule_instantiation_callstack to see call stack in proto
1105 output from blaze query.
1106
Bazel Release System72817e32020-10-01 00:30:50 -04001107New features:
1108
1109 - cc_common.compile support for include_prefix/strip_include_prefix
Bazel Release System76152be2020-10-06 15:07:12 +02001110 - Multiplexed persistent workers: Use
1111 --experimental_worker_max_multiplex_instances to configure the
1112 number of WorkRequests that are sent concurrently to one worker
1113 process. The --worker_max_instances flag will no longer be used
1114 to determine max instances for multiplex workers, since the two
1115 have different resource requirements. Multiplex workers will by
1116 default have a max instances of 8.
Bazel Release System72817e32020-10-01 00:30:50 -04001117
1118Important changes:
1119
Bazel Release System76152be2020-10-06 15:07:12 +02001120 - The prelude file (//tools/build_rules:prelude_bazel) is now
1121 processed as a Starlark module, rather than being sourced into
1122 the BUILD file textually. This may cause slight breakages
1123 depending on the content of the prelude file. (Use of the prelude
1124 file is discouraged as it will be removed in the long term.)
1125 - Removed --experimental_ignore_deprecated_instrumentation_spec and
1126 cleaned up the old deprecated behavior.
1127 - Added CODEBASE.md, a description of the Bazel codebase.
Bazel Release System72817e32020-10-01 00:30:50 -04001128 - Removed the flag --experimental_transparent_compression.
1129 - Removed the flag --experimental_action_args.
1130 - Stop needlessly parsing WORKSPACE files from external
1131 repositories.
1132 - Dot ('.') is now allowed in workspace names. See
1133 https://github.com/bazelbuild/bazel/issues/11837.
Bazel Release System76152be2020-10-06 15:07:12 +02001134 - This change can cause memory and performance regressions for some
1135 builds with C++ dependencies, due to extra actions being executed.
1136 RELNOTES: None
1137 - Building Android apps for legacy multi-dex (pre-L) now require a
1138 main-dex list if the application does not fit into a single DEX
1139 file.
1140 - Puts the experimental_worker_multiplex flag to use.
1141 - In Starlark, the Args object supports a new parameter file format
1142 'flag_per_line', compatible with the Abseil flags library.
1143 - The flag --incompatible_no_support_tools_in_action_inputs is
1144 removed.
1145 - Support for NDK 21 added
1146 - Bazel will now skip printing action stdout/stderr contents if
1147 they exceed --experimental_ui_max_stdouterr_memory_bytes.
1148 - The Starlark interpreter now correctly emits an error
1149 if the operand of the first loop in a list comprehension
1150 refers to a variable bound by a later loop, such as y in
1151 this example:
1152 [e1 for x in f(y) in e2 for y in e3] # error: undefined y
1153 ^
1154 This may cause latent dynamic errors to become static errors.
1155 - Added support for a 'supports-graceful-termination' execution
1156 requirement and tag, which causes Bazel to send a SIGTERM to any
1157 tagged
1158 actions before sending a delayed SIGKILL. This is to give
1159 actions, and more
1160 specifically tests, a chance to clean up after themselves.
1161 - Non-android targets can again be built when
1162 android_sdk_repository is present but invalid.
Bazel Release System72817e32020-10-01 00:30:50 -04001163
Bazel Release System76152be2020-10-06 15:07:12 +02001164This 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 -04001165
Bazel Release System2b051be2020-09-02 15:41:41 -04001166## Release 3.5.0 (2020-09-02)
1167
1168```
1169Baseline: 889bc0b523b47eeb38a72bf9bb6858ee525a7c7e
1170
1171Cherry picks:
1172
Bazel Release System57f0b7c2020-09-02 16:07:55 -04001173 + a7a0d48fbeb059ee60e77580e5d05baeefdd5699:
1174 Make no-op starlark transition not affect the output directory.
1175 + b37c51c7085f0aefe04034dd451acb847605ddb5:
1176 Add include_prefix and strip_include_prefix to cc_common.compile
1177 + f6ad35fcde93f92c591778ed7db38d167f5bbc03:
1178 Delete --experimental_transparent_compression
1179 + 39bc97eab295bddb35b38bfc4a2ff3d2b15d034e:
1180 Remove --experimental_action_args
1181 + b9706675a7abf6ceebb250f0b3dfa4087a0c35f6:
1182 Stop needlessly parsing WORKSPACE files from external
1183 repositories.
1184 + e574d558da17cfd0f818e7a937a07926aa270069:
1185 Allow hyphen char in workspace name
1186 + 9993785fa0c4fa4172aa31d306f3abea76833abf:
1187 Allow dot ('.') in workspace names.
1188```
1189
1190New features:
1191
1192 - cc_common.compile support for include_prefix/strip_include_prefix
1193
1194Important changes:
1195
1196 - Removed the flag --experimental_transparent_compression.
1197 - Removed the flag --experimental_action_args.
1198 - Stop needlessly parsing WORKSPACE files from external
1199 repositories.
1200 - Dot ('.') is now allowed in workspace names. See
1201 https://github.com/bazelbuild/bazel/issues/11837.
1202
1203This release contains contributions from many people at Google, as well as David Ostrovsky.
1204
1205## Release 3.5.0 (2020-09-02)
1206
1207```
1208Baseline: 889bc0b523b47eeb38a72bf9bb6858ee525a7c7e
1209
1210Cherry picks:
1211
Bazel Release System2b051be2020-09-02 15:41:41 -04001212 + d6b9469efebd200a39d7fd43876a18822fcdbe7b:
1213 Make no-op starlark transition not affect the output directory.
1214 + b37c51c7085f0aefe04034dd451acb847605ddb5:
1215 Add include_prefix and strip_include_prefix to cc_common.compile
1216 + 0ebb1d5a5388109e3f026a355c77fdf0121f3a43:
1217 Delete --experimental_transparent_compression
1218 + 312e121c70aebfaa91b0a3106fa964e0bc12d1df:
1219 Remove --experimental_action_args
1220 + 7e6e855bb82734f582e03c2c7fad3148c139d0e0:
1221 Stop needlessly parsing WORKSPACE files from external
1222 repositories.
1223 + d4049f6f85efb8f48d1f6b72764115af5b184831:
1224 Allow hyphen char in workspace name
1225 + 0a35be1843a2e4d49d5e5c3893cd6673705b7fb1:
1226 Allow dot ('.') in workspace names.
1227```
1228
1229Incompatible changes:
1230
1231 - The --experimental_process_wrapper_wait_fix flag (used
1232 purely to roll out a risky bug fix) has been removed.
1233 - Removed the --experimental_ui_deduplicate flag.
1234 - Bazel now correctly prefers Xcode versions in `/Applications`
1235 over any other paths, which resolves an issue with accidentally
1236 picking up an Xcode version from a Time Machine backup or network
1237 disk. In the improbable case that you relied on the old behavior
1238 and Bazel now picks up Xcode from the wrong location, you can fix
1239 it by moving that Xcode version to /Applications.
1240
1241New features:
1242
1243 - cquery now follows aspects with --include_aspects.
1244 - cc_common.compile support for include_prefix/strip_include_prefix
1245
1246Important changes:
1247
1248 - Add support to bazel/crosstool for building arm64 on macos aka
1249 darwin
1250 - Add opt in 'oso_prefix_is_pwd' feature for Apple builds
1251 - Add InstrumentedFilesInfo provider to Starlark globals.
1252 - Fixed resource shrinking when <overlayable/> tags are used.
1253 - Remove old incompatible flag
1254 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
1255 s_tree.
1256 - Update coverage configuration for Python, filegroup, and shell
1257 script rules to distinguish between source and dependency
1258 attributes.
1259 - Add support to bazel/crosstool for building arm64e on macos aka
1260 darwin
1261 - Make filegroup always forward InstrumentedFilesProvider and not
1262 collect any sources directly.
1263 - Support signing key rotation in android_binary
1264 - Remove legacy handling of --extra_checks
1265 - Support signing key rotation in android_binary
1266 GO...
1267 - `--apple_bitcode` now takes an optional platform and only applies
1268 the Bitcode mode to that platform if present. The option may be
1269 provided multiple times.
1270 - Support signing key rotation in android_binary
1271 - NS_BLOCK_ASSERTIONS is now passed for all Apple architectures.
1272 - Major changes to reporting of Starlark errors and the call stack.
1273 (Please be alert to possible regressions, such as errors that
1274 lack relevant location information.)
1275 - Removed the flag --experimental_transparent_compression.
1276 - Removed the flag --experimental_action_args.
1277 - Stop needlessly parsing WORKSPACE files from external
1278 repositories.
1279 - Dot ('.') is now allowed in workspace names. See
1280 https://github.com/bazelbuild/bazel/issues/11837.
1281
1282This 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.
1283
Bazel Release Systemd917bf22020-07-14 08:24:10 +02001284## Release 3.4.1 (2020-07-14)
1285
1286```
1287Baseline: 7404d17ac76da876ae0b432d1fccf222a9e991fe
1288
1289Cherry picks:
1290
1291 + f31f2d787116120b2b16e9aa9a64fab171c0d954:
1292 fixup! Gracefully handle the lack of subreaper support in Linux.
1293 + 3a4f221e3c57495c1ed0d1ec8128f92323b13079:
1294 Revert "Replace the remaining dependencies for Bazel Debian
1295 build (third_party)"
1296 + c55ec0f2cb3f5b44e5025bf9d3c5dc91d94db287:
1297 Revert "Upgrade gRPC to 1.26.0"
1298```
1299
1300This release contains contributions from many people at Google, as well as Ryan Beasley.
1301
Bazel Release System93262a52020-07-13 17:23:50 +02001302## Release 3.4.0 (2020-07-13)
1303
1304```
1305Baseline: 7404d17ac76da876ae0b432d1fccf222a9e991fe
1306
1307Cherry picks:
1308
1309 + a4334be50a206bf8d676a0196af11056c48ac35b:
1310 fixup! Gracefully handle the lack of subreaper support in Linux.
1311```
1312
1313Incompatible changes:
1314
1315 - This removes the short-lived --process_wrapper_extra_flags
1316 flag, which was introduced primarily to roll out a bug fix.
1317 Unfortunately,
1318 this made us inadvertently expose all of the process-wrapper's
1319 command line
1320 interface to the public, which should not have happened. Given
1321 the corner
1322 case of the utility of this flag, the lack of documentation for
1323 it, and the
1324 fact that it only appeared in a single release, we are treating
1325 this as a
1326 bug instead of a backwards compatibility breakage.
1327
1328New features:
1329
1330 - bazel info: Allow to specify multiple keys.
1331 - Support code coverage with GCC 9.
1332
1333Important changes:
1334
1335 - Allow InstrumentedFilesInfo fields to be read from Starlark.
1336 - The --starlark_cpu_profile=<file> flag writes a profile in
1337 pprof format containing a statistical summary of CPU usage
1338 by all Starlark execution during the bazel command. Use it
1339 to identify slow Starlark functions in loading and analysis.
1340 - The --debug_depset_flag has been removed as it is in effect
1341 always on at no cost.
1342 - Rule authors should use the
1343 incompatible_use_toolchain_transition rule attribute to migrate
1344 to using
1345 the toolchain transition. jcater to udpate notes further.
1346 - `apple_binary` rules now accept the `stamp` attribute with the
1347 same
1348 semantics that it has in `cc_binary` rules.
1349 - --incompatible_objc_provider_remove_compile_info turns off
1350 the compile info/mege_zip Starlark APIs in ObjcProvider. See
1351 #11359.
1352 - The --debug_depset_flag has been removed as it is in effect
1353 always on at no cost.
1354 - Fix behavior of ctx.actions.write so content is written without
1355 an incorrect encoding to UTF-8.
1356 See https://github.com/bazelbuild/bazel/issues/10174 for details.
1357 - Collect more performance metrics for worker execution.
1358 - Add flag --incompatible_force_strict_header_check_from_starlark
1359 - Configure coverage and runfiles for sh_library.
1360 - Adds --incompatible_blacklisted_protos_requires_proto_info to
1361 indicate whether proto_lang_toolchain.blacklisted_protos requires
1362 ProtoInfo.
1363
1364This 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.
1365
Bazel Release System97a53342020-06-30 11:05:57 -04001366## Release 3.3.1 (2020-06-30)
1367
1368```
1369Baseline: c063b5caf776dee665497b64c5c17d4ed7e6750a
1370
1371Cherry picks:
1372
1373 + cb798a475eb54087e1e83f8aa1dc1c54550877b5:
1374 Restore missing Building with Platforms docs.
1375 + 9be97678b02bbd45d164c8458c8fd4f7791cb7aa:
1376 Release 3.3.0 (2020-06-17)
1377 + 3b0439e37247a480e08337a6314d06231bdbafd3:
1378 Fix incorrect assumption of desugar persistent worker conditional
1379```
1380
1381This release contains contributions from many people at Google, as well as .
1382
Bazel Release System9be97672020-06-17 08:51:54 -04001383## Release 3.3.0 (2020-06-17)
1384
1385```
1386Baseline: c063b5caf776dee665497b64c5c17d4ed7e6750a
1387
1388Cherry picks:
1389
1390 + 23bd69d7499de097b15e6025cc0796bdbc9886b8:
1391 Restore missing Building with Platforms docs.
1392```
1393
1394Incompatible changes:
1395
1396 - The startup option --fatal_event_bus_exceptions is now a no-op
1397 and will be removed soon.
1398
1399New features:
1400
1401 - Bazel offers basic completion for the fish shell.
1402
1403Important changes:
1404
1405 - Add configuration_field for --custom_malloc to cpp config fragment
1406 - Flip --incompatible_objc_compile_info_migration to true. See
1407 #10854.
1408 - It is now possible to use different action mnemonics while still
1409 sharing the same pool of persistent workers. It requires setting
1410 a new property
1411 on the execution requirements (`worker-key-mnemonic`). The value
1412 overrides
1413 the action's mnemonic when it comes to reusing worker processes.
1414 - linkshared=1 in cc_binary no longer requires '.so' or '.dll' in
1415 the target name
1416 - Revert --incompatible_objc_compile_info_migration to false. See
1417 #10854.
1418 - Invoke clang with the correct -target flag when building for
1419 watchOS.
1420 - NA
1421 - Add experiment flag to forward InstrumentedFilesInfo from
1422 non-tool deps by default.
1423
1424This 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.
1425
Bazel Release Systemb0ba5dc2020-05-27 19:50:27 +02001426## Release 3.2.0 (2020-05-27)
1427
1428```
1429Baseline: 1d93d26d9900328dcba0026bf21cb45cc37a4596
1430```
1431
1432Important changes:
1433
1434 - Renamed --experimental_slim_json_profile to --slim_profile.
1435 - Expose ctx.attr.write Args content for analysistest when possible
1436 - Added aquery_differ_v2 that works with the new aquery proto
1437 output format.
1438 - Add new flag, 'experimental_no_product_name_out_symlink', to omit
1439 creating '<product>-out' symlink if user specifies
1440 '--symlink_prefix' option.
1441 - --ram_utilization_factor is removed (as is
1442 --incompatible_remove_ram_utilization_factor). Please use
1443 --local_ram_resources.
1444 - Improve include scanner support for cl.exe and clang-cl command
1445 lines
1446 - ctx.split_attr now includes attributes with Starlark split
1447 transitions.
1448 - Added --incompatible_string_replace_count, to make
1449 string.replace() behave as in Python.
1450 - Bazel can now recursively delete non-executable but readable
1451 directories.
1452 - Restore case-sensitivity to -I and /I include scanning detection
1453 to avoid conflicts.
1454
1455This 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.
1456
Bazel Release System3a59ab62020-04-21 17:37:54 +02001457## Release 3.1.0 (2020-04-21)
1458
1459```
1460Baseline: 17ebbf15bea3733c0c21e0376fb5906e391edb49
1461
1462Cherry picks:
1463
1464 + 71fb56b4bb669a419f473598c8722e125dbb5c9e:
1465 Suppress last-ditch download exceptions w/cleanup
1466 + fd60614c38da0db22431d91a793423904dff801f:
1467 In repo rules, don't warn about generator_* attributes being
1468 non-canonical
1469 + 2a372792f5cc09bd0e8389d5fc4bbfdd2f5d6e37:
1470 Refactor configureFeatures and prevent NPE
1471 + 777a6ee6ed95cae4ddb949d52b63ee8a66024f03:
1472 Automated rollback of commit
1473 0bbe38176e15d891a4e4cab2d8425e292de6cc5f.
1474 + 2ee53c9267eb6de8eae109950ca8f3953bf1ae66:
1475 Guard parseActionResultMetadata with bulk wrapper
1476```
1477
1478Incompatible changes:
1479
1480 - The deprecated startup options
1481 --experimental_oom_more_eagerly(_threshold) are removed.
1482
1483Important changes:
1484
1485 - Remove flag
1486 --incompatible_load_proto_toolchain_for_javalite_from_com_google_p
1487 rotobuf which has been flipped in Bazel 3.0.
1488 - Allow assembly file sources in cc_common.compile.
1489 - Set default .netrc file on Windows to %USERPROFILE%
1490 - A maximum 150 attributes per RuleClass is enforced
1491 - Increase max targets per rule class limit to 200
1492 - ctx.split_attr now includes attributes with Starlark split
1493 transitions.
1494 - The --max_computation_steps flag bounds the computation done by a
1495 BUILD file.
1496 - Native patch can handle file permission properly
1497 - Aspects may now propagate through dependencies on rule outputs by
1498 being defined with `apply_to_generating_rules = True`.
1499 - 'query --output=build' now shows where rule classes (not just
1500 rules) are created.
1501 - The flag `incompatible_bzl_disallow_load_after_statement` is
1502 removed.
1503 - ctx.split_attr now includes attributes with Starlark split
1504 transitions.
1505 - The flag `incompatible_no_output_attr_default` is removed.
1506 - Fix wall-time of the SpawnResult in WorkerSpawnRunner
1507 - Add stamp parameter for cc_common.link to enable including build
1508 info
1509 - The flag `--incompatible_restrict_named_params` is removed.
1510 - The flag `--incompatible_depset_union` is removed.
1511 - Bazel uses fewer compiler flags by default when building
1512 Objective-C. In
1513 particular, Bazel no longer sets `-O0`, `-DDEBUG=1`,
1514 `-fstack-protector`, `-fstack-protector-all`, or `-g` in dbg
1515 mode, and
1516 Bazel no longer sets `-Os`, `-DNDEBUG=1`, `-Wno-unused-variable`,
1517 `-Winit-self`, or `-Wno-extra` in opt mode. If you want to apply
1518 these
1519 flags to your project, you can reenable them in your CROSSTOOL.
1520 - A maximum attribute name length is 128 is enforced
1521
1522This 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.
1523
Bazel Release System22018272020-04-06 08:49:47 -04001524## Release 3.0.0 (2020-04-06)
1525
1526```
1527Baseline: 3c7cc747ac653dca8b88a9e43726a794e2c27a9c
1528
1529Cherry picks:
1530
1531 + 19e214b44df9c82a8a3bd3381344f7145813c572:
1532 Use prefix encoding for paths.
1533 + 63b01f7b1cd6603a08bf2a8ae813388c201e3448:
1534 Avoid file operations in the sandbox creation critical path.
1535 + 80a2d7cc5f8a22816934dcd2ca9bdf87050f3d9f:
1536 Implementation (but not plumbing) of the gRPC remote downloader
1537 + 586eabf419972c74fdd5fef328cfe9a259e035ed:
1538 Implement RemoteDownloader w/ `--experimental_remote_downloader`
1539```
1540
1541Incompatible changes:
1542
1543 - Flip --incompatible_remove_enabled_toolchain_types, so that rules
1544 can no longer access enabled toolchain types from the platform
1545 fragment.
1546 - The --incompatible_use_jdk11_as_host_javabase flag has been
1547 removed (it was flipped in Bazel 0.25.0).
1548 - Using JDK 9 or 10 as a `--host_javabase` is no longer officially
1549 supported. As always, you can use the
1550 `@bazel_tools//tools/jdk:toolchain_vanilla` Java toolchain to use
1551 older or newer JDKs than what Bazel currently supports.
1552 - --fatal_event_bus_exceptions is deprecated and should not be
1553 used. Any crashes should be reported so that they can be fixed.
1554 - The old-style binary profile format is no longer suppported, use
1555 the new JSON trace profile instead.
1556
1557Important changes:
1558
1559 - Improve the performance of creating a sandboxed execution root
1560 for workers when the number of inputs is large (>1000).
1561 - Treat .cu and .cl files as C++ source. CUDA or OpenCL are not
1562 natively supported and will require custom flags to compile with
1563 e.g. clang.
1564 - Add actions' primary output details in JSON profile and
1565 analysis_v2.proto.
1566 - Add --cds_archive option for embedding CDS archive into deploy
1567 JAR.
1568 - Add new global attribute: applicable_licenses
1569 - Package level default with default_applicable_licenses
1570 - guarded by --incompatible_applicable_licenses (default true for
1571 Blaze, false for Bazel)
1572 - In support of
1573 https://docs.google.com/document/d/1uwBuhAoBNrw8tmFs-NxlssI6VRolid
1574 GYdYqagLqHWt8/edit#
1575 - Non-test Java rules no longer require the TestConfiguration and
1576 thus --trim_test_configuration is again usable for Java builds
1577 - The flag `--incompatible_always_check_depset_elements` is enabled
1578 by default.
1579 - --incompatible_objc_compile_info_migration determines
1580 whether native rules can assume compile info has been migrated to
1581 CcInfo. See https://github.com/bazelbuild/bazel/issues/10854.
1582 - --incompatible_remove_local_resources is true by default. Please
1583 use --local_ram_resources and --local_cpu_resources instead of
1584 --local_resources.
1585
1586This 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.
1587
Bazel Release System4b01eb52020-03-03 10:22:31 +01001588## Release 2.2.0 (2020-03-03)
Bazel Release Systeme53c0282020-02-21 15:49:31 +01001589
1590```
Bazel Release System4b01eb52020-03-03 10:22:31 +01001591Baseline: 78055efad0917b848078bf8d97b3adfddf91128d
Bazel Release Systeme53c0282020-02-21 15:49:31 +01001592```
1593
Bazel Release System4b01eb52020-03-03 10:22:31 +01001594Incompatible changes:
Bazel Release Systeme53c0282020-02-21 15:49:31 +01001595
Bazel Release System4b01eb52020-03-03 10:22:31 +01001596 - The --[no]incompatible_windows_bashless_run_command flag is no
1597 longer supported. It was flipped in Bazel 1.0
1598 - The --[no]incompatible_windows_native_test_wrapper flag is no
1599 longer supported. It was flipped in Bazel 1.0
1600
1601Important changes:
1602
1603 - Consistent target naming style in example target names.
1604 - cquery's config() now supports arbitrary configurations.
1605 - The flag --incompatible_disallow_dict_lookup_unhashable_keys is
1606 removed.
1607 - Include target label in Python version error message.
1608 - The flag --incompatible_remap_main_repo is removed.
1609 - Windows: we now discourage running Bazel from MSYS2 because of a
1610 newly found bug (#10573)
1611 - Reduced the packaging time (`package-bazel.sh`) for the
1612 `//src:bazel-dev` Bazel development build target from 14s to 6s.
1613 Use `//src:bazel-dev` if you're iterating rapidly on a local
1614 Bazel changes, and use `//src:bazel --compilation_mode=opt` for
1615 release builds.
1616 - cquery: "//foo:bar" now means "all configured targets with label
1617 //foo:bar" instead of "choose an arbitrary configured target with
1618 label //foo:bar". See cquery docs for details.
1619 - WORKSPACE and BUILD.bazel files of http_archive repositories can
1620 now be patched using the "patch_cmds" and "patches" attributes.
1621 - Actions with "parse" on the critical path should no longer finish
1622 in the future.
1623 - Flags that affect external repositories like
1624 "--override_repository" can now be addressed in bazelrc files
1625 using the "common" command, without causing commands like "bazel
1626 shutdown" to fail.
1627 - The flag --incompatible_disallow_unverified_http_downloads is
1628 removed.
1629 - Create the incompatibleApplicableLicenses flag.
1630 We plan to flip this from false to true in Bazel 4.x.
1631 Implementation to follow.
1632 - Treat .cu and .cl files as C++ source. CUDA or OpenCL are not
1633 natively supported and will require custom flags to compile with
1634 e.g. clang.
1635 - Treat .cu and .cl files as C++ source. CUDA or OpenCL are not
1636 natively supported and will require custom flags to compile with
1637 e.g. clang.
1638 - The --starlark_cpu_profile=<file> flag writes a profile in
1639 pprof format containing a statistical summary of CPU usage
1640 by all Starlark execution during the bazel command. Use it
1641 to identify slow Starlark functions in loading and analysis.
1642 - --ram_utilization_factor will be deprecated. Please use
1643 --local_ram_resources=HOST_RAM*<float>
1644 - Docs: glob() documentation is rewritten, and now it points out a
1645 pitfall of rules shadowing glob-matched files.
1646
1647This 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 +01001648
Bazel Release Systeme6ee35f2020-02-07 13:56:14 +01001649## Release 2.1.0 (2020-02-07)
1650
1651```
1652Baseline: 41ec5a28fb30a8d6c5c60194c4bb29528352cf78
1653
1654Cherry picks:
1655
1656 + 733ac0ff7ad1e13ab68ceb2fde694d7ab71b2366:
1657 Adds an alias for d8_jar_import in android.WORKSPACE.
1658 + c94b1474b368dedf9f68f34fad90cc8664f2b0e0:
1659 Automatic code cleanup.
1660 + 2a8cc7075f741721563efd9dc050ca3458cde30b:
1661 Do not fail or print errors when Shellzelisk cannot find a
1662 requested ?
1663 + bdf34d7fd9539411e93348ba25307f34362d9a42:
1664 Fix race when extracting the install base when Bazel runs in a
1665 PID namespace.
1666 + d381c25bb7dd205c283f7ad91cac13190d2dfede:
1667 Fix wrong mode of install base directory.
1668 + eab39cc7b5a612f891fd1e5af5b45bdc1b66e6e1:
1669 Disable broken test_max_open_file_descriptors.
1670```
1671
1672Incompatible changes:
1673
1674 - The following attributes of CcToolchainProvider, which formerly
1675 were
1676 accessible both as fields (x.f) and as methods (x.f()), are now
1677 only fields:
1678
1679New features:
1680
1681 - Similar to the
1682 [.bazelignore](https://docs.bazel.build/versions/master/guide.html
1683 #.bazelignore) in the main repository, a `.bazelignore` file in
1684 external repository will cause the specified directories to be
1685 ignored by Bazel. Bazel won't try to identify any packages under
1686 the directories, but the files can still be referenced in other
1687 BUILD files.
1688 - bazelignore files now support line comments, e.g. "# this is a
1689 comment"
1690
1691Important changes:
1692
1693 - Experimental support for d8 merger is now available for use using
1694 --define=android_dexmerger_tool=d8_dexmerger.
1695 - Critical path run time should not have a longer run time than
1696 total execution run time.
1697 - Remove "please do not import" warning for cc rules.
1698 - x.f() is now equivalent to y=x.f; y(). That is, x.f should return
1699 the same
1700 attribute value regardless of whether it is accessed as a field
1701 or called
1702 like a method. Any arguments to the call are evaluated after the
1703 x.f operation.
1704 - Add desugaring support for RoleManager#addRoleHolderAsUser
1705 - Adds ctx.target_platform_has_constraint to allow rules to check
1706 the target platform's constraints.
1707 - Critical path run time should not have a longer run time than
1708 total execution run time.
1709 - Post new ConvenienceSymlinksIdentifiedEvent to the
1710 BuildEventProtocol when
1711 --experimental_convenience_symlinks_bep_event is enabled.
1712 - Keyword-only arguments are now allowed:
1713 def foo(a, *, k): pass
1714 def foo(a, *b, k): pass
1715 where k can be specified only by keyword:
1716 foo(5, k=6)
1717 - Generated Go protobufs now depend on //net/proto2/go:protodeps in
1718 addition to //net/proto2/go:proto
1719 - cquery 'somepath' returns more reliable results when the
1720 dep has a different configuration than the parent. To get a
1721 result for
1722 `somepath(//foo, //bar`) where //bar isn't in the top-level
1723 configuration,
1724 run your query with `--universe_scope=//foo`. See cquery docs for
1725 details.
1726
1727This 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.
1728
Bazel Release System59e36002019-12-19 13:26:27 +01001729## Release 2.0.0 (2019-12-19)
1730
1731```
1732Baseline: 807ed23e4f53a5e008ec823e9c23e2c9baa36d0d
1733
1734Cherry picks:
1735
1736 + db0e32ca6296e56e5314993fe9939bc7331768ec:
1737 build.sh: Fix bug in build script for RC release
1738 + 85e84f7812f04bc0dbc36376f31b6dd2d229b905:
1739 Set --incompatible_prohibit_aapt1 default to true.
1740 + 84eae2ff550c433a3d0409cf2b5525059939439d:
1741 Let shellzelisk fallback to bazel-real if it's the requested
1742 version.
1743 + d5ae460f1581ddf27514b4be18255481b47b4075:
1744 Fix a typo in bazel.sh
1745```
1746
1747Incompatible changes:
1748
1749 - --incompatible_remap_main_repo is enabled by default. Therefore,
1750 both ways of addressing the main repository, by its name and by
1751 '@' are now considered referring to the same repository.
1752 see https://github.com/bazelbuild/bazel/issues/7130
1753 - --incompatible_disallow_dict_lookup_unhashable_keys is enabled by
1754 default https://github.com/bazelbuild/bazel/issues/9184
1755 - --incompatible_remove_native_maven_jar is now enabled by default
1756 and the flag removed. See https://github.com/bazelbuild/bazel/issues/6799
1757 - --incompatible_prohibit_aapt1 is enabled by default.
1758 See https://github.com/bazelbuild/bazel/issues/10000
1759
1760Important changes:
1761
1762 - --incompatible_proto_output_v2: proto v2 for aquery proto output
1763 formats, which reduces the output size compared to v1. Note that
1764 the messages' ids in v2 are in uint64 instead of string like in
1765 v1.
1766 - Adds --incompatible_remove_enabled_toolchain_types.
1767 - Package loading now consistently fails if package loading had a
1768 glob evaluation that encountered a symlink cycle or symlink
1769 infinite expansion. Previously, such package loading with such
1770 glob evaluations would fail only in some cases.
1771 - The --disk_cache flag can now also be used together
1772 with the gRPC remote cache.
1773 - An action's discover inputs runtime metrics is now categorized as
1774 parse time on the CriticalPathComponent.
1775 - Make the formatting example more like to the written text by
1776 adding an initial description.
1777 - An action's discover inputs runtime metrics is now categorized as
1778 parse time on the CriticalPathComponent.
1779 - Bazel's Debian package and the binary installer now include an
1780 improved wrapper that understands `<WORKSPACE>/.bazelversion`
1781 files and the `$USE_BAZEL_VERSION` environment variable. This is
1782 similar to what Bazelisk offers
1783 (https://github.com/bazelbuild/bazelisk#how-does-bazelisk-know-whi
1784 ch-bazel-version-to-run-and-where-to-get-it-from), except that it
1785 works offline and integrates with apt-get.
1786 - We are planning to deprecate the runfiles manifest files, which
1787 aren't safe in the presence of whitespace, and also unnecessarily
1788 require local CPU when remote execution is used. This release
1789 adds --experimental_skip_runfiles_manifests to disable the
1790 generation of the input manifests (rule.manifest files) in most
1791 cases. Note that this flag has no effect on Windows by default or
1792 if --experimental_enable_runfiles is explicitly set to false.
1793
1794This 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.
1795
Bazel Release System5be24a82019-11-26 16:19:50 +01001796## Release 1.2.1 (2019-11-26)
1797
1798```
1799Baseline: 11deef7582dfeec7a04ee3f7236393d9b8027367
1800
1801Cherry picks:
1802
1803 + c76c3e539c73ecf6e96e3e098be7be59e17bf276:
1804 Replace macOS CC path with relative path
1805 + 63332eb556fadfe9edd0806add79942482adddef:
1806 Hardcode path to dirname on macOS
1807 + ceadf0a063cb97c32aced143d2447781d1dafc38:
1808 Add tool executables (from FilesToRunProvider) to action inputs.
1809 + dbe63b00954a25fa4405f7cbf273df78c16498dd:
1810 Fix some of the bazel Windows tools code to work with GCC.
1811```
1812
1813This release fixes a single regression:
1814- #10297: Bazel 1.2.0 does no longer run on macOS High Sierra.
1815
1816It is the same code as Bazel 1.2.0, except that we rebuild the macOS release
1817binaries with Xcode 10.2.1 to make them backwards compatible with older macOS
1818versions again.
1819
Bazel Release Systemef69db82019-11-20 16:01:18 +01001820## Release 1.2.0 (2019-11-20)
1821
1822```
1823Baseline: 11deef7582dfeec7a04ee3f7236393d9b8027367
1824
1825Cherry picks:
1826
1827 + c76c3e539c73ecf6e96e3e098be7be59e17bf276:
1828 Replace macOS CC path with relative path
1829 + 63332eb556fadfe9edd0806add79942482adddef:
1830 Hardcode path to dirname on macOS
1831 + ceadf0a063cb97c32aced143d2447781d1dafc38:
1832 Add tool executables (from FilesToRunProvider) to action inputs.
1833 + dbe63b00954a25fa4405f7cbf273df78c16498dd:
1834 Fix some of the bazel Windows tools code to work with GCC.
1835```
1836
1837Incompatible changes:
1838
1839 - Tree artifacts and regular artifact paths can no longer overlap.
1840
1841New features:
1842
1843 - Added a special "_validation" output group to enable moving
1844 "validation actions" off the critical path of builds.
1845
1846Important changes:
1847
1848 - The query flag "--host_deps" (commonly used as "--nohost_deps")
1849 has been renamed to "--tool_deps", and now also removes
1850 dependencies in any execution configuration from being reported
1851 in the query output. The previous flag name is deprecated and
1852 will be removed in a future release.
1853 - The `cc_common.{compile,link}` APIs can now be used without
1854 passing the `--experimental_cc_skylark_api_enabled_packages` flag.
1855 - A list of log paths will be provided in build output.
1856 - Improve runfiles documentation.
1857 - Improve documentation on rule outputs.
1858 - BUILD/.bzl execution errors cause execution to stop, even at
1859 top-level
1860 - Multiple Starlark validation errors are reported in a single pass.
1861 - Introduce --experimental_nested_set_as_skykey_threshold
1862 - Blaze will prevent idle sleep during test and build actions. Note
1863 that this does not affect screen savers and will not keep a
1864 laptop awake if the user forces sleep or closes the lid. This is
1865 purely to avoid idle sleeping when the user is not interacting
1866 with the device.
1867 - Improve testing docs.
1868 - Incompatible flag
1869 `--incompatible_validate_top_level_header_inclusions` has been
1870 added. See https://github.com/bazelbuild/bazel/issues/10047 for
1871 details.
1872 - Fix an aquery bug with handling malformed queries that crashes
1873 bazel.
1874 - List fields on CcLinkingOutputs.
1875 - [Python] Added flag --incomaptible_default_to_explicit_init_py to
1876 switch the default value of legacy_create_init to True. With this
1877 flag enabled, your py_binary and py_test targets will no longer
1878 behave as if empty __init__.py files were implicitly littered in
1879 your runfiles tree. See
1880 [#10076](https://github.com/bazelbuild/bazel/issues/10076).
1881 - Fix documentation on allowed target names.
1882 - --target_platform_fallback now also applies to exec/host
1883 configurations
1884 - android_binary and android_libary can now depend on targets
1885 providing
1886 CcInfos.
1887 - Add support for tracking suspensions (sleeps or SIGSTOP) on macOS.
1888 - d8 dexers (both standalone and incremental) are now available for
1889 use.
1890 - Add Desugar support for FreezePeriod#<init>
1891
1892This 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.
1893
Bazel Release Systemf15bfb32019-10-21 12:49:43 +02001894## Release 1.0.1 (2019-10-21)
Bazel Release Systeme693c192019-10-21 10:40:19 +02001895
1896```
Bazel Release Systemf15bfb32019-10-21 12:49:43 +02001897Baseline: 97a82646dadd93bf52d47828bda42e3383b657c6
Bazel Release Systeme693c192019-10-21 10:40:19 +02001898
1899Cherry picks:
1900
Bazel Release Systemf15bfb32019-10-21 12:49:43 +02001901 + a0e3bb207fe2044120a2555a37162ee1f2b17500:
1902 Remove support for authentication and .netrc
1903 + ada2c55dcc106cd55bafbbe5d9a966e21e4770e0:
1904 Add explicit --sdk argument to xcrun calls
1905 + 847df729528f6e5919ec8374247eadf792cba544:
1906 toolchain_vanilla: Unset source and target language level
1907 versions
1908 + 5cfa0303d6ac3b5bd031ff60272ce80a704af8c2:
1909 Update java_tools version to javac11-v5.1.
1910 + 9c257df5b9b1de5459fc066e77c435ae085957a7:
1911 Release 1.0.0 (2019-10-10)
1912 + f7a31b30f5319639c36a6c6b1c14f358597d98d2:
1913 Prevent action-cache duplicate suppression
1914 + 618e5a28f7f735c37724377b15775a4975349c74:
1915 Use FileSystemUtils.moveFile instead of renameTo function of Path
Bazel Release Systeme693c192019-10-21 10:40:19 +02001916```
1917
Bazel Release Systemf15bfb32019-10-21 12:49:43 +02001918This 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 +02001919
Bazel Release Systemb9067c42019-10-10 11:55:50 +02001920## Release 1.0.0 (2019-10-10)
Bazel Release System4f9cd082019-09-10 09:39:08 -04001921
1922```
Bazel Release Systemb9067c42019-10-10 11:55:50 +02001923Baseline: 97a82646dadd93bf52d47828bda42e3383b657c6
Bazel Release System4f9cd082019-09-10 09:39:08 -04001924
1925Cherry picks:
1926
Bazel Release System4f9cd082019-09-10 09:39:08 -04001927 + a0e3bb207fe2044120a2555a37162ee1f2b17500:
1928 Remove support for authentication and .netrc
Bazel Release Systemb9067c42019-10-10 11:55:50 +02001929 + ada2c55dcc106cd55bafbbe5d9a966e21e4770e0:
1930 Add explicit --sdk argument to xcrun calls
1931 + 847df729528f6e5919ec8374247eadf792cba544:
1932 toolchain_vanilla: Unset source and target language level
1933 versions
1934 + 5cfa0303d6ac3b5bd031ff60272ce80a704af8c2:
1935 Update java_tools version to javac11-v5.1.
Bazel Release System4f9cd082019-09-10 09:39:08 -04001936```
1937
Bazel Release Systemb9067c42019-10-10 11:55:50 +02001938Incompatible changes:
1939
1940 - Python, Windows: the
1941 --[no]incompatible_windows_escape_python_args is no longer
1942 supported. (It was flipped to true in Bazel 0.27.0)
1943 - --incompatible_use_native_patch is enabled by default
1944 - Windows: --incompatible_windows_bashless_run_command is now true
1945 by default, meaning "bazel run //foo:bin" will run the binary as
1946 a subprocess of the Bazel client. (When the flag is false, the
1947 binary is executed as a subprocess of Bash.)
1948 - Windows: --incompatible_windows_native_test_wrapper is enabled by
1949 default
1950
1951New features:
1952
1953 - Genrule now supports `cmd_bash`, `cmd_ps`, `cmd_bat` attributes.
1954 More details at
1955 https://docs.bazel.build/versions/master/be/general.html#genrule.c
1956 md
1957 - config_setting can now check multiple values on "--foo=firstVal
1958 --foo=secondVal ..."-style flags
1959 - tags: use `--experimental_allow_tags_propagation` flag to
1960 propagate tags to the action's execution requirements from
1961 targets. Such tags should start with: `no-`, `requires-`,
1962 `supports-`, `block-`, `disable-`, `cpu:`. See #8830 for details.
1963 - Users can now get generated def file from cc_library via
1964 "def_file" output group on Windows.
1965 - Platform-specific bazelrc: with --enable_platform_specific_config
1966 you can
1967 enable flags in bazelrc according to your host platform.
1968 - tags: use `--experimental_allow_tags_propagation` flag to
1969 propagate tags to the action's execution requirements from
1970 cc_library or cc_binary targets. Such tags should start with:
1971 `no-`, `requires-`, `supports-`, `block-`, `disable-`, `cpu:`.
1972 See #8830 for details.
1973 - tags: use --experimental_allow_tags_propagation flag to propagate
1974 tags to the action's execution requirements from java targets.
1975 Such tags should start with: no-, requires-, supports-, block-,
1976 disable-, cpu:. See #8830 for details.
1977
1978Important changes:
1979
1980 - Bazel Android builds now use aapt2 by default. To revert to aapt,
1981 set `--android_aapt=aapt`.
1982 - Make either --subcommands or --verbose_failures imply
1983 --materialize_param_files
1984 - Bazel Android builds now use aapt2 by default. To revert to aapt,
1985 set `--an...
1986 RELNOTES: None
1987 - by default all remote connections considered to be via `gRPC`
1988 with TLS enabled, unless other specified. To disable TLS use
1989 `grpc://` prefix for you endpoints. All remote connections via
1990 `gRPC` affected - `--remote_cache`, `--remote_executor` or
1991 `--bes_backend`. http cache/executor is not affected. See #8061
1992 for details.
1993 - cc_* rules support non-transitive defines through a
1994 'local_defines' attribute.
1995 - Enable
1996 incompatible_disallow_rule_execution_platform_constraints_allowed
1997 by default (https://github.com/bazelbuild/bazel/issues/8136).
1998 - incompatible_disallow_split_empty_separator is enabled by default
1999 - Fixed Android build issues with aapt2 on Windows. See the [GitHub
2000 issue](https://github.com/bazelbuild/bazel/issues/9102) for more
2001 information.
2002 - --incompatible_disable_static_cc_toolchains has been flipped. See
2003 https://github.com/bazelbuild/bazel/issues/8546.
2004 - --remote_default_platform_properties has been deprecated in favor
2005 of --remote_default_exec_properties.
2006 - The --incompatible_make_thinlto_command_lines_standalone flag has
2007 been flipped, see https://github.com/bazelbuild/bazel/issues/6791
2008 for more information.
2009 - The --incompatible_use_specific_tool_files flag has been flipped.
2010 See https://github.com/bazelbuild/bazel/pull/9126 for more
2011 information.
2012 - Clarify default visibility.
2013 - Enables incompatible_auto_configure_host_platform
2014 - New incompatible flag --incompatible_disable_depset_items
2015 disables the "items" parameter in the Starlark depset
2016 constructor. Use "direct" and "transitive" parameters instead.
2017 - --incompatible_assignment_identifiers_have_local_scope is enabled
2018 - incompatible_disable_partition_default_parameter is enabled by
2019 default ()
2020 - incompatible_restrict_attribute_names is enabled
2021 (https://github.com/bazelbuild/bazel/issues/6437)
2022 - The --incompatible_disable_nocopts flag has been flipped. See
2023 https://github.com/bazelbuild/bazel/issues/8546 for more
2024 information.
2025 - Deprecated Java-Starlark API java_common.create_provider is
2026 removed. JavaInfo() legacy args (actions, sources, source_jars,
2027 use_ijar, java_toolchain, host_javabase) are removed.
2028 - The flag incompatible_disallow_hashing_frozen_mutables is enabled
2029 (https://github.com/bazelbuild/bazel/issues/7800)
2030 - `maven_jar` and `maven_server` now disallow using plain HTTP URLs
2031 without a specified checksum. If you are still using `maven_jar`,
2032 consider migrating to
2033 [`rules_jvm_external`](https://github.com/bazelbuild/rules_jvm_ext
2034 ernal) for transitive dependency management. See
2035 [#8607](https://github.com/bazelbuild/bazel/issues/8607) for more
2036 information.
2037 - Added `sha256` and `sha256_src` attributes to `maven_jar`. Please
2038 consider migrating to SHA-256 as SHA-1 has been deemed
2039 cryptographically insecure ([https://shattered.io]()). Or, use
2040 [`rules_jvm_external`](https://github.com/bazelbuild/rules_jvm_ext
2041 ernal) to manage your transitive Maven dependencies with artifact
2042 pinning and SHA-256 verification support.
2043 - introducing per-target exec_properties
2044 - Bazel now supports ThinLTO builds on Linux for Clang versions >=
2045 6.0. ThinLTO can be enabled through --features=thin_lto
2046 - The Target.output_group field in Starlark is removed. Use
2047 OutputGroupInfo instead. See
2048 https://github.com/bazelbuild/bazel/issues/7949 for details.
2049 - Make a number of parameters of Starlark builtin functions
2050 positional-only (as opposed to specifiable by keyword). See
2051 https://github.com/bazelbuild/bazel/issues/8147 for details.
2052 - incompatible_skip_genfiles_symlink is enabled by default (#8651)
2053 - Change Pruned events will fire immediately after being checked.
2054 - --incompatible_remove_legacy_whole_archive has been flipped. See
2055 https://github.com/bazelbuild/bazel/issues/7362 for more
2056 information
2057
2058This 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 -04002059
Bazel Release Systemf791df02019-08-28 10:29:12 -04002060## Release 0.29.0 (2019-08-28)
2061
2062```
2063Baseline: 6c5ef5369a3ffceb8a65cc159a2fff1401242810
2064
2065Cherry picks:
2066
2067 + 338829f2633e91ae0492ee4169446465e10b5994:
2068 Fix retrying of SocketTimeoutExceptions in HttpConnector
2069 + 14651cd86b6fc1d48f56a208a9b5278b3e2dcf75:
2070 Fallback to next urls if download fails in HttpDownloader
2071 + b7d300c6be3e130dec0e62a4f19493105f595d57:
2072 Fix incorrect stdout/stderr in remote action cache. Fixes #9072
2073 + 960217631abdcab0a7ed95e2ab10acd55f636639:
2074 Automated rollback of commit
2075 0f0a0d58725603cf2f1c175963360b525718a195.
2076 + da557f96c697102ad787e57bbf7db2460f6a60a8:
2077 Windows: fix "bazel run" argument quoting
2078 + ef8b6f68cc8ffd2e6523a894034ae383e87ec74c:
2079 Return JavaInfo from java proto aspects.
2080 + 209175ff8ffeb05628ed8a187dd414a3d2935c55:
2081 Revert back to the old behavior of not creating a proto source
2082 root for generated .proto files.
2083 + 644060b7a4bc98384b66e3d2343b950b875b5e35:
2084 Fix PatchUtil for parsing special patch format
2085 + 067040d7bcb3b24a88432e210a96adacee3f37b4:
2086 Put the removal of the legacy repository-relative proto path
2087 behind the --incompatible_generated_protos_in_virtual_imports
2088 flag.
2089 + 76ed014e77d7b862f6eb2894600ae525ea570f11:
2090 repository mapping lookup: convert to canonical name first
2091```
2092
2093Important changes:
2094
2095 - rule_test: fix Bazel 0.27 regression ("tags" attribute was
2096 ingored, https://github.com/bazelbuild/bazel/issues/8723
2097 - Adds --incompatible_enable_execution_transition, which enables
2098 incremental migration of host attributes to exec attributes.
2099 - objc_proto_library rule has been deleted from Bazel.
2100 - repository_ctx.read is no longer restricted to files
2101 in the repository contructed.
2102 - tags 'no-remote', 'no-cache', 'no-remote-cache',
2103 'no-remote-exec', 'no-sandbox' are propagated now to the actions
2104 from targets when '--ncompatible_allow_tags_propagation' flag set
2105 to true. See #8830.
2106 - Adds flag
2107 --//tools/build_defs/pkg:incompatible_no_build_defs_pkg. This
2108 flag turns off the rules //tools/build_defs/pkg:{pkg_deb,
2109 pkg_rpm, pkg_tar}.
2110 - The Android NDK is now integrated with toolchains. To use them,
2111 pass the `--extra_toolchains=@androidndk//:all` flag or register
2112 them in your WORKSPACE with
2113 `register_toolchains("@androidndk//:all")`.
2114 - Stdout and stderr are checked to determine if output is going to a
2115 terminal. `--is_stderr_atty` is deprecated and `--isatty` is
2116 undeprecated.
2117 - --incompatible_load_proto_rules_from_bzl was added to forbid
2118 loading the native proto rules directly. See more on tracking
2119 issue #8922
2120 - Docker Sandbox now respects remote_default_platform_properties
2121 - pkg_deb, pkg_rpm & pkg_tar deprecation plan announced in the
2122 documentation.
2123 - The new java_tools release:
2124 * fixes https://github.com/bazelbuild/bazel/issues/8614
2125 * exposes a new toolchain `@java_tools//:prebuilt_toolchain`
2126 which is using all the pre-built tools, including singlejar and
2127 ijar, even on remote execution. This toolchain should be used
2128 only when host and execution platform are the same, otherwise the
2129 binaries will not work on the execution platform.
2130 - java_common.compile supports specifying
2131 annotation_processor_additional_inputs and
2132 annotation_processor_additional_outputs for the Java compilation
2133 action for supporting annotation processors that consume or
2134 produce artifacts. Fixes #6415
2135 - There is now documentation on optimizing Android app build
2136 performance. Read it at
2137 https://docs.bazel.build/versions/0.29.0/android-build-performance
2138 .html
2139 - Execution log now respects --remote_default_platform_properties
2140 - Include a link to the relevant documenation on transitive Python
2141 version errors.
2142 - New incompatible flag
2143 --incompatible_disable_target_provider_fields removes the ability
2144 (in Starlark) to access a target's providers via the field syntax
2145 (for example, `ctx.attr.dep.my_provider`). The provider-key
2146 syntax should be used instead (for example,
2147 `ctx.attr.dep[MyProvider]`). See
2148 https://github.com/bazelbuild/bazel/issues/9014 for details.
2149 - A new platform exec_properties is added to replace
2150 remote_execution_properties.
2151 - Added --incompatible_load_python_rules_from_bzl, which will be
2152 flipped in Bazel 1.0. See
2153 https://github.com/bazelbuild/bazel/issues/9006.
2154 - add --break_build_on_parallel_dex2oat_failure to shortcut tests
2155 on dex2oat errors
2156
2157This 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.
2158
Bazel Release System3fd8c412019-07-19 17:14:15 +02002159## Release 0.28.1 (2019-07-19)
2160
2161```
2162Baseline: 2e374a9c6e3d4ed71f0145de287c4b2fe43c76d6
2163
2164Cherry picks:
2165
2166 + 6d0b14b95a71175362030b4811ca74512b00a890:
2167 rule_test: apply "tags" to all rules in the macro
2168 + 18cd9048526f067a4950c6ddbf4b1b3604760af0:
2169 Release 0.28.0 (2019-07-10)
2170 + 2260b970cb2a10c21a2fde116aa82c79be52991f:
2171 When copying dynamic libraries to binary, copy them into the
2172 runfiles as well.
2173 + a0af170f87c8230fcd8860599b983df097b646bd:
2174 Undo breaking change of hiding android_common behind
2175 --experimental_google_legacy_api
2176 + c6ca6c2ccd9e11a87f837341ae05d2ba037975b1:
2177 Ignore external/ directory in users' source tree when creating
2178 execroot symlink tree.
2179```
2180
2181Important changes:
2182
2183 - rule_test: fix Bazel 0.27 regression ("tags" attribute was
2184 ingored, https://github.com/bazelbuild/bazel/issues/8723
2185
2186This release contains contributions from many people at Google, as well as .
2187
Bazel Release Systemf4a08032019-07-10 18:11:04 +02002188## Release 0.28.0 (2019-07-10)
Bazel Release System7e809492019-07-10 17:50:43 +02002189
2190```
Bazel Release Systemf4a08032019-07-10 18:11:04 +02002191Baseline: 2e374a9c6e3d4ed71f0145de287c4b2fe43c76d6
Bazel Release System7e809492019-07-10 17:50:43 +02002192
2193Cherry picks:
2194
Bazel Release System7e809492019-07-10 17:50:43 +02002195 + 6d0b14b95a71175362030b4811ca74512b00a890:
2196 rule_test: apply "tags" to all rules in the macro
2197```
2198
Bazel Release Systemf4a08032019-07-10 18:11:04 +02002199Incompatible changes:
2200
2201 - Add --incompatible_enable_profile_by_default to enable the JSON
2202 profile by default.
2203 - The --incompatible_windows_style_arg_escaping flag is flipped to
2204 "true", and the "false" case unsupported. Bazel no longer accepts
2205 this flag.
2206
Bazel Release System7e809492019-07-10 17:50:43 +02002207Important changes:
2208
Bazel Release Systemf4a08032019-07-10 18:11:04 +02002209 - Bazel now supports hiding compiler warnings for targets that
2210 you're not explicitly building (see
2211 https://docs.bazel.build/versions/master/user-manual.html#flag--au
2212 to_output_filter).
2213 - Flag `--incompatible_restrict_escape_sequences` is added. See
2214 https://github.com/bazelbuild/bazel/issues/8380
2215 - The "info" command now supports the "starlark-semantics"
2216 argument, which outputs a representation of the effective Starlark
2217 semantics option values.
2218 - The `outputs` parameter of the `rule()` function is deprecated
2219 and attached to flag `--incompatible_no_rule_outputs_param`.
2220 Migrate rules to use `OutputGroupInfo` or `attr.output` instead.
2221 See https://github.com/bazelbuild/bazel/issues/7977 for more info.
Bazel Release System7e809492019-07-10 17:50:43 +02002222 - When `--incompatible_strict_action_env` is enabled, the default
2223 `PATH` now includes `/usr/local/bin`.
2224 - Turn on --experimental_build_setting_api by default for starlark
2225 build settings (see
2226 https://docs.bazel.build/versions/master/skylark/config.html#user-
2227 defined-build-settings for more info)
Bazel Release Systemf4a08032019-07-10 18:11:04 +02002228 - `@bazel_tools//tools/jdk:toolchain_java10` and
2229 `@bazel_tools//tools/jdk:toolchain_java11` are now available to
2230 enable java 10, respectively java 11 language level support.
2231 - The `command` parameter of the `actions.run_shell()` function
2232 will be restricted to only accept strings (and not string
2233 sequences). This check is attached to flag
2234 `--incompatible_run_shell_command_string`. One may migrate by
2235 using the `arguments` parameter of `actions.run()` instead. See
2236 https://github.com/bazelbuild/bazel/issues/5903 for more info.
2237 - Incompatible change
2238 `--incompatible_use_platforms_repo_for_constraints` has been
2239 added. See https://github.com/bazelbuild/bazel/issues/8622 for
2240 details.
2241 - Incompatible change
2242 `--incompatible_use_platforms_repo_for_constraints` has been
2243 added. See https://github.com/bazelbuild/bazel/issues/8622 f...
2244 - Bazel's C++ autoconfiguration now understands `BAZEL_LINKLIBS`
2245 environment variable to specify system libraries that should be
2246 appended to the link command line.
2247 - paths under the execution root starting with "." or "_" will be
2248 re-linked across builds
2249 - execution_log_json_file now allows actions without outputs.
2250 - Labels aapt as deprecated for aapt_version, and heavily endorses
2251 aapt2.
2252 - Update doc links still pointing to cc_binary.features to point to
2253 common features
2254 - Incompatible change
2255 `--incompatible_use_platforms_repo_for_constraints` has been
2256 added. See https://github.com/bazelbuild/bazel/issues/8622 for
2257 details.
2258 RELNOTES:
2259 - --incompatible_disable_nocopts flag has been added. See
2260 https://github.com/bazelbuild/bazel/issues/8706 for details.
2261 - Fixed treatment of <dist:module /> tags in AndroidManifest.xml
2262 - Fixed asset precedence for android_binary rules with aapt2.
2263 - Bazel now officially supports running on CentOS 7.
2264 - The runtime dynamic libraries are no longer in default output
2265 group of cc_binary.
2266 - set the FDOBuildType as CSFDO for binaries built with
2267 --cs_fdo_absolute_path.
2268 - Bazel can now be bootstrapped and built on arm64 platforms
2269 without requiring any flags or patches.
2270 - Fixed treatment of AndroidManifest.xml attributes which contained
2271 XML escaping
2272 - Retire experimental blaze flag
2273 experimental_link_compile_output_separately. The same behavior is
2274 available through the feature dynamic_link_test_srcs.
2275 - --incompatible_load_java_rules_from_bzl was added to forbid
2276 loading the native java rules directly. See more on tracking
2277 issue #8746
2278 - Turn on --experimental_build_setting_api by default for starlark
2279 build settings (see
2280 https://docs.bazel.build/versions/master/skylark/config.html#user-
2281 defined-build-settings for more info)
2282 - Attribute names are going to be restricted and must be
2283 syntactically valid identifiers.
2284 https://github.com/bazelbuild/bazel/issues/6437
Bazel Release System7e809492019-07-10 17:50:43 +02002285 - rule_test: fix Bazel 0.27 regression ("tags" attribute was
2286 ingored, https://github.com/bazelbuild/bazel/issues/8723
2287
Bazel Release Systemf4a08032019-07-10 18:11:04 +02002288This 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 +02002289
Bazel Release System316cb9b2019-07-02 19:45:51 +02002290## Release 0.27.1 (2019-07-02)
2291
2292```
2293Baseline: 8c3b3fba3f68833bd97d3df2db9c48f0539efc3b
2294
2295Cherry picks:
2296
2297 + 123c68daed17b19927372e4df7f7a2256db6b80e:
2298 Warn in more cases of possible Python version mismatch in host
2299 config
2300 + 052167e907373ac7ea43238c3049739f6e94a9d1:
2301 Add a non-strict autodetecting Python toolchain
2302 + 6ef6d879ab69225d54ecab3db847fb4eff33bbeb:
2303 Default java toolchain target
2304 + 50fa3ec27efdd95771c70faa38a4543d4fed44f2:
2305 Fix problems with the non-strict Python toolchain
2306 + e2a626c4f61fe4ceb79a5675d09a6f25ca7b5b22:
2307 Automated rollback of commit
2308 bc6f7cb330bb531f062bb301f3703876051191f5.
2309 + 6efc5b787ad3164cc2fb779c73377695032b4524:
2310 Treat existence of managed directories as a part of repository
2311 dirtiness.
2312 + 3a4be3c93813987a27a97dade3f9ebbc5770e349:
2313 Add /usr/local/bin to default PATH under strict action env
2314 + 5c1005c0947b010ee36ca851b8ba07c9479cf682:
2315 Automated rollback of commit
2316 536a166270590a8dbc701718550383f3a07cc763.
2317 + c82eb4878c7dc829455caeb915affe36c89df06f:
2318 Release 0.27.0 (2019-06-17)
2319 + d4589630428c1c1bc08a9baf36257e636fe9d746:
2320 Check for both :lcov_merger and $lcov_merger attributes in
2321 TestActionBuilder.
2322```
2323
2324Important changes:
2325
2326 - Add new options --cs_fdo_absolute_path= to support the absolute
2327 path
2328 profile for LLVM's context-sensitive FDO.
2329 - When `--incompatible_strict_action_env` is enabled, the default
2330 `PATH` now includes `/usr/local/bin`.
2331 - Turn on --experimental_build_setting_api by default for starlark
2332 build settings (see
2333 https://docs.bazel.build/versions/master/skylark/config.html#user-
2334 defined-build-settings for more info)
2335
2336This release contains contributions from many people at Google, as well as Ricky Pai.
2337
Bazel Release Systemaecb1e82019-06-17 14:57:36 +02002338## Release 0.27.0 (2019-06-17)
Bazel Release Systeme6976fb2019-06-06 13:01:57 +02002339
2340```
Bazel Release Systemaecb1e82019-06-17 14:57:36 +02002341Baseline: 5935259724bebd1c4bdebc90e159d0f655c8c219
Bazel Release Systeme6976fb2019-06-06 13:01:57 +02002342
2343Cherry picks:
2344
Bazel Release Systemaecb1e82019-06-17 14:57:36 +02002345 + fe81b49e727efdcc90a270520af193af75f4e31d:
2346 Support of using the absolute path profile for LLVM's Context
2347 Sensitive FDO
2348 + ce5e7180d98e1244fdfba0349952727826cbd173:
2349 Demote OptionProcessor from globals
2350 + 3ed9d3681c3e130aafcf3c405ff1795c601bdf95:
2351 Properly wire up BES half-close. The lack thereof was a simple
2352 oversight.
2353 + 4ca768e9f87701fb92598d0a8325a5fc8881a852:
2354 standardize graph output indentation with 2 spaces
2355 + aff189a7c514a0171a53a2dcdd37c93ecaa672ad:
2356 Make sure default Linux artifacts have an associated action,
2357 even when artifact names are altered.
2358 + 8c3b3fba3f68833bd97d3df2db9c48f0539efc3b:
2359 Failures early in package loading will now fail all --keep_going
2360 builds.
2361 + 123c68daed17b19927372e4df7f7a2256db6b80e:
2362 Warn in more cases of possible Python version mismatch in host
2363 config
2364 + 052167e907373ac7ea43238c3049739f6e94a9d1:
2365 Add a non-strict autodetecting Python toolchain
2366 + 6ef6d879ab69225d54ecab3db847fb4eff33bbeb:
2367 Default java toolchain target
2368 + 50fa3ec27efdd95771c70faa38a4543d4fed44f2:
2369 Fix problems with the non-strict Python toolchain
2370 + e2a626c4f61fe4ceb79a5675d09a6f25ca7b5b22:
2371 Automated rollback of commit
2372 bc6f7cb330bb531f062bb301f3703876051191f5.
2373 + 6efc5b787ad3164cc2fb779c73377695032b4524:
2374 Treat existence of managed directories as a part of repository
2375 dirtiness.
2376 + 3a4be3c93813987a27a97dade3f9ebbc5770e349:
2377 Add /usr/local/bin to default PATH under strict action env
2378 + 5c1005c0947b010ee36ca851b8ba07c9479cf682:
2379 Automated rollback of commit
2380 536a166270590a8dbc701718550383f3a07cc763.
Bazel Release Systeme6976fb2019-06-06 13:01:57 +02002381```
2382
Bazel Release Systemaecb1e82019-06-17 14:57:36 +02002383Incompatible changes:
2384
2385 - --incompatible_disable_objc_provider_resources no longer has
2386 effect. Use of deprecated resource fields on the Objc provider is
2387 now disallowed regardless of this flag.
2388 - deleted deprecated --experimental-remote-retry* flags, please use
2389 --remote_retries instead
2390 - flipped --incompatible_list_based_execution_strategy_selection
2391 flag to be true by default. See
2392 https://github.com/bazelbuild/bazel/issues/7480 for details.
2393 - Octal integer literals in Starlark are required to start with
2394 "Oo".
2395 - The "native" module is no longer available in BUILD files, all
2396 its members can be accessed directly as global symbols. This can
2397 be temporarily reverted by providing
2398 --incompatible_disallow_native_in_build_file=false as a flag to
2399 Blaze.
2400 - The "native" module is no longer available in BUILD files, all
2401 its members can be accessed directly as global symbols. This can
2402 be temporarily reverted by providing
2403 --incompatible_disallow_native_in_build_file=false as a flag to
2404 Blaze.
2405 - Turn off binary style profile format.
2406 - The "native" module is no longer available in BUILD files, all
2407 its members can be accessed directly as global symbols. This can
2408 be temporarily reverted by providing
2409 --incompatible_disallow_native_in_build_f...
2410 - cleanup that affects user provided apple frameworks is
2411 now enabled by default. See
2412 https://github.com/bazelbuild/bazel/issues/7944 for more info.
2413 - Python rules now determine the Python runtime using toolchains
2414 rather than `--python_top` and `--python_path`, which are
2415 deprecated. See
2416 [#7899](https://github.com/bazelbuild/bazel/issues/7899) for
2417 information on declaring Python toolchains and migrating your
2418 code. As a side-benefit, this addresses
2419 [#4815](https://github.com/bazelbuild/bazel/issues/4815)
2420 (incorrect interpreter version used) on non-Windows platforms.
2421 Note however that some builds break due to getting the version
2422 they asked for -- consider setting `python_version = "PY2"` on
2423 Python 2 targets and `--host_force_python=PY2` if any Python 2
2424 targets are used in the host configuration. You can temporarily
2425 opt out of this change with
2426 `--incompatible_use_python_toolchains=false`.
2427 - Depsets can't be iterated over unless they're converted to lists
2428 using the .to_list() method. Use
2429 --incompatible_depset_is_not_iterable=false to
2430 temporarily restore the previous behaviour.
2431
2432New features:
2433
2434 - Bash, runfiles: the copy-pasted init code of the Bash runfiles
2435 library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
2436 The rlocation() implementation is the same.
2437 - Bash, runfiles: the copy-pasted init code of the Bash runfiles
2438 library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
2439 The rlocation() implementation is the same.
2440 - Bash, runfiles: the copy-pasted init code of the Bash runfiles
2441 library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
2442 To use the new init code, you need Bazel 0.27 or newer. The old
2443 (longer) init code still works.
2444
2445Important changes:
2446
2447 - The `outputs` parameter of the `rule()` function is deprecated
2448 and attached to flag `--incompatible_no_rule_outputs_param`.
2449 Migrate rules to use `OutputGroupInfo` or `attr.output` instead.
2450 See https://github.com/bazelbuild/bazel/issues/7977 for more info.
2451 - The --incompatible_disable_objc_library_resources flag is being
2452 removed. Please remove it from your configs as it otherwise will
2453 fail the build.
2454 - Add a generic additional_linker_inputs attribute on cc_binary
2455 rules.
2456 - Windows, C++ autoconfigure: BAZEL_VC and BAZEL_VS may now have
2457 quotes, so if you set these envvars' values in cmd.exe via
2458 TAB-completion then you no longer need to remove the surrounding
2459 quotes.
2460 - pkg_deb has new attributes: `config` and `templates` that can be
2461 used for integration with debconf
2462 - Allow cc_import() of a DLL with no interface library on Windows,
2463 used to document runtime dependencies.
2464 - All host-configured Python tools that are built for the wrong
2465 Python version will now emit a warning message when they exit
2466 with non-zero status. See #7899.
2467 - deprecated --remote_local_fallback_strategy. Use
2468 `--strategy=remote,local` instead. See
2469 https://github.com/bazelbuild/bazel/issues/7480.
2470 - Introduce --incompatible_disable_native_android_rules flag
2471 - The Android desugaring actions now support a persistent worker
2472 mode for faster local build performance. Enable it with
2473 `--strategy=Desugar=worker`.
2474 - --incompatible_static_name_resolution_in_build_files is now
2475 enabled by default
2476 - --incompatible_disable_deprecated_attr_params is now enabled by
2477 default (#5818)
2478 - Repository containing autoconfigured C++ toolchain
2479 `@local_config_cc` has been split in 2 - see
2480 `local_config_cc_toolchains`.
2481 - --incompatible_string_join_requires_strings is now enabled by
2482 default
2483 - Flag --incompatible_new_actions_api is enabled by dewfault (#5825)
2484 - New flag `--incompatible_disallow_empty_glob`. See
2485 https://github.com/bazelbuild/bazel/issues/8195
2486 - --incompatible_no_kwargs_in_build_files is enabled by default
2487 - Incompatible flag
2488 `--incompatible_require_ctx_in_configure_features` has been
2489 flipped. See https://github.com/bazelbuild/bazel/issues/7793 for
2490 more information.
2491 - `BAZEL_USE_XCODE_TOOLCHAIN=1` tells Bazel not to look for Xcode to
2492 decide whether to enable toolchains for Apple rules, but to
2493 assume Xcode is
2494 available. Can be also used when building on Darwin and no C++ or
2495 ObjC is being
2496 built, so there is no need to detect Xcode.
2497 - Android desugaring actions now use persistent workers by default.
2498 This has been measured to provide up to 20% reduction in build
2499 times. To disable it, use the `--strategy=Desugar=sandboxed`
2500 flag. See https://github.com/bazelbuild/bazel/issues/8342 and
2501 https://github.com/bazelbuild/bazel/issues/8427 for more details
2502 on local build speed optimization for Android apps.
2503 - Fixed an issue with Android builds where `--fat_apk_cpu` doesn't
2504 pack all selected shared libraries from `aar_import` targets into
2505 the APK. See
2506 [#8283](https://github.com/bazelbuild/bazel/issues/8283).
2507 - Turn on --experimental_starlark_config_transitions by default for
2508 starlark transitions (see
2509 https://docs.bazel.build/versions/master/skylark/config.html#user-
2510 defined-transitions for more info)
2511 - Turn on --experimental_build_setting_api by default for starlark
2512 build settings (see
2513 https://docs.bazel.build/versions/master/skylark/config.html#user-
2514 defined-build-settings for more info)
2515 - Incompatible flag
2516 `--incompatible_dont_enable_host_nonhost_crosstool_features` has
2517 been flipped. See https://github.com/bazelbuild/bazel/issues/7407
2518 for more information.
2519 - Added support for Android NDK 19 and 20.
2520 - Flip --incompatible_no_support_tools_in_action_inputs
2521 - --remote_executor, --remote_cache or --bes_backend=someurl.com
2522 would be treated as grpcs://someurl.com, if the
2523 --incompatible_tls_enabled_removed flag enabled. See
2524 https://github.com/bazelbuild/bazel/issues/8061 for details.
2525 - Add new options --cs_fdo_absolute_path= to support the absolute
2526 path
2527 profile for LLVM's context-sensitive FDO.
2528 - When `--incompatible_strict_action_env` is enabled, the default
2529 `PATH` now includes `/usr/local/bin`.
2530 - Turn on --experimental_build_setting_api by default for starlark
2531 build settings (see
2532 https://docs.bazel.build/versions/master/skylark/config.html#user-
2533 defined-build-settings for more info)
2534
2535This 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 +02002536
Klaus Aehligc84f7d32019-06-17 15:26:27 +02002537## Release 0.26.1 (2019-06-06)
2538
2539```
2540Baseline: cb82ed84d44db0169a8fbf15f9cee434b77002bb
2541
2542Cherry picks:
2543
2544 + d1c0d205945f5a765efb0a48593b1cd82699ce32:
2545 Allow WORKSPACE file to be a symlink if no managed directories
2546 is used.
2547 + c3d2aa74ccd23dfb8a8173c2b3e2955f0c5892cb:
2548 Fix ios, tvos and watchos arm64 constraints
2549 + 55e42052a22a60b68d88a89932b2a068311b1a95:
2550 Bump java_tools_javac10 from 3.1 to 3.2
2551```
2552
2553Patch release on top of 0.26.0, fixing
2554- https://github.com/bazelbuild/bazel/issues/8475
2555- https://github.com/bazelbuild/bazel/issues/8520
2556- https://github.com/bazelbuild/intellij/issues/845
2557
Bazel Release System8089b272019-05-28 10:31:53 +02002558## Release 0.26.0 (2019-05-28)
Bazel Release System48845c32019-05-23 15:21:53 -04002559
2560```
Bazel Release System8089b272019-05-28 10:31:53 +02002561Baseline: daa8ae565ab2023e49134f0aad233b0a8bd7a5d0
Bazel Release System48845c32019-05-23 15:21:53 -04002562
2563Cherry picks:
2564
Bazel Release System8089b272019-05-28 10:31:53 +02002565 + 61c7ffa60ae9c1937dd6d8ee30a8c0471094ee71:
2566 Automated rollback of commit
2567 87388e24814b177f54ca7697b4233489f90c587e.
2568 + 898d7b6138af73f03daf35b767d252560087de70:
2569 Add test for repository overrides, conflicting with managed
2570 directories being added when Bazel server is already started.
2571 + c2001a4569483596d9dc74ba9cabcbe4b6f1887f:
2572 Automated rollback of commit
2573 bbe47a1564a832e1a175206f2dfbc92af94c120b.
2574 + e67c961905792cd63950c6f6efc33275ad243c49:
2575 Fix a non-determinism in create_embedded_tools.py.
Bazel Release System48845c32019-05-23 15:21:53 -04002576 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
2577 Remove unsupported cpu attribute from cc_toolchains.
Bazel Release System8089b272019-05-28 10:31:53 +02002578 + 597e289b097d3bfed8eea1cb0924bbeb04877e42:
2579 remote: made CombinedCache a composition of Disk and Http Cache
2580 + 942f7cf6a0da0a4ecc804615424f039e50963933:
2581 C++: Fixes bug in C++ API with external repo aspects
Bazel Release System48845c32019-05-23 15:21:53 -04002582 + 85a5a2bd569a5274950fc7327a044c395248c024:
2583 Configure @androidsdk//:emulator_x86 and :emulator_arm to point
2584 to the unified emulator binary
Bazel Release System8089b272019-05-28 10:31:53 +02002585 + 9835cb4135503768cdf1161746b95d7969ccb938:
2586 Automated rollback of commit
2587 844e4e297b404d6ff28b818d8150d4b9c47de887.
2588 + c963ba21073b514961946b8b4b45b091f08fdaa1:
2589 Windows, Python: fix arg. esc. also in host config
2590 + a1ea487e0a9e180a36fa4aab57f7c746ddcf367a:
2591 Do not pre-cache changed files under managed directories
2592 + 7dc78cdd04eedf2f4373b170053ba5fc2a990929:
2593 Add explicit execution and target constraints for autodiscovered
2594 cc t?
2595 + dd9ac13f7e3b71bdf2eca717bc7681bdd12389a2:
2596 Fix a bug when a relative path is used for the execution log
Bazel Release System48845c32019-05-23 15:21:53 -04002597 + 0ff19c6d0adf3c0df94fff59ca3bd13cbcf99897:
2598 Fix StandaloneTestStrategy.appendStderr
Bazel Release System8089b272019-05-28 10:31:53 +02002599 + 7f495315749478e75a3424726cc273a535b7c3b8:
2600 Fix the autodetecting Python toolchain on Mac
2601 + ddce7235ef29a0aba727c265eae865d15af4ed09:
2602 Avoid exporting PATH unnecessarily
2603 + 35dd05a059fa7fddfdd888cfc69102994e3c04dc:
2604 Allow Starlark rules to be able to use the `exec_compatible_with`
Bazel Release System48845c32019-05-23 15:21:53 -04002605```
2606
Klaus Aehlig63bf1152019-05-28 10:41:12 +02002607### Incompatible changes
2608
2609- [`--incompatible_windows_escape_jvm_flags`](https://github.com/bazelbuild/bazel/issues/7486)
2610 is enabled by default, and removed.
2611
2612- [`--incompatible_windows_style_arg_escaping`](https://github.com/bazelbuild/bazel/issues/7454)
2613 is enabled by default.
2614
2615- [`--incompatible_no_output_attr_default`](https://github.com/bazelbuild/bazel/issues/7950)
2616 is enabled by default.
2617
2618- [`--incompatible_depset_union`](https://github.com/bazelbuild/bazel/issues/5817)
2619 is enabled by default.
2620
2621- [`--incompatible_disable_genrule_cc_toolchain_dependency`](https://github.com/bazelbuild/bazel/issues/6867) removed
2622
2623- [`--Incompatible_disallow_rule_execution_platform_constraints_allowed`](https://github.com/bazelbuild/bazel/issues/8136):
2624 When enabled, disallows the use of the `execution_platform_constraints_allowed`
2625 attribute when defining new rules.
2626
2627- [`--incompatible_disable_objc_provider_resources`](https://github.com/bazelbuild/bazel/issues/5710)
2628 is now enabled by default.
2629
2630### Apple
2631
2632- The `--ios_multi_cpus`, `--watchos_cpus`, `--macos_cpus` and `--tvos_cpus` are
2633 now additive. This means that you can now split the `--ios_multi_cpus=arm64,armv7`
2634 into `--ios_multi_cpus=arm64` and `--ios_multi_cpus=armv7`.
2635
2636- Add `--incompatible_objc_framework_cleanup` to control whether to enable some
2637 objc framework cleanup that changes the API. Specifically, the cleanup changes
2638 the objc provider API pertaining to frameworks. This change is expected to be
2639 transparent to most users unless they write their own Starlark rules to handle
2640 frameworks. See https://github.com/bazelbuild/bazel/issues/7594 for details.
2641
2642- `objc_library` does not support resource attributes any more. Please read
2643 [#7594](https://github.com/bazelbuild/bazel/issues/7594) for more info.
2644
2645### Android
2646
2647- Android resource conflicts will no longer be reported between a strong attr
2648 resource and a weak attr resource, if the weak attr does not have format
2649 specified.
2650
2651### C++
2652
2653- [Allow debugging C++ features logic](https://github.com/bazelbuild/bazel/commit/53156db1e30fe7197889c3cbc8d1321ff9b85143
2654
2655- Add new options [`--cs_fdo_instrument`](https://docs.bazel.build/versions/master/command-line-reference.html#flag--cs_fdo_instrument)
2656 and [`--cs_fdo_profile`](https://docs.bazel.build/versions/master/command-line-reference.html#flag--cs_fdo_profile)
2657 to support LLVM's context-sensitive FDO (CSFDO).
2658
2659- [Bazel C++ compile/link Starlark API](https://github.com/bazelbuild/bazel/issues/4570).
2660 Can be used with experimental flag `--experimental_cc_skylark_api_enabled_packages`.
2661
2662- `cc_toolchain.static_runtime_lib` and `cc_toolchain.dynamic_runtime_lib` are
2663 now exposed to Starlark.
2664
2665- C++ Starlark API for compilation and linking is no longer whitelisted
2666
2667- Incompatible flag `--incompatible_make_thinlto_command_lines_standalone` has
2668 been added. See https://github.com/bazelbuild/bazel/issues/6791 for details.
2669
2670- Feature `disable_whole_archive_for_static_lib` has been added to allow turning
2671 off legacy_whole_archive for individual targets.
2672 https://github.com/bazelbuild/bazel/issues/7362
2673
2674### Python
2675
2676- Fixed an issue where some `py_runtimes` were incompatible with using
2677 `--build_python_zip` ([#5104](https://github.com/bazelbuild/bazel/issues/5104)).
2678
2679### Starlark
2680
2681- The flag [`--incompatible_restrict_named_params`](https://github.com/bazelbuild/bazel/issues/8147)
2682 is added. [Buildifier](https://github.com/bazelbuild/buildtools) will soon be
2683 updated to automatically fix this in your code.
2684
2685- The flag [`--incompatible_no_kwargs_in_build_files`](https://github.com/bazelbuild/bazel/issues/8021)
2686 is added. It fixes a bug where the `**kwarg` notation was allowed in `BUILD`
2687 files.
2688
2689- The flag [`--incompatible_static_name_resolution_in_build_files`](https://github.com/bazelbuild/bazel/issues/8022)
2690 is added. This fixes a bug where invalid code was silently accepted.
2691
2692- The flag [`--incompatible_disallow_old_octal_notation`](https://github.com/bazelbuild/bazel/issues/8059)
2693 is added. It removes a deprecated notation for octal numbers.
2694 [Buildifier](https://github.com/bazelbuild/buildtools) can update your code
2695 automatically.
2696
2697- [`struct.to_proto()`](https://docs.bazel.build/versions/master/skylark/lib/struct.html#to_proto)
2698 can now convert dictionaries into proto3 text message.
2699
2700- The [`glob`](https://docs.bazel.build/versions/master/be/functions.html#glob)
2701 function has a new argument `allow_empty`. When set to `False` (this will be
2702 the default in the future), the glob fails when it doesn't match anything.
2703 Please explicitly set `allow_empty = True` to the globs that need it.
2704
2705### Windows
2706
2707- Windows, Python: the new `--incompatible_windows_escape_python_args` flag
2708 (`false` by default) builds `py_binary` and `py_test` targets with correct
2709 command line argument escaping. Similar to
2710 https://github.com/bazelbuild/bazel/issues/7486 but for `py_*` rules.
2711
2712### Other changes
2713
2714- cquery supports `--output=build`
2715
2716- Generated Go protobufs now depend on `//net/proto2/go:proto_gendeps` instead
2717 of `//net/proto2/go:proto`
2718
2719- Added `--incompatible_remove_binary_profile` to disable the old binary
2720 profiles. Instead use the JSON profile format:
2721 https://docs.bazel.build/versions/master/skylark/performance.html#json-profile
2722
2723- Introducing `--execution_log_binary_file` and `--execution_log_json_file`
2724 that output a stable sorted execution log. They will offer a stable
2725 replacement to `--experimental_execution_log_file`.
2726
2727- New platform_mappings ability to allow gradual flag to platforms/toolchains
2728 migration. See also https://github.com/bazelbuild/bazel/issues/6426
2729
2730- Added support for compiling against fully qualified `R` classes from
2731 `aar_import` dependencies.
2732
2733- `--tls_enabled` flag is deprecated. Please provide `grpcs` as a scheme in
2734 the URLs if TLS should be used for a remote connection.
2735
2736### Community
2737
2738- Alex Eagle gave a talk at ng-conf:
2739 [The Bazel Opt-in Preview is Here!](https://www.youtube.com/watch?v=J1lnp-nU4wM)
2740
2741- The latest release of
2742 [rules_haskell](https://github.com/tweag/rules_haskell/releases/tag/v0.9)
2743 includes many new improvements, including an initial Windows support.
2744
2745- The latest
2746 [Buildifier release](https://github.com/bazelbuild/buildtools/releases/tag/0.25.1)
2747 includes Windows binaries, as well as a JSON output for diagnostics.
2748
2749- Natan Silnitsky gave the talk
2750 [How to successfully migrate to Bazel from Maven or Gradle](https://www.youtube.com/watch?v=2UOFm-Cc_cU)
2751 at the Java Eastern Europe Conference.
2752
2753This release contains contributions from many people at Google, as well as
2754Benjamin Peterson, Brian Topping, clyang82, Dave Lee, George Gensure,, Greg,
2755Guro Bokum, Keith Smiley, Max Vorobev, Michael Hackner, Robert Brown, Robert
2756Sayre, Ryan Beasley, and Yannic.
2757
2758
2759## Release 0.25.3 (2019-05-23)
2760
2761```
2762Baseline: 03662462941953dad23af88693804b8b1d4430b9
2763
2764Cherry picks:
2765
2766 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
2767 Windows: fix native test wrapper's arg. escaping
2768 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
2769 Flip --incompatible_windows_escape_jvm_flags
2770 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
2771 Sort DirectoryNode children to ensure validity.
2772 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
2773 Conditionally use deprecated signature for initWithContentsOfURL
2774 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
2775 Add http_archive entries for testing with various JDK versions.
2776 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
2777 Now that ubuntu1804 uses JDK 11, remove explicit
2778 ubuntu1804_java11 tests.
2779 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
2780 Fix wrong name of ubuntu1804_javabase9 task.
2781 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
2782 Remove @executable_path/Frameworks from rpaths
2783 + 130f86ded1ce84f959f0b78c065211902faed546:
2784 Download stderr/stdout to a temporary FileOutErr
2785 + 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
2786 Release 0.25.0 (2019-05-01)
2787 + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
2788 Add implementation to removed methods to address
2789 https://github.com/bazelbuild/bazel/issues/8226
2790 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
2791 Remove unsupported cpu attribute from cc_toolchains.
2792 + cccced1e7fc7eaf4ba8f2c9d73dbac72b2686df9:
2793 Release 0.25.1 (2019-05-07)
2794 + 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
2795 Use package identifier instead of package name
2796 + 85a5a2bd569a5274950fc7327a044c395248c024:
2797 Configure @androidsdk//:emulator_x86 and :emulator_arm to point
2798 to the unified emulator binary
2799 + 6549ac5bba3eef2b1813b5a75757437383bf38f0:
2800 Release 0.25.2 (2019-05-10)
2801 + 0ff19c6d0adf3c0df94fff59ca3bd13cbcf99897:
2802 Fix StandaloneTestStrategy.appendStderr
2803```
2804
Bazel Release System48845c32019-05-23 15:21:53 -04002805Incompatible changes:
2806
2807 - Flip --incompatible_windows_escape_jvm_flags to true. See
2808 https://github.com/bazelbuild/bazel/issues/7486
2809
Klaus Aehlig63bf1152019-05-28 10:41:12 +02002810This 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 -04002811
Klaus Aehlig63bf1152019-05-28 10:41:12 +02002812## Release 0.25.2 (2019-05-10)
Bazel Release System6549ac52019-05-10 16:44:09 -04002813
Klaus Aehlig63bf1152019-05-28 10:41:12 +02002814```
2815Baseline: 03662462941953dad23af88693804b8b1d4430b9
Bazel Release System6549ac52019-05-10 16:44:09 -04002816
Klaus Aehlig63bf1152019-05-28 10:41:12 +02002817Cherry picks:
Bazel Release System6549ac52019-05-10 16:44:09 -04002818
Klaus Aehlig63bf1152019-05-28 10:41:12 +02002819 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
2820 Windows: fix native test wrapper's arg. escaping
2821 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
2822 Flip --incompatible_windows_escape_jvm_flags
2823 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
2824 Sort DirectoryNode children to ensure validity.
2825 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
2826 Conditionally use deprecated signature for initWithContentsOfURL
2827 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
2828 Add http_archive entries for testing with various JDK versions.
2829 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
2830 Now that ubuntu1804 uses JDK 11, remove explicit
2831 ubuntu1804_java11 tests.
2832 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
2833 Fix wrong name of ubuntu1804_javabase9 task.
2834 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
2835 Remove @executable_path/Frameworks from rpaths
2836 + 130f86ded1ce84f959f0b78c065211902faed546:
2837 Download stderr/stdout to a temporary FileOutErr
2838 + 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
2839 Release 0.25.0 (2019-05-01)
2840 + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
2841 Add implementation to removed methods to address
2842 https://github.com/bazelbuild/bazel/issues/8226
2843 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
2844 Remove unsupported cpu attribute from cc_toolchains.
2845 + cccced1e7fc7eaf4ba8f2c9d73dbac72b2686df9:
2846 Release 0.25.1 (2019-05-07)
2847 + 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
2848 Use package identifier instead of package name
2849 + 85a5a2bd569a5274950fc7327a044c395248c024:
2850 Configure @androidsdk//:emulator_x86 and :emulator_arm to point
2851 to the unified emulator binary
2852```
2853
2854* Add fix for https://github.com/bazelbuild/bazel/issues/8254
2855* Add fix for https://github.com/bazelbuild/bazel/issues/8280
2856
2857## Release 0.25.1 (2019-05-07)
2858
2859```
2860Baseline: 03662462941953dad23af88693804b8b1d4430b9
2861
2862Cherry picks:
2863
2864 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
2865 Windows: fix native test wrapper's arg. escaping
2866 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
2867 Flip --incompatible_windows_escape_jvm_flags
2868 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
2869 Sort DirectoryNode children to ensure validity.
2870 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
2871 Conditionally use deprecated signature for initWithContentsOfURL
2872 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
2873 Add http_archive entries for testing with various JDK versions.
2874 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
2875 Now that ubuntu1804 uses JDK 11, remove explicit
2876 ubuntu1804_java11 tests.
2877 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
2878 Fix wrong name of ubuntu1804_javabase9 task.
2879 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
2880 Remove @executable_path/Frameworks from rpaths
2881 + 130f86ded1ce84f959f0b78c065211902faed546:
2882 Download stderr/stdout to a temporary FileOutErr
2883 + 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
2884 Release 0.25.0 (2019-05-01)
2885 + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
2886 Add implementation to removed methods to address
2887 https://github.com/bazelbuild/bazel/issues/8226
2888 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
2889 Remove unsupported cpu attribute from cc_toolchains.
2890```
2891
2892Adding 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 -04002893
Bazel Release System2ab38662019-05-01 17:41:28 -04002894## Release 0.25.0 (2019-05-01)
2895
2896```
2897Baseline: 03662462941953dad23af88693804b8b1d4430b9
2898
2899Cherry picks:
2900
2901 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
2902 Windows: fix native test wrapper's arg. escaping
2903 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
2904 Flip --incompatible_windows_escape_jvm_flags
2905 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
2906 Sort DirectoryNode children to ensure validity.
2907 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
2908 Conditionally use deprecated signature for initWithContentsOfURL
2909 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
2910 Add http_archive entries for testing with various JDK versions.
2911 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
2912 Now that ubuntu1804 uses JDK 11, remove explicit
2913 ubuntu1804_java11 tests.
2914 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
2915 Fix wrong name of ubuntu1804_javabase9 task.
2916 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
2917 Remove @executable_path/Frameworks from rpaths
2918 + 130f86ded1ce84f959f0b78c065211902faed546:
2919 Download stderr/stdout to a temporary FileOutErr
2920```
2921
2922Incompatible changes:
2923
2924 - (Starlark rules) The legacy "py" provider can no longer be passed
2925 to or produced by native Python rules; use
2926 [PyInfo](https://docs.bazel.build/versions/master/skylark/lib/PyIn
2927 fo.html) instead. See
2928 [#7298](https://github.com/bazelbuild/bazel/issues/7298) for more
2929 information.
2930 - (Python rules) The `default_python_version` attribute of the
2931 `py_binary` and `py_test` rules has been renamed to
2932 `python_version`. Also, the `--force_python` flag has been
2933 renamed to `--python_version`. See
2934 [#7308](https://github.com/bazelbuild/bazel/issues/7308) for more
2935 information.
2936 - (Python rules) The python version now changes to whatever version
2937 is specified in a `py_binary` or `py_test`'s `python_version`
2938 attribute, instead of being forced to the value set by a command
2939 line flag. You can temporarily revert this change with
2940 `--incompatible_allow_python_version_transitions=false`. See
2941 [#7307](https://github.com/bazelbuild/bazel/issues/7307) for more
2942 information.
2943 - --incompatible_disable_third_party_license_checking` is enabled
2944 by default
2945 - Introduced --incompatible_use_python_toolchains, which supersedes
2946 --python_top/--python_path. See #7899 and #7375 for more
2947 information.
2948 - Python 3 is now the default Python version (for `py_binary` and
2949 `py_test` targets that don't specify the `python_version`
2950 attribute). Targets that are built for Python 3 will no longer
2951 have their output put in a separate `-py3` directory; instead
2952 there is now a separate `-py2` directory for Python 2 targets.
2953 See #7359 and #7593 for more information.
2954 - objc_library resource attributes are now disabled by default.
2955 Please migrate them to data instead. See
2956 https://github.com/bazelbuild/bazel/issues/7594 for more info.
2957 - Flip --incompatible_windows_escape_jvm_flags to true. See
2958 https://github.com/bazelbuild/bazel/issues/7486
2959
2960New features:
2961
2962 - genrules now support a $(RULEDIR) variable that resolves to the
2963 directory where the outputs of the rule are put.
2964 - Added --incompatible_windows_native_test_wrapper flag: enables
2965 using the Bash-less test wrapper on Windows. (No-op on other
2966 platforms.)
2967
2968Important changes:
2969
2970 - incompatible_use_jdk11_as_host_javabase: makes JDK 11 the default
2971 --host_javabase for remote jdk
2972 (https://github.com/bazelbuild/bazel/issues/7219)
2973 - Makes genquery somepath output deterministic.
2974 - Tristate attributes of native rules now reject True/False (use
2975 1/0)
2976 - Rollback of "Tristate attributes of native rules now reject
2977 True/False (use 1/0)"
2978 - Tristate attributes of native rules now reject True/False (use
2979 1/0)
2980 - Added -incompatible_do_not_split_linking_cmdline flag. See #7670
2981 - Tristate attributes of native rules now temporarily accept
2982 True/False again
2983 - `--incompatible_disable_legacy_crosstool_fields` has been flipped
2984 (https://github.com/bazelbuild/bazel/issues/6861)
2985 `--incompatible_disable_expand_if_all_available_in_flag_set` has
2986 been flipped (https://github.com/bazelbuild/bazel/issues/7008)
2987 - `--incompatible_disable_legacy_crosstool_fields` has been flipped
2988 (https://github.com/bazelbuild/bazel/issues/6861)
2989 `--incompatible_disable_expand_if_all_available_in_flag_set...
2990 RELNOTES: None.
2991 - --incompatible_no_transitive_loads is enabled by default.
2992 - Makes TreeArtifact deterministic.
2993 - --incompatible_no_transitive_loads is enabled by default.
2994 - Android NDK C++ toolchain is now configured in Starlark. This
2995 should be a backwards compatible change, but in case of bugs
2996 blame unknown commit.
2997 - `--incompatible_disable_legacy_crosstool_fields` has been flipped
2998 (https://github.com/bazelbuild/bazel/issues/6861)
2999 `--incompatible_disable_expand_if_all_available_in_flag_set` has
3000 been flipped (https://github.com/bazelbuild/bazel/issues/7008)
3001 - --incompatible_no_transitive_loads is enabled by default.
3002 - --incompatible_bzl_disallow_load_after_statement is enabled
3003 - Added `--incompatible_require_ctx_in_configure_features`, see
3004 https://github.com/bazelbuild/bazel/issues/7793 for details.
3005 - Flag --incompatible_merge_genfiles_directory is flipped. This
3006 removes the directory `bazel-genfiles` in favor of `bazel-bin`.
3007 - previously deprecated flag --experimental_remote_spawn_cache was
3008 removed
3009 - `--incompatible_disallow_load_labels_to_cross_package_boundaries`
3010 is enabled by default
3011 - Fix an issue where the Android resource processor did not surface
3012 errors from aapt2 compile and link actions.
3013 - --incompatible_no_attr_license is enabled by default
3014 - `--incompatible_disable_crosstool_file` has been flipped
3015 (https://github.com/bazelbuild/bazel/issues/7320)
3016 - A new flag `--incompatible_string_join_requires_strings` is
3017 introduced. The sequence argument of `string.join` must contain
3018 only string elements.
3019 - --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
3020 s_tree has been flipped
3021 - Incompatible flag `--incompatible_disable_legacy_cc_provider` has
3022 been flipped (see https://github.com/bazelbuild/bazel/issues/7036
3023 for details).
3024 - Don't drop the analysis cache when the same --define flag is set
3025 multiple times and the last value is the same (e.g. if the
3026 current invocation was run with "--define foo=bar" and the
3027 previous one was run with "--define foo=baz --define foo=bar").
3028 - The --incompatible_disable_genrule_cc_toolchain_dependency flag
3029 has been flipped (see
3030 https://github.com/bazelbuild/bazel/issues/6867 for details).
3031 - Incompatible change
3032 `--incompatible_remove_cpu_and_compiler_attributes_from_cc_toolcha
3033 in` has been flipped (see
3034 https://github.com/bazelbuild/bazel/issues/7075 for details).
3035 - --noexperimental_java_coverage is a no-op flag.
3036 - --experimental_java_coverage/--incompatible_java_coverage flag was
3037 removed. See #7425.
3038 - incompatible_use_toolchain_providers_in_java_common: pass
3039 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
3040 APIs instead of configured targets
3041 (https://github.com/bazelbuild/bazel/issues/7186.)
3042 - --incompatible_remote_symlinks has been flipped. The remote
3043 caching and execution protocol will now represent symlinks in
3044 outputs as such. See
3045 https://github.com/bazelbuild/bazel/issues/7917 for more details.
3046 - Bazel is now ~20MiB smaller, from unbundling the Android rules'
3047 runtime dependencies.
3048
3049This 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, ??.
3050
Bazel Release System7f8bc5f2019-04-02 12:26:16 -04003051## Release 0.24.1 (2019-04-02)
3052
3053```
3054Baseline: 235e76b0e756d05599a6cbe1663ff8e13df84a86
3055
3056Cherry picks:
3057
3058 + badd82e4c5cda7b3232481e1c63a5550ac898cd8:
3059 Automated rollback of commit
3060 1b4c37c38804559b5c1ade6f9c93501875e231b0.
3061 + 33e571939085dd158422e1b3503cfc738e0a3165:
3062 Fix the Python version select() mechanism to handle
3063 PY3-as-default
3064 + 56366ee3a73e2c92b2fa36a9840478202b9618ca:
3065 Set non-empty values for msvc_env_* when VC not installed
3066 + 22b3fbf4800113df51d603d943bd9eb9517ef904:
3067 Windows, test wrapper: fix broken integration test
3068 + f14d447cb56aee563f6e686b8f5b086a3bb55d47:
3069 Add whitelist file for starlark transitions
3070 + d99bc478db1f3414b4f6cd3dc14ca70aacf6b375:
3071 Update BUILD
3072 + 3529ad7ccf0c26dfb20a9d67b9d96de15f309f8b:
3073 Rename tools/function_transition_whitelist/BUILD to
3074 tools/whitelists/function_transition_whitelist/BUILD
3075 + de0612ad3ef7cc8c44069261befdeb0d15b97c10:
3076 Update bazel_toolchains to latest release and add toolchain
3077 config target for BuildKite CI (rbe_ubuntu1604)
3078 + 3e660ad178926648e8e10e2ee7a1a30b12f9b3d1:
3079 Automated rollback of commit
3080 087734009801242b83655efb863b2d5a761ae3dc.
3081 + 314cf1f9e4b332955c4800b2451db4e926c3e092:
3082 Pass -undefined dynamic_lookup to dynamic library linking
3083 actions on Mac
3084 + fc586a86b614667a21e5a01aea3544ac0338de78:
3085 Move cc_flags target into @bazel_tools//tools/cpp.
3086 + ea1703b30f9ac43a0c3262f5729c34658ed8d473:
3087 C++: Fix crash reported in #7721
3088 + 803801d1494f06f0ce977a1f2241ef6a4d85df09:
3089 Pass execution info to xml generating spawn. Fixes #7794
3090 + f092ec388a4b58788285b928c86f0f81561d4be4:
3091 Release 0.24.0 (2019-03-26)
3092 + c56c489119e6587975964c44ceb9e429ad950736:
3093 Wrap StatusRuntimeExceptions from GrpcRemoteCache
3094```
3095
3096Baseline: f092ec388a4b58788285b928c86f0f81561d4be4
3097
3098Cherrypicks:
3099+ c56c489119e6587975964c44ceb9e429ad950736: Wrap StatusRuntimeExceptions from GrpcRemoteCache
3100
Bazel Release System4f5c17c2019-03-26 12:08:43 -04003101## Release 0.24.0 (2019-03-26)
Bazel Release System0e4525f2019-03-11 17:43:39 +01003102
3103```
Bazel Release System4f5c17c2019-03-26 12:08:43 -04003104Baseline: 235e76b0e756d05599a6cbe1663ff8e13df84a86
Bazel Release System0e4525f2019-03-11 17:43:39 +01003105
3106Cherry picks:
3107
Bazel Release System4f5c17c2019-03-26 12:08:43 -04003108 + badd82e4c5cda7b3232481e1c63a5550ac898cd8:
3109 Automated rollback of commit
3110 1b4c37c38804559b5c1ade6f9c93501875e231b0.
3111 + 33e571939085dd158422e1b3503cfc738e0a3165:
3112 Fix the Python version select() mechanism to handle
3113 PY3-as-default
Bazel Release System0e4525f2019-03-11 17:43:39 +01003114 + 56366ee3a73e2c92b2fa36a9840478202b9618ca:
3115 Set non-empty values for msvc_env_* when VC not installed
Bazel Release System4f5c17c2019-03-26 12:08:43 -04003116 + 22b3fbf4800113df51d603d943bd9eb9517ef904:
3117 Windows, test wrapper: fix broken integration test
3118 + f14d447cb56aee563f6e686b8f5b086a3bb55d47:
3119 Add whitelist file for starlark transitions
3120 + d99bc478db1f3414b4f6cd3dc14ca70aacf6b375:
3121 Update BUILD
3122 + 3529ad7ccf0c26dfb20a9d67b9d96de15f309f8b:
3123 Rename tools/function_transition_whitelist/BUILD to
3124 tools/whitelists/function_transition_whitelist/BUILD
3125 + de0612ad3ef7cc8c44069261befdeb0d15b97c10:
3126 Update bazel_toolchains to latest release and add toolchain
3127 config target for BuildKite CI (rbe_ubuntu1604)
3128 + 3e660ad178926648e8e10e2ee7a1a30b12f9b3d1:
3129 Automated rollback of commit
3130 087734009801242b83655efb863b2d5a761ae3dc.
3131 + 314cf1f9e4b332955c4800b2451db4e926c3e092:
3132 Pass -undefined dynamic_lookup to dynamic library linking
3133 actions on Mac
3134 + fc586a86b614667a21e5a01aea3544ac0338de78:
3135 Move cc_flags target into @bazel_tools//tools/cpp.
3136 + ea1703b30f9ac43a0c3262f5729c34658ed8d473:
3137 C++: Fix crash reported in #7721
3138 + 803801d1494f06f0ce977a1f2241ef6a4d85df09:
3139 Pass execution info to xml generating spawn. Fixes #7794
Bazel Release System0e4525f2019-03-11 17:43:39 +01003140```
3141
Bazel Release System4f5c17c2019-03-26 12:08:43 -04003142Incompatible changes:
Bazel Release System0e4525f2019-03-11 17:43:39 +01003143
Bazel Release System4f5c17c2019-03-26 12:08:43 -04003144 - Added --incompatible_py3_is_default to test switching the default
3145 Python version to PY3 for py_binary/py_test targets that do not
3146 specify a version. See #7359.
3147 - //tools/cmd_line_differ has been renamed to //tools/aquery_differ
3148 & can now compare (in addition to command lines) inputs of
3149 actions given 2 aquery results.
3150 - java_(mutable_|)proto_library: removed strict_deps attribute.
3151 - The flag --incompatible_list_based_execution_strategy_selection
3152 was added and is used to ease the migration to the new style of
3153 specifying
3154 execution strategy selection and fallback behavior. The
3155 documentation for
3156 this flag is here: https://github.com/bazelbuild/bazel/issues/7480
3157 - Added --incompatible_py2_outputs_are_suffixed, for switching the
3158 bazel-bin symlink to point to Python 3 outputs instead of Python
3159 2 outputs. See
3160 [#7593](https://github.com/bazelbuild/bazel/issues/7593).
Bazel Release Systemf28ff222019-03-04 11:12:24 +01003161
Bazel Release System4f5c17c2019-03-26 12:08:43 -04003162New features:
Bazel Release Systemf28ff222019-03-04 11:12:24 +01003163
Bazel Release System4f5c17c2019-03-26 12:08:43 -04003164 - Make actions.args() object chainable.
3165 - Added --incompatible_windows_style_arg_escaping flag: enables
3166 correct subprocess argument escaping on Windows. (No-op on other
3167 platforms.)
3168 - Added --incompatible_windows_escape_jvm_flags flag: enables
3169 correct java_binary.jvm_flags and java_test.jvm_flags
3170 tokenization and escaping on Windows. (No-op on other platforms.)
Bazel Release Systemf28ff222019-03-04 11:12:24 +01003171
Bazel Release System4f5c17c2019-03-26 12:08:43 -04003172Important changes:
Bazel Release Systemf28ff222019-03-04 11:12:24 +01003173
Bazel Release System4f5c17c2019-03-26 12:08:43 -04003174 - Allow running aquery against the current state of Skyframe
3175 - Added support for the "navigation" resource directory to Android
3176 resource processing in Bazel. This is used by the Navigation
3177 Architecture Component.
3178 - --incompatible_disable_runtimes_filegroups was flipped
3179 (https://github.com/bazelbuild/bazel/issues/6942)
3180 - Incompatible flag `--incompatible_linkopts_in_user_link_flags`
3181 has been flipped (https://github.com/bazelbuild/bazel/issues/6826)
3182 - Incompatible flag `--incompatible_dont_emit_static_libgcc` has
3183 been flipped (https://github.com/bazelbuild/bazel/issues/6825)
3184 - --incompatible_disallow_filetype is enabled by default.
3185 - Fixed issue where exceptions and stacktraces were silently
3186 swallowed in the Android resource processing pipeline.
3187 - `--incompatible_disable_expand_if_all_available_in_flag_set` has
3188 been flipped (https://github.com/bazelbuild/bazel/issues/7008)
3189 - --incompatible_disallow_dict_plus is enabled by default
3190 - Adds --incompatible_disable_objc_library_resources to disable
3191 resource attributes in objc_library. Please migrate these
3192 attributes to `data` instead.
3193 - --incompatible_disallow_old_style_args_add is enabled by default.
3194 - Using the `native` module in BUILD files is deprecated. It will
3195 be forbidden with --incompatible_disallow_native_in_build_file.
3196 - (Python rules) PyRuntimeInfo is exposed to Starlark, making it
3197 possible for Starlark rules to depend on or imitate `py_runtime`.
3198 The `files` attribute of `py_runtime` is no longer mandatory.
3199 - incompatible_use_toolchain_providers_in_java_common: pass
3200 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
3201 APIs instead of configured
3202 targetshttps://github.com/bazelbuild/bazel/issues/7186.
3203 - is_using_fission crosstool variable is now exposed in all compile
3204 actions when fission is active (it used to be exposed only for
3205 linking actions).
3206 - incompatible_use_toolchain_providers_in_java_common: pass
3207 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
3208 APIs instead of configured
3209 targetshttps://github.com/bazelbuild/bazel/issues/7186.
3210 - `py_runtime` gains a `python_version` attribute for specifying
3211 whether it represents a Python 2 or 3 interpreter.
3212 - `--incompatible_java_coverage` is enabled by default.
3213 - Starlark rules can safely declare attributes named "licenses"
3214 - When using
3215 --incompatible_list_based_execution_strategy_selection, Bazel
3216 will use remote execution by default (if you specify
3217 --remote_executor), otherwise persistent workers (if the action
3218 supports it), otherwise sandboxed local execution (if the action
3219 and platform supports it) and at last unsandboxed local
3220 execution. The flags --spawn_strategy and --strategy continue to
3221 work as before - this only sets new defaults for the case where
3222 you don't specify these flags.
3223 - Set default value of --incompatible_remap_main_repo to true.
3224 - Set default value of --incompatible_remap_main_repo to true.
3225
3226This 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 +01003227
Bazel Release Systemed104862019-02-26 18:36:00 +01003228## Release 0.23.0 (2019-02-26)
3229
3230```
3231Baseline: 441fd75d0047f8a998d784c557736ab9075db893
3232
3233Cherry picks:
3234
3235 + 6ca7763669728253606578a56a205bca3ea883e9:
3236 Fix a typo
3237 + 2310b1c2c8b2f32db238f667747e7d5672480f4a:
3238 Ignore SIGCHLD in test setup script
3239 + f9eb1b56706f91063e9d080b850fa56964e77324:
3240 Complete channel initialization in the event loop
3241```
3242
3243Incompatible changes:
3244
3245 - //src:bazel uses the minimal embedded JDK, if you want to
3246 avoid the extra steps of minimizing the JDK, use //src:bazel-dev
3247 instead.
3248 - //src:bazel uses the minimal embedded JDK, if you want to
3249 avoid the extra steps of building bazel with the minimized JDK,
3250 use //src:bazel-dev
3251 instead.
3252 - The default value of --host_platform and --platforms will be
3253 changed to not be dependent on the configuration. This means
3254 that setting
3255 --cpu or --host_cpu will not affect the target or host platform.
3256 - Toolchain resolution for cc rules is now enabled via an
3257 incompatible flag, --incompatible_enable_cc_toolchain_resolution.
3258 The previous
3259 flag, --enabled_toolchain_types, is deprecated and will be
3260 removed.
3261 - java_(mutable_|)proto_library: removed strict_deps attribute.
3262 - Python rules will soon reject the legacy "py" struct provider
3263 (preview by enabling --incompatible_disallow_legacy_py_provider).
3264 Upgrade rules to use PyInfo instead. See
3265 [#7298](https://github.com/bazelbuild/bazel/issues/7298).
3266 - java_(mutable_|)proto_library: removed strict_deps attribute.
3267 - Two changes to native Python rules: 1) `default_python_version`
3268 and `--force_python` are deprecated; use `python_version` and
3269 `--python_version` respectively instead. You can preview the
3270 removal of the deprecated names with
3271 --incompatible_remove_old_python_version_api. See
3272 [#7308](https://github.com/bazelbuild/bazel/issues/7308). 2) The
3273 version flag will no longer override the declared version of a
3274 `py_binary` or `py_test` target. You can preview this new
3275 behavior with --incompatible_allow_python_version_transitions.
3276 See [#7307](https://github.com/bazelbuild/bazel/issues/7307).
3277
3278Important changes:
3279
3280 - There is a new flag available
3281 `--experimental_java_common_create_provider_enabled_packages`
3282 that acts as a whitelist for usages of
3283 `java_common.create_provider`. The constructor will be deprecated
3284 in Bazel 0.23.
3285 - [#7024] Allow chaining of the same function type in aquery.
3286 - Introduces --local_{ram,cpu}_resources, which will take the place
3287 of --local_resources.
3288 - [#6930] Add documentation for the aquery command.
3289 - Incompatible flag `--incompatible_dont_emit_static_libgcc` has
3290 been flipped (https://github.com/bazelbuild/bazel/issues/6825)
3291 - Incompatible flag `--incompatible_linkopts_in_user_link_flags`
3292 has been flipped (https://github.com/bazelbuild/bazel/issues/6826)
3293 - Flag --incompatible_range_type is removed.
3294 - Flag --incompatible_disallow_slash_operator is removed.
3295 - Flag --incompatible_disallow_conflicting_providers is removed.
3296 - `--incompatible_disallow_data_transition` is now enabled by
3297 default
3298 - Allow inclusion of param files in aquery output
3299 - [#6985] Add test to verify aquery's behavior for Cpp action
3300 templates.
3301 - --incompatible_require_feature_configuration_for_pic was flipped
3302 (https://github.com/bazelbuild/bazel/issues/7007).
3303 - Also ignore module-info.class in multi-version Jars
3304 - objc_framework has been deleted. Please refer to
3305 apple_dynamic_framework_import and apple_static_framework_import
3306 rules available in
3307 [rules_apple](https://github.com/bazelbuild/rules_apple/blob/maste
3308 r/doc/rules-general.md)
3309 - --test_sharding_strategy=experimental_heuristic is no more
3310 - objc_bundle_library has been removed. Please migrate to
3311 rules_apple's
3312 [apple_resource_bundle](https://github.com/bazelbuild/rules_apple/
3313 blob/master/doc/rules-resources.md#apple_resource_bundle).
3314 - You can now use the attribute `aapt_version` or the flag
3315 `--android_aapt` to pick the aapt version for android_local_test
3316 tests
3317 - In --keep_going mode, Bazel now correctly returns a non-zero exit
3318 code when encountering a package loading error during target
3319 pattern parsing of patterns like "//foo:all" and "//foo/...".
3320 - The default value for --incompatible_strict_action_env has been
3321 flipped to 'false' again, as we discovered breakages for local
3322 execution users. We'll need some more time to figure out the best
3323 way to make this work for local and remote execution. Follow
3324 https://github.com/bazelbuild/bazel/issues/7026 for more details.
3325 - Locally-executed spawns tagged "no-cache" no longer upload their
3326 outputs to the remote cache.
3327 - Introduces --host_compiler flag to allow setting a compiler for
3328 host compilation when --host_crosstool_top is specified.
3329 - --incompatible_expand_directories is enabled by default
3330 - [aquery] Handle the case of aspect-on-aspect.
3331 - Fixed a longstanding bug in the http remote cache where the value
3332 passed to
3333 --remote_timeout would be interpreted as milliseconds instead of
3334 seconds.
3335 - Enable --incompatible_use_jdk10_as_host_javabase by default, see
3336 https://github.com/bazelbuild/bazel/issues/6661
3337 - Add --incompatible_use_jdk11_as_host_javabase: makes JDK 11 the
3338 default --host_javabase for remote jdk
3339 (https://github.com/bazelbuild/bazel/issues/7219)
3340 - Highlight TreeArtifact in aquery text output.
3341 - Locally-executed spawns tagged "no-cache" no longer upload their
3342 outputs to the remote cache.
3343 - java_common APIs now accept JavaToolchainInfo and JavaRuntimeInfo
3344 instead of configured targets for java_toolchain and java_runtime
3345 - cc_common.create_cc_toolchain_config_info is stable and available
3346 for production use
3347 - incompatible_use_toolchain_providers_in_java_common: pass
3348 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
3349 APIs instead of configured targets
3350 (https://github.com/bazelbuild/bazel/issues/7186)
3351 - --incompatible_strict_argument_ordering is enabled by default.
3352 - Bazel now supports reading cache hits from a repository cache,
3353 even if it doesn't have write access to the cache.
3354 - Adding arm64e to OSX CROSSTOOL.
3355 - Ignore package-level licenses on config_setting.
3356 - Add an optional output_source_jar parameter to java_common.compile
3357 - --incompatible_disable_objc_provider_resources is now enabled by
3358 default. This disables ObjcProvider's fields related to resource
3359 processing.
3360 - Explicitly set https.protocols and exclude TLSv1.3.
3361 - Bazel now validates that JAVA_HOME points to a valid JDK and
3362 falls back to auto-detection by looking up the path of `javac`.
3363 - Upgrade the embedded JDK version to 11.0.2.
3364 - Added --incompatible_disable_crosstool_file
3365 (https://github.com/bazelbuild/bazel/issues/7320)
3366 - --incompatible_disable_objc_provider_resources is now enabled by
3367 default. This disables ObjcProvider's fields related to resource
3368 processing.
3369 - --incompatible_disable_tools_defaults_package has been flipped.
3370 - For tests that do not generate a test.xml, Bazel now uses a
3371 separate action to generate one; this results in minor
3372 differences in the generated test.xml, and makes the generation
3373 more reliable overall.
3374 - incompatible_generate_javacommon_source_jar: java_common.compile
3375 now always generates a source jar, see
3376 https://github.com/bazelbuild/bazel/issues/5824.
3377 - New incompatible flag
3378 --incompatible_disallow_struct_provider_syntax removes the
3379 ability for rule implementation functions to return struct. Such
3380 functions should return a list of providers instead. Migration
3381 tracking: https://github.com/bazelbuild/bazel/issues/7347
3382
3383This 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.
3384
Bazel Release System2f82b332019-01-28 13:54:53 +01003385## Release 0.22.0 (2019-01-28)
3386
3387```
3388Baseline: deb028e3fb30b4e2953df16f35ab1f55a08ea8fa
3389
3390Cherry picks:
3391
3392 + a3a5975dca3ad04c19dc7d063fcf490a8cd612fd:
3393 Fix a race condition in remote cache
3394 + b8d0e1b05c225a4b943ce498194d069d18093d9a:
3395 Use a new GitHub token and KMS key for the release process.
3396 + 3759e3895503aa2bbd6943c5b568b8c050b9448f:
3397 remote: fix unexpected IO error (not a directory)
3398 + 4473bb1a9ec4282aa8497b86580d68e82415df4a:
3399 Fix a race condition in Bazel's Windows process management.
3400 + 9137fb940886aa516f32ca8a36feccedb545c99b:
3401 undo flag flip of --incompatible_strict_action_env
3402 + 12ab12e80ad1c9a3510aa4bbfdf3fddafc0bca00:
3403 Revert "Enabling Bazel to generate input symlinks as defined by
3404 RE AP?
3405 + 6345c747d8cb1819e70c853becadbf8a989decf1:
3406 Automated rollback of commit
3407 30536baa4a410d8c0a7adab5cd58cd8a2ac7e46c.
3408```
3409
Bazel Release System2f82b332019-01-28 13:54:53 +01003410
Bazel Release System2f82b332019-01-28 13:54:53 +01003411
Klaus Aehligcb59bd22019-01-28 14:20:37 +01003412The Bazel team is happy to announce a new release of Bazel,
3413[Bazel 0.22.0](https://github.com/bazelbuild/bazel/releases/tag/0.22.0).
Bazel Release System2f82b332019-01-28 13:54:53 +01003414
Klaus Aehligcb59bd22019-01-28 14:20:37 +01003415Baseline: deb028e3fb30b4e2953df16f35ab1f55a08ea8fa
Bazel Release System2f82b332019-01-28 13:54:53 +01003416
Klaus Aehligcb59bd22019-01-28 14:20:37 +01003417### Breaking changes
3418
3419- [`--incompatible_string_is_not_iterable`](https://github.com/bazelbuild/bazel/issues/5830)
3420
3421### Upcoming changes
3422
3423This release is a [migration window for the following changes](https://github.com/bazelbuild/bazel/labels/migration-0.22).
3424
3425- [`--incompatible_disallow_data_transition`](https://github.com/bazelbuild/bazel/issues/6153)
3426- [`--incompatible_dont_emit_static_libgcc`](https://github.com/bazelbuild/bazel/issues/6825)
3427- [`--incompatible_linkopts_in_user_link_flags`](https://github.com/bazelbuild/bazel/issues/6826)
3428- [`--incompatible_disable_legacy_crosstool_fields`](https://github.com/bazelbuild/bazel/issues/6861)
3429- [`--incompatible_use_aapt2_by_default`](https://github.com/bazelbuild/bazel/issues/6907)
3430- [`--incompatible_disable_runtimes_filegroups`](https://github.com/bazelbuild/bazel/issues/6942)
3431- [`--incompatible_disable_legacy_cc_provider`](https://github.com/bazelbuild/bazel/issues/7036)
3432- [`--incompatible_require_feature_configuration_for_pic`](https://github.com/bazelbuild/bazel/issues/7007)
3433- [`--incompatible_disable_expand_if_all_available_in_flag_set`](https://github.com/bazelbuild/bazel/issues/7008)
3434- [`--incompatible_disable_legacy_proto_provider`](https://github.com/bazelbuild/bazel/issues/7152)
3435- [`--incompatible_disable_proto_source_root`](https://github.com/bazelbuild/bazel/issues/7153)
3436
3437### General Changes
3438
3439- https://docs.bazel.build now supports versioned
3440 documentation. Use the selector at the top of the navigation bar
3441 to switch between documentation for different Bazel releases.
3442
3443- set `projectId` in all `PublishBuildToolEventStreamRequest`
3444
3445### Android
3446
3447- mobile-install now works with aapt2. Try it out with `bazel
3448 mobile-install --android_aapt=aapt2 //my:target`
3449
3450- Fixed issues with mobile-install v1 when deploying to Android 9 Pie
3451 devices. https://github.com/bazelbuild/bazel/issues/6814
3452
3453- Fixed issue where error messages from Android manifest merging
3454 actions were not fully propagated.
3455
3456- New incompatible change flag `--incompatible_use_aapt2_by_default`
3457 for defaulting to aapt2 in Android builds has been added. To build with
3458 aapt2 today, pass the flag
3459 `--incompatible_use_aapt2_by_default=true` or
3460 `--android_aapt=aapt2`, or set the `aapt_version` to `aapt2` on
3461 your `android_binary` or `android_local_test` target.
3462
3463- Fixed mobile-install v1 error when installing an app with native
3464 libraries onto an Android 9 (Pie) device. See
3465 https://github.com/bazelbuild/examples/issues/77
3466
3467- Fixed a mobile-install bug where `arm64-v8a` libraries were not
3468 deployed correctly on `arm64` devices. This was done by enabling
3469 incremental native lib deployment by default. A previously
3470 undocumented `--android_incremental_native_libs` flag is removed,
3471 and is now the regular behavior. See
3472 https://github.com/bazelbuild/bazel/issues/2239
3473
3474### Apple
3475
3476- The `objc_bundle` rule has been removed. Please migrate to rules_apple's
3477 [apple_bundle_import](https://github.com/bazelbuild/rules_apple/bl
3478 ob/master/doc/rules-resources.md#apple_bundle_import).
3479
3480- The `apple_stub_binary` rule has been deleted.
3481
3482- The `--xbinary_fdo` option that passes xbinary profiles has been added.
3483
3484### C++
3485
3486- `cc_toolchain.(static|dynamic)_runtime_libs` attributes are now optional
3487
3488### Packaging
3489
3490- `build_tar.py` in `tools/build_defs/pkg` now supports a JSON manifest
3491 that can be used to add paths that have symbols that can't be
3492 specified via the command line
3493
3494### Query
3495
3496- Filtering of inputs, outputs, and mnemonic filtering have been added to
3497 aquery.
3498
3499- The aquery and cquery query2 tests have been open-sourced.
3500
3501- The Bazel query how-to recommends ":*" instead of ":all", because "all" might
3502 be the name of a target.
3503
3504### Testing
3505
3506- The `--runs_per_test` has been placed in the TESTING documentation category.
3507
3508- A a clarifying message has been added to test case summary output when all
3509 test cases pass but the target fails.
3510
3511### Contributors
3512
3513This release contains contributions from many people at Google, as well as
3514Benjamin Peterson, Dave Lee, George Gensure, Gert van Dijk, Gustavo Storti
3515Salibi, Keith Smiley, Loo Rong Jie, Lukasz Tekieli, Mikhail Mazurskiy, Thi,
3516Travis Cline, Vladimir Chebotarev, and Yannic.
Bazel Release System2f82b332019-01-28 13:54:53 +01003517
Bazel Release Systema189d422018-12-19 13:53:11 +01003518## Release 0.21.0 (2018-12-19)
3519
3520```
3521Baseline: cb9b2afbba3f8d3a1db8bf68e65d06f1b36902f5
3522
3523Cherry picks:
3524
3525 + 12b96466ee0d6ab83f7d4cd24be110bb5021281d:
3526 Windows, test wrapper: rename the associated flag
3527 + 7fc967c4d6435de2bb4e34aac00ca2e499f55fca:
3528 Use a fixed thread pool in ByteStreamBuildEventArtifactUploader
3529 + 798b9a989aa793655d29504edb5fb85f3143db84:
3530 Add --build_event_upload_max_threads option
3531 + dbe05df23ccf4c919379e0294e0701fd3f66739c:
3532 Update the version of skylib bundled in the distfile
3533```
3534
3535Incompatible changes:
3536
3537 - The --experimental_stl command line option is removed.
3538 - aquery defaults to human readable output format.
3539
3540New features:
3541
3542 - repository_ctx.download and repository_ctx.download_and_extract
3543 now return a struct.
3544 - Android Databinding v2 can be enabled with
3545 --experimental_android_databinding_v2.
3546
3547Important changes:
3548
3549 - The deprecated and unmaintained Docker rules in
3550 tools/build_defs/docker were removed. Please use
3551 https://github.com/bazelbuild/rules_docker instead.
3552 - The new --upload_query_output_using_bep query/cquery/aquery flag
3553 causes query outputs to be uploaded via BEP.
3554 - New incompatible flag --incompatible_strict_argument_ordering
3555 - --strict_android_deps and --strict_java_deps were renamed to
3556 --experimental_strict_java_deps
3557 - config_settings that select on "compiler" value instead of values
3558 = {"compiler" : "x"} should use flag_values =
3559 {"@bazel_tools//tools/cpp:compiler": "x"}.
3560 - The new --upload_query_output_using_bep query/cquery/aquery flag
3561 causes query outputs to be uploaded via BEP.
3562 - Turn on --incompatible_disable_sysroot_from_configuration
3563 - We revamped our Android with Bazel tutorial! Check it out
3564 [here](https://docs.bazel.build/versions/master/tutorial/android-a
3565 pp.html).
3566 - --incompatible_disallow_slash_operator is now on by default
3567 - Enable --experimental_check_desugar_deps by default. This flag
3568 rules out several types of invalid Android builds at compile-time.
3569 - The --max_config_changes_to_show option lists the names of
3570 options which
3571 have changed and thus caused the analysis cache to be dropped.
3572 - The --experimental_strict_action_env option has been renamed to
3573 --incompatible_strict_action_env and is now on by default. This
3574 means Bazel will no longer use the client's PATH and
3575 LD_LIBRARY_PATH environmental variables in the default action
3576 environment. If the old behavior is desired, pass
3577 --action_env=PATH and --action_env=LD_LIBRARY_PATH.
3578 --noincompatible_strict_action_env will also temporarily restore
3579 the old behavior. However, as --action_env is a more general and
3580 explicit way to pass client environmental variables into actions,
3581 --noincompatible_strict_action_env will eventually be deprecated
3582 and removed. See #6648 for more details.
3583 - XCRUNWRAPPER_LABEL has been removed. If you used this value
3584 before, please use @bazel_tools//tools/objc:xcrunwrapper instead.
3585 - --incompatible_static_name_resolution is no unable by default
3586 - We will phase out --genrule_strategy in favor of
3587 --strategy=Genrule=<value> (for genrules) or
3588 --spawn_strategy=<value> (for all actions).
3589 - --incompatible_package_name_is_a_function is now enabled by
3590 default
3591 - Dynamic execution is now available with
3592 --experimental_spawn_strategy. Dynamic execution allows a build
3593 action to run locally and remotely simultaneously, and Bazel
3594 picks the fastest action. This provides the best of both worlds:
3595 faster clean builds than pure local builds, and faster
3596 incremental builds than pure remote builds.
3597 - --incompatible_package_name_is_a_function is now enabled by
3598 default
3599 - New incompatible flag --incompatible_merge_genfiles_directory
3600 - grpc log now logs updateActionResult
3601 - CppConfiguration doesn't do package loading anymore. That means:
3602 * it's no longer needed to have C++ toolchain available when
3603 building non-C++ projects
3604 * bazel will not analyze C++ toolchain when not needed -> speedup
3605 ~2s on bazel startup when C++ rules using hermetic toolchain are
3606 not loaded
3607 - --incompatible_package_name_is_a_fu...
3608
3609This 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.
3610
Bazel Release System85378562018-11-30 15:34:16 +01003611## Release 0.20.0 (2018-11-30)
3612
3613```
3614Baseline: 7bf7f031c332dc483257248d1c1f98ad75bbc83b
3615
3616Cherry picks:
3617
3618 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
3619 update bazel-toolchains pin to latest release Part of changes to
3620 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
3621 before 0.17.0 are not compatible with bazel 0.19.0 or above.
3622 + 241f28d05424db2d11ee245dc856b992258505e3:
3623 Revert "Toggle --incompatible_disable_late_bound_option_defaults
3624 flag."
3625 + f7e5aef145c33968f658eb2260e25630dc41cc67:
3626 Add cc_toolchain targets for the new entries in the default
3627 cc_toolchain_suite.
3628 + d2920e32ec7f3f8551a693d33c17b19f1b802145:
3629 Revert "WindowsFileSystem: open files with delete-sharing"
3630```
3631
3632[Breaking changes in 0.20](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Abreaking-change-0.20)
3633
3634 - [--incompatible_remove_native_http_archive](https://github.com/bazelbuild/bazel/issues/6570).
3635 - [--incompatible_remove_native_git_repository](https://github.com/bazelbuild/bazel/issues/6569).
3636 - [--incompatible_disable_cc_toolchain_label_from_crosstool_proto](https://github.com/bazelbuild/bazel/issues/6434).
3637 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6384).
3638 - [--incompatible_disable_cc_configuration_make_variables](https://github.com/bazelbuild/bazel/issues/6381).
3639 - [--incompatible_disallow_conflicting_providers](https://github.com/bazelbuild/bazel/issues/5902).
3640 - [--incompatible_range_type](https://github.com/bazelbuild/bazel/issues/5264).
3641
3642[0.20 is a migration window for the following changes](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Amigration-0.20)
3643
3644 - [--incompatible_use_jdk10_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6661)
3645 - [--incompatible_use_remotejdk_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6656)
3646 - [--incompatible_disable_sysroot_from_configuration](https://github.com/bazelbuild/bazel/issues/6565)
3647 - [--incompatible_provide_cc_toolchain_info_from_cc_toolchain_suite](https://github.com/bazelbuild/bazel/issues/6537)
3648 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6383)
3649 - [--incompatible_package_name_is_a_function](https://github.com/bazelbuild/bazel/issues/5827)
3650
3651[Breaking changes in the next release (0.21)](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Abreaking-change-0.21)
3652
3653 - [--incompatible_use_jdk10_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6661)
3654 - [--incompatible_use_remotejdk_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6656)
3655 - [--incompatible_disable_sysroot_from_configuration](https://github.com/bazelbuild/bazel/issues/6565)
3656 - [--incompatible_provide_cc_toolchain_info_from_cc_toolchain_suite](https://github.com/bazelbuild/bazel/issues/6537)
3657 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6383)
3658 - [--incompatible_disallow_data_transition](https://github.com/bazelbuild/bazel/issues/6153)
3659 - [--incompatible_package_name_is_a_function](https://github.com/bazelbuild/bazel/issues/5827)
3660 - [--incompatible_disallow_slash_operator](https://github.com/bazelbuild/bazel/issues/5823)
3661 - [--incompatible_static_name_resolution](https://github.com/bazelbuild/bazel/issues/5637)
3662
3663Incompatible changes:
3664
3665 - the --experimental_no_dotd_scanning_with_modules command line
3666 argument is not supported anymore.
3667 - The --prune_cpp_modules command line option is not supported
3668 anymore.
3669 - the --experimental_prune_cpp_input_discovery command line option
3670 is not supported anymore.
3671
3672New features:
3673
3674 - Added support for Android NDK r18.
3675
3676Important changes:
3677
3678 - The 'default' parameter of attr.output and attr.output_list is
3679 removed. This is controlled by
3680 --incompatible_no_output_attr_default
3681 - A number of platform-related Starlark APIs which were previously
3682 marked "experimental" are now disabled by default, and may be
3683 enabled via --experimental_platforms_api
3684 - Make legacy-test-support ("legacy_test-<api-level>") from
3685 android_sdk_repository neverlink. The legacy test support
3686 libraries shouldn't be built into test binaries. To make them
3687 available at runtime, developers should declare them via
3688 uses-library:
3689 https://developer.android.com/training/testing/set-up-project#andr
3690 oid-test-base
3691 - query remote server Capabilities (per REAPI v2)
3692 - CppRules: All cc_toolchains depended on from
3693 cc_toolchain_suite.toolchains are now analyzed when not using
3694 platforms in order to select the right cc_toolchain.
3695 - removed obsolete --explicit_jre_deps flag.
3696 - Incompatible flag
3697 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
3698 flipped.
3699 - Improve error messaging when unsupport proguard options are
3700 specified at the library level.
3701 - Incompatible flag
3702 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
3703 flipped.
3704 - Incompatible flag
3705 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
3706 flipped.
3707 - The --incompatible_disable_late_bound_option_defaults flag has
3708 been flipped (#6384)
3709 - Incompatible flag
3710 --incompatible_disable_legacy_flags_cc_toolchain_api was flipped
3711 (#6434)
3712 - Fixed issue where ctx.resolve_command created conflicting
3713 intermediate files when resolve_command was called multiple times
3714 within the same rule invocation with a long command attribute.
3715 - Incompatible flag
3716 --incompatible_disable_cc_configuration_make_variables was
3717 flipped (#6381)
3718 - If the --javabase flag is unset, it Bazel locates a JDK using
3719 the JAVA_HOME environment variable and searching the PATH. If no
3720 JDK is found --javabase will be empty, and builds targeting Java
3721 will not
3722 be supported. Previously Bazel would fall back to using the
3723 embedded
3724 JDK as a --javabase, but this is no longer default behaviour. A
3725 JDK should
3726 be explicitly installed instead to enable Java development
3727 - Bazel will now shut down when idle for 5 minutes and the system
3728 is low on RAM (linux only).
3729 - CROSSTOOL file is now read from the package of cc_toolchain, not
3730 from
3731 the package of cc_toolchain_suite. This is not expected to break
3732 anybody since
3733 cc_toolchain_suite and cc_toolchain are commonly in the same
3734 package.
3735 - All overrides of Starlark's ctx.new_file function are now
3736 deprecated.
3737 Try the `--incompatible_new_actions_api` flag to ensure your
3738 code is forward-compatible.
3739 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
3740 was flipped.
3741 - Introduce --(no)shutdown_on_low_sys_mem startup flag to toggle
3742 idle low-memory shutdown, disabled by default.
3743 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
3744 was flipped.
3745 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
3746 was flipped.
3747 - CppRules: All cc_toolchains depended on from
3748 cc_toolchain_suite.toolchains are now analyzed when not using
3749 platforms in order to select the right cc_toolchain.
3750 - The function `attr.license` is deprecated and will be removed.
3751 It can be disabled now with `--incompatible_no_attr_license`.
3752 - `range()` function now returns a lazy value
3753 (`--incompatible_range_type` is now set by default).
3754 - The code coverage report now includes the actual paths to header
3755 files instead of the ugly,
3756 Bazel generated, virtual includes path.
3757 - `--incompatible_disallow_conflicting_providers` has been switched
3758 to true
3759 - Add new flag `--incompatible_disable_systool_from_configration` to
3760 disable loading the systool from CppConfiguration.
3761 - Add new flag `--incompatible_disable_sysroot_from_configuration`
3762 to
3763 disable loading the systool from CppConfiguration.
3764 - Sorting remote Platform properties for remote execution. May
3765 affect cache keys!
3766 - Use different server log files per Bazel server process; java.log
3767 is
3768 now a symlink to the latest log.
3769
3770This 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>.
3771
Bazel Release Systemcb3e2982018-11-19 11:19:38 -05003772## Release 0.19.2 (2018-11-19)
3773
3774```
3775Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
3776
3777Cherry picks:
3778
3779 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
3780 Fix the "nojava" platform and enable full presubmit checks for
3781 the various JDK platforms now that we have enough GCE resources.
3782 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
3783 Add openjdk_linux_archive java_toolchain for nojava platform.
3784 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
3785 Automated rollback of commit
3786 19a401c38e30ebc0879925a5caedcbe43de0028f.
3787 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
3788 Windows: Fix Precondition check for addDynamicInputLinkOptions
3789 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
3790 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
3791 it exists.
3792 + e025726006236520f7e91e196b9e7f139e0af5f4:
3793 Update turbine
3794 + 5f312dd1678878fb7563eae0cd184f2270346352:
3795 Fix event id for action_completed BEP events
3796 + f0c844c77a2406518c4e75c49188390d5e281d3d:
3797 Release 0.19.0 (2018-10-29)
3798 + c3fb1db9e4e817e8a911f5b347b30f2674a82f7c:
3799 Do not use CROSSTOOL to select cc_toolchain
3800 + 8e280838e8896a6b5eb5421fda435b96b6f8de60:
3801 Windows Add tests for msys gcc toolchain and mingw gcc toolchain
3802 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
3803 update bazel-toolchains pin to latest release Part of changes to
3804 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
3805 before 0.17.0 are not compatible with bazel 0.19.0 or above.
3806 + eb2af0f699350ad187048bf814a95af23f562c77:
3807 Release 0.19.1 (2018-11-12)
3808 + 6bc452874ddff69cbf7f66186238032283f1195f:
3809 Also update cc_toolchain.toolchain_identifier when
3810 CC_TOOLCHAIN_NAME is set
3811 + f7e5aef145c33968f658eb2260e25630dc41cc67:
3812 Add cc_toolchain targets for the new entries in the default
3813 cc_toolchain_suite.
3814 + 683c302129b66a8999f986be5ae7e642707e978c:
3815 Read the CROSSTOOL from the package of the current cc_toolchain,
3816 not from --crosstool_top
3817```
3818
3819- Fixes regression #6662, by fixing tools/cpp/BUILD
3820- Fixes regression #6665, by setting the toolchain identifier.
3821- CROSSTOOL file is now read from the package of cc_toolchain, not from the
3822 package of cc_toolchain_suite. This is not expected to break anybody since
3823 cc_toolchain_suite and cc_toolchain are commonly in the same package.
3824
Bazel Release System684f1092018-11-12 10:26:58 -05003825## Release 0.19.1 (2018-11-12)
3826
3827```
3828Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
3829
3830Cherry picks:
3831
3832 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
3833 Fix the "nojava" platform and enable full presubmit checks for
3834 the various JDK platforms now that we have enough GCE resources.
3835 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
3836 Add openjdk_linux_archive java_toolchain for nojava platform.
3837 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
3838 Automated rollback of commit
3839 19a401c38e30ebc0879925a5caedcbe43de0028f.
3840 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
3841 Windows: Fix Precondition check for addDynamicInputLinkOptions
3842 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
3843 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
3844 it exists.
3845 + e025726006236520f7e91e196b9e7f139e0af5f4:
3846 Update turbine
3847 + 5f312dd1678878fb7563eae0cd184f2270346352:
3848 Fix event id for action_completed BEP events
3849 + f0c844c77a2406518c4e75c49188390d5e281d3d:
3850 Release 0.19.0 (2018-10-29)
3851 + c3fb1db9e4e817e8a911f5b347b30f2674a82f7c:
3852 Do not use CROSSTOOL to select cc_toolchain
3853 + 8e280838e8896a6b5eb5421fda435b96b6f8de60:
3854 Windows Add tests for msys gcc toolchain and mingw gcc toolchain
3855 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
3856 update bazel-toolchains pin to latest release Part of changes to
3857 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
3858 before 0.17.0 are not compatible with bazel 0.19.0 or above.
3859```
3860
3861Important changes:
3862- Fix regression #6610, which prevents using the MINGW compiler on Windows.
3863
Klaus Aehlig5e5832c2018-10-31 15:45:53 +01003864## Release 0.19.0 (2018-10-29)
3865
3866```
3867Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
3868
3869Cherry picks:
3870
3871 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
3872 Fix the "nojava" platform and enable full presubmit checks for
3873 the various JDK platforms now that we have enough GCE resources.
3874 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
3875 Add openjdk_linux_archive java_toolchain for nojava platform.
3876 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
3877 Automated rollback of commit
3878 19a401c38e30ebc0879925a5caedcbe43de0028f.
3879 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
3880 Windows: Fix Precondition check for addDynamicInputLinkOptions
3881 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
3882 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
3883 it exists.
3884 + e025726006236520f7e91e196b9e7f139e0af5f4:
3885 Update turbine
3886 + 5f312dd1678878fb7563eae0cd184f2270346352:
3887 Fix event id for action_completed BEP events
3888```
3889
3890The Bazel team is happy to announce a new version of Bazel, [Bazel 0.19](https://github.com/bazelbuild/bazel/releases/tag/0.19.0).
3891
3892This document lists the major changes since Bazel 0.18.
3893
3894General changes
3895---------------
3896
3897* The `--incompatible_expand_directories` flag will automatically expand directories in command lines. Design doc: https://docs.google.com/document/d/11agWFiOUiz2htBLj6swPTob5z78TrCxm8DQE4uJLOwM
3898
3899* 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.
3900
3901Android
3902-------
3903
3904* Fixed missing debug symbols when building native code with `--compilation_mode=dbg` that target Android ARM architectures by adding the `-g` flag.
3905
3906C++
3907---
3908
3909* 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.
3910
3911* 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.
3912
3913* :cc_binary link action no longer hardcodes `-static-libgcc` for toolchains that support embedded runtimes (guarded by `--experimental_dont_emit_static_libgcc` temporarily).
3914
3915* The flag `--experimental_enable_cc_configuration_make_variables` is removed, use `--incompatible_disable_cc_configuration_make_variables` instead.
3916
3917Java
3918----
3919
3920* 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.
3921
3922Code Coverage
3923-------------
3924
3925* LcovMerger was renamed to CoverageOutputGenerator.
3926
3927* Faster coverage collection for gcc compiled C++ code can now be tested by enabling it with `--experimental_cc_coverage`.
3928
3929Other Changes
3930-------------
3931
3932* Add `--apple_compiler` and `--apple_grte_top options`. These provide the equivalent of --compiler / --grte_top for the toolchain configured in --apple_crosstool_top.
3933
3934* There is now a `same_pkg_direct_rdeps` query function. See the query documentation for more details.
3935
3936* Propagating remote errors to the user even if `--verbose_failures=false` is set.
3937
3938* Add number of configured targets to analysis phase status output.
3939
3940* 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.
3941
3942Future Changes
3943--------------
3944
3945* 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:
3946 * [`--incompatible_disable_late_bound_option_defaults`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-late-bound-option-defaults): #6384
3947 * [`--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
3948 * [`--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
3949 * [`--incompatible_disable_cc_configuration_make_variables`](https://github.com/bazelbuild/bazel/issues/6381): #6381
3950 * [`--incompatible_disable_legacy_cpp_toolchain_skylark_api`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-legacy-c-configuration-api): #6380
3951 * [`incompatible_disable_legacy_flags_cc_toolchain_api`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-legacy-c-toolchain-api): #6434
3952
3953* 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.
3954
3955Thank you to our contributors!
3956------------------------------
3957
3958This 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
3959
3960Thank you to everyone who contributed to this release!
3961
Bazel Release System92849b82018-10-31 15:41:11 +01003962## Release 0.18.1 (2018-10-31)
Bazel Release System36177972018-10-15 10:29:10 +02003963
3964```
Bazel Release System92849b82018-10-31 15:41:11 +01003965Baseline: c062b1f1730f3562d5c16a037b374fc07dc8d9a2
Bazel Release System36177972018-10-15 10:29:10 +02003966
3967Cherry picks:
3968
Bazel Release System92849b82018-10-31 15:41:11 +01003969 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
3970 Include also ext jars in the bootclasspath jar.
3971 + 2579b791c023a78a577e8cb827890139d6fb7534:
3972 Fix toolchain_java9 on --host_javabase=<jdk9> after
3973 7eb9ea150fb889a93908d96896db77d5658e5005
3974 + faaff7fa440939d4367f284ee268225a6f40b826:
3975 Release notes: fix markdown
3976 + b073a18e3fac05e647ddc6b45128a6158b34de2c:
3977 Fix NestHost length computation Fixes #5987
3978 + bf6a63d64a010f4c363d218e3ec54dc4dc9d8f34:
3979 Fixes #6219. Don't rethrow any remote cache failures on either
3980 download or upload, only warn. Added more tests.
3981 + c1a7b4c574f956c385de5c531383bcab2e01cadd:
3982 Fix broken IdlClassTest on Bazel's CI.
3983 + 71926bc25b3b91fcb44471e2739b89511807f96b:
3984 Fix the Xcode version detection which got broken by the upgrade
3985 to Xcode 10.0.
3986 + 86a8217d12263d598e3a1baf2c6aa91b2e0e2eb5:
3987 Temporarily restore processing of workspace-wide tools/bazel.rc
3988 file.
Bazel Release System83870d62018-10-29 10:31:13 -04003989 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
3990 Windows: Fix Precondition check for addDynamicInputLinkOptions
Bazel Release System83870d62018-10-29 10:31:13 -04003991 + e025726006236520f7e91e196b9e7f139e0af5f4:
3992 Update turbine
Bazel Release System36177972018-10-15 10:29:10 +02003993```
3994
Bazel Release System92849b82018-10-31 15:41:11 +01003995Important changes:
Bazel Release System83870d62018-10-29 10:31:13 -04003996
Bazel Release System92849b82018-10-31 15:41:11 +01003997 - Fix regression #6219, remote cache failures
Bazel Release System36177972018-10-15 10:29:10 +02003998
Klaus Aehlig7b417542018-10-29 15:46:36 +01003999## Release 0.18.0 (2018-10-15)
4000
4001```
4002Baseline: c062b1f1730f3562d5c16a037b374fc07dc8d9a2
4003
4004Cherry picks:
4005
4006 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
4007 Include also ext jars in the bootclasspath jar.
4008 + 2579b791c023a78a577e8cb827890139d6fb7534:
4009 Fix toolchain_java9 on --host_javabase=<jdk9> after
4010 7eb9ea150fb889a93908d96896db77d5658e5005
4011 + faaff7fa440939d4367f284ee268225a6f40b826:
4012 Release notes: fix markdown
4013 + b073a18e3fac05e647ddc6b45128a6158b34de2c:
4014 Fix NestHost length computation Fixes #5987
4015 + bf6a63d64a010f4c363d218e3ec54dc4dc9d8f34:
4016 Fixes #6219. Don't rethrow any remote cache failures on either
4017 download or upload, only warn. Added more tests.
4018 + c1a7b4c574f956c385de5c531383bcab2e01cadd:
4019 Fix broken IdlClassTest on Bazel's CI.
4020 + 71926bc25b3b91fcb44471e2739b89511807f96b:
4021 Fix the Xcode version detection which got broken by the upgrade
4022 to Xcode 10.0.
4023 + 86a8217d12263d598e3a1baf2c6aa91b2e0e2eb5:
4024 Temporarily restore processing of workspace-wide tools/bazel.rc
4025 file.
4026```
4027
4028General changes
4029
4030- New [bazelrc file list](https://docs.bazel.build/versions/master/user-manual.html#where-are-the-bazelrc-files).
4031 If you need to keep both the old and new lists of .rc files active
4032 concurrently to support multiple versions of Bazel, you can import the old
4033 file location into the new list using `try-import`. This imports a file if it
4034 exists and silently exits if it does not. You can use this method to account
4035 for a user file that may or may not exist
4036
4037- [.bazelignore](https://docs.bazel.build/versions/master/user-manual.html#.bazelignore)
4038 is now fully functional.
4039
4040- The startup flag `--host_javabase` has been renamed to
4041 `--server_javabase` to avoid confusion with the build flag
4042 `--host_javabase`.
4043
4044Android
4045
4046- The Android resource processing pipeline now supports persistence
4047 via worker processes. Enable it with
4048 `--persistent_android_resource_processor`. We have observed a 50% increase
4049 in build speed for clean local builds and up to 150% increase in build
4050 speed for incremental local builds.
4051
4052C++
4053
4054- In-memory package //tools/defaults has been removed (controlled by
4055 `--incompatible_disable_tools_defaults_package` flag). Please see
4056 [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-inmemory-tools-defaults-package)
4057 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
4058 behavior will be removed in Bazel 0.20.
4059
4060- Late bound option defaults (typical example was the `--compiler` flag, when
4061 it was not specified, it’s value was computed using the CROSSTOOL) are removed
4062 (controlled by `--incompatible_disable_late_bound_option_defaults` flag).
4063 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-late-bound-option-defaults)
4064 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
4065 behavior will be removed in Bazel 0.20.
4066
4067- Depsets are no longer accepted in `user_compile_flags` and `user_link_flags`
4068 in the C++ toolchain API (controlled by
4069 `--incompatible_disable_depset_in_cc_user_flags` flag) affects C++ users.
4070 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-depsets-in-c-toolchain-api-in-user-flags)
4071 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
4072 behavior will be removed in Bazel 0.20.
4073
4074- CROSSTOOL is no longer consulted when selecting C++ toolchain (controlled by
4075 `--incompatible_disable_cc_toolchain_label_from_crosstool_proto` flag).
4076 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-crosstool-to-select-the-cc_toolchain-label)
4077 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
4078
4079- You can now use [`toolchain_identifier` attribute](https://github.com/bazelbuild/bazel/commit/857d4664ce939f240b1d10d8d2baca6c6893cfcb)
4080 on `cc_toolchain` to pair it with CROSSTOOL toolchain.
4081
4082- C++ specific Make variables
4083 are no longer passed from the `CppConfiguration`, but from the C++ toolchain
4084 (controlled by `--incompatible_disable_cc_configuration_make_variables` flag).
4085 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-c-specific-make-variables-from-the-configuration)
4086 and migrate soon, the flag will be flipped
4087 in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
4088
4089- Skylark api accessing C++
4090 toolchain in `ctx.fragments.cpp` is removed (controlled by
4091 `--incompatible_disable_legacy_cpp_toolchain_skylark_api` flag).
4092 Please migrate soon, the flag will be flipped
4093 in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
4094
4095- cc_binary link action no longer hardcodes
4096 `-static-libgcc` for toolchains that support embedded runtimes
4097 (guarded by [`--experimental_dont_emit_static_libgcc`](https://source.bazel.build/bazel/+/2f281960b829e964526a9d292d4c3003e4d19f1c)
4098 temporarily). Proper deprecation using `--incompatible` flags will follow.
4099
4100Java
4101
4102- Future versions of Bazel will require a locally installed JDK
4103 for Java development. Previously Bazel would fall back to using
4104 the embedded `--server_javabase` if no JDK as available. Pass
4105 `--incompatible_never_use_embedded_jdk_for_javabase` to disable the
4106 legacy behaviour.
4107
4108- `--javacopt=` no longer affects compilations of tools that are
4109 executed during the build; use `--host_javacopt=` to change javac
4110 flags in the host configuration.
4111
4112Objective C
4113
4114- `objc_library` now supports the module_name attribute.
4115
4116Skylark
4117
4118- Adds `--incompatible_expand_directories` to automatically expand
4119 directories in skylark command lines. Design doc:
4120 https://docs.google.com/document/d/11agWFiOUiz2htBLj6swPTob5z78TrCxm8DQE4uJLOwM
4121
4122- Support fileset expansion in ctx.actions.args(). Controlled by
4123 `--incompatible_expand_directories`.
4124
4125Windows
4126
4127- `--windows_exe_launcher` is deprecated, this flag will be removed
4128 soon. Please make sure you are not using it.
4129
4130- Bazel now supports the symlink runfiles tree on Windows with
4131 `--experimental_enable_runfiles` flag. For more details, see
4132 [this doc](https://docs.google.com/document/d/1hnYmU1BmtCSJOUvvDAK745DSJQCapToJxb3THXYMrmQ).
4133
4134Other Changes
4135
4136- A new experimental option `--experimental_ui_deduplicate` has been added. It
4137 causes the UI to attempt to deduplicate messages from actions to keep the
4138 console output cleaner.
4139
4140- Add `--modify_execution_info`, a flag to customize action execution
4141 info.
4142
4143- Add ExecutionInfo to aquery output for ExecutionInfoSpecifier
4144 actions.
4145
4146- When computing `--instrumentation_filter`, end filter patterns with
4147 "[/:]" to match non-top-level packages exactly and treat
4148 top-level targets consistently.
4149
4150- Added the `bazel info server_log` command, which obtains the main Bazel
4151 server log file path. This can help debug Bazel issues.
4152
4153- `aapt shrink` resources now properly respect filter configurations.
4154
Bazel Release System50921e62018-09-21 12:27:04 +02004155## Release 0.17.2 (2018-09-21)
4156
4157```
4158Baseline: aa118ca818baf722aede0bc48d0a17584fa45b6e
4159
4160Cherry picks:
4161 + 0e0462589528154cb5160411991075a2000b5452:
4162 Update checker framework dataflow and javacutil versions
4163 + 3987300d6651cf0e6e91b395696afac6913a7d66:
4164 Stop using --release in versioned java_toolchains
4165 + 438b2773b8c019afa46be470b90bcf70ede7f2ef:
4166 make_deb: Add new empty line in the end of conffiles file
4167 + 504401791e0a0e7e3263940e9e127f74956e7806:
4168 Properly mark configuration files in the Debian package.
4169 + 9ed9d8ac4347408d15c8fce7c9c07e5c8e658b30:
4170 Add flag
4171 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfil
4172 es_tree.
4173 + 22d761ab42dfb1b131f1facbf490ccdb6c17b89c:
4174 Update protobuf to 3.6.1 -- add new files
4175 + 27303d79c38f2bfa3b64ee7cd7a6ef03a9a87842:
4176 Update protobuf to 3.6.1 -- update references
4177 + ddc97ed6b0367eb443e3e09a28d10e65179616ab:
4178 Update protobuf to 3.6.1 -- remove 3.6.0 sources
4179 + ead1002d3803fdfd4ac68b4b4872076b19d511a2:
4180 Fix protobuf in the WORKSPACE
4181 + 12dcd35ef7a26d690589b0fbefb1f20090cbfe15:
4182 Revert "Update to JDK 10 javac"
4183 + 7eb9ea150fb889a93908d96896db77d5658e5005:
4184 Automated rollback of
4185 https://github.com/bazelbuild/bazel/commit/808ec9ff9b5cec14f23a4b
4186 a106bc5249cacc8c54 and
4187 https://github.com/bazelbuild/bazel/commit/4c9149d558161e7d3e363f
4188 b697f5852bc5742a36 and some manual merging.
4189 + 4566a428c5317d87940aeacfd65f1018340e52b6:
4190 Fix tests on JDK 9 and 10
4191 + 1e9f0aa89dad38eeab0bd40e95e689be2ab6e5e5:
4192 Fix more tests on JDK 9 and 10
4193 + a572c1cbc8c26f625cab6716137e2d57d05cfdf3:
4194 Add ubuntu1804_nojava, ubuntu1804_java9, ubuntu1804_java10 to
4195 postsubmit.
4196 + 29f1de099e4f6f0f50986aaa4374fc5fb7744ee8:
4197 Disable Android shell tests on the "nojava" platform.
4198 + b495eafdc2ab380afe533514b3bcd7d5b30c9935:
4199 Update bazel_toolchains to latest release.
4200 + 9323c57607d37f9c949b60e293b573584906da46:
4201 Windows: fix writing java.log
4202 + 1aba9ac4b4f68b69f2d91e88cfa8e5dcc7cb98c2:
4203 Automated rollback of commit
4204 de22ab0582760dc95f33e217e82a7b822378f625.
4205 + 2579b791c023a78a577e8cb827890139d6fb7534:
4206 Fix toolchain_java9 on --host_javabase=<jdk9> after
4207 7eb9ea150fb889a93908d96896db77d5658e5005
4208 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
4209 Include also ext jars in the bootclasspath jar.
4210 + fdb09a260dead1e1169f94584edc837349a4f4a5:
4211 Release 0.17.1 (2018-09-14)
4212 + 1d956c707e1c843896ac58a341c335c9c149073d:
4213 Do not fail the build when gcov is not installed
4214 + 2e677fb6b8f309b63558eb13294630a91ee0cd33:
4215 Ignore unrecognized VM options in desugar.sh, such as the JVM 9
4216 flags to silence warnings.
4217```
4218
4219Important changes:
4220
4221 - In the future, Bazel will expand tree artifacts in runfiles, too,
4222 which causes the sandbox to link each file individually into the
4223 sandbox directory, instead of symlinking the entire directory. In
4224 this release, the behavior is not enabled by default yet. Please
4225 try it out via
4226 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
4227 s_tree and let us know if it causes issues. If everything looks
4228 good, this behavior will become the default in a following
4229 release.
4230
Bazel Release Systemfdb09a22018-09-14 12:15:54 +02004231## Release 0.17.1 (2018-09-14)
4232
4233```
4234Baseline: aa118ca818baf722aede0bc48d0a17584fa45b6e
4235
4236Cherry picks:
4237 + 0e0462589528154cb5160411991075a2000b5452:
4238 Update checker framework dataflow and javacutil versions
4239 + 3987300d6651cf0e6e91b395696afac6913a7d66:
4240 Stop using --release in versioned java_toolchains
4241 + 438b2773b8c019afa46be470b90bcf70ede7f2ef:
4242 make_deb: Add new empty line in the end of conffiles file
4243 + 504401791e0a0e7e3263940e9e127f74956e7806:
4244 Properly mark configuration files in the Debian package.
4245 + 9ed9d8ac4347408d15c8fce7c9c07e5c8e658b30:
4246 Add flag
4247 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfil
4248 es_tree.
4249 + 22d761ab42dfb1b131f1facbf490ccdb6c17b89c:
4250 Update protobuf to 3.6.1 -- add new files
4251 + 27303d79c38f2bfa3b64ee7cd7a6ef03a9a87842:
4252 Update protobuf to 3.6.1 -- update references
4253 + ddc97ed6b0367eb443e3e09a28d10e65179616ab:
4254 Update protobuf to 3.6.1 -- remove 3.6.0 sources
4255 + ead1002d3803fdfd4ac68b4b4872076b19d511a2:
4256 Fix protobuf in the WORKSPACE
4257 + 12dcd35ef7a26d690589b0fbefb1f20090cbfe15:
4258 Revert "Update to JDK 10 javac"
4259 + 7eb9ea150fb889a93908d96896db77d5658e5005:
4260 Automated rollback of
4261 https://github.com/bazelbuild/bazel/commit/808ec9ff9b5cec14f23a4b
4262 a106bc5249cacc8c54 and
4263 https://github.com/bazelbuild/bazel/commit/4c9149d558161e7d3e363f
4264 b697f5852bc5742a36 and some manual merging.
4265 + 4566a428c5317d87940aeacfd65f1018340e52b6:
4266 Fix tests on JDK 9 and 10
4267 + 1e9f0aa89dad38eeab0bd40e95e689be2ab6e5e5:
4268 Fix more tests on JDK 9 and 10
4269 + a572c1cbc8c26f625cab6716137e2d57d05cfdf3:
4270 Add ubuntu1804_nojava, ubuntu1804_java9, ubuntu1804_java10 to
4271 postsubmit.
4272 + 29f1de099e4f6f0f50986aaa4374fc5fb7744ee8:
4273 Disable Android shell tests on the "nojava" platform.
4274 + b495eafdc2ab380afe533514b3bcd7d5b30c9935:
4275 Update bazel_toolchains to latest release.
4276 + 9323c57607d37f9c949b60e293b573584906da46:
4277 Windows: fix writing java.log
4278 + 1aba9ac4b4f68b69f2d91e88cfa8e5dcc7cb98c2:
4279 Automated rollback of commit
4280 de22ab0582760dc95f33e217e82a7b822378f625.
4281 + 2579b791c023a78a577e8cb827890139d6fb7534:
4282 Fix toolchain_java9 on --host_javabase=<jdk9> after
4283 7eb9ea150fb889a93908d96896db77d5658e5005
4284 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
4285 Include also ext jars in the bootclasspath jar.
4286```
4287
4288Incompatible changes:
4289
4290 - Loading @bazel_tools//tools/build_defs/repo:git_repositories.bzl
4291 no longer works. Load @bazel_tools//tools/build_defs/repo:git.bzl
4292 instead.
4293 - If the same artifact is generated by two distinct but identical
4294 actions, and a downstream action has both those actions' outputs
4295 in its inputs, the artifact will now appear twice in the
4296 downstream action's inputs. If this causes problems in Skylark
4297 actions, you can use the uniquify=True argument in Args.add_args.
4298 - If the same artifact is generated by two distinct but identical
4299 actions, and a downstream action has both those actions' outputs
4300 in its inputs, the artifact will now appear twice in the
4301 downstream action's inputs. If this causes problems in Skylark
4302 actions, you can use the uniquify=True argument in Args.add_args.
4303 - Labels in C++ rules' linkopts attribute are not expanded anymore
4304 unless they are wrapped, e.g: $(location //foo:bar)
4305 - If the same artifact is generated by two distinct but identical
4306 actions, and a downstream action has both those actions' outputs
4307 in its inputs, the artifact will now appear twice in the
4308 downstream action's inputs. If this causes problems in Skylark
4309 actions, you can use the uniquify=True argument in Args.add_args.
4310 - New bazelrc file list.
4311 - Windows: when BAZEL_SH envvar is not defined and Bazel searches
4312 for a suitable bash.exe, Bazel will no longer look for Git Bash
4313 and no longer recommend installing it as a Bash implementation.
4314 See issue #5751.
4315 - New bazelrc file list.
4316
4317New features:
4318
4319 - The aquery command now supports --output=text.
4320 - Java, runfiles: the Java runfiles library is now in
4321 @bazel_tools//tools/java/runfiles. The old target
4322 (@bazel_tools//tools/runfiles:java-runfiles) is deprecated and
4323 will be removed in Bazel 0.18.0.
4324 - Java, runfiles: the Java runfiles library is now in
4325 @bazel_tools//tools/java/runfiles. The old target
4326 (@bazel_tools//tools/runfiles:java-runfiles) is deprecated and
4327 will be removed in Bazel 0.19.0 (not 0.18.0, as stated earlier).
4328
4329Important changes:
4330
4331 - Allow @ in package names.
4332 - Remove support for java_runtime_suite; use alias() together with
4333 select() instead.
4334 - Python wrapper scripts for MSVC are removed.
4335 - [JavaInfo] Outputs are merged in java_common.merge().
4336 - Faster analysis by improved parallelization.
4337 - --experimental_shortened_obj_file_path is removed.
4338 - Introduce the --remote_cache_proxy flag,
4339 which allows for remote http caching to connect
4340 via a unix domain socket.
4341 - No longer define G3_VERSION_INFO for c++ linkstamp compiles, as
4342 it was a duplicate of G3_TARGET_NAME.
4343 - Added support for Android NDK r17. The default STL is now
4344 `libc++`, and support for targeting `mips`, `mips64` and `ARMv5`
4345 (`armeabi`) has been removed.
4346 - Add aquery command to get analysis time information about the
4347 action graph.
4348 - Fixed compatibility with aar_import when using aapt2. AAPT2 is
4349 now supported for Android app builds without resource shrinking.
4350 To use it, pass the `--android_aapt=aapt2` flag or define
4351 android_binary.aapt_version=aapt2.
4352 - Code coverage is collected for Java binaries invoked from sh_test.
4353 - java_common.compile creates the native headers jar accesible via
4354 JavaInfo.outputs.native_headers.
4355 - Deleting deprecated no-op flag --show_package_location
4356 - The JDK shipped with Bazel was updated to JDK10.
4357 - Rename the startup flag --host_javabase to --server_javabase to
4358 avoid confusion with the build flag --host_javabase
4359 - newly added options --experimental_repository_hash_file and
4360 --experimental_verify_repository_rules allow to verify for
4361 repositories
4362 the directory generated against pre-recorded hashes. See
4363 documentation
4364 for those options.
4365 - Removed the gen_jars output group
4366 - --subcommands can now take a "pretty_print" value
4367 ("--subcommands=pretty_print") to print the
4368 arguments of subcommands as a list for easier reading.
4369 - follow-up to
4370 https://github.com/bazelbuild/bazel/commit/1ac359743176e659e9c7472
4371 645e3142f3c44b9e8
4372 - A rule error is now thrown if a Skylark rule implementation
4373 function returns multiple providers of the same type.
4374 - When using Bazel's remote execution feature and Bazel has to
4375 fallback to local execution for an action, Bazel used
4376 non-sandboxed
4377 local execution until now. From this release on, you can use the
4378 new
4379 flag --remote_local_fallback_strategy=<strategy> to tell Bazel
4380 which
4381 strategy to use in that case.
4382 - Execution Log Parser can now, when printing it out, filter the
4383 log by runner type
4384 - A rule error is now thrown if a Skylark rule implementation
4385 function returns multiple providers of the same type.
4386 - Removed the gen_jars output group
4387 - Removed the gen_jars output group
4388 - Set --defer_param_files to default to true.
4389 - Sort attribute lists in proto-form query output to fix
4390 non-deterministic genquery output.
4391 - Replace 0/1 with False/True for testonly attribute
4392 - bazel now supports a .bazelignore file specifying
4393 directories to be ignored; however, these directories still
4394 have to be well founded and, in particular, may not contain
4395 symlink cycles.
4396 - Add more detailed reporting of the differences between startup
4397 options.
4398 - update data binding to 3.2.0
4399 - For Android incremental dexing actions, Bazel now persists its
4400 DexBuilder process across individual actions. From our
4401 benchmarks, this results in a 1.2x speedup for clean local builds.
4402 - The standard `xcode_VERSION` feature now always uses exactly two
4403 components in the version, even if you specify `--xcode_version`
4404 with
4405 more or fewer than two.
4406 - A rule error will be thrown if a Skylark rule implementation
4407 function returns multiple providers of the same type. Try the
4408 `--incompatible_disallow_conflicting_providers` flag to ensure
4409 your code is forward-compatible.
4410 - Removed notion of FULLY_STATIC linking mode from C++ rules.
4411 - In documentation, we've renamed Skylark into Starlark.
4412 - Execution Log Parser can now, when printing it out, reorder the
4413 actions for easier text diffs
4414 - Linkstamps are no longer recompiled after server restart.
4415 - Use VanillaJavaBuilder and disable header compilation in
4416 toolchain_hostjdk8. The default toolchain will soon drop
4417 compatibility with JDK 8. Using a JDK 8 host_javabase
4418 will only be supported when using 'VanillaJavaBuilder' (which
4419 does not support Error Prone,
4420 Strict Java Deps, or reduced classpaths) and with header
4421 compilation disabled.
4422 - In the future, Bazel will expand tree artifacts in runfiles, too,
4423 which causes the sandbox to link each file individually into the
4424 sandbox directory, instead of symlinking the entire directory. In
4425 this release, the behavior is not enabled by default yet. Please
4426 try it out via
4427 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
4428 s_tree and let us know if it causes issues. If everything looks
4429 good, this behavior will become the default in a following
4430 release.
4431
Bazel Release System1bd58832018-08-13 15:41:26 +02004432## Release 0.16.1 (2018-08-13)
4433
4434```
4435Baseline: 4f64b77a3dd8e4ccdc8077051927985f9578a3a5
4436
4437Cherry picks:
4438 + 4c9a0c82d308d5df5c524e2a26644022ff525f3e:
4439 reduce the size of bazel's embedded jdk
4440 + d3228b61f633cdc5b3f740b641a0836f1bd79abd:
4441 remote: limit number of open tcp connections by default. Fixes
4442 #5491
4443 + 8ff87c164f48dbabe3b20becd00dde90c50d46f5:
4444 Fix autodetection of linker flags
4445 + c4622ac9205d2f1b42dac8c598e83113d39e7f11:
4446 Fix autodetection of -z linker flags
4447 + 10219659f58622d99034288cf9f491865f818218:
4448 blaze_util_posix.cc: fix order of #define
4449 + ab1f269017171223932e0da9bb539e8a17dd99ed:
4450 blaze_util_freebsd.cc: include path.h explicitly
4451 + 68e92b45a37f2142c768a56eb7ecfa484b8b22df:
4452 openjdk: update macOS openjdk image. Fixes #5532
4453 + f45c22407e6b00fcba706eb62141cb9036bd38d7:
4454 Set the start time of binary and JSON profiles to zero correctly.
4455 + bca1912853086b8e9a28a85a1b144ec0dc9717cc:
4456 remote: fix race on download error. Fixes #5047
4457 + 3842bd39e10612c7eef36c6048407e81bcd0a8fb:
4458 jdk: use parallel old gc and disable compact strings
4459 + 6bd0bdf5140525cb33dc2db068b210261d9df271:
4460 Add objc-fully-link to the list of actions that require the
4461 apple_env feature. This fixes apple_static_library functionality.
4462 + f330439fb970cfa17c70fc59c1458bb1c31c9522:
4463 Add the action_names_test_files target to the OSS version of
4464 tools/buils_defs/cc/BUILD.
4465 + d215b64362c4ede61c8ba87b5f3f57bce4785d15:
4466 Fix StackOverflowError on Windows. Fixes #5730
4467 + 366da4cf27b7f957ef39f89206db77fa2ac289df:
4468 In java_rules_skylark depend on the javabase through
4469 //tools/jdk:current_java_runtime
4470 + 30c601dc13d9e1b40a57434c022c888c7578cc56:
4471 Don't use @local_jdk for jni headers
4472 + c56699db5f9173739ba3ac55aa9fa69b6457a99b:
4473 'DumpPlatformClasspath' now dumps the current JDK's default
4474 platform classpath
4475```
4476
4477This release is a patch release that contains fixes for several serious
4478regressions that were found after the release of Bazel 0.16.0.
4479
4480In particular this release resolves the following issues:
4481
4482 - Bazel crashes with a StackOverflowError on Windows (See #5730)
4483 - Bazel requires a locally installed JDK and does not fall back
4484 to the embedded JDK (See #5744)
4485 - Bazel fails to build for Homebrew on macOS El Capitan (See #5777)
4486 - A regression in apple_static_library (See #5683)
4487
4488Please watch our blog for a more detailed release announcement.
4489
Bazel Release Systemb292ad12018-07-31 12:55:37 -04004490## Release 0.16.0 (2018-07-31)
Bazel Release System97564f62018-07-17 14:19:41 +02004491
4492```
Bazel Release Systemb292ad12018-07-31 12:55:37 -04004493Baseline: 4f64b77a3dd8e4ccdc8077051927985f9578a3a5
Bazel Release System97564f62018-07-17 14:19:41 +02004494
4495Cherry picks:
Bazel Release Systemb292ad12018-07-31 12:55:37 -04004496 + 4c9a0c82d308d5df5c524e2a26644022ff525f3e:
4497 reduce the size of bazel's embedded jdk
4498 + d3228b61f633cdc5b3f740b641a0836f1bd79abd:
4499 remote: limit number of open tcp connections by default. Fixes
4500 #5491
Bazel Release System97564f62018-07-17 14:19:41 +02004501 + 8ff87c164f48dbabe3b20becd00dde90c50d46f5:
4502 Fix autodetection of linker flags
4503 + c4622ac9205d2f1b42dac8c598e83113d39e7f11:
4504 Fix autodetection of -z linker flags
Bazel Release Systemb292ad12018-07-31 12:55:37 -04004505 + 10219659f58622d99034288cf9f491865f818218:
4506 blaze_util_posix.cc: fix order of #define
4507 + ab1f269017171223932e0da9bb539e8a17dd99ed:
4508 blaze_util_freebsd.cc: include path.h explicitly
4509 + 68e92b45a37f2142c768a56eb7ecfa484b8b22df:
4510 openjdk: update macOS openjdk image. Fixes #5532
4511 + f45c22407e6b00fcba706eb62141cb9036bd38d7:
4512 Set the start time of binary and JSON profiles to zero correctly.
4513 + bca1912853086b8e9a28a85a1b144ec0dc9717cc:
4514 remote: fix race on download error. Fixes #5047
4515 + 3842bd39e10612c7eef36c6048407e81bcd0a8fb:
4516 jdk: use parallel old gc and disable compact strings
Bazel Release System97564f62018-07-17 14:19:41 +02004517```
4518
Bazel Release Systemb292ad12018-07-31 12:55:37 -04004519Incompatible changes:
4520
4521 - The $(ANDROID_CPU) Make variable is not available anymore. Use
4522 $(TARGET_CPU) after an Android configuration transition instead.
4523 - The $(JAVA_TRANSLATIONS) Make variable is not supported anymore.
4524 - Skylark structs (using struct()) may no longer have to_json and
4525 to_proto overridden.
4526 - The mobile-install --skylark_incremental_res flag is no longer
4527 available, use the --skylark flag instead.
4528
4529New features:
4530
4531 - android_local_test now takes advantage of Robolectric's binary
4532 resource processing which allows for faster tests.
4533 - Allow @ in package names.
4534
Bazel Release System97564f62018-07-17 14:19:41 +02004535Important changes:
4536
Bazel Release Systemb292ad12018-07-31 12:55:37 -04004537 - Option --glibc is removed, toolchain selection relies solely on
4538 --cpu and --compiler options.
4539 - Build support for enabling cross binary FDO optimization.
4540 - The --distdir option is no longer experimental. This
4541 option allows to specify additional directories to look for
4542 files before trying to fetch them from the network. Files from
4543 any of the distdirs are only used if a checksum for the file
4544 is specified and both, the filename and the checksum, match.
4545 - Java coverage works now with multiple jobs.
4546 - Flip default value of --experimental_shortened_obj_file_path to
4547 true, Bazel now generates short object file path by default.
4548 - New rules for importing Android dependencies:
4549 `aar_import_external` and `aar_maven_import_external`.
4550 `aar_import_external` enables specifying external AAR
4551 dependencies using a list of HTTP URLs for the artifact.
4552 `aar_maven_import_external` enables specifying external AAR
4553 dependencies using the artifact coordinate and a list of server
4554 URLs.
4555 - The BAZEL_JAVAC_OPTS environment variable allows arguments, e.g.,
4556 "-J-Xmx2g", may be passed to the javac compiler during bootstrap
4557 build. This is helpful if your system chooses too small of a max
4558 heap size for the Java compiler during the bootstrap build.
4559 - --noexpand_configs_in_place is deprecated.
4560 - A tool to parse the Bazel execution log.
4561 - Support for LIPO has been fully removed.
4562 - Remove support for --discard_actions_after_execution.
4563 - Add --materialize_param_files flag to write parameter files even
4564 when actions are executed remotely.
4565 - Windows default system bazelrc is read from the user's
4566 ProgramData if present.
4567 - --[no]allow_undefined_configs no longer exists, passing undefined
4568 configs is an error.
Bazel Release System1281a022018-07-16 16:13:53 +02004569 - In remote caching we limit the number of open
4570 TCP connections to 100 by default. The number can be adjusted
4571 by specifying the --remote_max_connections flag.
4572
Bazel Release System5013a332018-06-26 14:07:47 +02004573## Release 0.15.0 (2018-06-26)
4574
4575```
4576Baseline: b93ae42e8e693ccbcc387841a17f58259966fa38
4577
4578Cherry picks:
4579 + 4b80f2455e7e49a95f3a4c9102a67a57dad52207:
4580 Add option to enable Docker sandboxing.
4581 + 6b1635279e8b33dc1ac505ac81825e38f8797a14:
4582 Allow disabling the simple blob caches via CLI flag overrides.
4583 + 4ec0a7524913ab2c4641368e3f8c09b347351a08:
4584 Use BUILD.bazel instead of BUILD for external projects
4585```
4586
4587Incompatible changes:
4588
4589 - Bazel now always runs binaries in with "bazel run" in
4590 interactive mode. The "--nodirect_run" command line option is now
4591 a no-op.
4592 - "bazel run --noas_test" is not supported anymore.
4593 - Indentation on the first line of a file was previously ignored.
4594 This is now fixed.
4595
4596New features:
4597
4598 - C++,runfiles: to access data-dependencies (runfiles) in C++
4599 programs, use the runfiles library built into Bazel. For usage
4600 info, see
4601 https://github.com/bazelbuild/bazel/blob/master/tools/cpp/runfiles
4602 /runfiles.h
4603
4604Important changes:
4605
4606 - Bazel now allows almost all 7-bit ASCII characters in labels.
4607 - Remove vestigial java_plugin.data attribute
4608 - Bazel supports including select Java 8 APIs into Android apps
4609 targeting pre-Nougat Android devices with
4610 --experimental_desugar_java8_libs
4611 - Flag `--incompatible_disable_glob_tracking` is removed.
4612 - SkyQuery's rbuildfiles now returns targets corresponding to
4613 broken packages.
4614 - Introduce build support for providing cache prefetch hints.
4615 - Update the skylark DefaultInfo documentation to spell out
4616 runfiles, data_runfiles and default_runfiles
4617 - An internal action for symlinking runfiles will use Command
4618 instead of a Spawns. This should have no functional chages; the
4619 only user visible consequence should be that the internal action
4620 is no longer be included in statistics when calculating processes
4621 count.
4622 - --batch is deprecated
4623 - execution strategies line no longer handles differently the case
4624 where all processes have the same strategy.
4625 - The --experimental_remote_spawn_cache flag is now enabled by
4626 default, and remote caching no longer needs --*_strategy=remote
4627 flags (it will fail if they are specified).
4628 - android_binary.aapt_version='aapt2' now supports en_XA and ar_XB
4629 - Added --apple_enable_auto_dsym_dbg flag.
4630 - non_propagated_deps has been removed from objc_library and
4631 apple_binary.
4632 - For Android projects, Bazel now supports building fonts as
4633 resources. See
4634 https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml
4635 for more information on the feature.
4636 - With --incompatible_no_support_tools_in_action_inputs enabled, Skylark
4637 action inputs are no longer scanned for tools. Move any such
4638 inputs to the newly introduced 'tools' attribute.
4639
Bazel Release System513bbf52018-06-08 14:15:20 +02004640## Release 0.14.1 (2018-06-08)
4641
4642```
4643Baseline: 5c3f5c9be7fa40d4fb3c35756891fab8483ca406
4644
4645Cherry picks:
4646 + f96f037f8f77335dc444844abcc31a372a3e1849:
4647 Windows, Java launcher: Support jar files under different drives
4648 + ff8162d01409db34893de98bd840a51c5f13e257:
4649 sh_configure.bzl: FreeBSD is also a known platform
4650 + 7092ed324137f03fcd34856bdb0595a1bdec3069:
4651 Remove unneeded exec_compatible_with from local_sh_toolchain
4652 + 57bc201346e61c62a921c1cbf32ad24f185c10c9:
4653 Do not autodetect C++ toolchain when
4654 BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 is present
4655 + 35a78c09cf2fbfc3de9c124d2142e3d72aac4348:
4656 remote: recursively delete incomplete downloaded output
4657 directory.
4658 + 3c9cd82b847f3ece8ec04b2029bd5e8ad0eb7502:
4659 distfile: pack the archives needed later in the build
4660 + 27487c77387e457df18be3b6833697096d074eab:
4661 Slightly refactor SpawnAction to improve env handling
4662 + 1b333a2c37add9d04fe5bc5258ee4f73c93115e2:
4663 Fix Cpp{Compile,Link}Action environment and cache key computation
4664 + 3da8929963e9c70dff5d8859d6e988e6e7f4f9d7:
4665 Make SymlinkTreeAction properly use the configuration's
4666 environment
4667 + eca7b81cf8cc51e1fe56e5ed7d4ad5cd1668a17a:
4668 Add a missing dependency from checker framework dataflow to
4669 javacutils
4670 + 10a4de954c2061258d8222961fc3bd39516db49d:
4671 Release 0.14.0 (2018-06-01)
4672 + 4b80f2455e7e49a95f3a4c9102a67a57dad52207:
4673 Add option to enable Docker sandboxing.
4674 + 6b1635279e8b33dc1ac505ac81825e38f8797a14:
4675 Allow disabling the simple blob caches via CLI flag overrides.
4676```
4677
4678Bug fix for [#5336](https://github.com/bazelbuild/bazel/issues/5336)
4679Bug fix fot [#5308](https://github.com/bazelbuild/bazel/issues/5308)
4680
Bazel Release System3a592f62018-06-01 15:04:31 +02004681## Release 0.14.0 (2018-06-01)
4682
4683```
4684Baseline: 5c3f5c9be7fa40d4fb3c35756891fab8483ca406
4685
4686Cherry picks:
4687 + f96f037f8f77335dc444844abcc31a372a3e1849:
4688 Windows, Java launcher: Support jar files under different drives
4689 + ff8162d01409db34893de98bd840a51c5f13e257:
4690 sh_configure.bzl: FreeBSD is also a known platform
4691 + 7092ed324137f03fcd34856bdb0595a1bdec3069:
4692 Remove unneeded exec_compatible_with from local_sh_toolchain
4693 + 57bc201346e61c62a921c1cbf32ad24f185c10c9:
4694 Do not autodetect C++ toolchain when
4695 BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 is present
4696 + 35a78c09cf2fbfc3de9c124d2142e3d72aac4348:
4697 remote: recursively delete incomplete downloaded output
4698 directory.
4699 + 3c9cd82b847f3ece8ec04b2029bd5e8ad0eb7502:
4700 distfile: pack the archives needed later in the build
4701 + 27487c77387e457df18be3b6833697096d074eab:
4702 Slightly refactor SpawnAction to improve env handling
4703 + 1b333a2c37add9d04fe5bc5258ee4f73c93115e2:
4704 Fix Cpp{Compile,Link}Action environment and cache key computation
4705 + 3da8929963e9c70dff5d8859d6e988e6e7f4f9d7:
4706 Make SymlinkTreeAction properly use the configuration's
4707 environment
4708 + eca7b81cf8cc51e1fe56e5ed7d4ad5cd1668a17a:
4709 Add a missing dependency from checker framework dataflow to
4710 javacutils
4711```
4712
4713Incompatible changes:
4714
4715 - Add --incompatible_disallow_legacy_javainfo flag.
4716 - Added flag --incompatible_disallow_old_style_args_add to help
4717 migrate from args.add() to args.add_all() / args.add_joined()
4718 where appropriate.
4719
4720New features:
4721
4722 - Bash,runfiles: use the new platform-independent library in
4723 `@bazel_tools//tools/bash/runfiles` to access runfiles
4724 (data-dependencies). See
4725 https://github.com/bazelbuild/bazel/blob/master/tools/bash/runfile
4726 s/runfiles.bash for usage information.
4727 - TemplateVariableInfo can now be constructed from Skylark.
4728 - The java_host_runtime_alias rule is now implemented in Java.
4729
4730Important changes:
4731
4732 - Flip default value of --experimental_shortened_obj_file_path to
4733 true, Bazel now generates short object file path by default.
4734 - Introduce fdo_profile rule that allows architecture-sensitive
4735 specification of fdo profiles.
4736 - canonicalize-flags no longer reorders the flags
4737 - CppRules: optional_compiler_flag was removed from CROSSTOOL, use
4738 features instead.
4739 - Labels of the form ////foo are disallowed.
4740 - The `/` operator is deprecated in favor of `//` (floor integer
4741 division).
4742 Try the `--incompatible_disallow_slash_operator` flag to ensure
4743 your code
4744 is forward-compatible.
4745 - Flip default value of --experimental_shortened_obj_file_path to
4746 true, Bazel now generates short object file path by default.
4747 - Exposed "mnemonic" and "env" fields on skylark "Action" objects.
4748 - Removed flag `--incompatible_disallow_toplevel_if_statement`.
4749 - Remove vestigial 'deps' and 'data' attributes from
4750 proto_lang_toolchain
4751 - Args objects (ctx.actions.args()) have new methods add_all() and
4752 add_joined() for building command lines using depsets.
4753 - `FileType` is deprecated and will be removed soon.
4754 Try the `--incompatible_disallow_filetype` flag to ensure your
4755 code
4756 is forward-compatible.
4757 - Introduce absolute_path_profile attribute that allows fdo_profile
4758 to accept absolute paths.
4759 - Support two-arg overloads for ctx.actions.args (eg.
4760 args.add("--foo", val))
4761 - Introduce 'tools' attribute to ctx.actions.run.
4762 - Fixed error message for proguard_apply_dictionary.
4763 - "bazel run" now lets one run interactive binaries. The
4764 BUILD_WORKSPACE_DIRECTORY and BUILD_WORKING_DIRECTORY environment
4765 variables indicate the working directory and the workspace root
4766 of the Bazel invocation. Tests are provided with an approximation
4767 of the official test environment.
4768 - repository rules are no longer restricted to return None.
4769 - Add --high_priority_workers flag.
4770 - CppRules: Feature configuration can be created from Skylark
4771 - Adds new-style JavaInfo provider constructor.
4772 - Make java_common.compile now uses java_toolchain javacopts by
4773 default; explicitly retrieving them using
4774 java_common.default_javac_opts is unnecessary.
4775 - CppRules: C++ command lines and env variables for C++ actions can
4776 be retrieved from feature configuration.
4777 - Skylark rule definitions may advertise providers that targets of
4778 the rule must propagate.
4779 - Bazel now supports running actions inside Docker containers.
4780 To use this feature, run "bazel build --spawn_strategy=docker
4781 --experimental_docker_image=myimage:latest".
4782 - Remote execution works for Windows binaries with launchers.
4783 - Fixing start/end lib expansion for linking. There were many cases
4784 where archive files were still being used with toolchains that
4785 support start/end lib. This change consolidates the places that
4786 make that decision so they can be more consistent.
4787 - Add support for reporting an error if
4788 android_test.binary_under_test contains incompatible versions of
4789 deps
4790 - We replaced the --experimental_local_disk_cache and
4791 --experimental_local_disk_cache_path flags into a single
4792 --disk_cache flag. Additionally, Bazel now tries to create the disk cache
4793 directory if it doesn't exist.
4794 - Save Blaze memory by not storing LinkerInput objects in
4795 LinkCommandLine
4796 - In the JavaInfo created by java_common.create_provider now
4797 includes both direct and transitive arguments in
4798 transitive_compile_time_jars and transitive_runtime_jars
4799 - Allow --worker_max_instances to take MnemonicName=value to
4800 specify max for each worker.
4801 - Allow java_toolchain.header_compiler to be an arbitrary executable
4802
Bazel Release System24c68ff2018-05-23 10:59:57 +02004803## Release 0.13.1 (2018-05-23)
4804
4805```
4806Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05
4807
4808Cherry picks:
4809 + f083e7623cd03e20ed216117c5ea8c8b4ec61948:
4810 windows: GetOutputRoot() returns GetHomeDir()
4811 + fa36d2f48965b127e8fd397348d16e991135bfb6:
4812 Automated rollback of commit
4813 4465dae23de989f1452e93d0a88ac2a289103dd9.
4814 + 4abd2babcc50900afd0271bf30dc64055f34e100:
4815 Add error message on empty public resources
4816 + 2c957575ff24c183d48ade4345a79ffa5bec3724:
4817 test-setup: remove leading "./" from test name
4818 + e6eaf251acb3b7054c8c5ced58a49c054b5f23b1:
4819 Sort entries by segment when building a parent node to prevent
4820 unordered directory structures.
4821```
4822
4823Important changes:
4824
4825 - Remote Execution: Fixes a regression that produces directories with unsorted file/directory lists
4826
Bazel Release System1d9c6062018-04-30 10:45:38 +02004827## Release 0.13.0 (2018-04-30)
4828
4829```
4830Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05
4831
4832Cherry picks:
4833 + f083e7623cd03e20ed216117c5ea8c8b4ec61948:
4834 windows: GetOutputRoot() returns GetHomeDir()
4835 + fa36d2f48965b127e8fd397348d16e991135bfb6:
4836 Automated rollback of commit
4837 4465dae23de989f1452e93d0a88ac2a289103dd9.
4838 + 4abd2babcc50900afd0271bf30dc64055f34e100:
4839 Add error message on empty public resources
4840 + 2c957575ff24c183d48ade4345a79ffa5bec3724:
4841 test-setup: remove leading "./" from test name
4842```
4843
4844Incompatible changes:
4845
4846 - Remove //tools/defaults:android_jar. Use
4847 @bazel_tools//tools/android:android_jar instead.
4848 - The flag --incompatible_show_all_print_messages is removed.
4849 Messages generated by `print` statements from any package will be
4850 displayed as
4851 DEBUG messages.
4852 - The --incompatible_disallow_uncalled_set_constructor flag is no
4853 longer available, the `set` constructor` is completely removed
4854 from Skylark.
4855 Use `depset` instead.
4856 - Variables PACKAGE_NAME and REPOSITORY_NAME are deprecated in
4857 favor of
4858 functions `package_name()` and `repository_name()`.
4859
4860 https://docs.bazel.build/versions/master/skylark/lib/native.html#p
4861 ackage_name
4862 - BUILD_TIMESTAMP now contains seconds (and not milliseconds) since
4863 the epoch.
4864
4865New features:
4866
4867 - Strings have a new .elems() method, that provides an iterator on
4868 the characters of the string.
4869 - Now you can access three functions in windows_cc_configure.bzl by:
4870 load("@bazel_tools/tools/cpp:windows_cc_configure.bzl",
4871 "<function_name>")
4872
4873Important changes:
4874
4875 - CppRules: Unified action_configs for static libraries
4876 - Remove support for blaze dump --vfs. It is no longer meaningful.
4877 - Enable dependency checking for aar_import targets.
4878 - internal_bootstrap_hack has been deprecated and removed.
4879 - Properly handle tree artifacts on the link command line coming
4880 from a cc_library dependency.
4881 - Allow C++ features to make proto_library emit smaller C++ code
4882 - The 'j2objc' configuration fragment is exposed to Skylark.
4883 - Remove the default content of the global bazelrc.
4884 - In int() function, do not auto-detect base if input starts with
4885 '0'.
4886 - Users can now pass --experimental_shortened_obj_file_path=true to
4887 have a shorter object file path, the object file paths (and all
4888 other related paths) will be constructed as following:
4889 If there's no two or more source files with the same base name:
4890
4891 <bazel-bin>/<target_package_path>/_objs/<target_name>/<source_base
4892 _name>.<extension>
4893 otherwise:
4894
4895 <bazel-bin>/<target_package_path>/_objs/<target_name>/N/<source_ba
4896 se_name>.<extension>
4897 N = the file?s order among the source files with the same
4898 basename, starts from 0.
4899 - Move (c/cxx)opts from legacy_compile_flags to user_compile_flags
4900 - CppRules: Remove optional_*_flag fields from CROSSTOOL, they are
4901 not
4902 used, and could be expressed using features.
4903 - Introduce --incompatible_disable_objc_provider_resources to turn
4904 off all resource-related fields of the Objc provider.
4905 - Removed the statement of "What does Bazel support?" as it's
4906 limiting/misleading. Added supported host OSes to
4907 "multi-platform" paragraph.
4908 - android_library AAR output now contains proguard.txt
4909 - Bazel now displays information about remote cache hits and
4910 execution strategies used in its UI after every build and test,
4911 and adds a corresponding line "process stats" to BuildToolLogs in
4912 BEP.
4913 - Print correct build result for builds with --aspects flag.
4914 - android_binary.manifest_merger is no longer supported.
4915
Bazel Release System546976c2018-04-11 17:34:19 +02004916## Release 0.12.0 (2018-04-11)
4917
4918```
4919Baseline: b33e5afa313322a7048044c44d854cbb666b988e
4920
4921Cherry picks:
4922 + 369409995bd75eeb0683fd24f7585d2a90320796:
4923 Automated rollback of commit
4924 c2b332b45e6ea41a14ecbd3c5f30782bcdeec301.
4925 + dbf779869751cc893ba240402d352c6e70be2978:
4926 Emit SJD errors even if we don't know the label of a dependency
4927 + 4c3098cfa6f00f90c7530b6f40d3e93062931c1d:
4928 Android tools: remove mtime-modifications
4929 + a1068c44a700ec2cff84cbd12592e9bfea25d754:
4930 NDK cc_toolchains: include bundled runtime libraries in
4931 cc_toolchain.all_files
4932 + b1be5816ec1bf8e1172c1bed4f29b4e6c6bb7202:
4933 runfiles,Python: remove library from @bazel_tools
4934 + 0a4622012ff796429220fe57d3217f262cc208a8:
4935 Fix visibility of def_parser for remote builds
4936 + 3c5373c50c7c492842f8a468906eda2c0bc90787:
4937 Remove visibility attribute from
4938 //third_party/def_parser:def_parser
4939 + f54d7e5293cc40ce3507a9adef530e46ab817585:
4940 Enable bulk writes in the HttpBlobStore
4941 + 04ce86e8ba96630f89a436167b7f3a195c5e50e7:
4942 remote/http: properly complete user promise
4943```
4944
4945Incompatible changes:
4946
4947 - The order of dict-valued attributes is now the order in the BUILD
4948 file (or in the Skylark dict they were created from) and not
4949 lexicographically sorted.
4950
4951New features:
4952
4953 - The new "--direct_run" flag on "blaze run" lets one run
4954 interactive binaries.
4955 - "blaze run --direct_run" with tests now gives the test an
4956 approximation of the official test environment.
4957 - "blaze run --direct_run" now exports the
4958 BUILD_{WORKSPACE,WORKING}_DIRECTORY variables to tell the binary
4959 about the cwd of the client and the workspace root.
4960 - New Android device test rule: android_instrumentation_test.
4961 - Add option to dump the action graph to a file: 'bazel dump
4962 --action_graph=/path/to/file'.
4963 - Pass `tags` from `java_import_external` rule to the generated
4964 `java_import` rule.
4965 - blaze query: use --proto:output_rule_attrs to filter for given
4966 attributes
4967 - Added Android NDK r15 support, including compatibility with
4968 Unified Headers.
4969 - Adds --ltobackendopt and --per_file_ltobackendopt for passing
4970 options to ThinLTO LTO backend compile actions only.
4971
4972Important changes:
4973
4974 - Fix how libraries to link is specified to archiver actions.
4975 - Fix how libraries_to_link are expanded in the archiver command
4976 line.
4977 - stop using --no-locals in android coverage builds
4978 - apple_binary can now generate dSYM outputs with the
4979 --apple_generate_dsym=true flag.
4980 - Fix FDO_STAMP_MACRO to only be set when fdoBuildStamp is not null.
4981 - Improved clarity of warning message for unsupported NDK revisions.
4982 - Add lint check for discouraging glob(["**/*.java"])
4983 - unifly lint glob(["**/*.java"]) message
4984 - Removed flags `--incompatible_checked_arithmetic`,
4985 `--incompatible_dict_literal_has_no_duplicates`,
4986 `--incompatible_disallow_keyword_only_args`, and `
4987 --incompatible_comprehension_variables_do_not_leak`.
4988 - Add "proto_source_root" flag to proto_library.
4989 - Updated default android_cpu value to armeabi-v7a
4990 - In skylark, print(target) now shows the provider keys of a
4991 target, as debug information.
4992 - The native http_archive rule is deprecated. Use the
4993 Skylark version available via
4994 load("@bazel_tools//tools/build_defs/repo:http.bzl",
4995 "http_archive")
4996 instead.
4997 - flaky_test_attempts supports the regex@attempts syntax, like
4998 runs_per_test.
4999 - Fixed include paths for NDK r13+ llvm-libc++ headers to
5000 `ndk/sources/cxx-stl/llvm-libc++/include` and
5001 `ndk/sources/cxx-stl/llvm-libc++abi/include`
5002 - --config flags now expand in place by default.
5003 - aar_import now sets java.transitive_exports.
5004 - repository_cache is no longer experimental and enabled by default.
5005 - BAZEL_LINKOPTS is now consulted when autoconfiguring c++ toolchain
5006 - The native git_repository rule is deprecated. Use the
5007 Skylark version available via
5008 load("@bazel_tools//tools/build_defs/repo:git.bzl",
5009 "git_repository")
5010 instead.
5011 - Removed flag `--incompatible_load_argument_is_label`.
5012 - CcToolchain: Introduced action_config for
5013 "c++-link-transitive-dynamic-library"
5014 - Use bazel dump --action_graph=/path/to/action.proto
5015 --action_graph:targets://foo:bar,//foo:foo to filter for certain
5016 targets in the action graph dump.
5017 - Added Android NDK r16 support. Use --cxxopt='-std=c++11` compile
5018 with the C++11 standard, and
5019 `--android_crosstool_top=@androidndk//:toolchain-libcpp` to use
5020 the `libc++` STL.
5021 - Add a --build_event_publish_all_actions flag to allow all actions
5022 to be published via the BEP.
5023 - C++: Introduced --experimental_drop_fully_static_linking_mode
5024 - Removed cc_inc_library, please use cc_library instead
5025 - CppRules: cc_binary/cc_test now enable 'static_linking_mode' or
5026 'dynamic_linking_mode'.
5027
Bazel Release Systemc86d6a02018-03-06 19:32:18 +01005028## Release 0.11.1 (2018-03-06)
5029
5030```
5031Baseline: 00d781ae78a8bd51d3c61b621d79f0bb095aff9e
5032
5033Cherry picks:
5034 + ea2d4c475febdbd59ca0e0ba46adc7be759f84e0:
5035 Update stub_finds_runfiles_test to be a real sh_test.
5036 + d855d8133f4efb73ebd5e82c54a9afb4c7565d46:
5037 java,runfiles: fix bugs in runfiles library
5038 + 56aeb04a064218b845ecc193d530c341c6ec854d:
5039 Fixing #4585: broken re-execution of orphaned actions.
5040 + cf3f81aef7c32019d70cbce218a64a03276268f0:
5041 remote: Add support for HTTP Basic Auth
5042 + 28bd997c1c8793973f63dcae4c22bbae49e7d8b7:
5043 Fixing test-setup.sh occasionally missing stdout/stderr, on
5044 systems where "tail --pid" is supported.
5045 + 109e4b4dc9e786e3a2d8d7cb245d18320dbe9216:
5046 Automated rollback of commit
5047 7e6837cc1d1aa4259f5c27ba3606b277b5f6c3e9.
5048 + b3d52b1b6d46a0f23cc91125c1d522e9d13433b4:
5049 Fix incorrect include directories when -no-canonical-prefixes is
5050 passed to clang
5051 + 1001141f0674ff4b611814edcb00a5183680ef4a:
5052 Roll forward of
5053 https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1
5054 b52bcac5a3ff942029
5055 (https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba
5056 1b52bcac5a3ff942029). Fix #4625 by running the test process in a
5057 sub-shell.
5058 + fc98b44b6181fa4c3efd8613d887970629468d74:
5059 android,windows: bugfix in aar_resources_extractor
5060```
5061
5062Important changes:
5063
5064 - Fixes regression building Android rules on Windows.
5065
Bazel Release System09077a32018-02-23 11:09:18 -05005066## Release 0.11.0 (2018-02-23)
5067
5068```
5069Baseline: 00d781ae78a8bd51d3c61b621d79f0bb095aff9e
5070
5071Cherry picks:
5072 + ea2d4c475febdbd59ca0e0ba46adc7be759f84e0:
5073 Update stub_finds_runfiles_test to be a real sh_test.
5074 + d855d8133f4efb73ebd5e82c54a9afb4c7565d46:
5075 java,runfiles: fix bugs in runfiles library
5076 + 56aeb04a064218b845ecc193d530c341c6ec854d:
5077 Fixing #4585: broken re-execution of orphaned actions.
5078 + cf3f81aef7c32019d70cbce218a64a03276268f0:
5079 remote: Add support for HTTP Basic Auth
5080 + 28bd997c1c8793973f63dcae4c22bbae49e7d8b7:
5081 Fixing test-setup.sh occasionally missing stdout/stderr, on
5082 systems where "tail --pid" is supported.
5083 + 109e4b4dc9e786e3a2d8d7cb245d18320dbe9216:
5084 Automated rollback of commit
5085 7e6837cc1d1aa4259f5c27ba3606b277b5f6c3e9.
5086 + b3d52b1b6d46a0f23cc91125c1d522e9d13433b4:
5087 Fix incorrect include directories when -no-canonical-prefixes is
5088 passed to clang
5089 + 3904ac33a983fd8faebba1b52bcac5a3ff942029:
5090 Automated rollback of commit
5091 28bd997c1c8793973f63dcae4c22bbae49e7d8b7.
5092 + 1001141f0674ff4b611814edcb00a5183680ef4a:
5093 Roll forward of
5094 https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1
5095 b52bcac5a3ff942029
5096 (https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba
5097 1b52bcac5a3ff942029). Fix #4625 by running the test process in a
5098 sub-shell.
5099```
5100
5101Incompatible changes:
5102
5103 - ctx.fragments.jvm is not available anymore.
5104
5105New features:
5106
5107 - java,runfiles: You can now depend on
5108 `@bazel_tools//tools/runfiles:java-runfiles` to get a
5109 platform-independent runfiles library for Java. See JavaDoc of
5110 https://github.com/bazelbuild/bazel/blob/master/src/tools/runfiles
5111 /java/com/google/devtools/build/runfiles/Runfiles.java for usage
5112 information.
5113
5114Important changes:
5115
5116 - The --[no]experimental_disable_jvm command line option is not
5117 supported anymore.
5118 - Allow expanding TreeArtifacts for libraries_to_link
5119 - Proguarded Android binaries can be built with incremental dexing.
5120 - aar_import now supports assets.
5121 - Crash in OutputJar::Close has been fixed
5122 - generator_* attributes are nonconfigurable.
5123 - Introduces --[no]keep_state_after_build
5124 - Add support for merged object files needed for -flto-unit.
5125 - Fix how libraries to link is specified to archiver actions.
5126 - Replace //tools/defaults:android_jar with
5127 @bazel_tools//tools/android:android_jar.
5128 //tools/defaults:android_jar will be removed in a future release.
5129 - java_common.compile supports neverlink
5130 - Resolved an issue where a failure in the remote cache would not
5131 trigger local re-execution of an action.
5132
Bazel Release Systeme1148362018-02-15 10:02:05 +01005133## Release 0.10.1 (2018-02-15)
5134
5135```
5136Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993
5137
5138Cherry picks:
5139 + f6ca78808722c8c119affdb33400838ee92d44b6:
5140 isable_presubmit
5141 + 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52:
5142 Fix StreamResourceLeak error
5143 + e5436745e1732f5e43fc55f0deb5b19e23ce8524:
5144 windows: fix --symlink_prefix=/ throwing exception
5145 + 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3:
5146 Fix turbine command lines with empty javacopts
5147 + 96c654d43eb2906177325cbc2fc2b1e90dbcc792:
5148 Remove EOL'd Linux flavours, bump CentOS to 6.9.
5149 + f0bec36864f10370cbbda4caa8beac2e0c5ee45b:
5150 Automated rollback of commit
5151 2aeaeba66857c561dd6d63c79a213f1cabc3650d.
5152 + 860af5be10b6bad68144d9d2d34173e86b40268c:
5153 Consolidate Error Prone resource handling
5154 + 2e631c99495f75270d2639542cefb531ec262d67:
5155 sandbox: properly add `tmpDir` to `writablePaths`
5156 + 5bfa5844d0d16d71e88002956e88402bfec88ef7:
5157 actions,temp: respect TMPDIR envvar
5158 + 6cc2ad8676d1ae0542b351a07a05ddbe5efac165:
5159 sandbox: add env[TMPDIR] instead of `tmpDir`
5160 + 40c757f4ab90214f95935672532a495c4551490a:
5161 Change git clone to pull all history, so all needed commits can
5162 be accessed.
5163 + 56aeb04a064218b845ecc193d530c341c6ec854d:
5164 Fixing #4585: broken re-execution of orphaned actions.
5165```
5166
5167Important changes:
5168
5169 - Resolved an issue where a failure in the remote cache would not
5170 trigger local re-execution of an action.
5171
Bazel Release System5bd27482018-02-01 09:43:33 +01005172## Release 0.10.0 (2018-02-01)
5173
5174```
5175Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993
5176
5177Cherry picks:
5178 + f6ca78808722c8c119affdb33400838ee92d44b6:
5179 isable_presubmit
5180 + 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52:
5181 Fix StreamResourceLeak error
5182 + e5436745e1732f5e43fc55f0deb5b19e23ce8524:
5183 windows: fix --symlink_prefix=/ throwing exception
5184 + 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3:
5185 Fix turbine command lines with empty javacopts
5186 + 96c654d43eb2906177325cbc2fc2b1e90dbcc792:
5187 Remove EOL'd Linux flavours, bump CentOS to 6.9.
5188 + f0bec36864f10370cbbda4caa8beac2e0c5ee45b:
5189 Automated rollback of commit
5190 2aeaeba66857c561dd6d63c79a213f1cabc3650d.
5191 + 860af5be10b6bad68144d9d2d34173e86b40268c:
5192 Consolidate Error Prone resource handling
5193 + 2e631c99495f75270d2639542cefb531ec262d67:
5194 sandbox: properly add `tmpDir` to `writablePaths`
5195 + 5bfa5844d0d16d71e88002956e88402bfec88ef7:
5196 actions,temp: respect TMPDIR envvar
5197 + 6cc2ad8676d1ae0542b351a07a05ddbe5efac165:
5198 sandbox: add env[TMPDIR] instead of `tmpDir`
5199 + 40c757f4ab90214f95935672532a495c4551490a:
5200 Change git clone to pull all history, so all needed commits can
5201 be accessed.
5202```
5203
5204Incompatible changes:
5205
5206 - In order to access the template variables $(JAVA) and
5207 $(JAVABASE), @bazel_tools//tools/jdk:current_java_runtime needs
5208 to be added to the toolchains= attribute from now on.
5209 - The ctx.middle_man function is not supported anymore.
5210 - The flag --incompatible_list_plus_equals_inplace is removed, its
5211 default behavior is preserved. += on lists now always mutates the
5212 left hand
5213 side.
5214 - --android_sdk no longer supports filegroup targets.
5215 - android_* rules no longer support legacy_native_support attribute.
5216
5217New features:
5218
5219 - query: Add option --noproto:flatten_selects to turn off
5220 flattening of selector lists in proto output.
5221 - New android test rule, android_local_test.
5222
5223Important changes:
5224
5225 - The --remote_rest_cache flag now respects --remote_timeout.
5226 - --experimental_java_coverage is available for testing.
5227 - The deprecated builtin `set` is no longer allowed even from within
5228 unexecuted code in bzl files. It's temporarily possible to use
5229 --incompatible_disallow_uncalled_set_constructor=false if this
5230 change causes
5231 incompatibility issues.
5232 - Linkstamping is now a separate and full-blown CppCompileAction,
5233 it's
5234 no longer a part of linking command.
5235 - Using `+`, `|` or `.union` on depsets is now deprecated. Please
5236 use the new
5237 constructor instead (see
5238 https://docs.bazel.build/versions/master/skylark/depsets.html).
5239 - config_feature_flag's default_value is optional. It is
5240 only an error to have a config_feature_flag with no default_value
5241 if that config_feature_flag has not been set in the configuration
5242 it is being evaluated in.
5243 - --[no]keep_incrementality_data is gone, replaced by the
5244 enum-valued --incremental_state_retention_strategy
5245 - Linkstamping is now a separate and full-blown CppCompileAction,
5246 it's
5247 no longer a part of linking command.
5248 - Added --checkHashMismatch flag to ZipFilterAction. Valid values
5249 are IGNORE, WARN and ERROR. --errorOnHashMismatch is deprecated,
5250 please use this flag instead.
5251 - Set build jobs equivalent to number of logical processors by
5252 default. Should improve build times significantly.
5253 - Added --(no)expand_test_suites flag.
5254 - Rename --keep_incrementality_data to --track_incremental_state
5255 - --remote_rest_cache was renamed to --remote_http_cache. Both
5256 options keep working in this release, but --remote_rest_cache
5257 will be
5258 removed in the next release.
5259 - Aspects-on-aspect see and propagate over aspect attributes.
5260 - --auth_* flags were renamed to --google_* flags. The old names
5261 will continue to work for this release but will be removed in the
5262 next
5263 release.
5264 - Remote Caching and Execution support output directories.
5265 - Remove defunct flags
5266 --experimental_incremental_dexing_for_lite_proto and
5267 --experimental_incremental_dexing_error_on_missed_jars that have
5268 long been enabled by default
5269 - New version of aapt2 and Resources.proto.
5270 - Make PIC and non PIC outputs for C++ compilation with Tree
5271 Artifacts
5272
Bazel Release System7b423cc2017-12-19 10:31:05 +01005273## Release 0.9.0 (2017-12-19)
Bazel Release System3d53cb02017-12-05 15:28:40 +01005274
5275```
Bazel Release System7b423cc2017-12-19 10:31:05 +01005276Baseline: ddd5ac16aeffa6c4693c348f73e7365240b1abc5
Bazel Release System3d53cb02017-12-05 15:28:40 +01005277
5278Cherry picks:
Bazel Release System7b423cc2017-12-19 10:31:05 +01005279 + 2cf560f83922e6df9626ba3ee063c1caf6797548:
5280 Update version of re2
5281 + a2d2615362c65be98629b39ce39754a325ed1c42:
5282 Check for null build file returned from getBuildFileForPackage.
5283 + 68c577afc2fb33b5e66b820bcc9043fed1071456:
5284 Fix some broken targets and failing tests.
5285 + 766ba8adc4487f17ebfc081aeba6f34b18b53d6c:
Bazel Release System3d53cb02017-12-05 15:28:40 +01005286 Automated rollback of commit
Bazel Release System7b423cc2017-12-19 10:31:05 +01005287 337f19cc54e77c45daa1d5f61bf0a8d3daf8268f.
5288 + a22d0e9c14e58b29d81f5a83bdcc6e5fce52eafe:
5289 Fix: uploading artifacts of failed actions to remote cache
5290 stopped working.
5291 + 03964c8ccb20d673add76c7f37245e837c3899b6:
5292 [java_common.compile] Name output source jar relative to the
5293 output jar name
Bazel Release System3d53cb02017-12-05 15:28:40 +01005294```
5295
Bazel Release System7b423cc2017-12-19 10:31:05 +01005296Incompatible changes:
5297
5298 - The deprecated `set` constructor is removed, along with the
5299 migration flag --incompatible_disallow_set_constructor. It is
5300 still temporarily
5301 allowed to refer to `set` from within unexecuted code.
5302 - The flag --incompatible_disallow_set_constructor is no longer
5303 available, the deprecated `set` constructor is not available
5304 anymore.
5305 - The path to the JVM executable is not accessible anymore as
5306 ctx.{fragments,host_fragments}.jvm.java_executable. Use
5307 JavaRuntimeInfo.java_executable_exec_path instead.
5308 - --clean_style is no longer an option.
5309
5310New features:
5311
5312 - Users can use win_def_file attribute to specify a DEF file for
5313 exporting symbols when build a shared library on Windows.
5314 - Add --experimental_android_resource_cycle_shrinking option to
5315 allow for more aggressive code and resource shrinking.
5316
5317Important changes:
5318
5319 - Late-bound attributes are exposed to skylark. This is a new API
5320 (`configuration_field()`) to depend on certain
5321 configuration-defined targets from skylark rules.
5322 - Document interaction between test_suite and target exclusions
5323 - AAR manifest files will come from the processed resource APK if it
5324 exists.
5325 RELNOTES: None for Blaze users.
5326 - Document interaction between test_suite and target exclusions
5327 - --keep_incrementality_data flag allows Bazel servers to be run in
5328 memory-saving non-incremental mode independent of --batch and
5329 --discard_analysis_cache.
5330 - Add deps attribute to Skylark maven_aar and maven_jar workspace
5331 rules.
5332 - Use --expand_configs_in_place as a startup argument to change the
5333 order in which --config expansions are interpreted.
5334 - SOURCE_DATE_EPOCH
5335 (https://reproducible-builds.org/specs/source-date-epoch/) can
5336 be used to override the timestamp used for stamped target (when
5337 using --stamp).
5338 - Package specifications can now be prefixed with `-` to indicate
5339 negation
5340 - transitive_source_jars is now exposed on JavaInfo.
5341 - Add six to deps of has_services=1 py_proto_librarys.
5342 - java_tests no complain when use_testrunner is explicitly set to 1
5343 and main_class is set.
5344 - transitive_source_jars is now exposed on JavaInfo.
5345 - Debug messages generated by `print()` are not being filtered out
5346 by --output_filter anymore, it's recommended not to use them in
5347 production code.
5348 - in the Label() function, relative_to_caller_repository is now
5349 deprecated.
5350 - java_tests no complain when use_testrunner is explicitly set to 1
5351 and main_class is set.
5352 - Bazel's default hash function was changed from MD5 to SHA256.
5353 In particular, this affects users of remote caching and
5354 execution, as
5355 all hashes will be SHA256 by default.
5356 - Remove redirects for domains be.bazel.build and cr.bazel.build
5357 from the source for docs.bazel.build (because those subdomains
5358 don't resolve here; they resolve to bazel.build, which has the
5359 redirects for them)
5360 - First argument of 'load' must be a label. Path syntax is removed.
5361 (label should start with '//' or ':').
5362 - Document startup option --host_javabase
5363 - The --host_platform and --platform flags are no longer
5364 experimental.
Bazel Release System3d53cb02017-12-05 15:28:40 +01005365
Bazel Release System0838aee2017-11-27 14:16:34 +01005366## Release 0.8.0 (2017-11-27)
5367
5368```
5369Baseline: cff0dc94f6a8e16492adf54c88d0b26abe903d4c
5370
5371Cherry picks:
5372 + 8a49b156c4edf710e3e1e0acfde5a8d27cc3a086:
5373 Fix ImportError on tools.android for junction_lib
5374 + 275ae45b1228bdd0f912c4fbd634b29ba4180383:
5375 Automated rollback of commit
5376 4869c4e17d5b1410070a1570f3244148d8f97b5d.
5377 + d0bf589f2716b3d139c210930371a684c6e158eb:
5378 Add a random number to action temp dir
5379 + 9738f35abddb7ef7a7ef314b5d2a52a3be1b830a:
5380 CcProtoLibrary: Don't add dynamic librarys to filesToBuild on
5381 Windows
5382 + 0d6ff477099fdf6c8c1c7d4e2104f9184afe0a2b:
5383 Automated rollback of commit
5384 0ebb3e54fc890946ae6b3d059ecbd50e4b5ec840.
5385```
5386
5387Incompatible changes:
5388
5389 - ctx.fragments.apple.{xcode_version,ios_minimum_os} is not
5390 supported anymore. The same information is accessible through the
5391 target @bazel_tools//tools/osx:current_xcode_config: point an
5392 implicit attribute to it (i.e.
5393 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
5394 nfig")) then use
5395 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].
5396 - ctx.fragments.apple.minimum_os_for_platform_type is not supported
5397 anymore. The same information is accessible through the target
5398 @bazel_tools//tools/osx:current_xcode_config: point an implicit
5399 attribute to it (i.e.
5400 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
5401 nfig")) then use
5402 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].minimum_o
5403 s_for_platform_type .
5404 - ctx.fragments.apple.sdk_version_for_platform is not supported
5405 anymore. The same information is accessible through the target
5406 @bazel_tools//tools/osx:current_xcode_config: point an implicit
5407 attribute to it (i.e.
5408 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
5409 nfig")) then use
5410 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].sdk_versi
5411 on_for_platform .
5412 - --javabase=<absolute path> and --host_javabase=<absolute path>
5413 are not supported anymore. If you need this functionality
5414 java_runtime_suite(name="suite", default=":runtime")
5415 java_runtime(name="runtime", java_home=<path to the JDK>) is an
5416 alternative.
5417 - The flag --incompatible_descriptive_string_representations is no
5418 longer available, old style string representations of objects are
5419 not supported
5420 anymore.
5421 - The flag --incompatible_disallow_set_constructor is no longer
5422 available, the deprecated `set` constructor is not available
5423 anymore.
5424 - += on lists now mutates them. `list1 += list2` is now equivalent
5425 to `list1.extend(list2)` and not equivalent to `list1 = list1 +
5426 list2` anymore.
5427 - the target_apple_env and apple_host_system_env methods on
5428 ctx.fragments.apple are not supported anymore. The same
5429 information is accessible through apple_common.target_apple_env
5430 and apple_common.apple_host_system_env . They need the Xcode
5431 configuration as an argument, which can be obtained by declaring
5432 an implicit dependency on it (i.e.
5433 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
5434 nfig")) and then calling e.g.
5435 apple_common.apple_host_system_env(ctx.attr._xcode_config[apple_co
5436 mmon.XcodeVersionConfig]).
5437 - C++ toolchain identifiers are not in the name of the output
5438 directory anymore.
5439 - Selecting on "xcode_version" and
5440 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
5441 What was config_setting(values={"$FOO_version": $VALUE}) is now
5442 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
5443 flag": $VALUE}).
5444 - Selecting on "xcode_version" and
5445 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
5446 What was config_setting(values={"$FOO_version": $VALUE}) is now
5447 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
5448 flag": $VALUE}).
5449 - The flag --incompatible_disallow_set_constructor is no longer
5450 available, the deprecated `set` constructor is not available
5451 anymore.
5452 - Selecting on "xcode_version" and
5453 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
5454 What was config_setting(values={"$FOO_version": $VALUE}) is now
5455 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_versi...
5456
5457New features:
5458
5459 - runfiles, sh: Shell scripts may now depend on
5460 //src/tools/runfiles:runfiles_sh_lib and source runfiles.sh. The
5461 script defines the `rlocation` function which returns runfile
5462 paths on every platform.
5463 - In addition to $(location), Bazel now also supports $(rootpath)
5464 to obtain
5465 the root-relative path (i.e., for runfiles locations), and
5466 $(execpath) to
5467 obtain the exec path (i.e., for build-time locations)
5468
5469Important changes:
5470
5471 - android_binary now supports custom debug keys via the debug_key
5472 attribute.
5473 - Updated Android proguard to 5.3.3. It now works with android-24+.
5474 - --experimental_use_parallel_android_resource_processing and
5475 --experimental_android_use_nocompress_extensions_on_apk are
5476 removed. These features are fully rolled out.
5477 - Fixes #2574
5478 - Fixes #3834
5479 - Enable experimental UI by default.
5480 - .
5481 RELNOTES: None.
5482 RELNOTES: No.
5483 - Add memory profiler.
5484 - [Bazel] {java,cc}_proto_library now look for dependencies in
5485 @com_google_protobuf, instead of in @com_google_protobuf_$LANG
5486 - Improved merge.sh script in cookbook.
5487 - Fixing regression to --experimental_remote_spawn_cache
5488 - Support for linker scripts in NativeDepsHelper (e.g.,
5489 android_binary)
5490 - Skylark semantics flags now affect WORKSPACE files and repository
5491 rules.
5492 - ctx.outputs.executable is deprecated. Use DefaultInfo(executable
5493 = ...) instead.
5494 - Update "mirror.bazel.build" urls to use https.
5495 - Improve --config logging when --announce_rc is present.
5496 - Document interaction between test_suite and target exclusions
5497 - Replace version numbers for Bazel installers with "<version>"
5498 (because this will change often)
5499 - Published command lines should have improved lists of effective
5500 options.
5501 - --incremental_dexing_binary_types has been removed. All builds
5502 are supported by incremental dexing (modulo proguard and some
5503 blacklisted dx flags).
5504 - Document --host_javabase, --host_java_toolchain
5505
Bazel Release System76b6d0a2017-10-18 14:34:11 +02005506## Release 0.7.0 (2017-10-18)
5507
5508```
5509Baseline: 5cc6246d429f7d9119b97ce263b4fd6893222e92
5510
5511Cherry picks:
5512 + e79a1107d90380501102990d82cbfaa8f51a1778:
5513 Windows,bootstrapping: fix build_windows_jni.sh
5514```
5515
5516Incompatible changes:
5517
5518 - The --output=location flag to 'bazel query' cannot be used with
5519 query expressions that involve the 'buildfiles' or 'loadfiles'
5520 operators. This also applies to 'genquery' rules.
5521 - Operators for equality, comparison, 'in' and 'not in' are no
5522 longer associative,
5523 e.g. x < y < z is now a syntax error. Before, it was parsed
5524 as: (x < y) < z.
5525 - In strings, octal sequences greater than \377 are now forbidden
5526 (e.g. "\\600").
5527 Previously, Blaze had the same behavior as Python 2, where
5528 "\\450" == "\050".
5529 - Using tabulation for identation is now fobidden in .bzl files
5530 - `load` is now a language keyword, it cannot be used as an
5531 identifier
5532 - lvalues must have define at least one variable (i.e. we forbid
5533 `[] = f()`).
5534 - Fixed a bug whereby multiple load() statements could appear on
5535 the same line
5536 - -extra_checks:off is no longer supported; use
5537 -XepDisableAllChecks instead
5538 - java_common.java_toolchain_attr is removed. Depend on the
5539 java_toolchain_alias() rule to accomplish the same thing.
5540 - cc_common.cc_toolchain_attr and java_common.java_runtime_attr are
5541 not supported anymore and were replaced with the
5542 cc_toolchain_alias() and java_runtime_alias() rules.
5543 - Noop flag --deprecated_generate_xcode_project deleted.
5544 - Objects in Skylark are converted to strings in a more descriptive
5545 and less harmful way (they don't leak information that shouldn't
5546 be accessed by Skylark code, e.g. nondeterministic memory addresses
5547 of objects).
5548 - `set` is deprecated in BUILD and .bzl files, please use `depset`
5549 instead. Ordering names have also been changed, please use "default",
5550 "postorder", "preorder", and "topological" instead of "stable",
5551 "compile", "naive_link", and "link" correspondingly.
5552 - Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is
5553 an error.
5554 - Keyword-only syntax in a function definition is now forbidden
5555 e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`
5556 - --incompatible_comprehension_variables_do_not_leak defaults to
5557 "true."
5558 Iteration variable becomes inaccessible after a list/dict
5559 comprehension.
5560 - @bazel_tools//tools/build_defs/docker:docker.bzl is no longer
5561 available, please see https://github.com/bazelbuild/rules_docker.
5562
5563New features:
5564
5565 - Zipped LLVM profiles are now supported.
5566 - LIPO maps to ThinLTO for LLVM builds.
5567 - Change to handle LLVM FDO zipped profile contents correctly.
5568 - Do not disable fully dynamic linking with ThinLTO when invoked
5569 via LIPO options.
5570 - There is now a 'siblings' query function. See the query
5571 documentation for more details.
5572 - Added the print_action command, which outputs the
5573 actions needed to build a given target in the form of an
5574 ExtraActionSummary proto in text format.
5575 - android_binary now supports proguard_apply_dictionary to specify
5576 a custom dictionary to use for choosing names to obfuscate
5577 classes and members to.
5578
5579Important changes:
5580
5581 - Windows: bazel clean --expunge works
5582 - First argument of 'load' should be a label. Path syntax is
5583 deprecated (label should start with '//' or ':').
5584 - Octal prefix '0' is deprecated in favor of '0o' (use 0o777
5585 instead of 0777).
5586 - The extension_safe attribute of apple_binary no longer validates
5587 transitive dependencies are compiled against extension_safe APIs.
5588 - Parentheses around the tuple are now mandatory in [a for b in c
5589 if 1, 2]
5590 - Adjust the thresholds for --test_verbose_timeout_warnings so that
5591 it can recommending timeout increases and won't recommend
5592 timeouts that are too close to the actual timeout.
5593 - Iterating on a `depset` object is deprecated. If you need an
5594 iterable, call the `.to_list()` method first.
5595 - Bazel now uses tools from action_configs in Crosstool by default
5596 (as oposed to using top level tools).
5597 - Incremental dexing errors on combination of --multidex=off and
5598 either --main-dex-list or --minimal-main-dex.
5599 - When using the dictionary literal syntax, it is now an error to
5600 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
5601 - New property on android_sdk: aapt2
5602 Choose the version of aapt on android_binary
5603 - Add idl_preprocessed attribute to android_library, so that
5604 preprocessed aidl files can be passed to android_library for
5605 compiling
5606 - Bazel's remote_worker backend for remote execution supports
5607 sandboxing on Linux now. Check
5608 https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w
5609 orker/README.md for details.
5610 - Allows flags that expand to take values.
5611 - Make querying attributes formed by selector lists of list types
5612 more efficient by no longer listing every possible combination of
5613 attribute value but by more compactly storing the possible values
5614 of the list.
5615 - writing build events to a file is no longer experimental
5616 - set --rewrite_calls_to_long_compare to false by default.
5617 - ObjC and C++ coverage feature is unified under name 'coverage'
5618 - Enable --incremental_dexing for Android builds by default. Note
5619 that some dexopts are incompatible with incremental dexing,
5620 including --force-jumbo.
5621 - Evaluation will soon use checked arithmetics and throw an error
5622 instead of overflow/underflow.
5623 - Implicit iteration in the CROSSTOOL has been removed, use
5624 explicit 'iterate_over' message.
5625 - Add option for Android specific grte_top
5626 - Crosstool patches are only applied if the toolchain doesn't define
5627 'no_legacy_features' feature.
5628 - 'platform_type' is now a mandatory attribute on apple_binary and
5629 apple_static_library rules.
5630 If this change breaks your build, feel free to add platform_type
5631 = 'ios' to any apple_binary and apple_static_library
5632 targets in your project, as this was the previous default
5633 behavior.
5634 - Remove apple_watch2_extension build rule. Users should be using
5635 the skylark watchos_application and watchos_extension rules.
5636 https://github.com/bazelbuild/rules_apple has details.
5637 - Check stderr to detect if connected to a terminal. Deprecate
5638 --isatty.
5639 - Commands that shut down the server (like "shutdown") now ensure
5640 that the server process has terminated before the client process
5641 terminates.
5642 - Remove apple_watch1_extension and apple_watch_extension_binary
5643 rules. Users should be using the skylark watchos_application and
5644 watchos_extension rules.
5645 https://github.com/bazelbuild/rules_apple has details.
5646 - Windows: Wrapper-less CROSSTOOL becomes default now.
5647 set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.
5648 - Ignore --glibc in the Android transition.
5649 - Remove --experimental_android_use_singlejar_for_multidex.
5650 - nocopts now also filter copts
5651 - 'strip' action is now configured via feature configuration
5652 - The Build Event Service (BES) client now properly supports
5653 Google Applicaton Default Credentials.
5654 - Flags from action_config get added first to the command line
5655 first, before the flags from features.
5656 - update dexing tools to Android SDK 26.0.1
5657 - Bazel Android support now requires build-tools 26.0.1 or later.
5658 - `bazel info output_path` no longer relies on the root directory
5659 filename being equal to the workspace name.
5660 - The `print` function now prints debug messages instead of
5661 warnings.
5662 - speedup of incremental dexing tools
5663 - --announce_rc now controls whether bazelrc startup options are
5664 printed to stderr.
5665 - Removing a few unused objc_provider keys.
5666 - Improved logging when workers have to be restarted due to its
5667 files having changed.
5668 - Top-level `if` statements are now forbidden.
5669 - Java protos are compiled to Java 7 bytecode.
5670 - All Android builds now use the desugar tool to support some Java
5671 8 features by default. To disable, use the --nodesugar_for_android flag.
5672 - Skylark-related options may now appear as "common" command
5673 options in the .bazelrc
5674 - Python is now required to build bazel.
5675 - New --build_runfile_manifests flag controls production of
5676 runfiles manifests.
5677 - Enable debug info for Java builds
5678 - Allow java_lite_proto_library in the deps of android rules.
5679 - .so files in APKs will be memory-page aligned when
5680 android_binary.nocompress_extensions contains ".so" and
5681 --experimental_android_use_nocompress_extensions_on_apk is
5682 specified.
5683 - Skylark providers can specify allowed fields and their
5684 documentation.
5685 - Support ctx.actions.args() for more efficient Skylark command
5686 line construction.
5687 - The remote HTTP/1.1 caching client (--remote_rest_cache) now
5688 distinquishes between action cache and CAS. The request URL for
5689 the action cache is prefixed with 'ac' and the URL for the CAS
5690 is prefixed with 'cas'.
5691 - `JavaInfo` is a preferred alias to `java_common.provider`.
5692 - J2ObjC version updated to 2.0.3.
5693 - A new Java coverage implementation is available. Makes possible
5694 coverage for Skylark JVM rules.
5695 - Make proguard_apply_dictionary also apply to class and package
5696 obfuscation, not just class members.
5697 - android_binary.nocompress_extensions now applies to all files in
5698 the APK, not just resources and assets.
5699 - The apple_genrule rule that is distributed with Bazel has been
5700 deleted. Users who wish to use genrules with Xcode's
5701 DEVELOPER_DIR set should use the rules in
5702 https://github.com/bazelbuild/rules_apple instead.
5703 - The swift_library rule that is distributed with Bazel has been
5704 deleted. Users who wish to compile Swift should use the rules in
5705 https://github.com/bazelbuild/rules_apple instead.
5706 - The Build Event Protocol's File.uri field is now properly
5707 encoded according to RFC2396.
5708 - Deprecated: Using the android_library.deps attribute to
5709 implicitly export targets to dependent rules. If your code is
5710 using this feature, Bazel will raise a warning. To fix, please
5711 use android_library.exports to explicitly specify exported
5712 targets. Run with
5713 --experimental_allow_android_library_deps_without_srcs=false to
5714 ensure forward compatibility when this feature is removed in a
5715 future release.
5716 - java_common.create_provider is now supported with creating ijars
5717 by default. This introduces incompatibilities for existing users.
5718 Please set use_ijar=False if you don't want to use ijars.
5719 - Tests can now write files to TEST_UNDECLARED_OUTPUTS_DIR and
5720 TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR and these will be
5721 reflected under bazel-testlogs.
5722 - remove unused --host_incremental_dexing flag
5723 - Stop using --undefined dynamic_lookup in Apple links. Enables
5724 unresolved symbol errors.
5725 - All test output files included for cached, uncached, and multiple
5726 attempt tests.
5727 - Android rules no longer restrict the manifest file to be named
5728 "AndroidManifest.xml".
5729 - Boolean flag values will now get normalized to 1 or 0 in
5730 canonicalize-flags output.
5731 - added experimental --use_new_category_enum to the help command to
5732 output options grouped by the new type of category.
5733 - Expose output jars and jdeps in java_common.provider, when
5734 available.
5735 - android_library targets are no longer allowed to use deps to
5736 export targets implicitly; please use android_library.exports
5737 instead.
5738 - New depset API
5739 - apple_binary and apple_static_library no longer support
5740 compilation attributes such as 'srcs'. If this breaks any
5741 existing targets, you may migrate all such attributes to a new
5742 objc_library target and depend on that objc_library target via
5743 the 'deps' attribute of apple_binary or apple_static_library.
5744
Bazel Release Systemed0ebc02017-10-05 23:52:25 +02005745## Release 0.6.1 (2017-10-05)
5746
5747```
5748Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689
5749
5750Cherry picks:
5751 + a615d288b008c36c659fdc17965207bb62d95d8d:
5752 Rollback context.actions.args() functionality.
5753 + 7b091c1397a82258e26ab5336df6c8dae1d97384:
5754 Add a global failure when a test is interrupted/cancelled.
5755 + 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120:
5756 Cleanups for Skylark tracebacks
5757 + cc9c2f07127a832a88f27f5d72e5508000b53429:
5758 Remove the status xml attribute from AntXmlResultWriter
5759 + 471c0e1678d0471961f1dc467666991e4cce3846:
5760 Release 0.6.0 (2017-09-28)
5761 + 8bdd409f4900d4574667fed83d86b494debef467:
5762 Only compute hostname once per server lifetime
5763 + 0bc9b3e14f305706d72180371f73a98d6bfcdf35:
5764 Fix bug in NetUtil caching.
5765```
5766
5767Important changes:
5768 - Only compute hostname once per server lifetime
5769
Bazel Release System471c0e12017-09-28 16:36:12 +02005770## Release 0.6.0 (2017-09-28)
5771
5772```
5773Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689
5774
5775Cherry picks:
5776 + a615d288b008c36c659fdc17965207bb62d95d8d:
5777 Rollback context.actions.args() functionality.
5778 + 7b091c1397a82258e26ab5336df6c8dae1d97384:
5779 Add a global failure when a test is interrupted/cancelled.
5780 + 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120:
5781 Cleanups for Skylark tracebacks
5782 + cc9c2f07127a832a88f27f5d72e5508000b53429:
5783 Remove the status xml attribute from AntXmlResultWriter
5784```
5785
5786Incompatible changes:
5787
5788 - Noop flag --deprecated_generate_xcode_project deleted.
5789 - Objects in Skylark are converted to strings in a more descriptive
5790 and less harmful way (they don't leak information that shouldn't
5791 be accessed by Skylark code, e.g. nondeterministic memory addresses
5792 of objects).
5793 - `set` is deprecated in BUILD and .bzl files, please use `depset`
5794 instead. Ordering names have also been changed, please use
5795 "default", "postorder", "preorder", and "topological" instead of
5796 "stable", "compile", "naive_link", and "link" correspondingly.
5797 - Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is
5798 an error.
5799 - Keyword-only syntax in a function definition is now forbidden
5800 e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`
5801 - --incompatible_comprehension_variables_do_not_leak defaults to
5802 "true."
5803 Iteration variable becomes inaccessible after a list/dict
5804 comprehension.
5805
5806New features:
5807
5808 - There is now a 'siblings' query function. See the query
5809 documentation for more details.
5810 - Added the print_action command, which outputs the
5811 actions needed to build a given target in the form of an
5812 ExtraActionSummary proto in text format.
5813 - android_binary now supports proguard_apply_dictionary to specify
5814 a custom dictionary to use for choosing names to obfuscate
5815 classes and members to.
5816
5817Important changes:
5818
5819 - 'strip' action is now configured via feature configuration
5820 - Flags from action_config get added first to the command line
5821 first,
5822 before the flags from features.
5823 - `bazel info output_path` no longer relies on the root directory
5824 filename being equal to the workspace name.
5825 - The `print` function now prints debug messages instead of
5826 warnings.
5827 - speedup of incremental dexing tools
5828 - --announce_rc now controls whether bazelrc startup options are
5829 printed to stderr.
5830 - Removing a few unused objc_provider keys.
5831 - Improved logging when workers have to be restarted due to its
5832 files having changed.
5833 - Top-level `if` statements are now forbidden.
5834 - Java protos are compiled to Java 7 bytecode.
5835 - All Android builds now use the desugar tool to support some Java
5836 8 features by default. To disable, use the
5837 --nodesugar_for_android flag.
5838 - Skylark-related options may now appear as "common" command
5839 options in the .bazelrc
5840 - Python is now required to build bazel.
5841 - When the lvalue of an augmented assignment is a list, we now
5842 throw an error
5843 before evaluating the code (e.g. `a, b += 2, 3`).
5844 - New --build_runfile_manifests flag controls production of
5845 runfiles manifests.
5846 - Enable debug info for Java builds
5847 - Allow java_lite_proto_library in the deps of android rules.
5848 - .so files in APKs will be memory-page aligned when
5849 android_binary.nocompress_extensions contains ".so" and
5850 --experimental_android_use_nocompress_extensions_on_apk is
5851 specified.
5852 - Skylark providers can specify allowed fields and their
5853 documentation.
5854 - Support ctx.actions.args() for more efficient Skylark command
5855 line construction.
5856 - The remote HTTP/1.1 caching client (--remote_rest_cache) now
5857 distinquishes between action cache and CAS. The request URL for
5858 the action cache is prefixed with 'ac' and the URL for the CAS
5859 is prefixed with 'cas'.
5860 - `JavaInfo` is a preferred alias to `java_common.provider`.
5861 - J2ObjC version updated to 2.0.3.
5862 - A new Java coverage implementation is available. Makes possible
5863 coverage for Skylark JVM rules.
5864 - Make proguard_apply_dictionary also apply to class and package
5865 obfuscation, not just class members.
5866 - When using the dictionary literal syntax, it is now an error to
5867 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
5868 - android_binary.nocompress_extensions now applies to all files in
5869 the APK, not just resources and assets.
5870 - The apple_genrule rule that is distributed with Bazel has been
5871 deleted. Users who wish to use genrules with Xcode's
5872 DEVELOPER_DIR set should use the rules in
5873 https://github.com/bazelbuild/rules_apple instead.
5874 - The swift_library rule that is distributed with Bazel has been
5875 deleted. Users who wish to compile Swift should use the rules in
5876 https://github.com/bazelbuild/rules_apple instead.
5877
Bazel Release System5371d132017-08-25 11:24:06 +02005878## Release 0.5.4 (2017-08-25)
5879
5880```
5881Baseline: 6563b2d42d29196432d5fcafa0144b8371fbb028
5882
5883Cherry picks:
5884 + d4fa181f8607c35230b7efa1ce94188b51508962:
5885 Use getExecPathString when getting bash_main_file
5886 + 837e1b3d4859140d29aaa6bbab8fbb008e6d701e:
5887 Windows, sh_bin. launcher: export runfiles envvars
5888 + fe9ba893c0ebec19228086356af5fa8d81f2809b:
5889 grpc: Consolidate gRPC code from BES and Remote Execution. Fixes
5890 #3460, #3486
5891 + e8d4366cd374fba92f1425de0d475411c8defda4:
5892 Automated rollback of commit
5893 496d3ded0bce12b7371a93e1183ba30e6aa88032.
5894 + 242a43449dd44a22857f6ce95f7cc6a7e134d298:
5895 bes,remote: update default auth scope.
5896 + 793b409eeae2b42be7fed58251afa87b5733ca4d:
5897 Windows, sh_bin. launcher: fix manifest path
5898 + 7e4fbbe4ab3915a57b2187408c3909e5cd6c6013:
5899 Add --windows_exe_launcher option
5900 + 91fb38e92ace6cf14ce5da6527d71320b4e3f3d2:
5901 remote_worker: Serialize fork() calls. Fixes #3356
5902 + b79a9fcd40f448d3aebb2b93a2ebe80d09b38408:
5903 Quote python_path and launcher in
5904 python_stub_template_windows.txt
5905 + 4a2e17f85fc8450aa084b201c5f24b30010c5987:
5906 Add build_windows_jni.sh back
5907 + ce61d638197251f71ed90db74843b55d9c2e9ae5:
5908 don't use methods and classes removed in upstream dx RELNOTES:
5909 update dexing tools to Android SDK 26.0.1
5910 + 5393a4996d701fa192964a35cbb75e558a0599c0:
5911 Make Bazel enforce requirement on build-tools 26.0.1 or later.
5912 + 5fac03570f80856c063c6019f5beb3bdc1672dee:
5913 Fix --verbose_failures w/ sandboxing to print the full command
5914 line
5915 + f7bd1acf1f96bb7e3e19edb9483d9e07eb5af070:
5916 Only patch in C++ compile features when they are not already
5917 defined in crosstool
5918 + d7f5c120417bc2d2344dfb285322355f225d9153:
5919 Bump python-gflags to 3.1.0, take two
5920 + 3cb136d5451e9d8af58f9a99990cad0592df101a:
5921 Add python to bazel's dockerfiles
5922```
5923
5924New features:
5925
5926 - Do not disable fully dynamic linking with ThinLTO when invoked
5927 via LIPO options.
5928
5929Important changes:
5930
5931 - Ignore --glibc in the Android transition.
5932 - Remove --experimental_android_use_singlejar_for_multidex.
5933 - nocopts now also filter copts
5934 - The Build Event Service (BES) client now properly supports
5935 Google Applicaton Default Credentials.
5936 - update dexing tools to Android SDK 26.0.1
5937 - Bazel Android support now requires build-tools 26.0.1 or later.
5938 - Fix a bug in the remote_worker that would at times make it crash on Linux. See #3356
5939 - The java_proto_library rule now supports generated sources. See #2265
5940
Bazel Release System195a7a82017-07-27 20:27:32 +02005941## Release 0.5.3 (2017-07-27)
5942
5943```
5944Baseline: 88518522a18df5788736be6151fc67992efe2aad
5945
5946Cherry picks:
5947 + 820a46af10808396873c36d0f331e533118cf0c6:
5948 Automated rollback of commit
5949 6d6e87297fe8818e4c374fdfabfbcf538bca898a.
5950 + ccfb2df69ecf4746f5a15e1295af995c3a45aa94:
5951 Allow py_binary to be the executable of a Skylark action or any
5952 SpawnAction on Windows.
5953 + 06534911696838e720c8681f6f568c69d28da65e:
5954 Fix string representation for the Root class
5955 + cd159bcee72a7f377621b45409807231a636f9e2:
5956 sandbox: Allow UNIX sockets on macOS even when block-network is
5957 used.
5958 + ad73cba3caa2e08ad61ea9ca63f9111cde1f48d1:
5959 Fix python_stub_template.txt to be compatible with Python 2.4.
5960 + 9a63aff8bb771af8917903fbbc9df3b708e2c0ed:
5961 Create Windows ZIP release artifact using Bazel
5962 + 5e576637b5705aff0a7bf56b5077463dffcd712f:
5963 Automated rollback of commit
5964 820a46af10808396873c36d0f331e533118cf0c6.
5965 + b6e29ca217b02c3ba499b85479a3830f59c9b9b6:
5966 Use the correct function to generate the release notes
5967 + 0f3481ba6364f24ef76b839bdde06ae7883c9bd9:
5968 Include <cinttypes> instead of <stdint.h>
5969```
5970
5971Incompatible changes:
5972
5973 - The --output=location flag to 'bazel query' cannot be used with
5974 query expressions that involve the 'buildfiles' or 'loadfiles'
5975 operators. This also applies to 'genquery' rules.
5976 - Operators for equality, comparison, 'in' and 'not in' are no
5977 longer associative, e.g. x < y < z is now a syntax error.
5978 Before, it was parsed as: (x < y) < z.
5979 - In strings, octal sequences greater than \377 are now forbidden
5980 (e.g. "\\600"). Previously, Blaze had the same behavior as Python 2,
5981 where "\\450" == "\050".
5982 - Using tabulation for identation is now fobidden in .bzl files
5983 - `load` is now a language keyword, it cannot be used as an
5984 identifier
5985 - lvalues must have define at least one variable (i.e. we forbid
5986 `[] = f()`).
5987 - Fixed a bug whereby multiple load() statements could appear on
5988 the same line
5989 - -extra_checks:off is no longer supported; use
5990 -XepDisableAllChecks instead
5991 - java_common.java_toolchain_attr is removed. Depend on the
5992 java_toolchain_alias() rule to accomplish the same thing.
5993 - cc_common.cc_toolchain_attr and java_common.java_runtime_attr are
5994 not supported anymore and were replaced with the
5995 cc_toolchain_alias() and java_runtime_alias() rules.
5996
5997New features:
5998
5999 - Zipped LLVM profiles are now supported.
6000 - LIPO maps to ThinLTO for LLVM builds.
6001 - Change to handle LLVM FDO zipped profile contents correctly.
6002
6003Important changes:
6004
6005 - Windows: bazel clean --expunge works
6006 - First argument of 'load' should be a label. Path syntax is
6007 deprecated (label should start with '//' or ':').
6008 - Octal prefix '0' is deprecated in favor of '0o' (use 0o777
6009 instead of 0777).
6010 - The extension_safe attribute of apple_binary no longer validates
6011 transitive dependencies are compiled against extension_safe APIs.
6012 - Parentheses around the tuple are now mandatory in [a for b in c
6013 if 1, 2]
6014 - Adjust the thresholds for --test_verbose_timeout_warnings so that
6015 it can recommending timeout increases and won't recommend
6016 timeouts that are too close to the actual timeout.
6017 - Iterating on a `depset` object is deprecated. If you need an
6018 iterable, call the `.to_list()` method first.
6019 - Bazel now uses tools from action_configs in Crosstool by default
6020 (as oposed to using top level tools).
6021 - Incremental dexing errors on combination of --multidex=off and
6022 either --main-dex-list or --minimal-main-dex.
6023 - When using the dictionary literal syntax, it is now an error to
6024 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
6025 - New property on android_sdk: aapt2
6026 Choose the version of aapt on android_binary
6027 - Add idl_preprocessed attribute to android_library, so that
6028 preprocessed aidl files can be passed to android_library for
6029 compiling
6030 - Bazel's remote_worker backend for remote execution supports
6031 sandboxing on Linux now. Check
6032 https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w
6033 orker/README.md for details.
6034 - Allows flags that expand to take values.
6035 - Make querying attributes formed by selector lists of list types
6036 more efficient by no longer listing every possible combination of
6037 attribute value but by more compactly storing the possible values
6038 of the list.
6039 - Writing build events to a file is no longer experimental
6040 - set --rewrite_calls_to_long_compare to false by default.
6041 - ObjC and C++ coverage feature is unified under name 'coverage'
6042 - Enable --incremental_dexing for Android builds by default. Note
6043 that some dexopts are incompatible with incremental dexing,
6044 including --force-jumbo.
6045 - Evaluation will soon use checked arithmetics and throw an error
6046 instead of overflow/underflow.
6047 - Implicit iteration in the CROSSTOOL has been removed, use
6048 explicit 'iterate_over' message.
6049 - Add option for Android specific grte_top
6050 - Crosstool patches are only applied if the toolchain doesn't define
6051 'no_legacy_features' feature.
6052 - 'platform_type' is now a mandatory attribute on apple_binary and
6053 apple_static_library rules.
6054 If this change breaks your build, feel free to add platform_type
6055 = 'ios' to any apple_binary and apple_static_library
6056 targets in your project, as this was the previous default
6057 behavior.
6058 - Remove apple_watch2_extension build rule. Users should be using
6059 the skylark watchos_application and watchos_extension rules.
6060 https://github.com/bazelbuild/rules_apple has details.
6061 - Check stderr to detect if connected to a terminal. Deprecate
6062 --isatty.
6063 - Commands that shut down the server (like "shutdown") now ensure
6064 that the server process has terminated before the client process
6065 terminates.
6066 - Remove apple_watch1_extension and apple_watch_extension_binary
6067 rules. Users should be using the skylark watchos_application and
6068 watchos_extension rules.
6069 https://github.com/bazelbuild/rules_apple has details.
6070 - Windows: Wrapper-less CROSSTOOL becomes default now.
6071 set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.
6072
Bazel Release System7b851222017-06-27 15:08:47 +02006073## Release 0.5.2 (2017-06-27)
6074
6075```
6076Baseline: e78ad83ded6e9c6d639793827e27b6570e6e9f65
6077
6078Cherry picks:
6079 + 68028317c1d3d831a24f90e2b25d1410ce045c54:
6080 experimental UI: move stopUpdateThread() out of synchronized,
6081 again
6082 + 019935dfbb61e61d08d1351b0365fb4e2d0df305:
6083 Fix bug in URI computation in RemoteModule
6084 + e9424cf9b9d72b98594966d5ac0f15bb018ec639:
6085 Automated rollback of commit
6086 7dec00574aa91327693f6ba7e90bff5bc834253e.
6087 + 9eea05d068a06ab642dd9d86d46ee5fa2e36b02e:
6088 Switching to Watcher API instead of wait_for_completion, in
6089 preparation for deprecating the wait_for_completion field.
6090 + 89659810e3048782dfb5e308e39aa8a0727e464e:
6091 Set correct execroot for info
6092 + 716b527266f47f59a2b7fb2e5fc52cb45e1691b1:
6093 Only create a single per-build instance of the remote cache /
6094 executor
6095 + 1d82d199f82409f217a42bcefebb96f723f91caa:
6096 protobuf: Update protobuf jars to be binary compatible with Java
6097 6. Fixes #3198
6098 + 524b90d9e5acc4fa568f215c9415eaa902e979f8:
6099 Change CAS URI to use the "bytestream" scheme instead of being
6100 scheme-less
6101 + 4929ad79865f8c13ef3b33c827040f4a037e4afe:
6102 Automated g4 rollback of commit
6103 923d7df521f67d031b288180560848bd35e20976.
6104 + 68b9a7e2dc17e32b194238d287e79bee1ba035b9:
6105 Automated g4 rollback of commit
6106 da56606563ee9df438db93392f681bf2abb4ac97.
6107 + 2ba693ffbe824136a0ca5f47d34710612f6302c3:
6108 Automated rollback of commit
6109 ce7c4deda60a307bba5f0c9421738e2a375cf44e.
6110```
6111
6112Incompatible changes:
6113
6114 - Blaze no longer generates xcode projects. Use tulsi.bazel.build
6115 instead.
6116
6117Important changes:
6118
6119 - Keyword-only syntax in a function definition is deprecated
6120 (e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`) and will be
6121 removed in the future.
6122 - Attempting to build an Android target without setting up
6123 android_sdk_repository will now produce a helpful error message.
6124 - Adds a sha256 attribute to git_repository and new_git_repository.
6125 This can only be used if the remote is a public GitHub
6126 repository. It forces
6127 Bazel to download the repository as a tarball, which will often
6128 be faster and
6129 more robust than cloning it.
6130 - Sandboxing is now enabled by default on FreeBSD (via
6131 processwrapper-sandbox).
6132 - android_test may use manifest placeholders with 'manifest_merger
6133 = "android"'.
6134 - load() statements should be called at the top of .bzl files,
6135 before any
6136 other statement. This convention will be enforced in the future.
6137 - Effectively remove sysroot from CppConfiguration and allow it to
6138 use select statements.
6139 - proto_library.strict_proto_deps no longer exists.
6140 - Flag --explicit_jre_deps is now a noop.
6141 - The 'legacy' Android manifest merger is deprecated. Please
6142 upgrade to the 'android' manifest merger, which is the same
6143 merger used by Gradle.
6144 https://developer.android.com/studio/build/manifest-merge.html
6145 - Using $(CC_FLAGS) in a GenRule adds a dependency to the c++
6146 toolchain
6147 - add one-version enforcement to android_local_test
6148 - Skylark support (apple_common.dotted_version(string)) for
6149 building DottedVersion objects to interface with native apple
6150 rules
6151 - CC_FLAGS can be defined using 'cc-flags-make-variable' action_config in
6152 CROSSTOOL
6153 - ios_framework native rule has been removed. This rule had been
6154 essentially broken for several months now; users should be using
6155 the skylark ios framework rule.
6156 https://github.com/bazelbuild/rules_apple has details.
6157 - Clean command no longer uses boolean values for --async,
6158 --expunge, and --expunge_async options.
6159 - Partially fixes external J2ObjC support.
6160 - '--aspects' can occur more than once on the command line.
6161 - --no_ prefix no longer recognized.
6162 - Use action_config in crosstool for static library archiving,
6163 remove ar_flag.
6164 - Added a new flag --sandbox_writable_path, which asks the sandbox
6165 to
6166 make an existing directory writable when running actions.
6167 - bazel test now also computes a default instrumentation filter if
6168 --collect_code_coverage is enabled
6169 - n/na
6170 - In .bzl files, top-level `if` statements are deprecated and will
6171 be forbidden
6172 in the future. Move them in a function body instead (or use a
6173 conditional
6174 expression instead: `x if condition else y`).
6175 - ios_device and ios_test are deprecated. Please use the new testing
6176 rules in https://github.com/bazelbuild/rules_apple instead.
6177 - bazel query --output package now displays packages from external
6178 repository with the format "@reponame//package". Packages in the
6179 main repository continue to have the format "package".
6180 - ctx.expand_make_variables is deprecated.
6181 - Bazel posts links to the CAS to the BEP if remote caching /
6182 execution is enabled
6183 - `bazel info execution_root` returns the corrrect directory name
6184 for the execution root.
6185
Bazel Release System63222de2017-06-06 11:32:04 +02006186## Release 0.5.1 (2017-06-06)
6187
6188```
6189Baseline: f3ae88ee043846e7acdffd645137075a4e72c573
6190
6191Cherry picks:
6192 + c58ba098526b748f9c73e6229cafd74748205aa1:
6193 Release to GCS: put the final release in its own directory
6194 + 0acead4ea3631240659836ce6ecd6d7f67fd352b:
6195 Update protobuf to latest master at a64497c and apply
6196 @laszlocsomor's latest changes from
6197 https://github.com/google/protobuf/pull/2969 on top of it.
6198 + d0242ce4a87929f2528f4602d0fb09d1ccfcea94:
6199 Make symlinks consistent
6200 + d953ca8b87a46decbce385cebb446ae0dd390881:
6201 Clean VanillaJavaBuilder output directories
6202 + 755669fb5de1f4e762f27c19776cac9f410fcb94:
6203 Pass all the environment variable to Bazel during bootstrapping
6204 + 6f041661ca159903691fcb443d86dc7b6454253d:
6205 Do not mark the JDK7 installer -without-jdk-installer
6206 + 720561113bfa702acfc2ca24ce3cc3fd7ee9c115:
6207 Fix #2958: Installer should not overwrite bazelrc
6208 + 511c35b46cead500d4e76706e0a709e50995ceba:
6209 Bootstrap: move the fail function to the top
6210 + 8470be1122825aae8ad0903dd1e1e2a90cce47d2:
6211 Clean up javac and Error Prone targets
6212 + 4a404de2c6c38735167e17ab41be45ef6fc4713a:
6213 Update javac version to 9-dev-r4023-2
6214 + 36ce4b433e19498a78c34540d5a166d4e0006b22:
6215 Update javac version to 9-dev-r4023-2
6216 + 38949b8526bdb3e6db22f3846aac87162c28c33f:
6217 Migrate off versioned javac and Error Prone targets
6218 + 1a57d298f8aa6ea8136d93223902104f2479cd2a:
6219 Re-enabling passing -sourcepath via javacopts.
6220 + eb565f408e03125e92d42b00756e519795be6593:
6221 Make make sure that msys build actually builds msys version
6222 + 39f328cf392056618d1a3ead4835a138b189a06d:
6223 Fix typo. Also do not override host_cpu for msvc.
6224 + 624802893f4fe72118f00a78452605d41a2e1c6f:
6225 Select correct JDK for windows_msys
6226 + c4f271d1a68366b6fa5ff38ea7d951b6a22af044:
6227 Automated g4 rollback of commit
6228 3e5edafa2a04a71cd3596e929e83222da725f3f9.
6229 + 926180997a0f296a5a009326aead887279ce0a90:
6230 Remove process-tools.cc which I forgot to delete during the last
6231 rollback.
6232 + baca6e4cb023649920871b74810927d304729e59:
6233 Fix #2982: Bazel installer should not check for installed JDK if
6234 using a bundled JDK.
6235 + 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842:
6236 Disable msys path conversion on Windows.
6237 + cc21998c299b4d1f97df37b961552ff8168da17f:
6238 Rollforward #2 of: Basic open-source crosstool to support
6239 targeting apple platform types.
6240 + 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f:
6241 Escape % in strings that will appear in Crosstool
6242 + 3b08f774e7938928e3a240a47a0a7554cdc8d50b:
6243 Adding feature for linking C Run-Time library on Windows
6244 + 3566474202d1978acfdcb7e5ff73ee03ea6f3df9:
6245 Do not use sed -E in bootstrap/compile.sh
6246 + c3cf7d917afd02d71de3800cd46ad8d14f1ddf55:
6247 Reverts non-xcode-available darwin crosstool generation.
6248```
6249
6250Important changes:
6251
6252 - Fixes regression in 0.5.0 requiring Xcode to build C++ on OSX.
6253
Bazel Release Systema3e26832017-05-26 14:11:07 +02006254## Release 0.5.0 (2017-05-26)
6255
6256```
6257Baseline: f3ae88ee043846e7acdffd645137075a4e72c573
6258
6259Cherry picks:
6260 + c58ba098526b748f9c73e6229cafd74748205aa1:
6261 Release to GCS: put the final release in its own directory
6262 + 0acead4ea3631240659836ce6ecd6d7f67fd352b:
6263 Update protobuf to latest master at a64497c and apply
6264 @laszlocsomor's latest changes from
6265 https://github.com/google/protobuf/pull/2969 on top of it.
6266 + d0242ce4a87929f2528f4602d0fb09d1ccfcea94:
6267 Make symlinks consistent
6268 + d953ca8b87a46decbce385cebb446ae0dd390881:
6269 Clean VanillaJavaBuilder output directories
6270 + 755669fb5de1f4e762f27c19776cac9f410fcb94:
6271 Pass all the environment variable to Bazel during bootstrapping
6272 + 6f041661ca159903691fcb443d86dc7b6454253d:
6273 Do not mark the JDK7 installer -without-jdk-installer
6274 + 720561113bfa702acfc2ca24ce3cc3fd7ee9c115:
6275 Fix #2958: Installer should not overwrite bazelrc
6276 + 511c35b46cead500d4e76706e0a709e50995ceba:
6277 Bootstrap: move the fail function to the top
6278 + 8470be1122825aae8ad0903dd1e1e2a90cce47d2:
6279 Clean up javac and Error Prone targets
6280 + 4a404de2c6c38735167e17ab41be45ef6fc4713a:
6281 Update javac version to 9-dev-r4023-2
6282 + 36ce4b433e19498a78c34540d5a166d4e0006b22:
6283 Update javac version to 9-dev-r4023-2
6284 + 38949b8526bdb3e6db22f3846aac87162c28c33f:
6285 Migrate off versioned javac and Error Prone targets
6286 + 1a57d298f8aa6ea8136d93223902104f2479cd2a:
6287 Re-enabling passing -sourcepath via javacopts.
6288 + eb565f408e03125e92d42b00756e519795be6593:
6289 Make make sure that msys build actually builds msys version
6290 + 39f328cf392056618d1a3ead4835a138b189a06d:
6291 Fix typo. Also do not override host_cpu for msvc.
6292 + 624802893f4fe72118f00a78452605d41a2e1c6f:
6293 Select correct JDK for windows_msys
6294 + c4f271d1a68366b6fa5ff38ea7d951b6a22af044:
6295 Automated g4 rollback of commit
6296 3e5edafa2a04a71cd3596e929e83222da725f3f9.
6297 + 926180997a0f296a5a009326aead887279ce0a90:
6298 Remove process-tools.cc which I forgot to delete during the last
6299 rollback.
6300 + baca6e4cb023649920871b74810927d304729e59:
6301 Fix #2982: Bazel installer should not check for installed JDK if
6302 using a bundled JDK.
6303 + 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842:
6304 Disable msys path conversion on Windows.
6305 + cc21998c299b4d1f97df37b961552ff8168da17f:
6306 Rollforward #2 of: Basic open-source crosstool to support
6307 targeting apple platform types.
6308 + 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f:
6309 Escape % in strings that will appear in Crosstool
6310 + 3b08f774e7938928e3a240a47a0a7554cdc8d50b:
6311 Adding feature for linking C Run-Time library on Windows
6312```
6313
6314Incompatible changes:
6315
6316 - Bazel's Linux sandbox no longer mounts an empty tmpfs on /tmp,
6317 instead the existing /tmp is mounted read-write. If you prefer
6318 to have a tmpfs on /tmp for sandboxed actions for increased
6319 hermeticity, please use the flag --sandbox_tmpfs_path=/tmp.
6320 - Converting artifacts to strings and printing them now return
6321 "File" instead of "Artifact" to be consistent with the type name.
6322 - The return type of depset.to_list() is now a list rather than a
6323 frozen list. (Modifying the list has no effect on the depset.)
6324 - Bazel now prints logs in single lines to java.log
6325 - --use_dash, --dash_url and --dash_secret are removed.
6326 - Remote repositories must define any remote repositories they
6327 themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
6328 defined
6329 in @x's WORKSPACE file).
6330 - Remote repositories must define any remote repositories they
6331 themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
6332 defined
6333 in @x's WORKSPACE file).
6334 - objc_xcodeproj has been removed, use tulsi.bazel.build instead.
6335
6336New features:
6337
6338 - If grte_top is a label, it can now follow non-configurable
6339 redirects.
6340 - Optional coverage_files attribute to cc_toolchain
6341 - "query --output=build" now includes select()s
6342 - Raw LLVM profiles are now supported.
6343
6344Important changes:
6345
6346 - Automatically generate Proguard mapping when resource shrinking
6347 and Proguard are enabled.
6348 - New rules in Bazel: proto_library, java_lite_proto_library,
6349 java_proto_library and cc_proto_library
6350 - Activate the "dead_strip" feature if objc binary stripping is
6351 enabled.
6352 - More stable naming scheme for lambda classes in desugared android
6353 code
6354 - Convert --use_action_cache to a regular option
6355 - Per-architecture dSYM binaries are now propagated by
6356 apple_binary's AppleDebugOutputsProvider.
6357 - Avoid factory methods when desugaring stateless lambdas for
6358 Android
6359 - desugar calls to Objects.requireNonNull(Object o) with
6360 o.getClass() for android
6361 - Add an --copy_bridges_from_classpath argument to android
6362 desugaring tool
6363 - Change how desugar finds desugared classes to have it working on
6364 Windows
6365 - Evaluation of commands on TargetsBelowDirectory patterns
6366 (e.g. //foo/...) matching packages that fail to load now report
6367 more
6368 detailed error messages in keep_going mode.
6369 - Allow to have several inputs and outputs
6370 - Repository context's execute() function can print stdout/stderr
6371 while running. To enable, pass quiet=False.
6372 - Bazel can now be built with a bundled version of the OpenJDK.
6373 This makes it possible to use Bazel on systems without a JDK, or
6374 where
6375 the installed JDK is too old.
6376 - The --jobs flag now defaults to "auto", which causes Bazel to
6377 use a reasonable degree of parallelism based on the local
6378 machine's
6379 capacity.
6380 - Bazel benchmark (perf.bazel.build) supports Java and Cpp targets.
6381 - no factory methods generated for lambda expressions on android
6382 - The Linux sandbox no longer changes the user to 'nobody' by
6383 default, instead the current user is used as is. The old behavior
6384 can be
6385 restored via the --sandbox_fake_username flag.
6386 - /tmp and /dev/shm are now writable by default inside the
6387 Linux sandbox.
6388 - Bazel can now use the process-wrapper + symlink tree based
6389 sandbox implementation in FreeBSD.
6390 - turn on --experimental_incremental_dexing_error_on_missed_jars by
6391 default.
6392 - All android_binarys are now signed with both Apk Signature V1 and
6393 V2. See https://source.android.com/security/apksigning/v2.html
6394 for more details.
6395 - Windows MSVC wrappers: Not filtering warning messages anymore,
6396 use --copt=-w and --host_copt=-w to suppress them.
6397 - A downloader bug was fixed that prevented RFC 7233 Range
6398 connection resumes from working with certain HTTP servers
6399 - Introduces experimental android_device rule for configuring and
6400 launching Android emulators.
6401 - For boolean flags, setting them to false using --no_<flag_name>
6402 is deprecated. Use --no<flag_name> without the underscore, or
6403 --<flag_name>=false instead.
6404 - Add --experimental_android_compress_java_resources flag to store
6405 java
6406 resources as compressed inside the APK.
6407 - Removed --experimental_use_jack_for_dexing and libname.jack
6408 output of
6409 android_library.
6410 - blaze canonicalize-flags now takes a --show_warnings flag
6411 - Changing --invocation_policy will no longer force a server
6412 restart.
6413 - Bazel now supports Android NDK14.
6414 - android_binary multidex should now work without additional flags.
6415 - Use action_config in crosstool for static library archiving,
6416 remove ar_flag.
6417 - new option for bazel canonicalize-flags, --canonicalize_policy
6418 - Use action_config in crosstool for static library archiving,
6419 remove ar_flag.
6420 - android_library exports_manifest now defaults to True.
6421 - Fix select condition intersections.
6422 - Adds a --override_repository option that takes a repository
6423 name and path. This forces Bazel to use the directory at that path
6424 for the repository. Example usage:
6425 `--override_repository=foo=/home/user/gitroot/foo`.
6426 - fix idempotency issue with desugaring lambdas in interface
6427 initializers for android
6428 - --experimental_android_use_singlejar_for_multidex is now a no-op
6429 and will eventually be removed.
6430 - Every local_repository now requires a WORKSPACE file.
6431 - Remove jack and jill attributes of the android_sdk rule.
6432 - Add Skylark stubs needed to remove sysroot from CppConfiguration.
6433 - Desugar try-with-resources so that this language feature is
6434 available
6435 to deveces with API level under 19.
6436 - The flag --worker_max_retries was removed. The
6437 WorkerSpawnStrategy no longer retries execution of failed Spawns,
6438 the reason being that this just masks compiler bugs and isn't
6439 done for any other execution strategy either.
6440 - Bazel will no longer gracefully restart workers that crashed /
6441 quit, instead this triggers a build failure.
6442 - All java resources are now compressed in android_binary APKs by
6443 default.
6444 - All java resources are now compressed in android_binary APKs by
6445 default.
6446 - android_ndk_repository now creates a cc_library
6447 (@androidndk//:cpufeatures) for the cpufeatures library that is
6448 bundled in the Android NDK. See
6449 https://developer.android.com/ndk/guides/cpu-features.html for
6450 more details.
6451 - 'output_groups' and 'instrumented_files' cannot be specified in
6452 DefaultInfo.
6453 - You can increase the CPU reservation for tests by adding a
6454 "cpu:<n>" (e.g. "cpu:4" for four cores) tag to their rule in a
6455 BUILD file. This can be used if tests would otherwise overwhelm
6456 your system if there's too much parallelism.
6457 - Deprecate use_singlejar_for_proguard_libraryjars and force
6458 behavior to always on.
6459
Bazel Release System8d635fc2017-03-16 13:18:30 +01006460## Release 0.4.5 (2017-03-16)
6461
6462```
6463Baseline: 2e689c29d5fc8a747216563235e905b1b62d63b0
6464
6465Cherry picks:
6466 + a28b54033227d930672ec7f2714de52e5e0a67eb:
6467 Fix Cpp action caching
6468 + 6d1d424b4c0da724e20e14235de8012f05c470f8:
6469 Fix paths of binaries in .deb packages.
6470 + 0785cbb672357d950e0c045770c4567df9fbdc43:
6471 Update to guava 21.0 and Error Prone version 2.0.18-20160224
6472 + 30490512eb0e48a3774cc4e4ef78680e77dd4e47:
6473 Update to latest javac and Error Prone
6474 + 867d16eab3bfabae070567ecd878c291978ff338:
6475 Allow ' ', '(', ')' and '$' in labels
6476 + 7b295d34f3a4f42c13aafc1cc8afba3cb4aa2985:
6477 Pass through -sourcepath to the JavaBuilder
6478 + 14e4755ce554cdfc685fc9cc2bfb5b699a3b48f4:
6479 PathFragment comparisons are now platform-aware
6480 + ed7795234ca7ccd2567007f2c502f853cd947e50:
6481 Flag to import external repositories in python import path
6482 + 81ae08bbc13f5f4a04f18caae339ca77ae2699c1:
6483 Suppress error for non-exhaustive switches
6484 + e8d1177eef9a9798d2b971630b8cea59471eec33:
6485 Correctly returns null if an environment variables is missing
6486 + 869d52f145c077e3499b88df752cebc60af51d66:
6487 Fix NPE in Android{S,N}dkRepositoryFunction.
6488 + d72bc57b60b26245e64f5ccafe023a5ede81cc7f:
6489 Select the good guava jars for JDK7 build
6490 + 92ecbaeaf6fa11dff161254df38d743d48be8c61:
6491 Windows: Assist JNI builds with a target for jni_md.h.
6492 + 36958806f2cd38dc51e64cd7bcc557bd143bbdb6:
6493 Add java_common.create_provider to allow creating a
6494 java_common.provider
6495 + 8c00f398d7be863c4f502bde3f5d282b1e18f504:
6496 Improve handling of unknown NDK revisions in
6497 android_ndk_repository.
6498 + b6ea0d33d3ab72922c8fb3ec1ff0e437af09584d:
6499 Add the appropriate cxx_builtin_include_directory entries for
6500 clang to the Android NDK crosstool created by
6501 android_ndk_repository.
6502```
6503
6504Incompatible changes:
6505
6506 - Depsets (former sets) are converted to strings as "depset(...)"
6507 instead of
6508 "set(...)".
6509 - Using --symlink_prefix is now applied to the output
6510 symlink (e.g. bazel-out) and the exec root symlink (e.g.
6511 bazel-workspace).
6512 - Bazel now uses the test's PATH for commands specified as
6513 --run_under; this can affect users who explicitly set PATH to
6514 a more
6515 restrictive value than the default, which is to forward the
6516 local PATH
6517 - It's not allowed anymore to compare objects of different types
6518 (i.e. a string to an integer) and objects for which comparison
6519 rules are not
6520 defined (i.e. a dict to another dict) using order operators.
6521
6522New features:
6523
6524 - environ parameter to the repository_rule function let
6525 defines a list of environment variables for which a change of
6526 value
6527 will trigger a repository refetching.
6528
6529Important changes:
6530
6531 - android_ndk_repository now supports Android NDK R13.
6532 - Android resource shrinking is now available for android_binary
6533 rules. To enable, set the attribute 'shrink_resources = 1'. See
6534 https://bazel.build/versions/master/docs/be/android.html#android_b
6535 inary.shrink_resources.
6536 - resolve_command/action's input_manifest return/parameter is now
6537 list
6538 - For increased compatibility with environments where UTS
6539 namespaces are not available, the Linux sandbox no longer hides
6540 the hostname of the local machine by default. Use
6541 --sandbox_fake_hostname to re-enable this feature.
6542 - proto_library: alias libraries produce empty files for descriptor
6543 sets.
6544 - Adds pkg_rpm rule for generating RPM packages.
6545 - Allow CROSSTOOL files to have linker flags specific to static
6546 shared libraries.
6547 - Make it mandatory for Java test suites in bazel codebase, to
6548 contain at least one test.
6549 - Support for Java 8 lambdas, method references, type annotations
6550 and repeated annotations in Android builds with
6551 --experimental_desugar_for_android.
6552 - Removed .xcodeproj automatic output from objc rules. It can still
6553 be generated by requesting it explicitly on the command line.
6554 - Flips --explicit_jre_deps flag on by default.
6555 - Activate the "dbg", "fastbuild", and "opt" features in the objc
6556 CROSSTOOL.
6557 - Remove support for configuring JDKs with filegroups; use
6558 java_runtime and java_runtime_suite instead
6559 - android_ndk_repository api_level attribute is now optional. If not
6560 specified, the highest api level in the ndk/platforms directory
6561 is used.
6562
Bazel Release System6712cac2017-02-01 19:53:37 +01006563## Release 0.4.4 (2017-02-01)
6564
6565```
6566Baseline: 4bf8cc30a
6567
6568Cherry picks:
6569 + ef1c6fd33: msvc_tools.py.tpl: Change default runtime library to
6570 static
6571```
6572
6573Incompatible changes:
6574
6575 - Only targets with public visibility can be bound to something in
6576 //external: .
6577 - The deprecated -x startup option has been removed.
6578 - docker_build: change the repository names embedded by
6579 docker_build. You can revert to the old behavior by setting
6580 legacy_repository_naming=True.
6581 - The string methods strip(), lstrip(), and rstrip() now
6582 by default remove the same whitespace characters as Python 3
6583 does, and accept
6584 None as an argument.
6585 - Deprecated globals HOST_CFG and DATA_CFG are removed. Use strings
6586 "host" and "data" instead.
6587 - repository_ctx environment is now affected by --action_env flag
6588 (value from the
6589 client environment will be replaced by value given on the command
6590 line through --action_env).
6591 - All executable labels must also have a cfg parameter specified.
6592 - Removed the cmd_helper.template function.
6593 The function was equivalent to:
6594 def template(items, template):
6595 return [template.format(path = i.path, short_path =
6596 i.short_path)
6597 for i in items]
6598 - Tuples that end with a trailing comma must now be inside parens,
6599 e.g. (1,) instead of 1,
6600 - The traversal orders for depsets have been renamed. The old names
6601 are deprecated and will be removed in the future. New names:
6602 "stable" -> "default", "compile" -> "postorder", "link" ->
6603 "topological", "naive_link" -> "preorder".
6604
6605New features:
6606
6607 - Skylark: you can now multiply a list by an integer to get the
6608 concatenation of N copies of this list, e.g. [a,b] * 3 =
6609 [a,b,a,b,a,b]
6610 - Allow Android aidl tool to add a jar to the program's classpath,
6611 such as if needed to support generated sources.
6612 - Add transitive proguard_specs when android_sdk.aidl_lib is
6613 specified
6614 - Windows: "/dev/null" is now a supported path, e.g.
6615 --bazelrc=/dev/null now works
6616
6617Important changes:
6618
6619 - Bazel Android builds use the apksigner tool from the Android SDK
6620 build-tools. Bazel Android builds now require build-tools version
6621 24.0.3 or
6622 later.
6623 - Android SDK external bindings for support libraries, e.g.
6624 //external:android/appcompat_v4, are removed because the support
6625 library JARs that they referenced no longer ship with the Android
6626 SDK.
6627 - aar_import rule is now documented.
6628 - An IE bug was fixed in repository_ctx.download_and_extract
6629 - Update "-I" to "-isystem" in documentation to reflect current
6630 behavior.
6631 - android_sdk_repository build_tools_version is now optional. The
6632 highest installed build-tools will be used if none is specified.
6633 - New flag --sandbox_add_mount_pair to specify customized
6634 source:target path pairs to bind mount inside the sandbox.
6635 - expose proto_library descriptor set to skylark via
6636 <dep>.proto.descriptor_set
6637 - The `set` constructor is deprecated in favor of `depset`
6638 - Autodetect gold linker in cc_configure.bzl
6639 - Remove build flag --experimental_j2objc_annotation_processing. It
6640 is on by default now.
6641 - Set clang's -mwatchos-version-min correctly using the value of
6642 --watchos_minimum_os, not --watchos_sdk_version.
6643 - singlejar can now create jar files larger than 4GB.
6644 - android_sdk_repository and android_ndk_repository now read
6645 $ANDROID_HOME and $ANDROID_NDK_HOME if the path attribute is not
6646 set.
6647 - Removed broken api levels 3, 4 and 5 from Android NDK 12.
6648 - Default --android_dynamic_mode to off.
6649 - android_sdk_repository no longer requires api_level. If one is
6650 not specified, the highest android platform installed will be
6651 used. Furthermore, android_sdk's are created for all android
6652 platforms installed and can be specified with the --android_sdk
6653 flag.
6654 - To iterate over or test for membership in a set, prefer using the
6655 new to_list() method. E.g., "for x in myset.to_list():", or
6656 "print(x in myset.to_list())". Iteration/membership-test on the
6657 raw set itself is deprecated.
6658 - Remove support for --javawarn; use e.g. --javacopt=-Xlint:all
6659 instead
6660
Bazel Release Systemd3b23642016-12-22 13:30:47 +01006661## Release 0.4.3 (2016-12-22)
Bazel Release System80865ff2016-11-30 13:18:54 +01006662
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +01006663```
Bazel Release Systemd3b23642016-12-22 13:30:47 +01006664Baseline: c645a45
Bazel Release System80865ff2016-11-30 13:18:54 +01006665
6666Cherry picks:
Bazel Release Systemd3b23642016-12-22 13:30:47 +01006667 + af878d0: Add coverage support for java test. (series 4/4 of
6668 open-sourcing coverage command for java test)
6669 + 09b92a8: Rollback of commit
6670 67b4d5250edcefa7220e928e529b1f385e2dc464.
6671 + b11dd48: Fix bad bug with the parallel implementation of
6672 BinaryOperatorExpression. Turns out that
6673 ForkJoinTask#adapt(Callable) returns a ForkJoinTask
6674 whose Future#get on error throws a ExecutionException
6675 wrapping a RuntimeException wrapping the thrown checked
6676 exception from the callable. This is documented
6677 behavior [1] that I incorrectly didn't know about.
6678 + 9012bf1: Fix scripts/packages/convert_changelog to read the
6679 changelog correctly
6680 + 55c97bc: Release script: if master branch does not exist, fall
6681 back on origin/master
6682 + 4fb378c: Debian repository: override section and priority fields
6683 + acbcbc2: Fix release notes in emails
6684 + 4975760: Fix PathFragment to not use Java8-only static hashCode
6685 methods.
6686 + 05fd076: Disable sandboxing for XibCompile actions.
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +01006687```
Bazel Release System80865ff2016-11-30 13:18:54 +01006688
6689Incompatible changes:
6690
Bazel Release Systemd3b23642016-12-22 13:30:47 +01006691 - Skylark maven_jar and maven_aar settings attribute is now a label
6692 so it can be checked into your workspace.
6693 - --{no}experimental_use_rclass_generator is now a nop.
6694
6695New features:
6696
6697 - Coverage support (*experimental*) for pure Java target.
6698 Use `bazel coverage //my:target` to generate coverage information
6699 from a `java_test`.
Bazel Release System80865ff2016-11-30 13:18:54 +01006700
6701Important changes:
6702
Bazel Release Systemd3b23642016-12-22 13:30:47 +01006703 - Enable fallback URLs in Skylark http rules.
6704 - cc_proto_library generates C++ code from proto_library rules.
6705 - cc_library now supports the strip_prefix and strip_include_prefix
6706 attributes for control of include paths.
6707 - Skylark dicts internally don't rely on keys order anymore and
6708 accept any hashable values (i.e. structs with immutable values)
6709 as keys. Iteration order of dictionaries is no longer specified.
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +01006710
6711## Release 0.4.2 (2016-12-02)
6712
6713```
6714Baseline: 6331a94
6715
6716Cherry picks:
6717 + 7b835d9: Do not patch WORKSPACE in the release process
6718```
6719
6720Incompatible changes:
6721
6722 - Callback functions in Skylark no longer support the cfg
6723 parameter. This is a cleanup and only affects the signatures of
6724 callbacks, since the parameter hasn't been set since September
6725 2016.
6726
6727Important changes:
6728
6729 - Alias proto_library's produce a descriptor set that contains all
6730 srcs of its dependencies.
6731 - proto_library supports strict proto deps.
6732 - Top level @androidsdk support library targets have been replaced
6733 by @androidsdk//<group id>:<artifact id>-<version> for Android
6734 SDK Support and Google Play Services libraries.
6735
Bazel Release System15402a92016-11-30 10:12:30 +01006736## Release 0.4.1 (2016-11-21)
6737
6738```
6739Baseline: 9a796de
6740
6741Cherry picks:
6742 + 88bfe85: Description redacted. -- MOS_MIGRATED_REVID=139219934
6743 + b09ea94: Rollback of commit
6744 a3f5f576cd35798140ba3e81d03d919dd4ecb847.
6745```
6746
6747New features:
6748
6749 - android_library now has a "exported_plugins" attribute just like
6750 java_library
6751 - Use --strict_system_includes to apply hdrs_check=strict also to
6752 cc_library.includes, even if sandboxing is disabled.
6753 - Bazel on Windows: java_binary can now be the executable of
6754 Skylark rule actions (ctx.action's executable argument)
6755 - Packages are defined in BUILD.bazel as well as BUILD files.
6756
6757Important changes:
6758
6759 - getattr()'s 3-arg form no longer raises an error when the
6760 retrieved field is a built-in method.
6761 - --apk_signing_method default changed to v1. Android APKs are now
6762 signed with the new ApkSignerTool by default.
6763 - New rule: proto_lang_toolchain(), to support LANG_proto_library
6764 rules on multiple platforms.
6765 - Fix for Android clang++ std::stack segfault on 32bit x86. See
6766 https://code.google.com/p/android/issues/detail?id=220159
6767 - Default android_manifest_merger is now "android" which uses the
6768 official Android manifest merger.
6769 http://tools.android.com/tech-docs/new-build-system/user-guide/man
6770 ifest-merger
6771 - Do not propagate aspect to its own attributes when using '*'.
6772 - Comparing sets (`if set1 < set2:`) is not allowed anymore in
6773 Skylark because it didn't work correctly anyway.
6774 - When --experimental_extra_action_top_level_only, Bazel reports
6775 extra-actions for actions registered by Aspects injected by a
6776 top-level rule (approximately).
6777 - Blacklists for proto_lang_toolchain() no longer have to be
6778 proto_library's.
6779 - Extra actions now contain aspect-related information.
6780 - Fix slicing bug where "abc"[:-4:-1] would give wrong answer
6781
Bazel Release Systemd0761e62016-11-02 13:36:35 -04006782## Release 0.4.0 (2016-10-26)
6783
6784```
6785Baseline: 088bbc6
6786
6787Cherry picks:
6788 + b01160c: Stamp Windows release.
6789 + 2d6736e: Add --no-tty for gpg signing
6790 + 9b1dfb8: Remove .sig file before gpg signing
6791 + 81aede1: Reimplement whole archive on Windows
6792```
6793
6794Incompatible changes:
6795
6796 - Skylark: updating list/dicts while they are being looped over is not
6797 allowed. Use an explicit copy if needed ("for x in list(mylist):").
6798 - Bazel now uses the --cpu flag to look up Jvms; it falls back
6799 to "default" if it can't find a Jvm matching the CPU value.
6800 - --command_port=-1 to use AF_UNIX for client/server communications
6801 is not supported anymore.
6802 - Sandboxed actions can access the network by default, unless their
6803 target has a "block-network" tag.
6804
6805New features:
6806
6807 - Files now have an "extension" property in Skylark.
6808
6809Important changes:
6810
6811 - Added a new flag --sandbox_tmpfs_path, which asks the sandbox to
6812 mount an empty, writable directory at a specified path when
6813 running actions. (Supported on Linux only for now.)
6814 - Update protoc-3.0.0-mingw.exe to a working (statically linked)
6815 binary
6816 - apple_static_library rule to create multi-architecture static
6817 archive files from Objc/C++/Swift dependencies on apple platforms
6818 - JS: Add support for localization with closure managed rules.
6819 - Create a flag --android_dynamic_mode to turn off dynamic mode
6820 during the Android split transition.
6821 - Darwin sandboxing is default.
6822 - Remove flag --experimental_zip_tree_artifact from j2objc Java
6823 annotation processing support.
6824 - A few functions are added to BUILD files for consistency (hash,
6825 dir,
6826 hasattr, getattr) with .bzl files, although they are not very
6827 useful.
6828 - --watchfs is now a command option; the startup option of the same
6829 name is deprecated. I.e., use bazel build --watchfs, not
6830 blaze --watchfs
6831 build.
6832
Bazel Release System33579a42016-10-07 13:05:11 -04006833## Release 0.3.2 (2016-10-07)
6834
6835```
6836Baseline: 023a7bd
6837
6838Cherry picks:
6839 + bebbbe5: Fix dependency on libtool's helper script
6840 make_hashed_objlist.py.
6841 + 8a0d45f: Add the version information to the bazel.exe file
6842 + 2bc0939: Allow new_ rules to overwrited BUILD files in
6843 downloaded repos
6844 + c5545fd: Rollback of commit
6845 96d46280bc5a4803ba2242a4ad16939f85a3b212.
6846 + eb87208: Make cc_configure on Windows more robust
6847 + c30432c: Fix cc_configure on Windows
6848 + 95b16a8: sandbox: Replace the error-prone lazy cleanup of
6849 sandbox directories by a simple synchronous cleanup.
6850 + e898023: Fix #1849: Sandboxing on OS X should be turned off by
6851 default for 0.3.2.
6852 + ffdc05d: Add action_config and feature for linking on Windows
6853```
6854
6855Incompatible changes:
6856
6857 - If you maintain a rule that uses persistent workers, you'll have
6858 to specify execution_requirements={"supports-workers": 1} in the
6859 ctx.action that intends to run a tool with workers. The
6860 WorkerSpawnStrategy will alert you with a warning message if you
6861 forget to make this change and fallback to non-worker based
6862 execution.
6863 - It is now an error to include a precompiled library (.a, .lo, .so)
6864 in a cc_library which would generate a library with the same name
6865 (e.g., libfoo.so in cc_library foo) if that library also contains
6866 other linkable
6867 sources.
6868 - The main repository's execution root is under the main
6869 repository's workspace name, not the source directory's basename.
6870 This shouldn't
6871 have any effect on most builds, but it's possible it could break
6872 someone doing
6873 weird things with paths in actions.
6874 - Blaze doesn't support Unix domain sockets for communication
6875 between its client and server anymore. Therefore, the
6876 --command_port command line argument doesn't accept -1 as a valid
6877 value anymore.
6878 - Skylark: It is an error to shadow a global variable with a local
6879 variable after the global has already been accessed in the
6880 function.
6881 - bin_dir and genfiles_dir are now properties of ctx, not
6882 configuration. That is, to access the bin or genfiles directory
6883 from a
6884 Skylark rule, use ctx.bin_dir or ctx.genfiles_dir (not
6885 ctx.configuration.{bin,genfiles}_dir). At the moment, you can
6886 access
6887 {bin,genfiles}_dir from either, but the ctx.configuration version
6888 will
6889 stop working in a future release.
6890 - filegroup-based C++ toolchains are not supported anymore.
6891 --*_crosstool_top options must always point to a
6892 cc_toolchain_suite rule (or an alias of one).
6893 - repository_ctx.{download,download_and_extract,execute} API now use
6894 named parameters for optional parameters and no
6895 longer uses argument
6896 type to distinguished between arguments
6897 (executable attribute name
6898 must be specified when preceding optional
6899 arguments are missing).
6900
6901New features:
6902
6903 - print and fail are now available in BUILD files.
6904
6905Important changes:
6906
6907 - Added @bazel_tools//tools/build_defs/repo/git.bzl as a Skylark
6908 rule for Git repositories.
6909 - Added @bazel_tools//tools/build_defs/repo/maven_rules.bzl as a
6910 Skylark rule for Maven repositories.
6911 - Add global hash() function for strings (only)
6912 - Improve Android split transition handling.
6913 - Removes exports_manifest attribute from android_binary rule.
6914 - java_proto_library: control strict-deps through a rule-level and
6915 a package-level attribute.
6916 - Persistent workers are now used by default for Java compilation
6917 in Bazel, which should speed up your Java builds by ~4x. You can
6918 switch back to the old behavior via --strategy=Javac=standalone.
6919 Check out http://www.bazel.io/blog/2015/12/10/java-workers.html
6920 for more details.
6921 - objc_* rules can now depend on any target that returns an "objc"
6922 provider.
6923 - Adds support for NDK12 to `android_ndk_repository` rule in Bazel.
6924 - Test targets can disable the JUnit4 test security manager via a
6925 property.
6926 - Disable the Android split transition if --android_cpu and
6927 fat_apk_cpu are both empty.
6928 - New sandboxing implementation for Linux in which all actions run
6929 in a separate execroot that contains input files as symlinks back
6930 to the originals in the workspace. The running action now has
6931 read-write access to its execroot and /tmp only and can no longer
6932 write in arbitrary other places in the file system.
6933 - Add worker support to single jar.
6934 - Invoke source jar action as a worker.
6935 - Sandboxed builds allow network access for builds by default.
6936 Tests will still be run without networking, unless
6937 "requires-network" is specified as a tag.
6938 - Add path.realpath() method for Skylark repositories.
6939 - On Mac devices, detect locally installed versions of xcode to:
6940 1. Use a sensible default if xcode is required but
6941 --xcode_version is unspecified.
6942 2. Use sensible default iOS SDK version for the targeted version
6943 of xcode if ios_sdk_version is unspecified.
6944 - Emacs' [C-x `], a.k.a. next-error, works again in emacsen >= 25.1
6945 - swift_library can be used to build watchOS apps.
6946 - Exposes the is_device field on Apple platform objects and adds
6947 the apple_common.platform_type(name) method to retrieve a
6948 platform_type value that can be passed to methods like the Apple
6949 fragment's multi_arch_platform.
6950 - Move Skylark git_repository rules to git.bzl
6951 - Add support for aspects to attr.label() attributes
6952 - Global varaiables HOST_CFG and DATA_CFG are deprecated in favor
6953 of strings "host"
6954 and "data.
6955 Argument `cfg = "host"` or `cfg = "data"` is mandatory if
6956 `executable = True` is provided for a label.
6957 - The deprecation attribute of all rules now causes warnings
6958 to be printed when other targets depend on a target with that
6959 attribute set.
6960 - Change default of --[no]instrument_test_targets to false, change
6961 default --instrumentation_filter (which previously tried to
6962 exclude test targets by heuristic) to only exclude targets in
6963 javatests.
6964 - Remove deprecated absolute paths in blaze IDE artifacts
6965 - When using android_binary.manifest_merger="android" the merger
6966 produces a summary log next to the merged manifest artifact.
6967 - Allow different default mallocs per configuration.
6968
Bazel Release System70c772b2016-07-29 10:28:13 +02006969## Release 0.3.1 (2016-07-29)
6970
6971```
6972Baseline: 792a9d6
6973
6974Cherry picks:
6975 + 25e5995: Rollback of commit
6976 a2770334ea3f3111026eb3e1368586921468710c.
6977 + 2479405: Fix NPE with unset maven_jar sha1
6978 + 3cf2126: Rewrite the extra action info files if the data within
6979 them changes.
6980 + 5a9c6b4: JavaBuilder: Reintroduce the -extra_checks flag.
6981```
6982
6983Incompatible changes:
6984
6985 - Removed predefined Python variable "generic_cpu".
6986 - Skylark rules: if you set "outputs" or an attribute to a
6987 function, this function must now list its required attributes as
6988 parameters (instead of an attribute map).
6989 - The host_platform and target_platform entries are not written to
6990 the master log anymore.
6991 - Bazel requires Hazelcast 3.6 or higher now for remote execution
6992 support, because we upgraded our client library and the protocol
6993 it uses is incompatible with older versions.
6994
6995New features:
6996
6997 - LIPO context (--lipo_context) can now also be a cc_test (in
6998 addition to cc_binary)
6999
7000Important changes:
7001
7002 - If --android_crosstool_top is set, native code compiled for
7003 android will always use --android_compiler and not --compiler in
7004 choosing the crosstool toolchain, and will use --android_cpu if
7005 --fat_apk_cpu is not set.
7006 - Add --instrument_test_targets option.
7007 - apple_binary supports a new platform_type attribute, which, if
7008 set to "watchos", will build dependencies for Apple's watchOS2.
7009 - objc_binary now supports late-loaded dynamic frameworks.
7010 - Native Swift rules no longer pull in module maps unconditionally.
7011 Use --experimental_objc_enable_module_maps for that.
7012 - Merged manifests are guaranteed to have the application element
7013 as the last child of the manifest element as required by Android
7014 N.
7015 - The Android manifest merger is now available as an option for
7016 android_binary rules. The merger will honor tools annotations in
7017 AndroidManifest.xml and will perform placeholder substitutions
7018 using the values specified in android_binary.manifest_values. The
7019 merger may be selected by setting the manifest_merger attribute
7020 on android_binary.
7021 - The progress message would not clear packages that need to be
7022 loaded twice.
7023 - Remove warning for high value of --jobs.
7024 - Use the correct build configuration for shared native deps during
7025 Android split transitions.
7026 - When building ObjectiveC++, pass the flag -std=gnu++11.
7027 - use xcrun simctl instead of iossim to launch the app for "blaze
7028 run".
7029 - Glob arguments 'exclude' and 'exclude_directories' must be named
7030 - Bazel no longer regards an empty file as changed if its mtime has
7031 changed.
7032
Bazel Release Systemccadf8d2016-06-10 13:28:40 +02007033## Release 0.3.0 (2016-06-10)
7034
7035```
7036Baseline: a9301fa
7037
7038Cherry picks:
7039 + ff30a73: Turn --legacy_external_runfiles back on by default
7040 + aeee3b8: Fix delete[] warning on fsevents.cc
7041```
7042
7043Incompatible changes:
7044
7045 - The --cwarn command line option is not supported anymore. Use
7046 --copt instead.
7047
7048New features:
7049
7050 - On OSX, --watchfs now uses FsEvents to be notified of changes
7051 from the filesystem (previously, this flag had no effect on OS X).
7052 - add support for the '-=', '*=', '/=', and'%=' operators to
7053 skylark. Notably, we do not support '|=' because the semantics
7054 of skylark sets are sufficiently different from python sets.
7055
7056Important changes:
7057
7058 - Use singular form when appropriate in blaze's test result summary
7059 message.
7060 - Added supported for Android NDK revision 11
7061 - --objc_generate_debug_symbols is now deprecated.
7062 - swift_library now generates an Objective-C header for its @objc
7063 interfaces.
7064 - new_objc_provider can now set the USES_SWIFT flag.
7065 - objc_framework now supports dynamic frameworks.
7066 - Symlinks in zip files are now unzipped correctly by http_archive,
7067 download_and_extract, etc.
7068 - swift_library is now able to import framework rules such as
7069 objc_framework.
7070 - Adds "jre_deps" attribute to j2objc_library.
7071 - Release apple_binary rule, for creating multi-architecture
7072 ("fat") objc/cc binaries and libraries, targeting ios platforms.
7073 - Aspects documentation added.
7074 - The --ues_isystem_for_includes command line option is not
7075 supported anymore.
7076 - global function 'provider' is removed from .bzl files. Providers
7077 can only be accessed through fields in a 'target' object.
7078
Bazel Release System9fdd6012016-05-17 11:12:31 +02007079## Release 0.2.3 (2016-05-10)
7080
7081```
7082Baseline: 5a2dd7a
7083```
7084
7085Incompatible changes:
7086
7087 - All repositories are now directly under the x.runfiles directory
7088 in the runfiles tree (previously, external repositories were at
7089 x.runfiles/main-repo/external/other-repo. This simplifies
7090 handling remote repository runfiles considerably, but will break
7091 existing references to external repository runfiles.
7092 Furthermore, if a Bazel project does not provide a workspace name
7093 in the WORKSPACE file, Bazel will now default to using __main__
7094 as the workspace name (instead of "", as previously). The
7095 repository's runfiles will appear under x.runfiles/__main__/.
7096 - Bazel does not embed protocol buffer-related rules anymore.
7097 - It is now an error for a cc rule's includes attribute to point to
7098 the workspace root.
7099 - Bazel warns if a cc rule's includes attribute points out of
7100 third_party.
7101 - Removed cc_* attributes: abi / abi_deps. Use select() instead.
7102
7103New features:
7104
7105 - select({"//some:condition": None }) is now possible (this "unsets"
7106 the attribute).
7107
7108Important changes:
7109
7110 - java_import now allows its 'jars' attribute to be empty.
7111 - adds crunch_png attribute to android_binary
7112 - Replace --java_langtools, --javabuilder_top, --singlejar_top,
7113 --genclass_top, and --ijar_top with
7114 java_toolchain.{javac,javabuilder,singlejar,genclass,ijar}
7115 - External repository correctness fix: adding a new file/directory
7116 as a child of a new_local_repository is now noticed.
7117 - iOS apps are signed with get-task-allow=1 unless building with -c
7118 opt.
7119 - Generate debug symbols (-g) is enabled for all dbg builds of
7120 objc_ rules.
7121 - Bazel's workspace name is now io_bazel. If you are using Bazel's
7122 source as an external repository, then you may want to update the
7123 name you're referring to it as or you'll begin seeing warnings
7124 about name mismatches in your code.
7125 - Fixes integer overflow in J2ObjC sources to be Java-compatible.
7126 - A FlagPolicy specified via the --invocation_policy flag will now
7127 match the current command if any of its commands matches any of
7128 the commands the current command inherits from, as opposed to
7129 just the current command.
7130 - The key for the map to cc_toolchain_suite.toolchains is now a
7131 string of the form "cpu|compiler" (previously, it was just "cpu").
7132 - Fix interaction between LIPO builds and C++ header modules.
7133 - Ctrl-C will now interrupt a download, instead of waiting for it to
7134 finish.
7135 - Proxy settings can now be specified in http_proxy and https_proxy
7136 environment variables (not just HTTP_PROXY and HTTPS_PROXY).
7137 - Skylark targets can now read include directories from
7138 ObjcProvider.
7139 - Expose parameterized aspects to Skylark.
7140 - Support alwayslink cc_library dependencies in objc binaries.
7141 - Import cc_library dependencies in generated Xcode project.
7142
Bazel Release System1aedd1f12016-04-25 09:47:50 +02007143## Release 0.2.2b (2016-04-22)
Bazel Release System951cea22016-04-21 14:10:12 +02007144
7145```
7146Baseline: 759bbfe
Bazel Release System1aedd1f12016-04-25 09:47:50 +02007147
7148Cherry picks:
Bazel Release System951cea22016-04-21 14:10:12 +02007149 + 1250fda: Rollback of commit
7150 351475627b9e94e5afdf472cbf465f49c433a25e.
7151 + ba8700e: Correctly set up build variables for the correct pic
7152 mode for fake_binary rules.
7153 + 386f242: Automated [] rollback of commit
7154 525fa71b0d6f096e9bfb180f688a4418c4974eb4.
Bazel Release System1aedd1f12016-04-25 09:47:50 +02007155 + 97e5ab0: Fix cc_configure include path for Frameworks on OS X.
7156 + a20352e: cc_configure: always add -B/usr/bin to the list of gcc
7157 option
7158 + 0b26f44: cc_configure: Add piii to the list of supported
7159 cpu_value
7160 + 3e4e416: cc_configure: uses which on the CC environment variable
7161 + aa3dbd3: cc_configure.bzl: strip end of line when looking for
7162 the cpu
7163 + 810d60a: cc_configure: Add -B to compiler flag too
Bazel Release System951cea22016-04-21 14:10:12 +02007164```
7165
Bazel Release System1aedd1f12016-04-25 09:47:50 +02007166Patch release, only includes fixes to C++ auto-configuration.
Bazel Release System951cea22016-04-21 14:10:12 +02007167
Bazel Release System950c1ab2016-03-31 17:18:55 +02007168## Release 0.2.1 (2016-03-21)
7169
7170```
7171Baseline: 19b5675
7172```
7173
7174Incompatible changes:
7175
7176 - Skylark rules that are available from their own repository will
7177 now issue a warning when accessed through @bazel_tools.
7178 - Set --legacy_bazel_java_test to off by default. java_test will
7179 now have a slightly different behaviour, correctly emitting XML
7180 file but, as a downside, it needs correct declaration of the
7181 test suite (see https://github.com/bazelbuild/bazel/issues/1017).
7182 - Labels in .bzl files in remote repositories will be resolved
7183 relative to their repository (instead of the repository the
7184 Skylark rule is used in).
7185 - Renamed proto_java_library to java_proto_library. The former
7186 is now deprecated and will print out a warning when used.
7187 - android_sdk now compiles android_jack on the fly from
7188 android_jar, which means android_jar must be a jar and
7189 android_jack is now deprecated. The Jack tools (jack, jill,
7190 resource_extractor) must be specified.
7191 - Any project that depended on the objc_options rule will be
7192 broken. Can be fixed by adding attrs (infoplists,copts) directly
7193 to rules depending on the options.
7194 - .aidl files correctly require import statements for types
7195 defined in the same package and the same android_library.
7196
7197New features:
7198
7199 - Experimental Windows support is available.
7200 - Experimental support for writing remote repository rules in
7201 Skylark is available.
7202 - iOS ipa_post_processor attribute allows for user-defined IPA
7203 edits.
7204 - Adds a to_json method to Skylark structs, providing conversion to
7205 JSON format.
7206 - Native python rule can depend on skylark rule as long as skylark
7207 rule provides 'py' provider.
7208 - When using both --verbose_failures and --sandbox_debug, Bazel
7209 prints instructions how to spawn a debugging shell inside the
7210 sandbox.
7211 - add flag --sandbox_add_path, which takes a list of additional
7212 paths as argument and mount these paths to sandbox.
7213
7214Important changes:
7215
7216 - @androidsdk//:org_apache_http_legacy added for the legacy Apache
7217 classes for android sdk version 23 and above.
7218 - Genrules correctly work when used with bazel run.
7219 - When namespace-sandbox is run with the -D (debug) flag and
7220 inside a terminal, it spawns a shell inside the sandbox to aid in
7221 debugging when the sandboxed command fails.
7222 - Added --artifact to workspace generator for generating workspace
7223 and build file rules from artifact coodrinates.
7224 - Specifying --experimental_android_resource_shrinking on the
7225 command line will enable a resource shrinking pass on
7226 android_binary targets that already use Proguard.
7227 - J2ObjC updated to 1.0.1 release.
7228 - Added "root_symlinks" and "symlinks" parameters to Skylark
7229 runfiles() method.
7230 - You can no longer use objc_binary targets for the xctest_app
7231 attribute of an ios_test rule.
7232 - Enable overriding jsonnet binaries and stdlib for Jsonnet rules.
7233 - mount target of /etc/resolv.conf if it is a symlink.
7234 - Tests that failed to build because execution was halted no longer
7235 print their status.
7236 - Bazel warns if a cc rule's includes attribute contains up-level
7237 references that escape its package.
7238 - Add repository_ctx.download and repository_ctx.download_and_extract
7239 function.
7240
Bazel Release Systemf98290d2016-02-23 13:51:16 +01007241## Release 0.2.0 (2016-02-18)
7242
7243```
7244Baseline: 9e100ac
7245```
7246
7247Incompatible changes:
7248
7249 - ObjC compile actions for J2ObjC-translated code now only has
7250 access to headers from the java deps of the associated original
7251 java rule.
7252 These compile actions no longer takes the compiler options
7253 specified in "copts" attribute on objc_binary/ios_test rules.
7254 J2ObjC dead code removal (enabled through flag
7255 "--j2objc_dead_code_removal") now happens *after* ObjC
7256 compilation.
7257 - maven_jar no longer supports separate artifact_id, group_id, and
7258 verison fields. This information should be provided in the
7259 artifact field,
7260 instead.
7261
7262New features:
7263
7264 - Better support for toolchains that don't have a dynamic linker.
7265 - build_file_content attribute added to new_git_repository,
7266 new_http_archive, and new_local_repository.
7267 - Add support for .tar.bz2 archives to http_archive rules.
7268
7269Important changes:
7270
7271 - The --skyframe flag is no longer available for the build command.
7272 - The --artifacts flag was removed from the dump command.
7273 - The sha256 attribute is now optional (although recommended!) for
7274 remote repository rules.
7275 - Add instrumented file provider support to Skylark rules.
7276 - Add imports attribute to native Python rules.
7277 - Allow overriding -gsplit-dwarf from copts.
7278 - Improved sandbox performance on XFS filesystems.
7279
Bazel Release System00cf25d2016-02-09 18:36:51 +01007280## Release 0.1.5 (2016-02-05)
7281
7282```
7283Baseline: 3a95f35
7284 + 8378cd8: Rollback of commit
7285 a9b84575a32476a5faf991da22b44661d75c19b6.
7286```
7287
7288Incompatible changes:
7289
7290 - Set stamping to false by default (i.e., --nostamp)
7291 - Removed --objc_dump_syms_binary.
7292 - Removes --objc_gcov_binary flag.
7293 - Remove JAVAC "Make" variable
7294 - The startup flag --blaze_cpu is removed,
7295
7296New features:
7297
7298 - A new java test runner that support XML output and test filtering
7299 is supported. It can be used by specifying --nolegacy_bazel_java_test
7300 or by specifying the test_class attribute on a java_test.
7301 - Skylark aspects can now specify configuration fragment
7302 dependencies with fragments and host_fragments like rules can.
7303
7304Important changes:
7305
7306 - Support for downloading remote resources through proxies by
7307 setting HTTP_PROXY (or HTTPS_PROXY).
7308 - Timestamps within Android apks are removed to make apks
7309 deterministic.
7310 - Support aggregation over existing rules in Skylark extensions
7311 through native.rules and native.rule.
7312 - A tools/bazel script in the workspace will be executed
7313 as an opportunity to use a fixed version of Bazel (not
7314 implemented for the homebrew recipe yet).
7315 - --noimplicit_deps and --nohost_deps work correctly for Aspect
7316 attributes.
7317 - JDK-related targets are now available via @local_jdk (instead of
7318 @local-jdk).
7319 - j2objc tools can now be accessed via @bazel_j2objc, not
7320 @bazel-j2objc.
7321 - Repository rules must use names that are valid workspace names.
7322 - [rust] Update to Rust 1.6
7323 - Add support for .tar.xz archives to http_archive rules.
7324 - Make C++ modules compatible with tools using
7325 --compilation_prerequisites_only
7326 - [d] Update to DMD 2.070.0
7327
Bazel Release System446d9922016-01-21 10:59:31 +01007328## Release 0.1.4 (2016-01-15)
7329
7330```
7331Baseline: e933d5e
7332 + 3d796fe: Rollback of commit
7333 ac6ed79e1a3fa6b0ca91657b28e2a35f7e49758c.
7334 + 7a02e5d: Fix installer under OS X
7335 + 848740c: Fix bazel version for debian package
7336 + 7751d43: Add a method for getting the root of a rule workspace
7337 to the Label method
7338```
7339
7340Important changes:
7341
7342 - add loadfiles() query operator, to find skylark files loaded by
7343 targets.
7344 - Added ability to declare and use aspects in Skylark.
7345 - Skylark load statements may now reference .bzl files via build
7346 labels, in addition to paths. In particular, such labels can be
7347 used to reference Skylark files in external repositories; e.g.,
7348 load("@my_external_repo//some_pkg:some_file.bzl", ...).
7349 Path-based loads are now deprecated and may be disabled in the
7350 future. Caveats: Skylark files currently do not respect package
7351 visibility; i.e., all Skylark files are effectively public. Also,
7352 loads may not reference the special //external package.
7353 - Relative paths can now be used for 'path' with
7354 new_local_repository and local_repository.
7355
Bazel Release System1518253e2016-01-11 10:10:19 +01007356## Release 0.1.3 (2016-01-07)
7357
7358```
7359Baseline: 23ad8f6
7360 + de2183d: Only depend on the WORKSPACE file for external files
7361 that are under the external/ directory, i.e. were
7362 created by Bazel.
7363 + f8f855c: Rollback of commit
7364 12bad3af0eade9c4b79d76f9e1c950ad2e3214c2.
7365 + f627562: Stop parsing the WORKSPACE file when a parse error is
7366 detected
7367 + 763f139: Add -fno-canonical-system-headers to CROSSTOOL files so
7368 that gcc doesn't resolve symlinks in .d files, which
7369 would confuse Blaze.
7370 + b95995b: Use openjdk7 as dependency for debian package of jdk7
7371 flavor
7372```
7373
7374New features:
7375
7376 - Skylark macros are now enabled in WORKSPACE file.
7377 - .bazelrc allows workspace-relative imports as "import
7378 %workspace%/path/to/rcfile"
7379 - Evaluate the query expression in a file by passing
7380 --query_file=<file> to query
7381
7382Important changes:
7383
7384 - Remove obsolete --objc_per_proto_includes flag.
7385 - iOS apps and extensions now have launch_storyboard
7386 - Passing multiple JVM options via a single --host_jvm_args flag is
7387 now deprecated. Pass each JVM option behind its own
7388 --host_jvm_args flag.
7389 - Resources defined locally on an android_library rule will respect
7390 the neverlink attribute.
7391 - Update Rust to 1.4
7392 - Fix resource handling for exported android_library rules
7393 - Files in external repositories are now treated as mutable, which
7394 will make the correctness guarantees of using external
7395 repositories stronger (existent), but may cause performance
7396 penalties.
7397
Bazel Release System0d2e4092015-12-04 23:31:41 +01007398## Release 0.1.2 (2015-11-20)
7399
7400```
7401Baseline: ee0ade3
7402 + 1e66ccd: RELNOTES: Symlink dirents of directories containing a
7403 file named
7404 "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA
7405 _A_RECURSIVE_TARGET_PATTERN" will *not* be traversed
7406 for transitive target patterns. The motivation here is
7407 to allow directories that intentionally contain wonky
7408 symlinks (e.g. foo/bar -> foo) to opt out of being
7409 consumed by Blaze. For example, given
7410 + f5773fc: Set the ijar MAX_BUFFER_SIZE to 256 MB
7411```
7412
7413New features:
7414
7415 - java_library now supports the proguard_specs attribute for
7416 passing Proguard configuration up to Android (not Java) binaries.
7417 - http_file can specify "executable" to make the downloaded file
7418 runnable.
7419 - Debian and tar packaging is now supported
7420 (see tools/build_defs/pkg/README.md).
7421 - cpxx_builtin_include_directory specifications allow more
7422 flexibility.
7423 - accept %crosstool_top% in cxx_builtin_include_directory
7424 - android_binary now supports proguard_apply_mapping to re-use a
7425 previously generated proguard mapping.
7426
7427Important changes:
7428
7429 - remove webstatusserver (--use_webstatusserver).
7430 - Add support for objc textual headers, which will not be compiled
7431 when modules are enabled.
7432 - actoolzip, momczip and swiftstdlibtoolzip have all been made into
7433 bash scripts and have been renamed to actoolwrapper, momcwrapper
7434 and swiftstdlibtoolwrapper respectively. The old versions will be
7435 deleted in a later change.
7436 - [rust] Add rust_bench_test and rust_doc_test rules and improve
7437 usability of rust_test tule.
7438 - Java rules now support a resource_strip_prefix attribute that
7439 allows the removal of path prefixes from Java resources.
7440 - [docker_build] incremental loading is default now.
7441 Specify explicitly //package:target.tar (with the .tar extension)
7442 to obtain the full image.
7443 - --ios_signing_cert_name allows specifying a cert for iOS app
7444 signing
7445 - Go rules for Bazel.
7446 - [jsonnet] Update to Jsonnet 0.8.1.
7447 - [jsonnet] Add vars and code_vars attributes to jsonnet_to_json to
7448 allow passing external variables to Jsonnet via --var and
7449 --code_var.
7450 - Adds --override_workspace_root blaze flag to hand-set
7451 workspace_root and mainGroup in xcodeproj.
7452 - Allow dots in package names.
7453 - When used as a forwarding rule (i.e., has no sources),
7454 android_library
7455 will also forward any exported_plugins in its dependencies.
7456 - Add support for Windows-created zip files with non-posix
7457 permissions.
7458 - [jsonnet] Add jsonnet_to_json_test rule for testing Jsonnet code.
7459 - C++ compile actions run in a sandbox now on systems that support
7460 sandboxed execution.
7461 - The names of the clang compilers in the Android NDK crosstool no
7462 longer reference gcc.
7463 - 420 dpi is now a valid density for andoid_binary.densities.
7464 - Bazel does strict validation of include files now to ensure
7465 correct incremental builds. If you see compilation errors when
7466 building C++ code, please make sure that you explicitly declare
7467 all header files in the srcs or hdrs attribute of your cc_*
7468 targets and that your cc_* targets have correct "deps" on
7469 cc_library's that they use.
7470 - [jsonnet] Fix jsonnet_to_json rule to read code_vars from
7471 code_vars instead of vars.
7472 - Tests, genrules, and Skylark actions without the
7473 "requires-network" tag will no longer be able to access the
7474 network.
7475 - C++ libraries no longer need includes = ["."] (or similar copts)
7476 to include paths relative to a remote repository's root.
7477 - Support exports attribute for android_library
7478 - Symlink dirents of directories containing a file named
7479 "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA_A_RECURSI
7480 VE_TARGET_PATTERN" will *not* be traversed for transitive target
7481 patterns. The motivation here is to allow directories that
7482 intentionally contain wonky symlinks (e.g. foo/bar -> foo) to opt
7483 out of being consumed by Blaze.
7484
Bazel Release Systemfa35b182015-10-14 12:11:51 -04007485## Release 0.1.1 (2015-10-05)
7486
7487```
7488Baseline: 22616ae
7489 + 1ef338f: Rollback of "Propagates cc_library linkopts attribute
7490 to dependent objc_libraries.": breaks certain
7491 objc_binary build targets.
7492 + 5fb1073: Reintroduce an inconsistency check (albeit, in a weaker
7493 form) removed by a previous change that was trying to
7494 optimize away a filesystem call.
7495 + 6d00468b2eb976866cfb814d562e0d53a580a46f: Add IdlClass to the embedded default android tools
7496 repository and rearrange BuildJar's JarHelper so that
7497 it too can be embedded.
7498 + a5199039934a2e399a7201adc0d74e2f2d2b0ff3: Fixes Android integration tests by wiring up idlclass
7499 rules in integration environment.
7500```
7501
7502Incompatible changes:
7503
7504 - Bazel requires JDK 8 to run.
7505 - Attribute "copts" is removed from j2objc_library.
7506
7507New features:
7508
7509 - a cc_binary rule may list '.s' and '.asm' files in the srcs
7510 - Support for build with libsass.
7511 - labels in "linkopts" may match any label in either "deps" or
7512 "srcs" to be considered valid.
7513 - Maven servers that require username & password authentication are
7514 now supported (see maven_server documentation).
7515
7516Important changes:
7517
7518 - Support empty plist files
7519 - The <compatible-screens> section of the AndroidManifest.xml will
7520 not be overwritten if it already contains a <screen> tag for each
7521 of the densities specified on the android_binary rule.
7522 - Add Jsonnet rules to Bazel
7523 - Remove deprecated xcode_options flag.
7524 - Workspace names are now restricted to being in their base
7525 directory
7526 (that is, the names cannot contain up-level references or /./).
7527 - j2objc_library on Bazel now transpiles transitive proto_library
7528 dependencies. (Note that java_* rules in Bazel do not yet support
7529 protos; currently they ignore proto dependencies.)
7530 - new_http_archive can specify a root directory.
7531 - Adds support for dylibs on devices for Xcode 7.
7532 - [d] d_docs rules now depend on a d_binary, a d_library or
7533 d_source_library.
7534 - [docker] docker_build now set the permission to 0555 to files
7535 added to the layer, use `mode = "0644"` to use the legacy behavior.
7536 - android_binary now has a main_dex_proguard_specs attribute to
7537 specify which classes should be in the main dex.
7538 - [rust] Add rust_docs rule for generating rustdoc.
Bazel Release System79e40ac2015-09-08 23:38:00 +02007539## Release 0.1.0 (2015-09-08)
7540
7541```
7542Baseline: a0881e8
7543 + 87374e6: Make android_binary use a constant, hard-coded,
7544 checked-in debug key.
7545 + 2984f1c: Adds some safety checks in the Bazel installer
7546 + 4e21d90: Remove BUILD.glob and incorporate the necessary
7547 filegroups into the android_{ndk,sdk}_repository rules
7548 themselves.
7549 + 1ee813e: Fix Groovy rules to work with sandboxing
7550 + 8741978: Add initial D rules to Bazel.
7551 + 2c2e70d: Fix the installer and fixing the package shiped into
7552 binary version of Bazel.
7553```
7554
7555Initial release.
Bazel Release System6712cac2017-02-01 19:53:37 +01007556
Bazel Release System8d635fc2017-03-16 13:18:30 +01007557
Bazel Release Systema3e26832017-05-26 14:11:07 +02007558
Bazel Release System63222de2017-06-06 11:32:04 +02007559
Bazel Release System7b851222017-06-27 15:08:47 +02007560
Bazel Release System195a7a82017-07-27 20:27:32 +02007561
Bazel Release System5371d132017-08-25 11:24:06 +02007562
Bazel Release System471c0e12017-09-28 16:36:12 +02007563
Bazel Release Systemed0ebc02017-10-05 23:52:25 +02007564
Bazel Release System76b6d0a2017-10-18 14:34:11 +02007565
Bazel Release System0838aee2017-11-27 14:16:34 +01007566
Bazel Release System3d53cb02017-12-05 15:28:40 +01007567
Bazel Release System5bd27482018-02-01 09:43:33 +01007568
Bazel Release Systeme1148362018-02-15 10:02:05 +01007569
Bazel Release System09077a32018-02-23 11:09:18 -05007570
Bazel Release Systemc86d6a02018-03-06 19:32:18 +01007571
Bazel Release System546976c2018-04-11 17:34:19 +02007572
Bazel Release System1d9c6062018-04-30 10:45:38 +02007573
Bazel Release System24c68ff2018-05-23 10:59:57 +02007574
Bazel Release System3a592f62018-06-01 15:04:31 +02007575
Bazel Release System513bbf52018-06-08 14:15:20 +02007576
Bazel Release System5013a332018-06-26 14:07:47 +02007577
Bazel Release System1281a022018-07-16 16:13:53 +02007578
Bazel Release System1bd58832018-08-13 15:41:26 +02007579
Bazel Release Systemfdb09a22018-09-14 12:15:54 +02007580
Bazel Release System50921e62018-09-21 12:27:04 +02007581
Bazel Release System36177972018-10-15 10:29:10 +02007582
Bazel Release System92849b82018-10-31 15:41:11 +01007583
Bazel Release System684f1092018-11-12 10:26:58 -05007584
Bazel Release Systemcb3e2982018-11-19 11:19:38 -05007585
Bazel Release System85378562018-11-30 15:34:16 +01007586