blob: 810e4900b65244c93ce1c5ec752cb962eafcf6f5 [file] [log] [blame] [view]
Bazel Release System18542502024-10-22 19:13:25 +00001## Release 9.0.0-pre.20241016.1 (2024-10-22)
Bazel Release System74181e72024-10-03 14:26:33 +00002
3```
Bazel Release System18542502024-10-22 19:13:25 +00004Baseline: 253fedc5d5adbb6015735b31103be584e2125d5b
5```
Bazel Release System74181e72024-10-03 14:26:33 +00006
Bazel Release System18542502024-10-22 19:13:25 +00007Incompatible changes:
8
9 - With the default Unix toolchain on macOS, binaries now use
10 `@rpath` to find their `.dylib` dependencies. This is required to
11 fix issues where tools run during the build couldn't find their
12 dynamic dependencies.
13 - The flag `--incompatible_disallow_empty_glob` now defaults to
14 true.
15
16Important changes:
17
18 - Native android_sdk is no longer available within Bazel. Use
19 https://github.com/bazelbuild/rules_android
20 - Add the
21 --incompatible_simplify_unconditional_selects_in_rule_attrs
22 option to simplify configurable rule attributes which contain
23 only unconditional selects; for example, if ["a"] +
24 select("//conditions:default", ["b"]) is assigned to a rule
25 attribute, it is stored as ["a", "b"].
26 - `--incompatible_disallow_unsound_directory_outputs` is deleted.
27 - `--incompatible_remote_symlinks` and
28 `--incompatible_remote_dangling_symlinks` are deleted.
29 - The default value of
30 `--experimental_remote_cache_eviction_retries` is changed to `5`.
31 - If --proto:rule_classes flag is enabled, query proto output will
32 contain rule class definitions in Stardoc proto format.
33 - Non-singleton target visibility lists can now contain
34 "//visibility:public" and "//visibility:private" elements; the
35 result is appropriately simplified when assigned to an attribute:
36 ["//foo:__subpackages__", "//visibility:public"] is saved as
37 ["//visibility:public"], ["//foo:__subpackages__",
38 "//visibility:private"] is saved as ["//foo:__subpackages__"],
39 and for consistency's sake, an empty target visibility list [] is
40 saved as ["//visibility:private"].
41 - Symbolic Macros -- and with them, Finalizers and the new
42 Macro-Aware Visibility model -- are now generally available
43 (`--experimental_enable_first_class_macros` now defaults to
44 true). Trivial `select()` values are automatically unwrapped
45 (`--incompatible_simplify_unconditional_selects_in_rule_attrs`
46 now defaults to true).
47 - Moved all Bazel Android tool and action code to rules_android.
48 - Add conlyopts and cxxopts attributes to cc rules
49 - `@bazel_tools//tools/android` no longer exists. Use
50 https://github.com/bazelbuild/rules_android instead.
51 - Bazel now supports all characters in the rlocation and target
52 paths of runfiles and can be run from workspaces with a space in
53 their full path.
54 - The Python six library is no longer part of @external_tools.
55
56This release contains contributions from many people at Google, as well as Alessandro Patti, Benjamin Peterson, CaerusKaru, Dennis van den Berg, dependabot[bot], Fabian Meumertzheim, Fredrik Medley, hvd, Keith Smiley, Maria, Mislav Mandaric, Tomasz Pasternak, Xavier Bonaventura, Xdng Yng, Xùdōng Yáng.
57
58## Release 8.0.0-pre.20240925.4 (2024-10-03)
Bazel Release System74181e72024-10-03 14:26:33 +000059
Bazel Release System74181e72024-10-03 14:26:33 +000060```
Bazel Release System18542502024-10-22 19:13:25 +000061Baseline: f4d92d45be3617b72c21ad5ce8912fa548472e50
62
63Cherry picks:
64
65 + 99434b16ba41677b92f7eb79d5d8dcb1130d7c47:
66 Automated rollback of commit
67 4607ad439fe8869c8e8951d953e2d3adb613e6d6.
68```
69
70Incompatible changes:
71
72 - `ctx.resolve_tools` is no longer available by default, in
73 preparation for complete removal. See
74 https://github.com/bazelbuild/bazel/issues/22249 for migration
75 instructions. Use `--noincompatible_disallow_ctx_resolve_tools`
76 to temporarily make it available again.
77 - The `aquery` command now reports all potential inputs of actions
78 that support input discovery, including the input headers of C++
79 compilation actions and those explicitly marked as unused through
80 the `unused_inputs_list` argument to `ctx.actions.run`. Set
81 `--noinclude_pruned_inputs` to omit pruned inputs from `aquery`
82 output when running it after action execution.
83 RELNOTES[INC]: This is not a release note, but a reminder to
84 remove the note for `--include_scheduling_dependencies`, which
85 was introduced in the 8.x tree but won't make it into the final
86 release.
87 - `--zip_undeclared_test_outputs` now defaults to false, causing
88 undeclared test outputs (i.e., files written to
89 `$TEST_UNDECLARED_OUTPUTS_DIR` by a test) to be produced as a
90 directory instead of a zip file.
91 - --legacy_important_outputs is flipped to false. See #14353 for
92 details
93
94New features:
95
96 - Bazel can now parse .scl files, a dialect of Starlark without
97 Bazel-specific symbols.
98 - Dormant dependencies and materializer functions are now available
99 with the --experimental_dormant_deps flag.
100
101Important changes:
102
103 - Deleted native Android mobile-install
104 - Repository rules instantiated in the same module extensions can
105 now refer to each other by their extension-specified names in
106 label attributes.
107 - A new experimental flag,
108 `--experimental_build_event_output_group_mode`, allows users to
109 change how a given output group's files are reported in BEP. The
110 current behavior is `FILESET` which populates
111 `OutputGroup.file_sets`. Users may now specify `INLINE` to
112 instead report files directly in the
113 `TargetComplete`/`AspectComplete` event under
114 `OutputGroup.inline_files`. Users may also specify `BOTH` to
115 populate `OutputGroup.file_sets` and `OutputGroup.inline_files`.
116 - Bazel no longer has the android_binary, android_library,
117 android_device_script_fixture and android_host_service_fixture
118 rules. Use https://github.com/bazelbuild/rules_android instead.
119 See https://github.com/bazelbuild/bazel/issues/23199
120 - Bazel no longer has the android_sdk_repository rule. Use
121 https://github.com/bazelbuild/rules_android instead.
122 - Uploading local action results to a disk or remote cache now
123 occurs in the background whenever possible, potentially
124 unblocking the execution of followup actions. Set
125 `--noremote_cache_async` to revert to the previous behavior.
126 - `--incompatible_remote_downloader_send_all_headers` is removed.
127 - `--build_event_upload_max_threads` is removed.
128 - `incompatible_remote_output_paths_relative_to_input_root` is
129 removed.
130 - The default value of
131 `--experimental_remote_cache_compression_threshold` is changed to
132 `100`.
133 - Build without the Bytes is disabled when using HTTP cache.
134 - Build without the Bytes is disabled when using HTTP cache.
135 - Symlink trees are now created through direct filesystem calls by
136 default, instead of delegated to a helper process. On Windows,
137 this entails respecting the `--windows_enable_symlinks` flag,
138 falling back to a copy when the flag is unset (the helper process
139 always attempts to create symlinks, irrespective of the flag).
140 Set `--noexperimental_inprocess_symlink_creation` to temporarily
141 revert to the previous behavior, which will be removed in a
142 future release.
143 - By default, coverage artifacts will be reported inline in the
144 `TargetComplete` event. To disable this behavior, pass
145 `--experimental_build_event_output_group_mode=baseline.lcov=named_
146 set_of_files_only`.
147 - Uploading local action results to a disk or remote cache now
148 occurs in the background whenever possible, potentially
149 unblocking the execution of followup actions. Set
150 `--noremote_cache_async` to revert to the previous behavior.
151 - Overrides in the root MODULE.bazel file are now ignored with
152 `--ignore_dev_dependency`. (Overrides in non-root modules are
153 already ignored.)
154 - Added support for using a remote cache that evicts blobs and
155 doesn't have AC integrity check (e.g. HTTP cache).
156 - Undeclared test outputs are now reported individually in the BEP,
157 unless zipping is enabled via `--zip_undeclared_test_outputs`.
158 - The native version of android_tools_defaults_jar is no longer in
159 Bazel. Use https://github.com/bazelbuild/rules_android instead.
160 - Bazel fetch and vendor command now supports --target_pattern_file
161 for specifying target patterns.
162 - The compact execution log now stores runfiles in a more compact
163 representation that should reduce the memory overhead and log
164 output size, in particular for test spawns. This change required
165 breaking changes to the (experimental) log format.
166 - `override_repo` and `inject_repo` can be used to override and
167 inject repos in module extensions.
168 - Patches to the module file in `single_version_override` are now
169 effective as long as the patch file lies in the root module.
170 - If `--allowed_cpu_values` is set, the `--cpu` flag value is
171 validated against it.
172
173This release contains contributions from many people at Google, as well as Adam Azarchs, Alessandro Patti, Benjamin Peterson, Cornelius Riemenschneider, dependabot[bot], Fabian Meumertzheim, Fil-Den, George Gensure, hvd, Jacob Van De Weert, James Sharpe, Javier Maestro, Jay Conrod, John Millikin, Jordan Mele, Jordan Mele, Keith Smiley, Lior Gorelik, Luis Padron, Michael Siegrist, Nils Wireklint, PikachuHy, Sangita.Nalkar, Son Luong Ngoc, Thi Doan, Xdng Yng, xinyu.wang.
Bazel Release System74181e72024-10-03 14:26:33 +0000174
Bazel Release System70fab322024-10-01 17:41:43 +0000175## Release 7.3.2 (2024-10-01)
Bazel Release System439e7e12024-09-20 03:00:56 +0200176
177```
Bazel Release System439e7e12024-09-20 03:00:56 +0200178
Bazel Release System70fab322024-10-01 17:41:43 +0000179Release Notes:
Bazel Release System6ba40e52024-09-19 17:04:26 +0200180
181```
Bazel Release System5c11d452024-08-20 19:01:09 +0000182
Bazel Release System7c2350a2024-08-19 16:08:36 +0000183## Release 7.3.1 (2024-08-19)
184
185```
186
187Release Notes:
188
189```
190
Bazel Release System99477b12024-08-15 14:14:28 +0000191## Release 8.0.0-pre.20240812.1 (2024-08-15)
192
193```
194Baseline: 133eb60925496e3153bcc7903968b4eeb6d16068
195```
196
197New features:
198
199 - aspects can now return DefaultInfo, which will then be merged
200 with that of the configured target they are applied to.
201 Currently, only the files= field is supported.
202
203Important changes:
204
205 - BEP will include correct \`TestResult\` and \`TargetSummary\`
206 events when special test inputs like \`$test_runtime\` fail to
207 build.
208 - Improve progress message in case there are no actions in flight,
209 and display explicitly "no actions running" in that case.
210 - The new `cc_static_library` rule produces a static library that
211 bundles given targets and all their transitive dependencies. It
212 has to be enabled via `--experimental_cc_static_library`.
213
214This release contains contributions from many people at Google, as well as Fabian Meumertzheim, FaBrand, Jiawen (Kevin) Chen, Son Luong Ngoc, Victor Hiairrassary.
215
Bazel Release Systemfdfe93f2024-08-13 15:32:20 +0000216## Release 8.0.0-pre.20240807.1 (2024-08-13)
217
218```
219Baseline: 300c5867b7d2da1ba32abc20e95662096c2a7a08
220```
221
222Important changes:
223
224 - Bazel no longer has the android_ndk_repository rule. Use
225 https://github.com/bazelbuild/rules_android_ndk instead. See
226 https://github.com/bazelbuild/bazel/issues/23199
227 - Bazel no longer has the android_local_test rule. Use
228 https://github.com/bazelbuild/rules_android instead. See
229 https://github.com/bazelbuild/bazel/issues/23199
230
231This release contains contributions from many people at Google, as well as Fabian Meumertzheim, JKutscha, Xdng Yng.
232
Bazel Release System9cc73272024-08-12 16:26:42 +0000233## Release 7.3.0 (2024-08-12)
234
235```
236
237Release Notes:
238
239```
240
Bazel Release System22daaf72024-08-12 15:55:21 +0000241## Release 8.0.0-pre.20240805.3 (2024-08-12)
242
243```
244Baseline: 914db36648ef734b9b534d2a37907b9505534399
245
246Cherry picks:
247
248 + 7e689a55ccdcd752c102d25fe9acb257bd7d881c:
249 Be resilient to outdated exec paths in action cache entries
250```
251
252Important changes:
253
254 - The format of canonical repo names has changed to use plus (`+`)
255 instead of tilde (`~`). Effectively, this flips the flag
256 `--incompatible_use_plus_in_repo_names` to true, and the flag is
257 now a no-op (i.e. cannot be "unflipped").
258
259This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Jordan Mele, Laurent Le Brun, Xdng Yng.
260
Bazel Release System106db7e2024-08-06 18:38:23 +0000261## Release 8.0.0-pre.20240730.1 (2024-08-06)
262
263```
264Baseline: c75124148e025945b96b5b7c165c37d2975e865d
265```
266
267This release contains contributions from many people at Google, as well as Cornelius Riemenschneider, Fabian Meumertzheim, Laurent Le Brun, Xdng Yng.
268
Bazel Release Systembf4b42a2024-08-01 17:56:42 +0000269## Release 8.0.0-pre.20240729.1 (2024-08-01)
270
271```
272Baseline: d08bb13369d840af35a26b5e38b3d0adb896fd29
273```
274
275Important changes:
276
277 - `--compile_one_dependency` selects header-only `cc_library`s in
278 more cases
279
280This release contains contributions from many people at Google, as well as Cornelius Riemenschneider, Fabian Meumertzheim, Keith Smiley, M. Taimoor Zaeem.
281
Bazel Release System55eaa7e2024-07-30 17:36:18 +0000282## Release 8.0.0-pre.20240724.1 (2024-07-30)
283
284```
285Baseline: 0803ad3770155be411a703950502dc71743017bd
286```
287
288Important changes:
289
290 - Added `--experimental_collect_skyframe_counts_in_profiler` to
291 collect Skyframe node counts in the JSON profile over time.
292 Currently, the following SkyFunctions are measured: `BZL_LOAD`,
293 `GLOB`, `GLOBS`, `PACKAGE`, `CONFIGURED_TARGET`, `ASPECT`,
294 `ACTION_EXECUTION`.
295
296This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Jamison Lahman, Jordan Mele, Son Luong Ngoc.
297
Bazel Release Systemc5c831c2024-07-26 21:42:41 +0200298## Release 8.0.0-pre.20240718.2 (2024-07-26)
299
300```
301Baseline: a36c09f61eb0a10727b13ddd62987a8caf7af45c
302
303Cherry picks:
304
305 + 0803ad3770155be411a703950502dc71743017bd:
306 No public description
307```
308
309Important changes:
310
311 - Stop exposing the AndroidPlatformsTransition to Starlark.
312
313This release contains contributions from many people at Google, as well as eantpil.
314
Bazel Release System7bb88612024-07-19 20:30:34 +0200315## Release 8.0.0-pre.20240710.4 (2024-07-19)
316
317```
318Baseline: 34b926bceba798820b369a47d1a7b7ff1634d277
319```
320
321This release contains contributions from many people at Google, as well as Benjamin Peterson, dependabot[bot], Fabian Meumertzheim, Jordan Mele, Laurent Le Brun, Marc Redemske, Son Luong Ngoc.
322
Bazel Release System41c96be2024-07-12 22:45:58 +0200323## Release 8.0.0-pre.20240701.1 (2024-07-12)
324
325```
326Baseline: 3f93d377d036d773fd505a18e084425a00fb94ea
327```
328
329Important changes:
330
331 - Experimental support for path mapping `CppCompile` actions can be
332 enabled via
333 `--modify_execution_info=CppCompile=+supports-path-mapping`.
334
335This release contains contributions from many people at Google, as well as detailyang, Fabian Meumertzheim, Greg Roodt, hvd, Jason Schroeder, Laurent Le Brun, Simon Mavi Stewart, Xdng Yng.
336
Bazel Release System392deb42024-07-02 23:44:36 +0200337## Release 8.0.0-pre.20240618.2 (2024-07-02)
338
339```
340Baseline: 0c2ed165335327a2c5b534312324baa9ae6b6ebd
341
342Cherry picks:
343
344 + 8d625289052b7d67fedbd50b1eb611deda4ea14a:
345 Automated rollback of commit
346 17f6894346d2e200030dc08d131bf79a31a7c70c.
347```
348
349Initial release.
350
Bazel Release System4a5b5232024-06-25 15:48:38 +0000351## Release 7.2.1 (2024-06-25)
Bazel Release Systema2acc372024-06-10 12:59:51 +0000352
353```
354
355Release Notes:
356
Bazel Release Systema2acc372024-06-10 12:59:51 +0000357```
358
Bazel Release System16dd5d62024-05-08 20:45:25 +0000359## Release 7.1.2 (2024-05-08)
Bazel Release Systeme60b8fb2024-05-03 20:13:05 +0200360
361```
Bazel Release System16dd5d62024-05-08 20:45:25 +0000362Baseline: d798ebde6c6394203a87b5f1a6b62ecfc3880991
Bazel Release Systemb971d5b2024-03-21 16:03:30 +0000363
364Release Notes:
365
Bazel Release System16dd5d62024-05-08 20:45:25 +0000366+ Consider MODULE.bazel for workspace detection in bazel.sh (#20594)
367+ Auto-create deploy jars for Bazel `java_test` targets if requested (#20602)
368+ `java_binary` wrapper should forward `restricted_to` (#20611)
369+ Mount user-specified bind mounts before Bazel's own magic. (#20609)
370+ Fix bootstrapped Bazel binary (#20612)
Bazel Release Systema2351992024-03-11 17:50:52 +0000371+ Modify the error message that occurs when a requested target does not… (#20636)
372+ Cherry-pick all presubmit.yml changes (#20736)
373+ Accept labels of aliases in config_setting. (#20649)
374+ Improve `use_repo_rule` error when not referencing a `repository_rule` (#20732)
375+ Attempt to make main repo mapping inverse more efficient (#20633)
376+ Retry binding to ipv6 localhost (#20755)
377+ Print interactive sandboxed shell command with `--sandbox_debug` (#20769)
378+ Fix two issues with --incompatible_sandbox_hermetic_tmp that manifested themselves when the output base was under /tmp (#20766)
379+ Optimize prefetchInputs. (#20719)
380+ Fix crash on `bazel mod` error containing `%` (#20651)
381+ Cover missing cases during module extension label normalization (#20630)
382+ Do not print errors when repository rules are interrupted (#20662)
383+ Restart at most once when prepopulating repository rule environment (#20643)
384+ Add profiles to the call sites of `updateRunfiles` (#20803)
385+ Fixes for Bazel's own integration tests fail locally on Linux (#20822)
386+ Remove unnecessary `cc_test` coverage handling (#20641)
387+ Fix NPE in BzlmodRepoRuleFunction (#20829)
388+ Return labels instead of strings from DescribableExecutionUnit methods. (#20788)
389+ Introduce a SpawnLogContext interface. (#20842)
390+ Fix `common` `.bazelrc` behavior for flag expansions (#20844)
391+ Add a profiler span for fetching repositories. (#20852)
392+ Make Bazel's RAM estimate container aware (#20644)
393+ Auto-create deploy jars for Bazel `java_test` targets if requested (#20762)
394+ Ignore read-only errors when updating the `mtime` of the `install_base` (#20648)
395+ Add profiling to `remoteActionBuildingSemaphore.acquire()` (#20645)
396+ DigestUtils: avoid throwing on invalid digest function name (#20650)
397+ Use a larger buffer size for `java.util.zip.*Stream` classes (#20642)
398+ Flip flag `--experimental_use_semaphore_for_jobs`. (#20646)
399+ RemoteSpawnRunner: record inbetween phases in timing profile (#20647)
400+ Add fastutil 7.2.1 dependency (#20854)
401+ Allow repo rules to download multiple things in parallel. (#20856)
402+ Add support for tmpfs mounts under `/tmp` with hermetic tmp (#20859)
403+ Add new flag `--enable_workspace` that allows us to disable WORKSPACE… (#20855)
404+ Add support for bind mounts under `/tmp` with hermetic tmp (#20772)
405+ Document `--digest_function` startup flag (#20864)
406+ Add flag `experimental_throttle_remote_action_building` (#20858)
407+ Remove suffix from fastutil alias. (#20872)
408+ Move StableSort into the exec package.
409+ Test that missing spawn outputs are logged correctly.
410+ Simplify computeDigest.
411+ Add SpawnBuilder#with{Inputs,Tools} overloads accepting a NestedSet.
412+ Correctly log paths for runfiles and filesets.
413+ Report empty files in the spawn log.
414+ Propagate the tool bit to logged directory inputs.
415+ Move some more common logic into SpawnLogContext.
416+ Introduce a new compact execution log format.
417+ Apply zstd compression to the compact execution log.
418+ Avoid unnecessary overhead when determining whether an action input is a directory.
419+ Offer Shell completion for top-level packages without subpackages (#20879)
420+ Increase maximal length of profile span for repository function calls (#20907)
421+ Still generate a WORKSPACE file in repo rules if --enable_workspace is set (#20914)
422+ Read authentication information from .netrc (#20915)
423+ deps: rules_python 0.4.0 -> 0.22.0 (#20916)
424+ Avoid emitting canonical labels into generated repos (#20917)
425+ python: make incompatible_python_disallow_native_rules work for top-level external repo targets (#20923)
426+ Remove flag guarding for the AndroidIdeInfo provider (#20932)
427+ Point _virtual_includes to stable locations so IDE integrations survive builds (#20946)
428+ [rfc] Allow repository rules to lazily declare environment variable deps (#20944)
429+ Replaced usage of rev with awk in bash runfiles (#20934)
430+ Cherry pick a few changes to address flaky tests (#20956)
431+ Cherry-pick the change to reduce repository invalidations to Bazel 7.1 (#20949)
432+ The label API shakeup & docs cleanup (#20977)
433+ New docs for labels, repos, etc (#20978)
434+ Add support for arbitrary headers to rctx.download[_and_extract] (#20979)
435+ Show a warning message when the credential helper invocation fails (#20992)
436+ Fix singlejar resource mapping for external repositories (#20989)
437+ Remove user specific path from the lockfile (Fixes #19621) (#21009)
438+ Also report cycles involving WORKSPACE from BzlmodRepoCycleReporter (#21013)
439+ Fix -fatal_warnings on macOS (#21018)
440+ Cherry-picks for module extension repo mapping usage tracking (#21033)
441+ bzlmod: support git repos in source.json (#21036)
442+ Add `bazel mod dump_repo_mapping` (#21023)
443+ Cherry-picks for elimination of repo rule restarts (#21082)
444+ Fix inconsistent dep graph stubs in Bzlmod tests (#21085)
445+ Distinguish the disk and remote caches in the action progress status. (#21084)
446+ Clarify where to find the definition of the --experimental_remote_scrubbing_config configuration format. (#21089)
447+ Disable `--legacy_external_runfiles` in Bazel tests (#21086)
448+ Follow directory symlink in RemoteActionFileSystem#getDirectoryEntries(). (#21088)
449+ Treat the inability to load the Windows filesystem JNI as an error. (#21090)
450+ Fix up permissions error in getInputStream, like we already do for getOutputStream. (#21087)
451+ Force output checking for incremental run commands without the bytes. (#20988)
452+ Remove visionos_x86_64 CPUs (#21022)
453+ Close test.err before deleteing it (#21020)
454+ Fix linker feature detection being performed on wrong linker (#20990)
455+ Add an option to set a minimum size threshold for zstd blob compression. (#21124)
456+ Publish RCs to GitHub (#21127)
457+ Avoid using `InputStream.available()` to detect EOF while reading delimited protos. (#21143)
458+ Starlark: reuse positional array in native calls where possible (#21144)
459+ Harmonize BUILD files. (#21145)
460+ Add bash completion for external targets (#21149)
461+ Make some minor adjustments to the compact execution log format and document it better. (#21146)
462+ Optimize the execution log sorter by using reference equality. (#21147)
463+ Update to Turbine 0.4.0 (#21161)
464+ Split StableSort into a separate target. (#21152)
465+ Document that the compact execution log isn't guaranteed to be serialized in increasing ID order. (#21165)
466+ Fix the comment for MessageOutputStream#write(). (#21166)
467+ Make repo marker files sensitive to repo mapping changes (#21172)
468+ Include the digest hash function in the compact execution log. (#21174)
469+ Report unresolved symlinks as such in the execution log. (#21177)
470+ Correctly handle unresolved symlinks when they appear in the inputs. (#21181)
471+ Add missing close(). (#21183)
472+ Add a profile span for building the upload manifest. (#21184)
473+ Remove obsolete comments and dividers. (#21185)
474+ Implement a new execution log conversion tool. (#21187)
475+ Implement a new execution log conversion tool. (#21192)
476+ Introduce a MessageInputStream abstraction, mirroring MessageOutputStream. (#21207)
477+ Upgrade to use Bazel 7.0.2 (#21208)
478+ Do not store the repository name in `RepoSpec` (#21209)
479+ Make sure we build as well as test //src/tools/execlog/... on CI. (#21216)
480+ Teach ExecLogConverter to read the compact format. (#21223)
481+ Switch macOS minimum version flag to gcc compatible version (#21219)
482+ Update default visionOS CPU to sim_arm64 (#21240)
483+ Avoid exception-based control flow in RemoteActionFileSystem#stat. (#21236)
484+ Cherry-pick: linker_param_file only added to command line if it starts with "@" (#21235)
485+ Fixes for experimental extend rule and subrule functionality (#21237)
486+ Fix NPE in ResourceManager when collecting local resource estimation in the profiler. (#21229)
487+ Optimize RemoteActionFileSystem#readdir for the tree artifact input case. (#21251)
488+ Document --incompatible_disallow_unsound_directory_outputs. (#21252)
489+ Also path map transitive header jar paths with direct classpath optimization (#21227)
490+ Error on invalid path characters in `.bazelignore` (#21259)
491+ Mark gcc-<version> as `gcc` instead of `compiler` in Unix CC toolchain (#21224)
492+ Avoid exception-based control flow in RAFS#getDigest and RAFS#getFastDigest. (#21264)
493+ Add `add_exports/add_opens` to bazel java_binary deploy jars (#21270)
494+ Manipulate the local filesystem directly in the writeLocalFile test helper. (#21272)
495+ Improve the documentation for PathFragment methods dealing with segments. (#21275)
496+ Canonicalize the parent path in RemoteActionFileSystem#delete. (#21282)
497+ Revert "Also path map transitive header jar paths with direct classpath optimization" (#21281)
498+ Make it possible to toggle cache key scrubbing by rule kind (#21276)
499+ Fix a hanging issue with skymeld & `--combined_report=lcov`. (#21271)
500+ Canonicalize the parent path in RemoteActionFileSystem#renameTo. (#21285)
501+ Exclude `//src/test/py/bazel:mod_command_test` from RBE tests due to frequent flaky timeouts.
502+ Add `bazel mod tidy` (#21265)
503+ Don't use worker threads for repo fetching during Skyframe er… (#21305)
504+ Fix flakiness in //src/test/shell/bazel:starlark_repository_test (#21309)
505+ Document best practice of avoiding extensions directly specifying repository names (#21300)
506+ Allow `@repo_name` labels in override attributes (#21313)
507+ Reproducible extension (#21306)
508+ Omit unique module versions from canonical repo names (#21316)
509+ Add `Label.to_display_form()` (#21312)
510+ Clarify the purpose and overall behavior of RemoteActionFileSystem. (#21294)
511+ Make SpawnLogConvert an abstract class instead of an interface. (#21325)
512+ Add support for additional command profiler event types. (#21327)
513+ Remove the fileSize parameter from DigestUtils. (#21328)
514+ Optimize RemoteActionFileSystem#resolveSymbolicLinks by caching intermediate results in a trie. (#21333)
515+ Mark `use_repo_rule` extension as reproducible (#21335)
516+ Make SpawnLogContext interruptible. (#21337)
517+ Document --cache_computed_file_digests. (#21326)
518+ Generate a lockfile for the distribution archive on the fly (#21338)
519+ Introduce --local_resources flag (#21331)
520+ Cherry-pick recent changes to fix CI flakiness and breakages (#21349)
521+ Clear the file digests cache on clean. (#21346)
522+ Parallelize TreeArtifactValue.visitTree across files instead of subdirectories. (#21347)
523+ Temporarily hardcode rules_java repository name (#21356)
524+ Remove unnecessary test assertions to fix flakiness. (#21354)
525+ Make it possible to avoid an extra stat() when obtaining a digest from the cache. (#21353)
526+ Collect directory contents in parallel in CompactSpawnLogContext. (#21361)
527+ Introduce --default_test_resources flag (#21311)
528+ python: rules_python 0.22.0 -> 0.22.1 soas to register Python toolchain by default (#21369)
529+ Add vendor mode (#21366)
530+ Clarify the behavior of --incompatible_remote_symlinks in the presence of a dangling symlink. (#21363)
531+ Handle symlinks in a more consistent manner in UploadManifest. (#21371)
532+ Set the executable bit on files in output directories uploaded to a disk or remote cache. (#21376)
533+ Call out that TreeArtifactVisitor.visit is called in a nondeterministic order. (#21377)
534+ Optimize out a stat call. (#21388)
535+ Compute output directories in parallel when building the upload manifest. (#21386)
536+ Fix rule definition environment for repo rules (#21397)
537+ Share classpath `NestedSet` between full and header compile actions (#21389)
538+ Emit labels in display form in Java rules (#21395)
539+ Fetch refactor and mod command fix (#21385)
540+ Implement `describeKey` for more actions (#21421)
541+ Let scrubbed actions fall back to local execution when remote execution is enabled. (#21384)
542+ Publish the new execution log format to the build event protocol. (#21417)
543+ Ensure that the mtime of an AC entry is smaller, not larger, than the CAS blobs it references. (#21416)
544+ Pass the name of the classpath manifest jar to JacocoCoverageRunner (#21413)
545+ Traverse symlinks to directories while collecting a TreeArtifactValue. (#21418)
546+ Correctly handle file inputs/outputs with directory contents in the execution log. (#21427)
547+ Upgrade to async-profiler v3.0. (#21428)
548+ Avoid a superfluous stat() in DigestUtil. (#21400)
549+ [credentialhelper] Respect `expires` field from helper (#21429)
550+ Improve performance of --reuse_sandbox_directories (#21433)
551+ [credentialhelper] Update flag doc to point to more convenient usage instructions (#21441)
552+ Repo file/dir watching API (#21435)
553+ Clarify the meaning of Dirent.Type.UNKNOWN. (#21434)
554+ Add a native image of turbine to the prebuilt Java tools (#21426)
555+ Update java_tools v13.4 / rules_java 7.4.0 (#21359)
556+ Automated rollback of commit b11fa7a7c7fdb37012c7a442b16f6fdcf90b9177. (#21448)
557+ Remove the restriction that relative symlinks in a tree artifact may not point outside the tree. (#21449)
558+ Revert "Add `Label.to_display_form()`" (#21454)
559+ Do not record any repo mapping entries in the RepoMappingRecorder for WORKSPACE repo rules (#21457)
560+ Reland "Also path map transitive header jar paths with direct classpath optimization" (#21458)
561+ Backport CI test configs (#21456)
562+ Use execution info instead of hard-coded mnemonics for Java path mapping (#21461)
563+ Always decide whether to scrub an input by its effective path. (#21472)
564+ Set RC branch when creating GitHub releases (#21477)
565+ Fix vendor existing repo (#21487)
566+ [test][windows] Export BAZEL_TEST=1 on windows (#21494)
567+ Enable aar_import JNI libs to work with --android_platforms. (#21502)
568+ Fix stale trash dir not cleaned up on worker creation (#21510)
569+ Fix genrule autostamping in bazel (#21512)
570+ Remove --host_jvm_args=-Djava.net.preferIPv6Addresses=true (#21546)
571+ Passthrough HTTP headers to remote downloader service (#21503)
572+ [credentialhelper] Support paths relative to `%install_base%` (#21532)
573+ Update LibrariesToLinkCollector.java for .dll suffix stripping (#21524)
574+ Backport changes for updating default lockfile used in integration tests. (#21547)
575+ Fix a flaky test by avoiding leaking the eager capability RPC thread. (#21550)
576+ Add a profiler span for the findMissingDigests call associated with an upload. (#21552)
577+ Move the disk cache reads and writes into a thread pool. (#21551)
578+ Lazily open files to be uploaded to an HTTP cache. (#21549)
579+ Exclude convenience symlinks after changing the output base (#21505)
580+ StarlarkBaseExternalContext.java: propagate error message when deleting temporary directory failed (#21555)
581+ Fix `bazel fetch` by replacing query with cquery for underlying implementation (#21567)
582+ Fix watching paths in undefined repos in repo rules (#21575)
583+ Implicit dependencies should be visible to rule/aspect definitions in `.bzl` files in the same package (#21577)
584+ Disable some tests because of JDK21 (#21595)
585+ Expose the ApkInfo provider constructor to Starlark. (#21588)
586+ Add multiplex sandboxing support to JavaBuilder (#21598)
587+ Attempt to fix cancellation crash in repo fetching w/ worker thread (#21599)
588+ Move compile StarlarkMethod back to CcModuleAPI (#21605)
589+ Expose AndroidIdeInfo in android_common (#21607)
Bazel Release System16dd5d62024-05-08 20:45:25 +0000590+ Release 7.1.0 (2024-03-11)
591+ Update centos7 platform in build_bazel_binaries.yml (#21644)
592+ Fix `bazel mod tidy` failure with no changes (#21662)
593+ Update .bazelversion to 7.1.0 (#21664)
594+ Let native Turbine image find `ct.sym` with non-hermetic `java_runtime` (#21670)
595+ Actually use shouldPublish() to determine whether to publish the execution log to the BEP. (#21671)
596+ Also inject a failure for createWritableDirectory when testing that ActionOutputDirectoryHelper propagates exceptions. (#21683)
597+ Fix race condition and add more logging for null entry error message (#21692)
598+ Allow any canonical repo name to be used with `bazel mod show_repo` (#21694)
599+ Fix two `bazel mod tidy` crashes (#21700)
600+ Cherry-pick Java execution info improvements (#21703)
601+ Disable //src/test/shell/bazel:srcs_test on Intel macOS (#21707)
602+ Fix sandbox cleanup crashing after server restart (#21733)
603+ Revert "Fix `bazel fetch` by replacing query with cquery for … (#21735)
604+ Release 7.1.1 (2024-03-21)
605+ Implement RemoteActionFileSystem#statIfFound correctly when the path cannot be canonicalized (#21889)
606+ Don't upload remote input to remote cache (#21941)
607+ Do not watch `.netrc` in `read_netrc` (#22186)
608+ Set public visibility for R8 desugar binary (#22176)
Bazel Release Systema2351992024-03-11 17:50:52 +0000609
610Acknowledgements:
611
Bazel Release System16dd5d62024-05-08 20:45:25 +0000612This release contains contributions from many people at Google, as well as Alessandro Patti, Artem V. Navrotskiy, bazel.build machine account, Brentley Jones, Cameron Martin, Chi Wawng, Christian Scott, Cristin Donoso, David Ostrovsky, Ed Schouten, Fabian Meumertzheim, Gunnar Wagenknecht, Jordan Mele, Keith Smiley, lberki, Nikhil Kalige, oquenchil, Patrick Balestra, Rahul Butani, Ryan Beasley, Siddhartha Bagaria, Son Luong Ngoc, Sushain Cherivirala, thesayyn, Tianyu Geng, Viktor Kustov, Xdng Yng, Xùdōng Yáng, Yannic, Yannic Bonenberger.
Bazel Release Systema2351992024-03-11 17:50:52 +0000613```
614
Bazel Release System51f71f12023-12-11 16:46:26 +0000615## Release 7.0.0 (2023-12-11)
616
617```
618Baseline: d60ce2c7c86393638c77698c00c2168a7a936a53
619
620Release Notes:
621
622+ **[Incompatible]** This has the side effect of changing the message on unsuccessful builds from ``` FAILED: Build did NOT complete successfully (0 packages loaded) ``` to ``` ERROR: Build did NOT complete successfully ```
623+ The new path variable `$(rlocationpath ...)` and its plural form `$(rlocationpaths ...)` can be used to expand labels to the paths accepted by the `Rlocation` function of runfiles libraries. This is the preferred way to access data dependencies at runtime and works on all platforms, even when runfiles are not enabled (e.g., on Windows by default).
624+ The `aquery` and `cquery` commands now respect the `--query_file` flag just like the `query` command.
625+ **[Incompatible]** the --experimental_async_execution flag is now a no-op.
626+ **[Incompatible]** --experimental_replay_action_out_err is not a no-op.
627+ **[Incompatible]** `cquery --output=files` also outputs source files.
628+ removed outdated ctx.host_fragments
629+ **[Incompatible]** When multiple --deleted_packages options are passed on the command line, they will be concatenated instead of the latest one taking effect.
630+ removed outdated ctx.host_configuration
631+ **[Incompatible]** JSON profile: Use doubles instead of strings for counter series.
632+ Now that the host configuration is finished, `genrule` should prefer the use of `tools` and stop using `exec_tools`.
633+ **[Incompatible]** --experimental_build_transitive_python_runfiles is flipped to false. See #16303 for details
634+ **[Incompatible]** --incompatible_python_disable_py2 is flipped to true. See #17293 for details.
635+ Update Android manifest merger to v30.1.3, and also drop support for legacy (pre-D8) desugaring.
636+ Correctly encode double value positive infinity as "inf" instead of "+inf" for textprotos.
637+ **[Incompatible]** When remote cache evicts blobs, Bazel will exit with code 39.
638+ Add --use_target_platform_for_tests which uses the target platform for executing tests instead of the execution platform.
639+ **[Incompatible]** `--features` only applies to targets built in the target configuration, and `--host_features` is used for the host / exec configuration (gated behind `--incompatible_use_host_features`)
640+ Custom C++ rules on Windows calling cc_common.create_linking_context_from_compilation_outputs should review whether each target of the rule type should produce a dynamic library since a condition which blocked their creation has been moved to the rules from behind the API.
641+ Add flag `--experimental_remote_cache_ttl` and set the default value to 3 hours.
642+ making --incompatible_use_platforms_repo_for_constraints do nothing. Using constraints from @bazel_tools//platforms with or without the flag will throw error with message "Constraints from @bazel_tools//platforms have been removed. Please use constraints from @platforms repository embedded in Bazel, or preferably declare dependency on https://github.com/bazelbuild/platforms"
643+ **[Incompatible]** Bazel's local CPU resource on Linux is now container aware. Use `--local_cpu_resources`, `--loading_phase_threads` or `--jobs` to override.
644+ Subsequent settings of --extra_execution_platforms now override previous settings, instead of adding them to a list. If you currently set --extra_execution_platforms more than once, please migrate by passing a list of values to --extra_execution_platforms instead so that earlier values aren't overwritten.
645+ @bazel_tools//config:common_settings.bzl has been removed. Use @bazel_skylib//rules:common_settings.bzl instead.
646+ **[Incompatible]** `copy_from_rule` is exec_groups is deprecated (https://github.com/bazelbuild/bazel/issues/17668).
647+ cc_shared_library is no longer experimental, see https://github.com/bazelbuild/bazel/issues/16709 for details
648+ **[Incompatible]** --legacy_bazel_java_test is now a no-op
649+ The flag `--distinct_host_configuration` is removed. It has been a no-op since Bazel 6.0.0.
650+ Add `--skip_incompatible_explicit_targets` option
651+ **[Incompatible]** `--experimental_execution_graph_log` no longer exists. Current users that want local logs need to pass `--experimental_enable_execution_graph_log --experimental_execution_graph_log_path=/some/local/path`. Current users that want logs uploaded to BEP need to pass `--experimental_enable_execution_graph_log --experimental_stream_log_file_uploads`.
652+ Remove 'darwin' as a CPU value, use 'darwin_x86_64' instead
653+ **[Incompatible]** Remove 'darwin' as a CPU value, use 'darwin_x86_64' instead
654+ cc_test can now be configured by using a native.toolchain().
655+ The location of rules that explicitly specify `generator_name` and/or `generator_function` attributes (typically because they are incidentally copied from `native.existing_rule()`) is now the top-level call in the `BUILD` file, which is consistent with rules that do not explicitly specify these attributes.
656+ Warnings (most notably those associated with the `deprecation` rule attribute) are no longer replayed on subsequent invocations unless the target in question is re-analyzed. Warnings are purely informational, so this change has no bearing on the correctness of the build. Downstream tests that break due to this change should update their expectations.
657+ `--experimental_remote_build_event_upload` has been renamed to `--remote_build_event_upload`
658+ **[Incompatible]** Remove high priority workers functionality from blaze.
659+ [Breaking change] platform, constraint_setting, and constraint_value can no longer take an applicable_licenses value. Remediation is to remove the attribute and rely on the package level default.
660+ `--experimental_action_cache_store_output_metadata` has been renamed to `--action_cache_store_output_metadata`
661+ Changed the default value for `--remote_build_event_upload` to `minimal`.
662+ `--experimental_remote_cache_compression` has been renamed to `--remote_cache_compression`
663+ Added a new `max_compatibility_level` attribute to the `bazel_dep` directive, which allows version selection to upgrade a dependency up to the specified compatibility level.
664+ `--experimental_remote_grpc_log` has been renamed to `--remote_grpc_log`
665+ `--incompatible_remote_build_event_upload_respect_no_cache` is now a no-op.
666+ json.decode now takes an optional `default` positional parameter; if this parameter is specified and decoding fails, json.decode will return the `default` value instead of failing Starlark evaluation.
667+ --experimental_repository_disable_download is now promoted to stable and is also available under the name --repository_disable_download .
668+ `applicable_licenses` is no longer allowed on the `platform` rule. Additionally, `default_package_metadata` from any `package` rule will not be applied.
669+ **[Incompatible]** Duplicates in <rule-inputs> when using `query --output=xml --aspect_deps=precise` are removed. Added flag `--proto:include_attribute_source_aspects` that will include a new field `source_aspect_name` to the `Attribute` message that indicates the source aspect that the attribute comes from.
670+ Options specified on the pseudo-command `common` in `.rc` files are now ignored by commands that do not support them as long as they are valid options for *any* Bazel command. Previously, commands that did not support all options given for `common` would fail to run. These previous semantics of `common` are now available via the new `always` pseudo-command.
671+ **[Incompatible]** `--incompatible_check_sharding_support` is enabled by default. Sharded tests with test runners that do not properly advertise support for test sharding will fail. Refer to https://github.com/bazelbuild/bazel/issues/18339 for migration advice.
672+ the 'default' param of json.decode can now be used as a keyword parameter.
673+ As a transitional step in a larger refactoring, rule transitions are applied twice. Once during dependency resolution and once right before analysis of those rules. After the refactoring is complete, rule transitions will be applied only once.
674+ Add aquery --output=streamed_proto which writes a stream of length delimited ActionGraphContainer containing a single Artifact, Action, Target, DepSetOfFiles, Configuration, AspectDescriptor, RuleClass, PathFragment proto. This breaks up the ActionGraphContainer into multiple which will prevent large protos from crashing blaze.
675+ (BEP) TargetConfigured events will be marked aborted instead of published when there is an analysis error. This is motivated by a low level Blaze change aimed at improving scalability.
676+ **[Incompatible]** cc_binary targets with dynamic_deps attributes no longer link indirect dynamic_deps on Unix. This might be an incompatible change if you are using RUNPATHs (instead of RPATHs) in your cc_shared_libraries. Enable the feature "exclude_bazel_rpaths_in_transitive_libs" or "use_rpath_instead_of_runpath" for those cc_shared_libraries.
677+ Enable starlark_doc_extract - a native rule for Starlark documentation extraction. This rule is intended mainly for internal use by Stardoc.
678+ **[Incompatible]** Remove deprecated and unused `--experimental_show_artifacts` flag.
679+ Added the target path of an UnresolvedSymlink action to the aquery results
680+ Additional source inputs can now be specified for compilation in cc_library targets using the additional_compiler_inputs attribute, and these inputs can be used in the $(location) function.
681+ More descriptive error messages for unexpected cc absolute includes; unexpected absolute includes for cc compiles shouldn't be reported as "undeclared inclusion(s)"
682+ Enable C++ branch coverage if gcov version is 8 or newer.
683+ Deduplicates the result of split transitions uniformly, regardless of whether they are Starlark or native transitions. This used to apply only if either the attribute or rule transition contained a Starlark transition.
684+ Support for optimizers rewriting baseline profiles.
685+ This is a breaking change. `cc_host_toolchain_alias` rule is obsolete and can be interchangeably used with `cc_toolchain_alias` rule.
686+ Fixes non-ascii arguments written to parameter files as mojibake.
687+ NA
688+ The `genrule` attribute `exec_tools` will be removed in a future Bazel release. Please follow directions at #19132 to migrate away from it.
689+ **[Incompatible]** Removed multi_arch_split, use transition_support.apple_platform_split_transition from rules_apple instead.
690+ Supports for android_binary.startup_profiles attribute.
691+ **[Incompatible]** Removed apple_crosstool_transition, use transition_support.apple_rule_transition from rules_apple instead.
692+ **[Incompatible]** Drop deprecated 'transitive_deps', 'transitive_runtime_deps' from JavaInfo
693+ **[Incompatible]** The --android_include_proguard_location_references flag is not supported anymore.
694+ **[Incompatible]** The --apple_compiler command line option is not available anymore.
695+ `rule()` and `attr.*` can no longer be (pointlessly) called during WORKSPACE evaluation and repository rule evaluation.
696+ Expands baseline profile wildcards before optimizer tools see them.
697+ **[Incompatible]** --no_proguard_location_reference is now added unconditionally to the command line of aapt2.
698+ **[Incompatible]** The command line flag --apple_enable_auto_dsym_dbg is not supported anymore.
699+ **[Incompatible]** The --apple_compiler command line option is not available anymore.
700+ **[Incompatible]** py_transitions top-level was removed.
701+ Android resources will no longer propagate through neverlinked libraries by default.
702+ Set Android Databinding to v2 and Databinging AndroidX to true and remove support for Databinding V1.
703+ Added whether or not a FileWrite action's output is executable to the aquery results
704+ --use_single_jar_apk_builder is removed. It's been a no-op for years.
705+ **[Incompatible]** --incompatible_merge_fixed_and_default_shell_env is flipped to true. See #19317 for details.
706+ JVM options in environment variables JAVA_TOOL_OPTIONS and JDK_JAVA_OPTIONS now do not get to the server; use --host_jvm_args instead.
707+ --remote_download_minimal no longer implies --nobuild_runfile_links.
708+ attr objects in Starlark now use value equality rather than reference equality.
709+ **[Incompatible]** `cmd_helper` module was removed
710+ **[Incompatible]** `ctx.new_file` was removed, `ctx.actions.declare_file` is to be used instead.
711+ **[Incompatible]** Fails on unknown attributes (even when set to None). See https://github.com/bazelbuild/bazel/issues/19403
712+ Change output paths to consistently start with [cpu]-[compilation_mode] along with other cleanups to output path generation logic.
713+ Compilation actions using the auto-configured MSVC toolchain are forced to emit error messages in English if the English language pack for Visual Studio is installed.
714+ **[Incompatible]** Flip incompatible_enable_cc_toolchain_resolution (https://github.com/bazelbuild/bazel/issues/7260)
715+ The new `--consistent_labels` option on `query`, `cquery`, and `aquery` can be used to force consistent label formatting across all output modes that is also compatible with `str(Label(...))` in Starlark.
716+ **[Incompatible]** proto_compiler attribute removed from proto_lang_toolchain (it was recently introduced, and there is no evidence of use)
717+ **[Incompatible]** --experimental_genquery_use_graphless_query is made to be a NO-OP.
718+ **[Incompatible]** The --call_count_output_path command line option is not supported anymore.
719+ **[Incompatible]** The no-op --dynamic_worker_strategy command line option is no available anymore.
720+ **[Incompatible]** the --experimental_allow_top_level_aspects_parameters, --experimental_async_execution, --experimental_availability_info_exempt, --experimental_dynamic_execution_cpu_limited, --experimental_dynamic_skip_first_build, --experimental_keep_config_nodes_on_analysis_discard, --experimental_local_memory_estimate, --experimental_multi_cpu, --experimental_multi_threaded_digest, --experimental_replay_action_out_err and --experimental_shortened_obj_file_path command line options are not available anymore.
721+ **[Incompatible]** The --experimental_cc_shared_library_debug command line flag is not available anymore.
722+ **[Incompatible]** testing.analysis_test is not experimental anymore
723+ **[Incompatible]** The (no-op) --android_include_proguard_location_references flag is not available anymore.
724+ **[Incompatible]** The --experimental_android_local_test_binary_resources command line option is not available anymore.
725+ **[Incompatible]** The --experimental_includes_attribute_subpackage_traversal command line option is not available anymore.
726+ **[Incompatible]** The --debug_print_action_contexts command line option is not available anymore.
727+ **[Incompatible]** The --experimental_skyframe_include_scanning command line option is not available anymore.
728+ **[Incompatible]** The --experimental_supports_info_crosstool_configuration command line option is not available anymore.
729+ **[Incompatible]** THe --incompatible_avoid_conflict_dlls command line option is not available anymore.
730+ **[Incompatible]** The --experimental_prioritize_local_actions command line option is not available anymore.
731+ **[Incompatible]** The following command line options are not supported anymore: --incompatible_disable_cc_configuration_make_variables, --incompatible_disable_cc_toolchain_label_from_crosstool_proto, --incompatible_disable_crosstool_file, --incompatible_disable_depset_in_cc_user_flags, --incompatible_disable_legacy_cpp_toolchain_skylark_api, --incompatible_disable_legacy_cpp_toolchain_skylark_api, incompatible_disable_legacy_flags_cc_toolchain_api, --incompatible_disable_managed_directories, --incompatible_disable_runtimes_filegroups, --incompatible_disable_sysroot_from_configuration, --incompatible_disable_tools_defaults_package, --incompatible_disallow_legacy_javainfo, --incompatible_dont_emit_static_libgcc, --incompatible_enable_legacy_cpp_toolchain_skylark_api, --incompatible_linkopts_in_user_link_flags, --incompatible_provide_cc_toolchain_info_from_cc_toolchain_suite, --incompatible_require_feature_configuration_for_pic .
732+ **[Incompatible]** The --experimental_execution_graph_log_cached and --experimental_execution_graph_log_missed command line options are not available anymore.
733+ **[Incompatible]** The --experimental_use_sh_binary_stub_script command line option is not available anymore.
734+ **[Incompatible]** The --incompatible_disable_expand_if_all_available_in_flag_set command line option is not available anymore.
735+ default_applicable_licenses in package() now applies to the entire BUILD file, regardless of where in the BUILD that package() is called.
736+ **[Incompatible]** The --incompatible_load_cc_rules_from_bzl command line option is not available anymore.
737+ **[Incompatible]** The --incompatible_display_source_file_location command line option is not available anymore.
738+ **[Incompatible]** The --experimental_repository_hash_file and --experimental_verify_repository_rules command line options are not available anymore.
739+ **[Incompatible]** The following previously no-op command line options are not available anymore: --legacy_spawn_scheduler, --use_workers_with_dexbuilder, --print_workspace_in_output_paths_if_needed, --watchos_simulator_version, --watchos_simulator_device, --tvos_simulator_version, --tvos_simulator_device.
740+ **[Incompatible]** The --show_warnings command line option of the command "canonicalize-flags" is not available anymore.
741+ **[Incompatible]** The command line option --remove_all_convenience_symlinks is not available anymore.
742+ **[Incompatible]** java_test doesn't produce deploy jars anymore
743+ **[Incompatible]** The lazy template expansion is not experimental anymore (--experimental_lazy_template_expansion command line option is not available anymore).
744+ **[Incompatible]** The --incompatible_disallow_legacy_javainfo command line option is not available anymore.
745+ **[Incompatible]** The --incompatible_remove_cpu_and_compiler_attributes_from_cc_toolchain command line option is not available anymore. Using the "cpu" and "compiler" options of the cc_toolchain rule now results in a slightly different error that is signaled earlier.
746+ **[Incompatible]** THe --incompatible_force_strict_header_check_from_starlark command line option is not available anymore.
747+ **[Incompatible]** --incompatible_visibility_private_attributes_at_definition is flipped to true. See https://github.com/bazelbuild/bazel/issues/19330 for details.
748+ **[Incompatible]** The --experimental_java_proto_library_default_has_services command line option and the Starlark symbol java_common.experimental_java_proto_library_default_has_services function are not available anymore.
749+ **[Incompatible]** The no-op --experimental_cpp_compile_argv_ignore_param_file command line option is not available anymore.
750+ Make variable expansion of `objc_library` produces better error messages.
751+ **[Incompatible]** rule function takes only implementation function positionally, other parameters have to be named
752+ **[Incompatible]** The --incompatible_genquery_use_graphless_query command line options is not available anymore.
753+ Added support for a new directive `use_repo_rule` in MODULE.bazel files, which allows you to conveniently declare repos that are only visible within your module.
754+ Bazel now throws an error if the root module specifies overrides on nonexistent modules.
755+ Fix includes attribute of `objc_library` when sibling repository layout is used.
756+ Directories used by sandboxed non-worker execution may be reused to avoid unnecessary setup costs. Disable behavior with --noreuse_sandbox_directories.
757+ **[Incompatible]** The sandboxfs sandboxing strategy is removed. It hadn't been maintained for a long time, it didn't work for most users and it was not consistently faster while being complex to set up. sandboxfs performance is heavily dependent on the specific setup (setup costs are lower, but you have to pay a penalty for the use of each input) and there are scenarios where it is faster and scenarios where it is slower. Overall it is not worth its weight.
758+ Symlink trees created by sandboxing will be deleted asynchronously. Disable behavior with --experimental_sandbox_async_tree_delete_idle_threads=0.
759+ **[Incompatible]** Bzlmod is enabled by default, please consider migrating your external dependencies from WORKSPACE to MODULE.bazel. Find more details at https://github.com/bazelbuild/bazel/issues/18958
760+ Enable Platforms and Toolchains for Android. Android projects will need to stop passing the legacy flag `--fat_apk_cpu`, and instead use `--android_platforms` using platforms defined with the `@platforms//os:android` constraint. The https://github.com/bazelbuild/rules_android repository defines four standard Android platforms for projects that use those rules, `@rules_android//:armeabi-v7a`, `@rules_android//:arm64-v8a`, `@rules_android//:x86`, `@rules_android//:x86_64`.
761+ **[Incompatible]** Java runtime toolchains created via `local_java_repository` from `@bazel_tools//tools/jdk:local_java_repository.bzl`, which includes `local_jdk`, now have `target_compatible_with` set to the auto-detected host constraints. This can result in errors about toolchain resolution failures for `@bazel_tools//tools/jdk:runtime_toolchain_type`, especially when cross-compiling. These failures can be fixed in the following ways (listed in decreasing order of preference): * Replace `java_binary` targets that aren't meant to be run with `bazel run` or as tools during the build with `java_single_jar` (available in `@rules_java//java:java_single_jar.bzl`). Such targets do not require a Java runtime for the target configuration. * Set `--java_runtime_version=remotejdk_N` for some Java version `N` to let Bazel choose and download an appropriate remote JDK for the current target platform. This setting defaults to `local_jdk`, which means that Bazel can only use the local JDK, which isn't compatible with any other platform. * Manually define and register a `local_java_runtime` with no value set for `exec_compatible_with` (defaults to `[]`) and select it by setting `--java_runtime_version` to its `name`. This fully restores the previous behavior, but can result in incorrect results when cross-compiling (see #18265). Closes #18262. Commit https://github.com/bazelbuild/bazel/commit/f79ca0275e14d7c8fb478bd910ad7fb127440fd8
762+ none Commit https://github.com/bazelbuild/bazel/commit/7d87996d2c2018f0c6dd9b200482320d0e40f024
763+ None Commit https://github.com/bazelbuild/bazel/commit/0a1dce27650a233d8acb1f09a1181279f510cae8
764+ **[Incompatible]** The attribute `new_local_repository.build_file` no longer accepts a path; a label must be passed instead. Closes #19992. Commit https://github.com/bazelbuild/bazel/commit/76d71d93c5baa233bd1dca3f2862eebe827a1eb4
765+ **[Incompatible]** Delete the --experimental_execution_log_file flag. Use --execution_log_binary_file in conjunction with --noexecution_log_sort instead.
766+ **[Incompatible]** transition is removed from objc_library (https://github.com/bazelbuild/bazel/issues/19688) (cherry picked from commit b4292d2ee1154c15d1f099b3e8941c3c448725ba) Co-authored-by: Googler <ilist@google.com>
767+ **[Incompatible]** All labels in Bazel error messages, log output, Build Event Protocol, etc. are now prefixed with double-at (`@@`) instead of single-at (`@`) where applicable, to properly denote that they contain canonical repo names.
768+ None. Commit https://github.com/bazelbuild/bazel/commit/491284b0c782e0df25dd0a8bc921a9c2de0e6881
769+ **[Incompatible]** `--incompatible_sandbox_hermetic_tmp` is enabled by default. See #19915 for migration advice. Closes #19943. Commit https://github.com/bazelbuild/bazel/commit/e2c0276d1fd69c19d6946fb17f9e983e9ea68025
770+ **[Incompatible]** The `--experimental_repository_cache_urls_as_default_canonical_id` flag is no longer available. Instead, the `http_archive`, `http_file`, `http_jar`, `jvm_maven_import_external`, and `jvm_import_external` repository rules now use the URLs as the canonical ID if none is provided explicitly. If this behavior is not desired, it can be disabled via `--repo_env=BAZEL_HTTP_RULES_URLS_AS_DEFAULT_CANONICAL_ID=0`. Fixes #19749 Closes #20047.
771+ None Commit https://github.com/bazelbuild/bazel/commit/65f847a0103329f684e4313d49154583de15d164
772+ None Commit https://github.com/bazelbuild/bazel/commit/9bbc2cbebf5c395c5504db7dfcfc5bda7e00bd3c
773+ none Fixes #19920 Commit https://github.com/bazelbuild/bazel/commit/886b13fd00b5a17161d9558b6b11dd135355e5cb
774+ **[Incompatible]** The `BAZEL_CURRENT_REPOSITORY` preprocessor variable, which holds the canonical name of the Bazel repository containing a `cc_*` target, is now only set during compilation if the target depends on the C/C++ runfiles library `@bazel_tools//tools/cpp/runfiles` via `deps` or `implementation_deps`. Fixes #20371 Closes #20388. Commit https://github.com/bazelbuild/bazel/commit/454b5506d82584616fcd707ed2e9bd1fe627c974
775+ `--zip_undeclared_test_outputs` now preserves symlinks when zipping `$TEST_UNDECLARED_OUTPUTS_DIR`. Closes #19948. Change-Id: Ia4a8a9699e4e2f40498342af55babc5554a9ac93 Commit https://github.com/bazelbuild/bazel/commit/8e639dfa8c7aa0723123ee90dc933d528a4f2b68
776+ **[Incompatible]** Toolchains and execution platforms are now registered in the following order with `--enable_bzlmod`: 1. root module's module file 2. `WORKSPACE` or `WORKSPACE.bzlmod` 3. non-root modules' module files 4. default toolchains registered by Bazel (does not apply with `WORKSPACE.bzlmod` or execution platforms) Fixes #20354 Closes #20407. Commit https://github.com/bazelbuild/bazel/commit/96b361205ee05dcacdcf5055ca9cc3e5ca5d126c#diff-a8d3aed419e661d4dbecb2dc6668444212d7b1707ff61330b7d8aae61e75d4df
777
778Acknowledgements:
779
780This release contains contributions from many people at Google, as well as Adam Lavin, Adrian Imboden, Alan Falloon, Alessandro Patti, Alex Eagle, Alexander Grund, AlexTereshenkov, Amanda L Martin, Amet Umerov, Andreas Herrmann, Andy Hamon, andyrinne12, Ankit Agarwal, Ankush Goyal, Anshuman Mishra, Anthony Ter-Saakov, Antoine Musso, Artem Zinnatullin, arun.sampathkumar, aryeh, Austin Schuh, bazel.build machine account, Ben Lee, Benjamin Lee, Benjamin Peterson, Benjamin Sigonneau, Boleyn Su, Brentley Jones, Cameron Martin, Chirag Ramani, Chris Sauer, Christopher Peterson Sauer, Christopher Rydell, Christopher Sauer, Conall O'Brien, Daniel Grunwald, Daniel KT, Daniel Wagner-Hall, David Ostrovsky, dhmemi, Dimi Shahbaz, eareilg, Ed Schouten, Emil Kattainen, Ezekiel Warren, Fabian Meumertzheim, Fahrzin Hemmati, Gaspare Vitta, George Gensure, Greg, Greg Magolan, Grzegorz Lukasik, Guillaume Maudoux, Gunnar Wagenknecht, Halil Sener, Hao Yuan, hvadehra, hvd, Ilan Keshet, Ivan Golub, Jack Dai, James Ma, Jason Mobarak, Jasper, Jay Conrod, Jeff Hodges, Jeremy Volkman, Jimm chja20, Joel Jeske, John Hinnegan, Jon Landis, Jon Parise, jonrose-dev, Joseph Lisee, Joseph Tilahun, Julio Merino, Kai Zhang, keertk, Keith Smiley, Konstantin Erman, Krzysztof Naglik, kshyanashree, Kun-Lu, Laurenz Altenmller, Lee Mracek, Letu Ren, lripoche, Maksim, Malte Poll, Marc Redemske, Marc Zych, Matt Mackay, Matt Vollmer, Mauricio G, Mauricio Galindo, Maxim Matyunin, Maxwell Elliott, mohamadk, Nathan (Blaise) Bruer, nathyong, NelsonLi0701, nglevin, Nicholas Junge, Nick Biryulin, Nick Korostelev, Oliver Lee, Orion Hodson, Oscar Garzon, Patrice Duroux, Patrick Balestra, Peter Lobsinger, Philipp Schrader, Rasrack, Red Daly, redwrasse, Robin Tweedie, robincaloudis, Roger Hu, Romain Chossart, Roman Salvador, Sagar Pathare, Saleem Abdulrasool, Sam Shadwell, Sara Adams, Sascha Moecker, Scott Minor, Severin Strobl, Shaygan Hooshyari, Siddhesh Bhupendra Kuakde, Simon Mavi Stewart, something_vague, Son Luong Ngoc, Steve Barrau, Stiopa Koltsov, stoozy, Sushain Cherivirala, Takeo Sawada, Taylor Barrella, tbaing, Ted Kaplan, Ted Logan, Thi Don, Thulio Ferraz Assis, Timothy Gu, Tom Cnops, Tyler Williams, Ulf Adams, Ulrik Falklof, Uri Baghin, Vertexwahn, Xavier Bonaventura, Xdng Yng, Xiangquan Xiao, Xùdōng Yáng, Yannic, Yannic Bonenberger, Yi Cheng, Yuval Kaplan, yuzhy8701, Zheng Wei Tan.
781```
782
Bazel Release System51fd5032023-11-14 23:54:13 +0100783## Release 8.0.0-pre.20231030.2 (2023-11-14)
784
785```
786Baseline: 8cab6aa21fa765985a962e59264e12251e4d479f
787
788Cherry picks:
789
790 + d78bdd2f7143da31087c3ab88298b52defb90fdc:
791 Temporarily disable `BaselineOptionsFunction` + Starlark exec
792 transition.
793```
794
795Incompatible changes:
796
797 - Java runtime toolchains created via `local_java_repository` from
798 `@bazel_tools//tools/jdk:local_java_repository.bzl`, which
799 includes `local_jdk`, now have `target_compatible_with` set to
800 the auto-detected host constraints. This can result in errors
801 about toolchain resolution failures for
802 `@bazel_tools//tools/jdk:runtime_toolchain_type`, especially when
803 cross-compiling. These failures can be fixed in the following
804 ways (listed in decreasing order of preference):
805 * Replace `java_binary` targets that aren't meant to be run with
806 `bazel run` or as tools during the build with `java_single_jar`
807 (available in `@rules_java//java:java_single_jar.bzl`). Such
808 targets do not require a Java runtime for the target
809 configuration.
810 * Set `--java_runtime_version=remotejdk_N` for some Java version
811 `N` to let Bazel choose and download an appropriate remote JDK
812 for the current target platform. This setting defaults to
813 `local_jdk`, which means that Bazel can only use the local JDK,
814 which isn't compatible with any other platform.
815 * Manually define and register a `local_java_runtime` with no
816 value set for `exec_compatible_with` (defaults to `[]`) and
817 select it by setting `--java_runtime_version` to its `name`. This
818 fully restores the previous behavior, but can result in incorrect
819 results when cross-compiling (see #18265).
820 - transition is removed from objc_library
821 (https://github.com/bazelbuild/bazel/issues/19688)
822
823New features:
824
825 - "bazel aquery" now returns the headers C++ compilation actions
826 can include if the --include_scheduling_dependencies command line
827 option is set.
828
829Important changes:
830
831 - Enable Platforms and Toolchains for Android. Android projects
832 will need to stop passing the legacy flag `--fat_apk_cpu`, and
833 instead use `--android_platforms` using platforms defined with
834 the `@platforms//os:android` constraint. The
835 https://github.com/bazelbuild/rules_android repository defines
836 four standard Android platforms for projects that use those
837 rules, `@rules_android//:armeabi-v7a`,
838 `@rules_android//:arm64-v8a`, `@rules_android//:x86`,
839 `@rules_android//:x86_64`.
840
841This release contains contributions from many people at Google, as well as Benjamin Peterson, Fabian Meumertzheim, Fredrik Medley, Guillaume Maudoux, Ulf Adams, Wade Carpenter.
842
Bazel Release Systemb6e26932023-11-07 18:42:00 +0100843## Release 7.0.0-pre.20231018.3 (2023-11-07)
844
845```
846Baseline: eeb9c911bf16271f807c687e8eae246edaecd005
847
848Cherry picks:
849
850 + bb7fb2d32f055f2a70a5ab394cf5aef29bc74b2e:
851 Automatically add function transition allow list when needed
852 + c59739e72a2b4ee50f4ba205fb1561f10f0b344d:
853 Automated rollback of commit
854 f7946d0107dd75b2f45bcc79b91c016d075a756d.
855 + f6eabdc51eb54416361be4b3528d67717a11fdfd:
856 Automated rollback of commit
857 774fdb4be128b642332531f1d0376810b4c5377f.
858```
859
860Incompatible changes:
861
862 - The sandboxfs sandboxing strategy is removed. It hadn't been
863 maintained for a long time, it didn't work for most users and it
864 was not consistently faster while being complex to set up.
865 sandboxfs performance is heavily dependent on the specific setup
866 (setup costs are lower, but you have to pay a penalty for the use
867 of each input) and there are scenarios where it is faster and
868 scenarios where it is slower. Overall it is not worth its weight.
869 - Bzlmod is enabled by default, please consider migrating your
870 external dependencies from WORKSPACE to MODULE.bazel. Find more
871 details at https://github.com/bazelbuild/bazel/issues/18958
872
873Important changes:
874
875 - Directories used by sandboxed non-worker execution may be reused
876 to
877 avoid unnecessary setup costs. Disable behavior with
878 --noreuse_sandbox_directories.
879 - Symlink trees created by sandboxing will be deleted
880 asynchronously.
881 Disable behavior with
882 --experimental_sandbox_async_tree_delete_idle_threads=0.
883
884This release contains contributions from many people at Google, as well as Antoine Musso, Benjamin Peterson, Fabian Meumertzheim, Nick Biryulin, Steve Barrau, Thi Don.
885
Bazel Release System80f49432023-10-23 14:45:19 +0200886## Release 7.0.0-pre.20231011.2 (2023-10-23)
887
888```
889Baseline: e66a10f473ed853393061633e3803a8f71e47bff
890```
891
892Initial release.
893
Bazel Release System844c1d62023-10-19 17:02:51 +0000894## Release 6.4.0 (2023-10-19)
895
896```
897Baseline: 0f231ac8acabcd8aa309da041c98ab90a1552418
898
899Release Notes:
900
901+ Support multiple remote execution digest functions (#19042)
902+ Release 6.4.0 remote (#18959)
903+ Move BazelFileSystemModule into bazel package (#19043)
904+ Fix a bug where frozen targets list was mutated while expanding env attribute (#19053)
905+ Mark isolated extension usages as experimental (#19065)
906+ Add the remote_require_cached flag (#19075)
907+ Advertise CcInfo from cc_import (#19086) (#19088)
908+ Update java_tools version to 12.6 (#19092)
909+ Set the digest_function field as part of all relevant gRPC requests (#19049)
910+ Merge `use_repo` buildifier fixups into a single command (#19134)
911+ Ensure that extension unique names followed by `~` are prefix-free (#19164)
912+ Lockfile updates & fixes (#19153)
913+ Switch xcode_autoconf to use 'configure = True' (#19174)
914+ Cherry pick Add a Starlark flag that allows disabling proguard. This will be useful for testing later. (#19179)
915+ Update CODEOWNERS for 6.4.0 (#19194)
916+ Friendlier error message for `bazel_dep`s without `version` (#19196)
917+ Always check `$config_dependencies` visibility at use (#19197)
918+ Add support for the BLAKE3 digest function (#19191)
919+ Enable cc toolchain resolution when cross compiling to windows arm64. (#19198)
920+ Ensure disk cache root exists (#19225)
921+ Fix valid json when using jsonproto output in queries with new `--ouput=streamed_jsonproto` implementation. (#19226)
922+ Add toolchain type for Java bootstrap runtime (#19220)
923+ Add Starlark implementation for several CcCommon methods. (#19076)
924+ Rename `cc_test_wrapper` to `cc_test` (#19231)
925+ Cherry-pick commits to fix a Windows issue (#19232)
926+ Add support for more workspace boundary files to bash completion (#19281)
927+ Use `debugPrint` instead of `str` for `fail` arguments (#19283)
928+ Include name in `repr` of exported `rule`s (#19229)
929+ Download `BazelRegistryJson` only once per registry (#19300)
930+ Make module extension tag's `debugPrint` useful for error messages (#19285)
931+ Intern repository mapping entries (#19293)
932+ Add `additional_linker_inputs` option to `cc_library` rule (#19264)
933+ Do not rerun module extensions when only imports or locations change (#19284)
934+ Add profiling for Bzlmod operations (#19313)
935+ Retry on javax.net.ssl.SSLException ... BAD_DECRYPT (#19346)
936+ Fetch `RepoSpecs` in parallel (#19354)
937+ Make `MODULE.bazel.lock` deterministic (#19370)
938+ Ensure lockfile is updated after reset to pre-build state (#19371)
939+ build-runfiles: remove temporary file prior to creating it (#19386)
940+ Always fail on unknown attributes (#19404)
941+ Ignore Starlark options on commands with `allowResidue = False` (#19417)
942+ Separate PackageSpecificationProvider from its target (PackageGroupConfiguredTarget) (#19420)
943+ Expose PackageSpecificationInfo provider as a top level symbol (#19422)
944+ Revert "Report remote execution messages as events" (#19415)
945+ [6.4] Add --incompatible_disable_objc_library_transition (#19393)
946+ Create .bazelversion to address postsubmit timeout issues (#19435)
947+ Add `contains` method inside `PackageSpecificationProvider` (#19425)
948+ Wrong include path to Clang 16 on Windows (#19430)
949+ Simplify release notes by just printing the first line of the commit … (#19448)
950+ Remove PackageGroupConfiguredTarget.isAvailableFor function (#19444)
951+ Remove default -s flag from macOS libtool invocation (#19454)
952+ Turn off lockfile feature by default (#19462)
953+ Take the no-remote-exec tag into account when computing the action salt (#19457)
954+ Add `--incompatible_merge_fixed_and_default_shell_env` (#19319)
955+ Improve error when a label is provided in `config_setting`'s `values` (#19484)
956+ Mark tool inputs in the execution log. (#19483)
957+ Add visionOS support (#19436)
958+ Intern empty `Depset`s (#19443)
959+ Do not allow applicable_licenses on platform. (#19426)
960+ Cherry pick Bzlmod fixes (#19494)
961+ Optimize classpath pre-processing in java_stub_template.txt (#19491)
962+ Add output name to CacheNotFoundException (#19452)
963+ feat: add option to exit early if analysis cache is discarded (#19503)
964+ Cherry pick platform dependent lockfile (#19498)
965+ Print Passed and Failed methods in detailed test summary (#19505)
966+ Add formatted timestamp entries to volatile workspace status file. (#19499)
967+ Write an explicit line ending to the lockfile (#19519)
968+ Only use `/showIncludes` if supported (#19521)
969+ Also apply `NestedSet` optimizations to `Depset` (#19492)
970+ Add diff_against_dynamic_baseline option to experimental_output_direc… (#19514)
971+ Update java_tools to v12.7 (#19522)
972+ Advertise CcInfo from cc_proto_library (#19534)
973+ Update unknown Xcode version error message and provide an environment variable to force re-evaluation (#19540)
974+ Print dep chain leading to a module that is in error (#19543)
975+ Show fetch progress for the `mod` command (#19542)
976+ Revert "Switch xcode_autoconf to use 'configure = True' (#19174)" (#19550)
977+ Explain the use of `str(Label(...))` in the docs (#19554)
978+ Add `--consistent_labels` flag to all query commands (#19567)
979+ Inject builtin modules at the end of the MODULE.bazel file (#19573)
980+ Disable bzlmod_query_test for RBE build (#19585)
981+ Clear runfiles environment variables for `bazel run` (#19606)
982+ cc_library: propagate data dependencies via implementation_deps. (#19590)
983+ Error on potential unsupported `/showIncludes` lines (#19611)
984+ Use case-insensitive comparison for Windows paths in `runfiles.bash` (#19626)
985+ Show test labels in summaries in display form (#19625)
986+ Remove stale extension entries from lockfile (#19683)
987+ Keep leading zero in formatted date (#19694)
988+ Bzlmod lockfile: fix pretty printing for attributes (#19691)
989+ MODULE.bazel.lock file contains user specific paths (#19698)
990+ Consider RCs equivalent to release for `bazel_compatibility` (#19689)
991+ Use `Label` in `@bazel_tools//tools/jdk` macros (#19675)
992+ Remove stale extension entries from lockfile if module order changes (#19730)
993+ Update rules_java 5.5.1 (#19701)
994+ Fix Java compilation for jdk21 (#19735)
995+ Fix output materialized as symlink when building without the bytes. (#19739)
996+ Make lockfile's `RepoSpec` attributes more readable (#19748)
997+ Merge rule and aspect validation output groups (#19745)
998+ Fix handling of non-ASCII characters in archive entry file names (#19765)
999+ Raise an early error on invalid labels in transitions inputs/outputs (#19764)
1000+ Handle synthetic method parameters entries that don't have names (#19758)
1001+ Bazel release process: Fix push justification. (#19768)
1002+ Flip --experimental_cc_implementation_deps (#19751)
1003+ Add blake3 NEON instructions on linux arm64 (#19804)
1004+ Fix crash when `environ` contains duplicate entries (#19827)
1005+ Bump c++ standard to c++14 per default (#19794)
1006+ Collect debug info context from implementation deps (#19836)
1007+ Fix unconditional Skyframe invalidation with --lockfile_mode=… (#19848)
1008
1009Acknowledgements:
1010
1011This release contains contributions from many people at Google, as well as Andreas Herrmann, bazel.build machine account, Brentley Jones, buildbreaker2021, Chirag Ramani, David Ostrovsky, Ed Schouten, Fabian Meumertzheim, George Gensure, Greg, John Laxson, Julio Merino, Keith Smiley, Matt Mackay, Mauricio G, NelsonLi0701, nglevin, Nicholas Junge, oquenchil, Orion Hodson, Roman Salvador, Ted Kaplan, Thi Doan, Thi Don, Tyler Williams, Xùdōng Yáng.
1012```
1013
Bazel Release Systemd071cf62023-10-06 16:59:19 +02001014## Release 7.0.0-pre.20230926.1 (2023-10-06)
1015
1016```
1017Baseline: ea4ab7d8e696f48253fd172fcfbd37661e4710d5
1018
1019Cherry picks:
1020
1021 + 3453d035bb335a0e792fb379807dbdb812065619:
1022 Keep leading zero in formatted date
Bazel Release System1e02f452023-10-06 20:38:43 +02001023 + 8893f2ee0efbdeb0816b13e7cb57c69d70b941c6:
1024 Bazel release process: Fix broken "git push" by setting direct
1025 push justification.
1026 + 3f8e0964f4525cee71f8b7051e6996a906dd78d0:
1027 Bazel release process: Fix push justification. (#19754)
1028 + 95296e81853a4c93a47fba1812e1f849b6b16480:
1029 Release 7.0.0-pre.20230926.1 (2023-10-06)
1030 + fbcc487642c567a63f6503670d6d4f46f98308c1:
1031 Release 7.0.0-pre.20230926.1 (2023-10-06)
1032 + 3f9dc1c789e4bb2523fcd5236f53db8b3edb4733:
1033 Release 7.0.0-pre.20230926.1 (2023-10-06)
1034 + f46bf7067991fea6c650cb1fb75d1f7844916ff0:
1035 Release 7.0.0-pre.20230926.1 (2023-10-06)
1036```
1037
1038This release contains contributions from many people at Google, as well as .
1039
1040## Release 7.0.0-pre.20230926.1 (2023-10-06)
1041
1042```
1043Baseline: ea4ab7d8e696f48253fd172fcfbd37661e4710d5
1044
1045Cherry picks:
1046
1047 + 3453d035bb335a0e792fb379807dbdb812065619:
1048 Keep leading zero in formatted date
Bazel Release Systemd071cf62023-10-06 16:59:19 +02001049 + 5b7da83d94d94204d1d95cbe3ed361ec742f8acb:
1050 Bazel release process: Fix broken "git push" by setting direct
1051 push j… (#19747)
1052 + 2bf83ab8e58b96df994e59ffbe93d6d28a0f7897:
1053 Release 7.0.0-pre.20230926.1 (2023-10-06)
1054 + 0cc1b4e0aa2d3937bd47ca8d7506f4ca88453a26:
1055 Release 7.0.0-pre.20230926.1 (2023-10-06)
1056```
1057
1058This release contains contributions from many people at Google, as well as .
1059
Bazel Release System1830d922023-10-05 19:50:25 +02001060## Release 7.0.0-pre.20230926.1 (2023-10-05)
1061
1062```
1063Baseline: ea4ab7d8e696f48253fd172fcfbd37661e4710d5
1064
1065Cherry picks:
1066
1067 + 3453d035bb335a0e792fb379807dbdb812065619:
1068 Keep leading zero in formatted date
1069 + b63af1ec3c09d50e7b96dd496874c98ca2907209:
1070 Release 7.0.0-pre.20230926.1 (2023-10-05)
1071 + dc23c2fbc5ae5ef14d59afbedd3e0d29d2ee3d6b:
1072 Release 7.0.0-pre.20230926.1 (2023-10-05)
1073```
1074
1075Incompatible changes:
1076
1077 - proto_compiler attribute removed from proto_lang_toolchain
1078 (it was recently introduced, and there is no evidence of use)
1079 - --experimental_genquery_use_graphless_query is made to be a NO-OP.
1080
1081Important changes:
1082
1083 - The new `--consistent_labels` option on `query`, `cquery`, and
1084 `aquery` can be used to force consistent label formatting across
1085 all output modes that is also compatible with `str(Label(...))`
1086 in Starlark.
1087
1088This release contains contributions from many people at Google, as well as Alexander Grund, Fabian Meumertzheim, Joseph Lisee, Patrick Balestra, Son Luong Ngoc, Zheng Wei Tan.
1089
Bazel Release System994e61f2023-10-05 19:46:01 +02001090## Release (2023-10-05)
1091
1092```
1093Error: Not a release branch.
1094```
1095
Bazel Release System6ed80322023-10-05 19:46:20 +02001096## Release (2023-10-05)
1097
1098```
1099Error: Not a release branch.
1100```
1101
Bazel Release System7a4b5d62023-09-22 17:25:34 +02001102## Release 7.0.0-pre.20230917.3 (2023-09-22)
1103
1104```
1105Baseline: 1cf392ff3918386858b8c038f82c013b1e04be98
1106
1107Cherry picks:
1108
1109 + 32563ca1728a69437b26efa19d18eebfcecc4765:
1110 [Skymeld] Avoid printing extra WARNINGS for execution failures
1111 in -k.
1112 + 19f5e933d3fc91848b2b786cb11a6decaa96cf6e:
1113 Automated rollback of commit
1114 f06418470988721c8c3efe38723f910989180ad4.
1115```
1116
1117Incompatible changes:
1118
1119 - `cmd_helper` module was removed
1120 - `ctx.new_file` was removed, `ctx.actions.declare_file` is to be
1121 used instead.
1122 - Fails on unknown attributes (even when set to None). See
1123 https://github.com/bazelbuild/bazel/issues/19403
1124 - Flip incompatible_enable_cc_toolchain_resolution
1125 (https://github.com/bazelbuild/bazel/issues/7260)
1126
1127Important changes:
1128
1129 - Change output paths to consistently start with
1130 [cpu]-[compilation_mode] along with other cleanups to output path
1131 generation logic.
1132 - Compilation actions using the auto-configured MSVC toolchain are
1133 forced to emit error messages in English if the English language
1134 pack for Visual Studio is installed.
1135
1136This release contains contributions from many people at Google, as well as Benjamin Peterson, Boleyn Su, Brentley Jones, Daniel Wagner-Hall, Fabian Meumertzheim, Keith Smiley, Roman Salvador, Timothy Gu.
1137
Bazel Release System4ddb7392023-09-14 00:27:31 +02001138## Release 7.0.0-pre.20230906.2 (2023-09-14)
1139
1140```
1141Baseline: 08070932379cd3dafaefe5b546c84ad26cd72951
1142
1143Cherry picks:
1144
1145 + 4fb701adb5cdf4a87d7457bfe75b76338a8d351a:
1146 fix forward for
1147 https://github.com/bazelbuild/bazel/commit/ceddfb1ece1f8ed7ff8155
1148 8fa1751e6526df031b. Make sure the use the appropriate check for
1149 alias + feature flag so trimming does not get applied
1150```
1151
1152Incompatible changes:
1153
1154 - --incompatible_merge_fixed_and_default_shell_env is flipped to
1155 true. See #19317 for details.
1156 - Fails on unknown attributes (even when set to None)
1157
1158Important changes:
1159
1160 - Set Android Databinding to v2 and Databinging AndroidX to true
1161 and remove support for Databinding V1.
1162 - Added whether or not a FileWrite action's output is executable to
1163 the aquery results
1164 - --use_single_jar_apk_builder is removed. It's been a no-op for
1165 years.
1166 - JVM options in environment variables JAVA_TOOL_OPTIONS and
1167 JDK_JAVA_OPTIONS now do not get to the server; use
1168 --host_jvm_args instead.
1169 - --remote_download_minimal no longer implies
1170 --nobuild_runfile_links.
1171 - attr objects in Starlark now use value equality rather than
1172 reference
1173 equality.
1174
1175This release contains contributions from many people at Google, as well as Benjamin Lee, Benjamin Peterson, Ed Schouten, Fabian Meumertzheim, Keith Smiley, Letu Ren, Mauricio Galindo, Mauricio G, Orion Hodson, Shaygan Hooshyari.
1176
Bazel Release Systemd6f6bd22023-08-30 20:36:09 +02001177## Release 7.0.0-pre.20230823.4 (2023-08-30)
1178
1179```
1180Baseline: d55c11b658255a4574e0b3eb50d76dd6123866e6
1181
1182Cherry picks:
1183
1184 + 34c5ef22e88eba60238ad3735b74ea71db1c993e:
1185 make sure IdempotencyChecker use the correct rule transition and
1186 remove redundant computeTransition calls.
1187 + 32d018ea402a5acbb574b7f4bf600b3cc040778c:
1188 Make targets in analysis completed events visible.
1189```
1190
1191Incompatible changes:
1192
1193 - The --apple_compiler command line option is not available anymore.
1194 - py_transitions top-level was removed.
1195
1196Important changes:
1197
1198 - Android resources will no longer propagate through neverlinked
1199 libraries by default.
1200
1201This release contains contributions from many people at Google, as well as Alex Eagle, arun.sampathkumar, Benjamin Lee, Fabian Meumertzheim, Gunnar Wagenknecht, Julio Merino, Keith Smiley, Nicholas Junge.
1202
Bazel Release Systemfa2364a2023-08-25 17:00:15 +02001203## Release 7.0.0-pre.20230816.3 (2023-08-25)
1204
1205```
1206Baseline: 27aaccccb674090493d52d3340b7df69f5ed43f8
1207
1208Cherry picks:
1209
1210 + baace69c0c7cb2fe927214dae78c43bd10865c43:
1211 Automated rollback of commit
1212 37268de708224bba900036b8b3fe9e123d2eae6d.
1213```
1214
1215Incompatible changes:
1216
1217 - The --android_include_proguard_location_references flag is not
1218 supported anymore.
1219 - The --apple_compiler command line option is not available anymore.
1220 - --no_proguard_location_reference is now added unconditionally to
1221 the command line of aapt2.
1222 - The command line flag --apple_enable_auto_dsym_dbg is not
1223 supported anymore.
1224
1225Important changes:
1226
1227 - `rule()` and `attr.*` can no longer be (pointlessly) called
1228 during WORKSPACE evaluation and repository rule evaluation.
1229 - Expands baseline profile wildcards before optimizer tools see
1230 them.
1231
1232This release contains contributions from many people at Google, as well as Chirag Ramani, Fabian Meumertzheim, Keith Smiley, nglevin, Tyler Williams.
1233
Bazel Release System171aae32023-08-22 20:01:53 +02001234## Release 7.0.0-pre.20230810.1 (2023-08-22)
1235
1236```
1237Baseline: c279c7b2f125fcb5a7e67595c0044c32fe944aa9
1238
1239Cherry picks:
1240
1241 + 4d157ee3530762c9392ccc08a0073103293a6391:
1242 Cherry-pick required commits into 7.0.0-pre.20230810.1rc1
1243 (#19298)
1244```
1245
1246Initial release.
1247
Bazel Release System5c7341f2023-08-08 15:43:42 +00001248## Release 6.3.2 (2023-08-08)
1249
1250```
1251Baseline: 283ed362e6ccceb047553c2517a0331afd02db90
1252
1253Release Notes:
1254
1255+ Ensure that extension unique names followed by `~` are prefix-free (#19167)
1256+ Lockfile updates & fixes (#19153) (#19175)
1257+ Empty commit to try to fix CI issue (#19177)
1258
1259Acknowledgements:
1260
1261This release contains contributions from many people at Google, as well as bazel.build machine account, Fabian Meumertzheim.
1262```
1263
Bazel Release System982761b2023-08-07 17:23:20 +02001264## Release 7.0.0-pre.20230724.1 (2023-08-07)
1265
1266```
1267Baseline: f6344ffcacdea6c4a61e112d0f60beda8068eac5
1268```
1269
1270Initial release.
1271
Bazel Release Systemaef8d9d2023-07-31 16:09:26 +00001272## Release 6.3.1 (2023-07-31)
1273
1274```
1275Baseline: 0f231ac8acabcd8aa309da041c98ab90a1552418
1276
1277Release Notes:
1278
1279+ Mark isolated extension usages as experimental (#19050)
1280+ Fix a bug where frozen targets list was mutated while expanding env attribute (#19052)
1281+ Add documentation for --experimental_isolated_extension_usage (#19071)
1282+ Advertise CcInfo from cc_import (#19086)
1283+ Create .bazelversion to address postsubmit issues (#19089)
1284+ Update java_tools version to 12.6 (#19091)
1285+ Disable lockfiles by default (#19106)
1286
1287Acknowledgements:
1288
1289This release contains contributions from many people at Google, as well as Brentley Jones, Fabian Meumertzheim, oquenchil, Xùdōng Yáng.
1290```
1291
Bazel Release System9709b4d2023-07-28 14:28:41 +02001292## Release 7.0.0-pre.20230710.5 (2023-07-28)
1293
1294```
1295Baseline: 7845acae9769a72dc507dc2f57c4e032ebf429d3
1296
1297Cherry picks:
1298
1299 + d9e2f9181f8fa283e3986ee3b261e610c41cf61b:
1300 Avoid overcounting in ActionLookupValueProgressReceiver.
1301 + da23370dcdf6ea19545002fb86bd5d3e6519cdf6:
1302 Fix crash for top level aspects on targets with non-idempotent
1303 rule transitions.
1304 + 4714cd70c83de43ba7ab10c29e63af716216770a:
1305 Reuse the built set of tools in `SpawnAction.Builder`.
1306 + 0a1d50533078283fab93024681c917303a91c46c:
1307 Correctly handle symlinks when prefetching.
1308```
1309
1310Initial release.
1311
Bazel Release Systemf48c0f62023-07-24 17:20:25 +00001312## Release 6.3.0 (2023-07-24)
1313
1314```
1315Baseline: 758b44dab552f31b378874b5bf4c0609bfef6f5d
1316
1317Release Notes:
1318
1319+ Automatic code cleanup. (#18417)
1320+ Update CODEOWNERS for 6.3.0 (#18369)
1321+ Overrides specified by non-root modules no longer cause an error, and are silently ignored instead. They were originally treated as an error to allow for the future possibility of overrides in the transitive dependency graph working together; but we've deemed that infeasible (and even if it was, it'd be so complicated and confusing to users that it would not be a good addition). (#18388)
1322+ Add implementation deps support for Objective-C (#18372)
1323+ Update release notes scripts (#18400)
1324+ Prevent CredentialHelperEnvironment crash when invoking Bazel outside of a workspace. (#18430)
1325+ Use wall-time for credential helper invalidation (#18413)
1326+ blaze_util_posix: handle killpg failures (#18403)
1327+ Pass version to java_runtimes created by local_java_repository (#18415)
1328+ Add jsonproto option to query --output flag (#18438)
1329+ Don't eagerly flatten a `NestedSet` in `RepoMappingManifestAction` (#18419)
1330+ rules_go & rules_python are failing in Downstream CI with Bazel@HEAD (#18447)
1331+ Move credential helper setup into remote_helpers.sh so it can be reused by other shell tests. (#18453)
1332+ Wire credential helper to repository fetching. (#18429)
1333+ Updates/fixes to relnotes script (#18470)
1334+ Report percentual download progress in repository rules (#18471)
1335+ Support remote symlink outputs when building without the bytes. (#18476)
1336+ Enrich local BEP upload errors with file path and digest possible. (#18481)
1337+ Set `GTEST_SHARD_STATUS_FILE` in test setup (#18482)
1338+ Fix relnotes script (#18491)
1339+ Fix Xcode 14.3 compatibility (#18490)
1340+ Fix https://github.com/bazelbuild/bazel/issues/18493. (#18514)
1341+ Extend the credential helper default timeout to 10s. (#18527)
1342+ Fix formatting of release notes (#18534)
1343+ Use extension rather than local names in ModuleExtensionMetadata (#18536)
1344+ [credentialhelper] Ignore all errors when writing stdin (#18540)
1345+ Improve error on invalid `-//foo` and `-@repo//foo` options (#18516)
1346+ Implement failure circuit breaker (#18541)
1347+ Actually check `TEST_SHARD_STATUS_FILE` has been touched (#18418)
1348+ Ignore hash string casing (#18414)
1349+ Error if repository name isn't supplied (#18425)
1350+ Track repo rule label attributes after the first non-existent one (#18412)
1351+ Add ServerCapabilities into RemoteExecutionClient (#18442)
1352+ RemoteExecutionService: support output_symlinks in ActionResult (#18441)
1353+ RemoteExecutionService: Action.Command to set output_paths (#18440)
1354+ Use local_termination_grace_seconds when testing LinuxSandbox availability (#18568)
1355+ Fix dangling string literal in `extension_metadata` docs (#18598)
1356+ Include actual MODULE.bazel location in stack traces (#18612)
1357+ Make cpp file extensions case sensitive again (#18552)
1358+ Fix error when script is run after the final tag is created. (#18638)
1359+ Fix WORKSPACE toolchain resolution with `--enable_bzlmod` (#18649)
1360+ Add `ActionExecutionMetadata` as a parameter to `ActionInputPrefetcher#prefetchFiles`. (#18656)
1361+ Use failure_rate instead of failure count for circuit breaker (#18559)
1362+ Update ignored_error logic for circuit_breaker (#18662)
1363+ Don't rewind the build if invocation id stays the same (#18670)
1364+ Fix potential memory leak in UI (#18659)
1365+ Test that a credential helper can supply credentials for bzlmod. (#18663)
1366+ Add flag --experimental_collect_code_coverage_for_generated_files. (#18664)
1367+ Options specified on the pseudo-command `common` in `.rc` files are now ignored by commands that do not support them as long as they are valid options for *any* Bazel command. Previously, commands that did not support all options given for `common` would fail to run. These previous semantics of `common` are now available via the new `always` pseudo-command. Closes #18130. (#18609)
1368+ Fix split post-processing of LLVM-based coverage (#18737)
1369+ Allow module extension usages to be isolated (#18727)
1370+ BEGIN_PUBLIC (#18729)
1371+ Declare credential helpers to be a stable feature. (#18752)
1372+ Add a new provider for injecting native libs in android_binary (#18753)
1373+ Properly handle invalid credential files (#18779)
1374+ The REPO.bazel and MODULE.bazel files are now also considered workspace boundary markers. (#18787)
1375+ Report remote execution messages as events (#18780)
1376+ Fail on isolated extension usages without imports (#18793)
1377+ Add changes to cc_shared_library from head to 6.3 (#18606)
1378+ Remove option to disable FJP. (#18791)
1379+ Update to latest turbine version (#18803)
1380+ None. None (#18808)
1381+ Wait for outputs downloads before emitting local BEP events that reference these outputs. (#18815)
1382+ Perform builtins injection for WORKSPACE-loaded bzl files. (#18819)
1383+ Fix non-declared symlink issue for local actions when BwoB. (#18817)
1384+ Make grep_includes optional inside cc_common.register_linkstamp_compile_action (#18823)
1385+ add feature on windows toolchain with right tag (#18654)
1386+ coverage_common.instrumented_files_info now has a metadata_files argument (#18838)
1387+ Download directory output for test actions (#18846)
1388+ Teach DexMapper to not separate synthetic classes from their context … (#18853)
1389+ **[Incompatible]** query --output=proto --order_output=deps now returns targets in topological order (previously there was no ordering). (#18870)
1390+ Revert "Don't eagerly flatten a `NestedSet` in `RepoMappingManifestAction` (#18419)" (#18886)
1391+ Additional source inputs can now be specified for compilation in cc_library targets using the additional_compiler_inputs attribute, and these inputs can be used in the $(location) function. Fixes #18766. (#18882)
1392+ Open-source Google test `ConvenienceSymlinkTest` (#18890)
1393+ Update Error Prone to 2.20.0 (#18885)
1394+ Check if json.gz files exist, not the gcov version. (#18889)
1395+ Lockfile updates (#18894)
1396+ handle exception instead of crashing (#18895)
1397+ Add a new provider for passing dex related artifacts in android_binary (#18899)
1398+ Prevent most side effects of yanked modules (#18908)
1399+ Restore the classic desugar tool in the Bazel 6.3.0 branch so that the Bazel Android tools can be built for 6.3.0 without breaking backwards compatibility (#18909)
1400+ Update java_tools to v12.5 (#18868)
1401+ Add ActionCacheStatistics to BEP (#18914)
1402+ Adjust --top_level_targets_for_symlinks (#18916)
1403+ Track dev/non-dev `use_extension` calls (#18918)
1404+ Overrides specified by non-root modules no longer cause an error, and are silently ignored instead. They were originally treated as an error to allow for the future possibility of overrides in the transitive dependency graph working together; but we've deemed that infeasible (and even if it was, it'd be so complicated and confusing to users that it would not be a good addition). (#18921)
1405+ Rollforward of https://github.com/bazelbuild/bazel/commit/482d2be27ab… (#18773)
1406+ Update Android tools to 0.27.2 for fixes to DexMapper for https://gith... (#18891)
1407+ Report dev/non-dev deps imported via non-dev/dev usages (#18922)
1408+ Add reverted 'isolate' changes (#18928)
1409+ Identify isolated extensions by exported name (#18923)
1410+ test-setup.sh: Attempt to raise the original signal once more (#18932)
1411+ Ignore broken classic desugar tests (#18933)
1412+ Disable UseCorrectAssertInTests by default (#18948)
1413+ Fix VS 2022 autodetection (#18960)
1414+ Fix absolute file paths showing up in lockfiles (#18993)
1415+ Add support for isolated extension usages to the lockfile (#19008)
1416
1417Acknowledgements:
1418
1419This release contains contributions from many people at Google, as well as amishra-u, Andreas Herrmann, Andy Hamon, andyrinne12, Benjamin Lee, Benjamin Peterson, Brentley Jones, Chirag Ramani, Christopher Rydell, Daniel Wagner-Hall, Ed Schouten, Fabian Brandstetter, Fabian Meumertzheim, Greg, Ivan Golub, Jon Landis, JY Lin, Kai Zhang, Keith Smiley, kotlaja, lripoche, oquenchil, Pavan Singh, Rasrack, Son Luong Ngoc, Takeo Sawada, Vertexwahn, Xùdōng Yáng, Yannic.
1420```
1421
Bazel Release System22a5d6d2023-07-12 16:24:12 +02001422## Release 7.0.0-pre.20230628.2 (2023-07-12)
1423
1424```
1425Baseline: 604a9ef6332d49110d14d427317bd726225fff1d
1426
1427Cherry picks:
1428
1429 + 15c412eb9aa38e1b81f7dd2047849bbb55417a83:
1430 Automated rollback of commit
1431 52dbdc7a92cedfa212ef681f88e0b733cb5280e0.
1432 + 990d97e576d4ec7d0c45f3efa5732171492d50b1:
1433 Automated rollback of commit
1434 0bda661e589ded1caad9edd58c9bebc3f647e41d.
1435 + 6c393ec5539b34e9708b43b0145488b9df1c0878:
1436 Add temporary rules_go bazel_dep to restore CI
1437```
1438
1439Incompatible changes:
1440
1441 - Loading `.bzl` files under `@bazel_tools//tools/jdk` in WORKSPACE
1442 now requires `rules_java` to be defined in advance.
1443 - cc_binary targets with dynamic_deps attributes no longer link
1444 indirect dynamic_deps on Unix. This might be an incompatible
1445 change if you are using RUNPATHs (instead of RPATHs) in your
1446 cc_shared_libraries. Enable the feature
1447 "exclude_bazel_rpaths_in_transitive_libs" or
1448 "use_rpath_instead_of_runpath" for those cc_shared_libraries.
1449
1450Important changes:
1451
1452 - Add aquery --output=streamed_proto which writes a stream of
1453 length delimited ActionGraphContainer containing a single
1454 Artifact, Action, Target, DepSetOfFiles, Configuration,
1455 AspectDescriptor, RuleClass, PathFragment proto. This breaks up
1456 the ActionGraphContainer into multiple which will prevent large
1457 protos from crashing blaze.
1458 - (BEP) TargetConfigured events will be marked aborted instead
1459 of published when there is an analysis error. This is motivated
1460 by a
1461 low level Blaze change aimed at improving scalability.
1462 - Add flag --experimental_collect_code_coverage_for_generated_files.
1463 - Added a new output format for cquery --output=streamed_proto that
1464 writes multiple length-delimited CqueryResult protos, each
1465 containing a single ConfiguredTarget or Configuration. This
1466 allows us to "bypass" the hard limit of 2GB on the size of
1467 protocol buffers by splitting it up into multiple.
1468 - Enable starlark_doc_extract - a native rule for Starlark
1469 documentation
1470 extraction. This rule is intended mainly for internal use by
1471 Stardoc.
1472
1473This release contains contributions from many people at Google, as well as Anshuman Mishra, Benjamin Peterson, Benjamin Peterson, Daniel Wagner-Hall, Fabian Meumertzheim, Jay Conrod, Maksim, Rasrack, Sam Shadwell, Son Luong Ngoc, Takeo Sawada, Tyler Williams, Xavier Bonaventura, Yannic, Yuval Kaplan.
1474
Bazel Release System06992d22023-06-09 23:26:55 +02001475## Release 7.0.0-pre.20230530.3 (2023-06-09)
1476
1477```
1478Baseline: 67446d625e4daafadcb5918a88ed52f517a8871f
1479
1480Cherry picks:
1481
1482 + 4344a0358f44c0290f85f8d90dede5824593ce77:
1483 Automated rollback of commit
1484 00a4fefe594069d47d1bde99b28c6b8dcca0a7c1.
1485```
1486
1487Incompatible changes:
1488
1489 - `--incompatible_check_sharding_support` is enabled by default.
1490 Sharded tests with test runners that do not properly advertise
1491 support for test sharding will fail. Refer to
1492 https://github.com/bazelbuild/bazel/issues/18339 for migration
1493 advice.
1494
1495Important changes:
1496
1497 - Options specified on the pseudo-command `common` in `.rc` files
1498 are now ignored by commands that do not support them as long as
1499 they are valid options for *any* Bazel command. Previously,
1500 commands that did not support all options given for `common`
1501 would fail to run. These previous semantics of `common` are now
1502 available via the new `always` pseudo-command.
1503 - the 'default' param of json.decode can now be used as a keyword
1504 parameter.
1505 - As a transitional step in a larger refactoring, rule transitions
1506 are applied twice. Once during dependency resolution and once
1507 right before
1508 analysis of those rules. After the refactoring is complete, rule
1509 transitions
1510 will be applied only once.
1511
1512This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Jimm chja20, Keith Smiley.
1513
Bazel Release System8c84b7a2023-06-05 18:07:34 +02001514## Release 7.0.0-pre.20230524.3 (2023-06-05)
1515
1516```
1517Baseline: ea2d5043113a34ce341c53168141f13f14053240
1518
1519Cherry picks:
1520
1521 + 2e34965242280d861f688628ed2bbc5209350d9f:
1522 Have `Package#defaultPackageMetadata` be in the same order that
1523 the `package.default_applicable_licenses` list was in.
1524```
1525
1526Initial release.
1527
Bazel Release System6f77e5e2023-06-02 16:55:23 +00001528## Release 6.2.1 (2023-06-02)
1529
1530```
1531Baseline: 758b44dab552f31b378874b5bf4c0609bfef6f5d
1532
1533Release Notes:
1534
1535+ Automatic code cleanup. (#18504)
1536+ Update relnotes scripts (#18503)
1537+ Fix https://github.com/bazelbuild/bazel/issues/18493. (#18512)
1538+ Fix formatting of release notes (#18533)
1539+ Use extension rather than local names in ModuleExtensionMetadata (#18535)
1540
1541Acknowledgements:
1542
1543This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Pavan Singh.
1544```
1545
Bazel Release System20c2ed02023-05-26 15:04:06 +02001546## Release 7.0.0-pre.20230517.4 (2023-05-26)
1547
1548```
1549Baseline: 267ac1f14f733a41380c1f70d095f096b8798c6b
1550
1551Cherry picks:
1552
1553 + 98d5d5f6980ec8513dc5c0ee95fcabe3b80beb47:
1554 Download outputs that were not downloaded during spawn execution
1555 in `finalizeAction`.
1556 + 02853f888cd8cea6a0e06b0ca417e0470de2cec0:
1557 Fix non-determinism in the `FailureDetail` produced for a
1558 package with multiple label crosses subpackage boundary errors.
1559```
1560
1561Incompatible changes:
1562
1563 - This has the side effect of changing the message on unsuccessful
1564 builds from
1565 ```
1566 FAILED: Build did NOT complete successfully (0 packages loaded)
1567 ```
1568 to
1569 ```
1570 ERROR: Build did NOT complete successfully
1571 ```
1572 - Bazel no longer increases the delay between progress updates when
1573 there is no cursor control.
1574 - This has the side effect of changing the message on unsuccessful
1575 builds from
1576 ```
1577 FAILED: Build did NOT complete successfully (0 packages loaded)
1578 ```
1579 to
1580 ```
1581 ERROR: Build did NOT complete successfully
1582 ```
1583 - the --experimental_async_execution flag is now a no-op.
1584 - --experimental_replay_action_out_err is not a no-op.
1585 - `cquery --output=files` also outputs source files.
1586 - `--incompatible_strict_conflict_checks` is flipped to true. See
1587 https://github.com/bazelbuild/bazel/issues/16729 for details.
1588 - `--incompatible_strict_conflict_checks` is flipped to true. See
1589 https://github.com/bazelbuild/bazel/issues/16729 for details.
1590 - `--incompatible_always_include_files_in_data` is flipped to true.
1591 See https://github.com/bazelbuild/bazel/issues/16654 for details.
1592 - This changes the behavior of Python version in exec/host
1593 configuration. Mitigation is to set Python version on the targets.
1594 - When multiple --deleted_packages options are passed on the
1595 command line, they will be concatenated instead of the latest one
1596 taking effect.
1597 - This has the side effect of changing the message on unsuccessful
1598 builds from
1599 - JSON profile: Use doubles instead of strings for counter series.
1600 - query --output=proto --order_output=deps now returns targets in
1601 topological order (previously there was no ordering).
1602 - --experimental_build_transitive_python_runfiles is flipped to
1603 false. See #16303 for details
1604 - --incompatible_python_disable_py2 is flipped to true. See #17293
1605 for details.
1606 - When remote cache evicts blobs, Bazel will exit with code 39.
1607 - `--features` only applies to targets built in the target
1608 configuration, and `--host_features` is used for the host / exec
1609 configuration (gated behind `--incompatible_use_host_features`)
1610 - `--incompatible_strict_conflict_checks` is flipped to true. See
1611 https://github.com/bazelbuild/bazel/issues/16729 for details.
1612 - Bazel's local CPU resource on Linux is now container aware. Use
1613 `--local_cpu_resources`, `--loading_phase_threads` or `--jobs` to
1614 override.
1615 - `copy_from_rule` is exec_groups is deprecated
1616 (https://github.com/bazelbuild/bazel/issues/17668).
1617 - --legacy_bazel_java_test is now a no-op
1618 - --legacy_bazel_java_test is now a no-op
1619 - --legacy_bazel_java_test is now a no-op
1620 - `--experimental_execution_graph_log` no longer exists. Current
1621 users that want local logs need to pass
1622 `--experimental_enable_execution_graph_log
1623 --experimental_execution_graph_log_path=/some/local/path`.
1624 Current users that want logs uploaded to BEP need to pass
1625 `--experimental_enable_execution_graph_log
1626 --experimental_stream_log_file_uploads`.
1627 - Remove 'darwin' as a CPU value, use 'darwin_x86_64' instead
1628 - Remove high priority workers functionality from blaze.
1629 - Renamed PackageMetrics proto message to PackageLoadMetrics. The
1630 formats should be wire compatible.
1631
1632New features:
1633
1634 - The `aquery` and `cquery` commands now respect the
1635 `--query_file` flag just like the `query` command.
1636 - --experimental_repository_disable_download is now promoted to
1637 stable and is also available under the name
1638 --repository_disable_download .
1639
1640Important changes:
1641
1642 - The new path variable `$(rlocationpath ...)` and its plural form
1643 `$(rlocationpaths ...)` can be used to expand labels to the paths
1644 accepted by the `Rlocation` function of runfiles libraries. This
1645 is the preferred way to access data dependencies at runtime and
1646 works on all platforms, even when runfiles are not enabled (e.g.,
1647 on Windows by default).
1648 - Starlark `print()` statements are now emitted iff the line of
1649 code is executed. They are no longer replayed on subsequent
1650 invocations unless the Starlark code is re-executed.
1651 Additionally, multiple identical `print()` statements (same
1652 string from the same line of code, e.g. from a loop) are all
1653 emitted and no longer deduplicated.
1654 - Fixes a bug where some compilation flags would not be applied to
1655 a cc_test
1656 - removed outdated ctx.host_fragments
1657 - removed outdated ctx.host_configuration
1658 - Now that the host configuration is finished, `genrule` should
1659 prefer the use of `tools` and stop using `exec_tools`.
1660 - Added a `native.package_relative_label()` function, which
1661 converts a label string to a Label object in the context of the
1662 calling package, in contrast to `Label()`, which does so in the
1663 context of the current .bzl file. Both functions now also accept
1664 relative labels such as `:foo`, and are idempotent.
1665 - Update Android manifest merger to v30.1.3, and also drop support
1666 for legacy (pre-D8) desugaring.
1667 - Adds coverage metric support to android_local_test
1668 - Correctly encode double value positive infinity as "inf" instead
1669 of "+inf" for textprotos.
1670 - Add --use_target_platform_for_tests which uses the target
1671 platform for executing tests instead of the execution platform.
1672 - Custom C++ rules on Windows calling
1673 cc_common.create_linking_context_from_compilation_outputs should
1674 review whether each target of the rule type should produce a
1675 dynamic library since a condition which blocked their creation
1676 has been moved to the rules from behind the API.
1677 - Add flag `--experimental_remote_cache_ttl` and set the default
1678 value to 3 hours.
1679 - making --incompatible_use_platforms_repo_for_constraints do
1680 nothing. Using constraints from @bazel_tools//platforms with or
1681 without the flag will throw error with message "Constraints from
1682 @bazel_tools//platforms have been removed. Please use constraints
1683 from @platforms repository embedded in Bazel, or preferably
1684 declare dependency on https://github.com/bazelbuild/platforms"
1685 - Fixed an issue where WORKSPACE and WORKSPACE-loaded .bzl files
1686 couldn't see the Bzlmod root module's mappings when Bzlmod is
1687 enabled.
1688 - Subsequent settings of --extra_execution_platforms now override
1689 previous settings, instead of adding them to a list. If you
1690 currently set --extra_execution_platforms more than once, please
1691 migrate by passing a list of values to
1692 --extra_execution_platforms instead so that earlier values aren't
1693 overwritten.
1694 - @bazel_tools//config:common_settings.bzl has been removed.
1695 Use @bazel_skylib//rules:common_settings.bzl instead.
1696 - cc_shared_library is no longer experimental, see
1697 https://github.com/bazelbuild/bazel/issues/16709 for details
1698 - The flag `--distinct_host_configuration` is removed. It has been
1699 a no-op since Bazel 6.0.0.
1700 - Added `native.module_name()` and `native.module_version()` to
1701 allow BUILD macro authors to acquire information about which
1702 Bazel module the current repo is associated with.
1703 - Add `--skip_incompatible_explicit_targets` option
1704 - Remove 'darwin' as a CPU value, use 'darwin_x86_64' instead
1705 - cc_test can now be configured by using a native.toolchain().
1706 - `@foo` labels can now be used on the command line as the
1707 top-level target (that is, `bazel build @foo` now works).
1708 Double-dot syntax is now forbidden (`bazel build ../foo` will no
1709 longer work).
1710 - The location of rules that explicitly specify `generator_name`
1711 and/or `generator_function` attributes (typically because they
1712 are incidentally copied from `native.existing_rule()`) is now the
1713 top-level call in the `BUILD` file, which is consistent with
1714 rules that do not explicitly specify these attributes.
1715 - Warnings (most notably those associated with the `deprecation`
1716 rule attribute) are no longer replayed on subsequent invocations
1717 unless the target in question is re-analyzed. Warnings are purely
1718 informational, so this change has no bearing on the correctness
1719 of the build. Downstream tests that break due to this change
1720 should update their expectations.
1721 - `--experimental_remote_build_event_upload` has been renamed to
1722 `--remote_build_event_upload`
1723 - [Breaking change] platform, constraint_setting, and
1724 constraint_value can no longer take an applicable_licenses value.
1725 Remediation is to remove the attribute and rely on the package
1726 level default.
1727 - `--experimental_action_cache_store_output_metadata` has been
1728 renamed to `--action_cache_store_output_metadata`
1729 - Changed the default value for `--remote_build_event_upload` to
1730 `minimal`.
1731 - `--experimental_remote_cache_compression` has been renamed to
1732 `--remote_cache_compression`
1733 - The REPO.bazel and MODULE.bazel files are now also considered
1734 workspace boundary markers.
1735 - Added a new `max_compatibility_level` attribute to the
1736 `bazel_dep` directive, which allows version selection to upgrade
1737 a dependency up to the specified compatibility level.
1738 - `--experimental_remote_grpc_log` has been renamed to
1739 `--remote_grpc_log`
1740 - `--incompatible_remote_build_event_upload_respect_no_cache` is
1741 now a no-op.
1742 - json.decode now takes an optional `default` positional parameter;
1743 if this parameter is specified and decoding fails, json.decode
1744 will return
1745 the `default` value instead of failing Starlark evaluation.
1746 - Overrides specified by non-root modules no longer cause an error,
1747 and are silently ignored instead. They were originally treated as
1748 an error to allow for the future possibility of overrides in the
1749 transitive dependency graph working together; but we've deemed
1750 that infeasible (and even if it was, it'd be so complicated and
1751 confusing to users that it would not be a good addition).
1752 - `applicable_licenses` is no longer allowed on the `platform` rule.
1753 Additionally, `default_package_metadata` from any `package` rule
1754 will not be applied.
1755
1756This release contains contributions from many people at Google, as well as Adam Lavin, Alessandro Patti, Alex Eagle, AlexTereshenkov, Amanda L Martin, Andreas Herrmann, Andy Hamon, Ankit Agarwal, Ankush Goyal, Anthony Ter-Saakov, Artem Zinnatullin, aryeh, Austin Schuh, Benjamin Lee, Benjamin Peterson, Benjamin Peterson, Benjamin Sigonneau, Ben Lee, Brentley Jones, Cameron Martin, Chirag Ramani, Chirag Ramani, Chris Sauer, Christopher Peterson Sauer, Christopher Rydell, Christopher Sauer, Daniel Grunwald, Daniel KT, Daniel Wagner-Hall, David Ostrovsky, Dimi Shahbaz, eareilg, Ed Schouten, Emil Kattainen, Ezekiel Warren, Fabian Meumertzheim, Fabian Meumertzheim, Fahrzin Hemmati, Fahrzin Hemmati, Gaspare Vitta, George Gensure, Greg, Greg Magolan, Halil Sener, Hao Yuan, hvadehra, hvd, Ivan Golub, Jack Dai, James Ma, Jasper, Jeff Hodges, Jeremy Volkman, Joel Jeske, John Hinnegan, Jon Landis, Jon Parise, jonrose-dev, Joseph Tilahun, Julio Merino, Kai Zhang, keertk, Keith Smiley, Konstantin Erman, Krzysztof Naglik, kshyanashree, Kun-Lu, Lee Mracek, lripoche, Malte Poll, Marc Redemske, Marc Zych, Matt Mackay, Mauricio Galindo, Maxwell Elliott, mohamadk, nathyong, Nick Korostelev, Oliver Lee, Oscar Garzon, Patrick Balestra, Patrick Balestra, Philipp Schrader, Red Daly, redwrasse, robincaloudis, Robin Tweedie, Roger Hu, Sagar Pathare, Saleem Abdulrasool, Sara Adams, Sascha Moecker, Severin Strobl, Siddhesh Bhupendra Kuakde, Simon Mavi Stewart, something_vague, Son Luong Ngoc, Stiopa Koltsov, stoozy, Sushain Cherivirala, tbaing, Ted Kaplan, Ted Kaplan, Ted Logan, Thulio Ferraz Assis, Tom Cnops, Ulf Adams, Ulf Adams, Ulrik Falklof, Uri Baghin, Xavier Bonaventura, Xdng Yng, Xiangquan Xiao, Yannic Bonenberger, Yannic, Yi Cheng, yuzhy8701.
1757
Bazel Release System76ef9e92023-05-09 17:54:41 +00001758## Release 6.2.0 (2023-05-09)
1759
1760```
1761Baseline: d60ce2c7c86393638c77698c00c2168a7a936a53
1762
1763Cherry picks:
1764
1765 + 490f8badf4f6f4ae8b96697f08267fdb083ccf5f:
1766 kshyanashree is the release manager of 6.0.0
1767 + 4e66d9340037f0be83d7bc0fdd809a09344ab83f:
1768 Automated rollback of commit
1769 2a2890913eb8f39299aa4b614ba96266ea8749f6.
1770 + 48a8d01b05149757f69a6a65a22a280bf003cd24:
1771 Allow C/C++ coverage collection for external targets
1772 + ec7be346adc00c4bde22d116fca80ef59da66121:
1773 Temporarily set parent directory of the input to writable if it
1774 is not.
1775 + b0984342eef068640a57aab584dd4c118f0dd394:
1776 Infer CPUs for tvOS and watchOS when on Apple Silicon
1777 + 5cea7dda5b632703cf4e0424ba09cd7c5bd6fc06:
1778 Improve the documentation for ctx.actions.symlink.
1779 + a82d26f17a99b5417b2212a0ce3a1bbc0285e5c4:
1780 Add quotes to "Tip"
1781 + 75b0f3aa95bc34f6620ea74e47d4822bd985efdd:
1782 Write a repo mapping manifest in the runfiles directory (#16555)
1783 + 07c5c1aa6d0b63605ae793dce78d26122af64a84:
1784 Ensure repository names don't start with `~`
1785 + 30f6c8238f39c4a396b3cb56a98c1a2e79d10bb9:
1786 Escape tilde more gracefully
1787 + cf3f48ca49f089615417636763d753811acf717f:
1788 Relax `Label` repo visibility validation
1789 + 4477823e2c2bc3d0335c41f971364dda72a3f69a:
1790 Use "apparent name" instead of "local name" in Bzlmod docs
1791 + 55f4f4834ef30321a00dab5b58202dd1e9716fd9:
1792 Bazel DevSite: Add required css file.
1793 + a706994ac69e3f3fed361c61378de847b50d3b12:
1794 Remove logic that increases delay between progress updates over
1795 time
1796 + 1d514ab05896f34ec91c2145f4dffafd3364030f:
1797 Remove references to io_bazel repository
1798 + b0357bd3831b26b5116dc120807e8264acf139db:
1799 Relnotes python script
1800 + 8f956511bb115c39ac683a1e78971fcf9dce5deb:
1801 Allow Java coverage collection for external targets
1802 + bddb191d3f99402330c67b89375409c31ee22daa:
1803 Fix race condition in package-bazel.sh
1804 + a75785279f543f4e33c697dd9e8873a6504b7818:
1805 Decanonicalize labels emitted by {a,c,}query if possible
1806 + 9d250edb63f27f9f4591bb5a71059710cc6dca9e:
1807 Add uniquify parameter to TemplateDict.add_joined
1808 + f02bcf8d8b0d00ecdd06ea0a45ba4f52e436597c:
1809 Fix identical gcov json file name problem
1810 + a1593309f66f892871e334013815b05350b4188f:
1811 Add `$(rlocationpath(s) ...)` expansion
1812 + 56f54daf9ff3b1177eee31e342e8d6b959d5ac34:
1813 Rollup of SBOM correctness fixes (#16655)
1814 + 72e6e948d30dec9dec60d78efef4eeda5b764a8f:
1815 [cc] Add cc toolchain to starlark cc_proto_library (#16661)
1816 + 8f28513893969b6346d965cab12aac69cb246ced:
1817 Make C++ runfiles library repo mapping aware
1818 + 95f9adc5ac544b1161d69a7ca74432479fdc29b3:
1819 Always collect FileProvider's filesToBuild as data runfiles
1820 + 4959d34e844714b793b2c6fa05016a9a6eaa7044:
1821 fix: export constraints.bzl file from @local_config_platform so
1822 it can be used in downstream bzl_library targets
1823 + 4919d4a61d8506d175b25a035500842b8bfe3d0d:
1824 Add --host_per_file_copt (#16695)
1825 + 0a23d46976c3fc999d44fbd1e37732ec2442d485:
1826 Moving some tests for `RemoteActionFileSystem` of BwoB to a base
1827 class.
1828 + 9296068be5e3808eb03a3b61f3af3a2c88f7ab7d:
1829 [remote/downloader] Don't include headers in `FetchBlobRequest`
1830 + 128d833fee99f8a43bc4de82cbec752e4ce6fb47:
1831 [remote] Respect whether the server supports action cache updates
1832 + 38c501912fc4efc14abc0741d19f5f8e8763afcb:
1833 [remote/downloader] Migrate `Downloader` to take `Credentials`
1834 (#16732)
1835 + 5929cb72aa01768e6352898b1a056ef678c81d90:
1836 Stage repository mapping manifest as a root symlink (#16733)
1837 + 455454a56e961affb041a1d4a9214f7f313a05aa:
1838 Expose current repository name to Java with @AutoBazelRepository
1839 + 97dea593e568f776361397f7280d6a16eee2efeb:
1840 Implement getDirectoryEntries and readdir for
1841 RemoteActionFileSystem.
1842 + aa45f5f3301c5005294df084cdf99c45d6f95d53:
1843 Move integration tests for BwoB to a base class and add more
1844 tests there.
1845 + 1b073ac0a719a09c9b2d1a52680517ab22dc971e:
1846 Make Java runfiles library repo mapping aware
1847 + 148bbb1c025a628643698f65627333d86975c1d7:
1848 Use `_repo_mapping` in C++ runfiles library (#16752)
1849 + 25558ada3fb377cfc2c965d3a93250ca28ce0fc1:
1850 Add --experimental_action_cache_store_output_metadata to the
1851 expansio…
1852 + 6e945e8ab422ca0a195d09899cce61ba6c0cfa59:
1853 Treat `DEBUG` events as progress-like.
1854 + 1940c5d68136ce2079efa8ff74d4e5fdf63ee3e6:
1855 redact 'token' strings from logging
1856 + 0b645254b41edc738c6641fd192fca86203ff2e2:
1857 Make Bash runfiles library repo mapping aware (#16753)
1858 + 4caae75b49e815ad2cf1d805f316bc374f03f2ae:
1859 Automated rollback of commit
1860 8f956511bb115c39ac683a1e78971fcf9dce5deb.
1861 + 13ff6d9e37999e00fda9a6cef278c7c924924f34:
1862 Fix Bash rlocation failure with stricter Bash options
1863 + bd88c7e47b911e5fa1f8a3c26d0f8317943c43ce:
1864 Make bazel Android remote deps compatible with bzlmod (#16772)
1865 + 6f6d4cca36a3b64009ed9c8b3fb13cb3c7ed915a:
1866 Flip `--incompatible_always_include_files_in_data`
1867 + 94355b1b1c4f7ef923457b8b2a070e5c6528240a:
1868 Add required `--add-opens` server JVM args also with
1869 non-embedded JDK
1870 + 8349c95fc98beb4008085942a67a57f0c4da074b:
1871 Also collect clang resource directory with
1872 `-no-canonical-prefixes`
1873 + dce6ed777d958d65c7f3d4a2f54f8117778a449e:
1874 Make `bazel run` works with minimal mode
1875 + ca8674cc4879ed1846bf015c33fe7d920a3f66ab:
1876 Include source files with `cquery --output=files` (#16826)
1877 + 9cb5e0a31665d3b3f25bf58ec2dee696e828d8b9:
1878 Fsync before rename after copy in DiskCacheClient
1879 + 23ffce53b92ef96432d8c6c58cc95ac362bab1bc:
1880 Update GetActionResult for disk cache to check referenced files
1881 when …
1882 + 0bc0ff5244142eb3348d42025ce21eeb337ad189:
1883 Make Java runfiles library compilable with JDK 8
1884 + fe169654a29d8ad33105d5d0034a7857834fed5d:
1885 [6.0.0] Default --incompatible_strict_conflict_checks to true.
1886 (#16864)
1887 + 99ca86f7c2968741ac3a9b20c3375fc992d49e66:
1888 Revert "[6.0.0] Default --incompatible_strict_conflict_checks to
1889 true. (#16864)" (#16872)
1890 + 312238f2b1414c98ed7d7d51dc4e18278edb2540:
1891 Make C++ runfiles library build with `-Werror=shadow`
1892 + 2baa5a4284467d70f1b31ea779b79d38ef07d164:
1893 Keep credentials cached across build commands.
1894 + 8818a57fce32a7872f045f03a334e1c9403724d3:
1895 [6.0.0] Only inject metadata for outputs that cannot be
1896 reconstructed by skyf… (#16879)
1897 + 31e4bf409eed71e8fb626092189eacb95f80fed9:
1898 Update java_tools v11.9
1899 + cd40666001e8d599bb61735898c195c6d2fae55b:
1900 replace _get_canonical_form(label) with str(label)
1901 + e2bc2374188b41924223385ad943db610e92e6c4:
1902 Avoid exceptions from hermetic sandbox for unsupported artifact
1903 subclasses
1904 + b564d145218e58b0440ffad82b3d1d54eef15d22:
1905 Remove warnings about ignored starlark options
1906 + 7ccc66108f08f7b6c6f6e5229f70f29962ea19ce:
1907 [6.0.0] Emit Tree objects in topological order (#16904)
1908 + 86dee6d2ecb269e0c41a97718812054394ee51a4:
1909 Correctly match regex with tree artifact
1910 + 14925b574aa63aad098f2c3d95e14b46ffd295ec:
1911 Always use target's attributes to set Python version (#16959)
1912 + a247502d28d8d70d648390de52952189b99a0bb7:
1913 Add 'toolchain' parameter to actions.{run,run_shell}
1914 + 497b7e403d6e5523bd1310bd1fe83c4ce1a6b1ec:
1915 Fix Bash `runfiles_current_repository` with RBE
1916 + 0a2c4edbc86398266525f31948d67a5736890bfe:
1917 Fix corner cases in Bash runfiles library
1918 + 33b514b25963452be71a015e08d4e890405b00a3:
1919 Fix runfiles creation with MANIFEST when building without the
1920 bytes
1921 + 3a13af41034e1f80cc0fbc1634cf8f724a85b78f:
1922 Remove LCOV merger dependency of `cc_test` without coverage
1923 (#17004)
1924 + 25ba76c1b8d420ebae43c1f59890ae46153c2240:
1925 Include full tree artifact in inputs when prefetcher doesn't
1926 support partial tree artifacts.
1927 + 06deebfb5b73f848de5a0ea0e00fcfaa26788d1f:
1928 Release 6.0.0 (2022-12-19)
1929 + c2bfb2e98d133c62be328e6e93c4b4bdf766d82c:
1930 Enable git_submodules tests and merge git_repository and
1931 starlark_git_repository (#17247)
1932 + e8182ce32931560406fee1c30745e56a2ee9a6b3:
1933 have 'bazel test' non-test targets depend on
1934 --remote_download_output
1935 + c3245cd028977877aa9e485451b29c7736ebcae0:
1936 Add `SpellChecker` suggestions for common Bzlmod errors
1937 + 8ec874348226995c4101b2173a465ddc65cab591:
1938 Use xcrun to invoke install_name_tool
1939 + 2b2bea4ee9d51ad875a8d273aa344ac9c5b6742c:
1940 Extra resources
1941 + 5b4de12b37cb4ba921b6bdfe810bbb47921ab3a6:
1942 Do not clear `--platforms` on no-op change to `--cpu`
1943 + db3c0130b3363485a366897e1c1f2adc5d41fde6:
1944 Report `AspectCreationException` to the user
1945 + 53e9fea30e58ab479e5cd7a6c804634f56fc2ddb:
1946 Use long executable path instead of `argv[0]` in all launchers
1947 + abae5ca3e8142f93cf0c2597e3410ed955c4dd59:
1948 Add sanitizer features to unix_cc_toolchain_config
1949 + db684196afd3b1a0a0e7d883674324bd161ae8bf:
1950 Allow `map_each` to return `None` in `TemplateDict#add_joined`
1951 + 66b58ee904efa22696edc1b78a59bac91da9ed8d:
1952 Always emit trailing zero in human-readable download progress
1953 + 17b8e448a5e5589f96c2794cb38c86b0c64e86c0:
1954 Upload all logs in BEP even with minimal upload
1955 + 28d2daae70be6ee97b876b0568796ceb87af9523:
1956 Set `--experimental_action_listeners` to default in `exec` config
1957 + 16427c9050db140d6cb90d7d6324d4a2ff1e249a:
1958 Do not count tests as failed that have not started
1959 + 094a0aabed1e018e6503bc3ac844c8022b71a527:
1960 Accept tildes in --override_module
1961 + 5f2866f8434ce9a17cf82c001efb7b236f189115:
1962 Do the AC integrity check for disk part of the combined cache.
1963 + cd10d508e20a4964586b46f7edea8a6dc900157c:
1964 Fix `--nozip_undeclared_test_outputs` on Windows
1965 + 073f54b9a7c46afd2c28b4a99a235bdd6b63bb5f:
1966 Allow pyd in extensions of dynamic libraries
1967 + ac504cbb463e76b1374d0060534acabbccb408d2:
1968 Register JavaCompileActionContext in Bazel.
1969 + f090433fcf0f42639608b9c5f0243018c1bb9ac7:
1970 Rollback #14510 because it causes remote test execution to fail
1971 + 942dddaaad9bf4fbb20b66535aad4fc464ad69ba:
1972 Prepare backwards compatible usage of optional C++ toolchain
1973 + 88b51f57d09e43dec31a84d4b636595924d5bfef:
1974 Emit LLVM coverage for source file paths with a `tmp` segment
1975 + bb0b886271d45209e3bef476da37811b9dd2afe5:
1976 Enable archive_param_file feature by default for Windows
1977 + baf97c00c891acf844a29b4cc31abb45b5c434e5:
1978 Allow `TemplateDict#map_each` callback to return a list of
1979 strings (#17306)
1980 + fcb007749f7f24b36c2b7c4284378bba20fc8b69:
1981 Only try to create groups of test actions in the ui.
1982 + 3c47b4716e6eca2b8ab06253915ef8d1bdd28038:
1983 Find `libtool` when using `BAZEL_USE_CPP_ONLY_TOOLCHAIN`.
1984 + 1da8a825c0fba882f33ea6998a76ff8265fcd32c:
1985 Add -dead_strip in default opt link flags for darwin
1986 + b0c5eb30b2738bf6454c3026a3e0f37579d5854c:
1987 Dont query remote cache but always use bytestream protocol
1988 + 00e9af1985cc0227599516fe7568785ca4334050:
1989 Allow Java coverage collection for external targets.
1990 + dd24a0022a0ff959598da2c9bc097d27083be1a0:
1991 Test and fix root symlink edge case in runfiles library
1992 + af97d9830d3207893cc6f5c851431a28f1721acb:
1993 [6.1.0] Fix broken CI (#17422)
1994 + b859571804f2095caaf018b172b59c90f185fd51:
1995 Add `native.package_relative_label` function
1996 + 82168d44ee1d49cf2f406903b6d8b9fde0e66cf2:
1997 Make Bazel more responsive and use less memory when --jobs is
1998 high (#17398)
1999 + 84c1ed430405b154b6e9eb2c28281f450e250eff:
2000 Multiplex worker fixes and tests for Android busybox tools
2001 (#17371)
2002 + 07590818d6ce0d0e66c2377db7e73fb6ee6702e5:
2003 Improve error message for concurrent modifications (#17396)
2004 + 27bc896f36f0e0ea5dbeaaa16f3a124e38a7284a:
2005 [6.1.0] Make bazel coverage work with minimal mode (#17397)
2006 + 544b8164ca352cf06dda0849a589b825631428af:
2007 [6.1.0] Fix cc_binary bug related to cc_shared_library on
2008 Windows and prepare for future removal of
2009 --experimental_cc_shared_library flag (#17445)
2010 + 9a7aa21c8cd6f38d10e23e265dd650bf031f9b7c:
2011 Fix Bash `runfiles_current_repository` for tools
2012 + 911eedc0badcefdbc60a936ae73972772042fc8a:
2013 Fix label unambiguous canonical form to correctly report
2014 non-visible repo names
2015 + e132653ead5e50f4226dbff7776466fef1918f49:
2016 Remove O1 from sanitizer feature flag defaults
2017 + ba9e2f8fe666b4fc6110d86ea93cc11779e77068:
2018 Remove usage of gRPC Context cancellation in the remote
2019 execution client.
2020 + de03a2363d016782c5dfe7c55b5cf06cb610f6a2:
2021 Allow -v to libtool
2022 + 4e35c02c7c400bfbbfa69164a1ec3bd51966ca79:
2023 Prettify labels in action progress messages with Bzlmod (#17278)
2024 + 1be0ac3e73698e31a349ece629c887b06e102a0b:
2025 Expand tree outputs before eagerly prefetching them for local
2026 actions. (#17494)
2027 + c26665102d0d524bb42be8cd205c7b31a22a75c9:
2028 Fix Java coverage collection with Java 8 runtime
2029 + 1a6ffe6d453708e3cefc98a07965c680e48d6bac:
2030 Add a flag to disable execution log sorting.
2031 + fbec8e2ad1dcbebbbc96491f8b6b208f5b3ac91f:
2032 Reduce flakiness on Windows for BwoB tests
2033 + 420659a9ad2a98f57e057d8c22eb621e3b12803e:
2034 Make AutoBazelRepositoryProcessor compatible with Java 8
2035 + dde6d20b3fd1d7a14825649c9c89d1c4d2d5242b:
2036 Do not recommend `shallow_since` for `git_repository`
2037 + f76fc61640825dd7cf83ce02ba48a4e4f95b66ff:
2038 Allow the timeout value for execute calls on a mac to be set via
2039 an environment variable
2040 + 773d232f528276338098578a28c19c742e3b4e7e:
2041 Fix RPATHs for cc toolchain solib when sibling layout is used
2042 + 5932b3b8886ddb5aba271fd907f1371e67960a44:
2043 [6.1.0] Add --host_features (#17528)
2044 + a0fa77cc36d02f5f230335556a1829b298b2f219:
2045 Exit with code 39 if remote cache evicted blobs that Bazel need
2046 during an invocation (#17496)
2047 + 1a438b41b74d94fd8b6ff4dcf20b4526530e3c6e:
2048 Only fetch @remote_coverage_tools when collecting coverage
2049 (#17512)
2050 + ee1daaf9852d568dcf38357eadd77b9de953db36:
2051 [6.1.0]Only fetch @remote_coverage_tools when collecting
2052 coverage (#17287)
2053 + 350e32952bdd639969e2aff7887c5dc34c21bce6:
2054 [6.1.0]Fix symlink file creation overhead (#17488)
2055 + 5406c953574d48434d33b1cf49b70b718795d783:
2056 [6.1.0] Cleanup stale state when remote cache evicted (#17538)
2057 + 2d1b570e976773134a6244dd012e93a5478f6d4a:
2058 Bump version number in runfiles.bash init code
2059 + 3ab8a0a5d628a0d958fb2eb1c0d5bb76b442e2f2:
2060 [6.1.0]Let `aquery` print effective environment for all
2061 `CommandAction`s (#17274)
2062 + 51e6c38ae808df4f2bf8fb29b4c5173e06ac014a:
2063 Properly report repo fetch progress during main repo mapping
2064 computation
2065 + 744108e88681e770982f148161d328c9b77319a1:
2066 [docs] Update migrating to Xcode tutorial (#17563)
2067 + 9dc7a7e6881f58965103b42390560589e0f38b48:
2068 Update //third_party:jsr305 (#17557)
2069 + 43dadb275b3f9690242bf2d94a0757c721d231a9:
2070 Bump minimum supported macOS versions to 10.13
2071 + 7d9d23c1ac1b7fcaa461f902e286f50fbb7cb116:
2072 Correctly set default subprocess factory when loading class
2073 `SubprocessBuilder`.
2074 + 77f82f4fab189fd042754be0a7747042d9b01b8f:
2075 Add an --incompatible_strict_conflict_checks alias for
2076 --experimental_strict_conflict_checks.
2077 + e05345dec405a0333c48ff188d2d9a1be90dad53:
2078 Add support for wrapping system streams in WorkRequestHandler
2079 + 68e1924cdab69ab92b8acf2f6e9324d11e00b267:
2080 Also handle remote cache eviction for tree artifacts. (#17601)
2081 + 4a6d056a8d058ab98a01348fb0c046660ee99a71:
2082 Add host transition to lcov_merger in Java version of py_test
2083 + 546e9e2942cb2e98b4c93065cc2d2910878dc900:
2084 Fix Bazel 6.0 crash regression (#17613)
2085 + 7e328bb71004e1976525d8b813ca0d616e2af74b:
2086 Include Bazel version information in profile metadata. (#17616)
2087 + aafe1235c55f6cdcfc577a40736aaeb9ebaca23b:
2088 [6.1.0] Handle remote cache eviction when uploading inputs for
2089 remote actions. (#17605)
2090 + 938e34823206a2644d538ba655d20ac553352975:
2091 [6.1.0] Rerun the artifact conflict check when
2092 --incompatible_strict_conflict_checks changes. (#17592)
2093 + 034a2815a1e18be5c8b36c6a78f44bb849dff437:
2094 Report background download for BwoB (#17619)
2095 + 5afbce52c70cf974eaa4a3bbbc376f398271427d:
2096 [6.1.0] Flag for writable outputs (experimental) (#17617)
2097 + d4105e658001677929338835eb970e6595e66b3c:
2098 [6.1.0] Allow .wasm cc executable and dynamic library extension
2099 (#17440)
2100 + a306f4f7fd440d006aa6ae9234b4430f13bc8cf9:
2101 make desugar dependencies deterministic
2102 + 37953c56ea77c7aa7bea677f3481557fdb2c2a15:
2103 Apply exec transition to lcov_merger in sh_test and cc_test
2104 + 1d73d72a45598e38c51b2618bb6fe4f27b390cb8:
2105 [6.1.0]Fix --host_features with multiple transitions (#17641)
2106 + 755cd4bcd48adf752bd8c161454e53a0f5b6a2fa:
2107 Release 6.1.0 (2023-03-06)
2108 + 885ae7ef3afd88e21c33579bcd64ee3136bd8715:
2109 Revert "Add -dead_strip in default opt link flags for darwin
2110 (#17312)" (#17696)
2111 + 94c519bcc555195d061e1a63f0e4235795bec5be:
2112 Skip empty directories instead of throwing in prefetcher.
2113 (#17718)
2114 + 60749d53dfb56068050edabbf7be11675841c112:
2115 [6.2.0] Remove actionId from RemoteFileArtifactValue. (#17724)
2116 + 52deefe54124c3cff0dd708704381aa4ac69c01d:
2117 Correctly handle templated tree artifacts in the prefetcher.
2118 + 10587b1b819c8b1ae15d064a7bb3d2a7ac2149da:
2119 Silence setlocale warnings in Java stub
2120 + 3ad392776bebbfd2a9584dd221f34494f424a53a:
2121 Force the Bazel server Java runtime to use the root locale
2122 + 7c235ff15190b1eefdbd34696a55272bbb221435:
2123 [credentialhelper] Ignore failing to provide request
2124 + daa3dbe22adb03338c75b53ea97954c9434099b4:
2125 [remote] upload: treat `ALREADY_EXISTS` as success
2126 + e0cdaced03750823021b8b1f5b82a71170d67642:
2127 Fix data race in prefetcher.
2128 + c9e3eeb2f34d66e2c8bcccd32786ea75c357497e:
2129 [6.2.0] Update java_tools v11.12 (#17761)
2130 + 6c8930347025ef22e21d7793dd9202033dd79151:
2131 python: Remove temporary module space created for zip-based
2132 binaries (#17764)
2133 + b874e5fd7ed6f1cb2ac4b858bd28b46ae97350e0:
2134 [6.2.0]Add test coverage support to android_local_test (#17467)
2135 + 6fc9bedb3e26479df62b82d281854aed4a916fa9:
2136 Fix wasm dynamic library extension crash (#17765)
2137 + 38ece3c04105698fc84daa89ba30c5fa692e0403:
2138 Handle `SIGWINCH` under `bazel run //some:test` (i.e. test
2139 rules) correctly.
2140 + 49a9502312b6af391a10e1a5c3e05d245ad54899:
2141 Clear all remote metadata if any of them are evicted from remote
2142 cache
2143 + 8fab22e64035561fdb1c96d4e507b78a02cb5e39:
2144 Include build-tools/X.Y.Z/{lib,lib64}/** in the minimal set of
2145 SDK files used by the Android integration tests.
2146 + 3a7236beb8c0692c327aaeb5341801280d0cd870:
2147 Allow WORKSPACE and WORKSPACE-loaded .bzl files to see Bzlmod
2148 root module's mappings (#17818)
2149 + a87b8e0b6b17feed7e649a85f17162510fa8d652:
2150 [6.2.0]Add support for alias targets to cquery's `providers`
2151 (#17786)
2152 + ee32efffe4c407d7fe54b287a80a3b0a115040c6:
2153 [6.2.0] Allows --query_file to be used for cquery and aquery
2154 too. (#17823)
2155 + cfef67da634996f09e5f2509e198cc73c88ce8b2:
2156 Fix seeking of empty chunkers.
2157 + 50ec6bbff08cc00de4dfdea68e7483f383674222:
2158 Rework ByteStreamUploader early return logic.
2159 + 745ca288770253225d5d96069038a5d735eda69b:
2160 Suggest alternatives for typoed rule attribute names
2161 + 8548e202a6871a17f0d097e2cedc9ff8064ef962:
2162 Relax JSON parser, ensure duplicate keys are overridden
2163 + c04f0d41317bfe1f6ff42da94dddb4023587fc26:
2164 Use less subshells and `tee`s in running tests with `bazel run`.
2165 + 8c6d02e00777c0cc12e97fccc5f4fb6e8109a5bd:
2166 Upgrade Azul JDK 17 archives. (#17852)
2167 + 3c1c0c09e68420c813d6258b90ff96641dbd1151:
2168 Add suggestions to invalid tag class errors
2169 + 99b3f38649dc82efde6c570e80ce4f3abbc4ac43:
2170 [6.2.0] Add native.module_{name,version} (#17893)
2171 + f7627e00bf96c9159ab79a32afc4f6a622f0deeb:
2172 Support (workspace) relative paths in --override_module closes
2173 https://github.com/bazelbuild/bazel/issues/17551
2174 + 109b29019882811d1beb97a60f8cda668442e8e8:
2175 Fail early if `use_extension` has a bad label
2176 + f63ce7973b8f3f2560f41daf7321a40d20b22fab:
2177 Avoid unnecessary copying when building Merkle trees.
2178 + 3ea18cc033ed078f83fc6644c9d20fb69d6d2657:
2179 [6.2.0]Add `module_ctx.is_dev_dependency` (#17934)
2180 + 2d04c91327cadb3f0d53bceea117d3939a25e143:
2181 [6.2.0] Add version to JavaRuntimeInfo (#17913)
2182 + 2c1a63bc1df727ee26526eec27c5a92fc0c20649:
2183 Fix CI breakages for release-6.2.0 (#17969)
2184 + 788801a8fd30985a1831de805172d257c6f63691:
2185 Enable C++ deps pruning on Windows when PARSE_SHOWINCLUDES is
2186 available.
2187 + fb4a0c288ba5ee14e47c7879a6be3eefb44bfe9f:
2188 [6.2.0] TargetPattern parsing fixes (#17945)
2189 + 70ce8378638290295e17fb62e735a239f22672e6:
2190 Add attribute 'provides = [CcInfo]' to '_cc_proto_aspect'
2191 + 6e18829339a5ba839ab129c64bd9333d3d8c1e5a:
2192 [6.2.0]Expose cc_proto_aspect as a toplevel symbol. (#17980)
2193 + 0f55d124c05ee2654c3ff56e0332e71ff1eb437c:
2194 Cache Merkle trees for tree artifacts.
2195 + 6d6fa81e47591f41b9dce5e2a9a8512ec13d3f4a:
2196 Deduplicate concurrent computations of the same Merkle tree.
2197 + 1f2b3ed4ac717b814d02a0d125f160ddabe78003:
2198 Patch zlib to fix compatibility with latest Xcode
2199 + 27e4c6243524156d880bd04e834db5ebdb0a69af:
2200 Add exception message to 'failed to create output directory'
2201 + 405012066d2394ad9986830ca028badd3c65ad38:
2202 Prevent failures creating output directories
2203 + 1474b5b5b41dfb680674e37975b6e1754c3a7445:
2204 Allow multiple matching select branches if they resolve to the
2205 same value (#18066)
2206 + 5ddef4716e33b12f5dc1386abdb48ba8ab9ff7ab:
2207 Turn applicable_licenses on platform() into a no-op. (#18089)
2208 + e00509bd5f1dee6fcaf495893c5bb5ae385ea8ea:
2209 Use ctime in file digest cache key (#18105)
2210 + ca30372e210a638cfce8334b6dc3396c83424baa:
2211 Gracefully handle output symlinks with BwoB
2212 + a0cb57fd7e7dfafd54070b5fdfbd4b4254ce6e95:
2213 [6.2.0] profile: add profile_finish_ts (#18129)
2214 + 1a60fad7d0a8d04399cca0e5bc5d9ee5b01858eb:
2215 fix(python): Set envvar for runfiles manifest, not runfiles dir,
2216 when using a manifest (#18133)
2217 + 5e9fa3967cf0288083638aec3b34328ab8a90a51:
2218 Add attribute validation to IncompatibleTargetChecker. (#18135)
2219 + 97312f328f735ab8bcc28674e84450313f7667bf:
2220 [6.2.0] Update CODEOWNERS (#18149)
2221 + 76ad4a9b8e1b5a5cc5ed5edaad9b438cd9d8ef66:
2222 [6.2.0]Fix worker and multiplex workers for DexBuilder and
2223 Desugar actions (#17965)
2224 + 5afb8b61fab4671cb9a756fdb8fc275ee2fa4d19:
2225 Lockfile cherry picks (#18143)
2226 + 1940dfb07424ff7ac6d1d8cf7b776b4dc04b21e8:
2227 Automatically retry the build if encountered remote cache
2228 eviction error (#18171)
2229 + 755cf95b0df132c1d3fb80ccff6d5b52de708514:
2230 [6.2.0]Allow remote retry max delay to be user configurable
2231 (#18061)
2232 + 6c6111085e57f4b8869a5d2bdead0f8a536950ea:
2233 Add `module_ctx.extension_metadata` (#18174)
2234 + c1fea137312248d606bbb73bac1ab4a4e87557a2:
2235 Introduce max_compatibility_level for bazel_dep (#18178)
2236 + f95b80d166eb46ba4e4c0fb4b998f6e12206ee17:
2237 Include cause when reporting `ActionExecutionException`
2238 + 8a41be90cf24258db14a8ca1be7c4334d0076dd5:
2239 Check for the nullness of AspectValue.
2240 + 271512031d1a43f85eede12cd05b0ebeec66bc9a:
2241 Rename `--experimental_remote_grpc_log` to `--remote_grpc_log`
2242 + e4682f6c6fa5d8d67d667aa6593a34370e689cf5:
2243 [6.2.0] Update java_tools v12.1 (#18197)
2244 + d94dee2b6b382ec2835f9871b34b3e703bcc49a7:
2245 Construct TreeArtifactValues on multiple threads. (#18194)
2246 + 519eef48ee166cfcc4fb8e92d4728483ecc4fd40:
2247 Fix crash on multiple output symlinks with BwoB
2248 + 2442a2e9c064781120b78efe554ca3617bee8769:
2249 [6.2.0] default_java_toolchain.bzl cherry-picks to fix
2250 regression (#18225)
2251 + e4f3d4ddfb54419bd5bb793a29b83ff26c82d9ce:
2252 Fix message generation of `ActionExecutionException`
2253 + f39454f0eb85e08f849c8c76123191205224d269:
2254 Add `dev_dependency` to
2255 `register_{execution_platforms,toolchains}`
2256 + bf188c12cb8ad9164ab78564d142699fdc37efaa:
2257 Fine tune the number of test jobs running in parallel to avoid
2258 timeout on Intel macOS platform
2259 + e0242479af14aeb3d8444947cdaf540d8ec7ff3a:
2260 Update java_tools v12.2
2261 + 2dca98231b02ad8531608183c1e14c5492c62da0:
2262 Update java_tools v12.3
2263```
2264
2265Incompatible changes:
2266
2267 - Bazel no longer increases the delay between progress updates when
2268 there is no cursor control.
2269 - `--incompatible_always_include_files_in_data` is flipped
2270 to true. See https://github.com/bazelbuild/bazel/issues/16654 for
2271 details.
2272 - `cquery --output=files` also outputs source files.
2273
2274 Closes #16602.
2275 - `--incompatible_strict_conflict_checks` is flipped to true. See
2276 https://github.com/bazelbuild/bazel/issues/16729 for details.
2277 - This changes the behavior of Python version in exec/host
2278 configuration. Mitigation is to set Python version on the targets.
2279 - `--features` only applies to targets built in the target
2280 configuration, and `--host_features` is used for the host / exec
2281 configuration (gated behind `--incompatible_use_host_features`)
2282
2283 Fixes https://github.com/bazelbuild/bazel/issues/13839
2284
2285 Closes #16626.
2286
2287New features:
2288
2289 - The aquery and cquery commands now respect the --query_file flag
2290 just like the query command.
2291
2292Important changes:
2293
2294 - The new path variable `$(rlocationpath ...)` and its plural form
2295 `$(rlocationpaths ...)` can be used to expand labels to the paths
2296 accepted by the `Rlocation` function of runfiles libraries. This
2297 is the preferred way to access data dependencies at runtime and
2298 works on all platforms, even when runfiles are not enabled (e.g.,
2299 on Windows by default).
2300
2301 Work towards #16124
2302 Fixes #10923
2303
2304 Closes #16428.
2305 - Starlark `print()` statements are now emitted iff the line of
2306 code is executed. They are no longer replayed on subsequent
2307 invocations unless the Starlark code is re-executed.
2308 Additionally, multiple identical `print()` statements (same
2309 string from the same line of code, e.g. from a loop) are all
2310 emitted and no longer deduplicated.
2311 - Fixes a bug where some compilation flags would not be applied to
2312 a cc_test
2313 - Added a `native.package_relative_label()` function, which
2314 converts a label string to a Label object in the context of the
2315 calling package, in contrast to `Label()`, which does so in the
2316 context of the current .bzl file. Both functions now also accept
2317 relative labels such as `:foo`, and are idempotent.
2318 - Adds coverage metric support to android_local_test
2319 - Fixed an issue where WORKSPACE and WORKSPACE-loaded .bzl files
2320 couldn't see the Bzlmod root module's mappings when Bzlmod is
2321 enabled.
2322 - Added `native.module_name()` and `native.module_version()` to
2323 allow BUILD macro authors to acquire information about which
2324 Bazel module the current repo is associated with.
2325 - `@foo` labels can now be used on the command line as the
2326 top-level target (that is, `bazel build @foo` now works).
2327 Double-dot syntax is now forbidden (`bazel build ../foo` will no
2328 longer work).
2329 - Added preliminary support for a lockfile for Bzlmod. It's
2330 disabled by default; use `--lockfile_mode=update` to enable it.
2331 This lockfile contains only Bazel module information; it does not
2332 involve module extensions.
2333 - Added a new `max_compatibility_level` attribute to the
2334 `bazel_dep` directive, which allows version selection to upgrade
2335 a dependency up to the specified compatibility level.
2336
2337 Co-authored-by: Brentley Jones <github@brentleyjones.com>
2338 - `--experimental_remote_grpc_log` has been renamed to
2339 `--remote_grpc_log`
2340
2341 Closes #18180.
2342
2343This release contains contributions from many people at Google, as well as Ben Lee, Brentley Jones, Ezekiel Warren, Fabian Meumertzheim, keertk, Keith Smiley, Krzysztof Naglik, kshyanashree, lunch-glide-pepper, oquenchil, Patrick Balestra, Son Luong Ngoc, Ted Kaplan, Ted Kaplan, UebelAndre, Xùdōng Yáng, Yannic, yuzhy8701.
2344
Bazel Release Systemb5ed8362023-05-05 21:07:40 +02002345## Release 7.0.0-pre.20230502.1 (2023-05-05)
2346
2347```
2348Baseline: a0cd355347b57b17f28695a84af168f9fd200ba1
2349```
2350
2351Important changes:
2352
2353 - json.decode now takes an optional `default` positional parameter;
2354 if this parameter is specified and decoding fails, json.decode
2355 will return
2356 the `default` value instead of failing Starlark evaluation.
2357
2358This release contains contributions from many people at Google, as well as Benjamin Peterson, David Ostrovsky, eareilg, Fabian Meumertzheim, Son Luong Ngoc.
2359
Bazel Release System6a5b8972023-05-03 21:05:14 +02002360## Release 7.0.0-pre.20230426.1 (2023-05-03)
2361
2362```
2363Baseline: dc724e4e8041a9357c6b82af0749def4174f21f2
2364```
2365
2366Important changes:
2367
2368 - Added a new `max_compatibility_level` attribute to the
2369 `bazel_dep` directive, which allows version selection to upgrade
2370 a dependency up to the specified compatibility level.
2371 - `--experimental_remote_grpc_log` has been renamed to
2372 `--remote_grpc_log`
2373 - `--incompatible_remote_build_event_upload_respect_no_cache` is
2374 now a no-op.
2375
2376This release contains contributions from many people at Google, as well as Benjamin Peterson, Brentley Jones, Fabian Meumertzheim, George Gensure, Kai Zhang, Oscar Garzon.
2377
Bazel Release System912c1c72023-04-27 21:05:18 +02002378## Release 7.0.0-pre.20230420.2 (2023-04-27)
2379
2380```
2381Baseline: 7fb50baaa00f92c6f009dcf1684427fc8fa1f301
2382
2383Cherry picks:
2384
2385 + 0ebf7bc8376f8ca9e865b81658c2f2b29aaf7f4d:
2386 Automated rollback of commit
2387 1acc7a843bf0996c26a1e3d74bb64514395b7e7f.
2388```
2389
2390Incompatible changes:
2391
2392 - Renamed PackageMetrics proto message to PackageLoadMetrics. The
2393 formats should be wire compatible.
2394
2395This release contains contributions from many people at Google, as well as Ankit Agarwal, Benjamin Peterson, Fabian Meumertzheim, Jasper, Son Luong Ngoc, Xdng Yng.
2396
Bazel Release Systema333dc12023-04-25 14:55:21 +02002397## Release 7.0.0-pre.20230417.1 (2023-04-25)
2398
2399```
2400Baseline: 0a47a1fb04efef598376d4ee7b383add1febcc6c
2401```
2402
2403Incompatible changes:
2404
2405 - Removing java_common.javac_jar Starlark call.
2406 - native.existing_rule now returns select values in a form that is
2407 accepted by rule instantiation. This is a breaking API change
2408 because there is some code that relies on the precise type
2409 returned, including brittle workarounds for this bug specifically
2410 and insufficiently flexible workarounds for other issues with the
2411 intersection of select and native.existing_rule.
2412 - flipped incompatible_use_toolchain_resolution_for_java_rules, see
2413 #7849
2414 - Query output=xml/proto/location for source files will now show
2415 the location of line 1 of the source file (as the new default)
2416 instead of its location in the BUILD file.
2417 - Specifying a target pattern underneath a directory specified by
2418 .bazelignore will now emit a warning, not an error.
2419 - Query `--order_output=auto` will now sort lexicographically.
2420 However, when `somepath` is used as a top level function (e.g.
2421 `query 'somepath(a, b)'`), it will continue to output in
2422 dependency order. If you do not want the lexicographical output
2423 ordering, specify another `--order_output` value (`no`, `deps` or
2424 `full`) based on what ordering you require.
2425 - In the build event stream,
2426 BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
2427 Its value was always mostly meaningless.
2428 BuildMetrics.TargetMetrics.targets_configured and
2429 BuildMetrics.ActionSummary.actions_created now include configured
2430 aspect data.
2431 - //visibility:legacy_public has been removed.
2432 - Flip and remove incompatible_dont_collect_so_artifacts
2433 (https://github.com/bazelbuild/bazel/issues/13043).
2434 - Remove flag --experimental_no_product_name_out_symlink: it is
2435 always true.
2436 - The Starlark method generate_dsym in objc fragment has
2437 been deleted. Please use the equivalent apple_generate_dsym in
2438 cpp
2439 fragment instead.
2440 - Native libraries in data attribute are not collected. See
2441 https://github.com/bazelbuild/bazel/issues/13550 for details
2442 - Enforce the `--profile` path to be absolute.
2443 - Enforce the --memory_profile path to be absolute.
2444 - JavaToolchainInfo.jvm_opt returns Depset instead of a list.
2445 - --apple_sdk has been deleted. It is a no-op.
2446 - --bep_publish_used_heap_size_post_build is now a no-op and will
2447 be deleted in a future release. Use --memory_profile=/dev/null
2448 instead.
2449 - Flipped --incompatible_disallow_resource_jars (see
2450 https://github.com/bazelbuild/bazel/issues/13221).
2451 - Remove --bep_publish_used_heap_size_post_build
2452 - JSON trace profile: rename counter names.
2453 - Removed --action_graph from the dump command.
2454 - Remove `--{experimental_,}json_trace_compression` option.
2455 - Remove `--experimental_profile_cpu_usage`.
2456 - flipped --incompatible_java_common_parameters (see #12373)
2457 - this incompatible change breaks old instances of http_archive
2458 that specified netrc as an absolute path. It is unlikely there
2459 are many instances in the wild since the path would refer to a
2460 netrc file inside the external repository by absolute path.
2461 Migration should be straightforward.
2462 - genrule switched to use exec transition instead of host. This can
2463 break targets with hardcoded output paths. To avoid using
2464 hardcoded paths use make variables, see
2465 https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
2466 defined_label_variables
2467 - this incompatible change breaks old instances of http_archive
2468 that specified netrc as an absolute path. It is unlikely there
2469 are many instances in the wild since...
2470 - Error Prone now checks for unused return values of additional
2471 methods on `java.lang.Object`, which can be disabled using
2472 `--javacopts=-Xep:ReturnValueIgnored:OFF`
2473 - Error Prone now checks for unused return values of additional
2474 methods on `java.lang.Object`, which can be disabled using
2475 `--javacopts=-Xep:ReturnValueIgnored:OFF`
2476 - The --incompatible_existing_rules_immutable_view flag has been
2477 flipped to true. See
2478 https://github.com/bazelbuild/bazel/issues/13907 for
2479 migration notes.
2480 - Split up the C++ archive from the C++ link action and set
2481 `CppArchive` as mnemonic.
2482 - workspace(managed_directories=) is not available anymore.
2483 - --legacy_important_outputs now has a default of false.
2484 - --legacy_important_outputs default reverted to true.
2485 - objc_library now requires CcInfo in its deps. If this breaks
2486 you, add empty CcInfo() to your rule.
2487 - Flag --experimental_local_memory_estimate removed.
2488 - Added a new flag
2489 --incompatible_unambiguous_label_stringification, which causes
2490 labels in the main repo to stringify into unambiguous forms
2491 starting with an @. See
2492 https://github.com/bazelbuild/bazel/issues/15916 for more
2493 information.
2494 - analysis_test moved into testing.analysis_test
2495 - Flip incompatible_enable_cc_toolchain_resolution
2496 (https://github.com/bazelbuild/bazel/issues/7260)
2497 - (Rollback) Flip incompatible_enable_cc_toolchain_resolution
2498 (https://github.com/bazelbuild/bazel/issues/7260)
2499 - name parameter is removed from rule call
2500 (https://github.com/bazelbuild/bazel/issues/16301)
2501 - name parameter is removed from rule call
2502 (https://github.com/bazelbuild/bazel/issues/16301)
2503 - name parameter is removed from rule call
2504 (https://github.com/bazelbuild/bazel/issues/16301)
2505 - --incompatible_remote_downloader_send_all_headers is flipped to
2506 true. See #16356 for details.
2507 - GrpcRemoteDownloader only includes relevant headers instead of
2508 sending all credentials.
2509 - In package_group's `packages` attribute, the syntax "//..." now
2510 refers to all packages in the same repository as the package
2511 group, rather than all packages everywhere. The new item "public"
2512 can be used instead to obtain the old behavior. In `bazel query
2513 --output=proto` (and `--output=xml`), the `packages` attribute
2514 now serializes with the leading double slash included (for
2515 instance, `//foo/bar/...` instead of `foo/bar/...`). See also
2516 #16355, #16323, and #16391.
2517 - This has the side effect of changing the message on unsuccessful
2518 builds from
2519 ```
2520 FAILED: Build did NOT complete successfully (0 packages loaded)
2521 ```
2522 to
2523 ```
2524 ERROR: Build did NOT complete successfully
2525 ```
2526 - Bazel no longer increases the delay between progress updates when
2527 there is no cursor control.
2528 - This has the side effect of changing the message on unsuccessful
2529 builds from
2530 ```
2531 FAILED: Build did NOT complete successfully (0 packages loaded)
2532 ```
2533 to
2534 ```
2535 ERROR: Build did NOT complete successfully
2536 ```
2537 - the --experimental_async_execution flag is now a no-op.
2538 - --experimental_replay_action_out_err is not a no-op.
2539 - `cquery --output=files` also outputs source files.
2540 - `--incompatible_strict_conflict_checks` is flipped to true. See
2541 https://github.com/bazelbuild/bazel/issues/16729 for details.
2542 - `--incompatible_strict_conflict_checks` is flipped to true. See
2543 https://github.com/bazelbuild/bazel/issues/16729 for details.
2544 - `--incompatible_always_include_files_in_data` is flipped to true.
2545 See https://github.com/bazelbuild/bazel/issues/16654 for details.
2546 - This changes the behavior of Python version in exec/host
2547 configuration. Mitigation is to set Python version on the targets.
2548 - When multiple --deleted_packages options are passed on the
2549 command line, they will be concatenated instead of the latest one
2550 taking effect.
2551 - This has the side effect of changing the message on unsuccessful
2552 builds from
2553 - JSON profile: Use doubles instead of strings for counter series.
2554 - query --output=proto --order_output=deps now returns targets in
2555 topological order (previously there was no ordering).
2556 - --experimental_build_transitive_python_runfiles is flipped to
2557 false. See #16303 for details
2558 - --incompatible_python_disable_py2 is flipped to true. See #17293
2559 for details.
2560 - When remote cache evicts blobs, Bazel will exit with code 39.
2561 - `--features` only applies to targets built in the target
2562 configuration, and `--host_features` is used for the host / exec
2563 configuration (gated behind `--incompatible_use_host_features`)
2564 - `--incompatible_strict_conflict_checks` is flipped to true. See
2565 https://github.com/bazelbuild/bazel/issues/16729 for details.
2566 - Bazel's local CPU resource on Linux is now container aware. Use
2567 `--local_cpu_resources`, `--loading_phase_threads` or `--jobs` to
2568 override.
2569 - `copy_from_rule` is exec_groups is deprecated
2570 (https://github.com/bazelbuild/bazel/issues/17668).
2571 - --legacy_bazel_java_test is now a no-op
2572 - --legacy_bazel_java_test is now a no-op
2573 - --legacy_bazel_java_test is now a no-op
2574 - `--experimental_execution_graph_log` no longer exists. Current
2575 users that want local logs need to pass
2576 `--experimental_enable_execution_graph_log
2577 --experimental_execution_graph_log_path=/some/local/path`.
2578 Current users that want logs uploaded to BEP need to pass
2579 `--experimental_enable_execution_graph_log
2580 --experimental_stream_log_file_uploads`.
2581 - Remove 'darwin' as a CPU value, use 'darwin_x86_64' instead
2582 - Remove high priority workers functionality from blaze.
2583
2584New features:
2585
2586 - Args.add_all and Args.add_joined can now accept closures in
2587 map_each if explicitly enabled via allow_closure.
2588 - Add `--bes_header` flag to pass extra headers to the BES server.
2589 - Support local_repository in Bazel Registry's source.json file
2590 - The `aquery` and `cquery` commands now respect the
2591 `--query_file` flag just like the `query` command.
2592
2593Important changes:
2594
2595 - Flag --incompatible_objc_compile_info_migration is removed. See
2596 #10854.
2597 - Flag --incompatible_objc_compile_info_migration is removed. See
2598 #10854.
2599 - Flag --incompatible_objc_compile_info_migration is removed. See
2600 #10854.
2601 - none
2602 PAIR=cmita
2603 - The --incompatible_load_python_rules_from_bzl flag is now a no-op.
2604 - Filter all (instead of just C++) source files for coverage output
2605 according to --instrumentation_filter and
2606 --instrument_test_targets.
2607 - The `--incompatible_disable_native_apple_binary_rule` flag has
2608 been added which disables the native `apple_binary` rule. Users
2609 who need to use `apple_binary` directly (if they cannot use one
2610 of the more specific Apple rules) should load it from
2611 https://github.com/bazelbuild/rules_apple.
2612 - The Android rules' --use_singlejar_apkbuilder is now a no-op.
2613 SingleJar will always be used to build APKs.
2614 - dict.setdefault(key, ...) now fails if dict is frozen, even if it
2615 already contains key. This is an incompatible API change.
2616 - Flag --incompatible_objc_provider_remove_compile_info is removed.
2617 See #11359.
2618 - Starlark now permits def statements to be nested (closures).
2619 - native.existing_rule now returns select values in a form that is
2620 accepted by rule instantiation. This is a breaking API change,
2621 though the fallout is expected to be small.
2622 - Starlark now supports lambda (anonymous function) expressions.
2623 - The "test" and "coverage" commands no longer return 3 when a
2624 test action fails because of a system error. Instead, the exit
2625 code
2626 reflects the type of system error.
2627 - The undocumented ctx.expand feature no longer exists.
2628 - Make --legacy_dynamic_scheduler a no-op flag.
2629 - Multiplex persistent workers can now use the JSON protocol.
2630 - native.existing_rule now returns a mutable list, not a tuple, for
2631 a list-valued attributes. This is an incompatible API change.
2632 - Roll back change to have native.existing_rules use list instead
2633 of tuple.
2634 - BEP includes test suite expansions.
2635 - config_setting now honors `visibility` attribute (and defaults to
2636 `//visibility:public`)
2637 - Change the MultiArchSplitTransitionProvider to be based on
2638 platform type + CPU instead of fixed "ios_" + cpu.
2639 - enforce config_setting visibility. See
2640 https://github.com/bazelbuild/bazel/issues/12932 for details.
2641 - add a flag to build v4 signature file
2642 - Added _direct_source_jars output group to Java related targets.
2643 END_PUBLIC
2644 - pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
2645 Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
2646 - Allowing the lipo operations to be conditional in the
2647 linkMultiArchBinary API for Apple binaries. Single architecture
2648 slices are now returned through AppleBinaryOutput and the
2649 Starlark API.
2650 - Release restriction for "-" in the package name for Python
2651 sources. Now `py_binary` and `py_test` targets can have main
2652 source file with "-" in the path.
2653 - Users consuming BEP may assume that a `named_set_of_files` event
2654 will
2655 appear before any event referencing that `named_set` by ID. This
2656 allows consumers
2657 to process the files for such events (eg. `TargetCompleted`)
2658 immediately.
2659 - BEP includes all files from successful actions in requested
2660 output groups.
2661 Previously, an output group's files were excluded if any file in
2662 the output group
2663 was not produced due to a failing action. Users can expect BEP
2664 output to be larger
2665 for failed builds.
2666 - In BEP, TargetComplete.output_group has a new field `incomplete`
2667 indicating that the file_sets field is missing one or more
2668 declared artifacts
2669 whose generating actions failed.
2670 - The flag `--toolchain_resolution_debug` now takes a regex
2671 argument, which is used to check which toolchain types should
2672 have debug info printed. You may use `.*` as an argument to keep
2673 the current behavior of debugging every toolchain type.
2674 - Add runfiles.merge_all() for merging a sequence of runfiles
2675 objects.
2676 - runfiles.merge() and merge_all() now respect
2677 --nested_set_depth_limit.
2678 If you hit the depth limit because you were calling merge() in a
2679 loop, use
2680 merge_all() on a sequence of runfiles objects instead.
2681 - Bazel will no longer create a bazel-out symlink if
2682 --symlink_prefix is specified: the directory pointed to via the
2683 bazel-out symlink is accessible via ${symlink_prefix}-out. If
2684 this causes problems for you, set
2685 --experimental_no_product_name_out_symlink=false in your builds
2686 and file an issue.
2687 - Updates worker protocol with cancellation fields, and adds
2688 experimental_worker_cancellation flag to control cancellation.
2689 - Simplify build failure output by always using `NNN arguments`.
2690 - trim_test_configuration now defaults to on
2691 - Mark genrule.srcs as a source attribute for coverage.
2692 - When using --allow_analysis_failures (for example, via
2693 bazel-skylib's
2694 analysistest with `expect_failure = True`), analysis-time
2695 failures in aspect
2696 implementation functions will now be propagated and saved in
2697 AnalysisFailureInfo, just like analysis-time failures in rules.
2698 - cquery --noimplicit_deps now correctly filters out resolved
2699 cc_toolchains
2700 - Sign apks deterministically.
2701 - Make gcov optional in cc_toolchain tools.
2702 - If --experimental_prefer_mutual_xcode is passed, Bazel will
2703 choose the local default (instead of the newest mutually
2704 available version) if it's available both locally and remotely.
2705 - Remove java_lite_proto_library.strict_deps attribute.
2706 - Generate proguard configurations deterministically.
2707 - Adds a new flag, `--incompatible_enable_cc_test_feature` which
2708 switches from the use of build variables to the feature of the
2709 same name.
2710 - Dropped fragile xz support from built in pkg_tar. Users requiring
2711 xz
2712 compression should switch to bazlebuild/rules_pkg.
2713 - If all strategies of one branch (the local or remote execution
2714 branch) of the `dynamic` strategy fail to even accept (via the
2715 response they give from `canExec`) the action, `dynamic` will now
2716 try to see if the other branch can accept it. (Trying to run it
2717 and it failing will still cause a failure if it was the first
2718 result, this is about strategies claiming they can't even try the
2719 action)
2720 - Add `disable_annotation_processing` option to
2721 `java_common.compile`, which disables any annotation processors
2722 passed to `plugins` or in `exported_plugins` of `deps`
2723 - Remove obsolete --incompatible_prohibit_aapt1
2724 - The minimum Android build tools version for the Android rules is
2725 now 30.0.0
2726 - Adds --experimental_reuse_sandbox_directories flag to reuse
2727 already-created non-worker sandboxes with cleanup.
2728 - --experimental_force_gc_after_build is deprecated and will be
2729 removed soon. Use --bep_publish_used_heap_size_post_build instead
2730 - Forward coverage-instrumented files from non-tool dependencies by
2731 default.
2732 - The used_heap_size_post_build field in BEP is populated when the
2733 --memory_profile flag is set
2734 - --run_validations defaults to true.
2735 - Consider label_keyed_string_dict attributes when gathering
2736 instrumented files for coverage.
2737 - Remove flag
2738 --experimental_forward_instrumented_files_info_by_default, now
2739 that this behavior is the default.
2740 - When using MemoryProfiler with multiple GCs via the
2741 --memory_profile_stable_heap_parameters flag, we do a more
2742 precise calculation of heap used at the end of the build. This
2743 will generally result in lower values.
2744 - --bep_publish_used_heap_size_post_build is deprecated. Use
2745 --memory_profile=/dev/null instead.
2746 - Disable --all_incompatible_changes flag.
2747 - The --all_incompatible_changes flag is now a no-op
2748 - The `--toolchain_resolution_debug` flag now accepts regexes
2749 matching targets, as well as toolchain types, when choosing what
2750 debug messages to print.
2751 - Adds --experimental_existing_rules_immutable_view flag to make the
2752 native.existing_rule and native.existing_rules functions more
2753 efficient by
2754 returning immutable, lightweight dict-like view objects instead
2755 of mutable
2756 dicts.
2757 - Add support to length-delimited protos as undeclared output
2758 annotations []
2759 - The deprecated "relative_to_caller_repository" parameter has been
2760 removed from the Label constructor.
2761 - The toolchain transition is now enabled for all toolchains.
2762 - incompatible_disable_depset_items is flipped
2763 - The --experimental_existing_rules_immutable_view flag has been
2764 renamed to --incompatible_existing_rules_immutable_view
2765 - Bazel no longer supports Java 8. From this version on, the
2766 minimum required JDK is OpenJDK 11.
2767 - Deprecate --incompatible_applicable_licenses flag, in preparation
2768 for removal in Bazel 6.x.
2769 - Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
2770 - The Build Event Protocol now contains file digests and sizes
2771 along with the file name and URI.
2772 - Refactor system suspend event handling.
2773 - alias() can now select() directly on constraint_value()
2774 - Allow \a \b \f \v escape sequences in Starlark.
2775 - Match remote and local xcode version by most granular version.
2776 - Adds `--experimental_worker_multiplex_sandboxing` flag that
2777 controls whether to sandbox multiplex workers that support it.
2778 - provider() has a new parameter: init, a callback for performing
2779 pre-processing and validation of field values. Iff this parameter
2780 is set,
2781 provider() returns a tuple of 2 elements: the usual provider
2782 symbol (which,
2783 when called, invokes init) and a raw constructor (which bypasses
2784 init).
2785 - Tests that fail to create or complete their
2786 `TestAttemptContinuation` by
2787 throwing an `ExecException` will report an `INCOMPLETE` status.
2788 Previously, Bazel
2789 would fail to report any status for the test attempt.
2790 - Fixed an issue where Bazel could erroneously report a test passes
2791 in coverage mode without actually running the test.
2792 - Include more information about configurations in cquery proto
2793 formatted output. This deprecates the configuration field of
2794 AnalysisProtosV2.ConfiguredTarget, and adds a new field,
2795 configuration_id, to
2796 be used instead.
2797 - experimental cc_library.implementation_deps inverted to
2798 interface_deps
2799 - In aquery and cquery proto output, indicate if a configuration is
2800 a
2801 tool or non-tool configuration.
2802 - Include complete configurations in cquery proto output.
2803 - experimental cc_library.implementation_deps inverted to
2804 interface_deps
2805 - Make protocOpts() publicly accessible.
2806 - Add some documentation about how configuration information is
2807 conveyed in cquery proto output.
2808 - Introduces experimental static library linking API under
2809 apple_common.link_multi_arch_static_library
2810 - Further deprecation and removal of pkg_tar. Stop supporting
2811 legacy use of 'files' attribute, where it could be a list of
2812 labels instead of a map of paths to labels.
2813 - Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
2814 its purpose because --all_incompatible_changes would never set
2815 it. The last rule it gated (pkg_tar) is scheduled to be removed
2816 in Bazel 6.x.
2817 - Add coverage configuration fragment, used to expose
2818 output_generator label.
2819 - Bazel now no longer includes system headers on macOS in coverage
2820 reports (#14969).
2821 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
2822 $ANDROID_HOME.
2823 - The default dexer is now d8. dx can be optionally enabled using:
2824 --define=android_dexmerger_tool=dx_dexmerger \
2825 --define=android_incremental_dexing_tool=dx_dexbuilder \
2826 --define=android_standalone_dexing_tool=dx_compat_dx \
2827 --use_workers_with_dexbuilder
2828 - Packaging support for deploy JAR embedded JDK files (hermetic
2829 Java).
2830 - Don't stamp cc_common.link actions for tool dependencies.
2831 - Starlark test rules can use the new inherited_environment
2832 parameter of testing.TestEnvironment to specify environment
2833 variables
2834 whose values should be inherited from the shell environment.
2835 - Enable merging permissions during Android manifest merging with
2836 the --merge_android_manifest_permissions flag.
2837 - Allow specialization to work with constraint_values.
2838 - Bazel uses the D8 jar from Maven instead of the SDK.
2839 - Make ijar / java_import preserve classes with `@kotlin.Metadata`
2840 annotations
2841 - Switch cc_test implementation to Starlark. Note: cc_test will now
2842 link statically when _targeting_ Windows regardless of host
2843 platform (rather than always linking statically when Windows is
2844 the _host_).
2845 - Switch cc_test implementation to Starlark. Note: cc_test will now
2846 link statically when _targeting_ Windows regardless of host
2847 platform (rather than always linking statically when Windows is
2848 the _host_).
2849 - Add devtools/build/lib/worker:work_request_handlers to the remote
2850 android tools release package. This will be transitively packaged
2851 into all_android_tools.
2852 - Bazel uses the D8 jar from Maven instead of the SDK.
2853 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
2854 $ANDROID_HOME.
2855 - Advance android_tools_pkg version to 0.24.0.
2856 - Switch cc_test implementation to Starlark. Note: cc_test will now
2857 link statically when _targeting_ Windows regardless of host
2858 platform (rather
2859 than always linking statically when Windows is the _host_).
2860 - Bazel uses the D8 jar from Maven instead of the SDK.
2861 - "blaze config" now only reports info from the last build. To
2862 compare configurations across multiple builds, redirect "blaze
2863 config" output to a file and run your favorite diff tool.
2864 - The --incompatible_override_toolchain_transition flag is now
2865 always set, and will be removed in the future. Thus,
2866 --noincompatible_override_toolchain_transition has no effect, and
2867 the value of the incompatible_use_toolchain_transition parameter
2868 in aspect() and rule() builtins is ignored.
2869 - Switch cc_test implementation to Starlark. Note: cc_test will now
2870 link statically when _targeting_ Windows regardless of host
2871 platform (rather
2872 than always linking statically when Windows is the _host_).
2873 - Toolchain types may now be optional, in addition to mandatory.
2874 See https://bazel.build/docs/toolchains#optional-toolchains for
2875 further details.
2876 - Add six to deps of has_services=1 py_proto_librarys.
2877 - pkg_tar(symlinks) has been removed. Users needing that feature
2878 should
2879 migrate to @rules_pkg.
2880 - Aspects can now define and use exec groups using the same API as
2881 rules.
2882 - Removed the obsolete --incompatible_applicable_licenses flag. The
2883 feature is permanently enabled.
2884 - embedded_tools packages R8 desugarer again
2885 - Bazel now selects sh path based on execution platform instead of
2886 host platform, making it possible to execute sh actions in
2887 multiplatform builds. --shell_executable now only applies to
2888 actions configured for host.
2889 - labels in genquery.scope are no longer configured.
2890 - When Bzlmod is enabled, all Bzlmod-generated repos will have an
2891 extra '@' prepended to their names. This effectively enables the
2892 canonical label literal syntax for Bzlmod-generated repos
2893 (`@@canonicalRepoName//pkg:target`; see
2894 https://docs.google.com/document/d/1N81qfCa8oskCk5LqTW-LNthy6EBrDo
2895 t7bdUsjz6JFC4/edit?usp=sharing).
2896 - Exposed `CcSharedLibraryInfo` to Starlark builtins.
2897 - Enable --use_top_level_targets_for_symlinks by default.
2898 - Singlejar accepts runtime Created-By field
2899 - --noincompatible_disable_managed_directories, and with that,
2900 workspace(managed_directories=) is not supported anymore.
2901 - Bazel supports D8 desugaring, albeit without persistent workers
2902 - Remove mtime options from pkg_tar. Users should migrate to
2903 @rules_pkg.
2904 - Test for experimental multiplexed persistent resource processor.
2905 - Added new register_{execution_platforms,toolchains} directives to
2906 the MODULE.bazel file, to replace the
2907 {execution_platforms,toolchains}_to_register attributes on the
2908 module() directive.
2909 - The legacy pkg_tar no longer supports the ability to untar and
2910 repackage an input tar file (`deps` attribute). Users needed that
2911 capability must switch to github.com/bazelbuild/rules_pkg.
2912 - `cquery`'s new output mode
2913 [`--output=files`](https://bazel.build/docs/cquery#files-output)
2914 lists the output files of the targets matching the query. It
2915 takes the current value of `--output_groups` into account.
2916 - Change singlejar metadata to report Created-By Bazel
2917 - Add support for fetching RPC credentials from credential helper.
2918 - Revert interface_deps back to implementation_deps after problem
2919 reported in. Use `buildozer 'rename deps implementation_deps'
2920 //...:%cc_library; buildozer 'rename interface_deps deps'
2921 //...:%cc_library`
2922 - Fix for desugaring failure on Bazel+Android+Windows build
2923 scenario.
2924 - D8 is the default desugarer
2925 - Migrate main_dex_list_creator to D8 (DX deprecation)
2926 - --experimental_enable_bzlmod has been renamed --enable_bzlmod,
2927 and still defaults to false.
2928 - selects() no longer produce irrelevant duplicate label checks
2929 - Adds a dexer output cache to CompatDexBuilder to improve build
2930 speed.
2931 - Improved error messages when analyzing inline bzl code
2932 - Improved error messages when analyzing inline bzl code
2933 - The `@bazel_tools//tools/cpp:compiler` flag now has the value
2934 `gcc` if the configured compiler is detected to be gcc rather
2935 than the generic value `compiler`. A branch for `gcc` may have to
2936 be added to `select` statements that do not have a default case
2937 that handles gcc appropriately.
2938 - The `get_child` method of `path` now accepts an arbitrary
2939 number of relative path strings as positional arguments.
2940 - SourceManifestAction supports `Action.content`
2941 - Add --incompatible_build_transitive_python_runfiles alias. See
2942 #16303
2943 - The @bazel_tools//tools/cpp:compiler flag now has the value
2944 `clang` for the auto-configured Xcode toolchain rather than the
2945 generic value compiler. A branch for `clang` may have to be added
2946 to select statements that do not have a default case that handles
2947 this toolchain appropriately.
2948 - added additional debug message to warn of skipped toolchains
2949 during resolution
2950 - The deprecated --remote_allow_symlink_upload flag has been
2951 removed. Symlinks in local action outputs are always permitted,
2952 even with remote caching. Whether they're uploaded as symlinks or
2953 as the files/directories they point to is still determined by the
2954 --incompatible_remote_symlinks flag.
2955 - Added `struct`, `json`, `proto`, and `depset` to the starlark
2956 environment of Bazel's cquery (--output=starlark) command
2957 - Added three `package_group`-related flags:
2958 `--incompatible_package_group_includes_double_slash` (#16391),
2959 `--incompatible_package_group_has_public_syntax` (#16355), and
2960 `--incompatible_fix_package_group_reporoot_syntax` (#16323). With
2961 these flags, `package_group` can now easily specify "all
2962 packages", "no packages", and "all packages in the current repo".
2963 - Record hermetic packaged JDK modules file size in deploy JAR
2964 manifest 'JDK-Lib-Modules-Size' attribute.
2965 - .bzl files may now set a visibility to guard what other .bzl and
2966 BUILD files may load them. See [...] for more information.
2967 - Deletes the --extra_proguard_specs Blaze flag
2968 - The new path variable `$(rlocationpath ...)` and its plural form
2969 `$(rlocationpaths ...)` can be used to expand labels to the paths
2970 accepted by the `Rlocation` function of runfiles libraries. This
2971 is the preferred way to access data dependencies at runtime and
2972 works on all platforms, even when runfiles are not enabled (e.g.,
2973 on Windows by default).
2974 - Starlark `print()` statements are now emitted iff the line of
2975 code is executed. They are no longer replayed on subsequent
2976 invocations unless the Starlark code is re-executed.
2977 Additionally, multiple identical `print()` statements (same
2978 string from the same line of code, e.g. from a loop) are all
2979 emitted and no longer deduplicated.
2980 - Fixes a bug where some compilation flags would not be applied to
2981 a cc_test
2982 - removed outdated ctx.host_fragments
2983 - removed outdated ctx.host_configuration
2984 - Now that the host configuration is finished, `genrule` should
2985 prefer the use of `tools` and stop using `exec_tools`.
2986 - Added a `native.package_relative_label()` function, which
2987 converts a label string to a Label object in the context of the
2988 calling package, in contrast to `Label()`, which does so in the
2989 context of the current .bzl file. Both functions now also accept
2990 relative labels such as `:foo`, and are idempotent.
2991 - Update Android manifest merger to v30.1.3, and also drop support
2992 for legacy (pre-D8) desugaring.
2993 - Adds coverage metric support to android_local_test
2994 - Correctly encode double value positive infinity as "inf" instead
2995 of "+inf" for textprotos.
2996 - Add --use_target_platform_for_tests which uses the target
2997 platform for executing tests instead of the execution platform.
2998 - Custom C++ rules on Windows calling
2999 cc_common.create_linking_context_from_compilation_outputs should
3000 review whether each target of the rule type should produce a
3001 dynamic library since a condition which blocked their creation
3002 has been moved to the rules from behind the API.
3003 - Add flag `--experimental_remote_cache_ttl` and set the default
3004 value to 3 hours.
3005 - making --incompatible_use_platforms_repo_for_constraints do
3006 nothing. Using constraints from @bazel_tools//platforms with or
3007 without the flag will throw error with message "Constraints from
3008 @bazel_tools//platforms have been removed. Please use constraints
3009 from @platforms repository embedded in Bazel, or preferably
3010 declare dependency on https://github.com/bazelbuild/platforms"
3011 - Fixed an issue where WORKSPACE and WORKSPACE-loaded .bzl files
3012 couldn't see the Bzlmod root module's mappings when Bzlmod is
3013 enabled.
3014 - Subsequent settings of --extra_execution_platforms now override
3015 previous settings, instead of adding them to a list. If you
3016 currently set --extra_execution_platforms more than once, please
3017 migrate by passing a list of values to
3018 --extra_execution_platforms instead so that earlier values aren't
3019 overwritten.
3020 - @bazel_tools//config:common_settings.bzl has been removed.
3021 Use @bazel_skylib//rules:common_settings.bzl instead.
3022 - cc_shared_library is no longer experimental, see
3023 https://github.com/bazelbuild/bazel/issues/16709 for details
3024 - The flag `--distinct_host_configuration` is removed. It has been
3025 a no-op since Bazel 6.0.0.
3026 - Added `native.module_name()` and `native.module_version()` to
3027 allow BUILD macro authors to acquire information about which
3028 Bazel module the current repo is associated with.
3029 - Add `--skip_incompatible_explicit_targets` option
3030 - Remove 'darwin' as a CPU value, use 'darwin_x86_64' instead
3031 - cc_test can now be configured by using a native.toolchain().
3032 - `@foo` labels can now be used on the command line as the
3033 top-level target (that is, `bazel build @foo` now works).
3034 Double-dot syntax is now forbidden (`bazel build ../foo` will no
3035 longer work).
3036 - The location of rules that explicitly specify `generator_name`
3037 and/or `generator_function` attributes (typically because they
3038 are incidentally copied from `native.existing_rule()`) is now the
3039 top-level call in the `BUILD` file, which is consistent with
3040 rules that do not explicitly specify these attributes.
3041 - Warnings (most notably those associated with the `deprecation`
3042 rule attribute) are no longer replayed on subsequent invocations
3043 unless the target in question is re-analyzed. Warnings are purely
3044 informational, so this change has no bearing on the correctness
3045 of the build. Downstream tests that break due to this change
3046 should update their expectations.
3047 - `--experimental_remote_build_event_upload` has been renamed to
3048 `--remote_build_event_upload`
3049 - [Breaking change] platform, constraint_setting, and
3050 constraint_value can no longer take an applicable_licenses value.
3051 Remediation is to remove the attribute and rely on the package
3052 level default.
3053 - `--experimental_action_cache_store_output_metadata` has been
3054 renamed to `--action_cache_store_output_metadata`
3055 - Changed the default value for `--remote_build_event_upload` to
3056 `minimal`.
3057 - `--experimental_remote_cache_compression` has been renamed to
3058 `--remote_cache_compression`
3059 - The REPO.bazel and MODULE.bazel files are now also considered
3060 workspace boundary markers.
3061
3062This release contains contributions from many people at Google, as well as Adam Azarchs, Adam Lavin, Adam Liddell, Adam Singer, Adam Wolf, Albert Lloveras, Alessandro Patti, Alex Eagle, Alex Eagle, Alex Eagle, Alex Scott, AlexTereshenkov, Alex Torok, Amanda L Martin, Andreas Fuchs, Andreas Herrmann, Andreas Herrmann, Andrew Katson, Andrew Klotz, Andy Hamon, Ankush Goyal, Anthony Pratti, Anthony Ter-Saakov, Ara Nguyen, Artem V. Navrotskiy, Artem Zinnatullin, arunkumar9t2, arun.sampathkumar, aryeh, Ast-x64, Austin Schuh, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Benjamin Peterson, Benjamin Sigonneau, Ben Lee, Bohdan Vanieiev, Bo Zhang, Bo Zhang, Bradley Burns, Brandon Duffany, Brandon Jacklyn, Brentley Jones, Brentley Jones, bromano, Cameron Mulhern, Chad Miller, Charles-Francois Natali, Chirag Ramani, Chris Clearwater, Chris Fredrickson, Christopher Peterson Sauer, Christopher Rydell, Christopher Sauer, ckiffel, Cristian Hancila, crydell-ericsson, Dan Bamikiya, Dan Fleming, Daniel Grunwald, Daniel KT, Daniel McCarney, Daniel Wagner-Hall, Danny Wolf, Dave MacLachlan, Dave Nicponski, David Cummings, David, David Ostrovsky, David Sanderson, Delwin9999, Denys Kurylenko, dhmemi, Dimi Shahbaz, divanorama, dmaclach, Dmitry Ivankov, dorranh, ecngtng, Ed Schouten, Eitan Adler, Elliotte Rusty Harold, Emil Kattainen, erenon, Eric Cousineau, Eric Song, Eric Wendelin, Ethan Steinberg, Ezekiel Warren, Fabian Brandstetter, Fabian Meumertzheim, Fabian Meumertzheim, FaBrand, Fahrzin Hemmati, Fahrzin Hemmati, Felix Ehrenpfort, Finn Ball, floriographygoth, frazze-jobb, Fredrik Medley, Garrett Holmstrom, Gaspare Vitta, Gautam Korlam, George Gensure, George Prekas, gkgoat1, gkorlam, goodspark, Greg Estren, Greg, Greg Magolan, Gregory Fong, Greg Roodt, Grzegorz Lukasik, Grzegorz Lukasik, Halil Sener, Halil Sener, Hannes Kufler, Hao Yuan, homuler, hvadehra, hvd, Igor Nazarenko, Ikko Ashimine, Jack Dai, James Broadhead, James Ma, Jan, Jason Tan, Jay Bazuzi, Jeremy Volkman, Jesse Chan, jheaff1, Jiawen Chen, Joe Lencioni, Joel Jeske, Joel Williamson, Johannes Abt, John Hinnegan, John Laxson, John Laxson, John Millikin, Jonathan Gerrish, Jonathan Schear, Jon Landis, Jon Parise, jonrose-dev, Jon Shea, Jordan, juanchoviedo, Julio Merino, Justus Tumacder, Kaiqin Chen, keertk, Keith Smiley, kekxv, Ken Micklas, Kevin Hogeland, Kevin Lin, Kirill Zabelin, Kiron, Konstantin Erman, Krishna Ersson, Krzysztof Naglik, kshyanashree, Kun-Lu, Lauri Peltonen, Lee Mracek, lihu, Liu Liu, lripoche, Lszl Csomor, Luc Bertrand, Luis Fernando Pino Duque, m, Malte Poll, Marc Zych, Marc Zych, Marek uppa, Mark Karpov, Masoud Koleini, Mathieu Olivari, Matt Clarkson, Matt Mackay, Mauricio Galindo, Max Liu, Maxwell Elliott, Menny Even Danan, menny, Michael Chinen, Michael P. Nitowski, Mikhail Balabin, mohamadk, Mostyn Bramley-Moore, Nathaniel Brough, nathyong, Nick Korostelev, Niek Peeters, Nikolay Shelukhin, Nitesh Anandan, Niyas Sait, Noa Resare, odisseus, Oleh Stolyar, Olek Wojnar, Oliver Lee, Olle Lundberg, Omar Zuniga, Oscar Bonilla, Patrick Balestra, Patrick Balestra, Paul Gschwendtner, Paul Tarjan, Peter Kasting, Peter Mounce, Philipp Schrader, Pras Velagapudi, Qais Patankar, Rabi Shanker Guha, Rahul Butani, Rai, Rajeshwar Reddy T, Red Daly, redwrasse, Rifqi Mulya Fahmi, robincaloudis, Robin Tweedie, Roger Hu, Roman Salvador, ron-stripe, rustberry, Ryan Beasley, Ryan Schmidt, Sagar Pathare, Sahin Yort, Saleem Abdulrasool, samhowes, Samuel Giddins, Sara Adams, Sascha Moecker, Sebastian Olsson, Sergey Tyurin, Severin Strobl, Shuai Zhang, Siddhesh Bhupendra Kuakde, Simon Bjorklen, Simon Mavi Stewart, something_vague, Son Luong Ngoc, Stephan Wolski, Steve Siano, steve-the-bayesian, Steve Vermeulen, Stiopa Koltsov, susinmotion, Sven Tiffe, Takeo Sawada, Tao Wang, tatiana, tbaing, Ted Kaplan, Ted Kaplan, Tetsuo Kiso, Thaler Benedek, Thi Doan, Thi Doan, Thi Don, Thomas Carmet, Thomas Chen, ThomasCJY, Thomas, Thomas Zayouna, Thulio Ferraz Assis, Timothe Peignier, Timothy Klim, Tobi, Tomas Volf, Tom Cnops, Tom de Goede, Torgil Svensson, Trustin Lee, Ulf Adams, Ulf Adams, Ulrik Falklof, Uri Baghin, Vaidas Pilkauskas, vardaro, Vasilios Pantazopoulos, Vertexwahn, Vladimir Tagakov, Waleed Khan, William Muir, wisechengyi, Wren Turkal, Xavier Bonaventura, Xdng Yng, Xiangquan Xiao, Yannic Bonenberger, Yannic Bonenberger, Yannic, Yannic, Yesudeep Mangalapilly, Yi Cheng, Yury Evtikhov, Yuval Kaplan, Yuval K, Yuval, yuzhy8701, Zhongpeng Lin, [zqzzq].
3063
Bazel Release Systemb2c1cac2023-04-20 11:49:54 +00003064## Release 4.2.4 (2023-04-20)
3065
3066```
3067Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
3068
3069Cherry picks:
3070
3071 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
3072 Use getRunfilesPath for run_under executable path generation.
3073 getRootRelativePath doesn't return a valid runfiles path for
3074 external source files anymore after the recent external source
3075 root change. Also, it won't work for external labels either once
3076 the --nolegacy_external_runfiles becomes default. This fixes
3077 issue #12545.
3078 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
3079 Fix NPE when coveragerunner is not set on the toolchain.
3080 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
3081 Fix the classic query package-loading cutoff optimization with
3082 external workspaces.
3083 + d113d7454127bba78aa618dac81e5d164920b662:
3084 Update turbine
3085 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
3086 Support Scala3 .tasty files
3087 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
3088 Update to java_tools javac11 release 10.5 (#12647)
3089 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
3090 Fix common prefix for instrumentation filter
3091 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
3092 Fix builds for filegroup targets with incompatible dependencies
3093 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
3094 Revert "Remove
3095 --incompatible_blacklisted_protos_requires_proto_info"
3096 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
3097 Transform roots along with paths during output deletion.
3098 + e8835c1c221d76a2d5532d18083eaa04401619b3:
3099 AttributeContainer.Large now handles more than 127 attributes.
3100 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
3101 Add an env attribute to all test and binary rule classes
3102 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
3103 Take no action to prefetch empty artifacts.
3104 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
3105 Fix a couple of bugs with Incompatible Target Skipping
3106 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
3107 Pass --host_action_env to host options hostActionEnvironment
3108 attribute
3109 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
3110 Add --{no,}autodetect_server_javabase.
3111 + c83366064621d5a265eba14d93a03deff58fe6d8:
3112 Only treat "env" and "env_inherit" attrs specially for native
3113 rules
3114 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
3115 Fix coverage support when using default_java_toolchain. (#12801)
3116 + 4158a6f512e52516437e00f8d9609a91be7fc195:
3117 Revert JacocoCoverage target to remote_java_tools_java_import
3118 and add a new target for remore_java_tools_filegroup. (#12813)
3119 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
3120 Add windows_msvc back to conditions in bazel_tools.
3121 + 6b33bdb1e22514304c0e35ce8e067f2175685245:
3122 Release 4.0.0 (2021-01-21)
3123 + 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
3124 Fix error message from getPrerequisites to not print internal
3125 details.
3126 + 27e15ad11410eb1014f5247fd0eeb31a46733c07:
3127 Clean up ConfiguredTargetValueAccessor and
3128 ConfiguredTargetAccessor
3129 + e87feb8ac9573cef993824f82370d0389570521d:
3130 Move getConfigConditions into ConfiguredTarget.
3131 + 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
3132 Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
3133 value.
3134 + 079bb7d69931705bb2b092c9017090e224ef3043:
3135 Clean up old dependencies that are unused since
3136 https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
3137 5ef5702880d5ac7c5c.
3138 + e03cb63e059420847d6578d7cbfe93f05615c95e:
3139 Update bazelbuild/platforms to a current release. - Roll forward
3140 https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
3141 7f925cf88e0cd5b76a with kythe fix.
3142 + 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
3143 Update docs and tests to use the @platforms//:incompatible
3144 constraint
3145 + c71697cf33b0fbbb42fc2910bac83960edc7e855:
3146 Clarify test_suite behaviour in the Platforms docs
3147 + dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
3148 Enable toolchain resolution for filegroup targets.
3149 + 24d086446f74606819dc53c3a436caa056ff05b7:
3150 PlatformProviderUtils should ignore targets that don't have the
3151 needed
3152 + ba60c0b3f9bbd00975c984244839b155e84b4c5d:
3153 ijar: fix manifest sections handling
3154 + 58bb42ad7ca263a75c6eeef51482f805726663a5:
3155 Revert "Switch to -fdebug-compilation-dir"
3156 + bef4bbbb47d47befe3711d06f358782ee12554f9:
3157 Update turbine
3158 + ad241fbebd90a9f0ad65ccd0658838f57030db68:
3159 Allow cquery to filter out incompatible targets
3160 + 1782f0ae751569607ef88930c822ac460a1f8bb3:
3161 Patch grpc to fix cares selecting the wrong source when building
3162 for darwin_arm64 cpu.
3163 + 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
3164 [1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
3165 blobs
3166 + 848a51747a460ab4c5185e4c61ab522a9981cbea:
3167 [2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
3168 blobs
3169 + 9b30172547f2093acb56aedf159a77d5dceffda2:
3170 [3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
3171 blobs
3172 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
3173 Allow exec groups to inherit from the rule or other exec groups.
3174 + d0676693310215407224c1b8e8aea9e3eddc183d:
3175 Support execution constraints per exec group
3176 + f1e0d346c8235c855e61afc2adb870e4b895e002:
3177 Clean up RuleContext to use a Table instead of a Map of Maps.
3178 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
3179 Documentation for #13110
3180 + 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
3181 Prevent --repo_env from triggering unnecessary fetches
3182 + 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
3183 Prevent a crash when using --repo_env=VAR without a value
3184 + 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
3185 Report digest of failed uploads
3186 + 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
3187 Status error presentation with details
3188 + 9a70805db543e2fb910e1c55ef3b3567362adf30:
3189 Fix double shutdown of BuildEventArtifactUploader when BES+File
3190 output enabled.
3191 + 325eb956c92530bdfda54a36a186cae4245a4f7b:
3192 Add rxjava3 to third_party
3193 + ceaac966a7b977461b69ce9501df6a467f4a93b2:
3194 remote: set executable bit of an input file based on its real
3195 value
3196 + 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
3197 Remote: correctly implement equals and hashCode.
3198 + 48648503729d53fdee1322fde2c8e6c05e99cff9:
3199 Fixed an error that bazel binary is not executable when testing
3200 with remote execution.
3201 + bc54c648aa1f99509c7c36d5e6b570d066689209:
3202 Remote: Use parameters instead of thread-local storage to
3203 provide tracing metadata.
3204 + 92955e617b5c41713a5163dc0437c2a024b31815:
3205 Remote: Use parameters instead of thread-local storage to
3206 provide tracing metadata. (Part 2)
3207 + 75bd1ff8ab56d241916bde36291301fa026b2bab:
3208 Remote: Use parameters instead of thread-local storage to
3209 provide tracing metadata. (Part 3)
3210 + 37ee252f3744abc4511f55b5089cc52abd3ba09d:
3211 Remote: Use parameters instead of thread-local storage to
3212 provide tracing metadata. (Part 4)
3213 + 71e35b165f924e2649a078fcf6007645d58039af:
3214 Remote: Use parameters instead of thread-local storage to
3215 provide tracing metadata. (Part 5)
3216 + 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
3217 Write/QueryWriteStatus logging refinement/addition
3218 + 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
3219 Remote: gRPC load balancing. (Part 1)
3220 + e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
3221 Remote: gRPC load balancing. (Part 2)
3222 + 6667ad7dd77f8d97952133052c17e7779c1430ec:
3223 Remote: gRPC load balancing. (Part 3)
3224 + 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
3225 Remote: gRPC load balancing. (Part 4)
3226 + 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
3227 Implement getMessage for BulkTransferException
3228 + a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
3229 Remote: gRPC load balancing. (Part 5)
3230 + 7a62c2d4e27e398f440910c81eacc384f38ca8be:
3231 Remote: Add interoperability between Rx and ListenableFuture.
3232 + 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
3233 Update to latest remote-execution proto
3234 + dad96301d12aa77eb67399e08265a5f30f5ffd6a:
3235 Set Platform on Action not just Command
3236 + 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
3237 Remote: Add AsyncTaskCache which is used to deduplicate task
3238 executions and cache the results.
3239 + 9d0c7325ac810febe565a62fdd875ae0c240b274:
3240 Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
3241 + f54fe07209acc25340df8d2e02993b1add2deafa:
3242 Add --experimental_repository_disable_download to allow users
3243 disable download for external repos
3244 + b243584a479eb4481a9bf4f69acc899610a3b630:
3245 Report errors parsing rewriter config file
3246 + 63bc1c7d0853dc187e4b96a490d733fb29f79664:
3247 Downloader rewriter config has all_blocked_message
3248 + 495ac923f398443be45c20ab29d183fe47e08911:
3249 Allow UrlRewriter to change protocol, i.e. https->http, and
3250 http->https
3251 + 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
3252 Allow overriding the hostname and instance name in bytestream://
3253 URIs
3254 + 0881c80d29acecdfbb58c49156f805e8c50db117:
3255 Don't set requestId on non-multiplex requests.
3256 + e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
3257 When generating a symlink in _virtual_includes, add the original
3258 header to the 'allowed to use' set too
3259 + f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
3260 Make SimpleLogHandler not swallow interrupts.
3261 + f8606e5e76579442a1c6563e718ea54c673f1a04:
3262 linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
3263 + dac0d40d0eb903f5cb70341398d1a333c19adf3a:
3264 Improve "Common Attributes" section
3265 + a607d9dc70ac67f1aa2c32ca954177f9c77860be:
3266 Never create more than one process per WorkerMultiplexer.
3267 + 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
3268 Move sending requests and reading responses for multiplex
3269 workers into separate subthreads.
3270 + 003cfcde3fd3901c1279ba1db3db3a14536248b4:
3271 Allow use of JSON protocol in multiplex workers.
3272 + 308bce36cba46095fe41866e703710035ddddada:
3273 Actively kill off still-active workers when stopping work on
3274 interrupt.
3275 + 8959dff512fe4505af786bcf2ef981ec7082a913:
3276 Add sanitizer support to Apple platforms
3277 + 32f16e9360f3e1856db1775eb5014b930da2a303:
3278 Fix a Google-internal broken link.
3279 + c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
3280 Add SHA-1 to subresource integrity format for download()
3281 checksums
3282 + 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
3283 Remove fallback strategy support for workers, add flag for it in
3284 sandbox.
3285 + 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
3286 Update to java_tools javac11 10.6 (#13245)
3287 + 4928295b236ec8f590a7e9d863502bc2f50a77d9:
3288 Allow .S files in C++ Starlark cc_common.compile.
3289 + 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
3290 Automatic code cleanup.
3291 + b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
3292 Change short output of worker type to have the same logic as the
3293 worker creation for sandboxing vs. multiplex.
3294 + e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
3295 More properly destroy workers on interrupt.
3296 + 7056711eb11b672133274eb29fc93b01dcf088d5:
3297 Make WorkRequestHandler do a GC after some amount of CPU time
3298 has been used on requests. For Bazel and Blaze, defaults to 10s
3299 based on benchmarking.
3300 + 596653d3cf76e7b208da343e1fde5fe20273a5ff:
3301 Allow tree artifacts to be source or header inputs to
3302 cc_common.compile()
3303 + 055c93d11ab20cc4479539b24bbdfa5cab78a342:
3304 Switch to path autocompletion after -- for bazel run commands.
3305 + 807f2a1929e23b60b237c63fadb25af81de2e3c3:
3306 Fix Incompatible Target Skipping for test args
3307 + 9a5cd854e0613f91d52075973e2454b1e009e1ef:
3308 Fix order of build request id and command id
3309 + 706f5acd02363e48076dc97e37613fd968932d03:
3310 Fix bazel crash when passing config_setting to
3311 target_compatible_with
3312 + 61da1d2bf10eabba4c75de959b0374f302d89d70:
3313 Support multiple --bazelrc on command line
3314 + 5593358a58b66f06c4e421bb48856de94c3fd625:
3315 Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
3316 to
3317 + 662cf54de7a103db30e04ebae2d2b919437c4846:
3318 Remote: Fix an issue that a failed action could lead to
3319 RuntimeException caused by InterruptedException thrown when
3320 acquiring gRPC connections.
3321 https://github.com/bazelbuild/bazel/issues/13239
3322 + a3a1763212f29932618b9b9b2f929976ae0e3b6e:
3323 Pass more `--add-exports=` flags
3324 + d2b942879471786e82f1c96eea8722bbe7919fc1:
3325 Remote: Fixed a bug that remote cache is missed due to
3326 executable bit is changed
3327 + 616dc264f02907d7b7887285d22307dfe6d097b6:
3328 Fix Bazel Coverage with C++ to work with Remote Execution
3329 + 5f40d12e741aa30d506eaa15673fb2ae76d29468:
3330 Fix external_path_test with newer Xcode versions.
3331 + b416193075642017e13c774422b49cb07fb65c23:
3332 Allow using embedded tools in sandboxed spawn runners.
3333 + eb762d4e7431637e607146b1c191485795047ef9:
3334 Fix racy write of temporary files while staging virtual inputs
3335 for the sandbox.
3336 + f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
3337 Update platforms_test to not rely on filegroup not using
3338 toolchain
3339 + 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
3340 Update SkyframeTests to not rely on filegroup not using toolchain
3341 + 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
3342 Update ConfigurableAttributesTest to not rely on filegroup not
3343 using …
3344 + 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
3345 Make WorkerExecRoot not be a subclass of SandboxedSpawn.
3346 + 31db460a45767de0bcd664a6efbe9d163b85b802:
3347 Make WorkerExecRoot not be re-created on each createFileSystem()
3348 call. Preparation for holding a map of existing links, but also
3349 just nicer.
3350 + a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
3351 Start the file existence check traversal from the execroot base
3352 instead of execroot so that external repo files at
3353 "<execroot>/../<path>" are correctly handled when the sibling
3354 repository layout is enabled.
3355 + b048282c7893231d3a7191b251804973917b07a4:
3356 Use readdir for cleanExisting in WorkerExecRoot.
3357 + 270f00dd01fa06cf3e813da5a406be3446de7377:
3358 Add native support for Apple Silicon
3359 + 8e56b9423e8ad2f7323fb90b19b73858def81e39:
3360 Explicitly state that embedding macOS OpenJDK is for x86_64
3361 + 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
3362 Remote: Fix a race that AsyncTaskCache#Execution could be reused
3363 after disposed which results in
3364 CancellationException("disposed") propagated to downstream.
3365 + 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
3366 Remove wrapped_clang params files after use
3367 + 47edc57806056f3c8764241ed41b8acc72bd2ebf:
3368 Silence swiftmodule timestamp warnings
3369 + f6e1074b09ebefba185c0531e9cea26b9596c8a9:
3370 Remote: Use shutdownNow() instead of shutdown() in
3371 ChannelConnection#close() as a workaround to a gRPC bug.
3372 + 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
3373 And mnemonic and label to remote metadata
3374 + 615e1b16a81b0defc15699ec8027d6ddd70366d1:
3375 Change `set -x` in coverage to be set by var
3376 + fe4daea99c8cd163793eca84bfb12c8fc437616b:
3377 Bump minimal JDK install base maximum size from 290 to 295 MB.
3378 + 4840a68cd273a429e46d4114a3973fd11d0e3583:
3379 Remote: Check the return value of ActionOwner.getLabel() since
3380 it could be `null`.
3381 + 14abe4fd7c3967686a3536939fdc3882e691bca2:
3382 Allow `DiffAwareness` to share precomputed information about the
3383 workspace and propagate it to the `WorkspaceStatusAction`.
3384 + 082d98772690946ed29c157e60640c97a6e1195b:
3385 Implement available() method for Windows subprocesses.
3386 + c2bdd034014f66ce14529cc353cda18a32320f6c:
3387 Move --repo_env to common options
3388 + e09f2743738044095b9d784ea62df16b7f5750e6:
3389 Revert "Documentation for #13110"
3390 + a165baa250652fdc865ae0df39160be1f7f74c47:
3391 Revert "Clean up RuleContext to use a Table instead of a Map of
3392 Maps."
3393 + 51fb9e13a864f4f704ae378ea632433bae7ddc31:
3394 Revert "Support execution constraints per exec group"
3395 + cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
3396 Revert "Allow exec groups to inherit from the rule or other exec
3397 groups."
3398 + 2ac6581aeaab33ba506fce96dfa6a75eaa819233:
3399 Release 4.1.0 (2021-05-21)
3400 + 7a0f36e3f0a21fed8857efbaa51ded2dbdeefab6:
3401 Change gceMachineType of highcpu platform from n1-highcpu-32 to
3402 e2-highcpu-32
3403 + 19491a91143f0c6132aca62c5ae40ab72e9dc0e2:
3404 Fix #10127: Remove Python 2 dependency from tools/android.
3405 + 80c59dea59d4dce39d4b5d21665c3d7313197358:
3406 fix main repo starlark options parsing - now flags passed on the
3407 command line as --@main_workspace//flag and --//flag will both
3408 parse to --//flag. Before this CL, the former maintained its
3409 workspace prefix and we would get different entries for these
3410 two formats.
3411 + 451b296c3aceb127ebb4a313b6e9608854fa68fa:
3412 Update threshold for long path shortening to be MAX_PATH - 4
3413 + 671e0489a5bd6d5abb4dcd9bcfc85134cee38385:
3414 Force source files to be readable before copying them from
3415 sandbox.
3416 + 6080c1e07f4229ea72eacd04faa9302e44955a84:
3417 Let workers finish lost races without delaying dynamic execution.
3418 + ee738dacb5d0089d3f57b15305057cb9ba675e74:
3419 Fix label_flag and label_setting to not have a dependency on the
3420 default
3421 + 74de0ba4e79341c77b8b85ff4485f92287b6854c:
3422 Java coverage: fix handling of external files
3423 + 48eee8b4b447a2ad11df28dd81a2ccb65562b5f5:
3424 [Bazel] Fix mobile-install for python2
3425 + 763dd0ce6e1644bf895231432f616427a11d385a:
3426 Add `stub_shebang` to `py_runtime`
3427 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
3428 Move use of legacy sandbox -> local fallback to only be used
3429 after all strategies have been tried, and improve messages
3430 around it.
3431 + 6dc941e58dfc1d4a9714a76b921fbe11fce658ed:
3432 Remove restriction on generate_pdb_file to be only used in dbg
3433 and fastbuild mode
3434 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
3435 Check the result of Future.cancel() when cancelling the other
3436 branch of dynamic execution.
3437 + aaae8ce2881c8c1a5d4ad64f20d6e71aa372cf2e:
3438 Update DEFAULT_MACOS_CPU to match host
3439 + 2f0927a4fd9342f4dcfd43475d3f1c90c523584f:
3440 Fix symlink creation on older Windows versions
3441 + fd9cffdcaf05551126e66f1cd62815eaa1af6bd9:
3442 Suppress interrupted status during pool closure
3443 + 33903d28bcea0005adf9b2a8cc4659c5e2999bbe:
3444 Fix Windows developer mode symlinks
3445 + 0cd1666721bdbe988dc361c085bb43cbd41a27f3:
3446 Respect Starlark options with values in `removeStarlarkOptions()`
3447 + 7920ffef472b25db3f4e564e5a3a28a4664c666e:
3448 cquery inherits from `test` not `build`
3449 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
3450 Allow exec groups to inherit from the rule or other exec groups.
3451 + d0676693310215407224c1b8e8aea9e3eddc183d:
3452 Support execution constraints per exec group
3453 + f1e0d346c8235c855e61afc2adb870e4b895e002:
3454 Clean up RuleContext to use a Table instead of a Map of Maps.
3455 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
3456 Documentation for #13110
3457 + e376580ae4e9ad5bddc196bfb6ad3127e3ff561b:
3458 Split ExecGroup into a new target.
3459 + 0cbb8a863522d2f77ab6b67a01e39b19a9a81807:
3460 Create a new interface to allow Starlark objects to get a thread
3461 when getIndex is called.
3462 + d2e21cec31f09b27ef3589f47b0779f34077ca7e:
3463 Renamed ExecGroupCollection to clarify that it is only for
3464 Starlark usage.
3465 + b9519f92f8ce096107164ca5075feced0e989de7:
3466 Make StarlarkExecGroupContext use AutoValue.
3467 + 52b1b748b2368820bac2ca94323fb82c39c00e51:
3468 Use a dummy toolchain context for rules that don't have one.
3469 + 41877d0fefe3f021f3ff6d4ce398d0deb27157e6:
3470 Extract a separate StarlarkToolchainContext for starlark-only
3471 operations.
3472 + b120d4febc571f17e12501ad87fbff32ef94e9bb:
3473 Fix toolchains to support type lookup.
3474 + dc140d0b6119950dd4a7d71b125b15a78bacc8ce:
3475 Move DEFAULT_EXEC_GROUP_NAME from ToolchainCollection to
3476 ExecGroup.
3477 + 9b18d951a52819f1998ddfdc1739fa1b5bf0353d:
3478 Rename ToolchainCollection.getExecGroups to getExecGroupNames.
3479 + 10d4473bf476a587e3d9f9b2214581ec420c1919:
3480 BuildViewForTesting should directly call into
3481 ConfiguredTargetFunction.
3482 + 58a6fb1f8739e39125cc8c647f28cff2e79fe9aa:
3483 Move exec group tests out of platforms_test and into integration.
3484 + 7d5493d922761c3ce0037f0025912cc532c55ad7:
3485 Update creating exec groups that explicitly copy from defaults.
3486 + 8c6382a81237e72dbec24b3850df9481461e0015:
3487 Create a new ExecGroupCollection container to manage exec group
3488 inheritance and exec property parsing.
3489 + b4b0c321910bc968736ef48e8140528ea7d323cd:
3490 Fix unix toolchain for macos arm64 platform
3491 + f64f071f44394a33a1be40cb7642e2c881d1e9bb:
3492 Add `required_providers` attribute to Starlark defined aspects.
3493 + f2cbdcf67ac1990f05a8241ba8dae65795edac82:
3494 Don't ever claim /dev/null is an execpath.
3495 + ceec93c35ead1bd487e96a5fee46e8d080f88858:
3496 Don't ever claim /dev/null is an execpath.
3497 + 1f3f9f4c4b2eded90518aacd1b0b80c1b0dfd1c5:
3498 Use the parent directory of the exec root as the input root on
3499 RBE.
3500 + 4efeac9cb5f85325ed73f64e133a078c483cac01:
3501 Make the Merkle tree computation work in the wake of
3502 https://github.com/bazelbuild/bazel/commit/7149f578006a4ad0d51df6
3503 9830a6986749b34df5 .
3504 + b56a2aa709dcb681cfc3faa148a702015ec631d5:
3505 Remote: Use execRoot as input root and do NOT set working
3506 directory by default.
3507 + ae53991f2e207edacd1352ba94261e2473b79f14:
3508 Remote: Add RemoteExecutionService as a layer between spawn
3509 execution and remote execution.
3510 + 0c07c2e6571dd4806552213b2237ecb7a908afa4:
3511 Remote: Add remoteCacheable key to execution log
3512 + 5e617d83f3aab1fd36b07be4b58aba58604cc46e:
3513 Remote: Register "remote" strategy even if remote execution is
3514 not available.
3515 + 4ca8946a8e1c4c2fd48d8fb8ce38adb8b282fef0:
3516 Remote: Add --experimental_capture_corrupted_outputs flag.
3517 + 97d7b4c277814d73b50450b03f4bb160ce7e99b4:
3518 Remote: Report checking cache status before the action is
3519 scheduled to run remotely.
3520 + ba5b2a7c9448a3681a0d86d80670447e338a06dc:
3521 when writing to local disk cache, open files later in order to
3522 avoid "too many open files"
3523 + 3551898849a93306ad9b4dfdd7d4667913098efe:
3524 Propagate test envs to xml generation action
3525 + 9f8c678d7054548865f56f3464f778c751657074:
3526 Remote: Fix a bug that the XML generation is executed even if
3527 test.xml is generated when build with --remote_download_minimal.
3528 + af42653e6f6bd229142f4678bb256a8c397b4d8d:
3529 Automatic code cleanup.
3530 + 07a84ce31d9b09853c63c7e373418696dd285dc5:
3531 Remote: Another attempt to fix the CancellationException error
3532 in AsyncTaskCache caused by a race condition.
3533 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
3534 Remote: Display download progress when actions are downloading
3535 outputs from remote cache.
3536 + 18c82168433719b400a705a4a0222969a7a026ba:
3537 Remote: Do not upload empty output to remote cache.
3538 + 6a138a60e562beeef36003c4814a6b8ce9f253f6:
3539 Fix compiling errors
3540 + bcce6dd026e90336e80616a8c1004a79a2f8640c:
3541 Add the TEMP_FAILURE_RETRY macro to linux-sandbox-pid1.cc.
3542 + c8c0d94a49e1b865d95c6d245c2d152c7c7c9722:
3543 Export proguard specs from aar_import
3544 + 1a0285c3b64b121268ced3eb9ad9d5ba396b4905:
3545 Fix stripping of macOS loadable bundles
3546 + 0d3c231f5a08861d28e987703e9196890e6164bf:
3547 Roll forward config_setting visibility enforcement behind a flag.
3548 + bb7a01027242390da1c18fbf87c274cc34c11b79:
3549 Fix merge conflicts.
3550 + 8b8e77ea226aaa12e79580422bc5984e80ce048b:
3551 Remove redundant declaration.
3552 + 7c92cfcf9a88933c29334f6271ad3f086f7f36f4:
3553 Ignore empty virtual artifacts when spawn-logging inputs.
3554 + 4158b61211e099db780565d064a1c1a80c91bd2a:
3555 Use correct exit code on invalid aquery --output
3556 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
3557 Remote: Fix a race when reporting action progresses.
3558 + 0e652737988e3c115e98e1552f6fada52bc2b9a2:
3559 Change MIN_BUILD_TOOLS_REVISION to 30.0.0
3560 + 6f9909c04b1e00faa510b38ccabac78821046cf9:
3561 Update Android remote tools to ensure Bazel uses the latest
3562 Android tooling that has been updated to support AndroidX
3563 databinding generation.
3564 + 31d88c629dff2c5f8e8a4baf8c89fd3349c9783e:
3565 Automated rollback of commit
3566 9a1d428e33bfae1ec5b68250d4732b72346b8b39.
3567 + 951a3023fbcdbe025e350590e6fa86097da3fe05:
3568 Increase allowed size of the install_base.
3569 + a7845f65befbeb65a28ec53e62458211a7bc3f8e:
3570 Increase allowed size for install base again.
3571 + affc27f9d18f9781437e91a3f36c73962a56f261:
3572 Bump version of java allocation instrumenter.
3573 + 7efabba19cf6400bf9e707f53b40a6dd7110fafb:
3574 Reference the correct version of the java allocation
3575 instrumenter.
3576 + 9055c67b17abf5fed487ae44d0e22f1c6ea1e50c:
3577 Support extracting aar files.
3578 + 861c3caa85e47da35a8a4f1512e57d43b9263c37:
3579 Revert "Remote: Fix a race when reporting action progresses."
3580 + 92ec798ddc1f38fb4868af08c1d818639283f501:
3581 Revert "Remote: Display download progress when actions are
3582 downloading outputs from remote cache."
3583 + ce091abb290d1d753f480cdee0e69748eb20db52:
3584 Revert "Fix compiling errors"
3585 + 1b19cd310418b850e8e0ca2086ffe50755c9ed7e:
3586 Revert "Remote: Fix a bug that the XML generation is executed
3587 even if test.xml is generated when build with
3588 --remote_download_minimal."
3589 + 988b56f5916e024d10695797a7f963b30fc998c7:
3590 Revert "Remote: Report checking cache status before the action
3591 is scheduled to run remotely."
3592 + 35c98d07b21785efae57a7c4230cc1e452f74fd2:
3593 Revert "Let workers finish lost races without delaying dynamic
3594 execution."
3595 + c4e22b9ace07f5d360c5327a38f9ae4ab24b7109:
3596 Migrate ExampleWorker to use WorkRequestHandler.
3597 + 230be161176bd6f1251077af7674f80d38ff1e25:
3598 Do not interleave readdir() calls with deletion of directory
3599 entries.
3600 + 3cc8ce6ba0934b1a4d9db184daf055c1207ef105:
3601 Propagate OOME if NewByteArray allocation failed
3602 + 19fc15ebbf6c63fcce90a038e91c5ec726852848:
3603 Create helper method for sandbox tests, transform existing tests
3604 into using it.
3605 + deb1006c0778692f7eaef4cbcf7eeb8112b55e91:
3606 Cleanup: Replace NULL with nullptr
3607 + f4b5e0233341977aaa76593ca032d9ac4eba7444:
3608 Let workers finish lost races without delaying dynamic execution.
3609 + 186decab01ee247c7453baf19dac778545ec4937:
3610 Interface and flag specification for worker cancellation.
3611 + 5894a8544d51c99f1356130b8b487bc93299fedd:
3612 Create BUILD file in worker tests directory instead of running
3613 tests from the parent directory.
3614 + e9e6978809b0214e336fee05047d5befe4f4e0c3:
3615 Server-side implementation of worker cancellation.
3616 + 5103662238f2df2038c7dff079e9c655e08ba654:
3617 Add builder for WorkRequestHandler.
3618 + 1a519bb66c3fa3e4ef3b9a9a556597920751fbcd:
3619 Makes singleplex requests be handled in separate threads in
3620 WorkRequestHandler.
3621 + 779d66019210f54e10a1343ee004df72a8dec812:
3622 Only allow worker async finishing when sandboxed.
3623 + a698bef6146a807fd82ee4402d89c23c83802e33:
3624 Support for cancellation in WorkRequestHandler.
3625 + 9dc95af4c7ef10979f21173260f5433006116096:
3626 Make workers restart on flags that affect their
3627 creation/behaviour.
3628 + 7e5cd529e9f8c9cb67900af36182f00ef7316654:
3629 Remote: Report checking cache status before the action is
3630 scheduled to run remotely.
3631 + 6e134a1b68418fba9992692901efa77a80c346f7:
3632 Remote: Fix a bug that the XML generation is executed even if
3633 test.xml is generated when build with --remote_download_minimal.
3634 + d4d071401acadb0d8977850a9439474e60fd7bb9:
3635 Fix compiling errors
3636 + 2579c9a18360955699d028426b45d381ff53783c:
3637 Eagerly initialize JNI copies of Java classes: doing lazy
3638 initialization on a per-method basis doesn't save anything and
3639 adds a tiny bit of overhead to every one of these calls.
3640 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
3641 Remote: Display download progress when actions are downloading
3642 outputs from remote cache.
3643 + 3835d9b21ad524d06873dfbf465ffd2dfb635ba8:
3644 Update the WorkRequestHandler to use callbacks of type:
3645 BiFunction<WorkRequest, PrintWriter, Integer>: - Mark
3646 constructors that use BiFunction<List<String>, PrintWriter,
3647 Integer> callback as deprecated. - Use a wrapper class for the
3648 BiFunction<WorkRequest, PrintWriter, Integer>. Suggesting this
3649 to avoid having two constructors that takes a BiFunction, as it
3650 creates a confusion between the deprecated and new constructor
3651 when given a lambda expressions.
3652 + 5e352afe2b35487ea2ced85ca79bd9f79858e648:
3653 Fix bug in WorkRequestHandler's handling of singleplex requests
3654 that would cause occasional hangs.
3655 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
3656 Remote: Fix a race when reporting action progresses.
3657 + c9d823e42796962eed039b8122528c2a1541190f:
3658 Disable flaky test.
3659 + e6809c90ecc0ef5783faa39e63188fc33a79b80e:
3660 Revert "Check the result of Future.cancel() when cancelling the
3661 other branch of dynamic execution."
3662 + be4cbc7a67196414e3d3f323be8ab55fb5e530f7:
3663 Revert "Move use of legacy sandbox -> local fallback to only be
3664 used after all strategies have been tried, and improve messages
3665 around it."
3666 + b32349f50ff3d958613aef9275751ad9d50d344c:
3667 Set a fallback dynamic local strategy even when the
3668 dynamic_local_strategy flag is passed.
3669 + f395157c95692565bc220c7ccf788974fe0885fd:
3670 Allow running an extra spawn for local branch of dynamic
3671 execution.
3672 + 039461c76113ab3f165132dd26d0c58eb3e45cae:
3673 Adding debugging information for case when two branches
3674 apparently cancel each other.
3675 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
3676 Move use of legacy sandbox -> local fallback to only be used
3677 after all strategies have been tried, and improve messages
3678 around it.
3679 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
3680 Check the result of Future.cancel() when cancelling the other
3681 branch of dynamic execution.
3682 + 1962a59a5478f5ad374700b0abf0a718b1b3a7d3:
3683 Fix the case where if all strategies for one branch of `dynamic`
3684 execution fail to accept (that is, refuse to even take) the
3685 action given, the whole action fails. Instead of seeing whether
3686 the other branch can run and the action that that it succeeded.
3687 + b7c1ad2aff91105659299723a712b72eea943040:
3688 Fix rare crash in dynamic execution where both branches got
3689 cancelled.
3690 + 2c3cff5422b115d7bb86ed28a056f3d368ebceeb:
3691 Check if `treeDeleter` is actually async before casting it.
3692 Fixes #13240.
3693 + 1a89ce1757e75f8ba9bda76d7373a7e8527bcfc5:
3694 Make worker JSON protocol properly ignore unknown fields.
3695 + 4b12fc80abf4152815f09e473a972e52a1fe8b51:
3696 Fix test_source_file_does_not_override_standard_library to work
3697 with Python 3.9.
3698 + f4e10367df2d881f05e3ddd5bd0531b390a845fe:
3699 Removing line ending matches in tests to be compatible on Windows
3700 + ba74df07ced96226d78851e11d1df03147f1cc1f:
3701 Refactors CompilationSupport for objc to use existing API
3702 + a04cb1bfad4734f801c48bae3070a799067bda4e:
3703 Release 4.2.0 (2021-08-18)
3704 + ba8678077024e1b4e5d7419c758a97e8dc9fceea:
3705 Revert "fix main repo starlark options parsing.
3706 + 9f67cdf3d51c05bc2209786aa24b72658b61362c:
3707 cquery: disable `--build_tests_only`.
3708 + 02ad3e3bc6970db11fe80f966da5707a6c389fdd:
3709 Release 4.2.1 (2021-08-30)
3710 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
3711 Enable user_link_flags_feature for macosx cc_toolchain_config
3712 + af74287f125b93119415ba35429b8638d7a986ea:
3713 Remote: Limit max number of gRPC connections by
3714 --remote_max_connections. (#14318)
3715 + 639f89d7682cadff723ac210fa37101f37762a9d:
3716 Fix [Prepa] actions stuck in active state
3717 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
3718 Delete marker file before fetching an external repository
3719 + e6c8e8d1ba89df5cf624e7147cee6b8246a9a490:
3720 CI configs: switch centos to centos7_java11_devtoolset10
3721 + 15371720ae0c40ffc97b74c871d1b38851ef6410:
3722 Release 4.2.2 (2021-12-02)
3723 + f64b7553607e1d3572611cc5011c498e3cd4505c:
3724 [4.2.3] Update GrpcRemoteDownloader to only include relevant
3725 headers. (#16450) (#16459)
3726 + ad6d3d59ab6706999fe9e604f350bdcbfe501db2:
3727 Release 4.2.3 (2022-10-18)
3728 + 12f79d36d52fa0ab5e590a2c6c181162c19e0c7f:
3729 [4.2.4] Disable some failing tests (#18046)
3730 + 1f2b3ed4ac717b814d02a0d125f160ddabe78003:
3731 Patch zlib to fix compatibility with latest Xcode
3732 + 9fef2346027fdaa130768c042380d4cdc28e66b6:
3733 [4.2.4] Bump minimum supported macOS versions to 10.13 (#18047)
3734```
3735
3736Incompatible changes:
3737
3738 - GrpcRemoteDownloader only includes relevant headers instead of
3739 sending all credentials.
3740
3741 Closes #16439.
3742
3743Important changes:
3744
3745 - Multiplex persistent workers can now use the JSON protocol.
3746 - enforce config_setting visibility. See
3747 https://github.com/bazelbuild/bazel/issues/12932 for details.
3748 - The minimum Android build tools version for the Android rules is
3749 now 30.0.0
3750 - Updates worker protocol with cancellation fields, and adds
3751 experimental_worker_cancellation flag to control cancellation.
3752 - If all strategies of one branch (the local or remote execution
3753 branch) of the `dynamic` strategy fail to even accept (via the
3754 response they give from `canExec`) the action, `dynamic` will now
3755 try to see if the other branch can accept it. (Trying to run it
3756 and it failing will still cause a failure if it was the first
3757 result, this is about strategies claiming they can't even try the
3758 action)
3759
3760This release contains contributions from many people at Google, as well as Alex Eagle, Austin Schuh, Benjamin Peterson, bjacklyn, bromano, Christopher Peterson Sauer, Christopher Sauer, Cristian Hancila, Daniel Wagner-Hall, Denys Kurylenko, Ed Schouten, Fabian Meumertzheim, Finn Ball, George Gensure, Greg Estren, Johannes Abt, Keith Smiley, Kevin Hogeland, kshyanashree, Lauri Peltonen, Noa Resare, Philipp Schrader, Ryan Beasley, Thi Doan, ThomasCJY, Timothy Klim, Trustin Lee, Ulf Adams, Vaidas Pilkauskas, Vertexwahn, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yuval Kaplan, Yuval.
3761
Bazel Release System0210e452023-04-19 15:04:00 +00003762## Release 5.4.1 (2023-04-19)
Bazel Release System166a3652023-04-18 20:40:29 +02003763
3764```
Bazel Release System0210e452023-04-19 15:04:00 +00003765Baseline: 8d66a4171baddcbe1569972f019e54130111202c
Bazel Release System166a3652023-04-18 20:40:29 +02003766
3767Cherry picks:
3768
Bazel Release System0210e452023-04-19 15:04:00 +00003769 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
3770 Remote: Cache merkle trees
3771 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
3772 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
3773 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
3774 Compile Apple tools as fat binaries if possible
3775 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
3776 Add protobuf as a well known module
3777 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
3778 Remote: Merge target-level exec_properties with
3779 --remote_default_exec_properties
3780 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
3781 Add -no_uuid for hermetic macOS toolchain setup
3782 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
3783 Remote: Fixes an issue when --experimental_remote_cache_async
3784 encounter flaky tests.
3785 + 77a002cce050e861fcc87c89acf7768aa5c97124:
3786 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
3787 has …
3788 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
3789 Fixes for the Starlark transition hash computation (#14251)
3790 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
3791 Do location expansion in copts of objc_library
3792 + 50274a9f714616d4735a560db7f617e53fb8d01b:
3793 [5.x] Remote: Add support for compression on gRPC cache (#14277)
3794 + 61bf2e5b5181cbe34a2f0d584053570943881804:
Bazel Release System166a3652023-04-18 20:40:29 +02003795 Automated rollback of commit
Bazel Release System0210e452023-04-19 15:04:00 +00003796 34c71465f84fa780217926db2e8e5ca3d6d4568c.
3797 + 79888fe7369479c398bafe064daa19a7ae30f710:
3798 Silence a zstd-jni GCC warning.
3799 + 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
3800 Remote: Limit max number of gRPC connections by
3801 --remote_max_connections.
3802 + fd727ec96d861573dcbad3249d727a94eff84789:
3803 Do location expansion in copts of objc_library
3804 + 23d096931be9b7247eafa750999dd7feadde14c1:
3805 Fix _is_shared_library_extension_valid
3806 + 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
3807 Remove merging of java_outputs in JavaPluginInfo.
3808 + cea5f4f499aa832cf90c68898671869ce79d63f2:
3809 Cherrypick Bzlmod documentation (#14301)
3810 + 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
3811 Format work requests according to ndjson spec
3812 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
3813 Enable user_link_flags_feature for macosx cc_toolchain_config
3814 + 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
3815 Remote: Use Action's salt field to differentiate cache across
3816 workspaces.
3817 + f94898915268be5670fb1e93a16c03e9b14d2a58:
3818 [5.x] Remote: Fix "file not found" error when remote cache is
3819 changed from enabled to disabled. (#14321)
3820 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
3821 Delete marker file before fetching an external repository
3822 + c05c6261cdb2cacb7c9881c255c0ada435ab5182:
3823 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
3824 + d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
3825 Fix remote spawn tests for remote_merkle_tree_cache=true
3826 + 59e16e944200555da377799aa0d9e8d0674d2e27:
3827 Show skipped tests as a warning
3828 + 76b3c242831f8e88835e3002a831a185a41fcc52:
3829 Build xcode-locator as a universal binary
3830 + aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
3831 Exit collect_coverage.sh early if LCOV_MERGER is not set.
3832 + 4256d46327bad8638df91be1a5d4ef83b12b74c7:
3833 Automated rollback of commit
3834 d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
3835 + dce24350befd08216b3910ae343670015444ff81:
3836 [apple] fix issues compiling C in objc_library for watchos/armv7k
3837 + bfc24139d93f8643686d91596ba347df2e01966a:
3838 5.x: Remote: Ignore blobs referenced in BEP if the generating
3839 action cannot be cached remotely. (#14389)
3840 + 5aef53a8884038f3c9f06e6dddb9372196253378:
3841 Remote: Don't blocking-get when acquiring gRPC connections.
3842 (#14420)
3843 + 005361c895da334beb873901e93aff06d180256e:
3844 Disable IncludeValidation for ObjC in bazel
3845 + d703b7b4f09fb3c389f99e52bac1f23930280b56:
3846 Update java_tools v11.6
3847 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
3848 Stop remote blob upload if upload is complete. (#14467)
3849 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
3850 [5.x] Make remote BES uploader better (#14472)
3851 + 2edab739e1f61fe8813230b03396ca46f0790089:
3852 Avoid too verbose warnings in terminal when cache issues
3853 + 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
3854 Rename --project_id to --bes_instance_name
3855 + c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
3856 Automated rollback of commit
3857 bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
3858 + b341802700484d11c775bf02d80f43ba3f33b218:
3859 [apple] support watchos_arm64 in toolchain
3860 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
3861 Disable implicitly collecting baseline coverage for toolchain
3862 targets.
3863 + 302971e1b3d803069ac949c0085c0d2a3916c8ab:
3864 Automated rollback of commit
3865 7d09b4a15985052670244c277e4357557b4d0039.
3866 + 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
3867 Bzlmod: Starlarkify default attr values for TypeCheckedTags
3868 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
3869 Fix build after rc4 cherrypicks (#14581)
3870 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
3871 Release 5.0.0 (2022-01-19)
3872 + 486d153d1981c3f47129f675de20189667667fa7:
3873 Find runfiles in directories that are themselves runfiles
3874 + 0de7bb95022057e8b89334f44759cf6f950e131f:
3875 Don't resolve symlinks for --sandbox_base
3876 + 8b60c90f3641591b65c4e153113aea562f1fab94:
3877 Remove uses of -lstdc++ on darwin
3878 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
3879 Allow Label instances as keys in select (#14755)
3880 + 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
3881 Remote: Only waits for background tasks from remote execution.
3882 + 8734ccf9847eafb7193388cd9c6fa78faa78283f:
3883 Add the default solib dir to the rpath for cc_imports with
3884 transitions
3885 + 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
3886 Flip --experimental_worker_allow_json_protocol
3887 + fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
3888 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
3889 cpu for tools when host cpu and exec cpu are different
3890 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
3891 Propagate --experimental_cc_implementation_deps to host config
3892 + 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
3893 Support select() on constraint_value for aliases.
3894 + 67a133b431ccece22b7dd9a72f0837cff77d4360:
3895 Improve documentation for select()
3896 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
3897 Cherrypicks for experimental cc_shared_library (#14773)
3898 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
3899 [apple] support tvos_sim_arm64 in toolchain (#14779)
3900 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
3901 Cherry pick win arm64 (#14794)
3902 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
3903 [5.1.0] cherrypick subpackages support (#14780)
3904 + 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
3905 Add a helper method for rules to depend on the cpp toolchain
3906 type.
3907 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
3908 UrlRewriter should be able to load credentials from .netrc
3909 (#14834)
3910 + 32d1606dac2fea730abe174c41870b7ee70ae041:
3911 Add "arch" struct field to repository_os
3912 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
3913 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
3914 + c2ddbd1954af5baab63b93f2b055a410a27832c8:
3915 Ignore missing include directory in JDK distribution.
3916 + 16de03595e21f7bf31818e717505b23c953b3b7d:
3917 Fix bazel coverage false negative
3918 + 0c74741742301abcf67452a7f591daec1c3a7635:
3919 Remote: Postpone the block waiting in `afterCommand` to
3920 `BlockWaitingModule` (#14833)
3921 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
3922 Switch to `ProcessHandle` for getting the PID (#14842)
3923 + a987b98ea0d6da2656c4115568ef9cbe8a164550:
3924 Fix uses of std++ on bsd
3925 + d184e4883bb7fc21de2f7aeea4304994de27e9ea:
3926 Remote: handle early return of compressed blobs uploads
3927 + 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
3928 Add removeprefix/removesuffix to Starlark strings
3929 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
3930 Fix default CPU for macOS and iOS (#14923)
3931 + cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
3932 Add paramfile support for def_parser, since in rare cases on
3933 Windows command line character limit was reached.
3934 + 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
3935 Normalize rpath entries to guard against missing default solib
3936 dir
3937 + 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
3938 Fix aggressive params file assumption
3939 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
3940 Fix precompiled libs not in runfiles of cc_shared_library
3941 (#14943)
3942 + 764614e0f0287125269e7a92e909a44624bcb360:
3943 Bzlmod: Allow multiple `use_extension`s on the same extension
3944 (#14945)
3945 + fa761f84994f18db383fbe9aaea524e4385da13a:
3946 Fix typo in `apple_common.platform` docs
3947 + f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
3948 Yield a Proxy for addresses without protocol
3949 + 8cefb8bed4ac82df8640682517372a9249732352:
3950 Avoid merging URLs in HttpUtils
3951 + b4804807fc2c184cc36df9e69e472942c01941b8:
3952 Make protocOpts() public. (#14952)
3953 + 113eaca5862c48797654ae2a3acbb6e15d761485:
3954 Do not hide BulkTransferException messages when there were more
3955 than one exception
3956 + b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
3957 merkle_tree_cache: change default size to 1000
3958 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
3959 Add --experimental_repository_cache_urls_as_default_canonical_id
3960 to help detect broken repository URLs (#14989)
3961 + f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
3962 Expose the logic to read user netrc file
3963 + b858ec39aebd7e586af5438aa2035db2adebf9a4:
3964 Correct cpu and os values of `local_config_cc_toolchains` targets
3965 + 5e79972c05d89280f0cf1fa620f807366847bac6:
3966 Expose CoverageOutputGenerator on a Fragment (#14997)
3967 + 78f03110e0dab42f37e427fd524e72706e036d74:
3968 Correct error runfiles cc_shared_library (#14998)
3969 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
3970 [5.1] Adding Starlark dependencies to the package //external
3971 (#14991)
3972 + a73aa12be65454ac8cfb5a8f3e056c420402f997:
3973 Remote: Fix crashes with InterruptedException when using http
3974 cache.
3975 + f8707c07f153ac4ac2ec4b210321f1a16343006d:
3976 Account for interface libraries in cc_shared_library
3977 + a570f5fdb1618a6c272d18bebaa712d3b2af3975:
3978 Fix coverage runfiles directory issue
3979 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
3980 Do not validate input-only settings in transitions (#15048)
3981 + 71747ccc9d0032a865854613329362563c0574df:
3982 Filter out system headers on macOS.
3983 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
3984 Update Bazel bootstrap documentation and remove obsolete flags.
3985 (#15065)
3986 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
3987 [5.1] Undocument --bes_best_effort (#15066)
3988 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
3989 Fix conflicting actions error when specifying
3990 --host_macos_minimum_os (#15068)
3991 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
3992 [5.1] Remote: Action should not be successful and cached if
3993 outputs were not created (#15071)
3994 + 00d74ff737cccd60305ee58d85313556a077152a:
3995 Support decompressing zstd tar archives for repository rules.
3996 + f5857830bb68bd05ffc257506575ed37a8128933:
3997 Remote: Don't check TreeArtifact output
3998 + efb2b80953983dce499d453a9f55a74ffaf8c42d:
3999 osx_cc_wrapper: Only expand existing response files
4000 + c771c43b870fb8618db7bdab6725ab40cac4976d:
4001 Remote: Fix crashes by InterruptedException when dynamic
4002 execution is enabled. (#15091)
4003 + 3785677cc84fc4024fda85575c05efbde5d512fc:
4004 Use python3 on macOS
4005 + 815d9e499a32fd4d87525ac0c698c293cf26433d:
4006 Release 5.1.0 (2022-03-24)
4007 + 1fbb69e366034484887e00c6006c7b79508765ed:
4008 Prepare 5.1.1 release
4009 + df153df9656e0e197f67622bb11f7d77e19238a0:
4010 Fix CODEOWNERS syntax
4011 + 2b92a3111e83a4d14934059afd0f51161a41276f:
4012 Remote: Don't check declared outputs for failed action
4013 + b47aa71b21d93c9499103e9a37a6c2ffa79865b9:
4014 Upgrade abseil version to the latest
4015 + c49c45d8dac87d21cf2b6a176ddd07f2c9f63414:
4016 Revert default export all symbols on Windows
4017 + 7d3fb993f55b35081786c3fe00cf3bebb89574f3:
4018 Support ZIP files with total number of disks = 0
4019 + 0f5dc111be06b2ee8694640f400b58e12bfa5fea:
4020 Release 5.1.1 (2022-04-08)
4021 + 2422cfb3e5d92d46f9065b2b1e442823a965faf7:
4022 Update CODEOWNERS
4023 + bbcff1802423fca7ee5bd6a3e527c12d6d7d80ba:
4024 [5.2.0] Update java_tools 11.7.1 (#15231)
4025 + 9c98120f33579b72561e02826d9fccf222eccb3c:
4026 Add support for .ar archives (and .deb files)
4027 + d3435b09d89f25bf5008ef3b9c870c835d51a8da:
4028 Seperate GetSelfPath implementation for Blaze and Bazel
4029 + c94572bea5ce6bdc0ccda9789e5be6fb3f4c173b:
4030 Include jdk.crypto.mscapi in minimized Windows embedded JDK
4031 + 299022ca2dc49b6cb27b2674f933755306ae8b9b:
4032 remote: Proactively close the ZstdInputStream in
4033 ZstdDecompressingOutputStream.
4034 + 27707995cc6576ed1f51fbdb199ff8512e8418c9:
4035 Collect coverage from cc_binary data deps of java_test
4036 + 3442179d240e01ef13b0fa7814db7366bad5ffac:
4037 Configure Apple crosstool to return a complete target triple
4038 that includes minimum OS version and target environment
4039 + bb6f1a7ce79168055ccd62629da07d46a52b930d:
4040 Collect C++ lcov coverage if runtime object not in runfiles
4041 + dbb6e9954b6e4423f727feb2719ffc75a93b514b:
4042 Fixing dependencies of //external package
4043 + f0213bbf730c4a5d1a31e65bc9c01fbb55a6edb3:
4044 [5.2] Upgrade Google Auth Version (#15383)
4045 + a1a74c9919e03e09ef7c6ae13f38f48eea80ead1:
4046 Fix chocolatey package - docsUrl must not 404 (#15395)
4047 + fe644bee95c14d461e0d1e3cccaa8bbcd57bcd8d:
4048 Fix cache leak when applying transitions when only a rule's
4049 attributes change.
4050 + ad74d5243917bb27a37e38d151a4a3c8a49947eb:
4051 Fix checking remote cache for omitted files in buildevent file
4052 (#15405)
4053 + ac219103d8798965b775db548d7b9214ecd78f73:
4054 fix(bzlmod): throw on json parse exception
4055 + 3d85b88609a362857d8ee3c0432a37d30268a8a2:
4056 Add a flag to expose undeclared test outputs in unzipped form.
4057 (#15431)
4058 + abd7a9f70c3dfe96724a692dc7dc04ff33bdece1:
4059 Remove -U_FORTIFY_SOURCE when thin_lto is enabled (#15433)
4060 + 53b9cb8637c0faddc6b122a1daab72bcc274bdec:
4061 Catch NumberFormatException while trying to parse thread id.
4062 + 19740b55ebc283b7ec42b359bcd4c9096facfdd5:
4063 Improve the --sandbox_debug error message
4064 + 0a2a43f9aab1e3875f03f643f6414eb67834c883:
4065 Set keywords on appropriate lifecycle events.
4066 + 394ddb82b311ea7edbe2522736b0b0202903ddb6:
4067 Record additional profiling information for remotely executed
4068 actions.
4069 + 652b48e567fcb30768dfc2eddee5f04bf6b5d65b:
4070 Fix downloading remote execution output files inside output
4071 dirs. (#15444)
4072 + 73f1ecbc1cb00e16ceda4b582f4d57268f8701cd:
4073 Fix android emulator darwin_arm64 select
4074 + 2649c7c4adef0ebf9bca8fe46aa97304b22de522:
4075 Fix --use_top_level_targets_for_symlinks with aliases (#15446)
4076 + fa1081c1f3dce7324a1da59c40d1a1a3533c7047:
4077 Filter libtool warning about table of contents
4078 + 26f878325e915e0905626a0e4c8bbacffd72f875:
4079 Unify sandbox/remote handling of empty TreeArtifact inputs
4080 (#15449)
4081 + 6b21b7773157a1eebd3dfe79ff4c4ee750059daf:
4082 Revert "Fixes incorrect install names on darwin platforms"
4083 + e133e66f715bac17bf5848e4440c089a8c8d3fd9:
4084 config doesn't error on duplicate `--define` values (#15473)
4085 + 84d59176622b76223828e61709179dbd5f0c9f8d:
4086 Collect coverage from cc_binary data deps of py_test (#15298)
4087 + 519d2daacfff3de6ffabfc5827621fa835e1c815:
4088 SolibSymlinkAction does not need exec platform or properties
4089 + 6e54699884cfad49d4e8f6dd59a4050bc95c4edf:
4090 Let Starlark tests inherit env variables (#15217)
4091 + 9610ae889e6fd45280c5beb7fe8f5bef2d736878:
4092 Update PythonZipper action to use CommandLineItem.CapturingMapFn
4093 + 2f1ff6fa17c3c30b2533bffe81f40eab06b453b9:
4094 Make `coverage --combined_report=lcov` skip incompatible tests
4095 + 9fad5a3dc93cd436a5712c46e6c98d3995428ddb:
4096 Disable ReturnValueIgnored checks to unblock java_tools release
4097 + 0120118893261968bdf116ef215655c428428fa8:
4098 Bump the limit of Bazel install base size (#15585)
4099 + 668805aace9bf96f78595fc2a122027a3000ceac:
4100 Upgrade zlib to 1.2.12
4101 + 4d900ceea12919ad62012830a95e51f9ec1a48bb:
4102 [5.2] Remote: Fix a bug that outputs of actions tagged with
4103 no-remote are u... (#15453)
4104 + b703cb9b999e243d776b7620468e48f450c0ce3a:
4105 Add feature to produce serialized diagnostics files (#15600)
4106 + 2e8458b7810eab7829fc7d28af5c45b9af91ed7c:
4107 Release 5.2.0 (2022-06-07)
4108 + 536f8d97991d891fc7db333af1a5262497d85173:
4109 Fix fail message construction in cc_shared_library
4110 + 2d42925ae80c0fb007aa39f4e210122611897255:
4111 Define cc-compiler-darwin in Xcode toolchain
4112 + a1d7d1f69f82da1bdfa1cebd32356249127aea3b:
4113 Fix alwayslink in objc_import
4114 + d273cb62f43ef8169415cf60fc96e503ea2ad823:
4115 Unify URL/URLs parameter code across http_archive, http_file,
4116 http_jar
4117 + fea32be42928c84463aa1f335b5722a1f6b8c93a:
4118 Preserve --experimental_allow_unresolved_symlinks in exec cfg
4119 + e4bc370b226eb0cc536b55641640266345a214ec:
4120 Ck/cherry pick cc shared library (#15754)
4121 + dbdfa07e92f99497be9c14265611ad2920161483:
4122 Let Starlark executable rules specify their environment (#15766)
4123 + e2a6a2b130552db7521d3d4d854b9a651b1f4a3b:
4124 Fix string formatting when java_home path is missing.
4125 + d54a288e6c79c740b9c93dfc31ee345d6a5332af:
4126 Optionally enable LLVM profile continuous mode
4127 + ad17b44cdc192277fafb0d0e204962b2b924dba8:
4128 Print remote execution message when the action times out (#15772)
4129 + 240e3d1e1dbc74c7753dead6421d7c1b5fc28d09:
4130 Add missing line to cherrypick
4131 e4bc370b226eb0cc536b55641640266345a214ec (#15784)
4132 + 804b4747152a59bc2965be2db85839b8b2764fc7:
4133 Replace strdupa with strdup
4134 + 62be9ea29295fab5289bd5d1a0f13dc7d55a8bc0:
4135 Bzlmod: Better canonical repo names for modules with overrides
4136 (#15793)
4137 + d4663a1c950d618c5b15a3e00fb733987cbf45cc:
4138 Add repo env test (#15768)
4139 + 594962cb283dcd71b736e0450453903911a8c85a:
4140 Add is_root struct field to bazel_module (#15815)
4141 + 3dd2b932d42fe86112899550d21452409cb3c4b0:
4142 Fix null pointer crash with `bazel coverage` on only
4143 incompatible tests
4144 + 4175018b47800db28c390d39fefbd266b5d674bd:
4145 Add util for finding credential helper to use
4146 + 3ea9eb2e363860c9305a987fa22a059afd35598d:
4147 Merge ManifestMergerAction-related commits into release-5.3.0
4148 (#15824)
4149 + 64571a428ffe2bf09f1a5eea13e770a7d0381620:
4150 Ck/cherrypick 15669 (#15788)
4151 + 1404651cafe5c26c5dae469e9126de53c2f4f024:
4152 Create output directories for remote execution (#15818)
4153 + ae523f82d39daf01cf31e40733de0c6345f0935c:
4154 Use tree artifacts in bootclasspath rule
4155 + 37f181cb6ed0237f43d81159eb81b19d3b5f8e36:
4156 [credentialhelper] Add types to communicate with the subprocess
4157 + 06ca634e10f17023022ab591a55aabdd9fb57b12:
4158 Add a flag to force Bazel to download certain artifacts when
4159 using --remote_download_minimal (#15870)
4160 + d35f923b098e4dc9c90b1ab66b413c216bdee638:
4161 RemoteExecutionService: fix outputs not being uploaded
4162 + 78af34f9f25b0c8fbf597a794a5162f0014629c5:
4163 Cherry-pick proto_lang_toolchain Starlarkfication and
4164 proto_common module (#15854)
4165 + afb434da9da79b53da1ea4c7bcc00571dbea6d3f:
4166 Fix behavior of `print()` in module extensions
4167 + 6714c30507edc70ec84f8c97d47cffc497356c0b:
4168 [credentialhelper] Implement invoking credential helper as
4169 subprocess
4170 + 0f05904171d187e6abacb431b3d7494423b027ab:
4171 Add register_{execution_platforms,toolchains} directives to
4172 MODULE.bazel files (#15852)
4173 + 33516e27dc6ee6ab5c3b9dee739a267b08d26b6c:
4174 [remote] Improve .netrc test in RemoteModuleTest
4175 + aa2a1f3afe2f10baab5befcafb39df14cbffc743:
4176 Fix ZipDecompressor windows 0x80 (file attribute normal)
4177 + 30f16e53cb36a5d506665be7553e785d52772e2d:
4178 Replace uses of `cfg = "host"` with `cfg = "exec"` (#15922)
4179 + 2a8d0ad7103511a94382aef41821a315bf8144b7:
4180 target pattern file: allow comments
4181 + 6f732052654ec37192450c795bb28dd0aad559cd:
4182 Add factory for creating paths relative to well-known roots
4183 (#15931)
4184 + 32cc8e638b91816f427b74266f6a8da6fb605419:
4185 Update CODEOWNERS (#15910)
4186 + 63bc14b095f1ea4043024e7fe1f9c476968897c5:
4187 Implement native analysis_test call. (#15940)
4188 + 4df77f771e5cfdf4b614afd8934d00c2b2ff31d1:
4189 Increase osx_cc_configure timeouts
4190 + cdf01a39ab9def4d46f41595ac1ac9206a96d6f8:
4191 Allow string_list flags to be set via repeated flag uses
4192 + 05e758d4bc18fc9d9e189526381a06e4399056a2:
4193 [credentialhelper] Add parser for flag syntax (#15929)
4194 + e4ee34416ef18094496ab54446e70cb62cd509e6:
4195 Docs should mention the new no-remote-cache-upload tag (#15965)
4196 + 96d23d30cc80912b82a8fbab31c902e9db74b6ab:
4197 Add netrc support to --bes_backend (#15970)
4198 + c5bc34e5f1dd92703dd8f15f9f0409c49b778837:
4199 Add CommandLinePathFactory to CommandEnvironment (#15971)
4200 + 508f18576ab5327bd623db6b476511ac2089d0fa:
4201 Move newCredentialHelperProvider into GoogleAuthUtils (#15973)
4202 + 14c944a5386eccbcfbe8389afb6c518582b11270:
4203 Wire up credential helper to command-line flag(s) (#15976)
4204 + 04c373b708390341be4ceb8eb5b2f8561385cb11:
4205 Add `--output=files` mode to cquery (#15979)
4206 + edfe2a17e3434cce660757f59b14f2e9d6ab944e:
4207 Make cpp assembly file extensions case sensitive again
4208 + 4ae85387e69db73e507b4f18b36d3e2f799e5d34:
4209 Prevent aspects from executing on incompatible targets (#15984)
4210 + f440f8ec3f63e5d663e1f9d9614f05a39422102a:
4211 Remote: Fix performance regression in "upload missing inputs".
4212 (#15998)
4213 + 0109031a2818b217b78026055b972da5901656f5:
4214 Updated Codeowners file (#16032)
4215 + 6102d33bf0b72dc0fe9ada4c71113cbee3eb8187:
4216 Propagate the error message when a credential helper fails.
4217 (#16030)
4218 + a8dacc7832b04fe1756cd7adce72f2572f357eee:
4219 Migrate legacy desugar wrapper to new rlocation() (#16025)
4220 + 11368be4ac24108f18b1965162ad27f207c074f9:
4221 Correctly report errors thrown by CommandLinePathFactory#create.
4222 + 82452c7c372fb28485b0b5e0a98b471648f0dfd0:
4223 Fix an issue that
4224 `incompatible_remote_build_event_upload_respect_no_… (#16045)
4225 + e745468461f93839491a4f80d0c1883d9007f9c0:
4226 Fix rpath for binaries in external repositories (#16079)
4227 + 83041b145d3966eb353aacb22b7e33ad01d9a239:
4228 Refactor combined cache. (#16110)
4229 + c62496f7b76da473cb1102798373f552ba2f434d:
4230 C++: Add compound error linked statically but not exported
4231 (#16113)
4232 + 0f18786b09e9729d79c0f14f7843b4d8402b6115:
4233 Do not crash on URIs without a host component.
4234 + 9c0940df3c5962b2291e812600dd71731775d45b:
4235 Add profiler task for calling a credential helper.
4236 + 2ca1ab2c2c73d78021794f3099ee892cc73f515e:
4237 Make bazel_cc_code_coverage_test more robust against GCC version
4238 differences (#16254)
4239 + 1e25152906b668bbe56aa4c1773186af85335315:
4240 Fix local execution of external dynamically linked cc_* targets
4241 (#16253)
4242 + f6cccae5b6f9c0ad0e7d0bf7bd31ea1263449316:
4243 * add change to allow blaze info to skip Starlark build settings
4244 that start with --no prefix * add unit tests for both info and
4245 clean commands
4246 + 59b8b8f4dc098c31a372ad45adc2a48c5f1c4a9f:
4247 Release 5.3.1 (2022-09-19)
4248 + 77f0233420d141e36fbf86a62dff20285c7d8fdc:
4249 Update GrpcRemoteDownloader to only include relevant headers.
4250 (#16450)
4251 + 42ff95a1202cd18cc3348ed6a442de5eb95845bd:
4252 Avoid unnecessary iteration on action inputs.
4253 + d29034e43150f32bb02c2cff3774747e25e97de3:
4254 Update flag `--experimental_remote_download_regex` to accept
4255 multiple regular expressions. (#16478)
4256 + bc087f49584a6a60a5acb3612f6d714e315ab8b5:
4257 Release 5.3.2 (2022-10-19)
4258 + 0b914c6f2a5114f1b81f44bab348fb415177e53e:
4259 Send remote actions to specific worker pools instead of machine
4260 types.
4261 + ece17d5d4e74d67dd869cbd1951ca1001423b472:
4262 Add `$(rlocationpath(s) ...)` expansion (#16668)
4263 + f02bcf8d8b0d00ecdd06ea0a45ba4f52e436597c:
4264 Fix identical gcov json file name problem
4265 + 0696b8a728bd205c1a12cc5a3e0891c87113c95a:
4266 Upgrade google-http-client and google-http-client-gson.
4267 + 42a3dbb2d47a321d746ee0f1f89603da329f5852:
4268 Move analysis_test into testing.analysis_test (#16702)
4269 + b55f3222a5e9d1e4267ccf5cbf71643e8c492b32:
4270 Fix hanging issue when Bazel failed to upload action inputs
4271 (#16819)
4272 + 2f0f3e1253e1086496d4adf1a136b5473db5a693:
4273 [5.4.0] Add integration tests for
4274 --experimental_credential_helper. (#16880)
4275 + 6d2d68d95abedac6a646eafcca04e6856c87ab3c:
4276 [5.4.0] Keep credentials cached across build commands. (#16884)
4277 + 676a0c8dea0e7782e47a386396e386a51566087f:
4278 Update Bazel to depend on bazelbuild/platforms 0.0.5.
4279 + 0ea070be02e21c2418e967e3398251c3abba73e8:
4280 Backport recent package metadata and license check capabilities
4281 from Bazel 6.x. (#16892)
4282 + b51396a52efd8ff90063ac79e5a69b950cefd914:
4283 Add 'toolchain' parameter to actions.{run,run_shell} (#16964)
4284 + 312fcab532a50e63ae89c8d7f06142423bbe3f70:
4285 Release 5.4.0 (2022-12-15)
4286 + 0c4e292c5701f7d284bbe9150163a166243a17a9:
4287 Pin Bazel version to 5.4.0 (#17986)
4288 + 43dadb275b3f9690242bf2d94a0757c721d231a9:
4289 Bump minimum supported macOS versions to 10.13
4290 + 1f2b3ed4ac717b814d02a0d125f160ddabe78003:
4291 Patch zlib to fix compatibility with latest Xcode
4292 + a35f59286a412ab2e1b838f858ee818451c21534:
4293 Use ctime in file digest cache key (#18115)
4294 + e6af231a8fc2e78ef44bb74f5e52517c2d250fca:
4295 [5.4.1] Disable failing tests (#18123)
Bazel Release System166a3652023-04-18 20:40:29 +02004296```
4297
4298Incompatible changes:
4299
Bazel Release System0210e452023-04-19 15:04:00 +00004300 - GrpcRemoteDownloader only includes relevant headers instead of
4301 sending all credentials.
4302
4303 Closes #16439.
4304 - analysis_test moved into testing.analysis_test
Bazel Release System166a3652023-04-18 20:40:29 +02004305
4306Important changes:
4307
Bazel Release System0210e452023-04-19 15:04:00 +00004308 - alias() can now select() directly on constraint_value()
4309
4310 Fixes https://github.com/bazelbuild/bazel/issues/13047.
4311
4312 Closes #14310.
4313 - Fixed an issue where Bazel could erroneously report a test passes
4314 in coverage mode without actually running the test.
4315 - Make protocOpts() publicly accessible.
4316 - Add coverage configuration fragment, used to expose
4317 output_generator label.
4318 - Bazel now no longer includes system headers on macOS in coverage
4319 reports (#14969).
4320
4321 Closes #14971.
4322 - Starlark test rules can use the new inherited_environment
4323 parameter of testing.TestEnvironment to specify environment
4324 variables
4325 whose values should be inherited from the shell environment.
4326
4327 Closes #14849.
4328 - none
4329 RELNOTES:none
4330 - Enable merging permissions during Android manifest merging with
4331 the --merge_android_manifest_permissions flag.
4332 - Added new register_{execution_platforms,toolchains} directives to
4333 the MODULE.bazel file, to replace the
4334 {execution_platforms,toolchains}_to_register attributes on the
4335 module() directive.
4336 - Add support for fetching RPC credentials from credential helper.
4337
4338 Progress on https://github.com/bazelbuild/bazel/issues/15856
4339
4340 Closes #15947.
4341 - `cquery`'s new output mode
4342 [`--output=files`](https://bazel.build/docs/cquery#files-output)
4343 lists the output files of the targets matching the query. It
4344 takes the current value of `--output_groups` into account.
4345
4346 Closes #15552.
4347 - Fix for desugaring failure on Bazel+Android+Windows build
4348 scenario.
Bazel Release System166a3652023-04-18 20:40:29 +02004349 - The new path variable `$(rlocationpath ...)` and its plural form
4350 `$(rlocationpaths ...)` can be used to expand labels to the paths
4351 accepted by the `Rlocation` function of runfiles libraries. This
4352 is the preferred way to access data dependencies at runtime and
4353 works on all platforms, even when runfiles are not enabled (e.g.,
Bazel Release System0210e452023-04-19 15:04:00 +00004354 on Windows by default).
4355
4356 Work towards #16124
4357 Fixes #10923
4358
4359 Closes #16667.
Bazel Release System166a3652023-04-18 20:40:29 +02004360
Bazel Release System0210e452023-04-19 15:04:00 +00004361This release contains contributions from many people at Google, as well as amberdixon, Andreas Fuchs, Benjamin Peterson, Brentley Jones, Chenchu Kolli, Dan Fleming, Danny Wolf, Emil Kattainen, Fabian Meumertzheim, Gowroji Sunil, hvadehra, Juh-Roch, Keith Smiley, Krzysztof Naglik, kshyanashree, Niyas Sait, Noa Resare, Oliver Eikemeier, oquenchil, Peter Mounce, Philipp Schrader, Ryan Beasley, Thi Doãn, Xùdōng Yáng, Yannic, Zhongpeng Lin.
Bazel Release System166a3652023-04-18 20:40:29 +02004362
Bazel Release System9fc5bb52023-04-18 15:24:14 +00004363## Release 6.1.2 (2023-04-18)
4364
4365```
4366Baseline: d60ce2c7c86393638c77698c00c2168a7a936a53
4367
4368Cherry picks:
4369
4370 + 490f8badf4f6f4ae8b96697f08267fdb083ccf5f:
4371 kshyanashree is the release manager of 6.0.0
4372 + 4e66d9340037f0be83d7bc0fdd809a09344ab83f:
4373 Automated rollback of commit
4374 2a2890913eb8f39299aa4b614ba96266ea8749f6.
4375 + 48a8d01b05149757f69a6a65a22a280bf003cd24:
4376 Allow C/C++ coverage collection for external targets
4377 + ec7be346adc00c4bde22d116fca80ef59da66121:
4378 Temporarily set parent directory of the input to writable if it
4379 is not.
4380 + b0984342eef068640a57aab584dd4c118f0dd394:
4381 Infer CPUs for tvOS and watchOS when on Apple Silicon
4382 + 5cea7dda5b632703cf4e0424ba09cd7c5bd6fc06:
4383 Improve the documentation for ctx.actions.symlink.
4384 + a82d26f17a99b5417b2212a0ce3a1bbc0285e5c4:
4385 Add quotes to "Tip"
4386 + 75b0f3aa95bc34f6620ea74e47d4822bd985efdd:
4387 Write a repo mapping manifest in the runfiles directory (#16555)
4388 + 07c5c1aa6d0b63605ae793dce78d26122af64a84:
4389 Ensure repository names don't start with `~`
4390 + 30f6c8238f39c4a396b3cb56a98c1a2e79d10bb9:
4391 Escape tilde more gracefully
4392 + cf3f48ca49f089615417636763d753811acf717f:
4393 Relax `Label` repo visibility validation
4394 + 4477823e2c2bc3d0335c41f971364dda72a3f69a:
4395 Use "apparent name" instead of "local name" in Bzlmod docs
4396 + 55f4f4834ef30321a00dab5b58202dd1e9716fd9:
4397 Bazel DevSite: Add required css file.
4398 + a706994ac69e3f3fed361c61378de847b50d3b12:
4399 Remove logic that increases delay between progress updates over
4400 time
4401 + 1d514ab05896f34ec91c2145f4dffafd3364030f:
4402 Remove references to io_bazel repository
4403 + b0357bd3831b26b5116dc120807e8264acf139db:
4404 Relnotes python script
4405 + 8f956511bb115c39ac683a1e78971fcf9dce5deb:
4406 Allow Java coverage collection for external targets
4407 + bddb191d3f99402330c67b89375409c31ee22daa:
4408 Fix race condition in package-bazel.sh
4409 + a75785279f543f4e33c697dd9e8873a6504b7818:
4410 Decanonicalize labels emitted by {a,c,}query if possible
4411 + 9d250edb63f27f9f4591bb5a71059710cc6dca9e:
4412 Add uniquify parameter to TemplateDict.add_joined
4413 + f02bcf8d8b0d00ecdd06ea0a45ba4f52e436597c:
4414 Fix identical gcov json file name problem
4415 + a1593309f66f892871e334013815b05350b4188f:
4416 Add `$(rlocationpath(s) ...)` expansion
4417 + 56f54daf9ff3b1177eee31e342e8d6b959d5ac34:
4418 Rollup of SBOM correctness fixes (#16655)
4419 + 72e6e948d30dec9dec60d78efef4eeda5b764a8f:
4420 [cc] Add cc toolchain to starlark cc_proto_library (#16661)
4421 + 8f28513893969b6346d965cab12aac69cb246ced:
4422 Make C++ runfiles library repo mapping aware
4423 + 95f9adc5ac544b1161d69a7ca74432479fdc29b3:
4424 Always collect FileProvider's filesToBuild as data runfiles
4425 + 4959d34e844714b793b2c6fa05016a9a6eaa7044:
4426 fix: export constraints.bzl file from @local_config_platform so
4427 it can be used in downstream bzl_library targets
4428 + 4919d4a61d8506d175b25a035500842b8bfe3d0d:
4429 Add --host_per_file_copt (#16695)
4430 + 0a23d46976c3fc999d44fbd1e37732ec2442d485:
4431 Moving some tests for `RemoteActionFileSystem` of BwoB to a base
4432 class.
4433 + 9296068be5e3808eb03a3b61f3af3a2c88f7ab7d:
4434 [remote/downloader] Don't include headers in `FetchBlobRequest`
4435 + 128d833fee99f8a43bc4de82cbec752e4ce6fb47:
4436 [remote] Respect whether the server supports action cache updates
4437 + 38c501912fc4efc14abc0741d19f5f8e8763afcb:
4438 [remote/downloader] Migrate `Downloader` to take `Credentials`
4439 (#16732)
4440 + 5929cb72aa01768e6352898b1a056ef678c81d90:
4441 Stage repository mapping manifest as a root symlink (#16733)
4442 + 455454a56e961affb041a1d4a9214f7f313a05aa:
4443 Expose current repository name to Java with @AutoBazelRepository
4444 + 97dea593e568f776361397f7280d6a16eee2efeb:
4445 Implement getDirectoryEntries and readdir for
4446 RemoteActionFileSystem.
4447 + aa45f5f3301c5005294df084cdf99c45d6f95d53:
4448 Move integration tests for BwoB to a base class and add more
4449 tests there.
4450 + 1b073ac0a719a09c9b2d1a52680517ab22dc971e:
4451 Make Java runfiles library repo mapping aware
4452 + 148bbb1c025a628643698f65627333d86975c1d7:
4453 Use `_repo_mapping` in C++ runfiles library (#16752)
4454 + 25558ada3fb377cfc2c965d3a93250ca28ce0fc1:
4455 Add --experimental_action_cache_store_output_metadata to the
4456 expansio…
4457 + 6e945e8ab422ca0a195d09899cce61ba6c0cfa59:
4458 Treat `DEBUG` events as progress-like.
4459 + 1940c5d68136ce2079efa8ff74d4e5fdf63ee3e6:
4460 redact 'token' strings from logging
4461 + 0b645254b41edc738c6641fd192fca86203ff2e2:
4462 Make Bash runfiles library repo mapping aware (#16753)
4463 + 4caae75b49e815ad2cf1d805f316bc374f03f2ae:
4464 Automated rollback of commit
4465 8f956511bb115c39ac683a1e78971fcf9dce5deb.
4466 + 13ff6d9e37999e00fda9a6cef278c7c924924f34:
4467 Fix Bash rlocation failure with stricter Bash options
4468 + bd88c7e47b911e5fa1f8a3c26d0f8317943c43ce:
4469 Make bazel Android remote deps compatible with bzlmod (#16772)
4470 + 6f6d4cca36a3b64009ed9c8b3fb13cb3c7ed915a:
4471 Flip `--incompatible_always_include_files_in_data`
4472 + 94355b1b1c4f7ef923457b8b2a070e5c6528240a:
4473 Add required `--add-opens` server JVM args also with
4474 non-embedded JDK
4475 + 8349c95fc98beb4008085942a67a57f0c4da074b:
4476 Also collect clang resource directory with
4477 `-no-canonical-prefixes`
4478 + dce6ed777d958d65c7f3d4a2f54f8117778a449e:
4479 Make `bazel run` works with minimal mode
4480 + ca8674cc4879ed1846bf015c33fe7d920a3f66ab:
4481 Include source files with `cquery --output=files` (#16826)
4482 + 9cb5e0a31665d3b3f25bf58ec2dee696e828d8b9:
4483 Fsync before rename after copy in DiskCacheClient
4484 + 23ffce53b92ef96432d8c6c58cc95ac362bab1bc:
4485 Update GetActionResult for disk cache to check referenced files
4486 when …
4487 + 0bc0ff5244142eb3348d42025ce21eeb337ad189:
4488 Make Java runfiles library compilable with JDK 8
4489 + fe169654a29d8ad33105d5d0034a7857834fed5d:
4490 [6.0.0] Default --incompatible_strict_conflict_checks to true.
4491 (#16864)
4492 + 99ca86f7c2968741ac3a9b20c3375fc992d49e66:
4493 Revert "[6.0.0] Default --incompatible_strict_conflict_checks to
4494 true. (#16864)" (#16872)
4495 + 312238f2b1414c98ed7d7d51dc4e18278edb2540:
4496 Make C++ runfiles library build with `-Werror=shadow`
4497 + 2baa5a4284467d70f1b31ea779b79d38ef07d164:
4498 Keep credentials cached across build commands.
4499 + 8818a57fce32a7872f045f03a334e1c9403724d3:
4500 [6.0.0] Only inject metadata for outputs that cannot be
4501 reconstructed by skyf… (#16879)
4502 + 31e4bf409eed71e8fb626092189eacb95f80fed9:
4503 Update java_tools v11.9
4504 + cd40666001e8d599bb61735898c195c6d2fae55b:
4505 replace _get_canonical_form(label) with str(label)
4506 + e2bc2374188b41924223385ad943db610e92e6c4:
4507 Avoid exceptions from hermetic sandbox for unsupported artifact
4508 subclasses
4509 + b564d145218e58b0440ffad82b3d1d54eef15d22:
4510 Remove warnings about ignored starlark options
4511 + 7ccc66108f08f7b6c6f6e5229f70f29962ea19ce:
4512 [6.0.0] Emit Tree objects in topological order (#16904)
4513 + 86dee6d2ecb269e0c41a97718812054394ee51a4:
4514 Correctly match regex with tree artifact
4515 + 14925b574aa63aad098f2c3d95e14b46ffd295ec:
4516 Always use target's attributes to set Python version (#16959)
4517 + a247502d28d8d70d648390de52952189b99a0bb7:
4518 Add 'toolchain' parameter to actions.{run,run_shell}
4519 + 497b7e403d6e5523bd1310bd1fe83c4ce1a6b1ec:
4520 Fix Bash `runfiles_current_repository` with RBE
4521 + 0a2c4edbc86398266525f31948d67a5736890bfe:
4522 Fix corner cases in Bash runfiles library
4523 + 33b514b25963452be71a015e08d4e890405b00a3:
4524 Fix runfiles creation with MANIFEST when building without the
4525 bytes
4526 + 3a13af41034e1f80cc0fbc1634cf8f724a85b78f:
4527 Remove LCOV merger dependency of `cc_test` without coverage
4528 (#17004)
4529 + 25ba76c1b8d420ebae43c1f59890ae46153c2240:
4530 Include full tree artifact in inputs when prefetcher doesn't
4531 support partial tree artifacts.
4532 + 06deebfb5b73f848de5a0ea0e00fcfaa26788d1f:
4533 Release 6.0.0 (2022-12-19)
4534 + c2bfb2e98d133c62be328e6e93c4b4bdf766d82c:
4535 Enable git_submodules tests and merge git_repository and
4536 starlark_git_repository (#17247)
4537 + e8182ce32931560406fee1c30745e56a2ee9a6b3:
4538 have 'bazel test' non-test targets depend on
4539 --remote_download_output
4540 + c3245cd028977877aa9e485451b29c7736ebcae0:
4541 Add `SpellChecker` suggestions for common Bzlmod errors
4542 + 8ec874348226995c4101b2173a465ddc65cab591:
4543 Use xcrun to invoke install_name_tool
4544 + 2b2bea4ee9d51ad875a8d273aa344ac9c5b6742c:
4545 Extra resources
4546 + 5b4de12b37cb4ba921b6bdfe810bbb47921ab3a6:
4547 Do not clear `--platforms` on no-op change to `--cpu`
4548 + db3c0130b3363485a366897e1c1f2adc5d41fde6:
4549 Report `AspectCreationException` to the user
4550 + 53e9fea30e58ab479e5cd7a6c804634f56fc2ddb:
4551 Use long executable path instead of `argv[0]` in all launchers
4552 + abae5ca3e8142f93cf0c2597e3410ed955c4dd59:
4553 Add sanitizer features to unix_cc_toolchain_config
4554 + db684196afd3b1a0a0e7d883674324bd161ae8bf:
4555 Allow `map_each` to return `None` in `TemplateDict#add_joined`
4556 + 66b58ee904efa22696edc1b78a59bac91da9ed8d:
4557 Always emit trailing zero in human-readable download progress
4558 + 17b8e448a5e5589f96c2794cb38c86b0c64e86c0:
4559 Upload all logs in BEP even with minimal upload
4560 + 28d2daae70be6ee97b876b0568796ceb87af9523:
4561 Set `--experimental_action_listeners` to default in `exec` config
4562 + 16427c9050db140d6cb90d7d6324d4a2ff1e249a:
4563 Do not count tests as failed that have not started
4564 + 094a0aabed1e018e6503bc3ac844c8022b71a527:
4565 Accept tildes in --override_module
4566 + 5f2866f8434ce9a17cf82c001efb7b236f189115:
4567 Do the AC integrity check for disk part of the combined cache.
4568 + cd10d508e20a4964586b46f7edea8a6dc900157c:
4569 Fix `--nozip_undeclared_test_outputs` on Windows
4570 + 073f54b9a7c46afd2c28b4a99a235bdd6b63bb5f:
4571 Allow pyd in extensions of dynamic libraries
4572 + ac504cbb463e76b1374d0060534acabbccb408d2:
4573 Register JavaCompileActionContext in Bazel.
4574 + f090433fcf0f42639608b9c5f0243018c1bb9ac7:
4575 Rollback #14510 because it causes remote test execution to fail
4576 + 942dddaaad9bf4fbb20b66535aad4fc464ad69ba:
4577 Prepare backwards compatible usage of optional C++ toolchain
4578 + 88b51f57d09e43dec31a84d4b636595924d5bfef:
4579 Emit LLVM coverage for source file paths with a `tmp` segment
4580 + bb0b886271d45209e3bef476da37811b9dd2afe5:
4581 Enable archive_param_file feature by default for Windows
4582 + baf97c00c891acf844a29b4cc31abb45b5c434e5:
4583 Allow `TemplateDict#map_each` callback to return a list of
4584 strings (#17306)
4585 + fcb007749f7f24b36c2b7c4284378bba20fc8b69:
4586 Only try to create groups of test actions in the ui.
4587 + 3c47b4716e6eca2b8ab06253915ef8d1bdd28038:
4588 Find `libtool` when using `BAZEL_USE_CPP_ONLY_TOOLCHAIN`.
4589 + 1da8a825c0fba882f33ea6998a76ff8265fcd32c:
4590 Add -dead_strip in default opt link flags for darwin
4591 + b0c5eb30b2738bf6454c3026a3e0f37579d5854c:
4592 Dont query remote cache but always use bytestream protocol
4593 + 00e9af1985cc0227599516fe7568785ca4334050:
4594 Allow Java coverage collection for external targets.
4595 + dd24a0022a0ff959598da2c9bc097d27083be1a0:
4596 Test and fix root symlink edge case in runfiles library
4597 + af97d9830d3207893cc6f5c851431a28f1721acb:
4598 [6.1.0] Fix broken CI (#17422)
4599 + b859571804f2095caaf018b172b59c90f185fd51:
4600 Add `native.package_relative_label` function
4601 + 82168d44ee1d49cf2f406903b6d8b9fde0e66cf2:
4602 Make Bazel more responsive and use less memory when --jobs is
4603 high (#17398)
4604 + 84c1ed430405b154b6e9eb2c28281f450e250eff:
4605 Multiplex worker fixes and tests for Android busybox tools
4606 (#17371)
4607 + 07590818d6ce0d0e66c2377db7e73fb6ee6702e5:
4608 Improve error message for concurrent modifications (#17396)
4609 + 27bc896f36f0e0ea5dbeaaa16f3a124e38a7284a:
4610 [6.1.0] Make bazel coverage work with minimal mode (#17397)
4611 + 544b8164ca352cf06dda0849a589b825631428af:
4612 [6.1.0] Fix cc_binary bug related to cc_shared_library on
4613 Windows and prepare for future removal of
4614 --experimental_cc_shared_library flag (#17445)
4615 + 9a7aa21c8cd6f38d10e23e265dd650bf031f9b7c:
4616 Fix Bash `runfiles_current_repository` for tools
4617 + 911eedc0badcefdbc60a936ae73972772042fc8a:
4618 Fix label unambiguous canonical form to correctly report
4619 non-visible repo names
4620 + e132653ead5e50f4226dbff7776466fef1918f49:
4621 Remove O1 from sanitizer feature flag defaults
4622 + ba9e2f8fe666b4fc6110d86ea93cc11779e77068:
4623 Remove usage of gRPC Context cancellation in the remote
4624 execution client.
4625 + de03a2363d016782c5dfe7c55b5cf06cb610f6a2:
4626 Allow -v to libtool
4627 + 4e35c02c7c400bfbbfa69164a1ec3bd51966ca79:
4628 Prettify labels in action progress messages with Bzlmod (#17278)
4629 + 1be0ac3e73698e31a349ece629c887b06e102a0b:
4630 Expand tree outputs before eagerly prefetching them for local
4631 actions. (#17494)
4632 + c26665102d0d524bb42be8cd205c7b31a22a75c9:
4633 Fix Java coverage collection with Java 8 runtime
4634 + 1a6ffe6d453708e3cefc98a07965c680e48d6bac:
4635 Add a flag to disable execution log sorting.
4636 + fbec8e2ad1dcbebbbc96491f8b6b208f5b3ac91f:
4637 Reduce flakiness on Windows for BwoB tests
4638 + 420659a9ad2a98f57e057d8c22eb621e3b12803e:
4639 Make AutoBazelRepositoryProcessor compatible with Java 8
4640 + dde6d20b3fd1d7a14825649c9c89d1c4d2d5242b:
4641 Do not recommend `shallow_since` for `git_repository`
4642 + f76fc61640825dd7cf83ce02ba48a4e4f95b66ff:
4643 Allow the timeout value for execute calls on a mac to be set via
4644 an environment variable
4645 + 773d232f528276338098578a28c19c742e3b4e7e:
4646 Fix RPATHs for cc toolchain solib when sibling layout is used
4647 + 5932b3b8886ddb5aba271fd907f1371e67960a44:
4648 [6.1.0] Add --host_features (#17528)
4649 + a0fa77cc36d02f5f230335556a1829b298b2f219:
4650 Exit with code 39 if remote cache evicted blobs that Bazel need
4651 during an invocation (#17496)
4652 + 1a438b41b74d94fd8b6ff4dcf20b4526530e3c6e:
4653 Only fetch @remote_coverage_tools when collecting coverage
4654 (#17512)
4655 + ee1daaf9852d568dcf38357eadd77b9de953db36:
4656 [6.1.0]Only fetch @remote_coverage_tools when collecting
4657 coverage (#17287)
4658 + 350e32952bdd639969e2aff7887c5dc34c21bce6:
4659 [6.1.0]Fix symlink file creation overhead (#17488)
4660 + 5406c953574d48434d33b1cf49b70b718795d783:
4661 [6.1.0] Cleanup stale state when remote cache evicted (#17538)
4662 + 2d1b570e976773134a6244dd012e93a5478f6d4a:
4663 Bump version number in runfiles.bash init code
4664 + 3ab8a0a5d628a0d958fb2eb1c0d5bb76b442e2f2:
4665 [6.1.0]Let `aquery` print effective environment for all
4666 `CommandAction`s (#17274)
4667 + 51e6c38ae808df4f2bf8fb29b4c5173e06ac014a:
4668 Properly report repo fetch progress during main repo mapping
4669 computation
4670 + 744108e88681e770982f148161d328c9b77319a1:
4671 [docs] Update migrating to Xcode tutorial (#17563)
4672 + 9dc7a7e6881f58965103b42390560589e0f38b48:
4673 Update //third_party:jsr305 (#17557)
4674 + 43dadb275b3f9690242bf2d94a0757c721d231a9:
4675 Bump minimum supported macOS versions to 10.13
4676 + 7d9d23c1ac1b7fcaa461f902e286f50fbb7cb116:
4677 Correctly set default subprocess factory when loading class
4678 `SubprocessBuilder`.
4679 + 77f82f4fab189fd042754be0a7747042d9b01b8f:
4680 Add an --incompatible_strict_conflict_checks alias for
4681 --experimental_strict_conflict_checks.
4682 + e05345dec405a0333c48ff188d2d9a1be90dad53:
4683 Add support for wrapping system streams in WorkRequestHandler
4684 + 68e1924cdab69ab92b8acf2f6e9324d11e00b267:
4685 Also handle remote cache eviction for tree artifacts. (#17601)
4686 + 4a6d056a8d058ab98a01348fb0c046660ee99a71:
4687 Add host transition to lcov_merger in Java version of py_test
4688 + 546e9e2942cb2e98b4c93065cc2d2910878dc900:
4689 Fix Bazel 6.0 crash regression (#17613)
4690 + 7e328bb71004e1976525d8b813ca0d616e2af74b:
4691 Include Bazel version information in profile metadata. (#17616)
4692 + aafe1235c55f6cdcfc577a40736aaeb9ebaca23b:
4693 [6.1.0] Handle remote cache eviction when uploading inputs for
4694 remote actions. (#17605)
4695 + 938e34823206a2644d538ba655d20ac553352975:
4696 [6.1.0] Rerun the artifact conflict check when
4697 --incompatible_strict_conflict_checks changes. (#17592)
4698 + 034a2815a1e18be5c8b36c6a78f44bb849dff437:
4699 Report background download for BwoB (#17619)
4700 + 5afbce52c70cf974eaa4a3bbbc376f398271427d:
4701 [6.1.0] Flag for writable outputs (experimental) (#17617)
4702 + d4105e658001677929338835eb970e6595e66b3c:
4703 [6.1.0] Allow .wasm cc executable and dynamic library extension
4704 (#17440)
4705 + a306f4f7fd440d006aa6ae9234b4430f13bc8cf9:
4706 make desugar dependencies deterministic
4707 + 37953c56ea77c7aa7bea677f3481557fdb2c2a15:
4708 Apply exec transition to lcov_merger in sh_test and cc_test
4709 + 1d73d72a45598e38c51b2618bb6fe4f27b390cb8:
4710 [6.1.0]Fix --host_features with multiple transitions (#17641)
4711 + 755cd4bcd48adf752bd8c161454e53a0f5b6a2fa:
4712 Release 6.1.0 (2023-03-06)
4713 + 885ae7ef3afd88e21c33579bcd64ee3136bd8715:
4714 Revert "Add -dead_strip in default opt link flags for darwin
4715 (#17312)" (#17696)
4716 + e7fd4cf42e3e320dfac0400464a604c0d8b71a1d:
4717 Fix wasm dynamic library extension crash (#17757)
4718 + 1a90fe5fe3283e8e593b62173911e4c264a28b09:
4719 Release 6.1.1 (2023-03-15)
4720 + c0ae7becf8de993b9e862f3831889d96994dadbf:
4721 Bazel CI: Temporarily disable GitRepositoryBlackBoxTest (#18045)
4722 + 1f2b3ed4ac717b814d02a0d125f160ddabe78003:
4723 Patch zlib to fix compatibility with latest Xcode
4724 + 906812c9f93d072ddda732919d20306a50ca0261:
4725 Turn applicable_licenses on platforms into a no-op. (#18082)
4726 + 05984b980087371e6ff9b808e27b20294d017ad5:
4727 Use ctime in file digest cache key (#18101)
4728```
4729
4730Incompatible changes:
4731
4732 - Bazel no longer increases the delay between progress updates when
4733 there is no cursor control.
4734 - `--incompatible_always_include_files_in_data` is flipped
4735 to true. See https://github.com/bazelbuild/bazel/issues/16654 for
4736 details.
4737 - `cquery --output=files` also outputs source files.
4738
4739 Closes #16602.
4740 - `--incompatible_strict_conflict_checks` is flipped to true. See
4741 https://github.com/bazelbuild/bazel/issues/16729 for details.
4742 - This changes the behavior of Python version in exec/host
4743 configuration. Mitigation is to set Python version on the targets.
4744 - `--features` only applies to targets built in the target
4745 configuration, and `--host_features` is used for the host / exec
4746 configuration (gated behind `--incompatible_use_host_features`)
4747
4748 Fixes https://github.com/bazelbuild/bazel/issues/13839
4749
4750 Closes #16626.
4751
4752Important changes:
4753
4754 - The new path variable `$(rlocationpath ...)` and its plural form
4755 `$(rlocationpaths ...)` can be used to expand labels to the paths
4756 accepted by the `Rlocation` function of runfiles libraries. This
4757 is the preferred way to access data dependencies at runtime and
4758 works on all platforms, even when runfiles are not enabled (e.g.,
4759 on Windows by default).
4760
4761 Work towards #16124
4762 Fixes #10923
4763
4764 Closes #16428.
4765 - Starlark `print()` statements are now emitted iff the line of
4766 code is executed. They are no longer replayed on subsequent
4767 invocations unless the Starlark code is re-executed.
4768 Additionally, multiple identical `print()` statements (same
4769 string from the same line of code, e.g. from a loop) are all
4770 emitted and no longer deduplicated.
4771 - Fixes a bug where some compilation flags would not be applied to
4772 a cc_test
4773 - Added a `native.package_relative_label()` function, which
4774 converts a label string to a Label object in the context of the
4775 calling package, in contrast to `Label()`, which does so in the
4776 context of the current .bzl file. Both functions now also accept
4777 relative labels such as `:foo`, and are idempotent.
4778
4779This release contains contributions from many people at Google, as well as Brentley Jones, Ezekiel Warren, Fabian Meumertzheim, keertk, Keith Smiley, Krzysztof Naglik, kshyanashree, lunch-glide-pepper, oquenchil, Ted Kaplan, Ted Kaplan, UebelAndre, Xùdōng Yáng, Yannic, yuzhy8701.
4780
Bazel Release System00776992023-04-17 21:20:03 +02004781## Release 7.0.0-pre.20230410.1 (2023-04-17)
4782
4783```
4784Baseline: 237fb69ede58a7cb672363451c2cb455637fccfe
4785```
4786
4787Incompatible changes:
4788
4789 - Remove high priority workers functionality from blaze.
4790
4791Important changes:
4792
4793 - `--experimental_remote_build_event_upload` has been renamed to
4794 `--remote_build_event_upload`
4795 - [Breaking change] platform, constraint_setting, and
4796 constraint_value can no longer take an applicable_licenses value.
4797 Remediation is to remove the attribute and rely on the package
4798 level default.
4799
4800This release contains contributions from many people at Google, as well as Brentley Jones, Fabian Meumertzheim, Philipp Schrader, Ulf Adams, Yannic Bonenberger.
4801
Bazel Release System37d080b2023-04-12 20:02:31 +02004802## Release 7.0.0-pre.20230405.2 (2023-04-12)
4803
4804```
4805Baseline: 177f0d49913d74e7b1a4aae52f835702d7e85401
4806
4807Cherry picks:
4808
4809 + 81ee0fc29fb538d0849c6e7ccfff925f99b87453:
4810 Remove globDeps containing some Glob skyKey check
4811```
4812
4813Important changes:
4814
4815 - cc_test can now be configured by using a native.toolchain().
4816 - `@foo` labels can now be used on the command line as the
4817 top-level target (that is, `bazel build @foo` now works).
4818 Double-dot syntax is now forbidden (`bazel build ../foo` will no
4819 longer work).
4820 - The location of rules that explicitly specify `generator_name`
4821 and/or `generator_function` attributes (typically because they
4822 are incidentally copied from `native.existing_rule()`) is now the
4823 top-level call in the `BUILD` file, which is consistent with
4824 rules that do not explicitly specify these attributes.
4825 - Warnings (most notably those associated with the `deprecation`
4826 rule attribute) are no longer replayed on subsequent invocations
4827 unless the target in question is re-analyzed. Warnings are purely
4828 informational, so this change has no bearing on the correctness
4829 of the build. Downstream tests that break due to this change
4830 should update their expectations.
4831
4832This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Jack Dai, Konstantin Erman.
4833
Bazel Release System79331af2023-04-06 21:53:13 +02004834## Release 7.0.0-pre.20230330.3 (2023-04-06)
4835
4836```
4837Baseline: f7829f855bc31aaf0c0fcef55ef56adec84daa9e
4838
4839Cherry picks:
4840
4841 + eee0d9dfe3513042112a0f0ec519e2b232e5d203:
4842 Add an option retention option to proto_library.
4843```
4844
4845Incompatible changes:
4846
4847 - `--experimental_execution_graph_log` no longer exists. Current
4848 users that want local logs need to pass
4849 `--experimental_enable_execution_graph_log
4850 --experimental_execution_graph_log_path=/some/local/path`.
4851 Current users that want logs uploaded to BEP need to pass
4852 `--experimental_enable_execution_graph_log
4853 --experimental_stream_log_file_uploads`.
4854 - Remove 'darwin' as a CPU value, use 'darwin_x86_64' instead
4855
4856Important changes:
4857
4858 - Added `native.module_name()` and `native.module_version()` to
4859 allow BUILD macro authors to acquire information about which
4860 Bazel module the current repo is associated with.
4861 - Add `--skip_incompatible_explicit_targets` option
4862 - Remove 'darwin' as a CPU value, use 'darwin_x86_64' instead
4863
4864This release contains contributions from many people at Google, as well as Benjamin Peterson, Benjamin Sigonneau, Ed Schouten, Fabian Meumertzheim, hvd, Keith Smiley, Malte Poll, Marc Zych.
4865
Bazel Release System78f00592023-04-03 20:40:17 +02004866## Release 7.0.0-pre.20230322.4 (2023-04-03)
4867
4868```
4869Baseline: 65b394866a23faa09d22a9bb9defde2b6a57140d
4870
4871Cherry picks:
4872
4873 + b9bdcf8611e7e9937314a70380bc6391487e7d50:
4874 Enable
4875 experimental_execution_graph_enable_edges_from_filewrite_actions
4876 by default
4877 + 5a4a3404307c9dd4654866e5d225ac9ec7107970:
4878 Update documentation for cc_import deps attribute
4879 + 577c0621412a1db57e42139fdb149cf42f43be57:
4880 Automated rollback of commit
4881 ad380dddf49d51d86a8a1698efe76c340aada3c0.
4882 + 70c821ad1c2f8029643716cf738cf2aaca7a92a4:
4883 starlark: Reduce allocations for `find`/`indexof` without `end`
4884 + 233ee2930b66063f5ef2372f1889fe7779925173:
4885 Automated rollback of commit
4886 0d2e9dae9c64ef783fa79b5b97fe2682499e038e.
4887 + 788801a8fd30985a1831de805172d257c6f63691:
4888 Enable C++ deps pruning on Windows when PARSE_SHOWINCLUDES is
4889 available.
4890 + aa2407fe0a0162f3b075eb38b449d3baee3f9cf9:
4891 Remove "get" from field names in BzlmodFlagsAndEnvVars class
4892 Disable Html escaping for better format
4893 + 83c954de9ceeb9954be4921bfcbcf81a5814240a:
4894 [Skymeld] Gracefully handle --explain.
4895 + 842d23ea7b3227abb85f801c690e65bc2f886587:
4896 Automated rollback of commit
4897 24f6fe802ebb68da71e1e071c9e84c89b4aa0772.
4898 + c71b0b123e34cbbfe80482e85b2ad45e5a5e5ccc:
4899 Increase bazel_module_test timeout: it times out on macOS on
4900 Bazel CI
4901 + f3e11c5bca767489c677875dc218f30ddacf6b62:
4902 - Add team-Rules-Java and team-Android to PR labeler - Add
4903 awaiting-review to all PRs
4904 + 2e219de0206f533772d336facf51678e847dcb6d:
4905 Make lockfile human readable
4906 + 3b9ec35f5a18afe256f679df1e91796dae720fc3:
4907 Module Lockfile
4908 + 4c8535670c00116ce7c64f9b2555381b94b12cfc:
4909 Fix ProxyHelperTest on JDK@HEAD
4910 + b27d1a3b66628ec479cdc4dc8629a4bddc0320d1:
4911 Fix regression with implicit deps which Automatic Exec Groups
4912 caused
4913 + 24f6fe802ebb68da71e1e071c9e84c89b4aa0772:
4914 Switch TargetPattern.Parser to use LabelParser
4915 + dd822392db96bb7bccdb673414a20c4b91e3dbc1:
4916 Canonicalize use_extension label
4917 + e97f62d54585c759735487bec78cc2bb6a7d215b:
4918 This is specifically for android_binary rule. (prev change was
4919 for android_library rule
4920 https://github.com/bazelbuild/bazel/commit/98bd4ae81715742ae5aa6c
4921 91164cd37396cb7c91)
4922 + 75dce1eefd6139b8a395d9ac6ece211e809efe78:
4923 Generate loadable dummy .bzl/BUILD/WORKSPACE files
4924 + c024b8af09fb7d132a131f99ce5635e4623b8bb2:
4925 Automated rollback of commit
4926 b2844771164fff2ad6cb2c265ff0da0bd0828906.
4927 + 6f12510e39153e316f35ab0a1ec376ece7f1b0a9:
4928 Clarify responsibilities of the Configurability team.
4929 + 9f93780eafb4f98500f3bc6a828c43b6da363089:
4930 Create an option to enable `GcThrashingDetector`.
4931 + b2844771164fff2ad6cb2c265ff0da0bd0828906:
4932 Automated rollback of commit
4933 9353955f016b4b918c1543018379a933932586b8.
4934 + e2639459bde1283d72887cfa90d7558a4d22b3a7:
4935 Label Interner Part I -- Create `PooledInterner` and make
4936 `SkyKeyInterner` as its subclass
4937 + 99b672b631a075b25fe9215709f53703924dccf0:
4938 Simplify cc_test rules by leveraging optional toolchains.
4939 + e54564fdbce4a0aff6d753a383bce4ddeba5d16b:
4940 Restructure ActionStager and CommandAdjuster
4941 + 1a719cea3f9bf7ee427620d779b6c287f885eff8:
4942 Add `module_ctx.is_dev_dependency`
4943 + 986ef7b68d61b1573d9c2bb1200585d07ad24691:
4944 [Skymeld] Move the various skymeld flag check to SkymeldModule.
4945 + 03266a86fb9b52cfc45ad0b0404561bd7c218680:
4946 Tests for TargetPattern parsing, and some sanity fixes
4947 + 109b29019882811d1beb97a60f8cda668442e8e8:
4948 Fail early if `use_extension` has a bad label
4949 + 9353955f016b4b918c1543018379a933932586b8:
4950 Unconditionally clear the syscall cache at the end of the build.
4951 + 2aa06cf227fe349195191107286167035f0c5431:
4952 Expose cc_proto_aspect as a toplevel symbol.
4953 + 24b45890c431de98d586fdfe5777031612049135:
4954 Automatically retry the build if encountered remote cache
4955 eviction error
4956 + a9dfbae320da3a83c52359069ca7d2214514caaa:
4957 Increase the test size for //src/test/py/bazel:py_test to
4958 prevent flakily timing out on BazelCI.
4959 + f63ce7973b8f3f2560f41daf7321a40d20b22fab:
4960 Avoid unnecessary copying when building Merkle trees.
4961 + 6146e4a993c07713aca486fd58f29decfea94aa6:
4962 [Skymeld] Include the underlying IOException's details if it
4963 happens while planting the SymlinkForest.
4964 + 79e22a3278b084b386ce00bd33b31d9526884801:
4965 Update docs on cached print statement behavior
4966 + f7829f855bc31aaf0c0fcef55ef56adec84daa9e:
4967 Rename Factory-level ExecutionTransitionFactory.create to
4968 createFactory
4969 + 57426bcdd2853f65b6381b11f6253111abc8c8da:
4970 Fix iterating over string example
4971 + 4097d9c5e81413cdacb30d628340e15e06024402:
4972 Use `PercentageConverter` to automatically validate the value of
4973 `--experimental_oom_more_eagerly_threshold`.
4974 + 576a497d0215a0d05debd302b6c0aa74d49c7ee8:
4975 Delete unused PackageIdentifierAndLong
4976 + fa7bfa3512029e7abe0e67a9b7831595c30368c5:
4977 Automatic code cleanup.
4978 + c89ca0d4d772b08fd852bcd35efd077253b02cc9:
4979 Update D8/R8 dependency in bazel to 8.0.40
4980 + cee754ced7168f3cdac82ae0c578a4ea999d473e:
4981 Add team-Remote-Exec & team-Documentation to PR labeler
4982 + 0882effbc746c0a40cd21b9a8e06b2a060b32e1c:
4983 Include --bes_upload_mode in docs
4984 + d1b4fb746e7c1865ce9631636c227e1aaca732d0:
4985 Remove 'darwin' CPU value
4986 + 02846a81bbc75ee39cd065c6c91dcf72adbc3fd7:
4987 Remove 'darwin' CPU value
4988 + 0ddf9bf223616f91dc981ed6aea8866624ced3af:
4989 Remove unneeded use CompilationFailedException.
4990 + aaf1d0696ffe8a6abe66c3d40947ff4f88a11ca0:
4991 Don't intern `RootedPath` on Windows.
4992 + 98bd4ae81715742ae5aa6c91164cd37396cb7c91:
4993 Native changes required to support linking against resource apks.
4994 + 0a8380bec9dceae1bffabddcccd459e82d8674b1:
4995 Set the digest_function field as part of all relevant gRPC
4996 requests
4997 + 6e01b25954d974a36bd345be730611507df902cd:
4998 Add support for .tbz file extension in
4999 repository_ctx.download_and_extract
5000 + 8ab9c6e5497ccfe88fdedb2c86ce0ae9461115dc:
5001 Add a boolean flag which controls whether ExecutionGraphModule
5002 is on.
5003 + 753f5d38bc17c0c61fd50f02b106c8fe33d5035a:
5004 Enable heuristically dropping GENQUERY_SCOPE nodes
5005 + 57f954d34b8811af4c96ed5c492f59dac81b5abb:
5006 Update stale workflow #s
5007 + 8c712c824fbf8e6b5c48bece78e2cdd0c14906b7:
5008 Fix formatting issue in http.bzl
5009 + 0d2e9dae9c64ef783fa79b5b97fe2682499e038e:
5010 Automated rollback of commit
5011 f548d56bc7f5c664fe6de5070a47e24720d35597.
5012 + ad380dddf49d51d86a8a1698efe76c340aada3c0:
5013 Automated rollback of commit
5014 602794efa7fa2d56013e14903578a82860505006.
5015 + e69aad7a6f607ab310ae918b0271867cc7ea44c6:
5016 Automatic code cleanup.
5017 + a691e974d2e4c5fa4a469e1321b18d15ac7e9cfa:
5018 Create a `GcThrashingDetector`.
5019 + abc13e32c0c2cb3bb21efb497a788dec8dc8bd44:
5020 Release 7.0.0-pre.20230316.2 (2023-03-27)
5021 + f4b3165b58b4dfcd8305d268d5ffe4e55e8c525a:
5022 Detect when `GCLocker` defers a `System.gc()` call.
5023 + 3c1c0c09e68420c813d6258b90ff96641dbd1151:
5024 Add suggestions to invalid tag class errors
5025 + 81f312102ff25b89e3afadf05620785ace319ae0:
5026 [Skymeld] Don't use SkyKeyComputeState to manage conflict
5027 checking in BuildDriverFunction.
5028 + 602794efa7fa2d56013e14903578a82860505006:
5029 Flip Automatic Exec Groups inside java_binary
5030 + f7627e00bf96c9159ab79a32afc4f6a622f0deeb:
5031 Support (workspace) relative paths in --override_module closes
5032 https://github.com/bazelbuild/bazel/issues/17551
5033 + 16c639ca3a2dacf9ed47e60fc4e13d2983579e5e:
5034 Trigger labeler when a PR is ready for review (removed from
5035 draft mode)
5036 + 5a972e0ac2b55eebee29f61e7e7743cb85695f05:
5037 Set `use_default_shell_env` for windows launcher maker action
5038 + 165e7684a1c05d118baaf16449d97f895855db80:
5039 Fix windows launcher maker compilation with mingw-gcc
5040 + 136a1ee4be934f91bb1388dc289338f213fac181:
5041 Add `--skip_incompatible_explicit_targets` option
5042 + 130703a37382e411390e6db171e9100a8f95cf38:
5043 Delete old dependency to bazel's //tools/objc
5044 + 7917b9ae26d0d600ac10d600fc029291baf76e6b:
5045 Automated rollback of commit
5046 2a3ab5c45b42321cf1495be7e294e5ec01298ca1.
5047 + 33d2dc907d304679e303c37e9bfb69cba177bb8d:
5048 Shard bazel_module_test and py_test
5049 + 27a16f74a9fbd9ac85db7720322743bcb1d9d495:
5050 Increase test sizes and shard counts to prevent timing out on
5051 BazelCI.
5052 + 09adb348446ffc41f0c4da5c6a8dc97a27dcfd88:
5053 [Skymeld] Make the execution timer more precise.
5054 + aa4f3580d277e50757ea696e3a312c0921c304f2:
5055 Clean up third_party directory
5056 + d910f361ad05edfffeffdd751900c112aa293c63:
5057 Updates to PR labeler
5058 + f35fde47e6d8844816a6c08ee7a3cf33ead7681a:
5059 Update rules_java and remove references to
5060 "remote_java_tools_darwin"
5061 + 718a916236b90727b10622fa3f52fe8336d8cceb:
5062 Use concrete collections, not lazy set
5063 difference/intersection/filter views, on hot codepaths in the
5064 Skyframe engine code, when we'll be iterating more than once.
5065 + a30e2555e2f22b3d520a1ef460a9541f7e33c248:
5066 Fix code warnings around rule/package factories.
5067 + 2aee015fe6e2e0671241ac44c73e88fd7511fa2b:
5068 Optimize storage of output files in `Rule`.
5069 + 50e5e6ced388d1f66a395c3e75d3fbc12b45d6db:
5070 Updating assignees in all issue templates to individual GitHub
5071 handles.
5072 + 97aec0f2151194d6605d38c84840af1066da39b3:
5073 Update templates to include assignees & labels
5074 + 7556e1107b666d10b660470a571631463c7eb4ec:
5075 Add version to JavaRuntimeInfo.
5076 + bcf309b88949fe1bbff1776d88fdaa5c3e1d2d37:
5077 Add native.module_{name,version}
5078 + 144ad7b215d4a0fc77fec73fc5dd83a0bc386847:
5079 Ignore empty symlinks depsets in ctx.runfiles()
5080 + cb55c5b99e18e131d4f689062b68c11a4ec848e0:
5081 [Skymeld] Skip checking for external repos when it's clear that
5082 we don't expect any.
5083 + a151696e1aca27e85dee8e758f9abc73fc78933f:
5084 Mirgate jar dependencies for testing to rules_jvm_external
5085 (third_party)
5086 + 35f2d49e51a853bbf2261da0ae2ac658451e3883:
5087 Update issue templates to mention about GitHub Discussions
5088 + 6a174577835e713415d135ad476f7d27cd1f57a9:
5089 Introduce --experimental_parallel_aquery_output.
5090 + 70ce8378638290295e17fb62e735a239f22672e6:
5091 Add attribute 'provides = [CcInfo]' to '_cc_proto_aspect'
5092 + c04f0d41317bfe1f6ff42da94dddb4023587fc26:
5093 Use less subshells and `tee`s in running tests with `bazel run`.
5094 + c82168eea66609bd0fc3acbc02e837f6a65c3b1b:
5095 Avoid storing `LateBoundDefault` attribute values in `Rule`.
5096 + 745ca288770253225d5d96069038a5d735eda69b:
5097 Suggest alternatives for typoed rule attribute names
5098 + 187f3e499060a467db65087ef9dd89b172c8aa40:
5099 Add a cache for command lines of tools in Java toolchain.
5100 + 6cbe0f1ad6db2cacedd02e517f24f7d93df62803:
5101 Mirgate jar dependencies for testing to rules_jvm_external
5102 + 2a3ab5c45b42321cf1495be7e294e5ec01298ca1:
5103 Enable heuristically dropping GENQUERY_SCOPE nodes
5104 + 699e40373f95e42390a85f29dfa1098636336103:
5105 Automated rollback of commit
5106 a50cca561fe0a77c3750101e505171ddcc16db72.
5107 + b0fc11d8f386141d2c5efd39cbeed316d620888a:
5108 Add .bazelversion at the correct location
5109 + c8388e3dd5d9e6a371482133fb08ae37c2a4890c:
5110 Delete some dead code
5111 + a47a59237c816845b5881b7ce883e29702dc0267:
5112 Update ResolvedToolchainContext to take an ImmutableSet.
5113 + 0d2e9dae9c64ef783fa79b5b97fe2682499e038e:
5114 Automated rollback of commit
5115 f548d56bc7f5c664fe6de5070a47e24720d35597.
5116```
5117
5118Incompatible changes:
5119
5120 - --legacy_bazel_java_test is now a no-op
5121 - --legacy_bazel_java_test is now a no-op
5122
5123Important changes:
5124
5125 - The flag `--distinct_host_configuration` is removed. It has been
5126 a no-op since Bazel 6.0.0.
5127
5128This release contains contributions from many people at Google, as well as Alessandro Patti, Alex Eagle, Benjamin Peterson, Ed Schouten, Fabian Meumertzheim, hvd, Jon Landis, something_vague.
5129
Bazel Release Systemabc13e32023-03-27 18:00:21 +02005130## Release 7.0.0-pre.20230316.2 (2023-03-27)
5131
5132```
5133Baseline: 8b68efeea23fdcd734bcb1f4bbd6754f11108405
5134
5135Cherry picks:
5136
5137 + 8a23169311142f49ceef076eb02e06f030e275ed:
5138 Automated rollback of commit
5139 08d31877bd5c1500e3ca67f47bcd3b79b4af226d.
5140```
5141
5142Incompatible changes:
5143
5144 - Bazel's local CPU resource on Linux is now container aware. Use
5145 `--local_cpu_resources`, `--loading_phase_threads` or `--jobs` to
5146 override.
5147 - `copy_from_rule` is exec_groups is deprecated
5148 (https://github.com/bazelbuild/bazel/issues/17668).
5149 - --legacy_bazel_java_test is now a no-op
5150 - --legacy_bazel_java_test is now a no-op
5151
5152Important changes:
5153
5154 - making --incompatible_use_platforms_repo_for_constraints do
5155 nothing. Using constraints from @bazel_tools//platforms with or
5156 without the flag will throw error with message "Constraints from
5157 @bazel_tools//platforms have been removed. Please use constraints
5158 from @platforms repository embedded in Bazel, or preferably
5159 declare dependency on https://github.com/bazelbuild/platforms"
5160 - Fixed an issue where WORKSPACE and WORKSPACE-loaded .bzl files
5161 couldn't see the Bzlmod root module's mappings when Bzlmod is
5162 enabled.
5163 - Subsequent settings of --extra_execution_platforms now override
5164 previous settings, instead of adding them to a list. If you
5165 currently set --extra_execution_platforms more than once, please
5166 migrate by passing a list of values to
5167 --extra_execution_platforms instead so that earlier values aren't
5168 overwritten.
5169 - @bazel_tools//config:common_settings.bzl has been removed.
5170 Use @bazel_skylib//rules:common_settings.bzl instead.
5171 - cc_shared_library is no longer experimental, see
5172 https://github.com/bazelbuild/bazel/issues/16709 for details
5173
5174This release contains contributions from many people at Google, as well as Adam Lavin, Andy Hamon, Benjamin Peterson, Ezekiel Warren, Fabian Meumertzheim, Julio Merino, Keith Smiley, redwrasse, Sagar Pathare, something_vague, Yannic Bonenberger.
5175
Bazel Release Systemcf08d292023-03-17 19:04:57 +01005176## Release 7.0.0-pre.20230306.4 (2023-03-17)
5177
5178```
5179Baseline: 0ce17480390cdced2df8d59249561613e81f446f
5180
5181Cherry picks:
5182
5183 + 28dc0f93bf725d35124d3c17e8aaa654cfa3b498:
5184 Switch `RemoteFileArtifactValue` subclassing to optimize for
5185 memory cost.
5186 + e79de51b91263b33ced77f0a749a1856972510d1:
5187 Remove NO_EXPORTING tag from cc_shared_library
5188 + e0cdaced03750823021b8b1f5b82a71170d67642:
5189 Fix data race in prefetcher.
5190```
5191
5192Incompatible changes:
5193
5194 - This has the side effect of changing the message on unsuccessful
5195 builds from
5196 ```
5197 FAILED: Build did NOT complete successfully (0 packages loaded)
5198 ```
5199 to
5200 ```
5201 ERROR: Build did NOT complete successfully
5202 ```
5203 - Bazel no longer increases the delay between progress updates when
5204 there is no cursor control.
5205 - This has the side effect of changing the message on unsuccessful
5206 builds from
5207 ```
5208 FAILED: Build did NOT complete successfully (0 packages loaded)
5209 ```
5210 to
5211 ```
5212 ERROR: Build did NOT complete successfully
5213 ```
5214 - the --experimental_async_execution flag is now a no-op.
5215 - --experimental_replay_action_out_err is not a no-op.
5216 - `cquery --output=files` also outputs source files.
5217 - `--incompatible_strict_conflict_checks` is flipped to true. See
5218 https://github.com/bazelbuild/bazel/issues/16729 for details.
5219 - `--incompatible_strict_conflict_checks` is flipped to true. See
5220 https://github.com/bazelbuild/bazel/issues/16729 for details.
5221 - `--incompatible_always_include_files_in_data` is flipped to true.
5222 See https://github.com/bazelbuild/bazel/issues/16654 for details.
5223 - This changes the behavior of Python version in exec/host
5224 configuration. Mitigation is to set Python version on the targets.
5225 - When multiple --deleted_packages options are passed on the
5226 command line, they will be concatenated instead of the latest one
5227 taking effect.
5228 - This has the side effect of changing the message on unsuccessful
5229 builds from
5230 - JSON profile: Use doubles instead of strings for counter series.
5231 - query --output=proto --order_output=deps now returns targets in
5232 topological order (previously there was no ordering).
5233 - --experimental_build_transitive_python_runfiles is flipped to
5234 false. See #16303 for details
5235 - --incompatible_python_disable_py2 is flipped to true. See #17293
5236 for details.
5237 - When remote cache evicts blobs, Bazel will exit with code 39.
5238 - `--features` only applies to targets built in the target
5239 configuration, and `--host_features` is used for the host / exec
5240 configuration (gated behind `--incompatible_use_host_features`)
5241 - `--incompatible_strict_conflict_checks` is flipped to true. See
5242 https://github.com/bazelbuild/bazel/issues/16729 for details.
5243
5244New features:
5245
5246 - The `aquery` and `cquery` commands now respect the
5247 `--query_file` flag just like the `query` command.
5248
5249Important changes:
5250
5251 - The new path variable `$(rlocationpath ...)` and its plural form
5252 `$(rlocationpaths ...)` can be used to expand labels to the paths
5253 accepted by the `Rlocation` function of runfiles libraries. This
5254 is the preferred way to access data dependencies at runtime and
5255 works on all platforms, even when runfiles are not enabled (e.g.,
5256 on Windows by default).
5257 - Starlark `print()` statements are now emitted iff the line of
5258 code is executed. They are no longer replayed on subsequent
5259 invocations unless the Starlark code is re-executed.
5260 Additionally, multiple identical `print()` statements (same
5261 string from the same line of code, e.g. from a loop) are all
5262 emitted and no longer deduplicated.
5263 - Fixes a bug where some compilation flags would not be applied to
5264 a cc_test
5265 - removed outdated ctx.host_fragments
5266 - removed outdated ctx.host_configuration
5267 - Now that the host configuration is finished, `genrule` should
5268 prefer the use of `tools` and stop using `exec_tools`.
5269 - Added a `native.package_relative_label()` function, which
5270 converts a label string to a Label object in the context of the
5271 calling package, in contrast to `Label()`, which does so in the
5272 context of the current .bzl file. Both functions now also accept
5273 relative labels such as `:foo`, and are idempotent.
5274 - Update Android manifest merger to v30.1.3, and also drop support
5275 for legacy (pre-D8) desugaring.
5276 - Adds coverage metric support to android_local_test
5277 - Correctly encode double value positive infinity as "inf" instead
5278 of "+inf" for textprotos.
5279 - Add --use_target_platform_for_tests which uses the target
5280 platform for executing tests instead of the execution platform.
5281 - Custom C++ rules on Windows calling
5282 cc_common.create_linking_context_from_compilation_outputs should
5283 review whether each target of the rule type should produce a
5284 dynamic library since a condition which blocked their creation
5285 has been moved to the rules from behind the API.
5286 - Add flag `--experimental_remote_cache_ttl` and set the default
5287 value to 3 hours.
5288
5289This release contains contributions from many people at Google, as well as Alex Eagle, Amanda L Martin, Andreas Herrmann, Ankush Goyal, Anthony Ter-Saakov, Artem Zinnatullin, aryeh, Austin Schuh, Benjamin Lee, Benjamin Peterson, Benjamin Peterson, Ben Lee, Brentley Jones, Chirag Ramani, Christopher Peterson Sauer, Christopher Sauer, Daniel Grunwald, Daniel KT, Daniel Wagner-Hall, Ed Schouten, Emil Kattainen, Ezekiel Warren, Fabian Meumertzheim, Fabian Meumertzheim, Fahrzin Hemmati, Fahrzin Hemmati, Gaspare Vitta, Greg Magolan, Halil Sener, Hao Yuan, hvadehra, hvd, James Ma, John Hinnegan, Jon Parise, jonrose-dev, keertk, Keith Smiley, Krzysztof Naglik, kshyanashree, Kun-Lu, Lee Mracek, lripoche, Matt Mackay, Maxwell Elliott, mohamadk, nathyong, Nick Korostelev, Oliver Lee, Patrick Balestra, Patrick Balestra, Red Daly, robincaloudis, Robin Tweedie, Roger Hu, Saleem Abdulrasool, Sara Adams, Sascha Moecker, Severin Strobl, Siddhesh Bhupendra Kuakde, Simon Mavi Stewart, Son Luong Ngoc, Stiopa Koltsov, tbaing, Ted Kaplan, Ted Kaplan, Thulio Ferraz Assis, Tom Cnops, Ulf Adams, Ulrik Falklof, Uri Baghin, Xavier Bonaventura, Xdng Yng, Xiangquan Xiao, Yannic Bonenberger, Yannic, Yi Cheng, yuzhy8701.
5290
Bazel Release Systemb3821452023-03-15 15:40:20 +00005291## Release 6.1.1 (2023-03-15)
5292
5293```
5294Baseline: d60ce2c7c86393638c77698c00c2168a7a936a53
5295
5296Cherry picks:
5297
5298 + 490f8badf4f6f4ae8b96697f08267fdb083ccf5f:
5299 kshyanashree is the release manager of 6.0.0
5300 + 4e66d9340037f0be83d7bc0fdd809a09344ab83f:
5301 Automated rollback of commit
5302 2a2890913eb8f39299aa4b614ba96266ea8749f6.
5303 + 48a8d01b05149757f69a6a65a22a280bf003cd24:
5304 Allow C/C++ coverage collection for external targets
5305 + ec7be346adc00c4bde22d116fca80ef59da66121:
5306 Temporarily set parent directory of the input to writable if it
5307 is not.
5308 + b0984342eef068640a57aab584dd4c118f0dd394:
5309 Infer CPUs for tvOS and watchOS when on Apple Silicon
5310 + 5cea7dda5b632703cf4e0424ba09cd7c5bd6fc06:
5311 Improve the documentation for ctx.actions.symlink.
5312 + a82d26f17a99b5417b2212a0ce3a1bbc0285e5c4:
5313 Add quotes to "Tip"
5314 + 75b0f3aa95bc34f6620ea74e47d4822bd985efdd:
5315 Write a repo mapping manifest in the runfiles directory (#16555)
5316 + 07c5c1aa6d0b63605ae793dce78d26122af64a84:
5317 Ensure repository names don't start with `~`
5318 + 30f6c8238f39c4a396b3cb56a98c1a2e79d10bb9:
5319 Escape tilde more gracefully
5320 + cf3f48ca49f089615417636763d753811acf717f:
5321 Relax `Label` repo visibility validation
5322 + 4477823e2c2bc3d0335c41f971364dda72a3f69a:
5323 Use "apparent name" instead of "local name" in Bzlmod docs
5324 + 55f4f4834ef30321a00dab5b58202dd1e9716fd9:
5325 Bazel DevSite: Add required css file.
5326 + a706994ac69e3f3fed361c61378de847b50d3b12:
5327 Remove logic that increases delay between progress updates over
5328 time
5329 + 1d514ab05896f34ec91c2145f4dffafd3364030f:
5330 Remove references to io_bazel repository
5331 + b0357bd3831b26b5116dc120807e8264acf139db:
5332 Relnotes python script
5333 + 8f956511bb115c39ac683a1e78971fcf9dce5deb:
5334 Allow Java coverage collection for external targets
5335 + bddb191d3f99402330c67b89375409c31ee22daa:
5336 Fix race condition in package-bazel.sh
5337 + a75785279f543f4e33c697dd9e8873a6504b7818:
5338 Decanonicalize labels emitted by {a,c,}query if possible
5339 + 9d250edb63f27f9f4591bb5a71059710cc6dca9e:
5340 Add uniquify parameter to TemplateDict.add_joined
5341 + f02bcf8d8b0d00ecdd06ea0a45ba4f52e436597c:
5342 Fix identical gcov json file name problem
5343 + a1593309f66f892871e334013815b05350b4188f:
5344 Add `$(rlocationpath(s) ...)` expansion
5345 + 56f54daf9ff3b1177eee31e342e8d6b959d5ac34:
5346 Rollup of SBOM correctness fixes (#16655)
5347 + 72e6e948d30dec9dec60d78efef4eeda5b764a8f:
5348 [cc] Add cc toolchain to starlark cc_proto_library (#16661)
5349 + 8f28513893969b6346d965cab12aac69cb246ced:
5350 Make C++ runfiles library repo mapping aware
5351 + 95f9adc5ac544b1161d69a7ca74432479fdc29b3:
5352 Always collect FileProvider's filesToBuild as data runfiles
5353 + 4959d34e844714b793b2c6fa05016a9a6eaa7044:
5354 fix: export constraints.bzl file from @local_config_platform so
5355 it can be used in downstream bzl_library targets
5356 + 4919d4a61d8506d175b25a035500842b8bfe3d0d:
5357 Add --host_per_file_copt (#16695)
5358 + 0a23d46976c3fc999d44fbd1e37732ec2442d485:
5359 Moving some tests for `RemoteActionFileSystem` of BwoB to a base
5360 class.
5361 + 9296068be5e3808eb03a3b61f3af3a2c88f7ab7d:
5362 [remote/downloader] Don't include headers in `FetchBlobRequest`
5363 + 128d833fee99f8a43bc4de82cbec752e4ce6fb47:
5364 [remote] Respect whether the server supports action cache updates
5365 + 38c501912fc4efc14abc0741d19f5f8e8763afcb:
5366 [remote/downloader] Migrate `Downloader` to take `Credentials`
5367 (#16732)
5368 + 5929cb72aa01768e6352898b1a056ef678c81d90:
5369 Stage repository mapping manifest as a root symlink (#16733)
5370 + 455454a56e961affb041a1d4a9214f7f313a05aa:
5371 Expose current repository name to Java with @AutoBazelRepository
5372 + 97dea593e568f776361397f7280d6a16eee2efeb:
5373 Implement getDirectoryEntries and readdir for
5374 RemoteActionFileSystem.
5375 + aa45f5f3301c5005294df084cdf99c45d6f95d53:
5376 Move integration tests for BwoB to a base class and add more
5377 tests there.
5378 + 1b073ac0a719a09c9b2d1a52680517ab22dc971e:
5379 Make Java runfiles library repo mapping aware
5380 + 148bbb1c025a628643698f65627333d86975c1d7:
5381 Use `_repo_mapping` in C++ runfiles library (#16752)
5382 + 25558ada3fb377cfc2c965d3a93250ca28ce0fc1:
5383 Add --experimental_action_cache_store_output_metadata to the
5384 expansio…
5385 + 6e945e8ab422ca0a195d09899cce61ba6c0cfa59:
5386 Treat `DEBUG` events as progress-like.
5387 + 1940c5d68136ce2079efa8ff74d4e5fdf63ee3e6:
5388 redact 'token' strings from logging
5389 + 0b645254b41edc738c6641fd192fca86203ff2e2:
5390 Make Bash runfiles library repo mapping aware (#16753)
5391 + 4caae75b49e815ad2cf1d805f316bc374f03f2ae:
5392 Automated rollback of commit
5393 8f956511bb115c39ac683a1e78971fcf9dce5deb.
5394 + 13ff6d9e37999e00fda9a6cef278c7c924924f34:
5395 Fix Bash rlocation failure with stricter Bash options
5396 + bd88c7e47b911e5fa1f8a3c26d0f8317943c43ce:
5397 Make bazel Android remote deps compatible with bzlmod (#16772)
5398 + 6f6d4cca36a3b64009ed9c8b3fb13cb3c7ed915a:
5399 Flip `--incompatible_always_include_files_in_data`
5400 + 94355b1b1c4f7ef923457b8b2a070e5c6528240a:
5401 Add required `--add-opens` server JVM args also with
5402 non-embedded JDK
5403 + 8349c95fc98beb4008085942a67a57f0c4da074b:
5404 Also collect clang resource directory with
5405 `-no-canonical-prefixes`
5406 + dce6ed777d958d65c7f3d4a2f54f8117778a449e:
5407 Make `bazel run` works with minimal mode
5408 + ca8674cc4879ed1846bf015c33fe7d920a3f66ab:
5409 Include source files with `cquery --output=files` (#16826)
5410 + 9cb5e0a31665d3b3f25bf58ec2dee696e828d8b9:
5411 Fsync before rename after copy in DiskCacheClient
5412 + 23ffce53b92ef96432d8c6c58cc95ac362bab1bc:
5413 Update GetActionResult for disk cache to check referenced files
5414 when …
5415 + 0bc0ff5244142eb3348d42025ce21eeb337ad189:
5416 Make Java runfiles library compilable with JDK 8
5417 + fe169654a29d8ad33105d5d0034a7857834fed5d:
5418 [6.0.0] Default --incompatible_strict_conflict_checks to true.
5419 (#16864)
5420 + 99ca86f7c2968741ac3a9b20c3375fc992d49e66:
5421 Revert "[6.0.0] Default --incompatible_strict_conflict_checks to
5422 true. (#16864)" (#16872)
5423 + 312238f2b1414c98ed7d7d51dc4e18278edb2540:
5424 Make C++ runfiles library build with `-Werror=shadow`
5425 + 2baa5a4284467d70f1b31ea779b79d38ef07d164:
5426 Keep credentials cached across build commands.
5427 + 8818a57fce32a7872f045f03a334e1c9403724d3:
5428 [6.0.0] Only inject metadata for outputs that cannot be
5429 reconstructed by skyf… (#16879)
5430 + 31e4bf409eed71e8fb626092189eacb95f80fed9:
5431 Update java_tools v11.9
5432 + cd40666001e8d599bb61735898c195c6d2fae55b:
5433 replace _get_canonical_form(label) with str(label)
5434 + e2bc2374188b41924223385ad943db610e92e6c4:
5435 Avoid exceptions from hermetic sandbox for unsupported artifact
5436 subclasses
5437 + b564d145218e58b0440ffad82b3d1d54eef15d22:
5438 Remove warnings about ignored starlark options
5439 + 7ccc66108f08f7b6c6f6e5229f70f29962ea19ce:
5440 [6.0.0] Emit Tree objects in topological order (#16904)
5441 + 86dee6d2ecb269e0c41a97718812054394ee51a4:
5442 Correctly match regex with tree artifact
5443 + 14925b574aa63aad098f2c3d95e14b46ffd295ec:
5444 Always use target's attributes to set Python version (#16959)
5445 + a247502d28d8d70d648390de52952189b99a0bb7:
5446 Add 'toolchain' parameter to actions.{run,run_shell}
5447 + 497b7e403d6e5523bd1310bd1fe83c4ce1a6b1ec:
5448 Fix Bash `runfiles_current_repository` with RBE
5449 + 0a2c4edbc86398266525f31948d67a5736890bfe:
5450 Fix corner cases in Bash runfiles library
5451 + 33b514b25963452be71a015e08d4e890405b00a3:
5452 Fix runfiles creation with MANIFEST when building without the
5453 bytes
5454 + 3a13af41034e1f80cc0fbc1634cf8f724a85b78f:
5455 Remove LCOV merger dependency of `cc_test` without coverage
5456 (#17004)
5457 + 25ba76c1b8d420ebae43c1f59890ae46153c2240:
5458 Include full tree artifact in inputs when prefetcher doesn't
5459 support partial tree artifacts.
5460 + 06deebfb5b73f848de5a0ea0e00fcfaa26788d1f:
5461 Release 6.0.0 (2022-12-19)
5462 + c2bfb2e98d133c62be328e6e93c4b4bdf766d82c:
5463 Enable git_submodules tests and merge git_repository and
5464 starlark_git_repository (#17247)
5465 + e8182ce32931560406fee1c30745e56a2ee9a6b3:
5466 have 'bazel test' non-test targets depend on
5467 --remote_download_output
5468 + c3245cd028977877aa9e485451b29c7736ebcae0:
5469 Add `SpellChecker` suggestions for common Bzlmod errors
5470 + 8ec874348226995c4101b2173a465ddc65cab591:
5471 Use xcrun to invoke install_name_tool
5472 + 2b2bea4ee9d51ad875a8d273aa344ac9c5b6742c:
5473 Extra resources
5474 + 5b4de12b37cb4ba921b6bdfe810bbb47921ab3a6:
5475 Do not clear `--platforms` on no-op change to `--cpu`
5476 + db3c0130b3363485a366897e1c1f2adc5d41fde6:
5477 Report `AspectCreationException` to the user
5478 + 53e9fea30e58ab479e5cd7a6c804634f56fc2ddb:
5479 Use long executable path instead of `argv[0]` in all launchers
5480 + abae5ca3e8142f93cf0c2597e3410ed955c4dd59:
5481 Add sanitizer features to unix_cc_toolchain_config
5482 + db684196afd3b1a0a0e7d883674324bd161ae8bf:
5483 Allow `map_each` to return `None` in `TemplateDict#add_joined`
5484 + 66b58ee904efa22696edc1b78a59bac91da9ed8d:
5485 Always emit trailing zero in human-readable download progress
5486 + 17b8e448a5e5589f96c2794cb38c86b0c64e86c0:
5487 Upload all logs in BEP even with minimal upload
5488 + 28d2daae70be6ee97b876b0568796ceb87af9523:
5489 Set `--experimental_action_listeners` to default in `exec` config
5490 + 16427c9050db140d6cb90d7d6324d4a2ff1e249a:
5491 Do not count tests as failed that have not started
5492 + 094a0aabed1e018e6503bc3ac844c8022b71a527:
5493 Accept tildes in --override_module
5494 + 5f2866f8434ce9a17cf82c001efb7b236f189115:
5495 Do the AC integrity check for disk part of the combined cache.
5496 + cd10d508e20a4964586b46f7edea8a6dc900157c:
5497 Fix `--nozip_undeclared_test_outputs` on Windows
5498 + 073f54b9a7c46afd2c28b4a99a235bdd6b63bb5f:
5499 Allow pyd in extensions of dynamic libraries
5500 + ac504cbb463e76b1374d0060534acabbccb408d2:
5501 Register JavaCompileActionContext in Bazel.
5502 + f090433fcf0f42639608b9c5f0243018c1bb9ac7:
5503 Rollback #14510 because it causes remote test execution to fail
5504 + 942dddaaad9bf4fbb20b66535aad4fc464ad69ba:
5505 Prepare backwards compatible usage of optional C++ toolchain
5506 + 88b51f57d09e43dec31a84d4b636595924d5bfef:
5507 Emit LLVM coverage for source file paths with a `tmp` segment
5508 + bb0b886271d45209e3bef476da37811b9dd2afe5:
5509 Enable archive_param_file feature by default for Windows
5510 + baf97c00c891acf844a29b4cc31abb45b5c434e5:
5511 Allow `TemplateDict#map_each` callback to return a list of
5512 strings (#17306)
5513 + fcb007749f7f24b36c2b7c4284378bba20fc8b69:
5514 Only try to create groups of test actions in the ui.
5515 + 3c47b4716e6eca2b8ab06253915ef8d1bdd28038:
5516 Find `libtool` when using `BAZEL_USE_CPP_ONLY_TOOLCHAIN`.
5517 + 1da8a825c0fba882f33ea6998a76ff8265fcd32c:
5518 Add -dead_strip in default opt link flags for darwin
5519 + b0c5eb30b2738bf6454c3026a3e0f37579d5854c:
5520 Dont query remote cache but always use bytestream protocol
5521 + 00e9af1985cc0227599516fe7568785ca4334050:
5522 Allow Java coverage collection for external targets.
5523 + dd24a0022a0ff959598da2c9bc097d27083be1a0:
5524 Test and fix root symlink edge case in runfiles library
5525 + af97d9830d3207893cc6f5c851431a28f1721acb:
5526 [6.1.0] Fix broken CI (#17422)
5527 + b859571804f2095caaf018b172b59c90f185fd51:
5528 Add `native.package_relative_label` function
5529 + 82168d44ee1d49cf2f406903b6d8b9fde0e66cf2:
5530 Make Bazel more responsive and use less memory when --jobs is
5531 high (#17398)
5532 + 84c1ed430405b154b6e9eb2c28281f450e250eff:
5533 Multiplex worker fixes and tests for Android busybox tools
5534 (#17371)
5535 + 07590818d6ce0d0e66c2377db7e73fb6ee6702e5:
5536 Improve error message for concurrent modifications (#17396)
5537 + 27bc896f36f0e0ea5dbeaaa16f3a124e38a7284a:
5538 [6.1.0] Make bazel coverage work with minimal mode (#17397)
5539 + 544b8164ca352cf06dda0849a589b825631428af:
5540 [6.1.0] Fix cc_binary bug related to cc_shared_library on
5541 Windows and prepare for future removal of
5542 --experimental_cc_shared_library flag (#17445)
5543 + 9a7aa21c8cd6f38d10e23e265dd650bf031f9b7c:
5544 Fix Bash `runfiles_current_repository` for tools
5545 + 911eedc0badcefdbc60a936ae73972772042fc8a:
5546 Fix label unambiguous canonical form to correctly report
5547 non-visible repo names
5548 + e132653ead5e50f4226dbff7776466fef1918f49:
5549 Remove O1 from sanitizer feature flag defaults
5550 + ba9e2f8fe666b4fc6110d86ea93cc11779e77068:
5551 Remove usage of gRPC Context cancellation in the remote
5552 execution client.
5553 + de03a2363d016782c5dfe7c55b5cf06cb610f6a2:
5554 Allow -v to libtool
5555 + 4e35c02c7c400bfbbfa69164a1ec3bd51966ca79:
5556 Prettify labels in action progress messages with Bzlmod (#17278)
5557 + 1be0ac3e73698e31a349ece629c887b06e102a0b:
5558 Expand tree outputs before eagerly prefetching them for local
5559 actions. (#17494)
5560 + c26665102d0d524bb42be8cd205c7b31a22a75c9:
5561 Fix Java coverage collection with Java 8 runtime
5562 + 1a6ffe6d453708e3cefc98a07965c680e48d6bac:
5563 Add a flag to disable execution log sorting.
5564 + fbec8e2ad1dcbebbbc96491f8b6b208f5b3ac91f:
5565 Reduce flakiness on Windows for BwoB tests
5566 + 420659a9ad2a98f57e057d8c22eb621e3b12803e:
5567 Make AutoBazelRepositoryProcessor compatible with Java 8
5568 + dde6d20b3fd1d7a14825649c9c89d1c4d2d5242b:
5569 Do not recommend `shallow_since` for `git_repository`
5570 + f76fc61640825dd7cf83ce02ba48a4e4f95b66ff:
5571 Allow the timeout value for execute calls on a mac to be set via
5572 an environment variable
5573 + 773d232f528276338098578a28c19c742e3b4e7e:
5574 Fix RPATHs for cc toolchain solib when sibling layout is used
5575 + 5932b3b8886ddb5aba271fd907f1371e67960a44:
5576 [6.1.0] Add --host_features (#17528)
5577 + a0fa77cc36d02f5f230335556a1829b298b2f219:
5578 Exit with code 39 if remote cache evicted blobs that Bazel need
5579 during an invocation (#17496)
5580 + 1a438b41b74d94fd8b6ff4dcf20b4526530e3c6e:
5581 Only fetch @remote_coverage_tools when collecting coverage
5582 (#17512)
5583 + ee1daaf9852d568dcf38357eadd77b9de953db36:
5584 [6.1.0]Only fetch @remote_coverage_tools when collecting
5585 coverage (#17287)
5586 + 350e32952bdd639969e2aff7887c5dc34c21bce6:
5587 [6.1.0]Fix symlink file creation overhead (#17488)
5588 + 5406c953574d48434d33b1cf49b70b718795d783:
5589 [6.1.0] Cleanup stale state when remote cache evicted (#17538)
5590 + 2d1b570e976773134a6244dd012e93a5478f6d4a:
5591 Bump version number in runfiles.bash init code
5592 + 3ab8a0a5d628a0d958fb2eb1c0d5bb76b442e2f2:
5593 [6.1.0]Let `aquery` print effective environment for all
5594 `CommandAction`s (#17274)
5595 + 51e6c38ae808df4f2bf8fb29b4c5173e06ac014a:
5596 Properly report repo fetch progress during main repo mapping
5597 computation
5598 + 744108e88681e770982f148161d328c9b77319a1:
5599 [docs] Update migrating to Xcode tutorial (#17563)
5600 + 9dc7a7e6881f58965103b42390560589e0f38b48:
5601 Update //third_party:jsr305 (#17557)
5602 + 43dadb275b3f9690242bf2d94a0757c721d231a9:
5603 Bump minimum supported macOS versions to 10.13
5604 + 7d9d23c1ac1b7fcaa461f902e286f50fbb7cb116:
5605 Correctly set default subprocess factory when loading class
5606 `SubprocessBuilder`.
5607 + 77f82f4fab189fd042754be0a7747042d9b01b8f:
5608 Add an --incompatible_strict_conflict_checks alias for
5609 --experimental_strict_conflict_checks.
5610 + e05345dec405a0333c48ff188d2d9a1be90dad53:
5611 Add support for wrapping system streams in WorkRequestHandler
5612 + 68e1924cdab69ab92b8acf2f6e9324d11e00b267:
5613 Also handle remote cache eviction for tree artifacts. (#17601)
5614 + 4a6d056a8d058ab98a01348fb0c046660ee99a71:
5615 Add host transition to lcov_merger in Java version of py_test
5616 + 546e9e2942cb2e98b4c93065cc2d2910878dc900:
5617 Fix Bazel 6.0 crash regression (#17613)
5618 + 7e328bb71004e1976525d8b813ca0d616e2af74b:
5619 Include Bazel version information in profile metadata. (#17616)
5620 + aafe1235c55f6cdcfc577a40736aaeb9ebaca23b:
5621 [6.1.0] Handle remote cache eviction when uploading inputs for
5622 remote actions. (#17605)
5623 + 938e34823206a2644d538ba655d20ac553352975:
5624 [6.1.0] Rerun the artifact conflict check when
5625 --incompatible_strict_conflict_checks changes. (#17592)
5626 + 034a2815a1e18be5c8b36c6a78f44bb849dff437:
5627 Report background download for BwoB (#17619)
5628 + 5afbce52c70cf974eaa4a3bbbc376f398271427d:
5629 [6.1.0] Flag for writable outputs (experimental) (#17617)
5630 + d4105e658001677929338835eb970e6595e66b3c:
5631 [6.1.0] Allow .wasm cc executable and dynamic library extension
5632 (#17440)
5633 + a306f4f7fd440d006aa6ae9234b4430f13bc8cf9:
5634 make desugar dependencies deterministic
5635 + 37953c56ea77c7aa7bea677f3481557fdb2c2a15:
5636 Apply exec transition to lcov_merger in sh_test and cc_test
5637 + 1d73d72a45598e38c51b2618bb6fe4f27b390cb8:
5638 [6.1.0]Fix --host_features with multiple transitions (#17641)
5639 + 755cd4bcd48adf752bd8c161454e53a0f5b6a2fa:
5640 Release 6.1.0 (2023-03-06)
5641 + 885ae7ef3afd88e21c33579bcd64ee3136bd8715:
5642 Revert "Add -dead_strip in default opt link flags for darwin
5643 (#17312)" (#17696)
5644 + e7fd4cf42e3e320dfac0400464a604c0d8b71a1d:
5645 Fix wasm dynamic library extension crash (#17757)
5646```
5647
5648Incompatible changes:
5649
5650 - Bazel no longer increases the delay between progress updates when
5651 there is no cursor control.
5652 - `--incompatible_always_include_files_in_data` is flipped
5653 to true. See https://github.com/bazelbuild/bazel/issues/16654 for
5654 details.
5655 - `cquery --output=files` also outputs source files.
5656
5657 Closes #16602.
5658 - `--incompatible_strict_conflict_checks` is flipped to true. See
5659 https://github.com/bazelbuild/bazel/issues/16729 for details.
5660 - This changes the behavior of Python version in exec/host
5661 configuration. Mitigation is to set Python version on the targets.
5662 - `--features` only applies to targets built in the target
5663 configuration, and `--host_features` is used for the host / exec
5664 configuration (gated behind `--incompatible_use_host_features`)
5665
5666 Fixes https://github.com/bazelbuild/bazel/issues/13839
5667
5668 Closes #16626.
5669
5670Important changes:
5671
5672 - The new path variable `$(rlocationpath ...)` and its plural form
5673 `$(rlocationpaths ...)` can be used to expand labels to the paths
5674 accepted by the `Rlocation` function of runfiles libraries. This
5675 is the preferred way to access data dependencies at runtime and
5676 works on all platforms, even when runfiles are not enabled (e.g.,
5677 on Windows by default).
5678
5679 Work towards #16124
5680 Fixes #10923
5681
5682 Closes #16428.
5683 - Starlark `print()` statements are now emitted iff the line of
5684 code is executed. They are no longer replayed on subsequent
5685 invocations unless the Starlark code is re-executed.
5686 Additionally, multiple identical `print()` statements (same
5687 string from the same line of code, e.g. from a loop) are all
5688 emitted and no longer deduplicated.
5689 - Fixes a bug where some compilation flags would not be applied to
5690 a cc_test
5691 - Added a `native.package_relative_label()` function, which
5692 converts a label string to a Label object in the context of the
5693 calling package, in contrast to `Label()`, which does so in the
5694 context of the current .bzl file. Both functions now also accept
5695 relative labels such as `:foo`, and are idempotent.
5696
5697This release contains contributions from many people at Google, as well as Brentley Jones, Ezekiel Warren, Fabian Meumertzheim, keertk, Keith Smiley, Krzysztof Naglik, kshyanashree, lunch-glide-pepper, oquenchil, Ted Kaplan, Ted Kaplan, UebelAndre, Xùdōng Yáng, Yannic, yuzhy8701.
5698
Bazel Release Systema7742d82023-03-13 18:21:54 +01005699## Release 7.0.0-pre.20230302.1 (2023-03-13)
5700
5701```
5702Baseline: c1382105d342e8e00f9e5ae079fb24cd54c72e78
5703```
5704
5705Incompatible changes:
5706
5707 - This has the side effect of changing the message on unsuccessful
5708 builds from
5709 ```
5710 FAILED: Build did NOT complete successfully (0 packages loaded)
5711 ```
5712 to
5713 ```
5714 ERROR: Build did NOT complete successfully
5715 ```
5716 - Bazel no longer increases the delay between progress updates when
5717 there is no cursor control.
5718 - This has the side effect of changing the message on unsuccessful
5719 builds from
5720 ```
5721 FAILED: Build did NOT complete successfully (0 packages loaded)
5722 ```
5723 to
5724 ```
5725 ERROR: Build did NOT complete successfully
5726 ```
5727 - the --experimental_async_execution flag is now a no-op.
5728 - --experimental_replay_action_out_err is not a no-op.
5729 - `cquery --output=files` also outputs source files.
5730 - `--incompatible_strict_conflict_checks` is flipped to true. See
5731 https://github.com/bazelbuild/bazel/issues/16729 for details.
5732 - `--incompatible_strict_conflict_checks` is flipped to true. See
5733 https://github.com/bazelbuild/bazel/issues/16729 for details.
5734 - `--incompatible_always_include_files_in_data` is flipped to true.
5735 See https://github.com/bazelbuild/bazel/issues/16654 for details.
5736 - This changes the behavior of Python version in exec/host
5737 configuration. Mitigation is to set Python version on the targets.
5738 - When multiple --deleted_packages options are passed on the
5739 command line, they will be concatenated instead of the latest one
5740 taking effect.
5741 - This has the side effect of changing the message on unsuccessful
5742 builds from
5743 - JSON profile: Use doubles instead of strings for counter series.
5744 - query --output=proto --order_output=deps now returns targets in
5745 topological order (previously there was no ordering).
5746 - --experimental_build_transitive_python_runfiles is flipped to
5747 false. See #16303 for details
5748 - --incompatible_python_disable_py2 is flipped to true. See #17293
5749 for details.
5750 - When remote cache evicts blobs, Bazel will exit with code 39.
5751 - `--features` only applies to targets built in the target
5752 configuration, and `--host_features` is used for the host / exec
5753 configuration (gated behind `--incompatible_use_host_features`)
5754
5755New features:
5756
5757 - The `aquery` and `cquery` commands now respect the
5758 `--query_file` flag just like the `query` command.
5759
5760Important changes:
5761
5762 - The new path variable `$(rlocationpath ...)` and its plural form
5763 `$(rlocationpaths ...)` can be used to expand labels to the paths
5764 accepted by the `Rlocation` function of runfiles libraries. This
5765 is the preferred way to access data dependencies at runtime and
5766 works on all platforms, even when runfiles are not enabled (e.g.,
5767 on Windows by default).
5768 - Starlark `print()` statements are now emitted iff the line of
5769 code is executed. They are no longer replayed on subsequent
5770 invocations unless the Starlark code is re-executed.
5771 Additionally, multiple identical `print()` statements (same
5772 string from the same line of code, e.g. from a loop) are all
5773 emitted and no longer deduplicated.
5774 - Fixes a bug where some compilation flags would not be applied to
5775 a cc_test
5776 - removed outdated ctx.host_fragments
5777 - removed outdated ctx.host_configuration
5778 - Now that the host configuration is finished, `genrule` should
5779 prefer the use of `tools` and stop using `exec_tools`.
5780 - Added a `native.package_relative_label()` function, which
5781 converts a label string to a Label object in the context of the
5782 calling package, in contrast to `Label()`, which does so in the
5783 context of the current .bzl file. Both functions now also accept
5784 relative labels such as `:foo`, and are idempotent.
5785 - Update Android manifest merger to v30.1.3, and also drop support
5786 for legacy (pre-D8) desugaring.
5787 - Adds coverage metric support to android_local_test
5788 - Correctly encode double value positive infinity as "inf" instead
5789 of "+inf" for textprotos.
5790 - Add --use_target_platform_for_tests which uses the target
5791 platform for executing tests instead of the execution platform.
5792 - Custom C++ rules on Windows calling
5793 cc_common.create_linking_context_from_compilation_outputs should
5794 review whether each target of the rule type should produce a
5795 dynamic library since a condition which blocked their creation
5796 has been moved to the rules from behind the API.
5797
5798This release contains contributions from many people at Google, as well as Alex Eagle, Amanda L Martin, Andreas Herrmann, Ankush Goyal, Anthony Ter-Saakov, Artem Zinnatullin, aryeh, Austin Schuh, Benjamin Lee, Benjamin Peterson, Benjamin Peterson, Ben Lee, Brentley Jones, Chirag Ramani, Christopher Peterson Sauer, Christopher Sauer, Daniel Grunwald, Daniel KT, Daniel Wagner-Hall, Ed Schouten, Emil Kattainen, Ezekiel Warren, Fabian Meumertzheim, Fabian Meumertzheim, Fahrzin Hemmati, Fahrzin Hemmati, Gaspare Vitta, Greg Magolan, Halil Sener, Hao Yuan, hvadehra, hvd, James Ma, John Hinnegan, Jon Parise, jonrose-dev, keertk, Keith Smiley, Krzysztof Naglik, kshyanashree, Kun-Lu, Lee Mracek, lripoche, Matt Mackay, Maxwell Elliott, mohamadk, nathyong, Nick Korostelev, Oliver Lee, Patrick Balestra, Patrick Balestra, Red Daly, robincaloudis, Robin Tweedie, Roger Hu, Saleem Abdulrasool, Sara Adams, Sascha Moecker, Severin Strobl, Siddhesh Bhupendra Kuakde, Simon Mavi Stewart, Son Luong Ngoc, Stiopa Koltsov, tbaing, Ted Kaplan, Thulio Ferraz Assis, Tom Cnops, Ulf Adams, Ulrik Falklof, Uri Baghin, Xavier Bonaventura, Xdng Yng, Xiangquan Xiao, Yannic Bonenberger, Yannic, Yi Cheng, yuzhy8701.
5799
Bazel Release System0a8cf252023-03-06 16:01:56 +00005800## Release 6.1.0 (2023-03-06)
5801
5802```
5803Baseline: d60ce2c7c86393638c77698c00c2168a7a936a53
5804
5805Cherry picks:
5806
5807 + 490f8badf4f6f4ae8b96697f08267fdb083ccf5f:
5808 kshyanashree is the release manager of 6.0.0
5809 + 4e66d9340037f0be83d7bc0fdd809a09344ab83f:
5810 Automated rollback of commit
5811 2a2890913eb8f39299aa4b614ba96266ea8749f6.
5812 + 48a8d01b05149757f69a6a65a22a280bf003cd24:
5813 Allow C/C++ coverage collection for external targets
5814 + ec7be346adc00c4bde22d116fca80ef59da66121:
5815 Temporarily set parent directory of the input to writable if it
5816 is not.
5817 + b0984342eef068640a57aab584dd4c118f0dd394:
5818 Infer CPUs for tvOS and watchOS when on Apple Silicon
5819 + 5cea7dda5b632703cf4e0424ba09cd7c5bd6fc06:
5820 Improve the documentation for ctx.actions.symlink.
5821 + a82d26f17a99b5417b2212a0ce3a1bbc0285e5c4:
5822 Add quotes to "Tip"
5823 + 75b0f3aa95bc34f6620ea74e47d4822bd985efdd:
5824 Write a repo mapping manifest in the runfiles directory (#16555)
5825 + 07c5c1aa6d0b63605ae793dce78d26122af64a84:
5826 Ensure repository names don't start with `~`
5827 + 30f6c8238f39c4a396b3cb56a98c1a2e79d10bb9:
5828 Escape tilde more gracefully
5829 + cf3f48ca49f089615417636763d753811acf717f:
5830 Relax `Label` repo visibility validation
5831 + 4477823e2c2bc3d0335c41f971364dda72a3f69a:
5832 Use "apparent name" instead of "local name" in Bzlmod docs
5833 + 55f4f4834ef30321a00dab5b58202dd1e9716fd9:
5834 Bazel DevSite: Add required css file.
5835 + a706994ac69e3f3fed361c61378de847b50d3b12:
5836 Remove logic that increases delay between progress updates over
5837 time
5838 + 1d514ab05896f34ec91c2145f4dffafd3364030f:
5839 Remove references to io_bazel repository
5840 + b0357bd3831b26b5116dc120807e8264acf139db:
5841 Relnotes python script
5842 + 8f956511bb115c39ac683a1e78971fcf9dce5deb:
5843 Allow Java coverage collection for external targets
5844 + bddb191d3f99402330c67b89375409c31ee22daa:
5845 Fix race condition in package-bazel.sh
5846 + a75785279f543f4e33c697dd9e8873a6504b7818:
5847 Decanonicalize labels emitted by {a,c,}query if possible
5848 + 9d250edb63f27f9f4591bb5a71059710cc6dca9e:
5849 Add uniquify parameter to TemplateDict.add_joined
5850 + f02bcf8d8b0d00ecdd06ea0a45ba4f52e436597c:
5851 Fix identical gcov json file name problem
5852 + a1593309f66f892871e334013815b05350b4188f:
5853 Add `$(rlocationpath(s) ...)` expansion
5854 + 56f54daf9ff3b1177eee31e342e8d6b959d5ac34:
5855 Rollup of SBOM correctness fixes (#16655)
5856 + 72e6e948d30dec9dec60d78efef4eeda5b764a8f:
5857 [cc] Add cc toolchain to starlark cc_proto_library (#16661)
5858 + 8f28513893969b6346d965cab12aac69cb246ced:
5859 Make C++ runfiles library repo mapping aware
5860 + 95f9adc5ac544b1161d69a7ca74432479fdc29b3:
5861 Always collect FileProvider's filesToBuild as data runfiles
5862 + 4959d34e844714b793b2c6fa05016a9a6eaa7044:
5863 fix: export constraints.bzl file from @local_config_platform so
5864 it can be used in downstream bzl_library targets
5865 + 4919d4a61d8506d175b25a035500842b8bfe3d0d:
5866 Add --host_per_file_copt (#16695)
5867 + 0a23d46976c3fc999d44fbd1e37732ec2442d485:
5868 Moving some tests for `RemoteActionFileSystem` of BwoB to a base
5869 class.
5870 + 9296068be5e3808eb03a3b61f3af3a2c88f7ab7d:
5871 [remote/downloader] Don't include headers in `FetchBlobRequest`
5872 + 128d833fee99f8a43bc4de82cbec752e4ce6fb47:
5873 [remote] Respect whether the server supports action cache updates
5874 + 38c501912fc4efc14abc0741d19f5f8e8763afcb:
5875 [remote/downloader] Migrate `Downloader` to take `Credentials`
5876 (#16732)
5877 + 5929cb72aa01768e6352898b1a056ef678c81d90:
5878 Stage repository mapping manifest as a root symlink (#16733)
5879 + 455454a56e961affb041a1d4a9214f7f313a05aa:
5880 Expose current repository name to Java with @AutoBazelRepository
5881 + 97dea593e568f776361397f7280d6a16eee2efeb:
5882 Implement getDirectoryEntries and readdir for
5883 RemoteActionFileSystem.
5884 + aa45f5f3301c5005294df084cdf99c45d6f95d53:
5885 Move integration tests for BwoB to a base class and add more
5886 tests there.
5887 + 1b073ac0a719a09c9b2d1a52680517ab22dc971e:
5888 Make Java runfiles library repo mapping aware
5889 + 148bbb1c025a628643698f65627333d86975c1d7:
5890 Use `_repo_mapping` in C++ runfiles library (#16752)
5891 + 25558ada3fb377cfc2c965d3a93250ca28ce0fc1:
5892 Add --experimental_action_cache_store_output_metadata to the
5893 expansio…
5894 + 6e945e8ab422ca0a195d09899cce61ba6c0cfa59:
5895 Treat `DEBUG` events as progress-like.
5896 + 1940c5d68136ce2079efa8ff74d4e5fdf63ee3e6:
5897 redact 'token' strings from logging
5898 + 0b645254b41edc738c6641fd192fca86203ff2e2:
5899 Make Bash runfiles library repo mapping aware (#16753)
5900 + 4caae75b49e815ad2cf1d805f316bc374f03f2ae:
5901 Automated rollback of commit
5902 8f956511bb115c39ac683a1e78971fcf9dce5deb.
5903 + 13ff6d9e37999e00fda9a6cef278c7c924924f34:
5904 Fix Bash rlocation failure with stricter Bash options
5905 + bd88c7e47b911e5fa1f8a3c26d0f8317943c43ce:
5906 Make bazel Android remote deps compatible with bzlmod (#16772)
5907 + 6f6d4cca36a3b64009ed9c8b3fb13cb3c7ed915a:
5908 Flip `--incompatible_always_include_files_in_data`
5909 + 94355b1b1c4f7ef923457b8b2a070e5c6528240a:
5910 Add required `--add-opens` server JVM args also with
5911 non-embedded JDK
5912 + 8349c95fc98beb4008085942a67a57f0c4da074b:
5913 Also collect clang resource directory with
5914 `-no-canonical-prefixes`
5915 + dce6ed777d958d65c7f3d4a2f54f8117778a449e:
5916 Make `bazel run` works with minimal mode
5917 + ca8674cc4879ed1846bf015c33fe7d920a3f66ab:
5918 Include source files with `cquery --output=files` (#16826)
5919 + 9cb5e0a31665d3b3f25bf58ec2dee696e828d8b9:
5920 Fsync before rename after copy in DiskCacheClient
5921 + 23ffce53b92ef96432d8c6c58cc95ac362bab1bc:
5922 Update GetActionResult for disk cache to check referenced files
5923 when …
5924 + 0bc0ff5244142eb3348d42025ce21eeb337ad189:
5925 Make Java runfiles library compilable with JDK 8
5926 + fe169654a29d8ad33105d5d0034a7857834fed5d:
5927 [6.0.0] Default --incompatible_strict_conflict_checks to true.
5928 (#16864)
5929 + 99ca86f7c2968741ac3a9b20c3375fc992d49e66:
5930 Revert "[6.0.0] Default --incompatible_strict_conflict_checks to
5931 true. (#16864)" (#16872)
5932 + 312238f2b1414c98ed7d7d51dc4e18278edb2540:
5933 Make C++ runfiles library build with `-Werror=shadow`
5934 + 2baa5a4284467d70f1b31ea779b79d38ef07d164:
5935 Keep credentials cached across build commands.
5936 + 8818a57fce32a7872f045f03a334e1c9403724d3:
5937 [6.0.0] Only inject metadata for outputs that cannot be
5938 reconstructed by skyf… (#16879)
5939 + 31e4bf409eed71e8fb626092189eacb95f80fed9:
5940 Update java_tools v11.9
5941 + cd40666001e8d599bb61735898c195c6d2fae55b:
5942 replace _get_canonical_form(label) with str(label)
5943 + e2bc2374188b41924223385ad943db610e92e6c4:
5944 Avoid exceptions from hermetic sandbox for unsupported artifact
5945 subclasses
5946 + b564d145218e58b0440ffad82b3d1d54eef15d22:
5947 Remove warnings about ignored starlark options
5948 + 7ccc66108f08f7b6c6f6e5229f70f29962ea19ce:
5949 [6.0.0] Emit Tree objects in topological order (#16904)
5950 + 86dee6d2ecb269e0c41a97718812054394ee51a4:
5951 Correctly match regex with tree artifact
5952 + 14925b574aa63aad098f2c3d95e14b46ffd295ec:
5953 Always use target's attributes to set Python version (#16959)
5954 + a247502d28d8d70d648390de52952189b99a0bb7:
5955 Add 'toolchain' parameter to actions.{run,run_shell}
5956 + 497b7e403d6e5523bd1310bd1fe83c4ce1a6b1ec:
5957 Fix Bash `runfiles_current_repository` with RBE
5958 + 0a2c4edbc86398266525f31948d67a5736890bfe:
5959 Fix corner cases in Bash runfiles library
5960 + 33b514b25963452be71a015e08d4e890405b00a3:
5961 Fix runfiles creation with MANIFEST when building without the
5962 bytes
5963 + 3a13af41034e1f80cc0fbc1634cf8f724a85b78f:
5964 Remove LCOV merger dependency of `cc_test` without coverage
5965 (#17004)
5966 + 25ba76c1b8d420ebae43c1f59890ae46153c2240:
5967 Include full tree artifact in inputs when prefetcher doesn't
5968 support partial tree artifacts.
5969 + 06deebfb5b73f848de5a0ea0e00fcfaa26788d1f:
5970 Release 6.0.0 (2022-12-19)
5971 + c2bfb2e98d133c62be328e6e93c4b4bdf766d82c:
5972 Enable git_submodules tests and merge git_repository and
5973 starlark_git_repository (#17247)
5974 + e8182ce32931560406fee1c30745e56a2ee9a6b3:
5975 have 'bazel test' non-test targets depend on
5976 --remote_download_output
5977 + c3245cd028977877aa9e485451b29c7736ebcae0:
5978 Add `SpellChecker` suggestions for common Bzlmod errors
5979 + 8ec874348226995c4101b2173a465ddc65cab591:
5980 Use xcrun to invoke install_name_tool
5981 + 2b2bea4ee9d51ad875a8d273aa344ac9c5b6742c:
5982 Extra resources
5983 + 5b4de12b37cb4ba921b6bdfe810bbb47921ab3a6:
5984 Do not clear `--platforms` on no-op change to `--cpu`
5985 + db3c0130b3363485a366897e1c1f2adc5d41fde6:
5986 Report `AspectCreationException` to the user
5987 + 53e9fea30e58ab479e5cd7a6c804634f56fc2ddb:
5988 Use long executable path instead of `argv[0]` in all launchers
5989 + abae5ca3e8142f93cf0c2597e3410ed955c4dd59:
5990 Add sanitizer features to unix_cc_toolchain_config
5991 + db684196afd3b1a0a0e7d883674324bd161ae8bf:
5992 Allow `map_each` to return `None` in `TemplateDict#add_joined`
5993 + 66b58ee904efa22696edc1b78a59bac91da9ed8d:
5994 Always emit trailing zero in human-readable download progress
5995 + 17b8e448a5e5589f96c2794cb38c86b0c64e86c0:
5996 Upload all logs in BEP even with minimal upload
5997 + 28d2daae70be6ee97b876b0568796ceb87af9523:
5998 Set `--experimental_action_listeners` to default in `exec` config
5999 + 16427c9050db140d6cb90d7d6324d4a2ff1e249a:
6000 Do not count tests as failed that have not started
6001 + 094a0aabed1e018e6503bc3ac844c8022b71a527:
6002 Accept tildes in --override_module
6003 + 5f2866f8434ce9a17cf82c001efb7b236f189115:
6004 Do the AC integrity check for disk part of the combined cache.
6005 + cd10d508e20a4964586b46f7edea8a6dc900157c:
6006 Fix `--nozip_undeclared_test_outputs` on Windows
6007 + 073f54b9a7c46afd2c28b4a99a235bdd6b63bb5f:
6008 Allow pyd in extensions of dynamic libraries
6009 + ac504cbb463e76b1374d0060534acabbccb408d2:
6010 Register JavaCompileActionContext in Bazel.
6011 + f090433fcf0f42639608b9c5f0243018c1bb9ac7:
6012 Rollback #14510 because it causes remote test execution to fail
6013 + 942dddaaad9bf4fbb20b66535aad4fc464ad69ba:
6014 Prepare backwards compatible usage of optional C++ toolchain
6015 + 88b51f57d09e43dec31a84d4b636595924d5bfef:
6016 Emit LLVM coverage for source file paths with a `tmp` segment
6017 + bb0b886271d45209e3bef476da37811b9dd2afe5:
6018 Enable archive_param_file feature by default for Windows
6019 + baf97c00c891acf844a29b4cc31abb45b5c434e5:
6020 Allow `TemplateDict#map_each` callback to return a list of
6021 strings (#17306)
6022 + fcb007749f7f24b36c2b7c4284378bba20fc8b69:
6023 Only try to create groups of test actions in the ui.
6024 + 3c47b4716e6eca2b8ab06253915ef8d1bdd28038:
6025 Find `libtool` when using `BAZEL_USE_CPP_ONLY_TOOLCHAIN`.
6026 + 1da8a825c0fba882f33ea6998a76ff8265fcd32c:
6027 Add -dead_strip in default opt link flags for darwin
6028 + b0c5eb30b2738bf6454c3026a3e0f37579d5854c:
6029 Dont query remote cache but always use bytestream protocol
6030 + 00e9af1985cc0227599516fe7568785ca4334050:
6031 Allow Java coverage collection for external targets.
6032 + dd24a0022a0ff959598da2c9bc097d27083be1a0:
6033 Test and fix root symlink edge case in runfiles library
6034 + af97d9830d3207893cc6f5c851431a28f1721acb:
6035 [6.1.0] Fix broken CI (#17422)
6036 + b859571804f2095caaf018b172b59c90f185fd51:
6037 Add `native.package_relative_label` function
6038 + 82168d44ee1d49cf2f406903b6d8b9fde0e66cf2:
6039 Make Bazel more responsive and use less memory when --jobs is
6040 high (#17398)
6041 + 84c1ed430405b154b6e9eb2c28281f450e250eff:
6042 Multiplex worker fixes and tests for Android busybox tools
6043 (#17371)
6044 + 07590818d6ce0d0e66c2377db7e73fb6ee6702e5:
6045 Improve error message for concurrent modifications (#17396)
6046 + 27bc896f36f0e0ea5dbeaaa16f3a124e38a7284a:
6047 [6.1.0] Make bazel coverage work with minimal mode (#17397)
6048 + 544b8164ca352cf06dda0849a589b825631428af:
6049 [6.1.0] Fix cc_binary bug related to cc_shared_library on
6050 Windows and prepare for future removal of
6051 --experimental_cc_shared_library flag (#17445)
6052 + 9a7aa21c8cd6f38d10e23e265dd650bf031f9b7c:
6053 Fix Bash `runfiles_current_repository` for tools
6054 + 911eedc0badcefdbc60a936ae73972772042fc8a:
6055 Fix label unambiguous canonical form to correctly report
6056 non-visible repo names
6057 + e132653ead5e50f4226dbff7776466fef1918f49:
6058 Remove O1 from sanitizer feature flag defaults
6059 + ba9e2f8fe666b4fc6110d86ea93cc11779e77068:
6060 Remove usage of gRPC Context cancellation in the remote
6061 execution client.
6062 + de03a2363d016782c5dfe7c55b5cf06cb610f6a2:
6063 Allow -v to libtool
6064 + 4e35c02c7c400bfbbfa69164a1ec3bd51966ca79:
6065 Prettify labels in action progress messages with Bzlmod (#17278)
6066 + 1be0ac3e73698e31a349ece629c887b06e102a0b:
6067 Expand tree outputs before eagerly prefetching them for local
6068 actions. (#17494)
6069 + c26665102d0d524bb42be8cd205c7b31a22a75c9:
6070 Fix Java coverage collection with Java 8 runtime
6071 + 1a6ffe6d453708e3cefc98a07965c680e48d6bac:
6072 Add a flag to disable execution log sorting.
6073 + fbec8e2ad1dcbebbbc96491f8b6b208f5b3ac91f:
6074 Reduce flakiness on Windows for BwoB tests
6075 + 420659a9ad2a98f57e057d8c22eb621e3b12803e:
6076 Make AutoBazelRepositoryProcessor compatible with Java 8
6077 + dde6d20b3fd1d7a14825649c9c89d1c4d2d5242b:
6078 Do not recommend `shallow_since` for `git_repository`
6079 + f76fc61640825dd7cf83ce02ba48a4e4f95b66ff:
6080 Allow the timeout value for execute calls on a mac to be set via
6081 an environment variable
6082 + 773d232f528276338098578a28c19c742e3b4e7e:
6083 Fix RPATHs for cc toolchain solib when sibling layout is used
6084 + 5932b3b8886ddb5aba271fd907f1371e67960a44:
6085 [6.1.0] Add --host_features (#17528)
6086 + a0fa77cc36d02f5f230335556a1829b298b2f219:
6087 Exit with code 39 if remote cache evicted blobs that Bazel need
6088 during an invocation (#17496)
6089 + 1a438b41b74d94fd8b6ff4dcf20b4526530e3c6e:
6090 Only fetch @remote_coverage_tools when collecting coverage
6091 (#17512)
6092 + ee1daaf9852d568dcf38357eadd77b9de953db36:
6093 [6.1.0]Only fetch @remote_coverage_tools when collecting
6094 coverage (#17287)
6095 + 350e32952bdd639969e2aff7887c5dc34c21bce6:
6096 [6.1.0]Fix symlink file creation overhead (#17488)
6097 + 5406c953574d48434d33b1cf49b70b718795d783:
6098 [6.1.0] Cleanup stale state when remote cache evicted (#17538)
6099 + 2d1b570e976773134a6244dd012e93a5478f6d4a:
6100 Bump version number in runfiles.bash init code
6101 + 3ab8a0a5d628a0d958fb2eb1c0d5bb76b442e2f2:
6102 [6.1.0]Let `aquery` print effective environment for all
6103 `CommandAction`s (#17274)
6104 + 51e6c38ae808df4f2bf8fb29b4c5173e06ac014a:
6105 Properly report repo fetch progress during main repo mapping
6106 computation
6107 + 744108e88681e770982f148161d328c9b77319a1:
6108 [docs] Update migrating to Xcode tutorial (#17563)
6109 + 9dc7a7e6881f58965103b42390560589e0f38b48:
6110 Update //third_party:jsr305 (#17557)
6111 + 43dadb275b3f9690242bf2d94a0757c721d231a9:
6112 Bump minimum supported macOS versions to 10.13
6113 + 7d9d23c1ac1b7fcaa461f902e286f50fbb7cb116:
6114 Correctly set default subprocess factory when loading class
6115 `SubprocessBuilder`.
6116 + 77f82f4fab189fd042754be0a7747042d9b01b8f:
6117 Add an --incompatible_strict_conflict_checks alias for
6118 --experimental_strict_conflict_checks.
6119 + e05345dec405a0333c48ff188d2d9a1be90dad53:
6120 Add support for wrapping system streams in WorkRequestHandler
6121 + 68e1924cdab69ab92b8acf2f6e9324d11e00b267:
6122 Also handle remote cache eviction for tree artifacts. (#17601)
6123 + 4a6d056a8d058ab98a01348fb0c046660ee99a71:
6124 Add host transition to lcov_merger in Java version of py_test
6125 + 546e9e2942cb2e98b4c93065cc2d2910878dc900:
6126 Fix Bazel 6.0 crash regression (#17613)
6127 + 7e328bb71004e1976525d8b813ca0d616e2af74b:
6128 Include Bazel version information in profile metadata. (#17616)
6129 + aafe1235c55f6cdcfc577a40736aaeb9ebaca23b:
6130 [6.1.0] Handle remote cache eviction when uploading inputs for
6131 remote actions. (#17605)
6132 + 938e34823206a2644d538ba655d20ac553352975:
6133 [6.1.0] Rerun the artifact conflict check when
6134 --incompatible_strict_conflict_checks changes. (#17592)
6135 + 034a2815a1e18be5c8b36c6a78f44bb849dff437:
6136 Report background download for BwoB (#17619)
6137 + 5afbce52c70cf974eaa4a3bbbc376f398271427d:
6138 [6.1.0] Flag for writable outputs (experimental) (#17617)
6139 + d4105e658001677929338835eb970e6595e66b3c:
6140 [6.1.0] Allow .wasm cc executable and dynamic library extension
6141 (#17440)
6142 + a306f4f7fd440d006aa6ae9234b4430f13bc8cf9:
6143 make desugar dependencies deterministic
6144 + 37953c56ea77c7aa7bea677f3481557fdb2c2a15:
6145 Apply exec transition to lcov_merger in sh_test and cc_test
6146 + 1d73d72a45598e38c51b2618bb6fe4f27b390cb8:
6147 [6.1.0]Fix --host_features with multiple transitions (#17641)
6148```
6149
6150Incompatible changes:
6151
6152 - Bazel no longer increases the delay between progress updates when
6153 there is no cursor control.
6154 - `--incompatible_always_include_files_in_data` is flipped
6155 to true. See https://github.com/bazelbuild/bazel/issues/16654 for
6156 details.
6157 - `cquery --output=files` also outputs source files.
6158
6159 Closes #16602.
6160 - `--incompatible_strict_conflict_checks` is flipped to true. See
6161 https://github.com/bazelbuild/bazel/issues/16729 for details.
6162 - This changes the behavior of Python version in exec/host
6163 configuration. Mitigation is to set Python version on the targets.
6164 - `--features` only applies to targets built in the target
6165 configuration, and `--host_features` is used for the host / exec
6166 configuration (gated behind `--incompatible_use_host_features`)
6167
6168 Fixes https://github.com/bazelbuild/bazel/issues/13839
6169
6170 Closes #16626.
6171
6172Important changes:
6173
6174 - The new path variable `$(rlocationpath ...)` and its plural form
6175 `$(rlocationpaths ...)` can be used to expand labels to the paths
6176 accepted by the `Rlocation` function of runfiles libraries. This
6177 is the preferred way to access data dependencies at runtime and
6178 works on all platforms, even when runfiles are not enabled (e.g.,
6179 on Windows by default).
6180
6181 Work towards #16124
6182 Fixes #10923
6183
6184 Closes #16428.
6185 - Starlark `print()` statements are now emitted iff the line of
6186 code is executed. They are no longer replayed on subsequent
6187 invocations unless the Starlark code is re-executed.
6188 Additionally, multiple identical `print()` statements (same
6189 string from the same line of code, e.g. from a loop) are all
6190 emitted and no longer deduplicated.
6191 - Fixes a bug where some compilation flags would not be applied to
6192 a cc_test
6193 - Added a `native.package_relative_label()` function, which
6194 converts a label string to a Label object in the context of the
6195 calling package, in contrast to `Label()`, which does so in the
6196 context of the current .bzl file. Both functions now also accept
6197 relative labels such as `:foo`, and are idempotent.
6198
6199This release contains contributions from many people at Google, as well as Brentley Jones, Ezekiel Warren, Fabian Meumertzheim, keertk, Keith Smiley, Krzysztof Naglik, kshyanashree, lunch-glide-pepper, oquenchil, Ted Kaplan, Ted Kaplan, UebelAndre, Xùdōng Yáng, Yannic, yuzhy8701.
6200
Bazel Release System801103d2023-03-06 17:05:09 +00006201## Release 6.1.0 (2023-03-06)
6202
6203```
6204Baseline: d60ce2c7c86393638c77698c00c2168a7a936a53
6205
6206Cherry picks:
6207
6208 + 490f8badf4f6f4ae8b96697f08267fdb083ccf5f:
6209 kshyanashree is the release manager of 6.0.0
6210 + 4e66d9340037f0be83d7bc0fdd809a09344ab83f:
6211 Automated rollback of commit
6212 2a2890913eb8f39299aa4b614ba96266ea8749f6.
6213 + 48a8d01b05149757f69a6a65a22a280bf003cd24:
6214 Allow C/C++ coverage collection for external targets
6215 + ec7be346adc00c4bde22d116fca80ef59da66121:
6216 Temporarily set parent directory of the input to writable if it
6217 is not.
6218 + b0984342eef068640a57aab584dd4c118f0dd394:
6219 Infer CPUs for tvOS and watchOS when on Apple Silicon
6220 + 5cea7dda5b632703cf4e0424ba09cd7c5bd6fc06:
6221 Improve the documentation for ctx.actions.symlink.
6222 + a82d26f17a99b5417b2212a0ce3a1bbc0285e5c4:
6223 Add quotes to "Tip"
6224 + 75b0f3aa95bc34f6620ea74e47d4822bd985efdd:
6225 Write a repo mapping manifest in the runfiles directory (#16555)
6226 + 07c5c1aa6d0b63605ae793dce78d26122af64a84:
6227 Ensure repository names don't start with `~`
6228 + 30f6c8238f39c4a396b3cb56a98c1a2e79d10bb9:
6229 Escape tilde more gracefully
6230 + cf3f48ca49f089615417636763d753811acf717f:
6231 Relax `Label` repo visibility validation
6232 + 4477823e2c2bc3d0335c41f971364dda72a3f69a:
6233 Use "apparent name" instead of "local name" in Bzlmod docs
6234 + 55f4f4834ef30321a00dab5b58202dd1e9716fd9:
6235 Bazel DevSite: Add required css file.
6236 + a706994ac69e3f3fed361c61378de847b50d3b12:
6237 Remove logic that increases delay between progress updates over
6238 time
6239 + 1d514ab05896f34ec91c2145f4dffafd3364030f:
6240 Remove references to io_bazel repository
6241 + b0357bd3831b26b5116dc120807e8264acf139db:
6242 Relnotes python script
6243 + 8f956511bb115c39ac683a1e78971fcf9dce5deb:
6244 Allow Java coverage collection for external targets
6245 + bddb191d3f99402330c67b89375409c31ee22daa:
6246 Fix race condition in package-bazel.sh
6247 + a75785279f543f4e33c697dd9e8873a6504b7818:
6248 Decanonicalize labels emitted by {a,c,}query if possible
6249 + 9d250edb63f27f9f4591bb5a71059710cc6dca9e:
6250 Add uniquify parameter to TemplateDict.add_joined
6251 + f02bcf8d8b0d00ecdd06ea0a45ba4f52e436597c:
6252 Fix identical gcov json file name problem
6253 + a1593309f66f892871e334013815b05350b4188f:
6254 Add `$(rlocationpath(s) ...)` expansion
6255 + 56f54daf9ff3b1177eee31e342e8d6b959d5ac34:
6256 Rollup of SBOM correctness fixes (#16655)
6257 + 72e6e948d30dec9dec60d78efef4eeda5b764a8f:
6258 [cc] Add cc toolchain to starlark cc_proto_library (#16661)
6259 + 8f28513893969b6346d965cab12aac69cb246ced:
6260 Make C++ runfiles library repo mapping aware
6261 + 95f9adc5ac544b1161d69a7ca74432479fdc29b3:
6262 Always collect FileProvider's filesToBuild as data runfiles
6263 + 4959d34e844714b793b2c6fa05016a9a6eaa7044:
6264 fix: export constraints.bzl file from @local_config_platform so
6265 it can be used in downstream bzl_library targets
6266 + 4919d4a61d8506d175b25a035500842b8bfe3d0d:
6267 Add --host_per_file_copt (#16695)
6268 + 0a23d46976c3fc999d44fbd1e37732ec2442d485:
6269 Moving some tests for `RemoteActionFileSystem` of BwoB to a base
6270 class.
6271 + 9296068be5e3808eb03a3b61f3af3a2c88f7ab7d:
6272 [remote/downloader] Don't include headers in `FetchBlobRequest`
6273 + 128d833fee99f8a43bc4de82cbec752e4ce6fb47:
6274 [remote] Respect whether the server supports action cache updates
6275 + 38c501912fc4efc14abc0741d19f5f8e8763afcb:
6276 [remote/downloader] Migrate `Downloader` to take `Credentials`
6277 (#16732)
6278 + 5929cb72aa01768e6352898b1a056ef678c81d90:
6279 Stage repository mapping manifest as a root symlink (#16733)
6280 + 455454a56e961affb041a1d4a9214f7f313a05aa:
6281 Expose current repository name to Java with @AutoBazelRepository
6282 + 97dea593e568f776361397f7280d6a16eee2efeb:
6283 Implement getDirectoryEntries and readdir for
6284 RemoteActionFileSystem.
6285 + aa45f5f3301c5005294df084cdf99c45d6f95d53:
6286 Move integration tests for BwoB to a base class and add more
6287 tests there.
6288 + 1b073ac0a719a09c9b2d1a52680517ab22dc971e:
6289 Make Java runfiles library repo mapping aware
6290 + 148bbb1c025a628643698f65627333d86975c1d7:
6291 Use `_repo_mapping` in C++ runfiles library (#16752)
6292 + 25558ada3fb377cfc2c965d3a93250ca28ce0fc1:
6293 Add --experimental_action_cache_store_output_metadata to the
6294 expansio…
6295 + 6e945e8ab422ca0a195d09899cce61ba6c0cfa59:
6296 Treat `DEBUG` events as progress-like.
6297 + 1940c5d68136ce2079efa8ff74d4e5fdf63ee3e6:
6298 redact 'token' strings from logging
6299 + 0b645254b41edc738c6641fd192fca86203ff2e2:
6300 Make Bash runfiles library repo mapping aware (#16753)
6301 + 4caae75b49e815ad2cf1d805f316bc374f03f2ae:
6302 Automated rollback of commit
6303 8f956511bb115c39ac683a1e78971fcf9dce5deb.
6304 + 13ff6d9e37999e00fda9a6cef278c7c924924f34:
6305 Fix Bash rlocation failure with stricter Bash options
6306 + bd88c7e47b911e5fa1f8a3c26d0f8317943c43ce:
6307 Make bazel Android remote deps compatible with bzlmod (#16772)
6308 + 6f6d4cca36a3b64009ed9c8b3fb13cb3c7ed915a:
6309 Flip `--incompatible_always_include_files_in_data`
6310 + 94355b1b1c4f7ef923457b8b2a070e5c6528240a:
6311 Add required `--add-opens` server JVM args also with
6312 non-embedded JDK
6313 + 8349c95fc98beb4008085942a67a57f0c4da074b:
6314 Also collect clang resource directory with
6315 `-no-canonical-prefixes`
6316 + dce6ed777d958d65c7f3d4a2f54f8117778a449e:
6317 Make `bazel run` works with minimal mode
6318 + ca8674cc4879ed1846bf015c33fe7d920a3f66ab:
6319 Include source files with `cquery --output=files` (#16826)
6320 + 9cb5e0a31665d3b3f25bf58ec2dee696e828d8b9:
6321 Fsync before rename after copy in DiskCacheClient
6322 + 23ffce53b92ef96432d8c6c58cc95ac362bab1bc:
6323 Update GetActionResult for disk cache to check referenced files
6324 when …
6325 + 0bc0ff5244142eb3348d42025ce21eeb337ad189:
6326 Make Java runfiles library compilable with JDK 8
6327 + fe169654a29d8ad33105d5d0034a7857834fed5d:
6328 [6.0.0] Default --incompatible_strict_conflict_checks to true.
6329 (#16864)
6330 + 99ca86f7c2968741ac3a9b20c3375fc992d49e66:
6331 Revert "[6.0.0] Default --incompatible_strict_conflict_checks to
6332 true. (#16864)" (#16872)
6333 + 312238f2b1414c98ed7d7d51dc4e18278edb2540:
6334 Make C++ runfiles library build with `-Werror=shadow`
6335 + 2baa5a4284467d70f1b31ea779b79d38ef07d164:
6336 Keep credentials cached across build commands.
6337 + 8818a57fce32a7872f045f03a334e1c9403724d3:
6338 [6.0.0] Only inject metadata for outputs that cannot be
6339 reconstructed by skyf… (#16879)
6340 + 31e4bf409eed71e8fb626092189eacb95f80fed9:
6341 Update java_tools v11.9
6342 + cd40666001e8d599bb61735898c195c6d2fae55b:
6343 replace _get_canonical_form(label) with str(label)
6344 + e2bc2374188b41924223385ad943db610e92e6c4:
6345 Avoid exceptions from hermetic sandbox for unsupported artifact
6346 subclasses
6347 + b564d145218e58b0440ffad82b3d1d54eef15d22:
6348 Remove warnings about ignored starlark options
6349 + 7ccc66108f08f7b6c6f6e5229f70f29962ea19ce:
6350 [6.0.0] Emit Tree objects in topological order (#16904)
6351 + 86dee6d2ecb269e0c41a97718812054394ee51a4:
6352 Correctly match regex with tree artifact
6353 + 14925b574aa63aad098f2c3d95e14b46ffd295ec:
6354 Always use target's attributes to set Python version (#16959)
6355 + a247502d28d8d70d648390de52952189b99a0bb7:
6356 Add 'toolchain' parameter to actions.{run,run_shell}
6357 + 497b7e403d6e5523bd1310bd1fe83c4ce1a6b1ec:
6358 Fix Bash `runfiles_current_repository` with RBE
6359 + 0a2c4edbc86398266525f31948d67a5736890bfe:
6360 Fix corner cases in Bash runfiles library
6361 + 33b514b25963452be71a015e08d4e890405b00a3:
6362 Fix runfiles creation with MANIFEST when building without the
6363 bytes
6364 + 3a13af41034e1f80cc0fbc1634cf8f724a85b78f:
6365 Remove LCOV merger dependency of `cc_test` without coverage
6366 (#17004)
6367 + 25ba76c1b8d420ebae43c1f59890ae46153c2240:
6368 Include full tree artifact in inputs when prefetcher doesn't
6369 support partial tree artifacts.
6370 + 06deebfb5b73f848de5a0ea0e00fcfaa26788d1f:
6371 Release 6.0.0 (2022-12-19)
6372 + c2bfb2e98d133c62be328e6e93c4b4bdf766d82c:
6373 Enable git_submodules tests and merge git_repository and
6374 starlark_git_repository (#17247)
6375 + e8182ce32931560406fee1c30745e56a2ee9a6b3:
6376 have 'bazel test' non-test targets depend on
6377 --remote_download_output
6378 + c3245cd028977877aa9e485451b29c7736ebcae0:
6379 Add `SpellChecker` suggestions for common Bzlmod errors
6380 + 8ec874348226995c4101b2173a465ddc65cab591:
6381 Use xcrun to invoke install_name_tool
6382 + 2b2bea4ee9d51ad875a8d273aa344ac9c5b6742c:
6383 Extra resources
6384 + 5b4de12b37cb4ba921b6bdfe810bbb47921ab3a6:
6385 Do not clear `--platforms` on no-op change to `--cpu`
6386 + db3c0130b3363485a366897e1c1f2adc5d41fde6:
6387 Report `AspectCreationException` to the user
6388 + 53e9fea30e58ab479e5cd7a6c804634f56fc2ddb:
6389 Use long executable path instead of `argv[0]` in all launchers
6390 + abae5ca3e8142f93cf0c2597e3410ed955c4dd59:
6391 Add sanitizer features to unix_cc_toolchain_config
6392 + db684196afd3b1a0a0e7d883674324bd161ae8bf:
6393 Allow `map_each` to return `None` in `TemplateDict#add_joined`
6394 + 66b58ee904efa22696edc1b78a59bac91da9ed8d:
6395 Always emit trailing zero in human-readable download progress
6396 + 17b8e448a5e5589f96c2794cb38c86b0c64e86c0:
6397 Upload all logs in BEP even with minimal upload
6398 + 28d2daae70be6ee97b876b0568796ceb87af9523:
6399 Set `--experimental_action_listeners` to default in `exec` config
6400 + 16427c9050db140d6cb90d7d6324d4a2ff1e249a:
6401 Do not count tests as failed that have not started
6402 + 094a0aabed1e018e6503bc3ac844c8022b71a527:
6403 Accept tildes in --override_module
6404 + 5f2866f8434ce9a17cf82c001efb7b236f189115:
6405 Do the AC integrity check for disk part of the combined cache.
6406 + cd10d508e20a4964586b46f7edea8a6dc900157c:
6407 Fix `--nozip_undeclared_test_outputs` on Windows
6408 + 073f54b9a7c46afd2c28b4a99a235bdd6b63bb5f:
6409 Allow pyd in extensions of dynamic libraries
6410 + ac504cbb463e76b1374d0060534acabbccb408d2:
6411 Register JavaCompileActionContext in Bazel.
6412 + f090433fcf0f42639608b9c5f0243018c1bb9ac7:
6413 Rollback #14510 because it causes remote test execution to fail
6414 + 942dddaaad9bf4fbb20b66535aad4fc464ad69ba:
6415 Prepare backwards compatible usage of optional C++ toolchain
6416 + 88b51f57d09e43dec31a84d4b636595924d5bfef:
6417 Emit LLVM coverage for source file paths with a `tmp` segment
6418 + bb0b886271d45209e3bef476da37811b9dd2afe5:
6419 Enable archive_param_file feature by default for Windows
6420 + baf97c00c891acf844a29b4cc31abb45b5c434e5:
6421 Allow `TemplateDict#map_each` callback to return a list of
6422 strings (#17306)
6423 + fcb007749f7f24b36c2b7c4284378bba20fc8b69:
6424 Only try to create groups of test actions in the ui.
6425 + 3c47b4716e6eca2b8ab06253915ef8d1bdd28038:
6426 Find `libtool` when using `BAZEL_USE_CPP_ONLY_TOOLCHAIN`.
6427 + 1da8a825c0fba882f33ea6998a76ff8265fcd32c:
6428 Add -dead_strip in default opt link flags for darwin
6429 + b0c5eb30b2738bf6454c3026a3e0f37579d5854c:
6430 Dont query remote cache but always use bytestream protocol
6431 + 00e9af1985cc0227599516fe7568785ca4334050:
6432 Allow Java coverage collection for external targets.
6433 + dd24a0022a0ff959598da2c9bc097d27083be1a0:
6434 Test and fix root symlink edge case in runfiles library
6435 + af97d9830d3207893cc6f5c851431a28f1721acb:
6436 [6.1.0] Fix broken CI (#17422)
6437 + b859571804f2095caaf018b172b59c90f185fd51:
6438 Add `native.package_relative_label` function
6439 + 82168d44ee1d49cf2f406903b6d8b9fde0e66cf2:
6440 Make Bazel more responsive and use less memory when --jobs is
6441 high (#17398)
6442 + 84c1ed430405b154b6e9eb2c28281f450e250eff:
6443 Multiplex worker fixes and tests for Android busybox tools
6444 (#17371)
6445 + 07590818d6ce0d0e66c2377db7e73fb6ee6702e5:
6446 Improve error message for concurrent modifications (#17396)
6447 + 27bc896f36f0e0ea5dbeaaa16f3a124e38a7284a:
6448 [6.1.0] Make bazel coverage work with minimal mode (#17397)
6449 + 544b8164ca352cf06dda0849a589b825631428af:
6450 [6.1.0] Fix cc_binary bug related to cc_shared_library on
6451 Windows and prepare for future removal of
6452 --experimental_cc_shared_library flag (#17445)
6453 + 9a7aa21c8cd6f38d10e23e265dd650bf031f9b7c:
6454 Fix Bash `runfiles_current_repository` for tools
6455 + 911eedc0badcefdbc60a936ae73972772042fc8a:
6456 Fix label unambiguous canonical form to correctly report
6457 non-visible repo names
6458 + e132653ead5e50f4226dbff7776466fef1918f49:
6459 Remove O1 from sanitizer feature flag defaults
6460 + ba9e2f8fe666b4fc6110d86ea93cc11779e77068:
6461 Remove usage of gRPC Context cancellation in the remote
6462 execution client.
6463 + de03a2363d016782c5dfe7c55b5cf06cb610f6a2:
6464 Allow -v to libtool
6465 + 4e35c02c7c400bfbbfa69164a1ec3bd51966ca79:
6466 Prettify labels in action progress messages with Bzlmod (#17278)
6467 + 1be0ac3e73698e31a349ece629c887b06e102a0b:
6468 Expand tree outputs before eagerly prefetching them for local
6469 actions. (#17494)
6470 + c26665102d0d524bb42be8cd205c7b31a22a75c9:
6471 Fix Java coverage collection with Java 8 runtime
6472 + 1a6ffe6d453708e3cefc98a07965c680e48d6bac:
6473 Add a flag to disable execution log sorting.
6474 + fbec8e2ad1dcbebbbc96491f8b6b208f5b3ac91f:
6475 Reduce flakiness on Windows for BwoB tests
6476 + 420659a9ad2a98f57e057d8c22eb621e3b12803e:
6477 Make AutoBazelRepositoryProcessor compatible with Java 8
6478 + dde6d20b3fd1d7a14825649c9c89d1c4d2d5242b:
6479 Do not recommend `shallow_since` for `git_repository`
6480 + f76fc61640825dd7cf83ce02ba48a4e4f95b66ff:
6481 Allow the timeout value for execute calls on a mac to be set via
6482 an environment variable
6483 + 773d232f528276338098578a28c19c742e3b4e7e:
6484 Fix RPATHs for cc toolchain solib when sibling layout is used
6485 + 5932b3b8886ddb5aba271fd907f1371e67960a44:
6486 [6.1.0] Add --host_features (#17528)
6487 + a0fa77cc36d02f5f230335556a1829b298b2f219:
6488 Exit with code 39 if remote cache evicted blobs that Bazel need
6489 during an invocation (#17496)
6490 + 1a438b41b74d94fd8b6ff4dcf20b4526530e3c6e:
6491 Only fetch @remote_coverage_tools when collecting coverage
6492 (#17512)
6493 + ee1daaf9852d568dcf38357eadd77b9de953db36:
6494 [6.1.0]Only fetch @remote_coverage_tools when collecting
6495 coverage (#17287)
6496 + 350e32952bdd639969e2aff7887c5dc34c21bce6:
6497 [6.1.0]Fix symlink file creation overhead (#17488)
6498 + 5406c953574d48434d33b1cf49b70b718795d783:
6499 [6.1.0] Cleanup stale state when remote cache evicted (#17538)
6500 + 2d1b570e976773134a6244dd012e93a5478f6d4a:
6501 Bump version number in runfiles.bash init code
6502 + 3ab8a0a5d628a0d958fb2eb1c0d5bb76b442e2f2:
6503 [6.1.0]Let `aquery` print effective environment for all
6504 `CommandAction`s (#17274)
6505 + 51e6c38ae808df4f2bf8fb29b4c5173e06ac014a:
6506 Properly report repo fetch progress during main repo mapping
6507 computation
6508 + 744108e88681e770982f148161d328c9b77319a1:
6509 [docs] Update migrating to Xcode tutorial (#17563)
6510 + 9dc7a7e6881f58965103b42390560589e0f38b48:
6511 Update //third_party:jsr305 (#17557)
6512 + 43dadb275b3f9690242bf2d94a0757c721d231a9:
6513 Bump minimum supported macOS versions to 10.13
6514 + 7d9d23c1ac1b7fcaa461f902e286f50fbb7cb116:
6515 Correctly set default subprocess factory when loading class
6516 `SubprocessBuilder`.
6517 + 77f82f4fab189fd042754be0a7747042d9b01b8f:
6518 Add an --incompatible_strict_conflict_checks alias for
6519 --experimental_strict_conflict_checks.
6520 + e05345dec405a0333c48ff188d2d9a1be90dad53:
6521 Add support for wrapping system streams in WorkRequestHandler
6522 + 68e1924cdab69ab92b8acf2f6e9324d11e00b267:
6523 Also handle remote cache eviction for tree artifacts. (#17601)
6524 + 4a6d056a8d058ab98a01348fb0c046660ee99a71:
6525 Add host transition to lcov_merger in Java version of py_test
6526 + 546e9e2942cb2e98b4c93065cc2d2910878dc900:
6527 Fix Bazel 6.0 crash regression (#17613)
6528 + 7e328bb71004e1976525d8b813ca0d616e2af74b:
6529 Include Bazel version information in profile metadata. (#17616)
6530 + aafe1235c55f6cdcfc577a40736aaeb9ebaca23b:
6531 [6.1.0] Handle remote cache eviction when uploading inputs for
6532 remote actions. (#17605)
6533 + 938e34823206a2644d538ba655d20ac553352975:
6534 [6.1.0] Rerun the artifact conflict check when
6535 --incompatible_strict_conflict_checks changes. (#17592)
6536 + 034a2815a1e18be5c8b36c6a78f44bb849dff437:
6537 Report background download for BwoB (#17619)
6538 + 5afbce52c70cf974eaa4a3bbbc376f398271427d:
6539 [6.1.0] Flag for writable outputs (experimental) (#17617)
6540 + d4105e658001677929338835eb970e6595e66b3c:
6541 [6.1.0] Allow .wasm cc executable and dynamic library extension
6542 (#17440)
6543 + a306f4f7fd440d006aa6ae9234b4430f13bc8cf9:
6544 make desugar dependencies deterministic
6545 + 37953c56ea77c7aa7bea677f3481557fdb2c2a15:
6546 Apply exec transition to lcov_merger in sh_test and cc_test
6547 + 1d73d72a45598e38c51b2618bb6fe4f27b390cb8:
6548 [6.1.0]Fix --host_features with multiple transitions (#17641)
6549```
6550
6551Incompatible changes:
6552
6553 - Bazel no longer increases the delay between progress updates when
6554 there is no cursor control.
6555 - `--incompatible_always_include_files_in_data` is flipped
6556 to true. See https://github.com/bazelbuild/bazel/issues/16654 for
6557 details.
6558 - `cquery --output=files` also outputs source files.
6559
6560 Closes #16602.
6561 - `--incompatible_strict_conflict_checks` is flipped to true. See
6562 https://github.com/bazelbuild/bazel/issues/16729 for details.
6563 - This changes the behavior of Python version in exec/host
6564 configuration. Mitigation is to set Python version on the targets.
6565 - `--features` only applies to targets built in the target
6566 configuration, and `--host_features` is used for the host / exec
6567 configuration (gated behind `--incompatible_use_host_features`)
6568
6569 Fixes https://github.com/bazelbuild/bazel/issues/13839
6570
6571 Closes #16626.
6572
6573Important changes:
6574
6575 - The new path variable `$(rlocationpath ...)` and its plural form
6576 `$(rlocationpaths ...)` can be used to expand labels to the paths
6577 accepted by the `Rlocation` function of runfiles libraries. This
6578 is the preferred way to access data dependencies at runtime and
6579 works on all platforms, even when runfiles are not enabled (e.g.,
6580 on Windows by default).
6581
6582 Work towards #16124
6583 Fixes #10923
6584
6585 Closes #16428.
6586 - Starlark `print()` statements are now emitted iff the line of
6587 code is executed. They are no longer replayed on subsequent
6588 invocations unless the Starlark code is re-executed.
6589 Additionally, multiple identical `print()` statements (same
6590 string from the same line of code, e.g. from a loop) are all
6591 emitted and no longer deduplicated.
6592 - Fixes a bug where some compilation flags would not be applied to
6593 a cc_test
6594 - Added a `native.package_relative_label()` function, which
6595 converts a label string to a Label object in the context of the
6596 calling package, in contrast to `Label()`, which does so in the
6597 context of the current .bzl file. Both functions now also accept
6598 relative labels such as `:foo`, and are idempotent.
6599
6600This release contains contributions from many people at Google, as well as Brentley Jones, Ezekiel Warren, Fabian Meumertzheim, keertk, Keith Smiley, Krzysztof Naglik, kshyanashree, lunch-glide-pepper, oquenchil, Ted Kaplan, Ted Kaplan, UebelAndre, Xùdōng Yáng, Yannic, yuzhy8701.
6601
Bazel Release Systemca9c4822023-02-24 21:18:59 +01006602## Release 7.0.0-pre.20230215.2 (2023-02-24)
6603
6604```
6605Baseline: e8a69f5d5acaeb6af760631490ecbf73e8a04eeb
6606
6607Cherry picks:
6608
6609 + 4ef636552b86ddea01f36c9346b78016bdad7798:
6610 Check for ctx.configuration.coverage_enabled instead of
6611 ctx.coverage_instrumented() in cc_helper.
6612```
6613
6614Incompatible changes:
6615
6616 - When remote cache evicts blobs, Bazel will exit with code 39.
6617
6618Important changes:
6619
6620 - Update Android manifest merger to v30.1.3, and also drop support
6621 for legacy (pre-D8) desugaring.
6622 - Adds coverage metric support to android_local_test
6623 - Correctly encode double value positive infinity as "inf" instead
6624 of "+inf" for textprotos.
6625
6626This release contains contributions from many people at Google, as well as Andreas Herrmann, Benjamin Lee, Daniel Grunwald, Emil Kattainen, Fabian Meumertzheim, hvd, keertk, Keith Smiley, kshyanashree, Kun-Lu.
6627
Bazel Release Systemf39272a2023-02-16 19:55:45 +01006628## Release 7.0.0-pre.20230209.2 (2023-02-16)
6629
6630```
6631Baseline: 66121a75d67b92990966fc94771a22b0b4a062e3
6632
6633Cherry picks:
6634
6635 + 534089ed10a253b31c499a284079f52a92bc0347:
6636 Automated rollback of commit
6637 02b1b78f0278e2d6d9f294b9cfe86f72f0c9a900.
6638```
6639
6640Incompatible changes:
6641
6642 - --incompatible_python_disable_py2 is flipped to true. See #17293
6643 for details.
6644
6645Important changes:
6646
6647 - Added a `native.package_relative_label()` function, which
6648 converts a label string to a Label object in the context of the
6649 calling package, in contrast to `Label()`, which does so in the
6650 context of the current .bzl file. Both functions now also accept
6651 relative labels such as `:foo`, and are idempotent.
6652
6653This release contains contributions from many people at Google, as well as Benjamin Lee, Benjamin Peterson, Chirag Ramani, Ezekiel Warren, Fabian Meumertzheim, Jon Parise, jonrose-dev, keertk, Sara Adams, yuzhy8701.
6654
Bazel Release System3a9618c2023-02-14 14:30:18 +01006655## Release 7.0.0-pre.20230128.3 (2023-02-14)
6656
6657```
6658Baseline: d13c9641a187b5a3026ebb9093aeb480fdfe1838
6659```
6660
6661This release contains contributions from many people at Google, as well as Benjamin Lee, Benjamin Peterson, Ed Schouten, Fabian Meumertzheim, Lee Mracek, lripoche, Nick Korostelev, Saleem Abdulrasool, Sara Adams, Uri Baghin.
6662
Bazel Release System127024e2023-02-02 22:56:48 +01006663## Release 7.0.0-pre.20230123.5 (2023-02-02)
6664
6665```
6666Baseline: 2f9c7d60ea676f9f8e929b20a3ff74e786995c91
6667
6668Cherry picks:
6669
6670 + 9d92e7189bd7996286cbc0b04ae5c3ef7894f23c:
6671 Small tweaks to platform documentation. - Point platform rules
6672 to the explanatory document which people should have read first.
6673 - Update the left nav to include the word "Toolchains" - move
6674 https://bazel.build/extending/platforms from Design Docs to
6675 Concepts
6676 + d5095dbfd320654298aaa1b412a7581b53792d3f:
6677 "bazel config" output tests: skip noconfig.
6678 + 923425002daae6f83cb0c6487cc3453b2dc89a43:
6679 Automated rollback of commit
6680 0fe4c36a7feb24444bc72731bf4839aa1ca926c6.
6681```
6682
6683Incompatible changes:
6684
6685 - --experimental_build_transitive_python_runfiles is flipped to
6686 false. See #16303 for details
6687
6688Important changes:
6689
6690 - Now that the host configuration is finished, `genrule` should
6691 prefer the use of `tools` and stop using `exec_tools`.
6692
6693This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Keith Smiley.
6694
Bazel Release System357ac1d2023-01-26 19:34:58 +01006695## Release 7.0.0-pre.20230118.2 (2023-01-26)
6696
6697```
6698Baseline: b310a8aaf35d73d1310b2a914a459a9f32a04d0d
6699
6700Cherry picks:
6701
6702 + ab71a1002c9c53a8061336e40f91204a2a32c38e:
6703 Rollback
6704 https://github.com/bazelbuild/bazel/commit/414824173363e579d34afc
6705 1aa16bc97a220743dc to fix breakage in an internal use case
6706```
6707
6708Incompatible changes:
6709
6710 - query --output=proto --order_output=deps now returns targets in
6711 topological order (previously there was no ordering).
6712
6713This release contains contributions from many people at Google, as well as Anthony Ter-Saakov, Benjamin Lee, Benjamin Peterson, Ben Lee, Brentley Jones, Ed Schouten, Emil Kattainen, Fabian Meumertzheim, Fabian Meumertzheim, Fahrzin Hemmati, Halil Sener, Keith Smiley, Maxwell Elliott, mohamadk, Oliver Lee, Patrick Balestra, Red Daly, Severin Strobl, Simon Mavi Stewart, Stiopa Koltsov, tbaing, Thulio Ferraz Assis, Ulf Adams, Xavier Bonaventura.
6714
Bazel Release Systemcb2c8eb2023-01-23 16:04:06 +01006715## Release 7.0.0-pre.20230104.2 (2023-01-23)
6716
6717```
6718Baseline: 89d34ac23a8f46b3b89ac4730d7a20da375f5fae
6719
6720Cherry picks:
6721
6722 + cf95a2be1de5e29d38fc1f35e662c678bb70fcdd:
6723 Automated rollback of commit
6724 2f39c04ea4b93788bfef5c475b7dd40a8a289aef.
6725```
6726
Bazel Release Systema06265c2023-01-23 16:57:19 +01006727This release contains contributions from many people at Google, as well as .
6728
6729## Release 7.0.0-pre.20230104.2 (2023-01-23)
6730
6731```
6732Baseline: 89d34ac23a8f46b3b89ac4730d7a20da375f5fae
6733
6734Cherry picks:
6735
6736 + cf95a2be1de5e29d38fc1f35e662c678bb70fcdd:
6737 Automated rollback of commit
6738 2f39c04ea4b93788bfef5c475b7dd40a8a289aef.
6739```
6740
Bazel Release Systemcb2c8eb2023-01-23 16:04:06 +01006741Incompatible changes:
6742
6743 - When multiple --deleted_packages options are passed on the
6744 command line, they will be concatenated instead of the latest one
6745 taking effect.
6746 - This has the side effect of changing the message on unsuccessful
6747 builds from
6748 - JSON profile: Use doubles instead of strings for counter series.
6749
6750Important changes:
6751
6752 - removed outdated ctx.host_configuration
6753
6754This release contains contributions from many people at Google, as well as Amanda L Martin, Benjamin Lee, Benjamin Peterson, Benjamin Peterson, Fabian Meumertzheim, Fahrzin Hemmati, keertk, Patrick Balestra, Sara Adams, Sascha Moecker, Siddhesh Bhupendra Kuakde, Stiopa Koltsov.
6755
Bazel Release System3748bcc2022-12-23 20:28:58 +01006756## Release 7.0.0-pre.20221212.2 (2022-12-23)
6757
6758```
6759Baseline: 09da33b417e798cd0059a88dcfd4634af91e6322
6760
6761Cherry picks:
6762
6763 + 152cdc96300ec8f331fd1b41cde4b9f00e2e1b11:
6764 Fix stamping of jars in java_import
6765```
6766
6767Incompatible changes:
6768
6769 - This has the side effect of changing the message on unsuccessful
6770 builds from
6771 ```
6772 FAILED: Build did NOT complete successfully (0 packages loaded)
6773 ```
6774 to
6775 ```
6776 ERROR: Build did NOT complete successfully
6777 ```
6778 - Bazel no longer increases the delay between progress updates when
6779 there is no cursor control.
6780 - This has the side effect of changing the message on unsuccessful
6781 builds from
6782 ```
6783 FAILED: Build did NOT complete successfully (0 packages loaded)
6784 ```
6785 to
6786 ```
6787 ERROR: Build did NOT complete successfully
6788 ```
6789 - the --experimental_async_execution flag is now a no-op.
6790 - --experimental_replay_action_out_err is not a no-op.
6791 - `cquery --output=files` also outputs source files.
6792 - `--incompatible_strict_conflict_checks` is flipped to true. See
6793 https://github.com/bazelbuild/bazel/issues/16729 for details.
6794 - `--incompatible_strict_conflict_checks` is flipped to true. See
6795 https://github.com/bazelbuild/bazel/issues/16729 for details.
6796 - `--incompatible_always_include_files_in_data` is flipped to true.
6797 See https://github.com/bazelbuild/bazel/issues/16654 for details.
6798 - This changes the behavior of Python version in exec/host
6799 configuration. Mitigation is to set Python version on the targets.
6800
6801New features:
6802
6803 - The `aquery` and `cquery` commands now respect the
6804 `--query_file` flag just like the `query` command.
6805
6806Important changes:
6807
6808 - The new path variable `$(rlocationpath ...)` and its plural form
6809 `$(rlocationpaths ...)` can be used to expand labels to the paths
6810 accepted by the `Rlocation` function of runfiles libraries. This
6811 is the preferred way to access data dependencies at runtime and
6812 works on all platforms, even when runfiles are not enabled (e.g.,
6813 on Windows by default).
6814 - Starlark `print()` statements are now emitted iff the line of
6815 code is executed. They are no longer replayed on subsequent
6816 invocations unless the Starlark code is re-executed.
6817 Additionally, multiple identical `print()` statements (same
6818 string from the same line of code, e.g. from a loop) are all
6819 emitted and no longer deduplicated.
6820 - Fixes a bug where some compilation flags would not be applied to
6821 a cc_test
6822 - removed outdated ctx.host_fragments
6823
6824This release contains contributions from many people at Google, as well as Alex Eagle, Ankush Goyal, Artem Zinnatullin, aryeh, Benjamin Peterson, Christopher Peterson Sauer, Christopher Sauer, Daniel KT, Ed Schouten, Fabian Meumertzheim, Gaspare Vitta, Greg Magolan, hvadehra, John Hinnegan, keertk, Keith Smiley, Krzysztof Naglik, Matt Mackay, nathyong, Patrick Balestra, Robin Tweedie, Roger Hu, Tom Cnops, Ulrik Falklof, Xavier Bonaventura, Xdng Yng, Xiangquan Xiao, Yannic Bonenberger, Yannic, Yi Cheng.
6825
Bazel Release Systemb5d6cb12022-12-19 15:47:44 +00006826## Release 6.0.0 (2022-12-19)
6827
6828```
6829Baseline: d60ce2c7c86393638c77698c00c2168a7a936a53
6830
6831Cherry picks:
6832
6833 + 490f8badf4f6f4ae8b96697f08267fdb083ccf5f:
6834 kshyanashree is the release manager of 6.0.0
6835 + 4e66d9340037f0be83d7bc0fdd809a09344ab83f:
6836 Automated rollback of commit
6837 2a2890913eb8f39299aa4b614ba96266ea8749f6.
6838 + 48a8d01b05149757f69a6a65a22a280bf003cd24:
6839 Allow C/C++ coverage collection for external targets
6840 + ec7be346adc00c4bde22d116fca80ef59da66121:
6841 Temporarily set parent directory of the input to writable if it
6842 is not.
6843 + b0984342eef068640a57aab584dd4c118f0dd394:
6844 Infer CPUs for tvOS and watchOS when on Apple Silicon
6845 + 5cea7dda5b632703cf4e0424ba09cd7c5bd6fc06:
6846 Improve the documentation for ctx.actions.symlink.
6847 + a82d26f17a99b5417b2212a0ce3a1bbc0285e5c4:
6848 Add quotes to "Tip"
6849 + 75b0f3aa95bc34f6620ea74e47d4822bd985efdd:
6850 Write a repo mapping manifest in the runfiles directory (#16555)
6851 + 07c5c1aa6d0b63605ae793dce78d26122af64a84:
6852 Ensure repository names don't start with `~`
6853 + 30f6c8238f39c4a396b3cb56a98c1a2e79d10bb9:
6854 Escape tilde more gracefully
6855 + cf3f48ca49f089615417636763d753811acf717f:
6856 Relax `Label` repo visibility validation
6857 + 4477823e2c2bc3d0335c41f971364dda72a3f69a:
6858 Use "apparent name" instead of "local name" in Bzlmod docs
6859 + 55f4f4834ef30321a00dab5b58202dd1e9716fd9:
6860 Bazel DevSite: Add required css file.
6861 + a706994ac69e3f3fed361c61378de847b50d3b12:
6862 Remove logic that increases delay between progress updates over
6863 time
6864 + 1d514ab05896f34ec91c2145f4dffafd3364030f:
6865 Remove references to io_bazel repository
6866 + b0357bd3831b26b5116dc120807e8264acf139db:
6867 Relnotes python script
6868 + 8f956511bb115c39ac683a1e78971fcf9dce5deb:
6869 Allow Java coverage collection for external targets
6870 + bddb191d3f99402330c67b89375409c31ee22daa:
6871 Fix race condition in package-bazel.sh
6872 + a75785279f543f4e33c697dd9e8873a6504b7818:
6873 Decanonicalize labels emitted by {a,c,}query if possible
6874 + 9d250edb63f27f9f4591bb5a71059710cc6dca9e:
6875 Add uniquify parameter to TemplateDict.add_joined
6876 + f02bcf8d8b0d00ecdd06ea0a45ba4f52e436597c:
6877 Fix identical gcov json file name problem
6878 + a1593309f66f892871e334013815b05350b4188f:
6879 Add `$(rlocationpath(s) ...)` expansion
6880 + 56f54daf9ff3b1177eee31e342e8d6b959d5ac34:
6881 Rollup of SBOM correctness fixes (#16655)
6882 + 72e6e948d30dec9dec60d78efef4eeda5b764a8f:
6883 [cc] Add cc toolchain to starlark cc_proto_library (#16661)
6884 + 8f28513893969b6346d965cab12aac69cb246ced:
6885 Make C++ runfiles library repo mapping aware
6886 + 95f9adc5ac544b1161d69a7ca74432479fdc29b3:
6887 Always collect FileProvider's filesToBuild as data runfiles
6888 + 4959d34e844714b793b2c6fa05016a9a6eaa7044:
6889 fix: export constraints.bzl file from @local_config_platform so
6890 it can be used in downstream bzl_library targets
6891 + 4919d4a61d8506d175b25a035500842b8bfe3d0d:
6892 Add --host_per_file_copt (#16695)
6893 + 0a23d46976c3fc999d44fbd1e37732ec2442d485:
6894 Moving some tests for `RemoteActionFileSystem` of BwoB to a base
6895 class.
6896 + 9296068be5e3808eb03a3b61f3af3a2c88f7ab7d:
6897 [remote/downloader] Don't include headers in `FetchBlobRequest`
6898 + 128d833fee99f8a43bc4de82cbec752e4ce6fb47:
6899 [remote] Respect whether the server supports action cache updates
6900 + 38c501912fc4efc14abc0741d19f5f8e8763afcb:
6901 [remote/downloader] Migrate `Downloader` to take `Credentials`
6902 (#16732)
6903 + 5929cb72aa01768e6352898b1a056ef678c81d90:
6904 Stage repository mapping manifest as a root symlink (#16733)
6905 + 455454a56e961affb041a1d4a9214f7f313a05aa:
6906 Expose current repository name to Java with @AutoBazelRepository
6907 + 97dea593e568f776361397f7280d6a16eee2efeb:
6908 Implement getDirectoryEntries and readdir for
6909 RemoteActionFileSystem.
6910 + aa45f5f3301c5005294df084cdf99c45d6f95d53:
6911 Move integration tests for BwoB to a base class and add more
6912 tests there.
6913 + 1b073ac0a719a09c9b2d1a52680517ab22dc971e:
6914 Make Java runfiles library repo mapping aware
6915 + 148bbb1c025a628643698f65627333d86975c1d7:
6916 Use `_repo_mapping` in C++ runfiles library (#16752)
6917 + 25558ada3fb377cfc2c965d3a93250ca28ce0fc1:
6918 Add --experimental_action_cache_store_output_metadata to the
6919 expansio…
6920 + 6e945e8ab422ca0a195d09899cce61ba6c0cfa59:
6921 Treat `DEBUG` events as progress-like.
6922 + 1940c5d68136ce2079efa8ff74d4e5fdf63ee3e6:
6923 redact 'token' strings from logging
6924 + 0b645254b41edc738c6641fd192fca86203ff2e2:
6925 Make Bash runfiles library repo mapping aware (#16753)
6926 + 4caae75b49e815ad2cf1d805f316bc374f03f2ae:
6927 Automated rollback of commit
6928 8f956511bb115c39ac683a1e78971fcf9dce5deb.
6929 + 13ff6d9e37999e00fda9a6cef278c7c924924f34:
6930 Fix Bash rlocation failure with stricter Bash options
6931 + bd88c7e47b911e5fa1f8a3c26d0f8317943c43ce:
6932 Make bazel Android remote deps compatible with bzlmod (#16772)
6933 + 6f6d4cca36a3b64009ed9c8b3fb13cb3c7ed915a:
6934 Flip `--incompatible_always_include_files_in_data`
6935 + 94355b1b1c4f7ef923457b8b2a070e5c6528240a:
6936 Add required `--add-opens` server JVM args also with
6937 non-embedded JDK
6938 + 8349c95fc98beb4008085942a67a57f0c4da074b:
6939 Also collect clang resource directory with
6940 `-no-canonical-prefixes`
6941 + dce6ed777d958d65c7f3d4a2f54f8117778a449e:
6942 Make `bazel run` works with minimal mode
6943 + ca8674cc4879ed1846bf015c33fe7d920a3f66ab:
6944 Include source files with `cquery --output=files` (#16826)
6945 + 9cb5e0a31665d3b3f25bf58ec2dee696e828d8b9:
6946 Fsync before rename after copy in DiskCacheClient
6947 + 23ffce53b92ef96432d8c6c58cc95ac362bab1bc:
6948 Update GetActionResult for disk cache to check referenced files
6949 when …
6950 + 0bc0ff5244142eb3348d42025ce21eeb337ad189:
6951 Make Java runfiles library compilable with JDK 8
6952 + fe169654a29d8ad33105d5d0034a7857834fed5d:
6953 [6.0.0] Default --incompatible_strict_conflict_checks to true.
6954 (#16864)
6955 + 99ca86f7c2968741ac3a9b20c3375fc992d49e66:
6956 Revert "[6.0.0] Default --incompatible_strict_conflict_checks to
6957 true. (#16864)" (#16872)
6958 + 312238f2b1414c98ed7d7d51dc4e18278edb2540:
6959 Make C++ runfiles library build with `-Werror=shadow`
6960 + 2baa5a4284467d70f1b31ea779b79d38ef07d164:
6961 Keep credentials cached across build commands.
6962 + 8818a57fce32a7872f045f03a334e1c9403724d3:
6963 [6.0.0] Only inject metadata for outputs that cannot be
6964 reconstructed by skyf… (#16879)
6965 + 31e4bf409eed71e8fb626092189eacb95f80fed9:
6966 Update java_tools v11.9
6967 + cd40666001e8d599bb61735898c195c6d2fae55b:
6968 replace _get_canonical_form(label) with str(label)
6969 + e2bc2374188b41924223385ad943db610e92e6c4:
6970 Avoid exceptions from hermetic sandbox for unsupported artifact
6971 subclasses
6972 + b564d145218e58b0440ffad82b3d1d54eef15d22:
6973 Remove warnings about ignored starlark options
6974 + 7ccc66108f08f7b6c6f6e5229f70f29962ea19ce:
6975 [6.0.0] Emit Tree objects in topological order (#16904)
6976 + 86dee6d2ecb269e0c41a97718812054394ee51a4:
6977 Correctly match regex with tree artifact
6978 + 14925b574aa63aad098f2c3d95e14b46ffd295ec:
6979 Always use target's attributes to set Python version (#16959)
6980 + a247502d28d8d70d648390de52952189b99a0bb7:
6981 Add 'toolchain' parameter to actions.{run,run_shell}
6982 + 497b7e403d6e5523bd1310bd1fe83c4ce1a6b1ec:
6983 Fix Bash `runfiles_current_repository` with RBE
6984 + 0a2c4edbc86398266525f31948d67a5736890bfe:
6985 Fix corner cases in Bash runfiles library
6986 + 33b514b25963452be71a015e08d4e890405b00a3:
6987 Fix runfiles creation with MANIFEST when building without the
6988 bytes
6989 + 3a13af41034e1f80cc0fbc1634cf8f724a85b78f:
6990 Remove LCOV merger dependency of `cc_test` without coverage
6991 (#17004)
6992 + 25ba76c1b8d420ebae43c1f59890ae46153c2240:
6993 Include full tree artifact in inputs when prefetcher doesn't
6994 support partial tree artifacts.
6995```
6996
6997Incompatible changes:
6998
6999 - this incompatible change breaks old instances of http_archive
7000 that specified netrc as an absolute path. It is unlikely there
7001 are many instances in the wild since the path would refer to a
7002 netrc file inside the external repository by absolute path.
7003 Migration should be straightforward.
7004 - genrule switched to use exec transition instead of host. This can
7005 break targets with hardcoded output paths. To avoid using
7006 hardcoded paths use make variables, see
7007 https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
7008 defined_label_variables
7009 - this incompatible change breaks old instances of http_archive
7010 that specified netrc as an absolute path. It is unlikely there
7011 are many instances in the wild since...
7012 - Error Prone now checks for unused return values of additional
7013 methods on `java.lang.Object`, which can be disabled using
7014 `--javacopts=-Xep:ReturnValueIgnored:OFF`
7015 - Error Prone now checks for unused return values of additional
7016 methods on `java.lang.Object`, which can be disabled using
7017 `--javacopts=-Xep:ReturnValueIgnored:OFF`
7018 - The --incompatible_existing_rules_immutable_view flag has been
7019 flipped to true. See
7020 https://github.com/bazelbuild/bazel/issues/13907 for
7021 migration notes.
7022 - Split up the C++ archive from the C++ link action and set
7023 `CppArchive` as mnemonic.
7024 - workspace(managed_directories=) is not available anymore.
7025 - --legacy_important_outputs now has a default of false.
7026 - --legacy_important_outputs default reverted to true.
7027 - objc_library now requires CcInfo in its deps. If this breaks
7028 you, add empty CcInfo() to your rule.
7029 - Flag --experimental_local_memory_estimate removed.
7030 - Added a new flag
7031 --incompatible_unambiguous_label_stringification, which causes
7032 labels in the main repo to stringify into unambiguous forms
7033 starting with an @. See
7034 https://github.com/bazelbuild/bazel/issues/15916 for more
7035 information.
7036 - analysis_test moved into testing.analysis_test
7037 - Flip incompatible_enable_cc_toolchain_resolution
7038 (https://github.com/bazelbuild/bazel/issues/7260)
7039 - (Rollback) Flip incompatible_enable_cc_toolchain_resolution
7040 (https://github.com/bazelbuild/bazel/issues/7260)
7041 - name parameter is removed from rule call
7042 (https://github.com/bazelbuild/bazel/issues/16301)
7043 - name parameter is removed from rule call
7044 (https://github.com/bazelbuild/bazel/issues/16301)
7045 - name parameter is removed from rule call
7046 (https://github.com/bazelbuild/bazel/issues/16301)
7047 - --incompatible_remote_downloader_send_all_headers is flipped to
7048 true. See #16356 for details.
7049 - GrpcRemoteDownloader only includes relevant headers instead of
7050 sending all credentials.
7051 - In package_group's `packages` attribute, the syntax "//..." now
7052 refers to all packages in the same repository as the package
7053 group, rather than all packages everywhere. The new item "public"
7054 can be used instead to obtain the old behavior. In `bazel query
7055 --output=proto` (and `--output=xml`), the `packages` attribute
7056 now serializes with the leading double slash included (for
7057 instance, `//foo/bar/...` instead of `foo/bar/...`). See also
7058 #16355, #16323, and #16391.
7059 - Bazel no longer increases the delay between progress updates when
7060 there is no cursor control.
7061 - `--incompatible_always_include_files_in_data` is flipped
7062 to true. See https://github.com/bazelbuild/bazel/issues/16654 for
7063 details.
7064 - `cquery --output=files` also outputs source files.
7065
7066 Closes #16602.
7067 - `--incompatible_strict_conflict_checks` is flipped to true. See
7068 https://github.com/bazelbuild/bazel/issues/16729 for details.
7069 - This changes the behavior of Python version in exec/host
7070 configuration. Mitigation is to set Python version on the targets.
7071
7072New features:
7073
7074 - Support local_repository in Bazel Registry's source.json file
7075
7076Important changes:
7077
7078 - Deprecate --incompatible_applicable_licenses flag, in preparation
7079 for removal in Bazel 6.x.
7080 - Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
7081 - The Build Event Protocol now contains file digests and sizes
7082 along with the file name and URI.
7083 - Refactor system suspend event handling.
7084 - alias() can now select() directly on constraint_value()
7085 - Allow \a \b \f \v escape sequences in Starlark.
7086 - Match remote and local xcode version by most granular version.
7087 - Adds `--experimental_worker_multiplex_sandboxing` flag that
7088 controls whether to sandbox multiplex workers that support it.
7089 - provider() has a new parameter: init, a callback for performing
7090 pre-processing and validation of field values. Iff this parameter
7091 is set,
7092 provider() returns a tuple of 2 elements: the usual provider
7093 symbol (which,
7094 when called, invokes init) and a raw constructor (which bypasses
7095 init).
7096 - Tests that fail to create or complete their
7097 `TestAttemptContinuation` by
7098 throwing an `ExecException` will report an `INCOMPLETE` status.
7099 Previously, Bazel
7100 would fail to report any status for the test attempt.
7101 - Fixed an issue where Bazel could erroneously report a test passes
7102 in coverage mode without actually running the test.
7103 - Include more information about configurations in cquery proto
7104 formatted output. This deprecates the configuration field of
7105 AnalysisProtosV2.ConfiguredTarget, and adds a new field,
7106 configuration_id, to
7107 be used instead.
7108 - experimental cc_library.implementation_deps inverted to
7109 interface_deps
7110 - In aquery and cquery proto output, indicate if a configuration is
7111 a
7112 tool or non-tool configuration.
7113 - Include complete configurations in cquery proto output.
7114 - experimental cc_library.implementation_deps inverted to
7115 interface_deps
7116 - Make protocOpts() publicly accessible.
7117 - Add some documentation about how configuration information is
7118 conveyed in cquery proto output.
7119 - Introduces experimental static library linking API under
7120 apple_common.link_multi_arch_static_library
7121 - Further deprecation and removal of pkg_tar. Stop supporting
7122 legacy use of 'files' attribute, where it could be a list of
7123 labels instead of a map of paths to labels.
7124 - Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
7125 its purpose because --all_incompatible_changes would never set
7126 it. The last rule it gated (pkg_tar) is scheduled to be removed
7127 in Bazel 6.x.
7128 - Add coverage configuration fragment, used to expose
7129 output_generator label.
7130 - Bazel now no longer includes system headers on macOS in coverage
7131 reports (#14969).
7132 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
7133 $ANDROID_HOME.
7134 - The default dexer is now d8. dx can be optionally enabled using:
7135 --define=android_dexmerger_tool=dx_dexmerger \
7136 --define=android_incremental_dexing_tool=dx_dexbuilder \
7137 --define=android_standalone_dexing_tool=dx_compat_dx \
7138 --use_workers_with_dexbuilder
7139 - Packaging support for deploy JAR embedded JDK files (hermetic
7140 Java).
7141 - Don't stamp cc_common.link actions for tool dependencies.
7142 - Starlark test rules can use the new inherited_environment
7143 parameter of testing.TestEnvironment to specify environment
7144 variables
7145 whose values should be inherited from the shell environment.
7146 - Enable merging permissions during Android manifest merging with
7147 the --merge_android_manifest_permissions flag.
7148 - Allow specialization to work with constraint_values.
7149 - Bazel uses the D8 jar from Maven instead of the SDK.
7150 - Make ijar / java_import preserve classes with `@kotlin.Metadata`
7151 annotations
7152 - Switch cc_test implementation to Starlark. Note: cc_test will now
7153 link statically when _targeting_ Windows regardless of host
7154 platform (rather than always linking statically when Windows is
7155 the _host_).
7156 - Switch cc_test implementation to Starlark. Note: cc_test will now
7157 link statically when _targeting_ Windows regardless of host
7158 platform (rather than always linking statically when Windows is
7159 the _host_).
7160 - Add devtools/build/lib/worker:work_request_handlers to the remote
7161 android tools release package. This will be transitively packaged
7162 into all_android_tools.
7163 - Bazel uses the D8 jar from Maven instead of the SDK.
7164 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
7165 $ANDROID_HOME.
7166 - Advance android_tools_pkg version to 0.24.0.
7167 - Switch cc_test implementation to Starlark. Note: cc_test will now
7168 link statically when _targeting_ Windows regardless of host
7169 platform (rather
7170 than always linking statically when Windows is the _host_).
7171 - Bazel uses the D8 jar from Maven instead of the SDK.
7172 - "blaze config" now only reports info from the last build. To
7173 compare configurations across multiple builds, redirect "blaze
7174 config" output to a file and run your favorite diff tool.
7175 - The --incompatible_override_toolchain_transition flag is now
7176 always set, and will be removed in the future. Thus,
7177 --noincompatible_override_toolchain_transition has no effect, and
7178 the value of the incompatible_use_toolchain_transition parameter
7179 in aspect() and rule() builtins is ignored.
7180 - Switch cc_test implementation to Starlark. Note: cc_test will now
7181 link statically when _targeting_ Windows regardless of host
7182 platform (rather
7183 than always linking statically when Windows is the _host_).
7184 - Toolchain types may now be optional, in addition to mandatory.
7185 See https://bazel.build/docs/toolchains#optional-toolchains for
7186 further details.
7187 - Add six to deps of has_services=1 py_proto_librarys.
7188 - pkg_tar(symlinks) has been removed. Users needing that feature
7189 should
7190 migrate to @rules_pkg.
7191 - Aspects can now define and use exec groups using the same API as
7192 rules.
7193 - Removed the obsolete --incompatible_applicable_licenses flag. The
7194 feature is permanently enabled.
7195 - embedded_tools packages R8 desugarer again
7196 - Bazel now selects sh path based on execution platform instead of
7197 host platform, making it possible to execute sh actions in
7198 multiplatform builds. --shell_executable now only applies to
7199 actions configured for host.
7200 - labels in genquery.scope are no longer configured.
7201 - When Bzlmod is enabled, all Bzlmod-generated repos will have an
7202 extra '@' prepended to their names. This effectively enables the
7203 canonical label literal syntax for Bzlmod-generated repos
7204 (`@@canonicalRepoName//pkg:target`; see
7205 https://docs.google.com/document/d/1N81qfCa8oskCk5LqTW-LNthy6EBrDo
7206 t7bdUsjz6JFC4/edit?usp=sharing).
7207 - Exposed `CcSharedLibraryInfo` to Starlark builtins.
7208 - Enable --use_top_level_targets_for_symlinks by default.
7209 - Singlejar accepts runtime Created-By field
7210 - --noincompatible_disable_managed_directories, and with that,
7211 workspace(managed_directories=) is not supported anymore.
7212 - Bazel supports D8 desugaring, albeit without persistent workers
7213 - Remove mtime options from pkg_tar. Users should migrate to
7214 @rules_pkg.
7215 - Test for experimental multiplexed persistent resource processor.
7216 - Added new register_{execution_platforms,toolchains} directives to
7217 the MODULE.bazel file, to replace the
7218 {execution_platforms,toolchains}_to_register attributes on the
7219 module() directive.
7220 - The legacy pkg_tar no longer supports the ability to untar and
7221 repackage an input tar file (`deps` attribute). Users needed that
7222 capability must switch to github.com/bazelbuild/rules_pkg.
7223 - `cquery`'s new output mode
7224 [`--output=files`](https://bazel.build/docs/cquery#files-output)
7225 lists the output files of the targets matching the query. It
7226 takes the current value of `--output_groups` into account.
7227 - Change singlejar metadata to report Created-By Bazel
7228 - Add support for fetching RPC credentials from credential helper.
7229 - Revert interface_deps back to implementation_deps after problem
7230 reported in. Use `buildozer 'rename deps implementation_deps'
7231 //...:%cc_library; buildozer 'rename interface_deps deps'
7232 //...:%cc_library`
7233 - Fix for desugaring failure on Bazel+Android+Windows build
7234 scenario.
7235 - D8 is the default desugarer
7236 - Migrate main_dex_list_creator to D8 (DX deprecation)
7237 - --experimental_enable_bzlmod has been renamed --enable_bzlmod,
7238 and still defaults to false.
7239 - selects() no longer produce irrelevant duplicate label checks
7240 - Adds a dexer output cache to CompatDexBuilder to improve build
7241 speed.
7242 - Improved error messages when analyzing inline bzl code
7243 - Improved error messages when analyzing inline bzl code
7244 - The `@bazel_tools//tools/cpp:compiler` flag now has the value
7245 `gcc` if the configured compiler is detected to be gcc rather
7246 than the generic value `compiler`. A branch for `gcc` may have to
7247 be added to `select` statements that do not have a default case
7248 that handles gcc appropriately.
7249 - The `get_child` method of `path` now accepts an arbitrary
7250 number of relative path strings as positional arguments.
7251 - SourceManifestAction supports `Action.content`
7252 - Add --incompatible_build_transitive_python_runfiles alias. See
7253 #16303
7254 - The @bazel_tools//tools/cpp:compiler flag now has the value
7255 `clang` for the auto-configured Xcode toolchain rather than the
7256 generic value compiler. A branch for `clang` may have to be added
7257 to select statements that do not have a default case that handles
7258 this toolchain appropriately.
7259 - added additional debug message to warn of skipped toolchains
7260 during resolution
7261 - The deprecated --remote_allow_symlink_upload flag has been
7262 removed. Symlinks in local action outputs are always permitted,
7263 even with remote caching. Whether they're uploaded as symlinks or
7264 as the files/directories they point to is still determined by the
7265 --incompatible_remote_symlinks flag.
7266 - Added `struct`, `json`, `proto`, and `depset` to the starlark
7267 environment of Bazel's cquery (--output=starlark) command
7268 - Added three `package_group`-related flags:
7269 `--incompatible_package_group_includes_double_slash` (#16391),
7270 `--incompatible_package_group_has_public_syntax` (#16355), and
7271 `--incompatible_fix_package_group_reporoot_syntax` (#16323). With
7272 these flags, `package_group` can now easily specify "all
7273 packages", "no packages", and "all packages in the current repo".
7274 - Record hermetic packaged JDK modules file size in deploy JAR
7275 manifest 'JDK-Lib-Modules-Size' attribute.
7276 - .bzl files may now set a visibility to guard what other .bzl and
7277 BUILD files may load them. See [...] for more information.
7278 - Deletes the --extra_proguard_specs Blaze flag
7279 - The new path variable `$(rlocationpath ...)` and its plural form
7280 `$(rlocationpaths ...)` can be used to expand labels to the paths
7281 accepted by the `Rlocation` function of runfiles libraries. This
7282 is the preferred way to access data dependencies at runtime and
7283 works on all platforms, even when runfiles are not enabled (e.g.,
7284 on Windows by default).
7285
7286 Work towards #16124
7287 Fixes #10923
7288
7289 Closes #16428.
7290 - Starlark `print()` statements are now emitted iff the line of
7291 code is executed. They are no longer replayed on subsequent
7292 invocations unless the Starlark code is re-executed.
7293 Additionally, multiple identical `print()` statements (same
7294 string from the same line of code, e.g. from a loop) are all
7295 emitted and no longer deduplicated.
7296 - Fixes a bug where some compilation flags would not be applied to
7297 a cc_test
7298
7299This release contains contributions from many people at Google, as well as Adam Azarchs, Adam Singer, Adam Wolf, Albert Lloveras, Alessandro Patti, Alex Eagle, Alex Scott, Alex Torok, Andreas Fuchs, Andreas Herrmann, Andrew Katson, Andrew Klotz, Ara Nguyen, arunkumar9t2, arun.sampathkumar, Ast-x64, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Ben Lee, Bohdan Vanieiev, Bo Zhang, Bo Zhang, Bradley Burns, Brandon Duffany, Brandon Jacklyn, Brentley Jones, Brentley Jones, Chad Miller, Charles-Francois Natali, Chris Clearwater, Chris Fredrickson, Christopher Peterson Sauer, Christopher Rydell, Christopher Sauer, ckiffel, Cristian Hancila, crydell-ericsson, Dan Fleming, Daniel Wagner-Hall, Danny Wolf, David Ostrovsky, David Sanderson, Denys Kurylenko, dhmemi, Dimi Shahbaz, divanorama, dmaclach, Ed Schouten, Emil Kattainen, Eric Song, Eric Wendelin, Fabian Brandstetter, Fabian Meumertzheim, floriographygoth, Fredrik Medley, George Prekas, gkgoat1, gkorlam, Greg Estren, Greg, Gregory Fong, Greg Roodt, Grzegorz Lukasik, Halil Sener, Hannes Kufler, homuler, hvadehra, hvd, Igor Nazarenko, James Broadhead, Jan, Jason Tan, Jay Bazuzi, Jeremy Volkman, jheaff1, Jiawen Chen, Joel Williamson, John Laxson, John Millikin, Jonathan Gerrish, Jon Shea, Jordan, juanchoviedo, Kaiqin Chen, Keith Smiley, Ken Micklas, Kevin Lin, Kirill Zabelin, Kiron, Krishna Ersson, Krzysztof Naglik, kshyanashree, lihu, Luc Bertrand, Luis Fernando Pino Duque, lunch-glide-pepper, Marek uppa, Matt Clarkson, Matt Mackay, Michael P. Nitowski, Mikhail Balabin, Mostyn Bramley-Moore, Nick Korostelev, Nitesh Anandan, Niyas Sait, Noa Resare, Olek Wojnar, Oscar Bonilla, Patrick Balestra, Paul Tarjan, Peter Mounce, Philipp Schrader, Pras Velagapudi, Rahul Butani, Rajeshwar Reddy T, Rifqi Mulya Fahmi, Roman Salvador, rustberry, Ryan Beasley, Ryan Schmidt, Sahin Yort, Saleem Abdulrasool, Sara Adams, Shuai Zhang, Simon Bjorklen, Son Luong Ngoc, Stephan Wolski, Steve Vermeulen, Stiopa Koltsov, Sven Tiffe, Takeo Sawada, Tao Wang, Ted Kaplan, Tetsuo Kiso, Thi Doan, Thomas Chen, ThomasCJY, Thomas, Thomas Zayouna, Timothe Peignier, Tomas Volf, Tom de Goede, UebelAndre, Ulf Adams, Ulrik Falklof, vardaro, Vasilios Pantazopoulos, Vladimir Tagakov, Waleed Khan, William Muir, Xavier Bonaventura, Xdng Yng, Xiangquan Xiao, Xùdōng Yáng, Yannic Bonenberger, Yannic Bonenberger, Yannic, Yannic, Yesudeep Mangalapilly, Yuval K, Zhongpeng Lin.
7300
Bazel Release Systemf7141be2022-12-15 16:09:54 +00007301## Release 5.4.0 (2022-12-15)
7302
7303```
7304Baseline: 8d66a4171baddcbe1569972f019e54130111202c
7305
7306Cherry picks:
7307
7308 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
7309 Remote: Cache merkle trees
7310 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
7311 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
7312 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
7313 Compile Apple tools as fat binaries if possible
7314 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
7315 Add protobuf as a well known module
7316 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
7317 Remote: Merge target-level exec_properties with
7318 --remote_default_exec_properties
7319 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
7320 Add -no_uuid for hermetic macOS toolchain setup
7321 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
7322 Remote: Fixes an issue when --experimental_remote_cache_async
7323 encounter flaky tests.
7324 + 77a002cce050e861fcc87c89acf7768aa5c97124:
7325 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
7326 has …
7327 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
7328 Fixes for the Starlark transition hash computation (#14251)
7329 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
7330 Do location expansion in copts of objc_library
7331 + 50274a9f714616d4735a560db7f617e53fb8d01b:
7332 [5.x] Remote: Add support for compression on gRPC cache (#14277)
7333 + 61bf2e5b5181cbe34a2f0d584053570943881804:
7334 Automated rollback of commit
7335 34c71465f84fa780217926db2e8e5ca3d6d4568c.
7336 + 79888fe7369479c398bafe064daa19a7ae30f710:
7337 Silence a zstd-jni GCC warning.
7338 + 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
7339 Remote: Limit max number of gRPC connections by
7340 --remote_max_connections.
7341 + fd727ec96d861573dcbad3249d727a94eff84789:
7342 Do location expansion in copts of objc_library
7343 + 23d096931be9b7247eafa750999dd7feadde14c1:
7344 Fix _is_shared_library_extension_valid
7345 + 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
7346 Remove merging of java_outputs in JavaPluginInfo.
7347 + cea5f4f499aa832cf90c68898671869ce79d63f2:
7348 Cherrypick Bzlmod documentation (#14301)
7349 + 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
7350 Format work requests according to ndjson spec
7351 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
7352 Enable user_link_flags_feature for macosx cc_toolchain_config
7353 + 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
7354 Remote: Use Action's salt field to differentiate cache across
7355 workspaces.
7356 + f94898915268be5670fb1e93a16c03e9b14d2a58:
7357 [5.x] Remote: Fix "file not found" error when remote cache is
7358 changed from enabled to disabled. (#14321)
7359 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
7360 Delete marker file before fetching an external repository
7361 + c05c6261cdb2cacb7c9881c255c0ada435ab5182:
7362 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
7363 + d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
7364 Fix remote spawn tests for remote_merkle_tree_cache=true
7365 + 59e16e944200555da377799aa0d9e8d0674d2e27:
7366 Show skipped tests as a warning
7367 + 76b3c242831f8e88835e3002a831a185a41fcc52:
7368 Build xcode-locator as a universal binary
7369 + aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
7370 Exit collect_coverage.sh early if LCOV_MERGER is not set.
7371 + 4256d46327bad8638df91be1a5d4ef83b12b74c7:
7372 Automated rollback of commit
7373 d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
7374 + dce24350befd08216b3910ae343670015444ff81:
7375 [apple] fix issues compiling C in objc_library for watchos/armv7k
7376 + bfc24139d93f8643686d91596ba347df2e01966a:
7377 5.x: Remote: Ignore blobs referenced in BEP if the generating
7378 action cannot be cached remotely. (#14389)
7379 + 5aef53a8884038f3c9f06e6dddb9372196253378:
7380 Remote: Don't blocking-get when acquiring gRPC connections.
7381 (#14420)
7382 + 005361c895da334beb873901e93aff06d180256e:
7383 Disable IncludeValidation for ObjC in bazel
7384 + d703b7b4f09fb3c389f99e52bac1f23930280b56:
7385 Update java_tools v11.6
7386 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
7387 Stop remote blob upload if upload is complete. (#14467)
7388 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
7389 [5.x] Make remote BES uploader better (#14472)
7390 + 2edab739e1f61fe8813230b03396ca46f0790089:
7391 Avoid too verbose warnings in terminal when cache issues
7392 + 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
7393 Rename --project_id to --bes_instance_name
7394 + c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
7395 Automated rollback of commit
7396 bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
7397 + b341802700484d11c775bf02d80f43ba3f33b218:
7398 [apple] support watchos_arm64 in toolchain
7399 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
7400 Disable implicitly collecting baseline coverage for toolchain
7401 targets.
7402 + 302971e1b3d803069ac949c0085c0d2a3916c8ab:
7403 Automated rollback of commit
7404 7d09b4a15985052670244c277e4357557b4d0039.
7405 + 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
7406 Bzlmod: Starlarkify default attr values for TypeCheckedTags
7407 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
7408 Fix build after rc4 cherrypicks (#14581)
7409 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
7410 Release 5.0.0 (2022-01-19)
7411 + 486d153d1981c3f47129f675de20189667667fa7:
7412 Find runfiles in directories that are themselves runfiles
7413 + 0de7bb95022057e8b89334f44759cf6f950e131f:
7414 Don't resolve symlinks for --sandbox_base
7415 + 8b60c90f3641591b65c4e153113aea562f1fab94:
7416 Remove uses of -lstdc++ on darwin
7417 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
7418 Allow Label instances as keys in select (#14755)
7419 + 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
7420 Remote: Only waits for background tasks from remote execution.
7421 + 8734ccf9847eafb7193388cd9c6fa78faa78283f:
7422 Add the default solib dir to the rpath for cc_imports with
7423 transitions
7424 + 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
7425 Flip --experimental_worker_allow_json_protocol
7426 + fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
7427 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
7428 cpu for tools when host cpu and exec cpu are different
7429 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
7430 Propagate --experimental_cc_implementation_deps to host config
7431 + 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
7432 Support select() on constraint_value for aliases.
7433 + 67a133b431ccece22b7dd9a72f0837cff77d4360:
7434 Improve documentation for select()
7435 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
7436 Cherrypicks for experimental cc_shared_library (#14773)
7437 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
7438 [apple] support tvos_sim_arm64 in toolchain (#14779)
7439 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
7440 Cherry pick win arm64 (#14794)
7441 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
7442 [5.1.0] cherrypick subpackages support (#14780)
7443 + 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
7444 Add a helper method for rules to depend on the cpp toolchain
7445 type.
7446 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
7447 UrlRewriter should be able to load credentials from .netrc
7448 (#14834)
7449 + 32d1606dac2fea730abe174c41870b7ee70ae041:
7450 Add "arch" struct field to repository_os
7451 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
7452 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
7453 + c2ddbd1954af5baab63b93f2b055a410a27832c8:
7454 Ignore missing include directory in JDK distribution.
7455 + 16de03595e21f7bf31818e717505b23c953b3b7d:
7456 Fix bazel coverage false negative
7457 + 0c74741742301abcf67452a7f591daec1c3a7635:
7458 Remote: Postpone the block waiting in `afterCommand` to
7459 `BlockWaitingModule` (#14833)
7460 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
7461 Switch to `ProcessHandle` for getting the PID (#14842)
7462 + a987b98ea0d6da2656c4115568ef9cbe8a164550:
7463 Fix uses of std++ on bsd
7464 + d184e4883bb7fc21de2f7aeea4304994de27e9ea:
7465 Remote: handle early return of compressed blobs uploads
7466 + 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
7467 Add removeprefix/removesuffix to Starlark strings
7468 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
7469 Fix default CPU for macOS and iOS (#14923)
7470 + cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
7471 Add paramfile support for def_parser, since in rare cases on
7472 Windows command line character limit was reached.
7473 + 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
7474 Normalize rpath entries to guard against missing default solib
7475 dir
7476 + 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
7477 Fix aggressive params file assumption
7478 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
7479 Fix precompiled libs not in runfiles of cc_shared_library
7480 (#14943)
7481 + 764614e0f0287125269e7a92e909a44624bcb360:
7482 Bzlmod: Allow multiple `use_extension`s on the same extension
7483 (#14945)
7484 + fa761f84994f18db383fbe9aaea524e4385da13a:
7485 Fix typo in `apple_common.platform` docs
7486 + f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
7487 Yield a Proxy for addresses without protocol
7488 + 8cefb8bed4ac82df8640682517372a9249732352:
7489 Avoid merging URLs in HttpUtils
7490 + b4804807fc2c184cc36df9e69e472942c01941b8:
7491 Make protocOpts() public. (#14952)
7492 + 113eaca5862c48797654ae2a3acbb6e15d761485:
7493 Do not hide BulkTransferException messages when there were more
7494 than one exception
7495 + b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
7496 merkle_tree_cache: change default size to 1000
7497 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
7498 Add --experimental_repository_cache_urls_as_default_canonical_id
7499 to help detect broken repository URLs (#14989)
7500 + f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
7501 Expose the logic to read user netrc file
7502 + b858ec39aebd7e586af5438aa2035db2adebf9a4:
7503 Correct cpu and os values of `local_config_cc_toolchains` targets
7504 + 5e79972c05d89280f0cf1fa620f807366847bac6:
7505 Expose CoverageOutputGenerator on a Fragment (#14997)
7506 + 78f03110e0dab42f37e427fd524e72706e036d74:
7507 Correct error runfiles cc_shared_library (#14998)
7508 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
7509 [5.1] Adding Starlark dependencies to the package //external
7510 (#14991)
7511 + a73aa12be65454ac8cfb5a8f3e056c420402f997:
7512 Remote: Fix crashes with InterruptedException when using http
7513 cache.
7514 + f8707c07f153ac4ac2ec4b210321f1a16343006d:
7515 Account for interface libraries in cc_shared_library
7516 + a570f5fdb1618a6c272d18bebaa712d3b2af3975:
7517 Fix coverage runfiles directory issue
7518 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
7519 Do not validate input-only settings in transitions (#15048)
7520 + 71747ccc9d0032a865854613329362563c0574df:
7521 Filter out system headers on macOS.
7522 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
7523 Update Bazel bootstrap documentation and remove obsolete flags.
7524 (#15065)
7525 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
7526 [5.1] Undocument --bes_best_effort (#15066)
7527 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
7528 Fix conflicting actions error when specifying
7529 --host_macos_minimum_os (#15068)
7530 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
7531 [5.1] Remote: Action should not be successful and cached if
7532 outputs were not created (#15071)
7533 + 00d74ff737cccd60305ee58d85313556a077152a:
7534 Support decompressing zstd tar archives for repository rules.
7535 + f5857830bb68bd05ffc257506575ed37a8128933:
7536 Remote: Don't check TreeArtifact output
7537 + efb2b80953983dce499d453a9f55a74ffaf8c42d:
7538 osx_cc_wrapper: Only expand existing response files
7539 + c771c43b870fb8618db7bdab6725ab40cac4976d:
7540 Remote: Fix crashes by InterruptedException when dynamic
7541 execution is enabled. (#15091)
7542 + 3785677cc84fc4024fda85575c05efbde5d512fc:
7543 Use python3 on macOS
7544 + 815d9e499a32fd4d87525ac0c698c293cf26433d:
7545 Release 5.1.0 (2022-03-24)
7546 + 1fbb69e366034484887e00c6006c7b79508765ed:
7547 Prepare 5.1.1 release
7548 + df153df9656e0e197f67622bb11f7d77e19238a0:
7549 Fix CODEOWNERS syntax
7550 + 2b92a3111e83a4d14934059afd0f51161a41276f:
7551 Remote: Don't check declared outputs for failed action
7552 + b47aa71b21d93c9499103e9a37a6c2ffa79865b9:
7553 Upgrade abseil version to the latest
7554 + c49c45d8dac87d21cf2b6a176ddd07f2c9f63414:
7555 Revert default export all symbols on Windows
7556 + 7d3fb993f55b35081786c3fe00cf3bebb89574f3:
7557 Support ZIP files with total number of disks = 0
7558 + 0f5dc111be06b2ee8694640f400b58e12bfa5fea:
7559 Release 5.1.1 (2022-04-08)
7560 + 2422cfb3e5d92d46f9065b2b1e442823a965faf7:
7561 Update CODEOWNERS
7562 + bbcff1802423fca7ee5bd6a3e527c12d6d7d80ba:
7563 [5.2.0] Update java_tools 11.7.1 (#15231)
7564 + 9c98120f33579b72561e02826d9fccf222eccb3c:
7565 Add support for .ar archives (and .deb files)
7566 + d3435b09d89f25bf5008ef3b9c870c835d51a8da:
7567 Seperate GetSelfPath implementation for Blaze and Bazel
7568 + c94572bea5ce6bdc0ccda9789e5be6fb3f4c173b:
7569 Include jdk.crypto.mscapi in minimized Windows embedded JDK
7570 + 299022ca2dc49b6cb27b2674f933755306ae8b9b:
7571 remote: Proactively close the ZstdInputStream in
7572 ZstdDecompressingOutputStream.
7573 + 27707995cc6576ed1f51fbdb199ff8512e8418c9:
7574 Collect coverage from cc_binary data deps of java_test
7575 + 3442179d240e01ef13b0fa7814db7366bad5ffac:
7576 Configure Apple crosstool to return a complete target triple
7577 that includes minimum OS version and target environment
7578 + bb6f1a7ce79168055ccd62629da07d46a52b930d:
7579 Collect C++ lcov coverage if runtime object not in runfiles
7580 + dbb6e9954b6e4423f727feb2719ffc75a93b514b:
7581 Fixing dependencies of //external package
7582 + f0213bbf730c4a5d1a31e65bc9c01fbb55a6edb3:
7583 [5.2] Upgrade Google Auth Version (#15383)
7584 + a1a74c9919e03e09ef7c6ae13f38f48eea80ead1:
7585 Fix chocolatey package - docsUrl must not 404 (#15395)
7586 + fe644bee95c14d461e0d1e3cccaa8bbcd57bcd8d:
7587 Fix cache leak when applying transitions when only a rule's
7588 attributes change.
7589 + ad74d5243917bb27a37e38d151a4a3c8a49947eb:
7590 Fix checking remote cache for omitted files in buildevent file
7591 (#15405)
7592 + ac219103d8798965b775db548d7b9214ecd78f73:
7593 fix(bzlmod): throw on json parse exception
7594 + 3d85b88609a362857d8ee3c0432a37d30268a8a2:
7595 Add a flag to expose undeclared test outputs in unzipped form.
7596 (#15431)
7597 + abd7a9f70c3dfe96724a692dc7dc04ff33bdece1:
7598 Remove -U_FORTIFY_SOURCE when thin_lto is enabled (#15433)
7599 + 53b9cb8637c0faddc6b122a1daab72bcc274bdec:
7600 Catch NumberFormatException while trying to parse thread id.
7601 + 19740b55ebc283b7ec42b359bcd4c9096facfdd5:
7602 Improve the --sandbox_debug error message
7603 + 0a2a43f9aab1e3875f03f643f6414eb67834c883:
7604 Set keywords on appropriate lifecycle events.
7605 + 394ddb82b311ea7edbe2522736b0b0202903ddb6:
7606 Record additional profiling information for remotely executed
7607 actions.
7608 + 652b48e567fcb30768dfc2eddee5f04bf6b5d65b:
7609 Fix downloading remote execution output files inside output
7610 dirs. (#15444)
7611 + 73f1ecbc1cb00e16ceda4b582f4d57268f8701cd:
7612 Fix android emulator darwin_arm64 select
7613 + 2649c7c4adef0ebf9bca8fe46aa97304b22de522:
7614 Fix --use_top_level_targets_for_symlinks with aliases (#15446)
7615 + fa1081c1f3dce7324a1da59c40d1a1a3533c7047:
7616 Filter libtool warning about table of contents
7617 + 26f878325e915e0905626a0e4c8bbacffd72f875:
7618 Unify sandbox/remote handling of empty TreeArtifact inputs
7619 (#15449)
7620 + 6b21b7773157a1eebd3dfe79ff4c4ee750059daf:
7621 Revert "Fixes incorrect install names on darwin platforms"
7622 + e133e66f715bac17bf5848e4440c089a8c8d3fd9:
7623 config doesn't error on duplicate `--define` values (#15473)
7624 + 84d59176622b76223828e61709179dbd5f0c9f8d:
7625 Collect coverage from cc_binary data deps of py_test (#15298)
7626 + 519d2daacfff3de6ffabfc5827621fa835e1c815:
7627 SolibSymlinkAction does not need exec platform or properties
7628 + 6e54699884cfad49d4e8f6dd59a4050bc95c4edf:
7629 Let Starlark tests inherit env variables (#15217)
7630 + 9610ae889e6fd45280c5beb7fe8f5bef2d736878:
7631 Update PythonZipper action to use CommandLineItem.CapturingMapFn
7632 + 2f1ff6fa17c3c30b2533bffe81f40eab06b453b9:
7633 Make `coverage --combined_report=lcov` skip incompatible tests
7634 + 9fad5a3dc93cd436a5712c46e6c98d3995428ddb:
7635 Disable ReturnValueIgnored checks to unblock java_tools release
7636 + 0120118893261968bdf116ef215655c428428fa8:
7637 Bump the limit of Bazel install base size (#15585)
7638 + 668805aace9bf96f78595fc2a122027a3000ceac:
7639 Upgrade zlib to 1.2.12
7640 + 4d900ceea12919ad62012830a95e51f9ec1a48bb:
7641 [5.2] Remote: Fix a bug that outputs of actions tagged with
7642 no-remote are u... (#15453)
7643 + b703cb9b999e243d776b7620468e48f450c0ce3a:
7644 Add feature to produce serialized diagnostics files (#15600)
7645 + 2e8458b7810eab7829fc7d28af5c45b9af91ed7c:
7646 Release 5.2.0 (2022-06-07)
7647 + 536f8d97991d891fc7db333af1a5262497d85173:
7648 Fix fail message construction in cc_shared_library
7649 + 2d42925ae80c0fb007aa39f4e210122611897255:
7650 Define cc-compiler-darwin in Xcode toolchain
7651 + a1d7d1f69f82da1bdfa1cebd32356249127aea3b:
7652 Fix alwayslink in objc_import
7653 + d273cb62f43ef8169415cf60fc96e503ea2ad823:
7654 Unify URL/URLs parameter code across http_archive, http_file,
7655 http_jar
7656 + fea32be42928c84463aa1f335b5722a1f6b8c93a:
7657 Preserve --experimental_allow_unresolved_symlinks in exec cfg
7658 + e4bc370b226eb0cc536b55641640266345a214ec:
7659 Ck/cherry pick cc shared library (#15754)
7660 + dbdfa07e92f99497be9c14265611ad2920161483:
7661 Let Starlark executable rules specify their environment (#15766)
7662 + e2a6a2b130552db7521d3d4d854b9a651b1f4a3b:
7663 Fix string formatting when java_home path is missing.
7664 + d54a288e6c79c740b9c93dfc31ee345d6a5332af:
7665 Optionally enable LLVM profile continuous mode
7666 + ad17b44cdc192277fafb0d0e204962b2b924dba8:
7667 Print remote execution message when the action times out (#15772)
7668 + 240e3d1e1dbc74c7753dead6421d7c1b5fc28d09:
7669 Add missing line to cherrypick
7670 e4bc370b226eb0cc536b55641640266345a214ec (#15784)
7671 + 804b4747152a59bc2965be2db85839b8b2764fc7:
7672 Replace strdupa with strdup
7673 + 62be9ea29295fab5289bd5d1a0f13dc7d55a8bc0:
7674 Bzlmod: Better canonical repo names for modules with overrides
7675 (#15793)
7676 + d4663a1c950d618c5b15a3e00fb733987cbf45cc:
7677 Add repo env test (#15768)
7678 + 594962cb283dcd71b736e0450453903911a8c85a:
7679 Add is_root struct field to bazel_module (#15815)
7680 + 3dd2b932d42fe86112899550d21452409cb3c4b0:
7681 Fix null pointer crash with `bazel coverage` on only
7682 incompatible tests
7683 + 4175018b47800db28c390d39fefbd266b5d674bd:
7684 Add util for finding credential helper to use
7685 + 3ea9eb2e363860c9305a987fa22a059afd35598d:
7686 Merge ManifestMergerAction-related commits into release-5.3.0
7687 (#15824)
7688 + 64571a428ffe2bf09f1a5eea13e770a7d0381620:
7689 Ck/cherrypick 15669 (#15788)
7690 + 1404651cafe5c26c5dae469e9126de53c2f4f024:
7691 Create output directories for remote execution (#15818)
7692 + ae523f82d39daf01cf31e40733de0c6345f0935c:
7693 Use tree artifacts in bootclasspath rule
7694 + 37f181cb6ed0237f43d81159eb81b19d3b5f8e36:
7695 [credentialhelper] Add types to communicate with the subprocess
7696 + 06ca634e10f17023022ab591a55aabdd9fb57b12:
7697 Add a flag to force Bazel to download certain artifacts when
7698 using --remote_download_minimal (#15870)
7699 + d35f923b098e4dc9c90b1ab66b413c216bdee638:
7700 RemoteExecutionService: fix outputs not being uploaded
7701 + 78af34f9f25b0c8fbf597a794a5162f0014629c5:
7702 Cherry-pick proto_lang_toolchain Starlarkfication and
7703 proto_common module (#15854)
7704 + afb434da9da79b53da1ea4c7bcc00571dbea6d3f:
7705 Fix behavior of `print()` in module extensions
7706 + 6714c30507edc70ec84f8c97d47cffc497356c0b:
7707 [credentialhelper] Implement invoking credential helper as
7708 subprocess
7709 + 0f05904171d187e6abacb431b3d7494423b027ab:
7710 Add register_{execution_platforms,toolchains} directives to
7711 MODULE.bazel files (#15852)
7712 + 33516e27dc6ee6ab5c3b9dee739a267b08d26b6c:
7713 [remote] Improve .netrc test in RemoteModuleTest
7714 + aa2a1f3afe2f10baab5befcafb39df14cbffc743:
7715 Fix ZipDecompressor windows 0x80 (file attribute normal)
7716 + 30f16e53cb36a5d506665be7553e785d52772e2d:
7717 Replace uses of `cfg = "host"` with `cfg = "exec"` (#15922)
7718 + 2a8d0ad7103511a94382aef41821a315bf8144b7:
7719 target pattern file: allow comments
7720 + 6f732052654ec37192450c795bb28dd0aad559cd:
7721 Add factory for creating paths relative to well-known roots
7722 (#15931)
7723 + 32cc8e638b91816f427b74266f6a8da6fb605419:
7724 Update CODEOWNERS (#15910)
7725 + 63bc14b095f1ea4043024e7fe1f9c476968897c5:
7726 Implement native analysis_test call. (#15940)
7727 + 4df77f771e5cfdf4b614afd8934d00c2b2ff31d1:
7728 Increase osx_cc_configure timeouts
7729 + cdf01a39ab9def4d46f41595ac1ac9206a96d6f8:
7730 Allow string_list flags to be set via repeated flag uses
7731 + 05e758d4bc18fc9d9e189526381a06e4399056a2:
7732 [credentialhelper] Add parser for flag syntax (#15929)
7733 + e4ee34416ef18094496ab54446e70cb62cd509e6:
7734 Docs should mention the new no-remote-cache-upload tag (#15965)
7735 + 96d23d30cc80912b82a8fbab31c902e9db74b6ab:
7736 Add netrc support to --bes_backend (#15970)
7737 + c5bc34e5f1dd92703dd8f15f9f0409c49b778837:
7738 Add CommandLinePathFactory to CommandEnvironment (#15971)
7739 + 508f18576ab5327bd623db6b476511ac2089d0fa:
7740 Move newCredentialHelperProvider into GoogleAuthUtils (#15973)
7741 + 14c944a5386eccbcfbe8389afb6c518582b11270:
7742 Wire up credential helper to command-line flag(s) (#15976)
7743 + 04c373b708390341be4ceb8eb5b2f8561385cb11:
7744 Add `--output=files` mode to cquery (#15979)
7745 + edfe2a17e3434cce660757f59b14f2e9d6ab944e:
7746 Make cpp assembly file extensions case sensitive again
7747 + 4ae85387e69db73e507b4f18b36d3e2f799e5d34:
7748 Prevent aspects from executing on incompatible targets (#15984)
7749 + f440f8ec3f63e5d663e1f9d9614f05a39422102a:
7750 Remote: Fix performance regression in "upload missing inputs".
7751 (#15998)
7752 + 0109031a2818b217b78026055b972da5901656f5:
7753 Updated Codeowners file (#16032)
7754 + 6102d33bf0b72dc0fe9ada4c71113cbee3eb8187:
7755 Propagate the error message when a credential helper fails.
7756 (#16030)
7757 + a8dacc7832b04fe1756cd7adce72f2572f357eee:
7758 Migrate legacy desugar wrapper to new rlocation() (#16025)
7759 + 11368be4ac24108f18b1965162ad27f207c074f9:
7760 Correctly report errors thrown by CommandLinePathFactory#create.
7761 + 82452c7c372fb28485b0b5e0a98b471648f0dfd0:
7762 Fix an issue that
7763 `incompatible_remote_build_event_upload_respect_no_… (#16045)
7764 + e745468461f93839491a4f80d0c1883d9007f9c0:
7765 Fix rpath for binaries in external repositories (#16079)
7766 + 83041b145d3966eb353aacb22b7e33ad01d9a239:
7767 Refactor combined cache. (#16110)
7768 + c62496f7b76da473cb1102798373f552ba2f434d:
7769 C++: Add compound error linked statically but not exported
7770 (#16113)
7771 + 0f18786b09e9729d79c0f14f7843b4d8402b6115:
7772 Do not crash on URIs without a host component.
7773 + 9c0940df3c5962b2291e812600dd71731775d45b:
7774 Add profiler task for calling a credential helper.
7775 + 2ca1ab2c2c73d78021794f3099ee892cc73f515e:
7776 Make bazel_cc_code_coverage_test more robust against GCC version
7777 differences (#16254)
7778 + 1e25152906b668bbe56aa4c1773186af85335315:
7779 Fix local execution of external dynamically linked cc_* targets
7780 (#16253)
7781 + f6cccae5b6f9c0ad0e7d0bf7bd31ea1263449316:
7782 * add change to allow blaze info to skip Starlark build settings
7783 that start with --no prefix * add unit tests for both info and
7784 clean commands
7785 + 59b8b8f4dc098c31a372ad45adc2a48c5f1c4a9f:
7786 Release 5.3.1 (2022-09-19)
7787 + 77f0233420d141e36fbf86a62dff20285c7d8fdc:
7788 Update GrpcRemoteDownloader to only include relevant headers.
7789 (#16450)
7790 + 42ff95a1202cd18cc3348ed6a442de5eb95845bd:
7791 Avoid unnecessary iteration on action inputs.
7792 + d29034e43150f32bb02c2cff3774747e25e97de3:
7793 Update flag `--experimental_remote_download_regex` to accept
7794 multiple regular expressions. (#16478)
7795 + bc087f49584a6a60a5acb3612f6d714e315ab8b5:
7796 Release 5.3.2 (2022-10-19)
7797 + 0b914c6f2a5114f1b81f44bab348fb415177e53e:
7798 Send remote actions to specific worker pools instead of machine
7799 types.
7800 + ece17d5d4e74d67dd869cbd1951ca1001423b472:
7801 Add `$(rlocationpath(s) ...)` expansion (#16668)
7802 + f02bcf8d8b0d00ecdd06ea0a45ba4f52e436597c:
7803 Fix identical gcov json file name problem
7804 + 0696b8a728bd205c1a12cc5a3e0891c87113c95a:
7805 Upgrade google-http-client and google-http-client-gson.
7806 + 42a3dbb2d47a321d746ee0f1f89603da329f5852:
7807 Move analysis_test into testing.analysis_test (#16702)
7808 + b55f3222a5e9d1e4267ccf5cbf71643e8c492b32:
7809 Fix hanging issue when Bazel failed to upload action inputs
7810 (#16819)
7811 + 2f0f3e1253e1086496d4adf1a136b5473db5a693:
7812 [5.4.0] Add integration tests for
7813 --experimental_credential_helper. (#16880)
7814 + 6d2d68d95abedac6a646eafcca04e6856c87ab3c:
7815 [5.4.0] Keep credentials cached across build commands. (#16884)
7816 + 676a0c8dea0e7782e47a386396e386a51566087f:
7817 Update Bazel to depend on bazelbuild/platforms 0.0.5.
7818 + 0ea070be02e21c2418e967e3398251c3abba73e8:
7819 Backport recent package metadata and license check capabilities
7820 from Bazel 6.x. (#16892)
7821 + b51396a52efd8ff90063ac79e5a69b950cefd914:
7822 Add 'toolchain' parameter to actions.{run,run_shell} (#16964)
7823```
7824
7825Incompatible changes:
7826
7827 - GrpcRemoteDownloader only includes relevant headers instead of
7828 sending all credentials.
7829
7830 Closes #16439.
7831 - analysis_test moved into testing.analysis_test
7832
7833Important changes:
7834
7835 - alias() can now select() directly on constraint_value()
7836
7837 Fixes https://github.com/bazelbuild/bazel/issues/13047.
7838
7839 Closes #14310.
7840 - Fixed an issue where Bazel could erroneously report a test passes
7841 in coverage mode without actually running the test.
7842 - Make protocOpts() publicly accessible.
7843 - Add coverage configuration fragment, used to expose
7844 output_generator label.
7845 - Bazel now no longer includes system headers on macOS in coverage
7846 reports (#14969).
7847
7848 Closes #14971.
7849 - Starlark test rules can use the new inherited_environment
7850 parameter of testing.TestEnvironment to specify environment
7851 variables
7852 whose values should be inherited from the shell environment.
7853
7854 Closes #14849.
7855 - none
7856 RELNOTES:none
7857 - Enable merging permissions during Android manifest merging with
7858 the --merge_android_manifest_permissions flag.
7859 - Added new register_{execution_platforms,toolchains} directives to
7860 the MODULE.bazel file, to replace the
7861 {execution_platforms,toolchains}_to_register attributes on the
7862 module() directive.
7863 - Add support for fetching RPC credentials from credential helper.
7864
7865 Progress on https://github.com/bazelbuild/bazel/issues/15856
7866
7867 Closes #15947.
7868 - `cquery`'s new output mode
7869 [`--output=files`](https://bazel.build/docs/cquery#files-output)
7870 lists the output files of the targets matching the query. It
7871 takes the current value of `--output_groups` into account.
7872
7873 Closes #15552.
7874 - Fix for desugaring failure on Bazel+Android+Windows build
7875 scenario.
7876 - The new path variable `$(rlocationpath ...)` and its plural form
7877 `$(rlocationpaths ...)` can be used to expand labels to the paths
7878 accepted by the `Rlocation` function of runfiles libraries. This
7879 is the preferred way to access data dependencies at runtime and
7880 works on all platforms, even when runfiles are not enabled (e.g.,
7881 on Windows by default).
7882
7883 Work towards #16124
7884 Fixes #10923
7885
7886 Closes #16667.
7887
7888This release contains contributions from many people at Google, as well as amberdixon, Andreas Fuchs, Benjamin Peterson, Brentley Jones, Chenchu Kolli, Dan Fleming, Danny Wolf, Emil Kattainen, Fabian Meumertzheim, Gowroji Sunil, hvadehra, Juh-Roch, Keith Smiley, Krzysztof Naglik, kshyanashree, Niyas Sait, Noa Resare, Oliver Eikemeier, oquenchil, Peter Mounce, Philipp Schrader, Ryan Beasley, Thi Doãn, Xùdōng Yáng, Yannic, Zhongpeng Lin.
7889
Bazel Release Systema62c2dc2022-12-14 21:18:21 +01007890## Release 7.0.0-pre.20221207.2 (2022-12-14)
7891
7892```
7893Baseline: 2a88c8da7783490ef6192336b091910cd662cc67
7894
7895Cherry picks:
7896
7897 + 70691f2b76be0b9530e49c3df18356925843b465:
7898 Make the Linux sandbox work with ActionInputs with absolute
7899 "exec paths".
7900 + 40b340722a97bd3ce1692047f173547203bb7452:
7901 Fix NPE in signal ignoring logic.
7902```
7903
7904This release contains contributions from many people at Google, as well as aryeh, Fabian Meumertzheim, Gaspare Vitta, John Hinnegan, Roger Hu, Yi Cheng.
7905
Bazel Release System0921cb12022-12-09 15:41:42 +01007906## Release 7.0.0-pre.20221204.2 (2022-12-09)
7907
7908```
7909Baseline: de7b26acfdfcd9c36ec957305a889ac29f0da30e
7910
7911Cherry picks:
7912
7913 + 40846718e4f54c28fddc063b80b5ea30a82988c1:
7914 Add support for crosstool feature to prefer PIC compiles even
7915 for optimized binaries. This can have performance penalty, but
7916 in configurations where dynamic linking is used for tests can
7917 lead to a substantially better sharing of artifacts between
7918 tests and binaries. In contrast to the existing --force_pic,
7919 this can be enabled per crosstool and respects whether PIC is
7920 available for the used crosstool.
7921```
7922
7923Incompatible changes:
7924
7925 - --experimental_replay_action_out_err is not a no-op.
7926 - `cquery --output=files` also outputs source files.
7927 - `--incompatible_strict_conflict_checks` is flipped to true. See
7928 https://github.com/bazelbuild/bazel/issues/16729 for details.
7929 - `--incompatible_strict_conflict_checks` is flipped to true. See
7930 https://github.com/bazelbuild/bazel/issues/16729 for details.
7931 - `--incompatible_always_include_files_in_data` is flipped to true.
7932 See https://github.com/bazelbuild/bazel/issues/16654 for details.
7933
7934Important changes:
7935
7936 - Fixes a bug where some compilation flags would not be applied to
7937 a cc_test
7938
7939This release contains contributions from many people at Google, as well as Alex Eagle, aryeh, Christopher Sauer, Fabian Meumertzheim, hvadehra, Keith Smiley, Roger Hu, Ulrik Falklof, Xavier Bonaventura.
7940
Bazel Release System563b2252022-12-08 17:18:30 +01007941## Release 7.0.0-pre.20221123.2 (2022-12-08)
7942
7943```
7944Baseline: 14e32e7f5d1492f7ca4ffc17c40b913ec5799603
7945```
7946
7947Incompatible changes:
7948
7949 - the --experimental_async_execution flag is now a no-op.
7950
7951New features:
7952
7953 - The `aquery` and `cquery` commands now respect the
7954 `--query_file` flag just like the `query` command.
7955
7956Important changes:
7957
7958 - Starlark `print()` statements are now emitted iff the line of
7959 code is executed. They are no longer replayed on subsequent
7960 invocations unless the Starlark code is re-executed.
7961 Additionally, multiple identical `print()` statements (same
7962 string from the same line of code, e.g. from a loop) are all
7963 emitted and no longer deduplicated.
7964
7965This release contains contributions from many people at Google, as well as Benjamin Peterson, Christopher Sauer, Daniel KT, Fabian Meumertzheim, Matt Mackay.
7966
Bazel Release Systemc6d6e9f2022-12-01 13:01:59 +01007967## Release 7.0.0-pre.20221111.3 (2022-12-01)
7968
7969```
7970Baseline: 455454a56e961affb041a1d4a9214f7f313a05aa
7971
7972Cherry picks:
7973
7974 + 4caae75b49e815ad2cf1d805f316bc374f03f2ae:
7975 Automated rollback of commit
7976 8f956511bb115c39ac683a1e78971fcf9dce5deb.
7977```
7978
7979Important changes:
7980
7981 - The new path variable `$(rlocationpath ...)` and its plural form
7982 `$(rlocationpaths ...)` can be used to expand labels to the paths
7983 accepted by the `Rlocation` function of runfiles libraries. This
7984 is the preferred way to access data dependencies at runtime and
7985 works on all platforms, even when runfiles are not enabled (e.g.,
7986 on Windows by default).
7987
7988This release contains contributions from many people at Google, as well as Ankush Goyal, Artem Zinnatullin, Christopher Peterson Sauer, Ed Schouten, Fabian Meumertzheim, Greg Magolan, keertk, Keith Smiley, nathyong, Robin Tweedie, Yannic Bonenberger, Yannic.
7989
Bazel Release Systema12e5472022-11-11 19:01:00 +01007990## Release 7.0.0-pre.20221102.3 (2022-11-11)
7991
7992```
7993Baseline: 19b8d24531fb728701a85ec050361d434600b5d2
7994```
7995
7996Incompatible changes:
7997
7998 - This has the side effect of changing the message on unsuccessful
7999 builds from
8000 ```
8001 FAILED: Build did NOT complete successfully (0 packages loaded)
8002 ```
8003 to
8004 ```
8005 ERROR: Build did NOT complete successfully
8006 ```
8007 - Bazel no longer increases the delay between progress updates when
8008 there is no cursor control.
8009 - This has the side effect of changing the message on unsuccessful
8010 builds from
8011 ```
8012 FAILED: Build did NOT complete successfully (0 packages loaded)
8013 ```
8014 to
8015 ```
8016 ERROR: Build did NOT complete successfully
8017 ```
8018
8019This release contains contributions from many people at Google, as well as Ed Schouten, Fabian Meumertzheim, Keith Smiley, Krzysztof Naglik, Patrick Balestra, Tom Cnops, Xdng Yng, Xiangquan Xiao.
8020
Bazel Release System38561bc2022-11-02 19:19:12 +01008021## Release 7.0.0-pre.20221026.2 (2022-11-02)
8022
8023```
8024Baseline: b422719f35b1ae5ed5f7f83d05cd778e9c58d793
8025```
8026
8027Important changes:
8028
8029 - Deletes the --extra_proguard_specs Blaze flag
8030
8031This release contains contributions from many people at Google, as well as Benjamin Peterson, Fabian Meumertzheim, Olek Wojnar, Sara Adams, Xavier Bonaventura.
8032
Bazel Release System50b87c12022-10-27 18:48:19 +02008033## Release 6.0.0-pre.20221020.1 (2022-10-27)
8034
8035```
8036Baseline: e7218d556a2a265183a10a19fcaa21c0277820ad
8037```
8038
8039Incompatible changes:
8040
8041 - In package_group's `packages` attribute, the syntax "//..." now
8042 refers to all packages in the same repository as the package
8043 group, rather than all packages everywhere. The new item "public"
8044 can be used instead to obtain the old behavior. In `bazel query
8045 --output=proto` (and `--output=xml`), the `packages` attribute
8046 now serializes with the leading double slash included (for
8047 instance, `//foo/bar/...` instead of `foo/bar/...`). See also
8048 #16355, #16323, and #16391.
8049
8050New features:
8051
8052 - Support local_repository in Bazel Registry's source.json file
8053
8054Important changes:
8055
8056 - Record hermetic packaged JDK modules file size in deploy JAR
8057 manifest 'JDK-Lib-Modules-Size' attribute.
8058 - .bzl files may now set a visibility to guard what other .bzl and
8059 BUILD files may load them. See [...] for more information.
8060
8061This release contains contributions from many people at Google, as well as Adam Singer, Albert Lloveras, Alex Eagle, Benjamin Lee, Benjamin Peterson, Christopher Rydell, Ed Schouten, Eric Wendelin, Fabian Meumertzheim, Jordan, Keith Smiley, Kirill Zabelin, Son Luong Ngoc, Tetsuo Kiso, Waleed Khan, Xavier Bonaventura, Yannic Bonenberger.
8062
Bazel Release System6578b5b2022-10-24 16:29:45 +02008063## Release 6.0.0-pre.20221012.2 (2022-10-24)
8064
8065```
8066Baseline: 849f706ac227b1a18f26070cb772c9825583a1b3
8067
8068Cherry picks:
8069
8070 + 1ab8498a536cab2ff77cc221e4052ef7a6c7b778:
8071 Automated rollback of commit
8072 849f706ac227b1a18f26070cb772c9825583a1b3.
8073 + c5ccb06cb40dff72c69ea774e63cb8a1eea8ea1e:
8074 Automated rollback of commit
8075 bc1e9d85c97e8a62b49c6e26ede14eccd4951bd4.
8076 + 977d7fb3837ceeabd17ecd639037f95a99ca4cb1:
8077 Use single argument form for framework linkopts
8078```
8079
8080Incompatible changes:
8081
8082 - GrpcRemoteDownloader only includes relevant headers instead of
8083 sending all credentials.
8084
8085This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Keith Smiley, Xiangquan Xiao.
8086
Bazel Release System08fd6272022-10-20 21:18:20 +02008087## Release 6.0.0-pre.20221007.4 (2022-10-20)
8088
8089```
8090Baseline: 5d0e5a7ba415b981390bf9579da644e1065b2a36
8091
8092Cherry picks:
8093
8094 + 512d9b5cf784cc4450baf50362ab3d88cd815184:
8095 Automated rollback of commit
8096 21904a92b800139499f2f62c7c4c11351fa8bc0c.
8097 + ff927f72644b4d1c3036ea8b3b821c58c34c92fa:
8098 Automated rollback of commit
8099 dadc49e437018f482640ed76fae5307daf9911a8.
8100 + c5ccb06cb40dff72c69ea774e63cb8a1eea8ea1e:
8101 Automated rollback of commit
8102 bc1e9d85c97e8a62b49c6e26ede14eccd4951bd4.
8103```
8104
8105Incompatible changes:
8106
8107 - this incompatible change breaks old instances of http_archive
8108 that specified netrc as an absolute path. It is unlikely there
8109 are many instances in the wild since the path would refer to a
8110 netrc file inside the external repository by absolute path.
8111 Migration should be straightforward.
8112 - genrule switched to use exec transition instead of host. This can
8113 break targets with hardcoded output paths. To avoid using
8114 hardcoded paths use make variables, see
8115 https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
8116 defined_label_variables
8117 - this incompatible change breaks old instances of http_archive
8118 that specified netrc as an absolute path. It is unlikely there
8119 are many instances in the wild since...
8120 - Error Prone now checks for unused return values of additional
8121 methods on `java.lang.Object`, which can be disabled using
8122 `--javacopts=-Xep:ReturnValueIgnored:OFF`
8123 - Error Prone now checks for unused return values of additional
8124 methods on `java.lang.Object`, which can be disabled using
8125 `--javacopts=-Xep:ReturnValueIgnored:OFF`
8126 - The --incompatible_existing_rules_immutable_view flag has been
8127 flipped to true. See
8128 https://github.com/bazelbuild/bazel/issues/13907 for
8129 migration notes.
8130 - Split up the C++ archive from the C++ link action and set
8131 `CppArchive` as mnemonic.
8132 - workspace(managed_directories=) is not available anymore.
8133 - --legacy_important_outputs now has a default of false.
8134 - --legacy_important_outputs default reverted to true.
8135 - objc_library now requires CcInfo in its deps. If this breaks
8136 you, add empty CcInfo() to your rule.
8137 - Flag --experimental_local_memory_estimate removed.
8138 - Added a new flag
8139 --incompatible_unambiguous_label_stringification, which causes
8140 labels in the main repo to stringify into unambiguous forms
8141 starting with an @. See
8142 https://github.com/bazelbuild/bazel/issues/15916 for more
8143 information.
8144 - analysis_test moved into testing.analysis_test
8145 - Flip incompatible_enable_cc_toolchain_resolution
8146 (https://github.com/bazelbuild/bazel/issues/7260)
8147 - (Rollback) Flip incompatible_enable_cc_toolchain_resolution
8148 (https://github.com/bazelbuild/bazel/issues/7260)
8149 - name parameter is removed from rule call
8150 (https://github.com/bazelbuild/bazel/issues/16301)
8151 - name parameter is removed from rule call
8152 (https://github.com/bazelbuild/bazel/issues/16301)
8153 - name parameter is removed from rule call
8154 (https://github.com/bazelbuild/bazel/issues/16301)
8155 - --incompatible_remote_downloader_send_all_headers is flipped to
8156 true. See #16356 for details.
8157
8158Important changes:
8159
8160 - Deprecate --incompatible_applicable_licenses flag, in preparation
8161 for removal in Bazel 6.x.
8162 - Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
8163 - The Build Event Protocol now contains file digests and sizes
8164 along with the file name and URI.
8165 - Refactor system suspend event handling.
8166 - alias() can now select() directly on constraint_value()
8167 - Allow \a \b \f \v escape sequences in Starlark.
8168 - Match remote and local xcode version by most granular version.
8169 - Adds `--experimental_worker_multiplex_sandboxing` flag that
8170 controls whether to sandbox multiplex workers that support it.
8171 - provider() has a new parameter: init, a callback for performing
8172 pre-processing and validation of field values. Iff this parameter
8173 is set,
8174 provider() returns a tuple of 2 elements: the usual provider
8175 symbol (which,
8176 when called, invokes init) and a raw constructor (which bypasses
8177 init).
8178 - Tests that fail to create or complete their
8179 `TestAttemptContinuation` by
8180 throwing an `ExecException` will report an `INCOMPLETE` status.
8181 Previously, Bazel
8182 would fail to report any status for the test attempt.
8183 - Fixed an issue where Bazel could erroneously report a test passes
8184 in coverage mode without actually running the test.
8185 - Include more information about configurations in cquery proto
8186 formatted output. This deprecates the configuration field of
8187 AnalysisProtosV2.ConfiguredTarget, and adds a new field,
8188 configuration_id, to
8189 be used instead.
8190 - experimental cc_library.implementation_deps inverted to
8191 interface_deps
8192 - In aquery and cquery proto output, indicate if a configuration is
8193 a
8194 tool or non-tool configuration.
8195 - Include complete configurations in cquery proto output.
8196 - experimental cc_library.implementation_deps inverted to
8197 interface_deps
8198 - Make protocOpts() publicly accessible.
8199 - Add some documentation about how configuration information is
8200 conveyed in cquery proto output.
8201 - Introduces experimental static library linking API under
8202 apple_common.link_multi_arch_static_library
8203 - Further deprecation and removal of pkg_tar. Stop supporting
8204 legacy use of 'files' attribute, where it could be a list of
8205 labels instead of a map of paths to labels.
8206 - Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
8207 its purpose because --all_incompatible_changes would never set
8208 it. The last rule it gated (pkg_tar) is scheduled to be removed
8209 in Bazel 6.x.
8210 - Add coverage configuration fragment, used to expose
8211 output_generator label.
8212 - Bazel now no longer includes system headers on macOS in coverage
8213 reports (#14969).
8214 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
8215 $ANDROID_HOME.
8216 - The default dexer is now d8. dx can be optionally enabled using:
8217 --define=android_dexmerger_tool=dx_dexmerger \
8218 --define=android_incremental_dexing_tool=dx_dexbuilder \
8219 --define=android_standalone_dexing_tool=dx_compat_dx \
8220 --use_workers_with_dexbuilder
8221 - Packaging support for deploy JAR embedded JDK files (hermetic
8222 Java).
8223 - Don't stamp cc_common.link actions for tool dependencies.
8224 - Starlark test rules can use the new inherited_environment
8225 parameter of testing.TestEnvironment to specify environment
8226 variables
8227 whose values should be inherited from the shell environment.
8228 - Enable merging permissions during Android manifest merging with
8229 the --merge_android_manifest_permissions flag.
8230 - Allow specialization to work with constraint_values.
8231 - Bazel uses the D8 jar from Maven instead of the SDK.
8232 - Make ijar / java_import preserve classes with `@kotlin.Metadata`
8233 annotations
8234 - Switch cc_test implementation to Starlark. Note: cc_test will now
8235 link statically when _targeting_ Windows regardless of host
8236 platform (rather than always linking statically when Windows is
8237 the _host_).
8238 - Switch cc_test implementation to Starlark. Note: cc_test will now
8239 link statically when _targeting_ Windows regardless of host
8240 platform (rather than always linking statically when Windows is
8241 the _host_).
8242 - Add devtools/build/lib/worker:work_request_handlers to the remote
8243 android tools release package. This will be transitively packaged
8244 into all_android_tools.
8245 - Bazel uses the D8 jar from Maven instead of the SDK.
8246 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
8247 $ANDROID_HOME.
8248 - Advance android_tools_pkg version to 0.24.0.
8249 - Switch cc_test implementation to Starlark. Note: cc_test will now
8250 link statically when _targeting_ Windows regardless of host
8251 platform (rather
8252 than always linking statically when Windows is the _host_).
8253 - Bazel uses the D8 jar from Maven instead of the SDK.
8254 - "blaze config" now only reports info from the last build. To
8255 compare configurations across multiple builds, redirect "blaze
8256 config" output to a file and run your favorite diff tool.
8257 - The --incompatible_override_toolchain_transition flag is now
8258 always set, and will be removed in the future. Thus,
8259 --noincompatible_override_toolchain_transition has no effect, and
8260 the value of the incompatible_use_toolchain_transition parameter
8261 in aspect() and rule() builtins is ignored.
8262 - Switch cc_test implementation to Starlark. Note: cc_test will now
8263 link statically when _targeting_ Windows regardless of host
8264 platform (rather
8265 than always linking statically when Windows is the _host_).
8266 - Toolchain types may now be optional, in addition to mandatory.
8267 See https://bazel.build/docs/toolchains#optional-toolchains for
8268 further details.
8269 - Add six to deps of has_services=1 py_proto_librarys.
8270 - pkg_tar(symlinks) has been removed. Users needing that feature
8271 should
8272 migrate to @rules_pkg.
8273 - Aspects can now define and use exec groups using the same API as
8274 rules.
8275 - Removed the obsolete --incompatible_applicable_licenses flag. The
8276 feature is permanently enabled.
8277 - embedded_tools packages R8 desugarer again
8278 - Bazel now selects sh path based on execution platform instead of
8279 host platform, making it possible to execute sh actions in
8280 multiplatform builds. --shell_executable now only applies to
8281 actions configured for host.
8282 - labels in genquery.scope are no longer configured.
8283 - When Bzlmod is enabled, all Bzlmod-generated repos will have an
8284 extra '@' prepended to their names. This effectively enables the
8285 canonical label literal syntax for Bzlmod-generated repos
8286 (`@@canonicalRepoName//pkg:target`; see
8287 https://docs.google.com/document/d/1N81qfCa8oskCk5LqTW-LNthy6EBrDo
8288 t7bdUsjz6JFC4/edit?usp=sharing).
8289 - Exposed `CcSharedLibraryInfo` to Starlark builtins.
8290 - Enable --use_top_level_targets_for_symlinks by default.
8291 - Singlejar accepts runtime Created-By field
8292 - --noincompatible_disable_managed_directories, and with that,
8293 workspace(managed_directories=) is not supported anymore.
8294 - Bazel supports D8 desugaring, albeit without persistent workers
8295 - Remove mtime options from pkg_tar. Users should migrate to
8296 @rules_pkg.
8297 - Test for experimental multiplexed persistent resource processor.
8298 - Added new register_{execution_platforms,toolchains} directives to
8299 the MODULE.bazel file, to replace the
8300 {execution_platforms,toolchains}_to_register attributes on the
8301 module() directive.
8302 - The legacy pkg_tar no longer supports the ability to untar and
8303 repackage an input tar file (`deps` attribute). Users needed that
8304 capability must switch to github.com/bazelbuild/rules_pkg.
8305 - `cquery`'s new output mode
8306 [`--output=files`](https://bazel.build/docs/cquery#files-output)
8307 lists the output files of the targets matching the query. It
8308 takes the current value of `--output_groups` into account.
8309 - Change singlejar metadata to report Created-By Bazel
8310 - Add support for fetching RPC credentials from credential helper.
8311 - Revert interface_deps back to implementation_deps after problem
8312 reported in. Use `buildozer 'rename deps implementation_deps'
8313 //...:%cc_library; buildozer 'rename interface_deps deps'
8314 //...:%cc_library`
8315 - Fix for desugaring failure on Bazel+Android+Windows build
8316 scenario.
8317 - D8 is the default desugarer
8318 - Migrate main_dex_list_creator to D8 (DX deprecation)
8319 - --experimental_enable_bzlmod has been renamed --enable_bzlmod,
8320 and still defaults to false.
8321 - selects() no longer produce irrelevant duplicate label checks
8322 - Adds a dexer output cache to CompatDexBuilder to improve build
8323 speed.
8324 - Improved error messages when analyzing inline bzl code
8325 - Improved error messages when analyzing inline bzl code
8326 - The `@bazel_tools//tools/cpp:compiler` flag now has the value
8327 `gcc` if the configured compiler is detected to be gcc rather
8328 than the generic value `compiler`. A branch for `gcc` may have to
8329 be added to `select` statements that do not have a default case
8330 that handles gcc appropriately.
8331 - The `get_child` method of `path` now accepts an arbitrary
8332 number of relative path strings as positional arguments.
8333 - SourceManifestAction supports `Action.content`
8334 - Add --incompatible_build_transitive_python_runfiles alias. See
8335 #16303
8336 - The @bazel_tools//tools/cpp:compiler flag now has the value
8337 `clang` for the auto-configured Xcode toolchain rather than the
8338 generic value compiler. A branch for `clang` may have to be added
8339 to select statements that do not have a default case that handles
8340 this toolchain appropriately.
8341 - added additional debug message to warn of skipped toolchains
8342 during resolution
8343 - The deprecated --remote_allow_symlink_upload flag has been
8344 removed. Symlinks in local action outputs are always permitted,
8345 even with remote caching. Whether they're uploaded as symlinks or
8346 as the files/directories they point to is still determined by the
8347 --incompatible_remote_symlinks flag.
8348 - Added `struct`, `json`, `proto`, and `depset` to the starlark
8349 environment of Bazel's cquery (--output=starlark) command
8350 - Added three `package_group`-related flags:
8351 `--incompatible_package_group_includes_double_slash` (#16391),
8352 `--incompatible_package_group_has_public_syntax` (#16355), and
8353 `--incompatible_fix_package_group_reporoot_syntax` (#16323). With
8354 these flags, `package_group` can now easily specify "all
8355 packages", "no packages", and "all packages in the current repo".
8356
8357This release contains contributions from many people at Google, as well as Adam Azarchs, Adam Wolf, Albert Lloveras, Alessandro Patti, Alex Eagle, Alex Scott, Alex Torok, Andreas Fuchs, Andreas Herrmann, Andrew Katson, Andrew Klotz, Ara Nguyen, arunkumar9t2, arun.sampathkumar, Ast-x64, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Ben Lee, Bohdan Vanieiev, Bo Zhang, Bo Zhang, Bradley Burns, Brandon Duffany, Brandon Jacklyn, Brentley Jones, Brentley Jones, Chad Miller, Charles-Francois Natali, Chris Clearwater, Chris Fredrickson, Christopher Peterson Sauer, Christopher Sauer, ckiffel, Cristian Hancila, crydell-ericsson, Dan Fleming, Daniel Wagner-Hall, Danny Wolf, David Ostrovsky, David Sanderson, Denys Kurylenko, dhmemi, Dimi Shahbaz, divanorama, dmaclach, Ed Schouten, Emil Kattainen, Eric Song, Fabian Brandstetter, Fabian Meumertzheim, floriographygoth, Fredrik Medley, George Prekas, gkgoat1, gkorlam, Greg Estren, Greg, Gregory Fong, Greg Roodt, Grzegorz Lukasik, Halil Sener, Hannes Kufler, homuler, hvadehra, hvd, Igor Nazarenko, James Broadhead, Jan, Jason Tan, Jay Bazuzi, Jeremy Volkman, jheaff1, Jiawen Chen, Joel Williamson, John Laxson, John Millikin, Jonathan Gerrish, Jon Shea, juanchoviedo, Kaiqin Chen, Keith Smiley, Ken Micklas, Kevin Lin, Kiron, Krishna Ersson, kshyanashree, lihu, Luc Bertrand, Luis Fernando Pino Duque, Marek uppa, Matt Clarkson, Matt Mackay, Michael P. Nitowski, Mikhail Balabin, Mostyn Bramley-Moore, Nick Korostelev, Nitesh Anandan, Niyas Sait, Noa Resare, Oscar Bonilla, Patrick Balestra, Paul Tarjan, Peter Mounce, Philipp Schrader, Pras Velagapudi, Rahul Butani, Rajeshwar Reddy T, Rifqi Mulya Fahmi, Roman Salvador, rustberry, Ryan Beasley, Ryan Schmidt, Sahin Yort, Saleem Abdulrasool, Shuai Zhang, Simon Bjorklen, Son Luong Ngoc, Stephan Wolski, Steve Vermeulen, Stiopa Koltsov, Sven Tiffe, Takeo Sawada, Tao Wang, Ted Kaplan, Tetsuo Kiso, Thi Doan, Thomas Chen, ThomasCJY, Thomas, Thomas Zayouna, Timothe Peignier, Tomas Volf, Tom de Goede, Ulf Adams, Ulrik Falklof, vardaro, Vasilios Pantazopoulos, Vladimir Tagakov, William Muir, Xavier Bonaventura, Xdng Yng, Yannic Bonenberger, Yannic Bonenberger, Yannic, Yannic, Yesudeep Mangalapilly, Yuval K, Zhongpeng Lin.
8358
Bazel Release Systemf8d516e2022-10-19 18:17:34 +00008359## Release 5.3.2 (2022-10-19)
8360
8361```
8362Baseline: 8d66a4171baddcbe1569972f019e54130111202c
8363
8364Cherry picks:
8365
8366 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
8367 Remote: Cache merkle trees
8368 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
8369 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
8370 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
8371 Compile Apple tools as fat binaries if possible
8372 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
8373 Add protobuf as a well known module
8374 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
8375 Remote: Merge target-level exec_properties with
8376 --remote_default_exec_properties
8377 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
8378 Add -no_uuid for hermetic macOS toolchain setup
8379 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
8380 Remote: Fixes an issue when --experimental_remote_cache_async
8381 encounter flaky tests.
8382 + 77a002cce050e861fcc87c89acf7768aa5c97124:
8383 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
8384 has …
8385 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
8386 Fixes for the Starlark transition hash computation (#14251)
8387 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
8388 Do location expansion in copts of objc_library
8389 + 50274a9f714616d4735a560db7f617e53fb8d01b:
8390 [5.x] Remote: Add support for compression on gRPC cache (#14277)
8391 + 61bf2e5b5181cbe34a2f0d584053570943881804:
8392 Automated rollback of commit
8393 34c71465f84fa780217926db2e8e5ca3d6d4568c.
8394 + 79888fe7369479c398bafe064daa19a7ae30f710:
8395 Silence a zstd-jni GCC warning.
8396 + 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
8397 Remote: Limit max number of gRPC connections by
8398 --remote_max_connections.
8399 + fd727ec96d861573dcbad3249d727a94eff84789:
8400 Do location expansion in copts of objc_library
8401 + 23d096931be9b7247eafa750999dd7feadde14c1:
8402 Fix _is_shared_library_extension_valid
8403 + 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
8404 Remove merging of java_outputs in JavaPluginInfo.
8405 + cea5f4f499aa832cf90c68898671869ce79d63f2:
8406 Cherrypick Bzlmod documentation (#14301)
8407 + 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
8408 Format work requests according to ndjson spec
8409 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
8410 Enable user_link_flags_feature for macosx cc_toolchain_config
8411 + 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
8412 Remote: Use Action's salt field to differentiate cache across
8413 workspaces.
8414 + f94898915268be5670fb1e93a16c03e9b14d2a58:
8415 [5.x] Remote: Fix "file not found" error when remote cache is
8416 changed from enabled to disabled. (#14321)
8417 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
8418 Delete marker file before fetching an external repository
8419 + c05c6261cdb2cacb7c9881c255c0ada435ab5182:
8420 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
8421 + d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
8422 Fix remote spawn tests for remote_merkle_tree_cache=true
8423 + 59e16e944200555da377799aa0d9e8d0674d2e27:
8424 Show skipped tests as a warning
8425 + 76b3c242831f8e88835e3002a831a185a41fcc52:
8426 Build xcode-locator as a universal binary
8427 + aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
8428 Exit collect_coverage.sh early if LCOV_MERGER is not set.
8429 + 4256d46327bad8638df91be1a5d4ef83b12b74c7:
8430 Automated rollback of commit
8431 d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
8432 + dce24350befd08216b3910ae343670015444ff81:
8433 [apple] fix issues compiling C in objc_library for watchos/armv7k
8434 + bfc24139d93f8643686d91596ba347df2e01966a:
8435 5.x: Remote: Ignore blobs referenced in BEP if the generating
8436 action cannot be cached remotely. (#14389)
8437 + 5aef53a8884038f3c9f06e6dddb9372196253378:
8438 Remote: Don't blocking-get when acquiring gRPC connections.
8439 (#14420)
8440 + 005361c895da334beb873901e93aff06d180256e:
8441 Disable IncludeValidation for ObjC in bazel
8442 + d703b7b4f09fb3c389f99e52bac1f23930280b56:
8443 Update java_tools v11.6
8444 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
8445 Stop remote blob upload if upload is complete. (#14467)
8446 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
8447 [5.x] Make remote BES uploader better (#14472)
8448 + 2edab739e1f61fe8813230b03396ca46f0790089:
8449 Avoid too verbose warnings in terminal when cache issues
8450 + 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
8451 Rename --project_id to --bes_instance_name
8452 + c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
8453 Automated rollback of commit
8454 bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
8455 + b341802700484d11c775bf02d80f43ba3f33b218:
8456 [apple] support watchos_arm64 in toolchain
8457 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
8458 Disable implicitly collecting baseline coverage for toolchain
8459 targets.
8460 + 302971e1b3d803069ac949c0085c0d2a3916c8ab:
8461 Automated rollback of commit
8462 7d09b4a15985052670244c277e4357557b4d0039.
8463 + 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
8464 Bzlmod: Starlarkify default attr values for TypeCheckedTags
8465 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
8466 Fix build after rc4 cherrypicks (#14581)
8467 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
8468 Release 5.0.0 (2022-01-19)
8469 + 486d153d1981c3f47129f675de20189667667fa7:
8470 Find runfiles in directories that are themselves runfiles
8471 + 0de7bb95022057e8b89334f44759cf6f950e131f:
8472 Don't resolve symlinks for --sandbox_base
8473 + 8b60c90f3641591b65c4e153113aea562f1fab94:
8474 Remove uses of -lstdc++ on darwin
8475 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
8476 Allow Label instances as keys in select (#14755)
8477 + 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
8478 Remote: Only waits for background tasks from remote execution.
8479 + 8734ccf9847eafb7193388cd9c6fa78faa78283f:
8480 Add the default solib dir to the rpath for cc_imports with
8481 transitions
8482 + 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
8483 Flip --experimental_worker_allow_json_protocol
8484 + fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
8485 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
8486 cpu for tools when host cpu and exec cpu are different
8487 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
8488 Propagate --experimental_cc_implementation_deps to host config
8489 + 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
8490 Support select() on constraint_value for aliases.
8491 + 67a133b431ccece22b7dd9a72f0837cff77d4360:
8492 Improve documentation for select()
8493 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
8494 Cherrypicks for experimental cc_shared_library (#14773)
8495 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
8496 [apple] support tvos_sim_arm64 in toolchain (#14779)
8497 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
8498 Cherry pick win arm64 (#14794)
8499 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
8500 [5.1.0] cherrypick subpackages support (#14780)
8501 + 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
8502 Add a helper method for rules to depend on the cpp toolchain
8503 type.
8504 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
8505 UrlRewriter should be able to load credentials from .netrc
8506 (#14834)
8507 + 32d1606dac2fea730abe174c41870b7ee70ae041:
8508 Add "arch" struct field to repository_os
8509 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
8510 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
8511 + c2ddbd1954af5baab63b93f2b055a410a27832c8:
8512 Ignore missing include directory in JDK distribution.
8513 + 16de03595e21f7bf31818e717505b23c953b3b7d:
8514 Fix bazel coverage false negative
8515 + 0c74741742301abcf67452a7f591daec1c3a7635:
8516 Remote: Postpone the block waiting in `afterCommand` to
8517 `BlockWaitingModule` (#14833)
8518 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
8519 Switch to `ProcessHandle` for getting the PID (#14842)
8520 + a987b98ea0d6da2656c4115568ef9cbe8a164550:
8521 Fix uses of std++ on bsd
8522 + d184e4883bb7fc21de2f7aeea4304994de27e9ea:
8523 Remote: handle early return of compressed blobs uploads
8524 + 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
8525 Add removeprefix/removesuffix to Starlark strings
8526 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
8527 Fix default CPU for macOS and iOS (#14923)
8528 + cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
8529 Add paramfile support for def_parser, since in rare cases on
8530 Windows command line character limit was reached.
8531 + 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
8532 Normalize rpath entries to guard against missing default solib
8533 dir
8534 + 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
8535 Fix aggressive params file assumption
8536 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
8537 Fix precompiled libs not in runfiles of cc_shared_library
8538 (#14943)
8539 + 764614e0f0287125269e7a92e909a44624bcb360:
8540 Bzlmod: Allow multiple `use_extension`s on the same extension
8541 (#14945)
8542 + fa761f84994f18db383fbe9aaea524e4385da13a:
8543 Fix typo in `apple_common.platform` docs
8544 + f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
8545 Yield a Proxy for addresses without protocol
8546 + 8cefb8bed4ac82df8640682517372a9249732352:
8547 Avoid merging URLs in HttpUtils
8548 + b4804807fc2c184cc36df9e69e472942c01941b8:
8549 Make protocOpts() public. (#14952)
8550 + 113eaca5862c48797654ae2a3acbb6e15d761485:
8551 Do not hide BulkTransferException messages when there were more
8552 than one exception
8553 + b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
8554 merkle_tree_cache: change default size to 1000
8555 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
8556 Add --experimental_repository_cache_urls_as_default_canonical_id
8557 to help detect broken repository URLs (#14989)
8558 + f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
8559 Expose the logic to read user netrc file
8560 + b858ec39aebd7e586af5438aa2035db2adebf9a4:
8561 Correct cpu and os values of `local_config_cc_toolchains` targets
8562 + 5e79972c05d89280f0cf1fa620f807366847bac6:
8563 Expose CoverageOutputGenerator on a Fragment (#14997)
8564 + 78f03110e0dab42f37e427fd524e72706e036d74:
8565 Correct error runfiles cc_shared_library (#14998)
8566 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
8567 [5.1] Adding Starlark dependencies to the package //external
8568 (#14991)
8569 + a73aa12be65454ac8cfb5a8f3e056c420402f997:
8570 Remote: Fix crashes with InterruptedException when using http
8571 cache.
8572 + f8707c07f153ac4ac2ec4b210321f1a16343006d:
8573 Account for interface libraries in cc_shared_library
8574 + a570f5fdb1618a6c272d18bebaa712d3b2af3975:
8575 Fix coverage runfiles directory issue
8576 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
8577 Do not validate input-only settings in transitions (#15048)
8578 + 71747ccc9d0032a865854613329362563c0574df:
8579 Filter out system headers on macOS.
8580 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
8581 Update Bazel bootstrap documentation and remove obsolete flags.
8582 (#15065)
8583 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
8584 [5.1] Undocument --bes_best_effort (#15066)
8585 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
8586 Fix conflicting actions error when specifying
8587 --host_macos_minimum_os (#15068)
8588 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
8589 [5.1] Remote: Action should not be successful and cached if
8590 outputs were not created (#15071)
8591 + 00d74ff737cccd60305ee58d85313556a077152a:
8592 Support decompressing zstd tar archives for repository rules.
8593 + f5857830bb68bd05ffc257506575ed37a8128933:
8594 Remote: Don't check TreeArtifact output
8595 + efb2b80953983dce499d453a9f55a74ffaf8c42d:
8596 osx_cc_wrapper: Only expand existing response files
8597 + c771c43b870fb8618db7bdab6725ab40cac4976d:
8598 Remote: Fix crashes by InterruptedException when dynamic
8599 execution is enabled. (#15091)
8600 + 3785677cc84fc4024fda85575c05efbde5d512fc:
8601 Use python3 on macOS
8602 + 815d9e499a32fd4d87525ac0c698c293cf26433d:
8603 Release 5.1.0 (2022-03-24)
8604 + 1fbb69e366034484887e00c6006c7b79508765ed:
8605 Prepare 5.1.1 release
8606 + df153df9656e0e197f67622bb11f7d77e19238a0:
8607 Fix CODEOWNERS syntax
8608 + 2b92a3111e83a4d14934059afd0f51161a41276f:
8609 Remote: Don't check declared outputs for failed action
8610 + b47aa71b21d93c9499103e9a37a6c2ffa79865b9:
8611 Upgrade abseil version to the latest
8612 + c49c45d8dac87d21cf2b6a176ddd07f2c9f63414:
8613 Revert default export all symbols on Windows
8614 + 7d3fb993f55b35081786c3fe00cf3bebb89574f3:
8615 Support ZIP files with total number of disks = 0
8616 + 0f5dc111be06b2ee8694640f400b58e12bfa5fea:
8617 Release 5.1.1 (2022-04-08)
8618 + 2422cfb3e5d92d46f9065b2b1e442823a965faf7:
8619 Update CODEOWNERS
8620 + bbcff1802423fca7ee5bd6a3e527c12d6d7d80ba:
8621 [5.2.0] Update java_tools 11.7.1 (#15231)
8622 + 9c98120f33579b72561e02826d9fccf222eccb3c:
8623 Add support for .ar archives (and .deb files)
8624 + d3435b09d89f25bf5008ef3b9c870c835d51a8da:
8625 Seperate GetSelfPath implementation for Blaze and Bazel
8626 + c94572bea5ce6bdc0ccda9789e5be6fb3f4c173b:
8627 Include jdk.crypto.mscapi in minimized Windows embedded JDK
8628 + 299022ca2dc49b6cb27b2674f933755306ae8b9b:
8629 remote: Proactively close the ZstdInputStream in
8630 ZstdDecompressingOutputStream.
8631 + 27707995cc6576ed1f51fbdb199ff8512e8418c9:
8632 Collect coverage from cc_binary data deps of java_test
8633 + 3442179d240e01ef13b0fa7814db7366bad5ffac:
8634 Configure Apple crosstool to return a complete target triple
8635 that includes minimum OS version and target environment
8636 + bb6f1a7ce79168055ccd62629da07d46a52b930d:
8637 Collect C++ lcov coverage if runtime object not in runfiles
8638 + dbb6e9954b6e4423f727feb2719ffc75a93b514b:
8639 Fixing dependencies of //external package
8640 + f0213bbf730c4a5d1a31e65bc9c01fbb55a6edb3:
8641 [5.2] Upgrade Google Auth Version (#15383)
8642 + a1a74c9919e03e09ef7c6ae13f38f48eea80ead1:
8643 Fix chocolatey package - docsUrl must not 404 (#15395)
8644 + fe644bee95c14d461e0d1e3cccaa8bbcd57bcd8d:
8645 Fix cache leak when applying transitions when only a rule's
8646 attributes change.
8647 + ad74d5243917bb27a37e38d151a4a3c8a49947eb:
8648 Fix checking remote cache for omitted files in buildevent file
8649 (#15405)
8650 + ac219103d8798965b775db548d7b9214ecd78f73:
8651 fix(bzlmod): throw on json parse exception
8652 + 3d85b88609a362857d8ee3c0432a37d30268a8a2:
8653 Add a flag to expose undeclared test outputs in unzipped form.
8654 (#15431)
8655 + abd7a9f70c3dfe96724a692dc7dc04ff33bdece1:
8656 Remove -U_FORTIFY_SOURCE when thin_lto is enabled (#15433)
8657 + 53b9cb8637c0faddc6b122a1daab72bcc274bdec:
8658 Catch NumberFormatException while trying to parse thread id.
8659 + 19740b55ebc283b7ec42b359bcd4c9096facfdd5:
8660 Improve the --sandbox_debug error message
8661 + 0a2a43f9aab1e3875f03f643f6414eb67834c883:
8662 Set keywords on appropriate lifecycle events.
8663 + 394ddb82b311ea7edbe2522736b0b0202903ddb6:
8664 Record additional profiling information for remotely executed
8665 actions.
8666 + 652b48e567fcb30768dfc2eddee5f04bf6b5d65b:
8667 Fix downloading remote execution output files inside output
8668 dirs. (#15444)
8669 + 73f1ecbc1cb00e16ceda4b582f4d57268f8701cd:
8670 Fix android emulator darwin_arm64 select
8671 + 2649c7c4adef0ebf9bca8fe46aa97304b22de522:
8672 Fix --use_top_level_targets_for_symlinks with aliases (#15446)
8673 + fa1081c1f3dce7324a1da59c40d1a1a3533c7047:
8674 Filter libtool warning about table of contents
8675 + 26f878325e915e0905626a0e4c8bbacffd72f875:
8676 Unify sandbox/remote handling of empty TreeArtifact inputs
8677 (#15449)
8678 + 6b21b7773157a1eebd3dfe79ff4c4ee750059daf:
8679 Revert "Fixes incorrect install names on darwin platforms"
8680 + e133e66f715bac17bf5848e4440c089a8c8d3fd9:
8681 config doesn't error on duplicate `--define` values (#15473)
8682 + 84d59176622b76223828e61709179dbd5f0c9f8d:
8683 Collect coverage from cc_binary data deps of py_test (#15298)
8684 + 519d2daacfff3de6ffabfc5827621fa835e1c815:
8685 SolibSymlinkAction does not need exec platform or properties
8686 + 6e54699884cfad49d4e8f6dd59a4050bc95c4edf:
8687 Let Starlark tests inherit env variables (#15217)
8688 + 9610ae889e6fd45280c5beb7fe8f5bef2d736878:
8689 Update PythonZipper action to use CommandLineItem.CapturingMapFn
8690 + 2f1ff6fa17c3c30b2533bffe81f40eab06b453b9:
8691 Make `coverage --combined_report=lcov` skip incompatible tests
8692 + 9fad5a3dc93cd436a5712c46e6c98d3995428ddb:
8693 Disable ReturnValueIgnored checks to unblock java_tools release
8694 + 0120118893261968bdf116ef215655c428428fa8:
8695 Bump the limit of Bazel install base size (#15585)
8696 + 668805aace9bf96f78595fc2a122027a3000ceac:
8697 Upgrade zlib to 1.2.12
8698 + 4d900ceea12919ad62012830a95e51f9ec1a48bb:
8699 [5.2] Remote: Fix a bug that outputs of actions tagged with
8700 no-remote are u... (#15453)
8701 + b703cb9b999e243d776b7620468e48f450c0ce3a:
8702 Add feature to produce serialized diagnostics files (#15600)
8703 + 2e8458b7810eab7829fc7d28af5c45b9af91ed7c:
8704 Release 5.2.0 (2022-06-07)
8705 + 536f8d97991d891fc7db333af1a5262497d85173:
8706 Fix fail message construction in cc_shared_library
8707 + 2d42925ae80c0fb007aa39f4e210122611897255:
8708 Define cc-compiler-darwin in Xcode toolchain
8709 + a1d7d1f69f82da1bdfa1cebd32356249127aea3b:
8710 Fix alwayslink in objc_import
8711 + d273cb62f43ef8169415cf60fc96e503ea2ad823:
8712 Unify URL/URLs parameter code across http_archive, http_file,
8713 http_jar
8714 + fea32be42928c84463aa1f335b5722a1f6b8c93a:
8715 Preserve --experimental_allow_unresolved_symlinks in exec cfg
8716 + e4bc370b226eb0cc536b55641640266345a214ec:
8717 Ck/cherry pick cc shared library (#15754)
8718 + dbdfa07e92f99497be9c14265611ad2920161483:
8719 Let Starlark executable rules specify their environment (#15766)
8720 + e2a6a2b130552db7521d3d4d854b9a651b1f4a3b:
8721 Fix string formatting when java_home path is missing.
8722 + d54a288e6c79c740b9c93dfc31ee345d6a5332af:
8723 Optionally enable LLVM profile continuous mode
8724 + ad17b44cdc192277fafb0d0e204962b2b924dba8:
8725 Print remote execution message when the action times out (#15772)
8726 + 240e3d1e1dbc74c7753dead6421d7c1b5fc28d09:
8727 Add missing line to cherrypick
8728 e4bc370b226eb0cc536b55641640266345a214ec (#15784)
8729 + 804b4747152a59bc2965be2db85839b8b2764fc7:
8730 Replace strdupa with strdup
8731 + 62be9ea29295fab5289bd5d1a0f13dc7d55a8bc0:
8732 Bzlmod: Better canonical repo names for modules with overrides
8733 (#15793)
8734 + d4663a1c950d618c5b15a3e00fb733987cbf45cc:
8735 Add repo env test (#15768)
8736 + 594962cb283dcd71b736e0450453903911a8c85a:
8737 Add is_root struct field to bazel_module (#15815)
8738 + 3dd2b932d42fe86112899550d21452409cb3c4b0:
8739 Fix null pointer crash with `bazel coverage` on only
8740 incompatible tests
8741 + 4175018b47800db28c390d39fefbd266b5d674bd:
8742 Add util for finding credential helper to use
8743 + 3ea9eb2e363860c9305a987fa22a059afd35598d:
8744 Merge ManifestMergerAction-related commits into release-5.3.0
8745 (#15824)
8746 + 64571a428ffe2bf09f1a5eea13e770a7d0381620:
8747 Ck/cherrypick 15669 (#15788)
8748 + 1404651cafe5c26c5dae469e9126de53c2f4f024:
8749 Create output directories for remote execution (#15818)
8750 + ae523f82d39daf01cf31e40733de0c6345f0935c:
8751 Use tree artifacts in bootclasspath rule
8752 + 37f181cb6ed0237f43d81159eb81b19d3b5f8e36:
8753 [credentialhelper] Add types to communicate with the subprocess
8754 + 06ca634e10f17023022ab591a55aabdd9fb57b12:
8755 Add a flag to force Bazel to download certain artifacts when
8756 using --remote_download_minimal (#15870)
8757 + d35f923b098e4dc9c90b1ab66b413c216bdee638:
8758 RemoteExecutionService: fix outputs not being uploaded
8759 + 78af34f9f25b0c8fbf597a794a5162f0014629c5:
8760 Cherry-pick proto_lang_toolchain Starlarkfication and
8761 proto_common module (#15854)
8762 + afb434da9da79b53da1ea4c7bcc00571dbea6d3f:
8763 Fix behavior of `print()` in module extensions
8764 + 6714c30507edc70ec84f8c97d47cffc497356c0b:
8765 [credentialhelper] Implement invoking credential helper as
8766 subprocess
8767 + 0f05904171d187e6abacb431b3d7494423b027ab:
8768 Add register_{execution_platforms,toolchains} directives to
8769 MODULE.bazel files (#15852)
8770 + 33516e27dc6ee6ab5c3b9dee739a267b08d26b6c:
8771 [remote] Improve .netrc test in RemoteModuleTest
8772 + aa2a1f3afe2f10baab5befcafb39df14cbffc743:
8773 Fix ZipDecompressor windows 0x80 (file attribute normal)
8774 + 30f16e53cb36a5d506665be7553e785d52772e2d:
8775 Replace uses of `cfg = "host"` with `cfg = "exec"` (#15922)
8776 + 2a8d0ad7103511a94382aef41821a315bf8144b7:
8777 target pattern file: allow comments
8778 + 6f732052654ec37192450c795bb28dd0aad559cd:
8779 Add factory for creating paths relative to well-known roots
8780 (#15931)
8781 + 32cc8e638b91816f427b74266f6a8da6fb605419:
8782 Update CODEOWNERS (#15910)
8783 + 63bc14b095f1ea4043024e7fe1f9c476968897c5:
8784 Implement native analysis_test call. (#15940)
8785 + 4df77f771e5cfdf4b614afd8934d00c2b2ff31d1:
8786 Increase osx_cc_configure timeouts
8787 + cdf01a39ab9def4d46f41595ac1ac9206a96d6f8:
8788 Allow string_list flags to be set via repeated flag uses
8789 + 05e758d4bc18fc9d9e189526381a06e4399056a2:
8790 [credentialhelper] Add parser for flag syntax (#15929)
8791 + e4ee34416ef18094496ab54446e70cb62cd509e6:
8792 Docs should mention the new no-remote-cache-upload tag (#15965)
8793 + 96d23d30cc80912b82a8fbab31c902e9db74b6ab:
8794 Add netrc support to --bes_backend (#15970)
8795 + c5bc34e5f1dd92703dd8f15f9f0409c49b778837:
8796 Add CommandLinePathFactory to CommandEnvironment (#15971)
8797 + 508f18576ab5327bd623db6b476511ac2089d0fa:
8798 Move newCredentialHelperProvider into GoogleAuthUtils (#15973)
8799 + 14c944a5386eccbcfbe8389afb6c518582b11270:
8800 Wire up credential helper to command-line flag(s) (#15976)
8801 + 04c373b708390341be4ceb8eb5b2f8561385cb11:
8802 Add `--output=files` mode to cquery (#15979)
8803 + edfe2a17e3434cce660757f59b14f2e9d6ab944e:
8804 Make cpp assembly file extensions case sensitive again
8805 + 4ae85387e69db73e507b4f18b36d3e2f799e5d34:
8806 Prevent aspects from executing on incompatible targets (#15984)
8807 + f440f8ec3f63e5d663e1f9d9614f05a39422102a:
8808 Remote: Fix performance regression in "upload missing inputs".
8809 (#15998)
8810 + 0109031a2818b217b78026055b972da5901656f5:
8811 Updated Codeowners file (#16032)
8812 + 6102d33bf0b72dc0fe9ada4c71113cbee3eb8187:
8813 Propagate the error message when a credential helper fails.
8814 (#16030)
8815 + a8dacc7832b04fe1756cd7adce72f2572f357eee:
8816 Migrate legacy desugar wrapper to new rlocation() (#16025)
8817 + 11368be4ac24108f18b1965162ad27f207c074f9:
8818 Correctly report errors thrown by CommandLinePathFactory#create.
8819 + 82452c7c372fb28485b0b5e0a98b471648f0dfd0:
8820 Fix an issue that
8821 `incompatible_remote_build_event_upload_respect_no_… (#16045)
8822 + e745468461f93839491a4f80d0c1883d9007f9c0:
8823 Fix rpath for binaries in external repositories (#16079)
8824 + 83041b145d3966eb353aacb22b7e33ad01d9a239:
8825 Refactor combined cache. (#16110)
8826 + c62496f7b76da473cb1102798373f552ba2f434d:
8827 C++: Add compound error linked statically but not exported
8828 (#16113)
8829 + 0f18786b09e9729d79c0f14f7843b4d8402b6115:
8830 Do not crash on URIs without a host component.
8831 + 9c0940df3c5962b2291e812600dd71731775d45b:
8832 Add profiler task for calling a credential helper.
8833 + 2ca1ab2c2c73d78021794f3099ee892cc73f515e:
8834 Make bazel_cc_code_coverage_test more robust against GCC version
8835 differences (#16254)
8836 + 1e25152906b668bbe56aa4c1773186af85335315:
8837 Fix local execution of external dynamically linked cc_* targets
8838 (#16253)
8839 + f6cccae5b6f9c0ad0e7d0bf7bd31ea1263449316:
8840 * add change to allow blaze info to skip Starlark build settings
8841 that start with --no prefix * add unit tests for both info and
8842 clean commands
8843 + 59b8b8f4dc098c31a372ad45adc2a48c5f1c4a9f:
8844 Release 5.3.1 (2022-09-19)
8845 + 77f0233420d141e36fbf86a62dff20285c7d8fdc:
8846 Update GrpcRemoteDownloader to only include relevant headers.
8847 (#16450)
8848 + 42ff95a1202cd18cc3348ed6a442de5eb95845bd:
8849 Avoid unnecessary iteration on action inputs.
8850 + d29034e43150f32bb02c2cff3774747e25e97de3:
8851 Update flag `--experimental_remote_download_regex` to accept
8852 multiple regular expressions. (#16478)
8853```
8854
8855Incompatible changes:
8856
8857 - Removing java_common.javac_jar Starlark call.
8858 - native.existing_rule now returns select values in a form that is
8859 accepted by rule instantiation. This is a breaking API change
8860 because there is some code that relies on the precise type
8861 returned, including brittle workarounds for this bug specifically
8862 and insufficiently flexible workarounds for other issues with the
8863 intersection of select and native.existing_rule.
8864 - flipped incompatible_use_toolchain_resolution_for_java_rules, see
8865 #7849
8866 - Query output=xml/proto/location for source files will now show
8867 the location of line 1 of the source file (as the new default)
8868 instead of its location in the BUILD file.
8869 - Specifying a target pattern underneath a directory specified by
8870 .bazelignore will now emit a warning, not an error.
8871 - Query `--order_output=auto` will now sort lexicographically.
8872 However, when `somepath` is used as a top level function (e.g.
8873 `query 'somepath(a, b)'`), it will continue to output in
8874 dependency order. If you do not want the lexicographical output
8875 ordering, specify another `--order_output` value (`no`, `deps` or
8876 `full`) based on what ordering you require.
8877 - In the build event stream,
8878 BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
8879 Its value was always mostly meaningless.
8880 BuildMetrics.TargetMetrics.targets_configured and
8881 BuildMetrics.ActionSummary.actions_created now include configured
8882 aspect data.
8883 - //visibility:legacy_public has been removed.
8884 - Flip and remove incompatible_dont_collect_so_artifacts
8885 (https://github.com/bazelbuild/bazel/issues/13043).
8886 - Remove flag --experimental_no_product_name_out_symlink: it is
8887 always true.
8888 - The Starlark method generate_dsym in objc fragment has
8889 been deleted. Please use the equivalent apple_generate_dsym in
8890 cpp
8891 fragment instead.
8892 - Native libraries in data attribute are not collected. See
8893 https://github.com/bazelbuild/bazel/issues/13550 for details
8894 - Enforce the `--profile` path to be absolute.
8895 - Enforce the --memory_profile path to be absolute.
8896 - JavaToolchainInfo.jvm_opt returns Depset instead of a list.
8897 - --apple_sdk has been deleted. It is a no-op.
8898 - --bep_publish_used_heap_size_post_build is now a no-op and will
8899 be deleted in a future release. Use --memory_profile=/dev/null
8900 instead.
8901 - Flipped --incompatible_disallow_resource_jars (see
8902 https://github.com/bazelbuild/bazel/issues/13221).
8903 - Remove --bep_publish_used_heap_size_post_build
8904 - JSON trace profile: rename counter names.
8905 - Removed --action_graph from the dump command.
8906 - Remove `--{experimental_,}json_trace_compression` option.
8907 - Remove `--experimental_profile_cpu_usage`.
8908 - flipped --incompatible_java_common_parameters (see #12373)
8909 - GrpcRemoteDownloader only includes relevant headers instead of
8910 sending all credentials.
8911
8912 Closes #16439.
8913
8914New features:
8915
8916 - Args.add_all and Args.add_joined can now accept closures in
8917 map_each if explicitly enabled via allow_closure.
8918 - Add `--bes_header` flag to pass extra headers to the BES server.
8919
8920Important changes:
8921
8922 - Flag --incompatible_objc_compile_info_migration is removed. See
8923 #10854.
8924 - Flag --incompatible_objc_compile_info_migration is removed. See
8925 #10854.
8926 - Flag --incompatible_objc_compile_info_migration is removed. See
8927 #10854.
8928 - none
8929 PAIR=cmita
8930 - The --incompatible_load_python_rules_from_bzl flag is now a no-op.
8931 - Filter all (instead of just C++) source files for coverage output
8932 according to --instrumentation_filter and
8933 --instrument_test_targets.
8934 - The `--incompatible_disable_native_apple_binary_rule` flag has
8935 been added which disables the native `apple_binary` rule. Users
8936 who need to use `apple_binary` directly (if they cannot use one
8937 of the more specific Apple rules) should load it from
8938 https://github.com/bazelbuild/rules_apple.
8939 - The Android rules' --use_singlejar_apkbuilder is now a no-op.
8940 SingleJar will always be used to build APKs.
8941 - dict.setdefault(key, ...) now fails if dict is frozen, even if it
8942 already contains key. This is an incompatible API change.
8943 - Flag --incompatible_objc_provider_remove_compile_info is removed.
8944 See #11359.
8945 - Starlark now permits def statements to be nested (closures).
8946 - native.existing_rule now returns select values in a form that is
8947 accepted by rule instantiation. This is a breaking API change,
8948 though the fallout is expected to be small.
8949 - Starlark now supports lambda (anonymous function) expressions.
8950 - The "test" and "coverage" commands no longer return 3 when a
8951 test action fails because of a system error. Instead, the exit
8952 code
8953 reflects the type of system error.
8954 - The undocumented ctx.expand feature no longer exists.
8955 - Make --legacy_dynamic_scheduler a no-op flag.
8956 - Multiplex persistent workers can now use the JSON protocol.
8957 - native.existing_rule now returns a mutable list, not a tuple, for
8958 a list-valued attributes. This is an incompatible API change.
8959 - Roll back change to have native.existing_rules use list instead
8960 of tuple.
8961 - BEP includes test suite expansions.
8962 - config_setting now honors `visibility` attribute (and defaults to
8963 `//visibility:public`)
8964 - Change the MultiArchSplitTransitionProvider to be based on
8965 platform type + CPU instead of fixed "ios_" + cpu.
8966 - enforce config_setting visibility. See
8967 https://github.com/bazelbuild/bazel/issues/12932 for details.
8968 - add a flag to build v4 signature file
8969 - Added _direct_source_jars output group to Java related targets.
8970 END_PUBLIC
8971 - pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
8972 Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
8973 - Allowing the lipo operations to be conditional in the
8974 linkMultiArchBinary API for Apple binaries. Single architecture
8975 slices are now returned through AppleBinaryOutput and the
8976 Starlark API.
8977 - Release restriction for "-" in the package name for Python
8978 sources. Now `py_binary` and `py_test` targets can have main
8979 source file with "-" in the path.
8980 - Users consuming BEP may assume that a `named_set_of_files` event
8981 will
8982 appear before any event referencing that `named_set` by ID. This
8983 allows consumers
8984 to process the files for such events (eg. `TargetCompleted`)
8985 immediately.
8986 - BEP includes all files from successful actions in requested
8987 output groups.
8988 Previously, an output group's files were excluded if any file in
8989 the output group
8990 was not produced due to a failing action. Users can expect BEP
8991 output to be larger
8992 for failed builds.
8993 - In BEP, TargetComplete.output_group has a new field `incomplete`
8994 indicating that the file_sets field is missing one or more
8995 declared artifacts
8996 whose generating actions failed.
8997 - The flag `--toolchain_resolution_debug` now takes a regex
8998 argument, which is used to check which toolchain types should
8999 have debug info printed. You may use `.*` as an argument to keep
9000 the current behavior of debugging every toolchain type.
9001 - Add runfiles.merge_all() for merging a sequence of runfiles
9002 objects.
9003 - runfiles.merge() and merge_all() now respect
9004 --nested_set_depth_limit.
9005 If you hit the depth limit because you were calling merge() in a
9006 loop, use
9007 merge_all() on a sequence of runfiles objects instead.
9008 - Bazel will no longer create a bazel-out symlink if
9009 --symlink_prefix is specified: the directory pointed to via the
9010 bazel-out symlink is accessible via ${symlink_prefix}-out. If
9011 this causes problems for you, set
9012 --experimental_no_product_name_out_symlink=false in your builds
9013 and file an issue.
9014 - Updates worker protocol with cancellation fields, and adds
9015 experimental_worker_cancellation flag to control cancellation.
9016 - Simplify build failure output by always using `NNN arguments`.
9017 - trim_test_configuration now defaults to on
9018 - Mark genrule.srcs as a source attribute for coverage.
9019 - When using --allow_analysis_failures (for example, via
9020 bazel-skylib's
9021 analysistest with `expect_failure = True`), analysis-time
9022 failures in aspect
9023 implementation functions will now be propagated and saved in
9024 AnalysisFailureInfo, just like analysis-time failures in rules.
9025 - cquery --noimplicit_deps now correctly filters out resolved
9026 cc_toolchains
9027 - Sign apks deterministically.
9028 - Make gcov optional in cc_toolchain tools.
9029 - If --experimental_prefer_mutual_xcode is passed, Bazel will
9030 choose the local default (instead of the newest mutually
9031 available version) if it's available both locally and remotely.
9032 - Remove java_lite_proto_library.strict_deps attribute.
9033 - Generate proguard configurations deterministically.
9034 - Adds a new flag, `--incompatible_enable_cc_test_feature` which
9035 switches from the use of build variables to the feature of the
9036 same name.
9037 - Dropped fragile xz support from built in pkg_tar. Users requiring
9038 xz
9039 compression should switch to bazlebuild/rules_pkg.
9040 - If all strategies of one branch (the local or remote execution
9041 branch) of the `dynamic` strategy fail to even accept (via the
9042 response they give from `canExec`) the action, `dynamic` will now
9043 try to see if the other branch can accept it. (Trying to run it
9044 and it failing will still cause a failure if it was the first
9045 result, this is about strategies claiming they can't even try the
9046 action)
9047 - Add `disable_annotation_processing` option to
9048 `java_common.compile`, which disables any annotation processors
9049 passed to `plugins` or in `exported_plugins` of `deps`
9050 - Remove obsolete --incompatible_prohibit_aapt1
9051 - The minimum Android build tools version for the Android rules is
9052 now 30.0.0
9053 - Adds --experimental_reuse_sandbox_directories flag to reuse
9054 already-created non-worker sandboxes with cleanup.
9055 - --experimental_force_gc_after_build is deprecated and will be
9056 removed soon. Use --bep_publish_used_heap_size_post_build instead
9057 - Forward coverage-instrumented files from non-tool dependencies by
9058 default.
9059 - The used_heap_size_post_build field in BEP is populated when the
9060 --memory_profile flag is set
9061 - --run_validations defaults to true.
9062 - Consider label_keyed_string_dict attributes when gathering
9063 instrumented files for coverage.
9064 - Remove flag
9065 --experimental_forward_instrumented_files_info_by_default, now
9066 that this behavior is the default.
9067 - When using MemoryProfiler with multiple GCs via the
9068 --memory_profile_stable_heap_parameters flag, we do a more
9069 precise calculation of heap used at the end of the build. This
9070 will generally result in lower values.
9071 - --bep_publish_used_heap_size_post_build is deprecated. Use
9072 --memory_profile=/dev/null instead.
9073 - Disable --all_incompatible_changes flag.
9074 - The --all_incompatible_changes flag is now a no-op
9075 - The `--toolchain_resolution_debug` flag now accepts regexes
9076 matching targets, as well as toolchain types, when choosing what
9077 debug messages to print.
9078 - Adds --experimental_existing_rules_immutable_view flag to make the
9079 native.existing_rule and native.existing_rules functions more
9080 efficient by
9081 returning immutable, lightweight dict-like view objects instead
9082 of mutable
9083 dicts.
9084 - Add support to length-delimited protos as undeclared output
9085 annotations []
9086 - The deprecated "relative_to_caller_repository" parameter has been
9087 removed from the Label constructor.
9088 - The toolchain transition is now enabled for all toolchains.
9089 - incompatible_disable_depset_items is flipped
9090 - The --experimental_existing_rules_immutable_view flag has been
9091 renamed to --incompatible_existing_rules_immutable_view
9092 - Bazel no longer supports Java 8. From this version on, the
9093 minimum required JDK is OpenJDK 11.
9094 - alias() can now select() directly on constraint_value()
9095
9096 Fixes https://github.com/bazelbuild/bazel/issues/13047.
9097
9098 Closes #14310.
9099 - Fixed an issue where Bazel could erroneously report a test passes
9100 in coverage mode without actually running the test.
9101 - Make protocOpts() publicly accessible.
9102 - Add coverage configuration fragment, used to expose
9103 output_generator label.
9104 - Bazel now no longer includes system headers on macOS in coverage
9105 reports (#14969).
9106
9107 Closes #14971.
9108 - Starlark test rules can use the new inherited_environment
9109 parameter of testing.TestEnvironment to specify environment
9110 variables
9111 whose values should be inherited from the shell environment.
9112
9113 Closes #14849.
9114 - none
9115 RELNOTES:none
9116 - Enable merging permissions during Android manifest merging with
9117 the --merge_android_manifest_permissions flag.
9118 - Added new register_{execution_platforms,toolchains} directives to
9119 the MODULE.bazel file, to replace the
9120 {execution_platforms,toolchains}_to_register attributes on the
9121 module() directive.
9122 - Add support for fetching RPC credentials from credential helper.
9123
9124 Progress on https://github.com/bazelbuild/bazel/issues/15856
9125
9126 Closes #15947.
9127 - `cquery`'s new output mode
9128 [`--output=files`](https://bazel.build/docs/cquery#files-output)
9129 lists the output files of the targets matching the query. It
9130 takes the current value of `--output_groups` into account.
9131
9132 Closes #15552.
9133 - Fix for desugaring failure on Bazel+Android+Windows build
9134 scenario.
9135
9136This release contains contributions from many people at Google, as well as Adam Liddell, Alex Eagle, Alex Eagle, amberdixon, Andreas Fuchs, Andrew Katson, Anthony Pratti, Artem V. Navrotskiy, Austin Schuh, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Benjamin Peterson, Ben Lee, Brandon Jacklyn, Brentley Jones, bromano, Cameron Mulhern, Chenchu Kolli, Christopher Peterson Sauer, Christopher Sauer, Cristian Hancila, Dan Bamikiya, Dan Fleming, Daniel McCarney, Daniel Wagner-Hall, Danny Wolf, Dave MacLachlan, Dave Nicponski, David Cummings, David, David Ostrovsky, Delwin9999, Denys Kurylenko, Dmitry Ivankov, dorranh, ecngtng, Ed Schouten, Eitan Adler, Elliotte Rusty Harold, Emil Kattainen, erenon, Eric Cousineau, Ethan Steinberg, Fabian Meumertzheim, Fabian Meumertzheim, FaBrand, Felix Ehrenpfort, Finn Ball, frazze-jobb, Fredrik Medley, Garrett Holmstrom, Gautam Korlam, George Gensure, goodspark, Gowroji Sunil, Greg Estren, Grzegorz Lukasik, Grzegorz Lukasik, hvadehra, Ikko Ashimine, Jesse Chan, Joe Lencioni, Johannes Abt, John Laxson, Jonathan Schear, Juh-Roch, Justus Tumacder, Keith Smiley, kekxv, Kevin Hogeland, kshyanashree, Lauri Peltonen, Liu Liu, Lszl Csomor, m, Marc Zych, Mark Karpov, Masoud Koleini, Mathieu Olivari, Matt Mackay, Mauricio Galindo, Max Liu, Menny Even Danan, menny, Michael Chinen, Nathaniel Brough, Nick Korostelev, Niek Peeters, Nikolay Shelukhin, Niyas Sait, Noa Resare, odisseus, Oleh Stolyar, Olek Wojnar, Oliver Eikemeier, Olle Lundberg, Omar Zuniga, oquenchil, Paul Gschwendtner, Peter Kasting, Peter Mounce, Philipp Schrader, Pras Velagapudi, Qais Patankar, Rabi Shanker Guha, Rai, ron-stripe, Ryan Beasley, Ryan Beasley, samhowes, Samuel Giddins, Sebastian Olsson, Sergey Tyurin, Steve Siano, steve-the-bayesian, Stiopa Koltsov, susinmotion, tatiana, Tetsuo Kiso, Thaler Benedek, Thi Doan, Thi Doãn, Thi Don, Thomas Carmet, ThomasCJY, Timothe Peignier, Timothy Klim, Tobi, Torgil Svensson, Trustin Lee, Ulf Adams, Ulrik Falklof, Uri Baghin, Vaidas Pilkauskas, Vertexwahn, wisechengyi, Wren Turkal, Xavier Bonaventura, Xùdōng Yáng, Yannic Bonenberger, Yannic Bonenberger, Yannic, Yannic, Yury Evtikhov, Yuval Kaplan, Yuval K, Yuval, Zhongpeng Lin, [zqzzq].
9137
Bazel Release System37e5b232022-10-18 18:57:13 +00009138## Release 4.2.3 (2022-10-18)
9139
9140```
9141Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
9142
9143Cherry picks:
9144
9145 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
9146 Use getRunfilesPath for run_under executable path generation.
9147 getRootRelativePath doesn't return a valid runfiles path for
9148 external source files anymore after the recent external source
9149 root change. Also, it won't work for external labels either once
9150 the --nolegacy_external_runfiles becomes default. This fixes
9151 issue #12545.
9152 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
9153 Fix NPE when coveragerunner is not set on the toolchain.
9154 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
9155 Fix the classic query package-loading cutoff optimization with
9156 external workspaces.
9157 + 3f2e8c8220a1cf07fda0a08fb21734df79364248:
9158 Update turbine
9159 + 0577fa5623732e9d182d273597b9be6c66574d05:
9160 Update turbine
9161 + 268bedd5b8f4fc0aa4158248a8cf2d0d8ad79e52:
9162 Update turbine
9163 + 613c9fe7d6ad265d80be569485e599394fff310e:
9164 Update turbine
9165 + f28f6978b118868a7faec5ad3818ea0582ffb8f5:
9166 Update turbine
9167 + 69b43621a16d7ede62a3b876772e8b297d4ea09e:
9168 Update turbine
9169 + 4d4ab50501d5f493cea35885bd89b2a56b0027f7:
9170 Revert "Update turbine"
9171 + 89b9a048eec8f108795bebdada5b6c9d33dacff2:
9172 Update turbine
9173 + d31f6dfc85b73750139d287acdcd29a596e1884a:
9174 Update turbine version
9175 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
9176 Update turbine
9177 + bef4bbbb47d47befe3711d06f358782ee12554f9:
9178 Update turbine
9179 + d113d7454127bba78aa618dac81e5d164920b662:
9180 Update turbine
9181 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
9182 Support Scala3 .tasty files
9183 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
9184 Update to java_tools javac11 release 10.5 (#12647)
9185 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
9186 Fix common prefix for instrumentation filter
9187 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
9188 Fix builds for filegroup targets with incompatible dependencies
9189 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
9190 Revert "Remove
9191 --incompatible_blacklisted_protos_requires_proto_info"
9192 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
9193 Transform roots along with paths during output deletion.
9194 + e8835c1c221d76a2d5532d18083eaa04401619b3:
9195 AttributeContainer.Large now handles more than 127 attributes.
9196 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
9197 Add an env attribute to all test and binary rule classes
9198 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
9199 Take no action to prefetch empty artifacts.
9200 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
9201 Fix a couple of bugs with Incompatible Target Skipping
9202 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
9203 Pass --host_action_env to host options hostActionEnvironment
9204 attribute
9205 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
9206 Add --{no,}autodetect_server_javabase.
9207 + c83366064621d5a265eba14d93a03deff58fe6d8:
9208 Only treat "env" and "env_inherit" attrs specially for native
9209 rules
9210 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
9211 Fix coverage support when using default_java_toolchain. (#12801)
9212 + 4158a6f512e52516437e00f8d9609a91be7fc195:
9213 Revert JacocoCoverage target to remote_java_tools_java_import
9214 and add a new target for remore_java_tools_filegroup. (#12813)
9215 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
9216 Add windows_msvc back to conditions in bazel_tools.
9217 + 6b33bdb1e22514304c0e35ce8e067f2175685245:
9218 Release 4.0.0 (2021-01-21)
9219 + 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
9220 Fix error message from getPrerequisites to not print internal
9221 details.
9222 + 27e15ad11410eb1014f5247fd0eeb31a46733c07:
9223 Clean up ConfiguredTargetValueAccessor and
9224 ConfiguredTargetAccessor
9225 + e87feb8ac9573cef993824f82370d0389570521d:
9226 Move getConfigConditions into ConfiguredTarget.
9227 + 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
9228 Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
9229 value.
9230 + 079bb7d69931705bb2b092c9017090e224ef3043:
9231 Clean up old dependencies that are unused since
9232 https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
9233 5ef5702880d5ac7c5c.
9234 + e03cb63e059420847d6578d7cbfe93f05615c95e:
9235 Update bazelbuild/platforms to a current release. - Roll forward
9236 https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
9237 7f925cf88e0cd5b76a with kythe fix.
9238 + 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
9239 Update docs and tests to use the @platforms//:incompatible
9240 constraint
9241 + c71697cf33b0fbbb42fc2910bac83960edc7e855:
9242 Clarify test_suite behaviour in the Platforms docs
9243 + dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
9244 Enable toolchain resolution for filegroup targets.
9245 + 24d086446f74606819dc53c3a436caa056ff05b7:
9246 PlatformProviderUtils should ignore targets that don't have the
9247 needed
9248 + ba60c0b3f9bbd00975c984244839b155e84b4c5d:
9249 ijar: fix manifest sections handling
9250 + 58bb42ad7ca263a75c6eeef51482f805726663a5:
9251 Revert "Switch to -fdebug-compilation-dir"
9252 + 3f2e8c8220a1cf07fda0a08fb21734df79364248:
9253 Update turbine
9254 + 0577fa5623732e9d182d273597b9be6c66574d05:
9255 Update turbine
9256 + 268bedd5b8f4fc0aa4158248a8cf2d0d8ad79e52:
9257 Update turbine
9258 + 613c9fe7d6ad265d80be569485e599394fff310e:
9259 Update turbine
9260 + f28f6978b118868a7faec5ad3818ea0582ffb8f5:
9261 Update turbine
9262 + 69b43621a16d7ede62a3b876772e8b297d4ea09e:
9263 Update turbine
9264 + 4d4ab50501d5f493cea35885bd89b2a56b0027f7:
9265 Revert "Update turbine"
9266 + 89b9a048eec8f108795bebdada5b6c9d33dacff2:
9267 Update turbine
9268 + d31f6dfc85b73750139d287acdcd29a596e1884a:
9269 Update turbine version
9270 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
9271 Update turbine
9272 + bef4bbbb47d47befe3711d06f358782ee12554f9:
9273 Update turbine
9274 + d113d7454127bba78aa618dac81e5d164920b662:
9275 Update turbine
9276 + ad241fbebd90a9f0ad65ccd0658838f57030db68:
9277 Allow cquery to filter out incompatible targets
9278 + 1782f0ae751569607ef88930c822ac460a1f8bb3:
9279 Patch grpc to fix cares selecting the wrong source when building
9280 for darwin_arm64 cpu.
9281 + 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
9282 [1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
9283 blobs
9284 + 848a51747a460ab4c5185e4c61ab522a9981cbea:
9285 [2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
9286 blobs
9287 + 9b30172547f2093acb56aedf159a77d5dceffda2:
9288 [3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
9289 blobs
9290 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
9291 Allow exec groups to inherit from the rule or other exec groups.
9292 + d0676693310215407224c1b8e8aea9e3eddc183d:
9293 Support execution constraints per exec group
9294 + f1e0d346c8235c855e61afc2adb870e4b895e002:
9295 Clean up RuleContext to use a Table instead of a Map of Maps.
9296 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
9297 Documentation for #13110
9298 + 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
9299 Prevent --repo_env from triggering unnecessary fetches
9300 + 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
9301 Prevent a crash when using --repo_env=VAR without a value
9302 + 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
9303 Report digest of failed uploads
9304 + 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
9305 Status error presentation with details
9306 + 9a70805db543e2fb910e1c55ef3b3567362adf30:
9307 Fix double shutdown of BuildEventArtifactUploader when BES+File
9308 output enabled.
9309 + 325eb956c92530bdfda54a36a186cae4245a4f7b:
9310 Add rxjava3 to third_party
9311 + ceaac966a7b977461b69ce9501df6a467f4a93b2:
9312 remote: set executable bit of an input file based on its real
9313 value
9314 + 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
9315 Remote: correctly implement equals and hashCode.
9316 + 48648503729d53fdee1322fde2c8e6c05e99cff9:
9317 Fixed an error that bazel binary is not executable when testing
9318 with remote execution.
9319 + bc54c648aa1f99509c7c36d5e6b570d066689209:
9320 Remote: Use parameters instead of thread-local storage to
9321 provide tracing metadata.
9322 + 92955e617b5c41713a5163dc0437c2a024b31815:
9323 Remote: Use parameters instead of thread-local storage to
9324 provide tracing metadata. (Part 2)
9325 + 75bd1ff8ab56d241916bde36291301fa026b2bab:
9326 Remote: Use parameters instead of thread-local storage to
9327 provide tracing metadata. (Part 3)
9328 + 37ee252f3744abc4511f55b5089cc52abd3ba09d:
9329 Remote: Use parameters instead of thread-local storage to
9330 provide tracing metadata. (Part 4)
9331 + 71e35b165f924e2649a078fcf6007645d58039af:
9332 Remote: Use parameters instead of thread-local storage to
9333 provide tracing metadata. (Part 5)
9334 + 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
9335 Write/QueryWriteStatus logging refinement/addition
9336 + 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
9337 Remote: gRPC load balancing. (Part 1)
9338 + e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
9339 Remote: gRPC load balancing. (Part 2)
9340 + 6667ad7dd77f8d97952133052c17e7779c1430ec:
9341 Remote: gRPC load balancing. (Part 3)
9342 + 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
9343 Remote: gRPC load balancing. (Part 4)
9344 + 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
9345 Implement getMessage for BulkTransferException
9346 + a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
9347 Remote: gRPC load balancing. (Part 5)
9348 + 7a62c2d4e27e398f440910c81eacc384f38ca8be:
9349 Remote: Add interoperability between Rx and ListenableFuture.
9350 + 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
9351 Update to latest remote-execution proto
9352 + dad96301d12aa77eb67399e08265a5f30f5ffd6a:
9353 Set Platform on Action not just Command
9354 + 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
9355 Remote: Add AsyncTaskCache which is used to deduplicate task
9356 executions and cache the results.
9357 + 9d0c7325ac810febe565a62fdd875ae0c240b274:
9358 Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
9359 + f54fe07209acc25340df8d2e02993b1add2deafa:
9360 Add --experimental_repository_disable_download to allow users
9361 disable download for external repos
9362 + b243584a479eb4481a9bf4f69acc899610a3b630:
9363 Report errors parsing rewriter config file
9364 + 63bc1c7d0853dc187e4b96a490d733fb29f79664:
9365 Downloader rewriter config has all_blocked_message
9366 + 495ac923f398443be45c20ab29d183fe47e08911:
9367 Allow UrlRewriter to change protocol, i.e. https->http, and
9368 http->https
9369 + 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
9370 Allow overriding the hostname and instance name in bytestream://
9371 URIs
9372 + 0881c80d29acecdfbb58c49156f805e8c50db117:
9373 Don't set requestId on non-multiplex requests.
9374 + e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
9375 When generating a symlink in _virtual_includes, add the original
9376 header to the 'allowed to use' set too
9377 + f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
9378 Make SimpleLogHandler not swallow interrupts.
9379 + f8606e5e76579442a1c6563e718ea54c673f1a04:
9380 linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
9381 + dac0d40d0eb903f5cb70341398d1a333c19adf3a:
9382 Improve "Common Attributes" section
9383 + a607d9dc70ac67f1aa2c32ca954177f9c77860be:
9384 Never create more than one process per WorkerMultiplexer.
9385 + 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
9386 Move sending requests and reading responses for multiplex
9387 workers into separate subthreads.
9388 + 003cfcde3fd3901c1279ba1db3db3a14536248b4:
9389 Allow use of JSON protocol in multiplex workers.
9390 + 308bce36cba46095fe41866e703710035ddddada:
9391 Actively kill off still-active workers when stopping work on
9392 interrupt.
9393 + 8959dff512fe4505af786bcf2ef981ec7082a913:
9394 Add sanitizer support to Apple platforms
9395 + 32f16e9360f3e1856db1775eb5014b930da2a303:
9396 Fix a Google-internal broken link.
9397 + c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
9398 Add SHA-1 to subresource integrity format for download()
9399 checksums
9400 + 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
9401 Remove fallback strategy support for workers, add flag for it in
9402 sandbox.
9403 + 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
9404 Update to java_tools javac11 10.6 (#13245)
9405 + 4928295b236ec8f590a7e9d863502bc2f50a77d9:
9406 Allow .S files in C++ Starlark cc_common.compile.
9407 + 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
9408 Automatic code cleanup.
9409 + b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
9410 Change short output of worker type to have the same logic as the
9411 worker creation for sandboxing vs. multiplex.
9412 + e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
9413 More properly destroy workers on interrupt.
9414 + 7056711eb11b672133274eb29fc93b01dcf088d5:
9415 Make WorkRequestHandler do a GC after some amount of CPU time
9416 has been used on requests. For Bazel and Blaze, defaults to 10s
9417 based on benchmarking.
9418 + 596653d3cf76e7b208da343e1fde5fe20273a5ff:
9419 Allow tree artifacts to be source or header inputs to
9420 cc_common.compile()
9421 + 055c93d11ab20cc4479539b24bbdfa5cab78a342:
9422 Switch to path autocompletion after -- for bazel run commands.
9423 + 807f2a1929e23b60b237c63fadb25af81de2e3c3:
9424 Fix Incompatible Target Skipping for test args
9425 + 9a5cd854e0613f91d52075973e2454b1e009e1ef:
9426 Fix order of build request id and command id
9427 + 706f5acd02363e48076dc97e37613fd968932d03:
9428 Fix bazel crash when passing config_setting to
9429 target_compatible_with
9430 + 61da1d2bf10eabba4c75de959b0374f302d89d70:
9431 Support multiple --bazelrc on command line
9432 + 5593358a58b66f06c4e421bb48856de94c3fd625:
9433 Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
9434 to
9435 + 662cf54de7a103db30e04ebae2d2b919437c4846:
9436 Remote: Fix an issue that a failed action could lead to
9437 RuntimeException caused by InterruptedException thrown when
9438 acquiring gRPC connections.
9439 https://github.com/bazelbuild/bazel/issues/13239
9440 + a3a1763212f29932618b9b9b2f929976ae0e3b6e:
9441 Pass more `--add-exports=` flags
9442 + d2b942879471786e82f1c96eea8722bbe7919fc1:
9443 Remote: Fixed a bug that remote cache is missed due to
9444 executable bit is changed
9445 + 616dc264f02907d7b7887285d22307dfe6d097b6:
9446 Fix Bazel Coverage with C++ to work with Remote Execution
9447 + 5f40d12e741aa30d506eaa15673fb2ae76d29468:
9448 Fix external_path_test with newer Xcode versions.
9449 + b416193075642017e13c774422b49cb07fb65c23:
9450 Allow using embedded tools in sandboxed spawn runners.
9451 + eb762d4e7431637e607146b1c191485795047ef9:
9452 Fix racy write of temporary files while staging virtual inputs
9453 for the sandbox.
9454 + f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
9455 Update platforms_test to not rely on filegroup not using
9456 toolchain
9457 + 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
9458 Update SkyframeTests to not rely on filegroup not using toolchain
9459 + 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
9460 Update ConfigurableAttributesTest to not rely on filegroup not
9461 using …
9462 + 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
9463 Make WorkerExecRoot not be a subclass of SandboxedSpawn.
9464 + 31db460a45767de0bcd664a6efbe9d163b85b802:
9465 Make WorkerExecRoot not be re-created on each createFileSystem()
9466 call. Preparation for holding a map of existing links, but also
9467 just nicer.
9468 + a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
9469 Start the file existence check traversal from the execroot base
9470 instead of execroot so that external repo files at
9471 "<execroot>/../<path>" are correctly handled when the sibling
9472 repository layout is enabled.
9473 + b048282c7893231d3a7191b251804973917b07a4:
9474 Use readdir for cleanExisting in WorkerExecRoot.
9475 + 270f00dd01fa06cf3e813da5a406be3446de7377:
9476 Add native support for Apple Silicon
9477 + 8e56b9423e8ad2f7323fb90b19b73858def81e39:
9478 Explicitly state that embedding macOS OpenJDK is for x86_64
9479 + 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
9480 Remote: Fix a race that AsyncTaskCache#Execution could be reused
9481 after disposed which results in
9482 CancellationException("disposed") propagated to downstream.
9483 + 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
9484 Remove wrapped_clang params files after use
9485 + 47edc57806056f3c8764241ed41b8acc72bd2ebf:
9486 Silence swiftmodule timestamp warnings
9487 + f6e1074b09ebefba185c0531e9cea26b9596c8a9:
9488 Remote: Use shutdownNow() instead of shutdown() in
9489 ChannelConnection#close() as a workaround to a gRPC bug.
9490 + 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
9491 And mnemonic and label to remote metadata
9492 + 615e1b16a81b0defc15699ec8027d6ddd70366d1:
9493 Change `set -x` in coverage to be set by var
9494 + fe4daea99c8cd163793eca84bfb12c8fc437616b:
9495 Bump minimal JDK install base maximum size from 290 to 295 MB.
9496 + 4840a68cd273a429e46d4114a3973fd11d0e3583:
9497 Remote: Check the return value of ActionOwner.getLabel() since
9498 it could be `null`.
9499 + 14abe4fd7c3967686a3536939fdc3882e691bca2:
9500 Allow `DiffAwareness` to share precomputed information about the
9501 workspace and propagate it to the `WorkspaceStatusAction`.
9502 + 082d98772690946ed29c157e60640c97a6e1195b:
9503 Implement available() method for Windows subprocesses.
9504 + c2bdd034014f66ce14529cc353cda18a32320f6c:
9505 Move --repo_env to common options
9506 + e09f2743738044095b9d784ea62df16b7f5750e6:
9507 Revert "Documentation for #13110"
9508 + a165baa250652fdc865ae0df39160be1f7f74c47:
9509 Revert "Clean up RuleContext to use a Table instead of a Map of
9510 Maps."
9511 + 51fb9e13a864f4f704ae378ea632433bae7ddc31:
9512 Revert "Support execution constraints per exec group"
9513 + cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
9514 Revert "Allow exec groups to inherit from the rule or other exec
9515 groups."
9516 + 2ac6581aeaab33ba506fce96dfa6a75eaa819233:
9517 Release 4.1.0 (2021-05-21)
9518 + 7a0f36e3f0a21fed8857efbaa51ded2dbdeefab6:
9519 Change gceMachineType of highcpu platform from n1-highcpu-32 to
9520 e2-highcpu-32
9521 + 19491a91143f0c6132aca62c5ae40ab72e9dc0e2:
9522 Fix #10127: Remove Python 2 dependency from tools/android.
9523 + 80c59dea59d4dce39d4b5d21665c3d7313197358:
9524 fix main repo starlark options parsing - now flags passed on the
9525 command line as --@main_workspace//flag and --//flag will both
9526 parse to --//flag. Before this CL, the former maintained its
9527 workspace prefix and we would get different entries for these
9528 two formats.
9529 + 451b296c3aceb127ebb4a313b6e9608854fa68fa:
9530 Update threshold for long path shortening to be MAX_PATH - 4
9531 + 671e0489a5bd6d5abb4dcd9bcfc85134cee38385:
9532 Force source files to be readable before copying them from
9533 sandbox.
9534 + 6080c1e07f4229ea72eacd04faa9302e44955a84:
9535 Let workers finish lost races without delaying dynamic execution.
9536 + ee738dacb5d0089d3f57b15305057cb9ba675e74:
9537 Fix label_flag and label_setting to not have a dependency on the
9538 default
9539 + 74de0ba4e79341c77b8b85ff4485f92287b6854c:
9540 Java coverage: fix handling of external files
9541 + 48eee8b4b447a2ad11df28dd81a2ccb65562b5f5:
9542 [Bazel] Fix mobile-install for python2
9543 + 763dd0ce6e1644bf895231432f616427a11d385a:
9544 Add `stub_shebang` to `py_runtime`
9545 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
9546 Move use of legacy sandbox -> local fallback to only be used
9547 after all strategies have been tried, and improve messages
9548 around it.
9549 + 6dc941e58dfc1d4a9714a76b921fbe11fce658ed:
9550 Remove restriction on generate_pdb_file to be only used in dbg
9551 and fastbuild mode
9552 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
9553 Check the result of Future.cancel() when cancelling the other
9554 branch of dynamic execution.
9555 + aaae8ce2881c8c1a5d4ad64f20d6e71aa372cf2e:
9556 Update DEFAULT_MACOS_CPU to match host
9557 + 2f0927a4fd9342f4dcfd43475d3f1c90c523584f:
9558 Fix symlink creation on older Windows versions
9559 + fd9cffdcaf05551126e66f1cd62815eaa1af6bd9:
9560 Suppress interrupted status during pool closure
9561 + 33903d28bcea0005adf9b2a8cc4659c5e2999bbe:
9562 Fix Windows developer mode symlinks
9563 + 0cd1666721bdbe988dc361c085bb43cbd41a27f3:
9564 Respect Starlark options with values in `removeStarlarkOptions()`
9565 + 7920ffef472b25db3f4e564e5a3a28a4664c666e:
9566 cquery inherits from `test` not `build`
9567 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
9568 Allow exec groups to inherit from the rule or other exec groups.
9569 + d0676693310215407224c1b8e8aea9e3eddc183d:
9570 Support execution constraints per exec group
9571 + f1e0d346c8235c855e61afc2adb870e4b895e002:
9572 Clean up RuleContext to use a Table instead of a Map of Maps.
9573 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
9574 Documentation for #13110
9575 + e376580ae4e9ad5bddc196bfb6ad3127e3ff561b:
9576 Split ExecGroup into a new target.
9577 + 0cbb8a863522d2f77ab6b67a01e39b19a9a81807:
9578 Create a new interface to allow Starlark objects to get a thread
9579 when getIndex is called.
9580 + d2e21cec31f09b27ef3589f47b0779f34077ca7e:
9581 Renamed ExecGroupCollection to clarify that it is only for
9582 Starlark usage.
9583 + b9519f92f8ce096107164ca5075feced0e989de7:
9584 Make StarlarkExecGroupContext use AutoValue.
9585 + 52b1b748b2368820bac2ca94323fb82c39c00e51:
9586 Use a dummy toolchain context for rules that don't have one.
9587 + 41877d0fefe3f021f3ff6d4ce398d0deb27157e6:
9588 Extract a separate StarlarkToolchainContext for starlark-only
9589 operations.
9590 + b120d4febc571f17e12501ad87fbff32ef94e9bb:
9591 Fix toolchains to support type lookup.
9592 + dc140d0b6119950dd4a7d71b125b15a78bacc8ce:
9593 Move DEFAULT_EXEC_GROUP_NAME from ToolchainCollection to
9594 ExecGroup.
9595 + 9b18d951a52819f1998ddfdc1739fa1b5bf0353d:
9596 Rename ToolchainCollection.getExecGroups to getExecGroupNames.
9597 + 10d4473bf476a587e3d9f9b2214581ec420c1919:
9598 BuildViewForTesting should directly call into
9599 ConfiguredTargetFunction.
9600 + 58a6fb1f8739e39125cc8c647f28cff2e79fe9aa:
9601 Move exec group tests out of platforms_test and into integration.
9602 + 7d5493d922761c3ce0037f0025912cc532c55ad7:
9603 Update creating exec groups that explicitly copy from defaults.
9604 + 8c6382a81237e72dbec24b3850df9481461e0015:
9605 Create a new ExecGroupCollection container to manage exec group
9606 inheritance and exec property parsing.
9607 + b4b0c321910bc968736ef48e8140528ea7d323cd:
9608 Fix unix toolchain for macos arm64 platform
9609 + f64f071f44394a33a1be40cb7642e2c881d1e9bb:
9610 Add `required_providers` attribute to Starlark defined aspects.
9611 + f2cbdcf67ac1990f05a8241ba8dae65795edac82:
9612 Don't ever claim /dev/null is an execpath.
9613 + ceec93c35ead1bd487e96a5fee46e8d080f88858:
9614 Don't ever claim /dev/null is an execpath.
9615 + 1f3f9f4c4b2eded90518aacd1b0b80c1b0dfd1c5:
9616 Use the parent directory of the exec root as the input root on
9617 RBE.
9618 + 4efeac9cb5f85325ed73f64e133a078c483cac01:
9619 Make the Merkle tree computation work in the wake of
9620 https://github.com/bazelbuild/bazel/commit/7149f578006a4ad0d51df6
9621 9830a6986749b34df5 .
9622 + b56a2aa709dcb681cfc3faa148a702015ec631d5:
9623 Remote: Use execRoot as input root and do NOT set working
9624 directory by default.
9625 + ae53991f2e207edacd1352ba94261e2473b79f14:
9626 Remote: Add RemoteExecutionService as a layer between spawn
9627 execution and remote execution.
9628 + 0c07c2e6571dd4806552213b2237ecb7a908afa4:
9629 Remote: Add remoteCacheable key to execution log
9630 + 5e617d83f3aab1fd36b07be4b58aba58604cc46e:
9631 Remote: Register "remote" strategy even if remote execution is
9632 not available.
9633 + 4ca8946a8e1c4c2fd48d8fb8ce38adb8b282fef0:
9634 Remote: Add --experimental_capture_corrupted_outputs flag.
9635 + 97d7b4c277814d73b50450b03f4bb160ce7e99b4:
9636 Remote: Report checking cache status before the action is
9637 scheduled to run remotely.
9638 + ba5b2a7c9448a3681a0d86d80670447e338a06dc:
9639 when writing to local disk cache, open files later in order to
9640 avoid "too many open files"
9641 + 3551898849a93306ad9b4dfdd7d4667913098efe:
9642 Propagate test envs to xml generation action
9643 + 9f8c678d7054548865f56f3464f778c751657074:
9644 Remote: Fix a bug that the XML generation is executed even if
9645 test.xml is generated when build with --remote_download_minimal.
9646 + af42653e6f6bd229142f4678bb256a8c397b4d8d:
9647 Automatic code cleanup.
9648 + 07a84ce31d9b09853c63c7e373418696dd285dc5:
9649 Remote: Another attempt to fix the CancellationException error
9650 in AsyncTaskCache caused by a race condition.
9651 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
9652 Remote: Display download progress when actions are downloading
9653 outputs from remote cache.
9654 + 18c82168433719b400a705a4a0222969a7a026ba:
9655 Remote: Do not upload empty output to remote cache.
9656 + 6a138a60e562beeef36003c4814a6b8ce9f253f6:
9657 Fix compiling errors
9658 + bcce6dd026e90336e80616a8c1004a79a2f8640c:
9659 Add the TEMP_FAILURE_RETRY macro to linux-sandbox-pid1.cc.
9660 + c8c0d94a49e1b865d95c6d245c2d152c7c7c9722:
9661 Export proguard specs from aar_import
9662 + 1a0285c3b64b121268ced3eb9ad9d5ba396b4905:
9663 Fix stripping of macOS loadable bundles
9664 + 0d3c231f5a08861d28e987703e9196890e6164bf:
9665 Roll forward config_setting visibility enforcement behind a flag.
9666 + bb7a01027242390da1c18fbf87c274cc34c11b79:
9667 Fix merge conflicts.
9668 + 8b8e77ea226aaa12e79580422bc5984e80ce048b:
9669 Remove redundant declaration.
9670 + 7c92cfcf9a88933c29334f6271ad3f086f7f36f4:
9671 Ignore empty virtual artifacts when spawn-logging inputs.
9672 + 4158b61211e099db780565d064a1c1a80c91bd2a:
9673 Use correct exit code on invalid aquery --output
9674 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
9675 Remote: Fix a race when reporting action progresses.
9676 + 0e652737988e3c115e98e1552f6fada52bc2b9a2:
9677 Change MIN_BUILD_TOOLS_REVISION to 30.0.0
9678 + 6f9909c04b1e00faa510b38ccabac78821046cf9:
9679 Update Android remote tools to ensure Bazel uses the latest
9680 Android tooling that has been updated to support AndroidX
9681 databinding generation.
9682 + 31d88c629dff2c5f8e8a4baf8c89fd3349c9783e:
9683 Automated rollback of commit
9684 9a1d428e33bfae1ec5b68250d4732b72346b8b39.
9685 + 951a3023fbcdbe025e350590e6fa86097da3fe05:
9686 Increase allowed size of the install_base.
9687 + a7845f65befbeb65a28ec53e62458211a7bc3f8e:
9688 Increase allowed size for install base again.
9689 + affc27f9d18f9781437e91a3f36c73962a56f261:
9690 Bump version of java allocation instrumenter.
9691 + 7efabba19cf6400bf9e707f53b40a6dd7110fafb:
9692 Reference the correct version of the java allocation
9693 instrumenter.
9694 + 9055c67b17abf5fed487ae44d0e22f1c6ea1e50c:
9695 Support extracting aar files.
9696 + 861c3caa85e47da35a8a4f1512e57d43b9263c37:
9697 Revert "Remote: Fix a race when reporting action progresses."
9698 + 92ec798ddc1f38fb4868af08c1d818639283f501:
9699 Revert "Remote: Display download progress when actions are
9700 downloading outputs from remote cache."
9701 + ce091abb290d1d753f480cdee0e69748eb20db52:
9702 Revert "Fix compiling errors"
9703 + 1b19cd310418b850e8e0ca2086ffe50755c9ed7e:
9704 Revert "Remote: Fix a bug that the XML generation is executed
9705 even if test.xml is generated when build with
9706 --remote_download_minimal."
9707 + 988b56f5916e024d10695797a7f963b30fc998c7:
9708 Revert "Remote: Report checking cache status before the action
9709 is scheduled to run remotely."
9710 + 35c98d07b21785efae57a7c4230cc1e452f74fd2:
9711 Revert "Let workers finish lost races without delaying dynamic
9712 execution."
9713 + c4e22b9ace07f5d360c5327a38f9ae4ab24b7109:
9714 Migrate ExampleWorker to use WorkRequestHandler.
9715 + 230be161176bd6f1251077af7674f80d38ff1e25:
9716 Do not interleave readdir() calls with deletion of directory
9717 entries.
9718 + 3cc8ce6ba0934b1a4d9db184daf055c1207ef105:
9719 Propagate OOME if NewByteArray allocation failed
9720 + 19fc15ebbf6c63fcce90a038e91c5ec726852848:
9721 Create helper method for sandbox tests, transform existing tests
9722 into using it.
9723 + deb1006c0778692f7eaef4cbcf7eeb8112b55e91:
9724 Cleanup: Replace NULL with nullptr
9725 + f4b5e0233341977aaa76593ca032d9ac4eba7444:
9726 Let workers finish lost races without delaying dynamic execution.
9727 + 186decab01ee247c7453baf19dac778545ec4937:
9728 Interface and flag specification for worker cancellation.
9729 + 5894a8544d51c99f1356130b8b487bc93299fedd:
9730 Create BUILD file in worker tests directory instead of running
9731 tests from the parent directory.
9732 + e9e6978809b0214e336fee05047d5befe4f4e0c3:
9733 Server-side implementation of worker cancellation.
9734 + 5103662238f2df2038c7dff079e9c655e08ba654:
9735 Add builder for WorkRequestHandler.
9736 + 1a519bb66c3fa3e4ef3b9a9a556597920751fbcd:
9737 Makes singleplex requests be handled in separate threads in
9738 WorkRequestHandler.
9739 + 779d66019210f54e10a1343ee004df72a8dec812:
9740 Only allow worker async finishing when sandboxed.
9741 + a698bef6146a807fd82ee4402d89c23c83802e33:
9742 Support for cancellation in WorkRequestHandler.
9743 + 9dc95af4c7ef10979f21173260f5433006116096:
9744 Make workers restart on flags that affect their
9745 creation/behaviour.
9746 + 7e5cd529e9f8c9cb67900af36182f00ef7316654:
9747 Remote: Report checking cache status before the action is
9748 scheduled to run remotely.
9749 + 6e134a1b68418fba9992692901efa77a80c346f7:
9750 Remote: Fix a bug that the XML generation is executed even if
9751 test.xml is generated when build with --remote_download_minimal.
9752 + d4d071401acadb0d8977850a9439474e60fd7bb9:
9753 Fix compiling errors
9754 + 2579c9a18360955699d028426b45d381ff53783c:
9755 Eagerly initialize JNI copies of Java classes: doing lazy
9756 initialization on a per-method basis doesn't save anything and
9757 adds a tiny bit of overhead to every one of these calls.
9758 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
9759 Remote: Display download progress when actions are downloading
9760 outputs from remote cache.
9761 + 3835d9b21ad524d06873dfbf465ffd2dfb635ba8:
9762 Update the WorkRequestHandler to use callbacks of type:
9763 BiFunction<WorkRequest, PrintWriter, Integer>: - Mark
9764 constructors that use BiFunction<List<String>, PrintWriter,
9765 Integer> callback as deprecated. - Use a wrapper class for the
9766 BiFunction<WorkRequest, PrintWriter, Integer>. Suggesting this
9767 to avoid having two constructors that takes a BiFunction, as it
9768 creates a confusion between the deprecated and new constructor
9769 when given a lambda expressions.
9770 + 5e352afe2b35487ea2ced85ca79bd9f79858e648:
9771 Fix bug in WorkRequestHandler's handling of singleplex requests
9772 that would cause occasional hangs.
9773 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
9774 Remote: Fix a race when reporting action progresses.
9775 + c9d823e42796962eed039b8122528c2a1541190f:
9776 Disable flaky test.
9777 + e6809c90ecc0ef5783faa39e63188fc33a79b80e:
9778 Revert "Check the result of Future.cancel() when cancelling the
9779 other branch of dynamic execution."
9780 + be4cbc7a67196414e3d3f323be8ab55fb5e530f7:
9781 Revert "Move use of legacy sandbox -> local fallback to only be
9782 used after all strategies have been tried, and improve messages
9783 around it."
9784 + b32349f50ff3d958613aef9275751ad9d50d344c:
9785 Set a fallback dynamic local strategy even when the
9786 dynamic_local_strategy flag is passed.
9787 + f395157c95692565bc220c7ccf788974fe0885fd:
9788 Allow running an extra spawn for local branch of dynamic
9789 execution.
9790 + 039461c76113ab3f165132dd26d0c58eb3e45cae:
9791 Adding debugging information for case when two branches
9792 apparently cancel each other.
9793 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
9794 Move use of legacy sandbox -> local fallback to only be used
9795 after all strategies have been tried, and improve messages
9796 around it.
9797 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
9798 Check the result of Future.cancel() when cancelling the other
9799 branch of dynamic execution.
9800 + 1962a59a5478f5ad374700b0abf0a718b1b3a7d3:
9801 Fix the case where if all strategies for one branch of `dynamic`
9802 execution fail to accept (that is, refuse to even take) the
9803 action given, the whole action fails. Instead of seeing whether
9804 the other branch can run and the action that that it succeeded.
9805 + b7c1ad2aff91105659299723a712b72eea943040:
9806 Fix rare crash in dynamic execution where both branches got
9807 cancelled.
9808 + 2c3cff5422b115d7bb86ed28a056f3d368ebceeb:
9809 Check if `treeDeleter` is actually async before casting it.
9810 Fixes #13240.
9811 + 1a89ce1757e75f8ba9bda76d7373a7e8527bcfc5:
9812 Make worker JSON protocol properly ignore unknown fields.
9813 + 4b12fc80abf4152815f09e473a972e52a1fe8b51:
9814 Fix test_source_file_does_not_override_standard_library to work
9815 with Python 3.9.
9816 + f4e10367df2d881f05e3ddd5bd0531b390a845fe:
9817 Removing line ending matches in tests to be compatible on Windows
9818 + ba74df07ced96226d78851e11d1df03147f1cc1f:
9819 Refactors CompilationSupport for objc to use existing API
9820 + a04cb1bfad4734f801c48bae3070a799067bda4e:
9821 Release 4.2.0 (2021-08-18)
9822 + ba8678077024e1b4e5d7419c758a97e8dc9fceea:
9823 Revert "fix main repo starlark options parsing.
9824 + 9f67cdf3d51c05bc2209786aa24b72658b61362c:
9825 cquery: disable `--build_tests_only`.
9826 + 02ad3e3bc6970db11fe80f966da5707a6c389fdd:
9827 Release 4.2.1 (2021-08-30)
9828 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
9829 Enable user_link_flags_feature for macosx cc_toolchain_config
9830 + af74287f125b93119415ba35429b8638d7a986ea:
9831 Remote: Limit max number of gRPC connections by
9832 --remote_max_connections. (#14318)
9833 + 639f89d7682cadff723ac210fa37101f37762a9d:
9834 Fix [Prepa] actions stuck in active state
9835 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
9836 Delete marker file before fetching an external repository
9837 + e6c8e8d1ba89df5cf624e7147cee6b8246a9a490:
9838 CI configs: switch centos to centos7_java11_devtoolset10
9839 + 15371720ae0c40ffc97b74c871d1b38851ef6410:
9840 Release 4.2.2 (2021-12-02)
9841 + f64b7553607e1d3572611cc5011c498e3cd4505c:
9842 [4.2.3] Update GrpcRemoteDownloader to only include relevant
9843 headers. (#16450) (#16459)
9844```
9845
9846Incompatible changes:
9847
9848 - GrpcRemoteDownloader only includes relevant headers instead of
9849 sending all credentials.
9850
9851 Closes #16439.
9852
9853Important changes:
9854
9855 - Multiplex persistent workers can now use the JSON protocol.
9856 - enforce config_setting visibility. See
9857 https://github.com/bazelbuild/bazel/issues/12932 for details.
9858 - The minimum Android build tools version for the Android rules is
9859 now 30.0.0
9860 - Updates worker protocol with cancellation fields, and adds
9861 experimental_worker_cancellation flag to control cancellation.
9862 - If all strategies of one branch (the local or remote execution
9863 branch) of the `dynamic` strategy fail to even accept (via the
9864 response they give from `canExec`) the action, `dynamic` will now
9865 try to see if the other branch can accept it. (Trying to run it
9866 and it failing will still cause a failure if it was the first
9867 result, this is about strategies claiming they can't even try the
9868 action)
9869
9870This release contains contributions from many people at Google, as well as Alex Eagle, Austin Schuh, Benjamin Peterson, bjacklyn, bromano, Christopher Peterson Sauer, Christopher Sauer, Cristian Hancila, Daniel Wagner-Hall, Denys Kurylenko, Ed Schouten, Fabian Meumertzheim, Finn Ball, George Gensure, Greg Estren, Johannes Abt, Keith Smiley, Kevin Hogeland, Lauri Peltonen, Noa Resare, Philipp Schrader, Ryan Beasley, Thi Doan, ThomasCJY, Timothy Klim, Trustin Lee, Ulf Adams, Vaidas Pilkauskas, Vertexwahn, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yuval Kaplan, Yuval.
9871
Bazel Release System77e5b262022-09-30 19:28:15 +02009872## Release 6.0.0-pre.20220922.1 (2022-09-30)
9873
9874```
9875Baseline: 4e7d2a24715130ea5aec098e44f43fa603fad6b7
9876```
9877
9878Incompatible changes:
9879
9880 - this incompatible change breaks old instances of http_archive
9881 that specified netrc as an absolute path. It is unlikely there
9882 are many instances in the wild since the path would refer to a
9883 netrc file inside the external repository by absolute path.
9884 Migration should be straightforward.
9885 - genrule switched to use exec transition instead of host. This can
9886 break targets with hardcoded output paths. To avoid using
9887 hardcoded paths use make variables, see
9888 https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
9889 defined_label_variables
9890 - this incompatible change breaks old instances of http_archive
9891 that specified netrc as an absolute path. It is unlikely there
9892 are many instances in the wild since...
9893 - Error Prone now checks for unused return values of additional
9894 methods on `java.lang.Object`, which can be disabled using
9895 `--javacopts=-Xep:ReturnValueIgnored:OFF`
9896 - Error Prone now checks for unused return values of additional
9897 methods on `java.lang.Object`, which can be disabled using
9898 `--javacopts=-Xep:ReturnValueIgnored:OFF`
9899 - The --incompatible_existing_rules_immutable_view flag has been
9900 flipped to true. See
9901 https://github.com/bazelbuild/bazel/issues/13907 for
9902 migration notes.
9903 - Split up the C++ archive from the C++ link action and set
9904 `CppArchive` as mnemonic.
9905 - workspace(managed_directories=) is not available anymore.
9906 - --legacy_important_outputs now has a default of false.
9907 - --legacy_important_outputs default reverted to true.
9908 - objc_library now requires CcInfo in its deps. If this breaks
9909 you, add empty CcInfo() to your rule.
9910 - Flag --experimental_local_memory_estimate removed.
9911 - Added a new flag
9912 --incompatible_unambiguous_label_stringification, which causes
9913 labels in the main repo to stringify into unambiguous forms
9914 starting with an @. See
9915 https://github.com/bazelbuild/bazel/issues/15916 for more
9916 information.
9917 - analysis_test moved into testing.analysis_test
9918
9919Important changes:
9920
9921 - Deprecate --incompatible_applicable_licenses flag, in preparation
9922 for removal in Bazel 6.x.
9923 - Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
9924 - The Build Event Protocol now contains file digests and sizes
9925 along with the file name and URI.
9926 - Refactor system suspend event handling.
9927 - alias() can now select() directly on constraint_value()
9928 - Allow \a \b \f \v escape sequences in Starlark.
9929 - Match remote and local xcode version by most granular version.
9930 - Adds `--experimental_worker_multiplex_sandboxing` flag that
9931 controls whether to sandbox multiplex workers that support it.
9932 - provider() has a new parameter: init, a callback for performing
9933 pre-processing and validation of field values. Iff this parameter
9934 is set,
9935 provider() returns a tuple of 2 elements: the usual provider
9936 symbol (which,
9937 when called, invokes init) and a raw constructor (which bypasses
9938 init).
9939 - Tests that fail to create or complete their
9940 `TestAttemptContinuation` by
9941 throwing an `ExecException` will report an `INCOMPLETE` status.
9942 Previously, Bazel
9943 would fail to report any status for the test attempt.
9944 - Fixed an issue where Bazel could erroneously report a test passes
9945 in coverage mode without actually running the test.
9946 - Include more information about configurations in cquery proto
9947 formatted output. This deprecates the configuration field of
9948 AnalysisProtosV2.ConfiguredTarget, and adds a new field,
9949 configuration_id, to
9950 be used instead.
9951 - experimental cc_library.implementation_deps inverted to
9952 interface_deps
9953 - In aquery and cquery proto output, indicate if a configuration is
9954 a
9955 tool or non-tool configuration.
9956 - Include complete configurations in cquery proto output.
9957 - experimental cc_library.implementation_deps inverted to
9958 interface_deps
9959 - Make protocOpts() publicly accessible.
9960 - Add some documentation about how configuration information is
9961 conveyed in cquery proto output.
9962 - Introduces experimental static library linking API under
9963 apple_common.link_multi_arch_static_library
9964 - Further deprecation and removal of pkg_tar. Stop supporting
9965 legacy use of 'files' attribute, where it could be a list of
9966 labels instead of a map of paths to labels.
9967 - Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
9968 its purpose because --all_incompatible_changes would never set
9969 it. The last rule it gated (pkg_tar) is scheduled to be removed
9970 in Bazel 6.x.
9971 - Add coverage configuration fragment, used to expose
9972 output_generator label.
9973 - Bazel now no longer includes system headers on macOS in coverage
9974 reports (#14969).
9975 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
9976 $ANDROID_HOME.
9977 - The default dexer is now d8. dx can be optionally enabled using:
9978 --define=android_dexmerger_tool=dx_dexmerger \
9979 --define=android_incremental_dexing_tool=dx_dexbuilder \
9980 --define=android_standalone_dexing_tool=dx_compat_dx \
9981 --use_workers_with_dexbuilder
9982 - Packaging support for deploy JAR embedded JDK files (hermetic
9983 Java).
9984 - Don't stamp cc_common.link actions for tool dependencies.
9985 - Starlark test rules can use the new inherited_environment
9986 parameter of testing.TestEnvironment to specify environment
9987 variables
9988 whose values should be inherited from the shell environment.
9989 - Enable merging permissions during Android manifest merging with
9990 the --merge_android_manifest_permissions flag.
9991 - Allow specialization to work with constraint_values.
9992 - Bazel uses the D8 jar from Maven instead of the SDK.
9993 - Make ijar / java_import preserve classes with `@kotlin.Metadata`
9994 annotations
9995 - Switch cc_test implementation to Starlark. Note: cc_test will now
9996 link statically when _targeting_ Windows regardless of host
9997 platform (rather than always linking statically when Windows is
9998 the _host_).
9999 - Switch cc_test implementation to Starlark. Note: cc_test will now
10000 link statically when _targeting_ Windows regardless of host
10001 platform (rather than always linking statically when Windows is
10002 the _host_).
10003 - Add devtools/build/lib/worker:work_request_handlers to the remote
10004 android tools release package. This will be transitively packaged
10005 into all_android_tools.
10006 - Bazel uses the D8 jar from Maven instead of the SDK.
10007 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
10008 $ANDROID_HOME.
10009 - Advance android_tools_pkg version to 0.24.0.
10010 - Switch cc_test implementation to Starlark. Note: cc_test will now
10011 link statically when _targeting_ Windows regardless of host
10012 platform (rather
10013 than always linking statically when Windows is the _host_).
10014 - Bazel uses the D8 jar from Maven instead of the SDK.
10015 - "blaze config" now only reports info from the last build. To
10016 compare configurations across multiple builds, redirect "blaze
10017 config" output to a file and run your favorite diff tool.
10018 - The --incompatible_override_toolchain_transition flag is now
10019 always set, and will be removed in the future. Thus,
10020 --noincompatible_override_toolchain_transition has no effect, and
10021 the value of the incompatible_use_toolchain_transition parameter
10022 in aspect() and rule() builtins is ignored.
10023 - Switch cc_test implementation to Starlark. Note: cc_test will now
10024 link statically when _targeting_ Windows regardless of host
10025 platform (rather
10026 than always linking statically when Windows is the _host_).
10027 - Toolchain types may now be optional, in addition to mandatory.
10028 See https://bazel.build/docs/toolchains#optional-toolchains for
10029 further details.
10030 - Add six to deps of has_services=1 py_proto_librarys.
10031 - pkg_tar(symlinks) has been removed. Users needing that feature
10032 should
10033 migrate to @rules_pkg.
10034 - Aspects can now define and use exec groups using the same API as
10035 rules.
10036 - Removed the obsolete --incompatible_applicable_licenses flag. The
10037 feature is permanently enabled.
10038 - embedded_tools packages R8 desugarer again
10039 - Bazel now selects sh path based on execution platform instead of
10040 host platform, making it possible to execute sh actions in
10041 multiplatform builds. --shell_executable now only applies to
10042 actions configured for host.
10043 - labels in genquery.scope are no longer configured.
10044 - When Bzlmod is enabled, all Bzlmod-generated repos will have an
10045 extra '@' prepended to their names. This effectively enables the
10046 canonical label literal syntax for Bzlmod-generated repos
10047 (`@@canonicalRepoName//pkg:target`; see
10048 https://docs.google.com/document/d/1N81qfCa8oskCk5LqTW-LNthy6EBrDo
10049 t7bdUsjz6JFC4/edit?usp=sharing).
10050 - Exposed `CcSharedLibraryInfo` to Starlark builtins.
10051 - Enable --use_top_level_targets_for_symlinks by default.
10052 - Singlejar accepts runtime Created-By field
10053 - --noincompatible_disable_managed_directories, and with that,
10054 workspace(managed_directories=) is not supported anymore.
10055 - Bazel supports D8 desugaring, albeit without persistent workers
10056 - Remove mtime options from pkg_tar. Users should migrate to
10057 @rules_pkg.
10058 - Test for experimental multiplexed persistent resource processor.
10059 - Added new register_{execution_platforms,toolchains} directives to
10060 the MODULE.bazel file, to replace the
10061 {execution_platforms,toolchains}_to_register attributes on the
10062 module() directive.
10063 - The legacy pkg_tar no longer supports the ability to untar and
10064 repackage an input tar file (`deps` attribute). Users needed that
10065 capability must switch to github.com/bazelbuild/rules_pkg.
10066 - `cquery`'s new output mode
10067 [`--output=files`](https://bazel.build/docs/cquery#files-output)
10068 lists the output files of the targets matching the query. It
10069 takes the current value of `--output_groups` into account.
10070 - Change singlejar metadata to report Created-By Bazel
10071 - Add support for fetching RPC credentials from credential helper.
10072 - Revert interface_deps back to implementation_deps after problem
10073 reported in. Use `buildozer 'rename deps implementation_deps'
10074 //...:%cc_library; buildozer 'rename interface_deps deps'
10075 //...:%cc_library`
10076 - Fix for desugaring failure on Bazel+Android+Windows build
10077 scenario.
10078 - D8 is the default desugarer
10079 - Migrate main_dex_list_creator to D8 (DX deprecation)
10080 - --experimental_enable_bzlmod has been renamed --enable_bzlmod,
10081 and still defaults to false.
10082 - selects() no longer produce irrelevant duplicate label checks
10083 - Adds a dexer output cache to CompatDexBuilder to improve build
10084 speed.
10085 - Improved error messages when analyzing inline bzl code
10086 - Improved error messages when analyzing inline bzl code
10087 - The `@bazel_tools//tools/cpp:compiler` flag now has the value
10088 `gcc` if the configured compiler is detected to be gcc rather
10089 than the generic value `compiler`. A branch for `gcc` may have to
10090 be added to `select` statements that do not have a default case
10091 that handles gcc appropriately.
10092 - The `get_child` method of `path` now accepts an arbitrary
10093 number of relative path strings as positional arguments.
10094 - SourceManifestAction supports `Action.content`
10095 - Add --incompatible_build_transitive_python_runfiles alias. See
10096 #16303
10097 - The @bazel_tools//tools/cpp:compiler flag now has the value
10098 `clang` for the auto-configured Xcode toolchain rather than the
10099 generic value compiler. A branch for `clang` may have to be added
10100 to select statements that do not have a default case that handles
10101 this toolchain appropriately.
10102 - added additional debug message to warn of skipped toolchains
10103 during resolution
10104
10105This release contains contributions from many people at Google, as well as Adam Azarchs, Adam Wolf, Albert Lloveras, Alessandro Patti, Alex Eagle, Alex Scott, Alex Torok, Andreas Fuchs, Andreas Herrmann, Andrew Katson, Andrew Klotz, Ara Nguyen, arunkumar9t2, arun.sampathkumar, Ast-x64, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Ben Lee, Bohdan Vanieiev, Bradley Burns, Brandon Duffany, Brandon Jacklyn, Brentley Jones, Brentley Jones, Chad Miller, Charles-Francois Natali, Chris Clearwater, Chris Fredrickson, Christopher Peterson Sauer, Christopher Sauer, ckiffel, Cristian Hancila, crydell-ericsson, Dan Fleming, Daniel Wagner-Hall, Danny Wolf, David Ostrovsky, David Sanderson, Denys Kurylenko, dhmemi, Dimi Shahbaz, divanorama, dmaclach, Ed Schouten, Emil Kattainen, Eric Song, Fabian Brandstetter, Fabian Meumertzheim, floriographygoth, Fredrik Medley, George Prekas, gkgoat1, gkorlam, Greg Estren, Greg, Gregory Fong, Greg Roodt, Grzegorz Lukasik, Halil Sener, Hannes Kufler, homuler, hvadehra, hvd, Igor Nazarenko, James Broadhead, Jan, Jason Tan, Jay Bazuzi, Jeremy Volkman, jheaff1, Jiawen Chen, Joel Williamson, John Laxson, John Millikin, Jonathan Gerrish, Jon Shea, juanchoviedo, Kaiqin Chen, Keith Smiley, Ken Micklas, Kevin Lin, Kiron, Krishna Ersson, kshyanashree, lihu, Luc Bertrand, Luis Fernando Pino Duque, Marek uppa, Matt Clarkson, Matt Mackay, Michael P. Nitowski, Mikhail Balabin, Mostyn Bramley-Moore, Nick Korostelev, Nitesh Anandan, Niyas Sait, Noa Resare, Oscar Bonilla, Patrick Balestra, Paul Tarjan, Peter Mounce, Philipp Schrader, Pras Velagapudi, Rahul Butani, Rifqi Mulya Fahmi, Roman Salvador, rustberry, Ryan Beasley, Ryan Schmidt, Sahin Yort, Saleem Abdulrasool, Shuai Zhang, Simon Bjorklen, Son Luong Ngoc, Stephan Wolski, Steve Vermeulen, Stiopa Koltsov, Sven Tiffe, Takeo Sawada, Tao Wang, Ted Kaplan, Tetsuo Kiso, Thi Doan, Thomas Chen, ThomasCJY, Thomas, Thomas Zayouna, Timothe Peignier, Tomas Volf, Tom de Goede, Ulf Adams, Ulrik Falklof, Vasilios Pantazopoulos, Vladimir Tagakov, William Muir, Xavier Bonaventura, Xdng Yng, Yannic Bonenberger, Yannic Bonenberger, Yannic, Yesudeep Mangalapilly, Yuval K, Zhongpeng Lin.
10106
Bazel Release Systemd3d2c1b2022-09-19 17:02:50 +000010107## Release 5.3.1 (2022-09-19)
10108
10109```
10110Baseline: 8d66a4171baddcbe1569972f019e54130111202c
10111
10112Cherry picks:
10113
10114 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
10115 Remote: Cache merkle trees
10116 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
10117 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
10118 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
10119 Compile Apple tools as fat binaries if possible
10120 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
10121 Add protobuf as a well known module
10122 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
10123 Remote: Merge target-level exec_properties with
10124 --remote_default_exec_properties
10125 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
10126 Add -no_uuid for hermetic macOS toolchain setup
10127 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
10128 Remote: Fixes an issue when --experimental_remote_cache_async
10129 encounter flaky tests.
10130 + 77a002cce050e861fcc87c89acf7768aa5c97124:
10131 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
10132 has …
10133 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
10134 Fixes for the Starlark transition hash computation (#14251)
10135 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
10136 Do location expansion in copts of objc_library
10137 + 50274a9f714616d4735a560db7f617e53fb8d01b:
10138 [5.x] Remote: Add support for compression on gRPC cache (#14277)
10139 + 61bf2e5b5181cbe34a2f0d584053570943881804:
10140 Automated rollback of commit
10141 34c71465f84fa780217926db2e8e5ca3d6d4568c.
10142 + 79888fe7369479c398bafe064daa19a7ae30f710:
10143 Silence a zstd-jni GCC warning.
10144 + 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
10145 Remote: Limit max number of gRPC connections by
10146 --remote_max_connections.
10147 + fd727ec96d861573dcbad3249d727a94eff84789:
10148 Do location expansion in copts of objc_library
10149 + 23d096931be9b7247eafa750999dd7feadde14c1:
10150 Fix _is_shared_library_extension_valid
10151 + 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
10152 Remove merging of java_outputs in JavaPluginInfo.
10153 + cea5f4f499aa832cf90c68898671869ce79d63f2:
10154 Cherrypick Bzlmod documentation (#14301)
10155 + 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
10156 Format work requests according to ndjson spec
10157 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
10158 Enable user_link_flags_feature for macosx cc_toolchain_config
10159 + 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
10160 Remote: Use Action's salt field to differentiate cache across
10161 workspaces.
10162 + f94898915268be5670fb1e93a16c03e9b14d2a58:
10163 [5.x] Remote: Fix "file not found" error when remote cache is
10164 changed from enabled to disabled. (#14321)
10165 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
10166 Delete marker file before fetching an external repository
10167 + c05c6261cdb2cacb7c9881c255c0ada435ab5182:
10168 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
10169 + d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
10170 Fix remote spawn tests for remote_merkle_tree_cache=true
10171 + 59e16e944200555da377799aa0d9e8d0674d2e27:
10172 Show skipped tests as a warning
10173 + 76b3c242831f8e88835e3002a831a185a41fcc52:
10174 Build xcode-locator as a universal binary
10175 + aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
10176 Exit collect_coverage.sh early if LCOV_MERGER is not set.
10177 + 4256d46327bad8638df91be1a5d4ef83b12b74c7:
10178 Automated rollback of commit
10179 d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
10180 + dce24350befd08216b3910ae343670015444ff81:
10181 [apple] fix issues compiling C in objc_library for watchos/armv7k
10182 + bfc24139d93f8643686d91596ba347df2e01966a:
10183 5.x: Remote: Ignore blobs referenced in BEP if the generating
10184 action cannot be cached remotely. (#14389)
10185 + 5aef53a8884038f3c9f06e6dddb9372196253378:
10186 Remote: Don't blocking-get when acquiring gRPC connections.
10187 (#14420)
10188 + 005361c895da334beb873901e93aff06d180256e:
10189 Disable IncludeValidation for ObjC in bazel
10190 + d703b7b4f09fb3c389f99e52bac1f23930280b56:
10191 Update java_tools v11.6
10192 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
10193 Stop remote blob upload if upload is complete. (#14467)
10194 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
10195 [5.x] Make remote BES uploader better (#14472)
10196 + 2edab739e1f61fe8813230b03396ca46f0790089:
10197 Avoid too verbose warnings in terminal when cache issues
10198 + 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
10199 Rename --project_id to --bes_instance_name
10200 + c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
10201 Automated rollback of commit
10202 bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
10203 + b341802700484d11c775bf02d80f43ba3f33b218:
10204 [apple] support watchos_arm64 in toolchain
10205 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
10206 Disable implicitly collecting baseline coverage for toolchain
10207 targets.
10208 + 302971e1b3d803069ac949c0085c0d2a3916c8ab:
10209 Automated rollback of commit
10210 7d09b4a15985052670244c277e4357557b4d0039.
10211 + 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
10212 Bzlmod: Starlarkify default attr values for TypeCheckedTags
10213 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
10214 Fix build after rc4 cherrypicks (#14581)
10215 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
10216 Release 5.0.0 (2022-01-19)
10217 + 486d153d1981c3f47129f675de20189667667fa7:
10218 Find runfiles in directories that are themselves runfiles
10219 + 0de7bb95022057e8b89334f44759cf6f950e131f:
10220 Don't resolve symlinks for --sandbox_base
10221 + 8b60c90f3641591b65c4e153113aea562f1fab94:
10222 Remove uses of -lstdc++ on darwin
10223 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
10224 Allow Label instances as keys in select (#14755)
10225 + 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
10226 Remote: Only waits for background tasks from remote execution.
10227 + 8734ccf9847eafb7193388cd9c6fa78faa78283f:
10228 Add the default solib dir to the rpath for cc_imports with
10229 transitions
10230 + 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
10231 Flip --experimental_worker_allow_json_protocol
10232 + fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
10233 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
10234 cpu for tools when host cpu and exec cpu are different
10235 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
10236 Propagate --experimental_cc_implementation_deps to host config
10237 + 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
10238 Support select() on constraint_value for aliases.
10239 + 67a133b431ccece22b7dd9a72f0837cff77d4360:
10240 Improve documentation for select()
10241 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
10242 Cherrypicks for experimental cc_shared_library (#14773)
10243 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
10244 [apple] support tvos_sim_arm64 in toolchain (#14779)
10245 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
10246 Cherry pick win arm64 (#14794)
10247 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
10248 [5.1.0] cherrypick subpackages support (#14780)
10249 + 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
10250 Add a helper method for rules to depend on the cpp toolchain
10251 type.
10252 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
10253 UrlRewriter should be able to load credentials from .netrc
10254 (#14834)
10255 + 32d1606dac2fea730abe174c41870b7ee70ae041:
10256 Add "arch" struct field to repository_os
10257 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
10258 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
10259 + c2ddbd1954af5baab63b93f2b055a410a27832c8:
10260 Ignore missing include directory in JDK distribution.
10261 + 16de03595e21f7bf31818e717505b23c953b3b7d:
10262 Fix bazel coverage false negative
10263 + 0c74741742301abcf67452a7f591daec1c3a7635:
10264 Remote: Postpone the block waiting in `afterCommand` to
10265 `BlockWaitingModule` (#14833)
10266 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
10267 Switch to `ProcessHandle` for getting the PID (#14842)
10268 + a987b98ea0d6da2656c4115568ef9cbe8a164550:
10269 Fix uses of std++ on bsd
10270 + d184e4883bb7fc21de2f7aeea4304994de27e9ea:
10271 Remote: handle early return of compressed blobs uploads
10272 + 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
10273 Add removeprefix/removesuffix to Starlark strings
10274 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
10275 Fix default CPU for macOS and iOS (#14923)
10276 + cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
10277 Add paramfile support for def_parser, since in rare cases on
10278 Windows command line character limit was reached.
10279 + 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
10280 Normalize rpath entries to guard against missing default solib
10281 dir
10282 + 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
10283 Fix aggressive params file assumption
10284 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
10285 Fix precompiled libs not in runfiles of cc_shared_library
10286 (#14943)
10287 + 764614e0f0287125269e7a92e909a44624bcb360:
10288 Bzlmod: Allow multiple `use_extension`s on the same extension
10289 (#14945)
10290 + fa761f84994f18db383fbe9aaea524e4385da13a:
10291 Fix typo in `apple_common.platform` docs
10292 + f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
10293 Yield a Proxy for addresses without protocol
10294 + 8cefb8bed4ac82df8640682517372a9249732352:
10295 Avoid merging URLs in HttpUtils
10296 + b4804807fc2c184cc36df9e69e472942c01941b8:
10297 Make protocOpts() public. (#14952)
10298 + 113eaca5862c48797654ae2a3acbb6e15d761485:
10299 Do not hide BulkTransferException messages when there were more
10300 than one exception
10301 + b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
10302 merkle_tree_cache: change default size to 1000
10303 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
10304 Add --experimental_repository_cache_urls_as_default_canonical_id
10305 to help detect broken repository URLs (#14989)
10306 + f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
10307 Expose the logic to read user netrc file
10308 + b858ec39aebd7e586af5438aa2035db2adebf9a4:
10309 Correct cpu and os values of `local_config_cc_toolchains` targets
10310 + 5e79972c05d89280f0cf1fa620f807366847bac6:
10311 Expose CoverageOutputGenerator on a Fragment (#14997)
10312 + 78f03110e0dab42f37e427fd524e72706e036d74:
10313 Correct error runfiles cc_shared_library (#14998)
10314 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
10315 [5.1] Adding Starlark dependencies to the package //external
10316 (#14991)
10317 + a73aa12be65454ac8cfb5a8f3e056c420402f997:
10318 Remote: Fix crashes with InterruptedException when using http
10319 cache.
10320 + f8707c07f153ac4ac2ec4b210321f1a16343006d:
10321 Account for interface libraries in cc_shared_library
10322 + a570f5fdb1618a6c272d18bebaa712d3b2af3975:
10323 Fix coverage runfiles directory issue
10324 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
10325 Do not validate input-only settings in transitions (#15048)
10326 + 71747ccc9d0032a865854613329362563c0574df:
10327 Filter out system headers on macOS.
10328 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
10329 Update Bazel bootstrap documentation and remove obsolete flags.
10330 (#15065)
10331 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
10332 [5.1] Undocument --bes_best_effort (#15066)
10333 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
10334 Fix conflicting actions error when specifying
10335 --host_macos_minimum_os (#15068)
10336 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
10337 [5.1] Remote: Action should not be successful and cached if
10338 outputs were not created (#15071)
10339 + 00d74ff737cccd60305ee58d85313556a077152a:
10340 Support decompressing zstd tar archives for repository rules.
10341 + f5857830bb68bd05ffc257506575ed37a8128933:
10342 Remote: Don't check TreeArtifact output
10343 + efb2b80953983dce499d453a9f55a74ffaf8c42d:
10344 osx_cc_wrapper: Only expand existing response files
10345 + c771c43b870fb8618db7bdab6725ab40cac4976d:
10346 Remote: Fix crashes by InterruptedException when dynamic
10347 execution is enabled. (#15091)
10348 + 3785677cc84fc4024fda85575c05efbde5d512fc:
10349 Use python3 on macOS
10350 + 815d9e499a32fd4d87525ac0c698c293cf26433d:
10351 Release 5.1.0 (2022-03-24)
10352 + 1fbb69e366034484887e00c6006c7b79508765ed:
10353 Prepare 5.1.1 release
10354 + df153df9656e0e197f67622bb11f7d77e19238a0:
10355 Fix CODEOWNERS syntax
10356 + 2b92a3111e83a4d14934059afd0f51161a41276f:
10357 Remote: Don't check declared outputs for failed action
10358 + b47aa71b21d93c9499103e9a37a6c2ffa79865b9:
10359 Upgrade abseil version to the latest
10360 + c49c45d8dac87d21cf2b6a176ddd07f2c9f63414:
10361 Revert default export all symbols on Windows
10362 + 7d3fb993f55b35081786c3fe00cf3bebb89574f3:
10363 Support ZIP files with total number of disks = 0
10364 + 0f5dc111be06b2ee8694640f400b58e12bfa5fea:
10365 Release 5.1.1 (2022-04-08)
10366 + 2422cfb3e5d92d46f9065b2b1e442823a965faf7:
10367 Update CODEOWNERS
10368 + bbcff1802423fca7ee5bd6a3e527c12d6d7d80ba:
10369 [5.2.0] Update java_tools 11.7.1 (#15231)
10370 + 9c98120f33579b72561e02826d9fccf222eccb3c:
10371 Add support for .ar archives (and .deb files)
10372 + d3435b09d89f25bf5008ef3b9c870c835d51a8da:
10373 Seperate GetSelfPath implementation for Blaze and Bazel
10374 + c94572bea5ce6bdc0ccda9789e5be6fb3f4c173b:
10375 Include jdk.crypto.mscapi in minimized Windows embedded JDK
10376 + 299022ca2dc49b6cb27b2674f933755306ae8b9b:
10377 remote: Proactively close the ZstdInputStream in
10378 ZstdDecompressingOutputStream.
10379 + 27707995cc6576ed1f51fbdb199ff8512e8418c9:
10380 Collect coverage from cc_binary data deps of java_test
10381 + 3442179d240e01ef13b0fa7814db7366bad5ffac:
10382 Configure Apple crosstool to return a complete target triple
10383 that includes minimum OS version and target environment
10384 + bb6f1a7ce79168055ccd62629da07d46a52b930d:
10385 Collect C++ lcov coverage if runtime object not in runfiles
10386 + dbb6e9954b6e4423f727feb2719ffc75a93b514b:
10387 Fixing dependencies of //external package
10388 + f0213bbf730c4a5d1a31e65bc9c01fbb55a6edb3:
10389 [5.2] Upgrade Google Auth Version (#15383)
10390 + a1a74c9919e03e09ef7c6ae13f38f48eea80ead1:
10391 Fix chocolatey package - docsUrl must not 404 (#15395)
10392 + fe644bee95c14d461e0d1e3cccaa8bbcd57bcd8d:
10393 Fix cache leak when applying transitions when only a rule's
10394 attributes change.
10395 + ad74d5243917bb27a37e38d151a4a3c8a49947eb:
10396 Fix checking remote cache for omitted files in buildevent file
10397 (#15405)
10398 + ac219103d8798965b775db548d7b9214ecd78f73:
10399 fix(bzlmod): throw on json parse exception
10400 + 3d85b88609a362857d8ee3c0432a37d30268a8a2:
10401 Add a flag to expose undeclared test outputs in unzipped form.
10402 (#15431)
10403 + abd7a9f70c3dfe96724a692dc7dc04ff33bdece1:
10404 Remove -U_FORTIFY_SOURCE when thin_lto is enabled (#15433)
10405 + 53b9cb8637c0faddc6b122a1daab72bcc274bdec:
10406 Catch NumberFormatException while trying to parse thread id.
10407 + 19740b55ebc283b7ec42b359bcd4c9096facfdd5:
10408 Improve the --sandbox_debug error message
10409 + 0a2a43f9aab1e3875f03f643f6414eb67834c883:
10410 Set keywords on appropriate lifecycle events.
10411 + 394ddb82b311ea7edbe2522736b0b0202903ddb6:
10412 Record additional profiling information for remotely executed
10413 actions.
10414 + 652b48e567fcb30768dfc2eddee5f04bf6b5d65b:
10415 Fix downloading remote execution output files inside output
10416 dirs. (#15444)
10417 + 73f1ecbc1cb00e16ceda4b582f4d57268f8701cd:
10418 Fix android emulator darwin_arm64 select
10419 + 2649c7c4adef0ebf9bca8fe46aa97304b22de522:
10420 Fix --use_top_level_targets_for_symlinks with aliases (#15446)
10421 + fa1081c1f3dce7324a1da59c40d1a1a3533c7047:
10422 Filter libtool warning about table of contents
10423 + 26f878325e915e0905626a0e4c8bbacffd72f875:
10424 Unify sandbox/remote handling of empty TreeArtifact inputs
10425 (#15449)
10426 + 6b21b7773157a1eebd3dfe79ff4c4ee750059daf:
10427 Revert "Fixes incorrect install names on darwin platforms"
10428 + e133e66f715bac17bf5848e4440c089a8c8d3fd9:
10429 config doesn't error on duplicate `--define` values (#15473)
10430 + 84d59176622b76223828e61709179dbd5f0c9f8d:
10431 Collect coverage from cc_binary data deps of py_test (#15298)
10432 + 519d2daacfff3de6ffabfc5827621fa835e1c815:
10433 SolibSymlinkAction does not need exec platform or properties
10434 + 6e54699884cfad49d4e8f6dd59a4050bc95c4edf:
10435 Let Starlark tests inherit env variables (#15217)
10436 + 9610ae889e6fd45280c5beb7fe8f5bef2d736878:
10437 Update PythonZipper action to use CommandLineItem.CapturingMapFn
10438 + 2f1ff6fa17c3c30b2533bffe81f40eab06b453b9:
10439 Make `coverage --combined_report=lcov` skip incompatible tests
10440 + 9fad5a3dc93cd436a5712c46e6c98d3995428ddb:
10441 Disable ReturnValueIgnored checks to unblock java_tools release
10442 + 0120118893261968bdf116ef215655c428428fa8:
10443 Bump the limit of Bazel install base size (#15585)
10444 + 668805aace9bf96f78595fc2a122027a3000ceac:
10445 Upgrade zlib to 1.2.12
10446 + 4d900ceea12919ad62012830a95e51f9ec1a48bb:
10447 [5.2] Remote: Fix a bug that outputs of actions tagged with
10448 no-remote are u... (#15453)
10449 + b703cb9b999e243d776b7620468e48f450c0ce3a:
10450 Add feature to produce serialized diagnostics files (#15600)
10451 + 2e8458b7810eab7829fc7d28af5c45b9af91ed7c:
10452 Release 5.2.0 (2022-06-07)
10453 + 536f8d97991d891fc7db333af1a5262497d85173:
10454 Fix fail message construction in cc_shared_library
10455 + 2d42925ae80c0fb007aa39f4e210122611897255:
10456 Define cc-compiler-darwin in Xcode toolchain
10457 + a1d7d1f69f82da1bdfa1cebd32356249127aea3b:
10458 Fix alwayslink in objc_import
10459 + d273cb62f43ef8169415cf60fc96e503ea2ad823:
10460 Unify URL/URLs parameter code across http_archive, http_file,
10461 http_jar
10462 + fea32be42928c84463aa1f335b5722a1f6b8c93a:
10463 Preserve --experimental_allow_unresolved_symlinks in exec cfg
10464 + e4bc370b226eb0cc536b55641640266345a214ec:
10465 Ck/cherry pick cc shared library (#15754)
10466 + dbdfa07e92f99497be9c14265611ad2920161483:
10467 Let Starlark executable rules specify their environment (#15766)
10468 + e2a6a2b130552db7521d3d4d854b9a651b1f4a3b:
10469 Fix string formatting when java_home path is missing.
10470 + d54a288e6c79c740b9c93dfc31ee345d6a5332af:
10471 Optionally enable LLVM profile continuous mode
10472 + ad17b44cdc192277fafb0d0e204962b2b924dba8:
10473 Print remote execution message when the action times out (#15772)
10474 + 240e3d1e1dbc74c7753dead6421d7c1b5fc28d09:
10475 Add missing line to cherrypick
10476 e4bc370b226eb0cc536b55641640266345a214ec (#15784)
10477 + 804b4747152a59bc2965be2db85839b8b2764fc7:
10478 Replace strdupa with strdup
10479 + 62be9ea29295fab5289bd5d1a0f13dc7d55a8bc0:
10480 Bzlmod: Better canonical repo names for modules with overrides
10481 (#15793)
10482 + d4663a1c950d618c5b15a3e00fb733987cbf45cc:
10483 Add repo env test (#15768)
10484 + 594962cb283dcd71b736e0450453903911a8c85a:
10485 Add is_root struct field to bazel_module (#15815)
10486 + 3dd2b932d42fe86112899550d21452409cb3c4b0:
10487 Fix null pointer crash with `bazel coverage` on only
10488 incompatible tests
10489 + 4175018b47800db28c390d39fefbd266b5d674bd:
10490 Add util for finding credential helper to use
10491 + 3ea9eb2e363860c9305a987fa22a059afd35598d:
10492 Merge ManifestMergerAction-related commits into release-5.3.0
10493 (#15824)
10494 + 64571a428ffe2bf09f1a5eea13e770a7d0381620:
10495 Ck/cherrypick 15669 (#15788)
10496 + 1404651cafe5c26c5dae469e9126de53c2f4f024:
10497 Create output directories for remote execution (#15818)
10498 + ae523f82d39daf01cf31e40733de0c6345f0935c:
10499 Use tree artifacts in bootclasspath rule
10500 + 37f181cb6ed0237f43d81159eb81b19d3b5f8e36:
10501 [credentialhelper] Add types to communicate with the subprocess
10502 + 06ca634e10f17023022ab591a55aabdd9fb57b12:
10503 Add a flag to force Bazel to download certain artifacts when
10504 using --remote_download_minimal (#15870)
10505 + d35f923b098e4dc9c90b1ab66b413c216bdee638:
10506 RemoteExecutionService: fix outputs not being uploaded
10507 + 78af34f9f25b0c8fbf597a794a5162f0014629c5:
10508 Cherry-pick proto_lang_toolchain Starlarkfication and
10509 proto_common module (#15854)
10510 + afb434da9da79b53da1ea4c7bcc00571dbea6d3f:
10511 Fix behavior of `print()` in module extensions
10512 + 6714c30507edc70ec84f8c97d47cffc497356c0b:
10513 [credentialhelper] Implement invoking credential helper as
10514 subprocess
10515 + 0f05904171d187e6abacb431b3d7494423b027ab:
10516 Add register_{execution_platforms,toolchains} directives to
10517 MODULE.bazel files (#15852)
10518 + 33516e27dc6ee6ab5c3b9dee739a267b08d26b6c:
10519 [remote] Improve .netrc test in RemoteModuleTest
10520 + aa2a1f3afe2f10baab5befcafb39df14cbffc743:
10521 Fix ZipDecompressor windows 0x80 (file attribute normal)
10522 + 30f16e53cb36a5d506665be7553e785d52772e2d:
10523 Replace uses of `cfg = "host"` with `cfg = "exec"` (#15922)
10524 + 2a8d0ad7103511a94382aef41821a315bf8144b7:
10525 target pattern file: allow comments
10526 + 6f732052654ec37192450c795bb28dd0aad559cd:
10527 Add factory for creating paths relative to well-known roots
10528 (#15931)
10529 + 32cc8e638b91816f427b74266f6a8da6fb605419:
10530 Update CODEOWNERS (#15910)
10531 + 63bc14b095f1ea4043024e7fe1f9c476968897c5:
10532 Implement native analysis_test call. (#15940)
10533 + 4df77f771e5cfdf4b614afd8934d00c2b2ff31d1:
10534 Increase osx_cc_configure timeouts
10535 + cdf01a39ab9def4d46f41595ac1ac9206a96d6f8:
10536 Allow string_list flags to be set via repeated flag uses
10537 + 05e758d4bc18fc9d9e189526381a06e4399056a2:
10538 [credentialhelper] Add parser for flag syntax (#15929)
10539 + e4ee34416ef18094496ab54446e70cb62cd509e6:
10540 Docs should mention the new no-remote-cache-upload tag (#15965)
10541 + 96d23d30cc80912b82a8fbab31c902e9db74b6ab:
10542 Add netrc support to --bes_backend (#15970)
10543 + c5bc34e5f1dd92703dd8f15f9f0409c49b778837:
10544 Add CommandLinePathFactory to CommandEnvironment (#15971)
10545 + 508f18576ab5327bd623db6b476511ac2089d0fa:
10546 Move newCredentialHelperProvider into GoogleAuthUtils (#15973)
10547 + 14c944a5386eccbcfbe8389afb6c518582b11270:
10548 Wire up credential helper to command-line flag(s) (#15976)
10549 + 04c373b708390341be4ceb8eb5b2f8561385cb11:
10550 Add `--output=files` mode to cquery (#15979)
10551 + edfe2a17e3434cce660757f59b14f2e9d6ab944e:
10552 Make cpp assembly file extensions case sensitive again
10553 + 4ae85387e69db73e507b4f18b36d3e2f799e5d34:
10554 Prevent aspects from executing on incompatible targets (#15984)
10555 + f440f8ec3f63e5d663e1f9d9614f05a39422102a:
10556 Remote: Fix performance regression in "upload missing inputs".
10557 (#15998)
10558 + 0109031a2818b217b78026055b972da5901656f5:
10559 Updated Codeowners file (#16032)
10560 + 6102d33bf0b72dc0fe9ada4c71113cbee3eb8187:
10561 Propagate the error message when a credential helper fails.
10562 (#16030)
10563 + a8dacc7832b04fe1756cd7adce72f2572f357eee:
10564 Migrate legacy desugar wrapper to new rlocation() (#16025)
10565 + 11368be4ac24108f18b1965162ad27f207c074f9:
10566 Correctly report errors thrown by CommandLinePathFactory#create.
10567 + 82452c7c372fb28485b0b5e0a98b471648f0dfd0:
10568 Fix an issue that
10569 `incompatible_remote_build_event_upload_respect_no_… (#16045)
10570 + e745468461f93839491a4f80d0c1883d9007f9c0:
10571 Fix rpath for binaries in external repositories (#16079)
10572 + 83041b145d3966eb353aacb22b7e33ad01d9a239:
10573 Refactor combined cache. (#16110)
10574 + c62496f7b76da473cb1102798373f552ba2f434d:
10575 C++: Add compound error linked statically but not exported
10576 (#16113)
10577 + 0f18786b09e9729d79c0f14f7843b4d8402b6115:
10578 Do not crash on URIs without a host component.
10579 + 9c0940df3c5962b2291e812600dd71731775d45b:
10580 Add profiler task for calling a credential helper.
10581 + 2ca1ab2c2c73d78021794f3099ee892cc73f515e:
10582 Make bazel_cc_code_coverage_test more robust against GCC version
10583 differences (#16254)
10584 + 1e25152906b668bbe56aa4c1773186af85335315:
10585 Fix local execution of external dynamically linked cc_* targets
10586 (#16253)
10587 + f6cccae5b6f9c0ad0e7d0bf7bd31ea1263449316:
10588 * add change to allow blaze info to skip Starlark build settings
10589 that start with --no prefix * add unit tests for both info and
10590 clean commands
10591```
10592
10593Important changes:
10594
10595 - alias() can now select() directly on constraint_value()
10596
10597 Fixes https://github.com/bazelbuild/bazel/issues/13047.
10598
10599 Closes #14310.
10600 - Fixed an issue where Bazel could erroneously report a test passes
10601 in coverage mode without actually running the test.
10602 - Make protocOpts() publicly accessible.
10603 - Add coverage configuration fragment, used to expose
10604 output_generator label.
10605 - Bazel now no longer includes system headers on macOS in coverage
10606 reports (#14969).
10607
10608 Closes #14971.
10609 - Starlark test rules can use the new inherited_environment
10610 parameter of testing.TestEnvironment to specify environment
10611 variables
10612 whose values should be inherited from the shell environment.
10613
10614 Closes #14849.
10615 - none
10616 RELNOTES:none
10617 - Enable merging permissions during Android manifest merging with
10618 the --merge_android_manifest_permissions flag.
10619 - Added new register_{execution_platforms,toolchains} directives to
10620 the MODULE.bazel file, to replace the
10621 {execution_platforms,toolchains}_to_register attributes on the
10622 module() directive.
10623 - Add support for fetching RPC credentials from credential helper.
10624
10625 Progress on https://github.com/bazelbuild/bazel/issues/15856
10626
10627 Closes #15947.
10628 - `cquery`'s new output mode
10629 [`--output=files`](https://bazel.build/docs/cquery#files-output)
10630 lists the output files of the targets matching the query. It
10631 takes the current value of `--output_groups` into account.
10632
10633 Closes #15552.
10634 - Fix for desugaring failure on Bazel+Android+Windows build
10635 scenario.
10636
10637This release contains contributions from many people at Google, as well as amberdixon, Andreas Fuchs, Benjamin Peterson, Brentley Jones, Chenchu Kolli, Dan Fleming, Danny Wolf, Emil Kattainen, Fabian Meumertzheim, Gowroji Sunil, hvadehra, Juh-Roch, Keith Smiley, kshyanashree, Niyas Sait, Noa Resare, Oliver Eikemeier, oquenchil, Peter Mounce, Philipp Schrader, Ryan Beasley, Thi Doãn, Xùdōng Yáng, Yannic, Zhongpeng Lin.
10638
Bazel Release System4b20e1a2022-09-19 17:23:50 +000010639## Release 5.3.1 (2022-09-19)
10640
10641```
10642Baseline: 8d66a4171baddcbe1569972f019e54130111202c
10643
10644Cherry picks:
10645
10646 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
10647 Remote: Cache merkle trees
10648 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
10649 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
10650 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
10651 Compile Apple tools as fat binaries if possible
10652 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
10653 Add protobuf as a well known module
10654 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
10655 Remote: Merge target-level exec_properties with
10656 --remote_default_exec_properties
10657 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
10658 Add -no_uuid for hermetic macOS toolchain setup
10659 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
10660 Remote: Fixes an issue when --experimental_remote_cache_async
10661 encounter flaky tests.
10662 + 77a002cce050e861fcc87c89acf7768aa5c97124:
10663 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
10664 has …
10665 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
10666 Fixes for the Starlark transition hash computation (#14251)
10667 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
10668 Do location expansion in copts of objc_library
10669 + 50274a9f714616d4735a560db7f617e53fb8d01b:
10670 [5.x] Remote: Add support for compression on gRPC cache (#14277)
10671 + 61bf2e5b5181cbe34a2f0d584053570943881804:
10672 Automated rollback of commit
10673 34c71465f84fa780217926db2e8e5ca3d6d4568c.
10674 + 79888fe7369479c398bafe064daa19a7ae30f710:
10675 Silence a zstd-jni GCC warning.
10676 + 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
10677 Remote: Limit max number of gRPC connections by
10678 --remote_max_connections.
10679 + fd727ec96d861573dcbad3249d727a94eff84789:
10680 Do location expansion in copts of objc_library
10681 + 23d096931be9b7247eafa750999dd7feadde14c1:
10682 Fix _is_shared_library_extension_valid
10683 + 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
10684 Remove merging of java_outputs in JavaPluginInfo.
10685 + cea5f4f499aa832cf90c68898671869ce79d63f2:
10686 Cherrypick Bzlmod documentation (#14301)
10687 + 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
10688 Format work requests according to ndjson spec
10689 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
10690 Enable user_link_flags_feature for macosx cc_toolchain_config
10691 + 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
10692 Remote: Use Action's salt field to differentiate cache across
10693 workspaces.
10694 + f94898915268be5670fb1e93a16c03e9b14d2a58:
10695 [5.x] Remote: Fix "file not found" error when remote cache is
10696 changed from enabled to disabled. (#14321)
10697 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
10698 Delete marker file before fetching an external repository
10699 + c05c6261cdb2cacb7c9881c255c0ada435ab5182:
10700 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
10701 + d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
10702 Fix remote spawn tests for remote_merkle_tree_cache=true
10703 + 59e16e944200555da377799aa0d9e8d0674d2e27:
10704 Show skipped tests as a warning
10705 + 76b3c242831f8e88835e3002a831a185a41fcc52:
10706 Build xcode-locator as a universal binary
10707 + aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
10708 Exit collect_coverage.sh early if LCOV_MERGER is not set.
10709 + 4256d46327bad8638df91be1a5d4ef83b12b74c7:
10710 Automated rollback of commit
10711 d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
10712 + dce24350befd08216b3910ae343670015444ff81:
10713 [apple] fix issues compiling C in objc_library for watchos/armv7k
10714 + bfc24139d93f8643686d91596ba347df2e01966a:
10715 5.x: Remote: Ignore blobs referenced in BEP if the generating
10716 action cannot be cached remotely. (#14389)
10717 + 5aef53a8884038f3c9f06e6dddb9372196253378:
10718 Remote: Don't blocking-get when acquiring gRPC connections.
10719 (#14420)
10720 + 005361c895da334beb873901e93aff06d180256e:
10721 Disable IncludeValidation for ObjC in bazel
10722 + d703b7b4f09fb3c389f99e52bac1f23930280b56:
10723 Update java_tools v11.6
10724 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
10725 Stop remote blob upload if upload is complete. (#14467)
10726 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
10727 [5.x] Make remote BES uploader better (#14472)
10728 + 2edab739e1f61fe8813230b03396ca46f0790089:
10729 Avoid too verbose warnings in terminal when cache issues
10730 + 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
10731 Rename --project_id to --bes_instance_name
10732 + c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
10733 Automated rollback of commit
10734 bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
10735 + b341802700484d11c775bf02d80f43ba3f33b218:
10736 [apple] support watchos_arm64 in toolchain
10737 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
10738 Disable implicitly collecting baseline coverage for toolchain
10739 targets.
10740 + 302971e1b3d803069ac949c0085c0d2a3916c8ab:
10741 Automated rollback of commit
10742 7d09b4a15985052670244c277e4357557b4d0039.
10743 + 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
10744 Bzlmod: Starlarkify default attr values for TypeCheckedTags
10745 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
10746 Fix build after rc4 cherrypicks (#14581)
10747 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
10748 Release 5.0.0 (2022-01-19)
10749 + 486d153d1981c3f47129f675de20189667667fa7:
10750 Find runfiles in directories that are themselves runfiles
10751 + 0de7bb95022057e8b89334f44759cf6f950e131f:
10752 Don't resolve symlinks for --sandbox_base
10753 + 8b60c90f3641591b65c4e153113aea562f1fab94:
10754 Remove uses of -lstdc++ on darwin
10755 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
10756 Allow Label instances as keys in select (#14755)
10757 + 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
10758 Remote: Only waits for background tasks from remote execution.
10759 + 8734ccf9847eafb7193388cd9c6fa78faa78283f:
10760 Add the default solib dir to the rpath for cc_imports with
10761 transitions
10762 + 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
10763 Flip --experimental_worker_allow_json_protocol
10764 + fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
10765 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
10766 cpu for tools when host cpu and exec cpu are different
10767 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
10768 Propagate --experimental_cc_implementation_deps to host config
10769 + 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
10770 Support select() on constraint_value for aliases.
10771 + 67a133b431ccece22b7dd9a72f0837cff77d4360:
10772 Improve documentation for select()
10773 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
10774 Cherrypicks for experimental cc_shared_library (#14773)
10775 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
10776 [apple] support tvos_sim_arm64 in toolchain (#14779)
10777 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
10778 Cherry pick win arm64 (#14794)
10779 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
10780 [5.1.0] cherrypick subpackages support (#14780)
10781 + 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
10782 Add a helper method for rules to depend on the cpp toolchain
10783 type.
10784 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
10785 UrlRewriter should be able to load credentials from .netrc
10786 (#14834)
10787 + 32d1606dac2fea730abe174c41870b7ee70ae041:
10788 Add "arch" struct field to repository_os
10789 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
10790 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
10791 + c2ddbd1954af5baab63b93f2b055a410a27832c8:
10792 Ignore missing include directory in JDK distribution.
10793 + 16de03595e21f7bf31818e717505b23c953b3b7d:
10794 Fix bazel coverage false negative
10795 + 0c74741742301abcf67452a7f591daec1c3a7635:
10796 Remote: Postpone the block waiting in `afterCommand` to
10797 `BlockWaitingModule` (#14833)
10798 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
10799 Switch to `ProcessHandle` for getting the PID (#14842)
10800 + a987b98ea0d6da2656c4115568ef9cbe8a164550:
10801 Fix uses of std++ on bsd
10802 + d184e4883bb7fc21de2f7aeea4304994de27e9ea:
10803 Remote: handle early return of compressed blobs uploads
10804 + 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
10805 Add removeprefix/removesuffix to Starlark strings
10806 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
10807 Fix default CPU for macOS and iOS (#14923)
10808 + cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
10809 Add paramfile support for def_parser, since in rare cases on
10810 Windows command line character limit was reached.
10811 + 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
10812 Normalize rpath entries to guard against missing default solib
10813 dir
10814 + 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
10815 Fix aggressive params file assumption
10816 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
10817 Fix precompiled libs not in runfiles of cc_shared_library
10818 (#14943)
10819 + 764614e0f0287125269e7a92e909a44624bcb360:
10820 Bzlmod: Allow multiple `use_extension`s on the same extension
10821 (#14945)
10822 + fa761f84994f18db383fbe9aaea524e4385da13a:
10823 Fix typo in `apple_common.platform` docs
10824 + f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
10825 Yield a Proxy for addresses without protocol
10826 + 8cefb8bed4ac82df8640682517372a9249732352:
10827 Avoid merging URLs in HttpUtils
10828 + b4804807fc2c184cc36df9e69e472942c01941b8:
10829 Make protocOpts() public. (#14952)
10830 + 113eaca5862c48797654ae2a3acbb6e15d761485:
10831 Do not hide BulkTransferException messages when there were more
10832 than one exception
10833 + b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
10834 merkle_tree_cache: change default size to 1000
10835 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
10836 Add --experimental_repository_cache_urls_as_default_canonical_id
10837 to help detect broken repository URLs (#14989)
10838 + f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
10839 Expose the logic to read user netrc file
10840 + b858ec39aebd7e586af5438aa2035db2adebf9a4:
10841 Correct cpu and os values of `local_config_cc_toolchains` targets
10842 + 5e79972c05d89280f0cf1fa620f807366847bac6:
10843 Expose CoverageOutputGenerator on a Fragment (#14997)
10844 + 78f03110e0dab42f37e427fd524e72706e036d74:
10845 Correct error runfiles cc_shared_library (#14998)
10846 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
10847 [5.1] Adding Starlark dependencies to the package //external
10848 (#14991)
10849 + a73aa12be65454ac8cfb5a8f3e056c420402f997:
10850 Remote: Fix crashes with InterruptedException when using http
10851 cache.
10852 + f8707c07f153ac4ac2ec4b210321f1a16343006d:
10853 Account for interface libraries in cc_shared_library
10854 + a570f5fdb1618a6c272d18bebaa712d3b2af3975:
10855 Fix coverage runfiles directory issue
10856 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
10857 Do not validate input-only settings in transitions (#15048)
10858 + 71747ccc9d0032a865854613329362563c0574df:
10859 Filter out system headers on macOS.
10860 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
10861 Update Bazel bootstrap documentation and remove obsolete flags.
10862 (#15065)
10863 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
10864 [5.1] Undocument --bes_best_effort (#15066)
10865 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
10866 Fix conflicting actions error when specifying
10867 --host_macos_minimum_os (#15068)
10868 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
10869 [5.1] Remote: Action should not be successful and cached if
10870 outputs were not created (#15071)
10871 + 00d74ff737cccd60305ee58d85313556a077152a:
10872 Support decompressing zstd tar archives for repository rules.
10873 + f5857830bb68bd05ffc257506575ed37a8128933:
10874 Remote: Don't check TreeArtifact output
10875 + efb2b80953983dce499d453a9f55a74ffaf8c42d:
10876 osx_cc_wrapper: Only expand existing response files
10877 + c771c43b870fb8618db7bdab6725ab40cac4976d:
10878 Remote: Fix crashes by InterruptedException when dynamic
10879 execution is enabled. (#15091)
10880 + 3785677cc84fc4024fda85575c05efbde5d512fc:
10881 Use python3 on macOS
10882 + 815d9e499a32fd4d87525ac0c698c293cf26433d:
10883 Release 5.1.0 (2022-03-24)
10884 + 1fbb69e366034484887e00c6006c7b79508765ed:
10885 Prepare 5.1.1 release
10886 + df153df9656e0e197f67622bb11f7d77e19238a0:
10887 Fix CODEOWNERS syntax
10888 + 2b92a3111e83a4d14934059afd0f51161a41276f:
10889 Remote: Don't check declared outputs for failed action
10890 + b47aa71b21d93c9499103e9a37a6c2ffa79865b9:
10891 Upgrade abseil version to the latest
10892 + c49c45d8dac87d21cf2b6a176ddd07f2c9f63414:
10893 Revert default export all symbols on Windows
10894 + 7d3fb993f55b35081786c3fe00cf3bebb89574f3:
10895 Support ZIP files with total number of disks = 0
10896 + 0f5dc111be06b2ee8694640f400b58e12bfa5fea:
10897 Release 5.1.1 (2022-04-08)
10898 + 2422cfb3e5d92d46f9065b2b1e442823a965faf7:
10899 Update CODEOWNERS
10900 + bbcff1802423fca7ee5bd6a3e527c12d6d7d80ba:
10901 [5.2.0] Update java_tools 11.7.1 (#15231)
10902 + 9c98120f33579b72561e02826d9fccf222eccb3c:
10903 Add support for .ar archives (and .deb files)
10904 + d3435b09d89f25bf5008ef3b9c870c835d51a8da:
10905 Seperate GetSelfPath implementation for Blaze and Bazel
10906 + c94572bea5ce6bdc0ccda9789e5be6fb3f4c173b:
10907 Include jdk.crypto.mscapi in minimized Windows embedded JDK
10908 + 299022ca2dc49b6cb27b2674f933755306ae8b9b:
10909 remote: Proactively close the ZstdInputStream in
10910 ZstdDecompressingOutputStream.
10911 + 27707995cc6576ed1f51fbdb199ff8512e8418c9:
10912 Collect coverage from cc_binary data deps of java_test
10913 + 3442179d240e01ef13b0fa7814db7366bad5ffac:
10914 Configure Apple crosstool to return a complete target triple
10915 that includes minimum OS version and target environment
10916 + bb6f1a7ce79168055ccd62629da07d46a52b930d:
10917 Collect C++ lcov coverage if runtime object not in runfiles
10918 + dbb6e9954b6e4423f727feb2719ffc75a93b514b:
10919 Fixing dependencies of //external package
10920 + f0213bbf730c4a5d1a31e65bc9c01fbb55a6edb3:
10921 [5.2] Upgrade Google Auth Version (#15383)
10922 + a1a74c9919e03e09ef7c6ae13f38f48eea80ead1:
10923 Fix chocolatey package - docsUrl must not 404 (#15395)
10924 + fe644bee95c14d461e0d1e3cccaa8bbcd57bcd8d:
10925 Fix cache leak when applying transitions when only a rule's
10926 attributes change.
10927 + ad74d5243917bb27a37e38d151a4a3c8a49947eb:
10928 Fix checking remote cache for omitted files in buildevent file
10929 (#15405)
10930 + ac219103d8798965b775db548d7b9214ecd78f73:
10931 fix(bzlmod): throw on json parse exception
10932 + 3d85b88609a362857d8ee3c0432a37d30268a8a2:
10933 Add a flag to expose undeclared test outputs in unzipped form.
10934 (#15431)
10935 + abd7a9f70c3dfe96724a692dc7dc04ff33bdece1:
10936 Remove -U_FORTIFY_SOURCE when thin_lto is enabled (#15433)
10937 + 53b9cb8637c0faddc6b122a1daab72bcc274bdec:
10938 Catch NumberFormatException while trying to parse thread id.
10939 + 19740b55ebc283b7ec42b359bcd4c9096facfdd5:
10940 Improve the --sandbox_debug error message
10941 + 0a2a43f9aab1e3875f03f643f6414eb67834c883:
10942 Set keywords on appropriate lifecycle events.
10943 + 394ddb82b311ea7edbe2522736b0b0202903ddb6:
10944 Record additional profiling information for remotely executed
10945 actions.
10946 + 652b48e567fcb30768dfc2eddee5f04bf6b5d65b:
10947 Fix downloading remote execution output files inside output
10948 dirs. (#15444)
10949 + 73f1ecbc1cb00e16ceda4b582f4d57268f8701cd:
10950 Fix android emulator darwin_arm64 select
10951 + 2649c7c4adef0ebf9bca8fe46aa97304b22de522:
10952 Fix --use_top_level_targets_for_symlinks with aliases (#15446)
10953 + fa1081c1f3dce7324a1da59c40d1a1a3533c7047:
10954 Filter libtool warning about table of contents
10955 + 26f878325e915e0905626a0e4c8bbacffd72f875:
10956 Unify sandbox/remote handling of empty TreeArtifact inputs
10957 (#15449)
10958 + 6b21b7773157a1eebd3dfe79ff4c4ee750059daf:
10959 Revert "Fixes incorrect install names on darwin platforms"
10960 + e133e66f715bac17bf5848e4440c089a8c8d3fd9:
10961 config doesn't error on duplicate `--define` values (#15473)
10962 + 84d59176622b76223828e61709179dbd5f0c9f8d:
10963 Collect coverage from cc_binary data deps of py_test (#15298)
10964 + 519d2daacfff3de6ffabfc5827621fa835e1c815:
10965 SolibSymlinkAction does not need exec platform or properties
10966 + 6e54699884cfad49d4e8f6dd59a4050bc95c4edf:
10967 Let Starlark tests inherit env variables (#15217)
10968 + 9610ae889e6fd45280c5beb7fe8f5bef2d736878:
10969 Update PythonZipper action to use CommandLineItem.CapturingMapFn
10970 + 2f1ff6fa17c3c30b2533bffe81f40eab06b453b9:
10971 Make `coverage --combined_report=lcov` skip incompatible tests
10972 + 9fad5a3dc93cd436a5712c46e6c98d3995428ddb:
10973 Disable ReturnValueIgnored checks to unblock java_tools release
10974 + 0120118893261968bdf116ef215655c428428fa8:
10975 Bump the limit of Bazel install base size (#15585)
10976 + 668805aace9bf96f78595fc2a122027a3000ceac:
10977 Upgrade zlib to 1.2.12
10978 + 4d900ceea12919ad62012830a95e51f9ec1a48bb:
10979 [5.2] Remote: Fix a bug that outputs of actions tagged with
10980 no-remote are u... (#15453)
10981 + b703cb9b999e243d776b7620468e48f450c0ce3a:
10982 Add feature to produce serialized diagnostics files (#15600)
10983 + 2e8458b7810eab7829fc7d28af5c45b9af91ed7c:
10984 Release 5.2.0 (2022-06-07)
10985 + 536f8d97991d891fc7db333af1a5262497d85173:
10986 Fix fail message construction in cc_shared_library
10987 + 2d42925ae80c0fb007aa39f4e210122611897255:
10988 Define cc-compiler-darwin in Xcode toolchain
10989 + a1d7d1f69f82da1bdfa1cebd32356249127aea3b:
10990 Fix alwayslink in objc_import
10991 + d273cb62f43ef8169415cf60fc96e503ea2ad823:
10992 Unify URL/URLs parameter code across http_archive, http_file,
10993 http_jar
10994 + fea32be42928c84463aa1f335b5722a1f6b8c93a:
10995 Preserve --experimental_allow_unresolved_symlinks in exec cfg
10996 + e4bc370b226eb0cc536b55641640266345a214ec:
10997 Ck/cherry pick cc shared library (#15754)
10998 + dbdfa07e92f99497be9c14265611ad2920161483:
10999 Let Starlark executable rules specify their environment (#15766)
11000 + e2a6a2b130552db7521d3d4d854b9a651b1f4a3b:
11001 Fix string formatting when java_home path is missing.
11002 + d54a288e6c79c740b9c93dfc31ee345d6a5332af:
11003 Optionally enable LLVM profile continuous mode
11004 + ad17b44cdc192277fafb0d0e204962b2b924dba8:
11005 Print remote execution message when the action times out (#15772)
11006 + 240e3d1e1dbc74c7753dead6421d7c1b5fc28d09:
11007 Add missing line to cherrypick
11008 e4bc370b226eb0cc536b55641640266345a214ec (#15784)
11009 + 804b4747152a59bc2965be2db85839b8b2764fc7:
11010 Replace strdupa with strdup
11011 + 62be9ea29295fab5289bd5d1a0f13dc7d55a8bc0:
11012 Bzlmod: Better canonical repo names for modules with overrides
11013 (#15793)
11014 + d4663a1c950d618c5b15a3e00fb733987cbf45cc:
11015 Add repo env test (#15768)
11016 + 594962cb283dcd71b736e0450453903911a8c85a:
11017 Add is_root struct field to bazel_module (#15815)
11018 + 3dd2b932d42fe86112899550d21452409cb3c4b0:
11019 Fix null pointer crash with `bazel coverage` on only
11020 incompatible tests
11021 + 4175018b47800db28c390d39fefbd266b5d674bd:
11022 Add util for finding credential helper to use
11023 + 3ea9eb2e363860c9305a987fa22a059afd35598d:
11024 Merge ManifestMergerAction-related commits into release-5.3.0
11025 (#15824)
11026 + 64571a428ffe2bf09f1a5eea13e770a7d0381620:
11027 Ck/cherrypick 15669 (#15788)
11028 + 1404651cafe5c26c5dae469e9126de53c2f4f024:
11029 Create output directories for remote execution (#15818)
11030 + ae523f82d39daf01cf31e40733de0c6345f0935c:
11031 Use tree artifacts in bootclasspath rule
11032 + 37f181cb6ed0237f43d81159eb81b19d3b5f8e36:
11033 [credentialhelper] Add types to communicate with the subprocess
11034 + 06ca634e10f17023022ab591a55aabdd9fb57b12:
11035 Add a flag to force Bazel to download certain artifacts when
11036 using --remote_download_minimal (#15870)
11037 + d35f923b098e4dc9c90b1ab66b413c216bdee638:
11038 RemoteExecutionService: fix outputs not being uploaded
11039 + 78af34f9f25b0c8fbf597a794a5162f0014629c5:
11040 Cherry-pick proto_lang_toolchain Starlarkfication and
11041 proto_common module (#15854)
11042 + afb434da9da79b53da1ea4c7bcc00571dbea6d3f:
11043 Fix behavior of `print()` in module extensions
11044 + 6714c30507edc70ec84f8c97d47cffc497356c0b:
11045 [credentialhelper] Implement invoking credential helper as
11046 subprocess
11047 + 0f05904171d187e6abacb431b3d7494423b027ab:
11048 Add register_{execution_platforms,toolchains} directives to
11049 MODULE.bazel files (#15852)
11050 + 33516e27dc6ee6ab5c3b9dee739a267b08d26b6c:
11051 [remote] Improve .netrc test in RemoteModuleTest
11052 + aa2a1f3afe2f10baab5befcafb39df14cbffc743:
11053 Fix ZipDecompressor windows 0x80 (file attribute normal)
11054 + 30f16e53cb36a5d506665be7553e785d52772e2d:
11055 Replace uses of `cfg = "host"` with `cfg = "exec"` (#15922)
11056 + 2a8d0ad7103511a94382aef41821a315bf8144b7:
11057 target pattern file: allow comments
11058 + 6f732052654ec37192450c795bb28dd0aad559cd:
11059 Add factory for creating paths relative to well-known roots
11060 (#15931)
11061 + 32cc8e638b91816f427b74266f6a8da6fb605419:
11062 Update CODEOWNERS (#15910)
11063 + 63bc14b095f1ea4043024e7fe1f9c476968897c5:
11064 Implement native analysis_test call. (#15940)
11065 + 4df77f771e5cfdf4b614afd8934d00c2b2ff31d1:
11066 Increase osx_cc_configure timeouts
11067 + cdf01a39ab9def4d46f41595ac1ac9206a96d6f8:
11068 Allow string_list flags to be set via repeated flag uses
11069 + 05e758d4bc18fc9d9e189526381a06e4399056a2:
11070 [credentialhelper] Add parser for flag syntax (#15929)
11071 + e4ee34416ef18094496ab54446e70cb62cd509e6:
11072 Docs should mention the new no-remote-cache-upload tag (#15965)
11073 + 96d23d30cc80912b82a8fbab31c902e9db74b6ab:
11074 Add netrc support to --bes_backend (#15970)
11075 + c5bc34e5f1dd92703dd8f15f9f0409c49b778837:
11076 Add CommandLinePathFactory to CommandEnvironment (#15971)
11077 + 508f18576ab5327bd623db6b476511ac2089d0fa:
11078 Move newCredentialHelperProvider into GoogleAuthUtils (#15973)
11079 + 14c944a5386eccbcfbe8389afb6c518582b11270:
11080 Wire up credential helper to command-line flag(s) (#15976)
11081 + 04c373b708390341be4ceb8eb5b2f8561385cb11:
11082 Add `--output=files` mode to cquery (#15979)
11083 + edfe2a17e3434cce660757f59b14f2e9d6ab944e:
11084 Make cpp assembly file extensions case sensitive again
11085 + 4ae85387e69db73e507b4f18b36d3e2f799e5d34:
11086 Prevent aspects from executing on incompatible targets (#15984)
11087 + f440f8ec3f63e5d663e1f9d9614f05a39422102a:
11088 Remote: Fix performance regression in "upload missing inputs".
11089 (#15998)
11090 + 0109031a2818b217b78026055b972da5901656f5:
11091 Updated Codeowners file (#16032)
11092 + 6102d33bf0b72dc0fe9ada4c71113cbee3eb8187:
11093 Propagate the error message when a credential helper fails.
11094 (#16030)
11095 + a8dacc7832b04fe1756cd7adce72f2572f357eee:
11096 Migrate legacy desugar wrapper to new rlocation() (#16025)
11097 + 11368be4ac24108f18b1965162ad27f207c074f9:
11098 Correctly report errors thrown by CommandLinePathFactory#create.
11099 + 82452c7c372fb28485b0b5e0a98b471648f0dfd0:
11100 Fix an issue that
11101 `incompatible_remote_build_event_upload_respect_no_… (#16045)
11102 + e745468461f93839491a4f80d0c1883d9007f9c0:
11103 Fix rpath for binaries in external repositories (#16079)
11104 + 83041b145d3966eb353aacb22b7e33ad01d9a239:
11105 Refactor combined cache. (#16110)
11106 + c62496f7b76da473cb1102798373f552ba2f434d:
11107 C++: Add compound error linked statically but not exported
11108 (#16113)
11109 + 0f18786b09e9729d79c0f14f7843b4d8402b6115:
11110 Do not crash on URIs without a host component.
11111 + 9c0940df3c5962b2291e812600dd71731775d45b:
11112 Add profiler task for calling a credential helper.
11113 + 2ca1ab2c2c73d78021794f3099ee892cc73f515e:
11114 Make bazel_cc_code_coverage_test more robust against GCC version
11115 differences (#16254)
11116 + 1e25152906b668bbe56aa4c1773186af85335315:
11117 Fix local execution of external dynamically linked cc_* targets
11118 (#16253)
11119 + f6cccae5b6f9c0ad0e7d0bf7bd31ea1263449316:
11120 * add change to allow blaze info to skip Starlark build settings
11121 that start with --no prefix * add unit tests for both info and
11122 clean commands
11123```
11124
11125Important changes:
11126
11127 - alias() can now select() directly on constraint_value()
11128
11129 Fixes https://github.com/bazelbuild/bazel/issues/13047.
11130
11131 Closes #14310.
11132 - Fixed an issue where Bazel could erroneously report a test passes
11133 in coverage mode without actually running the test.
11134 - Make protocOpts() publicly accessible.
11135 - Add coverage configuration fragment, used to expose
11136 output_generator label.
11137 - Bazel now no longer includes system headers on macOS in coverage
11138 reports (#14969).
11139
11140 Closes #14971.
11141 - Starlark test rules can use the new inherited_environment
11142 parameter of testing.TestEnvironment to specify environment
11143 variables
11144 whose values should be inherited from the shell environment.
11145
11146 Closes #14849.
11147 - none
11148 RELNOTES:none
11149 - Enable merging permissions during Android manifest merging with
11150 the --merge_android_manifest_permissions flag.
11151 - Added new register_{execution_platforms,toolchains} directives to
11152 the MODULE.bazel file, to replace the
11153 {execution_platforms,toolchains}_to_register attributes on the
11154 module() directive.
11155 - Add support for fetching RPC credentials from credential helper.
11156
11157 Progress on https://github.com/bazelbuild/bazel/issues/15856
11158
11159 Closes #15947.
11160 - `cquery`'s new output mode
11161 [`--output=files`](https://bazel.build/docs/cquery#files-output)
11162 lists the output files of the targets matching the query. It
11163 takes the current value of `--output_groups` into account.
11164
11165 Closes #15552.
11166 - Fix for desugaring failure on Bazel+Android+Windows build
11167 scenario.
11168
11169This release contains contributions from many people at Google, as well as amberdixon, Andreas Fuchs, Benjamin Peterson, Brentley Jones, Chenchu Kolli, Dan Fleming, Danny Wolf, Emil Kattainen, Fabian Meumertzheim, Gowroji Sunil, hvadehra, Juh-Roch, Keith Smiley, kshyanashree, Niyas Sait, Noa Resare, Oliver Eikemeier, oquenchil, Peter Mounce, Philipp Schrader, Ryan Beasley, Thi Doãn, Xùdōng Yáng, Yannic, Zhongpeng Lin.
11170
Bazel Release System2006da72022-09-15 17:59:43 +020011171## Release 6.0.0-pre.20220909.2 (2022-09-15)
11172
11173```
11174Baseline: d3bef49f9182f6bcb6f609530970a7945ce51cbf
11175```
11176
11177Incompatible changes:
11178
11179 - analysis_test moved into testing.analysis_test
11180
11181Important changes:
11182
11183 - selects() no longer produce irrelevant duplicate label checks
11184 - Adds a dexer output cache to CompatDexBuilder to improve build
11185 speed.
11186 - Improved error messages when analyzing inline bzl code
11187 - Improved error messages when analyzing inline bzl code
11188
11189This release contains contributions from many people at Google, as well as Alessandro Patti, Benjamin Peterson, Charles-Francois Natali, Emil Kattainen, Fabian Meumertzheim, James Broadhead, jheaff1, kshyanashree, Noa Resare, Philipp Schrader, Shuai Zhang, Xavier Bonaventura.
11190
Bazel Release System09978b62022-09-15 13:30:22 +020011191## Release 6.0.0-pre.20220825.4 (2022-09-15)
11192
11193```
11194Baseline: c92d0e1c0bfbc2573104ff09d8dec282e85cafa1
11195
11196Cherry picks:
11197
11198 + e898060863fa0579d45f67c2c998b6ef5289199b:
11199 Automated rollback of commit
11200 14a0d830b95ca1a3f15baa3f76d8aa55afa2fe20.
11201```
11202
11203Important changes:
11204
11205 - --experimental_enable_bzlmod has been renamed --enable_bzlmod,
11206 and still defaults to false.
11207
11208This release contains contributions from many people at Google, as well as Benjamin Peterson, Ed Schouten, Igor Nazarenko, John Millikin, Ken Micklas, Yannic.
11209
Bazel Release Systemf14a31d2022-09-01 18:33:13 +020011210## Release 6.0.0-pre.20220823.1 (2022-09-01)
11211
11212```
11213Baseline: ca95fecde07a28736ea815ec64bcd639a234d79c
11214```
11215
11216This release contains contributions from many people at Google, as well as Benjamin Peterson, Fabian Meumertzheim, Thomas.
11217
Bazel Release Systema6ffb5d2022-08-24 19:07:46 +020011218## Release 6.0.0-pre.20220818.1 (2022-08-24)
11219
11220```
11221Baseline: 62d1b0b2b6c9646855698b5d7f9515521bc37a45
11222```
11223
11224Incompatible changes:
11225
11226 - this incompatible change breaks old instances of http_archive
11227 that specified netrc as an absolute path. It is unlikely there
11228 are many instances in the wild since the path would refer to a
11229 netrc file inside the external repository by absolute path.
11230 Migration should be straightforward.
11231 - genrule switched to use exec transition instead of host. This can
11232 break targets with hardcoded output paths. To avoid using
11233 hardcoded paths use make variables, see
11234 https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
11235 defined_label_variables
11236 - this incompatible change breaks old instances of http_archive
11237 that specified netrc as an absolute path. It is unlikely there
11238 are many instances in the wild since...
11239 - Error Prone now checks for unused return values of additional
11240 methods on `java.lang.Object`, which can be disabled using
11241 `--javacopts=-Xep:ReturnValueIgnored:OFF`
11242 - Error Prone now checks for unused return values of additional
11243 methods on `java.lang.Object`, which can be disabled using
11244 `--javacopts=-Xep:ReturnValueIgnored:OFF`
11245 - The --incompatible_existing_rules_immutable_view flag has been
11246 flipped to true. See
11247 https://github.com/bazelbuild/bazel/issues/13907 for
11248 migration notes.
11249 - Split up the C++ archive from the C++ link action and set
11250 `CppArchive` as mnemonic.
11251 - workspace(managed_directories=) is not available anymore.
11252 - --legacy_important_outputs now has a default of false.
11253 - --legacy_important_outputs default reverted to true.
11254 - objc_library now requires CcInfo in its deps. If this breaks
11255 you, add empty CcInfo() to your rule.
11256 - Flag --experimental_local_memory_estimate removed.
11257 - Added a new flag
11258 --incompatible_unambiguous_label_stringification, which causes
11259 labels in the main repo to stringify into unambiguous forms
11260 starting with an @. See
11261 https://github.com/bazelbuild/bazel/issues/15916 for more
11262 information.
11263
11264Important changes:
11265
11266 - Deprecate --incompatible_applicable_licenses flag, in preparation
11267 for removal in Bazel 6.x.
11268 - Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
11269 - The Build Event Protocol now contains file digests and sizes
11270 along with the file name and URI.
11271 - Refactor system suspend event handling.
11272 - alias() can now select() directly on constraint_value()
11273 - Allow \a \b \f \v escape sequences in Starlark.
11274 - Match remote and local xcode version by most granular version.
11275 - Adds `--experimental_worker_multiplex_sandboxing` flag that
11276 controls whether to sandbox multiplex workers that support it.
11277 - provider() has a new parameter: init, a callback for performing
11278 pre-processing and validation of field values. Iff this parameter
11279 is set,
11280 provider() returns a tuple of 2 elements: the usual provider
11281 symbol (which,
11282 when called, invokes init) and a raw constructor (which bypasses
11283 init).
11284 - Tests that fail to create or complete their
11285 `TestAttemptContinuation` by
11286 throwing an `ExecException` will report an `INCOMPLETE` status.
11287 Previously, Bazel
11288 would fail to report any status for the test attempt.
11289 - Fixed an issue where Bazel could erroneously report a test passes
11290 in coverage mode without actually running the test.
11291 - Include more information about configurations in cquery proto
11292 formatted output. This deprecates the configuration field of
11293 AnalysisProtosV2.ConfiguredTarget, and adds a new field,
11294 configuration_id, to
11295 be used instead.
11296 - experimental cc_library.implementation_deps inverted to
11297 interface_deps
11298 - In aquery and cquery proto output, indicate if a configuration is
11299 a
11300 tool or non-tool configuration.
11301 - Include complete configurations in cquery proto output.
11302 - experimental cc_library.implementation_deps inverted to
11303 interface_deps
11304 - Make protocOpts() publicly accessible.
11305 - Add some documentation about how configuration information is
11306 conveyed in cquery proto output.
11307 - Introduces experimental static library linking API under
11308 apple_common.link_multi_arch_static_library
11309 - Further deprecation and removal of pkg_tar. Stop supporting
11310 legacy use of 'files' attribute, where it could be a list of
11311 labels instead of a map of paths to labels.
11312 - Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
11313 its purpose because --all_incompatible_changes would never set
11314 it. The last rule it gated (pkg_tar) is scheduled to be removed
11315 in Bazel 6.x.
11316 - Add coverage configuration fragment, used to expose
11317 output_generator label.
11318 - Bazel now no longer includes system headers on macOS in coverage
11319 reports (#14969).
11320 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
11321 $ANDROID_HOME.
11322 - The default dexer is now d8. dx can be optionally enabled using:
11323 --define=android_dexmerger_tool=dx_dexmerger \
11324 --define=android_incremental_dexing_tool=dx_dexbuilder \
11325 --define=android_standalone_dexing_tool=dx_compat_dx \
11326 --use_workers_with_dexbuilder
11327 - Packaging support for deploy JAR embedded JDK files (hermetic
11328 Java).
11329 - Don't stamp cc_common.link actions for tool dependencies.
11330 - Starlark test rules can use the new inherited_environment
11331 parameter of testing.TestEnvironment to specify environment
11332 variables
11333 whose values should be inherited from the shell environment.
11334 - Enable merging permissions during Android manifest merging with
11335 the --merge_android_manifest_permissions flag.
11336 - Allow specialization to work with constraint_values.
11337 - Bazel uses the D8 jar from Maven instead of the SDK.
11338 - Make ijar / java_import preserve classes with `@kotlin.Metadata`
11339 annotations
11340 - Switch cc_test implementation to Starlark. Note: cc_test will now
11341 link statically when _targeting_ Windows regardless of host
11342 platform (rather than always linking statically when Windows is
11343 the _host_).
11344 - Switch cc_test implementation to Starlark. Note: cc_test will now
11345 link statically when _targeting_ Windows regardless of host
11346 platform (rather than always linking statically when Windows is
11347 the _host_).
11348 - Add devtools/build/lib/worker:work_request_handlers to the remote
11349 android tools release package. This will be transitively packaged
11350 into all_android_tools.
11351 - Bazel uses the D8 jar from Maven instead of the SDK.
11352 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
11353 $ANDROID_HOME.
11354 - Advance android_tools_pkg version to 0.24.0.
11355 - Switch cc_test implementation to Starlark. Note: cc_test will now
11356 link statically when _targeting_ Windows regardless of host
11357 platform (rather
11358 than always linking statically when Windows is the _host_).
11359 - Bazel uses the D8 jar from Maven instead of the SDK.
11360 - "blaze config" now only reports info from the last build. To
11361 compare configurations across multiple builds, redirect "blaze
11362 config" output to a file and run your favorite diff tool.
11363 - The --incompatible_override_toolchain_transition flag is now
11364 always set, and will be removed in the future. Thus,
11365 --noincompatible_override_toolchain_transition has no effect, and
11366 the value of the incompatible_use_toolchain_transition parameter
11367 in aspect() and rule() builtins is ignored.
11368 - Switch cc_test implementation to Starlark. Note: cc_test will now
11369 link statically when _targeting_ Windows regardless of host
11370 platform (rather
11371 than always linking statically when Windows is the _host_).
11372 - Toolchain types may now be optional, in addition to mandatory.
11373 See https://bazel.build/docs/toolchains#optional-toolchains for
11374 further details.
11375 - Add six to deps of has_services=1 py_proto_librarys.
11376 - pkg_tar(symlinks) has been removed. Users needing that feature
11377 should
11378 migrate to @rules_pkg.
11379 - Aspects can now define and use exec groups using the same API as
11380 rules.
11381 - Removed the obsolete --incompatible_applicable_licenses flag. The
11382 feature is permanently enabled.
11383 - embedded_tools packages R8 desugarer again
11384 - Bazel now selects sh path based on execution platform instead of
11385 host platform, making it possible to execute sh actions in
11386 multiplatform builds. --shell_executable now only applies to
11387 actions configured for host.
11388 - labels in genquery.scope are no longer configured.
11389 - When Bzlmod is enabled, all Bzlmod-generated repos will have an
11390 extra '@' prepended to their names. This effectively enables the
11391 canonical label literal syntax for Bzlmod-generated repos
11392 (`@@canonicalRepoName//pkg:target`; see
11393 https://docs.google.com/document/d/1N81qfCa8oskCk5LqTW-LNthy6EBrDo
11394 t7bdUsjz6JFC4/edit?usp=sharing).
11395 - Exposed `CcSharedLibraryInfo` to Starlark builtins.
11396 - Enable --use_top_level_targets_for_symlinks by default.
11397 - Singlejar accepts runtime Created-By field
11398 - --noincompatible_disable_managed_directories, and with that,
11399 workspace(managed_directories=) is not supported anymore.
11400 - Bazel supports D8 desugaring, albeit without persistent workers
11401 - Remove mtime options from pkg_tar. Users should migrate to
11402 @rules_pkg.
11403 - Test for experimental multiplexed persistent resource processor.
11404 - Added new register_{execution_platforms,toolchains} directives to
11405 the MODULE.bazel file, to replace the
11406 {execution_platforms,toolchains}_to_register attributes on the
11407 module() directive.
11408 - The legacy pkg_tar no longer supports the ability to untar and
11409 repackage an input tar file (`deps` attribute). Users needed that
11410 capability must switch to github.com/bazelbuild/rules_pkg.
11411 - `cquery`'s new output mode
11412 [`--output=files`](https://bazel.build/docs/cquery#files-output)
11413 lists the output files of the targets matching the query. It
11414 takes the current value of `--output_groups` into account.
11415 - Change singlejar metadata to report Created-By Bazel
11416 - Add support for fetching RPC credentials from credential helper.
11417 - Revert interface_deps back to implementation_deps after problem
11418 reported in. Use `buildozer 'rename deps implementation_deps'
11419 //...:%cc_library; buildozer 'rename interface_deps deps'
11420 //...:%cc_library`
11421 - Fix for desugaring failure on Bazel+Android+Windows build
11422 scenario.
11423 - D8 is the default desugarer
11424 - Migrate main_dex_list_creator to D8 (DX deprecation)
11425
11426This release contains contributions from many people at Google, as well as Adam Azarchs, Adam Wolf, Albert Lloveras, Alessandro Patti, Alex Eagle, Alex Scott, Alex Torok, Andreas Fuchs, Andreas Herrmann, Andrew Katson, Andrew Klotz, Ara Nguyen, arunkumar9t2, arun.sampathkumar, Ast-x64, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Ben Lee, Bohdan Vanieiev, Bradley Burns, Brandon Duffany, Brandon Jacklyn, Brentley Jones, Brentley Jones, Chad Miller, Chris Clearwater, Chris Fredrickson, Christopher Peterson Sauer, Christopher Sauer, ckiffel, Cristian Hancila, crydell-ericsson, Dan Fleming, Daniel Wagner-Hall, Danny Wolf, David Ostrovsky, David Sanderson, Denys Kurylenko, dhmemi, Dimi Shahbaz, divanorama, dmaclach, Ed Schouten, Emil Kattainen, Eric Song, Fabian Brandstetter, Fabian Meumertzheim, floriographygoth, Fredrik Medley, George Prekas, gkgoat1, gkorlam, Greg Estren, Greg, Greg Roodt, Grzegorz Lukasik, Halil Sener, Hannes Kufler, homuler, hvadehra, hvd, Jan, Jason Tan, Jay Bazuzi, Jeremy Volkman, jheaff1, Jiawen Chen, Joel Williamson, John Laxson, John Millikin, Jonathan Gerrish, Jon Shea, juanchoviedo, Kaiqin Chen, Keith Smiley, Ken Micklas, Kevin Lin, Krishna Ersson, lihu, Luc Bertrand, Luis Fernando Pino Duque, Marek uppa, Matt Clarkson, Matt Mackay, Michael P. Nitowski, Mikhail Balabin, Mostyn Bramley-Moore, Nick Korostelev, Nitesh Anandan, Niyas Sait, Noa Resare, Oscar Bonilla, Patrick Balestra, Paul Tarjan, Peter Mounce, Philipp Schrader, Pras Velagapudi, Rahul Butani, Rifqi Mulya Fahmi, Roman Salvador, rustberry, Ryan Beasley, Ryan Schmidt, Sahin Yort, Saleem Abdulrasool, Simon Bjorklen, Son Luong Ngoc, Stephan Wolski, Steve Vermeulen, Stiopa Koltsov, Sven Tiffe, Takeo Sawada, Tao Wang, Ted Kaplan, Tetsuo Kiso, Thi Doan, Thomas Chen, ThomasCJY, Thomas Zayouna, Timothe Peignier, Tomas Volf, Tom de Goede, Ulf Adams, Ulrik Falklof, Vasilios Pantazopoulos, Vladimir Tagakov, William Muir, Xavier Bonaventura, Xdng Yng, Yannic Bonenberger, Yannic, Yesudeep Mangalapilly, Yuval K, Zhongpeng Lin.
11427
Bazel Release Systema8db2832022-08-22 18:33:45 +000011428## Release 5.3.0 (2022-08-22)
11429
11430```
11431Baseline: 8d66a4171baddcbe1569972f019e54130111202c
11432
11433Cherry picks:
11434
11435 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
11436 Remote: Cache merkle trees
11437 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
11438 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
11439 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
11440 Compile Apple tools as fat binaries if possible
11441 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
11442 Add protobuf as a well known module
11443 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
11444 Remote: Merge target-level exec_properties with
11445 --remote_default_exec_properties
11446 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
11447 Add -no_uuid for hermetic macOS toolchain setup
11448 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
11449 Remote: Fixes an issue when --experimental_remote_cache_async
11450 encounter flaky tests.
11451 + 77a002cce050e861fcc87c89acf7768aa5c97124:
11452 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
11453 has …
11454 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
11455 Fixes for the Starlark transition hash computation (#14251)
11456 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
11457 Do location expansion in copts of objc_library
11458 + 50274a9f714616d4735a560db7f617e53fb8d01b:
11459 [5.x] Remote: Add support for compression on gRPC cache (#14277)
11460 + 61bf2e5b5181cbe34a2f0d584053570943881804:
11461 Automated rollback of commit
11462 34c71465f84fa780217926db2e8e5ca3d6d4568c.
11463 + 79888fe7369479c398bafe064daa19a7ae30f710:
11464 Silence a zstd-jni GCC warning.
11465 + 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
11466 Remote: Limit max number of gRPC connections by
11467 --remote_max_connections.
11468 + fd727ec96d861573dcbad3249d727a94eff84789:
11469 Do location expansion in copts of objc_library
11470 + 23d096931be9b7247eafa750999dd7feadde14c1:
11471 Fix _is_shared_library_extension_valid
11472 + 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
11473 Remove merging of java_outputs in JavaPluginInfo.
11474 + cea5f4f499aa832cf90c68898671869ce79d63f2:
11475 Cherrypick Bzlmod documentation (#14301)
11476 + 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
11477 Format work requests according to ndjson spec
11478 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
11479 Enable user_link_flags_feature for macosx cc_toolchain_config
11480 + 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
11481 Remote: Use Action's salt field to differentiate cache across
11482 workspaces.
11483 + f94898915268be5670fb1e93a16c03e9b14d2a58:
11484 [5.x] Remote: Fix "file not found" error when remote cache is
11485 changed from enabled to disabled. (#14321)
11486 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
11487 Delete marker file before fetching an external repository
11488 + c05c6261cdb2cacb7c9881c255c0ada435ab5182:
11489 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
11490 + d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
11491 Fix remote spawn tests for remote_merkle_tree_cache=true
11492 + 59e16e944200555da377799aa0d9e8d0674d2e27:
11493 Show skipped tests as a warning
11494 + 76b3c242831f8e88835e3002a831a185a41fcc52:
11495 Build xcode-locator as a universal binary
11496 + aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
11497 Exit collect_coverage.sh early if LCOV_MERGER is not set.
11498 + 4256d46327bad8638df91be1a5d4ef83b12b74c7:
11499 Automated rollback of commit
11500 d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
11501 + dce24350befd08216b3910ae343670015444ff81:
11502 [apple] fix issues compiling C in objc_library for watchos/armv7k
11503 + bfc24139d93f8643686d91596ba347df2e01966a:
11504 5.x: Remote: Ignore blobs referenced in BEP if the generating
11505 action cannot be cached remotely. (#14389)
11506 + 5aef53a8884038f3c9f06e6dddb9372196253378:
11507 Remote: Don't blocking-get when acquiring gRPC connections.
11508 (#14420)
11509 + 005361c895da334beb873901e93aff06d180256e:
11510 Disable IncludeValidation for ObjC in bazel
11511 + d703b7b4f09fb3c389f99e52bac1f23930280b56:
11512 Update java_tools v11.6
11513 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
11514 Stop remote blob upload if upload is complete. (#14467)
11515 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
11516 [5.x] Make remote BES uploader better (#14472)
11517 + 2edab739e1f61fe8813230b03396ca46f0790089:
11518 Avoid too verbose warnings in terminal when cache issues
11519 + 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
11520 Rename --project_id to --bes_instance_name
11521 + c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
11522 Automated rollback of commit
11523 bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
11524 + b341802700484d11c775bf02d80f43ba3f33b218:
11525 [apple] support watchos_arm64 in toolchain
11526 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
11527 Disable implicitly collecting baseline coverage for toolchain
11528 targets.
11529 + 302971e1b3d803069ac949c0085c0d2a3916c8ab:
11530 Automated rollback of commit
11531 7d09b4a15985052670244c277e4357557b4d0039.
11532 + 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
11533 Bzlmod: Starlarkify default attr values for TypeCheckedTags
11534 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
11535 Fix build after rc4 cherrypicks (#14581)
11536 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
11537 Release 5.0.0 (2022-01-19)
11538 + 486d153d1981c3f47129f675de20189667667fa7:
11539 Find runfiles in directories that are themselves runfiles
11540 + 0de7bb95022057e8b89334f44759cf6f950e131f:
11541 Don't resolve symlinks for --sandbox_base
11542 + 8b60c90f3641591b65c4e153113aea562f1fab94:
11543 Remove uses of -lstdc++ on darwin
11544 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
11545 Allow Label instances as keys in select (#14755)
11546 + 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
11547 Remote: Only waits for background tasks from remote execution.
11548 + 8734ccf9847eafb7193388cd9c6fa78faa78283f:
11549 Add the default solib dir to the rpath for cc_imports with
11550 transitions
11551 + 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
11552 Flip --experimental_worker_allow_json_protocol
11553 + fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
11554 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
11555 cpu for tools when host cpu and exec cpu are different
11556 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
11557 Propagate --experimental_cc_implementation_deps to host config
11558 + 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
11559 Support select() on constraint_value for aliases.
11560 + 67a133b431ccece22b7dd9a72f0837cff77d4360:
11561 Improve documentation for select()
11562 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
11563 Cherrypicks for experimental cc_shared_library (#14773)
11564 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
11565 [apple] support tvos_sim_arm64 in toolchain (#14779)
11566 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
11567 Cherry pick win arm64 (#14794)
11568 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
11569 [5.1.0] cherrypick subpackages support (#14780)
11570 + 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
11571 Add a helper method for rules to depend on the cpp toolchain
11572 type.
11573 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
11574 UrlRewriter should be able to load credentials from .netrc
11575 (#14834)
11576 + 32d1606dac2fea730abe174c41870b7ee70ae041:
11577 Add "arch" struct field to repository_os
11578 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
11579 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
11580 + c2ddbd1954af5baab63b93f2b055a410a27832c8:
11581 Ignore missing include directory in JDK distribution.
11582 + 16de03595e21f7bf31818e717505b23c953b3b7d:
11583 Fix bazel coverage false negative
11584 + 0c74741742301abcf67452a7f591daec1c3a7635:
11585 Remote: Postpone the block waiting in `afterCommand` to
11586 `BlockWaitingModule` (#14833)
11587 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
11588 Switch to `ProcessHandle` for getting the PID (#14842)
11589 + a987b98ea0d6da2656c4115568ef9cbe8a164550:
11590 Fix uses of std++ on bsd
11591 + d184e4883bb7fc21de2f7aeea4304994de27e9ea:
11592 Remote: handle early return of compressed blobs uploads
11593 + 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
11594 Add removeprefix/removesuffix to Starlark strings
11595 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
11596 Fix default CPU for macOS and iOS (#14923)
11597 + cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
11598 Add paramfile support for def_parser, since in rare cases on
11599 Windows command line character limit was reached.
11600 + 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
11601 Normalize rpath entries to guard against missing default solib
11602 dir
11603 + 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
11604 Fix aggressive params file assumption
11605 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
11606 Fix precompiled libs not in runfiles of cc_shared_library
11607 (#14943)
11608 + 764614e0f0287125269e7a92e909a44624bcb360:
11609 Bzlmod: Allow multiple `use_extension`s on the same extension
11610 (#14945)
11611 + fa761f84994f18db383fbe9aaea524e4385da13a:
11612 Fix typo in `apple_common.platform` docs
11613 + f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
11614 Yield a Proxy for addresses without protocol
11615 + 8cefb8bed4ac82df8640682517372a9249732352:
11616 Avoid merging URLs in HttpUtils
11617 + b4804807fc2c184cc36df9e69e472942c01941b8:
11618 Make protocOpts() public. (#14952)
11619 + 113eaca5862c48797654ae2a3acbb6e15d761485:
11620 Do not hide BulkTransferException messages when there were more
11621 than one exception
11622 + b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
11623 merkle_tree_cache: change default size to 1000
11624 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
11625 Add --experimental_repository_cache_urls_as_default_canonical_id
11626 to help detect broken repository URLs (#14989)
11627 + f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
11628 Expose the logic to read user netrc file
11629 + b858ec39aebd7e586af5438aa2035db2adebf9a4:
11630 Correct cpu and os values of `local_config_cc_toolchains` targets
11631 + 5e79972c05d89280f0cf1fa620f807366847bac6:
11632 Expose CoverageOutputGenerator on a Fragment (#14997)
11633 + 78f03110e0dab42f37e427fd524e72706e036d74:
11634 Correct error runfiles cc_shared_library (#14998)
11635 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
11636 [5.1] Adding Starlark dependencies to the package //external
11637 (#14991)
11638 + a73aa12be65454ac8cfb5a8f3e056c420402f997:
11639 Remote: Fix crashes with InterruptedException when using http
11640 cache.
11641 + f8707c07f153ac4ac2ec4b210321f1a16343006d:
11642 Account for interface libraries in cc_shared_library
11643 + a570f5fdb1618a6c272d18bebaa712d3b2af3975:
11644 Fix coverage runfiles directory issue
11645 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
11646 Do not validate input-only settings in transitions (#15048)
11647 + 71747ccc9d0032a865854613329362563c0574df:
11648 Filter out system headers on macOS.
11649 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
11650 Update Bazel bootstrap documentation and remove obsolete flags.
11651 (#15065)
11652 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
11653 [5.1] Undocument --bes_best_effort (#15066)
11654 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
11655 Fix conflicting actions error when specifying
11656 --host_macos_minimum_os (#15068)
11657 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
11658 [5.1] Remote: Action should not be successful and cached if
11659 outputs were not created (#15071)
11660 + 00d74ff737cccd60305ee58d85313556a077152a:
11661 Support decompressing zstd tar archives for repository rules.
11662 + f5857830bb68bd05ffc257506575ed37a8128933:
11663 Remote: Don't check TreeArtifact output
11664 + efb2b80953983dce499d453a9f55a74ffaf8c42d:
11665 osx_cc_wrapper: Only expand existing response files
11666 + c771c43b870fb8618db7bdab6725ab40cac4976d:
11667 Remote: Fix crashes by InterruptedException when dynamic
11668 execution is enabled. (#15091)
11669 + 3785677cc84fc4024fda85575c05efbde5d512fc:
11670 Use python3 on macOS
11671 + 815d9e499a32fd4d87525ac0c698c293cf26433d:
11672 Release 5.1.0 (2022-03-24)
11673 + 1fbb69e366034484887e00c6006c7b79508765ed:
11674 Prepare 5.1.1 release
11675 + df153df9656e0e197f67622bb11f7d77e19238a0:
11676 Fix CODEOWNERS syntax
11677 + 2b92a3111e83a4d14934059afd0f51161a41276f:
11678 Remote: Don't check declared outputs for failed action
11679 + b47aa71b21d93c9499103e9a37a6c2ffa79865b9:
11680 Upgrade abseil version to the latest
11681 + c49c45d8dac87d21cf2b6a176ddd07f2c9f63414:
11682 Revert default export all symbols on Windows
11683 + 7d3fb993f55b35081786c3fe00cf3bebb89574f3:
11684 Support ZIP files with total number of disks = 0
11685 + 0f5dc111be06b2ee8694640f400b58e12bfa5fea:
11686 Release 5.1.1 (2022-04-08)
11687 + 2422cfb3e5d92d46f9065b2b1e442823a965faf7:
11688 Update CODEOWNERS
11689 + bbcff1802423fca7ee5bd6a3e527c12d6d7d80ba:
11690 [5.2.0] Update java_tools 11.7.1 (#15231)
11691 + 9c98120f33579b72561e02826d9fccf222eccb3c:
11692 Add support for .ar archives (and .deb files)
11693 + d3435b09d89f25bf5008ef3b9c870c835d51a8da:
11694 Seperate GetSelfPath implementation for Blaze and Bazel
11695 + c94572bea5ce6bdc0ccda9789e5be6fb3f4c173b:
11696 Include jdk.crypto.mscapi in minimized Windows embedded JDK
11697 + 299022ca2dc49b6cb27b2674f933755306ae8b9b:
11698 remote: Proactively close the ZstdInputStream in
11699 ZstdDecompressingOutputStream.
11700 + 27707995cc6576ed1f51fbdb199ff8512e8418c9:
11701 Collect coverage from cc_binary data deps of java_test
11702 + 3442179d240e01ef13b0fa7814db7366bad5ffac:
11703 Configure Apple crosstool to return a complete target triple
11704 that includes minimum OS version and target environment
11705 + bb6f1a7ce79168055ccd62629da07d46a52b930d:
11706 Collect C++ lcov coverage if runtime object not in runfiles
11707 + dbb6e9954b6e4423f727feb2719ffc75a93b514b:
11708 Fixing dependencies of //external package
11709 + f0213bbf730c4a5d1a31e65bc9c01fbb55a6edb3:
11710 [5.2] Upgrade Google Auth Version (#15383)
11711 + a1a74c9919e03e09ef7c6ae13f38f48eea80ead1:
11712 Fix chocolatey package - docsUrl must not 404 (#15395)
11713 + fe644bee95c14d461e0d1e3cccaa8bbcd57bcd8d:
11714 Fix cache leak when applying transitions when only a rule's
11715 attributes change.
11716 + ad74d5243917bb27a37e38d151a4a3c8a49947eb:
11717 Fix checking remote cache for omitted files in buildevent file
11718 (#15405)
11719 + ac219103d8798965b775db548d7b9214ecd78f73:
11720 fix(bzlmod): throw on json parse exception
11721 + 3d85b88609a362857d8ee3c0432a37d30268a8a2:
11722 Add a flag to expose undeclared test outputs in unzipped form.
11723 (#15431)
11724 + abd7a9f70c3dfe96724a692dc7dc04ff33bdece1:
11725 Remove -U_FORTIFY_SOURCE when thin_lto is enabled (#15433)
11726 + 53b9cb8637c0faddc6b122a1daab72bcc274bdec:
11727 Catch NumberFormatException while trying to parse thread id.
11728 + 19740b55ebc283b7ec42b359bcd4c9096facfdd5:
11729 Improve the --sandbox_debug error message
11730 + 0a2a43f9aab1e3875f03f643f6414eb67834c883:
11731 Set keywords on appropriate lifecycle events.
11732 + 394ddb82b311ea7edbe2522736b0b0202903ddb6:
11733 Record additional profiling information for remotely executed
11734 actions.
11735 + 652b48e567fcb30768dfc2eddee5f04bf6b5d65b:
11736 Fix downloading remote execution output files inside output
11737 dirs. (#15444)
11738 + 73f1ecbc1cb00e16ceda4b582f4d57268f8701cd:
11739 Fix android emulator darwin_arm64 select
11740 + 2649c7c4adef0ebf9bca8fe46aa97304b22de522:
11741 Fix --use_top_level_targets_for_symlinks with aliases (#15446)
11742 + fa1081c1f3dce7324a1da59c40d1a1a3533c7047:
11743 Filter libtool warning about table of contents
11744 + 26f878325e915e0905626a0e4c8bbacffd72f875:
11745 Unify sandbox/remote handling of empty TreeArtifact inputs
11746 (#15449)
11747 + 6b21b7773157a1eebd3dfe79ff4c4ee750059daf:
11748 Revert "Fixes incorrect install names on darwin platforms"
11749 + e133e66f715bac17bf5848e4440c089a8c8d3fd9:
11750 config doesn't error on duplicate `--define` values (#15473)
11751 + 84d59176622b76223828e61709179dbd5f0c9f8d:
11752 Collect coverage from cc_binary data deps of py_test (#15298)
11753 + 519d2daacfff3de6ffabfc5827621fa835e1c815:
11754 SolibSymlinkAction does not need exec platform or properties
11755 + 6e54699884cfad49d4e8f6dd59a4050bc95c4edf:
11756 Let Starlark tests inherit env variables (#15217)
11757 + 9610ae889e6fd45280c5beb7fe8f5bef2d736878:
11758 Update PythonZipper action to use CommandLineItem.CapturingMapFn
11759 + 2f1ff6fa17c3c30b2533bffe81f40eab06b453b9:
11760 Make `coverage --combined_report=lcov` skip incompatible tests
11761 + 9fad5a3dc93cd436a5712c46e6c98d3995428ddb:
11762 Disable ReturnValueIgnored checks to unblock java_tools release
11763 + 0120118893261968bdf116ef215655c428428fa8:
11764 Bump the limit of Bazel install base size (#15585)
11765 + 668805aace9bf96f78595fc2a122027a3000ceac:
11766 Upgrade zlib to 1.2.12
11767 + 4d900ceea12919ad62012830a95e51f9ec1a48bb:
11768 [5.2] Remote: Fix a bug that outputs of actions tagged with
11769 no-remote are u... (#15453)
11770 + b703cb9b999e243d776b7620468e48f450c0ce3a:
11771 Add feature to produce serialized diagnostics files (#15600)
11772 + 2e8458b7810eab7829fc7d28af5c45b9af91ed7c:
11773 Release 5.2.0 (2022-06-07)
11774 + 536f8d97991d891fc7db333af1a5262497d85173:
11775 Fix fail message construction in cc_shared_library
11776 + 2d42925ae80c0fb007aa39f4e210122611897255:
11777 Define cc-compiler-darwin in Xcode toolchain
11778 + a1d7d1f69f82da1bdfa1cebd32356249127aea3b:
11779 Fix alwayslink in objc_import
11780 + d273cb62f43ef8169415cf60fc96e503ea2ad823:
11781 Unify URL/URLs parameter code across http_archive, http_file,
11782 http_jar
11783 + fea32be42928c84463aa1f335b5722a1f6b8c93a:
11784 Preserve --experimental_allow_unresolved_symlinks in exec cfg
11785 + e4bc370b226eb0cc536b55641640266345a214ec:
11786 Ck/cherry pick cc shared library (#15754)
11787 + dbdfa07e92f99497be9c14265611ad2920161483:
11788 Let Starlark executable rules specify their environment (#15766)
11789 + e2a6a2b130552db7521d3d4d854b9a651b1f4a3b:
11790 Fix string formatting when java_home path is missing.
11791 + d54a288e6c79c740b9c93dfc31ee345d6a5332af:
11792 Optionally enable LLVM profile continuous mode
11793 + ad17b44cdc192277fafb0d0e204962b2b924dba8:
11794 Print remote execution message when the action times out (#15772)
11795 + 240e3d1e1dbc74c7753dead6421d7c1b5fc28d09:
11796 Add missing line to cherrypick
11797 e4bc370b226eb0cc536b55641640266345a214ec (#15784)
11798 + 804b4747152a59bc2965be2db85839b8b2764fc7:
11799 Replace strdupa with strdup
11800 + 62be9ea29295fab5289bd5d1a0f13dc7d55a8bc0:
11801 Bzlmod: Better canonical repo names for modules with overrides
11802 (#15793)
11803 + d4663a1c950d618c5b15a3e00fb733987cbf45cc:
11804 Add repo env test (#15768)
11805 + 594962cb283dcd71b736e0450453903911a8c85a:
11806 Add is_root struct field to bazel_module (#15815)
11807 + 3dd2b932d42fe86112899550d21452409cb3c4b0:
11808 Fix null pointer crash with `bazel coverage` on only
11809 incompatible tests
11810 + 4175018b47800db28c390d39fefbd266b5d674bd:
11811 Add util for finding credential helper to use
11812 + 3ea9eb2e363860c9305a987fa22a059afd35598d:
11813 Merge ManifestMergerAction-related commits into release-5.3.0
11814 (#15824)
11815 + 64571a428ffe2bf09f1a5eea13e770a7d0381620:
11816 Ck/cherrypick 15669 (#15788)
11817 + 1404651cafe5c26c5dae469e9126de53c2f4f024:
11818 Create output directories for remote execution (#15818)
11819 + ae523f82d39daf01cf31e40733de0c6345f0935c:
11820 Use tree artifacts in bootclasspath rule
11821 + 37f181cb6ed0237f43d81159eb81b19d3b5f8e36:
11822 [credentialhelper] Add types to communicate with the subprocess
11823 + 06ca634e10f17023022ab591a55aabdd9fb57b12:
11824 Add a flag to force Bazel to download certain artifacts when
11825 using --remote_download_minimal (#15870)
11826 + d35f923b098e4dc9c90b1ab66b413c216bdee638:
11827 RemoteExecutionService: fix outputs not being uploaded
11828 + 78af34f9f25b0c8fbf597a794a5162f0014629c5:
11829 Cherry-pick proto_lang_toolchain Starlarkfication and
11830 proto_common module (#15854)
11831 + afb434da9da79b53da1ea4c7bcc00571dbea6d3f:
11832 Fix behavior of `print()` in module extensions
11833 + 6714c30507edc70ec84f8c97d47cffc497356c0b:
11834 [credentialhelper] Implement invoking credential helper as
11835 subprocess
11836 + 0f05904171d187e6abacb431b3d7494423b027ab:
11837 Add register_{execution_platforms,toolchains} directives to
11838 MODULE.bazel files (#15852)
11839 + 33516e27dc6ee6ab5c3b9dee739a267b08d26b6c:
11840 [remote] Improve .netrc test in RemoteModuleTest
11841 + aa2a1f3afe2f10baab5befcafb39df14cbffc743:
11842 Fix ZipDecompressor windows 0x80 (file attribute normal)
11843 + 30f16e53cb36a5d506665be7553e785d52772e2d:
11844 Replace uses of `cfg = "host"` with `cfg = "exec"` (#15922)
11845 + 2a8d0ad7103511a94382aef41821a315bf8144b7:
11846 target pattern file: allow comments
11847 + 6f732052654ec37192450c795bb28dd0aad559cd:
11848 Add factory for creating paths relative to well-known roots
11849 (#15931)
11850 + 32cc8e638b91816f427b74266f6a8da6fb605419:
11851 Update CODEOWNERS (#15910)
11852 + 63bc14b095f1ea4043024e7fe1f9c476968897c5:
11853 Implement native analysis_test call. (#15940)
11854 + 4df77f771e5cfdf4b614afd8934d00c2b2ff31d1:
11855 Increase osx_cc_configure timeouts
11856 + cdf01a39ab9def4d46f41595ac1ac9206a96d6f8:
11857 Allow string_list flags to be set via repeated flag uses
11858 + 05e758d4bc18fc9d9e189526381a06e4399056a2:
11859 [credentialhelper] Add parser for flag syntax (#15929)
11860 + e4ee34416ef18094496ab54446e70cb62cd509e6:
11861 Docs should mention the new no-remote-cache-upload tag (#15965)
11862 + 96d23d30cc80912b82a8fbab31c902e9db74b6ab:
11863 Add netrc support to --bes_backend (#15970)
11864 + c5bc34e5f1dd92703dd8f15f9f0409c49b778837:
11865 Add CommandLinePathFactory to CommandEnvironment (#15971)
11866 + 508f18576ab5327bd623db6b476511ac2089d0fa:
11867 Move newCredentialHelperProvider into GoogleAuthUtils (#15973)
11868 + 14c944a5386eccbcfbe8389afb6c518582b11270:
11869 Wire up credential helper to command-line flag(s) (#15976)
11870 + 04c373b708390341be4ceb8eb5b2f8561385cb11:
11871 Add `--output=files` mode to cquery (#15979)
11872 + edfe2a17e3434cce660757f59b14f2e9d6ab944e:
11873 Make cpp assembly file extensions case sensitive again
11874 + 4ae85387e69db73e507b4f18b36d3e2f799e5d34:
11875 Prevent aspects from executing on incompatible targets (#15984)
11876 + f440f8ec3f63e5d663e1f9d9614f05a39422102a:
11877 Remote: Fix performance regression in "upload missing inputs".
11878 (#15998)
11879 + 0109031a2818b217b78026055b972da5901656f5:
11880 Updated Codeowners file (#16032)
11881 + 6102d33bf0b72dc0fe9ada4c71113cbee3eb8187:
11882 Propagate the error message when a credential helper fails.
11883 (#16030)
11884 + a8dacc7832b04fe1756cd7adce72f2572f357eee:
11885 Migrate legacy desugar wrapper to new rlocation() (#16025)
11886 + 11368be4ac24108f18b1965162ad27f207c074f9:
11887 Correctly report errors thrown by CommandLinePathFactory#create.
11888 + 82452c7c372fb28485b0b5e0a98b471648f0dfd0:
11889 Fix an issue that
11890 `incompatible_remote_build_event_upload_respect_no_… (#16045)
11891 + e745468461f93839491a4f80d0c1883d9007f9c0:
11892 Fix rpath for binaries in external repositories (#16079)
11893 + 83041b145d3966eb353aacb22b7e33ad01d9a239:
11894 Refactor combined cache. (#16110)
11895 + c62496f7b76da473cb1102798373f552ba2f434d:
11896 C++: Add compound error linked statically but not exported
11897 (#16113)
11898```
11899
11900Important changes:
11901
11902 - alias() can now select() directly on constraint_value()
11903
11904 Fixes https://github.com/bazelbuild/bazel/issues/13047.
11905
11906 Closes #14310.
11907 - Fixed an issue where Bazel could erroneously report a test passes
11908 in coverage mode without actually running the test.
11909 - Make protocOpts() publicly accessible.
11910 - Add coverage configuration fragment, used to expose
11911 output_generator label.
11912 - Bazel now no longer includes system headers on macOS in coverage
11913 reports (#14969).
11914
11915 Closes #14971.
11916 - Starlark test rules can use the new inherited_environment
11917 parameter of testing.TestEnvironment to specify environment
11918 variables
11919 whose values should be inherited from the shell environment.
11920
11921 Closes #14849.
11922 - none
11923 RELNOTES:none
11924 - Enable merging permissions during Android manifest merging with
11925 the --merge_android_manifest_permissions flag.
11926 - Added new register_{execution_platforms,toolchains} directives to
11927 the MODULE.bazel file, to replace the
11928 {execution_platforms,toolchains}_to_register attributes on the
11929 module() directive.
11930 - Add support for fetching RPC credentials from credential helper.
11931
11932 Progress on https://github.com/bazelbuild/bazel/issues/15856
11933
11934 Closes #15947.
11935 - `cquery`'s new output mode
11936 [`--output=files`](https://bazel.build/docs/cquery#files-output)
11937 lists the output files of the targets matching the query. It
11938 takes the current value of `--output_groups` into account.
11939
11940 Closes #15552.
11941 - Fix for desugaring failure on Bazel+Android+Windows build
11942 scenario.
11943
11944This release contains contributions from many people at Google, as well as amberdixon, Andreas Fuchs, Benjamin Peterson, Brentley Jones, Chenchu Kolli, Dan Fleming, Danny Wolf, Emil Kattainen, Fabian Meumertzheim, Gowroji Sunil, hvadehra, Juh-Roch, Keith Smiley, kshyanashree, Niyas Sait, Noa Resare, Oliver Eikemeier, oquenchil, Peter Mounce, Philipp Schrader, Thi Doãn, Xùdōng Yáng, Yannic, Zhongpeng Lin.
11945
Bazel Release Systemce9e2382022-08-19 19:29:14 +020011946## Release 6.0.0-pre.20220816.1 (2022-08-19)
11947
11948```
11949Baseline: 70ccf591f21e0c0148554244b34f02869abb7d7b
11950```
11951
11952Important changes:
11953
11954 - Migrate main_dex_list_creator to D8 (DX deprecation)
11955
11956This release contains contributions from many people at Google, as well as Fabian Meumertzheim.
11957
Bazel Release Systemcff29bf2022-08-18 13:04:22 +020011958## Release 6.0.0-pre.20220810.1 (2022-08-18)
11959
11960```
11961Baseline: 5767cba4044c2bfd8a4c9596c44d2363630b489d
11962```
11963
11964Incompatible changes:
11965
11966 - Added a new flag
11967 --incompatible_unambiguous_label_stringification, which causes
11968 labels in the main repo to stringify into unambiguous forms
11969 starting with an @. See
11970 https://github.com/bazelbuild/bazel/issues/15916 for more
11971 information.
11972
11973This release contains contributions from many people at Google, as well as Philipp Schrader.
11974
Bazel Release Systemf280a682022-08-11 13:42:46 +020011975## Release 6.0.0-pre.20220804.3 (2022-08-11)
Bazel Release System6064a332022-08-10 18:20:07 +020011976
11977```
Bazel Release Systemf280a682022-08-11 13:42:46 +020011978Baseline: 8152657c82b542a3da2ed39333941beefdeeeece
Bazel Release System6064a332022-08-10 18:20:07 +020011979```
11980
11981Important changes:
11982
11983 - `cquery`'s new output mode
11984 [`--output=files`](https://bazel.build/docs/cquery#files-output)
11985 lists the output files of the targets matching the query. It
11986 takes the current value of `--output_groups` into account.
11987 - Change singlejar metadata to report Created-By Bazel
11988 - Add support for fetching RPC credentials from credential helper.
Bazel Release Systemf280a682022-08-11 13:42:46 +020011989 - Revert interface_deps back to implementation_deps after problem
11990 reported in. Use `buildozer 'rename deps implementation_deps'
11991 //...:%cc_library; buildozer 'rename interface_deps deps'
11992 //...:%cc_library`
11993 - Fix for desugaring failure on Bazel+Android+Windows build
11994 scenario.
11995 - D8 is the default desugarer
Bazel Release System6064a332022-08-10 18:20:07 +020011996
Bazel Release Systemf280a682022-08-11 13:42:46 +020011997This release contains contributions from many people at Google, as well as Adam Azarchs, Ara Nguyen, Benjamin Peterson, David Sanderson, dhmemi, Eric Song, Fabian Meumertzheim, Greg Roodt, Jeremy Volkman, jheaff1, Jonathan Gerrish, Jon Shea, Keith Smiley, Patrick Balestra, Philipp Schrader, Pras Velagapudi, Roman Salvador, Yannic Bonenberger.
Bazel Release System6064a332022-08-10 18:20:07 +020011998
Bazel Release System2d3d1eb2022-08-02 17:27:11 +020011999## Release 6.0.0-pre.20220720.3 (2022-08-02)
12000
12001```
12002Baseline: 4cd266aa1dfa53d8c8de44f7895edcfd46f74725
12003
12004Cherry picks:
12005
12006 + f706da832996ab30ddd8784f2af697a3bb62852b:
12007 Requires delayed release
12008```
12009
12010Important changes:
12011
12012 - Added new register_{execution_platforms,toolchains} directives to
12013 the MODULE.bazel file, to replace the
12014 {execution_platforms,toolchains}_to_register attributes on the
12015 module() directive.
12016 - The legacy pkg_tar no longer supports the ability to untar and
12017 repackage an input tar file (`deps` attribute). Users needed that
12018 capability must switch to github.com/bazelbuild/rules_pkg.
12019
12020This release contains contributions from many people at Google, as well as Emil Kattainen, Jason Tan, Keith Smiley, Luis Fernando Pino Duque, rustberry, Son Luong Ngoc, Yannic Bonenberger, Yannic.
12021
Bazel Release System90d2de52022-07-21 17:15:14 +020012022## Release 6.0.0-pre.20220706.4 (2022-07-21)
12023
12024```
12025Baseline: ea8b99cf2a5914c67e4bd7651d83df98912bb1ed
12026
12027Cherry picks:
12028
12029 + 107a54edcf75dc026cf643df82c13fe32a1eb043:
12030 Fix flag file regexp broken by
12031 https://github.com/bazelbuild/bazel/commit/cb2cd9fd2b65311da92777
12032 7c35939701add5b879.
12033 + 1e7127dec96b69b8cd5d332551f8798433d6057e:
12034 Reinstate legacy worker flag file behaviour when not using
12035 --experimental_worker_strict_flagfiles.
12036```
12037
12038Incompatible changes:
12039
12040 - Flag --experimental_local_memory_estimate removed.
12041
12042This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Tomas Volf, Yannic Bonenberger.
12043
Bazel Release System241b1902022-07-11 17:18:16 +020012044## Release 6.0.0-pre.20220630.1 (2022-07-11)
12045
12046```
12047Baseline: fbf9277975ceb7be5255fd5cf449e22706d25d3f
12048```
12049
12050Important changes:
12051
12052 - Removed the obsolete --incompatible_applicable_licenses flag. The
12053 feature is permanently enabled.
12054 - embedded_tools packages R8 desugarer again
12055 - Bazel now selects sh path based on execution platform instead of
12056 host platform, making it possible to execute sh actions in
12057 multiplatform builds. --shell_executable now only applies to
12058 actions configured for host.
12059 - labels in genquery.scope are no longer configured.
12060 - When Bzlmod is enabled, all Bzlmod-generated repos will have an
12061 extra '@' prepended to their names. This effectively enables the
12062 canonical label literal syntax for Bzlmod-generated repos
12063 (`@@canonicalRepoName//pkg:target`; see
12064 https://docs.google.com/document/d/1N81qfCa8oskCk5LqTW-LNthy6EBrDo
12065 t7bdUsjz6JFC4/edit?usp=sharing).
12066 - Exposed `CcSharedLibraryInfo` to Starlark builtins.
12067 - Enable --use_top_level_targets_for_symlinks by default.
12068 - Singlejar accepts runtime Created-By field
12069 - --noincompatible_disable_managed_directories, and with that,
12070 workspace(managed_directories=) is not supported anymore.
12071 - Bazel supports D8 desugaring, albeit without persistent workers
12072 - Remove mtime options from pkg_tar. Users should migrate to
12073 @rules_pkg.
12074 - Test for experimental multiplexed persistent resource processor.
12075
12076This release contains contributions from many people at Google, as well as arun.sampathkumar, Benjamin Lee, Benjamin Peterson, Ed Schouten, Emil Kattainen, Fabian Brandstetter, Fabian Meumertzheim, hvadehra, Krishna Ersson, Philipp Schrader, Stephan Wolski, Steve Vermeulen, Xdng Yng.
12077
Bazel Release System5c544f42022-06-15 18:48:42 +020012078## Release 6.0.0-pre.20220608.2 (2022-06-15)
12079
12080```
12081Baseline: 4f5e325e337957ebea139dc52a00027acbbb572f
12082
12083Cherry picks:
12084
12085 + 442155f19f2c2764839327c8be3d3ab70edf1910:
12086 Automated rollback of commit
12087 a0a0d09debd090fbe74bba59b5d6d3107aaf97e9.
12088```
12089
12090Important changes:
12091
12092 - Aspects can now define and use exec groups using the same API as
12093 rules.
12094
12095This release contains contributions from many people at Google, as well as Kaiqin Chen.
12096
Bazel Release Systemc9b24172022-06-10 16:56:39 +020012097## Release 6.0.0-pre.20220601.1 (2022-06-10)
12098
12099```
12100Baseline: 93f6e51a8756021f6e6a027d4520415385fe9293
12101```
12102
12103Incompatible changes:
12104
12105 - this incompatible change breaks old instances of http_archive
12106 that specified netrc as an absolute path. It is unlikely there
12107 are many instances in the wild since the path would refer to a
12108 netrc file inside the external repository by absolute path.
12109 Migration should be straightforward.
12110 - genrule switched to use exec transition instead of host. This can
12111 break targets with hardcoded output paths. To avoid using
12112 hardcoded paths use make variables, see
12113 https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
12114 defined_label_variables
12115 - this incompatible change breaks old instances of http_archive
12116 that specified netrc as an absolute path. It is unlikely there
12117 are many instances in the wild since...
12118 - Error Prone now checks for unused return values of additional
12119 methods on `java.lang.Object`, which can be disabled using
12120 `--javacopts=-Xep:ReturnValueIgnored:OFF`
12121 - Error Prone now checks for unused return values of additional
12122 methods on `java.lang.Object`, which can be disabled using
12123 `--javacopts=-Xep:ReturnValueIgnored:OFF`
12124 - The --incompatible_existing_rules_immutable_view flag has been
12125 flipped to true. See
12126 https://github.com/bazelbuild/bazel/issues/13907 for
12127 migration notes.
12128 - Split up the C++ archive from the C++ link action and set
12129 `CppArchive` as mnemonic.
12130 - workspace(managed_directories=) is not available anymore.
12131 - --legacy_important_outputs now has a default of false.
12132 - --legacy_important_outputs default reverted to true.
12133 - objc_library now requires CcInfo in its deps. If this breaks
12134 you, add empty CcInfo() to your rule.
12135
12136Important changes:
12137
12138 - Deprecate --incompatible_applicable_licenses flag, in preparation
12139 for removal in Bazel 6.x.
12140 - Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
12141 - The Build Event Protocol now contains file digests and sizes
12142 along with the file name and URI.
12143 - Refactor system suspend event handling.
12144 - alias() can now select() directly on constraint_value()
12145 - Allow \a \b \f \v escape sequences in Starlark.
12146 - Match remote and local xcode version by most granular version.
12147 - Adds `--experimental_worker_multiplex_sandboxing` flag that
12148 controls whether to sandbox multiplex workers that support it.
12149 - provider() has a new parameter: init, a callback for performing
12150 pre-processing and validation of field values. Iff this parameter
12151 is set,
12152 provider() returns a tuple of 2 elements: the usual provider
12153 symbol (which,
12154 when called, invokes init) and a raw constructor (which bypasses
12155 init).
12156 - Tests that fail to create or complete their
12157 `TestAttemptContinuation` by
12158 throwing an `ExecException` will report an `INCOMPLETE` status.
12159 Previously, Bazel
12160 would fail to report any status for the test attempt.
12161 - Fixed an issue where Bazel could erroneously report a test passes
12162 in coverage mode without actually running the test.
12163 - Include more information about configurations in cquery proto
12164 formatted output. This deprecates the configuration field of
12165 AnalysisProtosV2.ConfiguredTarget, and adds a new field,
12166 configuration_id, to
12167 be used instead.
12168 - experimental cc_library.implementation_deps inverted to
12169 interface_deps
12170 - In aquery and cquery proto output, indicate if a configuration is
12171 a
12172 tool or non-tool configuration.
12173 - Include complete configurations in cquery proto output.
12174 - experimental cc_library.implementation_deps inverted to
12175 interface_deps
12176 - Make protocOpts() publicly accessible.
12177 - Add some documentation about how configuration information is
12178 conveyed in cquery proto output.
12179 - Introduces experimental static library linking API under
12180 apple_common.link_multi_arch_static_library
12181 - Further deprecation and removal of pkg_tar. Stop supporting
12182 legacy use of 'files' attribute, where it could be a list of
12183 labels instead of a map of paths to labels.
12184 - Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
12185 its purpose because --all_incompatible_changes would never set
12186 it. The last rule it gated (pkg_tar) is scheduled to be removed
12187 in Bazel 6.x.
12188 - Add coverage configuration fragment, used to expose
12189 output_generator label.
12190 - Bazel now no longer includes system headers on macOS in coverage
12191 reports (#14969).
12192 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
12193 $ANDROID_HOME.
12194 - The default dexer is now d8. dx can be optionally enabled using:
12195 --define=android_dexmerger_tool=dx_dexmerger \
12196 --define=android_incremental_dexing_tool=dx_dexbuilder \
12197 --define=android_standalone_dexing_tool=dx_compat_dx \
12198 --use_workers_with_dexbuilder
12199 - Packaging support for deploy JAR embedded JDK files (hermetic
12200 Java).
12201 - Don't stamp cc_common.link actions for tool dependencies.
12202 - Starlark test rules can use the new inherited_environment
12203 parameter of testing.TestEnvironment to specify environment
12204 variables
12205 whose values should be inherited from the shell environment.
12206 - Enable merging permissions during Android manifest merging with
12207 the --merge_android_manifest_permissions flag.
12208 - Allow specialization to work with constraint_values.
12209 - Bazel uses the D8 jar from Maven instead of the SDK.
12210 - Make ijar / java_import preserve classes with `@kotlin.Metadata`
12211 annotations
12212 - Switch cc_test implementation to Starlark. Note: cc_test will now
12213 link statically when _targeting_ Windows regardless of host
12214 platform (rather than always linking statically when Windows is
12215 the _host_).
12216 - Switch cc_test implementation to Starlark. Note: cc_test will now
12217 link statically when _targeting_ Windows regardless of host
12218 platform (rather than always linking statically when Windows is
12219 the _host_).
12220 - Add devtools/build/lib/worker:work_request_handlers to the remote
12221 android tools release package. This will be transitively packaged
12222 into all_android_tools.
12223 - Bazel uses the D8 jar from Maven instead of the SDK.
12224 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
12225 $ANDROID_HOME.
12226 - Advance android_tools_pkg version to 0.24.0.
12227 - Switch cc_test implementation to Starlark. Note: cc_test will now
12228 link statically when _targeting_ Windows regardless of host
12229 platform (rather
12230 than always linking statically when Windows is the _host_).
12231 - Bazel uses the D8 jar from Maven instead of the SDK.
12232 - "blaze config" now only reports info from the last build. To
12233 compare configurations across multiple builds, redirect "blaze
12234 config" output to a file and run your favorite diff tool.
12235 - The --incompatible_override_toolchain_transition flag is now
12236 always set, and will be removed in the future. Thus,
12237 --noincompatible_override_toolchain_transition has no effect, and
12238 the value of the incompatible_use_toolchain_transition parameter
12239 in aspect() and rule() builtins is ignored.
12240 - Switch cc_test implementation to Starlark. Note: cc_test will now
12241 link statically when _targeting_ Windows regardless of host
12242 platform (rather
12243 than always linking statically when Windows is the _host_).
12244 - Toolchain types may now be optional, in addition to mandatory.
12245 See https://bazel.build/docs/toolchains#optional-toolchains for
12246 further details.
12247 - Add six to deps of has_services=1 py_proto_librarys.
12248 - pkg_tar(symlinks) has been removed. Users needing that feature
12249 should
12250 migrate to @rules_pkg.
12251
12252This release contains contributions from many people at Google, as well as Adam Wolf, Albert Lloveras, Alessandro Patti, Alex Eagle, Alex Scott, Alex Torok, Andreas Fuchs, Andreas Herrmann, Andrew Katson, Andrew Klotz, arunkumar9t2, Ast-x64, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Ben Lee, Bohdan Vanieiev, Bradley Burns, Brandon Duffany, Brandon Jacklyn, Brentley Jones, Brentley Jones, Chad Miller, Chris Clearwater, Chris Fredrickson, Christopher Peterson Sauer, Christopher Sauer, ckiffel, Cristian Hancila, crydell-ericsson, Dan Fleming, Daniel Wagner-Hall, Danny Wolf, David Ostrovsky, Denys Kurylenko, Dimi Shahbaz, divanorama, dmaclach, Ed Schouten, Emil Kattainen, Fabian Meumertzheim, floriographygoth, Fredrik Medley, George Prekas, gkgoat1, gkorlam, Greg Estren, Greg, Grzegorz Lukasik, Halil Sener, Hannes Kufler, homuler, hvadehra, hvd, Jan, Jay Bazuzi, jheaff1, Jiawen Chen, Joel Williamson, John Laxson, John Millikin, juanchoviedo, Keith Smiley, Ken Micklas, Kevin Lin, lihu, Luc Bertrand, Marek uppa, Matt Clarkson, Matt Mackay, Michael P. Nitowski, Mikhail Balabin, Mostyn Bramley-Moore, Nick Korostelev, Nitesh Anandan, Niyas Sait, Noa Resare, Oscar Bonilla, Patrick Balestra, Paul Tarjan, Peter Mounce, Philipp Schrader, Pras Velagapudi, Rahul Butani, Rifqi Mulya Fahmi, Ryan Beasley, Ryan Schmidt, Sahin Yort, Saleem Abdulrasool, Simon Bjorklen, Son Luong Ngoc, Stiopa Koltsov, Sven Tiffe, Takeo Sawada, Tao Wang, Ted Kaplan, Tetsuo Kiso, Thi Doan, Thomas Chen, ThomasCJY, Thomas Zayouna, Timothe Peignier, Tom de Goede, Ulf Adams, Ulrik Falklof, Vasilios Pantazopoulos, Vladimir Tagakov, William Muir, Xavier Bonaventura, Xdng Yng, Yannic Bonenberger, Yannic, Yesudeep Mangalapilly, Yuval K, Zhongpeng Lin.
12253
Bazel Release Systemf9c7fdb2022-06-07 15:31:30 +000012254## Release 5.2.0 (2022-06-07)
12255
12256```
12257Baseline: 8d66a4171baddcbe1569972f019e54130111202c
12258
12259Cherry picks:
12260
12261 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
12262 Remote: Cache merkle trees
12263 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
12264 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
12265 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
12266 Compile Apple tools as fat binaries if possible
12267 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
12268 Add protobuf as a well known module
12269 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
12270 Remote: Merge target-level exec_properties with
12271 --remote_default_exec_properties
12272 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
12273 Add -no_uuid for hermetic macOS toolchain setup
12274 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
12275 Remote: Fixes an issue when --experimental_remote_cache_async
12276 encounter flaky tests.
12277 + 77a002cce050e861fcc87c89acf7768aa5c97124:
12278 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
12279 has …
12280 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
12281 Fixes for the Starlark transition hash computation (#14251)
12282 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
12283 Do location expansion in copts of objc_library
12284 + 50274a9f714616d4735a560db7f617e53fb8d01b:
12285 [5.x] Remote: Add support for compression on gRPC cache (#14277)
12286 + 61bf2e5b5181cbe34a2f0d584053570943881804:
12287 Automated rollback of commit
12288 34c71465f84fa780217926db2e8e5ca3d6d4568c.
12289 + 79888fe7369479c398bafe064daa19a7ae30f710:
12290 Silence a zstd-jni GCC warning.
12291 + 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
12292 Remote: Limit max number of gRPC connections by
12293 --remote_max_connections.
12294 + fd727ec96d861573dcbad3249d727a94eff84789:
12295 Do location expansion in copts of objc_library
12296 + 23d096931be9b7247eafa750999dd7feadde14c1:
12297 Fix _is_shared_library_extension_valid
12298 + 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
12299 Remove merging of java_outputs in JavaPluginInfo.
12300 + cea5f4f499aa832cf90c68898671869ce79d63f2:
12301 Cherrypick Bzlmod documentation (#14301)
12302 + 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
12303 Format work requests according to ndjson spec
12304 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
12305 Enable user_link_flags_feature for macosx cc_toolchain_config
12306 + 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
12307 Remote: Use Action's salt field to differentiate cache across
12308 workspaces.
12309 + f94898915268be5670fb1e93a16c03e9b14d2a58:
12310 [5.x] Remote: Fix "file not found" error when remote cache is
12311 changed from enabled to disabled. (#14321)
12312 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
12313 Delete marker file before fetching an external repository
12314 + c05c6261cdb2cacb7c9881c255c0ada435ab5182:
12315 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
12316 + d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
12317 Fix remote spawn tests for remote_merkle_tree_cache=true
12318 + 59e16e944200555da377799aa0d9e8d0674d2e27:
12319 Show skipped tests as a warning
12320 + 76b3c242831f8e88835e3002a831a185a41fcc52:
12321 Build xcode-locator as a universal binary
12322 + aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
12323 Exit collect_coverage.sh early if LCOV_MERGER is not set.
12324 + 4256d46327bad8638df91be1a5d4ef83b12b74c7:
12325 Automated rollback of commit
12326 d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
12327 + dce24350befd08216b3910ae343670015444ff81:
12328 [apple] fix issues compiling C in objc_library for watchos/armv7k
12329 + bfc24139d93f8643686d91596ba347df2e01966a:
12330 5.x: Remote: Ignore blobs referenced in BEP if the generating
12331 action cannot be cached remotely. (#14389)
12332 + 5aef53a8884038f3c9f06e6dddb9372196253378:
12333 Remote: Don't blocking-get when acquiring gRPC connections.
12334 (#14420)
12335 + 005361c895da334beb873901e93aff06d180256e:
12336 Disable IncludeValidation for ObjC in bazel
12337 + d703b7b4f09fb3c389f99e52bac1f23930280b56:
12338 Update java_tools v11.6
12339 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
12340 Stop remote blob upload if upload is complete. (#14467)
12341 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
12342 [5.x] Make remote BES uploader better (#14472)
12343 + 2edab739e1f61fe8813230b03396ca46f0790089:
12344 Avoid too verbose warnings in terminal when cache issues
12345 + 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
12346 Rename --project_id to --bes_instance_name
12347 + c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
12348 Automated rollback of commit
12349 bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
12350 + b341802700484d11c775bf02d80f43ba3f33b218:
12351 [apple] support watchos_arm64 in toolchain
12352 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
12353 Disable implicitly collecting baseline coverage for toolchain
12354 targets.
12355 + 302971e1b3d803069ac949c0085c0d2a3916c8ab:
12356 Automated rollback of commit
12357 7d09b4a15985052670244c277e4357557b4d0039.
12358 + 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
12359 Bzlmod: Starlarkify default attr values for TypeCheckedTags
12360 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
12361 Fix build after rc4 cherrypicks (#14581)
12362 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
12363 Release 5.0.0 (2022-01-19)
12364 + 486d153d1981c3f47129f675de20189667667fa7:
12365 Find runfiles in directories that are themselves runfiles
12366 + 0de7bb95022057e8b89334f44759cf6f950e131f:
12367 Don't resolve symlinks for --sandbox_base
12368 + 8b60c90f3641591b65c4e153113aea562f1fab94:
12369 Remove uses of -lstdc++ on darwin
12370 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
12371 Allow Label instances as keys in select (#14755)
12372 + 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
12373 Remote: Only waits for background tasks from remote execution.
12374 + 8734ccf9847eafb7193388cd9c6fa78faa78283f:
12375 Add the default solib dir to the rpath for cc_imports with
12376 transitions
12377 + 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
12378 Flip --experimental_worker_allow_json_protocol
12379 + fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
12380 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
12381 cpu for tools when host cpu and exec cpu are different
12382 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
12383 Propagate --experimental_cc_implementation_deps to host config
12384 + 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
12385 Support select() on constraint_value for aliases.
12386 + 67a133b431ccece22b7dd9a72f0837cff77d4360:
12387 Improve documentation for select()
12388 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
12389 Cherrypicks for experimental cc_shared_library (#14773)
12390 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
12391 [apple] support tvos_sim_arm64 in toolchain (#14779)
12392 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
12393 Cherry pick win arm64 (#14794)
12394 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
12395 [5.1.0] cherrypick subpackages support (#14780)
12396 + 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
12397 Add a helper method for rules to depend on the cpp toolchain
12398 type.
12399 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
12400 UrlRewriter should be able to load credentials from .netrc
12401 (#14834)
12402 + 32d1606dac2fea730abe174c41870b7ee70ae041:
12403 Add "arch" struct field to repository_os
12404 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
12405 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
12406 + c2ddbd1954af5baab63b93f2b055a410a27832c8:
12407 Ignore missing include directory in JDK distribution.
12408 + 16de03595e21f7bf31818e717505b23c953b3b7d:
12409 Fix bazel coverage false negative
12410 + 0c74741742301abcf67452a7f591daec1c3a7635:
12411 Remote: Postpone the block waiting in `afterCommand` to
12412 `BlockWaitingModule` (#14833)
12413 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
12414 Switch to `ProcessHandle` for getting the PID (#14842)
12415 + a987b98ea0d6da2656c4115568ef9cbe8a164550:
12416 Fix uses of std++ on bsd
12417 + d184e4883bb7fc21de2f7aeea4304994de27e9ea:
12418 Remote: handle early return of compressed blobs uploads
12419 + 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
12420 Add removeprefix/removesuffix to Starlark strings
12421 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
12422 Fix default CPU for macOS and iOS (#14923)
12423 + cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
12424 Add paramfile support for def_parser, since in rare cases on
12425 Windows command line character limit was reached.
12426 + 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
12427 Normalize rpath entries to guard against missing default solib
12428 dir
12429 + 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
12430 Fix aggressive params file assumption
12431 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
12432 Fix precompiled libs not in runfiles of cc_shared_library
12433 (#14943)
12434 + 764614e0f0287125269e7a92e909a44624bcb360:
12435 Bzlmod: Allow multiple `use_extension`s on the same extension
12436 (#14945)
12437 + fa761f84994f18db383fbe9aaea524e4385da13a:
12438 Fix typo in `apple_common.platform` docs
12439 + f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
12440 Yield a Proxy for addresses without protocol
12441 + 8cefb8bed4ac82df8640682517372a9249732352:
12442 Avoid merging URLs in HttpUtils
12443 + b4804807fc2c184cc36df9e69e472942c01941b8:
12444 Make protocOpts() public. (#14952)
12445 + 113eaca5862c48797654ae2a3acbb6e15d761485:
12446 Do not hide BulkTransferException messages when there were more
12447 than one exception
12448 + b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
12449 merkle_tree_cache: change default size to 1000
12450 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
12451 Add --experimental_repository_cache_urls_as_default_canonical_id
12452 to help detect broken repository URLs (#14989)
12453 + f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
12454 Expose the logic to read user netrc file
12455 + b858ec39aebd7e586af5438aa2035db2adebf9a4:
12456 Correct cpu and os values of `local_config_cc_toolchains` targets
12457 + 5e79972c05d89280f0cf1fa620f807366847bac6:
12458 Expose CoverageOutputGenerator on a Fragment (#14997)
12459 + 78f03110e0dab42f37e427fd524e72706e036d74:
12460 Correct error runfiles cc_shared_library (#14998)
12461 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
12462 [5.1] Adding Starlark dependencies to the package //external
12463 (#14991)
12464 + a73aa12be65454ac8cfb5a8f3e056c420402f997:
12465 Remote: Fix crashes with InterruptedException when using http
12466 cache.
12467 + f8707c07f153ac4ac2ec4b210321f1a16343006d:
12468 Account for interface libraries in cc_shared_library
12469 + a570f5fdb1618a6c272d18bebaa712d3b2af3975:
12470 Fix coverage runfiles directory issue
12471 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
12472 Do not validate input-only settings in transitions (#15048)
12473 + 71747ccc9d0032a865854613329362563c0574df:
12474 Filter out system headers on macOS.
12475 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
12476 Update Bazel bootstrap documentation and remove obsolete flags.
12477 (#15065)
12478 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
12479 [5.1] Undocument --bes_best_effort (#15066)
12480 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
12481 Fix conflicting actions error when specifying
12482 --host_macos_minimum_os (#15068)
12483 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
12484 [5.1] Remote: Action should not be successful and cached if
12485 outputs were not created (#15071)
12486 + 00d74ff737cccd60305ee58d85313556a077152a:
12487 Support decompressing zstd tar archives for repository rules.
12488 + f5857830bb68bd05ffc257506575ed37a8128933:
12489 Remote: Don't check TreeArtifact output
12490 + efb2b80953983dce499d453a9f55a74ffaf8c42d:
12491 osx_cc_wrapper: Only expand existing response files
12492 + c771c43b870fb8618db7bdab6725ab40cac4976d:
12493 Remote: Fix crashes by InterruptedException when dynamic
12494 execution is enabled. (#15091)
12495 + 3785677cc84fc4024fda85575c05efbde5d512fc:
12496 Use python3 on macOS
12497 + 815d9e499a32fd4d87525ac0c698c293cf26433d:
12498 Release 5.1.0 (2022-03-24)
12499 + 1fbb69e366034484887e00c6006c7b79508765ed:
12500 Prepare 5.1.1 release
12501 + df153df9656e0e197f67622bb11f7d77e19238a0:
12502 Fix CODEOWNERS syntax
12503 + 2b92a3111e83a4d14934059afd0f51161a41276f:
12504 Remote: Don't check declared outputs for failed action
12505 + b47aa71b21d93c9499103e9a37a6c2ffa79865b9:
12506 Upgrade abseil version to the latest
12507 + c49c45d8dac87d21cf2b6a176ddd07f2c9f63414:
12508 Revert default export all symbols on Windows
12509 + 7d3fb993f55b35081786c3fe00cf3bebb89574f3:
12510 Support ZIP files with total number of disks = 0
12511 + 0f5dc111be06b2ee8694640f400b58e12bfa5fea:
12512 Release 5.1.1 (2022-04-08)
12513 + 2422cfb3e5d92d46f9065b2b1e442823a965faf7:
12514 Update CODEOWNERS
12515 + bbcff1802423fca7ee5bd6a3e527c12d6d7d80ba:
12516 [5.2.0] Update java_tools 11.7.1 (#15231)
12517 + 9c98120f33579b72561e02826d9fccf222eccb3c:
12518 Add support for .ar archives (and .deb files)
12519 + d3435b09d89f25bf5008ef3b9c870c835d51a8da:
12520 Seperate GetSelfPath implementation for Blaze and Bazel
12521 + c94572bea5ce6bdc0ccda9789e5be6fb3f4c173b:
12522 Include jdk.crypto.mscapi in minimized Windows embedded JDK
12523 + 299022ca2dc49b6cb27b2674f933755306ae8b9b:
12524 remote: Proactively close the ZstdInputStream in
12525 ZstdDecompressingOutputStream.
12526 + 27707995cc6576ed1f51fbdb199ff8512e8418c9:
12527 Collect coverage from cc_binary data deps of java_test
12528 + 3442179d240e01ef13b0fa7814db7366bad5ffac:
12529 Configure Apple crosstool to return a complete target triple
12530 that includes minimum OS version and target environment
12531 + bb6f1a7ce79168055ccd62629da07d46a52b930d:
12532 Collect C++ lcov coverage if runtime object not in runfiles
12533 + dbb6e9954b6e4423f727feb2719ffc75a93b514b:
12534 Fixing dependencies of //external package
12535 + f0213bbf730c4a5d1a31e65bc9c01fbb55a6edb3:
12536 [5.2] Upgrade Google Auth Version (#15383)
12537 + a1a74c9919e03e09ef7c6ae13f38f48eea80ead1:
12538 Fix chocolatey package - docsUrl must not 404 (#15395)
12539 + fe644bee95c14d461e0d1e3cccaa8bbcd57bcd8d:
12540 Fix cache leak when applying transitions when only a rule's
12541 attributes change.
12542 + ad74d5243917bb27a37e38d151a4a3c8a49947eb:
12543 Fix checking remote cache for omitted files in buildevent file
12544 (#15405)
12545 + ac219103d8798965b775db548d7b9214ecd78f73:
12546 fix(bzlmod): throw on json parse exception
12547 + 3d85b88609a362857d8ee3c0432a37d30268a8a2:
12548 Add a flag to expose undeclared test outputs in unzipped form.
12549 (#15431)
12550 + abd7a9f70c3dfe96724a692dc7dc04ff33bdece1:
12551 Remove -U_FORTIFY_SOURCE when thin_lto is enabled (#15433)
12552 + 53b9cb8637c0faddc6b122a1daab72bcc274bdec:
12553 Catch NumberFormatException while trying to parse thread id.
12554 + 19740b55ebc283b7ec42b359bcd4c9096facfdd5:
12555 Improve the --sandbox_debug error message
12556 + 0a2a43f9aab1e3875f03f643f6414eb67834c883:
12557 Set keywords on appropriate lifecycle events.
12558 + 394ddb82b311ea7edbe2522736b0b0202903ddb6:
12559 Record additional profiling information for remotely executed
12560 actions.
12561 + 652b48e567fcb30768dfc2eddee5f04bf6b5d65b:
12562 Fix downloading remote execution output files inside output
12563 dirs. (#15444)
12564 + 73f1ecbc1cb00e16ceda4b582f4d57268f8701cd:
12565 Fix android emulator darwin_arm64 select
12566 + 2649c7c4adef0ebf9bca8fe46aa97304b22de522:
12567 Fix --use_top_level_targets_for_symlinks with aliases (#15446)
12568 + fa1081c1f3dce7324a1da59c40d1a1a3533c7047:
12569 Filter libtool warning about table of contents
12570 + 26f878325e915e0905626a0e4c8bbacffd72f875:
12571 Unify sandbox/remote handling of empty TreeArtifact inputs
12572 (#15449)
12573 + 6b21b7773157a1eebd3dfe79ff4c4ee750059daf:
12574 Revert "Fixes incorrect install names on darwin platforms"
12575 + e133e66f715bac17bf5848e4440c089a8c8d3fd9:
12576 config doesn't error on duplicate `--define` values (#15473)
12577 + 84d59176622b76223828e61709179dbd5f0c9f8d:
12578 Collect coverage from cc_binary data deps of py_test (#15298)
12579 + 519d2daacfff3de6ffabfc5827621fa835e1c815:
12580 SolibSymlinkAction does not need exec platform or properties
12581 + 6e54699884cfad49d4e8f6dd59a4050bc95c4edf:
12582 Let Starlark tests inherit env variables (#15217)
12583 + 9610ae889e6fd45280c5beb7fe8f5bef2d736878:
12584 Update PythonZipper action to use CommandLineItem.CapturingMapFn
12585 + 2f1ff6fa17c3c30b2533bffe81f40eab06b453b9:
12586 Make `coverage --combined_report=lcov` skip incompatible tests
12587 + 9fad5a3dc93cd436a5712c46e6c98d3995428ddb:
12588 Disable ReturnValueIgnored checks to unblock java_tools release
12589 + 0120118893261968bdf116ef215655c428428fa8:
12590 Bump the limit of Bazel install base size (#15585)
12591 + 668805aace9bf96f78595fc2a122027a3000ceac:
12592 Upgrade zlib to 1.2.12
12593 + 4d900ceea12919ad62012830a95e51f9ec1a48bb:
12594 [5.2] Remote: Fix a bug that outputs of actions tagged with
12595 no-remote are u... (#15453)
12596 + b703cb9b999e243d776b7620468e48f450c0ce3a:
12597 Add feature to produce serialized diagnostics files (#15600)
12598```
12599
12600Important changes:
12601
12602 - alias() can now select() directly on constraint_value()
12603
12604 Fixes https://github.com/bazelbuild/bazel/issues/13047.
12605
12606 Closes #14310.
12607 - Fixed an issue where Bazel could erroneously report a test passes
12608 in coverage mode without actually running the test.
12609 - Make protocOpts() publicly accessible.
12610 - Add coverage configuration fragment, used to expose
12611 output_generator label.
12612 - Bazel now no longer includes system headers on macOS in coverage
12613 reports (#14969).
12614
12615 Closes #14971.
12616 - Starlark test rules can use the new inherited_environment
12617 parameter of testing.TestEnvironment to specify environment
12618 variables
12619 whose values should be inherited from the shell environment.
12620
12621 Closes #14849.
12622
12623This release contains contributions from many people at Google, as well as amberdixon, Andreas Fuchs, Benjamin Peterson, Brentley Jones, Chenchu Kolli, Dan Fleming, Danny Wolf, Fabian Meumertzheim, hvadehra, Keith Smiley, Niyas Sait, Noa Resare, Oliver Eikemeier, oquenchil, Peter Mounce, Philipp Schrader, Thi Doãn, Xùdōng Yáng, Yannic, Zhongpeng Lin.
12624
Bazel Release System6dcd3212022-06-02 21:30:19 +020012625## Release 6.0.0-pre.20220526.1 (2022-06-02)
12626
12627```
12628Baseline: e6bb6fcfcc9b571ef0bbdf039b5ae67954ade222
12629```
12630
12631Incompatible changes:
12632
12633 - --legacy_important_outputs now has a default of false.
12634 - --legacy_important_outputs default reverted to true.
12635
12636Important changes:
12637
12638 - pkg_tar(symlinks) has been removed. Users needing that feature
12639 should
12640 migrate to @rules_pkg.
12641
12642This release contains contributions from many people at Google, as well as Alessandro Patti, Benjamin Lee, Benjamin Peterson.
12643
Bazel Release Systema7ec7102022-05-30 19:10:06 +020012644## Release 6.0.0-pre.20220520.1 (2022-05-30)
12645
12646```
12647Baseline: 4879106fabdf4af9395743941987d4297d232296
12648```
12649
12650Incompatible changes:
12651
12652 - workspace(managed_directories=) is not available anymore.
12653
12654Important changes:
12655
12656 - Add six to deps of has_services=1 py_proto_librarys.
12657
12658This release contains contributions from many people at Google, as well as Benjamin Peterson, Christopher Peterson Sauer.
12659
Bazel Release System97fa6122022-05-23 23:41:36 +020012660## Release 6.0.0-pre.20220517.1 (2022-05-23)
12661
12662```
12663Baseline: 61fd06d92706d64fbcef64f0f54cded91c88afff
12664```
12665
12666Incompatible changes:
12667
12668 - Split up the C++ archive from the C++ link action and set
12669 `CppArchive` as mnemonic.
12670
12671Important changes:
12672
12673 - Switch cc_test implementation to Starlark. Note: cc_test will now
12674 link statically when _targeting_ Windows regardless of host
12675 platform (rather
12676 than always linking statically when Windows is the _host_).
12677 - Bazel uses the D8 jar from Maven instead of the SDK.
12678 - "blaze config" now only reports info from the last build. To
12679 compare configurations across multiple builds, redirect "blaze
12680 config" output to a file and run your favorite diff tool.
12681 - The --incompatible_override_toolchain_transition flag is now
12682 always set, and will be removed in the future. Thus,
12683 --noincompatible_override_toolchain_transition has no effect, and
12684 the value of the incompatible_use_toolchain_transition parameter
12685 in aspect() and rule() builtins is ignored.
12686 - Switch cc_test implementation to Starlark. Note: cc_test will now
12687 link statically when _targeting_ Windows regardless of host
12688 platform (rather
12689 than always linking statically when Windows is the _host_).
12690 - Toolchain types may now be optional, in addition to mandatory.
12691 See https://bazel.build/docs/toolchains#optional-toolchains for
12692 further details.
12693
12694This release contains contributions from many people at Google, as well as Andreas Fuchs, Andrew Klotz, Benjamin Lee, Benjamin Peterson, Chris Clearwater, Christopher Peterson Sauer, Christopher Sauer, Daniel Wagner-Hall, Fabian Meumertzheim, Fredrik Medley, George Prekas, Grzegorz Lukasik, Halil Sener, homuler, John Laxson, John Millikin, Keith Smiley, Matt Clarkson, Peter Mounce, Philipp Schrader, Ryan Beasley, Saleem Abdulrasool, Takeo Sawada, ThomasCJY, Vladimir Tagakov, Xdng Yng.
12695
Bazel Release System50e90602022-05-03 18:36:36 +020012696## Release 6.0.0-pre.20220421.3 (2022-05-03)
12697
12698```
12699Baseline: 092884b0118f1b8b14ba2277851baa6dcce5cac2
12700
12701Cherry picks:
12702
12703 + 82861c3a6e9761af883b1f6c99eef27da28b3d00:
12704 remove debug statement
12705 + a5a4198b4bae3e10e30bf48083d037acce39aac3:
12706 Automated rollback of commit
12707 92d760b37722feffd5b1121e4f9a1152d8120946.
12708```
12709
12710Important changes:
12711
12712 - Switch cc_test implementation to Starlark. Note: cc_test will now
12713 link statically when _targeting_ Windows regardless of host
12714 platform (rather than always linking statically when Windows is
12715 the _host_).
12716 - Switch cc_test implementation to Starlark. Note: cc_test will now
12717 link statically when _targeting_ Windows regardless of host
12718 platform (rather than always linking statically when Windows is
12719 the _host_).
12720 - Add devtools/build/lib/worker:work_request_handlers to the remote
12721 android tools release package. This will be transitively packaged
12722 into all_android_tools.
12723 - Bazel uses the D8 jar from Maven instead of the SDK.
12724 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
12725 $ANDROID_HOME.
12726 - Advance android_tools_pkg version to 0.24.0.
12727
12728This release contains contributions from many people at Google, as well as Benjamin Peterson, Brandon Duffany, Daniel Wagner-Hall, Emil Kattainen, Fabian Meumertzheim, hvd, Keith Smiley, Tao Wang, Thomas Chen, ThomasCJY, Tom de Goede.
12729
Bazel Release Systemfb9c61a2022-04-26 21:19:34 +020012730## Release 6.0.0-pre.20220414.2 (2022-04-26)
12731
12732```
12733Baseline: 6872fd230b7fe4a15fa900d16f6f9ddd5726cdc3
12734
12735Cherry picks:
12736
12737 + a603c2382ffcc49f344eee73dfcd65aa2332f64f:
12738 Automated rollback of commit
12739 b93f828133e74cb3589ba7ffcfe74d2fe72430cd.
12740 + 6142eac9153b539661c43dada5e11b552a6f58f6:
12741 Automated rollback of commit
12742 314b0900cec69a9d017ab84e94ee1cc0b6782470.
12743```
12744
12745Important changes:
12746
12747 - Bazel uses the D8 jar from Maven instead of the SDK.
12748 - Make ijar / java_import preserve classes with `@kotlin.Metadata`
12749 annotations
12750 - Bazel uses the D8 jar from Maven instead of the SDK.
12751 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
12752 $ANDROID_HOME.
12753
12754This release contains contributions from many people at Google, as well as Alex Torok, gkorlam, hvadehra, Vasilios Pantazopoulos, Yannic.
12755
Bazel Release Systeme9de4932022-04-19 14:08:32 +020012756## Release 6.0.0-pre.20220411.2 (2022-04-19)
12757
12758```
12759Baseline: 8f0034ce1e7854521e259a5eaf71859b1e6f95bc
12760
12761Cherry picks:
12762
12763 + a9465dfa4b124e331b8bb3e8d0219ea3dff7cdb1:
12764 Automated rollback of commit
12765 240af807c935225d98b630666000cc03934f2ce7.
12766```
12767
12768Important changes:
12769
12770 - Allow specialization to work with constraint_values.
12771
12772This release contains contributions from many people at Google, as well as Brentley Jones, Fabian Meumertzheim, Keith Smiley, Noa Resare, Sahin Yort, Thomas Zayouna, Vasilios Pantazopoulos.
12773
Bazel Release System5257e252022-04-14 16:11:53 +020012774## Release 6.0.0-pre.20220407.1 (2022-04-14)
12775
12776```
12777Baseline: 9db58e0656d7456e8180e90400c2c94a76bf5c8b
12778```
12779
12780Incompatible changes:
12781
12782 - this incompatible change breaks old instances of http_archive
12783 that specified netrc as an absolute path. It is unlikely there
12784 are many instances in the wild since the path would refer to a
12785 netrc file inside the external repository by absolute path.
12786 Migration should be straightforward.
12787 - genrule switched to use exec transition instead of host. This can
12788 break targets with hardcoded output paths. To avoid using
12789 hardcoded paths use make variables, see
12790 https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
12791 defined_label_variables
12792 - this incompatible change breaks old instances of http_archive
12793 that specified netrc as an absolute path. It is unlikely there
12794 are many instances in the wild since...
12795 - Error Prone now checks for unused return values of additional
12796 methods on `java.lang.Object`, which can be disabled using
12797 `--javacopts=-Xep:ReturnValueIgnored:OFF`
12798 - Error Prone now checks for unused return values of additional
12799 methods on `java.lang.Object`, which can be disabled using
12800 `--javacopts=-Xep:ReturnValueIgnored:OFF`
12801 - The --incompatible_existing_rules_immutable_view flag has been
12802 flipped to true. See
12803 https://github.com/bazelbuild/bazel/issues/13907 for
12804 migration notes.
12805
12806Important changes:
12807
12808 - Deprecate --incompatible_applicable_licenses flag, in preparation
12809 for removal in Bazel 6.x.
12810 - Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
12811 - The Build Event Protocol now contains file digests and sizes
12812 along with the file name and URI.
12813 - Refactor system suspend event handling.
12814 - alias() can now select() directly on constraint_value()
12815 - Allow \a \b \f \v escape sequences in Starlark.
12816 - Match remote and local xcode version by most granular version.
12817 - Adds `--experimental_worker_multiplex_sandboxing` flag that
12818 controls whether to sandbox multiplex workers that support it.
12819 - provider() has a new parameter: init, a callback for performing
12820 pre-processing and validation of field values. Iff this parameter
12821 is set,
12822 provider() returns a tuple of 2 elements: the usual provider
12823 symbol (which,
12824 when called, invokes init) and a raw constructor (which bypasses
12825 init).
12826 - Tests that fail to create or complete their
12827 `TestAttemptContinuation` by
12828 throwing an `ExecException` will report an `INCOMPLETE` status.
12829 Previously, Bazel
12830 would fail to report any status for the test attempt.
12831 - Fixed an issue where Bazel could erroneously report a test passes
12832 in coverage mode without actually running the test.
12833 - Include more information about configurations in cquery proto
12834 formatted output. This deprecates the configuration field of
12835 AnalysisProtosV2.ConfiguredTarget, and adds a new field,
12836 configuration_id, to
12837 be used instead.
12838 - experimental cc_library.implementation_deps inverted to
12839 interface_deps
12840 - In aquery and cquery proto output, indicate if a configuration is
12841 a
12842 tool or non-tool configuration.
12843 - Include complete configurations in cquery proto output.
12844 - experimental cc_library.implementation_deps inverted to
12845 interface_deps
12846 - Make protocOpts() publicly accessible.
12847 - Add some documentation about how configuration information is
12848 conveyed in cquery proto output.
12849 - Introduces experimental static library linking API under
12850 apple_common.link_multi_arch_static_library
12851 - Further deprecation and removal of pkg_tar. Stop supporting
12852 legacy use of 'files' attribute, where it could be a list of
12853 labels instead of a map of paths to labels.
12854 - Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
12855 its purpose because --all_incompatible_changes would never set
12856 it. The last rule it gated (pkg_tar) is scheduled to be removed
12857 in Bazel 6.x.
12858 - Add coverage configuration fragment, used to expose
12859 output_generator label.
12860 - Bazel now no longer includes system headers on macOS in coverage
12861 reports (#14969).
12862 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
12863 $ANDROID_HOME.
12864 - The default dexer is now d8. dx can be optionally enabled using:
12865 --define=android_dexmerger_tool=dx_dexmerger \
12866 --define=android_incremental_dexing_tool=dx_dexbuilder \
12867 --define=android_standalone_dexing_tool=dx_compat_dx \
12868 --use_workers_with_dexbuilder
12869 - Packaging support for deploy JAR embedded JDK files (hermetic
12870 Java).
12871 - Don't stamp cc_common.link actions for tool dependencies.
12872 - Starlark test rules can use the new inherited_environment
12873 parameter of testing.TestEnvironment to specify environment
12874 variables
12875 whose values should be inherited from the shell environment.
12876 - Enable merging permissions during Android manifest merging with
12877 the --merge_android_manifest_permissions flag.
12878
12879This release contains contributions from many people at Google, as well as Adam Wolf, Albert Lloveras, Alessandro Patti, Alex Eagle, Alex Scott, Andreas Herrmann, Andrew Katson, arunkumar9t2, Ast-x64, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Ben Lee, Bohdan Vanieiev, Bradley Burns, Brandon Jacklyn, Brentley Jones, Brentley Jones, Chad Miller, Chris Fredrickson, Christopher Sauer, ckiffel, Cristian Hancila, crydell-ericsson, Dan Fleming, Daniel Wagner-Hall, Danny Wolf, David Ostrovsky, Denys Kurylenko, Dimi Shahbaz, divanorama, dmaclach, Ed Schouten, Fabian Meumertzheim, floriographygoth, Fredrik Medley, gkgoat1, Greg Estren, Greg, Hannes Kufler, hvadehra, Jan, Jay Bazuzi, jheaff1, Jiawen Chen, Joel Williamson, juanchoviedo, Keith Smiley, Ken Micklas, Kevin Lin, lihu, Luc Bertrand, Marek uppa, Matt Mackay, Michael P. Nitowski, Mikhail Balabin, Mostyn Bramley-Moore, Nick Korostelev, Nitesh Anandan, Niyas Sait, Noa Resare, Oscar Bonilla, Patrick Balestra, Paul Tarjan, Pras Velagapudi, Rahul Butani, Rifqi Mulya Fahmi, Ryan Schmidt, Simon Bjorklen, Son Luong Ngoc, Stiopa Koltsov, Sven Tiffe, Ted Kaplan, Tetsuo Kiso, Thi Doan, Thomas Zayouna, Timothe Peignier, Ulf Adams, Ulrik Falklof, Vasilios Pantazopoulos, William Muir, Xavier Bonaventura, Xdng Yng, Yannic Bonenberger, Yesudeep Mangalapilly, Yuval K, Zhongpeng Lin.
12880
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +020012881## Release 5.1.1 (2022-04-08)
Bazel Release System98022492022-04-08 14:11:37 +020012882
12883```
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +020012884Baseline: 8d66a4171baddcbe1569972f019e54130111202c
Bazel Release System724177f2022-03-25 20:57:02 +010012885
12886Cherry picks:
12887
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +020012888 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
12889 Remote: Cache merkle trees
12890 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
12891 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
12892 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
12893 Compile Apple tools as fat binaries if possible
12894 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
12895 Add protobuf as a well known module
12896 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
12897 Remote: Merge target-level exec_properties with
12898 --remote_default_exec_properties
12899 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
12900 Add -no_uuid for hermetic macOS toolchain setup
12901 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
12902 Remote: Fixes an issue when --experimental_remote_cache_async
12903 encounter flaky tests.
12904 + 77a002cce050e861fcc87c89acf7768aa5c97124:
12905 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
12906 has …
12907 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
12908 Fixes for the Starlark transition hash computation (#14251)
12909 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
12910 Do location expansion in copts of objc_library
12911 + 50274a9f714616d4735a560db7f617e53fb8d01b:
12912 [5.x] Remote: Add support for compression on gRPC cache (#14277)
12913 + 61bf2e5b5181cbe34a2f0d584053570943881804:
Bazel Release System724177f2022-03-25 20:57:02 +010012914 Automated rollback of commit
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +020012915 34c71465f84fa780217926db2e8e5ca3d6d4568c.
12916 + 79888fe7369479c398bafe064daa19a7ae30f710:
12917 Silence a zstd-jni GCC warning.
12918 + 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
12919 Remote: Limit max number of gRPC connections by
12920 --remote_max_connections.
12921 + fd727ec96d861573dcbad3249d727a94eff84789:
12922 Do location expansion in copts of objc_library
12923 + 23d096931be9b7247eafa750999dd7feadde14c1:
12924 Fix _is_shared_library_extension_valid
12925 + 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
12926 Remove merging of java_outputs in JavaPluginInfo.
12927 + cea5f4f499aa832cf90c68898671869ce79d63f2:
12928 Cherrypick Bzlmod documentation (#14301)
12929 + 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
12930 Format work requests according to ndjson spec
12931 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
12932 Enable user_link_flags_feature for macosx cc_toolchain_config
12933 + 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
12934 Remote: Use Action's salt field to differentiate cache across
12935 workspaces.
12936 + f94898915268be5670fb1e93a16c03e9b14d2a58:
12937 [5.x] Remote: Fix "file not found" error when remote cache is
12938 changed from enabled to disabled. (#14321)
12939 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
12940 Delete marker file before fetching an external repository
12941 + c05c6261cdb2cacb7c9881c255c0ada435ab5182:
12942 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
12943 + d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
12944 Fix remote spawn tests for remote_merkle_tree_cache=true
12945 + 59e16e944200555da377799aa0d9e8d0674d2e27:
12946 Show skipped tests as a warning
12947 + 76b3c242831f8e88835e3002a831a185a41fcc52:
12948 Build xcode-locator as a universal binary
12949 + aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
12950 Exit collect_coverage.sh early if LCOV_MERGER is not set.
12951 + 4256d46327bad8638df91be1a5d4ef83b12b74c7:
12952 Automated rollback of commit
12953 d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
12954 + dce24350befd08216b3910ae343670015444ff81:
12955 [apple] fix issues compiling C in objc_library for watchos/armv7k
12956 + bfc24139d93f8643686d91596ba347df2e01966a:
12957 5.x: Remote: Ignore blobs referenced in BEP if the generating
12958 action cannot be cached remotely. (#14389)
12959 + 5aef53a8884038f3c9f06e6dddb9372196253378:
12960 Remote: Don't blocking-get when acquiring gRPC connections.
12961 (#14420)
12962 + 005361c895da334beb873901e93aff06d180256e:
12963 Disable IncludeValidation for ObjC in bazel
12964 + d703b7b4f09fb3c389f99e52bac1f23930280b56:
12965 Update java_tools v11.6
12966 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
12967 Stop remote blob upload if upload is complete. (#14467)
12968 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
12969 [5.x] Make remote BES uploader better (#14472)
12970 + 2edab739e1f61fe8813230b03396ca46f0790089:
12971 Avoid too verbose warnings in terminal when cache issues
12972 + 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
12973 Rename --project_id to --bes_instance_name
12974 + c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
12975 Automated rollback of commit
12976 bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
12977 + b341802700484d11c775bf02d80f43ba3f33b218:
12978 [apple] support watchos_arm64 in toolchain
12979 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
12980 Disable implicitly collecting baseline coverage for toolchain
12981 targets.
12982 + 302971e1b3d803069ac949c0085c0d2a3916c8ab:
12983 Automated rollback of commit
12984 7d09b4a15985052670244c277e4357557b4d0039.
12985 + 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
12986 Bzlmod: Starlarkify default attr values for TypeCheckedTags
12987 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
12988 Fix build after rc4 cherrypicks (#14581)
12989 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
12990 Release 5.0.0 (2022-01-19)
12991 + 486d153d1981c3f47129f675de20189667667fa7:
12992 Find runfiles in directories that are themselves runfiles
12993 + 0de7bb95022057e8b89334f44759cf6f950e131f:
12994 Don't resolve symlinks for --sandbox_base
12995 + 8b60c90f3641591b65c4e153113aea562f1fab94:
12996 Remove uses of -lstdc++ on darwin
12997 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
12998 Allow Label instances as keys in select (#14755)
12999 + 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
13000 Remote: Only waits for background tasks from remote execution.
13001 + 8734ccf9847eafb7193388cd9c6fa78faa78283f:
13002 Add the default solib dir to the rpath for cc_imports with
13003 transitions
13004 + 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
13005 Flip --experimental_worker_allow_json_protocol
13006 + fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
13007 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
13008 cpu for tools when host cpu and exec cpu are different
13009 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
13010 Propagate --experimental_cc_implementation_deps to host config
13011 + 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
13012 Support select() on constraint_value for aliases.
13013 + 67a133b431ccece22b7dd9a72f0837cff77d4360:
13014 Improve documentation for select()
13015 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
13016 Cherrypicks for experimental cc_shared_library (#14773)
13017 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
13018 [apple] support tvos_sim_arm64 in toolchain (#14779)
13019 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
13020 Cherry pick win arm64 (#14794)
13021 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
13022 [5.1.0] cherrypick subpackages support (#14780)
13023 + 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
13024 Add a helper method for rules to depend on the cpp toolchain
13025 type.
13026 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
13027 UrlRewriter should be able to load credentials from .netrc
13028 (#14834)
13029 + 32d1606dac2fea730abe174c41870b7ee70ae041:
13030 Add "arch" struct field to repository_os
13031 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
13032 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
13033 + c2ddbd1954af5baab63b93f2b055a410a27832c8:
13034 Ignore missing include directory in JDK distribution.
13035 + 16de03595e21f7bf31818e717505b23c953b3b7d:
13036 Fix bazel coverage false negative
13037 + 0c74741742301abcf67452a7f591daec1c3a7635:
13038 Remote: Postpone the block waiting in `afterCommand` to
13039 `BlockWaitingModule` (#14833)
13040 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
13041 Switch to `ProcessHandle` for getting the PID (#14842)
13042 + a987b98ea0d6da2656c4115568ef9cbe8a164550:
13043 Fix uses of std++ on bsd
13044 + d184e4883bb7fc21de2f7aeea4304994de27e9ea:
13045 Remote: handle early return of compressed blobs uploads
13046 + 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
13047 Add removeprefix/removesuffix to Starlark strings
13048 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
13049 Fix default CPU for macOS and iOS (#14923)
13050 + cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
13051 Add paramfile support for def_parser, since in rare cases on
13052 Windows command line character limit was reached.
13053 + 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
13054 Normalize rpath entries to guard against missing default solib
13055 dir
13056 + 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
13057 Fix aggressive params file assumption
13058 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
13059 Fix precompiled libs not in runfiles of cc_shared_library
13060 (#14943)
13061 + 764614e0f0287125269e7a92e909a44624bcb360:
13062 Bzlmod: Allow multiple `use_extension`s on the same extension
13063 (#14945)
13064 + fa761f84994f18db383fbe9aaea524e4385da13a:
13065 Fix typo in `apple_common.platform` docs
13066 + f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
13067 Yield a Proxy for addresses without protocol
13068 + 8cefb8bed4ac82df8640682517372a9249732352:
13069 Avoid merging URLs in HttpUtils
13070 + b4804807fc2c184cc36df9e69e472942c01941b8:
13071 Make protocOpts() public. (#14952)
13072 + 113eaca5862c48797654ae2a3acbb6e15d761485:
13073 Do not hide BulkTransferException messages when there were more
13074 than one exception
13075 + b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
13076 merkle_tree_cache: change default size to 1000
13077 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
13078 Add --experimental_repository_cache_urls_as_default_canonical_id
13079 to help detect broken repository URLs (#14989)
13080 + f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
13081 Expose the logic to read user netrc file
13082 + b858ec39aebd7e586af5438aa2035db2adebf9a4:
13083 Correct cpu and os values of `local_config_cc_toolchains` targets
13084 + 5e79972c05d89280f0cf1fa620f807366847bac6:
13085 Expose CoverageOutputGenerator on a Fragment (#14997)
13086 + 78f03110e0dab42f37e427fd524e72706e036d74:
13087 Correct error runfiles cc_shared_library (#14998)
13088 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
13089 [5.1] Adding Starlark dependencies to the package //external
13090 (#14991)
13091 + a73aa12be65454ac8cfb5a8f3e056c420402f997:
13092 Remote: Fix crashes with InterruptedException when using http
13093 cache.
13094 + f8707c07f153ac4ac2ec4b210321f1a16343006d:
13095 Account for interface libraries in cc_shared_library
13096 + a570f5fdb1618a6c272d18bebaa712d3b2af3975:
13097 Fix coverage runfiles directory issue
13098 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
13099 Do not validate input-only settings in transitions (#15048)
13100 + 71747ccc9d0032a865854613329362563c0574df:
13101 Filter out system headers on macOS.
13102 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
13103 Update Bazel bootstrap documentation and remove obsolete flags.
13104 (#15065)
13105 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
13106 [5.1] Undocument --bes_best_effort (#15066)
13107 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
13108 Fix conflicting actions error when specifying
13109 --host_macos_minimum_os (#15068)
13110 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
13111 [5.1] Remote: Action should not be successful and cached if
13112 outputs were not created (#15071)
13113 + 00d74ff737cccd60305ee58d85313556a077152a:
13114 Support decompressing zstd tar archives for repository rules.
13115 + f5857830bb68bd05ffc257506575ed37a8128933:
13116 Remote: Don't check TreeArtifact output
13117 + efb2b80953983dce499d453a9f55a74ffaf8c42d:
13118 osx_cc_wrapper: Only expand existing response files
13119 + c771c43b870fb8618db7bdab6725ab40cac4976d:
13120 Remote: Fix crashes by InterruptedException when dynamic
13121 execution is enabled. (#15091)
13122 + 3785677cc84fc4024fda85575c05efbde5d512fc:
13123 Use python3 on macOS
13124 + 815d9e499a32fd4d87525ac0c698c293cf26433d:
13125 Release 5.1.0 (2022-03-24)
13126 + 1fbb69e366034484887e00c6006c7b79508765ed:
13127 Prepare 5.1.1 release
13128 + df153df9656e0e197f67622bb11f7d77e19238a0:
13129 Fix CODEOWNERS syntax
13130 + d418245e8cdd6eef9c6ba326f96fd4aabd046fe2:
13131 Remote: Don't check declared outputs for failed action (#15181)
13132 + ffa2a0b197d1f4ffe2031fd0b1b40da9d126793b:
13133 Upgrade abseil version to the latest (#15183)
13134 + 8ae15207ecf0be3f45b8cd249077a2c1896e2b09:
13135 Fix windows_export_all_symbols in cc_shared_library (#15190)
13136 + 94cc0985ea07a2d69ef07ac9d3a9943e094794f2:
13137 Support ZIP files with total number of disks = 0 (#15200)
Bazel Release System724177f2022-03-25 20:57:02 +010013138```
13139
Bazel Release System724177f2022-03-25 20:57:02 +010013140Important changes:
13141
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +020013142 - alias() can now select() directly on constraint_value()
13143
13144 Fixes https://github.com/bazelbuild/bazel/issues/13047.
13145
13146 Closes #14310.
Bazel Release System724177f2022-03-25 20:57:02 +010013147 - Fixed an issue where Bazel could erroneously report a test passes
13148 in coverage mode without actually running the test.
Bazel Release System724177f2022-03-25 20:57:02 +010013149 - Make protocOpts() publicly accessible.
Bazel Release System724177f2022-03-25 20:57:02 +010013150 - Add coverage configuration fragment, used to expose
13151 output_generator label.
13152 - Bazel now no longer includes system headers on macOS in coverage
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +020013153 reports (#14969).
13154
13155 Closes #14971.
Bazel Release System724177f2022-03-25 20:57:02 +010013156
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +020013157This release contains contributions from many people at Google, as well as amberdixon, Benjamin Peterson, Brentley Jones, Dan Fleming, Danny Wolf, Fabian Meumertzheim, Keith Smiley, Niyas Sait, Noa Resare, Oliver Eikemeier, oquenchil, Philipp Schrader, Xùdōng Yáng, Yannic.
Bazel Release System724177f2022-03-25 20:57:02 +010013158
Bazel Release System45b225d2022-03-24 14:57:44 +010013159## Release 5.1.0 (2022-03-24)
Bazel Release System3c156f32022-01-19 15:04:51 +010013160
13161```
13162Baseline: 8d66a4171baddcbe1569972f019e54130111202c
13163
13164Cherry picks:
13165
13166 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
13167 Remote: Cache merkle trees
13168 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
13169 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
13170 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
13171 Compile Apple tools as fat binaries if possible
13172 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
13173 Add protobuf as a well known module
13174 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
13175 Remote: Merge target-level exec_properties with
13176 --remote_default_exec_properties
13177 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
13178 Add -no_uuid for hermetic macOS toolchain setup
13179 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
13180 Remote: Fixes an issue when --experimental_remote_cache_async
13181 encounter flaky tests.
13182 + 77a002cce050e861fcc87c89acf7768aa5c97124:
13183 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
13184 has …
13185 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
13186 Fixes for the Starlark transition hash computation (#14251)
13187 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
13188 Do location expansion in copts of objc_library
13189 + 50274a9f714616d4735a560db7f617e53fb8d01b:
13190 [5.x] Remote: Add support for compression on gRPC cache (#14277)
13191 + 61bf2e5b5181cbe34a2f0d584053570943881804:
13192 Automated rollback of commit
13193 34c71465f84fa780217926db2e8e5ca3d6d4568c.
13194 + 79888fe7369479c398bafe064daa19a7ae30f710:
13195 Silence a zstd-jni GCC warning.
Bazel Release System45b225d2022-03-24 14:57:44 +010013196 + 8d5973d29d60c0c615838c534ee27f93377cf5af:
Bazel Release System3c156f32022-01-19 15:04:51 +010013197 Remote: Limit max number of gRPC connections by
13198 --remote_max_connections.
13199 + fd727ec96d861573dcbad3249d727a94eff84789:
13200 Do location expansion in copts of objc_library
13201 + 23d096931be9b7247eafa750999dd7feadde14c1:
13202 Fix _is_shared_library_extension_valid
Bazel Release System45b225d2022-03-24 14:57:44 +010013203 + 7632928a116efc4e28a02ec9206870663bcaacf7:
Bazel Release System3c156f32022-01-19 15:04:51 +010013204 Remove merging of java_outputs in JavaPluginInfo.
13205 + cea5f4f499aa832cf90c68898671869ce79d63f2:
13206 Cherrypick Bzlmod documentation (#14301)
Bazel Release System45b225d2022-03-24 14:57:44 +010013207 + 299e50aae9d8c0b7f0d47aa2ce3d2658a3a80a94:
13208 Format work requests according to ndjson spec (#14314)
13209 + e53ae63c04a7158b78da19bc76ede57a8cc31673:
Bazel Release System3c156f32022-01-19 15:04:51 +010013210 Enable user_link_flags_feature for macosx cc_toolchain_config
Bazel Release System45b225d2022-03-24 14:57:44 +010013211 (#14313)
13212 + b587be37b3b817879d700d7ee55c44cd884b0905:
Bazel Release System3c156f32022-01-19 15:04:51 +010013213 Remote: Use Action's salt field to differentiate cache across
Bazel Release System45b225d2022-03-24 14:57:44 +010013214 workspaces. (#14320)
Bazel Release System3c156f32022-01-19 15:04:51 +010013215 + f94898915268be5670fb1e93a16c03e9b14d2a58:
13216 [5.x] Remote: Fix "file not found" error when remote cache is
13217 changed from enabled to disabled. (#14321)
Bazel Release System45b225d2022-03-24 14:57:44 +010013218 + dc76f74d3a6f77de03c49234386bf0ca7d15bdcc:
Bazel Release System3c156f32022-01-19 15:04:51 +010013219 Delete marker file before fetching an external repository
Bazel Release System45b225d2022-03-24 14:57:44 +010013220 (#14323)
13221 + fabdff40070acf415282543b72cf114e2b5723f6:
Bazel Release System3c156f32022-01-19 15:04:51 +010013222 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
Bazel Release System45b225d2022-03-24 14:57:44 +010013223 (#14331)
13224 + 541ed05702751a5b061b22f1ff98f0cef17af1a5:
13225 Fix remote spawn tests for remote_merkle_tree_cache=true (#14334)
13226 + aa884df6b09ed19fccd83aad67f39653fde5fbed:
13227 Show skipped tests as a warning (#14345)
13228 + 6916fc1c4c49134ee76b9a725deddd1e6bcab24a:
13229 Build xcode-locator as a universal binary (#14351)
13230 + ffa12adb44e86772ae48eeb5a387f172130407fa:
Bazel Release System3c156f32022-01-19 15:04:51 +010013231 Exit collect_coverage.sh early if LCOV_MERGER is not set.
Bazel Release System45b225d2022-03-24 14:57:44 +010013232 (#14359)
13233 + b46de754aba0f24d67cd9c882f8a82428915fae5:
Bazel Release System3c156f32022-01-19 15:04:51 +010013234 Automated rollback of commit
Bazel Release System45b225d2022-03-24 14:57:44 +010013235 d84f7998ef8f15e27376a0c8f25b320145c4ba9e. (#14358)
13236 + 24a340a50a11e255dff656d2ee9b3dcfb093b729:
Bazel Release System3c156f32022-01-19 15:04:51 +010013237 [apple] fix issues compiling C in objc_library for watchos/armv7k
13238 + bfc24139d93f8643686d91596ba347df2e01966a:
13239 5.x: Remote: Ignore blobs referenced in BEP if the generating
13240 action cannot be cached remotely. (#14389)
13241 + 5aef53a8884038f3c9f06e6dddb9372196253378:
13242 Remote: Don't blocking-get when acquiring gRPC connections.
13243 (#14420)
Bazel Release System45b225d2022-03-24 14:57:44 +010013244 + 2fb7dfe7b35b5997cc5fbcd1d98612b99419f097:
13245 Disable IncludeValidation for ObjC in bazel (#14440)
13246 + 7deb940f3840e6ac3233963a9b68227e7f0f4a9e:
13247 Update java_tools v11.6 (#14423)
Bazel Release System3c156f32022-01-19 15:04:51 +010013248 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
13249 Stop remote blob upload if upload is complete. (#14467)
13250 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
13251 [5.x] Make remote BES uploader better (#14472)
Bazel Release System45b225d2022-03-24 14:57:44 +010013252 + d7f134110631641ea8c3f9b19b37165bb177ef2e:
13253 Avoid too verbose warnings in terminal when cache issues (#14504)
13254 + 2b48c6b9a447756fcb3295b8a75899b96efa7fd4:
13255 Rename --project_id to --bes_instance_name (#14507)
13256 + 7c7f102576c917acf6c9d6013a5c7c4783bf396d:
Bazel Release System3c156f32022-01-19 15:04:51 +010013257 Automated rollback of commit
Bazel Release System45b225d2022-03-24 14:57:44 +010013258 bfdfa6ebfd21b388f1c91f512291c848e1a92a96. (#14515)
13259 + 9c1c622fed219cb6b9c0656ebe4a4f3c117029b9:
13260 [apple] support watchos_arm64 in toolchain (#14527)
Bazel Release System3c156f32022-01-19 15:04:51 +010013261 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
13262 Disable implicitly collecting baseline coverage for toolchain
13263 targets.
Bazel Release System45b225d2022-03-24 14:57:44 +010013264 + 48a0fc51ccf6a3a263b9f8d96921d84d4243e0e6:
Bazel Release System3c156f32022-01-19 15:04:51 +010013265 Automated rollback of commit
13266 7d09b4a15985052670244c277e4357557b4d0039.
Bazel Release System45b225d2022-03-24 14:57:44 +010013267 + a233aaa649572b7173ea27aceed31cb705d7ba9b:
Bazel Release System3c156f32022-01-19 15:04:51 +010013268 Bzlmod: Starlarkify default attr values for TypeCheckedTags
13269 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
13270 Fix build after rc4 cherrypicks (#14581)
Bazel Release System45b225d2022-03-24 14:57:44 +010013271 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
13272 Release 5.0.0 (2022-01-19)
13273 + d53f53cf5cc05c738a9857ca95059ce8903107cd:
13274 Find runfiles in directories that are themselves runfiles
13275 (#14737)
13276 + 167e79f08a95ae14edfb44d85452c9c74e0f1a3c:
13277 Don't resolve symlinks for --sandbox_base (#14748)
13278 + 22bede95a5a74c61571d3b50c14488b0e922ff63:
13279 Remove uses of -lstdc++ on darwin (#14750)
13280 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
13281 Allow Label instances as keys in select (#14755)
13282 + a5f2813acf3e31aeb3037d80a6f9d7fddf76a1c8:
13283 Remote: Only waits for background tasks from remote execution.
13284 (#14752)
13285 + d17a769965f12363f339c7b93524f49dbcdd1b1e:
13286 Add the default solib dir to the rpath for cc_imports with
13287 transitions (#14757)
13288 + 53ee76e96365bdea88847f77706d55f2c39b9273:
13289 Flip --experimental_worker_allow_json_protocol (#14749)
13290 + 21ff46a639a83084975251ca7c21cfc8d74763eb:
13291 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
13292 cpu for tools when host cpu and exec cpu are different (#14751)
13293 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
13294 Propagate --experimental_cc_implementation_deps to host config
13295 + 0df1851f0759279d84c79ea6731552437c95ce65:
13296 Support select() on constraint_value for aliases. (#14754)
13297 + 58ecec37747636b3483bbcba29a7f3e0e2372697:
13298 Improve documentation for select() (#14769)
13299 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
13300 Cherrypicks for experimental cc_shared_library (#14773)
13301 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
13302 [apple] support tvos_sim_arm64 in toolchain (#14779)
13303 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
13304 Cherry pick win arm64 (#14794)
13305 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
13306 [5.1.0] cherrypick subpackages support (#14780)
13307 + af34c452c12dae8758340dc5c284cf30f3c80302:
13308 Add a helper method for rules to depend on the cpp toolchain
13309 type. (#14795)
13310 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
13311 UrlRewriter should be able to load credentials from .netrc
13312 (#14834)
13313 + 65904046031325c418734dfda994bdeff4134160:
13314 Add "arch" struct field to repository_os (#14835)
13315 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
13316 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
13317 + 59384ddee429ca363022c2a03b62a5a9a43c31c4:
13318 Ignore missing include directory in JDK distribution. (#14832)
13319 + 344e8f8e97db2e2aa9b2fce7d68083a7549e4bc6:
13320 Fix bazel coverage false negative (#14836)
13321 + 0c74741742301abcf67452a7f591daec1c3a7635:
13322 Remote: Postpone the block waiting in `afterCommand` to
13323 `BlockWaitingModule` (#14833)
13324 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
13325 Switch to `ProcessHandle` for getting the PID (#14842)
13326 + 031a772acfd304fb5678e6a53e6c4ac3b99103ff:
13327 Fix uses of std++ on bsd (#14860)
13328 + 8ebd70b0c97c8bd584647f219be8dd52217cb5cf:
13329 Remote: handle early return of compressed blobs uploads (#14885)
13330 + 50bb742fc35c04ab422a7ce723160b27d6900e6c:
13331 Add removeprefix/removesuffix to Starlark strings (#14899)
13332 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
13333 Fix default CPU for macOS and iOS (#14923)
13334 + ed7a10d6170049877a07cf27edaf8db65d17f77b:
13335 Add param file for def parser action (#14925)
13336 + e624aff6d63dd6264d7ff56ec9650b7a1aeb3a36:
13337 Normalize rpath entries to guard against missing default solib
13338 dir (#14929)
13339 + c1ecca22d2cb761bd094fcd40eb8b13e826e777e:
13340 Fix aggressive params file assumption (#14930)
13341 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
13342 Fix precompiled libs not in runfiles of cc_shared_library
13343 (#14943)
13344 + 764614e0f0287125269e7a92e909a44624bcb360:
13345 Bzlmod: Allow multiple `use_extension`s on the same extension
13346 (#14945)
13347 + 85d7ed68fa7bd84a5a23baf0431cbb04d64d7fa6:
13348 Fix typo in `apple_common.platform` docs (#14958)
13349 + a6a430540879bd866dfbef5cd048b2a4ab6bd883:
13350 Yield a Proxy for addresses without protocol (#14956)
13351 + 698da7e563b76633c973ea3029b7e313b69545fd:
13352 Avoid merging URLs in HttpUtils (#14954)
13353 + b4804807fc2c184cc36df9e69e472942c01941b8:
13354 Make protocOpts() public. (#14952)
13355 + 61cfa1d01eefb0923e8e3029ab9e92fdfe77ff50:
13356 Do not hide BulkTransferException messages when there were more
13357 than one exception (#14986)
13358 + 0764821a8c1175fbcbca630d3681901244b33095:
13359 merkle_tree_cache: change default size to 1000 (#14984)
13360 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
13361 Add --experimental_repository_cache_urls_as_default_canonical_id
13362 to help detect broken repository URLs (#14989)
13363 + 87ef5ce4103be75e8d9935e071fa215a481536e1:
13364 Expose the logic to read user netrc file (#14990)
13365 + 785c7ecafa9b93e700e846397c3a13c320c1dbdd:
13366 Correct cpu and os values of `local_config_cc_toolchains`
13367 targets (#14995)
13368 + 5e79972c05d89280f0cf1fa620f807366847bac6:
13369 Expose CoverageOutputGenerator on a Fragment (#14997)
13370 + 78f03110e0dab42f37e427fd524e72706e036d74:
13371 Correct error runfiles cc_shared_library (#14998)
13372 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
13373 [5.1] Adding Starlark dependencies to the package //external
13374 (#14991)
13375 + 6cd6a27d4480eff91258ef8258b5af1901acde65:
13376 Remote: Fix crashes with InterruptedException when using http
13377 cache. (#14999)
13378 + 91a580ad198a9d7f179c1822d55f75ba5318e2ce:
13379 Fix interface_library-only libraries_to_link for
13380 cc_shared_library (#15046)
13381 + 1345938867e5c0c381f46cccf889c7b2b20a867a:
13382 Fix coverage runfiles directory issue (#15047)
13383 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
13384 Do not validate input-only settings in transitions (#15048)
13385 + f19d6107bca9aea7742bd66eb3080f29fcf3bd81:
13386 Filter out system headers on macOS. (#15020)
13387 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
13388 Update Bazel bootstrap documentation and remove obsolete flags.
13389 (#15065)
13390 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
13391 [5.1] Undocument --bes_best_effort (#15066)
13392 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
13393 Fix conflicting actions error when specifying
13394 --host_macos_minimum_os (#15068)
13395 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
13396 [5.1] Remote: Action should not be successful and cached if
13397 outputs were not created (#15071)
13398 + 6d26dc74da2602817d56b0507ec79394c35a3781:
13399 Support decompressing zstd tar archives for repository rules.
13400 (#15087)
13401 + 376cd472bbf7d81c7feb79563e7894cc3d74151a:
13402 Remote: Don't check TreeArtifact output (#15085)
13403 + 48b60d22bca0158d194b78481ff86b0ac251243f:
13404 osx_cc_wrapper: Only expand existing response files (#15090)
13405 + c771c43b870fb8618db7bdab6725ab40cac4976d:
13406 Remote: Fix crashes by InterruptedException when dynamic
13407 execution is enabled. (#15091)
13408 + 3b2d686f2976e66ca4f93b568f2262a88621855a:
13409 Use python3 on macOS (#15102)
Bazel Release Systemf0f1fb42022-01-14 17:48:08 +010013410```
13411
13412Important changes:
13413
Bazel Release System45b225d2022-03-24 14:57:44 +010013414 - alias() can now select() directly on constraint_value()
13415
13416 Fixes https://github.com/bazelbuild/bazel/issues/13047.
13417
13418 Closes #14310.
13419 - Fixed an issue where Bazel could erroneously report a test passes
13420 in coverage mode without actually running the test.
13421 - Make protocOpts() publicly accessible.
13422 - Add coverage configuration fragment, used to expose
13423 output_generator label.
13424 - Bazel now no longer includes system headers on macOS in coverage
13425 reports (#14969).
13426
13427 Closes #14971.
Bazel Release Systemf0f1fb42022-01-14 17:48:08 +010013428
Bazel Release System45b225d2022-03-24 14:57:44 +010013429This release contains contributions from many people at Google, as well as amberdixon, Benjamin Peterson, Brentley Jones, Dan Fleming, Danny Wolf, Fabian Meumertzheim, Keith Smiley, Niyas Sait, Noa Resare, Oliver Eikemeier, oquenchil, Philipp Schrader, Xùdōng Yáng, Yannic.
Bazel Release System32fb9c682021-11-19 01:26:48 +010013430
Bazel Release Systemc0050dd2021-11-11 21:26:22 +010013431## Release 6.0.0-pre.20211101.2 (2021-11-11)
13432
13433```
13434Baseline: 9c65356cedcf4e68077219c10f5a7bb39d38054b
13435
13436Cherry picks:
13437
13438 + 2c9721f9ba11979eee1fd95fe793b52369df99ac:
13439 Automated rollback of commit
13440 9c65356cedcf4e68077219c10f5a7bb39d38054b.
13441```
13442
13443Important changes:
13444
13445 - Deprecate --incompatible_applicable_licenses flag, in preparation
13446 for removal in Bazel 6.x.
13447
13448This release contains contributions from many people at Google, as well as Alex Eagle, Benjamin Peterson, Ben Lee, Fabian Meumertzheim, Fredrik Medley, Keith Smiley, Rahul Butani, Ulf Adams, William Muir.
13449
Bazel Release System9d6fd6d2021-11-03 17:44:05 +010013450## Release 6.0.0-pre.20211025.1 (2021-11-03)
13451
13452```
13453Baseline: 5c04973b000b6e1819d6b51d238498a0b507c7af
13454```
13455
13456Important changes:
13457
13458 - Bazel no longer supports Java 8. From this version on, the
13459 minimum required JDK is OpenJDK 11.
13460
13461This release contains contributions from many people at Google, as well as Benjamin Peterson, John Laxson, Keith Smiley, Thi Don.
13462
Bazel Release System276aef32021-10-26 17:40:43 +020013463## Release 6.0.0-pre.20211019.1 (2021-10-26)
13464
13465```
13466Baseline: 406fc1ba5fae98843c99f89a43dcbdbca0d90274
13467```
13468
13469Incompatible changes:
13470
13471 - Remove `--experimental_profile_cpu_usage`.
13472 - flipped --incompatible_java_common_parameters (see #12373)
13473
13474This release contains contributions from many people at Google, as well as ecngtng, Fabian Meumertzheim, Keith Smiley, Mauricio Galindo, Thaler Benedek.
13475
Bazel Release System15a09392021-10-20 21:00:46 +020013476## Release 5.0.0-pre.20211011.2 (2021-10-20)
13477
13478```
13479Baseline: 3b3bad9e774891856c198738c46d547de954b84a
13480
13481Cherry picks:
13482
13483 + d8c23189c9118f99cfc3eaac98976b7c6fdacae0:
13484 Automated rollback of commit
13485 2571ce2d9e72ee60326ef524fee1702cb2dd07e7.
13486```
13487
13488Incompatible changes:
13489
13490 - Removed --action_graph from the dump command.
13491 - Remove `--{experimental_,}json_trace_compression` option.
13492
13493Important changes:
13494
13495 - The --experimental_existing_rules_immutable_view flag has been
13496 renamed to --incompatible_existing_rules_immutable_view
13497
13498This release contains contributions from many people at Google, as well as Alex Eagle, hvadehra, Keith Smiley, Torgil Svensson, Yuval.
13499
Bazel Release System6c21d272021-10-19 16:14:18 +020013500## Release 5.0.0-pre.20211006.1 (2021-10-19)
13501
13502```
13503Baseline: 681886de2901a2f7920288253674927cf13f1585
13504```
13505
13506Important changes:
13507
13508 - incompatible_disable_depset_items is flipped
13509
13510This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Keith Smiley, Thomas Carmet, Timothe Peignier.
13511
Bazel Release System60eb0012021-10-07 17:43:31 +020013512## Release 5.0.0-pre.20210929.1 (2021-10-07)
13513
13514```
13515Baseline: 61a5fae1b49ed067350d93578da268715031df06
13516```
13517
13518Important changes:
13519
13520 - The deprecated "relative_to_caller_repository" parameter has been
13521 removed from the Label constructor.
13522 - The toolchain transition is now enabled for all toolchains.
13523
13524This release contains contributions from many people at Google, as well as Artem V. Navrotskiy, hvadehra, Ikko Ashimine, Paul Gschwendtner, ron-stripe, Yuval K.
13525
Bazel Release Systemc2d6def2021-09-30 19:26:44 +020013526## Release 5.0.0-pre.20210923.7 (2021-09-30)
13527
13528```
13529Baseline: 9a765c8b498a72e20af6c391bef01e794913c317
13530
13531Cherry picks:
13532
13533 + f959a22bc59229b723cfca8c987da210b03b8a8d:
13534 Rollback.
13535```
13536
13537Important changes:
13538
13539 - Add support to length-delimited protos as undeclared output
13540 annotations []
13541
13542This release contains contributions from many people at Google, as well as Benjamin Peterson, Brandon Jacklyn, Rabi Shanker Guha.
13543
Bazel Release System1b7bb2fd2021-09-27 13:05:45 +020013544## Release 5.0.0-pre.20210921.1 (2021-09-27)
13545
13546```
13547Baseline: 11f1a6d3ce529a63d4b7111c62ae504ceac2a019
13548```
13549
13550Incompatible changes:
13551
13552 - Remove --bep_publish_used_heap_size_post_build
13553 - JSON trace profile: rename counter names.
13554
13555Important changes:
13556
13557 - Adds --experimental_existing_rules_immutable_view flag to make the
13558 native.existing_rule and native.existing_rules functions more
13559 efficient by
13560 returning immutable, lightweight dict-like view objects instead
13561 of mutable
13562 dicts.
13563
13564This release contains contributions from many people at Google, as well as Wren Turkal.
13565
Bazel Release System865f0f42021-09-23 13:40:49 +020013566## Release 5.0.0-pre.20210916.1 (2021-09-23)
13567
13568```
13569Baseline: e4a26b6391fd2d3112a29bf81b4397055c854184
13570```
13571
13572This release contains contributions from many people at Google, as well as Peter Kasting, Ulrik Falklof.
13573
Bazel Release System717b2352021-09-17 18:49:37 +020013574## Release 5.0.0-pre.20210913.1 (2021-09-17)
13575
13576```
13577Baseline: 0017fd23e1ff9aea7241c92a503024e3f2a3425b
13578```
13579
13580This release contains contributions from many people at Google, as well as Keith Smiley, Mathieu Olivari, Yannic Bonenberger.
13581
Bazel Release System139abf42021-09-14 20:51:20 +020013582## Release 5.0.0-pre.20210907.1 (2021-09-14)
13583
13584```
13585Baseline: 9cb59369a84d9328c2929eefcb58c1b972ab15f2
13586```
13587
13588Important changes:
13589
13590 - The `--toolchain_resolution_debug` flag now accepts regexes
13591 matching targets, as well as toolchain types, when choosing what
13592 debug messages to print.
13593
13594This release contains contributions from many people at Google, as well as Benjamin Peterson, frazze-jobb, Tetsuo Kiso.
13595
Bazel Release System50550962021-09-10 17:35:37 +020013596## Release 5.0.0-pre.20210831.2 (2021-09-10)
13597
13598```
13599Baseline: 14fe5dff967cf91f130746f646d1bb1cfc1053f2
13600
13601Cherry picks:
13602
13603 + 6f5c4bb4d17abd6b9654f255c12775eb35638000:
13604 Automated rollback of commit
13605 8181f0abe6591bc14957e6a941a6556fb040ca9f.
13606```
13607
13608Important changes:
13609
13610 - The --all_incompatible_changes flag is now a no-op
13611
13612This release contains contributions from many people at Google, as well as Keith Smiley, kekxv, ron-stripe, Sergey Tyurin.
13613
Bazel Release Systemd13f58b2021-09-03 20:30:13 +020013614## Release 5.0.0-pre.20210826.1 (2021-09-03)
13615
13616```
13617Baseline: f53c389dbd4b0ae66307e9bd4a72b36b3d284ec3
13618```
13619
13620Incompatible changes:
13621
13622 - Removing java_common.javac_jar Starlark call.
13623 - native.existing_rule now returns select values in a form that is
13624 accepted by rule instantiation. This is a breaking API change
13625 because there is some code that relies on the precise type
13626 returned, including brittle workarounds for this bug specifically
13627 and insufficiently flexible workarounds for other issues with the
13628 intersection of select and native.existing_rule.
13629 - flipped incompatible_use_toolchain_resolution_for_java_rules, see
13630 #7849
13631 - Query output=xml/proto/location for source files will now show
13632 the location of line 1 of the source file (as the new default)
13633 instead of its location in the BUILD file.
13634 - Specifying a target pattern underneath a directory specified by
13635 .bazelignore will now emit a warning, not an error.
13636 - Query `--order_output=auto` will now sort lexicographically.
13637 However, when `somepath` is used as a top level function (e.g.
13638 `query 'somepath(a, b)'`), it will continue to output in
13639 dependency order. If you do not want the lexicographical output
13640 ordering, specify another `--order_output` value (`no`, `deps` or
13641 `full`) based on what ordering you require.
13642 - In the build event stream,
13643 BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
13644 Its value was always mostly meaningless.
13645 BuildMetrics.TargetMetrics.targets_configured and
13646 BuildMetrics.ActionSummary.actions_created now include configured
13647 aspect data.
13648 - //visibility:legacy_public has been removed.
13649 - Flip and remove incompatible_dont_collect_so_artifacts
13650 (https://github.com/bazelbuild/bazel/issues/13043).
13651 - Remove flag --experimental_no_product_name_out_symlink: it is
13652 always true.
13653 - The Starlark method generate_dsym in objc fragment has
13654 been deleted. Please use the equivalent apple_generate_dsym in
13655 cpp
13656 fragment instead.
13657 - Native libraries in data attribute are not collected. See
13658 https://github.com/bazelbuild/bazel/issues/13550 for details
13659 - Enforce the `--profile` path to be absolute.
13660 - Enforce the --memory_profile path to be absolute.
13661 - JavaToolchainInfo.jvm_opt returns Depset instead of a list.
13662 - --apple_sdk has been deleted. It is a no-op.
13663 - --bep_publish_used_heap_size_post_build is now a no-op and will
13664 be deleted in a future release. Use --memory_profile=/dev/null
13665 instead.
13666 - Flipped --incompatible_disallow_resource_jars (see
13667 https://github.com/bazelbuild/bazel/issues/13221).
13668
13669New features:
13670
13671 - Args.add_all and Args.add_joined can now accept closures in
13672 map_each if explicitly enabled via allow_closure.
13673 - Add `--bes_header` flag to pass extra headers to the BES server.
13674
13675Important changes:
13676
13677 - Flag --incompatible_objc_compile_info_migration is removed. See
13678 #10854.
13679 - Flag --incompatible_objc_compile_info_migration is removed. See
13680 #10854.
13681 - Flag --incompatible_objc_compile_info_migration is removed. See
13682 #10854.
13683 - none
13684 PAIR=cmita
13685 - The --incompatible_load_python_rules_from_bzl flag is now a no-op.
13686 - Filter all (instead of just C++) source files for coverage output
13687 according to --instrumentation_filter and
13688 --instrument_test_targets.
13689 - The `--incompatible_disable_native_apple_binary_rule` flag has
13690 been added which disables the native `apple_binary` rule. Users
13691 who need to use `apple_binary` directly (if they cannot use one
13692 of the more specific Apple rules) should load it from
13693 https://github.com/bazelbuild/rules_apple.
13694 - The Android rules' --use_singlejar_apkbuilder is now a no-op.
13695 SingleJar will always be used to build APKs.
13696 - dict.setdefault(key, ...) now fails if dict is frozen, even if it
13697 already contains key. This is an incompatible API change.
13698 - Flag --incompatible_objc_provider_remove_compile_info is removed.
13699 See #11359.
13700 - Starlark now permits def statements to be nested (closures).
13701 - native.existing_rule now returns select values in a form that is
13702 accepted by rule instantiation. This is a breaking API change,
13703 though the fallout is expected to be small.
13704 - Starlark now supports lambda (anonymous function) expressions.
13705 - The "test" and "coverage" commands no longer return 3 when a
13706 test action fails because of a system error. Instead, the exit
13707 code
13708 reflects the type of system error.
13709 - The undocumented ctx.expand feature no longer exists.
13710 - Make --legacy_dynamic_scheduler a no-op flag.
13711 - Multiplex persistent workers can now use the JSON protocol.
13712 - native.existing_rule now returns a mutable list, not a tuple, for
13713 a list-valued attributes. This is an incompatible API change.
13714 - Roll back change to have native.existing_rules use list instead
13715 of tuple.
13716 - BEP includes test suite expansions.
13717 - config_setting now honors `visibility` attribute (and defaults to
13718 `//visibility:public`)
13719 - Change the MultiArchSplitTransitionProvider to be based on
13720 platform type + CPU instead of fixed "ios_" + cpu.
13721 - enforce config_setting visibility. See
13722 https://github.com/bazelbuild/bazel/issues/12932 for details.
13723 - add a flag to build v4 signature file
13724 - Added _direct_source_jars output group to Java related targets.
13725 END_PUBLIC
13726 - pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
13727 Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
13728 - Allowing the lipo operations to be conditional in the
13729 linkMultiArchBinary API for Apple binaries. Single architecture
13730 slices are now returned through AppleBinaryOutput and the
13731 Starlark API.
13732 - Release restriction for "-" in the package name for Python
13733 sources. Now `py_binary` and `py_test` targets can have main
13734 source file with "-" in the path.
13735 - Users consuming BEP may assume that a `named_set_of_files` event
13736 will
13737 appear before any event referencing that `named_set` by ID. This
13738 allows consumers
13739 to process the files for such events (eg. `TargetCompleted`)
13740 immediately.
13741 - BEP includes all files from successful actions in requested
13742 output groups.
13743 Previously, an output group's files were excluded if any file in
13744 the output group
13745 was not produced due to a failing action. Users can expect BEP
13746 output to be larger
13747 for failed builds.
13748 - In BEP, TargetComplete.output_group has a new field `incomplete`
13749 indicating that the file_sets field is missing one or more
13750 declared artifacts
13751 whose generating actions failed.
13752 - The flag `--toolchain_resolution_debug` now takes a regex
13753 argument, which is used to check which toolchain types should
13754 have debug info printed. You may use `.*` as an argument to keep
13755 the current behavior of debugging every toolchain type.
13756 - Add runfiles.merge_all() for merging a sequence of runfiles
13757 objects.
13758 - runfiles.merge() and merge_all() now respect
13759 --nested_set_depth_limit.
13760 If you hit the depth limit because you were calling merge() in a
13761 loop, use
13762 merge_all() on a sequence of runfiles objects instead.
13763 - Bazel will no longer create a bazel-out symlink if
13764 --symlink_prefix is specified: the directory pointed to via the
13765 bazel-out symlink is accessible via ${symlink_prefix}-out. If
13766 this causes problems for you, set
13767 --experimental_no_product_name_out_symlink=false in your builds
13768 and file an issue.
13769 - Updates worker protocol with cancellation fields, and adds
13770 experimental_worker_cancellation flag to control cancellation.
13771 - Simplify build failure output by always using `NNN arguments`.
13772 - trim_test_configuration now defaults to on
13773 - Mark genrule.srcs as a source attribute for coverage.
13774 - When using --allow_analysis_failures (for example, via
13775 bazel-skylib's
13776 analysistest with `expect_failure = True`), analysis-time
13777 failures in aspect
13778 implementation functions will now be propagated and saved in
13779 AnalysisFailureInfo, just like analysis-time failures in rules.
13780 - cquery --noimplicit_deps now correctly filters out resolved
13781 cc_toolchains
13782 - Sign apks deterministically.
13783 - Make gcov optional in cc_toolchain tools.
13784 - If --experimental_prefer_mutual_xcode is passed, Bazel will
13785 choose the local default (instead of the newest mutually
13786 available version) if it's available both locally and remotely.
13787 - Remove java_lite_proto_library.strict_deps attribute.
13788 - Generate proguard configurations deterministically.
13789 - Adds a new flag, `--incompatible_enable_cc_test_feature` which
13790 switches from the use of build variables to the feature of the
13791 same name.
13792 - Dropped fragile xz support from built in pkg_tar. Users requiring
13793 xz
13794 compression should switch to bazlebuild/rules_pkg.
13795 - If all strategies of one branch (the local or remote execution
13796 branch) of the `dynamic` strategy fail to even accept (via the
13797 response they give from `canExec`) the action, `dynamic` will now
13798 try to see if the other branch can accept it. (Trying to run it
13799 and it failing will still cause a failure if it was the first
13800 result, this is about strategies claiming they can't even try the
13801 action)
13802 - Add `disable_annotation_processing` option to
13803 `java_common.compile`, which disables any annotation processors
13804 passed to `plugins` or in `exported_plugins` of `deps`
13805 - Remove obsolete --incompatible_prohibit_aapt1
13806 - The minimum Android build tools version for the Android rules is
13807 now 30.0.0
13808 - Adds --experimental_reuse_sandbox_directories flag to reuse
13809 already-created non-worker sandboxes with cleanup.
13810 - --experimental_force_gc_after_build is deprecated and will be
13811 removed soon. Use --bep_publish_used_heap_size_post_build instead
13812 - Forward coverage-instrumented files from non-tool dependencies by
13813 default.
13814 - The used_heap_size_post_build field in BEP is populated when the
13815 --memory_profile flag is set
13816 - --run_validations defaults to true.
13817 - Consider label_keyed_string_dict attributes when gathering
13818 instrumented files for coverage.
13819 - Remove flag
13820 --experimental_forward_instrumented_files_info_by_default, now
13821 that this behavior is the default.
13822 - When using MemoryProfiler with multiple GCs via the
13823 --memory_profile_stable_heap_parameters flag, we do a more
13824 precise calculation of heap used at the end of the build. This
13825 will generally result in lower values.
13826 - --bep_publish_used_heap_size_post_build is deprecated. Use
13827 --memory_profile=/dev/null instead.
13828 - Disable --all_incompatible_changes flag.
13829
13830This 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].
13831
Bazel Release Systeme92e04d2021-08-30 09:37:05 -040013832## Release 4.2.1 (2021-08-30)
Bazel Release System6962b0d2021-08-27 17:50:42 +020013833
13834```
Bazel Release Systeme92e04d2021-08-30 09:37:05 -040013835Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
Bazel Release System6962b0d2021-08-27 17:50:42 +020013836
13837Cherry picks:
13838
Bazel Release Systeme92e04d2021-08-30 09:37:05 -040013839 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
13840 Use getRunfilesPath for run_under executable path generation.
13841 getRootRelativePath doesn't return a valid runfiles path for
13842 external source files anymore after the recent external source
13843 root change. Also, it won't work for external labels either once
13844 the --nolegacy_external_runfiles becomes default. This fixes
13845 issue #12545.
13846 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
13847 Fix NPE when coveragerunner is not set on the toolchain.
13848 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
13849 Fix the classic query package-loading cutoff optimization with
13850 external workspaces.
13851 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
13852 Update turbine
13853 + bef4bbbb47d47befe3711d06f358782ee12554f9:
13854 Update turbine
13855 + d113d7454127bba78aa618dac81e5d164920b662:
13856 Update turbine
13857 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
13858 Support Scala3 .tasty files
13859 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
13860 Update to java_tools javac11 release 10.5 (#12647)
13861 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
13862 Fix common prefix for instrumentation filter
13863 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
13864 Fix builds for filegroup targets with incompatible dependencies
13865 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
13866 Revert "Remove
13867 --incompatible_blacklisted_protos_requires_proto_info"
13868 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
13869 Transform roots along with paths during output deletion.
13870 + e8835c1c221d76a2d5532d18083eaa04401619b3:
13871 AttributeContainer.Large now handles more than 127 attributes.
13872 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
13873 Add an env attribute to all test and binary rule classes
13874 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
13875 Take no action to prefetch empty artifacts.
13876 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
13877 Fix a couple of bugs with Incompatible Target Skipping
13878 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
13879 Pass --host_action_env to host options hostActionEnvironment
13880 attribute
13881 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
13882 Add --{no,}autodetect_server_javabase.
13883 + c83366064621d5a265eba14d93a03deff58fe6d8:
13884 Only treat "env" and "env_inherit" attrs specially for native
13885 rules
13886 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
13887 Fix coverage support when using default_java_toolchain. (#12801)
13888 + 4158a6f512e52516437e00f8d9609a91be7fc195:
13889 Revert JacocoCoverage target to remote_java_tools_java_import
13890 and add a new target for remore_java_tools_filegroup. (#12813)
13891 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
13892 Add windows_msvc back to conditions in bazel_tools.
13893 + 6b33bdb1e22514304c0e35ce8e067f2175685245:
13894 Release 4.0.0 (2021-01-21)
13895 + 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
13896 Fix error message from getPrerequisites to not print internal
13897 details.
13898 + 27e15ad11410eb1014f5247fd0eeb31a46733c07:
13899 Clean up ConfiguredTargetValueAccessor and
13900 ConfiguredTargetAccessor
13901 + e87feb8ac9573cef993824f82370d0389570521d:
13902 Move getConfigConditions into ConfiguredTarget.
13903 + 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
13904 Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
13905 value.
13906 + 079bb7d69931705bb2b092c9017090e224ef3043:
13907 Clean up old dependencies that are unused since
13908 https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
13909 5ef5702880d5ac7c5c.
13910 + e03cb63e059420847d6578d7cbfe93f05615c95e:
13911 Update bazelbuild/platforms to a current release. - Roll forward
13912 https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
13913 7f925cf88e0cd5b76a with kythe fix.
13914 + 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
13915 Update docs and tests to use the @platforms//:incompatible
13916 constraint
13917 + c71697cf33b0fbbb42fc2910bac83960edc7e855:
13918 Clarify test_suite behaviour in the Platforms docs
13919 + dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
13920 Enable toolchain resolution for filegroup targets.
13921 + 24d086446f74606819dc53c3a436caa056ff05b7:
13922 PlatformProviderUtils should ignore targets that don't have the
13923 needed
13924 + ba60c0b3f9bbd00975c984244839b155e84b4c5d:
13925 ijar: fix manifest sections handling
13926 + 58bb42ad7ca263a75c6eeef51482f805726663a5:
13927 Revert "Switch to -fdebug-compilation-dir"
13928 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
13929 Update turbine
13930 + bef4bbbb47d47befe3711d06f358782ee12554f9:
13931 Update turbine
13932 + d113d7454127bba78aa618dac81e5d164920b662:
13933 Update turbine
13934 + ad241fbebd90a9f0ad65ccd0658838f57030db68:
13935 Allow cquery to filter out incompatible targets
13936 + 1782f0ae751569607ef88930c822ac460a1f8bb3:
13937 Patch grpc to fix cares selecting the wrong source when building
13938 for darwin_arm64 cpu.
13939 + 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
13940 [1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
13941 blobs
13942 + 848a51747a460ab4c5185e4c61ab522a9981cbea:
13943 [2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
13944 blobs
13945 + 9b30172547f2093acb56aedf159a77d5dceffda2:
13946 [3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
13947 blobs
13948 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
13949 Allow exec groups to inherit from the rule or other exec groups.
13950 + d0676693310215407224c1b8e8aea9e3eddc183d:
13951 Support execution constraints per exec group
13952 + f1e0d346c8235c855e61afc2adb870e4b895e002:
13953 Clean up RuleContext to use a Table instead of a Map of Maps.
13954 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
13955 Documentation for #13110
13956 + 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
13957 Prevent --repo_env from triggering unnecessary fetches
13958 + 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
13959 Prevent a crash when using --repo_env=VAR without a value
13960 + 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
13961 Report digest of failed uploads
13962 + 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
13963 Status error presentation with details
13964 + 9a70805db543e2fb910e1c55ef3b3567362adf30:
13965 Fix double shutdown of BuildEventArtifactUploader when BES+File
13966 output enabled.
13967 + 325eb956c92530bdfda54a36a186cae4245a4f7b:
13968 Add rxjava3 to third_party
13969 + ceaac966a7b977461b69ce9501df6a467f4a93b2:
13970 remote: set executable bit of an input file based on its real
13971 value
13972 + 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
13973 Remote: correctly implement equals and hashCode.
13974 + 48648503729d53fdee1322fde2c8e6c05e99cff9:
13975 Fixed an error that bazel binary is not executable when testing
13976 with remote execution.
13977 + bc54c648aa1f99509c7c36d5e6b570d066689209:
13978 Remote: Use parameters instead of thread-local storage to
13979 provide tracing metadata.
13980 + 92955e617b5c41713a5163dc0437c2a024b31815:
13981 Remote: Use parameters instead of thread-local storage to
13982 provide tracing metadata. (Part 2)
13983 + 75bd1ff8ab56d241916bde36291301fa026b2bab:
13984 Remote: Use parameters instead of thread-local storage to
13985 provide tracing metadata. (Part 3)
13986 + 37ee252f3744abc4511f55b5089cc52abd3ba09d:
13987 Remote: Use parameters instead of thread-local storage to
13988 provide tracing metadata. (Part 4)
13989 + 71e35b165f924e2649a078fcf6007645d58039af:
13990 Remote: Use parameters instead of thread-local storage to
13991 provide tracing metadata. (Part 5)
13992 + 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
13993 Write/QueryWriteStatus logging refinement/addition
13994 + 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
13995 Remote: gRPC load balancing. (Part 1)
13996 + e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
13997 Remote: gRPC load balancing. (Part 2)
13998 + 6667ad7dd77f8d97952133052c17e7779c1430ec:
13999 Remote: gRPC load balancing. (Part 3)
14000 + 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
14001 Remote: gRPC load balancing. (Part 4)
14002 + 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
14003 Implement getMessage for BulkTransferException
14004 + a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
14005 Remote: gRPC load balancing. (Part 5)
14006 + 7a62c2d4e27e398f440910c81eacc384f38ca8be:
14007 Remote: Add interoperability between Rx and ListenableFuture.
14008 + 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
14009 Update to latest remote-execution proto
14010 + dad96301d12aa77eb67399e08265a5f30f5ffd6a:
14011 Set Platform on Action not just Command
14012 + 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
14013 Remote: Add AsyncTaskCache which is used to deduplicate task
14014 executions and cache the results.
14015 + 9d0c7325ac810febe565a62fdd875ae0c240b274:
14016 Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
14017 + f54fe07209acc25340df8d2e02993b1add2deafa:
14018 Add --experimental_repository_disable_download to allow users
14019 disable download for external repos
14020 + b243584a479eb4481a9bf4f69acc899610a3b630:
14021 Report errors parsing rewriter config file
14022 + 63bc1c7d0853dc187e4b96a490d733fb29f79664:
14023 Downloader rewriter config has all_blocked_message
14024 + 495ac923f398443be45c20ab29d183fe47e08911:
14025 Allow UrlRewriter to change protocol, i.e. https->http, and
14026 http->https
14027 + 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
14028 Allow overriding the hostname and instance name in bytestream://
14029 URIs
14030 + 0881c80d29acecdfbb58c49156f805e8c50db117:
14031 Don't set requestId on non-multiplex requests.
14032 + e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
14033 When generating a symlink in _virtual_includes, add the original
14034 header to the 'allowed to use' set too
14035 + f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
14036 Make SimpleLogHandler not swallow interrupts.
14037 + f8606e5e76579442a1c6563e718ea54c673f1a04:
14038 linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
14039 + dac0d40d0eb903f5cb70341398d1a333c19adf3a:
14040 Improve "Common Attributes" section
14041 + a607d9dc70ac67f1aa2c32ca954177f9c77860be:
14042 Never create more than one process per WorkerMultiplexer.
14043 + 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
14044 Move sending requests and reading responses for multiplex
14045 workers into separate subthreads.
14046 + 003cfcde3fd3901c1279ba1db3db3a14536248b4:
14047 Allow use of JSON protocol in multiplex workers.
14048 + 308bce36cba46095fe41866e703710035ddddada:
14049 Actively kill off still-active workers when stopping work on
14050 interrupt.
14051 + 8959dff512fe4505af786bcf2ef981ec7082a913:
14052 Add sanitizer support to Apple platforms
14053 + 32f16e9360f3e1856db1775eb5014b930da2a303:
14054 Fix a Google-internal broken link.
14055 + c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
14056 Add SHA-1 to subresource integrity format for download()
14057 checksums
14058 + 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
14059 Remove fallback strategy support for workers, add flag for it in
14060 sandbox.
14061 + 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
14062 Update to java_tools javac11 10.6 (#13245)
14063 + 4928295b236ec8f590a7e9d863502bc2f50a77d9:
14064 Allow .S files in C++ Starlark cc_common.compile.
14065 + 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
14066 Automatic code cleanup.
14067 + b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
14068 Change short output of worker type to have the same logic as the
14069 worker creation for sandboxing vs. multiplex.
14070 + e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
14071 More properly destroy workers on interrupt.
14072 + 7056711eb11b672133274eb29fc93b01dcf088d5:
14073 Make WorkRequestHandler do a GC after some amount of CPU time
14074 has been used on requests. For Bazel and Blaze, defaults to 10s
14075 based on benchmarking.
14076 + 596653d3cf76e7b208da343e1fde5fe20273a5ff:
14077 Allow tree artifacts to be source or header inputs to
14078 cc_common.compile()
14079 + 055c93d11ab20cc4479539b24bbdfa5cab78a342:
14080 Switch to path autocompletion after -- for bazel run commands.
14081 + 807f2a1929e23b60b237c63fadb25af81de2e3c3:
14082 Fix Incompatible Target Skipping for test args
14083 + 9a5cd854e0613f91d52075973e2454b1e009e1ef:
14084 Fix order of build request id and command id
14085 + 706f5acd02363e48076dc97e37613fd968932d03:
14086 Fix bazel crash when passing config_setting to
14087 target_compatible_with
14088 + 61da1d2bf10eabba4c75de959b0374f302d89d70:
14089 Support multiple --bazelrc on command line
14090 + 5593358a58b66f06c4e421bb48856de94c3fd625:
14091 Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
14092 to
14093 + 662cf54de7a103db30e04ebae2d2b919437c4846:
14094 Remote: Fix an issue that a failed action could lead to
14095 RuntimeException caused by InterruptedException thrown when
14096 acquiring gRPC connections.
14097 https://github.com/bazelbuild/bazel/issues/13239
14098 + a3a1763212f29932618b9b9b2f929976ae0e3b6e:
14099 Pass more `--add-exports=` flags
14100 + d2b942879471786e82f1c96eea8722bbe7919fc1:
14101 Remote: Fixed a bug that remote cache is missed due to
14102 executable bit is changed
14103 + 616dc264f02907d7b7887285d22307dfe6d097b6:
14104 Fix Bazel Coverage with C++ to work with Remote Execution
14105 + 5f40d12e741aa30d506eaa15673fb2ae76d29468:
14106 Fix external_path_test with newer Xcode versions.
14107 + b416193075642017e13c774422b49cb07fb65c23:
14108 Allow using embedded tools in sandboxed spawn runners.
14109 + eb762d4e7431637e607146b1c191485795047ef9:
14110 Fix racy write of temporary files while staging virtual inputs
14111 for the sandbox.
14112 + f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
14113 Update platforms_test to not rely on filegroup not using
14114 toolchain
14115 + 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
14116 Update SkyframeTests to not rely on filegroup not using toolchain
14117 + 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
14118 Update ConfigurableAttributesTest to not rely on filegroup not
14119 using …
14120 + 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
14121 Make WorkerExecRoot not be a subclass of SandboxedSpawn.
14122 + 31db460a45767de0bcd664a6efbe9d163b85b802:
14123 Make WorkerExecRoot not be re-created on each createFileSystem()
14124 call. Preparation for holding a map of existing links, but also
14125 just nicer.
14126 + a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
14127 Start the file existence check traversal from the execroot base
14128 instead of execroot so that external repo files at
14129 "<execroot>/../<path>" are correctly handled when the sibling
14130 repository layout is enabled.
14131 + b048282c7893231d3a7191b251804973917b07a4:
14132 Use readdir for cleanExisting in WorkerExecRoot.
14133 + 270f00dd01fa06cf3e813da5a406be3446de7377:
14134 Add native support for Apple Silicon
14135 + 8e56b9423e8ad2f7323fb90b19b73858def81e39:
14136 Explicitly state that embedding macOS OpenJDK is for x86_64
14137 + 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
14138 Remote: Fix a race that AsyncTaskCache#Execution could be reused
14139 after disposed which results in
14140 CancellationException("disposed") propagated to downstream.
14141 + 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
14142 Remove wrapped_clang params files after use
14143 + 47edc57806056f3c8764241ed41b8acc72bd2ebf:
14144 Silence swiftmodule timestamp warnings
14145 + f6e1074b09ebefba185c0531e9cea26b9596c8a9:
14146 Remote: Use shutdownNow() instead of shutdown() in
14147 ChannelConnection#close() as a workaround to a gRPC bug.
14148 + 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
14149 And mnemonic and label to remote metadata
14150 + 615e1b16a81b0defc15699ec8027d6ddd70366d1:
14151 Change `set -x` in coverage to be set by var
14152 + fe4daea99c8cd163793eca84bfb12c8fc437616b:
14153 Bump minimal JDK install base maximum size from 290 to 295 MB.
14154 + 4840a68cd273a429e46d4114a3973fd11d0e3583:
14155 Remote: Check the return value of ActionOwner.getLabel() since
14156 it could be `null`.
14157 + 14abe4fd7c3967686a3536939fdc3882e691bca2:
14158 Allow `DiffAwareness` to share precomputed information about the
14159 workspace and propagate it to the `WorkspaceStatusAction`.
14160 + 082d98772690946ed29c157e60640c97a6e1195b:
14161 Implement available() method for Windows subprocesses.
14162 + c2bdd034014f66ce14529cc353cda18a32320f6c:
14163 Move --repo_env to common options
14164 + e09f2743738044095b9d784ea62df16b7f5750e6:
14165 Revert "Documentation for #13110"
14166 + a165baa250652fdc865ae0df39160be1f7f74c47:
14167 Revert "Clean up RuleContext to use a Table instead of a Map of
14168 Maps."
14169 + 51fb9e13a864f4f704ae378ea632433bae7ddc31:
14170 Revert "Support execution constraints per exec group"
14171 + cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
14172 Revert "Allow exec groups to inherit from the rule or other exec
14173 groups."
14174 + 2ac6581aeaab33ba506fce96dfa6a75eaa819233:
14175 Release 4.1.0 (2021-05-21)
14176 + 7a0f36e3f0a21fed8857efbaa51ded2dbdeefab6:
14177 Change gceMachineType of highcpu platform from n1-highcpu-32 to
14178 e2-highcpu-32
14179 + 19491a91143f0c6132aca62c5ae40ab72e9dc0e2:
14180 Fix #10127: Remove Python 2 dependency from tools/android.
14181 + 80c59dea59d4dce39d4b5d21665c3d7313197358:
14182 fix main repo starlark options parsing - now flags passed on the
14183 command line as --@main_workspace//flag and --//flag will both
14184 parse to --//flag. Before this CL, the former maintained its
14185 workspace prefix and we would get different entries for these
14186 two formats.
14187 + 451b296c3aceb127ebb4a313b6e9608854fa68fa:
14188 Update threshold for long path shortening to be MAX_PATH - 4
14189 + 671e0489a5bd6d5abb4dcd9bcfc85134cee38385:
14190 Force source files to be readable before copying them from
14191 sandbox.
14192 + 6080c1e07f4229ea72eacd04faa9302e44955a84:
14193 Let workers finish lost races without delaying dynamic execution.
14194 + ee738dacb5d0089d3f57b15305057cb9ba675e74:
14195 Fix label_flag and label_setting to not have a dependency on the
14196 default
14197 + 74de0ba4e79341c77b8b85ff4485f92287b6854c:
14198 Java coverage: fix handling of external files
14199 + 48eee8b4b447a2ad11df28dd81a2ccb65562b5f5:
14200 [Bazel] Fix mobile-install for python2
14201 + 763dd0ce6e1644bf895231432f616427a11d385a:
14202 Add `stub_shebang` to `py_runtime`
14203 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
14204 Move use of legacy sandbox -> local fallback to only be used
14205 after all strategies have been tried, and improve messages
14206 around it.
14207 + 6dc941e58dfc1d4a9714a76b921fbe11fce658ed:
14208 Remove restriction on generate_pdb_file to be only used in dbg
14209 and fastbuild mode
14210 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
14211 Check the result of Future.cancel() when cancelling the other
14212 branch of dynamic execution.
14213 + aaae8ce2881c8c1a5d4ad64f20d6e71aa372cf2e:
14214 Update DEFAULT_MACOS_CPU to match host
14215 + 2f0927a4fd9342f4dcfd43475d3f1c90c523584f:
14216 Fix symlink creation on older Windows versions
14217 + fd9cffdcaf05551126e66f1cd62815eaa1af6bd9:
14218 Suppress interrupted status during pool closure
14219 + 33903d28bcea0005adf9b2a8cc4659c5e2999bbe:
14220 Fix Windows developer mode symlinks
14221 + 0cd1666721bdbe988dc361c085bb43cbd41a27f3:
14222 Respect Starlark options with values in `removeStarlarkOptions()`
14223 + 7920ffef472b25db3f4e564e5a3a28a4664c666e:
14224 cquery inherits from `test` not `build`
14225 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
14226 Allow exec groups to inherit from the rule or other exec groups.
14227 + d0676693310215407224c1b8e8aea9e3eddc183d:
14228 Support execution constraints per exec group
14229 + f1e0d346c8235c855e61afc2adb870e4b895e002:
14230 Clean up RuleContext to use a Table instead of a Map of Maps.
14231 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
14232 Documentation for #13110
14233 + e376580ae4e9ad5bddc196bfb6ad3127e3ff561b:
14234 Split ExecGroup into a new target.
14235 + 0cbb8a863522d2f77ab6b67a01e39b19a9a81807:
14236 Create a new interface to allow Starlark objects to get a thread
14237 when getIndex is called.
14238 + d2e21cec31f09b27ef3589f47b0779f34077ca7e:
14239 Renamed ExecGroupCollection to clarify that it is only for
14240 Starlark usage.
14241 + b9519f92f8ce096107164ca5075feced0e989de7:
14242 Make StarlarkExecGroupContext use AutoValue.
14243 + 52b1b748b2368820bac2ca94323fb82c39c00e51:
14244 Use a dummy toolchain context for rules that don't have one.
14245 + 41877d0fefe3f021f3ff6d4ce398d0deb27157e6:
14246 Extract a separate StarlarkToolchainContext for starlark-only
14247 operations.
14248 + b120d4febc571f17e12501ad87fbff32ef94e9bb:
14249 Fix toolchains to support type lookup.
14250 + dc140d0b6119950dd4a7d71b125b15a78bacc8ce:
14251 Move DEFAULT_EXEC_GROUP_NAME from ToolchainCollection to
14252 ExecGroup.
14253 + 9b18d951a52819f1998ddfdc1739fa1b5bf0353d:
14254 Rename ToolchainCollection.getExecGroups to getExecGroupNames.
14255 + 10d4473bf476a587e3d9f9b2214581ec420c1919:
14256 BuildViewForTesting should directly call into
14257 ConfiguredTargetFunction.
14258 + 58a6fb1f8739e39125cc8c647f28cff2e79fe9aa:
14259 Move exec group tests out of platforms_test and into integration.
14260 + 7d5493d922761c3ce0037f0025912cc532c55ad7:
14261 Update creating exec groups that explicitly copy from defaults.
14262 + 8c6382a81237e72dbec24b3850df9481461e0015:
14263 Create a new ExecGroupCollection container to manage exec group
14264 inheritance and exec property parsing.
14265 + b4b0c321910bc968736ef48e8140528ea7d323cd:
14266 Fix unix toolchain for macos arm64 platform
14267 + f64f071f44394a33a1be40cb7642e2c881d1e9bb:
14268 Add `required_providers` attribute to Starlark defined aspects.
14269 + f2cbdcf67ac1990f05a8241ba8dae65795edac82:
14270 Don't ever claim /dev/null is an execpath.
14271 + ceec93c35ead1bd487e96a5fee46e8d080f88858:
14272 Don't ever claim /dev/null is an execpath.
14273 + 1f3f9f4c4b2eded90518aacd1b0b80c1b0dfd1c5:
14274 Use the parent directory of the exec root as the input root on
14275 RBE.
14276 + 4efeac9cb5f85325ed73f64e133a078c483cac01:
14277 Make the Merkle tree computation work in the wake of
14278 https://github.com/bazelbuild/bazel/commit/7149f578006a4ad0d51df6
14279 9830a6986749b34df5 .
14280 + b56a2aa709dcb681cfc3faa148a702015ec631d5:
14281 Remote: Use execRoot as input root and do NOT set working
14282 directory by default.
14283 + ae53991f2e207edacd1352ba94261e2473b79f14:
14284 Remote: Add RemoteExecutionService as a layer between spawn
14285 execution and remote execution.
14286 + 0c07c2e6571dd4806552213b2237ecb7a908afa4:
14287 Remote: Add remoteCacheable key to execution log
14288 + 5e617d83f3aab1fd36b07be4b58aba58604cc46e:
14289 Remote: Register "remote" strategy even if remote execution is
14290 not available.
14291 + 4ca8946a8e1c4c2fd48d8fb8ce38adb8b282fef0:
14292 Remote: Add --experimental_capture_corrupted_outputs flag.
14293 + 97d7b4c277814d73b50450b03f4bb160ce7e99b4:
14294 Remote: Report checking cache status before the action is
14295 scheduled to run remotely.
14296 + ba5b2a7c9448a3681a0d86d80670447e338a06dc:
14297 when writing to local disk cache, open files later in order to
14298 avoid "too many open files"
14299 + 3551898849a93306ad9b4dfdd7d4667913098efe:
14300 Propagate test envs to xml generation action
14301 + 9f8c678d7054548865f56f3464f778c751657074:
14302 Remote: Fix a bug that the XML generation is executed even if
14303 test.xml is generated when build with --remote_download_minimal.
14304 + af42653e6f6bd229142f4678bb256a8c397b4d8d:
14305 Automatic code cleanup.
14306 + 07a84ce31d9b09853c63c7e373418696dd285dc5:
14307 Remote: Another attempt to fix the CancellationException error
14308 in AsyncTaskCache caused by a race condition.
14309 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
14310 Remote: Display download progress when actions are downloading
14311 outputs from remote cache.
14312 + 18c82168433719b400a705a4a0222969a7a026ba:
14313 Remote: Do not upload empty output to remote cache.
14314 + 6a138a60e562beeef36003c4814a6b8ce9f253f6:
14315 Fix compiling errors
14316 + bcce6dd026e90336e80616a8c1004a79a2f8640c:
14317 Add the TEMP_FAILURE_RETRY macro to linux-sandbox-pid1.cc.
14318 + c8c0d94a49e1b865d95c6d245c2d152c7c7c9722:
14319 Export proguard specs from aar_import
14320 + 1a0285c3b64b121268ced3eb9ad9d5ba396b4905:
14321 Fix stripping of macOS loadable bundles
14322 + 0d3c231f5a08861d28e987703e9196890e6164bf:
14323 Roll forward config_setting visibility enforcement behind a flag.
14324 + bb7a01027242390da1c18fbf87c274cc34c11b79:
14325 Fix merge conflicts.
14326 + 8b8e77ea226aaa12e79580422bc5984e80ce048b:
14327 Remove redundant declaration.
14328 + 7c92cfcf9a88933c29334f6271ad3f086f7f36f4:
14329 Ignore empty virtual artifacts when spawn-logging inputs.
14330 + 4158b61211e099db780565d064a1c1a80c91bd2a:
14331 Use correct exit code on invalid aquery --output
14332 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
14333 Remote: Fix a race when reporting action progresses.
14334 + 0e652737988e3c115e98e1552f6fada52bc2b9a2:
14335 Change MIN_BUILD_TOOLS_REVISION to 30.0.0
14336 + 6f9909c04b1e00faa510b38ccabac78821046cf9:
14337 Update Android remote tools to ensure Bazel uses the latest
14338 Android tooling that has been updated to support AndroidX
14339 databinding generation.
14340 + 31d88c629dff2c5f8e8a4baf8c89fd3349c9783e:
14341 Automated rollback of commit
14342 9a1d428e33bfae1ec5b68250d4732b72346b8b39.
14343 + 951a3023fbcdbe025e350590e6fa86097da3fe05:
14344 Increase allowed size of the install_base.
14345 + a7845f65befbeb65a28ec53e62458211a7bc3f8e:
14346 Increase allowed size for install base again.
14347 + affc27f9d18f9781437e91a3f36c73962a56f261:
14348 Bump version of java allocation instrumenter.
14349 + 7efabba19cf6400bf9e707f53b40a6dd7110fafb:
14350 Reference the correct version of the java allocation
14351 instrumenter.
14352 + 9055c67b17abf5fed487ae44d0e22f1c6ea1e50c:
14353 Support extracting aar files.
14354 + 861c3caa85e47da35a8a4f1512e57d43b9263c37:
14355 Revert "Remote: Fix a race when reporting action progresses."
14356 + 92ec798ddc1f38fb4868af08c1d818639283f501:
14357 Revert "Remote: Display download progress when actions are
14358 downloading outputs from remote cache."
14359 + ce091abb290d1d753f480cdee0e69748eb20db52:
14360 Revert "Fix compiling errors"
14361 + 1b19cd310418b850e8e0ca2086ffe50755c9ed7e:
14362 Revert "Remote: Fix a bug that the XML generation is executed
14363 even if test.xml is generated when build with
14364 --remote_download_minimal."
14365 + 988b56f5916e024d10695797a7f963b30fc998c7:
14366 Revert "Remote: Report checking cache status before the action
14367 is scheduled to run remotely."
14368 + 35c98d07b21785efae57a7c4230cc1e452f74fd2:
14369 Revert "Let workers finish lost races without delaying dynamic
14370 execution."
14371 + c4e22b9ace07f5d360c5327a38f9ae4ab24b7109:
14372 Migrate ExampleWorker to use WorkRequestHandler.
14373 + 230be161176bd6f1251077af7674f80d38ff1e25:
14374 Do not interleave readdir() calls with deletion of directory
14375 entries.
14376 + 3cc8ce6ba0934b1a4d9db184daf055c1207ef105:
14377 Propagate OOME if NewByteArray allocation failed
14378 + 19fc15ebbf6c63fcce90a038e91c5ec726852848:
14379 Create helper method for sandbox tests, transform existing tests
14380 into using it.
14381 + deb1006c0778692f7eaef4cbcf7eeb8112b55e91:
14382 Cleanup: Replace NULL with nullptr
14383 + f4b5e0233341977aaa76593ca032d9ac4eba7444:
14384 Let workers finish lost races without delaying dynamic execution.
14385 + 186decab01ee247c7453baf19dac778545ec4937:
14386 Interface and flag specification for worker cancellation.
14387 + 5894a8544d51c99f1356130b8b487bc93299fedd:
14388 Create BUILD file in worker tests directory instead of running
14389 tests from the parent directory.
14390 + e9e6978809b0214e336fee05047d5befe4f4e0c3:
14391 Server-side implementation of worker cancellation.
14392 + 5103662238f2df2038c7dff079e9c655e08ba654:
14393 Add builder for WorkRequestHandler.
14394 + 1a519bb66c3fa3e4ef3b9a9a556597920751fbcd:
14395 Makes singleplex requests be handled in separate threads in
14396 WorkRequestHandler.
14397 + 779d66019210f54e10a1343ee004df72a8dec812:
14398 Only allow worker async finishing when sandboxed.
14399 + a698bef6146a807fd82ee4402d89c23c83802e33:
14400 Support for cancellation in WorkRequestHandler.
14401 + 9dc95af4c7ef10979f21173260f5433006116096:
14402 Make workers restart on flags that affect their
14403 creation/behaviour.
14404 + 7e5cd529e9f8c9cb67900af36182f00ef7316654:
14405 Remote: Report checking cache status before the action is
14406 scheduled to run remotely.
14407 + 6e134a1b68418fba9992692901efa77a80c346f7:
14408 Remote: Fix a bug that the XML generation is executed even if
14409 test.xml is generated when build with --remote_download_minimal.
14410 + d4d071401acadb0d8977850a9439474e60fd7bb9:
14411 Fix compiling errors
14412 + 2579c9a18360955699d028426b45d381ff53783c:
14413 Eagerly initialize JNI copies of Java classes: doing lazy
14414 initialization on a per-method basis doesn't save anything and
14415 adds a tiny bit of overhead to every one of these calls.
14416 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
14417 Remote: Display download progress when actions are downloading
14418 outputs from remote cache.
14419 + 3835d9b21ad524d06873dfbf465ffd2dfb635ba8:
14420 Update the WorkRequestHandler to use callbacks of type:
14421 BiFunction<WorkRequest, PrintWriter, Integer>: - Mark
14422 constructors that use BiFunction<List<String>, PrintWriter,
14423 Integer> callback as deprecated. - Use a wrapper class for the
14424 BiFunction<WorkRequest, PrintWriter, Integer>. Suggesting this
14425 to avoid having two constructors that takes a BiFunction, as it
14426 creates a confusion between the deprecated and new constructor
14427 when given a lambda expressions.
14428 + 5e352afe2b35487ea2ced85ca79bd9f79858e648:
14429 Fix bug in WorkRequestHandler's handling of singleplex requests
14430 that would cause occasional hangs.
14431 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
14432 Remote: Fix a race when reporting action progresses.
14433 + c9d823e42796962eed039b8122528c2a1541190f:
14434 Disable flaky test.
14435 + e6809c90ecc0ef5783faa39e63188fc33a79b80e:
14436 Revert "Check the result of Future.cancel() when cancelling the
14437 other branch of dynamic execution."
14438 + be4cbc7a67196414e3d3f323be8ab55fb5e530f7:
14439 Revert "Move use of legacy sandbox -> local fallback to only be
14440 used after all strategies have been tried, and improve messages
14441 around it."
14442 + b32349f50ff3d958613aef9275751ad9d50d344c:
14443 Set a fallback dynamic local strategy even when the
14444 dynamic_local_strategy flag is passed.
14445 + f395157c95692565bc220c7ccf788974fe0885fd:
14446 Allow running an extra spawn for local branch of dynamic
14447 execution.
14448 + 039461c76113ab3f165132dd26d0c58eb3e45cae:
14449 Adding debugging information for case when two branches
14450 apparently cancel each other.
14451 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
14452 Move use of legacy sandbox -> local fallback to only be used
14453 after all strategies have been tried, and improve messages
14454 around it.
14455 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
14456 Check the result of Future.cancel() when cancelling the other
14457 branch of dynamic execution.
14458 + 1962a59a5478f5ad374700b0abf0a718b1b3a7d3:
14459 Fix the case where if all strategies for one branch of `dynamic`
14460 execution fail to accept (that is, refuse to even take) the
14461 action given, the whole action fails. Instead of seeing whether
14462 the other branch can run and the action that that it succeeded.
14463 + b7c1ad2aff91105659299723a712b72eea943040:
14464 Fix rare crash in dynamic execution where both branches got
14465 cancelled.
14466 + 2c3cff5422b115d7bb86ed28a056f3d368ebceeb:
14467 Check if `treeDeleter` is actually async before casting it.
14468 Fixes #13240.
14469 + 1a89ce1757e75f8ba9bda76d7373a7e8527bcfc5:
14470 Make worker JSON protocol properly ignore unknown fields.
14471 + 4b12fc80abf4152815f09e473a972e52a1fe8b51:
14472 Fix test_source_file_does_not_override_standard_library to work
14473 with Python 3.9.
14474 + f4e10367df2d881f05e3ddd5bd0531b390a845fe:
14475 Removing line ending matches in tests to be compatible on Windows
14476 + ba74df07ced96226d78851e11d1df03147f1cc1f:
14477 Refactors CompilationSupport for objc to use existing API
14478 + a04cb1bfad4734f801c48bae3070a799067bda4e:
14479 Release 4.2.0 (2021-08-18)
14480 + ba8678077024e1b4e5d7419c758a97e8dc9fceea:
14481 Revert "fix main repo starlark options parsing.
14482 + 9f67cdf3d51c05bc2209786aa24b72658b61362c:
14483 cquery: disable `--build_tests_only`.
Bazel Release System6962b0d2021-08-27 17:50:42 +020014484```
14485
Bazel Release System6962b0d2021-08-27 17:50:42 +020014486Important changes:
14487
Bazel Release Systeme92e04d2021-08-30 09:37:05 -040014488 - Multiplex persistent workers can now use the JSON protocol.
14489 - enforce config_setting visibility. See
14490 https://github.com/bazelbuild/bazel/issues/12932 for details.
14491 - The minimum Android build tools version for the Android rules is
14492 now 30.0.0
14493 - Updates worker protocol with cancellation fields, and adds
14494 experimental_worker_cancellation flag to control cancellation.
14495 - If all strategies of one branch (the local or remote execution
14496 branch) of the `dynamic` strategy fail to even accept (via the
14497 response they give from `canExec`) the action, `dynamic` will now
14498 try to see if the other branch can accept it. (Trying to run it
14499 and it failing will still cause a failure if it was the first
14500 result, this is about strategies claiming they can't even try the
14501 action)
Bazel Release System6962b0d2021-08-27 17:50:42 +020014502
Bazel Release Systeme92e04d2021-08-30 09:37:05 -040014503This 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 +020014504
Bazel Release Systemb3feb612021-08-19 15:32:21 +020014505## Release 5.0.0-pre.20210810.4 (2021-08-19)
14506
14507```
14508Baseline: ead44955c5cf02d94152f2cf3462c40ee6659594
14509
14510Cherry picks:
14511
14512 + 99a85e79a11cef98d0e08db21ab94833398381af:
14513 Automated rollback of commit
14514 92f7b58672baffe5a230f675d7197c2a10892284.
14515 + 16523615ba04c2697f436ca02d957809e6fe8dbf:
14516 Fix a race condition in scheduling code in
14517 `FileSystemValueCheckerInferringAncestors`.
14518 + ed251187b078c4262bbbc1da72015ce12f9964f4:
14519 Add incompatible flag to guard top-level aspects dependencies
14520```
14521
14522Incompatible changes:
14523
14524 - Removing java_common.javac_jar Starlark call.
14525 - native.existing_rule now returns select values in a form that is
14526 accepted by rule instantiation. This is a breaking API change
14527 because there is some code that relies on the precise type
14528 returned, including brittle workarounds for this bug specifically
14529 and insufficiently flexible workarounds for other issues with the
14530 intersection of select and native.existing_rule.
14531 - flipped incompatible_use_toolchain_resolution_for_java_rules, see
14532 #7849
14533 - Query output=xml/proto/location for source files will now show
14534 the location of line 1 of the source file (as the new default)
14535 instead of its location in the BUILD file.
14536 - Specifying a target pattern underneath a directory specified by
14537 .bazelignore will now emit a warning, not an error.
14538 - Query `--order_output=auto` will now sort lexicographically.
14539 However, when `somepath` is used as a top level function (e.g.
14540 `query 'somepath(a, b)'`), it will continue to output in
14541 dependency order. If you do not want the lexicographical output
14542 ordering, specify another `--order_output` value (`no`, `deps` or
14543 `full`) based on what ordering you require.
14544 - In the build event stream,
14545 BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
14546 Its value was always mostly meaningless.
14547 BuildMetrics.TargetMetrics.targets_configured and
14548 BuildMetrics.ActionSummary.actions_created now include configured
14549 aspect data.
14550 - //visibility:legacy_public has been removed.
14551 - Flip and remove incompatible_dont_collect_so_artifacts
14552 (https://github.com/bazelbuild/bazel/issues/13043).
14553 - Remove flag --experimental_no_product_name_out_symlink: it is
14554 always true.
14555 - The Starlark method generate_dsym in objc fragment has
14556 been deleted. Please use the equivalent apple_generate_dsym in
14557 cpp
14558 fragment instead.
14559 - Native libraries in data attribute are not collected. See
14560 https://github.com/bazelbuild/bazel/issues/13550 for details
14561 - Enforce the `--profile` path to be absolute.
14562 - Enforce the --memory_profile path to be absolute.
14563 - JavaToolchainInfo.jvm_opt returns Depset instead of a list.
14564 - --apple_sdk has been deleted. It is a no-op.
14565
14566Important changes:
14567
14568 - Flag --incompatible_objc_compile_info_migration is removed. See
14569 #10854.
14570 - Flag --incompatible_objc_compile_info_migration is removed. See
14571 #10854.
14572 - Flag --incompatible_objc_compile_info_migration is removed. See
14573 #10854.
14574 - none
14575 PAIR=cmita
14576 - The --incompatible_load_python_rules_from_bzl flag is now a no-op.
14577 - Filter all (instead of just C++) source files for coverage output
14578 according to --instrumentation_filter and
14579 --instrument_test_targets.
14580 - The `--incompatible_disable_native_apple_binary_rule` flag has
14581 been added which disables the native `apple_binary` rule. Users
14582 who need to use `apple_binary` directly (if they cannot use one
14583 of the more specific Apple rules) should load it from
14584 https://github.com/bazelbuild/rules_apple.
14585 - The Android rules' --use_singlejar_apkbuilder is now a no-op.
14586 SingleJar will always be used to build APKs.
14587 - dict.setdefault(key, ...) now fails if dict is frozen, even if it
14588 already contains key. This is an incompatible API change.
14589 - Flag --incompatible_objc_provider_remove_compile_info is removed.
14590 See #11359.
14591 - Starlark now permits def statements to be nested (closures).
14592 - native.existing_rule now returns select values in a form that is
14593 accepted by rule instantiation. This is a breaking API change,
14594 though the fallout is expected to be small.
14595 - Starlark now supports lambda (anonymous function) expressions.
14596 - The "test" and "coverage" commands no longer return 3 when a
14597 test action fails because of a system error. Instead, the exit
14598 code
14599 reflects the type of system error.
14600 - The undocumented ctx.expand feature no longer exists.
14601 - Make --legacy_dynamic_scheduler a no-op flag.
14602 - Multiplex persistent workers can now use the JSON protocol.
14603 - native.existing_rule now returns a mutable list, not a tuple, for
14604 a list-valued attributes. This is an incompatible API change.
14605 - Roll back change to have native.existing_rules use list instead
14606 of tuple.
14607 - BEP includes test suite expansions.
14608 - config_setting now honors `visibility` attribute (and defaults to
14609 `//visibility:public`)
14610 - Change the MultiArchSplitTransitionProvider to be based on
14611 platform type + CPU instead of fixed "ios_" + cpu.
14612 - enforce config_setting visibility. See
14613 https://github.com/bazelbuild/bazel/issues/12932 for details.
14614 - add a flag to build v4 signature file
14615 - Added _direct_source_jars output group to Java related targets.
14616 END_PUBLIC
14617 - pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
14618 Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
14619 - Allowing the lipo operations to be conditional in the
14620 linkMultiArchBinary API for Apple binaries. Single architecture
14621 slices are now returned through AppleBinaryOutput and the
14622 Starlark API.
14623 - Release restriction for "-" in the package name for Python
14624 sources. Now `py_binary` and `py_test` targets can have main
14625 source file with "-" in the path.
14626 - Users consuming BEP may assume that a `named_set_of_files` event
14627 will
14628 appear before any event referencing that `named_set` by ID. This
14629 allows consumers
14630 to process the files for such events (eg. `TargetCompleted`)
14631 immediately.
14632 - BEP includes all files from successful actions in requested
14633 output groups.
14634 Previously, an output group's files were excluded if any file in
14635 the output group
14636 was not produced due to a failing action. Users can expect BEP
14637 output to be larger
14638 for failed builds.
14639 - In BEP, TargetComplete.output_group has a new field `incomplete`
14640 indicating that the file_sets field is missing one or more
14641 declared artifacts
14642 whose generating actions failed.
14643 - The flag `--toolchain_resolution_debug` now takes a regex
14644 argument, which is used to check which toolchain types should
14645 have debug info printed. You may use `.*` as an argument to keep
14646 the current behavior of debugging every toolchain type.
14647 - Add runfiles.merge_all() for merging a sequence of runfiles
14648 objects.
14649 - runfiles.merge() and merge_all() now respect
14650 --nested_set_depth_limit.
14651 If you hit the depth limit because you were calling merge() in a
14652 loop, use
14653 merge_all() on a sequence of runfiles objects instead.
14654 - Bazel will no longer create a bazel-out symlink if
14655 --symlink_prefix is specified: the directory pointed to via the
14656 bazel-out symlink is accessible via ${symlink_prefix}-out. If
14657 this causes problems for you, set
14658 --experimental_no_product_name_out_symlink=false in your builds
14659 and file an issue.
14660 - Updates worker protocol with cancellation fields, and adds
14661 experimental_worker_cancellation flag to control cancellation.
14662 - Simplify build failure output by always using `NNN arguments`.
14663 - trim_test_configuration now defaults to on
14664 - Mark genrule.srcs as a source attribute for coverage.
14665 - When using --allow_analysis_failures (for example, via
14666 bazel-skylib's
14667 analysistest with `expect_failure = True`), analysis-time
14668 failures in aspect
14669 implementation functions will now be propagated and saved in
14670 AnalysisFailureInfo, just like analysis-time failures in rules.
14671 - cquery --noimplicit_deps now correctly filters out resolved
14672 cc_toolchains
14673 - Sign apks deterministically.
14674 - Make gcov optional in cc_toolchain tools.
14675 - If --experimental_prefer_mutual_xcode is passed, Bazel will
14676 choose the local default (instead of the newest mutually
14677 available version) if it's available both locally and remotely.
14678 - Remove java_lite_proto_library.strict_deps attribute.
14679 - Generate proguard configurations deterministically.
14680 - Adds a new flag, `--incompatible_enable_cc_test_feature` which
14681 switches from the use of build variables to the feature of the
14682 same name.
14683 - Dropped fragile xz support from built in pkg_tar. Users requiring
14684 xz
14685 compression should switch to bazlebuild/rules_pkg.
14686 - If all strategies of one branch (the local or remote execution
14687 branch) of the `dynamic` strategy fail to even accept (via the
14688 response they give from `canExec`) the action, `dynamic` will now
14689 try to see if the other branch can accept it. (Trying to run it
14690 and it failing will still cause a failure if it was the first
14691 result, this is about strategies claiming they can't even try the
14692 action)
14693 - Add `disable_annotation_processing` option to
14694 `java_common.compile`, which disables any annotation processors
14695 passed to `plugins` or in `exported_plugins` of `deps`
14696 - Remove obsolete --incompatible_prohibit_aapt1
14697 - The minimum Android build tools version for the Android rules is
14698 now 30.0.0
14699 - Adds --experimental_reuse_sandbox_directories flag to reuse
14700 already-created non-worker sandboxes with cleanup.
14701 - --experimental_force_gc_after_build is deprecated and will be
14702 removed soon. Use --bep_publish_used_heap_size_post_build instead
14703 - Forward coverage-instrumented files from non-tool dependencies by
14704 default.
14705 - The used_heap_size_post_build field in BEP is populated when the
14706 --memory_profile flag is set
14707 - --run_validations defaults to true.
14708 - Consider label_keyed_string_dict attributes when gathering
14709 instrumented files for coverage.
14710 - Remove flag
14711 --experimental_forward_instrumented_files_info_by_default, now
14712 that this behavior is the default.
14713 - When using MemoryProfiler with multiple GCs via the
14714 --memory_profile_stable_heap_parameters flag, we do a more
14715 precise calculation of heap used at the end of the build. This
14716 will generally result in lower values.
14717 - --bep_publish_used_heap_size_post_build is deprecated. Use
14718 --memory_profile=/dev/null instead.
14719
14720This 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].
14721
Bazel Release System497a8482021-08-18 08:44:59 -040014722## Release 4.2.0 (2021-08-18)
Bazel Release System9ec8fb12021-08-13 14:57:53 +020014723
14724```
Bazel Release System497a8482021-08-18 08:44:59 -040014725Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
Bazel Release System9ec8fb12021-08-13 14:57:53 +020014726
14727Cherry picks:
14728
Bazel Release System497a8482021-08-18 08:44:59 -040014729 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
14730 Use getRunfilesPath for run_under executable path generation.
14731 getRootRelativePath doesn't return a valid runfiles path for
14732 external source files anymore after the recent external source
14733 root change. Also, it won't work for external labels either once
14734 the --nolegacy_external_runfiles becomes default. This fixes
14735 issue #12545.
14736 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
14737 Fix NPE when coveragerunner is not set on the toolchain.
14738 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
14739 Fix the classic query package-loading cutoff optimization with
14740 external workspaces.
14741 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
14742 Update turbine
14743 + bef4bbbb47d47befe3711d06f358782ee12554f9:
14744 Update turbine
14745 + d113d7454127bba78aa618dac81e5d164920b662:
14746 Update turbine
14747 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
14748 Support Scala3 .tasty files
14749 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
14750 Update to java_tools javac11 release 10.5 (#12647)
14751 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
14752 Fix common prefix for instrumentation filter
14753 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
14754 Fix builds for filegroup targets with incompatible dependencies
14755 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
14756 Revert "Remove
14757 --incompatible_blacklisted_protos_requires_proto_info"
14758 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
14759 Transform roots along with paths during output deletion.
14760 + e8835c1c221d76a2d5532d18083eaa04401619b3:
14761 AttributeContainer.Large now handles more than 127 attributes.
14762 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
14763 Add an env attribute to all test and binary rule classes
14764 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
14765 Take no action to prefetch empty artifacts.
14766 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
14767 Fix a couple of bugs with Incompatible Target Skipping
14768 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
14769 Pass --host_action_env to host options hostActionEnvironment
14770 attribute
14771 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
14772 Add --{no,}autodetect_server_javabase.
14773 + c83366064621d5a265eba14d93a03deff58fe6d8:
14774 Only treat "env" and "env_inherit" attrs specially for native
14775 rules
14776 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
14777 Fix coverage support when using default_java_toolchain. (#12801)
14778 + 4158a6f512e52516437e00f8d9609a91be7fc195:
14779 Revert JacocoCoverage target to remote_java_tools_java_import
14780 and add a new target for remore_java_tools_filegroup. (#12813)
14781 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
14782 Add windows_msvc back to conditions in bazel_tools.
14783 + 6b33bdb1e22514304c0e35ce8e067f2175685245:
14784 Release 4.0.0 (2021-01-21)
14785 + 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
14786 Fix error message from getPrerequisites to not print internal
14787 details.
14788 + 27e15ad11410eb1014f5247fd0eeb31a46733c07:
14789 Clean up ConfiguredTargetValueAccessor and
14790 ConfiguredTargetAccessor
14791 + e87feb8ac9573cef993824f82370d0389570521d:
14792 Move getConfigConditions into ConfiguredTarget.
14793 + 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
14794 Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
14795 value.
14796 + 079bb7d69931705bb2b092c9017090e224ef3043:
14797 Clean up old dependencies that are unused since
14798 https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
14799 5ef5702880d5ac7c5c.
14800 + e03cb63e059420847d6578d7cbfe93f05615c95e:
14801 Update bazelbuild/platforms to a current release. - Roll forward
14802 https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
14803 7f925cf88e0cd5b76a with kythe fix.
14804 + 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
14805 Update docs and tests to use the @platforms//:incompatible
14806 constraint
14807 + c71697cf33b0fbbb42fc2910bac83960edc7e855:
14808 Clarify test_suite behaviour in the Platforms docs
14809 + dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
14810 Enable toolchain resolution for filegroup targets.
14811 + 24d086446f74606819dc53c3a436caa056ff05b7:
14812 PlatformProviderUtils should ignore targets that don't have the
14813 needed
14814 + ba60c0b3f9bbd00975c984244839b155e84b4c5d:
14815 ijar: fix manifest sections handling
14816 + 58bb42ad7ca263a75c6eeef51482f805726663a5:
14817 Revert "Switch to -fdebug-compilation-dir"
14818 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
14819 Update turbine
14820 + bef4bbbb47d47befe3711d06f358782ee12554f9:
14821 Update turbine
14822 + d113d7454127bba78aa618dac81e5d164920b662:
14823 Update turbine
14824 + ad241fbebd90a9f0ad65ccd0658838f57030db68:
14825 Allow cquery to filter out incompatible targets
14826 + 1782f0ae751569607ef88930c822ac460a1f8bb3:
14827 Patch grpc to fix cares selecting the wrong source when building
14828 for darwin_arm64 cpu.
14829 + 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
14830 [1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
14831 blobs
14832 + 848a51747a460ab4c5185e4c61ab522a9981cbea:
14833 [2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
14834 blobs
14835 + 9b30172547f2093acb56aedf159a77d5dceffda2:
14836 [3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
14837 blobs
14838 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
14839 Allow exec groups to inherit from the rule or other exec groups.
14840 + d0676693310215407224c1b8e8aea9e3eddc183d:
14841 Support execution constraints per exec group
14842 + f1e0d346c8235c855e61afc2adb870e4b895e002:
14843 Clean up RuleContext to use a Table instead of a Map of Maps.
14844 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
14845 Documentation for #13110
14846 + 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
14847 Prevent --repo_env from triggering unnecessary fetches
14848 + 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
14849 Prevent a crash when using --repo_env=VAR without a value
14850 + 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
14851 Report digest of failed uploads
14852 + 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
14853 Status error presentation with details
14854 + 9a70805db543e2fb910e1c55ef3b3567362adf30:
14855 Fix double shutdown of BuildEventArtifactUploader when BES+File
14856 output enabled.
14857 + 325eb956c92530bdfda54a36a186cae4245a4f7b:
14858 Add rxjava3 to third_party
14859 + ceaac966a7b977461b69ce9501df6a467f4a93b2:
14860 remote: set executable bit of an input file based on its real
14861 value
14862 + 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
14863 Remote: correctly implement equals and hashCode.
14864 + 48648503729d53fdee1322fde2c8e6c05e99cff9:
14865 Fixed an error that bazel binary is not executable when testing
14866 with remote execution.
14867 + bc54c648aa1f99509c7c36d5e6b570d066689209:
14868 Remote: Use parameters instead of thread-local storage to
14869 provide tracing metadata.
14870 + 92955e617b5c41713a5163dc0437c2a024b31815:
14871 Remote: Use parameters instead of thread-local storage to
14872 provide tracing metadata. (Part 2)
14873 + 75bd1ff8ab56d241916bde36291301fa026b2bab:
14874 Remote: Use parameters instead of thread-local storage to
14875 provide tracing metadata. (Part 3)
14876 + 37ee252f3744abc4511f55b5089cc52abd3ba09d:
14877 Remote: Use parameters instead of thread-local storage to
14878 provide tracing metadata. (Part 4)
14879 + 71e35b165f924e2649a078fcf6007645d58039af:
14880 Remote: Use parameters instead of thread-local storage to
14881 provide tracing metadata. (Part 5)
14882 + 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
14883 Write/QueryWriteStatus logging refinement/addition
14884 + 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
14885 Remote: gRPC load balancing. (Part 1)
14886 + e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
14887 Remote: gRPC load balancing. (Part 2)
14888 + 6667ad7dd77f8d97952133052c17e7779c1430ec:
14889 Remote: gRPC load balancing. (Part 3)
14890 + 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
14891 Remote: gRPC load balancing. (Part 4)
14892 + 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
14893 Implement getMessage for BulkTransferException
14894 + a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
14895 Remote: gRPC load balancing. (Part 5)
14896 + 7a62c2d4e27e398f440910c81eacc384f38ca8be:
14897 Remote: Add interoperability between Rx and ListenableFuture.
14898 + 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
14899 Update to latest remote-execution proto
14900 + dad96301d12aa77eb67399e08265a5f30f5ffd6a:
14901 Set Platform on Action not just Command
14902 + 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
14903 Remote: Add AsyncTaskCache which is used to deduplicate task
14904 executions and cache the results.
14905 + 9d0c7325ac810febe565a62fdd875ae0c240b274:
14906 Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
14907 + f54fe07209acc25340df8d2e02993b1add2deafa:
14908 Add --experimental_repository_disable_download to allow users
14909 disable download for external repos
14910 + b243584a479eb4481a9bf4f69acc899610a3b630:
14911 Report errors parsing rewriter config file
14912 + 63bc1c7d0853dc187e4b96a490d733fb29f79664:
14913 Downloader rewriter config has all_blocked_message
14914 + 495ac923f398443be45c20ab29d183fe47e08911:
14915 Allow UrlRewriter to change protocol, i.e. https->http, and
14916 http->https
14917 + 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
14918 Allow overriding the hostname and instance name in bytestream://
14919 URIs
14920 + 0881c80d29acecdfbb58c49156f805e8c50db117:
14921 Don't set requestId on non-multiplex requests.
14922 + e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
14923 When generating a symlink in _virtual_includes, add the original
14924 header to the 'allowed to use' set too
14925 + f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
14926 Make SimpleLogHandler not swallow interrupts.
14927 + f8606e5e76579442a1c6563e718ea54c673f1a04:
14928 linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
14929 + dac0d40d0eb903f5cb70341398d1a333c19adf3a:
14930 Improve "Common Attributes" section
14931 + a607d9dc70ac67f1aa2c32ca954177f9c77860be:
14932 Never create more than one process per WorkerMultiplexer.
14933 + 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
14934 Move sending requests and reading responses for multiplex
14935 workers into separate subthreads.
14936 + 003cfcde3fd3901c1279ba1db3db3a14536248b4:
14937 Allow use of JSON protocol in multiplex workers.
14938 + 308bce36cba46095fe41866e703710035ddddada:
14939 Actively kill off still-active workers when stopping work on
14940 interrupt.
14941 + 8959dff512fe4505af786bcf2ef981ec7082a913:
14942 Add sanitizer support to Apple platforms
14943 + 32f16e9360f3e1856db1775eb5014b930da2a303:
14944 Fix a Google-internal broken link.
14945 + c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
14946 Add SHA-1 to subresource integrity format for download()
14947 checksums
14948 + 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
14949 Remove fallback strategy support for workers, add flag for it in
14950 sandbox.
14951 + 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
14952 Update to java_tools javac11 10.6 (#13245)
14953 + 4928295b236ec8f590a7e9d863502bc2f50a77d9:
14954 Allow .S files in C++ Starlark cc_common.compile.
14955 + 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
14956 Automatic code cleanup.
14957 + b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
14958 Change short output of worker type to have the same logic as the
14959 worker creation for sandboxing vs. multiplex.
14960 + e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
14961 More properly destroy workers on interrupt.
14962 + 7056711eb11b672133274eb29fc93b01dcf088d5:
14963 Make WorkRequestHandler do a GC after some amount of CPU time
14964 has been used on requests. For Bazel and Blaze, defaults to 10s
14965 based on benchmarking.
14966 + 596653d3cf76e7b208da343e1fde5fe20273a5ff:
14967 Allow tree artifacts to be source or header inputs to
14968 cc_common.compile()
14969 + 055c93d11ab20cc4479539b24bbdfa5cab78a342:
14970 Switch to path autocompletion after -- for bazel run commands.
14971 + 807f2a1929e23b60b237c63fadb25af81de2e3c3:
14972 Fix Incompatible Target Skipping for test args
14973 + 9a5cd854e0613f91d52075973e2454b1e009e1ef:
14974 Fix order of build request id and command id
14975 + 706f5acd02363e48076dc97e37613fd968932d03:
14976 Fix bazel crash when passing config_setting to
14977 target_compatible_with
14978 + 61da1d2bf10eabba4c75de959b0374f302d89d70:
14979 Support multiple --bazelrc on command line
14980 + 5593358a58b66f06c4e421bb48856de94c3fd625:
14981 Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
14982 to
14983 + 662cf54de7a103db30e04ebae2d2b919437c4846:
14984 Remote: Fix an issue that a failed action could lead to
14985 RuntimeException caused by InterruptedException thrown when
14986 acquiring gRPC connections.
14987 https://github.com/bazelbuild/bazel/issues/13239
14988 + a3a1763212f29932618b9b9b2f929976ae0e3b6e:
14989 Pass more `--add-exports=` flags
14990 + d2b942879471786e82f1c96eea8722bbe7919fc1:
14991 Remote: Fixed a bug that remote cache is missed due to
14992 executable bit is changed
14993 + 616dc264f02907d7b7887285d22307dfe6d097b6:
14994 Fix Bazel Coverage with C++ to work with Remote Execution
14995 + 5f40d12e741aa30d506eaa15673fb2ae76d29468:
14996 Fix external_path_test with newer Xcode versions.
14997 + b416193075642017e13c774422b49cb07fb65c23:
14998 Allow using embedded tools in sandboxed spawn runners.
14999 + eb762d4e7431637e607146b1c191485795047ef9:
15000 Fix racy write of temporary files while staging virtual inputs
15001 for the sandbox.
15002 + f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
15003 Update platforms_test to not rely on filegroup not using
15004 toolchain
15005 + 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
15006 Update SkyframeTests to not rely on filegroup not using toolchain
15007 + 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
15008 Update ConfigurableAttributesTest to not rely on filegroup not
15009 using …
15010 + 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
15011 Make WorkerExecRoot not be a subclass of SandboxedSpawn.
15012 + 31db460a45767de0bcd664a6efbe9d163b85b802:
15013 Make WorkerExecRoot not be re-created on each createFileSystem()
15014 call. Preparation for holding a map of existing links, but also
15015 just nicer.
15016 + a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
15017 Start the file existence check traversal from the execroot base
15018 instead of execroot so that external repo files at
15019 "<execroot>/../<path>" are correctly handled when the sibling
15020 repository layout is enabled.
15021 + b048282c7893231d3a7191b251804973917b07a4:
15022 Use readdir for cleanExisting in WorkerExecRoot.
15023 + 270f00dd01fa06cf3e813da5a406be3446de7377:
15024 Add native support for Apple Silicon
15025 + 8e56b9423e8ad2f7323fb90b19b73858def81e39:
15026 Explicitly state that embedding macOS OpenJDK is for x86_64
15027 + 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
15028 Remote: Fix a race that AsyncTaskCache#Execution could be reused
15029 after disposed which results in
15030 CancellationException("disposed") propagated to downstream.
15031 + 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
15032 Remove wrapped_clang params files after use
15033 + 47edc57806056f3c8764241ed41b8acc72bd2ebf:
15034 Silence swiftmodule timestamp warnings
15035 + f6e1074b09ebefba185c0531e9cea26b9596c8a9:
15036 Remote: Use shutdownNow() instead of shutdown() in
15037 ChannelConnection#close() as a workaround to a gRPC bug.
15038 + 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
15039 And mnemonic and label to remote metadata
15040 + 615e1b16a81b0defc15699ec8027d6ddd70366d1:
15041 Change `set -x` in coverage to be set by var
15042 + fe4daea99c8cd163793eca84bfb12c8fc437616b:
15043 Bump minimal JDK install base maximum size from 290 to 295 MB.
15044 + 4840a68cd273a429e46d4114a3973fd11d0e3583:
15045 Remote: Check the return value of ActionOwner.getLabel() since
15046 it could be `null`.
15047 + 14abe4fd7c3967686a3536939fdc3882e691bca2:
15048 Allow `DiffAwareness` to share precomputed information about the
15049 workspace and propagate it to the `WorkspaceStatusAction`.
15050 + 082d98772690946ed29c157e60640c97a6e1195b:
15051 Implement available() method for Windows subprocesses.
15052 + c2bdd034014f66ce14529cc353cda18a32320f6c:
15053 Move --repo_env to common options
15054 + e09f2743738044095b9d784ea62df16b7f5750e6:
15055 Revert "Documentation for #13110"
15056 + a165baa250652fdc865ae0df39160be1f7f74c47:
15057 Revert "Clean up RuleContext to use a Table instead of a Map of
15058 Maps."
15059 + 51fb9e13a864f4f704ae378ea632433bae7ddc31:
15060 Revert "Support execution constraints per exec group"
15061 + cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
15062 Revert "Allow exec groups to inherit from the rule or other exec
15063 groups."
15064 + 2ac6581aeaab33ba506fce96dfa6a75eaa819233:
15065 Release 4.1.0 (2021-05-21)
15066 + 7a0f36e3f0a21fed8857efbaa51ded2dbdeefab6:
15067 Change gceMachineType of highcpu platform from n1-highcpu-32 to
15068 e2-highcpu-32
15069 + 19491a91143f0c6132aca62c5ae40ab72e9dc0e2:
15070 Fix #10127: Remove Python 2 dependency from tools/android.
15071 + 80c59dea59d4dce39d4b5d21665c3d7313197358:
15072 fix main repo starlark options parsing - now flags passed on the
15073 command line as --@main_workspace//flag and --//flag will both
15074 parse to --//flag. Before this CL, the former maintained its
15075 workspace prefix and we would get different entries for these
15076 two formats.
15077 + 451b296c3aceb127ebb4a313b6e9608854fa68fa:
15078 Update threshold for long path shortening to be MAX_PATH - 4
15079 + 671e0489a5bd6d5abb4dcd9bcfc85134cee38385:
15080 Force source files to be readable before copying them from
15081 sandbox.
15082 + 6080c1e07f4229ea72eacd04faa9302e44955a84:
15083 Let workers finish lost races without delaying dynamic execution.
15084 + ee738dacb5d0089d3f57b15305057cb9ba675e74:
15085 Fix label_flag and label_setting to not have a dependency on the
15086 default
15087 + 74de0ba4e79341c77b8b85ff4485f92287b6854c:
15088 Java coverage: fix handling of external files
15089 + 48eee8b4b447a2ad11df28dd81a2ccb65562b5f5:
15090 [Bazel] Fix mobile-install for python2
15091 + 763dd0ce6e1644bf895231432f616427a11d385a:
15092 Add `stub_shebang` to `py_runtime`
15093 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
15094 Move use of legacy sandbox -> local fallback to only be used
15095 after all strategies have been tried, and improve messages
15096 around it.
15097 + 6dc941e58dfc1d4a9714a76b921fbe11fce658ed:
15098 Remove restriction on generate_pdb_file to be only used in dbg
15099 and fastbuild mode
15100 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
15101 Check the result of Future.cancel() when cancelling the other
15102 branch of dynamic execution.
15103 + aaae8ce2881c8c1a5d4ad64f20d6e71aa372cf2e:
15104 Update DEFAULT_MACOS_CPU to match host
15105 + 2f0927a4fd9342f4dcfd43475d3f1c90c523584f:
15106 Fix symlink creation on older Windows versions
15107 + fd9cffdcaf05551126e66f1cd62815eaa1af6bd9:
15108 Suppress interrupted status during pool closure
15109 + 33903d28bcea0005adf9b2a8cc4659c5e2999bbe:
15110 Fix Windows developer mode symlinks
15111 + 0cd1666721bdbe988dc361c085bb43cbd41a27f3:
15112 Respect Starlark options with values in `removeStarlarkOptions()`
15113 + 7920ffef472b25db3f4e564e5a3a28a4664c666e:
15114 cquery inherits from `test` not `build`
15115 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
15116 Allow exec groups to inherit from the rule or other exec groups.
15117 + d0676693310215407224c1b8e8aea9e3eddc183d:
15118 Support execution constraints per exec group
15119 + f1e0d346c8235c855e61afc2adb870e4b895e002:
15120 Clean up RuleContext to use a Table instead of a Map of Maps.
15121 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
15122 Documentation for #13110
15123 + e376580ae4e9ad5bddc196bfb6ad3127e3ff561b:
15124 Split ExecGroup into a new target.
15125 + 0cbb8a863522d2f77ab6b67a01e39b19a9a81807:
15126 Create a new interface to allow Starlark objects to get a thread
15127 when getIndex is called.
15128 + d2e21cec31f09b27ef3589f47b0779f34077ca7e:
15129 Renamed ExecGroupCollection to clarify that it is only for
15130 Starlark usage.
15131 + b9519f92f8ce096107164ca5075feced0e989de7:
15132 Make StarlarkExecGroupContext use AutoValue.
15133 + 52b1b748b2368820bac2ca94323fb82c39c00e51:
15134 Use a dummy toolchain context for rules that don't have one.
15135 + 41877d0fefe3f021f3ff6d4ce398d0deb27157e6:
15136 Extract a separate StarlarkToolchainContext for starlark-only
15137 operations.
15138 + b120d4febc571f17e12501ad87fbff32ef94e9bb:
15139 Fix toolchains to support type lookup.
15140 + dc140d0b6119950dd4a7d71b125b15a78bacc8ce:
15141 Move DEFAULT_EXEC_GROUP_NAME from ToolchainCollection to
15142 ExecGroup.
15143 + 9b18d951a52819f1998ddfdc1739fa1b5bf0353d:
15144 Rename ToolchainCollection.getExecGroups to getExecGroupNames.
15145 + 10d4473bf476a587e3d9f9b2214581ec420c1919:
15146 BuildViewForTesting should directly call into
15147 ConfiguredTargetFunction.
15148 + 58a6fb1f8739e39125cc8c647f28cff2e79fe9aa:
15149 Move exec group tests out of platforms_test and into integration.
15150 + 7d5493d922761c3ce0037f0025912cc532c55ad7:
15151 Update creating exec groups that explicitly copy from defaults.
15152 + 8c6382a81237e72dbec24b3850df9481461e0015:
15153 Create a new ExecGroupCollection container to manage exec group
15154 inheritance and exec property parsing.
15155 + b4b0c321910bc968736ef48e8140528ea7d323cd:
15156 Fix unix toolchain for macos arm64 platform
15157 + f64f071f44394a33a1be40cb7642e2c881d1e9bb:
15158 Add `required_providers` attribute to Starlark defined aspects.
15159 + f2cbdcf67ac1990f05a8241ba8dae65795edac82:
15160 Don't ever claim /dev/null is an execpath.
15161 + ceec93c35ead1bd487e96a5fee46e8d080f88858:
15162 Don't ever claim /dev/null is an execpath.
15163 + 1f3f9f4c4b2eded90518aacd1b0b80c1b0dfd1c5:
15164 Use the parent directory of the exec root as the input root on
15165 RBE.
15166 + 4efeac9cb5f85325ed73f64e133a078c483cac01:
15167 Make the Merkle tree computation work in the wake of
15168 https://github.com/bazelbuild/bazel/commit/7149f578006a4ad0d51df6
15169 9830a6986749b34df5 .
15170 + b56a2aa709dcb681cfc3faa148a702015ec631d5:
15171 Remote: Use execRoot as input root and do NOT set working
15172 directory by default.
15173 + ae53991f2e207edacd1352ba94261e2473b79f14:
15174 Remote: Add RemoteExecutionService as a layer between spawn
15175 execution and remote execution.
15176 + 0c07c2e6571dd4806552213b2237ecb7a908afa4:
15177 Remote: Add remoteCacheable key to execution log
15178 + 5e617d83f3aab1fd36b07be4b58aba58604cc46e:
15179 Remote: Register "remote" strategy even if remote execution is
15180 not available.
15181 + 4ca8946a8e1c4c2fd48d8fb8ce38adb8b282fef0:
15182 Remote: Add --experimental_capture_corrupted_outputs flag.
15183 + 97d7b4c277814d73b50450b03f4bb160ce7e99b4:
15184 Remote: Report checking cache status before the action is
15185 scheduled to run remotely.
15186 + ba5b2a7c9448a3681a0d86d80670447e338a06dc:
15187 when writing to local disk cache, open files later in order to
15188 avoid "too many open files"
15189 + 3551898849a93306ad9b4dfdd7d4667913098efe:
15190 Propagate test envs to xml generation action
15191 + 9f8c678d7054548865f56f3464f778c751657074:
15192 Remote: Fix a bug that the XML generation is executed even if
15193 test.xml is generated when build with --remote_download_minimal.
15194 + af42653e6f6bd229142f4678bb256a8c397b4d8d:
15195 Automatic code cleanup.
15196 + 07a84ce31d9b09853c63c7e373418696dd285dc5:
15197 Remote: Another attempt to fix the CancellationException error
15198 in AsyncTaskCache caused by a race condition.
15199 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
15200 Remote: Display download progress when actions are downloading
15201 outputs from remote cache.
15202 + 18c82168433719b400a705a4a0222969a7a026ba:
15203 Remote: Do not upload empty output to remote cache.
15204 + 6a138a60e562beeef36003c4814a6b8ce9f253f6:
15205 Fix compiling errors
15206 + bcce6dd026e90336e80616a8c1004a79a2f8640c:
15207 Add the TEMP_FAILURE_RETRY macro to linux-sandbox-pid1.cc.
15208 + c8c0d94a49e1b865d95c6d245c2d152c7c7c9722:
15209 Export proguard specs from aar_import
15210 + 1a0285c3b64b121268ced3eb9ad9d5ba396b4905:
15211 Fix stripping of macOS loadable bundles
15212 + 0d3c231f5a08861d28e987703e9196890e6164bf:
15213 Roll forward config_setting visibility enforcement behind a flag.
15214 + bb7a01027242390da1c18fbf87c274cc34c11b79:
15215 Fix merge conflicts.
15216 + 8b8e77ea226aaa12e79580422bc5984e80ce048b:
15217 Remove redundant declaration.
15218 + 7c92cfcf9a88933c29334f6271ad3f086f7f36f4:
15219 Ignore empty virtual artifacts when spawn-logging inputs.
15220 + 4158b61211e099db780565d064a1c1a80c91bd2a:
15221 Use correct exit code on invalid aquery --output
15222 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
15223 Remote: Fix a race when reporting action progresses.
15224 + 0e652737988e3c115e98e1552f6fada52bc2b9a2:
15225 Change MIN_BUILD_TOOLS_REVISION to 30.0.0
15226 + 6f9909c04b1e00faa510b38ccabac78821046cf9:
15227 Update Android remote tools to ensure Bazel uses the latest
15228 Android tooling that has been updated to support AndroidX
15229 databinding generation.
15230 + 31d88c629dff2c5f8e8a4baf8c89fd3349c9783e:
Bazel Release System9ec8fb12021-08-13 14:57:53 +020015231 Automated rollback of commit
Bazel Release System497a8482021-08-18 08:44:59 -040015232 9a1d428e33bfae1ec5b68250d4732b72346b8b39.
15233 + 951a3023fbcdbe025e350590e6fa86097da3fe05:
15234 Increase allowed size of the install_base.
15235 + a7845f65befbeb65a28ec53e62458211a7bc3f8e:
15236 Increase allowed size for install base again.
15237 + affc27f9d18f9781437e91a3f36c73962a56f261:
15238 Bump version of java allocation instrumenter.
15239 + 7efabba19cf6400bf9e707f53b40a6dd7110fafb:
15240 Reference the correct version of the java allocation
15241 instrumenter.
15242 + afb819697a6c3daca71a0105d723f54d42fe129f:
15243 Support extracting aar files.
15244 + 861c3caa85e47da35a8a4f1512e57d43b9263c37:
15245 Revert "Remote: Fix a race when reporting action progresses."
15246 + 92ec798ddc1f38fb4868af08c1d818639283f501:
15247 Revert "Remote: Display download progress when actions are
15248 downloading outputs from remote cache."
15249 + ce091abb290d1d753f480cdee0e69748eb20db52:
15250 Revert "Fix compiling errors"
15251 + 1b19cd310418b850e8e0ca2086ffe50755c9ed7e:
15252 Revert "Remote: Fix a bug that the XML generation is executed
15253 even if test.xml is generated when build with
15254 --remote_download_minimal."
15255 + 988b56f5916e024d10695797a7f963b30fc998c7:
15256 Revert "Remote: Report checking cache status before the action
15257 is scheduled to run remotely."
15258 + 35c98d07b21785efae57a7c4230cc1e452f74fd2:
15259 Revert "Let workers finish lost races without delaying dynamic
15260 execution."
15261 + c4e22b9ace07f5d360c5327a38f9ae4ab24b7109:
15262 Migrate ExampleWorker to use WorkRequestHandler.
15263 + 230be161176bd6f1251077af7674f80d38ff1e25:
15264 Do not interleave readdir() calls with deletion of directory
15265 entries.
15266 + 3cc8ce6ba0934b1a4d9db184daf055c1207ef105:
15267 Propagate OOME if NewByteArray allocation failed
15268 + 19fc15ebbf6c63fcce90a038e91c5ec726852848:
15269 Create helper method for sandbox tests, transform existing tests
15270 into using it.
15271 + deb1006c0778692f7eaef4cbcf7eeb8112b55e91:
15272 Cleanup: Replace NULL with nullptr
15273 + f4b5e0233341977aaa76593ca032d9ac4eba7444:
15274 Let workers finish lost races without delaying dynamic execution.
15275 + 186decab01ee247c7453baf19dac778545ec4937:
15276 Interface and flag specification for worker cancellation.
15277 + 5894a8544d51c99f1356130b8b487bc93299fedd:
15278 Create BUILD file in worker tests directory instead of running
15279 tests from the parent directory.
15280 + e9e6978809b0214e336fee05047d5befe4f4e0c3:
15281 Server-side implementation of worker cancellation.
15282 + 5103662238f2df2038c7dff079e9c655e08ba654:
15283 Add builder for WorkRequestHandler.
15284 + 1a519bb66c3fa3e4ef3b9a9a556597920751fbcd:
15285 Makes singleplex requests be handled in separate threads in
15286 WorkRequestHandler.
15287 + 779d66019210f54e10a1343ee004df72a8dec812:
15288 Only allow worker async finishing when sandboxed.
15289 + a698bef6146a807fd82ee4402d89c23c83802e33:
15290 Support for cancellation in WorkRequestHandler.
15291 + 9dc95af4c7ef10979f21173260f5433006116096:
15292 Make workers restart on flags that affect their
15293 creation/behaviour.
15294 + 7e5cd529e9f8c9cb67900af36182f00ef7316654:
15295 Remote: Report checking cache status before the action is
15296 scheduled to run remotely.
15297 + 6e134a1b68418fba9992692901efa77a80c346f7:
15298 Remote: Fix a bug that the XML generation is executed even if
15299 test.xml is generated when build with --remote_download_minimal.
15300 + d4d071401acadb0d8977850a9439474e60fd7bb9:
15301 Fix compiling errors
15302 + 2579c9a18360955699d028426b45d381ff53783c:
15303 Eagerly initialize JNI copies of Java classes: doing lazy
15304 initialization on a per-method basis doesn't save anything and
15305 adds a tiny bit of overhead to every one of these calls.
15306 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
15307 Remote: Display download progress when actions are downloading
15308 outputs from remote cache.
15309 + 3835d9b21ad524d06873dfbf465ffd2dfb635ba8:
15310 Update the WorkRequestHandler to use callbacks of type:
15311 BiFunction<WorkRequest, PrintWriter, Integer>: - Mark
15312 constructors that use BiFunction<List<String>, PrintWriter,
15313 Integer> callback as deprecated. - Use a wrapper class for the
15314 BiFunction<WorkRequest, PrintWriter, Integer>. Suggesting this
15315 to avoid having two constructors that takes a BiFunction, as it
15316 creates a confusion between the deprecated and new constructor
15317 when given a lambda expressions.
15318 + 5e352afe2b35487ea2ced85ca79bd9f79858e648:
15319 Fix bug in WorkRequestHandler's handling of singleplex requests
15320 that would cause occasional hangs.
15321 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
15322 Remote: Fix a race when reporting action progresses.
15323 + c9d823e42796962eed039b8122528c2a1541190f:
15324 Disable flaky test.
15325 + e6809c90ecc0ef5783faa39e63188fc33a79b80e:
15326 Revert "Check the result of Future.cancel() when cancelling the
15327 other branch of dynamic execution."
15328 + be4cbc7a67196414e3d3f323be8ab55fb5e530f7:
15329 Revert "Move use of legacy sandbox -> local fallback to only be
15330 used after all strategies have been tried, and improve messages
15331 around it."
15332 + b32349f50ff3d958613aef9275751ad9d50d344c:
15333 Set a fallback dynamic local strategy even when the
15334 dynamic_local_strategy flag is passed.
15335 + f395157c95692565bc220c7ccf788974fe0885fd:
15336 Allow running an extra spawn for local branch of dynamic
15337 execution.
15338 + 039461c76113ab3f165132dd26d0c58eb3e45cae:
15339 Adding debugging information for case when two branches
15340 apparently cancel each other.
15341 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
15342 Move use of legacy sandbox -> local fallback to only be used
15343 after all strategies have been tried, and improve messages
15344 around it.
15345 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
15346 Check the result of Future.cancel() when cancelling the other
15347 branch of dynamic execution.
15348 + 1962a59a5478f5ad374700b0abf0a718b1b3a7d3:
15349 Fix the case where if all strategies for one branch of `dynamic`
15350 execution fail to accept (that is, refuse to even take) the
15351 action given, the whole action fails. Instead of seeing whether
15352 the other branch can run and the action that that it succeeded.
15353 + b7c1ad2aff91105659299723a712b72eea943040:
15354 Fix rare crash in dynamic execution where both branches got
15355 cancelled.
15356 + 2c3cff5422b115d7bb86ed28a056f3d368ebceeb:
15357 Check if `treeDeleter` is actually async before casting it.
15358 Fixes #13240.
15359 + 1a89ce1757e75f8ba9bda76d7373a7e8527bcfc5:
15360 Make worker JSON protocol properly ignore unknown fields.
15361 + 7bbff61d9486eeb6b7cd0b6cfb619a9b6e08967b:
15362 Fix test_source_file_does_not_override_standard_library to work
15363 with Python 3.9.
15364 + f4e10367df2d881f05e3ddd5bd0531b390a845fe:
15365 Removing line ending matches in tests to be compatible on Windows
15366 + ba74df07ced96226d78851e11d1df03147f1cc1f:
15367 Refactors CompilationSupport for objc to use existing API
Bazel Release System16293d52021-07-29 13:40:11 +020015368```
15369
15370Important changes:
15371
Bazel Release System497a8482021-08-18 08:44:59 -040015372 - Multiplex persistent workers can now use the JSON protocol.
15373 - enforce config_setting visibility. See
15374 https://github.com/bazelbuild/bazel/issues/12932 for details.
15375 - The minimum Android build tools version for the Android rules is
15376 now 30.0.0
15377 - Updates worker protocol with cancellation fields, and adds
15378 experimental_worker_cancellation flag to control cancellation.
15379 - If all strategies of one branch (the local or remote execution
15380 branch) of the `dynamic` strategy fail to even accept (via the
15381 response they give from `canExec`) the action, `dynamic` will now
15382 try to see if the other branch can accept it. (Trying to run it
15383 and it failing will still cause a failure if it was the first
15384 result, this is about strategies claiming they can't even try the
15385 action)
Bazel Release System16293d52021-07-29 13:40:11 +020015386
Bazel Release System497a8482021-08-18 08:44:59 -040015387This 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 +020015388
Bazel Release Systemf3be7b12021-07-16 14:23:53 +020015389## Release 5.0.0-pre.20210708.4 (2021-07-16)
15390
15391```
15392Baseline: ca1d20fdfa95dad533c64aba08ba9d7d98be41b7
15393
15394Cherry picks:
15395
15396 + 802901e697015ee6a56ac36cd0000c1079207d12:
15397 Add flags parameter to attr.label for use in builtins only.
15398 + aa768ada9ef6bcd8de878a5ca2dbd9932f0868fc:
15399 Automated rollback of commit
15400 ca1d20fdfa95dad533c64aba08ba9d7d98be41b7.
15401 + 4bcf2e83c5cb4f459aae815b38f1edd823286a29:
15402 Automated rollback of commit
15403 ff38dbfc65b8ffe92833e67f12ce616739a3d213.
15404 + 706483fd6398f00fd4faba73812de9bf15728086:
15405 Resolve merge conflict
15406 + 3821db8725b9ea3267cddfd0bbad55f50e96527e:
15407 Fix merge conflict properly
15408```
15409
15410Important changes:
15411
15412 - The used_heap_size_post_build field in BEP is populated when the
15413 --memory_profile flag is set
15414
15415This release contains contributions from many people at Google, as well as Daniel Wagner-Hall, Grzegorz Lukasik, Keith Smiley, Kevin Hogeland, Yannic Bonenberger.
15416
Bazel Release System1f1aec12021-07-02 16:12:06 +020015417## Release 5.0.0-pre.20210623.2 (2021-07-02)
15418
15419```
15420Baseline: 8b453331163378071f1cfe0ae7c74d551c21b834
15421
15422Cherry picks:
15423
15424 + 223113c9202e8f338b183d1736d97327d28241ea:
15425 Automated rollback of commit
15426 ae2a6a2dc909e468a284913c410fde995cf51095.
15427```
15428
15429Important changes:
15430
15431 - Adds --experimental_reuse_sandbox_directories flag to reuse
15432 already-created non-worker sandboxes with cleanup.
15433 - --experimental_force_gc_after_build is deprecated and will be
15434 removed soon. Use --bep_publish_used_heap_size_post_build instead
15435 - Forward coverage-instrumented files from non-tool dependencies by
15436 default.
15437
15438This release contains contributions from many people at Google, as well as David Ostrovsky, Johannes Abt, Masoud Koleini, Pras Velagapudi.
15439
Bazel Release System30f0ca72021-06-25 19:40:13 +020015440## Release 5.0.0-pre.20210615.3 (2021-06-25)
15441
15442```
15443Baseline: e7bd0947ab552a26ec032d0f1a50ee15c8810f6c
15444
15445Cherry picks:
15446
15447 + 04bed291c9f56163ae4da3a358d71cf8399b47a4:
15448 Disable shadowed_action part of action_aspect_test
15449 + 367b19eb8821b4de738c6c994ba275c695f4726b:
15450 Fix starlark action with shadowed_action inputs cache test
15451 + 4acb9ae67a7135b2365b92e91601d4797adc2ad5:
15452 Automated rollback of commit
15453 03f6af623ae3de4a9b756b5235ebd31cc2faf762.
15454```
15455
15456Incompatible changes:
15457
15458 - Native libraries in data attribute are not collected. See
15459 https://github.com/bazelbuild/bazel/issues/13550 for details
15460
15461Important changes:
15462
15463 - Remove obsolete --incompatible_prohibit_aapt1
15464 - The minimum Android build tools version for the Android rules is
15465 now 30.0.0
15466
15467This release contains contributions from many people at Google, as well as Cameron Mulhern, Delwin9999, Keith Smiley.
15468
Bazel Release System7ad949b2021-06-11 15:03:28 +020015469## Release 5.0.0-pre.20210604.6 (2021-06-11)
15470
15471```
15472Baseline: d571c8976f279e4d485498d0875c85ae73aecc42
15473
15474Cherry picks:
15475
15476 + c367a7e027f351e8ffefabf919563abbb8c7d0e1:
15477 Fix places where nodes were still being enqueued at
15478 `Integer.MAX_VALUE` and add checks for overflow conditions.
15479 + 260015df1524543d56b0dbff00958320cd58d166:
15480 Automated rollback of commit
15481 f1b37b5d610728634d92ef4ebd4d1435c0c8605d.
15482```
15483
15484Important changes:
15485
15486 - Add `disable_annotation_processing` option to
15487 `java_common.compile`, which disables any annotation processors
15488 passed to `plugins` or in `exported_plugins` of `deps`
15489
15490This 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.
15491
Bazel Release Systemf24ceb62021-06-09 20:59:14 +020015492## Release 5.0.0-pre.20210520.7 (2021-06-09)
15493
15494```
15495Baseline: e2ae73fe16cbedf095b9e6d5687b06ecf765d794
15496
15497Cherry picks:
15498
15499 + 0fdb485421f9d134f11103a36c48182769fb40d3:
15500 Automated rollback of commit
15501 f2230d8494e70f02b1e4fb082fcf8550aa684a40.
15502 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
15503 Support rolling releases in Bazel release scripts.
15504 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
15505 Fix syntax error in Bazel release scripts
15506 + 4ef9c566c861848fef7907cf07a6e7d9d15cee7a:
15507 Fix location of -prerelease option
15508 + a6dfd927c58c63275159858ac661a9b669594a0c:
15509 Add --experimental_shadowed_action to graveyard options for all
15510 commands.
15511```
15512
15513Important changes:
15514
15515 - If all strategies of one branch (the local or remote execution
15516 branch) of the `dynamic` strategy fail to even accept (via the
15517 response they give from `canExec`) the action, `dynamic` will now
15518 try to see if the other branch can accept it. (Trying to run it
15519 and it failing will still cause a failure if it was the first
15520 result, this is about strategies claiming they can't even try the
15521 action)
15522
15523This release contains contributions from many people at Google, as well as Benedek Thaler.
15524
Bazel Release System6af9fa62021-06-09 19:45:15 +020015525## Release 5.0.0-pre.20210516.1 (2021-06-09)
15526
15527```
15528Baseline: 275c54c982468b97611dc764c68daed8d7c45004
15529
15530Cherry picks:
15531
15532 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
15533 Support rolling releases in Bazel release scripts.
15534 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
15535 Fix syntax error in Bazel release scripts
15536 + 4ef9c566c861848fef7907cf07a6e7d9d15cee7a:
15537 Fix location of -prerelease option
15538```
15539
15540This release contains contributions from many people at Google, as well as Keith Smiley, Niek Peeters.
15541
Bazel Release System57d167b2021-06-01 12:52:54 +020015542## Release 5.0.0-pre.20210510.2.2 (2021-06-01)
15543
15544```
15545Baseline: 8a42645ec500874b0440475763ab680d5efc1e6a
15546
15547Cherry picks:
15548
15549 + e3c78c4eeaf4e8db3c22aa71c6c1578cb48c8dcc:
15550 Ensure that test status artifacts are reported as top-level
15551 artifacts.
15552 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
15553 Support rolling releases in Bazel release scripts.
15554 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
15555 Fix syntax error in Bazel release scripts
15556 + 4ef9c566c861848fef7907cf07a6e7d9d15cee7a:
15557 Fix location of -prerelease option
15558```
15559
15560This release contains contributions from many people at Google, as well as .
15561
Bazel Release Systemf7049e52021-05-31 22:10:26 +020015562## Release 5.0.0-pre.20210510.2.1 (2021-05-31)
15563
15564```
15565Baseline: 8a42645ec500874b0440475763ab680d5efc1e6a
15566
15567Cherry picks:
15568
15569 + e3c78c4eeaf4e8db3c22aa71c6c1578cb48c8dcc:
15570 Ensure that test status artifacts are reported as top-level
15571 artifacts.
15572 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
15573 Support rolling releases in Bazel release scripts.
15574 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
15575 Fix syntax error in Bazel release scripts
15576```
15577
15578This release contains contributions from many people at Google, as well as .
15579
Bazel Release Systeme7d34802021-05-31 20:35:38 +020015580## Release 5.0.0-pre.20210510.2 (2021-05-31)
15581
15582```
15583Baseline: 8a42645ec500874b0440475763ab680d5efc1e6a
15584
15585Cherry picks:
15586
15587 + e3c78c4eeaf4e8db3c22aa71c6c1578cb48c8dcc:
15588 Ensure that test status artifacts are reported as top-level
15589 artifacts.
15590 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
15591 Support rolling releases in Bazel release scripts.
15592```
15593
15594Incompatible changes:
15595
15596 - Removing java_common.javac_jar Starlark call.
15597 - native.existing_rule now returns select values in a form that is
15598 accepted by rule instantiation. This is a breaking API change
15599 because there is some code that relies on the precise type
15600 returned, including brittle workarounds for this bug specifically
15601 and insufficiently flexible workarounds for other issues with the
15602 intersection of select and native.existing_rule.
15603 - flipped incompatible_use_toolchain_resolution_for_java_rules, see
15604 #7849
15605 - Query output=xml/proto/location for source files will now show
15606 the location of line 1 of the source file (as the new default)
15607 instead of its location in the BUILD file.
15608 - Specifying a target pattern underneath a directory specified by
15609 .bazelignore will now emit a warning, not an error.
15610 - Query `--order_output=auto` will now sort lexicographically.
15611 However, when `somepath` is used as a top level function (e.g.
15612 `query 'somepath(a, b)'`), it will continue to output in
15613 dependency order. If you do not want the lexicographical output
15614 ordering, specify another `--order_output` value (`no`, `deps` or
15615 `full`) based on what ordering you require.
15616 - In the build event stream,
15617 BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
15618 Its value was always mostly meaningless.
15619 BuildMetrics.TargetMetrics.targets_configured and
15620 BuildMetrics.ActionSummary.actions_created now include configured
15621 aspect data.
15622 - //visibility:legacy_public has been removed.
15623 - Flip and remove incompatible_dont_collect_so_artifacts
15624 (https://github.com/bazelbuild/bazel/issues/13043).
15625 - Remove flag --experimental_no_product_name_out_symlink: it is
15626 always true.
15627 - The Starlark method generate_dsym in objc fragment has
15628 been deleted. Please use the equivalent apple_generate_dsym in
15629 cpp
15630 fragment instead.
15631
15632Important changes:
15633
15634 - Flag --incompatible_objc_compile_info_migration is removed. See
15635 #10854.
15636 - Flag --incompatible_objc_compile_info_migration is removed. See
15637 #10854.
15638 - Flag --incompatible_objc_compile_info_migration is removed. See
15639 #10854.
15640 - none
15641 PAIR=cmita
15642 - The --incompatible_load_python_rules_from_bzl flag is now a no-op.
15643 - Filter all (instead of just C++) source files for coverage output
15644 according to --instrumentation_filter and
15645 --instrument_test_targets.
15646 - The `--incompatible_disable_native_apple_binary_rule` flag has
15647 been added which disables the native `apple_binary` rule. Users
15648 who need to use `apple_binary` directly (if they cannot use one
15649 of the more specific Apple rules) should load it from
15650 https://github.com/bazelbuild/rules_apple.
15651 - The Android rules' --use_singlejar_apkbuilder is now a no-op.
15652 SingleJar will always be used to build APKs.
15653 - dict.setdefault(key, ...) now fails if dict is frozen, even if it
15654 already contains key. This is an incompatible API change.
15655 - Flag --incompatible_objc_provider_remove_compile_info is removed.
15656 See #11359.
15657 - Starlark now permits def statements to be nested (closures).
15658 - native.existing_rule now returns select values in a form that is
15659 accepted by rule instantiation. This is a breaking API change,
15660 though the fallout is expected to be small.
15661 - Starlark now supports lambda (anonymous function) expressions.
15662 - The "test" and "coverage" commands no longer return 3 when a
15663 test action fails because of a system error. Instead, the exit
15664 code
15665 reflects the type of system error.
15666 - The undocumented ctx.expand feature no longer exists.
15667 - Make --legacy_dynamic_scheduler a no-op flag.
15668 - Multiplex persistent workers can now use the JSON protocol.
15669 - native.existing_rule now returns a mutable list, not a tuple, for
15670 a list-valued attributes. This is an incompatible API change.
15671 - Roll back change to have native.existing_rules use list instead
15672 of tuple.
15673 - BEP includes test suite expansions.
15674 - config_setting now honors `visibility` attribute (and defaults to
15675 `//visibility:public`)
15676 - Change the MultiArchSplitTransitionProvider to be based on
15677 platform type + CPU instead of fixed "ios_" + cpu.
15678 - enforce config_setting visibility. See
15679 https://github.com/bazelbuild/bazel/issues/12932 for details.
15680 - add a flag to build v4 signature file
15681 - Added _direct_source_jars output group to Java related targets.
15682 END_PUBLIC
15683 - pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
15684 Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
15685 - Allowing the lipo operations to be conditional in the
15686 linkMultiArchBinary API for Apple binaries. Single architecture
15687 slices are now returned through AppleBinaryOutput and the
15688 Starlark API.
15689 - Release restriction for "-" in the package name for Python
15690 sources. Now `py_binary` and `py_test` targets can have main
15691 source file with "-" in the path.
15692 - Users consuming BEP may assume that a `named_set_of_files` event
15693 will
15694 appear before any event referencing that `named_set` by ID. This
15695 allows consumers
15696 to process the files for such events (eg. `TargetCompleted`)
15697 immediately.
15698 - BEP includes all files from successful actions in requested
15699 output groups.
15700 Previously, an output group's files were excluded if any file in
15701 the output group
15702 was not produced due to a failing action. Users can expect BEP
15703 output to be larger
15704 for failed builds.
15705 - In BEP, TargetComplete.output_group has a new field `incomplete`
15706 indicating that the file_sets field is missing one or more
15707 declared artifacts
15708 whose generating actions failed.
15709 - The flag `--toolchain_resolution_debug` now takes a regex
15710 argument, which is used to check which toolchain types should
15711 have debug info printed. You may use `.*` as an argument to keep
15712 the current behavior of debugging every toolchain type.
15713 - Add runfiles.merge_all() for merging a sequence of runfiles
15714 objects.
15715 - runfiles.merge() and merge_all() now respect
15716 --nested_set_depth_limit.
15717 If you hit the depth limit because you were calling merge() in a
15718 loop, use
15719 merge_all() on a sequence of runfiles objects instead.
15720 - Bazel will no longer create a bazel-out symlink if
15721 --symlink_prefix is specified: the directory pointed to via the
15722 bazel-out symlink is accessible via ${symlink_prefix}-out. If
15723 this causes problems for you, set
15724 --experimental_no_product_name_out_symlink=false in your builds
15725 and file an issue.
15726 - Updates worker protocol with cancellation fields, and adds
15727 experimental_worker_cancellation flag to control cancellation.
15728 - Simplify build failure output by always using `NNN arguments`.
15729 - trim_test_configuration now defaults to on
15730 - Mark genrule.srcs as a source attribute for coverage.
15731 - When using --allow_analysis_failures (for example, via
15732 bazel-skylib's
15733 analysistest with `expect_failure = True`), analysis-time
15734 failures in aspect
15735 implementation functions will now be propagated and saved in
15736 AnalysisFailureInfo, just like analysis-time failures in rules.
15737 - cquery --noimplicit_deps now correctly filters out resolved
15738 cc_toolchains
15739 - Sign apks deterministically.
15740 - Make gcov optional in cc_toolchain tools.
15741 - If --experimental_prefer_mutual_xcode is passed, Bazel will
15742 choose the local default (instead of the newest mutually
15743 available version) if it's available both locally and remotely.
15744 - Remove java_lite_proto_library.strict_deps attribute.
15745 - Generate proguard configurations deterministically.
15746 - Adds a new flag, `--incompatible_enable_cc_test_feature` which
15747 switches from the use of build variables to the feature of the
15748 same name.
15749 - Dropped fragile xz support from built in pkg_tar. Users requiring
15750 xz
15751 compression should switch to bazlebuild/rules_pkg.
15752
15753This 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].
15754
Bazel Release System2ac65812021-05-21 13:07:43 +020015755## Release 4.1.0 (2021-05-21)
15756
15757```
15758Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
15759
15760Cherry picks:
15761
15762 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
15763 Use getRunfilesPath for run_under executable path generation.
15764 getRootRelativePath doesn't return a valid runfiles path for
15765 external source files anymore after the recent external source
15766 root change. Also, it won't work for external labels either once
15767 the --nolegacy_external_runfiles becomes default. This fixes
15768 issue #12545.
15769 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
15770 Fix NPE when coveragerunner is not set on the toolchain.
15771 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
15772 Fix the classic query package-loading cutoff optimization with
15773 external workspaces.
15774 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
15775 Update turbine
15776 + bef4bbbb47d47befe3711d06f358782ee12554f9:
15777 Update turbine
15778 + d113d7454127bba78aa618dac81e5d164920b662:
15779 Update turbine
15780 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
15781 Support Scala3 .tasty files
15782 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
15783 Update to java_tools javac11 release 10.5 (#12647)
15784 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
15785 Fix common prefix for instrumentation filter
15786 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
15787 Fix builds for filegroup targets with incompatible dependencies
15788 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
15789 Revert "Remove
15790 --incompatible_blacklisted_protos_requires_proto_info"
15791 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
15792 Transform roots along with paths during output deletion.
15793 + e8835c1c221d76a2d5532d18083eaa04401619b3:
15794 AttributeContainer.Large now handles more than 127 attributes.
15795 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
15796 Add an env attribute to all test and binary rule classes
15797 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
15798 Take no action to prefetch empty artifacts.
15799 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
15800 Fix a couple of bugs with Incompatible Target Skipping
15801 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
15802 Pass --host_action_env to host options hostActionEnvironment
15803 attribute
15804 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
15805 Add --{no,}autodetect_server_javabase.
15806 + c83366064621d5a265eba14d93a03deff58fe6d8:
15807 Only treat "env" and "env_inherit" attrs specially for native
15808 rules
15809 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
15810 Fix coverage support when using default_java_toolchain. (#12801)
15811 + 4158a6f512e52516437e00f8d9609a91be7fc195:
15812 Revert JacocoCoverage target to remote_java_tools_java_import
15813 and add a new target for remore_java_tools_filegroup. (#12813)
15814 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
15815 Add windows_msvc back to conditions in bazel_tools.
15816 + 6b33bdb1e22514304c0e35ce8e067f2175685245:
15817 Release 4.0.0 (2021-01-21)
15818 + 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
15819 Fix error message from getPrerequisites to not print internal
15820 details.
15821 + 27e15ad11410eb1014f5247fd0eeb31a46733c07:
15822 Clean up ConfiguredTargetValueAccessor and
15823 ConfiguredTargetAccessor
15824 + e87feb8ac9573cef993824f82370d0389570521d:
15825 Move getConfigConditions into ConfiguredTarget.
15826 + 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
15827 Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
15828 value.
15829 + 079bb7d69931705bb2b092c9017090e224ef3043:
15830 Clean up old dependencies that are unused since
15831 https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
15832 5ef5702880d5ac7c5c.
15833 + e03cb63e059420847d6578d7cbfe93f05615c95e:
15834 Update bazelbuild/platforms to a current release. - Roll forward
15835 https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
15836 7f925cf88e0cd5b76a with kythe fix.
15837 + 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
15838 Update docs and tests to use the @platforms//:incompatible
15839 constraint
15840 + c71697cf33b0fbbb42fc2910bac83960edc7e855:
15841 Clarify test_suite behaviour in the Platforms docs
15842 + dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
15843 Enable toolchain resolution for filegroup targets.
15844 + 24d086446f74606819dc53c3a436caa056ff05b7:
15845 PlatformProviderUtils should ignore targets that don't have the
15846 needed
15847 + ba60c0b3f9bbd00975c984244839b155e84b4c5d:
15848 ijar: fix manifest sections handling
15849 + 58bb42ad7ca263a75c6eeef51482f805726663a5:
15850 Revert "Switch to -fdebug-compilation-dir"
15851 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
15852 Update turbine
15853 + bef4bbbb47d47befe3711d06f358782ee12554f9:
15854 Update turbine
15855 + d113d7454127bba78aa618dac81e5d164920b662:
15856 Update turbine
15857 + ad241fbebd90a9f0ad65ccd0658838f57030db68:
15858 Allow cquery to filter out incompatible targets
15859 + 1782f0ae751569607ef88930c822ac460a1f8bb3:
15860 Patch grpc to fix cares selecting the wrong source when building
15861 for darwin_arm64 cpu.
15862 + 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
15863 [1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
15864 blobs
15865 + 848a51747a460ab4c5185e4c61ab522a9981cbea:
15866 [2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
15867 blobs
15868 + 9b30172547f2093acb56aedf159a77d5dceffda2:
15869 [3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
15870 blobs
15871 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
15872 Allow exec groups to inherit from the rule or other exec groups.
15873 + d0676693310215407224c1b8e8aea9e3eddc183d:
15874 Support execution constraints per exec group
15875 + f1e0d346c8235c855e61afc2adb870e4b895e002:
15876 Clean up RuleContext to use a Table instead of a Map of Maps.
15877 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
15878 Documentation for #13110
15879 + 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
15880 Prevent --repo_env from triggering unnecessary fetches
15881 + 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
15882 Prevent a crash when using --repo_env=VAR without a value
15883 + 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
15884 Report digest of failed uploads
15885 + 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
15886 Status error presentation with details
15887 + 9a70805db543e2fb910e1c55ef3b3567362adf30:
15888 Fix double shutdown of BuildEventArtifactUploader when BES+File
15889 output enabled.
15890 + 325eb956c92530bdfda54a36a186cae4245a4f7b:
15891 Add rxjava3 to third_party
15892 + ceaac966a7b977461b69ce9501df6a467f4a93b2:
15893 remote: set executable bit of an input file based on its real
15894 value
15895 + 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
15896 Remote: correctly implement equals and hashCode.
15897 + 48648503729d53fdee1322fde2c8e6c05e99cff9:
15898 Fixed an error that bazel binary is not executable when testing
15899 with remote execution.
15900 + bc54c648aa1f99509c7c36d5e6b570d066689209:
15901 Remote: Use parameters instead of thread-local storage to
15902 provide tracing metadata.
15903 + 92955e617b5c41713a5163dc0437c2a024b31815:
15904 Remote: Use parameters instead of thread-local storage to
15905 provide tracing metadata. (Part 2)
15906 + 75bd1ff8ab56d241916bde36291301fa026b2bab:
15907 Remote: Use parameters instead of thread-local storage to
15908 provide tracing metadata. (Part 3)
15909 + 37ee252f3744abc4511f55b5089cc52abd3ba09d:
15910 Remote: Use parameters instead of thread-local storage to
15911 provide tracing metadata. (Part 4)
15912 + 71e35b165f924e2649a078fcf6007645d58039af:
15913 Remote: Use parameters instead of thread-local storage to
15914 provide tracing metadata. (Part 5)
15915 + 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
15916 Write/QueryWriteStatus logging refinement/addition
15917 + 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
15918 Remote: gRPC load balancing. (Part 1)
15919 + e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
15920 Remote: gRPC load balancing. (Part 2)
15921 + 6667ad7dd77f8d97952133052c17e7779c1430ec:
15922 Remote: gRPC load balancing. (Part 3)
15923 + 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
15924 Remote: gRPC load balancing. (Part 4)
15925 + 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
15926 Implement getMessage for BulkTransferException
15927 + a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
15928 Remote: gRPC load balancing. (Part 5)
15929 + 7a62c2d4e27e398f440910c81eacc384f38ca8be:
15930 Remote: Add interoperability between Rx and ListenableFuture.
15931 + 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
15932 Update to latest remote-execution proto
15933 + dad96301d12aa77eb67399e08265a5f30f5ffd6a:
15934 Set Platform on Action not just Command
15935 + 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
15936 Remote: Add AsyncTaskCache which is used to deduplicate task
15937 executions and cache the results.
15938 + 9d0c7325ac810febe565a62fdd875ae0c240b274:
15939 Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
15940 + f54fe07209acc25340df8d2e02993b1add2deafa:
15941 Add --experimental_repository_disable_download to allow users
15942 disable download for external repos
15943 + b243584a479eb4481a9bf4f69acc899610a3b630:
15944 Report errors parsing rewriter config file
15945 + 63bc1c7d0853dc187e4b96a490d733fb29f79664:
15946 Downloader rewriter config has all_blocked_message
15947 + 495ac923f398443be45c20ab29d183fe47e08911:
15948 Allow UrlRewriter to change protocol, i.e. https->http, and
15949 http->https
15950 + 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
15951 Allow overriding the hostname and instance name in bytestream://
15952 URIs
15953 + 0881c80d29acecdfbb58c49156f805e8c50db117:
15954 Don't set requestId on non-multiplex requests.
15955 + e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
15956 When generating a symlink in _virtual_includes, add the original
15957 header to the 'allowed to use' set too
15958 + f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
15959 Make SimpleLogHandler not swallow interrupts.
15960 + f8606e5e76579442a1c6563e718ea54c673f1a04:
15961 linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
15962 + dac0d40d0eb903f5cb70341398d1a333c19adf3a:
15963 Improve "Common Attributes" section
15964 + a607d9dc70ac67f1aa2c32ca954177f9c77860be:
15965 Never create more than one process per WorkerMultiplexer.
15966 + 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
15967 Move sending requests and reading responses for multiplex
15968 workers into separate subthreads.
15969 + 003cfcde3fd3901c1279ba1db3db3a14536248b4:
15970 Allow use of JSON protocol in multiplex workers.
15971 + 308bce36cba46095fe41866e703710035ddddada:
15972 Actively kill off still-active workers when stopping work on
15973 interrupt.
15974 + 8959dff512fe4505af786bcf2ef981ec7082a913:
15975 Add sanitizer support to Apple platforms
15976 + 32f16e9360f3e1856db1775eb5014b930da2a303:
15977 Fix a Google-internal broken link.
15978 + c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
15979 Add SHA-1 to subresource integrity format for download()
15980 checksums
15981 + 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
15982 Remove fallback strategy support for workers, add flag for it in
15983 sandbox.
15984 + 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
15985 Update to java_tools javac11 10.6 (#13245)
15986 + 4928295b236ec8f590a7e9d863502bc2f50a77d9:
15987 Allow .S files in C++ Starlark cc_common.compile.
15988 + 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
15989 Automatic code cleanup.
15990 + b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
15991 Change short output of worker type to have the same logic as the
15992 worker creation for sandboxing vs. multiplex.
15993 + e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
15994 More properly destroy workers on interrupt.
15995 + 7056711eb11b672133274eb29fc93b01dcf088d5:
15996 Make WorkRequestHandler do a GC after some amount of CPU time
15997 has been used on requests. For Bazel and Blaze, defaults to 10s
15998 based on benchmarking.
15999 + 596653d3cf76e7b208da343e1fde5fe20273a5ff:
16000 Allow tree artifacts to be source or header inputs to
16001 cc_common.compile()
16002 + 055c93d11ab20cc4479539b24bbdfa5cab78a342:
16003 Switch to path autocompletion after -- for bazel run commands.
16004 + 807f2a1929e23b60b237c63fadb25af81de2e3c3:
16005 Fix Incompatible Target Skipping for test args
16006 + 9a5cd854e0613f91d52075973e2454b1e009e1ef:
16007 Fix order of build request id and command id
16008 + 706f5acd02363e48076dc97e37613fd968932d03:
16009 Fix bazel crash when passing config_setting to
16010 target_compatible_with
16011 + 61da1d2bf10eabba4c75de959b0374f302d89d70:
16012 Support multiple --bazelrc on command line
16013 + 5593358a58b66f06c4e421bb48856de94c3fd625:
16014 Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
16015 to
16016 + 662cf54de7a103db30e04ebae2d2b919437c4846:
16017 Remote: Fix an issue that a failed action could lead to
16018 RuntimeException caused by InterruptedException thrown when
16019 acquiring gRPC connections.
16020 https://github.com/bazelbuild/bazel/issues/13239
16021 + a3a1763212f29932618b9b9b2f929976ae0e3b6e:
16022 Pass more `--add-exports=` flags
16023 + d2b942879471786e82f1c96eea8722bbe7919fc1:
16024 Remote: Fixed a bug that remote cache is missed due to
16025 executable bit is changed
16026 + 616dc264f02907d7b7887285d22307dfe6d097b6:
16027 Fix Bazel Coverage with C++ to work with Remote Execution
16028 + 5f40d12e741aa30d506eaa15673fb2ae76d29468:
16029 Fix external_path_test with newer Xcode versions.
16030 + b416193075642017e13c774422b49cb07fb65c23:
16031 Allow using embedded tools in sandboxed spawn runners.
16032 + eb762d4e7431637e607146b1c191485795047ef9:
16033 Fix racy write of temporary files while staging virtual inputs
16034 for the sandbox.
16035 + f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
16036 Update platforms_test to not rely on filegroup not using
16037 toolchain
16038 + 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
16039 Update SkyframeTests to not rely on filegroup not using toolchain
16040 + 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
16041 Update ConfigurableAttributesTest to not rely on filegroup not
16042 using …
16043 + 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
16044 Make WorkerExecRoot not be a subclass of SandboxedSpawn.
16045 + 31db460a45767de0bcd664a6efbe9d163b85b802:
16046 Make WorkerExecRoot not be re-created on each createFileSystem()
16047 call. Preparation for holding a map of existing links, but also
16048 just nicer.
16049 + a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
16050 Start the file existence check traversal from the execroot base
16051 instead of execroot so that external repo files at
16052 "<execroot>/../<path>" are correctly handled when the sibling
16053 repository layout is enabled.
16054 + b048282c7893231d3a7191b251804973917b07a4:
16055 Use readdir for cleanExisting in WorkerExecRoot.
16056 + 270f00dd01fa06cf3e813da5a406be3446de7377:
16057 Add native support for Apple Silicon
16058 + 8e56b9423e8ad2f7323fb90b19b73858def81e39:
16059 Explicitly state that embedding macOS OpenJDK is for x86_64
16060 + 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
16061 Remote: Fix a race that AsyncTaskCache#Execution could be reused
16062 after disposed which results in
16063 CancellationException("disposed") propagated to downstream.
16064 + 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
16065 Remove wrapped_clang params files after use
16066 + 47edc57806056f3c8764241ed41b8acc72bd2ebf:
16067 Silence swiftmodule timestamp warnings
16068 + f6e1074b09ebefba185c0531e9cea26b9596c8a9:
16069 Remote: Use shutdownNow() instead of shutdown() in
16070 ChannelConnection#close() as a workaround to a gRPC bug.
16071 + 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
16072 And mnemonic and label to remote metadata
16073 + 6d28486e8eca70f76d13922944cb567b8aa09380:
16074 Change `set -x` in coverage to be set by var
16075 + 9b9de653355864e9700889ee36a3a49a450a2607:
16076 Bump minimal JDK install base maximum size from 290 to 295 MB.
16077 + 9e7e592ca51eba1a3f120320c41c845312894d74:
16078 Remote: Check the return value of ActionOwner.getLabel() since
16079 it could be `null`.
16080 + 14abe4fd7c3967686a3536939fdc3882e691bca2:
16081 Allow `DiffAwareness` to share precomputed information about the
16082 workspace and propagate it to the `WorkspaceStatusAction`.
16083 + 082d98772690946ed29c157e60640c97a6e1195b:
16084 Implement available() method for Windows subprocesses.
16085 + c2bdd034014f66ce14529cc353cda18a32320f6c:
16086 Move --repo_env to common options
16087 + e09f2743738044095b9d784ea62df16b7f5750e6:
16088 Revert "Documentation for #13110"
16089 + a165baa250652fdc865ae0df39160be1f7f74c47:
16090 Revert "Clean up RuleContext to use a Table instead of a Map of
16091 Maps."
16092 + 51fb9e13a864f4f704ae378ea632433bae7ddc31:
16093 Revert "Support execution constraints per exec group"
16094 + cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
16095 Revert "Allow exec groups to inherit from the rule or other exec
16096 groups."
16097```
16098
16099Important changes:
16100
16101 - Multiplex persistent workers can now use the JSON protocol.
16102
16103This 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.
16104
Bazel Release System506f3192021-01-21 08:25:01 +010016105## Release 4.0.0 (2021-01-21)
16106
16107```
16108Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
16109
16110Cherry picks:
16111
16112 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
16113 Use getRunfilesPath for run_under executable path generation.
16114 getRootRelativePath doesn't return a valid runfiles path for
16115 external source files anymore after the recent external source
16116 root change. Also, it won't work for external labels either once
16117 the --nolegacy_external_runfiles becomes default. This fixes
16118 issue #12545.
16119 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
16120 Fix NPE when coveragerunner is not set on the toolchain.
16121 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
16122 Fix the classic query package-loading cutoff optimization with
16123 external workspaces.
16124 + d113d7454127bba78aa618dac81e5d164920b662:
16125 Update turbine
16126 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
16127 Support Scala3 .tasty files
16128 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
16129 Update to java_tools javac11 release 10.5 (#12647)
16130 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
16131 Fix common prefix for instrumentation filter
16132 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
16133 Fix builds for filegroup targets with incompatible dependencies
16134 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
16135 Revert "Remove
16136 --incompatible_blacklisted_protos_requires_proto_info"
16137 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
16138 Transform roots along with paths during output deletion.
16139 + e8835c1c221d76a2d5532d18083eaa04401619b3:
16140 AttributeContainer.Large now handles more than 127 attributes.
16141 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
16142 Add an env attribute to all test and binary rule classes
16143 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
16144 Take no action to prefetch empty artifacts.
16145 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
16146 Fix a couple of bugs with Incompatible Target Skipping
16147 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
16148 Pass --host_action_env to host options hostActionEnvironment
16149 attribute
16150 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
16151 Add --{no,}autodetect_server_javabase.
16152 + c83366064621d5a265eba14d93a03deff58fe6d8:
16153 Only treat "env" and "env_inherit" attrs specially for native
16154 rules
16155 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
16156 Fix coverage support when using default_java_toolchain. (#12801)
16157 + 4158a6f512e52516437e00f8d9609a91be7fc195:
16158 Revert JacocoCoverage target to remote_java_tools_java_import
16159 and add a new target for remore_java_tools_filegroup. (#12813)
16160 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
16161 Add windows_msvc back to conditions in bazel_tools.
16162```
16163
16164New features:
16165
16166 - Starlark-defined flags can now be shorthanded using --flag_alias.
16167
16168Important changes:
16169
16170 - Add --starlark:file option. This adds a capability to the
16171 (cquery)[https://docs.bazel.build/versions/master/cquery.html]
16172 feature in `--output=starlark` mode so that the expression to
16173 format output may
16174 be specified in a file.
16175 - Error messages emitted when an action fails are reworked to be
16176 more informative about the failing action. Some tooling may have
16177 to be updated as a result.
16178 - Querying with output=location now allows the relative_locations
16179 flag to properly display relative locations instead of the full
16180 path. Fixes https://github.com/bazelbuild/bazel/issues/3497.
16181 - --flag_alias can now be used without
16182 --experimental_enable_flag_alias
16183 - Remove no-op `--deep_execroot` flag
16184 - The BEP uses `AbortReason.OUT_OF_MEMORY` for abort events when
16185 the build tool is crashing due to OOM.
16186 - Added flag `incompatible_display_source_file_location` for `blaze
16187 query location=output` to print the location of line 1 of the
16188 actual source files instead of the source file targets. Provides
16189 a solution to https://github.com/bazelbuild/bazel/issues/8900.
16190 - The Starlark json module is now available.
16191 Use json.encode(x) to encode a Starlark value as JSON.
16192 struct.to_json(x) is deprecated and will be disabled by
16193 the --incompatible_struct_has_no_methods flag.
16194 - The flag `--incompatible_objc_compile_info_migration` is enabled
16195 by default. See #10854.
16196 - The flag `--incompatible_objc_provider_remove_compile_info` is
16197 enabled by default. See #11359.
16198 - Add `relative_ast_path` feature for darwin builds to relativize
16199 swiftmodule paths for debugging
16200 - Use proto.encode_text(x) to encode a Starlark value as textproto.
16201 struct.to_proto() is deprecated and will be disabled by
16202 the --incompatible_struct_has_no_methods flag.
16203 Both functions now reject list/dict fields that contain list/dict
16204 elements.
16205 - Add --starlark:file option. This adds a capability to the
16206 (cquery)[https://docs.bazel.build/versions/master/cquery.html]
16207 feature in `--output=starlark` mode so that the expression to
16208 format output may be specified in a file.
16209 See [Configured Query Starlark
16210 Output](//docs.google.com/document/d/1kL6Tdmp6uLBa9lq_DbUSjIC87glO
16211 zKIyPoBeF95Rs4c/edit)
16212 - Flipped --incompatble_proto_output_v2 for aquery.
16213 - The --incompatible_load_java_rules_from_bzl flag is now a no-op.
16214 - The --incompatible_load_proto_rules_from_bzl flag is now a no-op.
16215 - Flipped --incompatible_force_strict_header_check_from_starlark
16216 - --incompatible_string_replace_count is flipped and removed
16217 (#11244)
16218 - Bazel skips incompatible targets based on target platform
16219 and `target_compatible_with` contents. See
16220 https://docs.bazel.build/versions/master/platforms.html for more
16221 details.
16222 - Bazel returns exit code 36 (rather than 1) if it fails to start a
16223 subprocess in a local sandbox due to environmental issues, for
16224 example, if the argument list is too long.
16225 - //tools/build_defs/pkg:pkg_rpm is no longer built in to Bazel.
16226 See https://github.com/bazelbuild/bazel/issues/11218 for
16227 instructions
16228 on how to migrate to the replacement.
16229 - Javac now supports multiplex workers.
16230 - The `--default_ios_provisioning_profile` flag has been removed
16231 (it was a no-op).
16232 - Add support for using AndroidX dependencies in
16233 data-binding-enabled targets.
16234 - Fix data-binding generation for android_local_test.
16235 - Enable debug_prefix_map_pwd_is_dot feature by default on macOS,
16236 this passes `-fdebug-prefix-map=$PWD=.` for every compile to
16237 remove absolute paths from debug info.
16238 - --incompatible_run_shell_command_string is enabled by default
16239 (#5903)
16240 - py_binary now tolerates package paths that contain hyphens ('-').
16241 Note that such paths might not be importable from within Python
16242 code.
16243 - C++ Starlark API requires linker_inputs wrapping library_to_link.
16244 #10860
16245 - Toolchain rule is extended with target_settings attribute.
16246 - --incompatible_restrict_string_escapes=true is now the default.
16247 Unnecessary backslashes such as "\." in string literals are now
16248 an error, instead of being silently treated as "\\.".
16249 To fix the error while preserving behavior, double the backlash.
16250 However, the error is often a sign that the original code was
16251 wrong.
16252 - Propagate instrumented files for transitive sources of
16253 `android_library` and `android_binary`
16254 - --local_resources and --incompatible_remove_local_resources have
16255 been removed. If you've been setting --local resources or
16256 --incompatible_remove_local_resources=false, you must migrate to
16257 using --local_ram_resources and --local_cpu_resources instead.
16258 - Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
16259 - --incompatible_avoid_conflict_dlls=true is now the default.
16260 - Dynamic execution now uses the new scheduler by default.
16261 - Dynamic execution now uses the new scheduler by default.
16262 - The new dynamic scheduler is now the default.
16263
16264This 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.
16265
Bazel Release System58c80412020-12-17 11:04:01 -050016266## Release 3.7.2 (2020-12-17)
16267
16268```
16269Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
16270
16271Cherry picks:
16272
16273 + 0d14ec84a06c4da628a7f6d9d1c5f9314392ab15:
16274 Release 3.7.0 (2020-10-20)
16275 + d563446a77b906807cea86f5c2abafa5900d901a:
16276 Add `-XDcompilePolicy=simple` to default javacopts
16277 + 6336264e4b0d8cc422ec73e1b923bf8014ace778:
16278 Update rules_cc reference to head of rules_cc as of 2020-11-11.
16279 + b3f934680554515aa312b5dd4453df5cd38f0aea:
16280 Bump rules_cc to support llvm 11.0.0 clang-cl compiler on Windows
16281 + e055b433efdccb28b9c21082e72d8e79d9b34e0f:
16282 Remove accidentally re-added
16283 tools/jdk/java_toolchain_default.bzl.
16284 + 02838a1b2aa2f6d03980536ab2ac6840c3c98e84:
16285 Avoid the spawn cache if executing dynamically.
16286 + d0efd7b9e5109ff5ac6d13c91f58c3fc4dc3afd8:
16287 Release 3.7.1 (2020-11-24)
16288 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
16289 Use getRunfilesPath for run_under executable path generation.
16290 getRootRelativePath doesn't return a valid runfiles path for
16291 external source files anymore after the recent external source
16292 root change. Also, it won't work for external labels either once
16293 the --nolegacy_external_runfiles becomes default. This fixes
16294 issue #12545.
16295```
16296
16297Important changes:
16298
16299 - Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
16300
16301This release contains contributions from many people at Google, as well as William A Rowe Jr.
16302
Bazel Release Systemd0efd7b2020-11-24 12:34:38 -050016303## Release 3.7.1 (2020-11-24)
16304
16305```
16306Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
16307
16308Cherry picks:
16309
16310 + 0d14ec84a06c4da628a7f6d9d1c5f9314392ab15:
16311 Release 3.7.0 (2020-10-20)
16312 + d563446a77b906807cea86f5c2abafa5900d901a:
16313 Add `-XDcompilePolicy=simple` to default javacopts
16314 + 6336264e4b0d8cc422ec73e1b923bf8014ace778:
16315 Update rules_cc reference to head of rules_cc as of 2020-11-11.
16316 + b3f934680554515aa312b5dd4453df5cd38f0aea:
16317 Bump rules_cc to support llvm 11.0.0 clang-cl compiler on Windows
16318 + e055b433efdccb28b9c21082e72d8e79d9b34e0f:
16319 Remove accidentally re-added
16320 tools/jdk/java_toolchain_default.bzl.
16321 + 02838a1b2aa2f6d03980536ab2ac6840c3c98e84:
16322 Avoid the spawn cache if executing dynamically.
16323```
16324
16325Important changes:
16326
16327 - Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
16328
16329This release contains contributions from many people at Google, as well as William A Rowe Jr.
16330
Bazel Release System8cffdf12020-10-20 09:22:27 -040016331## Release 3.7.0 (2020-10-20)
16332
16333```
16334Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
16335```
16336
16337Incompatible changes:
16338
16339 - The syntax //foo/BUILD can no longer be used on the command line
16340 to refer to the //foo:BUILD target. Use //foo:BUILD (preferred)
16341 or foo/BUILD instead. This does not affect BUILD/bzl files, where
16342 that syntax already didn't work.
16343 - This removes `--objc_header_scanner_tool`. The flag was primarily
16344 used internally, and to our knowledge, a compatible tool was
16345 never released. Therefore this flag is believed to be unused.
16346
16347New features:
16348
16349 - select() directly supports constraint_value (no need for an
16350 intermediate config_setting).
16351
16352Important changes:
16353
16354 - Non-android targets can again be built when
16355 android_sdk_repository is present but invalid.
16356 - Add a build variable for -install_name / -soname.
16357 - Add a build variable for -install_name / -soname.
16358 - Include "resources" attr in dependency attributes for java_*
16359 coverage configuration.
16360 - --trim_test_configuration should work for almost all cases when a
16361 non-test target depends on a test.
16362 - Javac now supports multiplex workers.
16363 - Javac now supports multiplex workers.
16364 - Blaze now allows symbolic links that point to their own ancestor
16365 unless they are traversed recursively by e.g. a //... recursive
16366 target pattern or a recursive glob.
16367 - Blaze now allows symbolic links that point to their own ancestor
16368 unless they are traversed recursively by e.g. a //... recursive
16369 target pattern or a recursive glob.
16370 - Blaze now allows symbolic links that point to their own ancestor
16371 unless they are traversed recursively by e.g. a //... recursive
16372 target pattern or a recursive glob.
16373 - Generated Go protobufs no longer depend on //net/proto2/go:proto
16374
16375This 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.
16376
Bazel Release System76152be2020-10-06 15:07:12 +020016377## Release 3.6.0 (2020-10-06)
Bazel Release System72817e32020-10-01 00:30:50 -040016378
16379```
Bazel Release System76152be2020-10-06 15:07:12 +020016380Baseline: aa0d97c0bfc4c09ec6f45303aa80052ba28afbd9
Bazel Release System72817e32020-10-01 00:30:50 -040016381
16382Cherry picks:
16383
Bazel Release System76152be2020-10-06 15:07:12 +020016384 + 32c88da98f301333dc447b75564459165368d418:
16385 Patch RuleContext for android_binary.deps to restore legacy
16386 behavior.
16387 + db9fc88fed387f09067a9250a731f8bf9ad74b05:
16388 android_test also needs the legacy behavior in
16389 RuleContext.getPrerequisites.
16390 + 144d5149a0c50e464dd1be0769fed2ce33ab26a4:
16391 Update android_sdk_repository to create a valid, but useless,
16392 repository
16393 + bb11f9235da52eb3b3e462ce0286f1a89188cb89:
Bazel Release System72817e32020-10-01 00:30:50 -040016394 Patch upb to fix build error with gcc 10
Bazel Release System76152be2020-10-06 15:07:12 +020016395 + 9f06be482aea3fcadeaf8fca6e48b32f224eba2e:
Bazel Release System72817e32020-10-01 00:30:50 -040016396 Patch upb to fix build error with gcc 10 (third_party)
Bazel Release System76152be2020-10-06 15:07:12 +020016397 + b67b75e3a62f5433d812993f3702f431b6967e86:
16398 Fix issue where libtool_check_unique isn't found for sandbox
16399 builds
Bazel Release System72817e32020-10-01 00:30:50 -040016400```
16401
Bazel Release System76152be2020-10-06 15:07:12 +020016402Incompatible changes:
16403
16404 - `--experimental_ui_limit_console_output` is removed. Users of
16405 `--experimental_ui_limit_console_output=1` for silencing terminal
16406 output should use `--ui_event_filters=` instead.
16407 - --proto:instantiation_stack must be enabled in addition to
16408 --record_rule_instantiation_callstack to see call stack in proto
16409 output from blaze query.
16410
Bazel Release System72817e32020-10-01 00:30:50 -040016411New features:
16412
16413 - cc_common.compile support for include_prefix/strip_include_prefix
Bazel Release System76152be2020-10-06 15:07:12 +020016414 - Multiplexed persistent workers: Use
16415 --experimental_worker_max_multiplex_instances to configure the
16416 number of WorkRequests that are sent concurrently to one worker
16417 process. The --worker_max_instances flag will no longer be used
16418 to determine max instances for multiplex workers, since the two
16419 have different resource requirements. Multiplex workers will by
16420 default have a max instances of 8.
Bazel Release System72817e32020-10-01 00:30:50 -040016421
16422Important changes:
16423
Bazel Release System76152be2020-10-06 15:07:12 +020016424 - The prelude file (//tools/build_rules:prelude_bazel) is now
16425 processed as a Starlark module, rather than being sourced into
16426 the BUILD file textually. This may cause slight breakages
16427 depending on the content of the prelude file. (Use of the prelude
16428 file is discouraged as it will be removed in the long term.)
16429 - Removed --experimental_ignore_deprecated_instrumentation_spec and
16430 cleaned up the old deprecated behavior.
16431 - Added CODEBASE.md, a description of the Bazel codebase.
Bazel Release System72817e32020-10-01 00:30:50 -040016432 - Removed the flag --experimental_transparent_compression.
16433 - Removed the flag --experimental_action_args.
16434 - Stop needlessly parsing WORKSPACE files from external
16435 repositories.
16436 - Dot ('.') is now allowed in workspace names. See
16437 https://github.com/bazelbuild/bazel/issues/11837.
Bazel Release System76152be2020-10-06 15:07:12 +020016438 - This change can cause memory and performance regressions for some
16439 builds with C++ dependencies, due to extra actions being executed.
16440 RELNOTES: None
16441 - Building Android apps for legacy multi-dex (pre-L) now require a
16442 main-dex list if the application does not fit into a single DEX
16443 file.
16444 - Puts the experimental_worker_multiplex flag to use.
16445 - In Starlark, the Args object supports a new parameter file format
16446 'flag_per_line', compatible with the Abseil flags library.
16447 - The flag --incompatible_no_support_tools_in_action_inputs is
16448 removed.
16449 - Support for NDK 21 added
16450 - Bazel will now skip printing action stdout/stderr contents if
16451 they exceed --experimental_ui_max_stdouterr_memory_bytes.
16452 - The Starlark interpreter now correctly emits an error
16453 if the operand of the first loop in a list comprehension
16454 refers to a variable bound by a later loop, such as y in
16455 this example:
16456 [e1 for x in f(y) in e2 for y in e3] # error: undefined y
16457 ^
16458 This may cause latent dynamic errors to become static errors.
16459 - Added support for a 'supports-graceful-termination' execution
16460 requirement and tag, which causes Bazel to send a SIGTERM to any
16461 tagged
16462 actions before sending a delayed SIGKILL. This is to give
16463 actions, and more
16464 specifically tests, a chance to clean up after themselves.
16465 - Non-android targets can again be built when
16466 android_sdk_repository is present but invalid.
Bazel Release System72817e32020-10-01 00:30:50 -040016467
Bazel Release System76152be2020-10-06 15:07:12 +020016468This 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 -040016469
Bazel Release System2b051be2020-09-02 15:41:41 -040016470## Release 3.5.0 (2020-09-02)
16471
16472```
16473Baseline: 889bc0b523b47eeb38a72bf9bb6858ee525a7c7e
16474
16475Cherry picks:
16476
Bazel Release System57f0b7c2020-09-02 16:07:55 -040016477 + a7a0d48fbeb059ee60e77580e5d05baeefdd5699:
16478 Make no-op starlark transition not affect the output directory.
16479 + b37c51c7085f0aefe04034dd451acb847605ddb5:
16480 Add include_prefix and strip_include_prefix to cc_common.compile
16481 + f6ad35fcde93f92c591778ed7db38d167f5bbc03:
16482 Delete --experimental_transparent_compression
16483 + 39bc97eab295bddb35b38bfc4a2ff3d2b15d034e:
16484 Remove --experimental_action_args
16485 + b9706675a7abf6ceebb250f0b3dfa4087a0c35f6:
16486 Stop needlessly parsing WORKSPACE files from external
16487 repositories.
16488 + e574d558da17cfd0f818e7a937a07926aa270069:
16489 Allow hyphen char in workspace name
16490 + 9993785fa0c4fa4172aa31d306f3abea76833abf:
16491 Allow dot ('.') in workspace names.
16492```
16493
16494New features:
16495
16496 - cc_common.compile support for include_prefix/strip_include_prefix
16497
16498Important changes:
16499
16500 - Removed the flag --experimental_transparent_compression.
16501 - Removed the flag --experimental_action_args.
16502 - Stop needlessly parsing WORKSPACE files from external
16503 repositories.
16504 - Dot ('.') is now allowed in workspace names. See
16505 https://github.com/bazelbuild/bazel/issues/11837.
16506
16507This release contains contributions from many people at Google, as well as David Ostrovsky.
16508
16509## Release 3.5.0 (2020-09-02)
16510
16511```
16512Baseline: 889bc0b523b47eeb38a72bf9bb6858ee525a7c7e
16513
16514Cherry picks:
16515
Bazel Release System2b051be2020-09-02 15:41:41 -040016516 + d6b9469efebd200a39d7fd43876a18822fcdbe7b:
16517 Make no-op starlark transition not affect the output directory.
16518 + b37c51c7085f0aefe04034dd451acb847605ddb5:
16519 Add include_prefix and strip_include_prefix to cc_common.compile
16520 + 0ebb1d5a5388109e3f026a355c77fdf0121f3a43:
16521 Delete --experimental_transparent_compression
16522 + 312e121c70aebfaa91b0a3106fa964e0bc12d1df:
16523 Remove --experimental_action_args
16524 + 7e6e855bb82734f582e03c2c7fad3148c139d0e0:
16525 Stop needlessly parsing WORKSPACE files from external
16526 repositories.
16527 + d4049f6f85efb8f48d1f6b72764115af5b184831:
16528 Allow hyphen char in workspace name
16529 + 0a35be1843a2e4d49d5e5c3893cd6673705b7fb1:
16530 Allow dot ('.') in workspace names.
16531```
16532
16533Incompatible changes:
16534
16535 - The --experimental_process_wrapper_wait_fix flag (used
16536 purely to roll out a risky bug fix) has been removed.
16537 - Removed the --experimental_ui_deduplicate flag.
16538 - Bazel now correctly prefers Xcode versions in `/Applications`
16539 over any other paths, which resolves an issue with accidentally
16540 picking up an Xcode version from a Time Machine backup or network
16541 disk. In the improbable case that you relied on the old behavior
16542 and Bazel now picks up Xcode from the wrong location, you can fix
16543 it by moving that Xcode version to /Applications.
16544
16545New features:
16546
16547 - cquery now follows aspects with --include_aspects.
16548 - cc_common.compile support for include_prefix/strip_include_prefix
16549
16550Important changes:
16551
16552 - Add support to bazel/crosstool for building arm64 on macos aka
16553 darwin
16554 - Add opt in 'oso_prefix_is_pwd' feature for Apple builds
16555 - Add InstrumentedFilesInfo provider to Starlark globals.
16556 - Fixed resource shrinking when <overlayable/> tags are used.
16557 - Remove old incompatible flag
16558 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
16559 s_tree.
16560 - Update coverage configuration for Python, filegroup, and shell
16561 script rules to distinguish between source and dependency
16562 attributes.
16563 - Add support to bazel/crosstool for building arm64e on macos aka
16564 darwin
16565 - Make filegroup always forward InstrumentedFilesProvider and not
16566 collect any sources directly.
16567 - Support signing key rotation in android_binary
16568 - Remove legacy handling of --extra_checks
16569 - Support signing key rotation in android_binary
16570 GO...
16571 - `--apple_bitcode` now takes an optional platform and only applies
16572 the Bitcode mode to that platform if present. The option may be
16573 provided multiple times.
16574 - Support signing key rotation in android_binary
16575 - NS_BLOCK_ASSERTIONS is now passed for all Apple architectures.
16576 - Major changes to reporting of Starlark errors and the call stack.
16577 (Please be alert to possible regressions, such as errors that
16578 lack relevant location information.)
16579 - Removed the flag --experimental_transparent_compression.
16580 - Removed the flag --experimental_action_args.
16581 - Stop needlessly parsing WORKSPACE files from external
16582 repositories.
16583 - Dot ('.') is now allowed in workspace names. See
16584 https://github.com/bazelbuild/bazel/issues/11837.
16585
16586This 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.
16587
Bazel Release Systemd917bf22020-07-14 08:24:10 +020016588## Release 3.4.1 (2020-07-14)
16589
16590```
16591Baseline: 7404d17ac76da876ae0b432d1fccf222a9e991fe
16592
16593Cherry picks:
16594
16595 + f31f2d787116120b2b16e9aa9a64fab171c0d954:
16596 fixup! Gracefully handle the lack of subreaper support in Linux.
16597 + 3a4f221e3c57495c1ed0d1ec8128f92323b13079:
16598 Revert "Replace the remaining dependencies for Bazel Debian
16599 build (third_party)"
16600 + c55ec0f2cb3f5b44e5025bf9d3c5dc91d94db287:
16601 Revert "Upgrade gRPC to 1.26.0"
16602```
16603
16604This release contains contributions from many people at Google, as well as Ryan Beasley.
16605
Bazel Release System93262a52020-07-13 17:23:50 +020016606## Release 3.4.0 (2020-07-13)
16607
16608```
16609Baseline: 7404d17ac76da876ae0b432d1fccf222a9e991fe
16610
16611Cherry picks:
16612
16613 + a4334be50a206bf8d676a0196af11056c48ac35b:
16614 fixup! Gracefully handle the lack of subreaper support in Linux.
16615```
16616
16617Incompatible changes:
16618
16619 - This removes the short-lived --process_wrapper_extra_flags
16620 flag, which was introduced primarily to roll out a bug fix.
16621 Unfortunately,
16622 this made us inadvertently expose all of the process-wrapper's
16623 command line
16624 interface to the public, which should not have happened. Given
16625 the corner
16626 case of the utility of this flag, the lack of documentation for
16627 it, and the
16628 fact that it only appeared in a single release, we are treating
16629 this as a
16630 bug instead of a backwards compatibility breakage.
16631
16632New features:
16633
16634 - bazel info: Allow to specify multiple keys.
16635 - Support code coverage with GCC 9.
16636
16637Important changes:
16638
16639 - Allow InstrumentedFilesInfo fields to be read from Starlark.
16640 - The --starlark_cpu_profile=<file> flag writes a profile in
16641 pprof format containing a statistical summary of CPU usage
16642 by all Starlark execution during the bazel command. Use it
16643 to identify slow Starlark functions in loading and analysis.
16644 - The --debug_depset_flag has been removed as it is in effect
16645 always on at no cost.
16646 - Rule authors should use the
16647 incompatible_use_toolchain_transition rule attribute to migrate
16648 to using
16649 the toolchain transition. jcater to udpate notes further.
16650 - `apple_binary` rules now accept the `stamp` attribute with the
16651 same
16652 semantics that it has in `cc_binary` rules.
16653 - --incompatible_objc_provider_remove_compile_info turns off
16654 the compile info/mege_zip Starlark APIs in ObjcProvider. See
16655 #11359.
16656 - The --debug_depset_flag has been removed as it is in effect
16657 always on at no cost.
16658 - Fix behavior of ctx.actions.write so content is written without
16659 an incorrect encoding to UTF-8.
16660 See https://github.com/bazelbuild/bazel/issues/10174 for details.
16661 - Collect more performance metrics for worker execution.
16662 - Add flag --incompatible_force_strict_header_check_from_starlark
16663 - Configure coverage and runfiles for sh_library.
16664 - Adds --incompatible_blacklisted_protos_requires_proto_info to
16665 indicate whether proto_lang_toolchain.blacklisted_protos requires
16666 ProtoInfo.
16667
16668This 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.
16669
Bazel Release System97a53342020-06-30 11:05:57 -040016670## Release 3.3.1 (2020-06-30)
16671
16672```
16673Baseline: c063b5caf776dee665497b64c5c17d4ed7e6750a
16674
16675Cherry picks:
16676
16677 + cb798a475eb54087e1e83f8aa1dc1c54550877b5:
16678 Restore missing Building with Platforms docs.
16679 + 9be97678b02bbd45d164c8458c8fd4f7791cb7aa:
16680 Release 3.3.0 (2020-06-17)
16681 + 3b0439e37247a480e08337a6314d06231bdbafd3:
16682 Fix incorrect assumption of desugar persistent worker conditional
16683```
16684
16685This release contains contributions from many people at Google, as well as .
16686
Bazel Release System9be97672020-06-17 08:51:54 -040016687## Release 3.3.0 (2020-06-17)
16688
16689```
16690Baseline: c063b5caf776dee665497b64c5c17d4ed7e6750a
16691
16692Cherry picks:
16693
16694 + 23bd69d7499de097b15e6025cc0796bdbc9886b8:
16695 Restore missing Building with Platforms docs.
16696```
16697
16698Incompatible changes:
16699
16700 - The startup option --fatal_event_bus_exceptions is now a no-op
16701 and will be removed soon.
16702
16703New features:
16704
16705 - Bazel offers basic completion for the fish shell.
16706
16707Important changes:
16708
16709 - Add configuration_field for --custom_malloc to cpp config fragment
16710 - Flip --incompatible_objc_compile_info_migration to true. See
16711 #10854.
16712 - It is now possible to use different action mnemonics while still
16713 sharing the same pool of persistent workers. It requires setting
16714 a new property
16715 on the execution requirements (`worker-key-mnemonic`). The value
16716 overrides
16717 the action's mnemonic when it comes to reusing worker processes.
16718 - linkshared=1 in cc_binary no longer requires '.so' or '.dll' in
16719 the target name
16720 - Revert --incompatible_objc_compile_info_migration to false. See
16721 #10854.
16722 - Invoke clang with the correct -target flag when building for
16723 watchOS.
16724 - NA
16725 - Add experiment flag to forward InstrumentedFilesInfo from
16726 non-tool deps by default.
16727
16728This 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.
16729
Bazel Release Systemb0ba5dc2020-05-27 19:50:27 +020016730## Release 3.2.0 (2020-05-27)
16731
16732```
16733Baseline: 1d93d26d9900328dcba0026bf21cb45cc37a4596
16734```
16735
16736Important changes:
16737
16738 - Renamed --experimental_slim_json_profile to --slim_profile.
16739 - Expose ctx.attr.write Args content for analysistest when possible
16740 - Added aquery_differ_v2 that works with the new aquery proto
16741 output format.
16742 - Add new flag, 'experimental_no_product_name_out_symlink', to omit
16743 creating '<product>-out' symlink if user specifies
16744 '--symlink_prefix' option.
16745 - --ram_utilization_factor is removed (as is
16746 --incompatible_remove_ram_utilization_factor). Please use
16747 --local_ram_resources.
16748 - Improve include scanner support for cl.exe and clang-cl command
16749 lines
16750 - ctx.split_attr now includes attributes with Starlark split
16751 transitions.
16752 - Added --incompatible_string_replace_count, to make
16753 string.replace() behave as in Python.
16754 - Bazel can now recursively delete non-executable but readable
16755 directories.
16756 - Restore case-sensitivity to -I and /I include scanning detection
16757 to avoid conflicts.
16758
16759This 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.
16760
Bazel Release System3a59ab62020-04-21 17:37:54 +020016761## Release 3.1.0 (2020-04-21)
16762
16763```
16764Baseline: 17ebbf15bea3733c0c21e0376fb5906e391edb49
16765
16766Cherry picks:
16767
16768 + 71fb56b4bb669a419f473598c8722e125dbb5c9e:
16769 Suppress last-ditch download exceptions w/cleanup
16770 + fd60614c38da0db22431d91a793423904dff801f:
16771 In repo rules, don't warn about generator_* attributes being
16772 non-canonical
16773 + 2a372792f5cc09bd0e8389d5fc4bbfdd2f5d6e37:
16774 Refactor configureFeatures and prevent NPE
16775 + 777a6ee6ed95cae4ddb949d52b63ee8a66024f03:
16776 Automated rollback of commit
16777 0bbe38176e15d891a4e4cab2d8425e292de6cc5f.
16778 + 2ee53c9267eb6de8eae109950ca8f3953bf1ae66:
16779 Guard parseActionResultMetadata with bulk wrapper
16780```
16781
16782Incompatible changes:
16783
16784 - The deprecated startup options
16785 --experimental_oom_more_eagerly(_threshold) are removed.
16786
16787Important changes:
16788
16789 - Remove flag
16790 --incompatible_load_proto_toolchain_for_javalite_from_com_google_p
16791 rotobuf which has been flipped in Bazel 3.0.
16792 - Allow assembly file sources in cc_common.compile.
16793 - Set default .netrc file on Windows to %USERPROFILE%
16794 - A maximum 150 attributes per RuleClass is enforced
16795 - Increase max targets per rule class limit to 200
16796 - ctx.split_attr now includes attributes with Starlark split
16797 transitions.
16798 - The --max_computation_steps flag bounds the computation done by a
16799 BUILD file.
16800 - Native patch can handle file permission properly
16801 - Aspects may now propagate through dependencies on rule outputs by
16802 being defined with `apply_to_generating_rules = True`.
16803 - 'query --output=build' now shows where rule classes (not just
16804 rules) are created.
16805 - The flag `incompatible_bzl_disallow_load_after_statement` is
16806 removed.
16807 - ctx.split_attr now includes attributes with Starlark split
16808 transitions.
16809 - The flag `incompatible_no_output_attr_default` is removed.
16810 - Fix wall-time of the SpawnResult in WorkerSpawnRunner
16811 - Add stamp parameter for cc_common.link to enable including build
16812 info
16813 - The flag `--incompatible_restrict_named_params` is removed.
16814 - The flag `--incompatible_depset_union` is removed.
16815 - Bazel uses fewer compiler flags by default when building
16816 Objective-C. In
16817 particular, Bazel no longer sets `-O0`, `-DDEBUG=1`,
16818 `-fstack-protector`, `-fstack-protector-all`, or `-g` in dbg
16819 mode, and
16820 Bazel no longer sets `-Os`, `-DNDEBUG=1`, `-Wno-unused-variable`,
16821 `-Winit-self`, or `-Wno-extra` in opt mode. If you want to apply
16822 these
16823 flags to your project, you can reenable them in your CROSSTOOL.
16824 - A maximum attribute name length is 128 is enforced
16825
16826This 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.
16827
Bazel Release System22018272020-04-06 08:49:47 -040016828## Release 3.0.0 (2020-04-06)
16829
16830```
16831Baseline: 3c7cc747ac653dca8b88a9e43726a794e2c27a9c
16832
16833Cherry picks:
16834
16835 + 19e214b44df9c82a8a3bd3381344f7145813c572:
16836 Use prefix encoding for paths.
16837 + 63b01f7b1cd6603a08bf2a8ae813388c201e3448:
16838 Avoid file operations in the sandbox creation critical path.
16839 + 80a2d7cc5f8a22816934dcd2ca9bdf87050f3d9f:
16840 Implementation (but not plumbing) of the gRPC remote downloader
16841 + 586eabf419972c74fdd5fef328cfe9a259e035ed:
16842 Implement RemoteDownloader w/ `--experimental_remote_downloader`
16843```
16844
16845Incompatible changes:
16846
16847 - Flip --incompatible_remove_enabled_toolchain_types, so that rules
16848 can no longer access enabled toolchain types from the platform
16849 fragment.
16850 - The --incompatible_use_jdk11_as_host_javabase flag has been
16851 removed (it was flipped in Bazel 0.25.0).
16852 - Using JDK 9 or 10 as a `--host_javabase` is no longer officially
16853 supported. As always, you can use the
16854 `@bazel_tools//tools/jdk:toolchain_vanilla` Java toolchain to use
16855 older or newer JDKs than what Bazel currently supports.
16856 - --fatal_event_bus_exceptions is deprecated and should not be
16857 used. Any crashes should be reported so that they can be fixed.
16858 - The old-style binary profile format is no longer suppported, use
16859 the new JSON trace profile instead.
16860
16861Important changes:
16862
16863 - Improve the performance of creating a sandboxed execution root
16864 for workers when the number of inputs is large (>1000).
16865 - Treat .cu and .cl files as C++ source. CUDA or OpenCL are not
16866 natively supported and will require custom flags to compile with
16867 e.g. clang.
16868 - Add actions' primary output details in JSON profile and
16869 analysis_v2.proto.
16870 - Add --cds_archive option for embedding CDS archive into deploy
16871 JAR.
16872 - Add new global attribute: applicable_licenses
16873 - Package level default with default_applicable_licenses
16874 - guarded by --incompatible_applicable_licenses (default true for
16875 Blaze, false for Bazel)
16876 - In support of
16877 https://docs.google.com/document/d/1uwBuhAoBNrw8tmFs-NxlssI6VRolid
16878 GYdYqagLqHWt8/edit#
16879 - Non-test Java rules no longer require the TestConfiguration and
16880 thus --trim_test_configuration is again usable for Java builds
16881 - The flag `--incompatible_always_check_depset_elements` is enabled
16882 by default.
16883 - --incompatible_objc_compile_info_migration determines
16884 whether native rules can assume compile info has been migrated to
16885 CcInfo. See https://github.com/bazelbuild/bazel/issues/10854.
16886 - --incompatible_remove_local_resources is true by default. Please
16887 use --local_ram_resources and --local_cpu_resources instead of
16888 --local_resources.
16889
16890This 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.
16891
Bazel Release System4b01eb52020-03-03 10:22:31 +010016892## Release 2.2.0 (2020-03-03)
Bazel Release Systeme53c0282020-02-21 15:49:31 +010016893
16894```
Bazel Release System4b01eb52020-03-03 10:22:31 +010016895Baseline: 78055efad0917b848078bf8d97b3adfddf91128d
Bazel Release Systeme53c0282020-02-21 15:49:31 +010016896```
16897
Bazel Release System4b01eb52020-03-03 10:22:31 +010016898Incompatible changes:
Bazel Release Systeme53c0282020-02-21 15:49:31 +010016899
Bazel Release System4b01eb52020-03-03 10:22:31 +010016900 - The --[no]incompatible_windows_bashless_run_command flag is no
16901 longer supported. It was flipped in Bazel 1.0
16902 - The --[no]incompatible_windows_native_test_wrapper flag is no
16903 longer supported. It was flipped in Bazel 1.0
16904
16905Important changes:
16906
16907 - Consistent target naming style in example target names.
16908 - cquery's config() now supports arbitrary configurations.
16909 - The flag --incompatible_disallow_dict_lookup_unhashable_keys is
16910 removed.
16911 - Include target label in Python version error message.
16912 - The flag --incompatible_remap_main_repo is removed.
16913 - Windows: we now discourage running Bazel from MSYS2 because of a
16914 newly found bug (#10573)
16915 - Reduced the packaging time (`package-bazel.sh`) for the
16916 `//src:bazel-dev` Bazel development build target from 14s to 6s.
16917 Use `//src:bazel-dev` if you're iterating rapidly on a local
16918 Bazel changes, and use `//src:bazel --compilation_mode=opt` for
16919 release builds.
16920 - cquery: "//foo:bar" now means "all configured targets with label
16921 //foo:bar" instead of "choose an arbitrary configured target with
16922 label //foo:bar". See cquery docs for details.
16923 - WORKSPACE and BUILD.bazel files of http_archive repositories can
16924 now be patched using the "patch_cmds" and "patches" attributes.
16925 - Actions with "parse" on the critical path should no longer finish
16926 in the future.
16927 - Flags that affect external repositories like
16928 "--override_repository" can now be addressed in bazelrc files
16929 using the "common" command, without causing commands like "bazel
16930 shutdown" to fail.
16931 - The flag --incompatible_disallow_unverified_http_downloads is
16932 removed.
16933 - Create the incompatibleApplicableLicenses flag.
16934 We plan to flip this from false to true in Bazel 4.x.
16935 Implementation to follow.
16936 - Treat .cu and .cl files as C++ source. CUDA or OpenCL are not
16937 natively supported and will require custom flags to compile with
16938 e.g. clang.
16939 - Treat .cu and .cl files as C++ source. CUDA or OpenCL are not
16940 natively supported and will require custom flags to compile with
16941 e.g. clang.
16942 - The --starlark_cpu_profile=<file> flag writes a profile in
16943 pprof format containing a statistical summary of CPU usage
16944 by all Starlark execution during the bazel command. Use it
16945 to identify slow Starlark functions in loading and analysis.
16946 - --ram_utilization_factor will be deprecated. Please use
16947 --local_ram_resources=HOST_RAM*<float>
16948 - Docs: glob() documentation is rewritten, and now it points out a
16949 pitfall of rules shadowing glob-matched files.
16950
16951This 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 +010016952
Bazel Release Systeme6ee35f2020-02-07 13:56:14 +010016953## Release 2.1.0 (2020-02-07)
16954
16955```
16956Baseline: 41ec5a28fb30a8d6c5c60194c4bb29528352cf78
16957
16958Cherry picks:
16959
16960 + 733ac0ff7ad1e13ab68ceb2fde694d7ab71b2366:
16961 Adds an alias for d8_jar_import in android.WORKSPACE.
16962 + c94b1474b368dedf9f68f34fad90cc8664f2b0e0:
16963 Automatic code cleanup.
16964 + 2a8cc7075f741721563efd9dc050ca3458cde30b:
16965 Do not fail or print errors when Shellzelisk cannot find a
16966 requested ?
16967 + bdf34d7fd9539411e93348ba25307f34362d9a42:
16968 Fix race when extracting the install base when Bazel runs in a
16969 PID namespace.
16970 + d381c25bb7dd205c283f7ad91cac13190d2dfede:
16971 Fix wrong mode of install base directory.
16972 + eab39cc7b5a612f891fd1e5af5b45bdc1b66e6e1:
16973 Disable broken test_max_open_file_descriptors.
16974```
16975
16976Incompatible changes:
16977
16978 - The following attributes of CcToolchainProvider, which formerly
16979 were
16980 accessible both as fields (x.f) and as methods (x.f()), are now
16981 only fields:
16982
16983New features:
16984
16985 - Similar to the
16986 [.bazelignore](https://docs.bazel.build/versions/master/guide.html
16987 #.bazelignore) in the main repository, a `.bazelignore` file in
16988 external repository will cause the specified directories to be
16989 ignored by Bazel. Bazel won't try to identify any packages under
16990 the directories, but the files can still be referenced in other
16991 BUILD files.
16992 - bazelignore files now support line comments, e.g. "# this is a
16993 comment"
16994
16995Important changes:
16996
16997 - Experimental support for d8 merger is now available for use using
16998 --define=android_dexmerger_tool=d8_dexmerger.
16999 - Critical path run time should not have a longer run time than
17000 total execution run time.
17001 - Remove "please do not import" warning for cc rules.
17002 - x.f() is now equivalent to y=x.f; y(). That is, x.f should return
17003 the same
17004 attribute value regardless of whether it is accessed as a field
17005 or called
17006 like a method. Any arguments to the call are evaluated after the
17007 x.f operation.
17008 - Add desugaring support for RoleManager#addRoleHolderAsUser
17009 - Adds ctx.target_platform_has_constraint to allow rules to check
17010 the target platform's constraints.
17011 - Critical path run time should not have a longer run time than
17012 total execution run time.
17013 - Post new ConvenienceSymlinksIdentifiedEvent to the
17014 BuildEventProtocol when
17015 --experimental_convenience_symlinks_bep_event is enabled.
17016 - Keyword-only arguments are now allowed:
17017 def foo(a, *, k): pass
17018 def foo(a, *b, k): pass
17019 where k can be specified only by keyword:
17020 foo(5, k=6)
17021 - Generated Go protobufs now depend on //net/proto2/go:protodeps in
17022 addition to //net/proto2/go:proto
17023 - cquery 'somepath' returns more reliable results when the
17024 dep has a different configuration than the parent. To get a
17025 result for
17026 `somepath(//foo, //bar`) where //bar isn't in the top-level
17027 configuration,
17028 run your query with `--universe_scope=//foo`. See cquery docs for
17029 details.
17030
17031This 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.
17032
Bazel Release System59e36002019-12-19 13:26:27 +010017033## Release 2.0.0 (2019-12-19)
17034
17035```
17036Baseline: 807ed23e4f53a5e008ec823e9c23e2c9baa36d0d
17037
17038Cherry picks:
17039
17040 + db0e32ca6296e56e5314993fe9939bc7331768ec:
17041 build.sh: Fix bug in build script for RC release
17042 + 85e84f7812f04bc0dbc36376f31b6dd2d229b905:
17043 Set --incompatible_prohibit_aapt1 default to true.
17044 + 84eae2ff550c433a3d0409cf2b5525059939439d:
17045 Let shellzelisk fallback to bazel-real if it's the requested
17046 version.
17047 + d5ae460f1581ddf27514b4be18255481b47b4075:
17048 Fix a typo in bazel.sh
17049```
17050
17051Incompatible changes:
17052
17053 - --incompatible_remap_main_repo is enabled by default. Therefore,
17054 both ways of addressing the main repository, by its name and by
17055 '@' are now considered referring to the same repository.
17056 see https://github.com/bazelbuild/bazel/issues/7130
17057 - --incompatible_disallow_dict_lookup_unhashable_keys is enabled by
17058 default https://github.com/bazelbuild/bazel/issues/9184
17059 - --incompatible_remove_native_maven_jar is now enabled by default
17060 and the flag removed. See https://github.com/bazelbuild/bazel/issues/6799
17061 - --incompatible_prohibit_aapt1 is enabled by default.
17062 See https://github.com/bazelbuild/bazel/issues/10000
17063
17064Important changes:
17065
17066 - --incompatible_proto_output_v2: proto v2 for aquery proto output
17067 formats, which reduces the output size compared to v1. Note that
17068 the messages' ids in v2 are in uint64 instead of string like in
17069 v1.
17070 - Adds --incompatible_remove_enabled_toolchain_types.
17071 - Package loading now consistently fails if package loading had a
17072 glob evaluation that encountered a symlink cycle or symlink
17073 infinite expansion. Previously, such package loading with such
17074 glob evaluations would fail only in some cases.
17075 - The --disk_cache flag can now also be used together
17076 with the gRPC remote cache.
17077 - An action's discover inputs runtime metrics is now categorized as
17078 parse time on the CriticalPathComponent.
17079 - Make the formatting example more like to the written text by
17080 adding an initial description.
17081 - An action's discover inputs runtime metrics is now categorized as
17082 parse time on the CriticalPathComponent.
17083 - Bazel's Debian package and the binary installer now include an
17084 improved wrapper that understands `<WORKSPACE>/.bazelversion`
17085 files and the `$USE_BAZEL_VERSION` environment variable. This is
17086 similar to what Bazelisk offers
17087 (https://github.com/bazelbuild/bazelisk#how-does-bazelisk-know-whi
17088 ch-bazel-version-to-run-and-where-to-get-it-from), except that it
17089 works offline and integrates with apt-get.
17090 - We are planning to deprecate the runfiles manifest files, which
17091 aren't safe in the presence of whitespace, and also unnecessarily
17092 require local CPU when remote execution is used. This release
17093 adds --experimental_skip_runfiles_manifests to disable the
17094 generation of the input manifests (rule.manifest files) in most
17095 cases. Note that this flag has no effect on Windows by default or
17096 if --experimental_enable_runfiles is explicitly set to false.
17097
17098This 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.
17099
Bazel Release System5be24a82019-11-26 16:19:50 +010017100## Release 1.2.1 (2019-11-26)
17101
17102```
17103Baseline: 11deef7582dfeec7a04ee3f7236393d9b8027367
17104
17105Cherry picks:
17106
17107 + c76c3e539c73ecf6e96e3e098be7be59e17bf276:
17108 Replace macOS CC path with relative path
17109 + 63332eb556fadfe9edd0806add79942482adddef:
17110 Hardcode path to dirname on macOS
17111 + ceadf0a063cb97c32aced143d2447781d1dafc38:
17112 Add tool executables (from FilesToRunProvider) to action inputs.
17113 + dbe63b00954a25fa4405f7cbf273df78c16498dd:
17114 Fix some of the bazel Windows tools code to work with GCC.
17115```
17116
17117This release fixes a single regression:
17118- #10297: Bazel 1.2.0 does no longer run on macOS High Sierra.
17119
17120It is the same code as Bazel 1.2.0, except that we rebuild the macOS release
17121binaries with Xcode 10.2.1 to make them backwards compatible with older macOS
17122versions again.
17123
Bazel Release Systemef69db82019-11-20 16:01:18 +010017124## Release 1.2.0 (2019-11-20)
17125
17126```
17127Baseline: 11deef7582dfeec7a04ee3f7236393d9b8027367
17128
17129Cherry picks:
17130
17131 + c76c3e539c73ecf6e96e3e098be7be59e17bf276:
17132 Replace macOS CC path with relative path
17133 + 63332eb556fadfe9edd0806add79942482adddef:
17134 Hardcode path to dirname on macOS
17135 + ceadf0a063cb97c32aced143d2447781d1dafc38:
17136 Add tool executables (from FilesToRunProvider) to action inputs.
17137 + dbe63b00954a25fa4405f7cbf273df78c16498dd:
17138 Fix some of the bazel Windows tools code to work with GCC.
17139```
17140
17141Incompatible changes:
17142
17143 - Tree artifacts and regular artifact paths can no longer overlap.
17144
17145New features:
17146
17147 - Added a special "_validation" output group to enable moving
17148 "validation actions" off the critical path of builds.
17149
17150Important changes:
17151
17152 - The query flag "--host_deps" (commonly used as "--nohost_deps")
17153 has been renamed to "--tool_deps", and now also removes
17154 dependencies in any execution configuration from being reported
17155 in the query output. The previous flag name is deprecated and
17156 will be removed in a future release.
17157 - The `cc_common.{compile,link}` APIs can now be used without
17158 passing the `--experimental_cc_skylark_api_enabled_packages` flag.
17159 - A list of log paths will be provided in build output.
17160 - Improve runfiles documentation.
17161 - Improve documentation on rule outputs.
17162 - BUILD/.bzl execution errors cause execution to stop, even at
17163 top-level
17164 - Multiple Starlark validation errors are reported in a single pass.
17165 - Introduce --experimental_nested_set_as_skykey_threshold
17166 - Blaze will prevent idle sleep during test and build actions. Note
17167 that this does not affect screen savers and will not keep a
17168 laptop awake if the user forces sleep or closes the lid. This is
17169 purely to avoid idle sleeping when the user is not interacting
17170 with the device.
17171 - Improve testing docs.
17172 - Incompatible flag
17173 `--incompatible_validate_top_level_header_inclusions` has been
17174 added. See https://github.com/bazelbuild/bazel/issues/10047 for
17175 details.
17176 - Fix an aquery bug with handling malformed queries that crashes
17177 bazel.
17178 - List fields on CcLinkingOutputs.
17179 - [Python] Added flag --incomaptible_default_to_explicit_init_py to
17180 switch the default value of legacy_create_init to True. With this
17181 flag enabled, your py_binary and py_test targets will no longer
17182 behave as if empty __init__.py files were implicitly littered in
17183 your runfiles tree. See
17184 [#10076](https://github.com/bazelbuild/bazel/issues/10076).
17185 - Fix documentation on allowed target names.
17186 - --target_platform_fallback now also applies to exec/host
17187 configurations
17188 - android_binary and android_libary can now depend on targets
17189 providing
17190 CcInfos.
17191 - Add support for tracking suspensions (sleeps or SIGSTOP) on macOS.
17192 - d8 dexers (both standalone and incremental) are now available for
17193 use.
17194 - Add Desugar support for FreezePeriod#<init>
17195
17196This 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.
17197
Bazel Release Systemf15bfb32019-10-21 12:49:43 +020017198## Release 1.0.1 (2019-10-21)
Bazel Release Systeme693c192019-10-21 10:40:19 +020017199
17200```
Bazel Release Systemf15bfb32019-10-21 12:49:43 +020017201Baseline: 97a82646dadd93bf52d47828bda42e3383b657c6
Bazel Release Systeme693c192019-10-21 10:40:19 +020017202
17203Cherry picks:
17204
Bazel Release Systemf15bfb32019-10-21 12:49:43 +020017205 + a0e3bb207fe2044120a2555a37162ee1f2b17500:
17206 Remove support for authentication and .netrc
17207 + ada2c55dcc106cd55bafbbe5d9a966e21e4770e0:
17208 Add explicit --sdk argument to xcrun calls
17209 + 847df729528f6e5919ec8374247eadf792cba544:
17210 toolchain_vanilla: Unset source and target language level
17211 versions
17212 + 5cfa0303d6ac3b5bd031ff60272ce80a704af8c2:
17213 Update java_tools version to javac11-v5.1.
17214 + 9c257df5b9b1de5459fc066e77c435ae085957a7:
17215 Release 1.0.0 (2019-10-10)
17216 + f7a31b30f5319639c36a6c6b1c14f358597d98d2:
17217 Prevent action-cache duplicate suppression
17218 + 618e5a28f7f735c37724377b15775a4975349c74:
17219 Use FileSystemUtils.moveFile instead of renameTo function of Path
Bazel Release Systeme693c192019-10-21 10:40:19 +020017220```
17221
Bazel Release Systemf15bfb32019-10-21 12:49:43 +020017222This 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 +020017223
Bazel Release Systemb9067c42019-10-10 11:55:50 +020017224## Release 1.0.0 (2019-10-10)
Bazel Release System4f9cd082019-09-10 09:39:08 -040017225
17226```
Bazel Release Systemb9067c42019-10-10 11:55:50 +020017227Baseline: 97a82646dadd93bf52d47828bda42e3383b657c6
Bazel Release System4f9cd082019-09-10 09:39:08 -040017228
17229Cherry picks:
17230
Bazel Release System4f9cd082019-09-10 09:39:08 -040017231 + a0e3bb207fe2044120a2555a37162ee1f2b17500:
17232 Remove support for authentication and .netrc
Bazel Release Systemb9067c42019-10-10 11:55:50 +020017233 + ada2c55dcc106cd55bafbbe5d9a966e21e4770e0:
17234 Add explicit --sdk argument to xcrun calls
17235 + 847df729528f6e5919ec8374247eadf792cba544:
17236 toolchain_vanilla: Unset source and target language level
17237 versions
17238 + 5cfa0303d6ac3b5bd031ff60272ce80a704af8c2:
17239 Update java_tools version to javac11-v5.1.
Bazel Release System4f9cd082019-09-10 09:39:08 -040017240```
17241
Bazel Release Systemb9067c42019-10-10 11:55:50 +020017242Incompatible changes:
17243
17244 - Python, Windows: the
17245 --[no]incompatible_windows_escape_python_args is no longer
17246 supported. (It was flipped to true in Bazel 0.27.0)
17247 - --incompatible_use_native_patch is enabled by default
17248 - Windows: --incompatible_windows_bashless_run_command is now true
17249 by default, meaning "bazel run //foo:bin" will run the binary as
17250 a subprocess of the Bazel client. (When the flag is false, the
17251 binary is executed as a subprocess of Bash.)
17252 - Windows: --incompatible_windows_native_test_wrapper is enabled by
17253 default
17254
17255New features:
17256
17257 - Genrule now supports `cmd_bash`, `cmd_ps`, `cmd_bat` attributes.
17258 More details at
17259 https://docs.bazel.build/versions/master/be/general.html#genrule.c
17260 md
17261 - config_setting can now check multiple values on "--foo=firstVal
17262 --foo=secondVal ..."-style flags
17263 - tags: use `--experimental_allow_tags_propagation` flag to
17264 propagate tags to the action's execution requirements from
17265 targets. Such tags should start with: `no-`, `requires-`,
17266 `supports-`, `block-`, `disable-`, `cpu:`. See #8830 for details.
17267 - Users can now get generated def file from cc_library via
17268 "def_file" output group on Windows.
17269 - Platform-specific bazelrc: with --enable_platform_specific_config
17270 you can
17271 enable flags in bazelrc according to your host platform.
17272 - tags: use `--experimental_allow_tags_propagation` flag to
17273 propagate tags to the action's execution requirements from
17274 cc_library or cc_binary targets. Such tags should start with:
17275 `no-`, `requires-`, `supports-`, `block-`, `disable-`, `cpu:`.
17276 See #8830 for details.
17277 - tags: use --experimental_allow_tags_propagation flag to propagate
17278 tags to the action's execution requirements from java targets.
17279 Such tags should start with: no-, requires-, supports-, block-,
17280 disable-, cpu:. See #8830 for details.
17281
17282Important changes:
17283
17284 - Bazel Android builds now use aapt2 by default. To revert to aapt,
17285 set `--android_aapt=aapt`.
17286 - Make either --subcommands or --verbose_failures imply
17287 --materialize_param_files
17288 - Bazel Android builds now use aapt2 by default. To revert to aapt,
17289 set `--an...
17290 RELNOTES: None
17291 - by default all remote connections considered to be via `gRPC`
17292 with TLS enabled, unless other specified. To disable TLS use
17293 `grpc://` prefix for you endpoints. All remote connections via
17294 `gRPC` affected - `--remote_cache`, `--remote_executor` or
17295 `--bes_backend`. http cache/executor is not affected. See #8061
17296 for details.
17297 - cc_* rules support non-transitive defines through a
17298 'local_defines' attribute.
17299 - Enable
17300 incompatible_disallow_rule_execution_platform_constraints_allowed
17301 by default (https://github.com/bazelbuild/bazel/issues/8136).
17302 - incompatible_disallow_split_empty_separator is enabled by default
17303 - Fixed Android build issues with aapt2 on Windows. See the [GitHub
17304 issue](https://github.com/bazelbuild/bazel/issues/9102) for more
17305 information.
17306 - --incompatible_disable_static_cc_toolchains has been flipped. See
17307 https://github.com/bazelbuild/bazel/issues/8546.
17308 - --remote_default_platform_properties has been deprecated in favor
17309 of --remote_default_exec_properties.
17310 - The --incompatible_make_thinlto_command_lines_standalone flag has
17311 been flipped, see https://github.com/bazelbuild/bazel/issues/6791
17312 for more information.
17313 - The --incompatible_use_specific_tool_files flag has been flipped.
17314 See https://github.com/bazelbuild/bazel/pull/9126 for more
17315 information.
17316 - Clarify default visibility.
17317 - Enables incompatible_auto_configure_host_platform
17318 - New incompatible flag --incompatible_disable_depset_items
17319 disables the "items" parameter in the Starlark depset
17320 constructor. Use "direct" and "transitive" parameters instead.
17321 - --incompatible_assignment_identifiers_have_local_scope is enabled
17322 - incompatible_disable_partition_default_parameter is enabled by
17323 default ()
17324 - incompatible_restrict_attribute_names is enabled
17325 (https://github.com/bazelbuild/bazel/issues/6437)
17326 - The --incompatible_disable_nocopts flag has been flipped. See
17327 https://github.com/bazelbuild/bazel/issues/8546 for more
17328 information.
17329 - Deprecated Java-Starlark API java_common.create_provider is
17330 removed. JavaInfo() legacy args (actions, sources, source_jars,
17331 use_ijar, java_toolchain, host_javabase) are removed.
17332 - The flag incompatible_disallow_hashing_frozen_mutables is enabled
17333 (https://github.com/bazelbuild/bazel/issues/7800)
17334 - `maven_jar` and `maven_server` now disallow using plain HTTP URLs
17335 without a specified checksum. If you are still using `maven_jar`,
17336 consider migrating to
17337 [`rules_jvm_external`](https://github.com/bazelbuild/rules_jvm_ext
17338 ernal) for transitive dependency management. See
17339 [#8607](https://github.com/bazelbuild/bazel/issues/8607) for more
17340 information.
17341 - Added `sha256` and `sha256_src` attributes to `maven_jar`. Please
17342 consider migrating to SHA-256 as SHA-1 has been deemed
17343 cryptographically insecure ([https://shattered.io]()). Or, use
17344 [`rules_jvm_external`](https://github.com/bazelbuild/rules_jvm_ext
17345 ernal) to manage your transitive Maven dependencies with artifact
17346 pinning and SHA-256 verification support.
17347 - introducing per-target exec_properties
17348 - Bazel now supports ThinLTO builds on Linux for Clang versions >=
17349 6.0. ThinLTO can be enabled through --features=thin_lto
17350 - The Target.output_group field in Starlark is removed. Use
17351 OutputGroupInfo instead. See
17352 https://github.com/bazelbuild/bazel/issues/7949 for details.
17353 - Make a number of parameters of Starlark builtin functions
17354 positional-only (as opposed to specifiable by keyword). See
17355 https://github.com/bazelbuild/bazel/issues/8147 for details.
17356 - incompatible_skip_genfiles_symlink is enabled by default (#8651)
17357 - Change Pruned events will fire immediately after being checked.
17358 - --incompatible_remove_legacy_whole_archive has been flipped. See
17359 https://github.com/bazelbuild/bazel/issues/7362 for more
17360 information
17361
17362This 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 -040017363
Bazel Release Systemf791df02019-08-28 10:29:12 -040017364## Release 0.29.0 (2019-08-28)
17365
17366```
17367Baseline: 6c5ef5369a3ffceb8a65cc159a2fff1401242810
17368
17369Cherry picks:
17370
17371 + 338829f2633e91ae0492ee4169446465e10b5994:
17372 Fix retrying of SocketTimeoutExceptions in HttpConnector
17373 + 14651cd86b6fc1d48f56a208a9b5278b3e2dcf75:
17374 Fallback to next urls if download fails in HttpDownloader
17375 + b7d300c6be3e130dec0e62a4f19493105f595d57:
17376 Fix incorrect stdout/stderr in remote action cache. Fixes #9072
17377 + 960217631abdcab0a7ed95e2ab10acd55f636639:
17378 Automated rollback of commit
17379 0f0a0d58725603cf2f1c175963360b525718a195.
17380 + da557f96c697102ad787e57bbf7db2460f6a60a8:
17381 Windows: fix "bazel run" argument quoting
17382 + ef8b6f68cc8ffd2e6523a894034ae383e87ec74c:
17383 Return JavaInfo from java proto aspects.
17384 + 209175ff8ffeb05628ed8a187dd414a3d2935c55:
17385 Revert back to the old behavior of not creating a proto source
17386 root for generated .proto files.
17387 + 644060b7a4bc98384b66e3d2343b950b875b5e35:
17388 Fix PatchUtil for parsing special patch format
17389 + 067040d7bcb3b24a88432e210a96adacee3f37b4:
17390 Put the removal of the legacy repository-relative proto path
17391 behind the --incompatible_generated_protos_in_virtual_imports
17392 flag.
17393 + 76ed014e77d7b862f6eb2894600ae525ea570f11:
17394 repository mapping lookup: convert to canonical name first
17395```
17396
17397Important changes:
17398
17399 - rule_test: fix Bazel 0.27 regression ("tags" attribute was
17400 ingored, https://github.com/bazelbuild/bazel/issues/8723
17401 - Adds --incompatible_enable_execution_transition, which enables
17402 incremental migration of host attributes to exec attributes.
17403 - objc_proto_library rule has been deleted from Bazel.
17404 - repository_ctx.read is no longer restricted to files
17405 in the repository contructed.
17406 - tags 'no-remote', 'no-cache', 'no-remote-cache',
17407 'no-remote-exec', 'no-sandbox' are propagated now to the actions
17408 from targets when '--ncompatible_allow_tags_propagation' flag set
17409 to true. See #8830.
17410 - Adds flag
17411 --//tools/build_defs/pkg:incompatible_no_build_defs_pkg. This
17412 flag turns off the rules //tools/build_defs/pkg:{pkg_deb,
17413 pkg_rpm, pkg_tar}.
17414 - The Android NDK is now integrated with toolchains. To use them,
17415 pass the `--extra_toolchains=@androidndk//:all` flag or register
17416 them in your WORKSPACE with
17417 `register_toolchains("@androidndk//:all")`.
17418 - Stdout and stderr are checked to determine if output is going to a
17419 terminal. `--is_stderr_atty` is deprecated and `--isatty` is
17420 undeprecated.
17421 - --incompatible_load_proto_rules_from_bzl was added to forbid
17422 loading the native proto rules directly. See more on tracking
17423 issue #8922
17424 - Docker Sandbox now respects remote_default_platform_properties
17425 - pkg_deb, pkg_rpm & pkg_tar deprecation plan announced in the
17426 documentation.
17427 - The new java_tools release:
17428 * fixes https://github.com/bazelbuild/bazel/issues/8614
17429 * exposes a new toolchain `@java_tools//:prebuilt_toolchain`
17430 which is using all the pre-built tools, including singlejar and
17431 ijar, even on remote execution. This toolchain should be used
17432 only when host and execution platform are the same, otherwise the
17433 binaries will not work on the execution platform.
17434 - java_common.compile supports specifying
17435 annotation_processor_additional_inputs and
17436 annotation_processor_additional_outputs for the Java compilation
17437 action for supporting annotation processors that consume or
17438 produce artifacts. Fixes #6415
17439 - There is now documentation on optimizing Android app build
17440 performance. Read it at
17441 https://docs.bazel.build/versions/0.29.0/android-build-performance
17442 .html
17443 - Execution log now respects --remote_default_platform_properties
17444 - Include a link to the relevant documenation on transitive Python
17445 version errors.
17446 - New incompatible flag
17447 --incompatible_disable_target_provider_fields removes the ability
17448 (in Starlark) to access a target's providers via the field syntax
17449 (for example, `ctx.attr.dep.my_provider`). The provider-key
17450 syntax should be used instead (for example,
17451 `ctx.attr.dep[MyProvider]`). See
17452 https://github.com/bazelbuild/bazel/issues/9014 for details.
17453 - A new platform exec_properties is added to replace
17454 remote_execution_properties.
17455 - Added --incompatible_load_python_rules_from_bzl, which will be
17456 flipped in Bazel 1.0. See
17457 https://github.com/bazelbuild/bazel/issues/9006.
17458 - add --break_build_on_parallel_dex2oat_failure to shortcut tests
17459 on dex2oat errors
17460
17461This 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.
17462
Bazel Release System3fd8c412019-07-19 17:14:15 +020017463## Release 0.28.1 (2019-07-19)
17464
17465```
17466Baseline: 2e374a9c6e3d4ed71f0145de287c4b2fe43c76d6
17467
17468Cherry picks:
17469
17470 + 6d0b14b95a71175362030b4811ca74512b00a890:
17471 rule_test: apply "tags" to all rules in the macro
17472 + 18cd9048526f067a4950c6ddbf4b1b3604760af0:
17473 Release 0.28.0 (2019-07-10)
17474 + 2260b970cb2a10c21a2fde116aa82c79be52991f:
17475 When copying dynamic libraries to binary, copy them into the
17476 runfiles as well.
17477 + a0af170f87c8230fcd8860599b983df097b646bd:
17478 Undo breaking change of hiding android_common behind
17479 --experimental_google_legacy_api
17480 + c6ca6c2ccd9e11a87f837341ae05d2ba037975b1:
17481 Ignore external/ directory in users' source tree when creating
17482 execroot symlink tree.
17483```
17484
17485Important changes:
17486
17487 - rule_test: fix Bazel 0.27 regression ("tags" attribute was
17488 ingored, https://github.com/bazelbuild/bazel/issues/8723
17489
17490This release contains contributions from many people at Google, as well as .
17491
Bazel Release Systemf4a08032019-07-10 18:11:04 +020017492## Release 0.28.0 (2019-07-10)
Bazel Release System7e809492019-07-10 17:50:43 +020017493
17494```
Bazel Release Systemf4a08032019-07-10 18:11:04 +020017495Baseline: 2e374a9c6e3d4ed71f0145de287c4b2fe43c76d6
Bazel Release System7e809492019-07-10 17:50:43 +020017496
17497Cherry picks:
17498
Bazel Release System7e809492019-07-10 17:50:43 +020017499 + 6d0b14b95a71175362030b4811ca74512b00a890:
17500 rule_test: apply "tags" to all rules in the macro
17501```
17502
Bazel Release Systemf4a08032019-07-10 18:11:04 +020017503Incompatible changes:
17504
17505 - Add --incompatible_enable_profile_by_default to enable the JSON
17506 profile by default.
17507 - The --incompatible_windows_style_arg_escaping flag is flipped to
17508 "true", and the "false" case unsupported. Bazel no longer accepts
17509 this flag.
17510
Bazel Release System7e809492019-07-10 17:50:43 +020017511Important changes:
17512
Bazel Release Systemf4a08032019-07-10 18:11:04 +020017513 - Bazel now supports hiding compiler warnings for targets that
17514 you're not explicitly building (see
17515 https://docs.bazel.build/versions/master/user-manual.html#flag--au
17516 to_output_filter).
17517 - Flag `--incompatible_restrict_escape_sequences` is added. See
17518 https://github.com/bazelbuild/bazel/issues/8380
17519 - The "info" command now supports the "starlark-semantics"
17520 argument, which outputs a representation of the effective Starlark
17521 semantics option values.
17522 - The `outputs` parameter of the `rule()` function is deprecated
17523 and attached to flag `--incompatible_no_rule_outputs_param`.
17524 Migrate rules to use `OutputGroupInfo` or `attr.output` instead.
17525 See https://github.com/bazelbuild/bazel/issues/7977 for more info.
Bazel Release System7e809492019-07-10 17:50:43 +020017526 - When `--incompatible_strict_action_env` is enabled, the default
17527 `PATH` now includes `/usr/local/bin`.
17528 - Turn on --experimental_build_setting_api by default for starlark
17529 build settings (see
17530 https://docs.bazel.build/versions/master/skylark/config.html#user-
17531 defined-build-settings for more info)
Bazel Release Systemf4a08032019-07-10 18:11:04 +020017532 - `@bazel_tools//tools/jdk:toolchain_java10` and
17533 `@bazel_tools//tools/jdk:toolchain_java11` are now available to
17534 enable java 10, respectively java 11 language level support.
17535 - The `command` parameter of the `actions.run_shell()` function
17536 will be restricted to only accept strings (and not string
17537 sequences). This check is attached to flag
17538 `--incompatible_run_shell_command_string`. One may migrate by
17539 using the `arguments` parameter of `actions.run()` instead. See
17540 https://github.com/bazelbuild/bazel/issues/5903 for more info.
17541 - Incompatible change
17542 `--incompatible_use_platforms_repo_for_constraints` has been
17543 added. See https://github.com/bazelbuild/bazel/issues/8622 for
17544 details.
17545 - Incompatible change
17546 `--incompatible_use_platforms_repo_for_constraints` has been
17547 added. See https://github.com/bazelbuild/bazel/issues/8622 f...
17548 - Bazel's C++ autoconfiguration now understands `BAZEL_LINKLIBS`
17549 environment variable to specify system libraries that should be
17550 appended to the link command line.
17551 - paths under the execution root starting with "." or "_" will be
17552 re-linked across builds
17553 - execution_log_json_file now allows actions without outputs.
17554 - Labels aapt as deprecated for aapt_version, and heavily endorses
17555 aapt2.
17556 - Update doc links still pointing to cc_binary.features to point to
17557 common features
17558 - Incompatible change
17559 `--incompatible_use_platforms_repo_for_constraints` has been
17560 added. See https://github.com/bazelbuild/bazel/issues/8622 for
17561 details.
17562 RELNOTES:
17563 - --incompatible_disable_nocopts flag has been added. See
17564 https://github.com/bazelbuild/bazel/issues/8706 for details.
17565 - Fixed treatment of <dist:module /> tags in AndroidManifest.xml
17566 - Fixed asset precedence for android_binary rules with aapt2.
17567 - Bazel now officially supports running on CentOS 7.
17568 - The runtime dynamic libraries are no longer in default output
17569 group of cc_binary.
17570 - set the FDOBuildType as CSFDO for binaries built with
17571 --cs_fdo_absolute_path.
17572 - Bazel can now be bootstrapped and built on arm64 platforms
17573 without requiring any flags or patches.
17574 - Fixed treatment of AndroidManifest.xml attributes which contained
17575 XML escaping
17576 - Retire experimental blaze flag
17577 experimental_link_compile_output_separately. The same behavior is
17578 available through the feature dynamic_link_test_srcs.
17579 - --incompatible_load_java_rules_from_bzl was added to forbid
17580 loading the native java rules directly. See more on tracking
17581 issue #8746
17582 - Turn on --experimental_build_setting_api by default for starlark
17583 build settings (see
17584 https://docs.bazel.build/versions/master/skylark/config.html#user-
17585 defined-build-settings for more info)
17586 - Attribute names are going to be restricted and must be
17587 syntactically valid identifiers.
17588 https://github.com/bazelbuild/bazel/issues/6437
Bazel Release System7e809492019-07-10 17:50:43 +020017589 - rule_test: fix Bazel 0.27 regression ("tags" attribute was
17590 ingored, https://github.com/bazelbuild/bazel/issues/8723
17591
Bazel Release Systemf4a08032019-07-10 18:11:04 +020017592This 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 +020017593
Bazel Release System316cb9b2019-07-02 19:45:51 +020017594## Release 0.27.1 (2019-07-02)
17595
17596```
17597Baseline: 8c3b3fba3f68833bd97d3df2db9c48f0539efc3b
17598
17599Cherry picks:
17600
17601 + 123c68daed17b19927372e4df7f7a2256db6b80e:
17602 Warn in more cases of possible Python version mismatch in host
17603 config
17604 + 052167e907373ac7ea43238c3049739f6e94a9d1:
17605 Add a non-strict autodetecting Python toolchain
17606 + 6ef6d879ab69225d54ecab3db847fb4eff33bbeb:
17607 Default java toolchain target
17608 + 50fa3ec27efdd95771c70faa38a4543d4fed44f2:
17609 Fix problems with the non-strict Python toolchain
17610 + e2a626c4f61fe4ceb79a5675d09a6f25ca7b5b22:
17611 Automated rollback of commit
17612 bc6f7cb330bb531f062bb301f3703876051191f5.
17613 + 6efc5b787ad3164cc2fb779c73377695032b4524:
17614 Treat existence of managed directories as a part of repository
17615 dirtiness.
17616 + 3a4be3c93813987a27a97dade3f9ebbc5770e349:
17617 Add /usr/local/bin to default PATH under strict action env
17618 + 5c1005c0947b010ee36ca851b8ba07c9479cf682:
17619 Automated rollback of commit
17620 536a166270590a8dbc701718550383f3a07cc763.
17621 + c82eb4878c7dc829455caeb915affe36c89df06f:
17622 Release 0.27.0 (2019-06-17)
17623 + d4589630428c1c1bc08a9baf36257e636fe9d746:
17624 Check for both :lcov_merger and $lcov_merger attributes in
17625 TestActionBuilder.
17626```
17627
17628Important changes:
17629
17630 - Add new options --cs_fdo_absolute_path= to support the absolute
17631 path
17632 profile for LLVM's context-sensitive FDO.
17633 - When `--incompatible_strict_action_env` is enabled, the default
17634 `PATH` now includes `/usr/local/bin`.
17635 - Turn on --experimental_build_setting_api by default for starlark
17636 build settings (see
17637 https://docs.bazel.build/versions/master/skylark/config.html#user-
17638 defined-build-settings for more info)
17639
17640This release contains contributions from many people at Google, as well as Ricky Pai.
17641
Bazel Release Systemaecb1e82019-06-17 14:57:36 +020017642## Release 0.27.0 (2019-06-17)
Bazel Release Systeme6976fb2019-06-06 13:01:57 +020017643
17644```
Bazel Release Systemaecb1e82019-06-17 14:57:36 +020017645Baseline: 5935259724bebd1c4bdebc90e159d0f655c8c219
Bazel Release Systeme6976fb2019-06-06 13:01:57 +020017646
17647Cherry picks:
17648
Bazel Release Systemaecb1e82019-06-17 14:57:36 +020017649 + fe81b49e727efdcc90a270520af193af75f4e31d:
17650 Support of using the absolute path profile for LLVM's Context
17651 Sensitive FDO
17652 + ce5e7180d98e1244fdfba0349952727826cbd173:
17653 Demote OptionProcessor from globals
17654 + 3ed9d3681c3e130aafcf3c405ff1795c601bdf95:
17655 Properly wire up BES half-close. The lack thereof was a simple
17656 oversight.
17657 + 4ca768e9f87701fb92598d0a8325a5fc8881a852:
17658 standardize graph output indentation with 2 spaces
17659 + aff189a7c514a0171a53a2dcdd37c93ecaa672ad:
17660 Make sure default Linux artifacts have an associated action,
17661 even when artifact names are altered.
17662 + 8c3b3fba3f68833bd97d3df2db9c48f0539efc3b:
17663 Failures early in package loading will now fail all --keep_going
17664 builds.
17665 + 123c68daed17b19927372e4df7f7a2256db6b80e:
17666 Warn in more cases of possible Python version mismatch in host
17667 config
17668 + 052167e907373ac7ea43238c3049739f6e94a9d1:
17669 Add a non-strict autodetecting Python toolchain
17670 + 6ef6d879ab69225d54ecab3db847fb4eff33bbeb:
17671 Default java toolchain target
17672 + 50fa3ec27efdd95771c70faa38a4543d4fed44f2:
17673 Fix problems with the non-strict Python toolchain
17674 + e2a626c4f61fe4ceb79a5675d09a6f25ca7b5b22:
17675 Automated rollback of commit
17676 bc6f7cb330bb531f062bb301f3703876051191f5.
17677 + 6efc5b787ad3164cc2fb779c73377695032b4524:
17678 Treat existence of managed directories as a part of repository
17679 dirtiness.
17680 + 3a4be3c93813987a27a97dade3f9ebbc5770e349:
17681 Add /usr/local/bin to default PATH under strict action env
17682 + 5c1005c0947b010ee36ca851b8ba07c9479cf682:
17683 Automated rollback of commit
17684 536a166270590a8dbc701718550383f3a07cc763.
Bazel Release Systeme6976fb2019-06-06 13:01:57 +020017685```
17686
Bazel Release Systemaecb1e82019-06-17 14:57:36 +020017687Incompatible changes:
17688
17689 - --incompatible_disable_objc_provider_resources no longer has
17690 effect. Use of deprecated resource fields on the Objc provider is
17691 now disallowed regardless of this flag.
17692 - deleted deprecated --experimental-remote-retry* flags, please use
17693 --remote_retries instead
17694 - flipped --incompatible_list_based_execution_strategy_selection
17695 flag to be true by default. See
17696 https://github.com/bazelbuild/bazel/issues/7480 for details.
17697 - Octal integer literals in Starlark are required to start with
17698 "Oo".
17699 - The "native" module is no longer available in BUILD files, all
17700 its members can be accessed directly as global symbols. This can
17701 be temporarily reverted by providing
17702 --incompatible_disallow_native_in_build_file=false as a flag to
17703 Blaze.
17704 - The "native" module is no longer available in BUILD files, all
17705 its members can be accessed directly as global symbols. This can
17706 be temporarily reverted by providing
17707 --incompatible_disallow_native_in_build_file=false as a flag to
17708 Blaze.
17709 - Turn off binary style profile format.
17710 - The "native" module is no longer available in BUILD files, all
17711 its members can be accessed directly as global symbols. This can
17712 be temporarily reverted by providing
17713 --incompatible_disallow_native_in_build_f...
17714 - cleanup that affects user provided apple frameworks is
17715 now enabled by default. See
17716 https://github.com/bazelbuild/bazel/issues/7944 for more info.
17717 - Python rules now determine the Python runtime using toolchains
17718 rather than `--python_top` and `--python_path`, which are
17719 deprecated. See
17720 [#7899](https://github.com/bazelbuild/bazel/issues/7899) for
17721 information on declaring Python toolchains and migrating your
17722 code. As a side-benefit, this addresses
17723 [#4815](https://github.com/bazelbuild/bazel/issues/4815)
17724 (incorrect interpreter version used) on non-Windows platforms.
17725 Note however that some builds break due to getting the version
17726 they asked for -- consider setting `python_version = "PY2"` on
17727 Python 2 targets and `--host_force_python=PY2` if any Python 2
17728 targets are used in the host configuration. You can temporarily
17729 opt out of this change with
17730 `--incompatible_use_python_toolchains=false`.
17731 - Depsets can't be iterated over unless they're converted to lists
17732 using the .to_list() method. Use
17733 --incompatible_depset_is_not_iterable=false to
17734 temporarily restore the previous behaviour.
17735
17736New features:
17737
17738 - Bash, runfiles: the copy-pasted init code of the Bash runfiles
17739 library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
17740 The rlocation() implementation is the same.
17741 - Bash, runfiles: the copy-pasted init code of the Bash runfiles
17742 library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
17743 The rlocation() implementation is the same.
17744 - Bash, runfiles: the copy-pasted init code of the Bash runfiles
17745 library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
17746 To use the new init code, you need Bazel 0.27 or newer. The old
17747 (longer) init code still works.
17748
17749Important changes:
17750
17751 - The `outputs` parameter of the `rule()` function is deprecated
17752 and attached to flag `--incompatible_no_rule_outputs_param`.
17753 Migrate rules to use `OutputGroupInfo` or `attr.output` instead.
17754 See https://github.com/bazelbuild/bazel/issues/7977 for more info.
17755 - The --incompatible_disable_objc_library_resources flag is being
17756 removed. Please remove it from your configs as it otherwise will
17757 fail the build.
17758 - Add a generic additional_linker_inputs attribute on cc_binary
17759 rules.
17760 - Windows, C++ autoconfigure: BAZEL_VC and BAZEL_VS may now have
17761 quotes, so if you set these envvars' values in cmd.exe via
17762 TAB-completion then you no longer need to remove the surrounding
17763 quotes.
17764 - pkg_deb has new attributes: `config` and `templates` that can be
17765 used for integration with debconf
17766 - Allow cc_import() of a DLL with no interface library on Windows,
17767 used to document runtime dependencies.
17768 - All host-configured Python tools that are built for the wrong
17769 Python version will now emit a warning message when they exit
17770 with non-zero status. See #7899.
17771 - deprecated --remote_local_fallback_strategy. Use
17772 `--strategy=remote,local` instead. See
17773 https://github.com/bazelbuild/bazel/issues/7480.
17774 - Introduce --incompatible_disable_native_android_rules flag
17775 - The Android desugaring actions now support a persistent worker
17776 mode for faster local build performance. Enable it with
17777 `--strategy=Desugar=worker`.
17778 - --incompatible_static_name_resolution_in_build_files is now
17779 enabled by default
17780 - --incompatible_disable_deprecated_attr_params is now enabled by
17781 default (#5818)
17782 - Repository containing autoconfigured C++ toolchain
17783 `@local_config_cc` has been split in 2 - see
17784 `local_config_cc_toolchains`.
17785 - --incompatible_string_join_requires_strings is now enabled by
17786 default
17787 - Flag --incompatible_new_actions_api is enabled by dewfault (#5825)
17788 - New flag `--incompatible_disallow_empty_glob`. See
17789 https://github.com/bazelbuild/bazel/issues/8195
17790 - --incompatible_no_kwargs_in_build_files is enabled by default
17791 - Incompatible flag
17792 `--incompatible_require_ctx_in_configure_features` has been
17793 flipped. See https://github.com/bazelbuild/bazel/issues/7793 for
17794 more information.
17795 - `BAZEL_USE_XCODE_TOOLCHAIN=1` tells Bazel not to look for Xcode to
17796 decide whether to enable toolchains for Apple rules, but to
17797 assume Xcode is
17798 available. Can be also used when building on Darwin and no C++ or
17799 ObjC is being
17800 built, so there is no need to detect Xcode.
17801 - Android desugaring actions now use persistent workers by default.
17802 This has been measured to provide up to 20% reduction in build
17803 times. To disable it, use the `--strategy=Desugar=sandboxed`
17804 flag. See https://github.com/bazelbuild/bazel/issues/8342 and
17805 https://github.com/bazelbuild/bazel/issues/8427 for more details
17806 on local build speed optimization for Android apps.
17807 - Fixed an issue with Android builds where `--fat_apk_cpu` doesn't
17808 pack all selected shared libraries from `aar_import` targets into
17809 the APK. See
17810 [#8283](https://github.com/bazelbuild/bazel/issues/8283).
17811 - Turn on --experimental_starlark_config_transitions by default for
17812 starlark transitions (see
17813 https://docs.bazel.build/versions/master/skylark/config.html#user-
17814 defined-transitions for more info)
17815 - Turn on --experimental_build_setting_api by default for starlark
17816 build settings (see
17817 https://docs.bazel.build/versions/master/skylark/config.html#user-
17818 defined-build-settings for more info)
17819 - Incompatible flag
17820 `--incompatible_dont_enable_host_nonhost_crosstool_features` has
17821 been flipped. See https://github.com/bazelbuild/bazel/issues/7407
17822 for more information.
17823 - Added support for Android NDK 19 and 20.
17824 - Flip --incompatible_no_support_tools_in_action_inputs
17825 - --remote_executor, --remote_cache or --bes_backend=someurl.com
17826 would be treated as grpcs://someurl.com, if the
17827 --incompatible_tls_enabled_removed flag enabled. See
17828 https://github.com/bazelbuild/bazel/issues/8061 for details.
17829 - Add new options --cs_fdo_absolute_path= to support the absolute
17830 path
17831 profile for LLVM's context-sensitive FDO.
17832 - When `--incompatible_strict_action_env` is enabled, the default
17833 `PATH` now includes `/usr/local/bin`.
17834 - Turn on --experimental_build_setting_api by default for starlark
17835 build settings (see
17836 https://docs.bazel.build/versions/master/skylark/config.html#user-
17837 defined-build-settings for more info)
17838
17839This 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 +020017840
Klaus Aehligc84f7d32019-06-17 15:26:27 +020017841## Release 0.26.1 (2019-06-06)
17842
17843```
17844Baseline: cb82ed84d44db0169a8fbf15f9cee434b77002bb
17845
17846Cherry picks:
17847
17848 + d1c0d205945f5a765efb0a48593b1cd82699ce32:
17849 Allow WORKSPACE file to be a symlink if no managed directories
17850 is used.
17851 + c3d2aa74ccd23dfb8a8173c2b3e2955f0c5892cb:
17852 Fix ios, tvos and watchos arm64 constraints
17853 + 55e42052a22a60b68d88a89932b2a068311b1a95:
17854 Bump java_tools_javac10 from 3.1 to 3.2
17855```
17856
17857Patch release on top of 0.26.0, fixing
17858- https://github.com/bazelbuild/bazel/issues/8475
17859- https://github.com/bazelbuild/bazel/issues/8520
17860- https://github.com/bazelbuild/intellij/issues/845
17861
Bazel Release System8089b272019-05-28 10:31:53 +020017862## Release 0.26.0 (2019-05-28)
Bazel Release System48845c32019-05-23 15:21:53 -040017863
17864```
Bazel Release System8089b272019-05-28 10:31:53 +020017865Baseline: daa8ae565ab2023e49134f0aad233b0a8bd7a5d0
Bazel Release System48845c32019-05-23 15:21:53 -040017866
17867Cherry picks:
17868
Bazel Release System8089b272019-05-28 10:31:53 +020017869 + 61c7ffa60ae9c1937dd6d8ee30a8c0471094ee71:
17870 Automated rollback of commit
17871 87388e24814b177f54ca7697b4233489f90c587e.
17872 + 898d7b6138af73f03daf35b767d252560087de70:
17873 Add test for repository overrides, conflicting with managed
17874 directories being added when Bazel server is already started.
17875 + c2001a4569483596d9dc74ba9cabcbe4b6f1887f:
17876 Automated rollback of commit
17877 bbe47a1564a832e1a175206f2dfbc92af94c120b.
17878 + e67c961905792cd63950c6f6efc33275ad243c49:
17879 Fix a non-determinism in create_embedded_tools.py.
Bazel Release System48845c32019-05-23 15:21:53 -040017880 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
17881 Remove unsupported cpu attribute from cc_toolchains.
Bazel Release System8089b272019-05-28 10:31:53 +020017882 + 597e289b097d3bfed8eea1cb0924bbeb04877e42:
17883 remote: made CombinedCache a composition of Disk and Http Cache
17884 + 942f7cf6a0da0a4ecc804615424f039e50963933:
17885 C++: Fixes bug in C++ API with external repo aspects
Bazel Release System48845c32019-05-23 15:21:53 -040017886 + 85a5a2bd569a5274950fc7327a044c395248c024:
17887 Configure @androidsdk//:emulator_x86 and :emulator_arm to point
17888 to the unified emulator binary
Bazel Release System8089b272019-05-28 10:31:53 +020017889 + 9835cb4135503768cdf1161746b95d7969ccb938:
17890 Automated rollback of commit
17891 844e4e297b404d6ff28b818d8150d4b9c47de887.
17892 + c963ba21073b514961946b8b4b45b091f08fdaa1:
17893 Windows, Python: fix arg. esc. also in host config
17894 + a1ea487e0a9e180a36fa4aab57f7c746ddcf367a:
17895 Do not pre-cache changed files under managed directories
17896 + 7dc78cdd04eedf2f4373b170053ba5fc2a990929:
17897 Add explicit execution and target constraints for autodiscovered
17898 cc t?
17899 + dd9ac13f7e3b71bdf2eca717bc7681bdd12389a2:
17900 Fix a bug when a relative path is used for the execution log
Bazel Release System48845c32019-05-23 15:21:53 -040017901 + 0ff19c6d0adf3c0df94fff59ca3bd13cbcf99897:
17902 Fix StandaloneTestStrategy.appendStderr
Bazel Release System8089b272019-05-28 10:31:53 +020017903 + 7f495315749478e75a3424726cc273a535b7c3b8:
17904 Fix the autodetecting Python toolchain on Mac
17905 + ddce7235ef29a0aba727c265eae865d15af4ed09:
17906 Avoid exporting PATH unnecessarily
17907 + 35dd05a059fa7fddfdd888cfc69102994e3c04dc:
17908 Allow Starlark rules to be able to use the `exec_compatible_with`
Bazel Release System48845c32019-05-23 15:21:53 -040017909```
17910
Klaus Aehlig63bf1152019-05-28 10:41:12 +020017911### Incompatible changes
17912
17913- [`--incompatible_windows_escape_jvm_flags`](https://github.com/bazelbuild/bazel/issues/7486)
17914 is enabled by default, and removed.
17915
17916- [`--incompatible_windows_style_arg_escaping`](https://github.com/bazelbuild/bazel/issues/7454)
17917 is enabled by default.
17918
17919- [`--incompatible_no_output_attr_default`](https://github.com/bazelbuild/bazel/issues/7950)
17920 is enabled by default.
17921
17922- [`--incompatible_depset_union`](https://github.com/bazelbuild/bazel/issues/5817)
17923 is enabled by default.
17924
17925- [`--incompatible_disable_genrule_cc_toolchain_dependency`](https://github.com/bazelbuild/bazel/issues/6867) removed
17926
17927- [`--Incompatible_disallow_rule_execution_platform_constraints_allowed`](https://github.com/bazelbuild/bazel/issues/8136):
17928 When enabled, disallows the use of the `execution_platform_constraints_allowed`
17929 attribute when defining new rules.
17930
17931- [`--incompatible_disable_objc_provider_resources`](https://github.com/bazelbuild/bazel/issues/5710)
17932 is now enabled by default.
17933
17934### Apple
17935
17936- The `--ios_multi_cpus`, `--watchos_cpus`, `--macos_cpus` and `--tvos_cpus` are
17937 now additive. This means that you can now split the `--ios_multi_cpus=arm64,armv7`
17938 into `--ios_multi_cpus=arm64` and `--ios_multi_cpus=armv7`.
17939
17940- Add `--incompatible_objc_framework_cleanup` to control whether to enable some
17941 objc framework cleanup that changes the API. Specifically, the cleanup changes
17942 the objc provider API pertaining to frameworks. This change is expected to be
17943 transparent to most users unless they write their own Starlark rules to handle
17944 frameworks. See https://github.com/bazelbuild/bazel/issues/7594 for details.
17945
17946- `objc_library` does not support resource attributes any more. Please read
17947 [#7594](https://github.com/bazelbuild/bazel/issues/7594) for more info.
17948
17949### Android
17950
17951- Android resource conflicts will no longer be reported between a strong attr
17952 resource and a weak attr resource, if the weak attr does not have format
17953 specified.
17954
17955### C++
17956
17957- [Allow debugging C++ features logic](https://github.com/bazelbuild/bazel/commit/53156db1e30fe7197889c3cbc8d1321ff9b85143
17958
17959- Add new options [`--cs_fdo_instrument`](https://docs.bazel.build/versions/master/command-line-reference.html#flag--cs_fdo_instrument)
17960 and [`--cs_fdo_profile`](https://docs.bazel.build/versions/master/command-line-reference.html#flag--cs_fdo_profile)
17961 to support LLVM's context-sensitive FDO (CSFDO).
17962
17963- [Bazel C++ compile/link Starlark API](https://github.com/bazelbuild/bazel/issues/4570).
17964 Can be used with experimental flag `--experimental_cc_skylark_api_enabled_packages`.
17965
17966- `cc_toolchain.static_runtime_lib` and `cc_toolchain.dynamic_runtime_lib` are
17967 now exposed to Starlark.
17968
17969- C++ Starlark API for compilation and linking is no longer whitelisted
17970
17971- Incompatible flag `--incompatible_make_thinlto_command_lines_standalone` has
17972 been added. See https://github.com/bazelbuild/bazel/issues/6791 for details.
17973
17974- Feature `disable_whole_archive_for_static_lib` has been added to allow turning
17975 off legacy_whole_archive for individual targets.
17976 https://github.com/bazelbuild/bazel/issues/7362
17977
17978### Python
17979
17980- Fixed an issue where some `py_runtimes` were incompatible with using
17981 `--build_python_zip` ([#5104](https://github.com/bazelbuild/bazel/issues/5104)).
17982
17983### Starlark
17984
17985- The flag [`--incompatible_restrict_named_params`](https://github.com/bazelbuild/bazel/issues/8147)
17986 is added. [Buildifier](https://github.com/bazelbuild/buildtools) will soon be
17987 updated to automatically fix this in your code.
17988
17989- The flag [`--incompatible_no_kwargs_in_build_files`](https://github.com/bazelbuild/bazel/issues/8021)
17990 is added. It fixes a bug where the `**kwarg` notation was allowed in `BUILD`
17991 files.
17992
17993- The flag [`--incompatible_static_name_resolution_in_build_files`](https://github.com/bazelbuild/bazel/issues/8022)
17994 is added. This fixes a bug where invalid code was silently accepted.
17995
17996- The flag [`--incompatible_disallow_old_octal_notation`](https://github.com/bazelbuild/bazel/issues/8059)
17997 is added. It removes a deprecated notation for octal numbers.
17998 [Buildifier](https://github.com/bazelbuild/buildtools) can update your code
17999 automatically.
18000
18001- [`struct.to_proto()`](https://docs.bazel.build/versions/master/skylark/lib/struct.html#to_proto)
18002 can now convert dictionaries into proto3 text message.
18003
18004- The [`glob`](https://docs.bazel.build/versions/master/be/functions.html#glob)
18005 function has a new argument `allow_empty`. When set to `False` (this will be
18006 the default in the future), the glob fails when it doesn't match anything.
18007 Please explicitly set `allow_empty = True` to the globs that need it.
18008
18009### Windows
18010
18011- Windows, Python: the new `--incompatible_windows_escape_python_args` flag
18012 (`false` by default) builds `py_binary` and `py_test` targets with correct
18013 command line argument escaping. Similar to
18014 https://github.com/bazelbuild/bazel/issues/7486 but for `py_*` rules.
18015
18016### Other changes
18017
18018- cquery supports `--output=build`
18019
18020- Generated Go protobufs now depend on `//net/proto2/go:proto_gendeps` instead
18021 of `//net/proto2/go:proto`
18022
18023- Added `--incompatible_remove_binary_profile` to disable the old binary
18024 profiles. Instead use the JSON profile format:
18025 https://docs.bazel.build/versions/master/skylark/performance.html#json-profile
18026
18027- Introducing `--execution_log_binary_file` and `--execution_log_json_file`
18028 that output a stable sorted execution log. They will offer a stable
18029 replacement to `--experimental_execution_log_file`.
18030
18031- New platform_mappings ability to allow gradual flag to platforms/toolchains
18032 migration. See also https://github.com/bazelbuild/bazel/issues/6426
18033
18034- Added support for compiling against fully qualified `R` classes from
18035 `aar_import` dependencies.
18036
18037- `--tls_enabled` flag is deprecated. Please provide `grpcs` as a scheme in
18038 the URLs if TLS should be used for a remote connection.
18039
18040### Community
18041
18042- Alex Eagle gave a talk at ng-conf:
18043 [The Bazel Opt-in Preview is Here!](https://www.youtube.com/watch?v=J1lnp-nU4wM)
18044
18045- The latest release of
18046 [rules_haskell](https://github.com/tweag/rules_haskell/releases/tag/v0.9)
18047 includes many new improvements, including an initial Windows support.
18048
18049- The latest
18050 [Buildifier release](https://github.com/bazelbuild/buildtools/releases/tag/0.25.1)
18051 includes Windows binaries, as well as a JSON output for diagnostics.
18052
18053- Natan Silnitsky gave the talk
18054 [How to successfully migrate to Bazel from Maven or Gradle](https://www.youtube.com/watch?v=2UOFm-Cc_cU)
18055 at the Java Eastern Europe Conference.
18056
18057This release contains contributions from many people at Google, as well as
18058Benjamin Peterson, Brian Topping, clyang82, Dave Lee, George Gensure,, Greg,
18059Guro Bokum, Keith Smiley, Max Vorobev, Michael Hackner, Robert Brown, Robert
18060Sayre, Ryan Beasley, and Yannic.
18061
18062
18063## Release 0.25.3 (2019-05-23)
18064
18065```
18066Baseline: 03662462941953dad23af88693804b8b1d4430b9
18067
18068Cherry picks:
18069
18070 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
18071 Windows: fix native test wrapper's arg. escaping
18072 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
18073 Flip --incompatible_windows_escape_jvm_flags
18074 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
18075 Sort DirectoryNode children to ensure validity.
18076 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
18077 Conditionally use deprecated signature for initWithContentsOfURL
18078 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
18079 Add http_archive entries for testing with various JDK versions.
18080 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
18081 Now that ubuntu1804 uses JDK 11, remove explicit
18082 ubuntu1804_java11 tests.
18083 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
18084 Fix wrong name of ubuntu1804_javabase9 task.
18085 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
18086 Remove @executable_path/Frameworks from rpaths
18087 + 130f86ded1ce84f959f0b78c065211902faed546:
18088 Download stderr/stdout to a temporary FileOutErr
18089 + 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
18090 Release 0.25.0 (2019-05-01)
18091 + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
18092 Add implementation to removed methods to address
18093 https://github.com/bazelbuild/bazel/issues/8226
18094 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
18095 Remove unsupported cpu attribute from cc_toolchains.
18096 + cccced1e7fc7eaf4ba8f2c9d73dbac72b2686df9:
18097 Release 0.25.1 (2019-05-07)
18098 + 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
18099 Use package identifier instead of package name
18100 + 85a5a2bd569a5274950fc7327a044c395248c024:
18101 Configure @androidsdk//:emulator_x86 and :emulator_arm to point
18102 to the unified emulator binary
18103 + 6549ac5bba3eef2b1813b5a75757437383bf38f0:
18104 Release 0.25.2 (2019-05-10)
18105 + 0ff19c6d0adf3c0df94fff59ca3bd13cbcf99897:
18106 Fix StandaloneTestStrategy.appendStderr
18107```
18108
Bazel Release System48845c32019-05-23 15:21:53 -040018109Incompatible changes:
18110
18111 - Flip --incompatible_windows_escape_jvm_flags to true. See
18112 https://github.com/bazelbuild/bazel/issues/7486
18113
Klaus Aehlig63bf1152019-05-28 10:41:12 +020018114This 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 -040018115
Klaus Aehlig63bf1152019-05-28 10:41:12 +020018116## Release 0.25.2 (2019-05-10)
Bazel Release System6549ac52019-05-10 16:44:09 -040018117
Klaus Aehlig63bf1152019-05-28 10:41:12 +020018118```
18119Baseline: 03662462941953dad23af88693804b8b1d4430b9
Bazel Release System6549ac52019-05-10 16:44:09 -040018120
Klaus Aehlig63bf1152019-05-28 10:41:12 +020018121Cherry picks:
Bazel Release System6549ac52019-05-10 16:44:09 -040018122
Klaus Aehlig63bf1152019-05-28 10:41:12 +020018123 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
18124 Windows: fix native test wrapper's arg. escaping
18125 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
18126 Flip --incompatible_windows_escape_jvm_flags
18127 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
18128 Sort DirectoryNode children to ensure validity.
18129 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
18130 Conditionally use deprecated signature for initWithContentsOfURL
18131 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
18132 Add http_archive entries for testing with various JDK versions.
18133 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
18134 Now that ubuntu1804 uses JDK 11, remove explicit
18135 ubuntu1804_java11 tests.
18136 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
18137 Fix wrong name of ubuntu1804_javabase9 task.
18138 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
18139 Remove @executable_path/Frameworks from rpaths
18140 + 130f86ded1ce84f959f0b78c065211902faed546:
18141 Download stderr/stdout to a temporary FileOutErr
18142 + 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
18143 Release 0.25.0 (2019-05-01)
18144 + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
18145 Add implementation to removed methods to address
18146 https://github.com/bazelbuild/bazel/issues/8226
18147 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
18148 Remove unsupported cpu attribute from cc_toolchains.
18149 + cccced1e7fc7eaf4ba8f2c9d73dbac72b2686df9:
18150 Release 0.25.1 (2019-05-07)
18151 + 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
18152 Use package identifier instead of package name
18153 + 85a5a2bd569a5274950fc7327a044c395248c024:
18154 Configure @androidsdk//:emulator_x86 and :emulator_arm to point
18155 to the unified emulator binary
18156```
18157
18158* Add fix for https://github.com/bazelbuild/bazel/issues/8254
18159* Add fix for https://github.com/bazelbuild/bazel/issues/8280
18160
18161## Release 0.25.1 (2019-05-07)
18162
18163```
18164Baseline: 03662462941953dad23af88693804b8b1d4430b9
18165
18166Cherry picks:
18167
18168 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
18169 Windows: fix native test wrapper's arg. escaping
18170 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
18171 Flip --incompatible_windows_escape_jvm_flags
18172 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
18173 Sort DirectoryNode children to ensure validity.
18174 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
18175 Conditionally use deprecated signature for initWithContentsOfURL
18176 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
18177 Add http_archive entries for testing with various JDK versions.
18178 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
18179 Now that ubuntu1804 uses JDK 11, remove explicit
18180 ubuntu1804_java11 tests.
18181 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
18182 Fix wrong name of ubuntu1804_javabase9 task.
18183 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
18184 Remove @executable_path/Frameworks from rpaths
18185 + 130f86ded1ce84f959f0b78c065211902faed546:
18186 Download stderr/stdout to a temporary FileOutErr
18187 + 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
18188 Release 0.25.0 (2019-05-01)
18189 + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
18190 Add implementation to removed methods to address
18191 https://github.com/bazelbuild/bazel/issues/8226
18192 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
18193 Remove unsupported cpu attribute from cc_toolchains.
18194```
18195
18196Adding 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 -040018197
Bazel Release System2ab38662019-05-01 17:41:28 -040018198## Release 0.25.0 (2019-05-01)
18199
18200```
18201Baseline: 03662462941953dad23af88693804b8b1d4430b9
18202
18203Cherry picks:
18204
18205 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
18206 Windows: fix native test wrapper's arg. escaping
18207 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
18208 Flip --incompatible_windows_escape_jvm_flags
18209 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
18210 Sort DirectoryNode children to ensure validity.
18211 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
18212 Conditionally use deprecated signature for initWithContentsOfURL
18213 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
18214 Add http_archive entries for testing with various JDK versions.
18215 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
18216 Now that ubuntu1804 uses JDK 11, remove explicit
18217 ubuntu1804_java11 tests.
18218 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
18219 Fix wrong name of ubuntu1804_javabase9 task.
18220 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
18221 Remove @executable_path/Frameworks from rpaths
18222 + 130f86ded1ce84f959f0b78c065211902faed546:
18223 Download stderr/stdout to a temporary FileOutErr
18224```
18225
18226Incompatible changes:
18227
18228 - (Starlark rules) The legacy "py" provider can no longer be passed
18229 to or produced by native Python rules; use
18230 [PyInfo](https://docs.bazel.build/versions/master/skylark/lib/PyIn
18231 fo.html) instead. See
18232 [#7298](https://github.com/bazelbuild/bazel/issues/7298) for more
18233 information.
18234 - (Python rules) The `default_python_version` attribute of the
18235 `py_binary` and `py_test` rules has been renamed to
18236 `python_version`. Also, the `--force_python` flag has been
18237 renamed to `--python_version`. See
18238 [#7308](https://github.com/bazelbuild/bazel/issues/7308) for more
18239 information.
18240 - (Python rules) The python version now changes to whatever version
18241 is specified in a `py_binary` or `py_test`'s `python_version`
18242 attribute, instead of being forced to the value set by a command
18243 line flag. You can temporarily revert this change with
18244 `--incompatible_allow_python_version_transitions=false`. See
18245 [#7307](https://github.com/bazelbuild/bazel/issues/7307) for more
18246 information.
18247 - --incompatible_disable_third_party_license_checking` is enabled
18248 by default
18249 - Introduced --incompatible_use_python_toolchains, which supersedes
18250 --python_top/--python_path. See #7899 and #7375 for more
18251 information.
18252 - Python 3 is now the default Python version (for `py_binary` and
18253 `py_test` targets that don't specify the `python_version`
18254 attribute). Targets that are built for Python 3 will no longer
18255 have their output put in a separate `-py3` directory; instead
18256 there is now a separate `-py2` directory for Python 2 targets.
18257 See #7359 and #7593 for more information.
18258 - objc_library resource attributes are now disabled by default.
18259 Please migrate them to data instead. See
18260 https://github.com/bazelbuild/bazel/issues/7594 for more info.
18261 - Flip --incompatible_windows_escape_jvm_flags to true. See
18262 https://github.com/bazelbuild/bazel/issues/7486
18263
18264New features:
18265
18266 - genrules now support a $(RULEDIR) variable that resolves to the
18267 directory where the outputs of the rule are put.
18268 - Added --incompatible_windows_native_test_wrapper flag: enables
18269 using the Bash-less test wrapper on Windows. (No-op on other
18270 platforms.)
18271
18272Important changes:
18273
18274 - incompatible_use_jdk11_as_host_javabase: makes JDK 11 the default
18275 --host_javabase for remote jdk
18276 (https://github.com/bazelbuild/bazel/issues/7219)
18277 - Makes genquery somepath output deterministic.
18278 - Tristate attributes of native rules now reject True/False (use
18279 1/0)
18280 - Rollback of "Tristate attributes of native rules now reject
18281 True/False (use 1/0)"
18282 - Tristate attributes of native rules now reject True/False (use
18283 1/0)
18284 - Added -incompatible_do_not_split_linking_cmdline flag. See #7670
18285 - Tristate attributes of native rules now temporarily accept
18286 True/False again
18287 - `--incompatible_disable_legacy_crosstool_fields` has been flipped
18288 (https://github.com/bazelbuild/bazel/issues/6861)
18289 `--incompatible_disable_expand_if_all_available_in_flag_set` has
18290 been flipped (https://github.com/bazelbuild/bazel/issues/7008)
18291 - `--incompatible_disable_legacy_crosstool_fields` has been flipped
18292 (https://github.com/bazelbuild/bazel/issues/6861)
18293 `--incompatible_disable_expand_if_all_available_in_flag_set...
18294 RELNOTES: None.
18295 - --incompatible_no_transitive_loads is enabled by default.
18296 - Makes TreeArtifact deterministic.
18297 - --incompatible_no_transitive_loads is enabled by default.
18298 - Android NDK C++ toolchain is now configured in Starlark. This
18299 should be a backwards compatible change, but in case of bugs
18300 blame unknown commit.
18301 - `--incompatible_disable_legacy_crosstool_fields` has been flipped
18302 (https://github.com/bazelbuild/bazel/issues/6861)
18303 `--incompatible_disable_expand_if_all_available_in_flag_set` has
18304 been flipped (https://github.com/bazelbuild/bazel/issues/7008)
18305 - --incompatible_no_transitive_loads is enabled by default.
18306 - --incompatible_bzl_disallow_load_after_statement is enabled
18307 - Added `--incompatible_require_ctx_in_configure_features`, see
18308 https://github.com/bazelbuild/bazel/issues/7793 for details.
18309 - Flag --incompatible_merge_genfiles_directory is flipped. This
18310 removes the directory `bazel-genfiles` in favor of `bazel-bin`.
18311 - previously deprecated flag --experimental_remote_spawn_cache was
18312 removed
18313 - `--incompatible_disallow_load_labels_to_cross_package_boundaries`
18314 is enabled by default
18315 - Fix an issue where the Android resource processor did not surface
18316 errors from aapt2 compile and link actions.
18317 - --incompatible_no_attr_license is enabled by default
18318 - `--incompatible_disable_crosstool_file` has been flipped
18319 (https://github.com/bazelbuild/bazel/issues/7320)
18320 - A new flag `--incompatible_string_join_requires_strings` is
18321 introduced. The sequence argument of `string.join` must contain
18322 only string elements.
18323 - --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
18324 s_tree has been flipped
18325 - Incompatible flag `--incompatible_disable_legacy_cc_provider` has
18326 been flipped (see https://github.com/bazelbuild/bazel/issues/7036
18327 for details).
18328 - Don't drop the analysis cache when the same --define flag is set
18329 multiple times and the last value is the same (e.g. if the
18330 current invocation was run with "--define foo=bar" and the
18331 previous one was run with "--define foo=baz --define foo=bar").
18332 - The --incompatible_disable_genrule_cc_toolchain_dependency flag
18333 has been flipped (see
18334 https://github.com/bazelbuild/bazel/issues/6867 for details).
18335 - Incompatible change
18336 `--incompatible_remove_cpu_and_compiler_attributes_from_cc_toolcha
18337 in` has been flipped (see
18338 https://github.com/bazelbuild/bazel/issues/7075 for details).
18339 - --noexperimental_java_coverage is a no-op flag.
18340 - --experimental_java_coverage/--incompatible_java_coverage flag was
18341 removed. See #7425.
18342 - incompatible_use_toolchain_providers_in_java_common: pass
18343 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
18344 APIs instead of configured targets
18345 (https://github.com/bazelbuild/bazel/issues/7186.)
18346 - --incompatible_remote_symlinks has been flipped. The remote
18347 caching and execution protocol will now represent symlinks in
18348 outputs as such. See
18349 https://github.com/bazelbuild/bazel/issues/7917 for more details.
18350 - Bazel is now ~20MiB smaller, from unbundling the Android rules'
18351 runtime dependencies.
18352
18353This 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, ??.
18354
Bazel Release System7f8bc5f2019-04-02 12:26:16 -040018355## Release 0.24.1 (2019-04-02)
18356
18357```
18358Baseline: 235e76b0e756d05599a6cbe1663ff8e13df84a86
18359
18360Cherry picks:
18361
18362 + badd82e4c5cda7b3232481e1c63a5550ac898cd8:
18363 Automated rollback of commit
18364 1b4c37c38804559b5c1ade6f9c93501875e231b0.
18365 + 33e571939085dd158422e1b3503cfc738e0a3165:
18366 Fix the Python version select() mechanism to handle
18367 PY3-as-default
18368 + 56366ee3a73e2c92b2fa36a9840478202b9618ca:
18369 Set non-empty values for msvc_env_* when VC not installed
18370 + 22b3fbf4800113df51d603d943bd9eb9517ef904:
18371 Windows, test wrapper: fix broken integration test
18372 + f14d447cb56aee563f6e686b8f5b086a3bb55d47:
18373 Add whitelist file for starlark transitions
18374 + d99bc478db1f3414b4f6cd3dc14ca70aacf6b375:
18375 Update BUILD
18376 + 3529ad7ccf0c26dfb20a9d67b9d96de15f309f8b:
18377 Rename tools/function_transition_whitelist/BUILD to
18378 tools/whitelists/function_transition_whitelist/BUILD
18379 + de0612ad3ef7cc8c44069261befdeb0d15b97c10:
18380 Update bazel_toolchains to latest release and add toolchain
18381 config target for BuildKite CI (rbe_ubuntu1604)
18382 + 3e660ad178926648e8e10e2ee7a1a30b12f9b3d1:
18383 Automated rollback of commit
18384 087734009801242b83655efb863b2d5a761ae3dc.
18385 + 314cf1f9e4b332955c4800b2451db4e926c3e092:
18386 Pass -undefined dynamic_lookup to dynamic library linking
18387 actions on Mac
18388 + fc586a86b614667a21e5a01aea3544ac0338de78:
18389 Move cc_flags target into @bazel_tools//tools/cpp.
18390 + ea1703b30f9ac43a0c3262f5729c34658ed8d473:
18391 C++: Fix crash reported in #7721
18392 + 803801d1494f06f0ce977a1f2241ef6a4d85df09:
18393 Pass execution info to xml generating spawn. Fixes #7794
18394 + f092ec388a4b58788285b928c86f0f81561d4be4:
18395 Release 0.24.0 (2019-03-26)
18396 + c56c489119e6587975964c44ceb9e429ad950736:
18397 Wrap StatusRuntimeExceptions from GrpcRemoteCache
18398```
18399
18400Baseline: f092ec388a4b58788285b928c86f0f81561d4be4
18401
18402Cherrypicks:
18403+ c56c489119e6587975964c44ceb9e429ad950736: Wrap StatusRuntimeExceptions from GrpcRemoteCache
18404
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018405## Release 0.24.0 (2019-03-26)
Bazel Release System0e4525f2019-03-11 17:43:39 +010018406
18407```
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018408Baseline: 235e76b0e756d05599a6cbe1663ff8e13df84a86
Bazel Release System0e4525f2019-03-11 17:43:39 +010018409
18410Cherry picks:
18411
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018412 + badd82e4c5cda7b3232481e1c63a5550ac898cd8:
18413 Automated rollback of commit
18414 1b4c37c38804559b5c1ade6f9c93501875e231b0.
18415 + 33e571939085dd158422e1b3503cfc738e0a3165:
18416 Fix the Python version select() mechanism to handle
18417 PY3-as-default
Bazel Release System0e4525f2019-03-11 17:43:39 +010018418 + 56366ee3a73e2c92b2fa36a9840478202b9618ca:
18419 Set non-empty values for msvc_env_* when VC not installed
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018420 + 22b3fbf4800113df51d603d943bd9eb9517ef904:
18421 Windows, test wrapper: fix broken integration test
18422 + f14d447cb56aee563f6e686b8f5b086a3bb55d47:
18423 Add whitelist file for starlark transitions
18424 + d99bc478db1f3414b4f6cd3dc14ca70aacf6b375:
18425 Update BUILD
18426 + 3529ad7ccf0c26dfb20a9d67b9d96de15f309f8b:
18427 Rename tools/function_transition_whitelist/BUILD to
18428 tools/whitelists/function_transition_whitelist/BUILD
18429 + de0612ad3ef7cc8c44069261befdeb0d15b97c10:
18430 Update bazel_toolchains to latest release and add toolchain
18431 config target for BuildKite CI (rbe_ubuntu1604)
18432 + 3e660ad178926648e8e10e2ee7a1a30b12f9b3d1:
18433 Automated rollback of commit
18434 087734009801242b83655efb863b2d5a761ae3dc.
18435 + 314cf1f9e4b332955c4800b2451db4e926c3e092:
18436 Pass -undefined dynamic_lookup to dynamic library linking
18437 actions on Mac
18438 + fc586a86b614667a21e5a01aea3544ac0338de78:
18439 Move cc_flags target into @bazel_tools//tools/cpp.
18440 + ea1703b30f9ac43a0c3262f5729c34658ed8d473:
18441 C++: Fix crash reported in #7721
18442 + 803801d1494f06f0ce977a1f2241ef6a4d85df09:
18443 Pass execution info to xml generating spawn. Fixes #7794
Bazel Release System0e4525f2019-03-11 17:43:39 +010018444```
18445
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018446Incompatible changes:
Bazel Release System0e4525f2019-03-11 17:43:39 +010018447
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018448 - Added --incompatible_py3_is_default to test switching the default
18449 Python version to PY3 for py_binary/py_test targets that do not
18450 specify a version. See #7359.
18451 - //tools/cmd_line_differ has been renamed to //tools/aquery_differ
18452 & can now compare (in addition to command lines) inputs of
18453 actions given 2 aquery results.
18454 - java_(mutable_|)proto_library: removed strict_deps attribute.
18455 - The flag --incompatible_list_based_execution_strategy_selection
18456 was added and is used to ease the migration to the new style of
18457 specifying
18458 execution strategy selection and fallback behavior. The
18459 documentation for
18460 this flag is here: https://github.com/bazelbuild/bazel/issues/7480
18461 - Added --incompatible_py2_outputs_are_suffixed, for switching the
18462 bazel-bin symlink to point to Python 3 outputs instead of Python
18463 2 outputs. See
18464 [#7593](https://github.com/bazelbuild/bazel/issues/7593).
Bazel Release Systemf28ff222019-03-04 11:12:24 +010018465
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018466New features:
Bazel Release Systemf28ff222019-03-04 11:12:24 +010018467
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018468 - Make actions.args() object chainable.
18469 - Added --incompatible_windows_style_arg_escaping flag: enables
18470 correct subprocess argument escaping on Windows. (No-op on other
18471 platforms.)
18472 - Added --incompatible_windows_escape_jvm_flags flag: enables
18473 correct java_binary.jvm_flags and java_test.jvm_flags
18474 tokenization and escaping on Windows. (No-op on other platforms.)
Bazel Release Systemf28ff222019-03-04 11:12:24 +010018475
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018476Important changes:
Bazel Release Systemf28ff222019-03-04 11:12:24 +010018477
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018478 - Allow running aquery against the current state of Skyframe
18479 - Added support for the "navigation" resource directory to Android
18480 resource processing in Bazel. This is used by the Navigation
18481 Architecture Component.
18482 - --incompatible_disable_runtimes_filegroups was flipped
18483 (https://github.com/bazelbuild/bazel/issues/6942)
18484 - Incompatible flag `--incompatible_linkopts_in_user_link_flags`
18485 has been flipped (https://github.com/bazelbuild/bazel/issues/6826)
18486 - Incompatible flag `--incompatible_dont_emit_static_libgcc` has
18487 been flipped (https://github.com/bazelbuild/bazel/issues/6825)
18488 - --incompatible_disallow_filetype is enabled by default.
18489 - Fixed issue where exceptions and stacktraces were silently
18490 swallowed in the Android resource processing pipeline.
18491 - `--incompatible_disable_expand_if_all_available_in_flag_set` has
18492 been flipped (https://github.com/bazelbuild/bazel/issues/7008)
18493 - --incompatible_disallow_dict_plus is enabled by default
18494 - Adds --incompatible_disable_objc_library_resources to disable
18495 resource attributes in objc_library. Please migrate these
18496 attributes to `data` instead.
18497 - --incompatible_disallow_old_style_args_add is enabled by default.
18498 - Using the `native` module in BUILD files is deprecated. It will
18499 be forbidden with --incompatible_disallow_native_in_build_file.
18500 - (Python rules) PyRuntimeInfo is exposed to Starlark, making it
18501 possible for Starlark rules to depend on or imitate `py_runtime`.
18502 The `files` attribute of `py_runtime` is no longer mandatory.
18503 - incompatible_use_toolchain_providers_in_java_common: pass
18504 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
18505 APIs instead of configured
18506 targetshttps://github.com/bazelbuild/bazel/issues/7186.
18507 - is_using_fission crosstool variable is now exposed in all compile
18508 actions when fission is active (it used to be exposed only for
18509 linking actions).
18510 - incompatible_use_toolchain_providers_in_java_common: pass
18511 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
18512 APIs instead of configured
18513 targetshttps://github.com/bazelbuild/bazel/issues/7186.
18514 - `py_runtime` gains a `python_version` attribute for specifying
18515 whether it represents a Python 2 or 3 interpreter.
18516 - `--incompatible_java_coverage` is enabled by default.
18517 - Starlark rules can safely declare attributes named "licenses"
18518 - When using
18519 --incompatible_list_based_execution_strategy_selection, Bazel
18520 will use remote execution by default (if you specify
18521 --remote_executor), otherwise persistent workers (if the action
18522 supports it), otherwise sandboxed local execution (if the action
18523 and platform supports it) and at last unsandboxed local
18524 execution. The flags --spawn_strategy and --strategy continue to
18525 work as before - this only sets new defaults for the case where
18526 you don't specify these flags.
18527 - Set default value of --incompatible_remap_main_repo to true.
18528 - Set default value of --incompatible_remap_main_repo to true.
18529
18530This 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 +010018531
Bazel Release Systemed104862019-02-26 18:36:00 +010018532## Release 0.23.0 (2019-02-26)
18533
18534```
18535Baseline: 441fd75d0047f8a998d784c557736ab9075db893
18536
18537Cherry picks:
18538
18539 + 6ca7763669728253606578a56a205bca3ea883e9:
18540 Fix a typo
18541 + 2310b1c2c8b2f32db238f667747e7d5672480f4a:
18542 Ignore SIGCHLD in test setup script
18543 + f9eb1b56706f91063e9d080b850fa56964e77324:
18544 Complete channel initialization in the event loop
18545```
18546
18547Incompatible changes:
18548
18549 - //src:bazel uses the minimal embedded JDK, if you want to
18550 avoid the extra steps of minimizing the JDK, use //src:bazel-dev
18551 instead.
18552 - //src:bazel uses the minimal embedded JDK, if you want to
18553 avoid the extra steps of building bazel with the minimized JDK,
18554 use //src:bazel-dev
18555 instead.
18556 - The default value of --host_platform and --platforms will be
18557 changed to not be dependent on the configuration. This means
18558 that setting
18559 --cpu or --host_cpu will not affect the target or host platform.
18560 - Toolchain resolution for cc rules is now enabled via an
18561 incompatible flag, --incompatible_enable_cc_toolchain_resolution.
18562 The previous
18563 flag, --enabled_toolchain_types, is deprecated and will be
18564 removed.
18565 - java_(mutable_|)proto_library: removed strict_deps attribute.
18566 - Python rules will soon reject the legacy "py" struct provider
18567 (preview by enabling --incompatible_disallow_legacy_py_provider).
18568 Upgrade rules to use PyInfo instead. See
18569 [#7298](https://github.com/bazelbuild/bazel/issues/7298).
18570 - java_(mutable_|)proto_library: removed strict_deps attribute.
18571 - Two changes to native Python rules: 1) `default_python_version`
18572 and `--force_python` are deprecated; use `python_version` and
18573 `--python_version` respectively instead. You can preview the
18574 removal of the deprecated names with
18575 --incompatible_remove_old_python_version_api. See
18576 [#7308](https://github.com/bazelbuild/bazel/issues/7308). 2) The
18577 version flag will no longer override the declared version of a
18578 `py_binary` or `py_test` target. You can preview this new
18579 behavior with --incompatible_allow_python_version_transitions.
18580 See [#7307](https://github.com/bazelbuild/bazel/issues/7307).
18581
18582Important changes:
18583
18584 - There is a new flag available
18585 `--experimental_java_common_create_provider_enabled_packages`
18586 that acts as a whitelist for usages of
18587 `java_common.create_provider`. The constructor will be deprecated
18588 in Bazel 0.23.
18589 - [#7024] Allow chaining of the same function type in aquery.
18590 - Introduces --local_{ram,cpu}_resources, which will take the place
18591 of --local_resources.
18592 - [#6930] Add documentation for the aquery command.
18593 - Incompatible flag `--incompatible_dont_emit_static_libgcc` has
18594 been flipped (https://github.com/bazelbuild/bazel/issues/6825)
18595 - Incompatible flag `--incompatible_linkopts_in_user_link_flags`
18596 has been flipped (https://github.com/bazelbuild/bazel/issues/6826)
18597 - Flag --incompatible_range_type is removed.
18598 - Flag --incompatible_disallow_slash_operator is removed.
18599 - Flag --incompatible_disallow_conflicting_providers is removed.
18600 - `--incompatible_disallow_data_transition` is now enabled by
18601 default
18602 - Allow inclusion of param files in aquery output
18603 - [#6985] Add test to verify aquery's behavior for Cpp action
18604 templates.
18605 - --incompatible_require_feature_configuration_for_pic was flipped
18606 (https://github.com/bazelbuild/bazel/issues/7007).
18607 - Also ignore module-info.class in multi-version Jars
18608 - objc_framework has been deleted. Please refer to
18609 apple_dynamic_framework_import and apple_static_framework_import
18610 rules available in
18611 [rules_apple](https://github.com/bazelbuild/rules_apple/blob/maste
18612 r/doc/rules-general.md)
18613 - --test_sharding_strategy=experimental_heuristic is no more
18614 - objc_bundle_library has been removed. Please migrate to
18615 rules_apple's
18616 [apple_resource_bundle](https://github.com/bazelbuild/rules_apple/
18617 blob/master/doc/rules-resources.md#apple_resource_bundle).
18618 - You can now use the attribute `aapt_version` or the flag
18619 `--android_aapt` to pick the aapt version for android_local_test
18620 tests
18621 - In --keep_going mode, Bazel now correctly returns a non-zero exit
18622 code when encountering a package loading error during target
18623 pattern parsing of patterns like "//foo:all" and "//foo/...".
18624 - The default value for --incompatible_strict_action_env has been
18625 flipped to 'false' again, as we discovered breakages for local
18626 execution users. We'll need some more time to figure out the best
18627 way to make this work for local and remote execution. Follow
18628 https://github.com/bazelbuild/bazel/issues/7026 for more details.
18629 - Locally-executed spawns tagged "no-cache" no longer upload their
18630 outputs to the remote cache.
18631 - Introduces --host_compiler flag to allow setting a compiler for
18632 host compilation when --host_crosstool_top is specified.
18633 - --incompatible_expand_directories is enabled by default
18634 - [aquery] Handle the case of aspect-on-aspect.
18635 - Fixed a longstanding bug in the http remote cache where the value
18636 passed to
18637 --remote_timeout would be interpreted as milliseconds instead of
18638 seconds.
18639 - Enable --incompatible_use_jdk10_as_host_javabase by default, see
18640 https://github.com/bazelbuild/bazel/issues/6661
18641 - Add --incompatible_use_jdk11_as_host_javabase: makes JDK 11 the
18642 default --host_javabase for remote jdk
18643 (https://github.com/bazelbuild/bazel/issues/7219)
18644 - Highlight TreeArtifact in aquery text output.
18645 - Locally-executed spawns tagged "no-cache" no longer upload their
18646 outputs to the remote cache.
18647 - java_common APIs now accept JavaToolchainInfo and JavaRuntimeInfo
18648 instead of configured targets for java_toolchain and java_runtime
18649 - cc_common.create_cc_toolchain_config_info is stable and available
18650 for production use
18651 - incompatible_use_toolchain_providers_in_java_common: pass
18652 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
18653 APIs instead of configured targets
18654 (https://github.com/bazelbuild/bazel/issues/7186)
18655 - --incompatible_strict_argument_ordering is enabled by default.
18656 - Bazel now supports reading cache hits from a repository cache,
18657 even if it doesn't have write access to the cache.
18658 - Adding arm64e to OSX CROSSTOOL.
18659 - Ignore package-level licenses on config_setting.
18660 - Add an optional output_source_jar parameter to java_common.compile
18661 - --incompatible_disable_objc_provider_resources is now enabled by
18662 default. This disables ObjcProvider's fields related to resource
18663 processing.
18664 - Explicitly set https.protocols and exclude TLSv1.3.
18665 - Bazel now validates that JAVA_HOME points to a valid JDK and
18666 falls back to auto-detection by looking up the path of `javac`.
18667 - Upgrade the embedded JDK version to 11.0.2.
18668 - Added --incompatible_disable_crosstool_file
18669 (https://github.com/bazelbuild/bazel/issues/7320)
18670 - --incompatible_disable_objc_provider_resources is now enabled by
18671 default. This disables ObjcProvider's fields related to resource
18672 processing.
18673 - --incompatible_disable_tools_defaults_package has been flipped.
18674 - For tests that do not generate a test.xml, Bazel now uses a
18675 separate action to generate one; this results in minor
18676 differences in the generated test.xml, and makes the generation
18677 more reliable overall.
18678 - incompatible_generate_javacommon_source_jar: java_common.compile
18679 now always generates a source jar, see
18680 https://github.com/bazelbuild/bazel/issues/5824.
18681 - New incompatible flag
18682 --incompatible_disallow_struct_provider_syntax removes the
18683 ability for rule implementation functions to return struct. Such
18684 functions should return a list of providers instead. Migration
18685 tracking: https://github.com/bazelbuild/bazel/issues/7347
18686
18687This 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.
18688
Bazel Release System2f82b332019-01-28 13:54:53 +010018689## Release 0.22.0 (2019-01-28)
18690
18691```
18692Baseline: deb028e3fb30b4e2953df16f35ab1f55a08ea8fa
18693
18694Cherry picks:
18695
18696 + a3a5975dca3ad04c19dc7d063fcf490a8cd612fd:
18697 Fix a race condition in remote cache
18698 + b8d0e1b05c225a4b943ce498194d069d18093d9a:
18699 Use a new GitHub token and KMS key for the release process.
18700 + 3759e3895503aa2bbd6943c5b568b8c050b9448f:
18701 remote: fix unexpected IO error (not a directory)
18702 + 4473bb1a9ec4282aa8497b86580d68e82415df4a:
18703 Fix a race condition in Bazel's Windows process management.
18704 + 9137fb940886aa516f32ca8a36feccedb545c99b:
18705 undo flag flip of --incompatible_strict_action_env
18706 + 12ab12e80ad1c9a3510aa4bbfdf3fddafc0bca00:
18707 Revert "Enabling Bazel to generate input symlinks as defined by
18708 RE AP?
18709 + 6345c747d8cb1819e70c853becadbf8a989decf1:
18710 Automated rollback of commit
18711 30536baa4a410d8c0a7adab5cd58cd8a2ac7e46c.
18712```
18713
Bazel Release System2f82b332019-01-28 13:54:53 +010018714
Bazel Release System2f82b332019-01-28 13:54:53 +010018715
Klaus Aehligcb59bd22019-01-28 14:20:37 +010018716The Bazel team is happy to announce a new release of Bazel,
18717[Bazel 0.22.0](https://github.com/bazelbuild/bazel/releases/tag/0.22.0).
Bazel Release System2f82b332019-01-28 13:54:53 +010018718
Klaus Aehligcb59bd22019-01-28 14:20:37 +010018719Baseline: deb028e3fb30b4e2953df16f35ab1f55a08ea8fa
Bazel Release System2f82b332019-01-28 13:54:53 +010018720
Klaus Aehligcb59bd22019-01-28 14:20:37 +010018721### Breaking changes
18722
18723- [`--incompatible_string_is_not_iterable`](https://github.com/bazelbuild/bazel/issues/5830)
18724
18725### Upcoming changes
18726
18727This release is a [migration window for the following changes](https://github.com/bazelbuild/bazel/labels/migration-0.22).
18728
18729- [`--incompatible_disallow_data_transition`](https://github.com/bazelbuild/bazel/issues/6153)
18730- [`--incompatible_dont_emit_static_libgcc`](https://github.com/bazelbuild/bazel/issues/6825)
18731- [`--incompatible_linkopts_in_user_link_flags`](https://github.com/bazelbuild/bazel/issues/6826)
18732- [`--incompatible_disable_legacy_crosstool_fields`](https://github.com/bazelbuild/bazel/issues/6861)
18733- [`--incompatible_use_aapt2_by_default`](https://github.com/bazelbuild/bazel/issues/6907)
18734- [`--incompatible_disable_runtimes_filegroups`](https://github.com/bazelbuild/bazel/issues/6942)
18735- [`--incompatible_disable_legacy_cc_provider`](https://github.com/bazelbuild/bazel/issues/7036)
18736- [`--incompatible_require_feature_configuration_for_pic`](https://github.com/bazelbuild/bazel/issues/7007)
18737- [`--incompatible_disable_expand_if_all_available_in_flag_set`](https://github.com/bazelbuild/bazel/issues/7008)
18738- [`--incompatible_disable_legacy_proto_provider`](https://github.com/bazelbuild/bazel/issues/7152)
18739- [`--incompatible_disable_proto_source_root`](https://github.com/bazelbuild/bazel/issues/7153)
18740
18741### General Changes
18742
18743- https://docs.bazel.build now supports versioned
18744 documentation. Use the selector at the top of the navigation bar
18745 to switch between documentation for different Bazel releases.
18746
18747- set `projectId` in all `PublishBuildToolEventStreamRequest`
18748
18749### Android
18750
18751- mobile-install now works with aapt2. Try it out with `bazel
18752 mobile-install --android_aapt=aapt2 //my:target`
18753
18754- Fixed issues with mobile-install v1 when deploying to Android 9 Pie
18755 devices. https://github.com/bazelbuild/bazel/issues/6814
18756
18757- Fixed issue where error messages from Android manifest merging
18758 actions were not fully propagated.
18759
18760- New incompatible change flag `--incompatible_use_aapt2_by_default`
18761 for defaulting to aapt2 in Android builds has been added. To build with
18762 aapt2 today, pass the flag
18763 `--incompatible_use_aapt2_by_default=true` or
18764 `--android_aapt=aapt2`, or set the `aapt_version` to `aapt2` on
18765 your `android_binary` or `android_local_test` target.
18766
18767- Fixed mobile-install v1 error when installing an app with native
18768 libraries onto an Android 9 (Pie) device. See
18769 https://github.com/bazelbuild/examples/issues/77
18770
18771- Fixed a mobile-install bug where `arm64-v8a` libraries were not
18772 deployed correctly on `arm64` devices. This was done by enabling
18773 incremental native lib deployment by default. A previously
18774 undocumented `--android_incremental_native_libs` flag is removed,
18775 and is now the regular behavior. See
18776 https://github.com/bazelbuild/bazel/issues/2239
18777
18778### Apple
18779
18780- The `objc_bundle` rule has been removed. Please migrate to rules_apple's
18781 [apple_bundle_import](https://github.com/bazelbuild/rules_apple/bl
18782 ob/master/doc/rules-resources.md#apple_bundle_import).
18783
18784- The `apple_stub_binary` rule has been deleted.
18785
18786- The `--xbinary_fdo` option that passes xbinary profiles has been added.
18787
18788### C++
18789
18790- `cc_toolchain.(static|dynamic)_runtime_libs` attributes are now optional
18791
18792### Packaging
18793
18794- `build_tar.py` in `tools/build_defs/pkg` now supports a JSON manifest
18795 that can be used to add paths that have symbols that can't be
18796 specified via the command line
18797
18798### Query
18799
18800- Filtering of inputs, outputs, and mnemonic filtering have been added to
18801 aquery.
18802
18803- The aquery and cquery query2 tests have been open-sourced.
18804
18805- The Bazel query how-to recommends ":*" instead of ":all", because "all" might
18806 be the name of a target.
18807
18808### Testing
18809
18810- The `--runs_per_test` has been placed in the TESTING documentation category.
18811
18812- A a clarifying message has been added to test case summary output when all
18813 test cases pass but the target fails.
18814
18815### Contributors
18816
18817This release contains contributions from many people at Google, as well as
18818Benjamin Peterson, Dave Lee, George Gensure, Gert van Dijk, Gustavo Storti
18819Salibi, Keith Smiley, Loo Rong Jie, Lukasz Tekieli, Mikhail Mazurskiy, Thi,
18820Travis Cline, Vladimir Chebotarev, and Yannic.
Bazel Release System2f82b332019-01-28 13:54:53 +010018821
Bazel Release Systema189d422018-12-19 13:53:11 +010018822## Release 0.21.0 (2018-12-19)
18823
18824```
18825Baseline: cb9b2afbba3f8d3a1db8bf68e65d06f1b36902f5
18826
18827Cherry picks:
18828
18829 + 12b96466ee0d6ab83f7d4cd24be110bb5021281d:
18830 Windows, test wrapper: rename the associated flag
18831 + 7fc967c4d6435de2bb4e34aac00ca2e499f55fca:
18832 Use a fixed thread pool in ByteStreamBuildEventArtifactUploader
18833 + 798b9a989aa793655d29504edb5fb85f3143db84:
18834 Add --build_event_upload_max_threads option
18835 + dbe05df23ccf4c919379e0294e0701fd3f66739c:
18836 Update the version of skylib bundled in the distfile
18837```
18838
18839Incompatible changes:
18840
18841 - The --experimental_stl command line option is removed.
18842 - aquery defaults to human readable output format.
18843
18844New features:
18845
18846 - repository_ctx.download and repository_ctx.download_and_extract
18847 now return a struct.
18848 - Android Databinding v2 can be enabled with
18849 --experimental_android_databinding_v2.
18850
18851Important changes:
18852
18853 - The deprecated and unmaintained Docker rules in
18854 tools/build_defs/docker were removed. Please use
18855 https://github.com/bazelbuild/rules_docker instead.
18856 - The new --upload_query_output_using_bep query/cquery/aquery flag
18857 causes query outputs to be uploaded via BEP.
18858 - New incompatible flag --incompatible_strict_argument_ordering
18859 - --strict_android_deps and --strict_java_deps were renamed to
18860 --experimental_strict_java_deps
18861 - config_settings that select on "compiler" value instead of values
18862 = {"compiler" : "x"} should use flag_values =
18863 {"@bazel_tools//tools/cpp:compiler": "x"}.
18864 - The new --upload_query_output_using_bep query/cquery/aquery flag
18865 causes query outputs to be uploaded via BEP.
18866 - Turn on --incompatible_disable_sysroot_from_configuration
18867 - We revamped our Android with Bazel tutorial! Check it out
18868 [here](https://docs.bazel.build/versions/master/tutorial/android-a
18869 pp.html).
18870 - --incompatible_disallow_slash_operator is now on by default
18871 - Enable --experimental_check_desugar_deps by default. This flag
18872 rules out several types of invalid Android builds at compile-time.
18873 - The --max_config_changes_to_show option lists the names of
18874 options which
18875 have changed and thus caused the analysis cache to be dropped.
18876 - The --experimental_strict_action_env option has been renamed to
18877 --incompatible_strict_action_env and is now on by default. This
18878 means Bazel will no longer use the client's PATH and
18879 LD_LIBRARY_PATH environmental variables in the default action
18880 environment. If the old behavior is desired, pass
18881 --action_env=PATH and --action_env=LD_LIBRARY_PATH.
18882 --noincompatible_strict_action_env will also temporarily restore
18883 the old behavior. However, as --action_env is a more general and
18884 explicit way to pass client environmental variables into actions,
18885 --noincompatible_strict_action_env will eventually be deprecated
18886 and removed. See #6648 for more details.
18887 - XCRUNWRAPPER_LABEL has been removed. If you used this value
18888 before, please use @bazel_tools//tools/objc:xcrunwrapper instead.
18889 - --incompatible_static_name_resolution is no unable by default
18890 - We will phase out --genrule_strategy in favor of
18891 --strategy=Genrule=<value> (for genrules) or
18892 --spawn_strategy=<value> (for all actions).
18893 - --incompatible_package_name_is_a_function is now enabled by
18894 default
18895 - Dynamic execution is now available with
18896 --experimental_spawn_strategy. Dynamic execution allows a build
18897 action to run locally and remotely simultaneously, and Bazel
18898 picks the fastest action. This provides the best of both worlds:
18899 faster clean builds than pure local builds, and faster
18900 incremental builds than pure remote builds.
18901 - --incompatible_package_name_is_a_function is now enabled by
18902 default
18903 - New incompatible flag --incompatible_merge_genfiles_directory
18904 - grpc log now logs updateActionResult
18905 - CppConfiguration doesn't do package loading anymore. That means:
18906 * it's no longer needed to have C++ toolchain available when
18907 building non-C++ projects
18908 * bazel will not analyze C++ toolchain when not needed -> speedup
18909 ~2s on bazel startup when C++ rules using hermetic toolchain are
18910 not loaded
18911 - --incompatible_package_name_is_a_fu...
18912
18913This 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.
18914
Bazel Release System85378562018-11-30 15:34:16 +010018915## Release 0.20.0 (2018-11-30)
18916
18917```
18918Baseline: 7bf7f031c332dc483257248d1c1f98ad75bbc83b
18919
18920Cherry picks:
18921
18922 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
18923 update bazel-toolchains pin to latest release Part of changes to
18924 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
18925 before 0.17.0 are not compatible with bazel 0.19.0 or above.
18926 + 241f28d05424db2d11ee245dc856b992258505e3:
18927 Revert "Toggle --incompatible_disable_late_bound_option_defaults
18928 flag."
18929 + f7e5aef145c33968f658eb2260e25630dc41cc67:
18930 Add cc_toolchain targets for the new entries in the default
18931 cc_toolchain_suite.
18932 + d2920e32ec7f3f8551a693d33c17b19f1b802145:
18933 Revert "WindowsFileSystem: open files with delete-sharing"
18934```
18935
18936[Breaking changes in 0.20](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Abreaking-change-0.20)
18937
18938 - [--incompatible_remove_native_http_archive](https://github.com/bazelbuild/bazel/issues/6570).
18939 - [--incompatible_remove_native_git_repository](https://github.com/bazelbuild/bazel/issues/6569).
18940 - [--incompatible_disable_cc_toolchain_label_from_crosstool_proto](https://github.com/bazelbuild/bazel/issues/6434).
18941 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6384).
18942 - [--incompatible_disable_cc_configuration_make_variables](https://github.com/bazelbuild/bazel/issues/6381).
18943 - [--incompatible_disallow_conflicting_providers](https://github.com/bazelbuild/bazel/issues/5902).
18944 - [--incompatible_range_type](https://github.com/bazelbuild/bazel/issues/5264).
18945
18946[0.20 is a migration window for the following changes](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Amigration-0.20)
18947
18948 - [--incompatible_use_jdk10_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6661)
18949 - [--incompatible_use_remotejdk_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6656)
18950 - [--incompatible_disable_sysroot_from_configuration](https://github.com/bazelbuild/bazel/issues/6565)
18951 - [--incompatible_provide_cc_toolchain_info_from_cc_toolchain_suite](https://github.com/bazelbuild/bazel/issues/6537)
18952 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6383)
18953 - [--incompatible_package_name_is_a_function](https://github.com/bazelbuild/bazel/issues/5827)
18954
18955[Breaking changes in the next release (0.21)](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Abreaking-change-0.21)
18956
18957 - [--incompatible_use_jdk10_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6661)
18958 - [--incompatible_use_remotejdk_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6656)
18959 - [--incompatible_disable_sysroot_from_configuration](https://github.com/bazelbuild/bazel/issues/6565)
18960 - [--incompatible_provide_cc_toolchain_info_from_cc_toolchain_suite](https://github.com/bazelbuild/bazel/issues/6537)
18961 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6383)
18962 - [--incompatible_disallow_data_transition](https://github.com/bazelbuild/bazel/issues/6153)
18963 - [--incompatible_package_name_is_a_function](https://github.com/bazelbuild/bazel/issues/5827)
18964 - [--incompatible_disallow_slash_operator](https://github.com/bazelbuild/bazel/issues/5823)
18965 - [--incompatible_static_name_resolution](https://github.com/bazelbuild/bazel/issues/5637)
18966
18967Incompatible changes:
18968
18969 - the --experimental_no_dotd_scanning_with_modules command line
18970 argument is not supported anymore.
18971 - The --prune_cpp_modules command line option is not supported
18972 anymore.
18973 - the --experimental_prune_cpp_input_discovery command line option
18974 is not supported anymore.
18975
18976New features:
18977
18978 - Added support for Android NDK r18.
18979
18980Important changes:
18981
18982 - The 'default' parameter of attr.output and attr.output_list is
18983 removed. This is controlled by
18984 --incompatible_no_output_attr_default
18985 - A number of platform-related Starlark APIs which were previously
18986 marked "experimental" are now disabled by default, and may be
18987 enabled via --experimental_platforms_api
18988 - Make legacy-test-support ("legacy_test-<api-level>") from
18989 android_sdk_repository neverlink. The legacy test support
18990 libraries shouldn't be built into test binaries. To make them
18991 available at runtime, developers should declare them via
18992 uses-library:
18993 https://developer.android.com/training/testing/set-up-project#andr
18994 oid-test-base
18995 - query remote server Capabilities (per REAPI v2)
18996 - CppRules: All cc_toolchains depended on from
18997 cc_toolchain_suite.toolchains are now analyzed when not using
18998 platforms in order to select the right cc_toolchain.
18999 - removed obsolete --explicit_jre_deps flag.
19000 - Incompatible flag
19001 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
19002 flipped.
19003 - Improve error messaging when unsupport proguard options are
19004 specified at the library level.
19005 - Incompatible flag
19006 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
19007 flipped.
19008 - Incompatible flag
19009 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
19010 flipped.
19011 - The --incompatible_disable_late_bound_option_defaults flag has
19012 been flipped (#6384)
19013 - Incompatible flag
19014 --incompatible_disable_legacy_flags_cc_toolchain_api was flipped
19015 (#6434)
19016 - Fixed issue where ctx.resolve_command created conflicting
19017 intermediate files when resolve_command was called multiple times
19018 within the same rule invocation with a long command attribute.
19019 - Incompatible flag
19020 --incompatible_disable_cc_configuration_make_variables was
19021 flipped (#6381)
19022 - If the --javabase flag is unset, it Bazel locates a JDK using
19023 the JAVA_HOME environment variable and searching the PATH. If no
19024 JDK is found --javabase will be empty, and builds targeting Java
19025 will not
19026 be supported. Previously Bazel would fall back to using the
19027 embedded
19028 JDK as a --javabase, but this is no longer default behaviour. A
19029 JDK should
19030 be explicitly installed instead to enable Java development
19031 - Bazel will now shut down when idle for 5 minutes and the system
19032 is low on RAM (linux only).
19033 - CROSSTOOL file is now read from the package of cc_toolchain, not
19034 from
19035 the package of cc_toolchain_suite. This is not expected to break
19036 anybody since
19037 cc_toolchain_suite and cc_toolchain are commonly in the same
19038 package.
19039 - All overrides of Starlark's ctx.new_file function are now
19040 deprecated.
19041 Try the `--incompatible_new_actions_api` flag to ensure your
19042 code is forward-compatible.
19043 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
19044 was flipped.
19045 - Introduce --(no)shutdown_on_low_sys_mem startup flag to toggle
19046 idle low-memory shutdown, disabled by default.
19047 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
19048 was flipped.
19049 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
19050 was flipped.
19051 - CppRules: All cc_toolchains depended on from
19052 cc_toolchain_suite.toolchains are now analyzed when not using
19053 platforms in order to select the right cc_toolchain.
19054 - The function `attr.license` is deprecated and will be removed.
19055 It can be disabled now with `--incompatible_no_attr_license`.
19056 - `range()` function now returns a lazy value
19057 (`--incompatible_range_type` is now set by default).
19058 - The code coverage report now includes the actual paths to header
19059 files instead of the ugly,
19060 Bazel generated, virtual includes path.
19061 - `--incompatible_disallow_conflicting_providers` has been switched
19062 to true
19063 - Add new flag `--incompatible_disable_systool_from_configration` to
19064 disable loading the systool from CppConfiguration.
19065 - Add new flag `--incompatible_disable_sysroot_from_configuration`
19066 to
19067 disable loading the systool from CppConfiguration.
19068 - Sorting remote Platform properties for remote execution. May
19069 affect cache keys!
19070 - Use different server log files per Bazel server process; java.log
19071 is
19072 now a symlink to the latest log.
19073
19074This 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>.
19075
Bazel Release Systemcb3e2982018-11-19 11:19:38 -050019076## Release 0.19.2 (2018-11-19)
19077
19078```
19079Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
19080
19081Cherry picks:
19082
19083 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
19084 Fix the "nojava" platform and enable full presubmit checks for
19085 the various JDK platforms now that we have enough GCE resources.
19086 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
19087 Add openjdk_linux_archive java_toolchain for nojava platform.
19088 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
19089 Automated rollback of commit
19090 19a401c38e30ebc0879925a5caedcbe43de0028f.
19091 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
19092 Windows: Fix Precondition check for addDynamicInputLinkOptions
19093 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
19094 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
19095 it exists.
19096 + e025726006236520f7e91e196b9e7f139e0af5f4:
19097 Update turbine
19098 + 5f312dd1678878fb7563eae0cd184f2270346352:
19099 Fix event id for action_completed BEP events
19100 + f0c844c77a2406518c4e75c49188390d5e281d3d:
19101 Release 0.19.0 (2018-10-29)
19102 + c3fb1db9e4e817e8a911f5b347b30f2674a82f7c:
19103 Do not use CROSSTOOL to select cc_toolchain
19104 + 8e280838e8896a6b5eb5421fda435b96b6f8de60:
19105 Windows Add tests for msys gcc toolchain and mingw gcc toolchain
19106 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
19107 update bazel-toolchains pin to latest release Part of changes to
19108 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
19109 before 0.17.0 are not compatible with bazel 0.19.0 or above.
19110 + eb2af0f699350ad187048bf814a95af23f562c77:
19111 Release 0.19.1 (2018-11-12)
19112 + 6bc452874ddff69cbf7f66186238032283f1195f:
19113 Also update cc_toolchain.toolchain_identifier when
19114 CC_TOOLCHAIN_NAME is set
19115 + f7e5aef145c33968f658eb2260e25630dc41cc67:
19116 Add cc_toolchain targets for the new entries in the default
19117 cc_toolchain_suite.
19118 + 683c302129b66a8999f986be5ae7e642707e978c:
19119 Read the CROSSTOOL from the package of the current cc_toolchain,
19120 not from --crosstool_top
19121```
19122
19123- Fixes regression #6662, by fixing tools/cpp/BUILD
19124- Fixes regression #6665, by setting the toolchain identifier.
19125- CROSSTOOL file is now read from the package of cc_toolchain, not from the
19126 package of cc_toolchain_suite. This is not expected to break anybody since
19127 cc_toolchain_suite and cc_toolchain are commonly in the same package.
19128
Bazel Release System684f1092018-11-12 10:26:58 -050019129## Release 0.19.1 (2018-11-12)
19130
19131```
19132Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
19133
19134Cherry picks:
19135
19136 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
19137 Fix the "nojava" platform and enable full presubmit checks for
19138 the various JDK platforms now that we have enough GCE resources.
19139 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
19140 Add openjdk_linux_archive java_toolchain for nojava platform.
19141 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
19142 Automated rollback of commit
19143 19a401c38e30ebc0879925a5caedcbe43de0028f.
19144 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
19145 Windows: Fix Precondition check for addDynamicInputLinkOptions
19146 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
19147 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
19148 it exists.
19149 + e025726006236520f7e91e196b9e7f139e0af5f4:
19150 Update turbine
19151 + 5f312dd1678878fb7563eae0cd184f2270346352:
19152 Fix event id for action_completed BEP events
19153 + f0c844c77a2406518c4e75c49188390d5e281d3d:
19154 Release 0.19.0 (2018-10-29)
19155 + c3fb1db9e4e817e8a911f5b347b30f2674a82f7c:
19156 Do not use CROSSTOOL to select cc_toolchain
19157 + 8e280838e8896a6b5eb5421fda435b96b6f8de60:
19158 Windows Add tests for msys gcc toolchain and mingw gcc toolchain
19159 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
19160 update bazel-toolchains pin to latest release Part of changes to
19161 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
19162 before 0.17.0 are not compatible with bazel 0.19.0 or above.
19163```
19164
19165Important changes:
19166- Fix regression #6610, which prevents using the MINGW compiler on Windows.
19167
Klaus Aehlig5e5832c2018-10-31 15:45:53 +010019168## Release 0.19.0 (2018-10-29)
19169
19170```
19171Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
19172
19173Cherry picks:
19174
19175 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
19176 Fix the "nojava" platform and enable full presubmit checks for
19177 the various JDK platforms now that we have enough GCE resources.
19178 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
19179 Add openjdk_linux_archive java_toolchain for nojava platform.
19180 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
19181 Automated rollback of commit
19182 19a401c38e30ebc0879925a5caedcbe43de0028f.
19183 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
19184 Windows: Fix Precondition check for addDynamicInputLinkOptions
19185 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
19186 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
19187 it exists.
19188 + e025726006236520f7e91e196b9e7f139e0af5f4:
19189 Update turbine
19190 + 5f312dd1678878fb7563eae0cd184f2270346352:
19191 Fix event id for action_completed BEP events
19192```
19193
19194The Bazel team is happy to announce a new version of Bazel, [Bazel 0.19](https://github.com/bazelbuild/bazel/releases/tag/0.19.0).
19195
19196This document lists the major changes since Bazel 0.18.
19197
19198General changes
19199---------------
19200
19201* The `--incompatible_expand_directories` flag will automatically expand directories in command lines. Design doc: https://docs.google.com/document/d/11agWFiOUiz2htBLj6swPTob5z78TrCxm8DQE4uJLOwM
19202
19203* 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.
19204
19205Android
19206-------
19207
19208* Fixed missing debug symbols when building native code with `--compilation_mode=dbg` that target Android ARM architectures by adding the `-g` flag.
19209
19210C++
19211---
19212
19213* 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.
19214
19215* 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.
19216
19217* :cc_binary link action no longer hardcodes `-static-libgcc` for toolchains that support embedded runtimes (guarded by `--experimental_dont_emit_static_libgcc` temporarily).
19218
19219* The flag `--experimental_enable_cc_configuration_make_variables` is removed, use `--incompatible_disable_cc_configuration_make_variables` instead.
19220
19221Java
19222----
19223
19224* 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.
19225
19226Code Coverage
19227-------------
19228
19229* LcovMerger was renamed to CoverageOutputGenerator.
19230
19231* Faster coverage collection for gcc compiled C++ code can now be tested by enabling it with `--experimental_cc_coverage`.
19232
19233Other Changes
19234-------------
19235
19236* Add `--apple_compiler` and `--apple_grte_top options`. These provide the equivalent of --compiler / --grte_top for the toolchain configured in --apple_crosstool_top.
19237
19238* There is now a `same_pkg_direct_rdeps` query function. See the query documentation for more details.
19239
19240* Propagating remote errors to the user even if `--verbose_failures=false` is set.
19241
19242* Add number of configured targets to analysis phase status output.
19243
19244* 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.
19245
19246Future Changes
19247--------------
19248
19249* 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:
19250 * [`--incompatible_disable_late_bound_option_defaults`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-late-bound-option-defaults): #6384
19251 * [`--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
19252 * [`--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
19253 * [`--incompatible_disable_cc_configuration_make_variables`](https://github.com/bazelbuild/bazel/issues/6381): #6381
19254 * [`--incompatible_disable_legacy_cpp_toolchain_skylark_api`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-legacy-c-configuration-api): #6380
19255 * [`incompatible_disable_legacy_flags_cc_toolchain_api`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-legacy-c-toolchain-api): #6434
19256
19257* 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.
19258
19259Thank you to our contributors!
19260------------------------------
19261
19262This 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
19263
19264Thank you to everyone who contributed to this release!
19265
Bazel Release System92849b82018-10-31 15:41:11 +010019266## Release 0.18.1 (2018-10-31)
Bazel Release System36177972018-10-15 10:29:10 +020019267
19268```
Bazel Release System92849b82018-10-31 15:41:11 +010019269Baseline: c062b1f1730f3562d5c16a037b374fc07dc8d9a2
Bazel Release System36177972018-10-15 10:29:10 +020019270
19271Cherry picks:
19272
Bazel Release System92849b82018-10-31 15:41:11 +010019273 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
19274 Include also ext jars in the bootclasspath jar.
19275 + 2579b791c023a78a577e8cb827890139d6fb7534:
19276 Fix toolchain_java9 on --host_javabase=<jdk9> after
19277 7eb9ea150fb889a93908d96896db77d5658e5005
19278 + faaff7fa440939d4367f284ee268225a6f40b826:
19279 Release notes: fix markdown
19280 + b073a18e3fac05e647ddc6b45128a6158b34de2c:
19281 Fix NestHost length computation Fixes #5987
19282 + bf6a63d64a010f4c363d218e3ec54dc4dc9d8f34:
19283 Fixes #6219. Don't rethrow any remote cache failures on either
19284 download or upload, only warn. Added more tests.
19285 + c1a7b4c574f956c385de5c531383bcab2e01cadd:
19286 Fix broken IdlClassTest on Bazel's CI.
19287 + 71926bc25b3b91fcb44471e2739b89511807f96b:
19288 Fix the Xcode version detection which got broken by the upgrade
19289 to Xcode 10.0.
19290 + 86a8217d12263d598e3a1baf2c6aa91b2e0e2eb5:
19291 Temporarily restore processing of workspace-wide tools/bazel.rc
19292 file.
Bazel Release System83870d62018-10-29 10:31:13 -040019293 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
19294 Windows: Fix Precondition check for addDynamicInputLinkOptions
Bazel Release System83870d62018-10-29 10:31:13 -040019295 + e025726006236520f7e91e196b9e7f139e0af5f4:
19296 Update turbine
Bazel Release System36177972018-10-15 10:29:10 +020019297```
19298
Bazel Release System92849b82018-10-31 15:41:11 +010019299Important changes:
Bazel Release System83870d62018-10-29 10:31:13 -040019300
Bazel Release System92849b82018-10-31 15:41:11 +010019301 - Fix regression #6219, remote cache failures
Bazel Release System36177972018-10-15 10:29:10 +020019302
Klaus Aehlig7b417542018-10-29 15:46:36 +010019303## Release 0.18.0 (2018-10-15)
19304
19305```
19306Baseline: c062b1f1730f3562d5c16a037b374fc07dc8d9a2
19307
19308Cherry picks:
19309
19310 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
19311 Include also ext jars in the bootclasspath jar.
19312 + 2579b791c023a78a577e8cb827890139d6fb7534:
19313 Fix toolchain_java9 on --host_javabase=<jdk9> after
19314 7eb9ea150fb889a93908d96896db77d5658e5005
19315 + faaff7fa440939d4367f284ee268225a6f40b826:
19316 Release notes: fix markdown
19317 + b073a18e3fac05e647ddc6b45128a6158b34de2c:
19318 Fix NestHost length computation Fixes #5987
19319 + bf6a63d64a010f4c363d218e3ec54dc4dc9d8f34:
19320 Fixes #6219. Don't rethrow any remote cache failures on either
19321 download or upload, only warn. Added more tests.
19322 + c1a7b4c574f956c385de5c531383bcab2e01cadd:
19323 Fix broken IdlClassTest on Bazel's CI.
19324 + 71926bc25b3b91fcb44471e2739b89511807f96b:
19325 Fix the Xcode version detection which got broken by the upgrade
19326 to Xcode 10.0.
19327 + 86a8217d12263d598e3a1baf2c6aa91b2e0e2eb5:
19328 Temporarily restore processing of workspace-wide tools/bazel.rc
19329 file.
19330```
19331
19332General changes
19333
19334- New [bazelrc file list](https://docs.bazel.build/versions/master/user-manual.html#where-are-the-bazelrc-files).
19335 If you need to keep both the old and new lists of .rc files active
19336 concurrently to support multiple versions of Bazel, you can import the old
19337 file location into the new list using `try-import`. This imports a file if it
19338 exists and silently exits if it does not. You can use this method to account
19339 for a user file that may or may not exist
19340
19341- [.bazelignore](https://docs.bazel.build/versions/master/user-manual.html#.bazelignore)
19342 is now fully functional.
19343
19344- The startup flag `--host_javabase` has been renamed to
19345 `--server_javabase` to avoid confusion with the build flag
19346 `--host_javabase`.
19347
19348Android
19349
19350- The Android resource processing pipeline now supports persistence
19351 via worker processes. Enable it with
19352 `--persistent_android_resource_processor`. We have observed a 50% increase
19353 in build speed for clean local builds and up to 150% increase in build
19354 speed for incremental local builds.
19355
19356C++
19357
19358- In-memory package //tools/defaults has been removed (controlled by
19359 `--incompatible_disable_tools_defaults_package` flag). Please see
19360 [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-inmemory-tools-defaults-package)
19361 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
19362 behavior will be removed in Bazel 0.20.
19363
19364- Late bound option defaults (typical example was the `--compiler` flag, when
19365 it was not specified, it’s value was computed using the CROSSTOOL) are removed
19366 (controlled by `--incompatible_disable_late_bound_option_defaults` flag).
19367 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-late-bound-option-defaults)
19368 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
19369 behavior will be removed in Bazel 0.20.
19370
19371- Depsets are no longer accepted in `user_compile_flags` and `user_link_flags`
19372 in the C++ toolchain API (controlled by
19373 `--incompatible_disable_depset_in_cc_user_flags` flag) affects C++ users.
19374 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-depsets-in-c-toolchain-api-in-user-flags)
19375 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
19376 behavior will be removed in Bazel 0.20.
19377
19378- CROSSTOOL is no longer consulted when selecting C++ toolchain (controlled by
19379 `--incompatible_disable_cc_toolchain_label_from_crosstool_proto` flag).
19380 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-crosstool-to-select-the-cc_toolchain-label)
19381 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
19382
19383- You can now use [`toolchain_identifier` attribute](https://github.com/bazelbuild/bazel/commit/857d4664ce939f240b1d10d8d2baca6c6893cfcb)
19384 on `cc_toolchain` to pair it with CROSSTOOL toolchain.
19385
19386- C++ specific Make variables
19387 are no longer passed from the `CppConfiguration`, but from the C++ toolchain
19388 (controlled by `--incompatible_disable_cc_configuration_make_variables` flag).
19389 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-c-specific-make-variables-from-the-configuration)
19390 and migrate soon, the flag will be flipped
19391 in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
19392
19393- Skylark api accessing C++
19394 toolchain in `ctx.fragments.cpp` is removed (controlled by
19395 `--incompatible_disable_legacy_cpp_toolchain_skylark_api` flag).
19396 Please migrate soon, the flag will be flipped
19397 in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
19398
19399- cc_binary link action no longer hardcodes
19400 `-static-libgcc` for toolchains that support embedded runtimes
19401 (guarded by [`--experimental_dont_emit_static_libgcc`](https://source.bazel.build/bazel/+/2f281960b829e964526a9d292d4c3003e4d19f1c)
19402 temporarily). Proper deprecation using `--incompatible` flags will follow.
19403
19404Java
19405
19406- Future versions of Bazel will require a locally installed JDK
19407 for Java development. Previously Bazel would fall back to using
19408 the embedded `--server_javabase` if no JDK as available. Pass
19409 `--incompatible_never_use_embedded_jdk_for_javabase` to disable the
19410 legacy behaviour.
19411
19412- `--javacopt=` no longer affects compilations of tools that are
19413 executed during the build; use `--host_javacopt=` to change javac
19414 flags in the host configuration.
19415
19416Objective C
19417
19418- `objc_library` now supports the module_name attribute.
19419
19420Skylark
19421
19422- Adds `--incompatible_expand_directories` to automatically expand
19423 directories in skylark command lines. Design doc:
19424 https://docs.google.com/document/d/11agWFiOUiz2htBLj6swPTob5z78TrCxm8DQE4uJLOwM
19425
19426- Support fileset expansion in ctx.actions.args(). Controlled by
19427 `--incompatible_expand_directories`.
19428
19429Windows
19430
19431- `--windows_exe_launcher` is deprecated, this flag will be removed
19432 soon. Please make sure you are not using it.
19433
19434- Bazel now supports the symlink runfiles tree on Windows with
19435 `--experimental_enable_runfiles` flag. For more details, see
19436 [this doc](https://docs.google.com/document/d/1hnYmU1BmtCSJOUvvDAK745DSJQCapToJxb3THXYMrmQ).
19437
19438Other Changes
19439
19440- A new experimental option `--experimental_ui_deduplicate` has been added. It
19441 causes the UI to attempt to deduplicate messages from actions to keep the
19442 console output cleaner.
19443
19444- Add `--modify_execution_info`, a flag to customize action execution
19445 info.
19446
19447- Add ExecutionInfo to aquery output for ExecutionInfoSpecifier
19448 actions.
19449
19450- When computing `--instrumentation_filter`, end filter patterns with
19451 "[/:]" to match non-top-level packages exactly and treat
19452 top-level targets consistently.
19453
19454- Added the `bazel info server_log` command, which obtains the main Bazel
19455 server log file path. This can help debug Bazel issues.
19456
19457- `aapt shrink` resources now properly respect filter configurations.
19458
Bazel Release System50921e62018-09-21 12:27:04 +020019459## Release 0.17.2 (2018-09-21)
19460
19461```
19462Baseline: aa118ca818baf722aede0bc48d0a17584fa45b6e
19463
19464Cherry picks:
19465 + 0e0462589528154cb5160411991075a2000b5452:
19466 Update checker framework dataflow and javacutil versions
19467 + 3987300d6651cf0e6e91b395696afac6913a7d66:
19468 Stop using --release in versioned java_toolchains
19469 + 438b2773b8c019afa46be470b90bcf70ede7f2ef:
19470 make_deb: Add new empty line in the end of conffiles file
19471 + 504401791e0a0e7e3263940e9e127f74956e7806:
19472 Properly mark configuration files in the Debian package.
19473 + 9ed9d8ac4347408d15c8fce7c9c07e5c8e658b30:
19474 Add flag
19475 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfil
19476 es_tree.
19477 + 22d761ab42dfb1b131f1facbf490ccdb6c17b89c:
19478 Update protobuf to 3.6.1 -- add new files
19479 + 27303d79c38f2bfa3b64ee7cd7a6ef03a9a87842:
19480 Update protobuf to 3.6.1 -- update references
19481 + ddc97ed6b0367eb443e3e09a28d10e65179616ab:
19482 Update protobuf to 3.6.1 -- remove 3.6.0 sources
19483 + ead1002d3803fdfd4ac68b4b4872076b19d511a2:
19484 Fix protobuf in the WORKSPACE
19485 + 12dcd35ef7a26d690589b0fbefb1f20090cbfe15:
19486 Revert "Update to JDK 10 javac"
19487 + 7eb9ea150fb889a93908d96896db77d5658e5005:
19488 Automated rollback of
19489 https://github.com/bazelbuild/bazel/commit/808ec9ff9b5cec14f23a4b
19490 a106bc5249cacc8c54 and
19491 https://github.com/bazelbuild/bazel/commit/4c9149d558161e7d3e363f
19492 b697f5852bc5742a36 and some manual merging.
19493 + 4566a428c5317d87940aeacfd65f1018340e52b6:
19494 Fix tests on JDK 9 and 10
19495 + 1e9f0aa89dad38eeab0bd40e95e689be2ab6e5e5:
19496 Fix more tests on JDK 9 and 10
19497 + a572c1cbc8c26f625cab6716137e2d57d05cfdf3:
19498 Add ubuntu1804_nojava, ubuntu1804_java9, ubuntu1804_java10 to
19499 postsubmit.
19500 + 29f1de099e4f6f0f50986aaa4374fc5fb7744ee8:
19501 Disable Android shell tests on the "nojava" platform.
19502 + b495eafdc2ab380afe533514b3bcd7d5b30c9935:
19503 Update bazel_toolchains to latest release.
19504 + 9323c57607d37f9c949b60e293b573584906da46:
19505 Windows: fix writing java.log
19506 + 1aba9ac4b4f68b69f2d91e88cfa8e5dcc7cb98c2:
19507 Automated rollback of commit
19508 de22ab0582760dc95f33e217e82a7b822378f625.
19509 + 2579b791c023a78a577e8cb827890139d6fb7534:
19510 Fix toolchain_java9 on --host_javabase=<jdk9> after
19511 7eb9ea150fb889a93908d96896db77d5658e5005
19512 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
19513 Include also ext jars in the bootclasspath jar.
19514 + fdb09a260dead1e1169f94584edc837349a4f4a5:
19515 Release 0.17.1 (2018-09-14)
19516 + 1d956c707e1c843896ac58a341c335c9c149073d:
19517 Do not fail the build when gcov is not installed
19518 + 2e677fb6b8f309b63558eb13294630a91ee0cd33:
19519 Ignore unrecognized VM options in desugar.sh, such as the JVM 9
19520 flags to silence warnings.
19521```
19522
19523Important changes:
19524
19525 - In the future, Bazel will expand tree artifacts in runfiles, too,
19526 which causes the sandbox to link each file individually into the
19527 sandbox directory, instead of symlinking the entire directory. In
19528 this release, the behavior is not enabled by default yet. Please
19529 try it out via
19530 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
19531 s_tree and let us know if it causes issues. If everything looks
19532 good, this behavior will become the default in a following
19533 release.
19534
Bazel Release Systemfdb09a22018-09-14 12:15:54 +020019535## Release 0.17.1 (2018-09-14)
19536
19537```
19538Baseline: aa118ca818baf722aede0bc48d0a17584fa45b6e
19539
19540Cherry picks:
19541 + 0e0462589528154cb5160411991075a2000b5452:
19542 Update checker framework dataflow and javacutil versions
19543 + 3987300d6651cf0e6e91b395696afac6913a7d66:
19544 Stop using --release in versioned java_toolchains
19545 + 438b2773b8c019afa46be470b90bcf70ede7f2ef:
19546 make_deb: Add new empty line in the end of conffiles file
19547 + 504401791e0a0e7e3263940e9e127f74956e7806:
19548 Properly mark configuration files in the Debian package.
19549 + 9ed9d8ac4347408d15c8fce7c9c07e5c8e658b30:
19550 Add flag
19551 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfil
19552 es_tree.
19553 + 22d761ab42dfb1b131f1facbf490ccdb6c17b89c:
19554 Update protobuf to 3.6.1 -- add new files
19555 + 27303d79c38f2bfa3b64ee7cd7a6ef03a9a87842:
19556 Update protobuf to 3.6.1 -- update references
19557 + ddc97ed6b0367eb443e3e09a28d10e65179616ab:
19558 Update protobuf to 3.6.1 -- remove 3.6.0 sources
19559 + ead1002d3803fdfd4ac68b4b4872076b19d511a2:
19560 Fix protobuf in the WORKSPACE
19561 + 12dcd35ef7a26d690589b0fbefb1f20090cbfe15:
19562 Revert "Update to JDK 10 javac"
19563 + 7eb9ea150fb889a93908d96896db77d5658e5005:
19564 Automated rollback of
19565 https://github.com/bazelbuild/bazel/commit/808ec9ff9b5cec14f23a4b
19566 a106bc5249cacc8c54 and
19567 https://github.com/bazelbuild/bazel/commit/4c9149d558161e7d3e363f
19568 b697f5852bc5742a36 and some manual merging.
19569 + 4566a428c5317d87940aeacfd65f1018340e52b6:
19570 Fix tests on JDK 9 and 10
19571 + 1e9f0aa89dad38eeab0bd40e95e689be2ab6e5e5:
19572 Fix more tests on JDK 9 and 10
19573 + a572c1cbc8c26f625cab6716137e2d57d05cfdf3:
19574 Add ubuntu1804_nojava, ubuntu1804_java9, ubuntu1804_java10 to
19575 postsubmit.
19576 + 29f1de099e4f6f0f50986aaa4374fc5fb7744ee8:
19577 Disable Android shell tests on the "nojava" platform.
19578 + b495eafdc2ab380afe533514b3bcd7d5b30c9935:
19579 Update bazel_toolchains to latest release.
19580 + 9323c57607d37f9c949b60e293b573584906da46:
19581 Windows: fix writing java.log
19582 + 1aba9ac4b4f68b69f2d91e88cfa8e5dcc7cb98c2:
19583 Automated rollback of commit
19584 de22ab0582760dc95f33e217e82a7b822378f625.
19585 + 2579b791c023a78a577e8cb827890139d6fb7534:
19586 Fix toolchain_java9 on --host_javabase=<jdk9> after
19587 7eb9ea150fb889a93908d96896db77d5658e5005
19588 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
19589 Include also ext jars in the bootclasspath jar.
19590```
19591
19592Incompatible changes:
19593
19594 - Loading @bazel_tools//tools/build_defs/repo:git_repositories.bzl
19595 no longer works. Load @bazel_tools//tools/build_defs/repo:git.bzl
19596 instead.
19597 - If the same artifact is generated by two distinct but identical
19598 actions, and a downstream action has both those actions' outputs
19599 in its inputs, the artifact will now appear twice in the
19600 downstream action's inputs. If this causes problems in Skylark
19601 actions, you can use the uniquify=True argument in Args.add_args.
19602 - If the same artifact is generated by two distinct but identical
19603 actions, and a downstream action has both those actions' outputs
19604 in its inputs, the artifact will now appear twice in the
19605 downstream action's inputs. If this causes problems in Skylark
19606 actions, you can use the uniquify=True argument in Args.add_args.
19607 - Labels in C++ rules' linkopts attribute are not expanded anymore
19608 unless they are wrapped, e.g: $(location //foo:bar)
19609 - If the same artifact is generated by two distinct but identical
19610 actions, and a downstream action has both those actions' outputs
19611 in its inputs, the artifact will now appear twice in the
19612 downstream action's inputs. If this causes problems in Skylark
19613 actions, you can use the uniquify=True argument in Args.add_args.
19614 - New bazelrc file list.
19615 - Windows: when BAZEL_SH envvar is not defined and Bazel searches
19616 for a suitable bash.exe, Bazel will no longer look for Git Bash
19617 and no longer recommend installing it as a Bash implementation.
19618 See issue #5751.
19619 - New bazelrc file list.
19620
19621New features:
19622
19623 - The aquery command now supports --output=text.
19624 - Java, runfiles: the Java runfiles library is now in
19625 @bazel_tools//tools/java/runfiles. The old target
19626 (@bazel_tools//tools/runfiles:java-runfiles) is deprecated and
19627 will be removed in Bazel 0.18.0.
19628 - Java, runfiles: the Java runfiles library is now in
19629 @bazel_tools//tools/java/runfiles. The old target
19630 (@bazel_tools//tools/runfiles:java-runfiles) is deprecated and
19631 will be removed in Bazel 0.19.0 (not 0.18.0, as stated earlier).
19632
19633Important changes:
19634
19635 - Allow @ in package names.
19636 - Remove support for java_runtime_suite; use alias() together with
19637 select() instead.
19638 - Python wrapper scripts for MSVC are removed.
19639 - [JavaInfo] Outputs are merged in java_common.merge().
19640 - Faster analysis by improved parallelization.
19641 - --experimental_shortened_obj_file_path is removed.
19642 - Introduce the --remote_cache_proxy flag,
19643 which allows for remote http caching to connect
19644 via a unix domain socket.
19645 - No longer define G3_VERSION_INFO for c++ linkstamp compiles, as
19646 it was a duplicate of G3_TARGET_NAME.
19647 - Added support for Android NDK r17. The default STL is now
19648 `libc++`, and support for targeting `mips`, `mips64` and `ARMv5`
19649 (`armeabi`) has been removed.
19650 - Add aquery command to get analysis time information about the
19651 action graph.
19652 - Fixed compatibility with aar_import when using aapt2. AAPT2 is
19653 now supported for Android app builds without resource shrinking.
19654 To use it, pass the `--android_aapt=aapt2` flag or define
19655 android_binary.aapt_version=aapt2.
19656 - Code coverage is collected for Java binaries invoked from sh_test.
19657 - java_common.compile creates the native headers jar accesible via
19658 JavaInfo.outputs.native_headers.
19659 - Deleting deprecated no-op flag --show_package_location
19660 - The JDK shipped with Bazel was updated to JDK10.
19661 - Rename the startup flag --host_javabase to --server_javabase to
19662 avoid confusion with the build flag --host_javabase
19663 - newly added options --experimental_repository_hash_file and
19664 --experimental_verify_repository_rules allow to verify for
19665 repositories
19666 the directory generated against pre-recorded hashes. See
19667 documentation
19668 for those options.
19669 - Removed the gen_jars output group
19670 - --subcommands can now take a "pretty_print" value
19671 ("--subcommands=pretty_print") to print the
19672 arguments of subcommands as a list for easier reading.
19673 - follow-up to
19674 https://github.com/bazelbuild/bazel/commit/1ac359743176e659e9c7472
19675 645e3142f3c44b9e8
19676 - A rule error is now thrown if a Skylark rule implementation
19677 function returns multiple providers of the same type.
19678 - When using Bazel's remote execution feature and Bazel has to
19679 fallback to local execution for an action, Bazel used
19680 non-sandboxed
19681 local execution until now. From this release on, you can use the
19682 new
19683 flag --remote_local_fallback_strategy=<strategy> to tell Bazel
19684 which
19685 strategy to use in that case.
19686 - Execution Log Parser can now, when printing it out, filter the
19687 log by runner type
19688 - A rule error is now thrown if a Skylark rule implementation
19689 function returns multiple providers of the same type.
19690 - Removed the gen_jars output group
19691 - Removed the gen_jars output group
19692 - Set --defer_param_files to default to true.
19693 - Sort attribute lists in proto-form query output to fix
19694 non-deterministic genquery output.
19695 - Replace 0/1 with False/True for testonly attribute
19696 - bazel now supports a .bazelignore file specifying
19697 directories to be ignored; however, these directories still
19698 have to be well founded and, in particular, may not contain
19699 symlink cycles.
19700 - Add more detailed reporting of the differences between startup
19701 options.
19702 - update data binding to 3.2.0
19703 - For Android incremental dexing actions, Bazel now persists its
19704 DexBuilder process across individual actions. From our
19705 benchmarks, this results in a 1.2x speedup for clean local builds.
19706 - The standard `xcode_VERSION` feature now always uses exactly two
19707 components in the version, even if you specify `--xcode_version`
19708 with
19709 more or fewer than two.
19710 - A rule error will be thrown if a Skylark rule implementation
19711 function returns multiple providers of the same type. Try the
19712 `--incompatible_disallow_conflicting_providers` flag to ensure
19713 your code is forward-compatible.
19714 - Removed notion of FULLY_STATIC linking mode from C++ rules.
19715 - In documentation, we've renamed Skylark into Starlark.
19716 - Execution Log Parser can now, when printing it out, reorder the
19717 actions for easier text diffs
19718 - Linkstamps are no longer recompiled after server restart.
19719 - Use VanillaJavaBuilder and disable header compilation in
19720 toolchain_hostjdk8. The default toolchain will soon drop
19721 compatibility with JDK 8. Using a JDK 8 host_javabase
19722 will only be supported when using 'VanillaJavaBuilder' (which
19723 does not support Error Prone,
19724 Strict Java Deps, or reduced classpaths) and with header
19725 compilation disabled.
19726 - In the future, Bazel will expand tree artifacts in runfiles, too,
19727 which causes the sandbox to link each file individually into the
19728 sandbox directory, instead of symlinking the entire directory. In
19729 this release, the behavior is not enabled by default yet. Please
19730 try it out via
19731 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
19732 s_tree and let us know if it causes issues. If everything looks
19733 good, this behavior will become the default in a following
19734 release.
19735
Bazel Release System1bd58832018-08-13 15:41:26 +020019736## Release 0.16.1 (2018-08-13)
19737
19738```
19739Baseline: 4f64b77a3dd8e4ccdc8077051927985f9578a3a5
19740
19741Cherry picks:
19742 + 4c9a0c82d308d5df5c524e2a26644022ff525f3e:
19743 reduce the size of bazel's embedded jdk
19744 + d3228b61f633cdc5b3f740b641a0836f1bd79abd:
19745 remote: limit number of open tcp connections by default. Fixes
19746 #5491
19747 + 8ff87c164f48dbabe3b20becd00dde90c50d46f5:
19748 Fix autodetection of linker flags
19749 + c4622ac9205d2f1b42dac8c598e83113d39e7f11:
19750 Fix autodetection of -z linker flags
19751 + 10219659f58622d99034288cf9f491865f818218:
19752 blaze_util_posix.cc: fix order of #define
19753 + ab1f269017171223932e0da9bb539e8a17dd99ed:
19754 blaze_util_freebsd.cc: include path.h explicitly
19755 + 68e92b45a37f2142c768a56eb7ecfa484b8b22df:
19756 openjdk: update macOS openjdk image. Fixes #5532
19757 + f45c22407e6b00fcba706eb62141cb9036bd38d7:
19758 Set the start time of binary and JSON profiles to zero correctly.
19759 + bca1912853086b8e9a28a85a1b144ec0dc9717cc:
19760 remote: fix race on download error. Fixes #5047
19761 + 3842bd39e10612c7eef36c6048407e81bcd0a8fb:
19762 jdk: use parallel old gc and disable compact strings
19763 + 6bd0bdf5140525cb33dc2db068b210261d9df271:
19764 Add objc-fully-link to the list of actions that require the
19765 apple_env feature. This fixes apple_static_library functionality.
19766 + f330439fb970cfa17c70fc59c1458bb1c31c9522:
19767 Add the action_names_test_files target to the OSS version of
19768 tools/buils_defs/cc/BUILD.
19769 + d215b64362c4ede61c8ba87b5f3f57bce4785d15:
19770 Fix StackOverflowError on Windows. Fixes #5730
19771 + 366da4cf27b7f957ef39f89206db77fa2ac289df:
19772 In java_rules_skylark depend on the javabase through
19773 //tools/jdk:current_java_runtime
19774 + 30c601dc13d9e1b40a57434c022c888c7578cc56:
19775 Don't use @local_jdk for jni headers
19776 + c56699db5f9173739ba3ac55aa9fa69b6457a99b:
19777 'DumpPlatformClasspath' now dumps the current JDK's default
19778 platform classpath
19779```
19780
19781This release is a patch release that contains fixes for several serious
19782regressions that were found after the release of Bazel 0.16.0.
19783
19784In particular this release resolves the following issues:
19785
19786 - Bazel crashes with a StackOverflowError on Windows (See #5730)
19787 - Bazel requires a locally installed JDK and does not fall back
19788 to the embedded JDK (See #5744)
19789 - Bazel fails to build for Homebrew on macOS El Capitan (See #5777)
19790 - A regression in apple_static_library (See #5683)
19791
19792Please watch our blog for a more detailed release announcement.
19793
Bazel Release Systemb292ad12018-07-31 12:55:37 -040019794## Release 0.16.0 (2018-07-31)
Bazel Release System97564f62018-07-17 14:19:41 +020019795
19796```
Bazel Release Systemb292ad12018-07-31 12:55:37 -040019797Baseline: 4f64b77a3dd8e4ccdc8077051927985f9578a3a5
Bazel Release System97564f62018-07-17 14:19:41 +020019798
19799Cherry picks:
Bazel Release Systemb292ad12018-07-31 12:55:37 -040019800 + 4c9a0c82d308d5df5c524e2a26644022ff525f3e:
19801 reduce the size of bazel's embedded jdk
19802 + d3228b61f633cdc5b3f740b641a0836f1bd79abd:
19803 remote: limit number of open tcp connections by default. Fixes
19804 #5491
Bazel Release System97564f62018-07-17 14:19:41 +020019805 + 8ff87c164f48dbabe3b20becd00dde90c50d46f5:
19806 Fix autodetection of linker flags
19807 + c4622ac9205d2f1b42dac8c598e83113d39e7f11:
19808 Fix autodetection of -z linker flags
Bazel Release Systemb292ad12018-07-31 12:55:37 -040019809 + 10219659f58622d99034288cf9f491865f818218:
19810 blaze_util_posix.cc: fix order of #define
19811 + ab1f269017171223932e0da9bb539e8a17dd99ed:
19812 blaze_util_freebsd.cc: include path.h explicitly
19813 + 68e92b45a37f2142c768a56eb7ecfa484b8b22df:
19814 openjdk: update macOS openjdk image. Fixes #5532
19815 + f45c22407e6b00fcba706eb62141cb9036bd38d7:
19816 Set the start time of binary and JSON profiles to zero correctly.
19817 + bca1912853086b8e9a28a85a1b144ec0dc9717cc:
19818 remote: fix race on download error. Fixes #5047
19819 + 3842bd39e10612c7eef36c6048407e81bcd0a8fb:
19820 jdk: use parallel old gc and disable compact strings
Bazel Release System97564f62018-07-17 14:19:41 +020019821```
19822
Bazel Release Systemb292ad12018-07-31 12:55:37 -040019823Incompatible changes:
19824
19825 - The $(ANDROID_CPU) Make variable is not available anymore. Use
19826 $(TARGET_CPU) after an Android configuration transition instead.
19827 - The $(JAVA_TRANSLATIONS) Make variable is not supported anymore.
19828 - Skylark structs (using struct()) may no longer have to_json and
19829 to_proto overridden.
19830 - The mobile-install --skylark_incremental_res flag is no longer
19831 available, use the --skylark flag instead.
19832
19833New features:
19834
19835 - android_local_test now takes advantage of Robolectric's binary
19836 resource processing which allows for faster tests.
19837 - Allow @ in package names.
19838
Bazel Release System97564f62018-07-17 14:19:41 +020019839Important changes:
19840
Bazel Release Systemb292ad12018-07-31 12:55:37 -040019841 - Option --glibc is removed, toolchain selection relies solely on
19842 --cpu and --compiler options.
19843 - Build support for enabling cross binary FDO optimization.
19844 - The --distdir option is no longer experimental. This
19845 option allows to specify additional directories to look for
19846 files before trying to fetch them from the network. Files from
19847 any of the distdirs are only used if a checksum for the file
19848 is specified and both, the filename and the checksum, match.
19849 - Java coverage works now with multiple jobs.
19850 - Flip default value of --experimental_shortened_obj_file_path to
19851 true, Bazel now generates short object file path by default.
19852 - New rules for importing Android dependencies:
19853 `aar_import_external` and `aar_maven_import_external`.
19854 `aar_import_external` enables specifying external AAR
19855 dependencies using a list of HTTP URLs for the artifact.
19856 `aar_maven_import_external` enables specifying external AAR
19857 dependencies using the artifact coordinate and a list of server
19858 URLs.
19859 - The BAZEL_JAVAC_OPTS environment variable allows arguments, e.g.,
19860 "-J-Xmx2g", may be passed to the javac compiler during bootstrap
19861 build. This is helpful if your system chooses too small of a max
19862 heap size for the Java compiler during the bootstrap build.
19863 - --noexpand_configs_in_place is deprecated.
19864 - A tool to parse the Bazel execution log.
19865 - Support for LIPO has been fully removed.
19866 - Remove support for --discard_actions_after_execution.
19867 - Add --materialize_param_files flag to write parameter files even
19868 when actions are executed remotely.
19869 - Windows default system bazelrc is read from the user's
19870 ProgramData if present.
19871 - --[no]allow_undefined_configs no longer exists, passing undefined
19872 configs is an error.
Bazel Release System1281a022018-07-16 16:13:53 +020019873 - In remote caching we limit the number of open
19874 TCP connections to 100 by default. The number can be adjusted
19875 by specifying the --remote_max_connections flag.
19876
Bazel Release System5013a332018-06-26 14:07:47 +020019877## Release 0.15.0 (2018-06-26)
19878
19879```
19880Baseline: b93ae42e8e693ccbcc387841a17f58259966fa38
19881
19882Cherry picks:
19883 + 4b80f2455e7e49a95f3a4c9102a67a57dad52207:
19884 Add option to enable Docker sandboxing.
19885 + 6b1635279e8b33dc1ac505ac81825e38f8797a14:
19886 Allow disabling the simple blob caches via CLI flag overrides.
19887 + 4ec0a7524913ab2c4641368e3f8c09b347351a08:
19888 Use BUILD.bazel instead of BUILD for external projects
19889```
19890
19891Incompatible changes:
19892
19893 - Bazel now always runs binaries in with "bazel run" in
19894 interactive mode. The "--nodirect_run" command line option is now
19895 a no-op.
19896 - "bazel run --noas_test" is not supported anymore.
19897 - Indentation on the first line of a file was previously ignored.
19898 This is now fixed.
19899
19900New features:
19901
19902 - C++,runfiles: to access data-dependencies (runfiles) in C++
19903 programs, use the runfiles library built into Bazel. For usage
19904 info, see
19905 https://github.com/bazelbuild/bazel/blob/master/tools/cpp/runfiles
19906 /runfiles.h
19907
19908Important changes:
19909
19910 - Bazel now allows almost all 7-bit ASCII characters in labels.
19911 - Remove vestigial java_plugin.data attribute
19912 - Bazel supports including select Java 8 APIs into Android apps
19913 targeting pre-Nougat Android devices with
19914 --experimental_desugar_java8_libs
19915 - Flag `--incompatible_disable_glob_tracking` is removed.
19916 - SkyQuery's rbuildfiles now returns targets corresponding to
19917 broken packages.
19918 - Introduce build support for providing cache prefetch hints.
19919 - Update the skylark DefaultInfo documentation to spell out
19920 runfiles, data_runfiles and default_runfiles
19921 - An internal action for symlinking runfiles will use Command
19922 instead of a Spawns. This should have no functional chages; the
19923 only user visible consequence should be that the internal action
19924 is no longer be included in statistics when calculating processes
19925 count.
19926 - --batch is deprecated
19927 - execution strategies line no longer handles differently the case
19928 where all processes have the same strategy.
19929 - The --experimental_remote_spawn_cache flag is now enabled by
19930 default, and remote caching no longer needs --*_strategy=remote
19931 flags (it will fail if they are specified).
19932 - android_binary.aapt_version='aapt2' now supports en_XA and ar_XB
19933 - Added --apple_enable_auto_dsym_dbg flag.
19934 - non_propagated_deps has been removed from objc_library and
19935 apple_binary.
19936 - For Android projects, Bazel now supports building fonts as
19937 resources. See
19938 https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml
19939 for more information on the feature.
19940 - With --incompatible_no_support_tools_in_action_inputs enabled, Skylark
19941 action inputs are no longer scanned for tools. Move any such
19942 inputs to the newly introduced 'tools' attribute.
19943
Bazel Release System513bbf52018-06-08 14:15:20 +020019944## Release 0.14.1 (2018-06-08)
19945
19946```
19947Baseline: 5c3f5c9be7fa40d4fb3c35756891fab8483ca406
19948
19949Cherry picks:
19950 + f96f037f8f77335dc444844abcc31a372a3e1849:
19951 Windows, Java launcher: Support jar files under different drives
19952 + ff8162d01409db34893de98bd840a51c5f13e257:
19953 sh_configure.bzl: FreeBSD is also a known platform
19954 + 7092ed324137f03fcd34856bdb0595a1bdec3069:
19955 Remove unneeded exec_compatible_with from local_sh_toolchain
19956 + 57bc201346e61c62a921c1cbf32ad24f185c10c9:
19957 Do not autodetect C++ toolchain when
19958 BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 is present
19959 + 35a78c09cf2fbfc3de9c124d2142e3d72aac4348:
19960 remote: recursively delete incomplete downloaded output
19961 directory.
19962 + 3c9cd82b847f3ece8ec04b2029bd5e8ad0eb7502:
19963 distfile: pack the archives needed later in the build
19964 + 27487c77387e457df18be3b6833697096d074eab:
19965 Slightly refactor SpawnAction to improve env handling
19966 + 1b333a2c37add9d04fe5bc5258ee4f73c93115e2:
19967 Fix Cpp{Compile,Link}Action environment and cache key computation
19968 + 3da8929963e9c70dff5d8859d6e988e6e7f4f9d7:
19969 Make SymlinkTreeAction properly use the configuration's
19970 environment
19971 + eca7b81cf8cc51e1fe56e5ed7d4ad5cd1668a17a:
19972 Add a missing dependency from checker framework dataflow to
19973 javacutils
19974 + 10a4de954c2061258d8222961fc3bd39516db49d:
19975 Release 0.14.0 (2018-06-01)
19976 + 4b80f2455e7e49a95f3a4c9102a67a57dad52207:
19977 Add option to enable Docker sandboxing.
19978 + 6b1635279e8b33dc1ac505ac81825e38f8797a14:
19979 Allow disabling the simple blob caches via CLI flag overrides.
19980```
19981
19982Bug fix for [#5336](https://github.com/bazelbuild/bazel/issues/5336)
19983Bug fix fot [#5308](https://github.com/bazelbuild/bazel/issues/5308)
19984
Bazel Release System3a592f62018-06-01 15:04:31 +020019985## Release 0.14.0 (2018-06-01)
19986
19987```
19988Baseline: 5c3f5c9be7fa40d4fb3c35756891fab8483ca406
19989
19990Cherry picks:
19991 + f96f037f8f77335dc444844abcc31a372a3e1849:
19992 Windows, Java launcher: Support jar files under different drives
19993 + ff8162d01409db34893de98bd840a51c5f13e257:
19994 sh_configure.bzl: FreeBSD is also a known platform
19995 + 7092ed324137f03fcd34856bdb0595a1bdec3069:
19996 Remove unneeded exec_compatible_with from local_sh_toolchain
19997 + 57bc201346e61c62a921c1cbf32ad24f185c10c9:
19998 Do not autodetect C++ toolchain when
19999 BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 is present
20000 + 35a78c09cf2fbfc3de9c124d2142e3d72aac4348:
20001 remote: recursively delete incomplete downloaded output
20002 directory.
20003 + 3c9cd82b847f3ece8ec04b2029bd5e8ad0eb7502:
20004 distfile: pack the archives needed later in the build
20005 + 27487c77387e457df18be3b6833697096d074eab:
20006 Slightly refactor SpawnAction to improve env handling
20007 + 1b333a2c37add9d04fe5bc5258ee4f73c93115e2:
20008 Fix Cpp{Compile,Link}Action environment and cache key computation
20009 + 3da8929963e9c70dff5d8859d6e988e6e7f4f9d7:
20010 Make SymlinkTreeAction properly use the configuration's
20011 environment
20012 + eca7b81cf8cc51e1fe56e5ed7d4ad5cd1668a17a:
20013 Add a missing dependency from checker framework dataflow to
20014 javacutils
20015```
20016
20017Incompatible changes:
20018
20019 - Add --incompatible_disallow_legacy_javainfo flag.
20020 - Added flag --incompatible_disallow_old_style_args_add to help
20021 migrate from args.add() to args.add_all() / args.add_joined()
20022 where appropriate.
20023
20024New features:
20025
20026 - Bash,runfiles: use the new platform-independent library in
20027 `@bazel_tools//tools/bash/runfiles` to access runfiles
20028 (data-dependencies). See
20029 https://github.com/bazelbuild/bazel/blob/master/tools/bash/runfile
20030 s/runfiles.bash for usage information.
20031 - TemplateVariableInfo can now be constructed from Skylark.
20032 - The java_host_runtime_alias rule is now implemented in Java.
20033
20034Important changes:
20035
20036 - Flip default value of --experimental_shortened_obj_file_path to
20037 true, Bazel now generates short object file path by default.
20038 - Introduce fdo_profile rule that allows architecture-sensitive
20039 specification of fdo profiles.
20040 - canonicalize-flags no longer reorders the flags
20041 - CppRules: optional_compiler_flag was removed from CROSSTOOL, use
20042 features instead.
20043 - Labels of the form ////foo are disallowed.
20044 - The `/` operator is deprecated in favor of `//` (floor integer
20045 division).
20046 Try the `--incompatible_disallow_slash_operator` flag to ensure
20047 your code
20048 is forward-compatible.
20049 - Flip default value of --experimental_shortened_obj_file_path to
20050 true, Bazel now generates short object file path by default.
20051 - Exposed "mnemonic" and "env" fields on skylark "Action" objects.
20052 - Removed flag `--incompatible_disallow_toplevel_if_statement`.
20053 - Remove vestigial 'deps' and 'data' attributes from
20054 proto_lang_toolchain
20055 - Args objects (ctx.actions.args()) have new methods add_all() and
20056 add_joined() for building command lines using depsets.
20057 - `FileType` is deprecated and will be removed soon.
20058 Try the `--incompatible_disallow_filetype` flag to ensure your
20059 code
20060 is forward-compatible.
20061 - Introduce absolute_path_profile attribute that allows fdo_profile
20062 to accept absolute paths.
20063 - Support two-arg overloads for ctx.actions.args (eg.
20064 args.add("--foo", val))
20065 - Introduce 'tools' attribute to ctx.actions.run.
20066 - Fixed error message for proguard_apply_dictionary.
20067 - "bazel run" now lets one run interactive binaries. The
20068 BUILD_WORKSPACE_DIRECTORY and BUILD_WORKING_DIRECTORY environment
20069 variables indicate the working directory and the workspace root
20070 of the Bazel invocation. Tests are provided with an approximation
20071 of the official test environment.
20072 - repository rules are no longer restricted to return None.
20073 - Add --high_priority_workers flag.
20074 - CppRules: Feature configuration can be created from Skylark
20075 - Adds new-style JavaInfo provider constructor.
20076 - Make java_common.compile now uses java_toolchain javacopts by
20077 default; explicitly retrieving them using
20078 java_common.default_javac_opts is unnecessary.
20079 - CppRules: C++ command lines and env variables for C++ actions can
20080 be retrieved from feature configuration.
20081 - Skylark rule definitions may advertise providers that targets of
20082 the rule must propagate.
20083 - Bazel now supports running actions inside Docker containers.
20084 To use this feature, run "bazel build --spawn_strategy=docker
20085 --experimental_docker_image=myimage:latest".
20086 - Remote execution works for Windows binaries with launchers.
20087 - Fixing start/end lib expansion for linking. There were many cases
20088 where archive files were still being used with toolchains that
20089 support start/end lib. This change consolidates the places that
20090 make that decision so they can be more consistent.
20091 - Add support for reporting an error if
20092 android_test.binary_under_test contains incompatible versions of
20093 deps
20094 - We replaced the --experimental_local_disk_cache and
20095 --experimental_local_disk_cache_path flags into a single
20096 --disk_cache flag. Additionally, Bazel now tries to create the disk cache
20097 directory if it doesn't exist.
20098 - Save Blaze memory by not storing LinkerInput objects in
20099 LinkCommandLine
20100 - In the JavaInfo created by java_common.create_provider now
20101 includes both direct and transitive arguments in
20102 transitive_compile_time_jars and transitive_runtime_jars
20103 - Allow --worker_max_instances to take MnemonicName=value to
20104 specify max for each worker.
20105 - Allow java_toolchain.header_compiler to be an arbitrary executable
20106
Bazel Release System24c68ff2018-05-23 10:59:57 +020020107## Release 0.13.1 (2018-05-23)
20108
20109```
20110Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05
20111
20112Cherry picks:
20113 + f083e7623cd03e20ed216117c5ea8c8b4ec61948:
20114 windows: GetOutputRoot() returns GetHomeDir()
20115 + fa36d2f48965b127e8fd397348d16e991135bfb6:
20116 Automated rollback of commit
20117 4465dae23de989f1452e93d0a88ac2a289103dd9.
20118 + 4abd2babcc50900afd0271bf30dc64055f34e100:
20119 Add error message on empty public resources
20120 + 2c957575ff24c183d48ade4345a79ffa5bec3724:
20121 test-setup: remove leading "./" from test name
20122 + e6eaf251acb3b7054c8c5ced58a49c054b5f23b1:
20123 Sort entries by segment when building a parent node to prevent
20124 unordered directory structures.
20125```
20126
20127Important changes:
20128
20129 - Remote Execution: Fixes a regression that produces directories with unsorted file/directory lists
20130
Bazel Release System1d9c6062018-04-30 10:45:38 +020020131## Release 0.13.0 (2018-04-30)
20132
20133```
20134Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05
20135
20136Cherry picks:
20137 + f083e7623cd03e20ed216117c5ea8c8b4ec61948:
20138 windows: GetOutputRoot() returns GetHomeDir()
20139 + fa36d2f48965b127e8fd397348d16e991135bfb6:
20140 Automated rollback of commit
20141 4465dae23de989f1452e93d0a88ac2a289103dd9.
20142 + 4abd2babcc50900afd0271bf30dc64055f34e100:
20143 Add error message on empty public resources
20144 + 2c957575ff24c183d48ade4345a79ffa5bec3724:
20145 test-setup: remove leading "./" from test name
20146```
20147
20148Incompatible changes:
20149
20150 - Remove //tools/defaults:android_jar. Use
20151 @bazel_tools//tools/android:android_jar instead.
20152 - The flag --incompatible_show_all_print_messages is removed.
20153 Messages generated by `print` statements from any package will be
20154 displayed as
20155 DEBUG messages.
20156 - The --incompatible_disallow_uncalled_set_constructor flag is no
20157 longer available, the `set` constructor` is completely removed
20158 from Skylark.
20159 Use `depset` instead.
20160 - Variables PACKAGE_NAME and REPOSITORY_NAME are deprecated in
20161 favor of
20162 functions `package_name()` and `repository_name()`.
20163
20164 https://docs.bazel.build/versions/master/skylark/lib/native.html#p
20165 ackage_name
20166 - BUILD_TIMESTAMP now contains seconds (and not milliseconds) since
20167 the epoch.
20168
20169New features:
20170
20171 - Strings have a new .elems() method, that provides an iterator on
20172 the characters of the string.
20173 - Now you can access three functions in windows_cc_configure.bzl by:
20174 load("@bazel_tools/tools/cpp:windows_cc_configure.bzl",
20175 "<function_name>")
20176
20177Important changes:
20178
20179 - CppRules: Unified action_configs for static libraries
20180 - Remove support for blaze dump --vfs. It is no longer meaningful.
20181 - Enable dependency checking for aar_import targets.
20182 - internal_bootstrap_hack has been deprecated and removed.
20183 - Properly handle tree artifacts on the link command line coming
20184 from a cc_library dependency.
20185 - Allow C++ features to make proto_library emit smaller C++ code
20186 - The 'j2objc' configuration fragment is exposed to Skylark.
20187 - Remove the default content of the global bazelrc.
20188 - In int() function, do not auto-detect base if input starts with
20189 '0'.
20190 - Users can now pass --experimental_shortened_obj_file_path=true to
20191 have a shorter object file path, the object file paths (and all
20192 other related paths) will be constructed as following:
20193 If there's no two or more source files with the same base name:
20194
20195 <bazel-bin>/<target_package_path>/_objs/<target_name>/<source_base
20196 _name>.<extension>
20197 otherwise:
20198
20199 <bazel-bin>/<target_package_path>/_objs/<target_name>/N/<source_ba
20200 se_name>.<extension>
20201 N = the file?s order among the source files with the same
20202 basename, starts from 0.
20203 - Move (c/cxx)opts from legacy_compile_flags to user_compile_flags
20204 - CppRules: Remove optional_*_flag fields from CROSSTOOL, they are
20205 not
20206 used, and could be expressed using features.
20207 - Introduce --incompatible_disable_objc_provider_resources to turn
20208 off all resource-related fields of the Objc provider.
20209 - Removed the statement of "What does Bazel support?" as it's
20210 limiting/misleading. Added supported host OSes to
20211 "multi-platform" paragraph.
20212 - android_library AAR output now contains proguard.txt
20213 - Bazel now displays information about remote cache hits and
20214 execution strategies used in its UI after every build and test,
20215 and adds a corresponding line "process stats" to BuildToolLogs in
20216 BEP.
20217 - Print correct build result for builds with --aspects flag.
20218 - android_binary.manifest_merger is no longer supported.
20219
Bazel Release System546976c2018-04-11 17:34:19 +020020220## Release 0.12.0 (2018-04-11)
20221
20222```
20223Baseline: b33e5afa313322a7048044c44d854cbb666b988e
20224
20225Cherry picks:
20226 + 369409995bd75eeb0683fd24f7585d2a90320796:
20227 Automated rollback of commit
20228 c2b332b45e6ea41a14ecbd3c5f30782bcdeec301.
20229 + dbf779869751cc893ba240402d352c6e70be2978:
20230 Emit SJD errors even if we don't know the label of a dependency
20231 + 4c3098cfa6f00f90c7530b6f40d3e93062931c1d:
20232 Android tools: remove mtime-modifications
20233 + a1068c44a700ec2cff84cbd12592e9bfea25d754:
20234 NDK cc_toolchains: include bundled runtime libraries in
20235 cc_toolchain.all_files
20236 + b1be5816ec1bf8e1172c1bed4f29b4e6c6bb7202:
20237 runfiles,Python: remove library from @bazel_tools
20238 + 0a4622012ff796429220fe57d3217f262cc208a8:
20239 Fix visibility of def_parser for remote builds
20240 + 3c5373c50c7c492842f8a468906eda2c0bc90787:
20241 Remove visibility attribute from
20242 //third_party/def_parser:def_parser
20243 + f54d7e5293cc40ce3507a9adef530e46ab817585:
20244 Enable bulk writes in the HttpBlobStore
20245 + 04ce86e8ba96630f89a436167b7f3a195c5e50e7:
20246 remote/http: properly complete user promise
20247```
20248
20249Incompatible changes:
20250
20251 - The order of dict-valued attributes is now the order in the BUILD
20252 file (or in the Skylark dict they were created from) and not
20253 lexicographically sorted.
20254
20255New features:
20256
20257 - The new "--direct_run" flag on "blaze run" lets one run
20258 interactive binaries.
20259 - "blaze run --direct_run" with tests now gives the test an
20260 approximation of the official test environment.
20261 - "blaze run --direct_run" now exports the
20262 BUILD_{WORKSPACE,WORKING}_DIRECTORY variables to tell the binary
20263 about the cwd of the client and the workspace root.
20264 - New Android device test rule: android_instrumentation_test.
20265 - Add option to dump the action graph to a file: 'bazel dump
20266 --action_graph=/path/to/file'.
20267 - Pass `tags` from `java_import_external` rule to the generated
20268 `java_import` rule.
20269 - blaze query: use --proto:output_rule_attrs to filter for given
20270 attributes
20271 - Added Android NDK r15 support, including compatibility with
20272 Unified Headers.
20273 - Adds --ltobackendopt and --per_file_ltobackendopt for passing
20274 options to ThinLTO LTO backend compile actions only.
20275
20276Important changes:
20277
20278 - Fix how libraries to link is specified to archiver actions.
20279 - Fix how libraries_to_link are expanded in the archiver command
20280 line.
20281 - stop using --no-locals in android coverage builds
20282 - apple_binary can now generate dSYM outputs with the
20283 --apple_generate_dsym=true flag.
20284 - Fix FDO_STAMP_MACRO to only be set when fdoBuildStamp is not null.
20285 - Improved clarity of warning message for unsupported NDK revisions.
20286 - Add lint check for discouraging glob(["**/*.java"])
20287 - unifly lint glob(["**/*.java"]) message
20288 - Removed flags `--incompatible_checked_arithmetic`,
20289 `--incompatible_dict_literal_has_no_duplicates`,
20290 `--incompatible_disallow_keyword_only_args`, and `
20291 --incompatible_comprehension_variables_do_not_leak`.
20292 - Add "proto_source_root" flag to proto_library.
20293 - Updated default android_cpu value to armeabi-v7a
20294 - In skylark, print(target) now shows the provider keys of a
20295 target, as debug information.
20296 - The native http_archive rule is deprecated. Use the
20297 Skylark version available via
20298 load("@bazel_tools//tools/build_defs/repo:http.bzl",
20299 "http_archive")
20300 instead.
20301 - flaky_test_attempts supports the regex@attempts syntax, like
20302 runs_per_test.
20303 - Fixed include paths for NDK r13+ llvm-libc++ headers to
20304 `ndk/sources/cxx-stl/llvm-libc++/include` and
20305 `ndk/sources/cxx-stl/llvm-libc++abi/include`
20306 - --config flags now expand in place by default.
20307 - aar_import now sets java.transitive_exports.
20308 - repository_cache is no longer experimental and enabled by default.
20309 - BAZEL_LINKOPTS is now consulted when autoconfiguring c++ toolchain
20310 - The native git_repository rule is deprecated. Use the
20311 Skylark version available via
20312 load("@bazel_tools//tools/build_defs/repo:git.bzl",
20313 "git_repository")
20314 instead.
20315 - Removed flag `--incompatible_load_argument_is_label`.
20316 - CcToolchain: Introduced action_config for
20317 "c++-link-transitive-dynamic-library"
20318 - Use bazel dump --action_graph=/path/to/action.proto
20319 --action_graph:targets://foo:bar,//foo:foo to filter for certain
20320 targets in the action graph dump.
20321 - Added Android NDK r16 support. Use --cxxopt='-std=c++11` compile
20322 with the C++11 standard, and
20323 `--android_crosstool_top=@androidndk//:toolchain-libcpp` to use
20324 the `libc++` STL.
20325 - Add a --build_event_publish_all_actions flag to allow all actions
20326 to be published via the BEP.
20327 - C++: Introduced --experimental_drop_fully_static_linking_mode
20328 - Removed cc_inc_library, please use cc_library instead
20329 - CppRules: cc_binary/cc_test now enable 'static_linking_mode' or
20330 'dynamic_linking_mode'.
20331
Bazel Release Systemc86d6a02018-03-06 19:32:18 +010020332## Release 0.11.1 (2018-03-06)
20333
20334```
20335Baseline: 00d781ae78a8bd51d3c61b621d79f0bb095aff9e
20336
20337Cherry picks:
20338 + ea2d4c475febdbd59ca0e0ba46adc7be759f84e0:
20339 Update stub_finds_runfiles_test to be a real sh_test.
20340 + d855d8133f4efb73ebd5e82c54a9afb4c7565d46:
20341 java,runfiles: fix bugs in runfiles library
20342 + 56aeb04a064218b845ecc193d530c341c6ec854d:
20343 Fixing #4585: broken re-execution of orphaned actions.
20344 + cf3f81aef7c32019d70cbce218a64a03276268f0:
20345 remote: Add support for HTTP Basic Auth
20346 + 28bd997c1c8793973f63dcae4c22bbae49e7d8b7:
20347 Fixing test-setup.sh occasionally missing stdout/stderr, on
20348 systems where "tail --pid" is supported.
20349 + 109e4b4dc9e786e3a2d8d7cb245d18320dbe9216:
20350 Automated rollback of commit
20351 7e6837cc1d1aa4259f5c27ba3606b277b5f6c3e9.
20352 + b3d52b1b6d46a0f23cc91125c1d522e9d13433b4:
20353 Fix incorrect include directories when -no-canonical-prefixes is
20354 passed to clang
20355 + 1001141f0674ff4b611814edcb00a5183680ef4a:
20356 Roll forward of
20357 https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1
20358 b52bcac5a3ff942029
20359 (https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba
20360 1b52bcac5a3ff942029). Fix #4625 by running the test process in a
20361 sub-shell.
20362 + fc98b44b6181fa4c3efd8613d887970629468d74:
20363 android,windows: bugfix in aar_resources_extractor
20364```
20365
20366Important changes:
20367
20368 - Fixes regression building Android rules on Windows.
20369
Bazel Release System09077a32018-02-23 11:09:18 -050020370## Release 0.11.0 (2018-02-23)
20371
20372```
20373Baseline: 00d781ae78a8bd51d3c61b621d79f0bb095aff9e
20374
20375Cherry picks:
20376 + ea2d4c475febdbd59ca0e0ba46adc7be759f84e0:
20377 Update stub_finds_runfiles_test to be a real sh_test.
20378 + d855d8133f4efb73ebd5e82c54a9afb4c7565d46:
20379 java,runfiles: fix bugs in runfiles library
20380 + 56aeb04a064218b845ecc193d530c341c6ec854d:
20381 Fixing #4585: broken re-execution of orphaned actions.
20382 + cf3f81aef7c32019d70cbce218a64a03276268f0:
20383 remote: Add support for HTTP Basic Auth
20384 + 28bd997c1c8793973f63dcae4c22bbae49e7d8b7:
20385 Fixing test-setup.sh occasionally missing stdout/stderr, on
20386 systems where "tail --pid" is supported.
20387 + 109e4b4dc9e786e3a2d8d7cb245d18320dbe9216:
20388 Automated rollback of commit
20389 7e6837cc1d1aa4259f5c27ba3606b277b5f6c3e9.
20390 + b3d52b1b6d46a0f23cc91125c1d522e9d13433b4:
20391 Fix incorrect include directories when -no-canonical-prefixes is
20392 passed to clang
20393 + 3904ac33a983fd8faebba1b52bcac5a3ff942029:
20394 Automated rollback of commit
20395 28bd997c1c8793973f63dcae4c22bbae49e7d8b7.
20396 + 1001141f0674ff4b611814edcb00a5183680ef4a:
20397 Roll forward of
20398 https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1
20399 b52bcac5a3ff942029
20400 (https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba
20401 1b52bcac5a3ff942029). Fix #4625 by running the test process in a
20402 sub-shell.
20403```
20404
20405Incompatible changes:
20406
20407 - ctx.fragments.jvm is not available anymore.
20408
20409New features:
20410
20411 - java,runfiles: You can now depend on
20412 `@bazel_tools//tools/runfiles:java-runfiles` to get a
20413 platform-independent runfiles library for Java. See JavaDoc of
20414 https://github.com/bazelbuild/bazel/blob/master/src/tools/runfiles
20415 /java/com/google/devtools/build/runfiles/Runfiles.java for usage
20416 information.
20417
20418Important changes:
20419
20420 - The --[no]experimental_disable_jvm command line option is not
20421 supported anymore.
20422 - Allow expanding TreeArtifacts for libraries_to_link
20423 - Proguarded Android binaries can be built with incremental dexing.
20424 - aar_import now supports assets.
20425 - Crash in OutputJar::Close has been fixed
20426 - generator_* attributes are nonconfigurable.
20427 - Introduces --[no]keep_state_after_build
20428 - Add support for merged object files needed for -flto-unit.
20429 - Fix how libraries to link is specified to archiver actions.
20430 - Replace //tools/defaults:android_jar with
20431 @bazel_tools//tools/android:android_jar.
20432 //tools/defaults:android_jar will be removed in a future release.
20433 - java_common.compile supports neverlink
20434 - Resolved an issue where a failure in the remote cache would not
20435 trigger local re-execution of an action.
20436
Bazel Release Systeme1148362018-02-15 10:02:05 +010020437## Release 0.10.1 (2018-02-15)
20438
20439```
20440Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993
20441
20442Cherry picks:
20443 + f6ca78808722c8c119affdb33400838ee92d44b6:
20444 isable_presubmit
20445 + 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52:
20446 Fix StreamResourceLeak error
20447 + e5436745e1732f5e43fc55f0deb5b19e23ce8524:
20448 windows: fix --symlink_prefix=/ throwing exception
20449 + 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3:
20450 Fix turbine command lines with empty javacopts
20451 + 96c654d43eb2906177325cbc2fc2b1e90dbcc792:
20452 Remove EOL'd Linux flavours, bump CentOS to 6.9.
20453 + f0bec36864f10370cbbda4caa8beac2e0c5ee45b:
20454 Automated rollback of commit
20455 2aeaeba66857c561dd6d63c79a213f1cabc3650d.
20456 + 860af5be10b6bad68144d9d2d34173e86b40268c:
20457 Consolidate Error Prone resource handling
20458 + 2e631c99495f75270d2639542cefb531ec262d67:
20459 sandbox: properly add `tmpDir` to `writablePaths`
20460 + 5bfa5844d0d16d71e88002956e88402bfec88ef7:
20461 actions,temp: respect TMPDIR envvar
20462 + 6cc2ad8676d1ae0542b351a07a05ddbe5efac165:
20463 sandbox: add env[TMPDIR] instead of `tmpDir`
20464 + 40c757f4ab90214f95935672532a495c4551490a:
20465 Change git clone to pull all history, so all needed commits can
20466 be accessed.
20467 + 56aeb04a064218b845ecc193d530c341c6ec854d:
20468 Fixing #4585: broken re-execution of orphaned actions.
20469```
20470
20471Important changes:
20472
20473 - Resolved an issue where a failure in the remote cache would not
20474 trigger local re-execution of an action.
20475
Bazel Release System5bd27482018-02-01 09:43:33 +010020476## Release 0.10.0 (2018-02-01)
20477
20478```
20479Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993
20480
20481Cherry picks:
20482 + f6ca78808722c8c119affdb33400838ee92d44b6:
20483 isable_presubmit
20484 + 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52:
20485 Fix StreamResourceLeak error
20486 + e5436745e1732f5e43fc55f0deb5b19e23ce8524:
20487 windows: fix --symlink_prefix=/ throwing exception
20488 + 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3:
20489 Fix turbine command lines with empty javacopts
20490 + 96c654d43eb2906177325cbc2fc2b1e90dbcc792:
20491 Remove EOL'd Linux flavours, bump CentOS to 6.9.
20492 + f0bec36864f10370cbbda4caa8beac2e0c5ee45b:
20493 Automated rollback of commit
20494 2aeaeba66857c561dd6d63c79a213f1cabc3650d.
20495 + 860af5be10b6bad68144d9d2d34173e86b40268c:
20496 Consolidate Error Prone resource handling
20497 + 2e631c99495f75270d2639542cefb531ec262d67:
20498 sandbox: properly add `tmpDir` to `writablePaths`
20499 + 5bfa5844d0d16d71e88002956e88402bfec88ef7:
20500 actions,temp: respect TMPDIR envvar
20501 + 6cc2ad8676d1ae0542b351a07a05ddbe5efac165:
20502 sandbox: add env[TMPDIR] instead of `tmpDir`
20503 + 40c757f4ab90214f95935672532a495c4551490a:
20504 Change git clone to pull all history, so all needed commits can
20505 be accessed.
20506```
20507
20508Incompatible changes:
20509
20510 - In order to access the template variables $(JAVA) and
20511 $(JAVABASE), @bazel_tools//tools/jdk:current_java_runtime needs
20512 to be added to the toolchains= attribute from now on.
20513 - The ctx.middle_man function is not supported anymore.
20514 - The flag --incompatible_list_plus_equals_inplace is removed, its
20515 default behavior is preserved. += on lists now always mutates the
20516 left hand
20517 side.
20518 - --android_sdk no longer supports filegroup targets.
20519 - android_* rules no longer support legacy_native_support attribute.
20520
20521New features:
20522
20523 - query: Add option --noproto:flatten_selects to turn off
20524 flattening of selector lists in proto output.
20525 - New android test rule, android_local_test.
20526
20527Important changes:
20528
20529 - The --remote_rest_cache flag now respects --remote_timeout.
20530 - --experimental_java_coverage is available for testing.
20531 - The deprecated builtin `set` is no longer allowed even from within
20532 unexecuted code in bzl files. It's temporarily possible to use
20533 --incompatible_disallow_uncalled_set_constructor=false if this
20534 change causes
20535 incompatibility issues.
20536 - Linkstamping is now a separate and full-blown CppCompileAction,
20537 it's
20538 no longer a part of linking command.
20539 - Using `+`, `|` or `.union` on depsets is now deprecated. Please
20540 use the new
20541 constructor instead (see
20542 https://docs.bazel.build/versions/master/skylark/depsets.html).
20543 - config_feature_flag's default_value is optional. It is
20544 only an error to have a config_feature_flag with no default_value
20545 if that config_feature_flag has not been set in the configuration
20546 it is being evaluated in.
20547 - --[no]keep_incrementality_data is gone, replaced by the
20548 enum-valued --incremental_state_retention_strategy
20549 - Linkstamping is now a separate and full-blown CppCompileAction,
20550 it's
20551 no longer a part of linking command.
20552 - Added --checkHashMismatch flag to ZipFilterAction. Valid values
20553 are IGNORE, WARN and ERROR. --errorOnHashMismatch is deprecated,
20554 please use this flag instead.
20555 - Set build jobs equivalent to number of logical processors by
20556 default. Should improve build times significantly.
20557 - Added --(no)expand_test_suites flag.
20558 - Rename --keep_incrementality_data to --track_incremental_state
20559 - --remote_rest_cache was renamed to --remote_http_cache. Both
20560 options keep working in this release, but --remote_rest_cache
20561 will be
20562 removed in the next release.
20563 - Aspects-on-aspect see and propagate over aspect attributes.
20564 - --auth_* flags were renamed to --google_* flags. The old names
20565 will continue to work for this release but will be removed in the
20566 next
20567 release.
20568 - Remote Caching and Execution support output directories.
20569 - Remove defunct flags
20570 --experimental_incremental_dexing_for_lite_proto and
20571 --experimental_incremental_dexing_error_on_missed_jars that have
20572 long been enabled by default
20573 - New version of aapt2 and Resources.proto.
20574 - Make PIC and non PIC outputs for C++ compilation with Tree
20575 Artifacts
20576
Bazel Release System7b423cc2017-12-19 10:31:05 +010020577## Release 0.9.0 (2017-12-19)
Bazel Release System3d53cb02017-12-05 15:28:40 +010020578
20579```
Bazel Release System7b423cc2017-12-19 10:31:05 +010020580Baseline: ddd5ac16aeffa6c4693c348f73e7365240b1abc5
Bazel Release System3d53cb02017-12-05 15:28:40 +010020581
20582Cherry picks:
Bazel Release System7b423cc2017-12-19 10:31:05 +010020583 + 2cf560f83922e6df9626ba3ee063c1caf6797548:
20584 Update version of re2
20585 + a2d2615362c65be98629b39ce39754a325ed1c42:
20586 Check for null build file returned from getBuildFileForPackage.
20587 + 68c577afc2fb33b5e66b820bcc9043fed1071456:
20588 Fix some broken targets and failing tests.
20589 + 766ba8adc4487f17ebfc081aeba6f34b18b53d6c:
Bazel Release System3d53cb02017-12-05 15:28:40 +010020590 Automated rollback of commit
Bazel Release System7b423cc2017-12-19 10:31:05 +010020591 337f19cc54e77c45daa1d5f61bf0a8d3daf8268f.
20592 + a22d0e9c14e58b29d81f5a83bdcc6e5fce52eafe:
20593 Fix: uploading artifacts of failed actions to remote cache
20594 stopped working.
20595 + 03964c8ccb20d673add76c7f37245e837c3899b6:
20596 [java_common.compile] Name output source jar relative to the
20597 output jar name
Bazel Release System3d53cb02017-12-05 15:28:40 +010020598```
20599
Bazel Release System7b423cc2017-12-19 10:31:05 +010020600Incompatible changes:
20601
20602 - The deprecated `set` constructor is removed, along with the
20603 migration flag --incompatible_disallow_set_constructor. It is
20604 still temporarily
20605 allowed to refer to `set` from within unexecuted code.
20606 - The flag --incompatible_disallow_set_constructor is no longer
20607 available, the deprecated `set` constructor is not available
20608 anymore.
20609 - The path to the JVM executable is not accessible anymore as
20610 ctx.{fragments,host_fragments}.jvm.java_executable. Use
20611 JavaRuntimeInfo.java_executable_exec_path instead.
20612 - --clean_style is no longer an option.
20613
20614New features:
20615
20616 - Users can use win_def_file attribute to specify a DEF file for
20617 exporting symbols when build a shared library on Windows.
20618 - Add --experimental_android_resource_cycle_shrinking option to
20619 allow for more aggressive code and resource shrinking.
20620
20621Important changes:
20622
20623 - Late-bound attributes are exposed to skylark. This is a new API
20624 (`configuration_field()`) to depend on certain
20625 configuration-defined targets from skylark rules.
20626 - Document interaction between test_suite and target exclusions
20627 - AAR manifest files will come from the processed resource APK if it
20628 exists.
20629 RELNOTES: None for Blaze users.
20630 - Document interaction between test_suite and target exclusions
20631 - --keep_incrementality_data flag allows Bazel servers to be run in
20632 memory-saving non-incremental mode independent of --batch and
20633 --discard_analysis_cache.
20634 - Add deps attribute to Skylark maven_aar and maven_jar workspace
20635 rules.
20636 - Use --expand_configs_in_place as a startup argument to change the
20637 order in which --config expansions are interpreted.
20638 - SOURCE_DATE_EPOCH
20639 (https://reproducible-builds.org/specs/source-date-epoch/) can
20640 be used to override the timestamp used for stamped target (when
20641 using --stamp).
20642 - Package specifications can now be prefixed with `-` to indicate
20643 negation
20644 - transitive_source_jars is now exposed on JavaInfo.
20645 - Add six to deps of has_services=1 py_proto_librarys.
20646 - java_tests no complain when use_testrunner is explicitly set to 1
20647 and main_class is set.
20648 - transitive_source_jars is now exposed on JavaInfo.
20649 - Debug messages generated by `print()` are not being filtered out
20650 by --output_filter anymore, it's recommended not to use them in
20651 production code.
20652 - in the Label() function, relative_to_caller_repository is now
20653 deprecated.
20654 - java_tests no complain when use_testrunner is explicitly set to 1
20655 and main_class is set.
20656 - Bazel's default hash function was changed from MD5 to SHA256.
20657 In particular, this affects users of remote caching and
20658 execution, as
20659 all hashes will be SHA256 by default.
20660 - Remove redirects for domains be.bazel.build and cr.bazel.build
20661 from the source for docs.bazel.build (because those subdomains
20662 don't resolve here; they resolve to bazel.build, which has the
20663 redirects for them)
20664 - First argument of 'load' must be a label. Path syntax is removed.
20665 (label should start with '//' or ':').
20666 - Document startup option --host_javabase
20667 - The --host_platform and --platform flags are no longer
20668 experimental.
Bazel Release System3d53cb02017-12-05 15:28:40 +010020669
Bazel Release System0838aee2017-11-27 14:16:34 +010020670## Release 0.8.0 (2017-11-27)
20671
20672```
20673Baseline: cff0dc94f6a8e16492adf54c88d0b26abe903d4c
20674
20675Cherry picks:
20676 + 8a49b156c4edf710e3e1e0acfde5a8d27cc3a086:
20677 Fix ImportError on tools.android for junction_lib
20678 + 275ae45b1228bdd0f912c4fbd634b29ba4180383:
20679 Automated rollback of commit
20680 4869c4e17d5b1410070a1570f3244148d8f97b5d.
20681 + d0bf589f2716b3d139c210930371a684c6e158eb:
20682 Add a random number to action temp dir
20683 + 9738f35abddb7ef7a7ef314b5d2a52a3be1b830a:
20684 CcProtoLibrary: Don't add dynamic librarys to filesToBuild on
20685 Windows
20686 + 0d6ff477099fdf6c8c1c7d4e2104f9184afe0a2b:
20687 Automated rollback of commit
20688 0ebb3e54fc890946ae6b3d059ecbd50e4b5ec840.
20689```
20690
20691Incompatible changes:
20692
20693 - ctx.fragments.apple.{xcode_version,ios_minimum_os} is not
20694 supported anymore. The same information is accessible through the
20695 target @bazel_tools//tools/osx:current_xcode_config: point an
20696 implicit attribute to it (i.e.
20697 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
20698 nfig")) then use
20699 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].
20700 - ctx.fragments.apple.minimum_os_for_platform_type is not supported
20701 anymore. The same information is accessible through the target
20702 @bazel_tools//tools/osx:current_xcode_config: point an implicit
20703 attribute to it (i.e.
20704 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
20705 nfig")) then use
20706 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].minimum_o
20707 s_for_platform_type .
20708 - ctx.fragments.apple.sdk_version_for_platform is not supported
20709 anymore. The same information is accessible through the target
20710 @bazel_tools//tools/osx:current_xcode_config: point an implicit
20711 attribute to it (i.e.
20712 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
20713 nfig")) then use
20714 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].sdk_versi
20715 on_for_platform .
20716 - --javabase=<absolute path> and --host_javabase=<absolute path>
20717 are not supported anymore. If you need this functionality
20718 java_runtime_suite(name="suite", default=":runtime")
20719 java_runtime(name="runtime", java_home=<path to the JDK>) is an
20720 alternative.
20721 - The flag --incompatible_descriptive_string_representations is no
20722 longer available, old style string representations of objects are
20723 not supported
20724 anymore.
20725 - The flag --incompatible_disallow_set_constructor is no longer
20726 available, the deprecated `set` constructor is not available
20727 anymore.
20728 - += on lists now mutates them. `list1 += list2` is now equivalent
20729 to `list1.extend(list2)` and not equivalent to `list1 = list1 +
20730 list2` anymore.
20731 - the target_apple_env and apple_host_system_env methods on
20732 ctx.fragments.apple are not supported anymore. The same
20733 information is accessible through apple_common.target_apple_env
20734 and apple_common.apple_host_system_env . They need the Xcode
20735 configuration as an argument, which can be obtained by declaring
20736 an implicit dependency on it (i.e.
20737 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
20738 nfig")) and then calling e.g.
20739 apple_common.apple_host_system_env(ctx.attr._xcode_config[apple_co
20740 mmon.XcodeVersionConfig]).
20741 - C++ toolchain identifiers are not in the name of the output
20742 directory anymore.
20743 - Selecting on "xcode_version" and
20744 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
20745 What was config_setting(values={"$FOO_version": $VALUE}) is now
20746 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
20747 flag": $VALUE}).
20748 - Selecting on "xcode_version" and
20749 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
20750 What was config_setting(values={"$FOO_version": $VALUE}) is now
20751 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
20752 flag": $VALUE}).
20753 - The flag --incompatible_disallow_set_constructor is no longer
20754 available, the deprecated `set` constructor is not available
20755 anymore.
20756 - Selecting on "xcode_version" and
20757 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
20758 What was config_setting(values={"$FOO_version": $VALUE}) is now
20759 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_versi...
20760
20761New features:
20762
20763 - runfiles, sh: Shell scripts may now depend on
20764 //src/tools/runfiles:runfiles_sh_lib and source runfiles.sh. The
20765 script defines the `rlocation` function which returns runfile
20766 paths on every platform.
20767 - In addition to $(location), Bazel now also supports $(rootpath)
20768 to obtain
20769 the root-relative path (i.e., for runfiles locations), and
20770 $(execpath) to
20771 obtain the exec path (i.e., for build-time locations)
20772
20773Important changes:
20774
20775 - android_binary now supports custom debug keys via the debug_key
20776 attribute.
20777 - Updated Android proguard to 5.3.3. It now works with android-24+.
20778 - --experimental_use_parallel_android_resource_processing and
20779 --experimental_android_use_nocompress_extensions_on_apk are
20780 removed. These features are fully rolled out.
20781 - Fixes #2574
20782 - Fixes #3834
20783 - Enable experimental UI by default.
20784 - .
20785 RELNOTES: None.
20786 RELNOTES: No.
20787 - Add memory profiler.
20788 - [Bazel] {java,cc}_proto_library now look for dependencies in
20789 @com_google_protobuf, instead of in @com_google_protobuf_$LANG
20790 - Improved merge.sh script in cookbook.
20791 - Fixing regression to --experimental_remote_spawn_cache
20792 - Support for linker scripts in NativeDepsHelper (e.g.,
20793 android_binary)
20794 - Skylark semantics flags now affect WORKSPACE files and repository
20795 rules.
20796 - ctx.outputs.executable is deprecated. Use DefaultInfo(executable
20797 = ...) instead.
20798 - Update "mirror.bazel.build" urls to use https.
20799 - Improve --config logging when --announce_rc is present.
20800 - Document interaction between test_suite and target exclusions
20801 - Replace version numbers for Bazel installers with "<version>"
20802 (because this will change often)
20803 - Published command lines should have improved lists of effective
20804 options.
20805 - --incremental_dexing_binary_types has been removed. All builds
20806 are supported by incremental dexing (modulo proguard and some
20807 blacklisted dx flags).
20808 - Document --host_javabase, --host_java_toolchain
20809
Bazel Release System76b6d0a2017-10-18 14:34:11 +020020810## Release 0.7.0 (2017-10-18)
20811
20812```
20813Baseline: 5cc6246d429f7d9119b97ce263b4fd6893222e92
20814
20815Cherry picks:
20816 + e79a1107d90380501102990d82cbfaa8f51a1778:
20817 Windows,bootstrapping: fix build_windows_jni.sh
20818```
20819
20820Incompatible changes:
20821
20822 - The --output=location flag to 'bazel query' cannot be used with
20823 query expressions that involve the 'buildfiles' or 'loadfiles'
20824 operators. This also applies to 'genquery' rules.
20825 - Operators for equality, comparison, 'in' and 'not in' are no
20826 longer associative,
20827 e.g. x < y < z is now a syntax error. Before, it was parsed
20828 as: (x < y) < z.
20829 - In strings, octal sequences greater than \377 are now forbidden
20830 (e.g. "\\600").
20831 Previously, Blaze had the same behavior as Python 2, where
20832 "\\450" == "\050".
20833 - Using tabulation for identation is now fobidden in .bzl files
20834 - `load` is now a language keyword, it cannot be used as an
20835 identifier
20836 - lvalues must have define at least one variable (i.e. we forbid
20837 `[] = f()`).
20838 - Fixed a bug whereby multiple load() statements could appear on
20839 the same line
20840 - -extra_checks:off is no longer supported; use
20841 -XepDisableAllChecks instead
20842 - java_common.java_toolchain_attr is removed. Depend on the
20843 java_toolchain_alias() rule to accomplish the same thing.
20844 - cc_common.cc_toolchain_attr and java_common.java_runtime_attr are
20845 not supported anymore and were replaced with the
20846 cc_toolchain_alias() and java_runtime_alias() rules.
20847 - Noop flag --deprecated_generate_xcode_project deleted.
20848 - Objects in Skylark are converted to strings in a more descriptive
20849 and less harmful way (they don't leak information that shouldn't
20850 be accessed by Skylark code, e.g. nondeterministic memory addresses
20851 of objects).
20852 - `set` is deprecated in BUILD and .bzl files, please use `depset`
20853 instead. Ordering names have also been changed, please use "default",
20854 "postorder", "preorder", and "topological" instead of "stable",
20855 "compile", "naive_link", and "link" correspondingly.
20856 - Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is
20857 an error.
20858 - Keyword-only syntax in a function definition is now forbidden
20859 e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`
20860 - --incompatible_comprehension_variables_do_not_leak defaults to
20861 "true."
20862 Iteration variable becomes inaccessible after a list/dict
20863 comprehension.
20864 - @bazel_tools//tools/build_defs/docker:docker.bzl is no longer
20865 available, please see https://github.com/bazelbuild/rules_docker.
20866
20867New features:
20868
20869 - Zipped LLVM profiles are now supported.
20870 - LIPO maps to ThinLTO for LLVM builds.
20871 - Change to handle LLVM FDO zipped profile contents correctly.
20872 - Do not disable fully dynamic linking with ThinLTO when invoked
20873 via LIPO options.
20874 - There is now a 'siblings' query function. See the query
20875 documentation for more details.
20876 - Added the print_action command, which outputs the
20877 actions needed to build a given target in the form of an
20878 ExtraActionSummary proto in text format.
20879 - android_binary now supports proguard_apply_dictionary to specify
20880 a custom dictionary to use for choosing names to obfuscate
20881 classes and members to.
20882
20883Important changes:
20884
20885 - Windows: bazel clean --expunge works
20886 - First argument of 'load' should be a label. Path syntax is
20887 deprecated (label should start with '//' or ':').
20888 - Octal prefix '0' is deprecated in favor of '0o' (use 0o777
20889 instead of 0777).
20890 - The extension_safe attribute of apple_binary no longer validates
20891 transitive dependencies are compiled against extension_safe APIs.
20892 - Parentheses around the tuple are now mandatory in [a for b in c
20893 if 1, 2]
20894 - Adjust the thresholds for --test_verbose_timeout_warnings so that
20895 it can recommending timeout increases and won't recommend
20896 timeouts that are too close to the actual timeout.
20897 - Iterating on a `depset` object is deprecated. If you need an
20898 iterable, call the `.to_list()` method first.
20899 - Bazel now uses tools from action_configs in Crosstool by default
20900 (as oposed to using top level tools).
20901 - Incremental dexing errors on combination of --multidex=off and
20902 either --main-dex-list or --minimal-main-dex.
20903 - When using the dictionary literal syntax, it is now an error to
20904 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
20905 - New property on android_sdk: aapt2
20906 Choose the version of aapt on android_binary
20907 - Add idl_preprocessed attribute to android_library, so that
20908 preprocessed aidl files can be passed to android_library for
20909 compiling
20910 - Bazel's remote_worker backend for remote execution supports
20911 sandboxing on Linux now. Check
20912 https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w
20913 orker/README.md for details.
20914 - Allows flags that expand to take values.
20915 - Make querying attributes formed by selector lists of list types
20916 more efficient by no longer listing every possible combination of
20917 attribute value but by more compactly storing the possible values
20918 of the list.
20919 - writing build events to a file is no longer experimental
20920 - set --rewrite_calls_to_long_compare to false by default.
20921 - ObjC and C++ coverage feature is unified under name 'coverage'
20922 - Enable --incremental_dexing for Android builds by default. Note
20923 that some dexopts are incompatible with incremental dexing,
20924 including --force-jumbo.
20925 - Evaluation will soon use checked arithmetics and throw an error
20926 instead of overflow/underflow.
20927 - Implicit iteration in the CROSSTOOL has been removed, use
20928 explicit 'iterate_over' message.
20929 - Add option for Android specific grte_top
20930 - Crosstool patches are only applied if the toolchain doesn't define
20931 'no_legacy_features' feature.
20932 - 'platform_type' is now a mandatory attribute on apple_binary and
20933 apple_static_library rules.
20934 If this change breaks your build, feel free to add platform_type
20935 = 'ios' to any apple_binary and apple_static_library
20936 targets in your project, as this was the previous default
20937 behavior.
20938 - Remove apple_watch2_extension build rule. Users should be using
20939 the skylark watchos_application and watchos_extension rules.
20940 https://github.com/bazelbuild/rules_apple has details.
20941 - Check stderr to detect if connected to a terminal. Deprecate
20942 --isatty.
20943 - Commands that shut down the server (like "shutdown") now ensure
20944 that the server process has terminated before the client process
20945 terminates.
20946 - Remove apple_watch1_extension and apple_watch_extension_binary
20947 rules. Users should be using the skylark watchos_application and
20948 watchos_extension rules.
20949 https://github.com/bazelbuild/rules_apple has details.
20950 - Windows: Wrapper-less CROSSTOOL becomes default now.
20951 set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.
20952 - Ignore --glibc in the Android transition.
20953 - Remove --experimental_android_use_singlejar_for_multidex.
20954 - nocopts now also filter copts
20955 - 'strip' action is now configured via feature configuration
20956 - The Build Event Service (BES) client now properly supports
20957 Google Applicaton Default Credentials.
20958 - Flags from action_config get added first to the command line
20959 first, before the flags from features.
20960 - update dexing tools to Android SDK 26.0.1
20961 - Bazel Android support now requires build-tools 26.0.1 or later.
20962 - `bazel info output_path` no longer relies on the root directory
20963 filename being equal to the workspace name.
20964 - The `print` function now prints debug messages instead of
20965 warnings.
20966 - speedup of incremental dexing tools
20967 - --announce_rc now controls whether bazelrc startup options are
20968 printed to stderr.
20969 - Removing a few unused objc_provider keys.
20970 - Improved logging when workers have to be restarted due to its
20971 files having changed.
20972 - Top-level `if` statements are now forbidden.
20973 - Java protos are compiled to Java 7 bytecode.
20974 - All Android builds now use the desugar tool to support some Java
20975 8 features by default. To disable, use the --nodesugar_for_android flag.
20976 - Skylark-related options may now appear as "common" command
20977 options in the .bazelrc
20978 - Python is now required to build bazel.
20979 - New --build_runfile_manifests flag controls production of
20980 runfiles manifests.
20981 - Enable debug info for Java builds
20982 - Allow java_lite_proto_library in the deps of android rules.
20983 - .so files in APKs will be memory-page aligned when
20984 android_binary.nocompress_extensions contains ".so" and
20985 --experimental_android_use_nocompress_extensions_on_apk is
20986 specified.
20987 - Skylark providers can specify allowed fields and their
20988 documentation.
20989 - Support ctx.actions.args() for more efficient Skylark command
20990 line construction.
20991 - The remote HTTP/1.1 caching client (--remote_rest_cache) now
20992 distinquishes between action cache and CAS. The request URL for
20993 the action cache is prefixed with 'ac' and the URL for the CAS
20994 is prefixed with 'cas'.
20995 - `JavaInfo` is a preferred alias to `java_common.provider`.
20996 - J2ObjC version updated to 2.0.3.
20997 - A new Java coverage implementation is available. Makes possible
20998 coverage for Skylark JVM rules.
20999 - Make proguard_apply_dictionary also apply to class and package
21000 obfuscation, not just class members.
21001 - android_binary.nocompress_extensions now applies to all files in
21002 the APK, not just resources and assets.
21003 - The apple_genrule rule that is distributed with Bazel has been
21004 deleted. Users who wish to use genrules with Xcode's
21005 DEVELOPER_DIR set should use the rules in
21006 https://github.com/bazelbuild/rules_apple instead.
21007 - The swift_library rule that is distributed with Bazel has been
21008 deleted. Users who wish to compile Swift should use the rules in
21009 https://github.com/bazelbuild/rules_apple instead.
21010 - The Build Event Protocol's File.uri field is now properly
21011 encoded according to RFC2396.
21012 - Deprecated: Using the android_library.deps attribute to
21013 implicitly export targets to dependent rules. If your code is
21014 using this feature, Bazel will raise a warning. To fix, please
21015 use android_library.exports to explicitly specify exported
21016 targets. Run with
21017 --experimental_allow_android_library_deps_without_srcs=false to
21018 ensure forward compatibility when this feature is removed in a
21019 future release.
21020 - java_common.create_provider is now supported with creating ijars
21021 by default. This introduces incompatibilities for existing users.
21022 Please set use_ijar=False if you don't want to use ijars.
21023 - Tests can now write files to TEST_UNDECLARED_OUTPUTS_DIR and
21024 TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR and these will be
21025 reflected under bazel-testlogs.
21026 - remove unused --host_incremental_dexing flag
21027 - Stop using --undefined dynamic_lookup in Apple links. Enables
21028 unresolved symbol errors.
21029 - All test output files included for cached, uncached, and multiple
21030 attempt tests.
21031 - Android rules no longer restrict the manifest file to be named
21032 "AndroidManifest.xml".
21033 - Boolean flag values will now get normalized to 1 or 0 in
21034 canonicalize-flags output.
21035 - added experimental --use_new_category_enum to the help command to
21036 output options grouped by the new type of category.
21037 - Expose output jars and jdeps in java_common.provider, when
21038 available.
21039 - android_library targets are no longer allowed to use deps to
21040 export targets implicitly; please use android_library.exports
21041 instead.
21042 - New depset API
21043 - apple_binary and apple_static_library no longer support
21044 compilation attributes such as 'srcs'. If this breaks any
21045 existing targets, you may migrate all such attributes to a new
21046 objc_library target and depend on that objc_library target via
21047 the 'deps' attribute of apple_binary or apple_static_library.
21048
Bazel Release Systemed0ebc02017-10-05 23:52:25 +020021049## Release 0.6.1 (2017-10-05)
21050
21051```
21052Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689
21053
21054Cherry picks:
21055 + a615d288b008c36c659fdc17965207bb62d95d8d:
21056 Rollback context.actions.args() functionality.
21057 + 7b091c1397a82258e26ab5336df6c8dae1d97384:
21058 Add a global failure when a test is interrupted/cancelled.
21059 + 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120:
21060 Cleanups for Skylark tracebacks
21061 + cc9c2f07127a832a88f27f5d72e5508000b53429:
21062 Remove the status xml attribute from AntXmlResultWriter
21063 + 471c0e1678d0471961f1dc467666991e4cce3846:
21064 Release 0.6.0 (2017-09-28)
21065 + 8bdd409f4900d4574667fed83d86b494debef467:
21066 Only compute hostname once per server lifetime
21067 + 0bc9b3e14f305706d72180371f73a98d6bfcdf35:
21068 Fix bug in NetUtil caching.
21069```
21070
21071Important changes:
21072 - Only compute hostname once per server lifetime
21073
Bazel Release System471c0e12017-09-28 16:36:12 +020021074## Release 0.6.0 (2017-09-28)
21075
21076```
21077Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689
21078
21079Cherry picks:
21080 + a615d288b008c36c659fdc17965207bb62d95d8d:
21081 Rollback context.actions.args() functionality.
21082 + 7b091c1397a82258e26ab5336df6c8dae1d97384:
21083 Add a global failure when a test is interrupted/cancelled.
21084 + 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120:
21085 Cleanups for Skylark tracebacks
21086 + cc9c2f07127a832a88f27f5d72e5508000b53429:
21087 Remove the status xml attribute from AntXmlResultWriter
21088```
21089
21090Incompatible changes:
21091
21092 - Noop flag --deprecated_generate_xcode_project deleted.
21093 - Objects in Skylark are converted to strings in a more descriptive
21094 and less harmful way (they don't leak information that shouldn't
21095 be accessed by Skylark code, e.g. nondeterministic memory addresses
21096 of objects).
21097 - `set` is deprecated in BUILD and .bzl files, please use `depset`
21098 instead. Ordering names have also been changed, please use
21099 "default", "postorder", "preorder", and "topological" instead of
21100 "stable", "compile", "naive_link", and "link" correspondingly.
21101 - Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is
21102 an error.
21103 - Keyword-only syntax in a function definition is now forbidden
21104 e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`
21105 - --incompatible_comprehension_variables_do_not_leak defaults to
21106 "true."
21107 Iteration variable becomes inaccessible after a list/dict
21108 comprehension.
21109
21110New features:
21111
21112 - There is now a 'siblings' query function. See the query
21113 documentation for more details.
21114 - Added the print_action command, which outputs the
21115 actions needed to build a given target in the form of an
21116 ExtraActionSummary proto in text format.
21117 - android_binary now supports proguard_apply_dictionary to specify
21118 a custom dictionary to use for choosing names to obfuscate
21119 classes and members to.
21120
21121Important changes:
21122
21123 - 'strip' action is now configured via feature configuration
21124 - Flags from action_config get added first to the command line
21125 first,
21126 before the flags from features.
21127 - `bazel info output_path` no longer relies on the root directory
21128 filename being equal to the workspace name.
21129 - The `print` function now prints debug messages instead of
21130 warnings.
21131 - speedup of incremental dexing tools
21132 - --announce_rc now controls whether bazelrc startup options are
21133 printed to stderr.
21134 - Removing a few unused objc_provider keys.
21135 - Improved logging when workers have to be restarted due to its
21136 files having changed.
21137 - Top-level `if` statements are now forbidden.
21138 - Java protos are compiled to Java 7 bytecode.
21139 - All Android builds now use the desugar tool to support some Java
21140 8 features by default. To disable, use the
21141 --nodesugar_for_android flag.
21142 - Skylark-related options may now appear as "common" command
21143 options in the .bazelrc
21144 - Python is now required to build bazel.
21145 - When the lvalue of an augmented assignment is a list, we now
21146 throw an error
21147 before evaluating the code (e.g. `a, b += 2, 3`).
21148 - New --build_runfile_manifests flag controls production of
21149 runfiles manifests.
21150 - Enable debug info for Java builds
21151 - Allow java_lite_proto_library in the deps of android rules.
21152 - .so files in APKs will be memory-page aligned when
21153 android_binary.nocompress_extensions contains ".so" and
21154 --experimental_android_use_nocompress_extensions_on_apk is
21155 specified.
21156 - Skylark providers can specify allowed fields and their
21157 documentation.
21158 - Support ctx.actions.args() for more efficient Skylark command
21159 line construction.
21160 - The remote HTTP/1.1 caching client (--remote_rest_cache) now
21161 distinquishes between action cache and CAS. The request URL for
21162 the action cache is prefixed with 'ac' and the URL for the CAS
21163 is prefixed with 'cas'.
21164 - `JavaInfo` is a preferred alias to `java_common.provider`.
21165 - J2ObjC version updated to 2.0.3.
21166 - A new Java coverage implementation is available. Makes possible
21167 coverage for Skylark JVM rules.
21168 - Make proguard_apply_dictionary also apply to class and package
21169 obfuscation, not just class members.
21170 - When using the dictionary literal syntax, it is now an error to
21171 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
21172 - android_binary.nocompress_extensions now applies to all files in
21173 the APK, not just resources and assets.
21174 - The apple_genrule rule that is distributed with Bazel has been
21175 deleted. Users who wish to use genrules with Xcode's
21176 DEVELOPER_DIR set should use the rules in
21177 https://github.com/bazelbuild/rules_apple instead.
21178 - The swift_library rule that is distributed with Bazel has been
21179 deleted. Users who wish to compile Swift should use the rules in
21180 https://github.com/bazelbuild/rules_apple instead.
21181
Bazel Release System5371d132017-08-25 11:24:06 +020021182## Release 0.5.4 (2017-08-25)
21183
21184```
21185Baseline: 6563b2d42d29196432d5fcafa0144b8371fbb028
21186
21187Cherry picks:
21188 + d4fa181f8607c35230b7efa1ce94188b51508962:
21189 Use getExecPathString when getting bash_main_file
21190 + 837e1b3d4859140d29aaa6bbab8fbb008e6d701e:
21191 Windows, sh_bin. launcher: export runfiles envvars
21192 + fe9ba893c0ebec19228086356af5fa8d81f2809b:
21193 grpc: Consolidate gRPC code from BES and Remote Execution. Fixes
21194 #3460, #3486
21195 + e8d4366cd374fba92f1425de0d475411c8defda4:
21196 Automated rollback of commit
21197 496d3ded0bce12b7371a93e1183ba30e6aa88032.
21198 + 242a43449dd44a22857f6ce95f7cc6a7e134d298:
21199 bes,remote: update default auth scope.
21200 + 793b409eeae2b42be7fed58251afa87b5733ca4d:
21201 Windows, sh_bin. launcher: fix manifest path
21202 + 7e4fbbe4ab3915a57b2187408c3909e5cd6c6013:
21203 Add --windows_exe_launcher option
21204 + 91fb38e92ace6cf14ce5da6527d71320b4e3f3d2:
21205 remote_worker: Serialize fork() calls. Fixes #3356
21206 + b79a9fcd40f448d3aebb2b93a2ebe80d09b38408:
21207 Quote python_path and launcher in
21208 python_stub_template_windows.txt
21209 + 4a2e17f85fc8450aa084b201c5f24b30010c5987:
21210 Add build_windows_jni.sh back
21211 + ce61d638197251f71ed90db74843b55d9c2e9ae5:
21212 don't use methods and classes removed in upstream dx RELNOTES:
21213 update dexing tools to Android SDK 26.0.1
21214 + 5393a4996d701fa192964a35cbb75e558a0599c0:
21215 Make Bazel enforce requirement on build-tools 26.0.1 or later.
21216 + 5fac03570f80856c063c6019f5beb3bdc1672dee:
21217 Fix --verbose_failures w/ sandboxing to print the full command
21218 line
21219 + f7bd1acf1f96bb7e3e19edb9483d9e07eb5af070:
21220 Only patch in C++ compile features when they are not already
21221 defined in crosstool
21222 + d7f5c120417bc2d2344dfb285322355f225d9153:
21223 Bump python-gflags to 3.1.0, take two
21224 + 3cb136d5451e9d8af58f9a99990cad0592df101a:
21225 Add python to bazel's dockerfiles
21226```
21227
21228New features:
21229
21230 - Do not disable fully dynamic linking with ThinLTO when invoked
21231 via LIPO options.
21232
21233Important changes:
21234
21235 - Ignore --glibc in the Android transition.
21236 - Remove --experimental_android_use_singlejar_for_multidex.
21237 - nocopts now also filter copts
21238 - The Build Event Service (BES) client now properly supports
21239 Google Applicaton Default Credentials.
21240 - update dexing tools to Android SDK 26.0.1
21241 - Bazel Android support now requires build-tools 26.0.1 or later.
21242 - Fix a bug in the remote_worker that would at times make it crash on Linux. See #3356
21243 - The java_proto_library rule now supports generated sources. See #2265
21244
Bazel Release System195a7a82017-07-27 20:27:32 +020021245## Release 0.5.3 (2017-07-27)
21246
21247```
21248Baseline: 88518522a18df5788736be6151fc67992efe2aad
21249
21250Cherry picks:
21251 + 820a46af10808396873c36d0f331e533118cf0c6:
21252 Automated rollback of commit
21253 6d6e87297fe8818e4c374fdfabfbcf538bca898a.
21254 + ccfb2df69ecf4746f5a15e1295af995c3a45aa94:
21255 Allow py_binary to be the executable of a Skylark action or any
21256 SpawnAction on Windows.
21257 + 06534911696838e720c8681f6f568c69d28da65e:
21258 Fix string representation for the Root class
21259 + cd159bcee72a7f377621b45409807231a636f9e2:
21260 sandbox: Allow UNIX sockets on macOS even when block-network is
21261 used.
21262 + ad73cba3caa2e08ad61ea9ca63f9111cde1f48d1:
21263 Fix python_stub_template.txt to be compatible with Python 2.4.
21264 + 9a63aff8bb771af8917903fbbc9df3b708e2c0ed:
21265 Create Windows ZIP release artifact using Bazel
21266 + 5e576637b5705aff0a7bf56b5077463dffcd712f:
21267 Automated rollback of commit
21268 820a46af10808396873c36d0f331e533118cf0c6.
21269 + b6e29ca217b02c3ba499b85479a3830f59c9b9b6:
21270 Use the correct function to generate the release notes
21271 + 0f3481ba6364f24ef76b839bdde06ae7883c9bd9:
21272 Include <cinttypes> instead of <stdint.h>
21273```
21274
21275Incompatible changes:
21276
21277 - The --output=location flag to 'bazel query' cannot be used with
21278 query expressions that involve the 'buildfiles' or 'loadfiles'
21279 operators. This also applies to 'genquery' rules.
21280 - Operators for equality, comparison, 'in' and 'not in' are no
21281 longer associative, e.g. x < y < z is now a syntax error.
21282 Before, it was parsed as: (x < y) < z.
21283 - In strings, octal sequences greater than \377 are now forbidden
21284 (e.g. "\\600"). Previously, Blaze had the same behavior as Python 2,
21285 where "\\450" == "\050".
21286 - Using tabulation for identation is now fobidden in .bzl files
21287 - `load` is now a language keyword, it cannot be used as an
21288 identifier
21289 - lvalues must have define at least one variable (i.e. we forbid
21290 `[] = f()`).
21291 - Fixed a bug whereby multiple load() statements could appear on
21292 the same line
21293 - -extra_checks:off is no longer supported; use
21294 -XepDisableAllChecks instead
21295 - java_common.java_toolchain_attr is removed. Depend on the
21296 java_toolchain_alias() rule to accomplish the same thing.
21297 - cc_common.cc_toolchain_attr and java_common.java_runtime_attr are
21298 not supported anymore and were replaced with the
21299 cc_toolchain_alias() and java_runtime_alias() rules.
21300
21301New features:
21302
21303 - Zipped LLVM profiles are now supported.
21304 - LIPO maps to ThinLTO for LLVM builds.
21305 - Change to handle LLVM FDO zipped profile contents correctly.
21306
21307Important changes:
21308
21309 - Windows: bazel clean --expunge works
21310 - First argument of 'load' should be a label. Path syntax is
21311 deprecated (label should start with '//' or ':').
21312 - Octal prefix '0' is deprecated in favor of '0o' (use 0o777
21313 instead of 0777).
21314 - The extension_safe attribute of apple_binary no longer validates
21315 transitive dependencies are compiled against extension_safe APIs.
21316 - Parentheses around the tuple are now mandatory in [a for b in c
21317 if 1, 2]
21318 - Adjust the thresholds for --test_verbose_timeout_warnings so that
21319 it can recommending timeout increases and won't recommend
21320 timeouts that are too close to the actual timeout.
21321 - Iterating on a `depset` object is deprecated. If you need an
21322 iterable, call the `.to_list()` method first.
21323 - Bazel now uses tools from action_configs in Crosstool by default
21324 (as oposed to using top level tools).
21325 - Incremental dexing errors on combination of --multidex=off and
21326 either --main-dex-list or --minimal-main-dex.
21327 - When using the dictionary literal syntax, it is now an error to
21328 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
21329 - New property on android_sdk: aapt2
21330 Choose the version of aapt on android_binary
21331 - Add idl_preprocessed attribute to android_library, so that
21332 preprocessed aidl files can be passed to android_library for
21333 compiling
21334 - Bazel's remote_worker backend for remote execution supports
21335 sandboxing on Linux now. Check
21336 https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w
21337 orker/README.md for details.
21338 - Allows flags that expand to take values.
21339 - Make querying attributes formed by selector lists of list types
21340 more efficient by no longer listing every possible combination of
21341 attribute value but by more compactly storing the possible values
21342 of the list.
21343 - Writing build events to a file is no longer experimental
21344 - set --rewrite_calls_to_long_compare to false by default.
21345 - ObjC and C++ coverage feature is unified under name 'coverage'
21346 - Enable --incremental_dexing for Android builds by default. Note
21347 that some dexopts are incompatible with incremental dexing,
21348 including --force-jumbo.
21349 - Evaluation will soon use checked arithmetics and throw an error
21350 instead of overflow/underflow.
21351 - Implicit iteration in the CROSSTOOL has been removed, use
21352 explicit 'iterate_over' message.
21353 - Add option for Android specific grte_top
21354 - Crosstool patches are only applied if the toolchain doesn't define
21355 'no_legacy_features' feature.
21356 - 'platform_type' is now a mandatory attribute on apple_binary and
21357 apple_static_library rules.
21358 If this change breaks your build, feel free to add platform_type
21359 = 'ios' to any apple_binary and apple_static_library
21360 targets in your project, as this was the previous default
21361 behavior.
21362 - Remove apple_watch2_extension build rule. Users should be using
21363 the skylark watchos_application and watchos_extension rules.
21364 https://github.com/bazelbuild/rules_apple has details.
21365 - Check stderr to detect if connected to a terminal. Deprecate
21366 --isatty.
21367 - Commands that shut down the server (like "shutdown") now ensure
21368 that the server process has terminated before the client process
21369 terminates.
21370 - Remove apple_watch1_extension and apple_watch_extension_binary
21371 rules. Users should be using the skylark watchos_application and
21372 watchos_extension rules.
21373 https://github.com/bazelbuild/rules_apple has details.
21374 - Windows: Wrapper-less CROSSTOOL becomes default now.
21375 set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.
21376
Bazel Release System7b851222017-06-27 15:08:47 +020021377## Release 0.5.2 (2017-06-27)
21378
21379```
21380Baseline: e78ad83ded6e9c6d639793827e27b6570e6e9f65
21381
21382Cherry picks:
21383 + 68028317c1d3d831a24f90e2b25d1410ce045c54:
21384 experimental UI: move stopUpdateThread() out of synchronized,
21385 again
21386 + 019935dfbb61e61d08d1351b0365fb4e2d0df305:
21387 Fix bug in URI computation in RemoteModule
21388 + e9424cf9b9d72b98594966d5ac0f15bb018ec639:
21389 Automated rollback of commit
21390 7dec00574aa91327693f6ba7e90bff5bc834253e.
21391 + 9eea05d068a06ab642dd9d86d46ee5fa2e36b02e:
21392 Switching to Watcher API instead of wait_for_completion, in
21393 preparation for deprecating the wait_for_completion field.
21394 + 89659810e3048782dfb5e308e39aa8a0727e464e:
21395 Set correct execroot for info
21396 + 716b527266f47f59a2b7fb2e5fc52cb45e1691b1:
21397 Only create a single per-build instance of the remote cache /
21398 executor
21399 + 1d82d199f82409f217a42bcefebb96f723f91caa:
21400 protobuf: Update protobuf jars to be binary compatible with Java
21401 6. Fixes #3198
21402 + 524b90d9e5acc4fa568f215c9415eaa902e979f8:
21403 Change CAS URI to use the "bytestream" scheme instead of being
21404 scheme-less
21405 + 4929ad79865f8c13ef3b33c827040f4a037e4afe:
21406 Automated g4 rollback of commit
21407 923d7df521f67d031b288180560848bd35e20976.
21408 + 68b9a7e2dc17e32b194238d287e79bee1ba035b9:
21409 Automated g4 rollback of commit
21410 da56606563ee9df438db93392f681bf2abb4ac97.
21411 + 2ba693ffbe824136a0ca5f47d34710612f6302c3:
21412 Automated rollback of commit
21413 ce7c4deda60a307bba5f0c9421738e2a375cf44e.
21414```
21415
21416Incompatible changes:
21417
21418 - Blaze no longer generates xcode projects. Use tulsi.bazel.build
21419 instead.
21420
21421Important changes:
21422
21423 - Keyword-only syntax in a function definition is deprecated
21424 (e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`) and will be
21425 removed in the future.
21426 - Attempting to build an Android target without setting up
21427 android_sdk_repository will now produce a helpful error message.
21428 - Adds a sha256 attribute to git_repository and new_git_repository.
21429 This can only be used if the remote is a public GitHub
21430 repository. It forces
21431 Bazel to download the repository as a tarball, which will often
21432 be faster and
21433 more robust than cloning it.
21434 - Sandboxing is now enabled by default on FreeBSD (via
21435 processwrapper-sandbox).
21436 - android_test may use manifest placeholders with 'manifest_merger
21437 = "android"'.
21438 - load() statements should be called at the top of .bzl files,
21439 before any
21440 other statement. This convention will be enforced in the future.
21441 - Effectively remove sysroot from CppConfiguration and allow it to
21442 use select statements.
21443 - proto_library.strict_proto_deps no longer exists.
21444 - Flag --explicit_jre_deps is now a noop.
21445 - The 'legacy' Android manifest merger is deprecated. Please
21446 upgrade to the 'android' manifest merger, which is the same
21447 merger used by Gradle.
21448 https://developer.android.com/studio/build/manifest-merge.html
21449 - Using $(CC_FLAGS) in a GenRule adds a dependency to the c++
21450 toolchain
21451 - add one-version enforcement to android_local_test
21452 - Skylark support (apple_common.dotted_version(string)) for
21453 building DottedVersion objects to interface with native apple
21454 rules
21455 - CC_FLAGS can be defined using 'cc-flags-make-variable' action_config in
21456 CROSSTOOL
21457 - ios_framework native rule has been removed. This rule had been
21458 essentially broken for several months now; users should be using
21459 the skylark ios framework rule.
21460 https://github.com/bazelbuild/rules_apple has details.
21461 - Clean command no longer uses boolean values for --async,
21462 --expunge, and --expunge_async options.
21463 - Partially fixes external J2ObjC support.
21464 - '--aspects' can occur more than once on the command line.
21465 - --no_ prefix no longer recognized.
21466 - Use action_config in crosstool for static library archiving,
21467 remove ar_flag.
21468 - Added a new flag --sandbox_writable_path, which asks the sandbox
21469 to
21470 make an existing directory writable when running actions.
21471 - bazel test now also computes a default instrumentation filter if
21472 --collect_code_coverage is enabled
21473 - n/na
21474 - In .bzl files, top-level `if` statements are deprecated and will
21475 be forbidden
21476 in the future. Move them in a function body instead (or use a
21477 conditional
21478 expression instead: `x if condition else y`).
21479 - ios_device and ios_test are deprecated. Please use the new testing
21480 rules in https://github.com/bazelbuild/rules_apple instead.
21481 - bazel query --output package now displays packages from external
21482 repository with the format "@reponame//package". Packages in the
21483 main repository continue to have the format "package".
21484 - ctx.expand_make_variables is deprecated.
21485 - Bazel posts links to the CAS to the BEP if remote caching /
21486 execution is enabled
21487 - `bazel info execution_root` returns the corrrect directory name
21488 for the execution root.
21489
Bazel Release System63222de2017-06-06 11:32:04 +020021490## Release 0.5.1 (2017-06-06)
21491
21492```
21493Baseline: f3ae88ee043846e7acdffd645137075a4e72c573
21494
21495Cherry picks:
21496 + c58ba098526b748f9c73e6229cafd74748205aa1:
21497 Release to GCS: put the final release in its own directory
21498 + 0acead4ea3631240659836ce6ecd6d7f67fd352b:
21499 Update protobuf to latest master at a64497c and apply
21500 @laszlocsomor's latest changes from
21501 https://github.com/google/protobuf/pull/2969 on top of it.
21502 + d0242ce4a87929f2528f4602d0fb09d1ccfcea94:
21503 Make symlinks consistent
21504 + d953ca8b87a46decbce385cebb446ae0dd390881:
21505 Clean VanillaJavaBuilder output directories
21506 + 755669fb5de1f4e762f27c19776cac9f410fcb94:
21507 Pass all the environment variable to Bazel during bootstrapping
21508 + 6f041661ca159903691fcb443d86dc7b6454253d:
21509 Do not mark the JDK7 installer -without-jdk-installer
21510 + 720561113bfa702acfc2ca24ce3cc3fd7ee9c115:
21511 Fix #2958: Installer should not overwrite bazelrc
21512 + 511c35b46cead500d4e76706e0a709e50995ceba:
21513 Bootstrap: move the fail function to the top
21514 + 8470be1122825aae8ad0903dd1e1e2a90cce47d2:
21515 Clean up javac and Error Prone targets
21516 + 4a404de2c6c38735167e17ab41be45ef6fc4713a:
21517 Update javac version to 9-dev-r4023-2
21518 + 36ce4b433e19498a78c34540d5a166d4e0006b22:
21519 Update javac version to 9-dev-r4023-2
21520 + 38949b8526bdb3e6db22f3846aac87162c28c33f:
21521 Migrate off versioned javac and Error Prone targets
21522 + 1a57d298f8aa6ea8136d93223902104f2479cd2a:
21523 Re-enabling passing -sourcepath via javacopts.
21524 + eb565f408e03125e92d42b00756e519795be6593:
21525 Make make sure that msys build actually builds msys version
21526 + 39f328cf392056618d1a3ead4835a138b189a06d:
21527 Fix typo. Also do not override host_cpu for msvc.
21528 + 624802893f4fe72118f00a78452605d41a2e1c6f:
21529 Select correct JDK for windows_msys
21530 + c4f271d1a68366b6fa5ff38ea7d951b6a22af044:
21531 Automated g4 rollback of commit
21532 3e5edafa2a04a71cd3596e929e83222da725f3f9.
21533 + 926180997a0f296a5a009326aead887279ce0a90:
21534 Remove process-tools.cc which I forgot to delete during the last
21535 rollback.
21536 + baca6e4cb023649920871b74810927d304729e59:
21537 Fix #2982: Bazel installer should not check for installed JDK if
21538 using a bundled JDK.
21539 + 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842:
21540 Disable msys path conversion on Windows.
21541 + cc21998c299b4d1f97df37b961552ff8168da17f:
21542 Rollforward #2 of: Basic open-source crosstool to support
21543 targeting apple platform types.
21544 + 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f:
21545 Escape % in strings that will appear in Crosstool
21546 + 3b08f774e7938928e3a240a47a0a7554cdc8d50b:
21547 Adding feature for linking C Run-Time library on Windows
21548 + 3566474202d1978acfdcb7e5ff73ee03ea6f3df9:
21549 Do not use sed -E in bootstrap/compile.sh
21550 + c3cf7d917afd02d71de3800cd46ad8d14f1ddf55:
21551 Reverts non-xcode-available darwin crosstool generation.
21552```
21553
21554Important changes:
21555
21556 - Fixes regression in 0.5.0 requiring Xcode to build C++ on OSX.
21557
Bazel Release Systema3e26832017-05-26 14:11:07 +020021558## Release 0.5.0 (2017-05-26)
21559
21560```
21561Baseline: f3ae88ee043846e7acdffd645137075a4e72c573
21562
21563Cherry picks:
21564 + c58ba098526b748f9c73e6229cafd74748205aa1:
21565 Release to GCS: put the final release in its own directory
21566 + 0acead4ea3631240659836ce6ecd6d7f67fd352b:
21567 Update protobuf to latest master at a64497c and apply
21568 @laszlocsomor's latest changes from
21569 https://github.com/google/protobuf/pull/2969 on top of it.
21570 + d0242ce4a87929f2528f4602d0fb09d1ccfcea94:
21571 Make symlinks consistent
21572 + d953ca8b87a46decbce385cebb446ae0dd390881:
21573 Clean VanillaJavaBuilder output directories
21574 + 755669fb5de1f4e762f27c19776cac9f410fcb94:
21575 Pass all the environment variable to Bazel during bootstrapping
21576 + 6f041661ca159903691fcb443d86dc7b6454253d:
21577 Do not mark the JDK7 installer -without-jdk-installer
21578 + 720561113bfa702acfc2ca24ce3cc3fd7ee9c115:
21579 Fix #2958: Installer should not overwrite bazelrc
21580 + 511c35b46cead500d4e76706e0a709e50995ceba:
21581 Bootstrap: move the fail function to the top
21582 + 8470be1122825aae8ad0903dd1e1e2a90cce47d2:
21583 Clean up javac and Error Prone targets
21584 + 4a404de2c6c38735167e17ab41be45ef6fc4713a:
21585 Update javac version to 9-dev-r4023-2
21586 + 36ce4b433e19498a78c34540d5a166d4e0006b22:
21587 Update javac version to 9-dev-r4023-2
21588 + 38949b8526bdb3e6db22f3846aac87162c28c33f:
21589 Migrate off versioned javac and Error Prone targets
21590 + 1a57d298f8aa6ea8136d93223902104f2479cd2a:
21591 Re-enabling passing -sourcepath via javacopts.
21592 + eb565f408e03125e92d42b00756e519795be6593:
21593 Make make sure that msys build actually builds msys version
21594 + 39f328cf392056618d1a3ead4835a138b189a06d:
21595 Fix typo. Also do not override host_cpu for msvc.
21596 + 624802893f4fe72118f00a78452605d41a2e1c6f:
21597 Select correct JDK for windows_msys
21598 + c4f271d1a68366b6fa5ff38ea7d951b6a22af044:
21599 Automated g4 rollback of commit
21600 3e5edafa2a04a71cd3596e929e83222da725f3f9.
21601 + 926180997a0f296a5a009326aead887279ce0a90:
21602 Remove process-tools.cc which I forgot to delete during the last
21603 rollback.
21604 + baca6e4cb023649920871b74810927d304729e59:
21605 Fix #2982: Bazel installer should not check for installed JDK if
21606 using a bundled JDK.
21607 + 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842:
21608 Disable msys path conversion on Windows.
21609 + cc21998c299b4d1f97df37b961552ff8168da17f:
21610 Rollforward #2 of: Basic open-source crosstool to support
21611 targeting apple platform types.
21612 + 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f:
21613 Escape % in strings that will appear in Crosstool
21614 + 3b08f774e7938928e3a240a47a0a7554cdc8d50b:
21615 Adding feature for linking C Run-Time library on Windows
21616```
21617
21618Incompatible changes:
21619
21620 - Bazel's Linux sandbox no longer mounts an empty tmpfs on /tmp,
21621 instead the existing /tmp is mounted read-write. If you prefer
21622 to have a tmpfs on /tmp for sandboxed actions for increased
21623 hermeticity, please use the flag --sandbox_tmpfs_path=/tmp.
21624 - Converting artifacts to strings and printing them now return
21625 "File" instead of "Artifact" to be consistent with the type name.
21626 - The return type of depset.to_list() is now a list rather than a
21627 frozen list. (Modifying the list has no effect on the depset.)
21628 - Bazel now prints logs in single lines to java.log
21629 - --use_dash, --dash_url and --dash_secret are removed.
21630 - Remote repositories must define any remote repositories they
21631 themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
21632 defined
21633 in @x's WORKSPACE file).
21634 - Remote repositories must define any remote repositories they
21635 themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
21636 defined
21637 in @x's WORKSPACE file).
21638 - objc_xcodeproj has been removed, use tulsi.bazel.build instead.
21639
21640New features:
21641
21642 - If grte_top is a label, it can now follow non-configurable
21643 redirects.
21644 - Optional coverage_files attribute to cc_toolchain
21645 - "query --output=build" now includes select()s
21646 - Raw LLVM profiles are now supported.
21647
21648Important changes:
21649
21650 - Automatically generate Proguard mapping when resource shrinking
21651 and Proguard are enabled.
21652 - New rules in Bazel: proto_library, java_lite_proto_library,
21653 java_proto_library and cc_proto_library
21654 - Activate the "dead_strip" feature if objc binary stripping is
21655 enabled.
21656 - More stable naming scheme for lambda classes in desugared android
21657 code
21658 - Convert --use_action_cache to a regular option
21659 - Per-architecture dSYM binaries are now propagated by
21660 apple_binary's AppleDebugOutputsProvider.
21661 - Avoid factory methods when desugaring stateless lambdas for
21662 Android
21663 - desugar calls to Objects.requireNonNull(Object o) with
21664 o.getClass() for android
21665 - Add an --copy_bridges_from_classpath argument to android
21666 desugaring tool
21667 - Change how desugar finds desugared classes to have it working on
21668 Windows
21669 - Evaluation of commands on TargetsBelowDirectory patterns
21670 (e.g. //foo/...) matching packages that fail to load now report
21671 more
21672 detailed error messages in keep_going mode.
21673 - Allow to have several inputs and outputs
21674 - Repository context's execute() function can print stdout/stderr
21675 while running. To enable, pass quiet=False.
21676 - Bazel can now be built with a bundled version of the OpenJDK.
21677 This makes it possible to use Bazel on systems without a JDK, or
21678 where
21679 the installed JDK is too old.
21680 - The --jobs flag now defaults to "auto", which causes Bazel to
21681 use a reasonable degree of parallelism based on the local
21682 machine's
21683 capacity.
21684 - Bazel benchmark (perf.bazel.build) supports Java and Cpp targets.
21685 - no factory methods generated for lambda expressions on android
21686 - The Linux sandbox no longer changes the user to 'nobody' by
21687 default, instead the current user is used as is. The old behavior
21688 can be
21689 restored via the --sandbox_fake_username flag.
21690 - /tmp and /dev/shm are now writable by default inside the
21691 Linux sandbox.
21692 - Bazel can now use the process-wrapper + symlink tree based
21693 sandbox implementation in FreeBSD.
21694 - turn on --experimental_incremental_dexing_error_on_missed_jars by
21695 default.
21696 - All android_binarys are now signed with both Apk Signature V1 and
21697 V2. See https://source.android.com/security/apksigning/v2.html
21698 for more details.
21699 - Windows MSVC wrappers: Not filtering warning messages anymore,
21700 use --copt=-w and --host_copt=-w to suppress them.
21701 - A downloader bug was fixed that prevented RFC 7233 Range
21702 connection resumes from working with certain HTTP servers
21703 - Introduces experimental android_device rule for configuring and
21704 launching Android emulators.
21705 - For boolean flags, setting them to false using --no_<flag_name>
21706 is deprecated. Use --no<flag_name> without the underscore, or
21707 --<flag_name>=false instead.
21708 - Add --experimental_android_compress_java_resources flag to store
21709 java
21710 resources as compressed inside the APK.
21711 - Removed --experimental_use_jack_for_dexing and libname.jack
21712 output of
21713 android_library.
21714 - blaze canonicalize-flags now takes a --show_warnings flag
21715 - Changing --invocation_policy will no longer force a server
21716 restart.
21717 - Bazel now supports Android NDK14.
21718 - android_binary multidex should now work without additional flags.
21719 - Use action_config in crosstool for static library archiving,
21720 remove ar_flag.
21721 - new option for bazel canonicalize-flags, --canonicalize_policy
21722 - Use action_config in crosstool for static library archiving,
21723 remove ar_flag.
21724 - android_library exports_manifest now defaults to True.
21725 - Fix select condition intersections.
21726 - Adds a --override_repository option that takes a repository
21727 name and path. This forces Bazel to use the directory at that path
21728 for the repository. Example usage:
21729 `--override_repository=foo=/home/user/gitroot/foo`.
21730 - fix idempotency issue with desugaring lambdas in interface
21731 initializers for android
21732 - --experimental_android_use_singlejar_for_multidex is now a no-op
21733 and will eventually be removed.
21734 - Every local_repository now requires a WORKSPACE file.
21735 - Remove jack and jill attributes of the android_sdk rule.
21736 - Add Skylark stubs needed to remove sysroot from CppConfiguration.
21737 - Desugar try-with-resources so that this language feature is
21738 available
21739 to deveces with API level under 19.
21740 - The flag --worker_max_retries was removed. The
21741 WorkerSpawnStrategy no longer retries execution of failed Spawns,
21742 the reason being that this just masks compiler bugs and isn't
21743 done for any other execution strategy either.
21744 - Bazel will no longer gracefully restart workers that crashed /
21745 quit, instead this triggers a build failure.
21746 - All java resources are now compressed in android_binary APKs by
21747 default.
21748 - All java resources are now compressed in android_binary APKs by
21749 default.
21750 - android_ndk_repository now creates a cc_library
21751 (@androidndk//:cpufeatures) for the cpufeatures library that is
21752 bundled in the Android NDK. See
21753 https://developer.android.com/ndk/guides/cpu-features.html for
21754 more details.
21755 - 'output_groups' and 'instrumented_files' cannot be specified in
21756 DefaultInfo.
21757 - You can increase the CPU reservation for tests by adding a
21758 "cpu:<n>" (e.g. "cpu:4" for four cores) tag to their rule in a
21759 BUILD file. This can be used if tests would otherwise overwhelm
21760 your system if there's too much parallelism.
21761 - Deprecate use_singlejar_for_proguard_libraryjars and force
21762 behavior to always on.
21763
Bazel Release System8d635fc2017-03-16 13:18:30 +010021764## Release 0.4.5 (2017-03-16)
21765
21766```
21767Baseline: 2e689c29d5fc8a747216563235e905b1b62d63b0
21768
21769Cherry picks:
21770 + a28b54033227d930672ec7f2714de52e5e0a67eb:
21771 Fix Cpp action caching
21772 + 6d1d424b4c0da724e20e14235de8012f05c470f8:
21773 Fix paths of binaries in .deb packages.
21774 + 0785cbb672357d950e0c045770c4567df9fbdc43:
21775 Update to guava 21.0 and Error Prone version 2.0.18-20160224
21776 + 30490512eb0e48a3774cc4e4ef78680e77dd4e47:
21777 Update to latest javac and Error Prone
21778 + 867d16eab3bfabae070567ecd878c291978ff338:
21779 Allow ' ', '(', ')' and '$' in labels
21780 + 7b295d34f3a4f42c13aafc1cc8afba3cb4aa2985:
21781 Pass through -sourcepath to the JavaBuilder
21782 + 14e4755ce554cdfc685fc9cc2bfb5b699a3b48f4:
21783 PathFragment comparisons are now platform-aware
21784 + ed7795234ca7ccd2567007f2c502f853cd947e50:
21785 Flag to import external repositories in python import path
21786 + 81ae08bbc13f5f4a04f18caae339ca77ae2699c1:
21787 Suppress error for non-exhaustive switches
21788 + e8d1177eef9a9798d2b971630b8cea59471eec33:
21789 Correctly returns null if an environment variables is missing
21790 + 869d52f145c077e3499b88df752cebc60af51d66:
21791 Fix NPE in Android{S,N}dkRepositoryFunction.
21792 + d72bc57b60b26245e64f5ccafe023a5ede81cc7f:
21793 Select the good guava jars for JDK7 build
21794 + 92ecbaeaf6fa11dff161254df38d743d48be8c61:
21795 Windows: Assist JNI builds with a target for jni_md.h.
21796 + 36958806f2cd38dc51e64cd7bcc557bd143bbdb6:
21797 Add java_common.create_provider to allow creating a
21798 java_common.provider
21799 + 8c00f398d7be863c4f502bde3f5d282b1e18f504:
21800 Improve handling of unknown NDK revisions in
21801 android_ndk_repository.
21802 + b6ea0d33d3ab72922c8fb3ec1ff0e437af09584d:
21803 Add the appropriate cxx_builtin_include_directory entries for
21804 clang to the Android NDK crosstool created by
21805 android_ndk_repository.
21806```
21807
21808Incompatible changes:
21809
21810 - Depsets (former sets) are converted to strings as "depset(...)"
21811 instead of
21812 "set(...)".
21813 - Using --symlink_prefix is now applied to the output
21814 symlink (e.g. bazel-out) and the exec root symlink (e.g.
21815 bazel-workspace).
21816 - Bazel now uses the test's PATH for commands specified as
21817 --run_under; this can affect users who explicitly set PATH to
21818 a more
21819 restrictive value than the default, which is to forward the
21820 local PATH
21821 - It's not allowed anymore to compare objects of different types
21822 (i.e. a string to an integer) and objects for which comparison
21823 rules are not
21824 defined (i.e. a dict to another dict) using order operators.
21825
21826New features:
21827
21828 - environ parameter to the repository_rule function let
21829 defines a list of environment variables for which a change of
21830 value
21831 will trigger a repository refetching.
21832
21833Important changes:
21834
21835 - android_ndk_repository now supports Android NDK R13.
21836 - Android resource shrinking is now available for android_binary
21837 rules. To enable, set the attribute 'shrink_resources = 1'. See
21838 https://bazel.build/versions/master/docs/be/android.html#android_b
21839 inary.shrink_resources.
21840 - resolve_command/action's input_manifest return/parameter is now
21841 list
21842 - For increased compatibility with environments where UTS
21843 namespaces are not available, the Linux sandbox no longer hides
21844 the hostname of the local machine by default. Use
21845 --sandbox_fake_hostname to re-enable this feature.
21846 - proto_library: alias libraries produce empty files for descriptor
21847 sets.
21848 - Adds pkg_rpm rule for generating RPM packages.
21849 - Allow CROSSTOOL files to have linker flags specific to static
21850 shared libraries.
21851 - Make it mandatory for Java test suites in bazel codebase, to
21852 contain at least one test.
21853 - Support for Java 8 lambdas, method references, type annotations
21854 and repeated annotations in Android builds with
21855 --experimental_desugar_for_android.
21856 - Removed .xcodeproj automatic output from objc rules. It can still
21857 be generated by requesting it explicitly on the command line.
21858 - Flips --explicit_jre_deps flag on by default.
21859 - Activate the "dbg", "fastbuild", and "opt" features in the objc
21860 CROSSTOOL.
21861 - Remove support for configuring JDKs with filegroups; use
21862 java_runtime and java_runtime_suite instead
21863 - android_ndk_repository api_level attribute is now optional. If not
21864 specified, the highest api level in the ndk/platforms directory
21865 is used.
21866
Bazel Release System6712cac2017-02-01 19:53:37 +010021867## Release 0.4.4 (2017-02-01)
21868
21869```
21870Baseline: 4bf8cc30a
21871
21872Cherry picks:
21873 + ef1c6fd33: msvc_tools.py.tpl: Change default runtime library to
21874 static
21875```
21876
21877Incompatible changes:
21878
21879 - Only targets with public visibility can be bound to something in
21880 //external: .
21881 - The deprecated -x startup option has been removed.
21882 - docker_build: change the repository names embedded by
21883 docker_build. You can revert to the old behavior by setting
21884 legacy_repository_naming=True.
21885 - The string methods strip(), lstrip(), and rstrip() now
21886 by default remove the same whitespace characters as Python 3
21887 does, and accept
21888 None as an argument.
21889 - Deprecated globals HOST_CFG and DATA_CFG are removed. Use strings
21890 "host" and "data" instead.
21891 - repository_ctx environment is now affected by --action_env flag
21892 (value from the
21893 client environment will be replaced by value given on the command
21894 line through --action_env).
21895 - All executable labels must also have a cfg parameter specified.
21896 - Removed the cmd_helper.template function.
21897 The function was equivalent to:
21898 def template(items, template):
21899 return [template.format(path = i.path, short_path =
21900 i.short_path)
21901 for i in items]
21902 - Tuples that end with a trailing comma must now be inside parens,
21903 e.g. (1,) instead of 1,
21904 - The traversal orders for depsets have been renamed. The old names
21905 are deprecated and will be removed in the future. New names:
21906 "stable" -> "default", "compile" -> "postorder", "link" ->
21907 "topological", "naive_link" -> "preorder".
21908
21909New features:
21910
21911 - Skylark: you can now multiply a list by an integer to get the
21912 concatenation of N copies of this list, e.g. [a,b] * 3 =
21913 [a,b,a,b,a,b]
21914 - Allow Android aidl tool to add a jar to the program's classpath,
21915 such as if needed to support generated sources.
21916 - Add transitive proguard_specs when android_sdk.aidl_lib is
21917 specified
21918 - Windows: "/dev/null" is now a supported path, e.g.
21919 --bazelrc=/dev/null now works
21920
21921Important changes:
21922
21923 - Bazel Android builds use the apksigner tool from the Android SDK
21924 build-tools. Bazel Android builds now require build-tools version
21925 24.0.3 or
21926 later.
21927 - Android SDK external bindings for support libraries, e.g.
21928 //external:android/appcompat_v4, are removed because the support
21929 library JARs that they referenced no longer ship with the Android
21930 SDK.
21931 - aar_import rule is now documented.
21932 - An IE bug was fixed in repository_ctx.download_and_extract
21933 - Update "-I" to "-isystem" in documentation to reflect current
21934 behavior.
21935 - android_sdk_repository build_tools_version is now optional. The
21936 highest installed build-tools will be used if none is specified.
21937 - New flag --sandbox_add_mount_pair to specify customized
21938 source:target path pairs to bind mount inside the sandbox.
21939 - expose proto_library descriptor set to skylark via
21940 <dep>.proto.descriptor_set
21941 - The `set` constructor is deprecated in favor of `depset`
21942 - Autodetect gold linker in cc_configure.bzl
21943 - Remove build flag --experimental_j2objc_annotation_processing. It
21944 is on by default now.
21945 - Set clang's -mwatchos-version-min correctly using the value of
21946 --watchos_minimum_os, not --watchos_sdk_version.
21947 - singlejar can now create jar files larger than 4GB.
21948 - android_sdk_repository and android_ndk_repository now read
21949 $ANDROID_HOME and $ANDROID_NDK_HOME if the path attribute is not
21950 set.
21951 - Removed broken api levels 3, 4 and 5 from Android NDK 12.
21952 - Default --android_dynamic_mode to off.
21953 - android_sdk_repository no longer requires api_level. If one is
21954 not specified, the highest android platform installed will be
21955 used. Furthermore, android_sdk's are created for all android
21956 platforms installed and can be specified with the --android_sdk
21957 flag.
21958 - To iterate over or test for membership in a set, prefer using the
21959 new to_list() method. E.g., "for x in myset.to_list():", or
21960 "print(x in myset.to_list())". Iteration/membership-test on the
21961 raw set itself is deprecated.
21962 - Remove support for --javawarn; use e.g. --javacopt=-Xlint:all
21963 instead
21964
Bazel Release Systemd3b23642016-12-22 13:30:47 +010021965## Release 0.4.3 (2016-12-22)
Bazel Release System80865ff2016-11-30 13:18:54 +010021966
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +010021967```
Bazel Release Systemd3b23642016-12-22 13:30:47 +010021968Baseline: c645a45
Bazel Release System80865ff2016-11-30 13:18:54 +010021969
21970Cherry picks:
Bazel Release Systemd3b23642016-12-22 13:30:47 +010021971 + af878d0: Add coverage support for java test. (series 4/4 of
21972 open-sourcing coverage command for java test)
21973 + 09b92a8: Rollback of commit
21974 67b4d5250edcefa7220e928e529b1f385e2dc464.
21975 + b11dd48: Fix bad bug with the parallel implementation of
21976 BinaryOperatorExpression. Turns out that
21977 ForkJoinTask#adapt(Callable) returns a ForkJoinTask
21978 whose Future#get on error throws a ExecutionException
21979 wrapping a RuntimeException wrapping the thrown checked
21980 exception from the callable. This is documented
21981 behavior [1] that I incorrectly didn't know about.
21982 + 9012bf1: Fix scripts/packages/convert_changelog to read the
21983 changelog correctly
21984 + 55c97bc: Release script: if master branch does not exist, fall
21985 back on origin/master
21986 + 4fb378c: Debian repository: override section and priority fields
21987 + acbcbc2: Fix release notes in emails
21988 + 4975760: Fix PathFragment to not use Java8-only static hashCode
21989 methods.
21990 + 05fd076: Disable sandboxing for XibCompile actions.
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +010021991```
Bazel Release System80865ff2016-11-30 13:18:54 +010021992
21993Incompatible changes:
21994
Bazel Release Systemd3b23642016-12-22 13:30:47 +010021995 - Skylark maven_jar and maven_aar settings attribute is now a label
21996 so it can be checked into your workspace.
21997 - --{no}experimental_use_rclass_generator is now a nop.
21998
21999New features:
22000
22001 - Coverage support (*experimental*) for pure Java target.
22002 Use `bazel coverage //my:target` to generate coverage information
22003 from a `java_test`.
Bazel Release System80865ff2016-11-30 13:18:54 +010022004
22005Important changes:
22006
Bazel Release Systemd3b23642016-12-22 13:30:47 +010022007 - Enable fallback URLs in Skylark http rules.
22008 - cc_proto_library generates C++ code from proto_library rules.
22009 - cc_library now supports the strip_prefix and strip_include_prefix
22010 attributes for control of include paths.
22011 - Skylark dicts internally don't rely on keys order anymore and
22012 accept any hashable values (i.e. structs with immutable values)
22013 as keys. Iteration order of dictionaries is no longer specified.
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +010022014
22015## Release 0.4.2 (2016-12-02)
22016
22017```
22018Baseline: 6331a94
22019
22020Cherry picks:
22021 + 7b835d9: Do not patch WORKSPACE in the release process
22022```
22023
22024Incompatible changes:
22025
22026 - Callback functions in Skylark no longer support the cfg
22027 parameter. This is a cleanup and only affects the signatures of
22028 callbacks, since the parameter hasn't been set since September
22029 2016.
22030
22031Important changes:
22032
22033 - Alias proto_library's produce a descriptor set that contains all
22034 srcs of its dependencies.
22035 - proto_library supports strict proto deps.
22036 - Top level @androidsdk support library targets have been replaced
22037 by @androidsdk//<group id>:<artifact id>-<version> for Android
22038 SDK Support and Google Play Services libraries.
22039
Bazel Release System15402a92016-11-30 10:12:30 +010022040## Release 0.4.1 (2016-11-21)
22041
22042```
22043Baseline: 9a796de
22044
22045Cherry picks:
22046 + 88bfe85: Description redacted. -- MOS_MIGRATED_REVID=139219934
22047 + b09ea94: Rollback of commit
22048 a3f5f576cd35798140ba3e81d03d919dd4ecb847.
22049```
22050
22051New features:
22052
22053 - android_library now has a "exported_plugins" attribute just like
22054 java_library
22055 - Use --strict_system_includes to apply hdrs_check=strict also to
22056 cc_library.includes, even if sandboxing is disabled.
22057 - Bazel on Windows: java_binary can now be the executable of
22058 Skylark rule actions (ctx.action's executable argument)
22059 - Packages are defined in BUILD.bazel as well as BUILD files.
22060
22061Important changes:
22062
22063 - getattr()'s 3-arg form no longer raises an error when the
22064 retrieved field is a built-in method.
22065 - --apk_signing_method default changed to v1. Android APKs are now
22066 signed with the new ApkSignerTool by default.
22067 - New rule: proto_lang_toolchain(), to support LANG_proto_library
22068 rules on multiple platforms.
22069 - Fix for Android clang++ std::stack segfault on 32bit x86. See
22070 https://code.google.com/p/android/issues/detail?id=220159
22071 - Default android_manifest_merger is now "android" which uses the
22072 official Android manifest merger.
22073 http://tools.android.com/tech-docs/new-build-system/user-guide/man
22074 ifest-merger
22075 - Do not propagate aspect to its own attributes when using '*'.
22076 - Comparing sets (`if set1 < set2:`) is not allowed anymore in
22077 Skylark because it didn't work correctly anyway.
22078 - When --experimental_extra_action_top_level_only, Bazel reports
22079 extra-actions for actions registered by Aspects injected by a
22080 top-level rule (approximately).
22081 - Blacklists for proto_lang_toolchain() no longer have to be
22082 proto_library's.
22083 - Extra actions now contain aspect-related information.
22084 - Fix slicing bug where "abc"[:-4:-1] would give wrong answer
22085
Bazel Release Systemd0761e62016-11-02 13:36:35 -040022086## Release 0.4.0 (2016-10-26)
22087
22088```
22089Baseline: 088bbc6
22090
22091Cherry picks:
22092 + b01160c: Stamp Windows release.
22093 + 2d6736e: Add --no-tty for gpg signing
22094 + 9b1dfb8: Remove .sig file before gpg signing
22095 + 81aede1: Reimplement whole archive on Windows
22096```
22097
22098Incompatible changes:
22099
22100 - Skylark: updating list/dicts while they are being looped over is not
22101 allowed. Use an explicit copy if needed ("for x in list(mylist):").
22102 - Bazel now uses the --cpu flag to look up Jvms; it falls back
22103 to "default" if it can't find a Jvm matching the CPU value.
22104 - --command_port=-1 to use AF_UNIX for client/server communications
22105 is not supported anymore.
22106 - Sandboxed actions can access the network by default, unless their
22107 target has a "block-network" tag.
22108
22109New features:
22110
22111 - Files now have an "extension" property in Skylark.
22112
22113Important changes:
22114
22115 - Added a new flag --sandbox_tmpfs_path, which asks the sandbox to
22116 mount an empty, writable directory at a specified path when
22117 running actions. (Supported on Linux only for now.)
22118 - Update protoc-3.0.0-mingw.exe to a working (statically linked)
22119 binary
22120 - apple_static_library rule to create multi-architecture static
22121 archive files from Objc/C++/Swift dependencies on apple platforms
22122 - JS: Add support for localization with closure managed rules.
22123 - Create a flag --android_dynamic_mode to turn off dynamic mode
22124 during the Android split transition.
22125 - Darwin sandboxing is default.
22126 - Remove flag --experimental_zip_tree_artifact from j2objc Java
22127 annotation processing support.
22128 - A few functions are added to BUILD files for consistency (hash,
22129 dir,
22130 hasattr, getattr) with .bzl files, although they are not very
22131 useful.
22132 - --watchfs is now a command option; the startup option of the same
22133 name is deprecated. I.e., use bazel build --watchfs, not
22134 blaze --watchfs
22135 build.
22136
Bazel Release System33579a42016-10-07 13:05:11 -040022137## Release 0.3.2 (2016-10-07)
22138
22139```
22140Baseline: 023a7bd
22141
22142Cherry picks:
22143 + bebbbe5: Fix dependency on libtool's helper script
22144 make_hashed_objlist.py.
22145 + 8a0d45f: Add the version information to the bazel.exe file
22146 + 2bc0939: Allow new_ rules to overwrited BUILD files in
22147 downloaded repos
22148 + c5545fd: Rollback of commit
22149 96d46280bc5a4803ba2242a4ad16939f85a3b212.
22150 + eb87208: Make cc_configure on Windows more robust
22151 + c30432c: Fix cc_configure on Windows
22152 + 95b16a8: sandbox: Replace the error-prone lazy cleanup of
22153 sandbox directories by a simple synchronous cleanup.
22154 + e898023: Fix #1849: Sandboxing on OS X should be turned off by
22155 default for 0.3.2.
22156 + ffdc05d: Add action_config and feature for linking on Windows
22157```
22158
22159Incompatible changes:
22160
22161 - If you maintain a rule that uses persistent workers, you'll have
22162 to specify execution_requirements={"supports-workers": 1} in the
22163 ctx.action that intends to run a tool with workers. The
22164 WorkerSpawnStrategy will alert you with a warning message if you
22165 forget to make this change and fallback to non-worker based
22166 execution.
22167 - It is now an error to include a precompiled library (.a, .lo, .so)
22168 in a cc_library which would generate a library with the same name
22169 (e.g., libfoo.so in cc_library foo) if that library also contains
22170 other linkable
22171 sources.
22172 - The main repository's execution root is under the main
22173 repository's workspace name, not the source directory's basename.
22174 This shouldn't
22175 have any effect on most builds, but it's possible it could break
22176 someone doing
22177 weird things with paths in actions.
22178 - Blaze doesn't support Unix domain sockets for communication
22179 between its client and server anymore. Therefore, the
22180 --command_port command line argument doesn't accept -1 as a valid
22181 value anymore.
22182 - Skylark: It is an error to shadow a global variable with a local
22183 variable after the global has already been accessed in the
22184 function.
22185 - bin_dir and genfiles_dir are now properties of ctx, not
22186 configuration. That is, to access the bin or genfiles directory
22187 from a
22188 Skylark rule, use ctx.bin_dir or ctx.genfiles_dir (not
22189 ctx.configuration.{bin,genfiles}_dir). At the moment, you can
22190 access
22191 {bin,genfiles}_dir from either, but the ctx.configuration version
22192 will
22193 stop working in a future release.
22194 - filegroup-based C++ toolchains are not supported anymore.
22195 --*_crosstool_top options must always point to a
22196 cc_toolchain_suite rule (or an alias of one).
22197 - repository_ctx.{download,download_and_extract,execute} API now use
22198 named parameters for optional parameters and no
22199 longer uses argument
22200 type to distinguished between arguments
22201 (executable attribute name
22202 must be specified when preceding optional
22203 arguments are missing).
22204
22205New features:
22206
22207 - print and fail are now available in BUILD files.
22208
22209Important changes:
22210
22211 - Added @bazel_tools//tools/build_defs/repo/git.bzl as a Skylark
22212 rule for Git repositories.
22213 - Added @bazel_tools//tools/build_defs/repo/maven_rules.bzl as a
22214 Skylark rule for Maven repositories.
22215 - Add global hash() function for strings (only)
22216 - Improve Android split transition handling.
22217 - Removes exports_manifest attribute from android_binary rule.
22218 - java_proto_library: control strict-deps through a rule-level and
22219 a package-level attribute.
22220 - Persistent workers are now used by default for Java compilation
22221 in Bazel, which should speed up your Java builds by ~4x. You can
22222 switch back to the old behavior via --strategy=Javac=standalone.
22223 Check out http://www.bazel.io/blog/2015/12/10/java-workers.html
22224 for more details.
22225 - objc_* rules can now depend on any target that returns an "objc"
22226 provider.
22227 - Adds support for NDK12 to `android_ndk_repository` rule in Bazel.
22228 - Test targets can disable the JUnit4 test security manager via a
22229 property.
22230 - Disable the Android split transition if --android_cpu and
22231 fat_apk_cpu are both empty.
22232 - New sandboxing implementation for Linux in which all actions run
22233 in a separate execroot that contains input files as symlinks back
22234 to the originals in the workspace. The running action now has
22235 read-write access to its execroot and /tmp only and can no longer
22236 write in arbitrary other places in the file system.
22237 - Add worker support to single jar.
22238 - Invoke source jar action as a worker.
22239 - Sandboxed builds allow network access for builds by default.
22240 Tests will still be run without networking, unless
22241 "requires-network" is specified as a tag.
22242 - Add path.realpath() method for Skylark repositories.
22243 - On Mac devices, detect locally installed versions of xcode to:
22244 1. Use a sensible default if xcode is required but
22245 --xcode_version is unspecified.
22246 2. Use sensible default iOS SDK version for the targeted version
22247 of xcode if ios_sdk_version is unspecified.
22248 - Emacs' [C-x `], a.k.a. next-error, works again in emacsen >= 25.1
22249 - swift_library can be used to build watchOS apps.
22250 - Exposes the is_device field on Apple platform objects and adds
22251 the apple_common.platform_type(name) method to retrieve a
22252 platform_type value that can be passed to methods like the Apple
22253 fragment's multi_arch_platform.
22254 - Move Skylark git_repository rules to git.bzl
22255 - Add support for aspects to attr.label() attributes
22256 - Global varaiables HOST_CFG and DATA_CFG are deprecated in favor
22257 of strings "host"
22258 and "data.
22259 Argument `cfg = "host"` or `cfg = "data"` is mandatory if
22260 `executable = True` is provided for a label.
22261 - The deprecation attribute of all rules now causes warnings
22262 to be printed when other targets depend on a target with that
22263 attribute set.
22264 - Change default of --[no]instrument_test_targets to false, change
22265 default --instrumentation_filter (which previously tried to
22266 exclude test targets by heuristic) to only exclude targets in
22267 javatests.
22268 - Remove deprecated absolute paths in blaze IDE artifacts
22269 - When using android_binary.manifest_merger="android" the merger
22270 produces a summary log next to the merged manifest artifact.
22271 - Allow different default mallocs per configuration.
22272
Bazel Release System70c772b2016-07-29 10:28:13 +020022273## Release 0.3.1 (2016-07-29)
22274
22275```
22276Baseline: 792a9d6
22277
22278Cherry picks:
22279 + 25e5995: Rollback of commit
22280 a2770334ea3f3111026eb3e1368586921468710c.
22281 + 2479405: Fix NPE with unset maven_jar sha1
22282 + 3cf2126: Rewrite the extra action info files if the data within
22283 them changes.
22284 + 5a9c6b4: JavaBuilder: Reintroduce the -extra_checks flag.
22285```
22286
22287Incompatible changes:
22288
22289 - Removed predefined Python variable "generic_cpu".
22290 - Skylark rules: if you set "outputs" or an attribute to a
22291 function, this function must now list its required attributes as
22292 parameters (instead of an attribute map).
22293 - The host_platform and target_platform entries are not written to
22294 the master log anymore.
22295 - Bazel requires Hazelcast 3.6 or higher now for remote execution
22296 support, because we upgraded our client library and the protocol
22297 it uses is incompatible with older versions.
22298
22299New features:
22300
22301 - LIPO context (--lipo_context) can now also be a cc_test (in
22302 addition to cc_binary)
22303
22304Important changes:
22305
22306 - If --android_crosstool_top is set, native code compiled for
22307 android will always use --android_compiler and not --compiler in
22308 choosing the crosstool toolchain, and will use --android_cpu if
22309 --fat_apk_cpu is not set.
22310 - Add --instrument_test_targets option.
22311 - apple_binary supports a new platform_type attribute, which, if
22312 set to "watchos", will build dependencies for Apple's watchOS2.
22313 - objc_binary now supports late-loaded dynamic frameworks.
22314 - Native Swift rules no longer pull in module maps unconditionally.
22315 Use --experimental_objc_enable_module_maps for that.
22316 - Merged manifests are guaranteed to have the application element
22317 as the last child of the manifest element as required by Android
22318 N.
22319 - The Android manifest merger is now available as an option for
22320 android_binary rules. The merger will honor tools annotations in
22321 AndroidManifest.xml and will perform placeholder substitutions
22322 using the values specified in android_binary.manifest_values. The
22323 merger may be selected by setting the manifest_merger attribute
22324 on android_binary.
22325 - The progress message would not clear packages that need to be
22326 loaded twice.
22327 - Remove warning for high value of --jobs.
22328 - Use the correct build configuration for shared native deps during
22329 Android split transitions.
22330 - When building ObjectiveC++, pass the flag -std=gnu++11.
22331 - use xcrun simctl instead of iossim to launch the app for "blaze
22332 run".
22333 - Glob arguments 'exclude' and 'exclude_directories' must be named
22334 - Bazel no longer regards an empty file as changed if its mtime has
22335 changed.
22336
Bazel Release Systemccadf8d2016-06-10 13:28:40 +020022337## Release 0.3.0 (2016-06-10)
22338
22339```
22340Baseline: a9301fa
22341
22342Cherry picks:
22343 + ff30a73: Turn --legacy_external_runfiles back on by default
22344 + aeee3b8: Fix delete[] warning on fsevents.cc
22345```
22346
22347Incompatible changes:
22348
22349 - The --cwarn command line option is not supported anymore. Use
22350 --copt instead.
22351
22352New features:
22353
22354 - On OSX, --watchfs now uses FsEvents to be notified of changes
22355 from the filesystem (previously, this flag had no effect on OS X).
22356 - add support for the '-=', '*=', '/=', and'%=' operators to
22357 skylark. Notably, we do not support '|=' because the semantics
22358 of skylark sets are sufficiently different from python sets.
22359
22360Important changes:
22361
22362 - Use singular form when appropriate in blaze's test result summary
22363 message.
22364 - Added supported for Android NDK revision 11
22365 - --objc_generate_debug_symbols is now deprecated.
22366 - swift_library now generates an Objective-C header for its @objc
22367 interfaces.
22368 - new_objc_provider can now set the USES_SWIFT flag.
22369 - objc_framework now supports dynamic frameworks.
22370 - Symlinks in zip files are now unzipped correctly by http_archive,
22371 download_and_extract, etc.
22372 - swift_library is now able to import framework rules such as
22373 objc_framework.
22374 - Adds "jre_deps" attribute to j2objc_library.
22375 - Release apple_binary rule, for creating multi-architecture
22376 ("fat") objc/cc binaries and libraries, targeting ios platforms.
22377 - Aspects documentation added.
22378 - The --ues_isystem_for_includes command line option is not
22379 supported anymore.
22380 - global function 'provider' is removed from .bzl files. Providers
22381 can only be accessed through fields in a 'target' object.
22382
Bazel Release System9fdd6012016-05-17 11:12:31 +020022383## Release 0.2.3 (2016-05-10)
22384
22385```
22386Baseline: 5a2dd7a
22387```
22388
22389Incompatible changes:
22390
22391 - All repositories are now directly under the x.runfiles directory
22392 in the runfiles tree (previously, external repositories were at
22393 x.runfiles/main-repo/external/other-repo. This simplifies
22394 handling remote repository runfiles considerably, but will break
22395 existing references to external repository runfiles.
22396 Furthermore, if a Bazel project does not provide a workspace name
22397 in the WORKSPACE file, Bazel will now default to using __main__
22398 as the workspace name (instead of "", as previously). The
22399 repository's runfiles will appear under x.runfiles/__main__/.
22400 - Bazel does not embed protocol buffer-related rules anymore.
22401 - It is now an error for a cc rule's includes attribute to point to
22402 the workspace root.
22403 - Bazel warns if a cc rule's includes attribute points out of
22404 third_party.
22405 - Removed cc_* attributes: abi / abi_deps. Use select() instead.
22406
22407New features:
22408
22409 - select({"//some:condition": None }) is now possible (this "unsets"
22410 the attribute).
22411
22412Important changes:
22413
22414 - java_import now allows its 'jars' attribute to be empty.
22415 - adds crunch_png attribute to android_binary
22416 - Replace --java_langtools, --javabuilder_top, --singlejar_top,
22417 --genclass_top, and --ijar_top with
22418 java_toolchain.{javac,javabuilder,singlejar,genclass,ijar}
22419 - External repository correctness fix: adding a new file/directory
22420 as a child of a new_local_repository is now noticed.
22421 - iOS apps are signed with get-task-allow=1 unless building with -c
22422 opt.
22423 - Generate debug symbols (-g) is enabled for all dbg builds of
22424 objc_ rules.
22425 - Bazel's workspace name is now io_bazel. If you are using Bazel's
22426 source as an external repository, then you may want to update the
22427 name you're referring to it as or you'll begin seeing warnings
22428 about name mismatches in your code.
22429 - Fixes integer overflow in J2ObjC sources to be Java-compatible.
22430 - A FlagPolicy specified via the --invocation_policy flag will now
22431 match the current command if any of its commands matches any of
22432 the commands the current command inherits from, as opposed to
22433 just the current command.
22434 - The key for the map to cc_toolchain_suite.toolchains is now a
22435 string of the form "cpu|compiler" (previously, it was just "cpu").
22436 - Fix interaction between LIPO builds and C++ header modules.
22437 - Ctrl-C will now interrupt a download, instead of waiting for it to
22438 finish.
22439 - Proxy settings can now be specified in http_proxy and https_proxy
22440 environment variables (not just HTTP_PROXY and HTTPS_PROXY).
22441 - Skylark targets can now read include directories from
22442 ObjcProvider.
22443 - Expose parameterized aspects to Skylark.
22444 - Support alwayslink cc_library dependencies in objc binaries.
22445 - Import cc_library dependencies in generated Xcode project.
22446
Bazel Release System1aedd1f12016-04-25 09:47:50 +020022447## Release 0.2.2b (2016-04-22)
Bazel Release System951cea22016-04-21 14:10:12 +020022448
22449```
22450Baseline: 759bbfe
Bazel Release System1aedd1f12016-04-25 09:47:50 +020022451
22452Cherry picks:
Bazel Release System951cea22016-04-21 14:10:12 +020022453 + 1250fda: Rollback of commit
22454 351475627b9e94e5afdf472cbf465f49c433a25e.
22455 + ba8700e: Correctly set up build variables for the correct pic
22456 mode for fake_binary rules.
22457 + 386f242: Automated [] rollback of commit
22458 525fa71b0d6f096e9bfb180f688a4418c4974eb4.
Bazel Release System1aedd1f12016-04-25 09:47:50 +020022459 + 97e5ab0: Fix cc_configure include path for Frameworks on OS X.
22460 + a20352e: cc_configure: always add -B/usr/bin to the list of gcc
22461 option
22462 + 0b26f44: cc_configure: Add piii to the list of supported
22463 cpu_value
22464 + 3e4e416: cc_configure: uses which on the CC environment variable
22465 + aa3dbd3: cc_configure.bzl: strip end of line when looking for
22466 the cpu
22467 + 810d60a: cc_configure: Add -B to compiler flag too
Bazel Release System951cea22016-04-21 14:10:12 +020022468```
22469
Bazel Release System1aedd1f12016-04-25 09:47:50 +020022470Patch release, only includes fixes to C++ auto-configuration.
Bazel Release System951cea22016-04-21 14:10:12 +020022471
Bazel Release System950c1ab2016-03-31 17:18:55 +020022472## Release 0.2.1 (2016-03-21)
22473
22474```
22475Baseline: 19b5675
22476```
22477
22478Incompatible changes:
22479
22480 - Skylark rules that are available from their own repository will
22481 now issue a warning when accessed through @bazel_tools.
22482 - Set --legacy_bazel_java_test to off by default. java_test will
22483 now have a slightly different behaviour, correctly emitting XML
22484 file but, as a downside, it needs correct declaration of the
22485 test suite (see https://github.com/bazelbuild/bazel/issues/1017).
22486 - Labels in .bzl files in remote repositories will be resolved
22487 relative to their repository (instead of the repository the
22488 Skylark rule is used in).
22489 - Renamed proto_java_library to java_proto_library. The former
22490 is now deprecated and will print out a warning when used.
22491 - android_sdk now compiles android_jack on the fly from
22492 android_jar, which means android_jar must be a jar and
22493 android_jack is now deprecated. The Jack tools (jack, jill,
22494 resource_extractor) must be specified.
22495 - Any project that depended on the objc_options rule will be
22496 broken. Can be fixed by adding attrs (infoplists,copts) directly
22497 to rules depending on the options.
22498 - .aidl files correctly require import statements for types
22499 defined in the same package and the same android_library.
22500
22501New features:
22502
22503 - Experimental Windows support is available.
22504 - Experimental support for writing remote repository rules in
22505 Skylark is available.
22506 - iOS ipa_post_processor attribute allows for user-defined IPA
22507 edits.
22508 - Adds a to_json method to Skylark structs, providing conversion to
22509 JSON format.
22510 - Native python rule can depend on skylark rule as long as skylark
22511 rule provides 'py' provider.
22512 - When using both --verbose_failures and --sandbox_debug, Bazel
22513 prints instructions how to spawn a debugging shell inside the
22514 sandbox.
22515 - add flag --sandbox_add_path, which takes a list of additional
22516 paths as argument and mount these paths to sandbox.
22517
22518Important changes:
22519
22520 - @androidsdk//:org_apache_http_legacy added for the legacy Apache
22521 classes for android sdk version 23 and above.
22522 - Genrules correctly work when used with bazel run.
22523 - When namespace-sandbox is run with the -D (debug) flag and
22524 inside a terminal, it spawns a shell inside the sandbox to aid in
22525 debugging when the sandboxed command fails.
22526 - Added --artifact to workspace generator for generating workspace
22527 and build file rules from artifact coodrinates.
22528 - Specifying --experimental_android_resource_shrinking on the
22529 command line will enable a resource shrinking pass on
22530 android_binary targets that already use Proguard.
22531 - J2ObjC updated to 1.0.1 release.
22532 - Added "root_symlinks" and "symlinks" parameters to Skylark
22533 runfiles() method.
22534 - You can no longer use objc_binary targets for the xctest_app
22535 attribute of an ios_test rule.
22536 - Enable overriding jsonnet binaries and stdlib for Jsonnet rules.
22537 - mount target of /etc/resolv.conf if it is a symlink.
22538 - Tests that failed to build because execution was halted no longer
22539 print their status.
22540 - Bazel warns if a cc rule's includes attribute contains up-level
22541 references that escape its package.
22542 - Add repository_ctx.download and repository_ctx.download_and_extract
22543 function.
22544
Bazel Release Systemf98290d2016-02-23 13:51:16 +010022545## Release 0.2.0 (2016-02-18)
22546
22547```
22548Baseline: 9e100ac
22549```
22550
22551Incompatible changes:
22552
22553 - ObjC compile actions for J2ObjC-translated code now only has
22554 access to headers from the java deps of the associated original
22555 java rule.
22556 These compile actions no longer takes the compiler options
22557 specified in "copts" attribute on objc_binary/ios_test rules.
22558 J2ObjC dead code removal (enabled through flag
22559 "--j2objc_dead_code_removal") now happens *after* ObjC
22560 compilation.
22561 - maven_jar no longer supports separate artifact_id, group_id, and
22562 verison fields. This information should be provided in the
22563 artifact field,
22564 instead.
22565
22566New features:
22567
22568 - Better support for toolchains that don't have a dynamic linker.
22569 - build_file_content attribute added to new_git_repository,
22570 new_http_archive, and new_local_repository.
22571 - Add support for .tar.bz2 archives to http_archive rules.
22572
22573Important changes:
22574
22575 - The --skyframe flag is no longer available for the build command.
22576 - The --artifacts flag was removed from the dump command.
22577 - The sha256 attribute is now optional (although recommended!) for
22578 remote repository rules.
22579 - Add instrumented file provider support to Skylark rules.
22580 - Add imports attribute to native Python rules.
22581 - Allow overriding -gsplit-dwarf from copts.
22582 - Improved sandbox performance on XFS filesystems.
22583
Bazel Release System00cf25d2016-02-09 18:36:51 +010022584## Release 0.1.5 (2016-02-05)
22585
22586```
22587Baseline: 3a95f35
22588 + 8378cd8: Rollback of commit
22589 a9b84575a32476a5faf991da22b44661d75c19b6.
22590```
22591
22592Incompatible changes:
22593
22594 - Set stamping to false by default (i.e., --nostamp)
22595 - Removed --objc_dump_syms_binary.
22596 - Removes --objc_gcov_binary flag.
22597 - Remove JAVAC "Make" variable
22598 - The startup flag --blaze_cpu is removed,
22599
22600New features:
22601
22602 - A new java test runner that support XML output and test filtering
22603 is supported. It can be used by specifying --nolegacy_bazel_java_test
22604 or by specifying the test_class attribute on a java_test.
22605 - Skylark aspects can now specify configuration fragment
22606 dependencies with fragments and host_fragments like rules can.
22607
22608Important changes:
22609
22610 - Support for downloading remote resources through proxies by
22611 setting HTTP_PROXY (or HTTPS_PROXY).
22612 - Timestamps within Android apks are removed to make apks
22613 deterministic.
22614 - Support aggregation over existing rules in Skylark extensions
22615 through native.rules and native.rule.
22616 - A tools/bazel script in the workspace will be executed
22617 as an opportunity to use a fixed version of Bazel (not
22618 implemented for the homebrew recipe yet).
22619 - --noimplicit_deps and --nohost_deps work correctly for Aspect
22620 attributes.
22621 - JDK-related targets are now available via @local_jdk (instead of
22622 @local-jdk).
22623 - j2objc tools can now be accessed via @bazel_j2objc, not
22624 @bazel-j2objc.
22625 - Repository rules must use names that are valid workspace names.
22626 - [rust] Update to Rust 1.6
22627 - Add support for .tar.xz archives to http_archive rules.
22628 - Make C++ modules compatible with tools using
22629 --compilation_prerequisites_only
22630 - [d] Update to DMD 2.070.0
22631
Bazel Release System446d9922016-01-21 10:59:31 +010022632## Release 0.1.4 (2016-01-15)
22633
22634```
22635Baseline: e933d5e
22636 + 3d796fe: Rollback of commit
22637 ac6ed79e1a3fa6b0ca91657b28e2a35f7e49758c.
22638 + 7a02e5d: Fix installer under OS X
22639 + 848740c: Fix bazel version for debian package
22640 + 7751d43: Add a method for getting the root of a rule workspace
22641 to the Label method
22642```
22643
22644Important changes:
22645
22646 - add loadfiles() query operator, to find skylark files loaded by
22647 targets.
22648 - Added ability to declare and use aspects in Skylark.
22649 - Skylark load statements may now reference .bzl files via build
22650 labels, in addition to paths. In particular, such labels can be
22651 used to reference Skylark files in external repositories; e.g.,
22652 load("@my_external_repo//some_pkg:some_file.bzl", ...).
22653 Path-based loads are now deprecated and may be disabled in the
22654 future. Caveats: Skylark files currently do not respect package
22655 visibility; i.e., all Skylark files are effectively public. Also,
22656 loads may not reference the special //external package.
22657 - Relative paths can now be used for 'path' with
22658 new_local_repository and local_repository.
22659
Bazel Release System1518253e2016-01-11 10:10:19 +010022660## Release 0.1.3 (2016-01-07)
22661
22662```
22663Baseline: 23ad8f6
22664 + de2183d: Only depend on the WORKSPACE file for external files
22665 that are under the external/ directory, i.e. were
22666 created by Bazel.
22667 + f8f855c: Rollback of commit
22668 12bad3af0eade9c4b79d76f9e1c950ad2e3214c2.
22669 + f627562: Stop parsing the WORKSPACE file when a parse error is
22670 detected
22671 + 763f139: Add -fno-canonical-system-headers to CROSSTOOL files so
22672 that gcc doesn't resolve symlinks in .d files, which
22673 would confuse Blaze.
22674 + b95995b: Use openjdk7 as dependency for debian package of jdk7
22675 flavor
22676```
22677
22678New features:
22679
22680 - Skylark macros are now enabled in WORKSPACE file.
22681 - .bazelrc allows workspace-relative imports as "import
22682 %workspace%/path/to/rcfile"
22683 - Evaluate the query expression in a file by passing
22684 --query_file=<file> to query
22685
22686Important changes:
22687
22688 - Remove obsolete --objc_per_proto_includes flag.
22689 - iOS apps and extensions now have launch_storyboard
22690 - Passing multiple JVM options via a single --host_jvm_args flag is
22691 now deprecated. Pass each JVM option behind its own
22692 --host_jvm_args flag.
22693 - Resources defined locally on an android_library rule will respect
22694 the neverlink attribute.
22695 - Update Rust to 1.4
22696 - Fix resource handling for exported android_library rules
22697 - Files in external repositories are now treated as mutable, which
22698 will make the correctness guarantees of using external
22699 repositories stronger (existent), but may cause performance
22700 penalties.
22701
Bazel Release System0d2e4092015-12-04 23:31:41 +010022702## Release 0.1.2 (2015-11-20)
22703
22704```
22705Baseline: ee0ade3
22706 + 1e66ccd: RELNOTES: Symlink dirents of directories containing a
22707 file named
22708 "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA
22709 _A_RECURSIVE_TARGET_PATTERN" will *not* be traversed
22710 for transitive target patterns. The motivation here is
22711 to allow directories that intentionally contain wonky
22712 symlinks (e.g. foo/bar -> foo) to opt out of being
22713 consumed by Blaze. For example, given
22714 + f5773fc: Set the ijar MAX_BUFFER_SIZE to 256 MB
22715```
22716
22717New features:
22718
22719 - java_library now supports the proguard_specs attribute for
22720 passing Proguard configuration up to Android (not Java) binaries.
22721 - http_file can specify "executable" to make the downloaded file
22722 runnable.
22723 - Debian and tar packaging is now supported
22724 (see tools/build_defs/pkg/README.md).
22725 - cpxx_builtin_include_directory specifications allow more
22726 flexibility.
22727 - accept %crosstool_top% in cxx_builtin_include_directory
22728 - android_binary now supports proguard_apply_mapping to re-use a
22729 previously generated proguard mapping.
22730
22731Important changes:
22732
22733 - remove webstatusserver (--use_webstatusserver).
22734 - Add support for objc textual headers, which will not be compiled
22735 when modules are enabled.
22736 - actoolzip, momczip and swiftstdlibtoolzip have all been made into
22737 bash scripts and have been renamed to actoolwrapper, momcwrapper
22738 and swiftstdlibtoolwrapper respectively. The old versions will be
22739 deleted in a later change.
22740 - [rust] Add rust_bench_test and rust_doc_test rules and improve
22741 usability of rust_test tule.
22742 - Java rules now support a resource_strip_prefix attribute that
22743 allows the removal of path prefixes from Java resources.
22744 - [docker_build] incremental loading is default now.
22745 Specify explicitly //package:target.tar (with the .tar extension)
22746 to obtain the full image.
22747 - --ios_signing_cert_name allows specifying a cert for iOS app
22748 signing
22749 - Go rules for Bazel.
22750 - [jsonnet] Update to Jsonnet 0.8.1.
22751 - [jsonnet] Add vars and code_vars attributes to jsonnet_to_json to
22752 allow passing external variables to Jsonnet via --var and
22753 --code_var.
22754 - Adds --override_workspace_root blaze flag to hand-set
22755 workspace_root and mainGroup in xcodeproj.
22756 - Allow dots in package names.
22757 - When used as a forwarding rule (i.e., has no sources),
22758 android_library
22759 will also forward any exported_plugins in its dependencies.
22760 - Add support for Windows-created zip files with non-posix
22761 permissions.
22762 - [jsonnet] Add jsonnet_to_json_test rule for testing Jsonnet code.
22763 - C++ compile actions run in a sandbox now on systems that support
22764 sandboxed execution.
22765 - The names of the clang compilers in the Android NDK crosstool no
22766 longer reference gcc.
22767 - 420 dpi is now a valid density for andoid_binary.densities.
22768 - Bazel does strict validation of include files now to ensure
22769 correct incremental builds. If you see compilation errors when
22770 building C++ code, please make sure that you explicitly declare
22771 all header files in the srcs or hdrs attribute of your cc_*
22772 targets and that your cc_* targets have correct "deps" on
22773 cc_library's that they use.
22774 - [jsonnet] Fix jsonnet_to_json rule to read code_vars from
22775 code_vars instead of vars.
22776 - Tests, genrules, and Skylark actions without the
22777 "requires-network" tag will no longer be able to access the
22778 network.
22779 - C++ libraries no longer need includes = ["."] (or similar copts)
22780 to include paths relative to a remote repository's root.
22781 - Support exports attribute for android_library
22782 - Symlink dirents of directories containing a file named
22783 "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA_A_RECURSI
22784 VE_TARGET_PATTERN" will *not* be traversed for transitive target
22785 patterns. The motivation here is to allow directories that
22786 intentionally contain wonky symlinks (e.g. foo/bar -> foo) to opt
22787 out of being consumed by Blaze.
22788
Bazel Release Systemfa35b182015-10-14 12:11:51 -040022789## Release 0.1.1 (2015-10-05)
22790
22791```
22792Baseline: 22616ae
22793 + 1ef338f: Rollback of "Propagates cc_library linkopts attribute
22794 to dependent objc_libraries.": breaks certain
22795 objc_binary build targets.
22796 + 5fb1073: Reintroduce an inconsistency check (albeit, in a weaker
22797 form) removed by a previous change that was trying to
22798 optimize away a filesystem call.
22799 + 6d00468b2eb976866cfb814d562e0d53a580a46f: Add IdlClass to the embedded default android tools
22800 repository and rearrange BuildJar's JarHelper so that
22801 it too can be embedded.
22802 + a5199039934a2e399a7201adc0d74e2f2d2b0ff3: Fixes Android integration tests by wiring up idlclass
22803 rules in integration environment.
22804```
22805
22806Incompatible changes:
22807
22808 - Bazel requires JDK 8 to run.
22809 - Attribute "copts" is removed from j2objc_library.
22810
22811New features:
22812
22813 - a cc_binary rule may list '.s' and '.asm' files in the srcs
22814 - Support for build with libsass.
22815 - labels in "linkopts" may match any label in either "deps" or
22816 "srcs" to be considered valid.
22817 - Maven servers that require username & password authentication are
22818 now supported (see maven_server documentation).
22819
22820Important changes:
22821
22822 - Support empty plist files
22823 - The <compatible-screens> section of the AndroidManifest.xml will
22824 not be overwritten if it already contains a <screen> tag for each
22825 of the densities specified on the android_binary rule.
22826 - Add Jsonnet rules to Bazel
22827 - Remove deprecated xcode_options flag.
22828 - Workspace names are now restricted to being in their base
22829 directory
22830 (that is, the names cannot contain up-level references or /./).
22831 - j2objc_library on Bazel now transpiles transitive proto_library
22832 dependencies. (Note that java_* rules in Bazel do not yet support
22833 protos; currently they ignore proto dependencies.)
22834 - new_http_archive can specify a root directory.
22835 - Adds support for dylibs on devices for Xcode 7.
22836 - [d] d_docs rules now depend on a d_binary, a d_library or
22837 d_source_library.
22838 - [docker] docker_build now set the permission to 0555 to files
22839 added to the layer, use `mode = "0644"` to use the legacy behavior.
22840 - android_binary now has a main_dex_proguard_specs attribute to
22841 specify which classes should be in the main dex.
22842 - [rust] Add rust_docs rule for generating rustdoc.
Bazel Release System79e40ac2015-09-08 23:38:00 +020022843## Release 0.1.0 (2015-09-08)
22844
22845```
22846Baseline: a0881e8
22847 + 87374e6: Make android_binary use a constant, hard-coded,
22848 checked-in debug key.
22849 + 2984f1c: Adds some safety checks in the Bazel installer
22850 + 4e21d90: Remove BUILD.glob and incorporate the necessary
22851 filegroups into the android_{ndk,sdk}_repository rules
22852 themselves.
22853 + 1ee813e: Fix Groovy rules to work with sandboxing
22854 + 8741978: Add initial D rules to Bazel.
22855 + 2c2e70d: Fix the installer and fixing the package shiped into
22856 binary version of Bazel.
22857```
22858
22859Initial release.
Bazel Release System6712cac2017-02-01 19:53:37 +010022860
Bazel Release System8d635fc2017-03-16 13:18:30 +010022861
Bazel Release Systema3e26832017-05-26 14:11:07 +020022862
Bazel Release System63222de2017-06-06 11:32:04 +020022863
Bazel Release System7b851222017-06-27 15:08:47 +020022864
Bazel Release System195a7a82017-07-27 20:27:32 +020022865
Bazel Release System5371d132017-08-25 11:24:06 +020022866
Bazel Release System471c0e12017-09-28 16:36:12 +020022867
Bazel Release Systemed0ebc02017-10-05 23:52:25 +020022868
Bazel Release System76b6d0a2017-10-18 14:34:11 +020022869
Bazel Release System0838aee2017-11-27 14:16:34 +010022870
Bazel Release System3d53cb02017-12-05 15:28:40 +010022871
Bazel Release System5bd27482018-02-01 09:43:33 +010022872
Bazel Release Systeme1148362018-02-15 10:02:05 +010022873
Bazel Release System09077a32018-02-23 11:09:18 -050022874
Bazel Release Systemc86d6a02018-03-06 19:32:18 +010022875
Bazel Release System546976c2018-04-11 17:34:19 +020022876
Bazel Release System1d9c6062018-04-30 10:45:38 +020022877
Bazel Release System24c68ff2018-05-23 10:59:57 +020022878
Bazel Release System3a592f62018-06-01 15:04:31 +020022879
Bazel Release System513bbf52018-06-08 14:15:20 +020022880
Bazel Release System5013a332018-06-26 14:07:47 +020022881
Bazel Release System1281a022018-07-16 16:13:53 +020022882
Bazel Release System1bd58832018-08-13 15:41:26 +020022883
Bazel Release Systemfdb09a22018-09-14 12:15:54 +020022884
Bazel Release System50921e62018-09-21 12:27:04 +020022885
Bazel Release System36177972018-10-15 10:29:10 +020022886
Bazel Release System92849b82018-10-31 15:41:11 +010022887
Bazel Release System684f1092018-11-12 10:26:58 -050022888
Bazel Release Systemcb3e2982018-11-19 11:19:38 -050022889
Bazel Release System85378562018-11-30 15:34:16 +010022890