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