blob: b41d670a3fe16a6380cec172a688ab8f08aed7a1 [file] [log] [blame] [view]
Bazel Release System74181e72024-10-03 14:26:33 +00001## Release 8.0.0-pre.20240925.4 (2024-10-03)
2
3```
4Baseline: f4d92d45be3617b72c21ad5ce8912fa548472e50
5
6Cherry picks:
7
8 + 99434b16ba41677b92f7eb79d5d8dcb1130d7c47:
9 Automated rollback of commit
10 4607ad439fe8869c8e8951d953e2d3adb613e6d6.
11```
12
13Incompatible changes:
14
15 - `ctx.resolve_tools` is no longer available by default, in
16 preparation for complete removal. See
17 https://github.com/bazelbuild/bazel/issues/22249 for migration
18 instructions. Use `--noincompatible_disallow_ctx_resolve_tools`
19 to temporarily make it available again.
20 - The `aquery` command now reports all potential inputs of actions
21 that support input discovery, including the input headers of C++
22 compilation actions and those explicitly marked as unused through
23 the `unused_inputs_list` argument to `ctx.actions.run`. Set
24 `--noinclude_pruned_inputs` to omit pruned inputs from `aquery`
25 output when running it after action execution.
26 RELNOTES[INC]: This is not a release note, but a reminder to
27 remove the note for `--include_scheduling_dependencies`, which
28 was introduced in the 8.x tree but won't make it into the final
29 release.
30 - `--zip_undeclared_test_outputs` now defaults to false, causing
31 undeclared test outputs (i.e., files written to
32 `$TEST_UNDECLARED_OUTPUTS_DIR` by a test) to be produced as a
33 directory instead of a zip file.
34 - --legacy_important_outputs is flipped to false. See #14353 for
35 details
36
37New features:
38
39 - Bazel can now parse .scl files, a dialect of Starlark without
40 Bazel-specific symbols.
41 - Dormant dependencies and materializer functions are now available
42 with the --experimental_dormant_deps flag.
43
44Important changes:
45
46 - Deleted native Android mobile-install
47 - Repository rules instantiated in the same module extensions can
48 now refer to each other by their extension-specified names in
49 label attributes.
50 - A new experimental flag,
51 `--experimental_build_event_output_group_mode`, allows users to
52 change how a given output group's files are reported in BEP. The
53 current behavior is `FILESET` which populates
54 `OutputGroup.file_sets`. Users may now specify `INLINE` to
55 instead report files directly in the
56 `TargetComplete`/`AspectComplete` event under
57 `OutputGroup.inline_files`. Users may also specify `BOTH` to
58 populate `OutputGroup.file_sets` and `OutputGroup.inline_files`.
59 - Bazel no longer has the android_binary, android_library,
60 android_device_script_fixture and android_host_service_fixture
61 rules. Use https://github.com/bazelbuild/rules_android instead.
62 See https://github.com/bazelbuild/bazel/issues/23199
63 - Bazel no longer has the android_sdk_repository rule. Use
64 https://github.com/bazelbuild/rules_android instead.
65 - Uploading local action results to a disk or remote cache now
66 occurs in the background whenever possible, potentially
67 unblocking the execution of followup actions. Set
68 `--noremote_cache_async` to revert to the previous behavior.
69 - `--incompatible_remote_downloader_send_all_headers` is removed.
70 - `--build_event_upload_max_threads` is removed.
71 - `incompatible_remote_output_paths_relative_to_input_root` is
72 removed.
73 - The default value of
74 `--experimental_remote_cache_compression_threshold` is changed to
75 `100`.
76 - Build without the Bytes is disabled when using HTTP cache.
77 - Build without the Bytes is disabled when using HTTP cache.
78 - Symlink trees are now created through direct filesystem calls by
79 default, instead of delegated to a helper process. On Windows,
80 this entails respecting the `--windows_enable_symlinks` flag,
81 falling back to a copy when the flag is unset (the helper process
82 always attempts to create symlinks, irrespective of the flag).
83 Set `--noexperimental_inprocess_symlink_creation` to temporarily
84 revert to the previous behavior, which will be removed in a
85 future release.
86 - By default, coverage artifacts will be reported inline in the
87 `TargetComplete` event. To disable this behavior, pass
88 `--experimental_build_event_output_group_mode=baseline.lcov=named_
89 set_of_files_only`.
90 - Uploading local action results to a disk or remote cache now
91 occurs in the background whenever possible, potentially
92 unblocking the execution of followup actions. Set
93 `--noremote_cache_async` to revert to the previous behavior.
94 - Overrides in the root MODULE.bazel file are now ignored with
95 `--ignore_dev_dependency`. (Overrides in non-root modules are
96 already ignored.)
97 - Added support for using a remote cache that evicts blobs and
98 doesn't have AC integrity check (e.g. HTTP cache).
99 - Undeclared test outputs are now reported individually in the BEP,
100 unless zipping is enabled via `--zip_undeclared_test_outputs`.
101 - The native version of android_tools_defaults_jar is no longer in
102 Bazel. Use https://github.com/bazelbuild/rules_android instead.
103 - Bazel fetch and vendor command now supports --target_pattern_file
104 for specifying target patterns.
105 - The compact execution log now stores runfiles in a more compact
106 representation that should reduce the memory overhead and log
107 output size, in particular for test spawns. This change required
108 breaking changes to the (experimental) log format.
109 - `override_repo` and `inject_repo` can be used to override and
110 inject repos in module extensions.
111 - Patches to the module file in `single_version_override` are now
112 effective as long as the patch file lies in the root module.
113 - If `--allowed_cpu_values` is set, the `--cpu` flag value is
114 validated against it.
115
116This 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.
117
Bazel Release System70fab322024-10-01 17:41:43 +0000118## Release 7.3.2 (2024-10-01)
Bazel Release System439e7e12024-09-20 03:00:56 +0200119
120```
Bazel Release System439e7e12024-09-20 03:00:56 +0200121
Bazel Release System70fab322024-10-01 17:41:43 +0000122Release Notes:
Bazel Release System6ba40e52024-09-19 17:04:26 +0200123
124```
Bazel Release System5c11d452024-08-20 19:01:09 +0000125
Bazel Release System7c2350a2024-08-19 16:08:36 +0000126## Release 7.3.1 (2024-08-19)
127
128```
129
130Release Notes:
131
132```
133
Bazel Release System99477b12024-08-15 14:14:28 +0000134## Release 8.0.0-pre.20240812.1 (2024-08-15)
135
136```
137Baseline: 133eb60925496e3153bcc7903968b4eeb6d16068
138```
139
140New features:
141
142 - aspects can now return DefaultInfo, which will then be merged
143 with that of the configured target they are applied to.
144 Currently, only the files= field is supported.
145
146Important changes:
147
148 - BEP will include correct \`TestResult\` and \`TargetSummary\`
149 events when special test inputs like \`$test_runtime\` fail to
150 build.
151 - Improve progress message in case there are no actions in flight,
152 and display explicitly "no actions running" in that case.
153 - The new `cc_static_library` rule produces a static library that
154 bundles given targets and all their transitive dependencies. It
155 has to be enabled via `--experimental_cc_static_library`.
156
157This release contains contributions from many people at Google, as well as Fabian Meumertzheim, FaBrand, Jiawen (Kevin) Chen, Son Luong Ngoc, Victor Hiairrassary.
158
Bazel Release Systemfdfe93f2024-08-13 15:32:20 +0000159## Release 8.0.0-pre.20240807.1 (2024-08-13)
160
161```
162Baseline: 300c5867b7d2da1ba32abc20e95662096c2a7a08
163```
164
165Important changes:
166
167 - Bazel no longer has the android_ndk_repository rule. Use
168 https://github.com/bazelbuild/rules_android_ndk instead. See
169 https://github.com/bazelbuild/bazel/issues/23199
170 - Bazel no longer has the android_local_test rule. Use
171 https://github.com/bazelbuild/rules_android instead. See
172 https://github.com/bazelbuild/bazel/issues/23199
173
174This release contains contributions from many people at Google, as well as Fabian Meumertzheim, JKutscha, Xdng Yng.
175
Bazel Release System9cc73272024-08-12 16:26:42 +0000176## Release 7.3.0 (2024-08-12)
177
178```
179
180Release Notes:
181
182```
183
Bazel Release System22daaf72024-08-12 15:55:21 +0000184## Release 8.0.0-pre.20240805.3 (2024-08-12)
185
186```
187Baseline: 914db36648ef734b9b534d2a37907b9505534399
188
189Cherry picks:
190
191 + 7e689a55ccdcd752c102d25fe9acb257bd7d881c:
192 Be resilient to outdated exec paths in action cache entries
193```
194
195Important changes:
196
197 - The format of canonical repo names has changed to use plus (`+`)
198 instead of tilde (`~`). Effectively, this flips the flag
199 `--incompatible_use_plus_in_repo_names` to true, and the flag is
200 now a no-op (i.e. cannot be "unflipped").
201
202This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Jordan Mele, Laurent Le Brun, Xdng Yng.
203
Bazel Release System106db7e2024-08-06 18:38:23 +0000204## Release 8.0.0-pre.20240730.1 (2024-08-06)
205
206```
207Baseline: c75124148e025945b96b5b7c165c37d2975e865d
208```
209
210This release contains contributions from many people at Google, as well as Cornelius Riemenschneider, Fabian Meumertzheim, Laurent Le Brun, Xdng Yng.
211
Bazel Release Systembf4b42a2024-08-01 17:56:42 +0000212## Release 8.0.0-pre.20240729.1 (2024-08-01)
213
214```
215Baseline: d08bb13369d840af35a26b5e38b3d0adb896fd29
216```
217
218Important changes:
219
220 - `--compile_one_dependency` selects header-only `cc_library`s in
221 more cases
222
223This release contains contributions from many people at Google, as well as Cornelius Riemenschneider, Fabian Meumertzheim, Keith Smiley, M. Taimoor Zaeem.
224
Bazel Release System55eaa7e2024-07-30 17:36:18 +0000225## Release 8.0.0-pre.20240724.1 (2024-07-30)
226
227```
228Baseline: 0803ad3770155be411a703950502dc71743017bd
229```
230
231Important changes:
232
233 - Added `--experimental_collect_skyframe_counts_in_profiler` to
234 collect Skyframe node counts in the JSON profile over time.
235 Currently, the following SkyFunctions are measured: `BZL_LOAD`,
236 `GLOB`, `GLOBS`, `PACKAGE`, `CONFIGURED_TARGET`, `ASPECT`,
237 `ACTION_EXECUTION`.
238
239This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Jamison Lahman, Jordan Mele, Son Luong Ngoc.
240
Bazel Release Systemc5c831c2024-07-26 21:42:41 +0200241## Release 8.0.0-pre.20240718.2 (2024-07-26)
242
243```
244Baseline: a36c09f61eb0a10727b13ddd62987a8caf7af45c
245
246Cherry picks:
247
248 + 0803ad3770155be411a703950502dc71743017bd:
249 No public description
250```
251
252Important changes:
253
254 - Stop exposing the AndroidPlatformsTransition to Starlark.
255
256This release contains contributions from many people at Google, as well as eantpil.
257
Bazel Release System7bb88612024-07-19 20:30:34 +0200258## Release 8.0.0-pre.20240710.4 (2024-07-19)
259
260```
261Baseline: 34b926bceba798820b369a47d1a7b7ff1634d277
262```
263
264This 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.
265
Bazel Release System41c96be2024-07-12 22:45:58 +0200266## Release 8.0.0-pre.20240701.1 (2024-07-12)
267
268```
269Baseline: 3f93d377d036d773fd505a18e084425a00fb94ea
270```
271
272Important changes:
273
274 - Experimental support for path mapping `CppCompile` actions can be
275 enabled via
276 `--modify_execution_info=CppCompile=+supports-path-mapping`.
277
278This 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.
279
Bazel Release System392deb42024-07-02 23:44:36 +0200280## Release 8.0.0-pre.20240618.2 (2024-07-02)
281
282```
283Baseline: 0c2ed165335327a2c5b534312324baa9ae6b6ebd
284
285Cherry picks:
286
287 + 8d625289052b7d67fedbd50b1eb611deda4ea14a:
288 Automated rollback of commit
289 17f6894346d2e200030dc08d131bf79a31a7c70c.
290```
291
292Initial release.
293
Bazel Release System4a5b5232024-06-25 15:48:38 +0000294## Release 7.2.1 (2024-06-25)
Bazel Release Systema2acc372024-06-10 12:59:51 +0000295
296```
297
298Release Notes:
299
Bazel Release Systema2acc372024-06-10 12:59:51 +0000300```
301
Bazel Release System16dd5d62024-05-08 20:45:25 +0000302## Release 7.1.2 (2024-05-08)
Bazel Release Systeme60b8fb2024-05-03 20:13:05 +0200303
304```
Bazel Release System16dd5d62024-05-08 20:45:25 +0000305Baseline: d798ebde6c6394203a87b5f1a6b62ecfc3880991
Bazel Release Systemb971d5b2024-03-21 16:03:30 +0000306
307Release Notes:
308
Bazel Release System16dd5d62024-05-08 20:45:25 +0000309+ Consider MODULE.bazel for workspace detection in bazel.sh (#20594)
310+ Auto-create deploy jars for Bazel `java_test` targets if requested (#20602)
311+ `java_binary` wrapper should forward `restricted_to` (#20611)
312+ Mount user-specified bind mounts before Bazel's own magic. (#20609)
313+ Fix bootstrapped Bazel binary (#20612)
Bazel Release Systema2351992024-03-11 17:50:52 +0000314+ Modify the error message that occurs when a requested target does not… (#20636)
315+ Cherry-pick all presubmit.yml changes (#20736)
316+ Accept labels of aliases in config_setting. (#20649)
317+ Improve `use_repo_rule` error when not referencing a `repository_rule` (#20732)
318+ Attempt to make main repo mapping inverse more efficient (#20633)
319+ Retry binding to ipv6 localhost (#20755)
320+ Print interactive sandboxed shell command with `--sandbox_debug` (#20769)
321+ Fix two issues with --incompatible_sandbox_hermetic_tmp that manifested themselves when the output base was under /tmp (#20766)
322+ Optimize prefetchInputs. (#20719)
323+ Fix crash on `bazel mod` error containing `%` (#20651)
324+ Cover missing cases during module extension label normalization (#20630)
325+ Do not print errors when repository rules are interrupted (#20662)
326+ Restart at most once when prepopulating repository rule environment (#20643)
327+ Add profiles to the call sites of `updateRunfiles` (#20803)
328+ Fixes for Bazel's own integration tests fail locally on Linux (#20822)
329+ Remove unnecessary `cc_test` coverage handling (#20641)
330+ Fix NPE in BzlmodRepoRuleFunction (#20829)
331+ Return labels instead of strings from DescribableExecutionUnit methods. (#20788)
332+ Introduce a SpawnLogContext interface. (#20842)
333+ Fix `common` `.bazelrc` behavior for flag expansions (#20844)
334+ Add a profiler span for fetching repositories. (#20852)
335+ Make Bazel's RAM estimate container aware (#20644)
336+ Auto-create deploy jars for Bazel `java_test` targets if requested (#20762)
337+ Ignore read-only errors when updating the `mtime` of the `install_base` (#20648)
338+ Add profiling to `remoteActionBuildingSemaphore.acquire()` (#20645)
339+ DigestUtils: avoid throwing on invalid digest function name (#20650)
340+ Use a larger buffer size for `java.util.zip.*Stream` classes (#20642)
341+ Flip flag `--experimental_use_semaphore_for_jobs`. (#20646)
342+ RemoteSpawnRunner: record inbetween phases in timing profile (#20647)
343+ Add fastutil 7.2.1 dependency (#20854)
344+ Allow repo rules to download multiple things in parallel. (#20856)
345+ Add support for tmpfs mounts under `/tmp` with hermetic tmp (#20859)
346+ Add new flag `--enable_workspace` that allows us to disable WORKSPACE… (#20855)
347+ Add support for bind mounts under `/tmp` with hermetic tmp (#20772)
348+ Document `--digest_function` startup flag (#20864)
349+ Add flag `experimental_throttle_remote_action_building` (#20858)
350+ Remove suffix from fastutil alias. (#20872)
351+ Move StableSort into the exec package.
352+ Test that missing spawn outputs are logged correctly.
353+ Simplify computeDigest.
354+ Add SpawnBuilder#with{Inputs,Tools} overloads accepting a NestedSet.
355+ Correctly log paths for runfiles and filesets.
356+ Report empty files in the spawn log.
357+ Propagate the tool bit to logged directory inputs.
358+ Move some more common logic into SpawnLogContext.
359+ Introduce a new compact execution log format.
360+ Apply zstd compression to the compact execution log.
361+ Avoid unnecessary overhead when determining whether an action input is a directory.
362+ Offer Shell completion for top-level packages without subpackages (#20879)
363+ Increase maximal length of profile span for repository function calls (#20907)
364+ Still generate a WORKSPACE file in repo rules if --enable_workspace is set (#20914)
365+ Read authentication information from .netrc (#20915)
366+ deps: rules_python 0.4.0 -> 0.22.0 (#20916)
367+ Avoid emitting canonical labels into generated repos (#20917)
368+ python: make incompatible_python_disallow_native_rules work for top-level external repo targets (#20923)
369+ Remove flag guarding for the AndroidIdeInfo provider (#20932)
370+ Point _virtual_includes to stable locations so IDE integrations survive builds (#20946)
371+ [rfc] Allow repository rules to lazily declare environment variable deps (#20944)
372+ Replaced usage of rev with awk in bash runfiles (#20934)
373+ Cherry pick a few changes to address flaky tests (#20956)
374+ Cherry-pick the change to reduce repository invalidations to Bazel 7.1 (#20949)
375+ The label API shakeup & docs cleanup (#20977)
376+ New docs for labels, repos, etc (#20978)
377+ Add support for arbitrary headers to rctx.download[_and_extract] (#20979)
378+ Show a warning message when the credential helper invocation fails (#20992)
379+ Fix singlejar resource mapping for external repositories (#20989)
380+ Remove user specific path from the lockfile (Fixes #19621) (#21009)
381+ Also report cycles involving WORKSPACE from BzlmodRepoCycleReporter (#21013)
382+ Fix -fatal_warnings on macOS (#21018)
383+ Cherry-picks for module extension repo mapping usage tracking (#21033)
384+ bzlmod: support git repos in source.json (#21036)
385+ Add `bazel mod dump_repo_mapping` (#21023)
386+ Cherry-picks for elimination of repo rule restarts (#21082)
387+ Fix inconsistent dep graph stubs in Bzlmod tests (#21085)
388+ Distinguish the disk and remote caches in the action progress status. (#21084)
389+ Clarify where to find the definition of the --experimental_remote_scrubbing_config configuration format. (#21089)
390+ Disable `--legacy_external_runfiles` in Bazel tests (#21086)
391+ Follow directory symlink in RemoteActionFileSystem#getDirectoryEntries(). (#21088)
392+ Treat the inability to load the Windows filesystem JNI as an error. (#21090)
393+ Fix up permissions error in getInputStream, like we already do for getOutputStream. (#21087)
394+ Force output checking for incremental run commands without the bytes. (#20988)
395+ Remove visionos_x86_64 CPUs (#21022)
396+ Close test.err before deleteing it (#21020)
397+ Fix linker feature detection being performed on wrong linker (#20990)
398+ Add an option to set a minimum size threshold for zstd blob compression. (#21124)
399+ Publish RCs to GitHub (#21127)
400+ Avoid using `InputStream.available()` to detect EOF while reading delimited protos. (#21143)
401+ Starlark: reuse positional array in native calls where possible (#21144)
402+ Harmonize BUILD files. (#21145)
403+ Add bash completion for external targets (#21149)
404+ Make some minor adjustments to the compact execution log format and document it better. (#21146)
405+ Optimize the execution log sorter by using reference equality. (#21147)
406+ Update to Turbine 0.4.0 (#21161)
407+ Split StableSort into a separate target. (#21152)
408+ Document that the compact execution log isn't guaranteed to be serialized in increasing ID order. (#21165)
409+ Fix the comment for MessageOutputStream#write(). (#21166)
410+ Make repo marker files sensitive to repo mapping changes (#21172)
411+ Include the digest hash function in the compact execution log. (#21174)
412+ Report unresolved symlinks as such in the execution log. (#21177)
413+ Correctly handle unresolved symlinks when they appear in the inputs. (#21181)
414+ Add missing close(). (#21183)
415+ Add a profile span for building the upload manifest. (#21184)
416+ Remove obsolete comments and dividers. (#21185)
417+ Implement a new execution log conversion tool. (#21187)
418+ Implement a new execution log conversion tool. (#21192)
419+ Introduce a MessageInputStream abstraction, mirroring MessageOutputStream. (#21207)
420+ Upgrade to use Bazel 7.0.2 (#21208)
421+ Do not store the repository name in `RepoSpec` (#21209)
422+ Make sure we build as well as test //src/tools/execlog/... on CI. (#21216)
423+ Teach ExecLogConverter to read the compact format. (#21223)
424+ Switch macOS minimum version flag to gcc compatible version (#21219)
425+ Update default visionOS CPU to sim_arm64 (#21240)
426+ Avoid exception-based control flow in RemoteActionFileSystem#stat. (#21236)
427+ Cherry-pick: linker_param_file only added to command line if it starts with "@" (#21235)
428+ Fixes for experimental extend rule and subrule functionality (#21237)
429+ Fix NPE in ResourceManager when collecting local resource estimation in the profiler. (#21229)
430+ Optimize RemoteActionFileSystem#readdir for the tree artifact input case. (#21251)
431+ Document --incompatible_disallow_unsound_directory_outputs. (#21252)
432+ Also path map transitive header jar paths with direct classpath optimization (#21227)
433+ Error on invalid path characters in `.bazelignore` (#21259)
434+ Mark gcc-<version> as `gcc` instead of `compiler` in Unix CC toolchain (#21224)
435+ Avoid exception-based control flow in RAFS#getDigest and RAFS#getFastDigest. (#21264)
436+ Add `add_exports/add_opens` to bazel java_binary deploy jars (#21270)
437+ Manipulate the local filesystem directly in the writeLocalFile test helper. (#21272)
438+ Improve the documentation for PathFragment methods dealing with segments. (#21275)
439+ Canonicalize the parent path in RemoteActionFileSystem#delete. (#21282)
440+ Revert "Also path map transitive header jar paths with direct classpath optimization" (#21281)
441+ Make it possible to toggle cache key scrubbing by rule kind (#21276)
442+ Fix a hanging issue with skymeld & `--combined_report=lcov`. (#21271)
443+ Canonicalize the parent path in RemoteActionFileSystem#renameTo. (#21285)
444+ Exclude `//src/test/py/bazel:mod_command_test` from RBE tests due to frequent flaky timeouts.
445+ Add `bazel mod tidy` (#21265)
446+ Don't use worker threads for repo fetching during Skyframe er… (#21305)
447+ Fix flakiness in //src/test/shell/bazel:starlark_repository_test (#21309)
448+ Document best practice of avoiding extensions directly specifying repository names (#21300)
449+ Allow `@repo_name` labels in override attributes (#21313)
450+ Reproducible extension (#21306)
451+ Omit unique module versions from canonical repo names (#21316)
452+ Add `Label.to_display_form()` (#21312)
453+ Clarify the purpose and overall behavior of RemoteActionFileSystem. (#21294)
454+ Make SpawnLogConvert an abstract class instead of an interface. (#21325)
455+ Add support for additional command profiler event types. (#21327)
456+ Remove the fileSize parameter from DigestUtils. (#21328)
457+ Optimize RemoteActionFileSystem#resolveSymbolicLinks by caching intermediate results in a trie. (#21333)
458+ Mark `use_repo_rule` extension as reproducible (#21335)
459+ Make SpawnLogContext interruptible. (#21337)
460+ Document --cache_computed_file_digests. (#21326)
461+ Generate a lockfile for the distribution archive on the fly (#21338)
462+ Introduce --local_resources flag (#21331)
463+ Cherry-pick recent changes to fix CI flakiness and breakages (#21349)
464+ Clear the file digests cache on clean. (#21346)
465+ Parallelize TreeArtifactValue.visitTree across files instead of subdirectories. (#21347)
466+ Temporarily hardcode rules_java repository name (#21356)
467+ Remove unnecessary test assertions to fix flakiness. (#21354)
468+ Make it possible to avoid an extra stat() when obtaining a digest from the cache. (#21353)
469+ Collect directory contents in parallel in CompactSpawnLogContext. (#21361)
470+ Introduce --default_test_resources flag (#21311)
471+ python: rules_python 0.22.0 -> 0.22.1 soas to register Python toolchain by default (#21369)
472+ Add vendor mode (#21366)
473+ Clarify the behavior of --incompatible_remote_symlinks in the presence of a dangling symlink. (#21363)
474+ Handle symlinks in a more consistent manner in UploadManifest. (#21371)
475+ Set the executable bit on files in output directories uploaded to a disk or remote cache. (#21376)
476+ Call out that TreeArtifactVisitor.visit is called in a nondeterministic order. (#21377)
477+ Optimize out a stat call. (#21388)
478+ Compute output directories in parallel when building the upload manifest. (#21386)
479+ Fix rule definition environment for repo rules (#21397)
480+ Share classpath `NestedSet` between full and header compile actions (#21389)
481+ Emit labels in display form in Java rules (#21395)
482+ Fetch refactor and mod command fix (#21385)
483+ Implement `describeKey` for more actions (#21421)
484+ Let scrubbed actions fall back to local execution when remote execution is enabled. (#21384)
485+ Publish the new execution log format to the build event protocol. (#21417)
486+ Ensure that the mtime of an AC entry is smaller, not larger, than the CAS blobs it references. (#21416)
487+ Pass the name of the classpath manifest jar to JacocoCoverageRunner (#21413)
488+ Traverse symlinks to directories while collecting a TreeArtifactValue. (#21418)
489+ Correctly handle file inputs/outputs with directory contents in the execution log. (#21427)
490+ Upgrade to async-profiler v3.0. (#21428)
491+ Avoid a superfluous stat() in DigestUtil. (#21400)
492+ [credentialhelper] Respect `expires` field from helper (#21429)
493+ Improve performance of --reuse_sandbox_directories (#21433)
494+ [credentialhelper] Update flag doc to point to more convenient usage instructions (#21441)
495+ Repo file/dir watching API (#21435)
496+ Clarify the meaning of Dirent.Type.UNKNOWN. (#21434)
497+ Add a native image of turbine to the prebuilt Java tools (#21426)
498+ Update java_tools v13.4 / rules_java 7.4.0 (#21359)
499+ Automated rollback of commit b11fa7a7c7fdb37012c7a442b16f6fdcf90b9177. (#21448)
500+ Remove the restriction that relative symlinks in a tree artifact may not point outside the tree. (#21449)
501+ Revert "Add `Label.to_display_form()`" (#21454)
502+ Do not record any repo mapping entries in the RepoMappingRecorder for WORKSPACE repo rules (#21457)
503+ Reland "Also path map transitive header jar paths with direct classpath optimization" (#21458)
504+ Backport CI test configs (#21456)
505+ Use execution info instead of hard-coded mnemonics for Java path mapping (#21461)
506+ Always decide whether to scrub an input by its effective path. (#21472)
507+ Set RC branch when creating GitHub releases (#21477)
508+ Fix vendor existing repo (#21487)
509+ [test][windows] Export BAZEL_TEST=1 on windows (#21494)
510+ Enable aar_import JNI libs to work with --android_platforms. (#21502)
511+ Fix stale trash dir not cleaned up on worker creation (#21510)
512+ Fix genrule autostamping in bazel (#21512)
513+ Remove --host_jvm_args=-Djava.net.preferIPv6Addresses=true (#21546)
514+ Passthrough HTTP headers to remote downloader service (#21503)
515+ [credentialhelper] Support paths relative to `%install_base%` (#21532)
516+ Update LibrariesToLinkCollector.java for .dll suffix stripping (#21524)
517+ Backport changes for updating default lockfile used in integration tests. (#21547)
518+ Fix a flaky test by avoiding leaking the eager capability RPC thread. (#21550)
519+ Add a profiler span for the findMissingDigests call associated with an upload. (#21552)
520+ Move the disk cache reads and writes into a thread pool. (#21551)
521+ Lazily open files to be uploaded to an HTTP cache. (#21549)
522+ Exclude convenience symlinks after changing the output base (#21505)
523+ StarlarkBaseExternalContext.java: propagate error message when deleting temporary directory failed (#21555)
524+ Fix `bazel fetch` by replacing query with cquery for underlying implementation (#21567)
525+ Fix watching paths in undefined repos in repo rules (#21575)
526+ Implicit dependencies should be visible to rule/aspect definitions in `.bzl` files in the same package (#21577)
527+ Disable some tests because of JDK21 (#21595)
528+ Expose the ApkInfo provider constructor to Starlark. (#21588)
529+ Add multiplex sandboxing support to JavaBuilder (#21598)
530+ Attempt to fix cancellation crash in repo fetching w/ worker thread (#21599)
531+ Move compile StarlarkMethod back to CcModuleAPI (#21605)
532+ Expose AndroidIdeInfo in android_common (#21607)
Bazel Release System16dd5d62024-05-08 20:45:25 +0000533+ Release 7.1.0 (2024-03-11)
534+ Update centos7 platform in build_bazel_binaries.yml (#21644)
535+ Fix `bazel mod tidy` failure with no changes (#21662)
536+ Update .bazelversion to 7.1.0 (#21664)
537+ Let native Turbine image find `ct.sym` with non-hermetic `java_runtime` (#21670)
538+ Actually use shouldPublish() to determine whether to publish the execution log to the BEP. (#21671)
539+ Also inject a failure for createWritableDirectory when testing that ActionOutputDirectoryHelper propagates exceptions. (#21683)
540+ Fix race condition and add more logging for null entry error message (#21692)
541+ Allow any canonical repo name to be used with `bazel mod show_repo` (#21694)
542+ Fix two `bazel mod tidy` crashes (#21700)
543+ Cherry-pick Java execution info improvements (#21703)
544+ Disable //src/test/shell/bazel:srcs_test on Intel macOS (#21707)
545+ Fix sandbox cleanup crashing after server restart (#21733)
546+ Revert "Fix `bazel fetch` by replacing query with cquery for … (#21735)
547+ Release 7.1.1 (2024-03-21)
548+ Implement RemoteActionFileSystem#statIfFound correctly when the path cannot be canonicalized (#21889)
549+ Don't upload remote input to remote cache (#21941)
550+ Do not watch `.netrc` in `read_netrc` (#22186)
551+ Set public visibility for R8 desugar binary (#22176)
Bazel Release Systema2351992024-03-11 17:50:52 +0000552
553Acknowledgements:
554
Bazel Release System16dd5d62024-05-08 20:45:25 +0000555This 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 +0000556```
557
Bazel Release System51f71f12023-12-11 16:46:26 +0000558## Release 7.0.0 (2023-12-11)
559
560```
561Baseline: d60ce2c7c86393638c77698c00c2168a7a936a53
562
563Release Notes:
564
565+ **[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 ```
566+ 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).
567+ The `aquery` and `cquery` commands now respect the `--query_file` flag just like the `query` command.
568+ **[Incompatible]** the --experimental_async_execution flag is now a no-op.
569+ **[Incompatible]** --experimental_replay_action_out_err is not a no-op.
570+ **[Incompatible]** `cquery --output=files` also outputs source files.
571+ removed outdated ctx.host_fragments
572+ **[Incompatible]** When multiple --deleted_packages options are passed on the command line, they will be concatenated instead of the latest one taking effect.
573+ removed outdated ctx.host_configuration
574+ **[Incompatible]** JSON profile: Use doubles instead of strings for counter series.
575+ Now that the host configuration is finished, `genrule` should prefer the use of `tools` and stop using `exec_tools`.
576+ **[Incompatible]** --experimental_build_transitive_python_runfiles is flipped to false. See #16303 for details
577+ **[Incompatible]** --incompatible_python_disable_py2 is flipped to true. See #17293 for details.
578+ Update Android manifest merger to v30.1.3, and also drop support for legacy (pre-D8) desugaring.
579+ Correctly encode double value positive infinity as "inf" instead of "+inf" for textprotos.
580+ **[Incompatible]** When remote cache evicts blobs, Bazel will exit with code 39.
581+ Add --use_target_platform_for_tests which uses the target platform for executing tests instead of the execution platform.
582+ **[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`)
583+ 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.
584+ Add flag `--experimental_remote_cache_ttl` and set the default value to 3 hours.
585+ 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"
586+ **[Incompatible]** Bazel's local CPU resource on Linux is now container aware. Use `--local_cpu_resources`, `--loading_phase_threads` or `--jobs` to override.
587+ 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.
588+ @bazel_tools//config:common_settings.bzl has been removed. Use @bazel_skylib//rules:common_settings.bzl instead.
589+ **[Incompatible]** `copy_from_rule` is exec_groups is deprecated (https://github.com/bazelbuild/bazel/issues/17668).
590+ cc_shared_library is no longer experimental, see https://github.com/bazelbuild/bazel/issues/16709 for details
591+ **[Incompatible]** --legacy_bazel_java_test is now a no-op
592+ The flag `--distinct_host_configuration` is removed. It has been a no-op since Bazel 6.0.0.
593+ Add `--skip_incompatible_explicit_targets` option
594+ **[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`.
595+ Remove 'darwin' as a CPU value, use 'darwin_x86_64' instead
596+ **[Incompatible]** Remove 'darwin' as a CPU value, use 'darwin_x86_64' instead
597+ cc_test can now be configured by using a native.toolchain().
598+ 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.
599+ 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.
600+ `--experimental_remote_build_event_upload` has been renamed to `--remote_build_event_upload`
601+ **[Incompatible]** Remove high priority workers functionality from blaze.
602+ [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.
603+ `--experimental_action_cache_store_output_metadata` has been renamed to `--action_cache_store_output_metadata`
604+ Changed the default value for `--remote_build_event_upload` to `minimal`.
605+ `--experimental_remote_cache_compression` has been renamed to `--remote_cache_compression`
606+ 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.
607+ `--experimental_remote_grpc_log` has been renamed to `--remote_grpc_log`
608+ `--incompatible_remote_build_event_upload_respect_no_cache` is now a no-op.
609+ 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.
610+ --experimental_repository_disable_download is now promoted to stable and is also available under the name --repository_disable_download .
611+ `applicable_licenses` is no longer allowed on the `platform` rule. Additionally, `default_package_metadata` from any `package` rule will not be applied.
612+ **[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.
613+ 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.
614+ **[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.
615+ the 'default' param of json.decode can now be used as a keyword parameter.
616+ 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.
617+ 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.
618+ (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.
619+ **[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.
620+ Enable starlark_doc_extract - a native rule for Starlark documentation extraction. This rule is intended mainly for internal use by Stardoc.
621+ **[Incompatible]** Remove deprecated and unused `--experimental_show_artifacts` flag.
622+ Added the target path of an UnresolvedSymlink action to the aquery results
623+ 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.
624+ More descriptive error messages for unexpected cc absolute includes; unexpected absolute includes for cc compiles shouldn't be reported as "undeclared inclusion(s)"
625+ Enable C++ branch coverage if gcov version is 8 or newer.
626+ 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.
627+ Support for optimizers rewriting baseline profiles.
628+ This is a breaking change. `cc_host_toolchain_alias` rule is obsolete and can be interchangeably used with `cc_toolchain_alias` rule.
629+ Fixes non-ascii arguments written to parameter files as mojibake.
630+ NA
631+ The `genrule` attribute `exec_tools` will be removed in a future Bazel release. Please follow directions at #19132 to migrate away from it.
632+ **[Incompatible]** Removed multi_arch_split, use transition_support.apple_platform_split_transition from rules_apple instead.
633+ Supports for android_binary.startup_profiles attribute.
634+ **[Incompatible]** Removed apple_crosstool_transition, use transition_support.apple_rule_transition from rules_apple instead.
635+ **[Incompatible]** Drop deprecated 'transitive_deps', 'transitive_runtime_deps' from JavaInfo
636+ **[Incompatible]** The --android_include_proguard_location_references flag is not supported anymore.
637+ **[Incompatible]** The --apple_compiler command line option is not available anymore.
638+ `rule()` and `attr.*` can no longer be (pointlessly) called during WORKSPACE evaluation and repository rule evaluation.
639+ Expands baseline profile wildcards before optimizer tools see them.
640+ **[Incompatible]** --no_proguard_location_reference is now added unconditionally to the command line of aapt2.
641+ **[Incompatible]** The command line flag --apple_enable_auto_dsym_dbg is not supported anymore.
642+ **[Incompatible]** The --apple_compiler command line option is not available anymore.
643+ **[Incompatible]** py_transitions top-level was removed.
644+ Android resources will no longer propagate through neverlinked libraries by default.
645+ Set Android Databinding to v2 and Databinging AndroidX to true and remove support for Databinding V1.
646+ Added whether or not a FileWrite action's output is executable to the aquery results
647+ --use_single_jar_apk_builder is removed. It's been a no-op for years.
648+ **[Incompatible]** --incompatible_merge_fixed_and_default_shell_env is flipped to true. See #19317 for details.
649+ JVM options in environment variables JAVA_TOOL_OPTIONS and JDK_JAVA_OPTIONS now do not get to the server; use --host_jvm_args instead.
650+ --remote_download_minimal no longer implies --nobuild_runfile_links.
651+ attr objects in Starlark now use value equality rather than reference equality.
652+ **[Incompatible]** `cmd_helper` module was removed
653+ **[Incompatible]** `ctx.new_file` was removed, `ctx.actions.declare_file` is to be used instead.
654+ **[Incompatible]** Fails on unknown attributes (even when set to None). See https://github.com/bazelbuild/bazel/issues/19403
655+ Change output paths to consistently start with [cpu]-[compilation_mode] along with other cleanups to output path generation logic.
656+ 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.
657+ **[Incompatible]** Flip incompatible_enable_cc_toolchain_resolution (https://github.com/bazelbuild/bazel/issues/7260)
658+ 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.
659+ **[Incompatible]** proto_compiler attribute removed from proto_lang_toolchain (it was recently introduced, and there is no evidence of use)
660+ **[Incompatible]** --experimental_genquery_use_graphless_query is made to be a NO-OP.
661+ **[Incompatible]** The --call_count_output_path command line option is not supported anymore.
662+ **[Incompatible]** The no-op --dynamic_worker_strategy command line option is no available anymore.
663+ **[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.
664+ **[Incompatible]** The --experimental_cc_shared_library_debug command line flag is not available anymore.
665+ **[Incompatible]** testing.analysis_test is not experimental anymore
666+ **[Incompatible]** The (no-op) --android_include_proguard_location_references flag is not available anymore.
667+ **[Incompatible]** The --experimental_android_local_test_binary_resources command line option is not available anymore.
668+ **[Incompatible]** The --experimental_includes_attribute_subpackage_traversal command line option is not available anymore.
669+ **[Incompatible]** The --debug_print_action_contexts command line option is not available anymore.
670+ **[Incompatible]** The --experimental_skyframe_include_scanning command line option is not available anymore.
671+ **[Incompatible]** The --experimental_supports_info_crosstool_configuration command line option is not available anymore.
672+ **[Incompatible]** THe --incompatible_avoid_conflict_dlls command line option is not available anymore.
673+ **[Incompatible]** The --experimental_prioritize_local_actions command line option is not available anymore.
674+ **[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 .
675+ **[Incompatible]** The --experimental_execution_graph_log_cached and --experimental_execution_graph_log_missed command line options are not available anymore.
676+ **[Incompatible]** The --experimental_use_sh_binary_stub_script command line option is not available anymore.
677+ **[Incompatible]** The --incompatible_disable_expand_if_all_available_in_flag_set command line option is not available anymore.
678+ default_applicable_licenses in package() now applies to the entire BUILD file, regardless of where in the BUILD that package() is called.
679+ **[Incompatible]** The --incompatible_load_cc_rules_from_bzl command line option is not available anymore.
680+ **[Incompatible]** The --incompatible_display_source_file_location command line option is not available anymore.
681+ **[Incompatible]** The --experimental_repository_hash_file and --experimental_verify_repository_rules command line options are not available anymore.
682+ **[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.
683+ **[Incompatible]** The --show_warnings command line option of the command "canonicalize-flags" is not available anymore.
684+ **[Incompatible]** The command line option --remove_all_convenience_symlinks is not available anymore.
685+ **[Incompatible]** java_test doesn't produce deploy jars anymore
686+ **[Incompatible]** The lazy template expansion is not experimental anymore (--experimental_lazy_template_expansion command line option is not available anymore).
687+ **[Incompatible]** The --incompatible_disallow_legacy_javainfo command line option is not available anymore.
688+ **[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.
689+ **[Incompatible]** THe --incompatible_force_strict_header_check_from_starlark command line option is not available anymore.
690+ **[Incompatible]** --incompatible_visibility_private_attributes_at_definition is flipped to true. See https://github.com/bazelbuild/bazel/issues/19330 for details.
691+ **[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.
692+ **[Incompatible]** The no-op --experimental_cpp_compile_argv_ignore_param_file command line option is not available anymore.
693+ Make variable expansion of `objc_library` produces better error messages.
694+ **[Incompatible]** rule function takes only implementation function positionally, other parameters have to be named
695+ **[Incompatible]** The --incompatible_genquery_use_graphless_query command line options is not available anymore.
696+ 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.
697+ Bazel now throws an error if the root module specifies overrides on nonexistent modules.
698+ Fix includes attribute of `objc_library` when sibling repository layout is used.
699+ Directories used by sandboxed non-worker execution may be reused to avoid unnecessary setup costs. Disable behavior with --noreuse_sandbox_directories.
700+ **[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.
701+ Symlink trees created by sandboxing will be deleted asynchronously. Disable behavior with --experimental_sandbox_async_tree_delete_idle_threads=0.
702+ **[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
703+ 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`.
704+ **[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
705+ none Commit https://github.com/bazelbuild/bazel/commit/7d87996d2c2018f0c6dd9b200482320d0e40f024
706+ None Commit https://github.com/bazelbuild/bazel/commit/0a1dce27650a233d8acb1f09a1181279f510cae8
707+ **[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
708+ **[Incompatible]** Delete the --experimental_execution_log_file flag. Use --execution_log_binary_file in conjunction with --noexecution_log_sort instead.
709+ **[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>
710+ **[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.
711+ None. Commit https://github.com/bazelbuild/bazel/commit/491284b0c782e0df25dd0a8bc921a9c2de0e6881
712+ **[Incompatible]** `--incompatible_sandbox_hermetic_tmp` is enabled by default. See #19915 for migration advice. Closes #19943. Commit https://github.com/bazelbuild/bazel/commit/e2c0276d1fd69c19d6946fb17f9e983e9ea68025
713+ **[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.
714+ None Commit https://github.com/bazelbuild/bazel/commit/65f847a0103329f684e4313d49154583de15d164
715+ None Commit https://github.com/bazelbuild/bazel/commit/9bbc2cbebf5c395c5504db7dfcfc5bda7e00bd3c
716+ none Fixes #19920 Commit https://github.com/bazelbuild/bazel/commit/886b13fd00b5a17161d9558b6b11dd135355e5cb
717+ **[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
718+ `--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
719+ **[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
720
721Acknowledgements:
722
723This 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.
724```
725
Bazel Release System51fd5032023-11-14 23:54:13 +0100726## Release 8.0.0-pre.20231030.2 (2023-11-14)
727
728```
729Baseline: 8cab6aa21fa765985a962e59264e12251e4d479f
730
731Cherry picks:
732
733 + d78bdd2f7143da31087c3ab88298b52defb90fdc:
734 Temporarily disable `BaselineOptionsFunction` + Starlark exec
735 transition.
736```
737
738Incompatible changes:
739
740 - Java runtime toolchains created via `local_java_repository` from
741 `@bazel_tools//tools/jdk:local_java_repository.bzl`, which
742 includes `local_jdk`, now have `target_compatible_with` set to
743 the auto-detected host constraints. This can result in errors
744 about toolchain resolution failures for
745 `@bazel_tools//tools/jdk:runtime_toolchain_type`, especially when
746 cross-compiling. These failures can be fixed in the following
747 ways (listed in decreasing order of preference):
748 * Replace `java_binary` targets that aren't meant to be run with
749 `bazel run` or as tools during the build with `java_single_jar`
750 (available in `@rules_java//java:java_single_jar.bzl`). Such
751 targets do not require a Java runtime for the target
752 configuration.
753 * Set `--java_runtime_version=remotejdk_N` for some Java version
754 `N` to let Bazel choose and download an appropriate remote JDK
755 for the current target platform. This setting defaults to
756 `local_jdk`, which means that Bazel can only use the local JDK,
757 which isn't compatible with any other platform.
758 * Manually define and register a `local_java_runtime` with no
759 value set for `exec_compatible_with` (defaults to `[]`) and
760 select it by setting `--java_runtime_version` to its `name`. This
761 fully restores the previous behavior, but can result in incorrect
762 results when cross-compiling (see #18265).
763 - transition is removed from objc_library
764 (https://github.com/bazelbuild/bazel/issues/19688)
765
766New features:
767
768 - "bazel aquery" now returns the headers C++ compilation actions
769 can include if the --include_scheduling_dependencies command line
770 option is set.
771
772Important changes:
773
774 - Enable Platforms and Toolchains for Android. Android projects
775 will need to stop passing the legacy flag `--fat_apk_cpu`, and
776 instead use `--android_platforms` using platforms defined with
777 the `@platforms//os:android` constraint. The
778 https://github.com/bazelbuild/rules_android repository defines
779 four standard Android platforms for projects that use those
780 rules, `@rules_android//:armeabi-v7a`,
781 `@rules_android//:arm64-v8a`, `@rules_android//:x86`,
782 `@rules_android//:x86_64`.
783
784This release contains contributions from many people at Google, as well as Benjamin Peterson, Fabian Meumertzheim, Fredrik Medley, Guillaume Maudoux, Ulf Adams, Wade Carpenter.
785
Bazel Release Systemb6e26932023-11-07 18:42:00 +0100786## Release 7.0.0-pre.20231018.3 (2023-11-07)
787
788```
789Baseline: eeb9c911bf16271f807c687e8eae246edaecd005
790
791Cherry picks:
792
793 + bb7fb2d32f055f2a70a5ab394cf5aef29bc74b2e:
794 Automatically add function transition allow list when needed
795 + c59739e72a2b4ee50f4ba205fb1561f10f0b344d:
796 Automated rollback of commit
797 f7946d0107dd75b2f45bcc79b91c016d075a756d.
798 + f6eabdc51eb54416361be4b3528d67717a11fdfd:
799 Automated rollback of commit
800 774fdb4be128b642332531f1d0376810b4c5377f.
801```
802
803Incompatible changes:
804
805 - The sandboxfs sandboxing strategy is removed. It hadn't been
806 maintained for a long time, it didn't work for most users and it
807 was not consistently faster while being complex to set up.
808 sandboxfs performance is heavily dependent on the specific setup
809 (setup costs are lower, but you have to pay a penalty for the use
810 of each input) and there are scenarios where it is faster and
811 scenarios where it is slower. Overall it is not worth its weight.
812 - Bzlmod is enabled by default, please consider migrating your
813 external dependencies from WORKSPACE to MODULE.bazel. Find more
814 details at https://github.com/bazelbuild/bazel/issues/18958
815
816Important changes:
817
818 - Directories used by sandboxed non-worker execution may be reused
819 to
820 avoid unnecessary setup costs. Disable behavior with
821 --noreuse_sandbox_directories.
822 - Symlink trees created by sandboxing will be deleted
823 asynchronously.
824 Disable behavior with
825 --experimental_sandbox_async_tree_delete_idle_threads=0.
826
827This release contains contributions from many people at Google, as well as Antoine Musso, Benjamin Peterson, Fabian Meumertzheim, Nick Biryulin, Steve Barrau, Thi Don.
828
Bazel Release System80f49432023-10-23 14:45:19 +0200829## Release 7.0.0-pre.20231011.2 (2023-10-23)
830
831```
832Baseline: e66a10f473ed853393061633e3803a8f71e47bff
833```
834
835Initial release.
836
Bazel Release System844c1d62023-10-19 17:02:51 +0000837## Release 6.4.0 (2023-10-19)
838
839```
840Baseline: 0f231ac8acabcd8aa309da041c98ab90a1552418
841
842Release Notes:
843
844+ Support multiple remote execution digest functions (#19042)
845+ Release 6.4.0 remote (#18959)
846+ Move BazelFileSystemModule into bazel package (#19043)
847+ Fix a bug where frozen targets list was mutated while expanding env attribute (#19053)
848+ Mark isolated extension usages as experimental (#19065)
849+ Add the remote_require_cached flag (#19075)
850+ Advertise CcInfo from cc_import (#19086) (#19088)
851+ Update java_tools version to 12.6 (#19092)
852+ Set the digest_function field as part of all relevant gRPC requests (#19049)
853+ Merge `use_repo` buildifier fixups into a single command (#19134)
854+ Ensure that extension unique names followed by `~` are prefix-free (#19164)
855+ Lockfile updates & fixes (#19153)
856+ Switch xcode_autoconf to use 'configure = True' (#19174)
857+ Cherry pick Add a Starlark flag that allows disabling proguard. This will be useful for testing later. (#19179)
858+ Update CODEOWNERS for 6.4.0 (#19194)
859+ Friendlier error message for `bazel_dep`s without `version` (#19196)
860+ Always check `$config_dependencies` visibility at use (#19197)
861+ Add support for the BLAKE3 digest function (#19191)
862+ Enable cc toolchain resolution when cross compiling to windows arm64. (#19198)
863+ Ensure disk cache root exists (#19225)
864+ Fix valid json when using jsonproto output in queries with new `--ouput=streamed_jsonproto` implementation. (#19226)
865+ Add toolchain type for Java bootstrap runtime (#19220)
866+ Add Starlark implementation for several CcCommon methods. (#19076)
867+ Rename `cc_test_wrapper` to `cc_test` (#19231)
868+ Cherry-pick commits to fix a Windows issue (#19232)
869+ Add support for more workspace boundary files to bash completion (#19281)
870+ Use `debugPrint` instead of `str` for `fail` arguments (#19283)
871+ Include name in `repr` of exported `rule`s (#19229)
872+ Download `BazelRegistryJson` only once per registry (#19300)
873+ Make module extension tag's `debugPrint` useful for error messages (#19285)
874+ Intern repository mapping entries (#19293)
875+ Add `additional_linker_inputs` option to `cc_library` rule (#19264)
876+ Do not rerun module extensions when only imports or locations change (#19284)
877+ Add profiling for Bzlmod operations (#19313)
878+ Retry on javax.net.ssl.SSLException ... BAD_DECRYPT (#19346)
879+ Fetch `RepoSpecs` in parallel (#19354)
880+ Make `MODULE.bazel.lock` deterministic (#19370)
881+ Ensure lockfile is updated after reset to pre-build state (#19371)
882+ build-runfiles: remove temporary file prior to creating it (#19386)
883+ Always fail on unknown attributes (#19404)
884+ Ignore Starlark options on commands with `allowResidue = False` (#19417)
885+ Separate PackageSpecificationProvider from its target (PackageGroupConfiguredTarget) (#19420)
886+ Expose PackageSpecificationInfo provider as a top level symbol (#19422)
887+ Revert "Report remote execution messages as events" (#19415)
888+ [6.4] Add --incompatible_disable_objc_library_transition (#19393)
889+ Create .bazelversion to address postsubmit timeout issues (#19435)
890+ Add `contains` method inside `PackageSpecificationProvider` (#19425)
891+ Wrong include path to Clang 16 on Windows (#19430)
892+ Simplify release notes by just printing the first line of the commit … (#19448)
893+ Remove PackageGroupConfiguredTarget.isAvailableFor function (#19444)
894+ Remove default -s flag from macOS libtool invocation (#19454)
895+ Turn off lockfile feature by default (#19462)
896+ Take the no-remote-exec tag into account when computing the action salt (#19457)
897+ Add `--incompatible_merge_fixed_and_default_shell_env` (#19319)
898+ Improve error when a label is provided in `config_setting`'s `values` (#19484)
899+ Mark tool inputs in the execution log. (#19483)
900+ Add visionOS support (#19436)
901+ Intern empty `Depset`s (#19443)
902+ Do not allow applicable_licenses on platform. (#19426)
903+ Cherry pick Bzlmod fixes (#19494)
904+ Optimize classpath pre-processing in java_stub_template.txt (#19491)
905+ Add output name to CacheNotFoundException (#19452)
906+ feat: add option to exit early if analysis cache is discarded (#19503)
907+ Cherry pick platform dependent lockfile (#19498)
908+ Print Passed and Failed methods in detailed test summary (#19505)
909+ Add formatted timestamp entries to volatile workspace status file. (#19499)
910+ Write an explicit line ending to the lockfile (#19519)
911+ Only use `/showIncludes` if supported (#19521)
912+ Also apply `NestedSet` optimizations to `Depset` (#19492)
913+ Add diff_against_dynamic_baseline option to experimental_output_direc… (#19514)
914+ Update java_tools to v12.7 (#19522)
915+ Advertise CcInfo from cc_proto_library (#19534)
916+ Update unknown Xcode version error message and provide an environment variable to force re-evaluation (#19540)
917+ Print dep chain leading to a module that is in error (#19543)
918+ Show fetch progress for the `mod` command (#19542)
919+ Revert "Switch xcode_autoconf to use 'configure = True' (#19174)" (#19550)
920+ Explain the use of `str(Label(...))` in the docs (#19554)
921+ Add `--consistent_labels` flag to all query commands (#19567)
922+ Inject builtin modules at the end of the MODULE.bazel file (#19573)
923+ Disable bzlmod_query_test for RBE build (#19585)
924+ Clear runfiles environment variables for `bazel run` (#19606)
925+ cc_library: propagate data dependencies via implementation_deps. (#19590)
926+ Error on potential unsupported `/showIncludes` lines (#19611)
927+ Use case-insensitive comparison for Windows paths in `runfiles.bash` (#19626)
928+ Show test labels in summaries in display form (#19625)
929+ Remove stale extension entries from lockfile (#19683)
930+ Keep leading zero in formatted date (#19694)
931+ Bzlmod lockfile: fix pretty printing for attributes (#19691)
932+ MODULE.bazel.lock file contains user specific paths (#19698)
933+ Consider RCs equivalent to release for `bazel_compatibility` (#19689)
934+ Use `Label` in `@bazel_tools//tools/jdk` macros (#19675)
935+ Remove stale extension entries from lockfile if module order changes (#19730)
936+ Update rules_java 5.5.1 (#19701)
937+ Fix Java compilation for jdk21 (#19735)
938+ Fix output materialized as symlink when building without the bytes. (#19739)
939+ Make lockfile's `RepoSpec` attributes more readable (#19748)
940+ Merge rule and aspect validation output groups (#19745)
941+ Fix handling of non-ASCII characters in archive entry file names (#19765)
942+ Raise an early error on invalid labels in transitions inputs/outputs (#19764)
943+ Handle synthetic method parameters entries that don't have names (#19758)
944+ Bazel release process: Fix push justification. (#19768)
945+ Flip --experimental_cc_implementation_deps (#19751)
946+ Add blake3 NEON instructions on linux arm64 (#19804)
947+ Fix crash when `environ` contains duplicate entries (#19827)
948+ Bump c++ standard to c++14 per default (#19794)
949+ Collect debug info context from implementation deps (#19836)
950+ Fix unconditional Skyframe invalidation with --lockfile_mode=… (#19848)
951
952Acknowledgements:
953
954This 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.
955```
956
Bazel Release Systemd071cf62023-10-06 16:59:19 +0200957## Release 7.0.0-pre.20230926.1 (2023-10-06)
958
959```
960Baseline: ea4ab7d8e696f48253fd172fcfbd37661e4710d5
961
962Cherry picks:
963
964 + 3453d035bb335a0e792fb379807dbdb812065619:
965 Keep leading zero in formatted date
Bazel Release System1e02f452023-10-06 20:38:43 +0200966 + 8893f2ee0efbdeb0816b13e7cb57c69d70b941c6:
967 Bazel release process: Fix broken "git push" by setting direct
968 push justification.
969 + 3f8e0964f4525cee71f8b7051e6996a906dd78d0:
970 Bazel release process: Fix push justification. (#19754)
971 + 95296e81853a4c93a47fba1812e1f849b6b16480:
972 Release 7.0.0-pre.20230926.1 (2023-10-06)
973 + fbcc487642c567a63f6503670d6d4f46f98308c1:
974 Release 7.0.0-pre.20230926.1 (2023-10-06)
975 + 3f9dc1c789e4bb2523fcd5236f53db8b3edb4733:
976 Release 7.0.0-pre.20230926.1 (2023-10-06)
977 + f46bf7067991fea6c650cb1fb75d1f7844916ff0:
978 Release 7.0.0-pre.20230926.1 (2023-10-06)
979```
980
981This release contains contributions from many people at Google, as well as .
982
983## Release 7.0.0-pre.20230926.1 (2023-10-06)
984
985```
986Baseline: ea4ab7d8e696f48253fd172fcfbd37661e4710d5
987
988Cherry picks:
989
990 + 3453d035bb335a0e792fb379807dbdb812065619:
991 Keep leading zero in formatted date
Bazel Release Systemd071cf62023-10-06 16:59:19 +0200992 + 5b7da83d94d94204d1d95cbe3ed361ec742f8acb:
993 Bazel release process: Fix broken "git push" by setting direct
994 push j… (#19747)
995 + 2bf83ab8e58b96df994e59ffbe93d6d28a0f7897:
996 Release 7.0.0-pre.20230926.1 (2023-10-06)
997 + 0cc1b4e0aa2d3937bd47ca8d7506f4ca88453a26:
998 Release 7.0.0-pre.20230926.1 (2023-10-06)
999```
1000
1001This release contains contributions from many people at Google, as well as .
1002
Bazel Release System1830d922023-10-05 19:50:25 +02001003## Release 7.0.0-pre.20230926.1 (2023-10-05)
1004
1005```
1006Baseline: ea4ab7d8e696f48253fd172fcfbd37661e4710d5
1007
1008Cherry picks:
1009
1010 + 3453d035bb335a0e792fb379807dbdb812065619:
1011 Keep leading zero in formatted date
1012 + b63af1ec3c09d50e7b96dd496874c98ca2907209:
1013 Release 7.0.0-pre.20230926.1 (2023-10-05)
1014 + dc23c2fbc5ae5ef14d59afbedd3e0d29d2ee3d6b:
1015 Release 7.0.0-pre.20230926.1 (2023-10-05)
1016```
1017
1018Incompatible changes:
1019
1020 - proto_compiler attribute removed from proto_lang_toolchain
1021 (it was recently introduced, and there is no evidence of use)
1022 - --experimental_genquery_use_graphless_query is made to be a NO-OP.
1023
1024Important changes:
1025
1026 - The new `--consistent_labels` option on `query`, `cquery`, and
1027 `aquery` can be used to force consistent label formatting across
1028 all output modes that is also compatible with `str(Label(...))`
1029 in Starlark.
1030
1031This 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.
1032
Bazel Release System994e61f2023-10-05 19:46:01 +02001033## Release (2023-10-05)
1034
1035```
1036Error: Not a release branch.
1037```
1038
Bazel Release System6ed80322023-10-05 19:46:20 +02001039## Release (2023-10-05)
1040
1041```
1042Error: Not a release branch.
1043```
1044
Bazel Release System7a4b5d62023-09-22 17:25:34 +02001045## Release 7.0.0-pre.20230917.3 (2023-09-22)
1046
1047```
1048Baseline: 1cf392ff3918386858b8c038f82c013b1e04be98
1049
1050Cherry picks:
1051
1052 + 32563ca1728a69437b26efa19d18eebfcecc4765:
1053 [Skymeld] Avoid printing extra WARNINGS for execution failures
1054 in -k.
1055 + 19f5e933d3fc91848b2b786cb11a6decaa96cf6e:
1056 Automated rollback of commit
1057 f06418470988721c8c3efe38723f910989180ad4.
1058```
1059
1060Incompatible changes:
1061
1062 - `cmd_helper` module was removed
1063 - `ctx.new_file` was removed, `ctx.actions.declare_file` is to be
1064 used instead.
1065 - Fails on unknown attributes (even when set to None). See
1066 https://github.com/bazelbuild/bazel/issues/19403
1067 - Flip incompatible_enable_cc_toolchain_resolution
1068 (https://github.com/bazelbuild/bazel/issues/7260)
1069
1070Important changes:
1071
1072 - Change output paths to consistently start with
1073 [cpu]-[compilation_mode] along with other cleanups to output path
1074 generation logic.
1075 - Compilation actions using the auto-configured MSVC toolchain are
1076 forced to emit error messages in English if the English language
1077 pack for Visual Studio is installed.
1078
1079This 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.
1080
Bazel Release System4ddb7392023-09-14 00:27:31 +02001081## Release 7.0.0-pre.20230906.2 (2023-09-14)
1082
1083```
1084Baseline: 08070932379cd3dafaefe5b546c84ad26cd72951
1085
1086Cherry picks:
1087
1088 + 4fb701adb5cdf4a87d7457bfe75b76338a8d351a:
1089 fix forward for
1090 https://github.com/bazelbuild/bazel/commit/ceddfb1ece1f8ed7ff8155
1091 8fa1751e6526df031b. Make sure the use the appropriate check for
1092 alias + feature flag so trimming does not get applied
1093```
1094
1095Incompatible changes:
1096
1097 - --incompatible_merge_fixed_and_default_shell_env is flipped to
1098 true. See #19317 for details.
1099 - Fails on unknown attributes (even when set to None)
1100
1101Important changes:
1102
1103 - Set Android Databinding to v2 and Databinging AndroidX to true
1104 and remove support for Databinding V1.
1105 - Added whether or not a FileWrite action's output is executable to
1106 the aquery results
1107 - --use_single_jar_apk_builder is removed. It's been a no-op for
1108 years.
1109 - JVM options in environment variables JAVA_TOOL_OPTIONS and
1110 JDK_JAVA_OPTIONS now do not get to the server; use
1111 --host_jvm_args instead.
1112 - --remote_download_minimal no longer implies
1113 --nobuild_runfile_links.
1114 - attr objects in Starlark now use value equality rather than
1115 reference
1116 equality.
1117
1118This 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.
1119
Bazel Release Systemd6f6bd22023-08-30 20:36:09 +02001120## Release 7.0.0-pre.20230823.4 (2023-08-30)
1121
1122```
1123Baseline: d55c11b658255a4574e0b3eb50d76dd6123866e6
1124
1125Cherry picks:
1126
1127 + 34c5ef22e88eba60238ad3735b74ea71db1c993e:
1128 make sure IdempotencyChecker use the correct rule transition and
1129 remove redundant computeTransition calls.
1130 + 32d018ea402a5acbb574b7f4bf600b3cc040778c:
1131 Make targets in analysis completed events visible.
1132```
1133
1134Incompatible changes:
1135
1136 - The --apple_compiler command line option is not available anymore.
1137 - py_transitions top-level was removed.
1138
1139Important changes:
1140
1141 - Android resources will no longer propagate through neverlinked
1142 libraries by default.
1143
1144This 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.
1145
Bazel Release Systemfa2364a2023-08-25 17:00:15 +02001146## Release 7.0.0-pre.20230816.3 (2023-08-25)
1147
1148```
1149Baseline: 27aaccccb674090493d52d3340b7df69f5ed43f8
1150
1151Cherry picks:
1152
1153 + baace69c0c7cb2fe927214dae78c43bd10865c43:
1154 Automated rollback of commit
1155 37268de708224bba900036b8b3fe9e123d2eae6d.
1156```
1157
1158Incompatible changes:
1159
1160 - The --android_include_proguard_location_references flag is not
1161 supported anymore.
1162 - The --apple_compiler command line option is not available anymore.
1163 - --no_proguard_location_reference is now added unconditionally to
1164 the command line of aapt2.
1165 - The command line flag --apple_enable_auto_dsym_dbg is not
1166 supported anymore.
1167
1168Important changes:
1169
1170 - `rule()` and `attr.*` can no longer be (pointlessly) called
1171 during WORKSPACE evaluation and repository rule evaluation.
1172 - Expands baseline profile wildcards before optimizer tools see
1173 them.
1174
1175This release contains contributions from many people at Google, as well as Chirag Ramani, Fabian Meumertzheim, Keith Smiley, nglevin, Tyler Williams.
1176
Bazel Release System171aae32023-08-22 20:01:53 +02001177## Release 7.0.0-pre.20230810.1 (2023-08-22)
1178
1179```
1180Baseline: c279c7b2f125fcb5a7e67595c0044c32fe944aa9
1181
1182Cherry picks:
1183
1184 + 4d157ee3530762c9392ccc08a0073103293a6391:
1185 Cherry-pick required commits into 7.0.0-pre.20230810.1rc1
1186 (#19298)
1187```
1188
1189Initial release.
1190
Bazel Release System5c7341f2023-08-08 15:43:42 +00001191## Release 6.3.2 (2023-08-08)
1192
1193```
1194Baseline: 283ed362e6ccceb047553c2517a0331afd02db90
1195
1196Release Notes:
1197
1198+ Ensure that extension unique names followed by `~` are prefix-free (#19167)
1199+ Lockfile updates & fixes (#19153) (#19175)
1200+ Empty commit to try to fix CI issue (#19177)
1201
1202Acknowledgements:
1203
1204This release contains contributions from many people at Google, as well as bazel.build machine account, Fabian Meumertzheim.
1205```
1206
Bazel Release System982761b2023-08-07 17:23:20 +02001207## Release 7.0.0-pre.20230724.1 (2023-08-07)
1208
1209```
1210Baseline: f6344ffcacdea6c4a61e112d0f60beda8068eac5
1211```
1212
1213Initial release.
1214
Bazel Release Systemaef8d9d2023-07-31 16:09:26 +00001215## Release 6.3.1 (2023-07-31)
1216
1217```
1218Baseline: 0f231ac8acabcd8aa309da041c98ab90a1552418
1219
1220Release Notes:
1221
1222+ Mark isolated extension usages as experimental (#19050)
1223+ Fix a bug where frozen targets list was mutated while expanding env attribute (#19052)
1224+ Add documentation for --experimental_isolated_extension_usage (#19071)
1225+ Advertise CcInfo from cc_import (#19086)
1226+ Create .bazelversion to address postsubmit issues (#19089)
1227+ Update java_tools version to 12.6 (#19091)
1228+ Disable lockfiles by default (#19106)
1229
1230Acknowledgements:
1231
1232This release contains contributions from many people at Google, as well as Brentley Jones, Fabian Meumertzheim, oquenchil, Xùdōng Yáng.
1233```
1234
Bazel Release System9709b4d2023-07-28 14:28:41 +02001235## Release 7.0.0-pre.20230710.5 (2023-07-28)
1236
1237```
1238Baseline: 7845acae9769a72dc507dc2f57c4e032ebf429d3
1239
1240Cherry picks:
1241
1242 + d9e2f9181f8fa283e3986ee3b261e610c41cf61b:
1243 Avoid overcounting in ActionLookupValueProgressReceiver.
1244 + da23370dcdf6ea19545002fb86bd5d3e6519cdf6:
1245 Fix crash for top level aspects on targets with non-idempotent
1246 rule transitions.
1247 + 4714cd70c83de43ba7ab10c29e63af716216770a:
1248 Reuse the built set of tools in `SpawnAction.Builder`.
1249 + 0a1d50533078283fab93024681c917303a91c46c:
1250 Correctly handle symlinks when prefetching.
1251```
1252
1253Initial release.
1254
Bazel Release Systemf48c0f62023-07-24 17:20:25 +00001255## Release 6.3.0 (2023-07-24)
1256
1257```
1258Baseline: 758b44dab552f31b378874b5bf4c0609bfef6f5d
1259
1260Release Notes:
1261
1262+ Automatic code cleanup. (#18417)
1263+ Update CODEOWNERS for 6.3.0 (#18369)
1264+ 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)
1265+ Add implementation deps support for Objective-C (#18372)
1266+ Update release notes scripts (#18400)
1267+ Prevent CredentialHelperEnvironment crash when invoking Bazel outside of a workspace. (#18430)
1268+ Use wall-time for credential helper invalidation (#18413)
1269+ blaze_util_posix: handle killpg failures (#18403)
1270+ Pass version to java_runtimes created by local_java_repository (#18415)
1271+ Add jsonproto option to query --output flag (#18438)
1272+ Don't eagerly flatten a `NestedSet` in `RepoMappingManifestAction` (#18419)
1273+ rules_go & rules_python are failing in Downstream CI with Bazel@HEAD (#18447)
1274+ Move credential helper setup into remote_helpers.sh so it can be reused by other shell tests. (#18453)
1275+ Wire credential helper to repository fetching. (#18429)
1276+ Updates/fixes to relnotes script (#18470)
1277+ Report percentual download progress in repository rules (#18471)
1278+ Support remote symlink outputs when building without the bytes. (#18476)
1279+ Enrich local BEP upload errors with file path and digest possible. (#18481)
1280+ Set `GTEST_SHARD_STATUS_FILE` in test setup (#18482)
1281+ Fix relnotes script (#18491)
1282+ Fix Xcode 14.3 compatibility (#18490)
1283+ Fix https://github.com/bazelbuild/bazel/issues/18493. (#18514)
1284+ Extend the credential helper default timeout to 10s. (#18527)
1285+ Fix formatting of release notes (#18534)
1286+ Use extension rather than local names in ModuleExtensionMetadata (#18536)
1287+ [credentialhelper] Ignore all errors when writing stdin (#18540)
1288+ Improve error on invalid `-//foo` and `-@repo//foo` options (#18516)
1289+ Implement failure circuit breaker (#18541)
1290+ Actually check `TEST_SHARD_STATUS_FILE` has been touched (#18418)
1291+ Ignore hash string casing (#18414)
1292+ Error if repository name isn't supplied (#18425)
1293+ Track repo rule label attributes after the first non-existent one (#18412)
1294+ Add ServerCapabilities into RemoteExecutionClient (#18442)
1295+ RemoteExecutionService: support output_symlinks in ActionResult (#18441)
1296+ RemoteExecutionService: Action.Command to set output_paths (#18440)
1297+ Use local_termination_grace_seconds when testing LinuxSandbox availability (#18568)
1298+ Fix dangling string literal in `extension_metadata` docs (#18598)
1299+ Include actual MODULE.bazel location in stack traces (#18612)
1300+ Make cpp file extensions case sensitive again (#18552)
1301+ Fix error when script is run after the final tag is created. (#18638)
1302+ Fix WORKSPACE toolchain resolution with `--enable_bzlmod` (#18649)
1303+ Add `ActionExecutionMetadata` as a parameter to `ActionInputPrefetcher#prefetchFiles`. (#18656)
1304+ Use failure_rate instead of failure count for circuit breaker (#18559)
1305+ Update ignored_error logic for circuit_breaker (#18662)
1306+ Don't rewind the build if invocation id stays the same (#18670)
1307+ Fix potential memory leak in UI (#18659)
1308+ Test that a credential helper can supply credentials for bzlmod. (#18663)
1309+ Add flag --experimental_collect_code_coverage_for_generated_files. (#18664)
1310+ 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)
1311+ Fix split post-processing of LLVM-based coverage (#18737)
1312+ Allow module extension usages to be isolated (#18727)
1313+ BEGIN_PUBLIC (#18729)
1314+ Declare credential helpers to be a stable feature. (#18752)
1315+ Add a new provider for injecting native libs in android_binary (#18753)
1316+ Properly handle invalid credential files (#18779)
1317+ The REPO.bazel and MODULE.bazel files are now also considered workspace boundary markers. (#18787)
1318+ Report remote execution messages as events (#18780)
1319+ Fail on isolated extension usages without imports (#18793)
1320+ Add changes to cc_shared_library from head to 6.3 (#18606)
1321+ Remove option to disable FJP. (#18791)
1322+ Update to latest turbine version (#18803)
1323+ None. None (#18808)
1324+ Wait for outputs downloads before emitting local BEP events that reference these outputs. (#18815)
1325+ Perform builtins injection for WORKSPACE-loaded bzl files. (#18819)
1326+ Fix non-declared symlink issue for local actions when BwoB. (#18817)
1327+ Make grep_includes optional inside cc_common.register_linkstamp_compile_action (#18823)
1328+ add feature on windows toolchain with right tag (#18654)
1329+ coverage_common.instrumented_files_info now has a metadata_files argument (#18838)
1330+ Download directory output for test actions (#18846)
1331+ Teach DexMapper to not separate synthetic classes from their context … (#18853)
1332+ **[Incompatible]** query --output=proto --order_output=deps now returns targets in topological order (previously there was no ordering). (#18870)
1333+ Revert "Don't eagerly flatten a `NestedSet` in `RepoMappingManifestAction` (#18419)" (#18886)
1334+ 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)
1335+ Open-source Google test `ConvenienceSymlinkTest` (#18890)
1336+ Update Error Prone to 2.20.0 (#18885)
1337+ Check if json.gz files exist, not the gcov version. (#18889)
1338+ Lockfile updates (#18894)
1339+ handle exception instead of crashing (#18895)
1340+ Add a new provider for passing dex related artifacts in android_binary (#18899)
1341+ Prevent most side effects of yanked modules (#18908)
1342+ 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)
1343+ Update java_tools to v12.5 (#18868)
1344+ Add ActionCacheStatistics to BEP (#18914)
1345+ Adjust --top_level_targets_for_symlinks (#18916)
1346+ Track dev/non-dev `use_extension` calls (#18918)
1347+ 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)
1348+ Rollforward of https://github.com/bazelbuild/bazel/commit/482d2be27ab… (#18773)
1349+ Update Android tools to 0.27.2 for fixes to DexMapper for https://gith... (#18891)
1350+ Report dev/non-dev deps imported via non-dev/dev usages (#18922)
1351+ Add reverted 'isolate' changes (#18928)
1352+ Identify isolated extensions by exported name (#18923)
1353+ test-setup.sh: Attempt to raise the original signal once more (#18932)
1354+ Ignore broken classic desugar tests (#18933)
1355+ Disable UseCorrectAssertInTests by default (#18948)
1356+ Fix VS 2022 autodetection (#18960)
1357+ Fix absolute file paths showing up in lockfiles (#18993)
1358+ Add support for isolated extension usages to the lockfile (#19008)
1359
1360Acknowledgements:
1361
1362This 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.
1363```
1364
Bazel Release System22a5d6d2023-07-12 16:24:12 +02001365## Release 7.0.0-pre.20230628.2 (2023-07-12)
1366
1367```
1368Baseline: 604a9ef6332d49110d14d427317bd726225fff1d
1369
1370Cherry picks:
1371
1372 + 15c412eb9aa38e1b81f7dd2047849bbb55417a83:
1373 Automated rollback of commit
1374 52dbdc7a92cedfa212ef681f88e0b733cb5280e0.
1375 + 990d97e576d4ec7d0c45f3efa5732171492d50b1:
1376 Automated rollback of commit
1377 0bda661e589ded1caad9edd58c9bebc3f647e41d.
1378 + 6c393ec5539b34e9708b43b0145488b9df1c0878:
1379 Add temporary rules_go bazel_dep to restore CI
1380```
1381
1382Incompatible changes:
1383
1384 - Loading `.bzl` files under `@bazel_tools//tools/jdk` in WORKSPACE
1385 now requires `rules_java` to be defined in advance.
1386 - cc_binary targets with dynamic_deps attributes no longer link
1387 indirect dynamic_deps on Unix. This might be an incompatible
1388 change if you are using RUNPATHs (instead of RPATHs) in your
1389 cc_shared_libraries. Enable the feature
1390 "exclude_bazel_rpaths_in_transitive_libs" or
1391 "use_rpath_instead_of_runpath" for those cc_shared_libraries.
1392
1393Important changes:
1394
1395 - Add aquery --output=streamed_proto which writes a stream of
1396 length delimited ActionGraphContainer containing a single
1397 Artifact, Action, Target, DepSetOfFiles, Configuration,
1398 AspectDescriptor, RuleClass, PathFragment proto. This breaks up
1399 the ActionGraphContainer into multiple which will prevent large
1400 protos from crashing blaze.
1401 - (BEP) TargetConfigured events will be marked aborted instead
1402 of published when there is an analysis error. This is motivated
1403 by a
1404 low level Blaze change aimed at improving scalability.
1405 - Add flag --experimental_collect_code_coverage_for_generated_files.
1406 - Added a new output format for cquery --output=streamed_proto that
1407 writes multiple length-delimited CqueryResult protos, each
1408 containing a single ConfiguredTarget or Configuration. This
1409 allows us to "bypass" the hard limit of 2GB on the size of
1410 protocol buffers by splitting it up into multiple.
1411 - Enable starlark_doc_extract - a native rule for Starlark
1412 documentation
1413 extraction. This rule is intended mainly for internal use by
1414 Stardoc.
1415
1416This 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.
1417
Bazel Release System06992d22023-06-09 23:26:55 +02001418## Release 7.0.0-pre.20230530.3 (2023-06-09)
1419
1420```
1421Baseline: 67446d625e4daafadcb5918a88ed52f517a8871f
1422
1423Cherry picks:
1424
1425 + 4344a0358f44c0290f85f8d90dede5824593ce77:
1426 Automated rollback of commit
1427 00a4fefe594069d47d1bde99b28c6b8dcca0a7c1.
1428```
1429
1430Incompatible changes:
1431
1432 - `--incompatible_check_sharding_support` is enabled by default.
1433 Sharded tests with test runners that do not properly advertise
1434 support for test sharding will fail. Refer to
1435 https://github.com/bazelbuild/bazel/issues/18339 for migration
1436 advice.
1437
1438Important changes:
1439
1440 - Options specified on the pseudo-command `common` in `.rc` files
1441 are now ignored by commands that do not support them as long as
1442 they are valid options for *any* Bazel command. Previously,
1443 commands that did not support all options given for `common`
1444 would fail to run. These previous semantics of `common` are now
1445 available via the new `always` pseudo-command.
1446 - the 'default' param of json.decode can now be used as a keyword
1447 parameter.
1448 - As a transitional step in a larger refactoring, rule transitions
1449 are applied twice. Once during dependency resolution and once
1450 right before
1451 analysis of those rules. After the refactoring is complete, rule
1452 transitions
1453 will be applied only once.
1454
1455This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Jimm chja20, Keith Smiley.
1456
Bazel Release System8c84b7a2023-06-05 18:07:34 +02001457## Release 7.0.0-pre.20230524.3 (2023-06-05)
1458
1459```
1460Baseline: ea2d5043113a34ce341c53168141f13f14053240
1461
1462Cherry picks:
1463
1464 + 2e34965242280d861f688628ed2bbc5209350d9f:
1465 Have `Package#defaultPackageMetadata` be in the same order that
1466 the `package.default_applicable_licenses` list was in.
1467```
1468
1469Initial release.
1470
Bazel Release System6f77e5e2023-06-02 16:55:23 +00001471## Release 6.2.1 (2023-06-02)
1472
1473```
1474Baseline: 758b44dab552f31b378874b5bf4c0609bfef6f5d
1475
1476Release Notes:
1477
1478+ Automatic code cleanup. (#18504)
1479+ Update relnotes scripts (#18503)
1480+ Fix https://github.com/bazelbuild/bazel/issues/18493. (#18512)
1481+ Fix formatting of release notes (#18533)
1482+ Use extension rather than local names in ModuleExtensionMetadata (#18535)
1483
1484Acknowledgements:
1485
1486This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Pavan Singh.
1487```
1488
Bazel Release System20c2ed02023-05-26 15:04:06 +02001489## Release 7.0.0-pre.20230517.4 (2023-05-26)
1490
1491```
1492Baseline: 267ac1f14f733a41380c1f70d095f096b8798c6b
1493
1494Cherry picks:
1495
1496 + 98d5d5f6980ec8513dc5c0ee95fcabe3b80beb47:
1497 Download outputs that were not downloaded during spawn execution
1498 in `finalizeAction`.
1499 + 02853f888cd8cea6a0e06b0ca417e0470de2cec0:
1500 Fix non-determinism in the `FailureDetail` produced for a
1501 package with multiple label crosses subpackage boundary errors.
1502```
1503
1504Incompatible changes:
1505
1506 - This has the side effect of changing the message on unsuccessful
1507 builds from
1508 ```
1509 FAILED: Build did NOT complete successfully (0 packages loaded)
1510 ```
1511 to
1512 ```
1513 ERROR: Build did NOT complete successfully
1514 ```
1515 - Bazel no longer increases the delay between progress updates when
1516 there is no cursor control.
1517 - This has the side effect of changing the message on unsuccessful
1518 builds from
1519 ```
1520 FAILED: Build did NOT complete successfully (0 packages loaded)
1521 ```
1522 to
1523 ```
1524 ERROR: Build did NOT complete successfully
1525 ```
1526 - the --experimental_async_execution flag is now a no-op.
1527 - --experimental_replay_action_out_err is not a no-op.
1528 - `cquery --output=files` also outputs source files.
1529 - `--incompatible_strict_conflict_checks` is flipped to true. See
1530 https://github.com/bazelbuild/bazel/issues/16729 for details.
1531 - `--incompatible_strict_conflict_checks` is flipped to true. See
1532 https://github.com/bazelbuild/bazel/issues/16729 for details.
1533 - `--incompatible_always_include_files_in_data` is flipped to true.
1534 See https://github.com/bazelbuild/bazel/issues/16654 for details.
1535 - This changes the behavior of Python version in exec/host
1536 configuration. Mitigation is to set Python version on the targets.
1537 - When multiple --deleted_packages options are passed on the
1538 command line, they will be concatenated instead of the latest one
1539 taking effect.
1540 - This has the side effect of changing the message on unsuccessful
1541 builds from
1542 - JSON profile: Use doubles instead of strings for counter series.
1543 - query --output=proto --order_output=deps now returns targets in
1544 topological order (previously there was no ordering).
1545 - --experimental_build_transitive_python_runfiles is flipped to
1546 false. See #16303 for details
1547 - --incompatible_python_disable_py2 is flipped to true. See #17293
1548 for details.
1549 - When remote cache evicts blobs, Bazel will exit with code 39.
1550 - `--features` only applies to targets built in the target
1551 configuration, and `--host_features` is used for the host / exec
1552 configuration (gated behind `--incompatible_use_host_features`)
1553 - `--incompatible_strict_conflict_checks` is flipped to true. See
1554 https://github.com/bazelbuild/bazel/issues/16729 for details.
1555 - Bazel's local CPU resource on Linux is now container aware. Use
1556 `--local_cpu_resources`, `--loading_phase_threads` or `--jobs` to
1557 override.
1558 - `copy_from_rule` is exec_groups is deprecated
1559 (https://github.com/bazelbuild/bazel/issues/17668).
1560 - --legacy_bazel_java_test is now a no-op
1561 - --legacy_bazel_java_test is now a no-op
1562 - --legacy_bazel_java_test is now a no-op
1563 - `--experimental_execution_graph_log` no longer exists. Current
1564 users that want local logs need to pass
1565 `--experimental_enable_execution_graph_log
1566 --experimental_execution_graph_log_path=/some/local/path`.
1567 Current users that want logs uploaded to BEP need to pass
1568 `--experimental_enable_execution_graph_log
1569 --experimental_stream_log_file_uploads`.
1570 - Remove 'darwin' as a CPU value, use 'darwin_x86_64' instead
1571 - Remove high priority workers functionality from blaze.
1572 - Renamed PackageMetrics proto message to PackageLoadMetrics. The
1573 formats should be wire compatible.
1574
1575New features:
1576
1577 - The `aquery` and `cquery` commands now respect the
1578 `--query_file` flag just like the `query` command.
1579 - --experimental_repository_disable_download is now promoted to
1580 stable and is also available under the name
1581 --repository_disable_download .
1582
1583Important changes:
1584
1585 - The new path variable `$(rlocationpath ...)` and its plural form
1586 `$(rlocationpaths ...)` can be used to expand labels to the paths
1587 accepted by the `Rlocation` function of runfiles libraries. This
1588 is the preferred way to access data dependencies at runtime and
1589 works on all platforms, even when runfiles are not enabled (e.g.,
1590 on Windows by default).
1591 - Starlark `print()` statements are now emitted iff the line of
1592 code is executed. They are no longer replayed on subsequent
1593 invocations unless the Starlark code is re-executed.
1594 Additionally, multiple identical `print()` statements (same
1595 string from the same line of code, e.g. from a loop) are all
1596 emitted and no longer deduplicated.
1597 - Fixes a bug where some compilation flags would not be applied to
1598 a cc_test
1599 - removed outdated ctx.host_fragments
1600 - removed outdated ctx.host_configuration
1601 - Now that the host configuration is finished, `genrule` should
1602 prefer the use of `tools` and stop using `exec_tools`.
1603 - Added a `native.package_relative_label()` function, which
1604 converts a label string to a Label object in the context of the
1605 calling package, in contrast to `Label()`, which does so in the
1606 context of the current .bzl file. Both functions now also accept
1607 relative labels such as `:foo`, and are idempotent.
1608 - Update Android manifest merger to v30.1.3, and also drop support
1609 for legacy (pre-D8) desugaring.
1610 - Adds coverage metric support to android_local_test
1611 - Correctly encode double value positive infinity as "inf" instead
1612 of "+inf" for textprotos.
1613 - Add --use_target_platform_for_tests which uses the target
1614 platform for executing tests instead of the execution platform.
1615 - Custom C++ rules on Windows calling
1616 cc_common.create_linking_context_from_compilation_outputs should
1617 review whether each target of the rule type should produce a
1618 dynamic library since a condition which blocked their creation
1619 has been moved to the rules from behind the API.
1620 - Add flag `--experimental_remote_cache_ttl` and set the default
1621 value to 3 hours.
1622 - making --incompatible_use_platforms_repo_for_constraints do
1623 nothing. Using constraints from @bazel_tools//platforms with or
1624 without the flag will throw error with message "Constraints from
1625 @bazel_tools//platforms have been removed. Please use constraints
1626 from @platforms repository embedded in Bazel, or preferably
1627 declare dependency on https://github.com/bazelbuild/platforms"
1628 - Fixed an issue where WORKSPACE and WORKSPACE-loaded .bzl files
1629 couldn't see the Bzlmod root module's mappings when Bzlmod is
1630 enabled.
1631 - Subsequent settings of --extra_execution_platforms now override
1632 previous settings, instead of adding them to a list. If you
1633 currently set --extra_execution_platforms more than once, please
1634 migrate by passing a list of values to
1635 --extra_execution_platforms instead so that earlier values aren't
1636 overwritten.
1637 - @bazel_tools//config:common_settings.bzl has been removed.
1638 Use @bazel_skylib//rules:common_settings.bzl instead.
1639 - cc_shared_library is no longer experimental, see
1640 https://github.com/bazelbuild/bazel/issues/16709 for details
1641 - The flag `--distinct_host_configuration` is removed. It has been
1642 a no-op since Bazel 6.0.0.
1643 - Added `native.module_name()` and `native.module_version()` to
1644 allow BUILD macro authors to acquire information about which
1645 Bazel module the current repo is associated with.
1646 - Add `--skip_incompatible_explicit_targets` option
1647 - Remove 'darwin' as a CPU value, use 'darwin_x86_64' instead
1648 - cc_test can now be configured by using a native.toolchain().
1649 - `@foo` labels can now be used on the command line as the
1650 top-level target (that is, `bazel build @foo` now works).
1651 Double-dot syntax is now forbidden (`bazel build ../foo` will no
1652 longer work).
1653 - The location of rules that explicitly specify `generator_name`
1654 and/or `generator_function` attributes (typically because they
1655 are incidentally copied from `native.existing_rule()`) is now the
1656 top-level call in the `BUILD` file, which is consistent with
1657 rules that do not explicitly specify these attributes.
1658 - Warnings (most notably those associated with the `deprecation`
1659 rule attribute) are no longer replayed on subsequent invocations
1660 unless the target in question is re-analyzed. Warnings are purely
1661 informational, so this change has no bearing on the correctness
1662 of the build. Downstream tests that break due to this change
1663 should update their expectations.
1664 - `--experimental_remote_build_event_upload` has been renamed to
1665 `--remote_build_event_upload`
1666 - [Breaking change] platform, constraint_setting, and
1667 constraint_value can no longer take an applicable_licenses value.
1668 Remediation is to remove the attribute and rely on the package
1669 level default.
1670 - `--experimental_action_cache_store_output_metadata` has been
1671 renamed to `--action_cache_store_output_metadata`
1672 - Changed the default value for `--remote_build_event_upload` to
1673 `minimal`.
1674 - `--experimental_remote_cache_compression` has been renamed to
1675 `--remote_cache_compression`
1676 - The REPO.bazel and MODULE.bazel files are now also considered
1677 workspace boundary markers.
1678 - Added a new `max_compatibility_level` attribute to the
1679 `bazel_dep` directive, which allows version selection to upgrade
1680 a dependency up to the specified compatibility level.
1681 - `--experimental_remote_grpc_log` has been renamed to
1682 `--remote_grpc_log`
1683 - `--incompatible_remote_build_event_upload_respect_no_cache` is
1684 now a no-op.
1685 - json.decode now takes an optional `default` positional parameter;
1686 if this parameter is specified and decoding fails, json.decode
1687 will return
1688 the `default` value instead of failing Starlark evaluation.
1689 - Overrides specified by non-root modules no longer cause an error,
1690 and are silently ignored instead. They were originally treated as
1691 an error to allow for the future possibility of overrides in the
1692 transitive dependency graph working together; but we've deemed
1693 that infeasible (and even if it was, it'd be so complicated and
1694 confusing to users that it would not be a good addition).
1695 - `applicable_licenses` is no longer allowed on the `platform` rule.
1696 Additionally, `default_package_metadata` from any `package` rule
1697 will not be applied.
1698
1699This 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.
1700
Bazel Release System76ef9e92023-05-09 17:54:41 +00001701## Release 6.2.0 (2023-05-09)
1702
1703```
1704Baseline: d60ce2c7c86393638c77698c00c2168a7a936a53
1705
1706Cherry picks:
1707
1708 + 490f8badf4f6f4ae8b96697f08267fdb083ccf5f:
1709 kshyanashree is the release manager of 6.0.0
1710 + 4e66d9340037f0be83d7bc0fdd809a09344ab83f:
1711 Automated rollback of commit
1712 2a2890913eb8f39299aa4b614ba96266ea8749f6.
1713 + 48a8d01b05149757f69a6a65a22a280bf003cd24:
1714 Allow C/C++ coverage collection for external targets
1715 + ec7be346adc00c4bde22d116fca80ef59da66121:
1716 Temporarily set parent directory of the input to writable if it
1717 is not.
1718 + b0984342eef068640a57aab584dd4c118f0dd394:
1719 Infer CPUs for tvOS and watchOS when on Apple Silicon
1720 + 5cea7dda5b632703cf4e0424ba09cd7c5bd6fc06:
1721 Improve the documentation for ctx.actions.symlink.
1722 + a82d26f17a99b5417b2212a0ce3a1bbc0285e5c4:
1723 Add quotes to "Tip"
1724 + 75b0f3aa95bc34f6620ea74e47d4822bd985efdd:
1725 Write a repo mapping manifest in the runfiles directory (#16555)
1726 + 07c5c1aa6d0b63605ae793dce78d26122af64a84:
1727 Ensure repository names don't start with `~`
1728 + 30f6c8238f39c4a396b3cb56a98c1a2e79d10bb9:
1729 Escape tilde more gracefully
1730 + cf3f48ca49f089615417636763d753811acf717f:
1731 Relax `Label` repo visibility validation
1732 + 4477823e2c2bc3d0335c41f971364dda72a3f69a:
1733 Use "apparent name" instead of "local name" in Bzlmod docs
1734 + 55f4f4834ef30321a00dab5b58202dd1e9716fd9:
1735 Bazel DevSite: Add required css file.
1736 + a706994ac69e3f3fed361c61378de847b50d3b12:
1737 Remove logic that increases delay between progress updates over
1738 time
1739 + 1d514ab05896f34ec91c2145f4dffafd3364030f:
1740 Remove references to io_bazel repository
1741 + b0357bd3831b26b5116dc120807e8264acf139db:
1742 Relnotes python script
1743 + 8f956511bb115c39ac683a1e78971fcf9dce5deb:
1744 Allow Java coverage collection for external targets
1745 + bddb191d3f99402330c67b89375409c31ee22daa:
1746 Fix race condition in package-bazel.sh
1747 + a75785279f543f4e33c697dd9e8873a6504b7818:
1748 Decanonicalize labels emitted by {a,c,}query if possible
1749 + 9d250edb63f27f9f4591bb5a71059710cc6dca9e:
1750 Add uniquify parameter to TemplateDict.add_joined
1751 + f02bcf8d8b0d00ecdd06ea0a45ba4f52e436597c:
1752 Fix identical gcov json file name problem
1753 + a1593309f66f892871e334013815b05350b4188f:
1754 Add `$(rlocationpath(s) ...)` expansion
1755 + 56f54daf9ff3b1177eee31e342e8d6b959d5ac34:
1756 Rollup of SBOM correctness fixes (#16655)
1757 + 72e6e948d30dec9dec60d78efef4eeda5b764a8f:
1758 [cc] Add cc toolchain to starlark cc_proto_library (#16661)
1759 + 8f28513893969b6346d965cab12aac69cb246ced:
1760 Make C++ runfiles library repo mapping aware
1761 + 95f9adc5ac544b1161d69a7ca74432479fdc29b3:
1762 Always collect FileProvider's filesToBuild as data runfiles
1763 + 4959d34e844714b793b2c6fa05016a9a6eaa7044:
1764 fix: export constraints.bzl file from @local_config_platform so
1765 it can be used in downstream bzl_library targets
1766 + 4919d4a61d8506d175b25a035500842b8bfe3d0d:
1767 Add --host_per_file_copt (#16695)
1768 + 0a23d46976c3fc999d44fbd1e37732ec2442d485:
1769 Moving some tests for `RemoteActionFileSystem` of BwoB to a base
1770 class.
1771 + 9296068be5e3808eb03a3b61f3af3a2c88f7ab7d:
1772 [remote/downloader] Don't include headers in `FetchBlobRequest`
1773 + 128d833fee99f8a43bc4de82cbec752e4ce6fb47:
1774 [remote] Respect whether the server supports action cache updates
1775 + 38c501912fc4efc14abc0741d19f5f8e8763afcb:
1776 [remote/downloader] Migrate `Downloader` to take `Credentials`
1777 (#16732)
1778 + 5929cb72aa01768e6352898b1a056ef678c81d90:
1779 Stage repository mapping manifest as a root symlink (#16733)
1780 + 455454a56e961affb041a1d4a9214f7f313a05aa:
1781 Expose current repository name to Java with @AutoBazelRepository
1782 + 97dea593e568f776361397f7280d6a16eee2efeb:
1783 Implement getDirectoryEntries and readdir for
1784 RemoteActionFileSystem.
1785 + aa45f5f3301c5005294df084cdf99c45d6f95d53:
1786 Move integration tests for BwoB to a base class and add more
1787 tests there.
1788 + 1b073ac0a719a09c9b2d1a52680517ab22dc971e:
1789 Make Java runfiles library repo mapping aware
1790 + 148bbb1c025a628643698f65627333d86975c1d7:
1791 Use `_repo_mapping` in C++ runfiles library (#16752)
1792 + 25558ada3fb377cfc2c965d3a93250ca28ce0fc1:
1793 Add --experimental_action_cache_store_output_metadata to the
1794 expansio…
1795 + 6e945e8ab422ca0a195d09899cce61ba6c0cfa59:
1796 Treat `DEBUG` events as progress-like.
1797 + 1940c5d68136ce2079efa8ff74d4e5fdf63ee3e6:
1798 redact 'token' strings from logging
1799 + 0b645254b41edc738c6641fd192fca86203ff2e2:
1800 Make Bash runfiles library repo mapping aware (#16753)
1801 + 4caae75b49e815ad2cf1d805f316bc374f03f2ae:
1802 Automated rollback of commit
1803 8f956511bb115c39ac683a1e78971fcf9dce5deb.
1804 + 13ff6d9e37999e00fda9a6cef278c7c924924f34:
1805 Fix Bash rlocation failure with stricter Bash options
1806 + bd88c7e47b911e5fa1f8a3c26d0f8317943c43ce:
1807 Make bazel Android remote deps compatible with bzlmod (#16772)
1808 + 6f6d4cca36a3b64009ed9c8b3fb13cb3c7ed915a:
1809 Flip `--incompatible_always_include_files_in_data`
1810 + 94355b1b1c4f7ef923457b8b2a070e5c6528240a:
1811 Add required `--add-opens` server JVM args also with
1812 non-embedded JDK
1813 + 8349c95fc98beb4008085942a67a57f0c4da074b:
1814 Also collect clang resource directory with
1815 `-no-canonical-prefixes`
1816 + dce6ed777d958d65c7f3d4a2f54f8117778a449e:
1817 Make `bazel run` works with minimal mode
1818 + ca8674cc4879ed1846bf015c33fe7d920a3f66ab:
1819 Include source files with `cquery --output=files` (#16826)
1820 + 9cb5e0a31665d3b3f25bf58ec2dee696e828d8b9:
1821 Fsync before rename after copy in DiskCacheClient
1822 + 23ffce53b92ef96432d8c6c58cc95ac362bab1bc:
1823 Update GetActionResult for disk cache to check referenced files
1824 when …
1825 + 0bc0ff5244142eb3348d42025ce21eeb337ad189:
1826 Make Java runfiles library compilable with JDK 8
1827 + fe169654a29d8ad33105d5d0034a7857834fed5d:
1828 [6.0.0] Default --incompatible_strict_conflict_checks to true.
1829 (#16864)
1830 + 99ca86f7c2968741ac3a9b20c3375fc992d49e66:
1831 Revert "[6.0.0] Default --incompatible_strict_conflict_checks to
1832 true. (#16864)" (#16872)
1833 + 312238f2b1414c98ed7d7d51dc4e18278edb2540:
1834 Make C++ runfiles library build with `-Werror=shadow`
1835 + 2baa5a4284467d70f1b31ea779b79d38ef07d164:
1836 Keep credentials cached across build commands.
1837 + 8818a57fce32a7872f045f03a334e1c9403724d3:
1838 [6.0.0] Only inject metadata for outputs that cannot be
1839 reconstructed by skyf… (#16879)
1840 + 31e4bf409eed71e8fb626092189eacb95f80fed9:
1841 Update java_tools v11.9
1842 + cd40666001e8d599bb61735898c195c6d2fae55b:
1843 replace _get_canonical_form(label) with str(label)
1844 + e2bc2374188b41924223385ad943db610e92e6c4:
1845 Avoid exceptions from hermetic sandbox for unsupported artifact
1846 subclasses
1847 + b564d145218e58b0440ffad82b3d1d54eef15d22:
1848 Remove warnings about ignored starlark options
1849 + 7ccc66108f08f7b6c6f6e5229f70f29962ea19ce:
1850 [6.0.0] Emit Tree objects in topological order (#16904)
1851 + 86dee6d2ecb269e0c41a97718812054394ee51a4:
1852 Correctly match regex with tree artifact
1853 + 14925b574aa63aad098f2c3d95e14b46ffd295ec:
1854 Always use target's attributes to set Python version (#16959)
1855 + a247502d28d8d70d648390de52952189b99a0bb7:
1856 Add 'toolchain' parameter to actions.{run,run_shell}
1857 + 497b7e403d6e5523bd1310bd1fe83c4ce1a6b1ec:
1858 Fix Bash `runfiles_current_repository` with RBE
1859 + 0a2c4edbc86398266525f31948d67a5736890bfe:
1860 Fix corner cases in Bash runfiles library
1861 + 33b514b25963452be71a015e08d4e890405b00a3:
1862 Fix runfiles creation with MANIFEST when building without the
1863 bytes
1864 + 3a13af41034e1f80cc0fbc1634cf8f724a85b78f:
1865 Remove LCOV merger dependency of `cc_test` without coverage
1866 (#17004)
1867 + 25ba76c1b8d420ebae43c1f59890ae46153c2240:
1868 Include full tree artifact in inputs when prefetcher doesn't
1869 support partial tree artifacts.
1870 + 06deebfb5b73f848de5a0ea0e00fcfaa26788d1f:
1871 Release 6.0.0 (2022-12-19)
1872 + c2bfb2e98d133c62be328e6e93c4b4bdf766d82c:
1873 Enable git_submodules tests and merge git_repository and
1874 starlark_git_repository (#17247)
1875 + e8182ce32931560406fee1c30745e56a2ee9a6b3:
1876 have 'bazel test' non-test targets depend on
1877 --remote_download_output
1878 + c3245cd028977877aa9e485451b29c7736ebcae0:
1879 Add `SpellChecker` suggestions for common Bzlmod errors
1880 + 8ec874348226995c4101b2173a465ddc65cab591:
1881 Use xcrun to invoke install_name_tool
1882 + 2b2bea4ee9d51ad875a8d273aa344ac9c5b6742c:
1883 Extra resources
1884 + 5b4de12b37cb4ba921b6bdfe810bbb47921ab3a6:
1885 Do not clear `--platforms` on no-op change to `--cpu`
1886 + db3c0130b3363485a366897e1c1f2adc5d41fde6:
1887 Report `AspectCreationException` to the user
1888 + 53e9fea30e58ab479e5cd7a6c804634f56fc2ddb:
1889 Use long executable path instead of `argv[0]` in all launchers
1890 + abae5ca3e8142f93cf0c2597e3410ed955c4dd59:
1891 Add sanitizer features to unix_cc_toolchain_config
1892 + db684196afd3b1a0a0e7d883674324bd161ae8bf:
1893 Allow `map_each` to return `None` in `TemplateDict#add_joined`
1894 + 66b58ee904efa22696edc1b78a59bac91da9ed8d:
1895 Always emit trailing zero in human-readable download progress
1896 + 17b8e448a5e5589f96c2794cb38c86b0c64e86c0:
1897 Upload all logs in BEP even with minimal upload
1898 + 28d2daae70be6ee97b876b0568796ceb87af9523:
1899 Set `--experimental_action_listeners` to default in `exec` config
1900 + 16427c9050db140d6cb90d7d6324d4a2ff1e249a:
1901 Do not count tests as failed that have not started
1902 + 094a0aabed1e018e6503bc3ac844c8022b71a527:
1903 Accept tildes in --override_module
1904 + 5f2866f8434ce9a17cf82c001efb7b236f189115:
1905 Do the AC integrity check for disk part of the combined cache.
1906 + cd10d508e20a4964586b46f7edea8a6dc900157c:
1907 Fix `--nozip_undeclared_test_outputs` on Windows
1908 + 073f54b9a7c46afd2c28b4a99a235bdd6b63bb5f:
1909 Allow pyd in extensions of dynamic libraries
1910 + ac504cbb463e76b1374d0060534acabbccb408d2:
1911 Register JavaCompileActionContext in Bazel.
1912 + f090433fcf0f42639608b9c5f0243018c1bb9ac7:
1913 Rollback #14510 because it causes remote test execution to fail
1914 + 942dddaaad9bf4fbb20b66535aad4fc464ad69ba:
1915 Prepare backwards compatible usage of optional C++ toolchain
1916 + 88b51f57d09e43dec31a84d4b636595924d5bfef:
1917 Emit LLVM coverage for source file paths with a `tmp` segment
1918 + bb0b886271d45209e3bef476da37811b9dd2afe5:
1919 Enable archive_param_file feature by default for Windows
1920 + baf97c00c891acf844a29b4cc31abb45b5c434e5:
1921 Allow `TemplateDict#map_each` callback to return a list of
1922 strings (#17306)
1923 + fcb007749f7f24b36c2b7c4284378bba20fc8b69:
1924 Only try to create groups of test actions in the ui.
1925 + 3c47b4716e6eca2b8ab06253915ef8d1bdd28038:
1926 Find `libtool` when using `BAZEL_USE_CPP_ONLY_TOOLCHAIN`.
1927 + 1da8a825c0fba882f33ea6998a76ff8265fcd32c:
1928 Add -dead_strip in default opt link flags for darwin
1929 + b0c5eb30b2738bf6454c3026a3e0f37579d5854c:
1930 Dont query remote cache but always use bytestream protocol
1931 + 00e9af1985cc0227599516fe7568785ca4334050:
1932 Allow Java coverage collection for external targets.
1933 + dd24a0022a0ff959598da2c9bc097d27083be1a0:
1934 Test and fix root symlink edge case in runfiles library
1935 + af97d9830d3207893cc6f5c851431a28f1721acb:
1936 [6.1.0] Fix broken CI (#17422)
1937 + b859571804f2095caaf018b172b59c90f185fd51:
1938 Add `native.package_relative_label` function
1939 + 82168d44ee1d49cf2f406903b6d8b9fde0e66cf2:
1940 Make Bazel more responsive and use less memory when --jobs is
1941 high (#17398)
1942 + 84c1ed430405b154b6e9eb2c28281f450e250eff:
1943 Multiplex worker fixes and tests for Android busybox tools
1944 (#17371)
1945 + 07590818d6ce0d0e66c2377db7e73fb6ee6702e5:
1946 Improve error message for concurrent modifications (#17396)
1947 + 27bc896f36f0e0ea5dbeaaa16f3a124e38a7284a:
1948 [6.1.0] Make bazel coverage work with minimal mode (#17397)
1949 + 544b8164ca352cf06dda0849a589b825631428af:
1950 [6.1.0] Fix cc_binary bug related to cc_shared_library on
1951 Windows and prepare for future removal of
1952 --experimental_cc_shared_library flag (#17445)
1953 + 9a7aa21c8cd6f38d10e23e265dd650bf031f9b7c:
1954 Fix Bash `runfiles_current_repository` for tools
1955 + 911eedc0badcefdbc60a936ae73972772042fc8a:
1956 Fix label unambiguous canonical form to correctly report
1957 non-visible repo names
1958 + e132653ead5e50f4226dbff7776466fef1918f49:
1959 Remove O1 from sanitizer feature flag defaults
1960 + ba9e2f8fe666b4fc6110d86ea93cc11779e77068:
1961 Remove usage of gRPC Context cancellation in the remote
1962 execution client.
1963 + de03a2363d016782c5dfe7c55b5cf06cb610f6a2:
1964 Allow -v to libtool
1965 + 4e35c02c7c400bfbbfa69164a1ec3bd51966ca79:
1966 Prettify labels in action progress messages with Bzlmod (#17278)
1967 + 1be0ac3e73698e31a349ece629c887b06e102a0b:
1968 Expand tree outputs before eagerly prefetching them for local
1969 actions. (#17494)
1970 + c26665102d0d524bb42be8cd205c7b31a22a75c9:
1971 Fix Java coverage collection with Java 8 runtime
1972 + 1a6ffe6d453708e3cefc98a07965c680e48d6bac:
1973 Add a flag to disable execution log sorting.
1974 + fbec8e2ad1dcbebbbc96491f8b6b208f5b3ac91f:
1975 Reduce flakiness on Windows for BwoB tests
1976 + 420659a9ad2a98f57e057d8c22eb621e3b12803e:
1977 Make AutoBazelRepositoryProcessor compatible with Java 8
1978 + dde6d20b3fd1d7a14825649c9c89d1c4d2d5242b:
1979 Do not recommend `shallow_since` for `git_repository`
1980 + f76fc61640825dd7cf83ce02ba48a4e4f95b66ff:
1981 Allow the timeout value for execute calls on a mac to be set via
1982 an environment variable
1983 + 773d232f528276338098578a28c19c742e3b4e7e:
1984 Fix RPATHs for cc toolchain solib when sibling layout is used
1985 + 5932b3b8886ddb5aba271fd907f1371e67960a44:
1986 [6.1.0] Add --host_features (#17528)
1987 + a0fa77cc36d02f5f230335556a1829b298b2f219:
1988 Exit with code 39 if remote cache evicted blobs that Bazel need
1989 during an invocation (#17496)
1990 + 1a438b41b74d94fd8b6ff4dcf20b4526530e3c6e:
1991 Only fetch @remote_coverage_tools when collecting coverage
1992 (#17512)
1993 + ee1daaf9852d568dcf38357eadd77b9de953db36:
1994 [6.1.0]Only fetch @remote_coverage_tools when collecting
1995 coverage (#17287)
1996 + 350e32952bdd639969e2aff7887c5dc34c21bce6:
1997 [6.1.0]Fix symlink file creation overhead (#17488)
1998 + 5406c953574d48434d33b1cf49b70b718795d783:
1999 [6.1.0] Cleanup stale state when remote cache evicted (#17538)
2000 + 2d1b570e976773134a6244dd012e93a5478f6d4a:
2001 Bump version number in runfiles.bash init code
2002 + 3ab8a0a5d628a0d958fb2eb1c0d5bb76b442e2f2:
2003 [6.1.0]Let `aquery` print effective environment for all
2004 `CommandAction`s (#17274)
2005 + 51e6c38ae808df4f2bf8fb29b4c5173e06ac014a:
2006 Properly report repo fetch progress during main repo mapping
2007 computation
2008 + 744108e88681e770982f148161d328c9b77319a1:
2009 [docs] Update migrating to Xcode tutorial (#17563)
2010 + 9dc7a7e6881f58965103b42390560589e0f38b48:
2011 Update //third_party:jsr305 (#17557)
2012 + 43dadb275b3f9690242bf2d94a0757c721d231a9:
2013 Bump minimum supported macOS versions to 10.13
2014 + 7d9d23c1ac1b7fcaa461f902e286f50fbb7cb116:
2015 Correctly set default subprocess factory when loading class
2016 `SubprocessBuilder`.
2017 + 77f82f4fab189fd042754be0a7747042d9b01b8f:
2018 Add an --incompatible_strict_conflict_checks alias for
2019 --experimental_strict_conflict_checks.
2020 + e05345dec405a0333c48ff188d2d9a1be90dad53:
2021 Add support for wrapping system streams in WorkRequestHandler
2022 + 68e1924cdab69ab92b8acf2f6e9324d11e00b267:
2023 Also handle remote cache eviction for tree artifacts. (#17601)
2024 + 4a6d056a8d058ab98a01348fb0c046660ee99a71:
2025 Add host transition to lcov_merger in Java version of py_test
2026 + 546e9e2942cb2e98b4c93065cc2d2910878dc900:
2027 Fix Bazel 6.0 crash regression (#17613)
2028 + 7e328bb71004e1976525d8b813ca0d616e2af74b:
2029 Include Bazel version information in profile metadata. (#17616)
2030 + aafe1235c55f6cdcfc577a40736aaeb9ebaca23b:
2031 [6.1.0] Handle remote cache eviction when uploading inputs for
2032 remote actions. (#17605)
2033 + 938e34823206a2644d538ba655d20ac553352975:
2034 [6.1.0] Rerun the artifact conflict check when
2035 --incompatible_strict_conflict_checks changes. (#17592)
2036 + 034a2815a1e18be5c8b36c6a78f44bb849dff437:
2037 Report background download for BwoB (#17619)
2038 + 5afbce52c70cf974eaa4a3bbbc376f398271427d:
2039 [6.1.0] Flag for writable outputs (experimental) (#17617)
2040 + d4105e658001677929338835eb970e6595e66b3c:
2041 [6.1.0] Allow .wasm cc executable and dynamic library extension
2042 (#17440)
2043 + a306f4f7fd440d006aa6ae9234b4430f13bc8cf9:
2044 make desugar dependencies deterministic
2045 + 37953c56ea77c7aa7bea677f3481557fdb2c2a15:
2046 Apply exec transition to lcov_merger in sh_test and cc_test
2047 + 1d73d72a45598e38c51b2618bb6fe4f27b390cb8:
2048 [6.1.0]Fix --host_features with multiple transitions (#17641)
2049 + 755cd4bcd48adf752bd8c161454e53a0f5b6a2fa:
2050 Release 6.1.0 (2023-03-06)
2051 + 885ae7ef3afd88e21c33579bcd64ee3136bd8715:
2052 Revert "Add -dead_strip in default opt link flags for darwin
2053 (#17312)" (#17696)
2054 + 94c519bcc555195d061e1a63f0e4235795bec5be:
2055 Skip empty directories instead of throwing in prefetcher.
2056 (#17718)
2057 + 60749d53dfb56068050edabbf7be11675841c112:
2058 [6.2.0] Remove actionId from RemoteFileArtifactValue. (#17724)
2059 + 52deefe54124c3cff0dd708704381aa4ac69c01d:
2060 Correctly handle templated tree artifacts in the prefetcher.
2061 + 10587b1b819c8b1ae15d064a7bb3d2a7ac2149da:
2062 Silence setlocale warnings in Java stub
2063 + 3ad392776bebbfd2a9584dd221f34494f424a53a:
2064 Force the Bazel server Java runtime to use the root locale
2065 + 7c235ff15190b1eefdbd34696a55272bbb221435:
2066 [credentialhelper] Ignore failing to provide request
2067 + daa3dbe22adb03338c75b53ea97954c9434099b4:
2068 [remote] upload: treat `ALREADY_EXISTS` as success
2069 + e0cdaced03750823021b8b1f5b82a71170d67642:
2070 Fix data race in prefetcher.
2071 + c9e3eeb2f34d66e2c8bcccd32786ea75c357497e:
2072 [6.2.0] Update java_tools v11.12 (#17761)
2073 + 6c8930347025ef22e21d7793dd9202033dd79151:
2074 python: Remove temporary module space created for zip-based
2075 binaries (#17764)
2076 + b874e5fd7ed6f1cb2ac4b858bd28b46ae97350e0:
2077 [6.2.0]Add test coverage support to android_local_test (#17467)
2078 + 6fc9bedb3e26479df62b82d281854aed4a916fa9:
2079 Fix wasm dynamic library extension crash (#17765)
2080 + 38ece3c04105698fc84daa89ba30c5fa692e0403:
2081 Handle `SIGWINCH` under `bazel run //some:test` (i.e. test
2082 rules) correctly.
2083 + 49a9502312b6af391a10e1a5c3e05d245ad54899:
2084 Clear all remote metadata if any of them are evicted from remote
2085 cache
2086 + 8fab22e64035561fdb1c96d4e507b78a02cb5e39:
2087 Include build-tools/X.Y.Z/{lib,lib64}/** in the minimal set of
2088 SDK files used by the Android integration tests.
2089 + 3a7236beb8c0692c327aaeb5341801280d0cd870:
2090 Allow WORKSPACE and WORKSPACE-loaded .bzl files to see Bzlmod
2091 root module's mappings (#17818)
2092 + a87b8e0b6b17feed7e649a85f17162510fa8d652:
2093 [6.2.0]Add support for alias targets to cquery's `providers`
2094 (#17786)
2095 + ee32efffe4c407d7fe54b287a80a3b0a115040c6:
2096 [6.2.0] Allows --query_file to be used for cquery and aquery
2097 too. (#17823)
2098 + cfef67da634996f09e5f2509e198cc73c88ce8b2:
2099 Fix seeking of empty chunkers.
2100 + 50ec6bbff08cc00de4dfdea68e7483f383674222:
2101 Rework ByteStreamUploader early return logic.
2102 + 745ca288770253225d5d96069038a5d735eda69b:
2103 Suggest alternatives for typoed rule attribute names
2104 + 8548e202a6871a17f0d097e2cedc9ff8064ef962:
2105 Relax JSON parser, ensure duplicate keys are overridden
2106 + c04f0d41317bfe1f6ff42da94dddb4023587fc26:
2107 Use less subshells and `tee`s in running tests with `bazel run`.
2108 + 8c6d02e00777c0cc12e97fccc5f4fb6e8109a5bd:
2109 Upgrade Azul JDK 17 archives. (#17852)
2110 + 3c1c0c09e68420c813d6258b90ff96641dbd1151:
2111 Add suggestions to invalid tag class errors
2112 + 99b3f38649dc82efde6c570e80ce4f3abbc4ac43:
2113 [6.2.0] Add native.module_{name,version} (#17893)
2114 + f7627e00bf96c9159ab79a32afc4f6a622f0deeb:
2115 Support (workspace) relative paths in --override_module closes
2116 https://github.com/bazelbuild/bazel/issues/17551
2117 + 109b29019882811d1beb97a60f8cda668442e8e8:
2118 Fail early if `use_extension` has a bad label
2119 + f63ce7973b8f3f2560f41daf7321a40d20b22fab:
2120 Avoid unnecessary copying when building Merkle trees.
2121 + 3ea18cc033ed078f83fc6644c9d20fb69d6d2657:
2122 [6.2.0]Add `module_ctx.is_dev_dependency` (#17934)
2123 + 2d04c91327cadb3f0d53bceea117d3939a25e143:
2124 [6.2.0] Add version to JavaRuntimeInfo (#17913)
2125 + 2c1a63bc1df727ee26526eec27c5a92fc0c20649:
2126 Fix CI breakages for release-6.2.0 (#17969)
2127 + 788801a8fd30985a1831de805172d257c6f63691:
2128 Enable C++ deps pruning on Windows when PARSE_SHOWINCLUDES is
2129 available.
2130 + fb4a0c288ba5ee14e47c7879a6be3eefb44bfe9f:
2131 [6.2.0] TargetPattern parsing fixes (#17945)
2132 + 70ce8378638290295e17fb62e735a239f22672e6:
2133 Add attribute 'provides = [CcInfo]' to '_cc_proto_aspect'
2134 + 6e18829339a5ba839ab129c64bd9333d3d8c1e5a:
2135 [6.2.0]Expose cc_proto_aspect as a toplevel symbol. (#17980)
2136 + 0f55d124c05ee2654c3ff56e0332e71ff1eb437c:
2137 Cache Merkle trees for tree artifacts.
2138 + 6d6fa81e47591f41b9dce5e2a9a8512ec13d3f4a:
2139 Deduplicate concurrent computations of the same Merkle tree.
2140 + 1f2b3ed4ac717b814d02a0d125f160ddabe78003:
2141 Patch zlib to fix compatibility with latest Xcode
2142 + 27e4c6243524156d880bd04e834db5ebdb0a69af:
2143 Add exception message to 'failed to create output directory'
2144 + 405012066d2394ad9986830ca028badd3c65ad38:
2145 Prevent failures creating output directories
2146 + 1474b5b5b41dfb680674e37975b6e1754c3a7445:
2147 Allow multiple matching select branches if they resolve to the
2148 same value (#18066)
2149 + 5ddef4716e33b12f5dc1386abdb48ba8ab9ff7ab:
2150 Turn applicable_licenses on platform() into a no-op. (#18089)
2151 + e00509bd5f1dee6fcaf495893c5bb5ae385ea8ea:
2152 Use ctime in file digest cache key (#18105)
2153 + ca30372e210a638cfce8334b6dc3396c83424baa:
2154 Gracefully handle output symlinks with BwoB
2155 + a0cb57fd7e7dfafd54070b5fdfbd4b4254ce6e95:
2156 [6.2.0] profile: add profile_finish_ts (#18129)
2157 + 1a60fad7d0a8d04399cca0e5bc5d9ee5b01858eb:
2158 fix(python): Set envvar for runfiles manifest, not runfiles dir,
2159 when using a manifest (#18133)
2160 + 5e9fa3967cf0288083638aec3b34328ab8a90a51:
2161 Add attribute validation to IncompatibleTargetChecker. (#18135)
2162 + 97312f328f735ab8bcc28674e84450313f7667bf:
2163 [6.2.0] Update CODEOWNERS (#18149)
2164 + 76ad4a9b8e1b5a5cc5ed5edaad9b438cd9d8ef66:
2165 [6.2.0]Fix worker and multiplex workers for DexBuilder and
2166 Desugar actions (#17965)
2167 + 5afb8b61fab4671cb9a756fdb8fc275ee2fa4d19:
2168 Lockfile cherry picks (#18143)
2169 + 1940dfb07424ff7ac6d1d8cf7b776b4dc04b21e8:
2170 Automatically retry the build if encountered remote cache
2171 eviction error (#18171)
2172 + 755cf95b0df132c1d3fb80ccff6d5b52de708514:
2173 [6.2.0]Allow remote retry max delay to be user configurable
2174 (#18061)
2175 + 6c6111085e57f4b8869a5d2bdead0f8a536950ea:
2176 Add `module_ctx.extension_metadata` (#18174)
2177 + c1fea137312248d606bbb73bac1ab4a4e87557a2:
2178 Introduce max_compatibility_level for bazel_dep (#18178)
2179 + f95b80d166eb46ba4e4c0fb4b998f6e12206ee17:
2180 Include cause when reporting `ActionExecutionException`
2181 + 8a41be90cf24258db14a8ca1be7c4334d0076dd5:
2182 Check for the nullness of AspectValue.
2183 + 271512031d1a43f85eede12cd05b0ebeec66bc9a:
2184 Rename `--experimental_remote_grpc_log` to `--remote_grpc_log`
2185 + e4682f6c6fa5d8d67d667aa6593a34370e689cf5:
2186 [6.2.0] Update java_tools v12.1 (#18197)
2187 + d94dee2b6b382ec2835f9871b34b3e703bcc49a7:
2188 Construct TreeArtifactValues on multiple threads. (#18194)
2189 + 519eef48ee166cfcc4fb8e92d4728483ecc4fd40:
2190 Fix crash on multiple output symlinks with BwoB
2191 + 2442a2e9c064781120b78efe554ca3617bee8769:
2192 [6.2.0] default_java_toolchain.bzl cherry-picks to fix
2193 regression (#18225)
2194 + e4f3d4ddfb54419bd5bb793a29b83ff26c82d9ce:
2195 Fix message generation of `ActionExecutionException`
2196 + f39454f0eb85e08f849c8c76123191205224d269:
2197 Add `dev_dependency` to
2198 `register_{execution_platforms,toolchains}`
2199 + bf188c12cb8ad9164ab78564d142699fdc37efaa:
2200 Fine tune the number of test jobs running in parallel to avoid
2201 timeout on Intel macOS platform
2202 + e0242479af14aeb3d8444947cdaf540d8ec7ff3a:
2203 Update java_tools v12.2
2204 + 2dca98231b02ad8531608183c1e14c5492c62da0:
2205 Update java_tools v12.3
2206```
2207
2208Incompatible changes:
2209
2210 - Bazel no longer increases the delay between progress updates when
2211 there is no cursor control.
2212 - `--incompatible_always_include_files_in_data` is flipped
2213 to true. See https://github.com/bazelbuild/bazel/issues/16654 for
2214 details.
2215 - `cquery --output=files` also outputs source files.
2216
2217 Closes #16602.
2218 - `--incompatible_strict_conflict_checks` is flipped to true. See
2219 https://github.com/bazelbuild/bazel/issues/16729 for details.
2220 - This changes the behavior of Python version in exec/host
2221 configuration. Mitigation is to set Python version on the targets.
2222 - `--features` only applies to targets built in the target
2223 configuration, and `--host_features` is used for the host / exec
2224 configuration (gated behind `--incompatible_use_host_features`)
2225
2226 Fixes https://github.com/bazelbuild/bazel/issues/13839
2227
2228 Closes #16626.
2229
2230New features:
2231
2232 - The aquery and cquery commands now respect the --query_file flag
2233 just like the query command.
2234
2235Important changes:
2236
2237 - The new path variable `$(rlocationpath ...)` and its plural form
2238 `$(rlocationpaths ...)` can be used to expand labels to the paths
2239 accepted by the `Rlocation` function of runfiles libraries. This
2240 is the preferred way to access data dependencies at runtime and
2241 works on all platforms, even when runfiles are not enabled (e.g.,
2242 on Windows by default).
2243
2244 Work towards #16124
2245 Fixes #10923
2246
2247 Closes #16428.
2248 - Starlark `print()` statements are now emitted iff the line of
2249 code is executed. They are no longer replayed on subsequent
2250 invocations unless the Starlark code is re-executed.
2251 Additionally, multiple identical `print()` statements (same
2252 string from the same line of code, e.g. from a loop) are all
2253 emitted and no longer deduplicated.
2254 - Fixes a bug where some compilation flags would not be applied to
2255 a cc_test
2256 - Added a `native.package_relative_label()` function, which
2257 converts a label string to a Label object in the context of the
2258 calling package, in contrast to `Label()`, which does so in the
2259 context of the current .bzl file. Both functions now also accept
2260 relative labels such as `:foo`, and are idempotent.
2261 - Adds coverage metric support to android_local_test
2262 - Fixed an issue where WORKSPACE and WORKSPACE-loaded .bzl files
2263 couldn't see the Bzlmod root module's mappings when Bzlmod is
2264 enabled.
2265 - Added `native.module_name()` and `native.module_version()` to
2266 allow BUILD macro authors to acquire information about which
2267 Bazel module the current repo is associated with.
2268 - `@foo` labels can now be used on the command line as the
2269 top-level target (that is, `bazel build @foo` now works).
2270 Double-dot syntax is now forbidden (`bazel build ../foo` will no
2271 longer work).
2272 - Added preliminary support for a lockfile for Bzlmod. It's
2273 disabled by default; use `--lockfile_mode=update` to enable it.
2274 This lockfile contains only Bazel module information; it does not
2275 involve module extensions.
2276 - Added a new `max_compatibility_level` attribute to the
2277 `bazel_dep` directive, which allows version selection to upgrade
2278 a dependency up to the specified compatibility level.
2279
2280 Co-authored-by: Brentley Jones <github@brentleyjones.com>
2281 - `--experimental_remote_grpc_log` has been renamed to
2282 `--remote_grpc_log`
2283
2284 Closes #18180.
2285
2286This 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.
2287
Bazel Release Systemb5ed8362023-05-05 21:07:40 +02002288## Release 7.0.0-pre.20230502.1 (2023-05-05)
2289
2290```
2291Baseline: a0cd355347b57b17f28695a84af168f9fd200ba1
2292```
2293
2294Important changes:
2295
2296 - json.decode now takes an optional `default` positional parameter;
2297 if this parameter is specified and decoding fails, json.decode
2298 will return
2299 the `default` value instead of failing Starlark evaluation.
2300
2301This release contains contributions from many people at Google, as well as Benjamin Peterson, David Ostrovsky, eareilg, Fabian Meumertzheim, Son Luong Ngoc.
2302
Bazel Release System6a5b8972023-05-03 21:05:14 +02002303## Release 7.0.0-pre.20230426.1 (2023-05-03)
2304
2305```
2306Baseline: dc724e4e8041a9357c6b82af0749def4174f21f2
2307```
2308
2309Important changes:
2310
2311 - Added a new `max_compatibility_level` attribute to the
2312 `bazel_dep` directive, which allows version selection to upgrade
2313 a dependency up to the specified compatibility level.
2314 - `--experimental_remote_grpc_log` has been renamed to
2315 `--remote_grpc_log`
2316 - `--incompatible_remote_build_event_upload_respect_no_cache` is
2317 now a no-op.
2318
2319This release contains contributions from many people at Google, as well as Benjamin Peterson, Brentley Jones, Fabian Meumertzheim, George Gensure, Kai Zhang, Oscar Garzon.
2320
Bazel Release System912c1c72023-04-27 21:05:18 +02002321## Release 7.0.0-pre.20230420.2 (2023-04-27)
2322
2323```
2324Baseline: 7fb50baaa00f92c6f009dcf1684427fc8fa1f301
2325
2326Cherry picks:
2327
2328 + 0ebf7bc8376f8ca9e865b81658c2f2b29aaf7f4d:
2329 Automated rollback of commit
2330 1acc7a843bf0996c26a1e3d74bb64514395b7e7f.
2331```
2332
2333Incompatible changes:
2334
2335 - Renamed PackageMetrics proto message to PackageLoadMetrics. The
2336 formats should be wire compatible.
2337
2338This release contains contributions from many people at Google, as well as Ankit Agarwal, Benjamin Peterson, Fabian Meumertzheim, Jasper, Son Luong Ngoc, Xdng Yng.
2339
Bazel Release Systema333dc12023-04-25 14:55:21 +02002340## Release 7.0.0-pre.20230417.1 (2023-04-25)
2341
2342```
2343Baseline: 0a47a1fb04efef598376d4ee7b383add1febcc6c
2344```
2345
2346Incompatible changes:
2347
2348 - Removing java_common.javac_jar Starlark call.
2349 - native.existing_rule now returns select values in a form that is
2350 accepted by rule instantiation. This is a breaking API change
2351 because there is some code that relies on the precise type
2352 returned, including brittle workarounds for this bug specifically
2353 and insufficiently flexible workarounds for other issues with the
2354 intersection of select and native.existing_rule.
2355 - flipped incompatible_use_toolchain_resolution_for_java_rules, see
2356 #7849
2357 - Query output=xml/proto/location for source files will now show
2358 the location of line 1 of the source file (as the new default)
2359 instead of its location in the BUILD file.
2360 - Specifying a target pattern underneath a directory specified by
2361 .bazelignore will now emit a warning, not an error.
2362 - Query `--order_output=auto` will now sort lexicographically.
2363 However, when `somepath` is used as a top level function (e.g.
2364 `query 'somepath(a, b)'`), it will continue to output in
2365 dependency order. If you do not want the lexicographical output
2366 ordering, specify another `--order_output` value (`no`, `deps` or
2367 `full`) based on what ordering you require.
2368 - In the build event stream,
2369 BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
2370 Its value was always mostly meaningless.
2371 BuildMetrics.TargetMetrics.targets_configured and
2372 BuildMetrics.ActionSummary.actions_created now include configured
2373 aspect data.
2374 - //visibility:legacy_public has been removed.
2375 - Flip and remove incompatible_dont_collect_so_artifacts
2376 (https://github.com/bazelbuild/bazel/issues/13043).
2377 - Remove flag --experimental_no_product_name_out_symlink: it is
2378 always true.
2379 - The Starlark method generate_dsym in objc fragment has
2380 been deleted. Please use the equivalent apple_generate_dsym in
2381 cpp
2382 fragment instead.
2383 - Native libraries in data attribute are not collected. See
2384 https://github.com/bazelbuild/bazel/issues/13550 for details
2385 - Enforce the `--profile` path to be absolute.
2386 - Enforce the --memory_profile path to be absolute.
2387 - JavaToolchainInfo.jvm_opt returns Depset instead of a list.
2388 - --apple_sdk has been deleted. It is a no-op.
2389 - --bep_publish_used_heap_size_post_build is now a no-op and will
2390 be deleted in a future release. Use --memory_profile=/dev/null
2391 instead.
2392 - Flipped --incompatible_disallow_resource_jars (see
2393 https://github.com/bazelbuild/bazel/issues/13221).
2394 - Remove --bep_publish_used_heap_size_post_build
2395 - JSON trace profile: rename counter names.
2396 - Removed --action_graph from the dump command.
2397 - Remove `--{experimental_,}json_trace_compression` option.
2398 - Remove `--experimental_profile_cpu_usage`.
2399 - flipped --incompatible_java_common_parameters (see #12373)
2400 - this incompatible change breaks old instances of http_archive
2401 that specified netrc as an absolute path. It is unlikely there
2402 are many instances in the wild since the path would refer to a
2403 netrc file inside the external repository by absolute path.
2404 Migration should be straightforward.
2405 - genrule switched to use exec transition instead of host. This can
2406 break targets with hardcoded output paths. To avoid using
2407 hardcoded paths use make variables, see
2408 https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
2409 defined_label_variables
2410 - this incompatible change breaks old instances of http_archive
2411 that specified netrc as an absolute path. It is unlikely there
2412 are many instances in the wild since...
2413 - Error Prone now checks for unused return values of additional
2414 methods on `java.lang.Object`, which can be disabled using
2415 `--javacopts=-Xep:ReturnValueIgnored:OFF`
2416 - Error Prone now checks for unused return values of additional
2417 methods on `java.lang.Object`, which can be disabled using
2418 `--javacopts=-Xep:ReturnValueIgnored:OFF`
2419 - The --incompatible_existing_rules_immutable_view flag has been
2420 flipped to true. See
2421 https://github.com/bazelbuild/bazel/issues/13907 for
2422 migration notes.
2423 - Split up the C++ archive from the C++ link action and set
2424 `CppArchive` as mnemonic.
2425 - workspace(managed_directories=) is not available anymore.
2426 - --legacy_important_outputs now has a default of false.
2427 - --legacy_important_outputs default reverted to true.
2428 - objc_library now requires CcInfo in its deps. If this breaks
2429 you, add empty CcInfo() to your rule.
2430 - Flag --experimental_local_memory_estimate removed.
2431 - Added a new flag
2432 --incompatible_unambiguous_label_stringification, which causes
2433 labels in the main repo to stringify into unambiguous forms
2434 starting with an @. See
2435 https://github.com/bazelbuild/bazel/issues/15916 for more
2436 information.
2437 - analysis_test moved into testing.analysis_test
2438 - Flip incompatible_enable_cc_toolchain_resolution
2439 (https://github.com/bazelbuild/bazel/issues/7260)
2440 - (Rollback) Flip incompatible_enable_cc_toolchain_resolution
2441 (https://github.com/bazelbuild/bazel/issues/7260)
2442 - name parameter is removed from rule call
2443 (https://github.com/bazelbuild/bazel/issues/16301)
2444 - name parameter is removed from rule call
2445 (https://github.com/bazelbuild/bazel/issues/16301)
2446 - name parameter is removed from rule call
2447 (https://github.com/bazelbuild/bazel/issues/16301)
2448 - --incompatible_remote_downloader_send_all_headers is flipped to
2449 true. See #16356 for details.
2450 - GrpcRemoteDownloader only includes relevant headers instead of
2451 sending all credentials.
2452 - In package_group's `packages` attribute, the syntax "//..." now
2453 refers to all packages in the same repository as the package
2454 group, rather than all packages everywhere. The new item "public"
2455 can be used instead to obtain the old behavior. In `bazel query
2456 --output=proto` (and `--output=xml`), the `packages` attribute
2457 now serializes with the leading double slash included (for
2458 instance, `//foo/bar/...` instead of `foo/bar/...`). See also
2459 #16355, #16323, and #16391.
2460 - This has the side effect of changing the message on unsuccessful
2461 builds from
2462 ```
2463 FAILED: Build did NOT complete successfully (0 packages loaded)
2464 ```
2465 to
2466 ```
2467 ERROR: Build did NOT complete successfully
2468 ```
2469 - Bazel no longer increases the delay between progress updates when
2470 there is no cursor control.
2471 - This has the side effect of changing the message on unsuccessful
2472 builds from
2473 ```
2474 FAILED: Build did NOT complete successfully (0 packages loaded)
2475 ```
2476 to
2477 ```
2478 ERROR: Build did NOT complete successfully
2479 ```
2480 - the --experimental_async_execution flag is now a no-op.
2481 - --experimental_replay_action_out_err is not a no-op.
2482 - `cquery --output=files` also outputs source files.
2483 - `--incompatible_strict_conflict_checks` is flipped to true. See
2484 https://github.com/bazelbuild/bazel/issues/16729 for details.
2485 - `--incompatible_strict_conflict_checks` is flipped to true. See
2486 https://github.com/bazelbuild/bazel/issues/16729 for details.
2487 - `--incompatible_always_include_files_in_data` is flipped to true.
2488 See https://github.com/bazelbuild/bazel/issues/16654 for details.
2489 - This changes the behavior of Python version in exec/host
2490 configuration. Mitigation is to set Python version on the targets.
2491 - When multiple --deleted_packages options are passed on the
2492 command line, they will be concatenated instead of the latest one
2493 taking effect.
2494 - This has the side effect of changing the message on unsuccessful
2495 builds from
2496 - JSON profile: Use doubles instead of strings for counter series.
2497 - query --output=proto --order_output=deps now returns targets in
2498 topological order (previously there was no ordering).
2499 - --experimental_build_transitive_python_runfiles is flipped to
2500 false. See #16303 for details
2501 - --incompatible_python_disable_py2 is flipped to true. See #17293
2502 for details.
2503 - When remote cache evicts blobs, Bazel will exit with code 39.
2504 - `--features` only applies to targets built in the target
2505 configuration, and `--host_features` is used for the host / exec
2506 configuration (gated behind `--incompatible_use_host_features`)
2507 - `--incompatible_strict_conflict_checks` is flipped to true. See
2508 https://github.com/bazelbuild/bazel/issues/16729 for details.
2509 - Bazel's local CPU resource on Linux is now container aware. Use
2510 `--local_cpu_resources`, `--loading_phase_threads` or `--jobs` to
2511 override.
2512 - `copy_from_rule` is exec_groups is deprecated
2513 (https://github.com/bazelbuild/bazel/issues/17668).
2514 - --legacy_bazel_java_test is now a no-op
2515 - --legacy_bazel_java_test is now a no-op
2516 - --legacy_bazel_java_test is now a no-op
2517 - `--experimental_execution_graph_log` no longer exists. Current
2518 users that want local logs need to pass
2519 `--experimental_enable_execution_graph_log
2520 --experimental_execution_graph_log_path=/some/local/path`.
2521 Current users that want logs uploaded to BEP need to pass
2522 `--experimental_enable_execution_graph_log
2523 --experimental_stream_log_file_uploads`.
2524 - Remove 'darwin' as a CPU value, use 'darwin_x86_64' instead
2525 - Remove high priority workers functionality from blaze.
2526
2527New features:
2528
2529 - Args.add_all and Args.add_joined can now accept closures in
2530 map_each if explicitly enabled via allow_closure.
2531 - Add `--bes_header` flag to pass extra headers to the BES server.
2532 - Support local_repository in Bazel Registry's source.json file
2533 - The `aquery` and `cquery` commands now respect the
2534 `--query_file` flag just like the `query` command.
2535
2536Important changes:
2537
2538 - Flag --incompatible_objc_compile_info_migration is removed. See
2539 #10854.
2540 - Flag --incompatible_objc_compile_info_migration is removed. See
2541 #10854.
2542 - Flag --incompatible_objc_compile_info_migration is removed. See
2543 #10854.
2544 - none
2545 PAIR=cmita
2546 - The --incompatible_load_python_rules_from_bzl flag is now a no-op.
2547 - Filter all (instead of just C++) source files for coverage output
2548 according to --instrumentation_filter and
2549 --instrument_test_targets.
2550 - The `--incompatible_disable_native_apple_binary_rule` flag has
2551 been added which disables the native `apple_binary` rule. Users
2552 who need to use `apple_binary` directly (if they cannot use one
2553 of the more specific Apple rules) should load it from
2554 https://github.com/bazelbuild/rules_apple.
2555 - The Android rules' --use_singlejar_apkbuilder is now a no-op.
2556 SingleJar will always be used to build APKs.
2557 - dict.setdefault(key, ...) now fails if dict is frozen, even if it
2558 already contains key. This is an incompatible API change.
2559 - Flag --incompatible_objc_provider_remove_compile_info is removed.
2560 See #11359.
2561 - Starlark now permits def statements to be nested (closures).
2562 - native.existing_rule now returns select values in a form that is
2563 accepted by rule instantiation. This is a breaking API change,
2564 though the fallout is expected to be small.
2565 - Starlark now supports lambda (anonymous function) expressions.
2566 - The "test" and "coverage" commands no longer return 3 when a
2567 test action fails because of a system error. Instead, the exit
2568 code
2569 reflects the type of system error.
2570 - The undocumented ctx.expand feature no longer exists.
2571 - Make --legacy_dynamic_scheduler a no-op flag.
2572 - Multiplex persistent workers can now use the JSON protocol.
2573 - native.existing_rule now returns a mutable list, not a tuple, for
2574 a list-valued attributes. This is an incompatible API change.
2575 - Roll back change to have native.existing_rules use list instead
2576 of tuple.
2577 - BEP includes test suite expansions.
2578 - config_setting now honors `visibility` attribute (and defaults to
2579 `//visibility:public`)
2580 - Change the MultiArchSplitTransitionProvider to be based on
2581 platform type + CPU instead of fixed "ios_" + cpu.
2582 - enforce config_setting visibility. See
2583 https://github.com/bazelbuild/bazel/issues/12932 for details.
2584 - add a flag to build v4 signature file
2585 - Added _direct_source_jars output group to Java related targets.
2586 END_PUBLIC
2587 - pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
2588 Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
2589 - Allowing the lipo operations to be conditional in the
2590 linkMultiArchBinary API for Apple binaries. Single architecture
2591 slices are now returned through AppleBinaryOutput and the
2592 Starlark API.
2593 - Release restriction for "-" in the package name for Python
2594 sources. Now `py_binary` and `py_test` targets can have main
2595 source file with "-" in the path.
2596 - Users consuming BEP may assume that a `named_set_of_files` event
2597 will
2598 appear before any event referencing that `named_set` by ID. This
2599 allows consumers
2600 to process the files for such events (eg. `TargetCompleted`)
2601 immediately.
2602 - BEP includes all files from successful actions in requested
2603 output groups.
2604 Previously, an output group's files were excluded if any file in
2605 the output group
2606 was not produced due to a failing action. Users can expect BEP
2607 output to be larger
2608 for failed builds.
2609 - In BEP, TargetComplete.output_group has a new field `incomplete`
2610 indicating that the file_sets field is missing one or more
2611 declared artifacts
2612 whose generating actions failed.
2613 - The flag `--toolchain_resolution_debug` now takes a regex
2614 argument, which is used to check which toolchain types should
2615 have debug info printed. You may use `.*` as an argument to keep
2616 the current behavior of debugging every toolchain type.
2617 - Add runfiles.merge_all() for merging a sequence of runfiles
2618 objects.
2619 - runfiles.merge() and merge_all() now respect
2620 --nested_set_depth_limit.
2621 If you hit the depth limit because you were calling merge() in a
2622 loop, use
2623 merge_all() on a sequence of runfiles objects instead.
2624 - Bazel will no longer create a bazel-out symlink if
2625 --symlink_prefix is specified: the directory pointed to via the
2626 bazel-out symlink is accessible via ${symlink_prefix}-out. If
2627 this causes problems for you, set
2628 --experimental_no_product_name_out_symlink=false in your builds
2629 and file an issue.
2630 - Updates worker protocol with cancellation fields, and adds
2631 experimental_worker_cancellation flag to control cancellation.
2632 - Simplify build failure output by always using `NNN arguments`.
2633 - trim_test_configuration now defaults to on
2634 - Mark genrule.srcs as a source attribute for coverage.
2635 - When using --allow_analysis_failures (for example, via
2636 bazel-skylib's
2637 analysistest with `expect_failure = True`), analysis-time
2638 failures in aspect
2639 implementation functions will now be propagated and saved in
2640 AnalysisFailureInfo, just like analysis-time failures in rules.
2641 - cquery --noimplicit_deps now correctly filters out resolved
2642 cc_toolchains
2643 - Sign apks deterministically.
2644 - Make gcov optional in cc_toolchain tools.
2645 - If --experimental_prefer_mutual_xcode is passed, Bazel will
2646 choose the local default (instead of the newest mutually
2647 available version) if it's available both locally and remotely.
2648 - Remove java_lite_proto_library.strict_deps attribute.
2649 - Generate proguard configurations deterministically.
2650 - Adds a new flag, `--incompatible_enable_cc_test_feature` which
2651 switches from the use of build variables to the feature of the
2652 same name.
2653 - Dropped fragile xz support from built in pkg_tar. Users requiring
2654 xz
2655 compression should switch to bazlebuild/rules_pkg.
2656 - If all strategies of one branch (the local or remote execution
2657 branch) of the `dynamic` strategy fail to even accept (via the
2658 response they give from `canExec`) the action, `dynamic` will now
2659 try to see if the other branch can accept it. (Trying to run it
2660 and it failing will still cause a failure if it was the first
2661 result, this is about strategies claiming they can't even try the
2662 action)
2663 - Add `disable_annotation_processing` option to
2664 `java_common.compile`, which disables any annotation processors
2665 passed to `plugins` or in `exported_plugins` of `deps`
2666 - Remove obsolete --incompatible_prohibit_aapt1
2667 - The minimum Android build tools version for the Android rules is
2668 now 30.0.0
2669 - Adds --experimental_reuse_sandbox_directories flag to reuse
2670 already-created non-worker sandboxes with cleanup.
2671 - --experimental_force_gc_after_build is deprecated and will be
2672 removed soon. Use --bep_publish_used_heap_size_post_build instead
2673 - Forward coverage-instrumented files from non-tool dependencies by
2674 default.
2675 - The used_heap_size_post_build field in BEP is populated when the
2676 --memory_profile flag is set
2677 - --run_validations defaults to true.
2678 - Consider label_keyed_string_dict attributes when gathering
2679 instrumented files for coverage.
2680 - Remove flag
2681 --experimental_forward_instrumented_files_info_by_default, now
2682 that this behavior is the default.
2683 - When using MemoryProfiler with multiple GCs via the
2684 --memory_profile_stable_heap_parameters flag, we do a more
2685 precise calculation of heap used at the end of the build. This
2686 will generally result in lower values.
2687 - --bep_publish_used_heap_size_post_build is deprecated. Use
2688 --memory_profile=/dev/null instead.
2689 - Disable --all_incompatible_changes flag.
2690 - The --all_incompatible_changes flag is now a no-op
2691 - The `--toolchain_resolution_debug` flag now accepts regexes
2692 matching targets, as well as toolchain types, when choosing what
2693 debug messages to print.
2694 - Adds --experimental_existing_rules_immutable_view flag to make the
2695 native.existing_rule and native.existing_rules functions more
2696 efficient by
2697 returning immutable, lightweight dict-like view objects instead
2698 of mutable
2699 dicts.
2700 - Add support to length-delimited protos as undeclared output
2701 annotations []
2702 - The deprecated "relative_to_caller_repository" parameter has been
2703 removed from the Label constructor.
2704 - The toolchain transition is now enabled for all toolchains.
2705 - incompatible_disable_depset_items is flipped
2706 - The --experimental_existing_rules_immutable_view flag has been
2707 renamed to --incompatible_existing_rules_immutable_view
2708 - Bazel no longer supports Java 8. From this version on, the
2709 minimum required JDK is OpenJDK 11.
2710 - Deprecate --incompatible_applicable_licenses flag, in preparation
2711 for removal in Bazel 6.x.
2712 - Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
2713 - The Build Event Protocol now contains file digests and sizes
2714 along with the file name and URI.
2715 - Refactor system suspend event handling.
2716 - alias() can now select() directly on constraint_value()
2717 - Allow \a \b \f \v escape sequences in Starlark.
2718 - Match remote and local xcode version by most granular version.
2719 - Adds `--experimental_worker_multiplex_sandboxing` flag that
2720 controls whether to sandbox multiplex workers that support it.
2721 - provider() has a new parameter: init, a callback for performing
2722 pre-processing and validation of field values. Iff this parameter
2723 is set,
2724 provider() returns a tuple of 2 elements: the usual provider
2725 symbol (which,
2726 when called, invokes init) and a raw constructor (which bypasses
2727 init).
2728 - Tests that fail to create or complete their
2729 `TestAttemptContinuation` by
2730 throwing an `ExecException` will report an `INCOMPLETE` status.
2731 Previously, Bazel
2732 would fail to report any status for the test attempt.
2733 - Fixed an issue where Bazel could erroneously report a test passes
2734 in coverage mode without actually running the test.
2735 - Include more information about configurations in cquery proto
2736 formatted output. This deprecates the configuration field of
2737 AnalysisProtosV2.ConfiguredTarget, and adds a new field,
2738 configuration_id, to
2739 be used instead.
2740 - experimental cc_library.implementation_deps inverted to
2741 interface_deps
2742 - In aquery and cquery proto output, indicate if a configuration is
2743 a
2744 tool or non-tool configuration.
2745 - Include complete configurations in cquery proto output.
2746 - experimental cc_library.implementation_deps inverted to
2747 interface_deps
2748 - Make protocOpts() publicly accessible.
2749 - Add some documentation about how configuration information is
2750 conveyed in cquery proto output.
2751 - Introduces experimental static library linking API under
2752 apple_common.link_multi_arch_static_library
2753 - Further deprecation and removal of pkg_tar. Stop supporting
2754 legacy use of 'files' attribute, where it could be a list of
2755 labels instead of a map of paths to labels.
2756 - Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
2757 its purpose because --all_incompatible_changes would never set
2758 it. The last rule it gated (pkg_tar) is scheduled to be removed
2759 in Bazel 6.x.
2760 - Add coverage configuration fragment, used to expose
2761 output_generator label.
2762 - Bazel now no longer includes system headers on macOS in coverage
2763 reports (#14969).
2764 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
2765 $ANDROID_HOME.
2766 - The default dexer is now d8. dx can be optionally enabled using:
2767 --define=android_dexmerger_tool=dx_dexmerger \
2768 --define=android_incremental_dexing_tool=dx_dexbuilder \
2769 --define=android_standalone_dexing_tool=dx_compat_dx \
2770 --use_workers_with_dexbuilder
2771 - Packaging support for deploy JAR embedded JDK files (hermetic
2772 Java).
2773 - Don't stamp cc_common.link actions for tool dependencies.
2774 - Starlark test rules can use the new inherited_environment
2775 parameter of testing.TestEnvironment to specify environment
2776 variables
2777 whose values should be inherited from the shell environment.
2778 - Enable merging permissions during Android manifest merging with
2779 the --merge_android_manifest_permissions flag.
2780 - Allow specialization to work with constraint_values.
2781 - Bazel uses the D8 jar from Maven instead of the SDK.
2782 - Make ijar / java_import preserve classes with `@kotlin.Metadata`
2783 annotations
2784 - Switch cc_test implementation to Starlark. Note: cc_test will now
2785 link statically when _targeting_ Windows regardless of host
2786 platform (rather than always linking statically when Windows is
2787 the _host_).
2788 - Switch cc_test implementation to Starlark. Note: cc_test will now
2789 link statically when _targeting_ Windows regardless of host
2790 platform (rather than always linking statically when Windows is
2791 the _host_).
2792 - Add devtools/build/lib/worker:work_request_handlers to the remote
2793 android tools release package. This will be transitively packaged
2794 into all_android_tools.
2795 - Bazel uses the D8 jar from Maven instead of the SDK.
2796 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
2797 $ANDROID_HOME.
2798 - Advance android_tools_pkg version to 0.24.0.
2799 - Switch cc_test implementation to Starlark. Note: cc_test will now
2800 link statically when _targeting_ Windows regardless of host
2801 platform (rather
2802 than always linking statically when Windows is the _host_).
2803 - Bazel uses the D8 jar from Maven instead of the SDK.
2804 - "blaze config" now only reports info from the last build. To
2805 compare configurations across multiple builds, redirect "blaze
2806 config" output to a file and run your favorite diff tool.
2807 - The --incompatible_override_toolchain_transition flag is now
2808 always set, and will be removed in the future. Thus,
2809 --noincompatible_override_toolchain_transition has no effect, and
2810 the value of the incompatible_use_toolchain_transition parameter
2811 in aspect() and rule() builtins is ignored.
2812 - Switch cc_test implementation to Starlark. Note: cc_test will now
2813 link statically when _targeting_ Windows regardless of host
2814 platform (rather
2815 than always linking statically when Windows is the _host_).
2816 - Toolchain types may now be optional, in addition to mandatory.
2817 See https://bazel.build/docs/toolchains#optional-toolchains for
2818 further details.
2819 - Add six to deps of has_services=1 py_proto_librarys.
2820 - pkg_tar(symlinks) has been removed. Users needing that feature
2821 should
2822 migrate to @rules_pkg.
2823 - Aspects can now define and use exec groups using the same API as
2824 rules.
2825 - Removed the obsolete --incompatible_applicable_licenses flag. The
2826 feature is permanently enabled.
2827 - embedded_tools packages R8 desugarer again
2828 - Bazel now selects sh path based on execution platform instead of
2829 host platform, making it possible to execute sh actions in
2830 multiplatform builds. --shell_executable now only applies to
2831 actions configured for host.
2832 - labels in genquery.scope are no longer configured.
2833 - When Bzlmod is enabled, all Bzlmod-generated repos will have an
2834 extra '@' prepended to their names. This effectively enables the
2835 canonical label literal syntax for Bzlmod-generated repos
2836 (`@@canonicalRepoName//pkg:target`; see
2837 https://docs.google.com/document/d/1N81qfCa8oskCk5LqTW-LNthy6EBrDo
2838 t7bdUsjz6JFC4/edit?usp=sharing).
2839 - Exposed `CcSharedLibraryInfo` to Starlark builtins.
2840 - Enable --use_top_level_targets_for_symlinks by default.
2841 - Singlejar accepts runtime Created-By field
2842 - --noincompatible_disable_managed_directories, and with that,
2843 workspace(managed_directories=) is not supported anymore.
2844 - Bazel supports D8 desugaring, albeit without persistent workers
2845 - Remove mtime options from pkg_tar. Users should migrate to
2846 @rules_pkg.
2847 - Test for experimental multiplexed persistent resource processor.
2848 - Added new register_{execution_platforms,toolchains} directives to
2849 the MODULE.bazel file, to replace the
2850 {execution_platforms,toolchains}_to_register attributes on the
2851 module() directive.
2852 - The legacy pkg_tar no longer supports the ability to untar and
2853 repackage an input tar file (`deps` attribute). Users needed that
2854 capability must switch to github.com/bazelbuild/rules_pkg.
2855 - `cquery`'s new output mode
2856 [`--output=files`](https://bazel.build/docs/cquery#files-output)
2857 lists the output files of the targets matching the query. It
2858 takes the current value of `--output_groups` into account.
2859 - Change singlejar metadata to report Created-By Bazel
2860 - Add support for fetching RPC credentials from credential helper.
2861 - Revert interface_deps back to implementation_deps after problem
2862 reported in. Use `buildozer 'rename deps implementation_deps'
2863 //...:%cc_library; buildozer 'rename interface_deps deps'
2864 //...:%cc_library`
2865 - Fix for desugaring failure on Bazel+Android+Windows build
2866 scenario.
2867 - D8 is the default desugarer
2868 - Migrate main_dex_list_creator to D8 (DX deprecation)
2869 - --experimental_enable_bzlmod has been renamed --enable_bzlmod,
2870 and still defaults to false.
2871 - selects() no longer produce irrelevant duplicate label checks
2872 - Adds a dexer output cache to CompatDexBuilder to improve build
2873 speed.
2874 - Improved error messages when analyzing inline bzl code
2875 - Improved error messages when analyzing inline bzl code
2876 - The `@bazel_tools//tools/cpp:compiler` flag now has the value
2877 `gcc` if the configured compiler is detected to be gcc rather
2878 than the generic value `compiler`. A branch for `gcc` may have to
2879 be added to `select` statements that do not have a default case
2880 that handles gcc appropriately.
2881 - The `get_child` method of `path` now accepts an arbitrary
2882 number of relative path strings as positional arguments.
2883 - SourceManifestAction supports `Action.content`
2884 - Add --incompatible_build_transitive_python_runfiles alias. See
2885 #16303
2886 - The @bazel_tools//tools/cpp:compiler flag now has the value
2887 `clang` for the auto-configured Xcode toolchain rather than the
2888 generic value compiler. A branch for `clang` may have to be added
2889 to select statements that do not have a default case that handles
2890 this toolchain appropriately.
2891 - added additional debug message to warn of skipped toolchains
2892 during resolution
2893 - The deprecated --remote_allow_symlink_upload flag has been
2894 removed. Symlinks in local action outputs are always permitted,
2895 even with remote caching. Whether they're uploaded as symlinks or
2896 as the files/directories they point to is still determined by the
2897 --incompatible_remote_symlinks flag.
2898 - Added `struct`, `json`, `proto`, and `depset` to the starlark
2899 environment of Bazel's cquery (--output=starlark) command
2900 - Added three `package_group`-related flags:
2901 `--incompatible_package_group_includes_double_slash` (#16391),
2902 `--incompatible_package_group_has_public_syntax` (#16355), and
2903 `--incompatible_fix_package_group_reporoot_syntax` (#16323). With
2904 these flags, `package_group` can now easily specify "all
2905 packages", "no packages", and "all packages in the current repo".
2906 - Record hermetic packaged JDK modules file size in deploy JAR
2907 manifest 'JDK-Lib-Modules-Size' attribute.
2908 - .bzl files may now set a visibility to guard what other .bzl and
2909 BUILD files may load them. See [...] for more information.
2910 - Deletes the --extra_proguard_specs Blaze flag
2911 - The new path variable `$(rlocationpath ...)` and its plural form
2912 `$(rlocationpaths ...)` can be used to expand labels to the paths
2913 accepted by the `Rlocation` function of runfiles libraries. This
2914 is the preferred way to access data dependencies at runtime and
2915 works on all platforms, even when runfiles are not enabled (e.g.,
2916 on Windows by default).
2917 - Starlark `print()` statements are now emitted iff the line of
2918 code is executed. They are no longer replayed on subsequent
2919 invocations unless the Starlark code is re-executed.
2920 Additionally, multiple identical `print()` statements (same
2921 string from the same line of code, e.g. from a loop) are all
2922 emitted and no longer deduplicated.
2923 - Fixes a bug where some compilation flags would not be applied to
2924 a cc_test
2925 - removed outdated ctx.host_fragments
2926 - removed outdated ctx.host_configuration
2927 - Now that the host configuration is finished, `genrule` should
2928 prefer the use of `tools` and stop using `exec_tools`.
2929 - Added a `native.package_relative_label()` function, which
2930 converts a label string to a Label object in the context of the
2931 calling package, in contrast to `Label()`, which does so in the
2932 context of the current .bzl file. Both functions now also accept
2933 relative labels such as `:foo`, and are idempotent.
2934 - Update Android manifest merger to v30.1.3, and also drop support
2935 for legacy (pre-D8) desugaring.
2936 - Adds coverage metric support to android_local_test
2937 - Correctly encode double value positive infinity as "inf" instead
2938 of "+inf" for textprotos.
2939 - Add --use_target_platform_for_tests which uses the target
2940 platform for executing tests instead of the execution platform.
2941 - Custom C++ rules on Windows calling
2942 cc_common.create_linking_context_from_compilation_outputs should
2943 review whether each target of the rule type should produce a
2944 dynamic library since a condition which blocked their creation
2945 has been moved to the rules from behind the API.
2946 - Add flag `--experimental_remote_cache_ttl` and set the default
2947 value to 3 hours.
2948 - making --incompatible_use_platforms_repo_for_constraints do
2949 nothing. Using constraints from @bazel_tools//platforms with or
2950 without the flag will throw error with message "Constraints from
2951 @bazel_tools//platforms have been removed. Please use constraints
2952 from @platforms repository embedded in Bazel, or preferably
2953 declare dependency on https://github.com/bazelbuild/platforms"
2954 - Fixed an issue where WORKSPACE and WORKSPACE-loaded .bzl files
2955 couldn't see the Bzlmod root module's mappings when Bzlmod is
2956 enabled.
2957 - Subsequent settings of --extra_execution_platforms now override
2958 previous settings, instead of adding them to a list. If you
2959 currently set --extra_execution_platforms more than once, please
2960 migrate by passing a list of values to
2961 --extra_execution_platforms instead so that earlier values aren't
2962 overwritten.
2963 - @bazel_tools//config:common_settings.bzl has been removed.
2964 Use @bazel_skylib//rules:common_settings.bzl instead.
2965 - cc_shared_library is no longer experimental, see
2966 https://github.com/bazelbuild/bazel/issues/16709 for details
2967 - The flag `--distinct_host_configuration` is removed. It has been
2968 a no-op since Bazel 6.0.0.
2969 - Added `native.module_name()` and `native.module_version()` to
2970 allow BUILD macro authors to acquire information about which
2971 Bazel module the current repo is associated with.
2972 - Add `--skip_incompatible_explicit_targets` option
2973 - Remove 'darwin' as a CPU value, use 'darwin_x86_64' instead
2974 - cc_test can now be configured by using a native.toolchain().
2975 - `@foo` labels can now be used on the command line as the
2976 top-level target (that is, `bazel build @foo` now works).
2977 Double-dot syntax is now forbidden (`bazel build ../foo` will no
2978 longer work).
2979 - The location of rules that explicitly specify `generator_name`
2980 and/or `generator_function` attributes (typically because they
2981 are incidentally copied from `native.existing_rule()`) is now the
2982 top-level call in the `BUILD` file, which is consistent with
2983 rules that do not explicitly specify these attributes.
2984 - Warnings (most notably those associated with the `deprecation`
2985 rule attribute) are no longer replayed on subsequent invocations
2986 unless the target in question is re-analyzed. Warnings are purely
2987 informational, so this change has no bearing on the correctness
2988 of the build. Downstream tests that break due to this change
2989 should update their expectations.
2990 - `--experimental_remote_build_event_upload` has been renamed to
2991 `--remote_build_event_upload`
2992 - [Breaking change] platform, constraint_setting, and
2993 constraint_value can no longer take an applicable_licenses value.
2994 Remediation is to remove the attribute and rely on the package
2995 level default.
2996 - `--experimental_action_cache_store_output_metadata` has been
2997 renamed to `--action_cache_store_output_metadata`
2998 - Changed the default value for `--remote_build_event_upload` to
2999 `minimal`.
3000 - `--experimental_remote_cache_compression` has been renamed to
3001 `--remote_cache_compression`
3002 - The REPO.bazel and MODULE.bazel files are now also considered
3003 workspace boundary markers.
3004
3005This 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].
3006
Bazel Release Systemb2c1cac2023-04-20 11:49:54 +00003007## Release 4.2.4 (2023-04-20)
3008
3009```
3010Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
3011
3012Cherry picks:
3013
3014 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
3015 Use getRunfilesPath for run_under executable path generation.
3016 getRootRelativePath doesn't return a valid runfiles path for
3017 external source files anymore after the recent external source
3018 root change. Also, it won't work for external labels either once
3019 the --nolegacy_external_runfiles becomes default. This fixes
3020 issue #12545.
3021 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
3022 Fix NPE when coveragerunner is not set on the toolchain.
3023 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
3024 Fix the classic query package-loading cutoff optimization with
3025 external workspaces.
3026 + d113d7454127bba78aa618dac81e5d164920b662:
3027 Update turbine
3028 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
3029 Support Scala3 .tasty files
3030 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
3031 Update to java_tools javac11 release 10.5 (#12647)
3032 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
3033 Fix common prefix for instrumentation filter
3034 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
3035 Fix builds for filegroup targets with incompatible dependencies
3036 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
3037 Revert "Remove
3038 --incompatible_blacklisted_protos_requires_proto_info"
3039 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
3040 Transform roots along with paths during output deletion.
3041 + e8835c1c221d76a2d5532d18083eaa04401619b3:
3042 AttributeContainer.Large now handles more than 127 attributes.
3043 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
3044 Add an env attribute to all test and binary rule classes
3045 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
3046 Take no action to prefetch empty artifacts.
3047 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
3048 Fix a couple of bugs with Incompatible Target Skipping
3049 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
3050 Pass --host_action_env to host options hostActionEnvironment
3051 attribute
3052 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
3053 Add --{no,}autodetect_server_javabase.
3054 + c83366064621d5a265eba14d93a03deff58fe6d8:
3055 Only treat "env" and "env_inherit" attrs specially for native
3056 rules
3057 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
3058 Fix coverage support when using default_java_toolchain. (#12801)
3059 + 4158a6f512e52516437e00f8d9609a91be7fc195:
3060 Revert JacocoCoverage target to remote_java_tools_java_import
3061 and add a new target for remore_java_tools_filegroup. (#12813)
3062 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
3063 Add windows_msvc back to conditions in bazel_tools.
3064 + 6b33bdb1e22514304c0e35ce8e067f2175685245:
3065 Release 4.0.0 (2021-01-21)
3066 + 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
3067 Fix error message from getPrerequisites to not print internal
3068 details.
3069 + 27e15ad11410eb1014f5247fd0eeb31a46733c07:
3070 Clean up ConfiguredTargetValueAccessor and
3071 ConfiguredTargetAccessor
3072 + e87feb8ac9573cef993824f82370d0389570521d:
3073 Move getConfigConditions into ConfiguredTarget.
3074 + 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
3075 Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
3076 value.
3077 + 079bb7d69931705bb2b092c9017090e224ef3043:
3078 Clean up old dependencies that are unused since
3079 https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
3080 5ef5702880d5ac7c5c.
3081 + e03cb63e059420847d6578d7cbfe93f05615c95e:
3082 Update bazelbuild/platforms to a current release. - Roll forward
3083 https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
3084 7f925cf88e0cd5b76a with kythe fix.
3085 + 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
3086 Update docs and tests to use the @platforms//:incompatible
3087 constraint
3088 + c71697cf33b0fbbb42fc2910bac83960edc7e855:
3089 Clarify test_suite behaviour in the Platforms docs
3090 + dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
3091 Enable toolchain resolution for filegroup targets.
3092 + 24d086446f74606819dc53c3a436caa056ff05b7:
3093 PlatformProviderUtils should ignore targets that don't have the
3094 needed
3095 + ba60c0b3f9bbd00975c984244839b155e84b4c5d:
3096 ijar: fix manifest sections handling
3097 + 58bb42ad7ca263a75c6eeef51482f805726663a5:
3098 Revert "Switch to -fdebug-compilation-dir"
3099 + bef4bbbb47d47befe3711d06f358782ee12554f9:
3100 Update turbine
3101 + ad241fbebd90a9f0ad65ccd0658838f57030db68:
3102 Allow cquery to filter out incompatible targets
3103 + 1782f0ae751569607ef88930c822ac460a1f8bb3:
3104 Patch grpc to fix cares selecting the wrong source when building
3105 for darwin_arm64 cpu.
3106 + 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
3107 [1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
3108 blobs
3109 + 848a51747a460ab4c5185e4c61ab522a9981cbea:
3110 [2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
3111 blobs
3112 + 9b30172547f2093acb56aedf159a77d5dceffda2:
3113 [3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
3114 blobs
3115 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
3116 Allow exec groups to inherit from the rule or other exec groups.
3117 + d0676693310215407224c1b8e8aea9e3eddc183d:
3118 Support execution constraints per exec group
3119 + f1e0d346c8235c855e61afc2adb870e4b895e002:
3120 Clean up RuleContext to use a Table instead of a Map of Maps.
3121 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
3122 Documentation for #13110
3123 + 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
3124 Prevent --repo_env from triggering unnecessary fetches
3125 + 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
3126 Prevent a crash when using --repo_env=VAR without a value
3127 + 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
3128 Report digest of failed uploads
3129 + 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
3130 Status error presentation with details
3131 + 9a70805db543e2fb910e1c55ef3b3567362adf30:
3132 Fix double shutdown of BuildEventArtifactUploader when BES+File
3133 output enabled.
3134 + 325eb956c92530bdfda54a36a186cae4245a4f7b:
3135 Add rxjava3 to third_party
3136 + ceaac966a7b977461b69ce9501df6a467f4a93b2:
3137 remote: set executable bit of an input file based on its real
3138 value
3139 + 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
3140 Remote: correctly implement equals and hashCode.
3141 + 48648503729d53fdee1322fde2c8e6c05e99cff9:
3142 Fixed an error that bazel binary is not executable when testing
3143 with remote execution.
3144 + bc54c648aa1f99509c7c36d5e6b570d066689209:
3145 Remote: Use parameters instead of thread-local storage to
3146 provide tracing metadata.
3147 + 92955e617b5c41713a5163dc0437c2a024b31815:
3148 Remote: Use parameters instead of thread-local storage to
3149 provide tracing metadata. (Part 2)
3150 + 75bd1ff8ab56d241916bde36291301fa026b2bab:
3151 Remote: Use parameters instead of thread-local storage to
3152 provide tracing metadata. (Part 3)
3153 + 37ee252f3744abc4511f55b5089cc52abd3ba09d:
3154 Remote: Use parameters instead of thread-local storage to
3155 provide tracing metadata. (Part 4)
3156 + 71e35b165f924e2649a078fcf6007645d58039af:
3157 Remote: Use parameters instead of thread-local storage to
3158 provide tracing metadata. (Part 5)
3159 + 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
3160 Write/QueryWriteStatus logging refinement/addition
3161 + 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
3162 Remote: gRPC load balancing. (Part 1)
3163 + e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
3164 Remote: gRPC load balancing. (Part 2)
3165 + 6667ad7dd77f8d97952133052c17e7779c1430ec:
3166 Remote: gRPC load balancing. (Part 3)
3167 + 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
3168 Remote: gRPC load balancing. (Part 4)
3169 + 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
3170 Implement getMessage for BulkTransferException
3171 + a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
3172 Remote: gRPC load balancing. (Part 5)
3173 + 7a62c2d4e27e398f440910c81eacc384f38ca8be:
3174 Remote: Add interoperability between Rx and ListenableFuture.
3175 + 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
3176 Update to latest remote-execution proto
3177 + dad96301d12aa77eb67399e08265a5f30f5ffd6a:
3178 Set Platform on Action not just Command
3179 + 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
3180 Remote: Add AsyncTaskCache which is used to deduplicate task
3181 executions and cache the results.
3182 + 9d0c7325ac810febe565a62fdd875ae0c240b274:
3183 Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
3184 + f54fe07209acc25340df8d2e02993b1add2deafa:
3185 Add --experimental_repository_disable_download to allow users
3186 disable download for external repos
3187 + b243584a479eb4481a9bf4f69acc899610a3b630:
3188 Report errors parsing rewriter config file
3189 + 63bc1c7d0853dc187e4b96a490d733fb29f79664:
3190 Downloader rewriter config has all_blocked_message
3191 + 495ac923f398443be45c20ab29d183fe47e08911:
3192 Allow UrlRewriter to change protocol, i.e. https->http, and
3193 http->https
3194 + 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
3195 Allow overriding the hostname and instance name in bytestream://
3196 URIs
3197 + 0881c80d29acecdfbb58c49156f805e8c50db117:
3198 Don't set requestId on non-multiplex requests.
3199 + e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
3200 When generating a symlink in _virtual_includes, add the original
3201 header to the 'allowed to use' set too
3202 + f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
3203 Make SimpleLogHandler not swallow interrupts.
3204 + f8606e5e76579442a1c6563e718ea54c673f1a04:
3205 linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
3206 + dac0d40d0eb903f5cb70341398d1a333c19adf3a:
3207 Improve "Common Attributes" section
3208 + a607d9dc70ac67f1aa2c32ca954177f9c77860be:
3209 Never create more than one process per WorkerMultiplexer.
3210 + 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
3211 Move sending requests and reading responses for multiplex
3212 workers into separate subthreads.
3213 + 003cfcde3fd3901c1279ba1db3db3a14536248b4:
3214 Allow use of JSON protocol in multiplex workers.
3215 + 308bce36cba46095fe41866e703710035ddddada:
3216 Actively kill off still-active workers when stopping work on
3217 interrupt.
3218 + 8959dff512fe4505af786bcf2ef981ec7082a913:
3219 Add sanitizer support to Apple platforms
3220 + 32f16e9360f3e1856db1775eb5014b930da2a303:
3221 Fix a Google-internal broken link.
3222 + c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
3223 Add SHA-1 to subresource integrity format for download()
3224 checksums
3225 + 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
3226 Remove fallback strategy support for workers, add flag for it in
3227 sandbox.
3228 + 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
3229 Update to java_tools javac11 10.6 (#13245)
3230 + 4928295b236ec8f590a7e9d863502bc2f50a77d9:
3231 Allow .S files in C++ Starlark cc_common.compile.
3232 + 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
3233 Automatic code cleanup.
3234 + b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
3235 Change short output of worker type to have the same logic as the
3236 worker creation for sandboxing vs. multiplex.
3237 + e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
3238 More properly destroy workers on interrupt.
3239 + 7056711eb11b672133274eb29fc93b01dcf088d5:
3240 Make WorkRequestHandler do a GC after some amount of CPU time
3241 has been used on requests. For Bazel and Blaze, defaults to 10s
3242 based on benchmarking.
3243 + 596653d3cf76e7b208da343e1fde5fe20273a5ff:
3244 Allow tree artifacts to be source or header inputs to
3245 cc_common.compile()
3246 + 055c93d11ab20cc4479539b24bbdfa5cab78a342:
3247 Switch to path autocompletion after -- for bazel run commands.
3248 + 807f2a1929e23b60b237c63fadb25af81de2e3c3:
3249 Fix Incompatible Target Skipping for test args
3250 + 9a5cd854e0613f91d52075973e2454b1e009e1ef:
3251 Fix order of build request id and command id
3252 + 706f5acd02363e48076dc97e37613fd968932d03:
3253 Fix bazel crash when passing config_setting to
3254 target_compatible_with
3255 + 61da1d2bf10eabba4c75de959b0374f302d89d70:
3256 Support multiple --bazelrc on command line
3257 + 5593358a58b66f06c4e421bb48856de94c3fd625:
3258 Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
3259 to
3260 + 662cf54de7a103db30e04ebae2d2b919437c4846:
3261 Remote: Fix an issue that a failed action could lead to
3262 RuntimeException caused by InterruptedException thrown when
3263 acquiring gRPC connections.
3264 https://github.com/bazelbuild/bazel/issues/13239
3265 + a3a1763212f29932618b9b9b2f929976ae0e3b6e:
3266 Pass more `--add-exports=` flags
3267 + d2b942879471786e82f1c96eea8722bbe7919fc1:
3268 Remote: Fixed a bug that remote cache is missed due to
3269 executable bit is changed
3270 + 616dc264f02907d7b7887285d22307dfe6d097b6:
3271 Fix Bazel Coverage with C++ to work with Remote Execution
3272 + 5f40d12e741aa30d506eaa15673fb2ae76d29468:
3273 Fix external_path_test with newer Xcode versions.
3274 + b416193075642017e13c774422b49cb07fb65c23:
3275 Allow using embedded tools in sandboxed spawn runners.
3276 + eb762d4e7431637e607146b1c191485795047ef9:
3277 Fix racy write of temporary files while staging virtual inputs
3278 for the sandbox.
3279 + f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
3280 Update platforms_test to not rely on filegroup not using
3281 toolchain
3282 + 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
3283 Update SkyframeTests to not rely on filegroup not using toolchain
3284 + 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
3285 Update ConfigurableAttributesTest to not rely on filegroup not
3286 using …
3287 + 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
3288 Make WorkerExecRoot not be a subclass of SandboxedSpawn.
3289 + 31db460a45767de0bcd664a6efbe9d163b85b802:
3290 Make WorkerExecRoot not be re-created on each createFileSystem()
3291 call. Preparation for holding a map of existing links, but also
3292 just nicer.
3293 + a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
3294 Start the file existence check traversal from the execroot base
3295 instead of execroot so that external repo files at
3296 "<execroot>/../<path>" are correctly handled when the sibling
3297 repository layout is enabled.
3298 + b048282c7893231d3a7191b251804973917b07a4:
3299 Use readdir for cleanExisting in WorkerExecRoot.
3300 + 270f00dd01fa06cf3e813da5a406be3446de7377:
3301 Add native support for Apple Silicon
3302 + 8e56b9423e8ad2f7323fb90b19b73858def81e39:
3303 Explicitly state that embedding macOS OpenJDK is for x86_64
3304 + 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
3305 Remote: Fix a race that AsyncTaskCache#Execution could be reused
3306 after disposed which results in
3307 CancellationException("disposed") propagated to downstream.
3308 + 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
3309 Remove wrapped_clang params files after use
3310 + 47edc57806056f3c8764241ed41b8acc72bd2ebf:
3311 Silence swiftmodule timestamp warnings
3312 + f6e1074b09ebefba185c0531e9cea26b9596c8a9:
3313 Remote: Use shutdownNow() instead of shutdown() in
3314 ChannelConnection#close() as a workaround to a gRPC bug.
3315 + 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
3316 And mnemonic and label to remote metadata
3317 + 615e1b16a81b0defc15699ec8027d6ddd70366d1:
3318 Change `set -x` in coverage to be set by var
3319 + fe4daea99c8cd163793eca84bfb12c8fc437616b:
3320 Bump minimal JDK install base maximum size from 290 to 295 MB.
3321 + 4840a68cd273a429e46d4114a3973fd11d0e3583:
3322 Remote: Check the return value of ActionOwner.getLabel() since
3323 it could be `null`.
3324 + 14abe4fd7c3967686a3536939fdc3882e691bca2:
3325 Allow `DiffAwareness` to share precomputed information about the
3326 workspace and propagate it to the `WorkspaceStatusAction`.
3327 + 082d98772690946ed29c157e60640c97a6e1195b:
3328 Implement available() method for Windows subprocesses.
3329 + c2bdd034014f66ce14529cc353cda18a32320f6c:
3330 Move --repo_env to common options
3331 + e09f2743738044095b9d784ea62df16b7f5750e6:
3332 Revert "Documentation for #13110"
3333 + a165baa250652fdc865ae0df39160be1f7f74c47:
3334 Revert "Clean up RuleContext to use a Table instead of a Map of
3335 Maps."
3336 + 51fb9e13a864f4f704ae378ea632433bae7ddc31:
3337 Revert "Support execution constraints per exec group"
3338 + cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
3339 Revert "Allow exec groups to inherit from the rule or other exec
3340 groups."
3341 + 2ac6581aeaab33ba506fce96dfa6a75eaa819233:
3342 Release 4.1.0 (2021-05-21)
3343 + 7a0f36e3f0a21fed8857efbaa51ded2dbdeefab6:
3344 Change gceMachineType of highcpu platform from n1-highcpu-32 to
3345 e2-highcpu-32
3346 + 19491a91143f0c6132aca62c5ae40ab72e9dc0e2:
3347 Fix #10127: Remove Python 2 dependency from tools/android.
3348 + 80c59dea59d4dce39d4b5d21665c3d7313197358:
3349 fix main repo starlark options parsing - now flags passed on the
3350 command line as --@main_workspace//flag and --//flag will both
3351 parse to --//flag. Before this CL, the former maintained its
3352 workspace prefix and we would get different entries for these
3353 two formats.
3354 + 451b296c3aceb127ebb4a313b6e9608854fa68fa:
3355 Update threshold for long path shortening to be MAX_PATH - 4
3356 + 671e0489a5bd6d5abb4dcd9bcfc85134cee38385:
3357 Force source files to be readable before copying them from
3358 sandbox.
3359 + 6080c1e07f4229ea72eacd04faa9302e44955a84:
3360 Let workers finish lost races without delaying dynamic execution.
3361 + ee738dacb5d0089d3f57b15305057cb9ba675e74:
3362 Fix label_flag and label_setting to not have a dependency on the
3363 default
3364 + 74de0ba4e79341c77b8b85ff4485f92287b6854c:
3365 Java coverage: fix handling of external files
3366 + 48eee8b4b447a2ad11df28dd81a2ccb65562b5f5:
3367 [Bazel] Fix mobile-install for python2
3368 + 763dd0ce6e1644bf895231432f616427a11d385a:
3369 Add `stub_shebang` to `py_runtime`
3370 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
3371 Move use of legacy sandbox -> local fallback to only be used
3372 after all strategies have been tried, and improve messages
3373 around it.
3374 + 6dc941e58dfc1d4a9714a76b921fbe11fce658ed:
3375 Remove restriction on generate_pdb_file to be only used in dbg
3376 and fastbuild mode
3377 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
3378 Check the result of Future.cancel() when cancelling the other
3379 branch of dynamic execution.
3380 + aaae8ce2881c8c1a5d4ad64f20d6e71aa372cf2e:
3381 Update DEFAULT_MACOS_CPU to match host
3382 + 2f0927a4fd9342f4dcfd43475d3f1c90c523584f:
3383 Fix symlink creation on older Windows versions
3384 + fd9cffdcaf05551126e66f1cd62815eaa1af6bd9:
3385 Suppress interrupted status during pool closure
3386 + 33903d28bcea0005adf9b2a8cc4659c5e2999bbe:
3387 Fix Windows developer mode symlinks
3388 + 0cd1666721bdbe988dc361c085bb43cbd41a27f3:
3389 Respect Starlark options with values in `removeStarlarkOptions()`
3390 + 7920ffef472b25db3f4e564e5a3a28a4664c666e:
3391 cquery inherits from `test` not `build`
3392 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
3393 Allow exec groups to inherit from the rule or other exec groups.
3394 + d0676693310215407224c1b8e8aea9e3eddc183d:
3395 Support execution constraints per exec group
3396 + f1e0d346c8235c855e61afc2adb870e4b895e002:
3397 Clean up RuleContext to use a Table instead of a Map of Maps.
3398 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
3399 Documentation for #13110
3400 + e376580ae4e9ad5bddc196bfb6ad3127e3ff561b:
3401 Split ExecGroup into a new target.
3402 + 0cbb8a863522d2f77ab6b67a01e39b19a9a81807:
3403 Create a new interface to allow Starlark objects to get a thread
3404 when getIndex is called.
3405 + d2e21cec31f09b27ef3589f47b0779f34077ca7e:
3406 Renamed ExecGroupCollection to clarify that it is only for
3407 Starlark usage.
3408 + b9519f92f8ce096107164ca5075feced0e989de7:
3409 Make StarlarkExecGroupContext use AutoValue.
3410 + 52b1b748b2368820bac2ca94323fb82c39c00e51:
3411 Use a dummy toolchain context for rules that don't have one.
3412 + 41877d0fefe3f021f3ff6d4ce398d0deb27157e6:
3413 Extract a separate StarlarkToolchainContext for starlark-only
3414 operations.
3415 + b120d4febc571f17e12501ad87fbff32ef94e9bb:
3416 Fix toolchains to support type lookup.
3417 + dc140d0b6119950dd4a7d71b125b15a78bacc8ce:
3418 Move DEFAULT_EXEC_GROUP_NAME from ToolchainCollection to
3419 ExecGroup.
3420 + 9b18d951a52819f1998ddfdc1739fa1b5bf0353d:
3421 Rename ToolchainCollection.getExecGroups to getExecGroupNames.
3422 + 10d4473bf476a587e3d9f9b2214581ec420c1919:
3423 BuildViewForTesting should directly call into
3424 ConfiguredTargetFunction.
3425 + 58a6fb1f8739e39125cc8c647f28cff2e79fe9aa:
3426 Move exec group tests out of platforms_test and into integration.
3427 + 7d5493d922761c3ce0037f0025912cc532c55ad7:
3428 Update creating exec groups that explicitly copy from defaults.
3429 + 8c6382a81237e72dbec24b3850df9481461e0015:
3430 Create a new ExecGroupCollection container to manage exec group
3431 inheritance and exec property parsing.
3432 + b4b0c321910bc968736ef48e8140528ea7d323cd:
3433 Fix unix toolchain for macos arm64 platform
3434 + f64f071f44394a33a1be40cb7642e2c881d1e9bb:
3435 Add `required_providers` attribute to Starlark defined aspects.
3436 + f2cbdcf67ac1990f05a8241ba8dae65795edac82:
3437 Don't ever claim /dev/null is an execpath.
3438 + ceec93c35ead1bd487e96a5fee46e8d080f88858:
3439 Don't ever claim /dev/null is an execpath.
3440 + 1f3f9f4c4b2eded90518aacd1b0b80c1b0dfd1c5:
3441 Use the parent directory of the exec root as the input root on
3442 RBE.
3443 + 4efeac9cb5f85325ed73f64e133a078c483cac01:
3444 Make the Merkle tree computation work in the wake of
3445 https://github.com/bazelbuild/bazel/commit/7149f578006a4ad0d51df6
3446 9830a6986749b34df5 .
3447 + b56a2aa709dcb681cfc3faa148a702015ec631d5:
3448 Remote: Use execRoot as input root and do NOT set working
3449 directory by default.
3450 + ae53991f2e207edacd1352ba94261e2473b79f14:
3451 Remote: Add RemoteExecutionService as a layer between spawn
3452 execution and remote execution.
3453 + 0c07c2e6571dd4806552213b2237ecb7a908afa4:
3454 Remote: Add remoteCacheable key to execution log
3455 + 5e617d83f3aab1fd36b07be4b58aba58604cc46e:
3456 Remote: Register "remote" strategy even if remote execution is
3457 not available.
3458 + 4ca8946a8e1c4c2fd48d8fb8ce38adb8b282fef0:
3459 Remote: Add --experimental_capture_corrupted_outputs flag.
3460 + 97d7b4c277814d73b50450b03f4bb160ce7e99b4:
3461 Remote: Report checking cache status before the action is
3462 scheduled to run remotely.
3463 + ba5b2a7c9448a3681a0d86d80670447e338a06dc:
3464 when writing to local disk cache, open files later in order to
3465 avoid "too many open files"
3466 + 3551898849a93306ad9b4dfdd7d4667913098efe:
3467 Propagate test envs to xml generation action
3468 + 9f8c678d7054548865f56f3464f778c751657074:
3469 Remote: Fix a bug that the XML generation is executed even if
3470 test.xml is generated when build with --remote_download_minimal.
3471 + af42653e6f6bd229142f4678bb256a8c397b4d8d:
3472 Automatic code cleanup.
3473 + 07a84ce31d9b09853c63c7e373418696dd285dc5:
3474 Remote: Another attempt to fix the CancellationException error
3475 in AsyncTaskCache caused by a race condition.
3476 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
3477 Remote: Display download progress when actions are downloading
3478 outputs from remote cache.
3479 + 18c82168433719b400a705a4a0222969a7a026ba:
3480 Remote: Do not upload empty output to remote cache.
3481 + 6a138a60e562beeef36003c4814a6b8ce9f253f6:
3482 Fix compiling errors
3483 + bcce6dd026e90336e80616a8c1004a79a2f8640c:
3484 Add the TEMP_FAILURE_RETRY macro to linux-sandbox-pid1.cc.
3485 + c8c0d94a49e1b865d95c6d245c2d152c7c7c9722:
3486 Export proguard specs from aar_import
3487 + 1a0285c3b64b121268ced3eb9ad9d5ba396b4905:
3488 Fix stripping of macOS loadable bundles
3489 + 0d3c231f5a08861d28e987703e9196890e6164bf:
3490 Roll forward config_setting visibility enforcement behind a flag.
3491 + bb7a01027242390da1c18fbf87c274cc34c11b79:
3492 Fix merge conflicts.
3493 + 8b8e77ea226aaa12e79580422bc5984e80ce048b:
3494 Remove redundant declaration.
3495 + 7c92cfcf9a88933c29334f6271ad3f086f7f36f4:
3496 Ignore empty virtual artifacts when spawn-logging inputs.
3497 + 4158b61211e099db780565d064a1c1a80c91bd2a:
3498 Use correct exit code on invalid aquery --output
3499 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
3500 Remote: Fix a race when reporting action progresses.
3501 + 0e652737988e3c115e98e1552f6fada52bc2b9a2:
3502 Change MIN_BUILD_TOOLS_REVISION to 30.0.0
3503 + 6f9909c04b1e00faa510b38ccabac78821046cf9:
3504 Update Android remote tools to ensure Bazel uses the latest
3505 Android tooling that has been updated to support AndroidX
3506 databinding generation.
3507 + 31d88c629dff2c5f8e8a4baf8c89fd3349c9783e:
3508 Automated rollback of commit
3509 9a1d428e33bfae1ec5b68250d4732b72346b8b39.
3510 + 951a3023fbcdbe025e350590e6fa86097da3fe05:
3511 Increase allowed size of the install_base.
3512 + a7845f65befbeb65a28ec53e62458211a7bc3f8e:
3513 Increase allowed size for install base again.
3514 + affc27f9d18f9781437e91a3f36c73962a56f261:
3515 Bump version of java allocation instrumenter.
3516 + 7efabba19cf6400bf9e707f53b40a6dd7110fafb:
3517 Reference the correct version of the java allocation
3518 instrumenter.
3519 + 9055c67b17abf5fed487ae44d0e22f1c6ea1e50c:
3520 Support extracting aar files.
3521 + 861c3caa85e47da35a8a4f1512e57d43b9263c37:
3522 Revert "Remote: Fix a race when reporting action progresses."
3523 + 92ec798ddc1f38fb4868af08c1d818639283f501:
3524 Revert "Remote: Display download progress when actions are
3525 downloading outputs from remote cache."
3526 + ce091abb290d1d753f480cdee0e69748eb20db52:
3527 Revert "Fix compiling errors"
3528 + 1b19cd310418b850e8e0ca2086ffe50755c9ed7e:
3529 Revert "Remote: Fix a bug that the XML generation is executed
3530 even if test.xml is generated when build with
3531 --remote_download_minimal."
3532 + 988b56f5916e024d10695797a7f963b30fc998c7:
3533 Revert "Remote: Report checking cache status before the action
3534 is scheduled to run remotely."
3535 + 35c98d07b21785efae57a7c4230cc1e452f74fd2:
3536 Revert "Let workers finish lost races without delaying dynamic
3537 execution."
3538 + c4e22b9ace07f5d360c5327a38f9ae4ab24b7109:
3539 Migrate ExampleWorker to use WorkRequestHandler.
3540 + 230be161176bd6f1251077af7674f80d38ff1e25:
3541 Do not interleave readdir() calls with deletion of directory
3542 entries.
3543 + 3cc8ce6ba0934b1a4d9db184daf055c1207ef105:
3544 Propagate OOME if NewByteArray allocation failed
3545 + 19fc15ebbf6c63fcce90a038e91c5ec726852848:
3546 Create helper method for sandbox tests, transform existing tests
3547 into using it.
3548 + deb1006c0778692f7eaef4cbcf7eeb8112b55e91:
3549 Cleanup: Replace NULL with nullptr
3550 + f4b5e0233341977aaa76593ca032d9ac4eba7444:
3551 Let workers finish lost races without delaying dynamic execution.
3552 + 186decab01ee247c7453baf19dac778545ec4937:
3553 Interface and flag specification for worker cancellation.
3554 + 5894a8544d51c99f1356130b8b487bc93299fedd:
3555 Create BUILD file in worker tests directory instead of running
3556 tests from the parent directory.
3557 + e9e6978809b0214e336fee05047d5befe4f4e0c3:
3558 Server-side implementation of worker cancellation.
3559 + 5103662238f2df2038c7dff079e9c655e08ba654:
3560 Add builder for WorkRequestHandler.
3561 + 1a519bb66c3fa3e4ef3b9a9a556597920751fbcd:
3562 Makes singleplex requests be handled in separate threads in
3563 WorkRequestHandler.
3564 + 779d66019210f54e10a1343ee004df72a8dec812:
3565 Only allow worker async finishing when sandboxed.
3566 + a698bef6146a807fd82ee4402d89c23c83802e33:
3567 Support for cancellation in WorkRequestHandler.
3568 + 9dc95af4c7ef10979f21173260f5433006116096:
3569 Make workers restart on flags that affect their
3570 creation/behaviour.
3571 + 7e5cd529e9f8c9cb67900af36182f00ef7316654:
3572 Remote: Report checking cache status before the action is
3573 scheduled to run remotely.
3574 + 6e134a1b68418fba9992692901efa77a80c346f7:
3575 Remote: Fix a bug that the XML generation is executed even if
3576 test.xml is generated when build with --remote_download_minimal.
3577 + d4d071401acadb0d8977850a9439474e60fd7bb9:
3578 Fix compiling errors
3579 + 2579c9a18360955699d028426b45d381ff53783c:
3580 Eagerly initialize JNI copies of Java classes: doing lazy
3581 initialization on a per-method basis doesn't save anything and
3582 adds a tiny bit of overhead to every one of these calls.
3583 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
3584 Remote: Display download progress when actions are downloading
3585 outputs from remote cache.
3586 + 3835d9b21ad524d06873dfbf465ffd2dfb635ba8:
3587 Update the WorkRequestHandler to use callbacks of type:
3588 BiFunction<WorkRequest, PrintWriter, Integer>: - Mark
3589 constructors that use BiFunction<List<String>, PrintWriter,
3590 Integer> callback as deprecated. - Use a wrapper class for the
3591 BiFunction<WorkRequest, PrintWriter, Integer>. Suggesting this
3592 to avoid having two constructors that takes a BiFunction, as it
3593 creates a confusion between the deprecated and new constructor
3594 when given a lambda expressions.
3595 + 5e352afe2b35487ea2ced85ca79bd9f79858e648:
3596 Fix bug in WorkRequestHandler's handling of singleplex requests
3597 that would cause occasional hangs.
3598 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
3599 Remote: Fix a race when reporting action progresses.
3600 + c9d823e42796962eed039b8122528c2a1541190f:
3601 Disable flaky test.
3602 + e6809c90ecc0ef5783faa39e63188fc33a79b80e:
3603 Revert "Check the result of Future.cancel() when cancelling the
3604 other branch of dynamic execution."
3605 + be4cbc7a67196414e3d3f323be8ab55fb5e530f7:
3606 Revert "Move use of legacy sandbox -> local fallback to only be
3607 used after all strategies have been tried, and improve messages
3608 around it."
3609 + b32349f50ff3d958613aef9275751ad9d50d344c:
3610 Set a fallback dynamic local strategy even when the
3611 dynamic_local_strategy flag is passed.
3612 + f395157c95692565bc220c7ccf788974fe0885fd:
3613 Allow running an extra spawn for local branch of dynamic
3614 execution.
3615 + 039461c76113ab3f165132dd26d0c58eb3e45cae:
3616 Adding debugging information for case when two branches
3617 apparently cancel each other.
3618 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
3619 Move use of legacy sandbox -> local fallback to only be used
3620 after all strategies have been tried, and improve messages
3621 around it.
3622 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
3623 Check the result of Future.cancel() when cancelling the other
3624 branch of dynamic execution.
3625 + 1962a59a5478f5ad374700b0abf0a718b1b3a7d3:
3626 Fix the case where if all strategies for one branch of `dynamic`
3627 execution fail to accept (that is, refuse to even take) the
3628 action given, the whole action fails. Instead of seeing whether
3629 the other branch can run and the action that that it succeeded.
3630 + b7c1ad2aff91105659299723a712b72eea943040:
3631 Fix rare crash in dynamic execution where both branches got
3632 cancelled.
3633 + 2c3cff5422b115d7bb86ed28a056f3d368ebceeb:
3634 Check if `treeDeleter` is actually async before casting it.
3635 Fixes #13240.
3636 + 1a89ce1757e75f8ba9bda76d7373a7e8527bcfc5:
3637 Make worker JSON protocol properly ignore unknown fields.
3638 + 4b12fc80abf4152815f09e473a972e52a1fe8b51:
3639 Fix test_source_file_does_not_override_standard_library to work
3640 with Python 3.9.
3641 + f4e10367df2d881f05e3ddd5bd0531b390a845fe:
3642 Removing line ending matches in tests to be compatible on Windows
3643 + ba74df07ced96226d78851e11d1df03147f1cc1f:
3644 Refactors CompilationSupport for objc to use existing API
3645 + a04cb1bfad4734f801c48bae3070a799067bda4e:
3646 Release 4.2.0 (2021-08-18)
3647 + ba8678077024e1b4e5d7419c758a97e8dc9fceea:
3648 Revert "fix main repo starlark options parsing.
3649 + 9f67cdf3d51c05bc2209786aa24b72658b61362c:
3650 cquery: disable `--build_tests_only`.
3651 + 02ad3e3bc6970db11fe80f966da5707a6c389fdd:
3652 Release 4.2.1 (2021-08-30)
3653 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
3654 Enable user_link_flags_feature for macosx cc_toolchain_config
3655 + af74287f125b93119415ba35429b8638d7a986ea:
3656 Remote: Limit max number of gRPC connections by
3657 --remote_max_connections. (#14318)
3658 + 639f89d7682cadff723ac210fa37101f37762a9d:
3659 Fix [Prepa] actions stuck in active state
3660 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
3661 Delete marker file before fetching an external repository
3662 + e6c8e8d1ba89df5cf624e7147cee6b8246a9a490:
3663 CI configs: switch centos to centos7_java11_devtoolset10
3664 + 15371720ae0c40ffc97b74c871d1b38851ef6410:
3665 Release 4.2.2 (2021-12-02)
3666 + f64b7553607e1d3572611cc5011c498e3cd4505c:
3667 [4.2.3] Update GrpcRemoteDownloader to only include relevant
3668 headers. (#16450) (#16459)
3669 + ad6d3d59ab6706999fe9e604f350bdcbfe501db2:
3670 Release 4.2.3 (2022-10-18)
3671 + 12f79d36d52fa0ab5e590a2c6c181162c19e0c7f:
3672 [4.2.4] Disable some failing tests (#18046)
3673 + 1f2b3ed4ac717b814d02a0d125f160ddabe78003:
3674 Patch zlib to fix compatibility with latest Xcode
3675 + 9fef2346027fdaa130768c042380d4cdc28e66b6:
3676 [4.2.4] Bump minimum supported macOS versions to 10.13 (#18047)
3677```
3678
3679Incompatible changes:
3680
3681 - GrpcRemoteDownloader only includes relevant headers instead of
3682 sending all credentials.
3683
3684 Closes #16439.
3685
3686Important changes:
3687
3688 - Multiplex persistent workers can now use the JSON protocol.
3689 - enforce config_setting visibility. See
3690 https://github.com/bazelbuild/bazel/issues/12932 for details.
3691 - The minimum Android build tools version for the Android rules is
3692 now 30.0.0
3693 - Updates worker protocol with cancellation fields, and adds
3694 experimental_worker_cancellation flag to control cancellation.
3695 - If all strategies of one branch (the local or remote execution
3696 branch) of the `dynamic` strategy fail to even accept (via the
3697 response they give from `canExec`) the action, `dynamic` will now
3698 try to see if the other branch can accept it. (Trying to run it
3699 and it failing will still cause a failure if it was the first
3700 result, this is about strategies claiming they can't even try the
3701 action)
3702
3703This 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.
3704
Bazel Release System0210e452023-04-19 15:04:00 +00003705## Release 5.4.1 (2023-04-19)
Bazel Release System166a3652023-04-18 20:40:29 +02003706
3707```
Bazel Release System0210e452023-04-19 15:04:00 +00003708Baseline: 8d66a4171baddcbe1569972f019e54130111202c
Bazel Release System166a3652023-04-18 20:40:29 +02003709
3710Cherry picks:
3711
Bazel Release System0210e452023-04-19 15:04:00 +00003712 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
3713 Remote: Cache merkle trees
3714 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
3715 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
3716 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
3717 Compile Apple tools as fat binaries if possible
3718 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
3719 Add protobuf as a well known module
3720 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
3721 Remote: Merge target-level exec_properties with
3722 --remote_default_exec_properties
3723 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
3724 Add -no_uuid for hermetic macOS toolchain setup
3725 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
3726 Remote: Fixes an issue when --experimental_remote_cache_async
3727 encounter flaky tests.
3728 + 77a002cce050e861fcc87c89acf7768aa5c97124:
3729 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
3730 has …
3731 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
3732 Fixes for the Starlark transition hash computation (#14251)
3733 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
3734 Do location expansion in copts of objc_library
3735 + 50274a9f714616d4735a560db7f617e53fb8d01b:
3736 [5.x] Remote: Add support for compression on gRPC cache (#14277)
3737 + 61bf2e5b5181cbe34a2f0d584053570943881804:
Bazel Release System166a3652023-04-18 20:40:29 +02003738 Automated rollback of commit
Bazel Release System0210e452023-04-19 15:04:00 +00003739 34c71465f84fa780217926db2e8e5ca3d6d4568c.
3740 + 79888fe7369479c398bafe064daa19a7ae30f710:
3741 Silence a zstd-jni GCC warning.
3742 + 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
3743 Remote: Limit max number of gRPC connections by
3744 --remote_max_connections.
3745 + fd727ec96d861573dcbad3249d727a94eff84789:
3746 Do location expansion in copts of objc_library
3747 + 23d096931be9b7247eafa750999dd7feadde14c1:
3748 Fix _is_shared_library_extension_valid
3749 + 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
3750 Remove merging of java_outputs in JavaPluginInfo.
3751 + cea5f4f499aa832cf90c68898671869ce79d63f2:
3752 Cherrypick Bzlmod documentation (#14301)
3753 + 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
3754 Format work requests according to ndjson spec
3755 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
3756 Enable user_link_flags_feature for macosx cc_toolchain_config
3757 + 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
3758 Remote: Use Action's salt field to differentiate cache across
3759 workspaces.
3760 + f94898915268be5670fb1e93a16c03e9b14d2a58:
3761 [5.x] Remote: Fix "file not found" error when remote cache is
3762 changed from enabled to disabled. (#14321)
3763 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
3764 Delete marker file before fetching an external repository
3765 + c05c6261cdb2cacb7c9881c255c0ada435ab5182:
3766 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
3767 + d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
3768 Fix remote spawn tests for remote_merkle_tree_cache=true
3769 + 59e16e944200555da377799aa0d9e8d0674d2e27:
3770 Show skipped tests as a warning
3771 + 76b3c242831f8e88835e3002a831a185a41fcc52:
3772 Build xcode-locator as a universal binary
3773 + aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
3774 Exit collect_coverage.sh early if LCOV_MERGER is not set.
3775 + 4256d46327bad8638df91be1a5d4ef83b12b74c7:
3776 Automated rollback of commit
3777 d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
3778 + dce24350befd08216b3910ae343670015444ff81:
3779 [apple] fix issues compiling C in objc_library for watchos/armv7k
3780 + bfc24139d93f8643686d91596ba347df2e01966a:
3781 5.x: Remote: Ignore blobs referenced in BEP if the generating
3782 action cannot be cached remotely. (#14389)
3783 + 5aef53a8884038f3c9f06e6dddb9372196253378:
3784 Remote: Don't blocking-get when acquiring gRPC connections.
3785 (#14420)
3786 + 005361c895da334beb873901e93aff06d180256e:
3787 Disable IncludeValidation for ObjC in bazel
3788 + d703b7b4f09fb3c389f99e52bac1f23930280b56:
3789 Update java_tools v11.6
3790 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
3791 Stop remote blob upload if upload is complete. (#14467)
3792 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
3793 [5.x] Make remote BES uploader better (#14472)
3794 + 2edab739e1f61fe8813230b03396ca46f0790089:
3795 Avoid too verbose warnings in terminal when cache issues
3796 + 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
3797 Rename --project_id to --bes_instance_name
3798 + c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
3799 Automated rollback of commit
3800 bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
3801 + b341802700484d11c775bf02d80f43ba3f33b218:
3802 [apple] support watchos_arm64 in toolchain
3803 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
3804 Disable implicitly collecting baseline coverage for toolchain
3805 targets.
3806 + 302971e1b3d803069ac949c0085c0d2a3916c8ab:
3807 Automated rollback of commit
3808 7d09b4a15985052670244c277e4357557b4d0039.
3809 + 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
3810 Bzlmod: Starlarkify default attr values for TypeCheckedTags
3811 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
3812 Fix build after rc4 cherrypicks (#14581)
3813 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
3814 Release 5.0.0 (2022-01-19)
3815 + 486d153d1981c3f47129f675de20189667667fa7:
3816 Find runfiles in directories that are themselves runfiles
3817 + 0de7bb95022057e8b89334f44759cf6f950e131f:
3818 Don't resolve symlinks for --sandbox_base
3819 + 8b60c90f3641591b65c4e153113aea562f1fab94:
3820 Remove uses of -lstdc++ on darwin
3821 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
3822 Allow Label instances as keys in select (#14755)
3823 + 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
3824 Remote: Only waits for background tasks from remote execution.
3825 + 8734ccf9847eafb7193388cd9c6fa78faa78283f:
3826 Add the default solib dir to the rpath for cc_imports with
3827 transitions
3828 + 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
3829 Flip --experimental_worker_allow_json_protocol
3830 + fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
3831 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
3832 cpu for tools when host cpu and exec cpu are different
3833 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
3834 Propagate --experimental_cc_implementation_deps to host config
3835 + 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
3836 Support select() on constraint_value for aliases.
3837 + 67a133b431ccece22b7dd9a72f0837cff77d4360:
3838 Improve documentation for select()
3839 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
3840 Cherrypicks for experimental cc_shared_library (#14773)
3841 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
3842 [apple] support tvos_sim_arm64 in toolchain (#14779)
3843 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
3844 Cherry pick win arm64 (#14794)
3845 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
3846 [5.1.0] cherrypick subpackages support (#14780)
3847 + 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
3848 Add a helper method for rules to depend on the cpp toolchain
3849 type.
3850 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
3851 UrlRewriter should be able to load credentials from .netrc
3852 (#14834)
3853 + 32d1606dac2fea730abe174c41870b7ee70ae041:
3854 Add "arch" struct field to repository_os
3855 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
3856 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
3857 + c2ddbd1954af5baab63b93f2b055a410a27832c8:
3858 Ignore missing include directory in JDK distribution.
3859 + 16de03595e21f7bf31818e717505b23c953b3b7d:
3860 Fix bazel coverage false negative
3861 + 0c74741742301abcf67452a7f591daec1c3a7635:
3862 Remote: Postpone the block waiting in `afterCommand` to
3863 `BlockWaitingModule` (#14833)
3864 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
3865 Switch to `ProcessHandle` for getting the PID (#14842)
3866 + a987b98ea0d6da2656c4115568ef9cbe8a164550:
3867 Fix uses of std++ on bsd
3868 + d184e4883bb7fc21de2f7aeea4304994de27e9ea:
3869 Remote: handle early return of compressed blobs uploads
3870 + 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
3871 Add removeprefix/removesuffix to Starlark strings
3872 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
3873 Fix default CPU for macOS and iOS (#14923)
3874 + cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
3875 Add paramfile support for def_parser, since in rare cases on
3876 Windows command line character limit was reached.
3877 + 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
3878 Normalize rpath entries to guard against missing default solib
3879 dir
3880 + 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
3881 Fix aggressive params file assumption
3882 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
3883 Fix precompiled libs not in runfiles of cc_shared_library
3884 (#14943)
3885 + 764614e0f0287125269e7a92e909a44624bcb360:
3886 Bzlmod: Allow multiple `use_extension`s on the same extension
3887 (#14945)
3888 + fa761f84994f18db383fbe9aaea524e4385da13a:
3889 Fix typo in `apple_common.platform` docs
3890 + f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
3891 Yield a Proxy for addresses without protocol
3892 + 8cefb8bed4ac82df8640682517372a9249732352:
3893 Avoid merging URLs in HttpUtils
3894 + b4804807fc2c184cc36df9e69e472942c01941b8:
3895 Make protocOpts() public. (#14952)
3896 + 113eaca5862c48797654ae2a3acbb6e15d761485:
3897 Do not hide BulkTransferException messages when there were more
3898 than one exception
3899 + b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
3900 merkle_tree_cache: change default size to 1000
3901 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
3902 Add --experimental_repository_cache_urls_as_default_canonical_id
3903 to help detect broken repository URLs (#14989)
3904 + f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
3905 Expose the logic to read user netrc file
3906 + b858ec39aebd7e586af5438aa2035db2adebf9a4:
3907 Correct cpu and os values of `local_config_cc_toolchains` targets
3908 + 5e79972c05d89280f0cf1fa620f807366847bac6:
3909 Expose CoverageOutputGenerator on a Fragment (#14997)
3910 + 78f03110e0dab42f37e427fd524e72706e036d74:
3911 Correct error runfiles cc_shared_library (#14998)
3912 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
3913 [5.1] Adding Starlark dependencies to the package //external
3914 (#14991)
3915 + a73aa12be65454ac8cfb5a8f3e056c420402f997:
3916 Remote: Fix crashes with InterruptedException when using http
3917 cache.
3918 + f8707c07f153ac4ac2ec4b210321f1a16343006d:
3919 Account for interface libraries in cc_shared_library
3920 + a570f5fdb1618a6c272d18bebaa712d3b2af3975:
3921 Fix coverage runfiles directory issue
3922 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
3923 Do not validate input-only settings in transitions (#15048)
3924 + 71747ccc9d0032a865854613329362563c0574df:
3925 Filter out system headers on macOS.
3926 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
3927 Update Bazel bootstrap documentation and remove obsolete flags.
3928 (#15065)
3929 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
3930 [5.1] Undocument --bes_best_effort (#15066)
3931 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
3932 Fix conflicting actions error when specifying
3933 --host_macos_minimum_os (#15068)
3934 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
3935 [5.1] Remote: Action should not be successful and cached if
3936 outputs were not created (#15071)
3937 + 00d74ff737cccd60305ee58d85313556a077152a:
3938 Support decompressing zstd tar archives for repository rules.
3939 + f5857830bb68bd05ffc257506575ed37a8128933:
3940 Remote: Don't check TreeArtifact output
3941 + efb2b80953983dce499d453a9f55a74ffaf8c42d:
3942 osx_cc_wrapper: Only expand existing response files
3943 + c771c43b870fb8618db7bdab6725ab40cac4976d:
3944 Remote: Fix crashes by InterruptedException when dynamic
3945 execution is enabled. (#15091)
3946 + 3785677cc84fc4024fda85575c05efbde5d512fc:
3947 Use python3 on macOS
3948 + 815d9e499a32fd4d87525ac0c698c293cf26433d:
3949 Release 5.1.0 (2022-03-24)
3950 + 1fbb69e366034484887e00c6006c7b79508765ed:
3951 Prepare 5.1.1 release
3952 + df153df9656e0e197f67622bb11f7d77e19238a0:
3953 Fix CODEOWNERS syntax
3954 + 2b92a3111e83a4d14934059afd0f51161a41276f:
3955 Remote: Don't check declared outputs for failed action
3956 + b47aa71b21d93c9499103e9a37a6c2ffa79865b9:
3957 Upgrade abseil version to the latest
3958 + c49c45d8dac87d21cf2b6a176ddd07f2c9f63414:
3959 Revert default export all symbols on Windows
3960 + 7d3fb993f55b35081786c3fe00cf3bebb89574f3:
3961 Support ZIP files with total number of disks = 0
3962 + 0f5dc111be06b2ee8694640f400b58e12bfa5fea:
3963 Release 5.1.1 (2022-04-08)
3964 + 2422cfb3e5d92d46f9065b2b1e442823a965faf7:
3965 Update CODEOWNERS
3966 + bbcff1802423fca7ee5bd6a3e527c12d6d7d80ba:
3967 [5.2.0] Update java_tools 11.7.1 (#15231)
3968 + 9c98120f33579b72561e02826d9fccf222eccb3c:
3969 Add support for .ar archives (and .deb files)
3970 + d3435b09d89f25bf5008ef3b9c870c835d51a8da:
3971 Seperate GetSelfPath implementation for Blaze and Bazel
3972 + c94572bea5ce6bdc0ccda9789e5be6fb3f4c173b:
3973 Include jdk.crypto.mscapi in minimized Windows embedded JDK
3974 + 299022ca2dc49b6cb27b2674f933755306ae8b9b:
3975 remote: Proactively close the ZstdInputStream in
3976 ZstdDecompressingOutputStream.
3977 + 27707995cc6576ed1f51fbdb199ff8512e8418c9:
3978 Collect coverage from cc_binary data deps of java_test
3979 + 3442179d240e01ef13b0fa7814db7366bad5ffac:
3980 Configure Apple crosstool to return a complete target triple
3981 that includes minimum OS version and target environment
3982 + bb6f1a7ce79168055ccd62629da07d46a52b930d:
3983 Collect C++ lcov coverage if runtime object not in runfiles
3984 + dbb6e9954b6e4423f727feb2719ffc75a93b514b:
3985 Fixing dependencies of //external package
3986 + f0213bbf730c4a5d1a31e65bc9c01fbb55a6edb3:
3987 [5.2] Upgrade Google Auth Version (#15383)
3988 + a1a74c9919e03e09ef7c6ae13f38f48eea80ead1:
3989 Fix chocolatey package - docsUrl must not 404 (#15395)
3990 + fe644bee95c14d461e0d1e3cccaa8bbcd57bcd8d:
3991 Fix cache leak when applying transitions when only a rule's
3992 attributes change.
3993 + ad74d5243917bb27a37e38d151a4a3c8a49947eb:
3994 Fix checking remote cache for omitted files in buildevent file
3995 (#15405)
3996 + ac219103d8798965b775db548d7b9214ecd78f73:
3997 fix(bzlmod): throw on json parse exception
3998 + 3d85b88609a362857d8ee3c0432a37d30268a8a2:
3999 Add a flag to expose undeclared test outputs in unzipped form.
4000 (#15431)
4001 + abd7a9f70c3dfe96724a692dc7dc04ff33bdece1:
4002 Remove -U_FORTIFY_SOURCE when thin_lto is enabled (#15433)
4003 + 53b9cb8637c0faddc6b122a1daab72bcc274bdec:
4004 Catch NumberFormatException while trying to parse thread id.
4005 + 19740b55ebc283b7ec42b359bcd4c9096facfdd5:
4006 Improve the --sandbox_debug error message
4007 + 0a2a43f9aab1e3875f03f643f6414eb67834c883:
4008 Set keywords on appropriate lifecycle events.
4009 + 394ddb82b311ea7edbe2522736b0b0202903ddb6:
4010 Record additional profiling information for remotely executed
4011 actions.
4012 + 652b48e567fcb30768dfc2eddee5f04bf6b5d65b:
4013 Fix downloading remote execution output files inside output
4014 dirs. (#15444)
4015 + 73f1ecbc1cb00e16ceda4b582f4d57268f8701cd:
4016 Fix android emulator darwin_arm64 select
4017 + 2649c7c4adef0ebf9bca8fe46aa97304b22de522:
4018 Fix --use_top_level_targets_for_symlinks with aliases (#15446)
4019 + fa1081c1f3dce7324a1da59c40d1a1a3533c7047:
4020 Filter libtool warning about table of contents
4021 + 26f878325e915e0905626a0e4c8bbacffd72f875:
4022 Unify sandbox/remote handling of empty TreeArtifact inputs
4023 (#15449)
4024 + 6b21b7773157a1eebd3dfe79ff4c4ee750059daf:
4025 Revert "Fixes incorrect install names on darwin platforms"
4026 + e133e66f715bac17bf5848e4440c089a8c8d3fd9:
4027 config doesn't error on duplicate `--define` values (#15473)
4028 + 84d59176622b76223828e61709179dbd5f0c9f8d:
4029 Collect coverage from cc_binary data deps of py_test (#15298)
4030 + 519d2daacfff3de6ffabfc5827621fa835e1c815:
4031 SolibSymlinkAction does not need exec platform or properties
4032 + 6e54699884cfad49d4e8f6dd59a4050bc95c4edf:
4033 Let Starlark tests inherit env variables (#15217)
4034 + 9610ae889e6fd45280c5beb7fe8f5bef2d736878:
4035 Update PythonZipper action to use CommandLineItem.CapturingMapFn
4036 + 2f1ff6fa17c3c30b2533bffe81f40eab06b453b9:
4037 Make `coverage --combined_report=lcov` skip incompatible tests
4038 + 9fad5a3dc93cd436a5712c46e6c98d3995428ddb:
4039 Disable ReturnValueIgnored checks to unblock java_tools release
4040 + 0120118893261968bdf116ef215655c428428fa8:
4041 Bump the limit of Bazel install base size (#15585)
4042 + 668805aace9bf96f78595fc2a122027a3000ceac:
4043 Upgrade zlib to 1.2.12
4044 + 4d900ceea12919ad62012830a95e51f9ec1a48bb:
4045 [5.2] Remote: Fix a bug that outputs of actions tagged with
4046 no-remote are u... (#15453)
4047 + b703cb9b999e243d776b7620468e48f450c0ce3a:
4048 Add feature to produce serialized diagnostics files (#15600)
4049 + 2e8458b7810eab7829fc7d28af5c45b9af91ed7c:
4050 Release 5.2.0 (2022-06-07)
4051 + 536f8d97991d891fc7db333af1a5262497d85173:
4052 Fix fail message construction in cc_shared_library
4053 + 2d42925ae80c0fb007aa39f4e210122611897255:
4054 Define cc-compiler-darwin in Xcode toolchain
4055 + a1d7d1f69f82da1bdfa1cebd32356249127aea3b:
4056 Fix alwayslink in objc_import
4057 + d273cb62f43ef8169415cf60fc96e503ea2ad823:
4058 Unify URL/URLs parameter code across http_archive, http_file,
4059 http_jar
4060 + fea32be42928c84463aa1f335b5722a1f6b8c93a:
4061 Preserve --experimental_allow_unresolved_symlinks in exec cfg
4062 + e4bc370b226eb0cc536b55641640266345a214ec:
4063 Ck/cherry pick cc shared library (#15754)
4064 + dbdfa07e92f99497be9c14265611ad2920161483:
4065 Let Starlark executable rules specify their environment (#15766)
4066 + e2a6a2b130552db7521d3d4d854b9a651b1f4a3b:
4067 Fix string formatting when java_home path is missing.
4068 + d54a288e6c79c740b9c93dfc31ee345d6a5332af:
4069 Optionally enable LLVM profile continuous mode
4070 + ad17b44cdc192277fafb0d0e204962b2b924dba8:
4071 Print remote execution message when the action times out (#15772)
4072 + 240e3d1e1dbc74c7753dead6421d7c1b5fc28d09:
4073 Add missing line to cherrypick
4074 e4bc370b226eb0cc536b55641640266345a214ec (#15784)
4075 + 804b4747152a59bc2965be2db85839b8b2764fc7:
4076 Replace strdupa with strdup
4077 + 62be9ea29295fab5289bd5d1a0f13dc7d55a8bc0:
4078 Bzlmod: Better canonical repo names for modules with overrides
4079 (#15793)
4080 + d4663a1c950d618c5b15a3e00fb733987cbf45cc:
4081 Add repo env test (#15768)
4082 + 594962cb283dcd71b736e0450453903911a8c85a:
4083 Add is_root struct field to bazel_module (#15815)
4084 + 3dd2b932d42fe86112899550d21452409cb3c4b0:
4085 Fix null pointer crash with `bazel coverage` on only
4086 incompatible tests
4087 + 4175018b47800db28c390d39fefbd266b5d674bd:
4088 Add util for finding credential helper to use
4089 + 3ea9eb2e363860c9305a987fa22a059afd35598d:
4090 Merge ManifestMergerAction-related commits into release-5.3.0
4091 (#15824)
4092 + 64571a428ffe2bf09f1a5eea13e770a7d0381620:
4093 Ck/cherrypick 15669 (#15788)
4094 + 1404651cafe5c26c5dae469e9126de53c2f4f024:
4095 Create output directories for remote execution (#15818)
4096 + ae523f82d39daf01cf31e40733de0c6345f0935c:
4097 Use tree artifacts in bootclasspath rule
4098 + 37f181cb6ed0237f43d81159eb81b19d3b5f8e36:
4099 [credentialhelper] Add types to communicate with the subprocess
4100 + 06ca634e10f17023022ab591a55aabdd9fb57b12:
4101 Add a flag to force Bazel to download certain artifacts when
4102 using --remote_download_minimal (#15870)
4103 + d35f923b098e4dc9c90b1ab66b413c216bdee638:
4104 RemoteExecutionService: fix outputs not being uploaded
4105 + 78af34f9f25b0c8fbf597a794a5162f0014629c5:
4106 Cherry-pick proto_lang_toolchain Starlarkfication and
4107 proto_common module (#15854)
4108 + afb434da9da79b53da1ea4c7bcc00571dbea6d3f:
4109 Fix behavior of `print()` in module extensions
4110 + 6714c30507edc70ec84f8c97d47cffc497356c0b:
4111 [credentialhelper] Implement invoking credential helper as
4112 subprocess
4113 + 0f05904171d187e6abacb431b3d7494423b027ab:
4114 Add register_{execution_platforms,toolchains} directives to
4115 MODULE.bazel files (#15852)
4116 + 33516e27dc6ee6ab5c3b9dee739a267b08d26b6c:
4117 [remote] Improve .netrc test in RemoteModuleTest
4118 + aa2a1f3afe2f10baab5befcafb39df14cbffc743:
4119 Fix ZipDecompressor windows 0x80 (file attribute normal)
4120 + 30f16e53cb36a5d506665be7553e785d52772e2d:
4121 Replace uses of `cfg = "host"` with `cfg = "exec"` (#15922)
4122 + 2a8d0ad7103511a94382aef41821a315bf8144b7:
4123 target pattern file: allow comments
4124 + 6f732052654ec37192450c795bb28dd0aad559cd:
4125 Add factory for creating paths relative to well-known roots
4126 (#15931)
4127 + 32cc8e638b91816f427b74266f6a8da6fb605419:
4128 Update CODEOWNERS (#15910)
4129 + 63bc14b095f1ea4043024e7fe1f9c476968897c5:
4130 Implement native analysis_test call. (#15940)
4131 + 4df77f771e5cfdf4b614afd8934d00c2b2ff31d1:
4132 Increase osx_cc_configure timeouts
4133 + cdf01a39ab9def4d46f41595ac1ac9206a96d6f8:
4134 Allow string_list flags to be set via repeated flag uses
4135 + 05e758d4bc18fc9d9e189526381a06e4399056a2:
4136 [credentialhelper] Add parser for flag syntax (#15929)
4137 + e4ee34416ef18094496ab54446e70cb62cd509e6:
4138 Docs should mention the new no-remote-cache-upload tag (#15965)
4139 + 96d23d30cc80912b82a8fbab31c902e9db74b6ab:
4140 Add netrc support to --bes_backend (#15970)
4141 + c5bc34e5f1dd92703dd8f15f9f0409c49b778837:
4142 Add CommandLinePathFactory to CommandEnvironment (#15971)
4143 + 508f18576ab5327bd623db6b476511ac2089d0fa:
4144 Move newCredentialHelperProvider into GoogleAuthUtils (#15973)
4145 + 14c944a5386eccbcfbe8389afb6c518582b11270:
4146 Wire up credential helper to command-line flag(s) (#15976)
4147 + 04c373b708390341be4ceb8eb5b2f8561385cb11:
4148 Add `--output=files` mode to cquery (#15979)
4149 + edfe2a17e3434cce660757f59b14f2e9d6ab944e:
4150 Make cpp assembly file extensions case sensitive again
4151 + 4ae85387e69db73e507b4f18b36d3e2f799e5d34:
4152 Prevent aspects from executing on incompatible targets (#15984)
4153 + f440f8ec3f63e5d663e1f9d9614f05a39422102a:
4154 Remote: Fix performance regression in "upload missing inputs".
4155 (#15998)
4156 + 0109031a2818b217b78026055b972da5901656f5:
4157 Updated Codeowners file (#16032)
4158 + 6102d33bf0b72dc0fe9ada4c71113cbee3eb8187:
4159 Propagate the error message when a credential helper fails.
4160 (#16030)
4161 + a8dacc7832b04fe1756cd7adce72f2572f357eee:
4162 Migrate legacy desugar wrapper to new rlocation() (#16025)
4163 + 11368be4ac24108f18b1965162ad27f207c074f9:
4164 Correctly report errors thrown by CommandLinePathFactory#create.
4165 + 82452c7c372fb28485b0b5e0a98b471648f0dfd0:
4166 Fix an issue that
4167 `incompatible_remote_build_event_upload_respect_no_… (#16045)
4168 + e745468461f93839491a4f80d0c1883d9007f9c0:
4169 Fix rpath for binaries in external repositories (#16079)
4170 + 83041b145d3966eb353aacb22b7e33ad01d9a239:
4171 Refactor combined cache. (#16110)
4172 + c62496f7b76da473cb1102798373f552ba2f434d:
4173 C++: Add compound error linked statically but not exported
4174 (#16113)
4175 + 0f18786b09e9729d79c0f14f7843b4d8402b6115:
4176 Do not crash on URIs without a host component.
4177 + 9c0940df3c5962b2291e812600dd71731775d45b:
4178 Add profiler task for calling a credential helper.
4179 + 2ca1ab2c2c73d78021794f3099ee892cc73f515e:
4180 Make bazel_cc_code_coverage_test more robust against GCC version
4181 differences (#16254)
4182 + 1e25152906b668bbe56aa4c1773186af85335315:
4183 Fix local execution of external dynamically linked cc_* targets
4184 (#16253)
4185 + f6cccae5b6f9c0ad0e7d0bf7bd31ea1263449316:
4186 * add change to allow blaze info to skip Starlark build settings
4187 that start with --no prefix * add unit tests for both info and
4188 clean commands
4189 + 59b8b8f4dc098c31a372ad45adc2a48c5f1c4a9f:
4190 Release 5.3.1 (2022-09-19)
4191 + 77f0233420d141e36fbf86a62dff20285c7d8fdc:
4192 Update GrpcRemoteDownloader to only include relevant headers.
4193 (#16450)
4194 + 42ff95a1202cd18cc3348ed6a442de5eb95845bd:
4195 Avoid unnecessary iteration on action inputs.
4196 + d29034e43150f32bb02c2cff3774747e25e97de3:
4197 Update flag `--experimental_remote_download_regex` to accept
4198 multiple regular expressions. (#16478)
4199 + bc087f49584a6a60a5acb3612f6d714e315ab8b5:
4200 Release 5.3.2 (2022-10-19)
4201 + 0b914c6f2a5114f1b81f44bab348fb415177e53e:
4202 Send remote actions to specific worker pools instead of machine
4203 types.
4204 + ece17d5d4e74d67dd869cbd1951ca1001423b472:
4205 Add `$(rlocationpath(s) ...)` expansion (#16668)
4206 + f02bcf8d8b0d00ecdd06ea0a45ba4f52e436597c:
4207 Fix identical gcov json file name problem
4208 + 0696b8a728bd205c1a12cc5a3e0891c87113c95a:
4209 Upgrade google-http-client and google-http-client-gson.
4210 + 42a3dbb2d47a321d746ee0f1f89603da329f5852:
4211 Move analysis_test into testing.analysis_test (#16702)
4212 + b55f3222a5e9d1e4267ccf5cbf71643e8c492b32:
4213 Fix hanging issue when Bazel failed to upload action inputs
4214 (#16819)
4215 + 2f0f3e1253e1086496d4adf1a136b5473db5a693:
4216 [5.4.0] Add integration tests for
4217 --experimental_credential_helper. (#16880)
4218 + 6d2d68d95abedac6a646eafcca04e6856c87ab3c:
4219 [5.4.0] Keep credentials cached across build commands. (#16884)
4220 + 676a0c8dea0e7782e47a386396e386a51566087f:
4221 Update Bazel to depend on bazelbuild/platforms 0.0.5.
4222 + 0ea070be02e21c2418e967e3398251c3abba73e8:
4223 Backport recent package metadata and license check capabilities
4224 from Bazel 6.x. (#16892)
4225 + b51396a52efd8ff90063ac79e5a69b950cefd914:
4226 Add 'toolchain' parameter to actions.{run,run_shell} (#16964)
4227 + 312fcab532a50e63ae89c8d7f06142423bbe3f70:
4228 Release 5.4.0 (2022-12-15)
4229 + 0c4e292c5701f7d284bbe9150163a166243a17a9:
4230 Pin Bazel version to 5.4.0 (#17986)
4231 + 43dadb275b3f9690242bf2d94a0757c721d231a9:
4232 Bump minimum supported macOS versions to 10.13
4233 + 1f2b3ed4ac717b814d02a0d125f160ddabe78003:
4234 Patch zlib to fix compatibility with latest Xcode
4235 + a35f59286a412ab2e1b838f858ee818451c21534:
4236 Use ctime in file digest cache key (#18115)
4237 + e6af231a8fc2e78ef44bb74f5e52517c2d250fca:
4238 [5.4.1] Disable failing tests (#18123)
Bazel Release System166a3652023-04-18 20:40:29 +02004239```
4240
4241Incompatible changes:
4242
Bazel Release System0210e452023-04-19 15:04:00 +00004243 - GrpcRemoteDownloader only includes relevant headers instead of
4244 sending all credentials.
4245
4246 Closes #16439.
4247 - analysis_test moved into testing.analysis_test
Bazel Release System166a3652023-04-18 20:40:29 +02004248
4249Important changes:
4250
Bazel Release System0210e452023-04-19 15:04:00 +00004251 - alias() can now select() directly on constraint_value()
4252
4253 Fixes https://github.com/bazelbuild/bazel/issues/13047.
4254
4255 Closes #14310.
4256 - Fixed an issue where Bazel could erroneously report a test passes
4257 in coverage mode without actually running the test.
4258 - Make protocOpts() publicly accessible.
4259 - Add coverage configuration fragment, used to expose
4260 output_generator label.
4261 - Bazel now no longer includes system headers on macOS in coverage
4262 reports (#14969).
4263
4264 Closes #14971.
4265 - Starlark test rules can use the new inherited_environment
4266 parameter of testing.TestEnvironment to specify environment
4267 variables
4268 whose values should be inherited from the shell environment.
4269
4270 Closes #14849.
4271 - none
4272 RELNOTES:none
4273 - Enable merging permissions during Android manifest merging with
4274 the --merge_android_manifest_permissions flag.
4275 - Added new register_{execution_platforms,toolchains} directives to
4276 the MODULE.bazel file, to replace the
4277 {execution_platforms,toolchains}_to_register attributes on the
4278 module() directive.
4279 - Add support for fetching RPC credentials from credential helper.
4280
4281 Progress on https://github.com/bazelbuild/bazel/issues/15856
4282
4283 Closes #15947.
4284 - `cquery`'s new output mode
4285 [`--output=files`](https://bazel.build/docs/cquery#files-output)
4286 lists the output files of the targets matching the query. It
4287 takes the current value of `--output_groups` into account.
4288
4289 Closes #15552.
4290 - Fix for desugaring failure on Bazel+Android+Windows build
4291 scenario.
Bazel Release System166a3652023-04-18 20:40:29 +02004292 - The new path variable `$(rlocationpath ...)` and its plural form
4293 `$(rlocationpaths ...)` can be used to expand labels to the paths
4294 accepted by the `Rlocation` function of runfiles libraries. This
4295 is the preferred way to access data dependencies at runtime and
4296 works on all platforms, even when runfiles are not enabled (e.g.,
Bazel Release System0210e452023-04-19 15:04:00 +00004297 on Windows by default).
4298
4299 Work towards #16124
4300 Fixes #10923
4301
4302 Closes #16667.
Bazel Release System166a3652023-04-18 20:40:29 +02004303
Bazel Release System0210e452023-04-19 15:04:00 +00004304This 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 +02004305
Bazel Release System9fc5bb52023-04-18 15:24:14 +00004306## Release 6.1.2 (2023-04-18)
4307
4308```
4309Baseline: d60ce2c7c86393638c77698c00c2168a7a936a53
4310
4311Cherry picks:
4312
4313 + 490f8badf4f6f4ae8b96697f08267fdb083ccf5f:
4314 kshyanashree is the release manager of 6.0.0
4315 + 4e66d9340037f0be83d7bc0fdd809a09344ab83f:
4316 Automated rollback of commit
4317 2a2890913eb8f39299aa4b614ba96266ea8749f6.
4318 + 48a8d01b05149757f69a6a65a22a280bf003cd24:
4319 Allow C/C++ coverage collection for external targets
4320 + ec7be346adc00c4bde22d116fca80ef59da66121:
4321 Temporarily set parent directory of the input to writable if it
4322 is not.
4323 + b0984342eef068640a57aab584dd4c118f0dd394:
4324 Infer CPUs for tvOS and watchOS when on Apple Silicon
4325 + 5cea7dda5b632703cf4e0424ba09cd7c5bd6fc06:
4326 Improve the documentation for ctx.actions.symlink.
4327 + a82d26f17a99b5417b2212a0ce3a1bbc0285e5c4:
4328 Add quotes to "Tip"
4329 + 75b0f3aa95bc34f6620ea74e47d4822bd985efdd:
4330 Write a repo mapping manifest in the runfiles directory (#16555)
4331 + 07c5c1aa6d0b63605ae793dce78d26122af64a84:
4332 Ensure repository names don't start with `~`
4333 + 30f6c8238f39c4a396b3cb56a98c1a2e79d10bb9:
4334 Escape tilde more gracefully
4335 + cf3f48ca49f089615417636763d753811acf717f:
4336 Relax `Label` repo visibility validation
4337 + 4477823e2c2bc3d0335c41f971364dda72a3f69a:
4338 Use "apparent name" instead of "local name" in Bzlmod docs
4339 + 55f4f4834ef30321a00dab5b58202dd1e9716fd9:
4340 Bazel DevSite: Add required css file.
4341 + a706994ac69e3f3fed361c61378de847b50d3b12:
4342 Remove logic that increases delay between progress updates over
4343 time
4344 + 1d514ab05896f34ec91c2145f4dffafd3364030f:
4345 Remove references to io_bazel repository
4346 + b0357bd3831b26b5116dc120807e8264acf139db:
4347 Relnotes python script
4348 + 8f956511bb115c39ac683a1e78971fcf9dce5deb:
4349 Allow Java coverage collection for external targets
4350 + bddb191d3f99402330c67b89375409c31ee22daa:
4351 Fix race condition in package-bazel.sh
4352 + a75785279f543f4e33c697dd9e8873a6504b7818:
4353 Decanonicalize labels emitted by {a,c,}query if possible
4354 + 9d250edb63f27f9f4591bb5a71059710cc6dca9e:
4355 Add uniquify parameter to TemplateDict.add_joined
4356 + f02bcf8d8b0d00ecdd06ea0a45ba4f52e436597c:
4357 Fix identical gcov json file name problem
4358 + a1593309f66f892871e334013815b05350b4188f:
4359 Add `$(rlocationpath(s) ...)` expansion
4360 + 56f54daf9ff3b1177eee31e342e8d6b959d5ac34:
4361 Rollup of SBOM correctness fixes (#16655)
4362 + 72e6e948d30dec9dec60d78efef4eeda5b764a8f:
4363 [cc] Add cc toolchain to starlark cc_proto_library (#16661)
4364 + 8f28513893969b6346d965cab12aac69cb246ced:
4365 Make C++ runfiles library repo mapping aware
4366 + 95f9adc5ac544b1161d69a7ca74432479fdc29b3:
4367 Always collect FileProvider's filesToBuild as data runfiles
4368 + 4959d34e844714b793b2c6fa05016a9a6eaa7044:
4369 fix: export constraints.bzl file from @local_config_platform so
4370 it can be used in downstream bzl_library targets
4371 + 4919d4a61d8506d175b25a035500842b8bfe3d0d:
4372 Add --host_per_file_copt (#16695)
4373 + 0a23d46976c3fc999d44fbd1e37732ec2442d485:
4374 Moving some tests for `RemoteActionFileSystem` of BwoB to a base
4375 class.
4376 + 9296068be5e3808eb03a3b61f3af3a2c88f7ab7d:
4377 [remote/downloader] Don't include headers in `FetchBlobRequest`
4378 + 128d833fee99f8a43bc4de82cbec752e4ce6fb47:
4379 [remote] Respect whether the server supports action cache updates
4380 + 38c501912fc4efc14abc0741d19f5f8e8763afcb:
4381 [remote/downloader] Migrate `Downloader` to take `Credentials`
4382 (#16732)
4383 + 5929cb72aa01768e6352898b1a056ef678c81d90:
4384 Stage repository mapping manifest as a root symlink (#16733)
4385 + 455454a56e961affb041a1d4a9214f7f313a05aa:
4386 Expose current repository name to Java with @AutoBazelRepository
4387 + 97dea593e568f776361397f7280d6a16eee2efeb:
4388 Implement getDirectoryEntries and readdir for
4389 RemoteActionFileSystem.
4390 + aa45f5f3301c5005294df084cdf99c45d6f95d53:
4391 Move integration tests for BwoB to a base class and add more
4392 tests there.
4393 + 1b073ac0a719a09c9b2d1a52680517ab22dc971e:
4394 Make Java runfiles library repo mapping aware
4395 + 148bbb1c025a628643698f65627333d86975c1d7:
4396 Use `_repo_mapping` in C++ runfiles library (#16752)
4397 + 25558ada3fb377cfc2c965d3a93250ca28ce0fc1:
4398 Add --experimental_action_cache_store_output_metadata to the
4399 expansio…
4400 + 6e945e8ab422ca0a195d09899cce61ba6c0cfa59:
4401 Treat `DEBUG` events as progress-like.
4402 + 1940c5d68136ce2079efa8ff74d4e5fdf63ee3e6:
4403 redact 'token' strings from logging
4404 + 0b645254b41edc738c6641fd192fca86203ff2e2:
4405 Make Bash runfiles library repo mapping aware (#16753)
4406 + 4caae75b49e815ad2cf1d805f316bc374f03f2ae:
4407 Automated rollback of commit
4408 8f956511bb115c39ac683a1e78971fcf9dce5deb.
4409 + 13ff6d9e37999e00fda9a6cef278c7c924924f34:
4410 Fix Bash rlocation failure with stricter Bash options
4411 + bd88c7e47b911e5fa1f8a3c26d0f8317943c43ce:
4412 Make bazel Android remote deps compatible with bzlmod (#16772)
4413 + 6f6d4cca36a3b64009ed9c8b3fb13cb3c7ed915a:
4414 Flip `--incompatible_always_include_files_in_data`
4415 + 94355b1b1c4f7ef923457b8b2a070e5c6528240a:
4416 Add required `--add-opens` server JVM args also with
4417 non-embedded JDK
4418 + 8349c95fc98beb4008085942a67a57f0c4da074b:
4419 Also collect clang resource directory with
4420 `-no-canonical-prefixes`
4421 + dce6ed777d958d65c7f3d4a2f54f8117778a449e:
4422 Make `bazel run` works with minimal mode
4423 + ca8674cc4879ed1846bf015c33fe7d920a3f66ab:
4424 Include source files with `cquery --output=files` (#16826)
4425 + 9cb5e0a31665d3b3f25bf58ec2dee696e828d8b9:
4426 Fsync before rename after copy in DiskCacheClient
4427 + 23ffce53b92ef96432d8c6c58cc95ac362bab1bc:
4428 Update GetActionResult for disk cache to check referenced files
4429 when …
4430 + 0bc0ff5244142eb3348d42025ce21eeb337ad189:
4431 Make Java runfiles library compilable with JDK 8
4432 + fe169654a29d8ad33105d5d0034a7857834fed5d:
4433 [6.0.0] Default --incompatible_strict_conflict_checks to true.
4434 (#16864)
4435 + 99ca86f7c2968741ac3a9b20c3375fc992d49e66:
4436 Revert "[6.0.0] Default --incompatible_strict_conflict_checks to
4437 true. (#16864)" (#16872)
4438 + 312238f2b1414c98ed7d7d51dc4e18278edb2540:
4439 Make C++ runfiles library build with `-Werror=shadow`
4440 + 2baa5a4284467d70f1b31ea779b79d38ef07d164:
4441 Keep credentials cached across build commands.
4442 + 8818a57fce32a7872f045f03a334e1c9403724d3:
4443 [6.0.0] Only inject metadata for outputs that cannot be
4444 reconstructed by skyf… (#16879)
4445 + 31e4bf409eed71e8fb626092189eacb95f80fed9:
4446 Update java_tools v11.9
4447 + cd40666001e8d599bb61735898c195c6d2fae55b:
4448 replace _get_canonical_form(label) with str(label)
4449 + e2bc2374188b41924223385ad943db610e92e6c4:
4450 Avoid exceptions from hermetic sandbox for unsupported artifact
4451 subclasses
4452 + b564d145218e58b0440ffad82b3d1d54eef15d22:
4453 Remove warnings about ignored starlark options
4454 + 7ccc66108f08f7b6c6f6e5229f70f29962ea19ce:
4455 [6.0.0] Emit Tree objects in topological order (#16904)
4456 + 86dee6d2ecb269e0c41a97718812054394ee51a4:
4457 Correctly match regex with tree artifact
4458 + 14925b574aa63aad098f2c3d95e14b46ffd295ec:
4459 Always use target's attributes to set Python version (#16959)
4460 + a247502d28d8d70d648390de52952189b99a0bb7:
4461 Add 'toolchain' parameter to actions.{run,run_shell}
4462 + 497b7e403d6e5523bd1310bd1fe83c4ce1a6b1ec:
4463 Fix Bash `runfiles_current_repository` with RBE
4464 + 0a2c4edbc86398266525f31948d67a5736890bfe:
4465 Fix corner cases in Bash runfiles library
4466 + 33b514b25963452be71a015e08d4e890405b00a3:
4467 Fix runfiles creation with MANIFEST when building without the
4468 bytes
4469 + 3a13af41034e1f80cc0fbc1634cf8f724a85b78f:
4470 Remove LCOV merger dependency of `cc_test` without coverage
4471 (#17004)
4472 + 25ba76c1b8d420ebae43c1f59890ae46153c2240:
4473 Include full tree artifact in inputs when prefetcher doesn't
4474 support partial tree artifacts.
4475 + 06deebfb5b73f848de5a0ea0e00fcfaa26788d1f:
4476 Release 6.0.0 (2022-12-19)
4477 + c2bfb2e98d133c62be328e6e93c4b4bdf766d82c:
4478 Enable git_submodules tests and merge git_repository and
4479 starlark_git_repository (#17247)
4480 + e8182ce32931560406fee1c30745e56a2ee9a6b3:
4481 have 'bazel test' non-test targets depend on
4482 --remote_download_output
4483 + c3245cd028977877aa9e485451b29c7736ebcae0:
4484 Add `SpellChecker` suggestions for common Bzlmod errors
4485 + 8ec874348226995c4101b2173a465ddc65cab591:
4486 Use xcrun to invoke install_name_tool
4487 + 2b2bea4ee9d51ad875a8d273aa344ac9c5b6742c:
4488 Extra resources
4489 + 5b4de12b37cb4ba921b6bdfe810bbb47921ab3a6:
4490 Do not clear `--platforms` on no-op change to `--cpu`
4491 + db3c0130b3363485a366897e1c1f2adc5d41fde6:
4492 Report `AspectCreationException` to the user
4493 + 53e9fea30e58ab479e5cd7a6c804634f56fc2ddb:
4494 Use long executable path instead of `argv[0]` in all launchers
4495 + abae5ca3e8142f93cf0c2597e3410ed955c4dd59:
4496 Add sanitizer features to unix_cc_toolchain_config
4497 + db684196afd3b1a0a0e7d883674324bd161ae8bf:
4498 Allow `map_each` to return `None` in `TemplateDict#add_joined`
4499 + 66b58ee904efa22696edc1b78a59bac91da9ed8d:
4500 Always emit trailing zero in human-readable download progress
4501 + 17b8e448a5e5589f96c2794cb38c86b0c64e86c0:
4502 Upload all logs in BEP even with minimal upload
4503 + 28d2daae70be6ee97b876b0568796ceb87af9523:
4504 Set `--experimental_action_listeners` to default in `exec` config
4505 + 16427c9050db140d6cb90d7d6324d4a2ff1e249a:
4506 Do not count tests as failed that have not started
4507 + 094a0aabed1e018e6503bc3ac844c8022b71a527:
4508 Accept tildes in --override_module
4509 + 5f2866f8434ce9a17cf82c001efb7b236f189115:
4510 Do the AC integrity check for disk part of the combined cache.
4511 + cd10d508e20a4964586b46f7edea8a6dc900157c:
4512 Fix `--nozip_undeclared_test_outputs` on Windows
4513 + 073f54b9a7c46afd2c28b4a99a235bdd6b63bb5f:
4514 Allow pyd in extensions of dynamic libraries
4515 + ac504cbb463e76b1374d0060534acabbccb408d2:
4516 Register JavaCompileActionContext in Bazel.
4517 + f090433fcf0f42639608b9c5f0243018c1bb9ac7:
4518 Rollback #14510 because it causes remote test execution to fail
4519 + 942dddaaad9bf4fbb20b66535aad4fc464ad69ba:
4520 Prepare backwards compatible usage of optional C++ toolchain
4521 + 88b51f57d09e43dec31a84d4b636595924d5bfef:
4522 Emit LLVM coverage for source file paths with a `tmp` segment
4523 + bb0b886271d45209e3bef476da37811b9dd2afe5:
4524 Enable archive_param_file feature by default for Windows
4525 + baf97c00c891acf844a29b4cc31abb45b5c434e5:
4526 Allow `TemplateDict#map_each` callback to return a list of
4527 strings (#17306)
4528 + fcb007749f7f24b36c2b7c4284378bba20fc8b69:
4529 Only try to create groups of test actions in the ui.
4530 + 3c47b4716e6eca2b8ab06253915ef8d1bdd28038:
4531 Find `libtool` when using `BAZEL_USE_CPP_ONLY_TOOLCHAIN`.
4532 + 1da8a825c0fba882f33ea6998a76ff8265fcd32c:
4533 Add -dead_strip in default opt link flags for darwin
4534 + b0c5eb30b2738bf6454c3026a3e0f37579d5854c:
4535 Dont query remote cache but always use bytestream protocol
4536 + 00e9af1985cc0227599516fe7568785ca4334050:
4537 Allow Java coverage collection for external targets.
4538 + dd24a0022a0ff959598da2c9bc097d27083be1a0:
4539 Test and fix root symlink edge case in runfiles library
4540 + af97d9830d3207893cc6f5c851431a28f1721acb:
4541 [6.1.0] Fix broken CI (#17422)
4542 + b859571804f2095caaf018b172b59c90f185fd51:
4543 Add `native.package_relative_label` function
4544 + 82168d44ee1d49cf2f406903b6d8b9fde0e66cf2:
4545 Make Bazel more responsive and use less memory when --jobs is
4546 high (#17398)
4547 + 84c1ed430405b154b6e9eb2c28281f450e250eff:
4548 Multiplex worker fixes and tests for Android busybox tools
4549 (#17371)
4550 + 07590818d6ce0d0e66c2377db7e73fb6ee6702e5:
4551 Improve error message for concurrent modifications (#17396)
4552 + 27bc896f36f0e0ea5dbeaaa16f3a124e38a7284a:
4553 [6.1.0] Make bazel coverage work with minimal mode (#17397)
4554 + 544b8164ca352cf06dda0849a589b825631428af:
4555 [6.1.0] Fix cc_binary bug related to cc_shared_library on
4556 Windows and prepare for future removal of
4557 --experimental_cc_shared_library flag (#17445)
4558 + 9a7aa21c8cd6f38d10e23e265dd650bf031f9b7c:
4559 Fix Bash `runfiles_current_repository` for tools
4560 + 911eedc0badcefdbc60a936ae73972772042fc8a:
4561 Fix label unambiguous canonical form to correctly report
4562 non-visible repo names
4563 + e132653ead5e50f4226dbff7776466fef1918f49:
4564 Remove O1 from sanitizer feature flag defaults
4565 + ba9e2f8fe666b4fc6110d86ea93cc11779e77068:
4566 Remove usage of gRPC Context cancellation in the remote
4567 execution client.
4568 + de03a2363d016782c5dfe7c55b5cf06cb610f6a2:
4569 Allow -v to libtool
4570 + 4e35c02c7c400bfbbfa69164a1ec3bd51966ca79:
4571 Prettify labels in action progress messages with Bzlmod (#17278)
4572 + 1be0ac3e73698e31a349ece629c887b06e102a0b:
4573 Expand tree outputs before eagerly prefetching them for local
4574 actions. (#17494)
4575 + c26665102d0d524bb42be8cd205c7b31a22a75c9:
4576 Fix Java coverage collection with Java 8 runtime
4577 + 1a6ffe6d453708e3cefc98a07965c680e48d6bac:
4578 Add a flag to disable execution log sorting.
4579 + fbec8e2ad1dcbebbbc96491f8b6b208f5b3ac91f:
4580 Reduce flakiness on Windows for BwoB tests
4581 + 420659a9ad2a98f57e057d8c22eb621e3b12803e:
4582 Make AutoBazelRepositoryProcessor compatible with Java 8
4583 + dde6d20b3fd1d7a14825649c9c89d1c4d2d5242b:
4584 Do not recommend `shallow_since` for `git_repository`
4585 + f76fc61640825dd7cf83ce02ba48a4e4f95b66ff:
4586 Allow the timeout value for execute calls on a mac to be set via
4587 an environment variable
4588 + 773d232f528276338098578a28c19c742e3b4e7e:
4589 Fix RPATHs for cc toolchain solib when sibling layout is used
4590 + 5932b3b8886ddb5aba271fd907f1371e67960a44:
4591 [6.1.0] Add --host_features (#17528)
4592 + a0fa77cc36d02f5f230335556a1829b298b2f219:
4593 Exit with code 39 if remote cache evicted blobs that Bazel need
4594 during an invocation (#17496)
4595 + 1a438b41b74d94fd8b6ff4dcf20b4526530e3c6e:
4596 Only fetch @remote_coverage_tools when collecting coverage
4597 (#17512)
4598 + ee1daaf9852d568dcf38357eadd77b9de953db36:
4599 [6.1.0]Only fetch @remote_coverage_tools when collecting
4600 coverage (#17287)
4601 + 350e32952bdd639969e2aff7887c5dc34c21bce6:
4602 [6.1.0]Fix symlink file creation overhead (#17488)
4603 + 5406c953574d48434d33b1cf49b70b718795d783:
4604 [6.1.0] Cleanup stale state when remote cache evicted (#17538)
4605 + 2d1b570e976773134a6244dd012e93a5478f6d4a:
4606 Bump version number in runfiles.bash init code
4607 + 3ab8a0a5d628a0d958fb2eb1c0d5bb76b442e2f2:
4608 [6.1.0]Let `aquery` print effective environment for all
4609 `CommandAction`s (#17274)
4610 + 51e6c38ae808df4f2bf8fb29b4c5173e06ac014a:
4611 Properly report repo fetch progress during main repo mapping
4612 computation
4613 + 744108e88681e770982f148161d328c9b77319a1:
4614 [docs] Update migrating to Xcode tutorial (#17563)
4615 + 9dc7a7e6881f58965103b42390560589e0f38b48:
4616 Update //third_party:jsr305 (#17557)
4617 + 43dadb275b3f9690242bf2d94a0757c721d231a9:
4618 Bump minimum supported macOS versions to 10.13
4619 + 7d9d23c1ac1b7fcaa461f902e286f50fbb7cb116:
4620 Correctly set default subprocess factory when loading class
4621 `SubprocessBuilder`.
4622 + 77f82f4fab189fd042754be0a7747042d9b01b8f:
4623 Add an --incompatible_strict_conflict_checks alias for
4624 --experimental_strict_conflict_checks.
4625 + e05345dec405a0333c48ff188d2d9a1be90dad53:
4626 Add support for wrapping system streams in WorkRequestHandler
4627 + 68e1924cdab69ab92b8acf2f6e9324d11e00b267:
4628 Also handle remote cache eviction for tree artifacts. (#17601)
4629 + 4a6d056a8d058ab98a01348fb0c046660ee99a71:
4630 Add host transition to lcov_merger in Java version of py_test
4631 + 546e9e2942cb2e98b4c93065cc2d2910878dc900:
4632 Fix Bazel 6.0 crash regression (#17613)
4633 + 7e328bb71004e1976525d8b813ca0d616e2af74b:
4634 Include Bazel version information in profile metadata. (#17616)
4635 + aafe1235c55f6cdcfc577a40736aaeb9ebaca23b:
4636 [6.1.0] Handle remote cache eviction when uploading inputs for
4637 remote actions. (#17605)
4638 + 938e34823206a2644d538ba655d20ac553352975:
4639 [6.1.0] Rerun the artifact conflict check when
4640 --incompatible_strict_conflict_checks changes. (#17592)
4641 + 034a2815a1e18be5c8b36c6a78f44bb849dff437:
4642 Report background download for BwoB (#17619)
4643 + 5afbce52c70cf974eaa4a3bbbc376f398271427d:
4644 [6.1.0] Flag for writable outputs (experimental) (#17617)
4645 + d4105e658001677929338835eb970e6595e66b3c:
4646 [6.1.0] Allow .wasm cc executable and dynamic library extension
4647 (#17440)
4648 + a306f4f7fd440d006aa6ae9234b4430f13bc8cf9:
4649 make desugar dependencies deterministic
4650 + 37953c56ea77c7aa7bea677f3481557fdb2c2a15:
4651 Apply exec transition to lcov_merger in sh_test and cc_test
4652 + 1d73d72a45598e38c51b2618bb6fe4f27b390cb8:
4653 [6.1.0]Fix --host_features with multiple transitions (#17641)
4654 + 755cd4bcd48adf752bd8c161454e53a0f5b6a2fa:
4655 Release 6.1.0 (2023-03-06)
4656 + 885ae7ef3afd88e21c33579bcd64ee3136bd8715:
4657 Revert "Add -dead_strip in default opt link flags for darwin
4658 (#17312)" (#17696)
4659 + e7fd4cf42e3e320dfac0400464a604c0d8b71a1d:
4660 Fix wasm dynamic library extension crash (#17757)
4661 + 1a90fe5fe3283e8e593b62173911e4c264a28b09:
4662 Release 6.1.1 (2023-03-15)
4663 + c0ae7becf8de993b9e862f3831889d96994dadbf:
4664 Bazel CI: Temporarily disable GitRepositoryBlackBoxTest (#18045)
4665 + 1f2b3ed4ac717b814d02a0d125f160ddabe78003:
4666 Patch zlib to fix compatibility with latest Xcode
4667 + 906812c9f93d072ddda732919d20306a50ca0261:
4668 Turn applicable_licenses on platforms into a no-op. (#18082)
4669 + 05984b980087371e6ff9b808e27b20294d017ad5:
4670 Use ctime in file digest cache key (#18101)
4671```
4672
4673Incompatible changes:
4674
4675 - Bazel no longer increases the delay between progress updates when
4676 there is no cursor control.
4677 - `--incompatible_always_include_files_in_data` is flipped
4678 to true. See https://github.com/bazelbuild/bazel/issues/16654 for
4679 details.
4680 - `cquery --output=files` also outputs source files.
4681
4682 Closes #16602.
4683 - `--incompatible_strict_conflict_checks` is flipped to true. See
4684 https://github.com/bazelbuild/bazel/issues/16729 for details.
4685 - This changes the behavior of Python version in exec/host
4686 configuration. Mitigation is to set Python version on the targets.
4687 - `--features` only applies to targets built in the target
4688 configuration, and `--host_features` is used for the host / exec
4689 configuration (gated behind `--incompatible_use_host_features`)
4690
4691 Fixes https://github.com/bazelbuild/bazel/issues/13839
4692
4693 Closes #16626.
4694
4695Important changes:
4696
4697 - The new path variable `$(rlocationpath ...)` and its plural form
4698 `$(rlocationpaths ...)` can be used to expand labels to the paths
4699 accepted by the `Rlocation` function of runfiles libraries. This
4700 is the preferred way to access data dependencies at runtime and
4701 works on all platforms, even when runfiles are not enabled (e.g.,
4702 on Windows by default).
4703
4704 Work towards #16124
4705 Fixes #10923
4706
4707 Closes #16428.
4708 - Starlark `print()` statements are now emitted iff the line of
4709 code is executed. They are no longer replayed on subsequent
4710 invocations unless the Starlark code is re-executed.
4711 Additionally, multiple identical `print()` statements (same
4712 string from the same line of code, e.g. from a loop) are all
4713 emitted and no longer deduplicated.
4714 - Fixes a bug where some compilation flags would not be applied to
4715 a cc_test
4716 - Added a `native.package_relative_label()` function, which
4717 converts a label string to a Label object in the context of the
4718 calling package, in contrast to `Label()`, which does so in the
4719 context of the current .bzl file. Both functions now also accept
4720 relative labels such as `:foo`, and are idempotent.
4721
4722This 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.
4723
Bazel Release System00776992023-04-17 21:20:03 +02004724## Release 7.0.0-pre.20230410.1 (2023-04-17)
4725
4726```
4727Baseline: 237fb69ede58a7cb672363451c2cb455637fccfe
4728```
4729
4730Incompatible changes:
4731
4732 - Remove high priority workers functionality from blaze.
4733
4734Important changes:
4735
4736 - `--experimental_remote_build_event_upload` has been renamed to
4737 `--remote_build_event_upload`
4738 - [Breaking change] platform, constraint_setting, and
4739 constraint_value can no longer take an applicable_licenses value.
4740 Remediation is to remove the attribute and rely on the package
4741 level default.
4742
4743This release contains contributions from many people at Google, as well as Brentley Jones, Fabian Meumertzheim, Philipp Schrader, Ulf Adams, Yannic Bonenberger.
4744
Bazel Release System37d080b2023-04-12 20:02:31 +02004745## Release 7.0.0-pre.20230405.2 (2023-04-12)
4746
4747```
4748Baseline: 177f0d49913d74e7b1a4aae52f835702d7e85401
4749
4750Cherry picks:
4751
4752 + 81ee0fc29fb538d0849c6e7ccfff925f99b87453:
4753 Remove globDeps containing some Glob skyKey check
4754```
4755
4756Important changes:
4757
4758 - cc_test can now be configured by using a native.toolchain().
4759 - `@foo` labels can now be used on the command line as the
4760 top-level target (that is, `bazel build @foo` now works).
4761 Double-dot syntax is now forbidden (`bazel build ../foo` will no
4762 longer work).
4763 - The location of rules that explicitly specify `generator_name`
4764 and/or `generator_function` attributes (typically because they
4765 are incidentally copied from `native.existing_rule()`) is now the
4766 top-level call in the `BUILD` file, which is consistent with
4767 rules that do not explicitly specify these attributes.
4768 - Warnings (most notably those associated with the `deprecation`
4769 rule attribute) are no longer replayed on subsequent invocations
4770 unless the target in question is re-analyzed. Warnings are purely
4771 informational, so this change has no bearing on the correctness
4772 of the build. Downstream tests that break due to this change
4773 should update their expectations.
4774
4775This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Jack Dai, Konstantin Erman.
4776
Bazel Release System79331af2023-04-06 21:53:13 +02004777## Release 7.0.0-pre.20230330.3 (2023-04-06)
4778
4779```
4780Baseline: f7829f855bc31aaf0c0fcef55ef56adec84daa9e
4781
4782Cherry picks:
4783
4784 + eee0d9dfe3513042112a0f0ec519e2b232e5d203:
4785 Add an option retention option to proto_library.
4786```
4787
4788Incompatible changes:
4789
4790 - `--experimental_execution_graph_log` no longer exists. Current
4791 users that want local logs need to pass
4792 `--experimental_enable_execution_graph_log
4793 --experimental_execution_graph_log_path=/some/local/path`.
4794 Current users that want logs uploaded to BEP need to pass
4795 `--experimental_enable_execution_graph_log
4796 --experimental_stream_log_file_uploads`.
4797 - Remove 'darwin' as a CPU value, use 'darwin_x86_64' instead
4798
4799Important changes:
4800
4801 - Added `native.module_name()` and `native.module_version()` to
4802 allow BUILD macro authors to acquire information about which
4803 Bazel module the current repo is associated with.
4804 - Add `--skip_incompatible_explicit_targets` option
4805 - Remove 'darwin' as a CPU value, use 'darwin_x86_64' instead
4806
4807This 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.
4808
Bazel Release System78f00592023-04-03 20:40:17 +02004809## Release 7.0.0-pre.20230322.4 (2023-04-03)
4810
4811```
4812Baseline: 65b394866a23faa09d22a9bb9defde2b6a57140d
4813
4814Cherry picks:
4815
4816 + b9bdcf8611e7e9937314a70380bc6391487e7d50:
4817 Enable
4818 experimental_execution_graph_enable_edges_from_filewrite_actions
4819 by default
4820 + 5a4a3404307c9dd4654866e5d225ac9ec7107970:
4821 Update documentation for cc_import deps attribute
4822 + 577c0621412a1db57e42139fdb149cf42f43be57:
4823 Automated rollback of commit
4824 ad380dddf49d51d86a8a1698efe76c340aada3c0.
4825 + 70c821ad1c2f8029643716cf738cf2aaca7a92a4:
4826 starlark: Reduce allocations for `find`/`indexof` without `end`
4827 + 233ee2930b66063f5ef2372f1889fe7779925173:
4828 Automated rollback of commit
4829 0d2e9dae9c64ef783fa79b5b97fe2682499e038e.
4830 + 788801a8fd30985a1831de805172d257c6f63691:
4831 Enable C++ deps pruning on Windows when PARSE_SHOWINCLUDES is
4832 available.
4833 + aa2407fe0a0162f3b075eb38b449d3baee3f9cf9:
4834 Remove "get" from field names in BzlmodFlagsAndEnvVars class
4835 Disable Html escaping for better format
4836 + 83c954de9ceeb9954be4921bfcbcf81a5814240a:
4837 [Skymeld] Gracefully handle --explain.
4838 + 842d23ea7b3227abb85f801c690e65bc2f886587:
4839 Automated rollback of commit
4840 24f6fe802ebb68da71e1e071c9e84c89b4aa0772.
4841 + c71b0b123e34cbbfe80482e85b2ad45e5a5e5ccc:
4842 Increase bazel_module_test timeout: it times out on macOS on
4843 Bazel CI
4844 + f3e11c5bca767489c677875dc218f30ddacf6b62:
4845 - Add team-Rules-Java and team-Android to PR labeler - Add
4846 awaiting-review to all PRs
4847 + 2e219de0206f533772d336facf51678e847dcb6d:
4848 Make lockfile human readable
4849 + 3b9ec35f5a18afe256f679df1e91796dae720fc3:
4850 Module Lockfile
4851 + 4c8535670c00116ce7c64f9b2555381b94b12cfc:
4852 Fix ProxyHelperTest on JDK@HEAD
4853 + b27d1a3b66628ec479cdc4dc8629a4bddc0320d1:
4854 Fix regression with implicit deps which Automatic Exec Groups
4855 caused
4856 + 24f6fe802ebb68da71e1e071c9e84c89b4aa0772:
4857 Switch TargetPattern.Parser to use LabelParser
4858 + dd822392db96bb7bccdb673414a20c4b91e3dbc1:
4859 Canonicalize use_extension label
4860 + e97f62d54585c759735487bec78cc2bb6a7d215b:
4861 This is specifically for android_binary rule. (prev change was
4862 for android_library rule
4863 https://github.com/bazelbuild/bazel/commit/98bd4ae81715742ae5aa6c
4864 91164cd37396cb7c91)
4865 + 75dce1eefd6139b8a395d9ac6ece211e809efe78:
4866 Generate loadable dummy .bzl/BUILD/WORKSPACE files
4867 + c024b8af09fb7d132a131f99ce5635e4623b8bb2:
4868 Automated rollback of commit
4869 b2844771164fff2ad6cb2c265ff0da0bd0828906.
4870 + 6f12510e39153e316f35ab0a1ec376ece7f1b0a9:
4871 Clarify responsibilities of the Configurability team.
4872 + 9f93780eafb4f98500f3bc6a828c43b6da363089:
4873 Create an option to enable `GcThrashingDetector`.
4874 + b2844771164fff2ad6cb2c265ff0da0bd0828906:
4875 Automated rollback of commit
4876 9353955f016b4b918c1543018379a933932586b8.
4877 + e2639459bde1283d72887cfa90d7558a4d22b3a7:
4878 Label Interner Part I -- Create `PooledInterner` and make
4879 `SkyKeyInterner` as its subclass
4880 + 99b672b631a075b25fe9215709f53703924dccf0:
4881 Simplify cc_test rules by leveraging optional toolchains.
4882 + e54564fdbce4a0aff6d753a383bce4ddeba5d16b:
4883 Restructure ActionStager and CommandAdjuster
4884 + 1a719cea3f9bf7ee427620d779b6c287f885eff8:
4885 Add `module_ctx.is_dev_dependency`
4886 + 986ef7b68d61b1573d9c2bb1200585d07ad24691:
4887 [Skymeld] Move the various skymeld flag check to SkymeldModule.
4888 + 03266a86fb9b52cfc45ad0b0404561bd7c218680:
4889 Tests for TargetPattern parsing, and some sanity fixes
4890 + 109b29019882811d1beb97a60f8cda668442e8e8:
4891 Fail early if `use_extension` has a bad label
4892 + 9353955f016b4b918c1543018379a933932586b8:
4893 Unconditionally clear the syscall cache at the end of the build.
4894 + 2aa06cf227fe349195191107286167035f0c5431:
4895 Expose cc_proto_aspect as a toplevel symbol.
4896 + 24b45890c431de98d586fdfe5777031612049135:
4897 Automatically retry the build if encountered remote cache
4898 eviction error
4899 + a9dfbae320da3a83c52359069ca7d2214514caaa:
4900 Increase the test size for //src/test/py/bazel:py_test to
4901 prevent flakily timing out on BazelCI.
4902 + f63ce7973b8f3f2560f41daf7321a40d20b22fab:
4903 Avoid unnecessary copying when building Merkle trees.
4904 + 6146e4a993c07713aca486fd58f29decfea94aa6:
4905 [Skymeld] Include the underlying IOException's details if it
4906 happens while planting the SymlinkForest.
4907 + 79e22a3278b084b386ce00bd33b31d9526884801:
4908 Update docs on cached print statement behavior
4909 + f7829f855bc31aaf0c0fcef55ef56adec84daa9e:
4910 Rename Factory-level ExecutionTransitionFactory.create to
4911 createFactory
4912 + 57426bcdd2853f65b6381b11f6253111abc8c8da:
4913 Fix iterating over string example
4914 + 4097d9c5e81413cdacb30d628340e15e06024402:
4915 Use `PercentageConverter` to automatically validate the value of
4916 `--experimental_oom_more_eagerly_threshold`.
4917 + 576a497d0215a0d05debd302b6c0aa74d49c7ee8:
4918 Delete unused PackageIdentifierAndLong
4919 + fa7bfa3512029e7abe0e67a9b7831595c30368c5:
4920 Automatic code cleanup.
4921 + c89ca0d4d772b08fd852bcd35efd077253b02cc9:
4922 Update D8/R8 dependency in bazel to 8.0.40
4923 + cee754ced7168f3cdac82ae0c578a4ea999d473e:
4924 Add team-Remote-Exec & team-Documentation to PR labeler
4925 + 0882effbc746c0a40cd21b9a8e06b2a060b32e1c:
4926 Include --bes_upload_mode in docs
4927 + d1b4fb746e7c1865ce9631636c227e1aaca732d0:
4928 Remove 'darwin' CPU value
4929 + 02846a81bbc75ee39cd065c6c91dcf72adbc3fd7:
4930 Remove 'darwin' CPU value
4931 + 0ddf9bf223616f91dc981ed6aea8866624ced3af:
4932 Remove unneeded use CompilationFailedException.
4933 + aaf1d0696ffe8a6abe66c3d40947ff4f88a11ca0:
4934 Don't intern `RootedPath` on Windows.
4935 + 98bd4ae81715742ae5aa6c91164cd37396cb7c91:
4936 Native changes required to support linking against resource apks.
4937 + 0a8380bec9dceae1bffabddcccd459e82d8674b1:
4938 Set the digest_function field as part of all relevant gRPC
4939 requests
4940 + 6e01b25954d974a36bd345be730611507df902cd:
4941 Add support for .tbz file extension in
4942 repository_ctx.download_and_extract
4943 + 8ab9c6e5497ccfe88fdedb2c86ce0ae9461115dc:
4944 Add a boolean flag which controls whether ExecutionGraphModule
4945 is on.
4946 + 753f5d38bc17c0c61fd50f02b106c8fe33d5035a:
4947 Enable heuristically dropping GENQUERY_SCOPE nodes
4948 + 57f954d34b8811af4c96ed5c492f59dac81b5abb:
4949 Update stale workflow #s
4950 + 8c712c824fbf8e6b5c48bece78e2cdd0c14906b7:
4951 Fix formatting issue in http.bzl
4952 + 0d2e9dae9c64ef783fa79b5b97fe2682499e038e:
4953 Automated rollback of commit
4954 f548d56bc7f5c664fe6de5070a47e24720d35597.
4955 + ad380dddf49d51d86a8a1698efe76c340aada3c0:
4956 Automated rollback of commit
4957 602794efa7fa2d56013e14903578a82860505006.
4958 + e69aad7a6f607ab310ae918b0271867cc7ea44c6:
4959 Automatic code cleanup.
4960 + a691e974d2e4c5fa4a469e1321b18d15ac7e9cfa:
4961 Create a `GcThrashingDetector`.
4962 + abc13e32c0c2cb3bb21efb497a788dec8dc8bd44:
4963 Release 7.0.0-pre.20230316.2 (2023-03-27)
4964 + f4b3165b58b4dfcd8305d268d5ffe4e55e8c525a:
4965 Detect when `GCLocker` defers a `System.gc()` call.
4966 + 3c1c0c09e68420c813d6258b90ff96641dbd1151:
4967 Add suggestions to invalid tag class errors
4968 + 81f312102ff25b89e3afadf05620785ace319ae0:
4969 [Skymeld] Don't use SkyKeyComputeState to manage conflict
4970 checking in BuildDriverFunction.
4971 + 602794efa7fa2d56013e14903578a82860505006:
4972 Flip Automatic Exec Groups inside java_binary
4973 + f7627e00bf96c9159ab79a32afc4f6a622f0deeb:
4974 Support (workspace) relative paths in --override_module closes
4975 https://github.com/bazelbuild/bazel/issues/17551
4976 + 16c639ca3a2dacf9ed47e60fc4e13d2983579e5e:
4977 Trigger labeler when a PR is ready for review (removed from
4978 draft mode)
4979 + 5a972e0ac2b55eebee29f61e7e7743cb85695f05:
4980 Set `use_default_shell_env` for windows launcher maker action
4981 + 165e7684a1c05d118baaf16449d97f895855db80:
4982 Fix windows launcher maker compilation with mingw-gcc
4983 + 136a1ee4be934f91bb1388dc289338f213fac181:
4984 Add `--skip_incompatible_explicit_targets` option
4985 + 130703a37382e411390e6db171e9100a8f95cf38:
4986 Delete old dependency to bazel's //tools/objc
4987 + 7917b9ae26d0d600ac10d600fc029291baf76e6b:
4988 Automated rollback of commit
4989 2a3ab5c45b42321cf1495be7e294e5ec01298ca1.
4990 + 33d2dc907d304679e303c37e9bfb69cba177bb8d:
4991 Shard bazel_module_test and py_test
4992 + 27a16f74a9fbd9ac85db7720322743bcb1d9d495:
4993 Increase test sizes and shard counts to prevent timing out on
4994 BazelCI.
4995 + 09adb348446ffc41f0c4da5c6a8dc97a27dcfd88:
4996 [Skymeld] Make the execution timer more precise.
4997 + aa4f3580d277e50757ea696e3a312c0921c304f2:
4998 Clean up third_party directory
4999 + d910f361ad05edfffeffdd751900c112aa293c63:
5000 Updates to PR labeler
5001 + f35fde47e6d8844816a6c08ee7a3cf33ead7681a:
5002 Update rules_java and remove references to
5003 "remote_java_tools_darwin"
5004 + 718a916236b90727b10622fa3f52fe8336d8cceb:
5005 Use concrete collections, not lazy set
5006 difference/intersection/filter views, on hot codepaths in the
5007 Skyframe engine code, when we'll be iterating more than once.
5008 + a30e2555e2f22b3d520a1ef460a9541f7e33c248:
5009 Fix code warnings around rule/package factories.
5010 + 2aee015fe6e2e0671241ac44c73e88fd7511fa2b:
5011 Optimize storage of output files in `Rule`.
5012 + 50e5e6ced388d1f66a395c3e75d3fbc12b45d6db:
5013 Updating assignees in all issue templates to individual GitHub
5014 handles.
5015 + 97aec0f2151194d6605d38c84840af1066da39b3:
5016 Update templates to include assignees & labels
5017 + 7556e1107b666d10b660470a571631463c7eb4ec:
5018 Add version to JavaRuntimeInfo.
5019 + bcf309b88949fe1bbff1776d88fdaa5c3e1d2d37:
5020 Add native.module_{name,version}
5021 + 144ad7b215d4a0fc77fec73fc5dd83a0bc386847:
5022 Ignore empty symlinks depsets in ctx.runfiles()
5023 + cb55c5b99e18e131d4f689062b68c11a4ec848e0:
5024 [Skymeld] Skip checking for external repos when it's clear that
5025 we don't expect any.
5026 + a151696e1aca27e85dee8e758f9abc73fc78933f:
5027 Mirgate jar dependencies for testing to rules_jvm_external
5028 (third_party)
5029 + 35f2d49e51a853bbf2261da0ae2ac658451e3883:
5030 Update issue templates to mention about GitHub Discussions
5031 + 6a174577835e713415d135ad476f7d27cd1f57a9:
5032 Introduce --experimental_parallel_aquery_output.
5033 + 70ce8378638290295e17fb62e735a239f22672e6:
5034 Add attribute 'provides = [CcInfo]' to '_cc_proto_aspect'
5035 + c04f0d41317bfe1f6ff42da94dddb4023587fc26:
5036 Use less subshells and `tee`s in running tests with `bazel run`.
5037 + c82168eea66609bd0fc3acbc02e837f6a65c3b1b:
5038 Avoid storing `LateBoundDefault` attribute values in `Rule`.
5039 + 745ca288770253225d5d96069038a5d735eda69b:
5040 Suggest alternatives for typoed rule attribute names
5041 + 187f3e499060a467db65087ef9dd89b172c8aa40:
5042 Add a cache for command lines of tools in Java toolchain.
5043 + 6cbe0f1ad6db2cacedd02e517f24f7d93df62803:
5044 Mirgate jar dependencies for testing to rules_jvm_external
5045 + 2a3ab5c45b42321cf1495be7e294e5ec01298ca1:
5046 Enable heuristically dropping GENQUERY_SCOPE nodes
5047 + 699e40373f95e42390a85f29dfa1098636336103:
5048 Automated rollback of commit
5049 a50cca561fe0a77c3750101e505171ddcc16db72.
5050 + b0fc11d8f386141d2c5efd39cbeed316d620888a:
5051 Add .bazelversion at the correct location
5052 + c8388e3dd5d9e6a371482133fb08ae37c2a4890c:
5053 Delete some dead code
5054 + a47a59237c816845b5881b7ce883e29702dc0267:
5055 Update ResolvedToolchainContext to take an ImmutableSet.
5056 + 0d2e9dae9c64ef783fa79b5b97fe2682499e038e:
5057 Automated rollback of commit
5058 f548d56bc7f5c664fe6de5070a47e24720d35597.
5059```
5060
5061Incompatible changes:
5062
5063 - --legacy_bazel_java_test is now a no-op
5064 - --legacy_bazel_java_test is now a no-op
5065
5066Important changes:
5067
5068 - The flag `--distinct_host_configuration` is removed. It has been
5069 a no-op since Bazel 6.0.0.
5070
5071This 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.
5072
Bazel Release Systemabc13e32023-03-27 18:00:21 +02005073## Release 7.0.0-pre.20230316.2 (2023-03-27)
5074
5075```
5076Baseline: 8b68efeea23fdcd734bcb1f4bbd6754f11108405
5077
5078Cherry picks:
5079
5080 + 8a23169311142f49ceef076eb02e06f030e275ed:
5081 Automated rollback of commit
5082 08d31877bd5c1500e3ca67f47bcd3b79b4af226d.
5083```
5084
5085Incompatible changes:
5086
5087 - Bazel's local CPU resource on Linux is now container aware. Use
5088 `--local_cpu_resources`, `--loading_phase_threads` or `--jobs` to
5089 override.
5090 - `copy_from_rule` is exec_groups is deprecated
5091 (https://github.com/bazelbuild/bazel/issues/17668).
5092 - --legacy_bazel_java_test is now a no-op
5093 - --legacy_bazel_java_test is now a no-op
5094
5095Important changes:
5096
5097 - making --incompatible_use_platforms_repo_for_constraints do
5098 nothing. Using constraints from @bazel_tools//platforms with or
5099 without the flag will throw error with message "Constraints from
5100 @bazel_tools//platforms have been removed. Please use constraints
5101 from @platforms repository embedded in Bazel, or preferably
5102 declare dependency on https://github.com/bazelbuild/platforms"
5103 - Fixed an issue where WORKSPACE and WORKSPACE-loaded .bzl files
5104 couldn't see the Bzlmod root module's mappings when Bzlmod is
5105 enabled.
5106 - Subsequent settings of --extra_execution_platforms now override
5107 previous settings, instead of adding them to a list. If you
5108 currently set --extra_execution_platforms more than once, please
5109 migrate by passing a list of values to
5110 --extra_execution_platforms instead so that earlier values aren't
5111 overwritten.
5112 - @bazel_tools//config:common_settings.bzl has been removed.
5113 Use @bazel_skylib//rules:common_settings.bzl instead.
5114 - cc_shared_library is no longer experimental, see
5115 https://github.com/bazelbuild/bazel/issues/16709 for details
5116
5117This 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.
5118
Bazel Release Systemcf08d292023-03-17 19:04:57 +01005119## Release 7.0.0-pre.20230306.4 (2023-03-17)
5120
5121```
5122Baseline: 0ce17480390cdced2df8d59249561613e81f446f
5123
5124Cherry picks:
5125
5126 + 28dc0f93bf725d35124d3c17e8aaa654cfa3b498:
5127 Switch `RemoteFileArtifactValue` subclassing to optimize for
5128 memory cost.
5129 + e79de51b91263b33ced77f0a749a1856972510d1:
5130 Remove NO_EXPORTING tag from cc_shared_library
5131 + e0cdaced03750823021b8b1f5b82a71170d67642:
5132 Fix data race in prefetcher.
5133```
5134
5135Incompatible changes:
5136
5137 - This has the side effect of changing the message on unsuccessful
5138 builds from
5139 ```
5140 FAILED: Build did NOT complete successfully (0 packages loaded)
5141 ```
5142 to
5143 ```
5144 ERROR: Build did NOT complete successfully
5145 ```
5146 - Bazel no longer increases the delay between progress updates when
5147 there is no cursor control.
5148 - This has the side effect of changing the message on unsuccessful
5149 builds from
5150 ```
5151 FAILED: Build did NOT complete successfully (0 packages loaded)
5152 ```
5153 to
5154 ```
5155 ERROR: Build did NOT complete successfully
5156 ```
5157 - the --experimental_async_execution flag is now a no-op.
5158 - --experimental_replay_action_out_err is not a no-op.
5159 - `cquery --output=files` also outputs source files.
5160 - `--incompatible_strict_conflict_checks` is flipped to true. See
5161 https://github.com/bazelbuild/bazel/issues/16729 for details.
5162 - `--incompatible_strict_conflict_checks` is flipped to true. See
5163 https://github.com/bazelbuild/bazel/issues/16729 for details.
5164 - `--incompatible_always_include_files_in_data` is flipped to true.
5165 See https://github.com/bazelbuild/bazel/issues/16654 for details.
5166 - This changes the behavior of Python version in exec/host
5167 configuration. Mitigation is to set Python version on the targets.
5168 - When multiple --deleted_packages options are passed on the
5169 command line, they will be concatenated instead of the latest one
5170 taking effect.
5171 - This has the side effect of changing the message on unsuccessful
5172 builds from
5173 - JSON profile: Use doubles instead of strings for counter series.
5174 - query --output=proto --order_output=deps now returns targets in
5175 topological order (previously there was no ordering).
5176 - --experimental_build_transitive_python_runfiles is flipped to
5177 false. See #16303 for details
5178 - --incompatible_python_disable_py2 is flipped to true. See #17293
5179 for details.
5180 - When remote cache evicts blobs, Bazel will exit with code 39.
5181 - `--features` only applies to targets built in the target
5182 configuration, and `--host_features` is used for the host / exec
5183 configuration (gated behind `--incompatible_use_host_features`)
5184 - `--incompatible_strict_conflict_checks` is flipped to true. See
5185 https://github.com/bazelbuild/bazel/issues/16729 for details.
5186
5187New features:
5188
5189 - The `aquery` and `cquery` commands now respect the
5190 `--query_file` flag just like the `query` command.
5191
5192Important changes:
5193
5194 - The new path variable `$(rlocationpath ...)` and its plural form
5195 `$(rlocationpaths ...)` can be used to expand labels to the paths
5196 accepted by the `Rlocation` function of runfiles libraries. This
5197 is the preferred way to access data dependencies at runtime and
5198 works on all platforms, even when runfiles are not enabled (e.g.,
5199 on Windows by default).
5200 - Starlark `print()` statements are now emitted iff the line of
5201 code is executed. They are no longer replayed on subsequent
5202 invocations unless the Starlark code is re-executed.
5203 Additionally, multiple identical `print()` statements (same
5204 string from the same line of code, e.g. from a loop) are all
5205 emitted and no longer deduplicated.
5206 - Fixes a bug where some compilation flags would not be applied to
5207 a cc_test
5208 - removed outdated ctx.host_fragments
5209 - removed outdated ctx.host_configuration
5210 - Now that the host configuration is finished, `genrule` should
5211 prefer the use of `tools` and stop using `exec_tools`.
5212 - Added a `native.package_relative_label()` function, which
5213 converts a label string to a Label object in the context of the
5214 calling package, in contrast to `Label()`, which does so in the
5215 context of the current .bzl file. Both functions now also accept
5216 relative labels such as `:foo`, and are idempotent.
5217 - Update Android manifest merger to v30.1.3, and also drop support
5218 for legacy (pre-D8) desugaring.
5219 - Adds coverage metric support to android_local_test
5220 - Correctly encode double value positive infinity as "inf" instead
5221 of "+inf" for textprotos.
5222 - Add --use_target_platform_for_tests which uses the target
5223 platform for executing tests instead of the execution platform.
5224 - Custom C++ rules on Windows calling
5225 cc_common.create_linking_context_from_compilation_outputs should
5226 review whether each target of the rule type should produce a
5227 dynamic library since a condition which blocked their creation
5228 has been moved to the rules from behind the API.
5229 - Add flag `--experimental_remote_cache_ttl` and set the default
5230 value to 3 hours.
5231
5232This 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.
5233
Bazel Release Systemb3821452023-03-15 15:40:20 +00005234## Release 6.1.1 (2023-03-15)
5235
5236```
5237Baseline: d60ce2c7c86393638c77698c00c2168a7a936a53
5238
5239Cherry picks:
5240
5241 + 490f8badf4f6f4ae8b96697f08267fdb083ccf5f:
5242 kshyanashree is the release manager of 6.0.0
5243 + 4e66d9340037f0be83d7bc0fdd809a09344ab83f:
5244 Automated rollback of commit
5245 2a2890913eb8f39299aa4b614ba96266ea8749f6.
5246 + 48a8d01b05149757f69a6a65a22a280bf003cd24:
5247 Allow C/C++ coverage collection for external targets
5248 + ec7be346adc00c4bde22d116fca80ef59da66121:
5249 Temporarily set parent directory of the input to writable if it
5250 is not.
5251 + b0984342eef068640a57aab584dd4c118f0dd394:
5252 Infer CPUs for tvOS and watchOS when on Apple Silicon
5253 + 5cea7dda5b632703cf4e0424ba09cd7c5bd6fc06:
5254 Improve the documentation for ctx.actions.symlink.
5255 + a82d26f17a99b5417b2212a0ce3a1bbc0285e5c4:
5256 Add quotes to "Tip"
5257 + 75b0f3aa95bc34f6620ea74e47d4822bd985efdd:
5258 Write a repo mapping manifest in the runfiles directory (#16555)
5259 + 07c5c1aa6d0b63605ae793dce78d26122af64a84:
5260 Ensure repository names don't start with `~`
5261 + 30f6c8238f39c4a396b3cb56a98c1a2e79d10bb9:
5262 Escape tilde more gracefully
5263 + cf3f48ca49f089615417636763d753811acf717f:
5264 Relax `Label` repo visibility validation
5265 + 4477823e2c2bc3d0335c41f971364dda72a3f69a:
5266 Use "apparent name" instead of "local name" in Bzlmod docs
5267 + 55f4f4834ef30321a00dab5b58202dd1e9716fd9:
5268 Bazel DevSite: Add required css file.
5269 + a706994ac69e3f3fed361c61378de847b50d3b12:
5270 Remove logic that increases delay between progress updates over
5271 time
5272 + 1d514ab05896f34ec91c2145f4dffafd3364030f:
5273 Remove references to io_bazel repository
5274 + b0357bd3831b26b5116dc120807e8264acf139db:
5275 Relnotes python script
5276 + 8f956511bb115c39ac683a1e78971fcf9dce5deb:
5277 Allow Java coverage collection for external targets
5278 + bddb191d3f99402330c67b89375409c31ee22daa:
5279 Fix race condition in package-bazel.sh
5280 + a75785279f543f4e33c697dd9e8873a6504b7818:
5281 Decanonicalize labels emitted by {a,c,}query if possible
5282 + 9d250edb63f27f9f4591bb5a71059710cc6dca9e:
5283 Add uniquify parameter to TemplateDict.add_joined
5284 + f02bcf8d8b0d00ecdd06ea0a45ba4f52e436597c:
5285 Fix identical gcov json file name problem
5286 + a1593309f66f892871e334013815b05350b4188f:
5287 Add `$(rlocationpath(s) ...)` expansion
5288 + 56f54daf9ff3b1177eee31e342e8d6b959d5ac34:
5289 Rollup of SBOM correctness fixes (#16655)
5290 + 72e6e948d30dec9dec60d78efef4eeda5b764a8f:
5291 [cc] Add cc toolchain to starlark cc_proto_library (#16661)
5292 + 8f28513893969b6346d965cab12aac69cb246ced:
5293 Make C++ runfiles library repo mapping aware
5294 + 95f9adc5ac544b1161d69a7ca74432479fdc29b3:
5295 Always collect FileProvider's filesToBuild as data runfiles
5296 + 4959d34e844714b793b2c6fa05016a9a6eaa7044:
5297 fix: export constraints.bzl file from @local_config_platform so
5298 it can be used in downstream bzl_library targets
5299 + 4919d4a61d8506d175b25a035500842b8bfe3d0d:
5300 Add --host_per_file_copt (#16695)
5301 + 0a23d46976c3fc999d44fbd1e37732ec2442d485:
5302 Moving some tests for `RemoteActionFileSystem` of BwoB to a base
5303 class.
5304 + 9296068be5e3808eb03a3b61f3af3a2c88f7ab7d:
5305 [remote/downloader] Don't include headers in `FetchBlobRequest`
5306 + 128d833fee99f8a43bc4de82cbec752e4ce6fb47:
5307 [remote] Respect whether the server supports action cache updates
5308 + 38c501912fc4efc14abc0741d19f5f8e8763afcb:
5309 [remote/downloader] Migrate `Downloader` to take `Credentials`
5310 (#16732)
5311 + 5929cb72aa01768e6352898b1a056ef678c81d90:
5312 Stage repository mapping manifest as a root symlink (#16733)
5313 + 455454a56e961affb041a1d4a9214f7f313a05aa:
5314 Expose current repository name to Java with @AutoBazelRepository
5315 + 97dea593e568f776361397f7280d6a16eee2efeb:
5316 Implement getDirectoryEntries and readdir for
5317 RemoteActionFileSystem.
5318 + aa45f5f3301c5005294df084cdf99c45d6f95d53:
5319 Move integration tests for BwoB to a base class and add more
5320 tests there.
5321 + 1b073ac0a719a09c9b2d1a52680517ab22dc971e:
5322 Make Java runfiles library repo mapping aware
5323 + 148bbb1c025a628643698f65627333d86975c1d7:
5324 Use `_repo_mapping` in C++ runfiles library (#16752)
5325 + 25558ada3fb377cfc2c965d3a93250ca28ce0fc1:
5326 Add --experimental_action_cache_store_output_metadata to the
5327 expansio…
5328 + 6e945e8ab422ca0a195d09899cce61ba6c0cfa59:
5329 Treat `DEBUG` events as progress-like.
5330 + 1940c5d68136ce2079efa8ff74d4e5fdf63ee3e6:
5331 redact 'token' strings from logging
5332 + 0b645254b41edc738c6641fd192fca86203ff2e2:
5333 Make Bash runfiles library repo mapping aware (#16753)
5334 + 4caae75b49e815ad2cf1d805f316bc374f03f2ae:
5335 Automated rollback of commit
5336 8f956511bb115c39ac683a1e78971fcf9dce5deb.
5337 + 13ff6d9e37999e00fda9a6cef278c7c924924f34:
5338 Fix Bash rlocation failure with stricter Bash options
5339 + bd88c7e47b911e5fa1f8a3c26d0f8317943c43ce:
5340 Make bazel Android remote deps compatible with bzlmod (#16772)
5341 + 6f6d4cca36a3b64009ed9c8b3fb13cb3c7ed915a:
5342 Flip `--incompatible_always_include_files_in_data`
5343 + 94355b1b1c4f7ef923457b8b2a070e5c6528240a:
5344 Add required `--add-opens` server JVM args also with
5345 non-embedded JDK
5346 + 8349c95fc98beb4008085942a67a57f0c4da074b:
5347 Also collect clang resource directory with
5348 `-no-canonical-prefixes`
5349 + dce6ed777d958d65c7f3d4a2f54f8117778a449e:
5350 Make `bazel run` works with minimal mode
5351 + ca8674cc4879ed1846bf015c33fe7d920a3f66ab:
5352 Include source files with `cquery --output=files` (#16826)
5353 + 9cb5e0a31665d3b3f25bf58ec2dee696e828d8b9:
5354 Fsync before rename after copy in DiskCacheClient
5355 + 23ffce53b92ef96432d8c6c58cc95ac362bab1bc:
5356 Update GetActionResult for disk cache to check referenced files
5357 when …
5358 + 0bc0ff5244142eb3348d42025ce21eeb337ad189:
5359 Make Java runfiles library compilable with JDK 8
5360 + fe169654a29d8ad33105d5d0034a7857834fed5d:
5361 [6.0.0] Default --incompatible_strict_conflict_checks to true.
5362 (#16864)
5363 + 99ca86f7c2968741ac3a9b20c3375fc992d49e66:
5364 Revert "[6.0.0] Default --incompatible_strict_conflict_checks to
5365 true. (#16864)" (#16872)
5366 + 312238f2b1414c98ed7d7d51dc4e18278edb2540:
5367 Make C++ runfiles library build with `-Werror=shadow`
5368 + 2baa5a4284467d70f1b31ea779b79d38ef07d164:
5369 Keep credentials cached across build commands.
5370 + 8818a57fce32a7872f045f03a334e1c9403724d3:
5371 [6.0.0] Only inject metadata for outputs that cannot be
5372 reconstructed by skyf… (#16879)
5373 + 31e4bf409eed71e8fb626092189eacb95f80fed9:
5374 Update java_tools v11.9
5375 + cd40666001e8d599bb61735898c195c6d2fae55b:
5376 replace _get_canonical_form(label) with str(label)
5377 + e2bc2374188b41924223385ad943db610e92e6c4:
5378 Avoid exceptions from hermetic sandbox for unsupported artifact
5379 subclasses
5380 + b564d145218e58b0440ffad82b3d1d54eef15d22:
5381 Remove warnings about ignored starlark options
5382 + 7ccc66108f08f7b6c6f6e5229f70f29962ea19ce:
5383 [6.0.0] Emit Tree objects in topological order (#16904)
5384 + 86dee6d2ecb269e0c41a97718812054394ee51a4:
5385 Correctly match regex with tree artifact
5386 + 14925b574aa63aad098f2c3d95e14b46ffd295ec:
5387 Always use target's attributes to set Python version (#16959)
5388 + a247502d28d8d70d648390de52952189b99a0bb7:
5389 Add 'toolchain' parameter to actions.{run,run_shell}
5390 + 497b7e403d6e5523bd1310bd1fe83c4ce1a6b1ec:
5391 Fix Bash `runfiles_current_repository` with RBE
5392 + 0a2c4edbc86398266525f31948d67a5736890bfe:
5393 Fix corner cases in Bash runfiles library
5394 + 33b514b25963452be71a015e08d4e890405b00a3:
5395 Fix runfiles creation with MANIFEST when building without the
5396 bytes
5397 + 3a13af41034e1f80cc0fbc1634cf8f724a85b78f:
5398 Remove LCOV merger dependency of `cc_test` without coverage
5399 (#17004)
5400 + 25ba76c1b8d420ebae43c1f59890ae46153c2240:
5401 Include full tree artifact in inputs when prefetcher doesn't
5402 support partial tree artifacts.
5403 + 06deebfb5b73f848de5a0ea0e00fcfaa26788d1f:
5404 Release 6.0.0 (2022-12-19)
5405 + c2bfb2e98d133c62be328e6e93c4b4bdf766d82c:
5406 Enable git_submodules tests and merge git_repository and
5407 starlark_git_repository (#17247)
5408 + e8182ce32931560406fee1c30745e56a2ee9a6b3:
5409 have 'bazel test' non-test targets depend on
5410 --remote_download_output
5411 + c3245cd028977877aa9e485451b29c7736ebcae0:
5412 Add `SpellChecker` suggestions for common Bzlmod errors
5413 + 8ec874348226995c4101b2173a465ddc65cab591:
5414 Use xcrun to invoke install_name_tool
5415 + 2b2bea4ee9d51ad875a8d273aa344ac9c5b6742c:
5416 Extra resources
5417 + 5b4de12b37cb4ba921b6bdfe810bbb47921ab3a6:
5418 Do not clear `--platforms` on no-op change to `--cpu`
5419 + db3c0130b3363485a366897e1c1f2adc5d41fde6:
5420 Report `AspectCreationException` to the user
5421 + 53e9fea30e58ab479e5cd7a6c804634f56fc2ddb:
5422 Use long executable path instead of `argv[0]` in all launchers
5423 + abae5ca3e8142f93cf0c2597e3410ed955c4dd59:
5424 Add sanitizer features to unix_cc_toolchain_config
5425 + db684196afd3b1a0a0e7d883674324bd161ae8bf:
5426 Allow `map_each` to return `None` in `TemplateDict#add_joined`
5427 + 66b58ee904efa22696edc1b78a59bac91da9ed8d:
5428 Always emit trailing zero in human-readable download progress
5429 + 17b8e448a5e5589f96c2794cb38c86b0c64e86c0:
5430 Upload all logs in BEP even with minimal upload
5431 + 28d2daae70be6ee97b876b0568796ceb87af9523:
5432 Set `--experimental_action_listeners` to default in `exec` config
5433 + 16427c9050db140d6cb90d7d6324d4a2ff1e249a:
5434 Do not count tests as failed that have not started
5435 + 094a0aabed1e018e6503bc3ac844c8022b71a527:
5436 Accept tildes in --override_module
5437 + 5f2866f8434ce9a17cf82c001efb7b236f189115:
5438 Do the AC integrity check for disk part of the combined cache.
5439 + cd10d508e20a4964586b46f7edea8a6dc900157c:
5440 Fix `--nozip_undeclared_test_outputs` on Windows
5441 + 073f54b9a7c46afd2c28b4a99a235bdd6b63bb5f:
5442 Allow pyd in extensions of dynamic libraries
5443 + ac504cbb463e76b1374d0060534acabbccb408d2:
5444 Register JavaCompileActionContext in Bazel.
5445 + f090433fcf0f42639608b9c5f0243018c1bb9ac7:
5446 Rollback #14510 because it causes remote test execution to fail
5447 + 942dddaaad9bf4fbb20b66535aad4fc464ad69ba:
5448 Prepare backwards compatible usage of optional C++ toolchain
5449 + 88b51f57d09e43dec31a84d4b636595924d5bfef:
5450 Emit LLVM coverage for source file paths with a `tmp` segment
5451 + bb0b886271d45209e3bef476da37811b9dd2afe5:
5452 Enable archive_param_file feature by default for Windows
5453 + baf97c00c891acf844a29b4cc31abb45b5c434e5:
5454 Allow `TemplateDict#map_each` callback to return a list of
5455 strings (#17306)
5456 + fcb007749f7f24b36c2b7c4284378bba20fc8b69:
5457 Only try to create groups of test actions in the ui.
5458 + 3c47b4716e6eca2b8ab06253915ef8d1bdd28038:
5459 Find `libtool` when using `BAZEL_USE_CPP_ONLY_TOOLCHAIN`.
5460 + 1da8a825c0fba882f33ea6998a76ff8265fcd32c:
5461 Add -dead_strip in default opt link flags for darwin
5462 + b0c5eb30b2738bf6454c3026a3e0f37579d5854c:
5463 Dont query remote cache but always use bytestream protocol
5464 + 00e9af1985cc0227599516fe7568785ca4334050:
5465 Allow Java coverage collection for external targets.
5466 + dd24a0022a0ff959598da2c9bc097d27083be1a0:
5467 Test and fix root symlink edge case in runfiles library
5468 + af97d9830d3207893cc6f5c851431a28f1721acb:
5469 [6.1.0] Fix broken CI (#17422)
5470 + b859571804f2095caaf018b172b59c90f185fd51:
5471 Add `native.package_relative_label` function
5472 + 82168d44ee1d49cf2f406903b6d8b9fde0e66cf2:
5473 Make Bazel more responsive and use less memory when --jobs is
5474 high (#17398)
5475 + 84c1ed430405b154b6e9eb2c28281f450e250eff:
5476 Multiplex worker fixes and tests for Android busybox tools
5477 (#17371)
5478 + 07590818d6ce0d0e66c2377db7e73fb6ee6702e5:
5479 Improve error message for concurrent modifications (#17396)
5480 + 27bc896f36f0e0ea5dbeaaa16f3a124e38a7284a:
5481 [6.1.0] Make bazel coverage work with minimal mode (#17397)
5482 + 544b8164ca352cf06dda0849a589b825631428af:
5483 [6.1.0] Fix cc_binary bug related to cc_shared_library on
5484 Windows and prepare for future removal of
5485 --experimental_cc_shared_library flag (#17445)
5486 + 9a7aa21c8cd6f38d10e23e265dd650bf031f9b7c:
5487 Fix Bash `runfiles_current_repository` for tools
5488 + 911eedc0badcefdbc60a936ae73972772042fc8a:
5489 Fix label unambiguous canonical form to correctly report
5490 non-visible repo names
5491 + e132653ead5e50f4226dbff7776466fef1918f49:
5492 Remove O1 from sanitizer feature flag defaults
5493 + ba9e2f8fe666b4fc6110d86ea93cc11779e77068:
5494 Remove usage of gRPC Context cancellation in the remote
5495 execution client.
5496 + de03a2363d016782c5dfe7c55b5cf06cb610f6a2:
5497 Allow -v to libtool
5498 + 4e35c02c7c400bfbbfa69164a1ec3bd51966ca79:
5499 Prettify labels in action progress messages with Bzlmod (#17278)
5500 + 1be0ac3e73698e31a349ece629c887b06e102a0b:
5501 Expand tree outputs before eagerly prefetching them for local
5502 actions. (#17494)
5503 + c26665102d0d524bb42be8cd205c7b31a22a75c9:
5504 Fix Java coverage collection with Java 8 runtime
5505 + 1a6ffe6d453708e3cefc98a07965c680e48d6bac:
5506 Add a flag to disable execution log sorting.
5507 + fbec8e2ad1dcbebbbc96491f8b6b208f5b3ac91f:
5508 Reduce flakiness on Windows for BwoB tests
5509 + 420659a9ad2a98f57e057d8c22eb621e3b12803e:
5510 Make AutoBazelRepositoryProcessor compatible with Java 8
5511 + dde6d20b3fd1d7a14825649c9c89d1c4d2d5242b:
5512 Do not recommend `shallow_since` for `git_repository`
5513 + f76fc61640825dd7cf83ce02ba48a4e4f95b66ff:
5514 Allow the timeout value for execute calls on a mac to be set via
5515 an environment variable
5516 + 773d232f528276338098578a28c19c742e3b4e7e:
5517 Fix RPATHs for cc toolchain solib when sibling layout is used
5518 + 5932b3b8886ddb5aba271fd907f1371e67960a44:
5519 [6.1.0] Add --host_features (#17528)
5520 + a0fa77cc36d02f5f230335556a1829b298b2f219:
5521 Exit with code 39 if remote cache evicted blobs that Bazel need
5522 during an invocation (#17496)
5523 + 1a438b41b74d94fd8b6ff4dcf20b4526530e3c6e:
5524 Only fetch @remote_coverage_tools when collecting coverage
5525 (#17512)
5526 + ee1daaf9852d568dcf38357eadd77b9de953db36:
5527 [6.1.0]Only fetch @remote_coverage_tools when collecting
5528 coverage (#17287)
5529 + 350e32952bdd639969e2aff7887c5dc34c21bce6:
5530 [6.1.0]Fix symlink file creation overhead (#17488)
5531 + 5406c953574d48434d33b1cf49b70b718795d783:
5532 [6.1.0] Cleanup stale state when remote cache evicted (#17538)
5533 + 2d1b570e976773134a6244dd012e93a5478f6d4a:
5534 Bump version number in runfiles.bash init code
5535 + 3ab8a0a5d628a0d958fb2eb1c0d5bb76b442e2f2:
5536 [6.1.0]Let `aquery` print effective environment for all
5537 `CommandAction`s (#17274)
5538 + 51e6c38ae808df4f2bf8fb29b4c5173e06ac014a:
5539 Properly report repo fetch progress during main repo mapping
5540 computation
5541 + 744108e88681e770982f148161d328c9b77319a1:
5542 [docs] Update migrating to Xcode tutorial (#17563)
5543 + 9dc7a7e6881f58965103b42390560589e0f38b48:
5544 Update //third_party:jsr305 (#17557)
5545 + 43dadb275b3f9690242bf2d94a0757c721d231a9:
5546 Bump minimum supported macOS versions to 10.13
5547 + 7d9d23c1ac1b7fcaa461f902e286f50fbb7cb116:
5548 Correctly set default subprocess factory when loading class
5549 `SubprocessBuilder`.
5550 + 77f82f4fab189fd042754be0a7747042d9b01b8f:
5551 Add an --incompatible_strict_conflict_checks alias for
5552 --experimental_strict_conflict_checks.
5553 + e05345dec405a0333c48ff188d2d9a1be90dad53:
5554 Add support for wrapping system streams in WorkRequestHandler
5555 + 68e1924cdab69ab92b8acf2f6e9324d11e00b267:
5556 Also handle remote cache eviction for tree artifacts. (#17601)
5557 + 4a6d056a8d058ab98a01348fb0c046660ee99a71:
5558 Add host transition to lcov_merger in Java version of py_test
5559 + 546e9e2942cb2e98b4c93065cc2d2910878dc900:
5560 Fix Bazel 6.0 crash regression (#17613)
5561 + 7e328bb71004e1976525d8b813ca0d616e2af74b:
5562 Include Bazel version information in profile metadata. (#17616)
5563 + aafe1235c55f6cdcfc577a40736aaeb9ebaca23b:
5564 [6.1.0] Handle remote cache eviction when uploading inputs for
5565 remote actions. (#17605)
5566 + 938e34823206a2644d538ba655d20ac553352975:
5567 [6.1.0] Rerun the artifact conflict check when
5568 --incompatible_strict_conflict_checks changes. (#17592)
5569 + 034a2815a1e18be5c8b36c6a78f44bb849dff437:
5570 Report background download for BwoB (#17619)
5571 + 5afbce52c70cf974eaa4a3bbbc376f398271427d:
5572 [6.1.0] Flag for writable outputs (experimental) (#17617)
5573 + d4105e658001677929338835eb970e6595e66b3c:
5574 [6.1.0] Allow .wasm cc executable and dynamic library extension
5575 (#17440)
5576 + a306f4f7fd440d006aa6ae9234b4430f13bc8cf9:
5577 make desugar dependencies deterministic
5578 + 37953c56ea77c7aa7bea677f3481557fdb2c2a15:
5579 Apply exec transition to lcov_merger in sh_test and cc_test
5580 + 1d73d72a45598e38c51b2618bb6fe4f27b390cb8:
5581 [6.1.0]Fix --host_features with multiple transitions (#17641)
5582 + 755cd4bcd48adf752bd8c161454e53a0f5b6a2fa:
5583 Release 6.1.0 (2023-03-06)
5584 + 885ae7ef3afd88e21c33579bcd64ee3136bd8715:
5585 Revert "Add -dead_strip in default opt link flags for darwin
5586 (#17312)" (#17696)
5587 + e7fd4cf42e3e320dfac0400464a604c0d8b71a1d:
5588 Fix wasm dynamic library extension crash (#17757)
5589```
5590
5591Incompatible changes:
5592
5593 - Bazel no longer increases the delay between progress updates when
5594 there is no cursor control.
5595 - `--incompatible_always_include_files_in_data` is flipped
5596 to true. See https://github.com/bazelbuild/bazel/issues/16654 for
5597 details.
5598 - `cquery --output=files` also outputs source files.
5599
5600 Closes #16602.
5601 - `--incompatible_strict_conflict_checks` is flipped to true. See
5602 https://github.com/bazelbuild/bazel/issues/16729 for details.
5603 - This changes the behavior of Python version in exec/host
5604 configuration. Mitigation is to set Python version on the targets.
5605 - `--features` only applies to targets built in the target
5606 configuration, and `--host_features` is used for the host / exec
5607 configuration (gated behind `--incompatible_use_host_features`)
5608
5609 Fixes https://github.com/bazelbuild/bazel/issues/13839
5610
5611 Closes #16626.
5612
5613Important changes:
5614
5615 - The new path variable `$(rlocationpath ...)` and its plural form
5616 `$(rlocationpaths ...)` can be used to expand labels to the paths
5617 accepted by the `Rlocation` function of runfiles libraries. This
5618 is the preferred way to access data dependencies at runtime and
5619 works on all platforms, even when runfiles are not enabled (e.g.,
5620 on Windows by default).
5621
5622 Work towards #16124
5623 Fixes #10923
5624
5625 Closes #16428.
5626 - Starlark `print()` statements are now emitted iff the line of
5627 code is executed. They are no longer replayed on subsequent
5628 invocations unless the Starlark code is re-executed.
5629 Additionally, multiple identical `print()` statements (same
5630 string from the same line of code, e.g. from a loop) are all
5631 emitted and no longer deduplicated.
5632 - Fixes a bug where some compilation flags would not be applied to
5633 a cc_test
5634 - Added a `native.package_relative_label()` function, which
5635 converts a label string to a Label object in the context of the
5636 calling package, in contrast to `Label()`, which does so in the
5637 context of the current .bzl file. Both functions now also accept
5638 relative labels such as `:foo`, and are idempotent.
5639
5640This 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.
5641
Bazel Release Systema7742d82023-03-13 18:21:54 +01005642## Release 7.0.0-pre.20230302.1 (2023-03-13)
5643
5644```
5645Baseline: c1382105d342e8e00f9e5ae079fb24cd54c72e78
5646```
5647
5648Incompatible changes:
5649
5650 - This has the side effect of changing the message on unsuccessful
5651 builds from
5652 ```
5653 FAILED: Build did NOT complete successfully (0 packages loaded)
5654 ```
5655 to
5656 ```
5657 ERROR: Build did NOT complete successfully
5658 ```
5659 - Bazel no longer increases the delay between progress updates when
5660 there is no cursor control.
5661 - This has the side effect of changing the message on unsuccessful
5662 builds from
5663 ```
5664 FAILED: Build did NOT complete successfully (0 packages loaded)
5665 ```
5666 to
5667 ```
5668 ERROR: Build did NOT complete successfully
5669 ```
5670 - the --experimental_async_execution flag is now a no-op.
5671 - --experimental_replay_action_out_err is not a no-op.
5672 - `cquery --output=files` also outputs source files.
5673 - `--incompatible_strict_conflict_checks` is flipped to true. See
5674 https://github.com/bazelbuild/bazel/issues/16729 for details.
5675 - `--incompatible_strict_conflict_checks` is flipped to true. See
5676 https://github.com/bazelbuild/bazel/issues/16729 for details.
5677 - `--incompatible_always_include_files_in_data` is flipped to true.
5678 See https://github.com/bazelbuild/bazel/issues/16654 for details.
5679 - This changes the behavior of Python version in exec/host
5680 configuration. Mitigation is to set Python version on the targets.
5681 - When multiple --deleted_packages options are passed on the
5682 command line, they will be concatenated instead of the latest one
5683 taking effect.
5684 - This has the side effect of changing the message on unsuccessful
5685 builds from
5686 - JSON profile: Use doubles instead of strings for counter series.
5687 - query --output=proto --order_output=deps now returns targets in
5688 topological order (previously there was no ordering).
5689 - --experimental_build_transitive_python_runfiles is flipped to
5690 false. See #16303 for details
5691 - --incompatible_python_disable_py2 is flipped to true. See #17293
5692 for details.
5693 - When remote cache evicts blobs, Bazel will exit with code 39.
5694 - `--features` only applies to targets built in the target
5695 configuration, and `--host_features` is used for the host / exec
5696 configuration (gated behind `--incompatible_use_host_features`)
5697
5698New features:
5699
5700 - The `aquery` and `cquery` commands now respect the
5701 `--query_file` flag just like the `query` command.
5702
5703Important changes:
5704
5705 - The new path variable `$(rlocationpath ...)` and its plural form
5706 `$(rlocationpaths ...)` can be used to expand labels to the paths
5707 accepted by the `Rlocation` function of runfiles libraries. This
5708 is the preferred way to access data dependencies at runtime and
5709 works on all platforms, even when runfiles are not enabled (e.g.,
5710 on Windows by default).
5711 - Starlark `print()` statements are now emitted iff the line of
5712 code is executed. They are no longer replayed on subsequent
5713 invocations unless the Starlark code is re-executed.
5714 Additionally, multiple identical `print()` statements (same
5715 string from the same line of code, e.g. from a loop) are all
5716 emitted and no longer deduplicated.
5717 - Fixes a bug where some compilation flags would not be applied to
5718 a cc_test
5719 - removed outdated ctx.host_fragments
5720 - removed outdated ctx.host_configuration
5721 - Now that the host configuration is finished, `genrule` should
5722 prefer the use of `tools` and stop using `exec_tools`.
5723 - Added a `native.package_relative_label()` function, which
5724 converts a label string to a Label object in the context of the
5725 calling package, in contrast to `Label()`, which does so in the
5726 context of the current .bzl file. Both functions now also accept
5727 relative labels such as `:foo`, and are idempotent.
5728 - Update Android manifest merger to v30.1.3, and also drop support
5729 for legacy (pre-D8) desugaring.
5730 - Adds coverage metric support to android_local_test
5731 - Correctly encode double value positive infinity as "inf" instead
5732 of "+inf" for textprotos.
5733 - Add --use_target_platform_for_tests which uses the target
5734 platform for executing tests instead of the execution platform.
5735 - Custom C++ rules on Windows calling
5736 cc_common.create_linking_context_from_compilation_outputs should
5737 review whether each target of the rule type should produce a
5738 dynamic library since a condition which blocked their creation
5739 has been moved to the rules from behind the API.
5740
5741This 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.
5742
Bazel Release System0a8cf252023-03-06 16:01:56 +00005743## Release 6.1.0 (2023-03-06)
5744
5745```
5746Baseline: d60ce2c7c86393638c77698c00c2168a7a936a53
5747
5748Cherry picks:
5749
5750 + 490f8badf4f6f4ae8b96697f08267fdb083ccf5f:
5751 kshyanashree is the release manager of 6.0.0
5752 + 4e66d9340037f0be83d7bc0fdd809a09344ab83f:
5753 Automated rollback of commit
5754 2a2890913eb8f39299aa4b614ba96266ea8749f6.
5755 + 48a8d01b05149757f69a6a65a22a280bf003cd24:
5756 Allow C/C++ coverage collection for external targets
5757 + ec7be346adc00c4bde22d116fca80ef59da66121:
5758 Temporarily set parent directory of the input to writable if it
5759 is not.
5760 + b0984342eef068640a57aab584dd4c118f0dd394:
5761 Infer CPUs for tvOS and watchOS when on Apple Silicon
5762 + 5cea7dda5b632703cf4e0424ba09cd7c5bd6fc06:
5763 Improve the documentation for ctx.actions.symlink.
5764 + a82d26f17a99b5417b2212a0ce3a1bbc0285e5c4:
5765 Add quotes to "Tip"
5766 + 75b0f3aa95bc34f6620ea74e47d4822bd985efdd:
5767 Write a repo mapping manifest in the runfiles directory (#16555)
5768 + 07c5c1aa6d0b63605ae793dce78d26122af64a84:
5769 Ensure repository names don't start with `~`
5770 + 30f6c8238f39c4a396b3cb56a98c1a2e79d10bb9:
5771 Escape tilde more gracefully
5772 + cf3f48ca49f089615417636763d753811acf717f:
5773 Relax `Label` repo visibility validation
5774 + 4477823e2c2bc3d0335c41f971364dda72a3f69a:
5775 Use "apparent name" instead of "local name" in Bzlmod docs
5776 + 55f4f4834ef30321a00dab5b58202dd1e9716fd9:
5777 Bazel DevSite: Add required css file.
5778 + a706994ac69e3f3fed361c61378de847b50d3b12:
5779 Remove logic that increases delay between progress updates over
5780 time
5781 + 1d514ab05896f34ec91c2145f4dffafd3364030f:
5782 Remove references to io_bazel repository
5783 + b0357bd3831b26b5116dc120807e8264acf139db:
5784 Relnotes python script
5785 + 8f956511bb115c39ac683a1e78971fcf9dce5deb:
5786 Allow Java coverage collection for external targets
5787 + bddb191d3f99402330c67b89375409c31ee22daa:
5788 Fix race condition in package-bazel.sh
5789 + a75785279f543f4e33c697dd9e8873a6504b7818:
5790 Decanonicalize labels emitted by {a,c,}query if possible
5791 + 9d250edb63f27f9f4591bb5a71059710cc6dca9e:
5792 Add uniquify parameter to TemplateDict.add_joined
5793 + f02bcf8d8b0d00ecdd06ea0a45ba4f52e436597c:
5794 Fix identical gcov json file name problem
5795 + a1593309f66f892871e334013815b05350b4188f:
5796 Add `$(rlocationpath(s) ...)` expansion
5797 + 56f54daf9ff3b1177eee31e342e8d6b959d5ac34:
5798 Rollup of SBOM correctness fixes (#16655)
5799 + 72e6e948d30dec9dec60d78efef4eeda5b764a8f:
5800 [cc] Add cc toolchain to starlark cc_proto_library (#16661)
5801 + 8f28513893969b6346d965cab12aac69cb246ced:
5802 Make C++ runfiles library repo mapping aware
5803 + 95f9adc5ac544b1161d69a7ca74432479fdc29b3:
5804 Always collect FileProvider's filesToBuild as data runfiles
5805 + 4959d34e844714b793b2c6fa05016a9a6eaa7044:
5806 fix: export constraints.bzl file from @local_config_platform so
5807 it can be used in downstream bzl_library targets
5808 + 4919d4a61d8506d175b25a035500842b8bfe3d0d:
5809 Add --host_per_file_copt (#16695)
5810 + 0a23d46976c3fc999d44fbd1e37732ec2442d485:
5811 Moving some tests for `RemoteActionFileSystem` of BwoB to a base
5812 class.
5813 + 9296068be5e3808eb03a3b61f3af3a2c88f7ab7d:
5814 [remote/downloader] Don't include headers in `FetchBlobRequest`
5815 + 128d833fee99f8a43bc4de82cbec752e4ce6fb47:
5816 [remote] Respect whether the server supports action cache updates
5817 + 38c501912fc4efc14abc0741d19f5f8e8763afcb:
5818 [remote/downloader] Migrate `Downloader` to take `Credentials`
5819 (#16732)
5820 + 5929cb72aa01768e6352898b1a056ef678c81d90:
5821 Stage repository mapping manifest as a root symlink (#16733)
5822 + 455454a56e961affb041a1d4a9214f7f313a05aa:
5823 Expose current repository name to Java with @AutoBazelRepository
5824 + 97dea593e568f776361397f7280d6a16eee2efeb:
5825 Implement getDirectoryEntries and readdir for
5826 RemoteActionFileSystem.
5827 + aa45f5f3301c5005294df084cdf99c45d6f95d53:
5828 Move integration tests for BwoB to a base class and add more
5829 tests there.
5830 + 1b073ac0a719a09c9b2d1a52680517ab22dc971e:
5831 Make Java runfiles library repo mapping aware
5832 + 148bbb1c025a628643698f65627333d86975c1d7:
5833 Use `_repo_mapping` in C++ runfiles library (#16752)
5834 + 25558ada3fb377cfc2c965d3a93250ca28ce0fc1:
5835 Add --experimental_action_cache_store_output_metadata to the
5836 expansio…
5837 + 6e945e8ab422ca0a195d09899cce61ba6c0cfa59:
5838 Treat `DEBUG` events as progress-like.
5839 + 1940c5d68136ce2079efa8ff74d4e5fdf63ee3e6:
5840 redact 'token' strings from logging
5841 + 0b645254b41edc738c6641fd192fca86203ff2e2:
5842 Make Bash runfiles library repo mapping aware (#16753)
5843 + 4caae75b49e815ad2cf1d805f316bc374f03f2ae:
5844 Automated rollback of commit
5845 8f956511bb115c39ac683a1e78971fcf9dce5deb.
5846 + 13ff6d9e37999e00fda9a6cef278c7c924924f34:
5847 Fix Bash rlocation failure with stricter Bash options
5848 + bd88c7e47b911e5fa1f8a3c26d0f8317943c43ce:
5849 Make bazel Android remote deps compatible with bzlmod (#16772)
5850 + 6f6d4cca36a3b64009ed9c8b3fb13cb3c7ed915a:
5851 Flip `--incompatible_always_include_files_in_data`
5852 + 94355b1b1c4f7ef923457b8b2a070e5c6528240a:
5853 Add required `--add-opens` server JVM args also with
5854 non-embedded JDK
5855 + 8349c95fc98beb4008085942a67a57f0c4da074b:
5856 Also collect clang resource directory with
5857 `-no-canonical-prefixes`
5858 + dce6ed777d958d65c7f3d4a2f54f8117778a449e:
5859 Make `bazel run` works with minimal mode
5860 + ca8674cc4879ed1846bf015c33fe7d920a3f66ab:
5861 Include source files with `cquery --output=files` (#16826)
5862 + 9cb5e0a31665d3b3f25bf58ec2dee696e828d8b9:
5863 Fsync before rename after copy in DiskCacheClient
5864 + 23ffce53b92ef96432d8c6c58cc95ac362bab1bc:
5865 Update GetActionResult for disk cache to check referenced files
5866 when …
5867 + 0bc0ff5244142eb3348d42025ce21eeb337ad189:
5868 Make Java runfiles library compilable with JDK 8
5869 + fe169654a29d8ad33105d5d0034a7857834fed5d:
5870 [6.0.0] Default --incompatible_strict_conflict_checks to true.
5871 (#16864)
5872 + 99ca86f7c2968741ac3a9b20c3375fc992d49e66:
5873 Revert "[6.0.0] Default --incompatible_strict_conflict_checks to
5874 true. (#16864)" (#16872)
5875 + 312238f2b1414c98ed7d7d51dc4e18278edb2540:
5876 Make C++ runfiles library build with `-Werror=shadow`
5877 + 2baa5a4284467d70f1b31ea779b79d38ef07d164:
5878 Keep credentials cached across build commands.
5879 + 8818a57fce32a7872f045f03a334e1c9403724d3:
5880 [6.0.0] Only inject metadata for outputs that cannot be
5881 reconstructed by skyf… (#16879)
5882 + 31e4bf409eed71e8fb626092189eacb95f80fed9:
5883 Update java_tools v11.9
5884 + cd40666001e8d599bb61735898c195c6d2fae55b:
5885 replace _get_canonical_form(label) with str(label)
5886 + e2bc2374188b41924223385ad943db610e92e6c4:
5887 Avoid exceptions from hermetic sandbox for unsupported artifact
5888 subclasses
5889 + b564d145218e58b0440ffad82b3d1d54eef15d22:
5890 Remove warnings about ignored starlark options
5891 + 7ccc66108f08f7b6c6f6e5229f70f29962ea19ce:
5892 [6.0.0] Emit Tree objects in topological order (#16904)
5893 + 86dee6d2ecb269e0c41a97718812054394ee51a4:
5894 Correctly match regex with tree artifact
5895 + 14925b574aa63aad098f2c3d95e14b46ffd295ec:
5896 Always use target's attributes to set Python version (#16959)
5897 + a247502d28d8d70d648390de52952189b99a0bb7:
5898 Add 'toolchain' parameter to actions.{run,run_shell}
5899 + 497b7e403d6e5523bd1310bd1fe83c4ce1a6b1ec:
5900 Fix Bash `runfiles_current_repository` with RBE
5901 + 0a2c4edbc86398266525f31948d67a5736890bfe:
5902 Fix corner cases in Bash runfiles library
5903 + 33b514b25963452be71a015e08d4e890405b00a3:
5904 Fix runfiles creation with MANIFEST when building without the
5905 bytes
5906 + 3a13af41034e1f80cc0fbc1634cf8f724a85b78f:
5907 Remove LCOV merger dependency of `cc_test` without coverage
5908 (#17004)
5909 + 25ba76c1b8d420ebae43c1f59890ae46153c2240:
5910 Include full tree artifact in inputs when prefetcher doesn't
5911 support partial tree artifacts.
5912 + 06deebfb5b73f848de5a0ea0e00fcfaa26788d1f:
5913 Release 6.0.0 (2022-12-19)
5914 + c2bfb2e98d133c62be328e6e93c4b4bdf766d82c:
5915 Enable git_submodules tests and merge git_repository and
5916 starlark_git_repository (#17247)
5917 + e8182ce32931560406fee1c30745e56a2ee9a6b3:
5918 have 'bazel test' non-test targets depend on
5919 --remote_download_output
5920 + c3245cd028977877aa9e485451b29c7736ebcae0:
5921 Add `SpellChecker` suggestions for common Bzlmod errors
5922 + 8ec874348226995c4101b2173a465ddc65cab591:
5923 Use xcrun to invoke install_name_tool
5924 + 2b2bea4ee9d51ad875a8d273aa344ac9c5b6742c:
5925 Extra resources
5926 + 5b4de12b37cb4ba921b6bdfe810bbb47921ab3a6:
5927 Do not clear `--platforms` on no-op change to `--cpu`
5928 + db3c0130b3363485a366897e1c1f2adc5d41fde6:
5929 Report `AspectCreationException` to the user
5930 + 53e9fea30e58ab479e5cd7a6c804634f56fc2ddb:
5931 Use long executable path instead of `argv[0]` in all launchers
5932 + abae5ca3e8142f93cf0c2597e3410ed955c4dd59:
5933 Add sanitizer features to unix_cc_toolchain_config
5934 + db684196afd3b1a0a0e7d883674324bd161ae8bf:
5935 Allow `map_each` to return `None` in `TemplateDict#add_joined`
5936 + 66b58ee904efa22696edc1b78a59bac91da9ed8d:
5937 Always emit trailing zero in human-readable download progress
5938 + 17b8e448a5e5589f96c2794cb38c86b0c64e86c0:
5939 Upload all logs in BEP even with minimal upload
5940 + 28d2daae70be6ee97b876b0568796ceb87af9523:
5941 Set `--experimental_action_listeners` to default in `exec` config
5942 + 16427c9050db140d6cb90d7d6324d4a2ff1e249a:
5943 Do not count tests as failed that have not started
5944 + 094a0aabed1e018e6503bc3ac844c8022b71a527:
5945 Accept tildes in --override_module
5946 + 5f2866f8434ce9a17cf82c001efb7b236f189115:
5947 Do the AC integrity check for disk part of the combined cache.
5948 + cd10d508e20a4964586b46f7edea8a6dc900157c:
5949 Fix `--nozip_undeclared_test_outputs` on Windows
5950 + 073f54b9a7c46afd2c28b4a99a235bdd6b63bb5f:
5951 Allow pyd in extensions of dynamic libraries
5952 + ac504cbb463e76b1374d0060534acabbccb408d2:
5953 Register JavaCompileActionContext in Bazel.
5954 + f090433fcf0f42639608b9c5f0243018c1bb9ac7:
5955 Rollback #14510 because it causes remote test execution to fail
5956 + 942dddaaad9bf4fbb20b66535aad4fc464ad69ba:
5957 Prepare backwards compatible usage of optional C++ toolchain
5958 + 88b51f57d09e43dec31a84d4b636595924d5bfef:
5959 Emit LLVM coverage for source file paths with a `tmp` segment
5960 + bb0b886271d45209e3bef476da37811b9dd2afe5:
5961 Enable archive_param_file feature by default for Windows
5962 + baf97c00c891acf844a29b4cc31abb45b5c434e5:
5963 Allow `TemplateDict#map_each` callback to return a list of
5964 strings (#17306)
5965 + fcb007749f7f24b36c2b7c4284378bba20fc8b69:
5966 Only try to create groups of test actions in the ui.
5967 + 3c47b4716e6eca2b8ab06253915ef8d1bdd28038:
5968 Find `libtool` when using `BAZEL_USE_CPP_ONLY_TOOLCHAIN`.
5969 + 1da8a825c0fba882f33ea6998a76ff8265fcd32c:
5970 Add -dead_strip in default opt link flags for darwin
5971 + b0c5eb30b2738bf6454c3026a3e0f37579d5854c:
5972 Dont query remote cache but always use bytestream protocol
5973 + 00e9af1985cc0227599516fe7568785ca4334050:
5974 Allow Java coverage collection for external targets.
5975 + dd24a0022a0ff959598da2c9bc097d27083be1a0:
5976 Test and fix root symlink edge case in runfiles library
5977 + af97d9830d3207893cc6f5c851431a28f1721acb:
5978 [6.1.0] Fix broken CI (#17422)
5979 + b859571804f2095caaf018b172b59c90f185fd51:
5980 Add `native.package_relative_label` function
5981 + 82168d44ee1d49cf2f406903b6d8b9fde0e66cf2:
5982 Make Bazel more responsive and use less memory when --jobs is
5983 high (#17398)
5984 + 84c1ed430405b154b6e9eb2c28281f450e250eff:
5985 Multiplex worker fixes and tests for Android busybox tools
5986 (#17371)
5987 + 07590818d6ce0d0e66c2377db7e73fb6ee6702e5:
5988 Improve error message for concurrent modifications (#17396)
5989 + 27bc896f36f0e0ea5dbeaaa16f3a124e38a7284a:
5990 [6.1.0] Make bazel coverage work with minimal mode (#17397)
5991 + 544b8164ca352cf06dda0849a589b825631428af:
5992 [6.1.0] Fix cc_binary bug related to cc_shared_library on
5993 Windows and prepare for future removal of
5994 --experimental_cc_shared_library flag (#17445)
5995 + 9a7aa21c8cd6f38d10e23e265dd650bf031f9b7c:
5996 Fix Bash `runfiles_current_repository` for tools
5997 + 911eedc0badcefdbc60a936ae73972772042fc8a:
5998 Fix label unambiguous canonical form to correctly report
5999 non-visible repo names
6000 + e132653ead5e50f4226dbff7776466fef1918f49:
6001 Remove O1 from sanitizer feature flag defaults
6002 + ba9e2f8fe666b4fc6110d86ea93cc11779e77068:
6003 Remove usage of gRPC Context cancellation in the remote
6004 execution client.
6005 + de03a2363d016782c5dfe7c55b5cf06cb610f6a2:
6006 Allow -v to libtool
6007 + 4e35c02c7c400bfbbfa69164a1ec3bd51966ca79:
6008 Prettify labels in action progress messages with Bzlmod (#17278)
6009 + 1be0ac3e73698e31a349ece629c887b06e102a0b:
6010 Expand tree outputs before eagerly prefetching them for local
6011 actions. (#17494)
6012 + c26665102d0d524bb42be8cd205c7b31a22a75c9:
6013 Fix Java coverage collection with Java 8 runtime
6014 + 1a6ffe6d453708e3cefc98a07965c680e48d6bac:
6015 Add a flag to disable execution log sorting.
6016 + fbec8e2ad1dcbebbbc96491f8b6b208f5b3ac91f:
6017 Reduce flakiness on Windows for BwoB tests
6018 + 420659a9ad2a98f57e057d8c22eb621e3b12803e:
6019 Make AutoBazelRepositoryProcessor compatible with Java 8
6020 + dde6d20b3fd1d7a14825649c9c89d1c4d2d5242b:
6021 Do not recommend `shallow_since` for `git_repository`
6022 + f76fc61640825dd7cf83ce02ba48a4e4f95b66ff:
6023 Allow the timeout value for execute calls on a mac to be set via
6024 an environment variable
6025 + 773d232f528276338098578a28c19c742e3b4e7e:
6026 Fix RPATHs for cc toolchain solib when sibling layout is used
6027 + 5932b3b8886ddb5aba271fd907f1371e67960a44:
6028 [6.1.0] Add --host_features (#17528)
6029 + a0fa77cc36d02f5f230335556a1829b298b2f219:
6030 Exit with code 39 if remote cache evicted blobs that Bazel need
6031 during an invocation (#17496)
6032 + 1a438b41b74d94fd8b6ff4dcf20b4526530e3c6e:
6033 Only fetch @remote_coverage_tools when collecting coverage
6034 (#17512)
6035 + ee1daaf9852d568dcf38357eadd77b9de953db36:
6036 [6.1.0]Only fetch @remote_coverage_tools when collecting
6037 coverage (#17287)
6038 + 350e32952bdd639969e2aff7887c5dc34c21bce6:
6039 [6.1.0]Fix symlink file creation overhead (#17488)
6040 + 5406c953574d48434d33b1cf49b70b718795d783:
6041 [6.1.0] Cleanup stale state when remote cache evicted (#17538)
6042 + 2d1b570e976773134a6244dd012e93a5478f6d4a:
6043 Bump version number in runfiles.bash init code
6044 + 3ab8a0a5d628a0d958fb2eb1c0d5bb76b442e2f2:
6045 [6.1.0]Let `aquery` print effective environment for all
6046 `CommandAction`s (#17274)
6047 + 51e6c38ae808df4f2bf8fb29b4c5173e06ac014a:
6048 Properly report repo fetch progress during main repo mapping
6049 computation
6050 + 744108e88681e770982f148161d328c9b77319a1:
6051 [docs] Update migrating to Xcode tutorial (#17563)
6052 + 9dc7a7e6881f58965103b42390560589e0f38b48:
6053 Update //third_party:jsr305 (#17557)
6054 + 43dadb275b3f9690242bf2d94a0757c721d231a9:
6055 Bump minimum supported macOS versions to 10.13
6056 + 7d9d23c1ac1b7fcaa461f902e286f50fbb7cb116:
6057 Correctly set default subprocess factory when loading class
6058 `SubprocessBuilder`.
6059 + 77f82f4fab189fd042754be0a7747042d9b01b8f:
6060 Add an --incompatible_strict_conflict_checks alias for
6061 --experimental_strict_conflict_checks.
6062 + e05345dec405a0333c48ff188d2d9a1be90dad53:
6063 Add support for wrapping system streams in WorkRequestHandler
6064 + 68e1924cdab69ab92b8acf2f6e9324d11e00b267:
6065 Also handle remote cache eviction for tree artifacts. (#17601)
6066 + 4a6d056a8d058ab98a01348fb0c046660ee99a71:
6067 Add host transition to lcov_merger in Java version of py_test
6068 + 546e9e2942cb2e98b4c93065cc2d2910878dc900:
6069 Fix Bazel 6.0 crash regression (#17613)
6070 + 7e328bb71004e1976525d8b813ca0d616e2af74b:
6071 Include Bazel version information in profile metadata. (#17616)
6072 + aafe1235c55f6cdcfc577a40736aaeb9ebaca23b:
6073 [6.1.0] Handle remote cache eviction when uploading inputs for
6074 remote actions. (#17605)
6075 + 938e34823206a2644d538ba655d20ac553352975:
6076 [6.1.0] Rerun the artifact conflict check when
6077 --incompatible_strict_conflict_checks changes. (#17592)
6078 + 034a2815a1e18be5c8b36c6a78f44bb849dff437:
6079 Report background download for BwoB (#17619)
6080 + 5afbce52c70cf974eaa4a3bbbc376f398271427d:
6081 [6.1.0] Flag for writable outputs (experimental) (#17617)
6082 + d4105e658001677929338835eb970e6595e66b3c:
6083 [6.1.0] Allow .wasm cc executable and dynamic library extension
6084 (#17440)
6085 + a306f4f7fd440d006aa6ae9234b4430f13bc8cf9:
6086 make desugar dependencies deterministic
6087 + 37953c56ea77c7aa7bea677f3481557fdb2c2a15:
6088 Apply exec transition to lcov_merger in sh_test and cc_test
6089 + 1d73d72a45598e38c51b2618bb6fe4f27b390cb8:
6090 [6.1.0]Fix --host_features with multiple transitions (#17641)
6091```
6092
6093Incompatible changes:
6094
6095 - Bazel no longer increases the delay between progress updates when
6096 there is no cursor control.
6097 - `--incompatible_always_include_files_in_data` is flipped
6098 to true. See https://github.com/bazelbuild/bazel/issues/16654 for
6099 details.
6100 - `cquery --output=files` also outputs source files.
6101
6102 Closes #16602.
6103 - `--incompatible_strict_conflict_checks` is flipped to true. See
6104 https://github.com/bazelbuild/bazel/issues/16729 for details.
6105 - This changes the behavior of Python version in exec/host
6106 configuration. Mitigation is to set Python version on the targets.
6107 - `--features` only applies to targets built in the target
6108 configuration, and `--host_features` is used for the host / exec
6109 configuration (gated behind `--incompatible_use_host_features`)
6110
6111 Fixes https://github.com/bazelbuild/bazel/issues/13839
6112
6113 Closes #16626.
6114
6115Important changes:
6116
6117 - The new path variable `$(rlocationpath ...)` and its plural form
6118 `$(rlocationpaths ...)` can be used to expand labels to the paths
6119 accepted by the `Rlocation` function of runfiles libraries. This
6120 is the preferred way to access data dependencies at runtime and
6121 works on all platforms, even when runfiles are not enabled (e.g.,
6122 on Windows by default).
6123
6124 Work towards #16124
6125 Fixes #10923
6126
6127 Closes #16428.
6128 - Starlark `print()` statements are now emitted iff the line of
6129 code is executed. They are no longer replayed on subsequent
6130 invocations unless the Starlark code is re-executed.
6131 Additionally, multiple identical `print()` statements (same
6132 string from the same line of code, e.g. from a loop) are all
6133 emitted and no longer deduplicated.
6134 - Fixes a bug where some compilation flags would not be applied to
6135 a cc_test
6136 - Added a `native.package_relative_label()` function, which
6137 converts a label string to a Label object in the context of the
6138 calling package, in contrast to `Label()`, which does so in the
6139 context of the current .bzl file. Both functions now also accept
6140 relative labels such as `:foo`, and are idempotent.
6141
6142This 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.
6143
Bazel Release System801103d2023-03-06 17:05:09 +00006144## Release 6.1.0 (2023-03-06)
6145
6146```
6147Baseline: d60ce2c7c86393638c77698c00c2168a7a936a53
6148
6149Cherry picks:
6150
6151 + 490f8badf4f6f4ae8b96697f08267fdb083ccf5f:
6152 kshyanashree is the release manager of 6.0.0
6153 + 4e66d9340037f0be83d7bc0fdd809a09344ab83f:
6154 Automated rollback of commit
6155 2a2890913eb8f39299aa4b614ba96266ea8749f6.
6156 + 48a8d01b05149757f69a6a65a22a280bf003cd24:
6157 Allow C/C++ coverage collection for external targets
6158 + ec7be346adc00c4bde22d116fca80ef59da66121:
6159 Temporarily set parent directory of the input to writable if it
6160 is not.
6161 + b0984342eef068640a57aab584dd4c118f0dd394:
6162 Infer CPUs for tvOS and watchOS when on Apple Silicon
6163 + 5cea7dda5b632703cf4e0424ba09cd7c5bd6fc06:
6164 Improve the documentation for ctx.actions.symlink.
6165 + a82d26f17a99b5417b2212a0ce3a1bbc0285e5c4:
6166 Add quotes to "Tip"
6167 + 75b0f3aa95bc34f6620ea74e47d4822bd985efdd:
6168 Write a repo mapping manifest in the runfiles directory (#16555)
6169 + 07c5c1aa6d0b63605ae793dce78d26122af64a84:
6170 Ensure repository names don't start with `~`
6171 + 30f6c8238f39c4a396b3cb56a98c1a2e79d10bb9:
6172 Escape tilde more gracefully
6173 + cf3f48ca49f089615417636763d753811acf717f:
6174 Relax `Label` repo visibility validation
6175 + 4477823e2c2bc3d0335c41f971364dda72a3f69a:
6176 Use "apparent name" instead of "local name" in Bzlmod docs
6177 + 55f4f4834ef30321a00dab5b58202dd1e9716fd9:
6178 Bazel DevSite: Add required css file.
6179 + a706994ac69e3f3fed361c61378de847b50d3b12:
6180 Remove logic that increases delay between progress updates over
6181 time
6182 + 1d514ab05896f34ec91c2145f4dffafd3364030f:
6183 Remove references to io_bazel repository
6184 + b0357bd3831b26b5116dc120807e8264acf139db:
6185 Relnotes python script
6186 + 8f956511bb115c39ac683a1e78971fcf9dce5deb:
6187 Allow Java coverage collection for external targets
6188 + bddb191d3f99402330c67b89375409c31ee22daa:
6189 Fix race condition in package-bazel.sh
6190 + a75785279f543f4e33c697dd9e8873a6504b7818:
6191 Decanonicalize labels emitted by {a,c,}query if possible
6192 + 9d250edb63f27f9f4591bb5a71059710cc6dca9e:
6193 Add uniquify parameter to TemplateDict.add_joined
6194 + f02bcf8d8b0d00ecdd06ea0a45ba4f52e436597c:
6195 Fix identical gcov json file name problem
6196 + a1593309f66f892871e334013815b05350b4188f:
6197 Add `$(rlocationpath(s) ...)` expansion
6198 + 56f54daf9ff3b1177eee31e342e8d6b959d5ac34:
6199 Rollup of SBOM correctness fixes (#16655)
6200 + 72e6e948d30dec9dec60d78efef4eeda5b764a8f:
6201 [cc] Add cc toolchain to starlark cc_proto_library (#16661)
6202 + 8f28513893969b6346d965cab12aac69cb246ced:
6203 Make C++ runfiles library repo mapping aware
6204 + 95f9adc5ac544b1161d69a7ca74432479fdc29b3:
6205 Always collect FileProvider's filesToBuild as data runfiles
6206 + 4959d34e844714b793b2c6fa05016a9a6eaa7044:
6207 fix: export constraints.bzl file from @local_config_platform so
6208 it can be used in downstream bzl_library targets
6209 + 4919d4a61d8506d175b25a035500842b8bfe3d0d:
6210 Add --host_per_file_copt (#16695)
6211 + 0a23d46976c3fc999d44fbd1e37732ec2442d485:
6212 Moving some tests for `RemoteActionFileSystem` of BwoB to a base
6213 class.
6214 + 9296068be5e3808eb03a3b61f3af3a2c88f7ab7d:
6215 [remote/downloader] Don't include headers in `FetchBlobRequest`
6216 + 128d833fee99f8a43bc4de82cbec752e4ce6fb47:
6217 [remote] Respect whether the server supports action cache updates
6218 + 38c501912fc4efc14abc0741d19f5f8e8763afcb:
6219 [remote/downloader] Migrate `Downloader` to take `Credentials`
6220 (#16732)
6221 + 5929cb72aa01768e6352898b1a056ef678c81d90:
6222 Stage repository mapping manifest as a root symlink (#16733)
6223 + 455454a56e961affb041a1d4a9214f7f313a05aa:
6224 Expose current repository name to Java with @AutoBazelRepository
6225 + 97dea593e568f776361397f7280d6a16eee2efeb:
6226 Implement getDirectoryEntries and readdir for
6227 RemoteActionFileSystem.
6228 + aa45f5f3301c5005294df084cdf99c45d6f95d53:
6229 Move integration tests for BwoB to a base class and add more
6230 tests there.
6231 + 1b073ac0a719a09c9b2d1a52680517ab22dc971e:
6232 Make Java runfiles library repo mapping aware
6233 + 148bbb1c025a628643698f65627333d86975c1d7:
6234 Use `_repo_mapping` in C++ runfiles library (#16752)
6235 + 25558ada3fb377cfc2c965d3a93250ca28ce0fc1:
6236 Add --experimental_action_cache_store_output_metadata to the
6237 expansio…
6238 + 6e945e8ab422ca0a195d09899cce61ba6c0cfa59:
6239 Treat `DEBUG` events as progress-like.
6240 + 1940c5d68136ce2079efa8ff74d4e5fdf63ee3e6:
6241 redact 'token' strings from logging
6242 + 0b645254b41edc738c6641fd192fca86203ff2e2:
6243 Make Bash runfiles library repo mapping aware (#16753)
6244 + 4caae75b49e815ad2cf1d805f316bc374f03f2ae:
6245 Automated rollback of commit
6246 8f956511bb115c39ac683a1e78971fcf9dce5deb.
6247 + 13ff6d9e37999e00fda9a6cef278c7c924924f34:
6248 Fix Bash rlocation failure with stricter Bash options
6249 + bd88c7e47b911e5fa1f8a3c26d0f8317943c43ce:
6250 Make bazel Android remote deps compatible with bzlmod (#16772)
6251 + 6f6d4cca36a3b64009ed9c8b3fb13cb3c7ed915a:
6252 Flip `--incompatible_always_include_files_in_data`
6253 + 94355b1b1c4f7ef923457b8b2a070e5c6528240a:
6254 Add required `--add-opens` server JVM args also with
6255 non-embedded JDK
6256 + 8349c95fc98beb4008085942a67a57f0c4da074b:
6257 Also collect clang resource directory with
6258 `-no-canonical-prefixes`
6259 + dce6ed777d958d65c7f3d4a2f54f8117778a449e:
6260 Make `bazel run` works with minimal mode
6261 + ca8674cc4879ed1846bf015c33fe7d920a3f66ab:
6262 Include source files with `cquery --output=files` (#16826)
6263 + 9cb5e0a31665d3b3f25bf58ec2dee696e828d8b9:
6264 Fsync before rename after copy in DiskCacheClient
6265 + 23ffce53b92ef96432d8c6c58cc95ac362bab1bc:
6266 Update GetActionResult for disk cache to check referenced files
6267 when …
6268 + 0bc0ff5244142eb3348d42025ce21eeb337ad189:
6269 Make Java runfiles library compilable with JDK 8
6270 + fe169654a29d8ad33105d5d0034a7857834fed5d:
6271 [6.0.0] Default --incompatible_strict_conflict_checks to true.
6272 (#16864)
6273 + 99ca86f7c2968741ac3a9b20c3375fc992d49e66:
6274 Revert "[6.0.0] Default --incompatible_strict_conflict_checks to
6275 true. (#16864)" (#16872)
6276 + 312238f2b1414c98ed7d7d51dc4e18278edb2540:
6277 Make C++ runfiles library build with `-Werror=shadow`
6278 + 2baa5a4284467d70f1b31ea779b79d38ef07d164:
6279 Keep credentials cached across build commands.
6280 + 8818a57fce32a7872f045f03a334e1c9403724d3:
6281 [6.0.0] Only inject metadata for outputs that cannot be
6282 reconstructed by skyf… (#16879)
6283 + 31e4bf409eed71e8fb626092189eacb95f80fed9:
6284 Update java_tools v11.9
6285 + cd40666001e8d599bb61735898c195c6d2fae55b:
6286 replace _get_canonical_form(label) with str(label)
6287 + e2bc2374188b41924223385ad943db610e92e6c4:
6288 Avoid exceptions from hermetic sandbox for unsupported artifact
6289 subclasses
6290 + b564d145218e58b0440ffad82b3d1d54eef15d22:
6291 Remove warnings about ignored starlark options
6292 + 7ccc66108f08f7b6c6f6e5229f70f29962ea19ce:
6293 [6.0.0] Emit Tree objects in topological order (#16904)
6294 + 86dee6d2ecb269e0c41a97718812054394ee51a4:
6295 Correctly match regex with tree artifact
6296 + 14925b574aa63aad098f2c3d95e14b46ffd295ec:
6297 Always use target's attributes to set Python version (#16959)
6298 + a247502d28d8d70d648390de52952189b99a0bb7:
6299 Add 'toolchain' parameter to actions.{run,run_shell}
6300 + 497b7e403d6e5523bd1310bd1fe83c4ce1a6b1ec:
6301 Fix Bash `runfiles_current_repository` with RBE
6302 + 0a2c4edbc86398266525f31948d67a5736890bfe:
6303 Fix corner cases in Bash runfiles library
6304 + 33b514b25963452be71a015e08d4e890405b00a3:
6305 Fix runfiles creation with MANIFEST when building without the
6306 bytes
6307 + 3a13af41034e1f80cc0fbc1634cf8f724a85b78f:
6308 Remove LCOV merger dependency of `cc_test` without coverage
6309 (#17004)
6310 + 25ba76c1b8d420ebae43c1f59890ae46153c2240:
6311 Include full tree artifact in inputs when prefetcher doesn't
6312 support partial tree artifacts.
6313 + 06deebfb5b73f848de5a0ea0e00fcfaa26788d1f:
6314 Release 6.0.0 (2022-12-19)
6315 + c2bfb2e98d133c62be328e6e93c4b4bdf766d82c:
6316 Enable git_submodules tests and merge git_repository and
6317 starlark_git_repository (#17247)
6318 + e8182ce32931560406fee1c30745e56a2ee9a6b3:
6319 have 'bazel test' non-test targets depend on
6320 --remote_download_output
6321 + c3245cd028977877aa9e485451b29c7736ebcae0:
6322 Add `SpellChecker` suggestions for common Bzlmod errors
6323 + 8ec874348226995c4101b2173a465ddc65cab591:
6324 Use xcrun to invoke install_name_tool
6325 + 2b2bea4ee9d51ad875a8d273aa344ac9c5b6742c:
6326 Extra resources
6327 + 5b4de12b37cb4ba921b6bdfe810bbb47921ab3a6:
6328 Do not clear `--platforms` on no-op change to `--cpu`
6329 + db3c0130b3363485a366897e1c1f2adc5d41fde6:
6330 Report `AspectCreationException` to the user
6331 + 53e9fea30e58ab479e5cd7a6c804634f56fc2ddb:
6332 Use long executable path instead of `argv[0]` in all launchers
6333 + abae5ca3e8142f93cf0c2597e3410ed955c4dd59:
6334 Add sanitizer features to unix_cc_toolchain_config
6335 + db684196afd3b1a0a0e7d883674324bd161ae8bf:
6336 Allow `map_each` to return `None` in `TemplateDict#add_joined`
6337 + 66b58ee904efa22696edc1b78a59bac91da9ed8d:
6338 Always emit trailing zero in human-readable download progress
6339 + 17b8e448a5e5589f96c2794cb38c86b0c64e86c0:
6340 Upload all logs in BEP even with minimal upload
6341 + 28d2daae70be6ee97b876b0568796ceb87af9523:
6342 Set `--experimental_action_listeners` to default in `exec` config
6343 + 16427c9050db140d6cb90d7d6324d4a2ff1e249a:
6344 Do not count tests as failed that have not started
6345 + 094a0aabed1e018e6503bc3ac844c8022b71a527:
6346 Accept tildes in --override_module
6347 + 5f2866f8434ce9a17cf82c001efb7b236f189115:
6348 Do the AC integrity check for disk part of the combined cache.
6349 + cd10d508e20a4964586b46f7edea8a6dc900157c:
6350 Fix `--nozip_undeclared_test_outputs` on Windows
6351 + 073f54b9a7c46afd2c28b4a99a235bdd6b63bb5f:
6352 Allow pyd in extensions of dynamic libraries
6353 + ac504cbb463e76b1374d0060534acabbccb408d2:
6354 Register JavaCompileActionContext in Bazel.
6355 + f090433fcf0f42639608b9c5f0243018c1bb9ac7:
6356 Rollback #14510 because it causes remote test execution to fail
6357 + 942dddaaad9bf4fbb20b66535aad4fc464ad69ba:
6358 Prepare backwards compatible usage of optional C++ toolchain
6359 + 88b51f57d09e43dec31a84d4b636595924d5bfef:
6360 Emit LLVM coverage for source file paths with a `tmp` segment
6361 + bb0b886271d45209e3bef476da37811b9dd2afe5:
6362 Enable archive_param_file feature by default for Windows
6363 + baf97c00c891acf844a29b4cc31abb45b5c434e5:
6364 Allow `TemplateDict#map_each` callback to return a list of
6365 strings (#17306)
6366 + fcb007749f7f24b36c2b7c4284378bba20fc8b69:
6367 Only try to create groups of test actions in the ui.
6368 + 3c47b4716e6eca2b8ab06253915ef8d1bdd28038:
6369 Find `libtool` when using `BAZEL_USE_CPP_ONLY_TOOLCHAIN`.
6370 + 1da8a825c0fba882f33ea6998a76ff8265fcd32c:
6371 Add -dead_strip in default opt link flags for darwin
6372 + b0c5eb30b2738bf6454c3026a3e0f37579d5854c:
6373 Dont query remote cache but always use bytestream protocol
6374 + 00e9af1985cc0227599516fe7568785ca4334050:
6375 Allow Java coverage collection for external targets.
6376 + dd24a0022a0ff959598da2c9bc097d27083be1a0:
6377 Test and fix root symlink edge case in runfiles library
6378 + af97d9830d3207893cc6f5c851431a28f1721acb:
6379 [6.1.0] Fix broken CI (#17422)
6380 + b859571804f2095caaf018b172b59c90f185fd51:
6381 Add `native.package_relative_label` function
6382 + 82168d44ee1d49cf2f406903b6d8b9fde0e66cf2:
6383 Make Bazel more responsive and use less memory when --jobs is
6384 high (#17398)
6385 + 84c1ed430405b154b6e9eb2c28281f450e250eff:
6386 Multiplex worker fixes and tests for Android busybox tools
6387 (#17371)
6388 + 07590818d6ce0d0e66c2377db7e73fb6ee6702e5:
6389 Improve error message for concurrent modifications (#17396)
6390 + 27bc896f36f0e0ea5dbeaaa16f3a124e38a7284a:
6391 [6.1.0] Make bazel coverage work with minimal mode (#17397)
6392 + 544b8164ca352cf06dda0849a589b825631428af:
6393 [6.1.0] Fix cc_binary bug related to cc_shared_library on
6394 Windows and prepare for future removal of
6395 --experimental_cc_shared_library flag (#17445)
6396 + 9a7aa21c8cd6f38d10e23e265dd650bf031f9b7c:
6397 Fix Bash `runfiles_current_repository` for tools
6398 + 911eedc0badcefdbc60a936ae73972772042fc8a:
6399 Fix label unambiguous canonical form to correctly report
6400 non-visible repo names
6401 + e132653ead5e50f4226dbff7776466fef1918f49:
6402 Remove O1 from sanitizer feature flag defaults
6403 + ba9e2f8fe666b4fc6110d86ea93cc11779e77068:
6404 Remove usage of gRPC Context cancellation in the remote
6405 execution client.
6406 + de03a2363d016782c5dfe7c55b5cf06cb610f6a2:
6407 Allow -v to libtool
6408 + 4e35c02c7c400bfbbfa69164a1ec3bd51966ca79:
6409 Prettify labels in action progress messages with Bzlmod (#17278)
6410 + 1be0ac3e73698e31a349ece629c887b06e102a0b:
6411 Expand tree outputs before eagerly prefetching them for local
6412 actions. (#17494)
6413 + c26665102d0d524bb42be8cd205c7b31a22a75c9:
6414 Fix Java coverage collection with Java 8 runtime
6415 + 1a6ffe6d453708e3cefc98a07965c680e48d6bac:
6416 Add a flag to disable execution log sorting.
6417 + fbec8e2ad1dcbebbbc96491f8b6b208f5b3ac91f:
6418 Reduce flakiness on Windows for BwoB tests
6419 + 420659a9ad2a98f57e057d8c22eb621e3b12803e:
6420 Make AutoBazelRepositoryProcessor compatible with Java 8
6421 + dde6d20b3fd1d7a14825649c9c89d1c4d2d5242b:
6422 Do not recommend `shallow_since` for `git_repository`
6423 + f76fc61640825dd7cf83ce02ba48a4e4f95b66ff:
6424 Allow the timeout value for execute calls on a mac to be set via
6425 an environment variable
6426 + 773d232f528276338098578a28c19c742e3b4e7e:
6427 Fix RPATHs for cc toolchain solib when sibling layout is used
6428 + 5932b3b8886ddb5aba271fd907f1371e67960a44:
6429 [6.1.0] Add --host_features (#17528)
6430 + a0fa77cc36d02f5f230335556a1829b298b2f219:
6431 Exit with code 39 if remote cache evicted blobs that Bazel need
6432 during an invocation (#17496)
6433 + 1a438b41b74d94fd8b6ff4dcf20b4526530e3c6e:
6434 Only fetch @remote_coverage_tools when collecting coverage
6435 (#17512)
6436 + ee1daaf9852d568dcf38357eadd77b9de953db36:
6437 [6.1.0]Only fetch @remote_coverage_tools when collecting
6438 coverage (#17287)
6439 + 350e32952bdd639969e2aff7887c5dc34c21bce6:
6440 [6.1.0]Fix symlink file creation overhead (#17488)
6441 + 5406c953574d48434d33b1cf49b70b718795d783:
6442 [6.1.0] Cleanup stale state when remote cache evicted (#17538)
6443 + 2d1b570e976773134a6244dd012e93a5478f6d4a:
6444 Bump version number in runfiles.bash init code
6445 + 3ab8a0a5d628a0d958fb2eb1c0d5bb76b442e2f2:
6446 [6.1.0]Let `aquery` print effective environment for all
6447 `CommandAction`s (#17274)
6448 + 51e6c38ae808df4f2bf8fb29b4c5173e06ac014a:
6449 Properly report repo fetch progress during main repo mapping
6450 computation
6451 + 744108e88681e770982f148161d328c9b77319a1:
6452 [docs] Update migrating to Xcode tutorial (#17563)
6453 + 9dc7a7e6881f58965103b42390560589e0f38b48:
6454 Update //third_party:jsr305 (#17557)
6455 + 43dadb275b3f9690242bf2d94a0757c721d231a9:
6456 Bump minimum supported macOS versions to 10.13
6457 + 7d9d23c1ac1b7fcaa461f902e286f50fbb7cb116:
6458 Correctly set default subprocess factory when loading class
6459 `SubprocessBuilder`.
6460 + 77f82f4fab189fd042754be0a7747042d9b01b8f:
6461 Add an --incompatible_strict_conflict_checks alias for
6462 --experimental_strict_conflict_checks.
6463 + e05345dec405a0333c48ff188d2d9a1be90dad53:
6464 Add support for wrapping system streams in WorkRequestHandler
6465 + 68e1924cdab69ab92b8acf2f6e9324d11e00b267:
6466 Also handle remote cache eviction for tree artifacts. (#17601)
6467 + 4a6d056a8d058ab98a01348fb0c046660ee99a71:
6468 Add host transition to lcov_merger in Java version of py_test
6469 + 546e9e2942cb2e98b4c93065cc2d2910878dc900:
6470 Fix Bazel 6.0 crash regression (#17613)
6471 + 7e328bb71004e1976525d8b813ca0d616e2af74b:
6472 Include Bazel version information in profile metadata. (#17616)
6473 + aafe1235c55f6cdcfc577a40736aaeb9ebaca23b:
6474 [6.1.0] Handle remote cache eviction when uploading inputs for
6475 remote actions. (#17605)
6476 + 938e34823206a2644d538ba655d20ac553352975:
6477 [6.1.0] Rerun the artifact conflict check when
6478 --incompatible_strict_conflict_checks changes. (#17592)
6479 + 034a2815a1e18be5c8b36c6a78f44bb849dff437:
6480 Report background download for BwoB (#17619)
6481 + 5afbce52c70cf974eaa4a3bbbc376f398271427d:
6482 [6.1.0] Flag for writable outputs (experimental) (#17617)
6483 + d4105e658001677929338835eb970e6595e66b3c:
6484 [6.1.0] Allow .wasm cc executable and dynamic library extension
6485 (#17440)
6486 + a306f4f7fd440d006aa6ae9234b4430f13bc8cf9:
6487 make desugar dependencies deterministic
6488 + 37953c56ea77c7aa7bea677f3481557fdb2c2a15:
6489 Apply exec transition to lcov_merger in sh_test and cc_test
6490 + 1d73d72a45598e38c51b2618bb6fe4f27b390cb8:
6491 [6.1.0]Fix --host_features with multiple transitions (#17641)
6492```
6493
6494Incompatible changes:
6495
6496 - Bazel no longer increases the delay between progress updates when
6497 there is no cursor control.
6498 - `--incompatible_always_include_files_in_data` is flipped
6499 to true. See https://github.com/bazelbuild/bazel/issues/16654 for
6500 details.
6501 - `cquery --output=files` also outputs source files.
6502
6503 Closes #16602.
6504 - `--incompatible_strict_conflict_checks` is flipped to true. See
6505 https://github.com/bazelbuild/bazel/issues/16729 for details.
6506 - This changes the behavior of Python version in exec/host
6507 configuration. Mitigation is to set Python version on the targets.
6508 - `--features` only applies to targets built in the target
6509 configuration, and `--host_features` is used for the host / exec
6510 configuration (gated behind `--incompatible_use_host_features`)
6511
6512 Fixes https://github.com/bazelbuild/bazel/issues/13839
6513
6514 Closes #16626.
6515
6516Important changes:
6517
6518 - The new path variable `$(rlocationpath ...)` and its plural form
6519 `$(rlocationpaths ...)` can be used to expand labels to the paths
6520 accepted by the `Rlocation` function of runfiles libraries. This
6521 is the preferred way to access data dependencies at runtime and
6522 works on all platforms, even when runfiles are not enabled (e.g.,
6523 on Windows by default).
6524
6525 Work towards #16124
6526 Fixes #10923
6527
6528 Closes #16428.
6529 - Starlark `print()` statements are now emitted iff the line of
6530 code is executed. They are no longer replayed on subsequent
6531 invocations unless the Starlark code is re-executed.
6532 Additionally, multiple identical `print()` statements (same
6533 string from the same line of code, e.g. from a loop) are all
6534 emitted and no longer deduplicated.
6535 - Fixes a bug where some compilation flags would not be applied to
6536 a cc_test
6537 - Added a `native.package_relative_label()` function, which
6538 converts a label string to a Label object in the context of the
6539 calling package, in contrast to `Label()`, which does so in the
6540 context of the current .bzl file. Both functions now also accept
6541 relative labels such as `:foo`, and are idempotent.
6542
6543This 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.
6544
Bazel Release Systemca9c4822023-02-24 21:18:59 +01006545## Release 7.0.0-pre.20230215.2 (2023-02-24)
6546
6547```
6548Baseline: e8a69f5d5acaeb6af760631490ecbf73e8a04eeb
6549
6550Cherry picks:
6551
6552 + 4ef636552b86ddea01f36c9346b78016bdad7798:
6553 Check for ctx.configuration.coverage_enabled instead of
6554 ctx.coverage_instrumented() in cc_helper.
6555```
6556
6557Incompatible changes:
6558
6559 - When remote cache evicts blobs, Bazel will exit with code 39.
6560
6561Important changes:
6562
6563 - Update Android manifest merger to v30.1.3, and also drop support
6564 for legacy (pre-D8) desugaring.
6565 - Adds coverage metric support to android_local_test
6566 - Correctly encode double value positive infinity as "inf" instead
6567 of "+inf" for textprotos.
6568
6569This 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.
6570
Bazel Release Systemf39272a2023-02-16 19:55:45 +01006571## Release 7.0.0-pre.20230209.2 (2023-02-16)
6572
6573```
6574Baseline: 66121a75d67b92990966fc94771a22b0b4a062e3
6575
6576Cherry picks:
6577
6578 + 534089ed10a253b31c499a284079f52a92bc0347:
6579 Automated rollback of commit
6580 02b1b78f0278e2d6d9f294b9cfe86f72f0c9a900.
6581```
6582
6583Incompatible changes:
6584
6585 - --incompatible_python_disable_py2 is flipped to true. See #17293
6586 for details.
6587
6588Important changes:
6589
6590 - Added a `native.package_relative_label()` function, which
6591 converts a label string to a Label object in the context of the
6592 calling package, in contrast to `Label()`, which does so in the
6593 context of the current .bzl file. Both functions now also accept
6594 relative labels such as `:foo`, and are idempotent.
6595
6596This 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.
6597
Bazel Release System3a9618c2023-02-14 14:30:18 +01006598## Release 7.0.0-pre.20230128.3 (2023-02-14)
6599
6600```
6601Baseline: d13c9641a187b5a3026ebb9093aeb480fdfe1838
6602```
6603
6604This 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.
6605
Bazel Release System127024e2023-02-02 22:56:48 +01006606## Release 7.0.0-pre.20230123.5 (2023-02-02)
6607
6608```
6609Baseline: 2f9c7d60ea676f9f8e929b20a3ff74e786995c91
6610
6611Cherry picks:
6612
6613 + 9d92e7189bd7996286cbc0b04ae5c3ef7894f23c:
6614 Small tweaks to platform documentation. - Point platform rules
6615 to the explanatory document which people should have read first.
6616 - Update the left nav to include the word "Toolchains" - move
6617 https://bazel.build/extending/platforms from Design Docs to
6618 Concepts
6619 + d5095dbfd320654298aaa1b412a7581b53792d3f:
6620 "bazel config" output tests: skip noconfig.
6621 + 923425002daae6f83cb0c6487cc3453b2dc89a43:
6622 Automated rollback of commit
6623 0fe4c36a7feb24444bc72731bf4839aa1ca926c6.
6624```
6625
6626Incompatible changes:
6627
6628 - --experimental_build_transitive_python_runfiles is flipped to
6629 false. See #16303 for details
6630
6631Important changes:
6632
6633 - Now that the host configuration is finished, `genrule` should
6634 prefer the use of `tools` and stop using `exec_tools`.
6635
6636This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Keith Smiley.
6637
Bazel Release System357ac1d2023-01-26 19:34:58 +01006638## Release 7.0.0-pre.20230118.2 (2023-01-26)
6639
6640```
6641Baseline: b310a8aaf35d73d1310b2a914a459a9f32a04d0d
6642
6643Cherry picks:
6644
6645 + ab71a1002c9c53a8061336e40f91204a2a32c38e:
6646 Rollback
6647 https://github.com/bazelbuild/bazel/commit/414824173363e579d34afc
6648 1aa16bc97a220743dc to fix breakage in an internal use case
6649```
6650
6651Incompatible changes:
6652
6653 - query --output=proto --order_output=deps now returns targets in
6654 topological order (previously there was no ordering).
6655
6656This 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.
6657
Bazel Release Systemcb2c8eb2023-01-23 16:04:06 +01006658## Release 7.0.0-pre.20230104.2 (2023-01-23)
6659
6660```
6661Baseline: 89d34ac23a8f46b3b89ac4730d7a20da375f5fae
6662
6663Cherry picks:
6664
6665 + cf95a2be1de5e29d38fc1f35e662c678bb70fcdd:
6666 Automated rollback of commit
6667 2f39c04ea4b93788bfef5c475b7dd40a8a289aef.
6668```
6669
Bazel Release Systema06265c2023-01-23 16:57:19 +01006670This release contains contributions from many people at Google, as well as .
6671
6672## Release 7.0.0-pre.20230104.2 (2023-01-23)
6673
6674```
6675Baseline: 89d34ac23a8f46b3b89ac4730d7a20da375f5fae
6676
6677Cherry picks:
6678
6679 + cf95a2be1de5e29d38fc1f35e662c678bb70fcdd:
6680 Automated rollback of commit
6681 2f39c04ea4b93788bfef5c475b7dd40a8a289aef.
6682```
6683
Bazel Release Systemcb2c8eb2023-01-23 16:04:06 +01006684Incompatible changes:
6685
6686 - When multiple --deleted_packages options are passed on the
6687 command line, they will be concatenated instead of the latest one
6688 taking effect.
6689 - This has the side effect of changing the message on unsuccessful
6690 builds from
6691 - JSON profile: Use doubles instead of strings for counter series.
6692
6693Important changes:
6694
6695 - removed outdated ctx.host_configuration
6696
6697This 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.
6698
Bazel Release System3748bcc2022-12-23 20:28:58 +01006699## Release 7.0.0-pre.20221212.2 (2022-12-23)
6700
6701```
6702Baseline: 09da33b417e798cd0059a88dcfd4634af91e6322
6703
6704Cherry picks:
6705
6706 + 152cdc96300ec8f331fd1b41cde4b9f00e2e1b11:
6707 Fix stamping of jars in java_import
6708```
6709
6710Incompatible changes:
6711
6712 - This has the side effect of changing the message on unsuccessful
6713 builds from
6714 ```
6715 FAILED: Build did NOT complete successfully (0 packages loaded)
6716 ```
6717 to
6718 ```
6719 ERROR: Build did NOT complete successfully
6720 ```
6721 - Bazel no longer increases the delay between progress updates when
6722 there is no cursor control.
6723 - This has the side effect of changing the message on unsuccessful
6724 builds from
6725 ```
6726 FAILED: Build did NOT complete successfully (0 packages loaded)
6727 ```
6728 to
6729 ```
6730 ERROR: Build did NOT complete successfully
6731 ```
6732 - the --experimental_async_execution flag is now a no-op.
6733 - --experimental_replay_action_out_err is not a no-op.
6734 - `cquery --output=files` also outputs source files.
6735 - `--incompatible_strict_conflict_checks` is flipped to true. See
6736 https://github.com/bazelbuild/bazel/issues/16729 for details.
6737 - `--incompatible_strict_conflict_checks` is flipped to true. See
6738 https://github.com/bazelbuild/bazel/issues/16729 for details.
6739 - `--incompatible_always_include_files_in_data` is flipped to true.
6740 See https://github.com/bazelbuild/bazel/issues/16654 for details.
6741 - This changes the behavior of Python version in exec/host
6742 configuration. Mitigation is to set Python version on the targets.
6743
6744New features:
6745
6746 - The `aquery` and `cquery` commands now respect the
6747 `--query_file` flag just like the `query` command.
6748
6749Important changes:
6750
6751 - The new path variable `$(rlocationpath ...)` and its plural form
6752 `$(rlocationpaths ...)` can be used to expand labels to the paths
6753 accepted by the `Rlocation` function of runfiles libraries. This
6754 is the preferred way to access data dependencies at runtime and
6755 works on all platforms, even when runfiles are not enabled (e.g.,
6756 on Windows by default).
6757 - Starlark `print()` statements are now emitted iff the line of
6758 code is executed. They are no longer replayed on subsequent
6759 invocations unless the Starlark code is re-executed.
6760 Additionally, multiple identical `print()` statements (same
6761 string from the same line of code, e.g. from a loop) are all
6762 emitted and no longer deduplicated.
6763 - Fixes a bug where some compilation flags would not be applied to
6764 a cc_test
6765 - removed outdated ctx.host_fragments
6766
6767This 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.
6768
Bazel Release Systemb5d6cb12022-12-19 15:47:44 +00006769## Release 6.0.0 (2022-12-19)
6770
6771```
6772Baseline: d60ce2c7c86393638c77698c00c2168a7a936a53
6773
6774Cherry picks:
6775
6776 + 490f8badf4f6f4ae8b96697f08267fdb083ccf5f:
6777 kshyanashree is the release manager of 6.0.0
6778 + 4e66d9340037f0be83d7bc0fdd809a09344ab83f:
6779 Automated rollback of commit
6780 2a2890913eb8f39299aa4b614ba96266ea8749f6.
6781 + 48a8d01b05149757f69a6a65a22a280bf003cd24:
6782 Allow C/C++ coverage collection for external targets
6783 + ec7be346adc00c4bde22d116fca80ef59da66121:
6784 Temporarily set parent directory of the input to writable if it
6785 is not.
6786 + b0984342eef068640a57aab584dd4c118f0dd394:
6787 Infer CPUs for tvOS and watchOS when on Apple Silicon
6788 + 5cea7dda5b632703cf4e0424ba09cd7c5bd6fc06:
6789 Improve the documentation for ctx.actions.symlink.
6790 + a82d26f17a99b5417b2212a0ce3a1bbc0285e5c4:
6791 Add quotes to "Tip"
6792 + 75b0f3aa95bc34f6620ea74e47d4822bd985efdd:
6793 Write a repo mapping manifest in the runfiles directory (#16555)
6794 + 07c5c1aa6d0b63605ae793dce78d26122af64a84:
6795 Ensure repository names don't start with `~`
6796 + 30f6c8238f39c4a396b3cb56a98c1a2e79d10bb9:
6797 Escape tilde more gracefully
6798 + cf3f48ca49f089615417636763d753811acf717f:
6799 Relax `Label` repo visibility validation
6800 + 4477823e2c2bc3d0335c41f971364dda72a3f69a:
6801 Use "apparent name" instead of "local name" in Bzlmod docs
6802 + 55f4f4834ef30321a00dab5b58202dd1e9716fd9:
6803 Bazel DevSite: Add required css file.
6804 + a706994ac69e3f3fed361c61378de847b50d3b12:
6805 Remove logic that increases delay between progress updates over
6806 time
6807 + 1d514ab05896f34ec91c2145f4dffafd3364030f:
6808 Remove references to io_bazel repository
6809 + b0357bd3831b26b5116dc120807e8264acf139db:
6810 Relnotes python script
6811 + 8f956511bb115c39ac683a1e78971fcf9dce5deb:
6812 Allow Java coverage collection for external targets
6813 + bddb191d3f99402330c67b89375409c31ee22daa:
6814 Fix race condition in package-bazel.sh
6815 + a75785279f543f4e33c697dd9e8873a6504b7818:
6816 Decanonicalize labels emitted by {a,c,}query if possible
6817 + 9d250edb63f27f9f4591bb5a71059710cc6dca9e:
6818 Add uniquify parameter to TemplateDict.add_joined
6819 + f02bcf8d8b0d00ecdd06ea0a45ba4f52e436597c:
6820 Fix identical gcov json file name problem
6821 + a1593309f66f892871e334013815b05350b4188f:
6822 Add `$(rlocationpath(s) ...)` expansion
6823 + 56f54daf9ff3b1177eee31e342e8d6b959d5ac34:
6824 Rollup of SBOM correctness fixes (#16655)
6825 + 72e6e948d30dec9dec60d78efef4eeda5b764a8f:
6826 [cc] Add cc toolchain to starlark cc_proto_library (#16661)
6827 + 8f28513893969b6346d965cab12aac69cb246ced:
6828 Make C++ runfiles library repo mapping aware
6829 + 95f9adc5ac544b1161d69a7ca74432479fdc29b3:
6830 Always collect FileProvider's filesToBuild as data runfiles
6831 + 4959d34e844714b793b2c6fa05016a9a6eaa7044:
6832 fix: export constraints.bzl file from @local_config_platform so
6833 it can be used in downstream bzl_library targets
6834 + 4919d4a61d8506d175b25a035500842b8bfe3d0d:
6835 Add --host_per_file_copt (#16695)
6836 + 0a23d46976c3fc999d44fbd1e37732ec2442d485:
6837 Moving some tests for `RemoteActionFileSystem` of BwoB to a base
6838 class.
6839 + 9296068be5e3808eb03a3b61f3af3a2c88f7ab7d:
6840 [remote/downloader] Don't include headers in `FetchBlobRequest`
6841 + 128d833fee99f8a43bc4de82cbec752e4ce6fb47:
6842 [remote] Respect whether the server supports action cache updates
6843 + 38c501912fc4efc14abc0741d19f5f8e8763afcb:
6844 [remote/downloader] Migrate `Downloader` to take `Credentials`
6845 (#16732)
6846 + 5929cb72aa01768e6352898b1a056ef678c81d90:
6847 Stage repository mapping manifest as a root symlink (#16733)
6848 + 455454a56e961affb041a1d4a9214f7f313a05aa:
6849 Expose current repository name to Java with @AutoBazelRepository
6850 + 97dea593e568f776361397f7280d6a16eee2efeb:
6851 Implement getDirectoryEntries and readdir for
6852 RemoteActionFileSystem.
6853 + aa45f5f3301c5005294df084cdf99c45d6f95d53:
6854 Move integration tests for BwoB to a base class and add more
6855 tests there.
6856 + 1b073ac0a719a09c9b2d1a52680517ab22dc971e:
6857 Make Java runfiles library repo mapping aware
6858 + 148bbb1c025a628643698f65627333d86975c1d7:
6859 Use `_repo_mapping` in C++ runfiles library (#16752)
6860 + 25558ada3fb377cfc2c965d3a93250ca28ce0fc1:
6861 Add --experimental_action_cache_store_output_metadata to the
6862 expansio…
6863 + 6e945e8ab422ca0a195d09899cce61ba6c0cfa59:
6864 Treat `DEBUG` events as progress-like.
6865 + 1940c5d68136ce2079efa8ff74d4e5fdf63ee3e6:
6866 redact 'token' strings from logging
6867 + 0b645254b41edc738c6641fd192fca86203ff2e2:
6868 Make Bash runfiles library repo mapping aware (#16753)
6869 + 4caae75b49e815ad2cf1d805f316bc374f03f2ae:
6870 Automated rollback of commit
6871 8f956511bb115c39ac683a1e78971fcf9dce5deb.
6872 + 13ff6d9e37999e00fda9a6cef278c7c924924f34:
6873 Fix Bash rlocation failure with stricter Bash options
6874 + bd88c7e47b911e5fa1f8a3c26d0f8317943c43ce:
6875 Make bazel Android remote deps compatible with bzlmod (#16772)
6876 + 6f6d4cca36a3b64009ed9c8b3fb13cb3c7ed915a:
6877 Flip `--incompatible_always_include_files_in_data`
6878 + 94355b1b1c4f7ef923457b8b2a070e5c6528240a:
6879 Add required `--add-opens` server JVM args also with
6880 non-embedded JDK
6881 + 8349c95fc98beb4008085942a67a57f0c4da074b:
6882 Also collect clang resource directory with
6883 `-no-canonical-prefixes`
6884 + dce6ed777d958d65c7f3d4a2f54f8117778a449e:
6885 Make `bazel run` works with minimal mode
6886 + ca8674cc4879ed1846bf015c33fe7d920a3f66ab:
6887 Include source files with `cquery --output=files` (#16826)
6888 + 9cb5e0a31665d3b3f25bf58ec2dee696e828d8b9:
6889 Fsync before rename after copy in DiskCacheClient
6890 + 23ffce53b92ef96432d8c6c58cc95ac362bab1bc:
6891 Update GetActionResult for disk cache to check referenced files
6892 when …
6893 + 0bc0ff5244142eb3348d42025ce21eeb337ad189:
6894 Make Java runfiles library compilable with JDK 8
6895 + fe169654a29d8ad33105d5d0034a7857834fed5d:
6896 [6.0.0] Default --incompatible_strict_conflict_checks to true.
6897 (#16864)
6898 + 99ca86f7c2968741ac3a9b20c3375fc992d49e66:
6899 Revert "[6.0.0] Default --incompatible_strict_conflict_checks to
6900 true. (#16864)" (#16872)
6901 + 312238f2b1414c98ed7d7d51dc4e18278edb2540:
6902 Make C++ runfiles library build with `-Werror=shadow`
6903 + 2baa5a4284467d70f1b31ea779b79d38ef07d164:
6904 Keep credentials cached across build commands.
6905 + 8818a57fce32a7872f045f03a334e1c9403724d3:
6906 [6.0.0] Only inject metadata for outputs that cannot be
6907 reconstructed by skyf… (#16879)
6908 + 31e4bf409eed71e8fb626092189eacb95f80fed9:
6909 Update java_tools v11.9
6910 + cd40666001e8d599bb61735898c195c6d2fae55b:
6911 replace _get_canonical_form(label) with str(label)
6912 + e2bc2374188b41924223385ad943db610e92e6c4:
6913 Avoid exceptions from hermetic sandbox for unsupported artifact
6914 subclasses
6915 + b564d145218e58b0440ffad82b3d1d54eef15d22:
6916 Remove warnings about ignored starlark options
6917 + 7ccc66108f08f7b6c6f6e5229f70f29962ea19ce:
6918 [6.0.0] Emit Tree objects in topological order (#16904)
6919 + 86dee6d2ecb269e0c41a97718812054394ee51a4:
6920 Correctly match regex with tree artifact
6921 + 14925b574aa63aad098f2c3d95e14b46ffd295ec:
6922 Always use target's attributes to set Python version (#16959)
6923 + a247502d28d8d70d648390de52952189b99a0bb7:
6924 Add 'toolchain' parameter to actions.{run,run_shell}
6925 + 497b7e403d6e5523bd1310bd1fe83c4ce1a6b1ec:
6926 Fix Bash `runfiles_current_repository` with RBE
6927 + 0a2c4edbc86398266525f31948d67a5736890bfe:
6928 Fix corner cases in Bash runfiles library
6929 + 33b514b25963452be71a015e08d4e890405b00a3:
6930 Fix runfiles creation with MANIFEST when building without the
6931 bytes
6932 + 3a13af41034e1f80cc0fbc1634cf8f724a85b78f:
6933 Remove LCOV merger dependency of `cc_test` without coverage
6934 (#17004)
6935 + 25ba76c1b8d420ebae43c1f59890ae46153c2240:
6936 Include full tree artifact in inputs when prefetcher doesn't
6937 support partial tree artifacts.
6938```
6939
6940Incompatible changes:
6941
6942 - this incompatible change breaks old instances of http_archive
6943 that specified netrc as an absolute path. It is unlikely there
6944 are many instances in the wild since the path would refer to a
6945 netrc file inside the external repository by absolute path.
6946 Migration should be straightforward.
6947 - genrule switched to use exec transition instead of host. This can
6948 break targets with hardcoded output paths. To avoid using
6949 hardcoded paths use make variables, see
6950 https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
6951 defined_label_variables
6952 - this incompatible change breaks old instances of http_archive
6953 that specified netrc as an absolute path. It is unlikely there
6954 are many instances in the wild since...
6955 - Error Prone now checks for unused return values of additional
6956 methods on `java.lang.Object`, which can be disabled using
6957 `--javacopts=-Xep:ReturnValueIgnored:OFF`
6958 - Error Prone now checks for unused return values of additional
6959 methods on `java.lang.Object`, which can be disabled using
6960 `--javacopts=-Xep:ReturnValueIgnored:OFF`
6961 - The --incompatible_existing_rules_immutable_view flag has been
6962 flipped to true. See
6963 https://github.com/bazelbuild/bazel/issues/13907 for
6964 migration notes.
6965 - Split up the C++ archive from the C++ link action and set
6966 `CppArchive` as mnemonic.
6967 - workspace(managed_directories=) is not available anymore.
6968 - --legacy_important_outputs now has a default of false.
6969 - --legacy_important_outputs default reverted to true.
6970 - objc_library now requires CcInfo in its deps. If this breaks
6971 you, add empty CcInfo() to your rule.
6972 - Flag --experimental_local_memory_estimate removed.
6973 - Added a new flag
6974 --incompatible_unambiguous_label_stringification, which causes
6975 labels in the main repo to stringify into unambiguous forms
6976 starting with an @. See
6977 https://github.com/bazelbuild/bazel/issues/15916 for more
6978 information.
6979 - analysis_test moved into testing.analysis_test
6980 - Flip incompatible_enable_cc_toolchain_resolution
6981 (https://github.com/bazelbuild/bazel/issues/7260)
6982 - (Rollback) Flip incompatible_enable_cc_toolchain_resolution
6983 (https://github.com/bazelbuild/bazel/issues/7260)
6984 - name parameter is removed from rule call
6985 (https://github.com/bazelbuild/bazel/issues/16301)
6986 - name parameter is removed from rule call
6987 (https://github.com/bazelbuild/bazel/issues/16301)
6988 - name parameter is removed from rule call
6989 (https://github.com/bazelbuild/bazel/issues/16301)
6990 - --incompatible_remote_downloader_send_all_headers is flipped to
6991 true. See #16356 for details.
6992 - GrpcRemoteDownloader only includes relevant headers instead of
6993 sending all credentials.
6994 - In package_group's `packages` attribute, the syntax "//..." now
6995 refers to all packages in the same repository as the package
6996 group, rather than all packages everywhere. The new item "public"
6997 can be used instead to obtain the old behavior. In `bazel query
6998 --output=proto` (and `--output=xml`), the `packages` attribute
6999 now serializes with the leading double slash included (for
7000 instance, `//foo/bar/...` instead of `foo/bar/...`). See also
7001 #16355, #16323, and #16391.
7002 - Bazel no longer increases the delay between progress updates when
7003 there is no cursor control.
7004 - `--incompatible_always_include_files_in_data` is flipped
7005 to true. See https://github.com/bazelbuild/bazel/issues/16654 for
7006 details.
7007 - `cquery --output=files` also outputs source files.
7008
7009 Closes #16602.
7010 - `--incompatible_strict_conflict_checks` is flipped to true. See
7011 https://github.com/bazelbuild/bazel/issues/16729 for details.
7012 - This changes the behavior of Python version in exec/host
7013 configuration. Mitigation is to set Python version on the targets.
7014
7015New features:
7016
7017 - Support local_repository in Bazel Registry's source.json file
7018
7019Important changes:
7020
7021 - Deprecate --incompatible_applicable_licenses flag, in preparation
7022 for removal in Bazel 6.x.
7023 - Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
7024 - The Build Event Protocol now contains file digests and sizes
7025 along with the file name and URI.
7026 - Refactor system suspend event handling.
7027 - alias() can now select() directly on constraint_value()
7028 - Allow \a \b \f \v escape sequences in Starlark.
7029 - Match remote and local xcode version by most granular version.
7030 - Adds `--experimental_worker_multiplex_sandboxing` flag that
7031 controls whether to sandbox multiplex workers that support it.
7032 - provider() has a new parameter: init, a callback for performing
7033 pre-processing and validation of field values. Iff this parameter
7034 is set,
7035 provider() returns a tuple of 2 elements: the usual provider
7036 symbol (which,
7037 when called, invokes init) and a raw constructor (which bypasses
7038 init).
7039 - Tests that fail to create or complete their
7040 `TestAttemptContinuation` by
7041 throwing an `ExecException` will report an `INCOMPLETE` status.
7042 Previously, Bazel
7043 would fail to report any status for the test attempt.
7044 - Fixed an issue where Bazel could erroneously report a test passes
7045 in coverage mode without actually running the test.
7046 - Include more information about configurations in cquery proto
7047 formatted output. This deprecates the configuration field of
7048 AnalysisProtosV2.ConfiguredTarget, and adds a new field,
7049 configuration_id, to
7050 be used instead.
7051 - experimental cc_library.implementation_deps inverted to
7052 interface_deps
7053 - In aquery and cquery proto output, indicate if a configuration is
7054 a
7055 tool or non-tool configuration.
7056 - Include complete configurations in cquery proto output.
7057 - experimental cc_library.implementation_deps inverted to
7058 interface_deps
7059 - Make protocOpts() publicly accessible.
7060 - Add some documentation about how configuration information is
7061 conveyed in cquery proto output.
7062 - Introduces experimental static library linking API under
7063 apple_common.link_multi_arch_static_library
7064 - Further deprecation and removal of pkg_tar. Stop supporting
7065 legacy use of 'files' attribute, where it could be a list of
7066 labels instead of a map of paths to labels.
7067 - Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
7068 its purpose because --all_incompatible_changes would never set
7069 it. The last rule it gated (pkg_tar) is scheduled to be removed
7070 in Bazel 6.x.
7071 - Add coverage configuration fragment, used to expose
7072 output_generator label.
7073 - Bazel now no longer includes system headers on macOS in coverage
7074 reports (#14969).
7075 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
7076 $ANDROID_HOME.
7077 - The default dexer is now d8. dx can be optionally enabled using:
7078 --define=android_dexmerger_tool=dx_dexmerger \
7079 --define=android_incremental_dexing_tool=dx_dexbuilder \
7080 --define=android_standalone_dexing_tool=dx_compat_dx \
7081 --use_workers_with_dexbuilder
7082 - Packaging support for deploy JAR embedded JDK files (hermetic
7083 Java).
7084 - Don't stamp cc_common.link actions for tool dependencies.
7085 - Starlark test rules can use the new inherited_environment
7086 parameter of testing.TestEnvironment to specify environment
7087 variables
7088 whose values should be inherited from the shell environment.
7089 - Enable merging permissions during Android manifest merging with
7090 the --merge_android_manifest_permissions flag.
7091 - Allow specialization to work with constraint_values.
7092 - Bazel uses the D8 jar from Maven instead of the SDK.
7093 - Make ijar / java_import preserve classes with `@kotlin.Metadata`
7094 annotations
7095 - Switch cc_test implementation to Starlark. Note: cc_test will now
7096 link statically when _targeting_ Windows regardless of host
7097 platform (rather than always linking statically when Windows is
7098 the _host_).
7099 - Switch cc_test implementation to Starlark. Note: cc_test will now
7100 link statically when _targeting_ Windows regardless of host
7101 platform (rather than always linking statically when Windows is
7102 the _host_).
7103 - Add devtools/build/lib/worker:work_request_handlers to the remote
7104 android tools release package. This will be transitively packaged
7105 into all_android_tools.
7106 - Bazel uses the D8 jar from Maven instead of the SDK.
7107 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
7108 $ANDROID_HOME.
7109 - Advance android_tools_pkg version to 0.24.0.
7110 - Switch cc_test implementation to Starlark. Note: cc_test will now
7111 link statically when _targeting_ Windows regardless of host
7112 platform (rather
7113 than always linking statically when Windows is the _host_).
7114 - Bazel uses the D8 jar from Maven instead of the SDK.
7115 - "blaze config" now only reports info from the last build. To
7116 compare configurations across multiple builds, redirect "blaze
7117 config" output to a file and run your favorite diff tool.
7118 - The --incompatible_override_toolchain_transition flag is now
7119 always set, and will be removed in the future. Thus,
7120 --noincompatible_override_toolchain_transition has no effect, and
7121 the value of the incompatible_use_toolchain_transition parameter
7122 in aspect() and rule() builtins is ignored.
7123 - Switch cc_test implementation to Starlark. Note: cc_test will now
7124 link statically when _targeting_ Windows regardless of host
7125 platform (rather
7126 than always linking statically when Windows is the _host_).
7127 - Toolchain types may now be optional, in addition to mandatory.
7128 See https://bazel.build/docs/toolchains#optional-toolchains for
7129 further details.
7130 - Add six to deps of has_services=1 py_proto_librarys.
7131 - pkg_tar(symlinks) has been removed. Users needing that feature
7132 should
7133 migrate to @rules_pkg.
7134 - Aspects can now define and use exec groups using the same API as
7135 rules.
7136 - Removed the obsolete --incompatible_applicable_licenses flag. The
7137 feature is permanently enabled.
7138 - embedded_tools packages R8 desugarer again
7139 - Bazel now selects sh path based on execution platform instead of
7140 host platform, making it possible to execute sh actions in
7141 multiplatform builds. --shell_executable now only applies to
7142 actions configured for host.
7143 - labels in genquery.scope are no longer configured.
7144 - When Bzlmod is enabled, all Bzlmod-generated repos will have an
7145 extra '@' prepended to their names. This effectively enables the
7146 canonical label literal syntax for Bzlmod-generated repos
7147 (`@@canonicalRepoName//pkg:target`; see
7148 https://docs.google.com/document/d/1N81qfCa8oskCk5LqTW-LNthy6EBrDo
7149 t7bdUsjz6JFC4/edit?usp=sharing).
7150 - Exposed `CcSharedLibraryInfo` to Starlark builtins.
7151 - Enable --use_top_level_targets_for_symlinks by default.
7152 - Singlejar accepts runtime Created-By field
7153 - --noincompatible_disable_managed_directories, and with that,
7154 workspace(managed_directories=) is not supported anymore.
7155 - Bazel supports D8 desugaring, albeit without persistent workers
7156 - Remove mtime options from pkg_tar. Users should migrate to
7157 @rules_pkg.
7158 - Test for experimental multiplexed persistent resource processor.
7159 - Added new register_{execution_platforms,toolchains} directives to
7160 the MODULE.bazel file, to replace the
7161 {execution_platforms,toolchains}_to_register attributes on the
7162 module() directive.
7163 - The legacy pkg_tar no longer supports the ability to untar and
7164 repackage an input tar file (`deps` attribute). Users needed that
7165 capability must switch to github.com/bazelbuild/rules_pkg.
7166 - `cquery`'s new output mode
7167 [`--output=files`](https://bazel.build/docs/cquery#files-output)
7168 lists the output files of the targets matching the query. It
7169 takes the current value of `--output_groups` into account.
7170 - Change singlejar metadata to report Created-By Bazel
7171 - Add support for fetching RPC credentials from credential helper.
7172 - Revert interface_deps back to implementation_deps after problem
7173 reported in. Use `buildozer 'rename deps implementation_deps'
7174 //...:%cc_library; buildozer 'rename interface_deps deps'
7175 //...:%cc_library`
7176 - Fix for desugaring failure on Bazel+Android+Windows build
7177 scenario.
7178 - D8 is the default desugarer
7179 - Migrate main_dex_list_creator to D8 (DX deprecation)
7180 - --experimental_enable_bzlmod has been renamed --enable_bzlmod,
7181 and still defaults to false.
7182 - selects() no longer produce irrelevant duplicate label checks
7183 - Adds a dexer output cache to CompatDexBuilder to improve build
7184 speed.
7185 - Improved error messages when analyzing inline bzl code
7186 - Improved error messages when analyzing inline bzl code
7187 - The `@bazel_tools//tools/cpp:compiler` flag now has the value
7188 `gcc` if the configured compiler is detected to be gcc rather
7189 than the generic value `compiler`. A branch for `gcc` may have to
7190 be added to `select` statements that do not have a default case
7191 that handles gcc appropriately.
7192 - The `get_child` method of `path` now accepts an arbitrary
7193 number of relative path strings as positional arguments.
7194 - SourceManifestAction supports `Action.content`
7195 - Add --incompatible_build_transitive_python_runfiles alias. See
7196 #16303
7197 - The @bazel_tools//tools/cpp:compiler flag now has the value
7198 `clang` for the auto-configured Xcode toolchain rather than the
7199 generic value compiler. A branch for `clang` may have to be added
7200 to select statements that do not have a default case that handles
7201 this toolchain appropriately.
7202 - added additional debug message to warn of skipped toolchains
7203 during resolution
7204 - The deprecated --remote_allow_symlink_upload flag has been
7205 removed. Symlinks in local action outputs are always permitted,
7206 even with remote caching. Whether they're uploaded as symlinks or
7207 as the files/directories they point to is still determined by the
7208 --incompatible_remote_symlinks flag.
7209 - Added `struct`, `json`, `proto`, and `depset` to the starlark
7210 environment of Bazel's cquery (--output=starlark) command
7211 - Added three `package_group`-related flags:
7212 `--incompatible_package_group_includes_double_slash` (#16391),
7213 `--incompatible_package_group_has_public_syntax` (#16355), and
7214 `--incompatible_fix_package_group_reporoot_syntax` (#16323). With
7215 these flags, `package_group` can now easily specify "all
7216 packages", "no packages", and "all packages in the current repo".
7217 - Record hermetic packaged JDK modules file size in deploy JAR
7218 manifest 'JDK-Lib-Modules-Size' attribute.
7219 - .bzl files may now set a visibility to guard what other .bzl and
7220 BUILD files may load them. See [...] for more information.
7221 - Deletes the --extra_proguard_specs Blaze flag
7222 - The new path variable `$(rlocationpath ...)` and its plural form
7223 `$(rlocationpaths ...)` can be used to expand labels to the paths
7224 accepted by the `Rlocation` function of runfiles libraries. This
7225 is the preferred way to access data dependencies at runtime and
7226 works on all platforms, even when runfiles are not enabled (e.g.,
7227 on Windows by default).
7228
7229 Work towards #16124
7230 Fixes #10923
7231
7232 Closes #16428.
7233 - Starlark `print()` statements are now emitted iff the line of
7234 code is executed. They are no longer replayed on subsequent
7235 invocations unless the Starlark code is re-executed.
7236 Additionally, multiple identical `print()` statements (same
7237 string from the same line of code, e.g. from a loop) are all
7238 emitted and no longer deduplicated.
7239 - Fixes a bug where some compilation flags would not be applied to
7240 a cc_test
7241
7242This 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.
7243
Bazel Release Systemf7141be2022-12-15 16:09:54 +00007244## Release 5.4.0 (2022-12-15)
7245
7246```
7247Baseline: 8d66a4171baddcbe1569972f019e54130111202c
7248
7249Cherry picks:
7250
7251 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
7252 Remote: Cache merkle trees
7253 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
7254 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
7255 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
7256 Compile Apple tools as fat binaries if possible
7257 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
7258 Add protobuf as a well known module
7259 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
7260 Remote: Merge target-level exec_properties with
7261 --remote_default_exec_properties
7262 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
7263 Add -no_uuid for hermetic macOS toolchain setup
7264 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
7265 Remote: Fixes an issue when --experimental_remote_cache_async
7266 encounter flaky tests.
7267 + 77a002cce050e861fcc87c89acf7768aa5c97124:
7268 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
7269 has …
7270 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
7271 Fixes for the Starlark transition hash computation (#14251)
7272 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
7273 Do location expansion in copts of objc_library
7274 + 50274a9f714616d4735a560db7f617e53fb8d01b:
7275 [5.x] Remote: Add support for compression on gRPC cache (#14277)
7276 + 61bf2e5b5181cbe34a2f0d584053570943881804:
7277 Automated rollback of commit
7278 34c71465f84fa780217926db2e8e5ca3d6d4568c.
7279 + 79888fe7369479c398bafe064daa19a7ae30f710:
7280 Silence a zstd-jni GCC warning.
7281 + 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
7282 Remote: Limit max number of gRPC connections by
7283 --remote_max_connections.
7284 + fd727ec96d861573dcbad3249d727a94eff84789:
7285 Do location expansion in copts of objc_library
7286 + 23d096931be9b7247eafa750999dd7feadde14c1:
7287 Fix _is_shared_library_extension_valid
7288 + 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
7289 Remove merging of java_outputs in JavaPluginInfo.
7290 + cea5f4f499aa832cf90c68898671869ce79d63f2:
7291 Cherrypick Bzlmod documentation (#14301)
7292 + 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
7293 Format work requests according to ndjson spec
7294 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
7295 Enable user_link_flags_feature for macosx cc_toolchain_config
7296 + 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
7297 Remote: Use Action's salt field to differentiate cache across
7298 workspaces.
7299 + f94898915268be5670fb1e93a16c03e9b14d2a58:
7300 [5.x] Remote: Fix "file not found" error when remote cache is
7301 changed from enabled to disabled. (#14321)
7302 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
7303 Delete marker file before fetching an external repository
7304 + c05c6261cdb2cacb7c9881c255c0ada435ab5182:
7305 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
7306 + d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
7307 Fix remote spawn tests for remote_merkle_tree_cache=true
7308 + 59e16e944200555da377799aa0d9e8d0674d2e27:
7309 Show skipped tests as a warning
7310 + 76b3c242831f8e88835e3002a831a185a41fcc52:
7311 Build xcode-locator as a universal binary
7312 + aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
7313 Exit collect_coverage.sh early if LCOV_MERGER is not set.
7314 + 4256d46327bad8638df91be1a5d4ef83b12b74c7:
7315 Automated rollback of commit
7316 d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
7317 + dce24350befd08216b3910ae343670015444ff81:
7318 [apple] fix issues compiling C in objc_library for watchos/armv7k
7319 + bfc24139d93f8643686d91596ba347df2e01966a:
7320 5.x: Remote: Ignore blobs referenced in BEP if the generating
7321 action cannot be cached remotely. (#14389)
7322 + 5aef53a8884038f3c9f06e6dddb9372196253378:
7323 Remote: Don't blocking-get when acquiring gRPC connections.
7324 (#14420)
7325 + 005361c895da334beb873901e93aff06d180256e:
7326 Disable IncludeValidation for ObjC in bazel
7327 + d703b7b4f09fb3c389f99e52bac1f23930280b56:
7328 Update java_tools v11.6
7329 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
7330 Stop remote blob upload if upload is complete. (#14467)
7331 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
7332 [5.x] Make remote BES uploader better (#14472)
7333 + 2edab739e1f61fe8813230b03396ca46f0790089:
7334 Avoid too verbose warnings in terminal when cache issues
7335 + 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
7336 Rename --project_id to --bes_instance_name
7337 + c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
7338 Automated rollback of commit
7339 bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
7340 + b341802700484d11c775bf02d80f43ba3f33b218:
7341 [apple] support watchos_arm64 in toolchain
7342 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
7343 Disable implicitly collecting baseline coverage for toolchain
7344 targets.
7345 + 302971e1b3d803069ac949c0085c0d2a3916c8ab:
7346 Automated rollback of commit
7347 7d09b4a15985052670244c277e4357557b4d0039.
7348 + 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
7349 Bzlmod: Starlarkify default attr values for TypeCheckedTags
7350 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
7351 Fix build after rc4 cherrypicks (#14581)
7352 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
7353 Release 5.0.0 (2022-01-19)
7354 + 486d153d1981c3f47129f675de20189667667fa7:
7355 Find runfiles in directories that are themselves runfiles
7356 + 0de7bb95022057e8b89334f44759cf6f950e131f:
7357 Don't resolve symlinks for --sandbox_base
7358 + 8b60c90f3641591b65c4e153113aea562f1fab94:
7359 Remove uses of -lstdc++ on darwin
7360 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
7361 Allow Label instances as keys in select (#14755)
7362 + 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
7363 Remote: Only waits for background tasks from remote execution.
7364 + 8734ccf9847eafb7193388cd9c6fa78faa78283f:
7365 Add the default solib dir to the rpath for cc_imports with
7366 transitions
7367 + 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
7368 Flip --experimental_worker_allow_json_protocol
7369 + fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
7370 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
7371 cpu for tools when host cpu and exec cpu are different
7372 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
7373 Propagate --experimental_cc_implementation_deps to host config
7374 + 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
7375 Support select() on constraint_value for aliases.
7376 + 67a133b431ccece22b7dd9a72f0837cff77d4360:
7377 Improve documentation for select()
7378 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
7379 Cherrypicks for experimental cc_shared_library (#14773)
7380 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
7381 [apple] support tvos_sim_arm64 in toolchain (#14779)
7382 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
7383 Cherry pick win arm64 (#14794)
7384 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
7385 [5.1.0] cherrypick subpackages support (#14780)
7386 + 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
7387 Add a helper method for rules to depend on the cpp toolchain
7388 type.
7389 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
7390 UrlRewriter should be able to load credentials from .netrc
7391 (#14834)
7392 + 32d1606dac2fea730abe174c41870b7ee70ae041:
7393 Add "arch" struct field to repository_os
7394 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
7395 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
7396 + c2ddbd1954af5baab63b93f2b055a410a27832c8:
7397 Ignore missing include directory in JDK distribution.
7398 + 16de03595e21f7bf31818e717505b23c953b3b7d:
7399 Fix bazel coverage false negative
7400 + 0c74741742301abcf67452a7f591daec1c3a7635:
7401 Remote: Postpone the block waiting in `afterCommand` to
7402 `BlockWaitingModule` (#14833)
7403 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
7404 Switch to `ProcessHandle` for getting the PID (#14842)
7405 + a987b98ea0d6da2656c4115568ef9cbe8a164550:
7406 Fix uses of std++ on bsd
7407 + d184e4883bb7fc21de2f7aeea4304994de27e9ea:
7408 Remote: handle early return of compressed blobs uploads
7409 + 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
7410 Add removeprefix/removesuffix to Starlark strings
7411 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
7412 Fix default CPU for macOS and iOS (#14923)
7413 + cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
7414 Add paramfile support for def_parser, since in rare cases on
7415 Windows command line character limit was reached.
7416 + 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
7417 Normalize rpath entries to guard against missing default solib
7418 dir
7419 + 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
7420 Fix aggressive params file assumption
7421 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
7422 Fix precompiled libs not in runfiles of cc_shared_library
7423 (#14943)
7424 + 764614e0f0287125269e7a92e909a44624bcb360:
7425 Bzlmod: Allow multiple `use_extension`s on the same extension
7426 (#14945)
7427 + fa761f84994f18db383fbe9aaea524e4385da13a:
7428 Fix typo in `apple_common.platform` docs
7429 + f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
7430 Yield a Proxy for addresses without protocol
7431 + 8cefb8bed4ac82df8640682517372a9249732352:
7432 Avoid merging URLs in HttpUtils
7433 + b4804807fc2c184cc36df9e69e472942c01941b8:
7434 Make protocOpts() public. (#14952)
7435 + 113eaca5862c48797654ae2a3acbb6e15d761485:
7436 Do not hide BulkTransferException messages when there were more
7437 than one exception
7438 + b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
7439 merkle_tree_cache: change default size to 1000
7440 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
7441 Add --experimental_repository_cache_urls_as_default_canonical_id
7442 to help detect broken repository URLs (#14989)
7443 + f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
7444 Expose the logic to read user netrc file
7445 + b858ec39aebd7e586af5438aa2035db2adebf9a4:
7446 Correct cpu and os values of `local_config_cc_toolchains` targets
7447 + 5e79972c05d89280f0cf1fa620f807366847bac6:
7448 Expose CoverageOutputGenerator on a Fragment (#14997)
7449 + 78f03110e0dab42f37e427fd524e72706e036d74:
7450 Correct error runfiles cc_shared_library (#14998)
7451 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
7452 [5.1] Adding Starlark dependencies to the package //external
7453 (#14991)
7454 + a73aa12be65454ac8cfb5a8f3e056c420402f997:
7455 Remote: Fix crashes with InterruptedException when using http
7456 cache.
7457 + f8707c07f153ac4ac2ec4b210321f1a16343006d:
7458 Account for interface libraries in cc_shared_library
7459 + a570f5fdb1618a6c272d18bebaa712d3b2af3975:
7460 Fix coverage runfiles directory issue
7461 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
7462 Do not validate input-only settings in transitions (#15048)
7463 + 71747ccc9d0032a865854613329362563c0574df:
7464 Filter out system headers on macOS.
7465 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
7466 Update Bazel bootstrap documentation and remove obsolete flags.
7467 (#15065)
7468 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
7469 [5.1] Undocument --bes_best_effort (#15066)
7470 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
7471 Fix conflicting actions error when specifying
7472 --host_macos_minimum_os (#15068)
7473 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
7474 [5.1] Remote: Action should not be successful and cached if
7475 outputs were not created (#15071)
7476 + 00d74ff737cccd60305ee58d85313556a077152a:
7477 Support decompressing zstd tar archives for repository rules.
7478 + f5857830bb68bd05ffc257506575ed37a8128933:
7479 Remote: Don't check TreeArtifact output
7480 + efb2b80953983dce499d453a9f55a74ffaf8c42d:
7481 osx_cc_wrapper: Only expand existing response files
7482 + c771c43b870fb8618db7bdab6725ab40cac4976d:
7483 Remote: Fix crashes by InterruptedException when dynamic
7484 execution is enabled. (#15091)
7485 + 3785677cc84fc4024fda85575c05efbde5d512fc:
7486 Use python3 on macOS
7487 + 815d9e499a32fd4d87525ac0c698c293cf26433d:
7488 Release 5.1.0 (2022-03-24)
7489 + 1fbb69e366034484887e00c6006c7b79508765ed:
7490 Prepare 5.1.1 release
7491 + df153df9656e0e197f67622bb11f7d77e19238a0:
7492 Fix CODEOWNERS syntax
7493 + 2b92a3111e83a4d14934059afd0f51161a41276f:
7494 Remote: Don't check declared outputs for failed action
7495 + b47aa71b21d93c9499103e9a37a6c2ffa79865b9:
7496 Upgrade abseil version to the latest
7497 + c49c45d8dac87d21cf2b6a176ddd07f2c9f63414:
7498 Revert default export all symbols on Windows
7499 + 7d3fb993f55b35081786c3fe00cf3bebb89574f3:
7500 Support ZIP files with total number of disks = 0
7501 + 0f5dc111be06b2ee8694640f400b58e12bfa5fea:
7502 Release 5.1.1 (2022-04-08)
7503 + 2422cfb3e5d92d46f9065b2b1e442823a965faf7:
7504 Update CODEOWNERS
7505 + bbcff1802423fca7ee5bd6a3e527c12d6d7d80ba:
7506 [5.2.0] Update java_tools 11.7.1 (#15231)
7507 + 9c98120f33579b72561e02826d9fccf222eccb3c:
7508 Add support for .ar archives (and .deb files)
7509 + d3435b09d89f25bf5008ef3b9c870c835d51a8da:
7510 Seperate GetSelfPath implementation for Blaze and Bazel
7511 + c94572bea5ce6bdc0ccda9789e5be6fb3f4c173b:
7512 Include jdk.crypto.mscapi in minimized Windows embedded JDK
7513 + 299022ca2dc49b6cb27b2674f933755306ae8b9b:
7514 remote: Proactively close the ZstdInputStream in
7515 ZstdDecompressingOutputStream.
7516 + 27707995cc6576ed1f51fbdb199ff8512e8418c9:
7517 Collect coverage from cc_binary data deps of java_test
7518 + 3442179d240e01ef13b0fa7814db7366bad5ffac:
7519 Configure Apple crosstool to return a complete target triple
7520 that includes minimum OS version and target environment
7521 + bb6f1a7ce79168055ccd62629da07d46a52b930d:
7522 Collect C++ lcov coverage if runtime object not in runfiles
7523 + dbb6e9954b6e4423f727feb2719ffc75a93b514b:
7524 Fixing dependencies of //external package
7525 + f0213bbf730c4a5d1a31e65bc9c01fbb55a6edb3:
7526 [5.2] Upgrade Google Auth Version (#15383)
7527 + a1a74c9919e03e09ef7c6ae13f38f48eea80ead1:
7528 Fix chocolatey package - docsUrl must not 404 (#15395)
7529 + fe644bee95c14d461e0d1e3cccaa8bbcd57bcd8d:
7530 Fix cache leak when applying transitions when only a rule's
7531 attributes change.
7532 + ad74d5243917bb27a37e38d151a4a3c8a49947eb:
7533 Fix checking remote cache for omitted files in buildevent file
7534 (#15405)
7535 + ac219103d8798965b775db548d7b9214ecd78f73:
7536 fix(bzlmod): throw on json parse exception
7537 + 3d85b88609a362857d8ee3c0432a37d30268a8a2:
7538 Add a flag to expose undeclared test outputs in unzipped form.
7539 (#15431)
7540 + abd7a9f70c3dfe96724a692dc7dc04ff33bdece1:
7541 Remove -U_FORTIFY_SOURCE when thin_lto is enabled (#15433)
7542 + 53b9cb8637c0faddc6b122a1daab72bcc274bdec:
7543 Catch NumberFormatException while trying to parse thread id.
7544 + 19740b55ebc283b7ec42b359bcd4c9096facfdd5:
7545 Improve the --sandbox_debug error message
7546 + 0a2a43f9aab1e3875f03f643f6414eb67834c883:
7547 Set keywords on appropriate lifecycle events.
7548 + 394ddb82b311ea7edbe2522736b0b0202903ddb6:
7549 Record additional profiling information for remotely executed
7550 actions.
7551 + 652b48e567fcb30768dfc2eddee5f04bf6b5d65b:
7552 Fix downloading remote execution output files inside output
7553 dirs. (#15444)
7554 + 73f1ecbc1cb00e16ceda4b582f4d57268f8701cd:
7555 Fix android emulator darwin_arm64 select
7556 + 2649c7c4adef0ebf9bca8fe46aa97304b22de522:
7557 Fix --use_top_level_targets_for_symlinks with aliases (#15446)
7558 + fa1081c1f3dce7324a1da59c40d1a1a3533c7047:
7559 Filter libtool warning about table of contents
7560 + 26f878325e915e0905626a0e4c8bbacffd72f875:
7561 Unify sandbox/remote handling of empty TreeArtifact inputs
7562 (#15449)
7563 + 6b21b7773157a1eebd3dfe79ff4c4ee750059daf:
7564 Revert "Fixes incorrect install names on darwin platforms"
7565 + e133e66f715bac17bf5848e4440c089a8c8d3fd9:
7566 config doesn't error on duplicate `--define` values (#15473)
7567 + 84d59176622b76223828e61709179dbd5f0c9f8d:
7568 Collect coverage from cc_binary data deps of py_test (#15298)
7569 + 519d2daacfff3de6ffabfc5827621fa835e1c815:
7570 SolibSymlinkAction does not need exec platform or properties
7571 + 6e54699884cfad49d4e8f6dd59a4050bc95c4edf:
7572 Let Starlark tests inherit env variables (#15217)
7573 + 9610ae889e6fd45280c5beb7fe8f5bef2d736878:
7574 Update PythonZipper action to use CommandLineItem.CapturingMapFn
7575 + 2f1ff6fa17c3c30b2533bffe81f40eab06b453b9:
7576 Make `coverage --combined_report=lcov` skip incompatible tests
7577 + 9fad5a3dc93cd436a5712c46e6c98d3995428ddb:
7578 Disable ReturnValueIgnored checks to unblock java_tools release
7579 + 0120118893261968bdf116ef215655c428428fa8:
7580 Bump the limit of Bazel install base size (#15585)
7581 + 668805aace9bf96f78595fc2a122027a3000ceac:
7582 Upgrade zlib to 1.2.12
7583 + 4d900ceea12919ad62012830a95e51f9ec1a48bb:
7584 [5.2] Remote: Fix a bug that outputs of actions tagged with
7585 no-remote are u... (#15453)
7586 + b703cb9b999e243d776b7620468e48f450c0ce3a:
7587 Add feature to produce serialized diagnostics files (#15600)
7588 + 2e8458b7810eab7829fc7d28af5c45b9af91ed7c:
7589 Release 5.2.0 (2022-06-07)
7590 + 536f8d97991d891fc7db333af1a5262497d85173:
7591 Fix fail message construction in cc_shared_library
7592 + 2d42925ae80c0fb007aa39f4e210122611897255:
7593 Define cc-compiler-darwin in Xcode toolchain
7594 + a1d7d1f69f82da1bdfa1cebd32356249127aea3b:
7595 Fix alwayslink in objc_import
7596 + d273cb62f43ef8169415cf60fc96e503ea2ad823:
7597 Unify URL/URLs parameter code across http_archive, http_file,
7598 http_jar
7599 + fea32be42928c84463aa1f335b5722a1f6b8c93a:
7600 Preserve --experimental_allow_unresolved_symlinks in exec cfg
7601 + e4bc370b226eb0cc536b55641640266345a214ec:
7602 Ck/cherry pick cc shared library (#15754)
7603 + dbdfa07e92f99497be9c14265611ad2920161483:
7604 Let Starlark executable rules specify their environment (#15766)
7605 + e2a6a2b130552db7521d3d4d854b9a651b1f4a3b:
7606 Fix string formatting when java_home path is missing.
7607 + d54a288e6c79c740b9c93dfc31ee345d6a5332af:
7608 Optionally enable LLVM profile continuous mode
7609 + ad17b44cdc192277fafb0d0e204962b2b924dba8:
7610 Print remote execution message when the action times out (#15772)
7611 + 240e3d1e1dbc74c7753dead6421d7c1b5fc28d09:
7612 Add missing line to cherrypick
7613 e4bc370b226eb0cc536b55641640266345a214ec (#15784)
7614 + 804b4747152a59bc2965be2db85839b8b2764fc7:
7615 Replace strdupa with strdup
7616 + 62be9ea29295fab5289bd5d1a0f13dc7d55a8bc0:
7617 Bzlmod: Better canonical repo names for modules with overrides
7618 (#15793)
7619 + d4663a1c950d618c5b15a3e00fb733987cbf45cc:
7620 Add repo env test (#15768)
7621 + 594962cb283dcd71b736e0450453903911a8c85a:
7622 Add is_root struct field to bazel_module (#15815)
7623 + 3dd2b932d42fe86112899550d21452409cb3c4b0:
7624 Fix null pointer crash with `bazel coverage` on only
7625 incompatible tests
7626 + 4175018b47800db28c390d39fefbd266b5d674bd:
7627 Add util for finding credential helper to use
7628 + 3ea9eb2e363860c9305a987fa22a059afd35598d:
7629 Merge ManifestMergerAction-related commits into release-5.3.0
7630 (#15824)
7631 + 64571a428ffe2bf09f1a5eea13e770a7d0381620:
7632 Ck/cherrypick 15669 (#15788)
7633 + 1404651cafe5c26c5dae469e9126de53c2f4f024:
7634 Create output directories for remote execution (#15818)
7635 + ae523f82d39daf01cf31e40733de0c6345f0935c:
7636 Use tree artifacts in bootclasspath rule
7637 + 37f181cb6ed0237f43d81159eb81b19d3b5f8e36:
7638 [credentialhelper] Add types to communicate with the subprocess
7639 + 06ca634e10f17023022ab591a55aabdd9fb57b12:
7640 Add a flag to force Bazel to download certain artifacts when
7641 using --remote_download_minimal (#15870)
7642 + d35f923b098e4dc9c90b1ab66b413c216bdee638:
7643 RemoteExecutionService: fix outputs not being uploaded
7644 + 78af34f9f25b0c8fbf597a794a5162f0014629c5:
7645 Cherry-pick proto_lang_toolchain Starlarkfication and
7646 proto_common module (#15854)
7647 + afb434da9da79b53da1ea4c7bcc00571dbea6d3f:
7648 Fix behavior of `print()` in module extensions
7649 + 6714c30507edc70ec84f8c97d47cffc497356c0b:
7650 [credentialhelper] Implement invoking credential helper as
7651 subprocess
7652 + 0f05904171d187e6abacb431b3d7494423b027ab:
7653 Add register_{execution_platforms,toolchains} directives to
7654 MODULE.bazel files (#15852)
7655 + 33516e27dc6ee6ab5c3b9dee739a267b08d26b6c:
7656 [remote] Improve .netrc test in RemoteModuleTest
7657 + aa2a1f3afe2f10baab5befcafb39df14cbffc743:
7658 Fix ZipDecompressor windows 0x80 (file attribute normal)
7659 + 30f16e53cb36a5d506665be7553e785d52772e2d:
7660 Replace uses of `cfg = "host"` with `cfg = "exec"` (#15922)
7661 + 2a8d0ad7103511a94382aef41821a315bf8144b7:
7662 target pattern file: allow comments
7663 + 6f732052654ec37192450c795bb28dd0aad559cd:
7664 Add factory for creating paths relative to well-known roots
7665 (#15931)
7666 + 32cc8e638b91816f427b74266f6a8da6fb605419:
7667 Update CODEOWNERS (#15910)
7668 + 63bc14b095f1ea4043024e7fe1f9c476968897c5:
7669 Implement native analysis_test call. (#15940)
7670 + 4df77f771e5cfdf4b614afd8934d00c2b2ff31d1:
7671 Increase osx_cc_configure timeouts
7672 + cdf01a39ab9def4d46f41595ac1ac9206a96d6f8:
7673 Allow string_list flags to be set via repeated flag uses
7674 + 05e758d4bc18fc9d9e189526381a06e4399056a2:
7675 [credentialhelper] Add parser for flag syntax (#15929)
7676 + e4ee34416ef18094496ab54446e70cb62cd509e6:
7677 Docs should mention the new no-remote-cache-upload tag (#15965)
7678 + 96d23d30cc80912b82a8fbab31c902e9db74b6ab:
7679 Add netrc support to --bes_backend (#15970)
7680 + c5bc34e5f1dd92703dd8f15f9f0409c49b778837:
7681 Add CommandLinePathFactory to CommandEnvironment (#15971)
7682 + 508f18576ab5327bd623db6b476511ac2089d0fa:
7683 Move newCredentialHelperProvider into GoogleAuthUtils (#15973)
7684 + 14c944a5386eccbcfbe8389afb6c518582b11270:
7685 Wire up credential helper to command-line flag(s) (#15976)
7686 + 04c373b708390341be4ceb8eb5b2f8561385cb11:
7687 Add `--output=files` mode to cquery (#15979)
7688 + edfe2a17e3434cce660757f59b14f2e9d6ab944e:
7689 Make cpp assembly file extensions case sensitive again
7690 + 4ae85387e69db73e507b4f18b36d3e2f799e5d34:
7691 Prevent aspects from executing on incompatible targets (#15984)
7692 + f440f8ec3f63e5d663e1f9d9614f05a39422102a:
7693 Remote: Fix performance regression in "upload missing inputs".
7694 (#15998)
7695 + 0109031a2818b217b78026055b972da5901656f5:
7696 Updated Codeowners file (#16032)
7697 + 6102d33bf0b72dc0fe9ada4c71113cbee3eb8187:
7698 Propagate the error message when a credential helper fails.
7699 (#16030)
7700 + a8dacc7832b04fe1756cd7adce72f2572f357eee:
7701 Migrate legacy desugar wrapper to new rlocation() (#16025)
7702 + 11368be4ac24108f18b1965162ad27f207c074f9:
7703 Correctly report errors thrown by CommandLinePathFactory#create.
7704 + 82452c7c372fb28485b0b5e0a98b471648f0dfd0:
7705 Fix an issue that
7706 `incompatible_remote_build_event_upload_respect_no_… (#16045)
7707 + e745468461f93839491a4f80d0c1883d9007f9c0:
7708 Fix rpath for binaries in external repositories (#16079)
7709 + 83041b145d3966eb353aacb22b7e33ad01d9a239:
7710 Refactor combined cache. (#16110)
7711 + c62496f7b76da473cb1102798373f552ba2f434d:
7712 C++: Add compound error linked statically but not exported
7713 (#16113)
7714 + 0f18786b09e9729d79c0f14f7843b4d8402b6115:
7715 Do not crash on URIs without a host component.
7716 + 9c0940df3c5962b2291e812600dd71731775d45b:
7717 Add profiler task for calling a credential helper.
7718 + 2ca1ab2c2c73d78021794f3099ee892cc73f515e:
7719 Make bazel_cc_code_coverage_test more robust against GCC version
7720 differences (#16254)
7721 + 1e25152906b668bbe56aa4c1773186af85335315:
7722 Fix local execution of external dynamically linked cc_* targets
7723 (#16253)
7724 + f6cccae5b6f9c0ad0e7d0bf7bd31ea1263449316:
7725 * add change to allow blaze info to skip Starlark build settings
7726 that start with --no prefix * add unit tests for both info and
7727 clean commands
7728 + 59b8b8f4dc098c31a372ad45adc2a48c5f1c4a9f:
7729 Release 5.3.1 (2022-09-19)
7730 + 77f0233420d141e36fbf86a62dff20285c7d8fdc:
7731 Update GrpcRemoteDownloader to only include relevant headers.
7732 (#16450)
7733 + 42ff95a1202cd18cc3348ed6a442de5eb95845bd:
7734 Avoid unnecessary iteration on action inputs.
7735 + d29034e43150f32bb02c2cff3774747e25e97de3:
7736 Update flag `--experimental_remote_download_regex` to accept
7737 multiple regular expressions. (#16478)
7738 + bc087f49584a6a60a5acb3612f6d714e315ab8b5:
7739 Release 5.3.2 (2022-10-19)
7740 + 0b914c6f2a5114f1b81f44bab348fb415177e53e:
7741 Send remote actions to specific worker pools instead of machine
7742 types.
7743 + ece17d5d4e74d67dd869cbd1951ca1001423b472:
7744 Add `$(rlocationpath(s) ...)` expansion (#16668)
7745 + f02bcf8d8b0d00ecdd06ea0a45ba4f52e436597c:
7746 Fix identical gcov json file name problem
7747 + 0696b8a728bd205c1a12cc5a3e0891c87113c95a:
7748 Upgrade google-http-client and google-http-client-gson.
7749 + 42a3dbb2d47a321d746ee0f1f89603da329f5852:
7750 Move analysis_test into testing.analysis_test (#16702)
7751 + b55f3222a5e9d1e4267ccf5cbf71643e8c492b32:
7752 Fix hanging issue when Bazel failed to upload action inputs
7753 (#16819)
7754 + 2f0f3e1253e1086496d4adf1a136b5473db5a693:
7755 [5.4.0] Add integration tests for
7756 --experimental_credential_helper. (#16880)
7757 + 6d2d68d95abedac6a646eafcca04e6856c87ab3c:
7758 [5.4.0] Keep credentials cached across build commands. (#16884)
7759 + 676a0c8dea0e7782e47a386396e386a51566087f:
7760 Update Bazel to depend on bazelbuild/platforms 0.0.5.
7761 + 0ea070be02e21c2418e967e3398251c3abba73e8:
7762 Backport recent package metadata and license check capabilities
7763 from Bazel 6.x. (#16892)
7764 + b51396a52efd8ff90063ac79e5a69b950cefd914:
7765 Add 'toolchain' parameter to actions.{run,run_shell} (#16964)
7766```
7767
7768Incompatible changes:
7769
7770 - GrpcRemoteDownloader only includes relevant headers instead of
7771 sending all credentials.
7772
7773 Closes #16439.
7774 - analysis_test moved into testing.analysis_test
7775
7776Important changes:
7777
7778 - alias() can now select() directly on constraint_value()
7779
7780 Fixes https://github.com/bazelbuild/bazel/issues/13047.
7781
7782 Closes #14310.
7783 - Fixed an issue where Bazel could erroneously report a test passes
7784 in coverage mode without actually running the test.
7785 - Make protocOpts() publicly accessible.
7786 - Add coverage configuration fragment, used to expose
7787 output_generator label.
7788 - Bazel now no longer includes system headers on macOS in coverage
7789 reports (#14969).
7790
7791 Closes #14971.
7792 - Starlark test rules can use the new inherited_environment
7793 parameter of testing.TestEnvironment to specify environment
7794 variables
7795 whose values should be inherited from the shell environment.
7796
7797 Closes #14849.
7798 - none
7799 RELNOTES:none
7800 - Enable merging permissions during Android manifest merging with
7801 the --merge_android_manifest_permissions flag.
7802 - Added new register_{execution_platforms,toolchains} directives to
7803 the MODULE.bazel file, to replace the
7804 {execution_platforms,toolchains}_to_register attributes on the
7805 module() directive.
7806 - Add support for fetching RPC credentials from credential helper.
7807
7808 Progress on https://github.com/bazelbuild/bazel/issues/15856
7809
7810 Closes #15947.
7811 - `cquery`'s new output mode
7812 [`--output=files`](https://bazel.build/docs/cquery#files-output)
7813 lists the output files of the targets matching the query. It
7814 takes the current value of `--output_groups` into account.
7815
7816 Closes #15552.
7817 - Fix for desugaring failure on Bazel+Android+Windows build
7818 scenario.
7819 - The new path variable `$(rlocationpath ...)` and its plural form
7820 `$(rlocationpaths ...)` can be used to expand labels to the paths
7821 accepted by the `Rlocation` function of runfiles libraries. This
7822 is the preferred way to access data dependencies at runtime and
7823 works on all platforms, even when runfiles are not enabled (e.g.,
7824 on Windows by default).
7825
7826 Work towards #16124
7827 Fixes #10923
7828
7829 Closes #16667.
7830
7831This 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.
7832
Bazel Release Systema62c2dc2022-12-14 21:18:21 +01007833## Release 7.0.0-pre.20221207.2 (2022-12-14)
7834
7835```
7836Baseline: 2a88c8da7783490ef6192336b091910cd662cc67
7837
7838Cherry picks:
7839
7840 + 70691f2b76be0b9530e49c3df18356925843b465:
7841 Make the Linux sandbox work with ActionInputs with absolute
7842 "exec paths".
7843 + 40b340722a97bd3ce1692047f173547203bb7452:
7844 Fix NPE in signal ignoring logic.
7845```
7846
7847This release contains contributions from many people at Google, as well as aryeh, Fabian Meumertzheim, Gaspare Vitta, John Hinnegan, Roger Hu, Yi Cheng.
7848
Bazel Release System0921cb12022-12-09 15:41:42 +01007849## Release 7.0.0-pre.20221204.2 (2022-12-09)
7850
7851```
7852Baseline: de7b26acfdfcd9c36ec957305a889ac29f0da30e
7853
7854Cherry picks:
7855
7856 + 40846718e4f54c28fddc063b80b5ea30a82988c1:
7857 Add support for crosstool feature to prefer PIC compiles even
7858 for optimized binaries. This can have performance penalty, but
7859 in configurations where dynamic linking is used for tests can
7860 lead to a substantially better sharing of artifacts between
7861 tests and binaries. In contrast to the existing --force_pic,
7862 this can be enabled per crosstool and respects whether PIC is
7863 available for the used crosstool.
7864```
7865
7866Incompatible changes:
7867
7868 - --experimental_replay_action_out_err is not a no-op.
7869 - `cquery --output=files` also outputs source files.
7870 - `--incompatible_strict_conflict_checks` is flipped to true. See
7871 https://github.com/bazelbuild/bazel/issues/16729 for details.
7872 - `--incompatible_strict_conflict_checks` is flipped to true. See
7873 https://github.com/bazelbuild/bazel/issues/16729 for details.
7874 - `--incompatible_always_include_files_in_data` is flipped to true.
7875 See https://github.com/bazelbuild/bazel/issues/16654 for details.
7876
7877Important changes:
7878
7879 - Fixes a bug where some compilation flags would not be applied to
7880 a cc_test
7881
7882This 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.
7883
Bazel Release System563b2252022-12-08 17:18:30 +01007884## Release 7.0.0-pre.20221123.2 (2022-12-08)
7885
7886```
7887Baseline: 14e32e7f5d1492f7ca4ffc17c40b913ec5799603
7888```
7889
7890Incompatible changes:
7891
7892 - the --experimental_async_execution flag is now a no-op.
7893
7894New features:
7895
7896 - The `aquery` and `cquery` commands now respect the
7897 `--query_file` flag just like the `query` command.
7898
7899Important changes:
7900
7901 - Starlark `print()` statements are now emitted iff the line of
7902 code is executed. They are no longer replayed on subsequent
7903 invocations unless the Starlark code is re-executed.
7904 Additionally, multiple identical `print()` statements (same
7905 string from the same line of code, e.g. from a loop) are all
7906 emitted and no longer deduplicated.
7907
7908This release contains contributions from many people at Google, as well as Benjamin Peterson, Christopher Sauer, Daniel KT, Fabian Meumertzheim, Matt Mackay.
7909
Bazel Release Systemc6d6e9f2022-12-01 13:01:59 +01007910## Release 7.0.0-pre.20221111.3 (2022-12-01)
7911
7912```
7913Baseline: 455454a56e961affb041a1d4a9214f7f313a05aa
7914
7915Cherry picks:
7916
7917 + 4caae75b49e815ad2cf1d805f316bc374f03f2ae:
7918 Automated rollback of commit
7919 8f956511bb115c39ac683a1e78971fcf9dce5deb.
7920```
7921
7922Important changes:
7923
7924 - The new path variable `$(rlocationpath ...)` and its plural form
7925 `$(rlocationpaths ...)` can be used to expand labels to the paths
7926 accepted by the `Rlocation` function of runfiles libraries. This
7927 is the preferred way to access data dependencies at runtime and
7928 works on all platforms, even when runfiles are not enabled (e.g.,
7929 on Windows by default).
7930
7931This 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.
7932
Bazel Release Systema12e5472022-11-11 19:01:00 +01007933## Release 7.0.0-pre.20221102.3 (2022-11-11)
7934
7935```
7936Baseline: 19b8d24531fb728701a85ec050361d434600b5d2
7937```
7938
7939Incompatible changes:
7940
7941 - This has the side effect of changing the message on unsuccessful
7942 builds from
7943 ```
7944 FAILED: Build did NOT complete successfully (0 packages loaded)
7945 ```
7946 to
7947 ```
7948 ERROR: Build did NOT complete successfully
7949 ```
7950 - Bazel no longer increases the delay between progress updates when
7951 there is no cursor control.
7952 - This has the side effect of changing the message on unsuccessful
7953 builds from
7954 ```
7955 FAILED: Build did NOT complete successfully (0 packages loaded)
7956 ```
7957 to
7958 ```
7959 ERROR: Build did NOT complete successfully
7960 ```
7961
7962This 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.
7963
Bazel Release System38561bc2022-11-02 19:19:12 +01007964## Release 7.0.0-pre.20221026.2 (2022-11-02)
7965
7966```
7967Baseline: b422719f35b1ae5ed5f7f83d05cd778e9c58d793
7968```
7969
7970Important changes:
7971
7972 - Deletes the --extra_proguard_specs Blaze flag
7973
7974This release contains contributions from many people at Google, as well as Benjamin Peterson, Fabian Meumertzheim, Olek Wojnar, Sara Adams, Xavier Bonaventura.
7975
Bazel Release System50b87c12022-10-27 18:48:19 +02007976## Release 6.0.0-pre.20221020.1 (2022-10-27)
7977
7978```
7979Baseline: e7218d556a2a265183a10a19fcaa21c0277820ad
7980```
7981
7982Incompatible changes:
7983
7984 - In package_group's `packages` attribute, the syntax "//..." now
7985 refers to all packages in the same repository as the package
7986 group, rather than all packages everywhere. The new item "public"
7987 can be used instead to obtain the old behavior. In `bazel query
7988 --output=proto` (and `--output=xml`), the `packages` attribute
7989 now serializes with the leading double slash included (for
7990 instance, `//foo/bar/...` instead of `foo/bar/...`). See also
7991 #16355, #16323, and #16391.
7992
7993New features:
7994
7995 - Support local_repository in Bazel Registry's source.json file
7996
7997Important changes:
7998
7999 - Record hermetic packaged JDK modules file size in deploy JAR
8000 manifest 'JDK-Lib-Modules-Size' attribute.
8001 - .bzl files may now set a visibility to guard what other .bzl and
8002 BUILD files may load them. See [...] for more information.
8003
8004This 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.
8005
Bazel Release System6578b5b2022-10-24 16:29:45 +02008006## Release 6.0.0-pre.20221012.2 (2022-10-24)
8007
8008```
8009Baseline: 849f706ac227b1a18f26070cb772c9825583a1b3
8010
8011Cherry picks:
8012
8013 + 1ab8498a536cab2ff77cc221e4052ef7a6c7b778:
8014 Automated rollback of commit
8015 849f706ac227b1a18f26070cb772c9825583a1b3.
8016 + c5ccb06cb40dff72c69ea774e63cb8a1eea8ea1e:
8017 Automated rollback of commit
8018 bc1e9d85c97e8a62b49c6e26ede14eccd4951bd4.
8019 + 977d7fb3837ceeabd17ecd639037f95a99ca4cb1:
8020 Use single argument form for framework linkopts
8021```
8022
8023Incompatible changes:
8024
8025 - GrpcRemoteDownloader only includes relevant headers instead of
8026 sending all credentials.
8027
8028This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Keith Smiley, Xiangquan Xiao.
8029
Bazel Release System08fd6272022-10-20 21:18:20 +02008030## Release 6.0.0-pre.20221007.4 (2022-10-20)
8031
8032```
8033Baseline: 5d0e5a7ba415b981390bf9579da644e1065b2a36
8034
8035Cherry picks:
8036
8037 + 512d9b5cf784cc4450baf50362ab3d88cd815184:
8038 Automated rollback of commit
8039 21904a92b800139499f2f62c7c4c11351fa8bc0c.
8040 + ff927f72644b4d1c3036ea8b3b821c58c34c92fa:
8041 Automated rollback of commit
8042 dadc49e437018f482640ed76fae5307daf9911a8.
8043 + c5ccb06cb40dff72c69ea774e63cb8a1eea8ea1e:
8044 Automated rollback of commit
8045 bc1e9d85c97e8a62b49c6e26ede14eccd4951bd4.
8046```
8047
8048Incompatible changes:
8049
8050 - this incompatible change breaks old instances of http_archive
8051 that specified netrc as an absolute path. It is unlikely there
8052 are many instances in the wild since the path would refer to a
8053 netrc file inside the external repository by absolute path.
8054 Migration should be straightforward.
8055 - genrule switched to use exec transition instead of host. This can
8056 break targets with hardcoded output paths. To avoid using
8057 hardcoded paths use make variables, see
8058 https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
8059 defined_label_variables
8060 - this incompatible change breaks old instances of http_archive
8061 that specified netrc as an absolute path. It is unlikely there
8062 are many instances in the wild since...
8063 - Error Prone now checks for unused return values of additional
8064 methods on `java.lang.Object`, which can be disabled using
8065 `--javacopts=-Xep:ReturnValueIgnored:OFF`
8066 - Error Prone now checks for unused return values of additional
8067 methods on `java.lang.Object`, which can be disabled using
8068 `--javacopts=-Xep:ReturnValueIgnored:OFF`
8069 - The --incompatible_existing_rules_immutable_view flag has been
8070 flipped to true. See
8071 https://github.com/bazelbuild/bazel/issues/13907 for
8072 migration notes.
8073 - Split up the C++ archive from the C++ link action and set
8074 `CppArchive` as mnemonic.
8075 - workspace(managed_directories=) is not available anymore.
8076 - --legacy_important_outputs now has a default of false.
8077 - --legacy_important_outputs default reverted to true.
8078 - objc_library now requires CcInfo in its deps. If this breaks
8079 you, add empty CcInfo() to your rule.
8080 - Flag --experimental_local_memory_estimate removed.
8081 - Added a new flag
8082 --incompatible_unambiguous_label_stringification, which causes
8083 labels in the main repo to stringify into unambiguous forms
8084 starting with an @. See
8085 https://github.com/bazelbuild/bazel/issues/15916 for more
8086 information.
8087 - analysis_test moved into testing.analysis_test
8088 - Flip incompatible_enable_cc_toolchain_resolution
8089 (https://github.com/bazelbuild/bazel/issues/7260)
8090 - (Rollback) Flip incompatible_enable_cc_toolchain_resolution
8091 (https://github.com/bazelbuild/bazel/issues/7260)
8092 - name parameter is removed from rule call
8093 (https://github.com/bazelbuild/bazel/issues/16301)
8094 - name parameter is removed from rule call
8095 (https://github.com/bazelbuild/bazel/issues/16301)
8096 - name parameter is removed from rule call
8097 (https://github.com/bazelbuild/bazel/issues/16301)
8098 - --incompatible_remote_downloader_send_all_headers is flipped to
8099 true. See #16356 for details.
8100
8101Important changes:
8102
8103 - Deprecate --incompatible_applicable_licenses flag, in preparation
8104 for removal in Bazel 6.x.
8105 - Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
8106 - The Build Event Protocol now contains file digests and sizes
8107 along with the file name and URI.
8108 - Refactor system suspend event handling.
8109 - alias() can now select() directly on constraint_value()
8110 - Allow \a \b \f \v escape sequences in Starlark.
8111 - Match remote and local xcode version by most granular version.
8112 - Adds `--experimental_worker_multiplex_sandboxing` flag that
8113 controls whether to sandbox multiplex workers that support it.
8114 - provider() has a new parameter: init, a callback for performing
8115 pre-processing and validation of field values. Iff this parameter
8116 is set,
8117 provider() returns a tuple of 2 elements: the usual provider
8118 symbol (which,
8119 when called, invokes init) and a raw constructor (which bypasses
8120 init).
8121 - Tests that fail to create or complete their
8122 `TestAttemptContinuation` by
8123 throwing an `ExecException` will report an `INCOMPLETE` status.
8124 Previously, Bazel
8125 would fail to report any status for the test attempt.
8126 - Fixed an issue where Bazel could erroneously report a test passes
8127 in coverage mode without actually running the test.
8128 - Include more information about configurations in cquery proto
8129 formatted output. This deprecates the configuration field of
8130 AnalysisProtosV2.ConfiguredTarget, and adds a new field,
8131 configuration_id, to
8132 be used instead.
8133 - experimental cc_library.implementation_deps inverted to
8134 interface_deps
8135 - In aquery and cquery proto output, indicate if a configuration is
8136 a
8137 tool or non-tool configuration.
8138 - Include complete configurations in cquery proto output.
8139 - experimental cc_library.implementation_deps inverted to
8140 interface_deps
8141 - Make protocOpts() publicly accessible.
8142 - Add some documentation about how configuration information is
8143 conveyed in cquery proto output.
8144 - Introduces experimental static library linking API under
8145 apple_common.link_multi_arch_static_library
8146 - Further deprecation and removal of pkg_tar. Stop supporting
8147 legacy use of 'files' attribute, where it could be a list of
8148 labels instead of a map of paths to labels.
8149 - Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
8150 its purpose because --all_incompatible_changes would never set
8151 it. The last rule it gated (pkg_tar) is scheduled to be removed
8152 in Bazel 6.x.
8153 - Add coverage configuration fragment, used to expose
8154 output_generator label.
8155 - Bazel now no longer includes system headers on macOS in coverage
8156 reports (#14969).
8157 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
8158 $ANDROID_HOME.
8159 - The default dexer is now d8. dx can be optionally enabled using:
8160 --define=android_dexmerger_tool=dx_dexmerger \
8161 --define=android_incremental_dexing_tool=dx_dexbuilder \
8162 --define=android_standalone_dexing_tool=dx_compat_dx \
8163 --use_workers_with_dexbuilder
8164 - Packaging support for deploy JAR embedded JDK files (hermetic
8165 Java).
8166 - Don't stamp cc_common.link actions for tool dependencies.
8167 - Starlark test rules can use the new inherited_environment
8168 parameter of testing.TestEnvironment to specify environment
8169 variables
8170 whose values should be inherited from the shell environment.
8171 - Enable merging permissions during Android manifest merging with
8172 the --merge_android_manifest_permissions flag.
8173 - Allow specialization to work with constraint_values.
8174 - Bazel uses the D8 jar from Maven instead of the SDK.
8175 - Make ijar / java_import preserve classes with `@kotlin.Metadata`
8176 annotations
8177 - Switch cc_test implementation to Starlark. Note: cc_test will now
8178 link statically when _targeting_ Windows regardless of host
8179 platform (rather than always linking statically when Windows is
8180 the _host_).
8181 - Switch cc_test implementation to Starlark. Note: cc_test will now
8182 link statically when _targeting_ Windows regardless of host
8183 platform (rather than always linking statically when Windows is
8184 the _host_).
8185 - Add devtools/build/lib/worker:work_request_handlers to the remote
8186 android tools release package. This will be transitively packaged
8187 into all_android_tools.
8188 - Bazel uses the D8 jar from Maven instead of the SDK.
8189 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
8190 $ANDROID_HOME.
8191 - Advance android_tools_pkg version to 0.24.0.
8192 - Switch cc_test implementation to Starlark. Note: cc_test will now
8193 link statically when _targeting_ Windows regardless of host
8194 platform (rather
8195 than always linking statically when Windows is the _host_).
8196 - Bazel uses the D8 jar from Maven instead of the SDK.
8197 - "blaze config" now only reports info from the last build. To
8198 compare configurations across multiple builds, redirect "blaze
8199 config" output to a file and run your favorite diff tool.
8200 - The --incompatible_override_toolchain_transition flag is now
8201 always set, and will be removed in the future. Thus,
8202 --noincompatible_override_toolchain_transition has no effect, and
8203 the value of the incompatible_use_toolchain_transition parameter
8204 in aspect() and rule() builtins is ignored.
8205 - Switch cc_test implementation to Starlark. Note: cc_test will now
8206 link statically when _targeting_ Windows regardless of host
8207 platform (rather
8208 than always linking statically when Windows is the _host_).
8209 - Toolchain types may now be optional, in addition to mandatory.
8210 See https://bazel.build/docs/toolchains#optional-toolchains for
8211 further details.
8212 - Add six to deps of has_services=1 py_proto_librarys.
8213 - pkg_tar(symlinks) has been removed. Users needing that feature
8214 should
8215 migrate to @rules_pkg.
8216 - Aspects can now define and use exec groups using the same API as
8217 rules.
8218 - Removed the obsolete --incompatible_applicable_licenses flag. The
8219 feature is permanently enabled.
8220 - embedded_tools packages R8 desugarer again
8221 - Bazel now selects sh path based on execution platform instead of
8222 host platform, making it possible to execute sh actions in
8223 multiplatform builds. --shell_executable now only applies to
8224 actions configured for host.
8225 - labels in genquery.scope are no longer configured.
8226 - When Bzlmod is enabled, all Bzlmod-generated repos will have an
8227 extra '@' prepended to their names. This effectively enables the
8228 canonical label literal syntax for Bzlmod-generated repos
8229 (`@@canonicalRepoName//pkg:target`; see
8230 https://docs.google.com/document/d/1N81qfCa8oskCk5LqTW-LNthy6EBrDo
8231 t7bdUsjz6JFC4/edit?usp=sharing).
8232 - Exposed `CcSharedLibraryInfo` to Starlark builtins.
8233 - Enable --use_top_level_targets_for_symlinks by default.
8234 - Singlejar accepts runtime Created-By field
8235 - --noincompatible_disable_managed_directories, and with that,
8236 workspace(managed_directories=) is not supported anymore.
8237 - Bazel supports D8 desugaring, albeit without persistent workers
8238 - Remove mtime options from pkg_tar. Users should migrate to
8239 @rules_pkg.
8240 - Test for experimental multiplexed persistent resource processor.
8241 - Added new register_{execution_platforms,toolchains} directives to
8242 the MODULE.bazel file, to replace the
8243 {execution_platforms,toolchains}_to_register attributes on the
8244 module() directive.
8245 - The legacy pkg_tar no longer supports the ability to untar and
8246 repackage an input tar file (`deps` attribute). Users needed that
8247 capability must switch to github.com/bazelbuild/rules_pkg.
8248 - `cquery`'s new output mode
8249 [`--output=files`](https://bazel.build/docs/cquery#files-output)
8250 lists the output files of the targets matching the query. It
8251 takes the current value of `--output_groups` into account.
8252 - Change singlejar metadata to report Created-By Bazel
8253 - Add support for fetching RPC credentials from credential helper.
8254 - Revert interface_deps back to implementation_deps after problem
8255 reported in. Use `buildozer 'rename deps implementation_deps'
8256 //...:%cc_library; buildozer 'rename interface_deps deps'
8257 //...:%cc_library`
8258 - Fix for desugaring failure on Bazel+Android+Windows build
8259 scenario.
8260 - D8 is the default desugarer
8261 - Migrate main_dex_list_creator to D8 (DX deprecation)
8262 - --experimental_enable_bzlmod has been renamed --enable_bzlmod,
8263 and still defaults to false.
8264 - selects() no longer produce irrelevant duplicate label checks
8265 - Adds a dexer output cache to CompatDexBuilder to improve build
8266 speed.
8267 - Improved error messages when analyzing inline bzl code
8268 - Improved error messages when analyzing inline bzl code
8269 - The `@bazel_tools//tools/cpp:compiler` flag now has the value
8270 `gcc` if the configured compiler is detected to be gcc rather
8271 than the generic value `compiler`. A branch for `gcc` may have to
8272 be added to `select` statements that do not have a default case
8273 that handles gcc appropriately.
8274 - The `get_child` method of `path` now accepts an arbitrary
8275 number of relative path strings as positional arguments.
8276 - SourceManifestAction supports `Action.content`
8277 - Add --incompatible_build_transitive_python_runfiles alias. See
8278 #16303
8279 - The @bazel_tools//tools/cpp:compiler flag now has the value
8280 `clang` for the auto-configured Xcode toolchain rather than the
8281 generic value compiler. A branch for `clang` may have to be added
8282 to select statements that do not have a default case that handles
8283 this toolchain appropriately.
8284 - added additional debug message to warn of skipped toolchains
8285 during resolution
8286 - The deprecated --remote_allow_symlink_upload flag has been
8287 removed. Symlinks in local action outputs are always permitted,
8288 even with remote caching. Whether they're uploaded as symlinks or
8289 as the files/directories they point to is still determined by the
8290 --incompatible_remote_symlinks flag.
8291 - Added `struct`, `json`, `proto`, and `depset` to the starlark
8292 environment of Bazel's cquery (--output=starlark) command
8293 - Added three `package_group`-related flags:
8294 `--incompatible_package_group_includes_double_slash` (#16391),
8295 `--incompatible_package_group_has_public_syntax` (#16355), and
8296 `--incompatible_fix_package_group_reporoot_syntax` (#16323). With
8297 these flags, `package_group` can now easily specify "all
8298 packages", "no packages", and "all packages in the current repo".
8299
8300This 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.
8301
Bazel Release Systemf8d516e2022-10-19 18:17:34 +00008302## Release 5.3.2 (2022-10-19)
8303
8304```
8305Baseline: 8d66a4171baddcbe1569972f019e54130111202c
8306
8307Cherry picks:
8308
8309 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
8310 Remote: Cache merkle trees
8311 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
8312 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
8313 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
8314 Compile Apple tools as fat binaries if possible
8315 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
8316 Add protobuf as a well known module
8317 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
8318 Remote: Merge target-level exec_properties with
8319 --remote_default_exec_properties
8320 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
8321 Add -no_uuid for hermetic macOS toolchain setup
8322 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
8323 Remote: Fixes an issue when --experimental_remote_cache_async
8324 encounter flaky tests.
8325 + 77a002cce050e861fcc87c89acf7768aa5c97124:
8326 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
8327 has …
8328 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
8329 Fixes for the Starlark transition hash computation (#14251)
8330 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
8331 Do location expansion in copts of objc_library
8332 + 50274a9f714616d4735a560db7f617e53fb8d01b:
8333 [5.x] Remote: Add support for compression on gRPC cache (#14277)
8334 + 61bf2e5b5181cbe34a2f0d584053570943881804:
8335 Automated rollback of commit
8336 34c71465f84fa780217926db2e8e5ca3d6d4568c.
8337 + 79888fe7369479c398bafe064daa19a7ae30f710:
8338 Silence a zstd-jni GCC warning.
8339 + 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
8340 Remote: Limit max number of gRPC connections by
8341 --remote_max_connections.
8342 + fd727ec96d861573dcbad3249d727a94eff84789:
8343 Do location expansion in copts of objc_library
8344 + 23d096931be9b7247eafa750999dd7feadde14c1:
8345 Fix _is_shared_library_extension_valid
8346 + 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
8347 Remove merging of java_outputs in JavaPluginInfo.
8348 + cea5f4f499aa832cf90c68898671869ce79d63f2:
8349 Cherrypick Bzlmod documentation (#14301)
8350 + 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
8351 Format work requests according to ndjson spec
8352 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
8353 Enable user_link_flags_feature for macosx cc_toolchain_config
8354 + 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
8355 Remote: Use Action's salt field to differentiate cache across
8356 workspaces.
8357 + f94898915268be5670fb1e93a16c03e9b14d2a58:
8358 [5.x] Remote: Fix "file not found" error when remote cache is
8359 changed from enabled to disabled. (#14321)
8360 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
8361 Delete marker file before fetching an external repository
8362 + c05c6261cdb2cacb7c9881c255c0ada435ab5182:
8363 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
8364 + d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
8365 Fix remote spawn tests for remote_merkle_tree_cache=true
8366 + 59e16e944200555da377799aa0d9e8d0674d2e27:
8367 Show skipped tests as a warning
8368 + 76b3c242831f8e88835e3002a831a185a41fcc52:
8369 Build xcode-locator as a universal binary
8370 + aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
8371 Exit collect_coverage.sh early if LCOV_MERGER is not set.
8372 + 4256d46327bad8638df91be1a5d4ef83b12b74c7:
8373 Automated rollback of commit
8374 d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
8375 + dce24350befd08216b3910ae343670015444ff81:
8376 [apple] fix issues compiling C in objc_library for watchos/armv7k
8377 + bfc24139d93f8643686d91596ba347df2e01966a:
8378 5.x: Remote: Ignore blobs referenced in BEP if the generating
8379 action cannot be cached remotely. (#14389)
8380 + 5aef53a8884038f3c9f06e6dddb9372196253378:
8381 Remote: Don't blocking-get when acquiring gRPC connections.
8382 (#14420)
8383 + 005361c895da334beb873901e93aff06d180256e:
8384 Disable IncludeValidation for ObjC in bazel
8385 + d703b7b4f09fb3c389f99e52bac1f23930280b56:
8386 Update java_tools v11.6
8387 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
8388 Stop remote blob upload if upload is complete. (#14467)
8389 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
8390 [5.x] Make remote BES uploader better (#14472)
8391 + 2edab739e1f61fe8813230b03396ca46f0790089:
8392 Avoid too verbose warnings in terminal when cache issues
8393 + 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
8394 Rename --project_id to --bes_instance_name
8395 + c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
8396 Automated rollback of commit
8397 bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
8398 + b341802700484d11c775bf02d80f43ba3f33b218:
8399 [apple] support watchos_arm64 in toolchain
8400 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
8401 Disable implicitly collecting baseline coverage for toolchain
8402 targets.
8403 + 302971e1b3d803069ac949c0085c0d2a3916c8ab:
8404 Automated rollback of commit
8405 7d09b4a15985052670244c277e4357557b4d0039.
8406 + 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
8407 Bzlmod: Starlarkify default attr values for TypeCheckedTags
8408 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
8409 Fix build after rc4 cherrypicks (#14581)
8410 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
8411 Release 5.0.0 (2022-01-19)
8412 + 486d153d1981c3f47129f675de20189667667fa7:
8413 Find runfiles in directories that are themselves runfiles
8414 + 0de7bb95022057e8b89334f44759cf6f950e131f:
8415 Don't resolve symlinks for --sandbox_base
8416 + 8b60c90f3641591b65c4e153113aea562f1fab94:
8417 Remove uses of -lstdc++ on darwin
8418 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
8419 Allow Label instances as keys in select (#14755)
8420 + 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
8421 Remote: Only waits for background tasks from remote execution.
8422 + 8734ccf9847eafb7193388cd9c6fa78faa78283f:
8423 Add the default solib dir to the rpath for cc_imports with
8424 transitions
8425 + 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
8426 Flip --experimental_worker_allow_json_protocol
8427 + fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
8428 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
8429 cpu for tools when host cpu and exec cpu are different
8430 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
8431 Propagate --experimental_cc_implementation_deps to host config
8432 + 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
8433 Support select() on constraint_value for aliases.
8434 + 67a133b431ccece22b7dd9a72f0837cff77d4360:
8435 Improve documentation for select()
8436 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
8437 Cherrypicks for experimental cc_shared_library (#14773)
8438 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
8439 [apple] support tvos_sim_arm64 in toolchain (#14779)
8440 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
8441 Cherry pick win arm64 (#14794)
8442 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
8443 [5.1.0] cherrypick subpackages support (#14780)
8444 + 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
8445 Add a helper method for rules to depend on the cpp toolchain
8446 type.
8447 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
8448 UrlRewriter should be able to load credentials from .netrc
8449 (#14834)
8450 + 32d1606dac2fea730abe174c41870b7ee70ae041:
8451 Add "arch" struct field to repository_os
8452 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
8453 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
8454 + c2ddbd1954af5baab63b93f2b055a410a27832c8:
8455 Ignore missing include directory in JDK distribution.
8456 + 16de03595e21f7bf31818e717505b23c953b3b7d:
8457 Fix bazel coverage false negative
8458 + 0c74741742301abcf67452a7f591daec1c3a7635:
8459 Remote: Postpone the block waiting in `afterCommand` to
8460 `BlockWaitingModule` (#14833)
8461 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
8462 Switch to `ProcessHandle` for getting the PID (#14842)
8463 + a987b98ea0d6da2656c4115568ef9cbe8a164550:
8464 Fix uses of std++ on bsd
8465 + d184e4883bb7fc21de2f7aeea4304994de27e9ea:
8466 Remote: handle early return of compressed blobs uploads
8467 + 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
8468 Add removeprefix/removesuffix to Starlark strings
8469 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
8470 Fix default CPU for macOS and iOS (#14923)
8471 + cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
8472 Add paramfile support for def_parser, since in rare cases on
8473 Windows command line character limit was reached.
8474 + 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
8475 Normalize rpath entries to guard against missing default solib
8476 dir
8477 + 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
8478 Fix aggressive params file assumption
8479 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
8480 Fix precompiled libs not in runfiles of cc_shared_library
8481 (#14943)
8482 + 764614e0f0287125269e7a92e909a44624bcb360:
8483 Bzlmod: Allow multiple `use_extension`s on the same extension
8484 (#14945)
8485 + fa761f84994f18db383fbe9aaea524e4385da13a:
8486 Fix typo in `apple_common.platform` docs
8487 + f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
8488 Yield a Proxy for addresses without protocol
8489 + 8cefb8bed4ac82df8640682517372a9249732352:
8490 Avoid merging URLs in HttpUtils
8491 + b4804807fc2c184cc36df9e69e472942c01941b8:
8492 Make protocOpts() public. (#14952)
8493 + 113eaca5862c48797654ae2a3acbb6e15d761485:
8494 Do not hide BulkTransferException messages when there were more
8495 than one exception
8496 + b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
8497 merkle_tree_cache: change default size to 1000
8498 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
8499 Add --experimental_repository_cache_urls_as_default_canonical_id
8500 to help detect broken repository URLs (#14989)
8501 + f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
8502 Expose the logic to read user netrc file
8503 + b858ec39aebd7e586af5438aa2035db2adebf9a4:
8504 Correct cpu and os values of `local_config_cc_toolchains` targets
8505 + 5e79972c05d89280f0cf1fa620f807366847bac6:
8506 Expose CoverageOutputGenerator on a Fragment (#14997)
8507 + 78f03110e0dab42f37e427fd524e72706e036d74:
8508 Correct error runfiles cc_shared_library (#14998)
8509 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
8510 [5.1] Adding Starlark dependencies to the package //external
8511 (#14991)
8512 + a73aa12be65454ac8cfb5a8f3e056c420402f997:
8513 Remote: Fix crashes with InterruptedException when using http
8514 cache.
8515 + f8707c07f153ac4ac2ec4b210321f1a16343006d:
8516 Account for interface libraries in cc_shared_library
8517 + a570f5fdb1618a6c272d18bebaa712d3b2af3975:
8518 Fix coverage runfiles directory issue
8519 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
8520 Do not validate input-only settings in transitions (#15048)
8521 + 71747ccc9d0032a865854613329362563c0574df:
8522 Filter out system headers on macOS.
8523 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
8524 Update Bazel bootstrap documentation and remove obsolete flags.
8525 (#15065)
8526 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
8527 [5.1] Undocument --bes_best_effort (#15066)
8528 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
8529 Fix conflicting actions error when specifying
8530 --host_macos_minimum_os (#15068)
8531 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
8532 [5.1] Remote: Action should not be successful and cached if
8533 outputs were not created (#15071)
8534 + 00d74ff737cccd60305ee58d85313556a077152a:
8535 Support decompressing zstd tar archives for repository rules.
8536 + f5857830bb68bd05ffc257506575ed37a8128933:
8537 Remote: Don't check TreeArtifact output
8538 + efb2b80953983dce499d453a9f55a74ffaf8c42d:
8539 osx_cc_wrapper: Only expand existing response files
8540 + c771c43b870fb8618db7bdab6725ab40cac4976d:
8541 Remote: Fix crashes by InterruptedException when dynamic
8542 execution is enabled. (#15091)
8543 + 3785677cc84fc4024fda85575c05efbde5d512fc:
8544 Use python3 on macOS
8545 + 815d9e499a32fd4d87525ac0c698c293cf26433d:
8546 Release 5.1.0 (2022-03-24)
8547 + 1fbb69e366034484887e00c6006c7b79508765ed:
8548 Prepare 5.1.1 release
8549 + df153df9656e0e197f67622bb11f7d77e19238a0:
8550 Fix CODEOWNERS syntax
8551 + 2b92a3111e83a4d14934059afd0f51161a41276f:
8552 Remote: Don't check declared outputs for failed action
8553 + b47aa71b21d93c9499103e9a37a6c2ffa79865b9:
8554 Upgrade abseil version to the latest
8555 + c49c45d8dac87d21cf2b6a176ddd07f2c9f63414:
8556 Revert default export all symbols on Windows
8557 + 7d3fb993f55b35081786c3fe00cf3bebb89574f3:
8558 Support ZIP files with total number of disks = 0
8559 + 0f5dc111be06b2ee8694640f400b58e12bfa5fea:
8560 Release 5.1.1 (2022-04-08)
8561 + 2422cfb3e5d92d46f9065b2b1e442823a965faf7:
8562 Update CODEOWNERS
8563 + bbcff1802423fca7ee5bd6a3e527c12d6d7d80ba:
8564 [5.2.0] Update java_tools 11.7.1 (#15231)
8565 + 9c98120f33579b72561e02826d9fccf222eccb3c:
8566 Add support for .ar archives (and .deb files)
8567 + d3435b09d89f25bf5008ef3b9c870c835d51a8da:
8568 Seperate GetSelfPath implementation for Blaze and Bazel
8569 + c94572bea5ce6bdc0ccda9789e5be6fb3f4c173b:
8570 Include jdk.crypto.mscapi in minimized Windows embedded JDK
8571 + 299022ca2dc49b6cb27b2674f933755306ae8b9b:
8572 remote: Proactively close the ZstdInputStream in
8573 ZstdDecompressingOutputStream.
8574 + 27707995cc6576ed1f51fbdb199ff8512e8418c9:
8575 Collect coverage from cc_binary data deps of java_test
8576 + 3442179d240e01ef13b0fa7814db7366bad5ffac:
8577 Configure Apple crosstool to return a complete target triple
8578 that includes minimum OS version and target environment
8579 + bb6f1a7ce79168055ccd62629da07d46a52b930d:
8580 Collect C++ lcov coverage if runtime object not in runfiles
8581 + dbb6e9954b6e4423f727feb2719ffc75a93b514b:
8582 Fixing dependencies of //external package
8583 + f0213bbf730c4a5d1a31e65bc9c01fbb55a6edb3:
8584 [5.2] Upgrade Google Auth Version (#15383)
8585 + a1a74c9919e03e09ef7c6ae13f38f48eea80ead1:
8586 Fix chocolatey package - docsUrl must not 404 (#15395)
8587 + fe644bee95c14d461e0d1e3cccaa8bbcd57bcd8d:
8588 Fix cache leak when applying transitions when only a rule's
8589 attributes change.
8590 + ad74d5243917bb27a37e38d151a4a3c8a49947eb:
8591 Fix checking remote cache for omitted files in buildevent file
8592 (#15405)
8593 + ac219103d8798965b775db548d7b9214ecd78f73:
8594 fix(bzlmod): throw on json parse exception
8595 + 3d85b88609a362857d8ee3c0432a37d30268a8a2:
8596 Add a flag to expose undeclared test outputs in unzipped form.
8597 (#15431)
8598 + abd7a9f70c3dfe96724a692dc7dc04ff33bdece1:
8599 Remove -U_FORTIFY_SOURCE when thin_lto is enabled (#15433)
8600 + 53b9cb8637c0faddc6b122a1daab72bcc274bdec:
8601 Catch NumberFormatException while trying to parse thread id.
8602 + 19740b55ebc283b7ec42b359bcd4c9096facfdd5:
8603 Improve the --sandbox_debug error message
8604 + 0a2a43f9aab1e3875f03f643f6414eb67834c883:
8605 Set keywords on appropriate lifecycle events.
8606 + 394ddb82b311ea7edbe2522736b0b0202903ddb6:
8607 Record additional profiling information for remotely executed
8608 actions.
8609 + 652b48e567fcb30768dfc2eddee5f04bf6b5d65b:
8610 Fix downloading remote execution output files inside output
8611 dirs. (#15444)
8612 + 73f1ecbc1cb00e16ceda4b582f4d57268f8701cd:
8613 Fix android emulator darwin_arm64 select
8614 + 2649c7c4adef0ebf9bca8fe46aa97304b22de522:
8615 Fix --use_top_level_targets_for_symlinks with aliases (#15446)
8616 + fa1081c1f3dce7324a1da59c40d1a1a3533c7047:
8617 Filter libtool warning about table of contents
8618 + 26f878325e915e0905626a0e4c8bbacffd72f875:
8619 Unify sandbox/remote handling of empty TreeArtifact inputs
8620 (#15449)
8621 + 6b21b7773157a1eebd3dfe79ff4c4ee750059daf:
8622 Revert "Fixes incorrect install names on darwin platforms"
8623 + e133e66f715bac17bf5848e4440c089a8c8d3fd9:
8624 config doesn't error on duplicate `--define` values (#15473)
8625 + 84d59176622b76223828e61709179dbd5f0c9f8d:
8626 Collect coverage from cc_binary data deps of py_test (#15298)
8627 + 519d2daacfff3de6ffabfc5827621fa835e1c815:
8628 SolibSymlinkAction does not need exec platform or properties
8629 + 6e54699884cfad49d4e8f6dd59a4050bc95c4edf:
8630 Let Starlark tests inherit env variables (#15217)
8631 + 9610ae889e6fd45280c5beb7fe8f5bef2d736878:
8632 Update PythonZipper action to use CommandLineItem.CapturingMapFn
8633 + 2f1ff6fa17c3c30b2533bffe81f40eab06b453b9:
8634 Make `coverage --combined_report=lcov` skip incompatible tests
8635 + 9fad5a3dc93cd436a5712c46e6c98d3995428ddb:
8636 Disable ReturnValueIgnored checks to unblock java_tools release
8637 + 0120118893261968bdf116ef215655c428428fa8:
8638 Bump the limit of Bazel install base size (#15585)
8639 + 668805aace9bf96f78595fc2a122027a3000ceac:
8640 Upgrade zlib to 1.2.12
8641 + 4d900ceea12919ad62012830a95e51f9ec1a48bb:
8642 [5.2] Remote: Fix a bug that outputs of actions tagged with
8643 no-remote are u... (#15453)
8644 + b703cb9b999e243d776b7620468e48f450c0ce3a:
8645 Add feature to produce serialized diagnostics files (#15600)
8646 + 2e8458b7810eab7829fc7d28af5c45b9af91ed7c:
8647 Release 5.2.0 (2022-06-07)
8648 + 536f8d97991d891fc7db333af1a5262497d85173:
8649 Fix fail message construction in cc_shared_library
8650 + 2d42925ae80c0fb007aa39f4e210122611897255:
8651 Define cc-compiler-darwin in Xcode toolchain
8652 + a1d7d1f69f82da1bdfa1cebd32356249127aea3b:
8653 Fix alwayslink in objc_import
8654 + d273cb62f43ef8169415cf60fc96e503ea2ad823:
8655 Unify URL/URLs parameter code across http_archive, http_file,
8656 http_jar
8657 + fea32be42928c84463aa1f335b5722a1f6b8c93a:
8658 Preserve --experimental_allow_unresolved_symlinks in exec cfg
8659 + e4bc370b226eb0cc536b55641640266345a214ec:
8660 Ck/cherry pick cc shared library (#15754)
8661 + dbdfa07e92f99497be9c14265611ad2920161483:
8662 Let Starlark executable rules specify their environment (#15766)
8663 + e2a6a2b130552db7521d3d4d854b9a651b1f4a3b:
8664 Fix string formatting when java_home path is missing.
8665 + d54a288e6c79c740b9c93dfc31ee345d6a5332af:
8666 Optionally enable LLVM profile continuous mode
8667 + ad17b44cdc192277fafb0d0e204962b2b924dba8:
8668 Print remote execution message when the action times out (#15772)
8669 + 240e3d1e1dbc74c7753dead6421d7c1b5fc28d09:
8670 Add missing line to cherrypick
8671 e4bc370b226eb0cc536b55641640266345a214ec (#15784)
8672 + 804b4747152a59bc2965be2db85839b8b2764fc7:
8673 Replace strdupa with strdup
8674 + 62be9ea29295fab5289bd5d1a0f13dc7d55a8bc0:
8675 Bzlmod: Better canonical repo names for modules with overrides
8676 (#15793)
8677 + d4663a1c950d618c5b15a3e00fb733987cbf45cc:
8678 Add repo env test (#15768)
8679 + 594962cb283dcd71b736e0450453903911a8c85a:
8680 Add is_root struct field to bazel_module (#15815)
8681 + 3dd2b932d42fe86112899550d21452409cb3c4b0:
8682 Fix null pointer crash with `bazel coverage` on only
8683 incompatible tests
8684 + 4175018b47800db28c390d39fefbd266b5d674bd:
8685 Add util for finding credential helper to use
8686 + 3ea9eb2e363860c9305a987fa22a059afd35598d:
8687 Merge ManifestMergerAction-related commits into release-5.3.0
8688 (#15824)
8689 + 64571a428ffe2bf09f1a5eea13e770a7d0381620:
8690 Ck/cherrypick 15669 (#15788)
8691 + 1404651cafe5c26c5dae469e9126de53c2f4f024:
8692 Create output directories for remote execution (#15818)
8693 + ae523f82d39daf01cf31e40733de0c6345f0935c:
8694 Use tree artifacts in bootclasspath rule
8695 + 37f181cb6ed0237f43d81159eb81b19d3b5f8e36:
8696 [credentialhelper] Add types to communicate with the subprocess
8697 + 06ca634e10f17023022ab591a55aabdd9fb57b12:
8698 Add a flag to force Bazel to download certain artifacts when
8699 using --remote_download_minimal (#15870)
8700 + d35f923b098e4dc9c90b1ab66b413c216bdee638:
8701 RemoteExecutionService: fix outputs not being uploaded
8702 + 78af34f9f25b0c8fbf597a794a5162f0014629c5:
8703 Cherry-pick proto_lang_toolchain Starlarkfication and
8704 proto_common module (#15854)
8705 + afb434da9da79b53da1ea4c7bcc00571dbea6d3f:
8706 Fix behavior of `print()` in module extensions
8707 + 6714c30507edc70ec84f8c97d47cffc497356c0b:
8708 [credentialhelper] Implement invoking credential helper as
8709 subprocess
8710 + 0f05904171d187e6abacb431b3d7494423b027ab:
8711 Add register_{execution_platforms,toolchains} directives to
8712 MODULE.bazel files (#15852)
8713 + 33516e27dc6ee6ab5c3b9dee739a267b08d26b6c:
8714 [remote] Improve .netrc test in RemoteModuleTest
8715 + aa2a1f3afe2f10baab5befcafb39df14cbffc743:
8716 Fix ZipDecompressor windows 0x80 (file attribute normal)
8717 + 30f16e53cb36a5d506665be7553e785d52772e2d:
8718 Replace uses of `cfg = "host"` with `cfg = "exec"` (#15922)
8719 + 2a8d0ad7103511a94382aef41821a315bf8144b7:
8720 target pattern file: allow comments
8721 + 6f732052654ec37192450c795bb28dd0aad559cd:
8722 Add factory for creating paths relative to well-known roots
8723 (#15931)
8724 + 32cc8e638b91816f427b74266f6a8da6fb605419:
8725 Update CODEOWNERS (#15910)
8726 + 63bc14b095f1ea4043024e7fe1f9c476968897c5:
8727 Implement native analysis_test call. (#15940)
8728 + 4df77f771e5cfdf4b614afd8934d00c2b2ff31d1:
8729 Increase osx_cc_configure timeouts
8730 + cdf01a39ab9def4d46f41595ac1ac9206a96d6f8:
8731 Allow string_list flags to be set via repeated flag uses
8732 + 05e758d4bc18fc9d9e189526381a06e4399056a2:
8733 [credentialhelper] Add parser for flag syntax (#15929)
8734 + e4ee34416ef18094496ab54446e70cb62cd509e6:
8735 Docs should mention the new no-remote-cache-upload tag (#15965)
8736 + 96d23d30cc80912b82a8fbab31c902e9db74b6ab:
8737 Add netrc support to --bes_backend (#15970)
8738 + c5bc34e5f1dd92703dd8f15f9f0409c49b778837:
8739 Add CommandLinePathFactory to CommandEnvironment (#15971)
8740 + 508f18576ab5327bd623db6b476511ac2089d0fa:
8741 Move newCredentialHelperProvider into GoogleAuthUtils (#15973)
8742 + 14c944a5386eccbcfbe8389afb6c518582b11270:
8743 Wire up credential helper to command-line flag(s) (#15976)
8744 + 04c373b708390341be4ceb8eb5b2f8561385cb11:
8745 Add `--output=files` mode to cquery (#15979)
8746 + edfe2a17e3434cce660757f59b14f2e9d6ab944e:
8747 Make cpp assembly file extensions case sensitive again
8748 + 4ae85387e69db73e507b4f18b36d3e2f799e5d34:
8749 Prevent aspects from executing on incompatible targets (#15984)
8750 + f440f8ec3f63e5d663e1f9d9614f05a39422102a:
8751 Remote: Fix performance regression in "upload missing inputs".
8752 (#15998)
8753 + 0109031a2818b217b78026055b972da5901656f5:
8754 Updated Codeowners file (#16032)
8755 + 6102d33bf0b72dc0fe9ada4c71113cbee3eb8187:
8756 Propagate the error message when a credential helper fails.
8757 (#16030)
8758 + a8dacc7832b04fe1756cd7adce72f2572f357eee:
8759 Migrate legacy desugar wrapper to new rlocation() (#16025)
8760 + 11368be4ac24108f18b1965162ad27f207c074f9:
8761 Correctly report errors thrown by CommandLinePathFactory#create.
8762 + 82452c7c372fb28485b0b5e0a98b471648f0dfd0:
8763 Fix an issue that
8764 `incompatible_remote_build_event_upload_respect_no_… (#16045)
8765 + e745468461f93839491a4f80d0c1883d9007f9c0:
8766 Fix rpath for binaries in external repositories (#16079)
8767 + 83041b145d3966eb353aacb22b7e33ad01d9a239:
8768 Refactor combined cache. (#16110)
8769 + c62496f7b76da473cb1102798373f552ba2f434d:
8770 C++: Add compound error linked statically but not exported
8771 (#16113)
8772 + 0f18786b09e9729d79c0f14f7843b4d8402b6115:
8773 Do not crash on URIs without a host component.
8774 + 9c0940df3c5962b2291e812600dd71731775d45b:
8775 Add profiler task for calling a credential helper.
8776 + 2ca1ab2c2c73d78021794f3099ee892cc73f515e:
8777 Make bazel_cc_code_coverage_test more robust against GCC version
8778 differences (#16254)
8779 + 1e25152906b668bbe56aa4c1773186af85335315:
8780 Fix local execution of external dynamically linked cc_* targets
8781 (#16253)
8782 + f6cccae5b6f9c0ad0e7d0bf7bd31ea1263449316:
8783 * add change to allow blaze info to skip Starlark build settings
8784 that start with --no prefix * add unit tests for both info and
8785 clean commands
8786 + 59b8b8f4dc098c31a372ad45adc2a48c5f1c4a9f:
8787 Release 5.3.1 (2022-09-19)
8788 + 77f0233420d141e36fbf86a62dff20285c7d8fdc:
8789 Update GrpcRemoteDownloader to only include relevant headers.
8790 (#16450)
8791 + 42ff95a1202cd18cc3348ed6a442de5eb95845bd:
8792 Avoid unnecessary iteration on action inputs.
8793 + d29034e43150f32bb02c2cff3774747e25e97de3:
8794 Update flag `--experimental_remote_download_regex` to accept
8795 multiple regular expressions. (#16478)
8796```
8797
8798Incompatible changes:
8799
8800 - Removing java_common.javac_jar Starlark call.
8801 - native.existing_rule now returns select values in a form that is
8802 accepted by rule instantiation. This is a breaking API change
8803 because there is some code that relies on the precise type
8804 returned, including brittle workarounds for this bug specifically
8805 and insufficiently flexible workarounds for other issues with the
8806 intersection of select and native.existing_rule.
8807 - flipped incompatible_use_toolchain_resolution_for_java_rules, see
8808 #7849
8809 - Query output=xml/proto/location for source files will now show
8810 the location of line 1 of the source file (as the new default)
8811 instead of its location in the BUILD file.
8812 - Specifying a target pattern underneath a directory specified by
8813 .bazelignore will now emit a warning, not an error.
8814 - Query `--order_output=auto` will now sort lexicographically.
8815 However, when `somepath` is used as a top level function (e.g.
8816 `query 'somepath(a, b)'`), it will continue to output in
8817 dependency order. If you do not want the lexicographical output
8818 ordering, specify another `--order_output` value (`no`, `deps` or
8819 `full`) based on what ordering you require.
8820 - In the build event stream,
8821 BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
8822 Its value was always mostly meaningless.
8823 BuildMetrics.TargetMetrics.targets_configured and
8824 BuildMetrics.ActionSummary.actions_created now include configured
8825 aspect data.
8826 - //visibility:legacy_public has been removed.
8827 - Flip and remove incompatible_dont_collect_so_artifacts
8828 (https://github.com/bazelbuild/bazel/issues/13043).
8829 - Remove flag --experimental_no_product_name_out_symlink: it is
8830 always true.
8831 - The Starlark method generate_dsym in objc fragment has
8832 been deleted. Please use the equivalent apple_generate_dsym in
8833 cpp
8834 fragment instead.
8835 - Native libraries in data attribute are not collected. See
8836 https://github.com/bazelbuild/bazel/issues/13550 for details
8837 - Enforce the `--profile` path to be absolute.
8838 - Enforce the --memory_profile path to be absolute.
8839 - JavaToolchainInfo.jvm_opt returns Depset instead of a list.
8840 - --apple_sdk has been deleted. It is a no-op.
8841 - --bep_publish_used_heap_size_post_build is now a no-op and will
8842 be deleted in a future release. Use --memory_profile=/dev/null
8843 instead.
8844 - Flipped --incompatible_disallow_resource_jars (see
8845 https://github.com/bazelbuild/bazel/issues/13221).
8846 - Remove --bep_publish_used_heap_size_post_build
8847 - JSON trace profile: rename counter names.
8848 - Removed --action_graph from the dump command.
8849 - Remove `--{experimental_,}json_trace_compression` option.
8850 - Remove `--experimental_profile_cpu_usage`.
8851 - flipped --incompatible_java_common_parameters (see #12373)
8852 - GrpcRemoteDownloader only includes relevant headers instead of
8853 sending all credentials.
8854
8855 Closes #16439.
8856
8857New features:
8858
8859 - Args.add_all and Args.add_joined can now accept closures in
8860 map_each if explicitly enabled via allow_closure.
8861 - Add `--bes_header` flag to pass extra headers to the BES server.
8862
8863Important changes:
8864
8865 - Flag --incompatible_objc_compile_info_migration is removed. See
8866 #10854.
8867 - Flag --incompatible_objc_compile_info_migration is removed. See
8868 #10854.
8869 - Flag --incompatible_objc_compile_info_migration is removed. See
8870 #10854.
8871 - none
8872 PAIR=cmita
8873 - The --incompatible_load_python_rules_from_bzl flag is now a no-op.
8874 - Filter all (instead of just C++) source files for coverage output
8875 according to --instrumentation_filter and
8876 --instrument_test_targets.
8877 - The `--incompatible_disable_native_apple_binary_rule` flag has
8878 been added which disables the native `apple_binary` rule. Users
8879 who need to use `apple_binary` directly (if they cannot use one
8880 of the more specific Apple rules) should load it from
8881 https://github.com/bazelbuild/rules_apple.
8882 - The Android rules' --use_singlejar_apkbuilder is now a no-op.
8883 SingleJar will always be used to build APKs.
8884 - dict.setdefault(key, ...) now fails if dict is frozen, even if it
8885 already contains key. This is an incompatible API change.
8886 - Flag --incompatible_objc_provider_remove_compile_info is removed.
8887 See #11359.
8888 - Starlark now permits def statements to be nested (closures).
8889 - native.existing_rule now returns select values in a form that is
8890 accepted by rule instantiation. This is a breaking API change,
8891 though the fallout is expected to be small.
8892 - Starlark now supports lambda (anonymous function) expressions.
8893 - The "test" and "coverage" commands no longer return 3 when a
8894 test action fails because of a system error. Instead, the exit
8895 code
8896 reflects the type of system error.
8897 - The undocumented ctx.expand feature no longer exists.
8898 - Make --legacy_dynamic_scheduler a no-op flag.
8899 - Multiplex persistent workers can now use the JSON protocol.
8900 - native.existing_rule now returns a mutable list, not a tuple, for
8901 a list-valued attributes. This is an incompatible API change.
8902 - Roll back change to have native.existing_rules use list instead
8903 of tuple.
8904 - BEP includes test suite expansions.
8905 - config_setting now honors `visibility` attribute (and defaults to
8906 `//visibility:public`)
8907 - Change the MultiArchSplitTransitionProvider to be based on
8908 platform type + CPU instead of fixed "ios_" + cpu.
8909 - enforce config_setting visibility. See
8910 https://github.com/bazelbuild/bazel/issues/12932 for details.
8911 - add a flag to build v4 signature file
8912 - Added _direct_source_jars output group to Java related targets.
8913 END_PUBLIC
8914 - pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
8915 Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
8916 - Allowing the lipo operations to be conditional in the
8917 linkMultiArchBinary API for Apple binaries. Single architecture
8918 slices are now returned through AppleBinaryOutput and the
8919 Starlark API.
8920 - Release restriction for "-" in the package name for Python
8921 sources. Now `py_binary` and `py_test` targets can have main
8922 source file with "-" in the path.
8923 - Users consuming BEP may assume that a `named_set_of_files` event
8924 will
8925 appear before any event referencing that `named_set` by ID. This
8926 allows consumers
8927 to process the files for such events (eg. `TargetCompleted`)
8928 immediately.
8929 - BEP includes all files from successful actions in requested
8930 output groups.
8931 Previously, an output group's files were excluded if any file in
8932 the output group
8933 was not produced due to a failing action. Users can expect BEP
8934 output to be larger
8935 for failed builds.
8936 - In BEP, TargetComplete.output_group has a new field `incomplete`
8937 indicating that the file_sets field is missing one or more
8938 declared artifacts
8939 whose generating actions failed.
8940 - The flag `--toolchain_resolution_debug` now takes a regex
8941 argument, which is used to check which toolchain types should
8942 have debug info printed. You may use `.*` as an argument to keep
8943 the current behavior of debugging every toolchain type.
8944 - Add runfiles.merge_all() for merging a sequence of runfiles
8945 objects.
8946 - runfiles.merge() and merge_all() now respect
8947 --nested_set_depth_limit.
8948 If you hit the depth limit because you were calling merge() in a
8949 loop, use
8950 merge_all() on a sequence of runfiles objects instead.
8951 - Bazel will no longer create a bazel-out symlink if
8952 --symlink_prefix is specified: the directory pointed to via the
8953 bazel-out symlink is accessible via ${symlink_prefix}-out. If
8954 this causes problems for you, set
8955 --experimental_no_product_name_out_symlink=false in your builds
8956 and file an issue.
8957 - Updates worker protocol with cancellation fields, and adds
8958 experimental_worker_cancellation flag to control cancellation.
8959 - Simplify build failure output by always using `NNN arguments`.
8960 - trim_test_configuration now defaults to on
8961 - Mark genrule.srcs as a source attribute for coverage.
8962 - When using --allow_analysis_failures (for example, via
8963 bazel-skylib's
8964 analysistest with `expect_failure = True`), analysis-time
8965 failures in aspect
8966 implementation functions will now be propagated and saved in
8967 AnalysisFailureInfo, just like analysis-time failures in rules.
8968 - cquery --noimplicit_deps now correctly filters out resolved
8969 cc_toolchains
8970 - Sign apks deterministically.
8971 - Make gcov optional in cc_toolchain tools.
8972 - If --experimental_prefer_mutual_xcode is passed, Bazel will
8973 choose the local default (instead of the newest mutually
8974 available version) if it's available both locally and remotely.
8975 - Remove java_lite_proto_library.strict_deps attribute.
8976 - Generate proguard configurations deterministically.
8977 - Adds a new flag, `--incompatible_enable_cc_test_feature` which
8978 switches from the use of build variables to the feature of the
8979 same name.
8980 - Dropped fragile xz support from built in pkg_tar. Users requiring
8981 xz
8982 compression should switch to bazlebuild/rules_pkg.
8983 - If all strategies of one branch (the local or remote execution
8984 branch) of the `dynamic` strategy fail to even accept (via the
8985 response they give from `canExec`) the action, `dynamic` will now
8986 try to see if the other branch can accept it. (Trying to run it
8987 and it failing will still cause a failure if it was the first
8988 result, this is about strategies claiming they can't even try the
8989 action)
8990 - Add `disable_annotation_processing` option to
8991 `java_common.compile`, which disables any annotation processors
8992 passed to `plugins` or in `exported_plugins` of `deps`
8993 - Remove obsolete --incompatible_prohibit_aapt1
8994 - The minimum Android build tools version for the Android rules is
8995 now 30.0.0
8996 - Adds --experimental_reuse_sandbox_directories flag to reuse
8997 already-created non-worker sandboxes with cleanup.
8998 - --experimental_force_gc_after_build is deprecated and will be
8999 removed soon. Use --bep_publish_used_heap_size_post_build instead
9000 - Forward coverage-instrumented files from non-tool dependencies by
9001 default.
9002 - The used_heap_size_post_build field in BEP is populated when the
9003 --memory_profile flag is set
9004 - --run_validations defaults to true.
9005 - Consider label_keyed_string_dict attributes when gathering
9006 instrumented files for coverage.
9007 - Remove flag
9008 --experimental_forward_instrumented_files_info_by_default, now
9009 that this behavior is the default.
9010 - When using MemoryProfiler with multiple GCs via the
9011 --memory_profile_stable_heap_parameters flag, we do a more
9012 precise calculation of heap used at the end of the build. This
9013 will generally result in lower values.
9014 - --bep_publish_used_heap_size_post_build is deprecated. Use
9015 --memory_profile=/dev/null instead.
9016 - Disable --all_incompatible_changes flag.
9017 - The --all_incompatible_changes flag is now a no-op
9018 - The `--toolchain_resolution_debug` flag now accepts regexes
9019 matching targets, as well as toolchain types, when choosing what
9020 debug messages to print.
9021 - Adds --experimental_existing_rules_immutable_view flag to make the
9022 native.existing_rule and native.existing_rules functions more
9023 efficient by
9024 returning immutable, lightweight dict-like view objects instead
9025 of mutable
9026 dicts.
9027 - Add support to length-delimited protos as undeclared output
9028 annotations []
9029 - The deprecated "relative_to_caller_repository" parameter has been
9030 removed from the Label constructor.
9031 - The toolchain transition is now enabled for all toolchains.
9032 - incompatible_disable_depset_items is flipped
9033 - The --experimental_existing_rules_immutable_view flag has been
9034 renamed to --incompatible_existing_rules_immutable_view
9035 - Bazel no longer supports Java 8. From this version on, the
9036 minimum required JDK is OpenJDK 11.
9037 - alias() can now select() directly on constraint_value()
9038
9039 Fixes https://github.com/bazelbuild/bazel/issues/13047.
9040
9041 Closes #14310.
9042 - Fixed an issue where Bazel could erroneously report a test passes
9043 in coverage mode without actually running the test.
9044 - Make protocOpts() publicly accessible.
9045 - Add coverage configuration fragment, used to expose
9046 output_generator label.
9047 - Bazel now no longer includes system headers on macOS in coverage
9048 reports (#14969).
9049
9050 Closes #14971.
9051 - Starlark test rules can use the new inherited_environment
9052 parameter of testing.TestEnvironment to specify environment
9053 variables
9054 whose values should be inherited from the shell environment.
9055
9056 Closes #14849.
9057 - none
9058 RELNOTES:none
9059 - Enable merging permissions during Android manifest merging with
9060 the --merge_android_manifest_permissions flag.
9061 - Added new register_{execution_platforms,toolchains} directives to
9062 the MODULE.bazel file, to replace the
9063 {execution_platforms,toolchains}_to_register attributes on the
9064 module() directive.
9065 - Add support for fetching RPC credentials from credential helper.
9066
9067 Progress on https://github.com/bazelbuild/bazel/issues/15856
9068
9069 Closes #15947.
9070 - `cquery`'s new output mode
9071 [`--output=files`](https://bazel.build/docs/cquery#files-output)
9072 lists the output files of the targets matching the query. It
9073 takes the current value of `--output_groups` into account.
9074
9075 Closes #15552.
9076 - Fix for desugaring failure on Bazel+Android+Windows build
9077 scenario.
9078
9079This 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].
9080
Bazel Release System37e5b232022-10-18 18:57:13 +00009081## Release 4.2.3 (2022-10-18)
9082
9083```
9084Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
9085
9086Cherry picks:
9087
9088 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
9089 Use getRunfilesPath for run_under executable path generation.
9090 getRootRelativePath doesn't return a valid runfiles path for
9091 external source files anymore after the recent external source
9092 root change. Also, it won't work for external labels either once
9093 the --nolegacy_external_runfiles becomes default. This fixes
9094 issue #12545.
9095 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
9096 Fix NPE when coveragerunner is not set on the toolchain.
9097 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
9098 Fix the classic query package-loading cutoff optimization with
9099 external workspaces.
9100 + 3f2e8c8220a1cf07fda0a08fb21734df79364248:
9101 Update turbine
9102 + 0577fa5623732e9d182d273597b9be6c66574d05:
9103 Update turbine
9104 + 268bedd5b8f4fc0aa4158248a8cf2d0d8ad79e52:
9105 Update turbine
9106 + 613c9fe7d6ad265d80be569485e599394fff310e:
9107 Update turbine
9108 + f28f6978b118868a7faec5ad3818ea0582ffb8f5:
9109 Update turbine
9110 + 69b43621a16d7ede62a3b876772e8b297d4ea09e:
9111 Update turbine
9112 + 4d4ab50501d5f493cea35885bd89b2a56b0027f7:
9113 Revert "Update turbine"
9114 + 89b9a048eec8f108795bebdada5b6c9d33dacff2:
9115 Update turbine
9116 + d31f6dfc85b73750139d287acdcd29a596e1884a:
9117 Update turbine version
9118 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
9119 Update turbine
9120 + bef4bbbb47d47befe3711d06f358782ee12554f9:
9121 Update turbine
9122 + d113d7454127bba78aa618dac81e5d164920b662:
9123 Update turbine
9124 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
9125 Support Scala3 .tasty files
9126 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
9127 Update to java_tools javac11 release 10.5 (#12647)
9128 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
9129 Fix common prefix for instrumentation filter
9130 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
9131 Fix builds for filegroup targets with incompatible dependencies
9132 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
9133 Revert "Remove
9134 --incompatible_blacklisted_protos_requires_proto_info"
9135 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
9136 Transform roots along with paths during output deletion.
9137 + e8835c1c221d76a2d5532d18083eaa04401619b3:
9138 AttributeContainer.Large now handles more than 127 attributes.
9139 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
9140 Add an env attribute to all test and binary rule classes
9141 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
9142 Take no action to prefetch empty artifacts.
9143 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
9144 Fix a couple of bugs with Incompatible Target Skipping
9145 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
9146 Pass --host_action_env to host options hostActionEnvironment
9147 attribute
9148 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
9149 Add --{no,}autodetect_server_javabase.
9150 + c83366064621d5a265eba14d93a03deff58fe6d8:
9151 Only treat "env" and "env_inherit" attrs specially for native
9152 rules
9153 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
9154 Fix coverage support when using default_java_toolchain. (#12801)
9155 + 4158a6f512e52516437e00f8d9609a91be7fc195:
9156 Revert JacocoCoverage target to remote_java_tools_java_import
9157 and add a new target for remore_java_tools_filegroup. (#12813)
9158 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
9159 Add windows_msvc back to conditions in bazel_tools.
9160 + 6b33bdb1e22514304c0e35ce8e067f2175685245:
9161 Release 4.0.0 (2021-01-21)
9162 + 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
9163 Fix error message from getPrerequisites to not print internal
9164 details.
9165 + 27e15ad11410eb1014f5247fd0eeb31a46733c07:
9166 Clean up ConfiguredTargetValueAccessor and
9167 ConfiguredTargetAccessor
9168 + e87feb8ac9573cef993824f82370d0389570521d:
9169 Move getConfigConditions into ConfiguredTarget.
9170 + 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
9171 Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
9172 value.
9173 + 079bb7d69931705bb2b092c9017090e224ef3043:
9174 Clean up old dependencies that are unused since
9175 https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
9176 5ef5702880d5ac7c5c.
9177 + e03cb63e059420847d6578d7cbfe93f05615c95e:
9178 Update bazelbuild/platforms to a current release. - Roll forward
9179 https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
9180 7f925cf88e0cd5b76a with kythe fix.
9181 + 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
9182 Update docs and tests to use the @platforms//:incompatible
9183 constraint
9184 + c71697cf33b0fbbb42fc2910bac83960edc7e855:
9185 Clarify test_suite behaviour in the Platforms docs
9186 + dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
9187 Enable toolchain resolution for filegroup targets.
9188 + 24d086446f74606819dc53c3a436caa056ff05b7:
9189 PlatformProviderUtils should ignore targets that don't have the
9190 needed
9191 + ba60c0b3f9bbd00975c984244839b155e84b4c5d:
9192 ijar: fix manifest sections handling
9193 + 58bb42ad7ca263a75c6eeef51482f805726663a5:
9194 Revert "Switch to -fdebug-compilation-dir"
9195 + 3f2e8c8220a1cf07fda0a08fb21734df79364248:
9196 Update turbine
9197 + 0577fa5623732e9d182d273597b9be6c66574d05:
9198 Update turbine
9199 + 268bedd5b8f4fc0aa4158248a8cf2d0d8ad79e52:
9200 Update turbine
9201 + 613c9fe7d6ad265d80be569485e599394fff310e:
9202 Update turbine
9203 + f28f6978b118868a7faec5ad3818ea0582ffb8f5:
9204 Update turbine
9205 + 69b43621a16d7ede62a3b876772e8b297d4ea09e:
9206 Update turbine
9207 + 4d4ab50501d5f493cea35885bd89b2a56b0027f7:
9208 Revert "Update turbine"
9209 + 89b9a048eec8f108795bebdada5b6c9d33dacff2:
9210 Update turbine
9211 + d31f6dfc85b73750139d287acdcd29a596e1884a:
9212 Update turbine version
9213 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
9214 Update turbine
9215 + bef4bbbb47d47befe3711d06f358782ee12554f9:
9216 Update turbine
9217 + d113d7454127bba78aa618dac81e5d164920b662:
9218 Update turbine
9219 + ad241fbebd90a9f0ad65ccd0658838f57030db68:
9220 Allow cquery to filter out incompatible targets
9221 + 1782f0ae751569607ef88930c822ac460a1f8bb3:
9222 Patch grpc to fix cares selecting the wrong source when building
9223 for darwin_arm64 cpu.
9224 + 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
9225 [1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
9226 blobs
9227 + 848a51747a460ab4c5185e4c61ab522a9981cbea:
9228 [2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
9229 blobs
9230 + 9b30172547f2093acb56aedf159a77d5dceffda2:
9231 [3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
9232 blobs
9233 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
9234 Allow exec groups to inherit from the rule or other exec groups.
9235 + d0676693310215407224c1b8e8aea9e3eddc183d:
9236 Support execution constraints per exec group
9237 + f1e0d346c8235c855e61afc2adb870e4b895e002:
9238 Clean up RuleContext to use a Table instead of a Map of Maps.
9239 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
9240 Documentation for #13110
9241 + 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
9242 Prevent --repo_env from triggering unnecessary fetches
9243 + 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
9244 Prevent a crash when using --repo_env=VAR without a value
9245 + 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
9246 Report digest of failed uploads
9247 + 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
9248 Status error presentation with details
9249 + 9a70805db543e2fb910e1c55ef3b3567362adf30:
9250 Fix double shutdown of BuildEventArtifactUploader when BES+File
9251 output enabled.
9252 + 325eb956c92530bdfda54a36a186cae4245a4f7b:
9253 Add rxjava3 to third_party
9254 + ceaac966a7b977461b69ce9501df6a467f4a93b2:
9255 remote: set executable bit of an input file based on its real
9256 value
9257 + 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
9258 Remote: correctly implement equals and hashCode.
9259 + 48648503729d53fdee1322fde2c8e6c05e99cff9:
9260 Fixed an error that bazel binary is not executable when testing
9261 with remote execution.
9262 + bc54c648aa1f99509c7c36d5e6b570d066689209:
9263 Remote: Use parameters instead of thread-local storage to
9264 provide tracing metadata.
9265 + 92955e617b5c41713a5163dc0437c2a024b31815:
9266 Remote: Use parameters instead of thread-local storage to
9267 provide tracing metadata. (Part 2)
9268 + 75bd1ff8ab56d241916bde36291301fa026b2bab:
9269 Remote: Use parameters instead of thread-local storage to
9270 provide tracing metadata. (Part 3)
9271 + 37ee252f3744abc4511f55b5089cc52abd3ba09d:
9272 Remote: Use parameters instead of thread-local storage to
9273 provide tracing metadata. (Part 4)
9274 + 71e35b165f924e2649a078fcf6007645d58039af:
9275 Remote: Use parameters instead of thread-local storage to
9276 provide tracing metadata. (Part 5)
9277 + 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
9278 Write/QueryWriteStatus logging refinement/addition
9279 + 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
9280 Remote: gRPC load balancing. (Part 1)
9281 + e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
9282 Remote: gRPC load balancing. (Part 2)
9283 + 6667ad7dd77f8d97952133052c17e7779c1430ec:
9284 Remote: gRPC load balancing. (Part 3)
9285 + 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
9286 Remote: gRPC load balancing. (Part 4)
9287 + 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
9288 Implement getMessage for BulkTransferException
9289 + a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
9290 Remote: gRPC load balancing. (Part 5)
9291 + 7a62c2d4e27e398f440910c81eacc384f38ca8be:
9292 Remote: Add interoperability between Rx and ListenableFuture.
9293 + 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
9294 Update to latest remote-execution proto
9295 + dad96301d12aa77eb67399e08265a5f30f5ffd6a:
9296 Set Platform on Action not just Command
9297 + 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
9298 Remote: Add AsyncTaskCache which is used to deduplicate task
9299 executions and cache the results.
9300 + 9d0c7325ac810febe565a62fdd875ae0c240b274:
9301 Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
9302 + f54fe07209acc25340df8d2e02993b1add2deafa:
9303 Add --experimental_repository_disable_download to allow users
9304 disable download for external repos
9305 + b243584a479eb4481a9bf4f69acc899610a3b630:
9306 Report errors parsing rewriter config file
9307 + 63bc1c7d0853dc187e4b96a490d733fb29f79664:
9308 Downloader rewriter config has all_blocked_message
9309 + 495ac923f398443be45c20ab29d183fe47e08911:
9310 Allow UrlRewriter to change protocol, i.e. https->http, and
9311 http->https
9312 + 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
9313 Allow overriding the hostname and instance name in bytestream://
9314 URIs
9315 + 0881c80d29acecdfbb58c49156f805e8c50db117:
9316 Don't set requestId on non-multiplex requests.
9317 + e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
9318 When generating a symlink in _virtual_includes, add the original
9319 header to the 'allowed to use' set too
9320 + f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
9321 Make SimpleLogHandler not swallow interrupts.
9322 + f8606e5e76579442a1c6563e718ea54c673f1a04:
9323 linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
9324 + dac0d40d0eb903f5cb70341398d1a333c19adf3a:
9325 Improve "Common Attributes" section
9326 + a607d9dc70ac67f1aa2c32ca954177f9c77860be:
9327 Never create more than one process per WorkerMultiplexer.
9328 + 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
9329 Move sending requests and reading responses for multiplex
9330 workers into separate subthreads.
9331 + 003cfcde3fd3901c1279ba1db3db3a14536248b4:
9332 Allow use of JSON protocol in multiplex workers.
9333 + 308bce36cba46095fe41866e703710035ddddada:
9334 Actively kill off still-active workers when stopping work on
9335 interrupt.
9336 + 8959dff512fe4505af786bcf2ef981ec7082a913:
9337 Add sanitizer support to Apple platforms
9338 + 32f16e9360f3e1856db1775eb5014b930da2a303:
9339 Fix a Google-internal broken link.
9340 + c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
9341 Add SHA-1 to subresource integrity format for download()
9342 checksums
9343 + 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
9344 Remove fallback strategy support for workers, add flag for it in
9345 sandbox.
9346 + 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
9347 Update to java_tools javac11 10.6 (#13245)
9348 + 4928295b236ec8f590a7e9d863502bc2f50a77d9:
9349 Allow .S files in C++ Starlark cc_common.compile.
9350 + 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
9351 Automatic code cleanup.
9352 + b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
9353 Change short output of worker type to have the same logic as the
9354 worker creation for sandboxing vs. multiplex.
9355 + e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
9356 More properly destroy workers on interrupt.
9357 + 7056711eb11b672133274eb29fc93b01dcf088d5:
9358 Make WorkRequestHandler do a GC after some amount of CPU time
9359 has been used on requests. For Bazel and Blaze, defaults to 10s
9360 based on benchmarking.
9361 + 596653d3cf76e7b208da343e1fde5fe20273a5ff:
9362 Allow tree artifacts to be source or header inputs to
9363 cc_common.compile()
9364 + 055c93d11ab20cc4479539b24bbdfa5cab78a342:
9365 Switch to path autocompletion after -- for bazel run commands.
9366 + 807f2a1929e23b60b237c63fadb25af81de2e3c3:
9367 Fix Incompatible Target Skipping for test args
9368 + 9a5cd854e0613f91d52075973e2454b1e009e1ef:
9369 Fix order of build request id and command id
9370 + 706f5acd02363e48076dc97e37613fd968932d03:
9371 Fix bazel crash when passing config_setting to
9372 target_compatible_with
9373 + 61da1d2bf10eabba4c75de959b0374f302d89d70:
9374 Support multiple --bazelrc on command line
9375 + 5593358a58b66f06c4e421bb48856de94c3fd625:
9376 Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
9377 to
9378 + 662cf54de7a103db30e04ebae2d2b919437c4846:
9379 Remote: Fix an issue that a failed action could lead to
9380 RuntimeException caused by InterruptedException thrown when
9381 acquiring gRPC connections.
9382 https://github.com/bazelbuild/bazel/issues/13239
9383 + a3a1763212f29932618b9b9b2f929976ae0e3b6e:
9384 Pass more `--add-exports=` flags
9385 + d2b942879471786e82f1c96eea8722bbe7919fc1:
9386 Remote: Fixed a bug that remote cache is missed due to
9387 executable bit is changed
9388 + 616dc264f02907d7b7887285d22307dfe6d097b6:
9389 Fix Bazel Coverage with C++ to work with Remote Execution
9390 + 5f40d12e741aa30d506eaa15673fb2ae76d29468:
9391 Fix external_path_test with newer Xcode versions.
9392 + b416193075642017e13c774422b49cb07fb65c23:
9393 Allow using embedded tools in sandboxed spawn runners.
9394 + eb762d4e7431637e607146b1c191485795047ef9:
9395 Fix racy write of temporary files while staging virtual inputs
9396 for the sandbox.
9397 + f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
9398 Update platforms_test to not rely on filegroup not using
9399 toolchain
9400 + 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
9401 Update SkyframeTests to not rely on filegroup not using toolchain
9402 + 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
9403 Update ConfigurableAttributesTest to not rely on filegroup not
9404 using …
9405 + 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
9406 Make WorkerExecRoot not be a subclass of SandboxedSpawn.
9407 + 31db460a45767de0bcd664a6efbe9d163b85b802:
9408 Make WorkerExecRoot not be re-created on each createFileSystem()
9409 call. Preparation for holding a map of existing links, but also
9410 just nicer.
9411 + a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
9412 Start the file existence check traversal from the execroot base
9413 instead of execroot so that external repo files at
9414 "<execroot>/../<path>" are correctly handled when the sibling
9415 repository layout is enabled.
9416 + b048282c7893231d3a7191b251804973917b07a4:
9417 Use readdir for cleanExisting in WorkerExecRoot.
9418 + 270f00dd01fa06cf3e813da5a406be3446de7377:
9419 Add native support for Apple Silicon
9420 + 8e56b9423e8ad2f7323fb90b19b73858def81e39:
9421 Explicitly state that embedding macOS OpenJDK is for x86_64
9422 + 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
9423 Remote: Fix a race that AsyncTaskCache#Execution could be reused
9424 after disposed which results in
9425 CancellationException("disposed") propagated to downstream.
9426 + 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
9427 Remove wrapped_clang params files after use
9428 + 47edc57806056f3c8764241ed41b8acc72bd2ebf:
9429 Silence swiftmodule timestamp warnings
9430 + f6e1074b09ebefba185c0531e9cea26b9596c8a9:
9431 Remote: Use shutdownNow() instead of shutdown() in
9432 ChannelConnection#close() as a workaround to a gRPC bug.
9433 + 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
9434 And mnemonic and label to remote metadata
9435 + 615e1b16a81b0defc15699ec8027d6ddd70366d1:
9436 Change `set -x` in coverage to be set by var
9437 + fe4daea99c8cd163793eca84bfb12c8fc437616b:
9438 Bump minimal JDK install base maximum size from 290 to 295 MB.
9439 + 4840a68cd273a429e46d4114a3973fd11d0e3583:
9440 Remote: Check the return value of ActionOwner.getLabel() since
9441 it could be `null`.
9442 + 14abe4fd7c3967686a3536939fdc3882e691bca2:
9443 Allow `DiffAwareness` to share precomputed information about the
9444 workspace and propagate it to the `WorkspaceStatusAction`.
9445 + 082d98772690946ed29c157e60640c97a6e1195b:
9446 Implement available() method for Windows subprocesses.
9447 + c2bdd034014f66ce14529cc353cda18a32320f6c:
9448 Move --repo_env to common options
9449 + e09f2743738044095b9d784ea62df16b7f5750e6:
9450 Revert "Documentation for #13110"
9451 + a165baa250652fdc865ae0df39160be1f7f74c47:
9452 Revert "Clean up RuleContext to use a Table instead of a Map of
9453 Maps."
9454 + 51fb9e13a864f4f704ae378ea632433bae7ddc31:
9455 Revert "Support execution constraints per exec group"
9456 + cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
9457 Revert "Allow exec groups to inherit from the rule or other exec
9458 groups."
9459 + 2ac6581aeaab33ba506fce96dfa6a75eaa819233:
9460 Release 4.1.0 (2021-05-21)
9461 + 7a0f36e3f0a21fed8857efbaa51ded2dbdeefab6:
9462 Change gceMachineType of highcpu platform from n1-highcpu-32 to
9463 e2-highcpu-32
9464 + 19491a91143f0c6132aca62c5ae40ab72e9dc0e2:
9465 Fix #10127: Remove Python 2 dependency from tools/android.
9466 + 80c59dea59d4dce39d4b5d21665c3d7313197358:
9467 fix main repo starlark options parsing - now flags passed on the
9468 command line as --@main_workspace//flag and --//flag will both
9469 parse to --//flag. Before this CL, the former maintained its
9470 workspace prefix and we would get different entries for these
9471 two formats.
9472 + 451b296c3aceb127ebb4a313b6e9608854fa68fa:
9473 Update threshold for long path shortening to be MAX_PATH - 4
9474 + 671e0489a5bd6d5abb4dcd9bcfc85134cee38385:
9475 Force source files to be readable before copying them from
9476 sandbox.
9477 + 6080c1e07f4229ea72eacd04faa9302e44955a84:
9478 Let workers finish lost races without delaying dynamic execution.
9479 + ee738dacb5d0089d3f57b15305057cb9ba675e74:
9480 Fix label_flag and label_setting to not have a dependency on the
9481 default
9482 + 74de0ba4e79341c77b8b85ff4485f92287b6854c:
9483 Java coverage: fix handling of external files
9484 + 48eee8b4b447a2ad11df28dd81a2ccb65562b5f5:
9485 [Bazel] Fix mobile-install for python2
9486 + 763dd0ce6e1644bf895231432f616427a11d385a:
9487 Add `stub_shebang` to `py_runtime`
9488 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
9489 Move use of legacy sandbox -> local fallback to only be used
9490 after all strategies have been tried, and improve messages
9491 around it.
9492 + 6dc941e58dfc1d4a9714a76b921fbe11fce658ed:
9493 Remove restriction on generate_pdb_file to be only used in dbg
9494 and fastbuild mode
9495 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
9496 Check the result of Future.cancel() when cancelling the other
9497 branch of dynamic execution.
9498 + aaae8ce2881c8c1a5d4ad64f20d6e71aa372cf2e:
9499 Update DEFAULT_MACOS_CPU to match host
9500 + 2f0927a4fd9342f4dcfd43475d3f1c90c523584f:
9501 Fix symlink creation on older Windows versions
9502 + fd9cffdcaf05551126e66f1cd62815eaa1af6bd9:
9503 Suppress interrupted status during pool closure
9504 + 33903d28bcea0005adf9b2a8cc4659c5e2999bbe:
9505 Fix Windows developer mode symlinks
9506 + 0cd1666721bdbe988dc361c085bb43cbd41a27f3:
9507 Respect Starlark options with values in `removeStarlarkOptions()`
9508 + 7920ffef472b25db3f4e564e5a3a28a4664c666e:
9509 cquery inherits from `test` not `build`
9510 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
9511 Allow exec groups to inherit from the rule or other exec groups.
9512 + d0676693310215407224c1b8e8aea9e3eddc183d:
9513 Support execution constraints per exec group
9514 + f1e0d346c8235c855e61afc2adb870e4b895e002:
9515 Clean up RuleContext to use a Table instead of a Map of Maps.
9516 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
9517 Documentation for #13110
9518 + e376580ae4e9ad5bddc196bfb6ad3127e3ff561b:
9519 Split ExecGroup into a new target.
9520 + 0cbb8a863522d2f77ab6b67a01e39b19a9a81807:
9521 Create a new interface to allow Starlark objects to get a thread
9522 when getIndex is called.
9523 + d2e21cec31f09b27ef3589f47b0779f34077ca7e:
9524 Renamed ExecGroupCollection to clarify that it is only for
9525 Starlark usage.
9526 + b9519f92f8ce096107164ca5075feced0e989de7:
9527 Make StarlarkExecGroupContext use AutoValue.
9528 + 52b1b748b2368820bac2ca94323fb82c39c00e51:
9529 Use a dummy toolchain context for rules that don't have one.
9530 + 41877d0fefe3f021f3ff6d4ce398d0deb27157e6:
9531 Extract a separate StarlarkToolchainContext for starlark-only
9532 operations.
9533 + b120d4febc571f17e12501ad87fbff32ef94e9bb:
9534 Fix toolchains to support type lookup.
9535 + dc140d0b6119950dd4a7d71b125b15a78bacc8ce:
9536 Move DEFAULT_EXEC_GROUP_NAME from ToolchainCollection to
9537 ExecGroup.
9538 + 9b18d951a52819f1998ddfdc1739fa1b5bf0353d:
9539 Rename ToolchainCollection.getExecGroups to getExecGroupNames.
9540 + 10d4473bf476a587e3d9f9b2214581ec420c1919:
9541 BuildViewForTesting should directly call into
9542 ConfiguredTargetFunction.
9543 + 58a6fb1f8739e39125cc8c647f28cff2e79fe9aa:
9544 Move exec group tests out of platforms_test and into integration.
9545 + 7d5493d922761c3ce0037f0025912cc532c55ad7:
9546 Update creating exec groups that explicitly copy from defaults.
9547 + 8c6382a81237e72dbec24b3850df9481461e0015:
9548 Create a new ExecGroupCollection container to manage exec group
9549 inheritance and exec property parsing.
9550 + b4b0c321910bc968736ef48e8140528ea7d323cd:
9551 Fix unix toolchain for macos arm64 platform
9552 + f64f071f44394a33a1be40cb7642e2c881d1e9bb:
9553 Add `required_providers` attribute to Starlark defined aspects.
9554 + f2cbdcf67ac1990f05a8241ba8dae65795edac82:
9555 Don't ever claim /dev/null is an execpath.
9556 + ceec93c35ead1bd487e96a5fee46e8d080f88858:
9557 Don't ever claim /dev/null is an execpath.
9558 + 1f3f9f4c4b2eded90518aacd1b0b80c1b0dfd1c5:
9559 Use the parent directory of the exec root as the input root on
9560 RBE.
9561 + 4efeac9cb5f85325ed73f64e133a078c483cac01:
9562 Make the Merkle tree computation work in the wake of
9563 https://github.com/bazelbuild/bazel/commit/7149f578006a4ad0d51df6
9564 9830a6986749b34df5 .
9565 + b56a2aa709dcb681cfc3faa148a702015ec631d5:
9566 Remote: Use execRoot as input root and do NOT set working
9567 directory by default.
9568 + ae53991f2e207edacd1352ba94261e2473b79f14:
9569 Remote: Add RemoteExecutionService as a layer between spawn
9570 execution and remote execution.
9571 + 0c07c2e6571dd4806552213b2237ecb7a908afa4:
9572 Remote: Add remoteCacheable key to execution log
9573 + 5e617d83f3aab1fd36b07be4b58aba58604cc46e:
9574 Remote: Register "remote" strategy even if remote execution is
9575 not available.
9576 + 4ca8946a8e1c4c2fd48d8fb8ce38adb8b282fef0:
9577 Remote: Add --experimental_capture_corrupted_outputs flag.
9578 + 97d7b4c277814d73b50450b03f4bb160ce7e99b4:
9579 Remote: Report checking cache status before the action is
9580 scheduled to run remotely.
9581 + ba5b2a7c9448a3681a0d86d80670447e338a06dc:
9582 when writing to local disk cache, open files later in order to
9583 avoid "too many open files"
9584 + 3551898849a93306ad9b4dfdd7d4667913098efe:
9585 Propagate test envs to xml generation action
9586 + 9f8c678d7054548865f56f3464f778c751657074:
9587 Remote: Fix a bug that the XML generation is executed even if
9588 test.xml is generated when build with --remote_download_minimal.
9589 + af42653e6f6bd229142f4678bb256a8c397b4d8d:
9590 Automatic code cleanup.
9591 + 07a84ce31d9b09853c63c7e373418696dd285dc5:
9592 Remote: Another attempt to fix the CancellationException error
9593 in AsyncTaskCache caused by a race condition.
9594 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
9595 Remote: Display download progress when actions are downloading
9596 outputs from remote cache.
9597 + 18c82168433719b400a705a4a0222969a7a026ba:
9598 Remote: Do not upload empty output to remote cache.
9599 + 6a138a60e562beeef36003c4814a6b8ce9f253f6:
9600 Fix compiling errors
9601 + bcce6dd026e90336e80616a8c1004a79a2f8640c:
9602 Add the TEMP_FAILURE_RETRY macro to linux-sandbox-pid1.cc.
9603 + c8c0d94a49e1b865d95c6d245c2d152c7c7c9722:
9604 Export proguard specs from aar_import
9605 + 1a0285c3b64b121268ced3eb9ad9d5ba396b4905:
9606 Fix stripping of macOS loadable bundles
9607 + 0d3c231f5a08861d28e987703e9196890e6164bf:
9608 Roll forward config_setting visibility enforcement behind a flag.
9609 + bb7a01027242390da1c18fbf87c274cc34c11b79:
9610 Fix merge conflicts.
9611 + 8b8e77ea226aaa12e79580422bc5984e80ce048b:
9612 Remove redundant declaration.
9613 + 7c92cfcf9a88933c29334f6271ad3f086f7f36f4:
9614 Ignore empty virtual artifacts when spawn-logging inputs.
9615 + 4158b61211e099db780565d064a1c1a80c91bd2a:
9616 Use correct exit code on invalid aquery --output
9617 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
9618 Remote: Fix a race when reporting action progresses.
9619 + 0e652737988e3c115e98e1552f6fada52bc2b9a2:
9620 Change MIN_BUILD_TOOLS_REVISION to 30.0.0
9621 + 6f9909c04b1e00faa510b38ccabac78821046cf9:
9622 Update Android remote tools to ensure Bazel uses the latest
9623 Android tooling that has been updated to support AndroidX
9624 databinding generation.
9625 + 31d88c629dff2c5f8e8a4baf8c89fd3349c9783e:
9626 Automated rollback of commit
9627 9a1d428e33bfae1ec5b68250d4732b72346b8b39.
9628 + 951a3023fbcdbe025e350590e6fa86097da3fe05:
9629 Increase allowed size of the install_base.
9630 + a7845f65befbeb65a28ec53e62458211a7bc3f8e:
9631 Increase allowed size for install base again.
9632 + affc27f9d18f9781437e91a3f36c73962a56f261:
9633 Bump version of java allocation instrumenter.
9634 + 7efabba19cf6400bf9e707f53b40a6dd7110fafb:
9635 Reference the correct version of the java allocation
9636 instrumenter.
9637 + 9055c67b17abf5fed487ae44d0e22f1c6ea1e50c:
9638 Support extracting aar files.
9639 + 861c3caa85e47da35a8a4f1512e57d43b9263c37:
9640 Revert "Remote: Fix a race when reporting action progresses."
9641 + 92ec798ddc1f38fb4868af08c1d818639283f501:
9642 Revert "Remote: Display download progress when actions are
9643 downloading outputs from remote cache."
9644 + ce091abb290d1d753f480cdee0e69748eb20db52:
9645 Revert "Fix compiling errors"
9646 + 1b19cd310418b850e8e0ca2086ffe50755c9ed7e:
9647 Revert "Remote: Fix a bug that the XML generation is executed
9648 even if test.xml is generated when build with
9649 --remote_download_minimal."
9650 + 988b56f5916e024d10695797a7f963b30fc998c7:
9651 Revert "Remote: Report checking cache status before the action
9652 is scheduled to run remotely."
9653 + 35c98d07b21785efae57a7c4230cc1e452f74fd2:
9654 Revert "Let workers finish lost races without delaying dynamic
9655 execution."
9656 + c4e22b9ace07f5d360c5327a38f9ae4ab24b7109:
9657 Migrate ExampleWorker to use WorkRequestHandler.
9658 + 230be161176bd6f1251077af7674f80d38ff1e25:
9659 Do not interleave readdir() calls with deletion of directory
9660 entries.
9661 + 3cc8ce6ba0934b1a4d9db184daf055c1207ef105:
9662 Propagate OOME if NewByteArray allocation failed
9663 + 19fc15ebbf6c63fcce90a038e91c5ec726852848:
9664 Create helper method for sandbox tests, transform existing tests
9665 into using it.
9666 + deb1006c0778692f7eaef4cbcf7eeb8112b55e91:
9667 Cleanup: Replace NULL with nullptr
9668 + f4b5e0233341977aaa76593ca032d9ac4eba7444:
9669 Let workers finish lost races without delaying dynamic execution.
9670 + 186decab01ee247c7453baf19dac778545ec4937:
9671 Interface and flag specification for worker cancellation.
9672 + 5894a8544d51c99f1356130b8b487bc93299fedd:
9673 Create BUILD file in worker tests directory instead of running
9674 tests from the parent directory.
9675 + e9e6978809b0214e336fee05047d5befe4f4e0c3:
9676 Server-side implementation of worker cancellation.
9677 + 5103662238f2df2038c7dff079e9c655e08ba654:
9678 Add builder for WorkRequestHandler.
9679 + 1a519bb66c3fa3e4ef3b9a9a556597920751fbcd:
9680 Makes singleplex requests be handled in separate threads in
9681 WorkRequestHandler.
9682 + 779d66019210f54e10a1343ee004df72a8dec812:
9683 Only allow worker async finishing when sandboxed.
9684 + a698bef6146a807fd82ee4402d89c23c83802e33:
9685 Support for cancellation in WorkRequestHandler.
9686 + 9dc95af4c7ef10979f21173260f5433006116096:
9687 Make workers restart on flags that affect their
9688 creation/behaviour.
9689 + 7e5cd529e9f8c9cb67900af36182f00ef7316654:
9690 Remote: Report checking cache status before the action is
9691 scheduled to run remotely.
9692 + 6e134a1b68418fba9992692901efa77a80c346f7:
9693 Remote: Fix a bug that the XML generation is executed even if
9694 test.xml is generated when build with --remote_download_minimal.
9695 + d4d071401acadb0d8977850a9439474e60fd7bb9:
9696 Fix compiling errors
9697 + 2579c9a18360955699d028426b45d381ff53783c:
9698 Eagerly initialize JNI copies of Java classes: doing lazy
9699 initialization on a per-method basis doesn't save anything and
9700 adds a tiny bit of overhead to every one of these calls.
9701 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
9702 Remote: Display download progress when actions are downloading
9703 outputs from remote cache.
9704 + 3835d9b21ad524d06873dfbf465ffd2dfb635ba8:
9705 Update the WorkRequestHandler to use callbacks of type:
9706 BiFunction<WorkRequest, PrintWriter, Integer>: - Mark
9707 constructors that use BiFunction<List<String>, PrintWriter,
9708 Integer> callback as deprecated. - Use a wrapper class for the
9709 BiFunction<WorkRequest, PrintWriter, Integer>. Suggesting this
9710 to avoid having two constructors that takes a BiFunction, as it
9711 creates a confusion between the deprecated and new constructor
9712 when given a lambda expressions.
9713 + 5e352afe2b35487ea2ced85ca79bd9f79858e648:
9714 Fix bug in WorkRequestHandler's handling of singleplex requests
9715 that would cause occasional hangs.
9716 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
9717 Remote: Fix a race when reporting action progresses.
9718 + c9d823e42796962eed039b8122528c2a1541190f:
9719 Disable flaky test.
9720 + e6809c90ecc0ef5783faa39e63188fc33a79b80e:
9721 Revert "Check the result of Future.cancel() when cancelling the
9722 other branch of dynamic execution."
9723 + be4cbc7a67196414e3d3f323be8ab55fb5e530f7:
9724 Revert "Move use of legacy sandbox -> local fallback to only be
9725 used after all strategies have been tried, and improve messages
9726 around it."
9727 + b32349f50ff3d958613aef9275751ad9d50d344c:
9728 Set a fallback dynamic local strategy even when the
9729 dynamic_local_strategy flag is passed.
9730 + f395157c95692565bc220c7ccf788974fe0885fd:
9731 Allow running an extra spawn for local branch of dynamic
9732 execution.
9733 + 039461c76113ab3f165132dd26d0c58eb3e45cae:
9734 Adding debugging information for case when two branches
9735 apparently cancel each other.
9736 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
9737 Move use of legacy sandbox -> local fallback to only be used
9738 after all strategies have been tried, and improve messages
9739 around it.
9740 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
9741 Check the result of Future.cancel() when cancelling the other
9742 branch of dynamic execution.
9743 + 1962a59a5478f5ad374700b0abf0a718b1b3a7d3:
9744 Fix the case where if all strategies for one branch of `dynamic`
9745 execution fail to accept (that is, refuse to even take) the
9746 action given, the whole action fails. Instead of seeing whether
9747 the other branch can run and the action that that it succeeded.
9748 + b7c1ad2aff91105659299723a712b72eea943040:
9749 Fix rare crash in dynamic execution where both branches got
9750 cancelled.
9751 + 2c3cff5422b115d7bb86ed28a056f3d368ebceeb:
9752 Check if `treeDeleter` is actually async before casting it.
9753 Fixes #13240.
9754 + 1a89ce1757e75f8ba9bda76d7373a7e8527bcfc5:
9755 Make worker JSON protocol properly ignore unknown fields.
9756 + 4b12fc80abf4152815f09e473a972e52a1fe8b51:
9757 Fix test_source_file_does_not_override_standard_library to work
9758 with Python 3.9.
9759 + f4e10367df2d881f05e3ddd5bd0531b390a845fe:
9760 Removing line ending matches in tests to be compatible on Windows
9761 + ba74df07ced96226d78851e11d1df03147f1cc1f:
9762 Refactors CompilationSupport for objc to use existing API
9763 + a04cb1bfad4734f801c48bae3070a799067bda4e:
9764 Release 4.2.0 (2021-08-18)
9765 + ba8678077024e1b4e5d7419c758a97e8dc9fceea:
9766 Revert "fix main repo starlark options parsing.
9767 + 9f67cdf3d51c05bc2209786aa24b72658b61362c:
9768 cquery: disable `--build_tests_only`.
9769 + 02ad3e3bc6970db11fe80f966da5707a6c389fdd:
9770 Release 4.2.1 (2021-08-30)
9771 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
9772 Enable user_link_flags_feature for macosx cc_toolchain_config
9773 + af74287f125b93119415ba35429b8638d7a986ea:
9774 Remote: Limit max number of gRPC connections by
9775 --remote_max_connections. (#14318)
9776 + 639f89d7682cadff723ac210fa37101f37762a9d:
9777 Fix [Prepa] actions stuck in active state
9778 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
9779 Delete marker file before fetching an external repository
9780 + e6c8e8d1ba89df5cf624e7147cee6b8246a9a490:
9781 CI configs: switch centos to centos7_java11_devtoolset10
9782 + 15371720ae0c40ffc97b74c871d1b38851ef6410:
9783 Release 4.2.2 (2021-12-02)
9784 + f64b7553607e1d3572611cc5011c498e3cd4505c:
9785 [4.2.3] Update GrpcRemoteDownloader to only include relevant
9786 headers. (#16450) (#16459)
9787```
9788
9789Incompatible changes:
9790
9791 - GrpcRemoteDownloader only includes relevant headers instead of
9792 sending all credentials.
9793
9794 Closes #16439.
9795
9796Important changes:
9797
9798 - Multiplex persistent workers can now use the JSON protocol.
9799 - enforce config_setting visibility. See
9800 https://github.com/bazelbuild/bazel/issues/12932 for details.
9801 - The minimum Android build tools version for the Android rules is
9802 now 30.0.0
9803 - Updates worker protocol with cancellation fields, and adds
9804 experimental_worker_cancellation flag to control cancellation.
9805 - If all strategies of one branch (the local or remote execution
9806 branch) of the `dynamic` strategy fail to even accept (via the
9807 response they give from `canExec`) the action, `dynamic` will now
9808 try to see if the other branch can accept it. (Trying to run it
9809 and it failing will still cause a failure if it was the first
9810 result, this is about strategies claiming they can't even try the
9811 action)
9812
9813This 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.
9814
Bazel Release System77e5b262022-09-30 19:28:15 +02009815## Release 6.0.0-pre.20220922.1 (2022-09-30)
9816
9817```
9818Baseline: 4e7d2a24715130ea5aec098e44f43fa603fad6b7
9819```
9820
9821Incompatible changes:
9822
9823 - this incompatible change breaks old instances of http_archive
9824 that specified netrc as an absolute path. It is unlikely there
9825 are many instances in the wild since the path would refer to a
9826 netrc file inside the external repository by absolute path.
9827 Migration should be straightforward.
9828 - genrule switched to use exec transition instead of host. This can
9829 break targets with hardcoded output paths. To avoid using
9830 hardcoded paths use make variables, see
9831 https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
9832 defined_label_variables
9833 - this incompatible change breaks old instances of http_archive
9834 that specified netrc as an absolute path. It is unlikely there
9835 are many instances in the wild since...
9836 - Error Prone now checks for unused return values of additional
9837 methods on `java.lang.Object`, which can be disabled using
9838 `--javacopts=-Xep:ReturnValueIgnored:OFF`
9839 - Error Prone now checks for unused return values of additional
9840 methods on `java.lang.Object`, which can be disabled using
9841 `--javacopts=-Xep:ReturnValueIgnored:OFF`
9842 - The --incompatible_existing_rules_immutable_view flag has been
9843 flipped to true. See
9844 https://github.com/bazelbuild/bazel/issues/13907 for
9845 migration notes.
9846 - Split up the C++ archive from the C++ link action and set
9847 `CppArchive` as mnemonic.
9848 - workspace(managed_directories=) is not available anymore.
9849 - --legacy_important_outputs now has a default of false.
9850 - --legacy_important_outputs default reverted to true.
9851 - objc_library now requires CcInfo in its deps. If this breaks
9852 you, add empty CcInfo() to your rule.
9853 - Flag --experimental_local_memory_estimate removed.
9854 - Added a new flag
9855 --incompatible_unambiguous_label_stringification, which causes
9856 labels in the main repo to stringify into unambiguous forms
9857 starting with an @. See
9858 https://github.com/bazelbuild/bazel/issues/15916 for more
9859 information.
9860 - analysis_test moved into testing.analysis_test
9861
9862Important changes:
9863
9864 - Deprecate --incompatible_applicable_licenses flag, in preparation
9865 for removal in Bazel 6.x.
9866 - Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
9867 - The Build Event Protocol now contains file digests and sizes
9868 along with the file name and URI.
9869 - Refactor system suspend event handling.
9870 - alias() can now select() directly on constraint_value()
9871 - Allow \a \b \f \v escape sequences in Starlark.
9872 - Match remote and local xcode version by most granular version.
9873 - Adds `--experimental_worker_multiplex_sandboxing` flag that
9874 controls whether to sandbox multiplex workers that support it.
9875 - provider() has a new parameter: init, a callback for performing
9876 pre-processing and validation of field values. Iff this parameter
9877 is set,
9878 provider() returns a tuple of 2 elements: the usual provider
9879 symbol (which,
9880 when called, invokes init) and a raw constructor (which bypasses
9881 init).
9882 - Tests that fail to create or complete their
9883 `TestAttemptContinuation` by
9884 throwing an `ExecException` will report an `INCOMPLETE` status.
9885 Previously, Bazel
9886 would fail to report any status for the test attempt.
9887 - Fixed an issue where Bazel could erroneously report a test passes
9888 in coverage mode without actually running the test.
9889 - Include more information about configurations in cquery proto
9890 formatted output. This deprecates the configuration field of
9891 AnalysisProtosV2.ConfiguredTarget, and adds a new field,
9892 configuration_id, to
9893 be used instead.
9894 - experimental cc_library.implementation_deps inverted to
9895 interface_deps
9896 - In aquery and cquery proto output, indicate if a configuration is
9897 a
9898 tool or non-tool configuration.
9899 - Include complete configurations in cquery proto output.
9900 - experimental cc_library.implementation_deps inverted to
9901 interface_deps
9902 - Make protocOpts() publicly accessible.
9903 - Add some documentation about how configuration information is
9904 conveyed in cquery proto output.
9905 - Introduces experimental static library linking API under
9906 apple_common.link_multi_arch_static_library
9907 - Further deprecation and removal of pkg_tar. Stop supporting
9908 legacy use of 'files' attribute, where it could be a list of
9909 labels instead of a map of paths to labels.
9910 - Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
9911 its purpose because --all_incompatible_changes would never set
9912 it. The last rule it gated (pkg_tar) is scheduled to be removed
9913 in Bazel 6.x.
9914 - Add coverage configuration fragment, used to expose
9915 output_generator label.
9916 - Bazel now no longer includes system headers on macOS in coverage
9917 reports (#14969).
9918 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
9919 $ANDROID_HOME.
9920 - The default dexer is now d8. dx can be optionally enabled using:
9921 --define=android_dexmerger_tool=dx_dexmerger \
9922 --define=android_incremental_dexing_tool=dx_dexbuilder \
9923 --define=android_standalone_dexing_tool=dx_compat_dx \
9924 --use_workers_with_dexbuilder
9925 - Packaging support for deploy JAR embedded JDK files (hermetic
9926 Java).
9927 - Don't stamp cc_common.link actions for tool dependencies.
9928 - Starlark test rules can use the new inherited_environment
9929 parameter of testing.TestEnvironment to specify environment
9930 variables
9931 whose values should be inherited from the shell environment.
9932 - Enable merging permissions during Android manifest merging with
9933 the --merge_android_manifest_permissions flag.
9934 - Allow specialization to work with constraint_values.
9935 - Bazel uses the D8 jar from Maven instead of the SDK.
9936 - Make ijar / java_import preserve classes with `@kotlin.Metadata`
9937 annotations
9938 - Switch cc_test implementation to Starlark. Note: cc_test will now
9939 link statically when _targeting_ Windows regardless of host
9940 platform (rather than always linking statically when Windows is
9941 the _host_).
9942 - Switch cc_test implementation to Starlark. Note: cc_test will now
9943 link statically when _targeting_ Windows regardless of host
9944 platform (rather than always linking statically when Windows is
9945 the _host_).
9946 - Add devtools/build/lib/worker:work_request_handlers to the remote
9947 android tools release package. This will be transitively packaged
9948 into all_android_tools.
9949 - Bazel uses the D8 jar from Maven instead of the SDK.
9950 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
9951 $ANDROID_HOME.
9952 - Advance android_tools_pkg version to 0.24.0.
9953 - Switch cc_test implementation to Starlark. Note: cc_test will now
9954 link statically when _targeting_ Windows regardless of host
9955 platform (rather
9956 than always linking statically when Windows is the _host_).
9957 - Bazel uses the D8 jar from Maven instead of the SDK.
9958 - "blaze config" now only reports info from the last build. To
9959 compare configurations across multiple builds, redirect "blaze
9960 config" output to a file and run your favorite diff tool.
9961 - The --incompatible_override_toolchain_transition flag is now
9962 always set, and will be removed in the future. Thus,
9963 --noincompatible_override_toolchain_transition has no effect, and
9964 the value of the incompatible_use_toolchain_transition parameter
9965 in aspect() and rule() builtins is ignored.
9966 - Switch cc_test implementation to Starlark. Note: cc_test will now
9967 link statically when _targeting_ Windows regardless of host
9968 platform (rather
9969 than always linking statically when Windows is the _host_).
9970 - Toolchain types may now be optional, in addition to mandatory.
9971 See https://bazel.build/docs/toolchains#optional-toolchains for
9972 further details.
9973 - Add six to deps of has_services=1 py_proto_librarys.
9974 - pkg_tar(symlinks) has been removed. Users needing that feature
9975 should
9976 migrate to @rules_pkg.
9977 - Aspects can now define and use exec groups using the same API as
9978 rules.
9979 - Removed the obsolete --incompatible_applicable_licenses flag. The
9980 feature is permanently enabled.
9981 - embedded_tools packages R8 desugarer again
9982 - Bazel now selects sh path based on execution platform instead of
9983 host platform, making it possible to execute sh actions in
9984 multiplatform builds. --shell_executable now only applies to
9985 actions configured for host.
9986 - labels in genquery.scope are no longer configured.
9987 - When Bzlmod is enabled, all Bzlmod-generated repos will have an
9988 extra '@' prepended to their names. This effectively enables the
9989 canonical label literal syntax for Bzlmod-generated repos
9990 (`@@canonicalRepoName//pkg:target`; see
9991 https://docs.google.com/document/d/1N81qfCa8oskCk5LqTW-LNthy6EBrDo
9992 t7bdUsjz6JFC4/edit?usp=sharing).
9993 - Exposed `CcSharedLibraryInfo` to Starlark builtins.
9994 - Enable --use_top_level_targets_for_symlinks by default.
9995 - Singlejar accepts runtime Created-By field
9996 - --noincompatible_disable_managed_directories, and with that,
9997 workspace(managed_directories=) is not supported anymore.
9998 - Bazel supports D8 desugaring, albeit without persistent workers
9999 - Remove mtime options from pkg_tar. Users should migrate to
10000 @rules_pkg.
10001 - Test for experimental multiplexed persistent resource processor.
10002 - Added new register_{execution_platforms,toolchains} directives to
10003 the MODULE.bazel file, to replace the
10004 {execution_platforms,toolchains}_to_register attributes on the
10005 module() directive.
10006 - The legacy pkg_tar no longer supports the ability to untar and
10007 repackage an input tar file (`deps` attribute). Users needed that
10008 capability must switch to github.com/bazelbuild/rules_pkg.
10009 - `cquery`'s new output mode
10010 [`--output=files`](https://bazel.build/docs/cquery#files-output)
10011 lists the output files of the targets matching the query. It
10012 takes the current value of `--output_groups` into account.
10013 - Change singlejar metadata to report Created-By Bazel
10014 - Add support for fetching RPC credentials from credential helper.
10015 - Revert interface_deps back to implementation_deps after problem
10016 reported in. Use `buildozer 'rename deps implementation_deps'
10017 //...:%cc_library; buildozer 'rename interface_deps deps'
10018 //...:%cc_library`
10019 - Fix for desugaring failure on Bazel+Android+Windows build
10020 scenario.
10021 - D8 is the default desugarer
10022 - Migrate main_dex_list_creator to D8 (DX deprecation)
10023 - --experimental_enable_bzlmod has been renamed --enable_bzlmod,
10024 and still defaults to false.
10025 - selects() no longer produce irrelevant duplicate label checks
10026 - Adds a dexer output cache to CompatDexBuilder to improve build
10027 speed.
10028 - Improved error messages when analyzing inline bzl code
10029 - Improved error messages when analyzing inline bzl code
10030 - The `@bazel_tools//tools/cpp:compiler` flag now has the value
10031 `gcc` if the configured compiler is detected to be gcc rather
10032 than the generic value `compiler`. A branch for `gcc` may have to
10033 be added to `select` statements that do not have a default case
10034 that handles gcc appropriately.
10035 - The `get_child` method of `path` now accepts an arbitrary
10036 number of relative path strings as positional arguments.
10037 - SourceManifestAction supports `Action.content`
10038 - Add --incompatible_build_transitive_python_runfiles alias. See
10039 #16303
10040 - The @bazel_tools//tools/cpp:compiler flag now has the value
10041 `clang` for the auto-configured Xcode toolchain rather than the
10042 generic value compiler. A branch for `clang` may have to be added
10043 to select statements that do not have a default case that handles
10044 this toolchain appropriately.
10045 - added additional debug message to warn of skipped toolchains
10046 during resolution
10047
10048This 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.
10049
Bazel Release Systemd3d2c1b2022-09-19 17:02:50 +000010050## Release 5.3.1 (2022-09-19)
10051
10052```
10053Baseline: 8d66a4171baddcbe1569972f019e54130111202c
10054
10055Cherry picks:
10056
10057 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
10058 Remote: Cache merkle trees
10059 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
10060 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
10061 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
10062 Compile Apple tools as fat binaries if possible
10063 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
10064 Add protobuf as a well known module
10065 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
10066 Remote: Merge target-level exec_properties with
10067 --remote_default_exec_properties
10068 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
10069 Add -no_uuid for hermetic macOS toolchain setup
10070 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
10071 Remote: Fixes an issue when --experimental_remote_cache_async
10072 encounter flaky tests.
10073 + 77a002cce050e861fcc87c89acf7768aa5c97124:
10074 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
10075 has …
10076 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
10077 Fixes for the Starlark transition hash computation (#14251)
10078 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
10079 Do location expansion in copts of objc_library
10080 + 50274a9f714616d4735a560db7f617e53fb8d01b:
10081 [5.x] Remote: Add support for compression on gRPC cache (#14277)
10082 + 61bf2e5b5181cbe34a2f0d584053570943881804:
10083 Automated rollback of commit
10084 34c71465f84fa780217926db2e8e5ca3d6d4568c.
10085 + 79888fe7369479c398bafe064daa19a7ae30f710:
10086 Silence a zstd-jni GCC warning.
10087 + 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
10088 Remote: Limit max number of gRPC connections by
10089 --remote_max_connections.
10090 + fd727ec96d861573dcbad3249d727a94eff84789:
10091 Do location expansion in copts of objc_library
10092 + 23d096931be9b7247eafa750999dd7feadde14c1:
10093 Fix _is_shared_library_extension_valid
10094 + 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
10095 Remove merging of java_outputs in JavaPluginInfo.
10096 + cea5f4f499aa832cf90c68898671869ce79d63f2:
10097 Cherrypick Bzlmod documentation (#14301)
10098 + 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
10099 Format work requests according to ndjson spec
10100 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
10101 Enable user_link_flags_feature for macosx cc_toolchain_config
10102 + 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
10103 Remote: Use Action's salt field to differentiate cache across
10104 workspaces.
10105 + f94898915268be5670fb1e93a16c03e9b14d2a58:
10106 [5.x] Remote: Fix "file not found" error when remote cache is
10107 changed from enabled to disabled. (#14321)
10108 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
10109 Delete marker file before fetching an external repository
10110 + c05c6261cdb2cacb7c9881c255c0ada435ab5182:
10111 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
10112 + d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
10113 Fix remote spawn tests for remote_merkle_tree_cache=true
10114 + 59e16e944200555da377799aa0d9e8d0674d2e27:
10115 Show skipped tests as a warning
10116 + 76b3c242831f8e88835e3002a831a185a41fcc52:
10117 Build xcode-locator as a universal binary
10118 + aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
10119 Exit collect_coverage.sh early if LCOV_MERGER is not set.
10120 + 4256d46327bad8638df91be1a5d4ef83b12b74c7:
10121 Automated rollback of commit
10122 d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
10123 + dce24350befd08216b3910ae343670015444ff81:
10124 [apple] fix issues compiling C in objc_library for watchos/armv7k
10125 + bfc24139d93f8643686d91596ba347df2e01966a:
10126 5.x: Remote: Ignore blobs referenced in BEP if the generating
10127 action cannot be cached remotely. (#14389)
10128 + 5aef53a8884038f3c9f06e6dddb9372196253378:
10129 Remote: Don't blocking-get when acquiring gRPC connections.
10130 (#14420)
10131 + 005361c895da334beb873901e93aff06d180256e:
10132 Disable IncludeValidation for ObjC in bazel
10133 + d703b7b4f09fb3c389f99e52bac1f23930280b56:
10134 Update java_tools v11.6
10135 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
10136 Stop remote blob upload if upload is complete. (#14467)
10137 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
10138 [5.x] Make remote BES uploader better (#14472)
10139 + 2edab739e1f61fe8813230b03396ca46f0790089:
10140 Avoid too verbose warnings in terminal when cache issues
10141 + 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
10142 Rename --project_id to --bes_instance_name
10143 + c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
10144 Automated rollback of commit
10145 bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
10146 + b341802700484d11c775bf02d80f43ba3f33b218:
10147 [apple] support watchos_arm64 in toolchain
10148 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
10149 Disable implicitly collecting baseline coverage for toolchain
10150 targets.
10151 + 302971e1b3d803069ac949c0085c0d2a3916c8ab:
10152 Automated rollback of commit
10153 7d09b4a15985052670244c277e4357557b4d0039.
10154 + 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
10155 Bzlmod: Starlarkify default attr values for TypeCheckedTags
10156 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
10157 Fix build after rc4 cherrypicks (#14581)
10158 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
10159 Release 5.0.0 (2022-01-19)
10160 + 486d153d1981c3f47129f675de20189667667fa7:
10161 Find runfiles in directories that are themselves runfiles
10162 + 0de7bb95022057e8b89334f44759cf6f950e131f:
10163 Don't resolve symlinks for --sandbox_base
10164 + 8b60c90f3641591b65c4e153113aea562f1fab94:
10165 Remove uses of -lstdc++ on darwin
10166 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
10167 Allow Label instances as keys in select (#14755)
10168 + 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
10169 Remote: Only waits for background tasks from remote execution.
10170 + 8734ccf9847eafb7193388cd9c6fa78faa78283f:
10171 Add the default solib dir to the rpath for cc_imports with
10172 transitions
10173 + 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
10174 Flip --experimental_worker_allow_json_protocol
10175 + fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
10176 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
10177 cpu for tools when host cpu and exec cpu are different
10178 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
10179 Propagate --experimental_cc_implementation_deps to host config
10180 + 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
10181 Support select() on constraint_value for aliases.
10182 + 67a133b431ccece22b7dd9a72f0837cff77d4360:
10183 Improve documentation for select()
10184 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
10185 Cherrypicks for experimental cc_shared_library (#14773)
10186 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
10187 [apple] support tvos_sim_arm64 in toolchain (#14779)
10188 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
10189 Cherry pick win arm64 (#14794)
10190 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
10191 [5.1.0] cherrypick subpackages support (#14780)
10192 + 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
10193 Add a helper method for rules to depend on the cpp toolchain
10194 type.
10195 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
10196 UrlRewriter should be able to load credentials from .netrc
10197 (#14834)
10198 + 32d1606dac2fea730abe174c41870b7ee70ae041:
10199 Add "arch" struct field to repository_os
10200 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
10201 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
10202 + c2ddbd1954af5baab63b93f2b055a410a27832c8:
10203 Ignore missing include directory in JDK distribution.
10204 + 16de03595e21f7bf31818e717505b23c953b3b7d:
10205 Fix bazel coverage false negative
10206 + 0c74741742301abcf67452a7f591daec1c3a7635:
10207 Remote: Postpone the block waiting in `afterCommand` to
10208 `BlockWaitingModule` (#14833)
10209 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
10210 Switch to `ProcessHandle` for getting the PID (#14842)
10211 + a987b98ea0d6da2656c4115568ef9cbe8a164550:
10212 Fix uses of std++ on bsd
10213 + d184e4883bb7fc21de2f7aeea4304994de27e9ea:
10214 Remote: handle early return of compressed blobs uploads
10215 + 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
10216 Add removeprefix/removesuffix to Starlark strings
10217 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
10218 Fix default CPU for macOS and iOS (#14923)
10219 + cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
10220 Add paramfile support for def_parser, since in rare cases on
10221 Windows command line character limit was reached.
10222 + 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
10223 Normalize rpath entries to guard against missing default solib
10224 dir
10225 + 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
10226 Fix aggressive params file assumption
10227 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
10228 Fix precompiled libs not in runfiles of cc_shared_library
10229 (#14943)
10230 + 764614e0f0287125269e7a92e909a44624bcb360:
10231 Bzlmod: Allow multiple `use_extension`s on the same extension
10232 (#14945)
10233 + fa761f84994f18db383fbe9aaea524e4385da13a:
10234 Fix typo in `apple_common.platform` docs
10235 + f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
10236 Yield a Proxy for addresses without protocol
10237 + 8cefb8bed4ac82df8640682517372a9249732352:
10238 Avoid merging URLs in HttpUtils
10239 + b4804807fc2c184cc36df9e69e472942c01941b8:
10240 Make protocOpts() public. (#14952)
10241 + 113eaca5862c48797654ae2a3acbb6e15d761485:
10242 Do not hide BulkTransferException messages when there were more
10243 than one exception
10244 + b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
10245 merkle_tree_cache: change default size to 1000
10246 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
10247 Add --experimental_repository_cache_urls_as_default_canonical_id
10248 to help detect broken repository URLs (#14989)
10249 + f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
10250 Expose the logic to read user netrc file
10251 + b858ec39aebd7e586af5438aa2035db2adebf9a4:
10252 Correct cpu and os values of `local_config_cc_toolchains` targets
10253 + 5e79972c05d89280f0cf1fa620f807366847bac6:
10254 Expose CoverageOutputGenerator on a Fragment (#14997)
10255 + 78f03110e0dab42f37e427fd524e72706e036d74:
10256 Correct error runfiles cc_shared_library (#14998)
10257 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
10258 [5.1] Adding Starlark dependencies to the package //external
10259 (#14991)
10260 + a73aa12be65454ac8cfb5a8f3e056c420402f997:
10261 Remote: Fix crashes with InterruptedException when using http
10262 cache.
10263 + f8707c07f153ac4ac2ec4b210321f1a16343006d:
10264 Account for interface libraries in cc_shared_library
10265 + a570f5fdb1618a6c272d18bebaa712d3b2af3975:
10266 Fix coverage runfiles directory issue
10267 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
10268 Do not validate input-only settings in transitions (#15048)
10269 + 71747ccc9d0032a865854613329362563c0574df:
10270 Filter out system headers on macOS.
10271 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
10272 Update Bazel bootstrap documentation and remove obsolete flags.
10273 (#15065)
10274 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
10275 [5.1] Undocument --bes_best_effort (#15066)
10276 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
10277 Fix conflicting actions error when specifying
10278 --host_macos_minimum_os (#15068)
10279 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
10280 [5.1] Remote: Action should not be successful and cached if
10281 outputs were not created (#15071)
10282 + 00d74ff737cccd60305ee58d85313556a077152a:
10283 Support decompressing zstd tar archives for repository rules.
10284 + f5857830bb68bd05ffc257506575ed37a8128933:
10285 Remote: Don't check TreeArtifact output
10286 + efb2b80953983dce499d453a9f55a74ffaf8c42d:
10287 osx_cc_wrapper: Only expand existing response files
10288 + c771c43b870fb8618db7bdab6725ab40cac4976d:
10289 Remote: Fix crashes by InterruptedException when dynamic
10290 execution is enabled. (#15091)
10291 + 3785677cc84fc4024fda85575c05efbde5d512fc:
10292 Use python3 on macOS
10293 + 815d9e499a32fd4d87525ac0c698c293cf26433d:
10294 Release 5.1.0 (2022-03-24)
10295 + 1fbb69e366034484887e00c6006c7b79508765ed:
10296 Prepare 5.1.1 release
10297 + df153df9656e0e197f67622bb11f7d77e19238a0:
10298 Fix CODEOWNERS syntax
10299 + 2b92a3111e83a4d14934059afd0f51161a41276f:
10300 Remote: Don't check declared outputs for failed action
10301 + b47aa71b21d93c9499103e9a37a6c2ffa79865b9:
10302 Upgrade abseil version to the latest
10303 + c49c45d8dac87d21cf2b6a176ddd07f2c9f63414:
10304 Revert default export all symbols on Windows
10305 + 7d3fb993f55b35081786c3fe00cf3bebb89574f3:
10306 Support ZIP files with total number of disks = 0
10307 + 0f5dc111be06b2ee8694640f400b58e12bfa5fea:
10308 Release 5.1.1 (2022-04-08)
10309 + 2422cfb3e5d92d46f9065b2b1e442823a965faf7:
10310 Update CODEOWNERS
10311 + bbcff1802423fca7ee5bd6a3e527c12d6d7d80ba:
10312 [5.2.0] Update java_tools 11.7.1 (#15231)
10313 + 9c98120f33579b72561e02826d9fccf222eccb3c:
10314 Add support for .ar archives (and .deb files)
10315 + d3435b09d89f25bf5008ef3b9c870c835d51a8da:
10316 Seperate GetSelfPath implementation for Blaze and Bazel
10317 + c94572bea5ce6bdc0ccda9789e5be6fb3f4c173b:
10318 Include jdk.crypto.mscapi in minimized Windows embedded JDK
10319 + 299022ca2dc49b6cb27b2674f933755306ae8b9b:
10320 remote: Proactively close the ZstdInputStream in
10321 ZstdDecompressingOutputStream.
10322 + 27707995cc6576ed1f51fbdb199ff8512e8418c9:
10323 Collect coverage from cc_binary data deps of java_test
10324 + 3442179d240e01ef13b0fa7814db7366bad5ffac:
10325 Configure Apple crosstool to return a complete target triple
10326 that includes minimum OS version and target environment
10327 + bb6f1a7ce79168055ccd62629da07d46a52b930d:
10328 Collect C++ lcov coverage if runtime object not in runfiles
10329 + dbb6e9954b6e4423f727feb2719ffc75a93b514b:
10330 Fixing dependencies of //external package
10331 + f0213bbf730c4a5d1a31e65bc9c01fbb55a6edb3:
10332 [5.2] Upgrade Google Auth Version (#15383)
10333 + a1a74c9919e03e09ef7c6ae13f38f48eea80ead1:
10334 Fix chocolatey package - docsUrl must not 404 (#15395)
10335 + fe644bee95c14d461e0d1e3cccaa8bbcd57bcd8d:
10336 Fix cache leak when applying transitions when only a rule's
10337 attributes change.
10338 + ad74d5243917bb27a37e38d151a4a3c8a49947eb:
10339 Fix checking remote cache for omitted files in buildevent file
10340 (#15405)
10341 + ac219103d8798965b775db548d7b9214ecd78f73:
10342 fix(bzlmod): throw on json parse exception
10343 + 3d85b88609a362857d8ee3c0432a37d30268a8a2:
10344 Add a flag to expose undeclared test outputs in unzipped form.
10345 (#15431)
10346 + abd7a9f70c3dfe96724a692dc7dc04ff33bdece1:
10347 Remove -U_FORTIFY_SOURCE when thin_lto is enabled (#15433)
10348 + 53b9cb8637c0faddc6b122a1daab72bcc274bdec:
10349 Catch NumberFormatException while trying to parse thread id.
10350 + 19740b55ebc283b7ec42b359bcd4c9096facfdd5:
10351 Improve the --sandbox_debug error message
10352 + 0a2a43f9aab1e3875f03f643f6414eb67834c883:
10353 Set keywords on appropriate lifecycle events.
10354 + 394ddb82b311ea7edbe2522736b0b0202903ddb6:
10355 Record additional profiling information for remotely executed
10356 actions.
10357 + 652b48e567fcb30768dfc2eddee5f04bf6b5d65b:
10358 Fix downloading remote execution output files inside output
10359 dirs. (#15444)
10360 + 73f1ecbc1cb00e16ceda4b582f4d57268f8701cd:
10361 Fix android emulator darwin_arm64 select
10362 + 2649c7c4adef0ebf9bca8fe46aa97304b22de522:
10363 Fix --use_top_level_targets_for_symlinks with aliases (#15446)
10364 + fa1081c1f3dce7324a1da59c40d1a1a3533c7047:
10365 Filter libtool warning about table of contents
10366 + 26f878325e915e0905626a0e4c8bbacffd72f875:
10367 Unify sandbox/remote handling of empty TreeArtifact inputs
10368 (#15449)
10369 + 6b21b7773157a1eebd3dfe79ff4c4ee750059daf:
10370 Revert "Fixes incorrect install names on darwin platforms"
10371 + e133e66f715bac17bf5848e4440c089a8c8d3fd9:
10372 config doesn't error on duplicate `--define` values (#15473)
10373 + 84d59176622b76223828e61709179dbd5f0c9f8d:
10374 Collect coverage from cc_binary data deps of py_test (#15298)
10375 + 519d2daacfff3de6ffabfc5827621fa835e1c815:
10376 SolibSymlinkAction does not need exec platform or properties
10377 + 6e54699884cfad49d4e8f6dd59a4050bc95c4edf:
10378 Let Starlark tests inherit env variables (#15217)
10379 + 9610ae889e6fd45280c5beb7fe8f5bef2d736878:
10380 Update PythonZipper action to use CommandLineItem.CapturingMapFn
10381 + 2f1ff6fa17c3c30b2533bffe81f40eab06b453b9:
10382 Make `coverage --combined_report=lcov` skip incompatible tests
10383 + 9fad5a3dc93cd436a5712c46e6c98d3995428ddb:
10384 Disable ReturnValueIgnored checks to unblock java_tools release
10385 + 0120118893261968bdf116ef215655c428428fa8:
10386 Bump the limit of Bazel install base size (#15585)
10387 + 668805aace9bf96f78595fc2a122027a3000ceac:
10388 Upgrade zlib to 1.2.12
10389 + 4d900ceea12919ad62012830a95e51f9ec1a48bb:
10390 [5.2] Remote: Fix a bug that outputs of actions tagged with
10391 no-remote are u... (#15453)
10392 + b703cb9b999e243d776b7620468e48f450c0ce3a:
10393 Add feature to produce serialized diagnostics files (#15600)
10394 + 2e8458b7810eab7829fc7d28af5c45b9af91ed7c:
10395 Release 5.2.0 (2022-06-07)
10396 + 536f8d97991d891fc7db333af1a5262497d85173:
10397 Fix fail message construction in cc_shared_library
10398 + 2d42925ae80c0fb007aa39f4e210122611897255:
10399 Define cc-compiler-darwin in Xcode toolchain
10400 + a1d7d1f69f82da1bdfa1cebd32356249127aea3b:
10401 Fix alwayslink in objc_import
10402 + d273cb62f43ef8169415cf60fc96e503ea2ad823:
10403 Unify URL/URLs parameter code across http_archive, http_file,
10404 http_jar
10405 + fea32be42928c84463aa1f335b5722a1f6b8c93a:
10406 Preserve --experimental_allow_unresolved_symlinks in exec cfg
10407 + e4bc370b226eb0cc536b55641640266345a214ec:
10408 Ck/cherry pick cc shared library (#15754)
10409 + dbdfa07e92f99497be9c14265611ad2920161483:
10410 Let Starlark executable rules specify their environment (#15766)
10411 + e2a6a2b130552db7521d3d4d854b9a651b1f4a3b:
10412 Fix string formatting when java_home path is missing.
10413 + d54a288e6c79c740b9c93dfc31ee345d6a5332af:
10414 Optionally enable LLVM profile continuous mode
10415 + ad17b44cdc192277fafb0d0e204962b2b924dba8:
10416 Print remote execution message when the action times out (#15772)
10417 + 240e3d1e1dbc74c7753dead6421d7c1b5fc28d09:
10418 Add missing line to cherrypick
10419 e4bc370b226eb0cc536b55641640266345a214ec (#15784)
10420 + 804b4747152a59bc2965be2db85839b8b2764fc7:
10421 Replace strdupa with strdup
10422 + 62be9ea29295fab5289bd5d1a0f13dc7d55a8bc0:
10423 Bzlmod: Better canonical repo names for modules with overrides
10424 (#15793)
10425 + d4663a1c950d618c5b15a3e00fb733987cbf45cc:
10426 Add repo env test (#15768)
10427 + 594962cb283dcd71b736e0450453903911a8c85a:
10428 Add is_root struct field to bazel_module (#15815)
10429 + 3dd2b932d42fe86112899550d21452409cb3c4b0:
10430 Fix null pointer crash with `bazel coverage` on only
10431 incompatible tests
10432 + 4175018b47800db28c390d39fefbd266b5d674bd:
10433 Add util for finding credential helper to use
10434 + 3ea9eb2e363860c9305a987fa22a059afd35598d:
10435 Merge ManifestMergerAction-related commits into release-5.3.0
10436 (#15824)
10437 + 64571a428ffe2bf09f1a5eea13e770a7d0381620:
10438 Ck/cherrypick 15669 (#15788)
10439 + 1404651cafe5c26c5dae469e9126de53c2f4f024:
10440 Create output directories for remote execution (#15818)
10441 + ae523f82d39daf01cf31e40733de0c6345f0935c:
10442 Use tree artifacts in bootclasspath rule
10443 + 37f181cb6ed0237f43d81159eb81b19d3b5f8e36:
10444 [credentialhelper] Add types to communicate with the subprocess
10445 + 06ca634e10f17023022ab591a55aabdd9fb57b12:
10446 Add a flag to force Bazel to download certain artifacts when
10447 using --remote_download_minimal (#15870)
10448 + d35f923b098e4dc9c90b1ab66b413c216bdee638:
10449 RemoteExecutionService: fix outputs not being uploaded
10450 + 78af34f9f25b0c8fbf597a794a5162f0014629c5:
10451 Cherry-pick proto_lang_toolchain Starlarkfication and
10452 proto_common module (#15854)
10453 + afb434da9da79b53da1ea4c7bcc00571dbea6d3f:
10454 Fix behavior of `print()` in module extensions
10455 + 6714c30507edc70ec84f8c97d47cffc497356c0b:
10456 [credentialhelper] Implement invoking credential helper as
10457 subprocess
10458 + 0f05904171d187e6abacb431b3d7494423b027ab:
10459 Add register_{execution_platforms,toolchains} directives to
10460 MODULE.bazel files (#15852)
10461 + 33516e27dc6ee6ab5c3b9dee739a267b08d26b6c:
10462 [remote] Improve .netrc test in RemoteModuleTest
10463 + aa2a1f3afe2f10baab5befcafb39df14cbffc743:
10464 Fix ZipDecompressor windows 0x80 (file attribute normal)
10465 + 30f16e53cb36a5d506665be7553e785d52772e2d:
10466 Replace uses of `cfg = "host"` with `cfg = "exec"` (#15922)
10467 + 2a8d0ad7103511a94382aef41821a315bf8144b7:
10468 target pattern file: allow comments
10469 + 6f732052654ec37192450c795bb28dd0aad559cd:
10470 Add factory for creating paths relative to well-known roots
10471 (#15931)
10472 + 32cc8e638b91816f427b74266f6a8da6fb605419:
10473 Update CODEOWNERS (#15910)
10474 + 63bc14b095f1ea4043024e7fe1f9c476968897c5:
10475 Implement native analysis_test call. (#15940)
10476 + 4df77f771e5cfdf4b614afd8934d00c2b2ff31d1:
10477 Increase osx_cc_configure timeouts
10478 + cdf01a39ab9def4d46f41595ac1ac9206a96d6f8:
10479 Allow string_list flags to be set via repeated flag uses
10480 + 05e758d4bc18fc9d9e189526381a06e4399056a2:
10481 [credentialhelper] Add parser for flag syntax (#15929)
10482 + e4ee34416ef18094496ab54446e70cb62cd509e6:
10483 Docs should mention the new no-remote-cache-upload tag (#15965)
10484 + 96d23d30cc80912b82a8fbab31c902e9db74b6ab:
10485 Add netrc support to --bes_backend (#15970)
10486 + c5bc34e5f1dd92703dd8f15f9f0409c49b778837:
10487 Add CommandLinePathFactory to CommandEnvironment (#15971)
10488 + 508f18576ab5327bd623db6b476511ac2089d0fa:
10489 Move newCredentialHelperProvider into GoogleAuthUtils (#15973)
10490 + 14c944a5386eccbcfbe8389afb6c518582b11270:
10491 Wire up credential helper to command-line flag(s) (#15976)
10492 + 04c373b708390341be4ceb8eb5b2f8561385cb11:
10493 Add `--output=files` mode to cquery (#15979)
10494 + edfe2a17e3434cce660757f59b14f2e9d6ab944e:
10495 Make cpp assembly file extensions case sensitive again
10496 + 4ae85387e69db73e507b4f18b36d3e2f799e5d34:
10497 Prevent aspects from executing on incompatible targets (#15984)
10498 + f440f8ec3f63e5d663e1f9d9614f05a39422102a:
10499 Remote: Fix performance regression in "upload missing inputs".
10500 (#15998)
10501 + 0109031a2818b217b78026055b972da5901656f5:
10502 Updated Codeowners file (#16032)
10503 + 6102d33bf0b72dc0fe9ada4c71113cbee3eb8187:
10504 Propagate the error message when a credential helper fails.
10505 (#16030)
10506 + a8dacc7832b04fe1756cd7adce72f2572f357eee:
10507 Migrate legacy desugar wrapper to new rlocation() (#16025)
10508 + 11368be4ac24108f18b1965162ad27f207c074f9:
10509 Correctly report errors thrown by CommandLinePathFactory#create.
10510 + 82452c7c372fb28485b0b5e0a98b471648f0dfd0:
10511 Fix an issue that
10512 `incompatible_remote_build_event_upload_respect_no_… (#16045)
10513 + e745468461f93839491a4f80d0c1883d9007f9c0:
10514 Fix rpath for binaries in external repositories (#16079)
10515 + 83041b145d3966eb353aacb22b7e33ad01d9a239:
10516 Refactor combined cache. (#16110)
10517 + c62496f7b76da473cb1102798373f552ba2f434d:
10518 C++: Add compound error linked statically but not exported
10519 (#16113)
10520 + 0f18786b09e9729d79c0f14f7843b4d8402b6115:
10521 Do not crash on URIs without a host component.
10522 + 9c0940df3c5962b2291e812600dd71731775d45b:
10523 Add profiler task for calling a credential helper.
10524 + 2ca1ab2c2c73d78021794f3099ee892cc73f515e:
10525 Make bazel_cc_code_coverage_test more robust against GCC version
10526 differences (#16254)
10527 + 1e25152906b668bbe56aa4c1773186af85335315:
10528 Fix local execution of external dynamically linked cc_* targets
10529 (#16253)
10530 + f6cccae5b6f9c0ad0e7d0bf7bd31ea1263449316:
10531 * add change to allow blaze info to skip Starlark build settings
10532 that start with --no prefix * add unit tests for both info and
10533 clean commands
10534```
10535
10536Important changes:
10537
10538 - alias() can now select() directly on constraint_value()
10539
10540 Fixes https://github.com/bazelbuild/bazel/issues/13047.
10541
10542 Closes #14310.
10543 - Fixed an issue where Bazel could erroneously report a test passes
10544 in coverage mode without actually running the test.
10545 - Make protocOpts() publicly accessible.
10546 - Add coverage configuration fragment, used to expose
10547 output_generator label.
10548 - Bazel now no longer includes system headers on macOS in coverage
10549 reports (#14969).
10550
10551 Closes #14971.
10552 - Starlark test rules can use the new inherited_environment
10553 parameter of testing.TestEnvironment to specify environment
10554 variables
10555 whose values should be inherited from the shell environment.
10556
10557 Closes #14849.
10558 - none
10559 RELNOTES:none
10560 - Enable merging permissions during Android manifest merging with
10561 the --merge_android_manifest_permissions flag.
10562 - Added new register_{execution_platforms,toolchains} directives to
10563 the MODULE.bazel file, to replace the
10564 {execution_platforms,toolchains}_to_register attributes on the
10565 module() directive.
10566 - Add support for fetching RPC credentials from credential helper.
10567
10568 Progress on https://github.com/bazelbuild/bazel/issues/15856
10569
10570 Closes #15947.
10571 - `cquery`'s new output mode
10572 [`--output=files`](https://bazel.build/docs/cquery#files-output)
10573 lists the output files of the targets matching the query. It
10574 takes the current value of `--output_groups` into account.
10575
10576 Closes #15552.
10577 - Fix for desugaring failure on Bazel+Android+Windows build
10578 scenario.
10579
10580This 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.
10581
Bazel Release System4b20e1a2022-09-19 17:23:50 +000010582## Release 5.3.1 (2022-09-19)
10583
10584```
10585Baseline: 8d66a4171baddcbe1569972f019e54130111202c
10586
10587Cherry picks:
10588
10589 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
10590 Remote: Cache merkle trees
10591 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
10592 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
10593 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
10594 Compile Apple tools as fat binaries if possible
10595 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
10596 Add protobuf as a well known module
10597 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
10598 Remote: Merge target-level exec_properties with
10599 --remote_default_exec_properties
10600 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
10601 Add -no_uuid for hermetic macOS toolchain setup
10602 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
10603 Remote: Fixes an issue when --experimental_remote_cache_async
10604 encounter flaky tests.
10605 + 77a002cce050e861fcc87c89acf7768aa5c97124:
10606 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
10607 has …
10608 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
10609 Fixes for the Starlark transition hash computation (#14251)
10610 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
10611 Do location expansion in copts of objc_library
10612 + 50274a9f714616d4735a560db7f617e53fb8d01b:
10613 [5.x] Remote: Add support for compression on gRPC cache (#14277)
10614 + 61bf2e5b5181cbe34a2f0d584053570943881804:
10615 Automated rollback of commit
10616 34c71465f84fa780217926db2e8e5ca3d6d4568c.
10617 + 79888fe7369479c398bafe064daa19a7ae30f710:
10618 Silence a zstd-jni GCC warning.
10619 + 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
10620 Remote: Limit max number of gRPC connections by
10621 --remote_max_connections.
10622 + fd727ec96d861573dcbad3249d727a94eff84789:
10623 Do location expansion in copts of objc_library
10624 + 23d096931be9b7247eafa750999dd7feadde14c1:
10625 Fix _is_shared_library_extension_valid
10626 + 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
10627 Remove merging of java_outputs in JavaPluginInfo.
10628 + cea5f4f499aa832cf90c68898671869ce79d63f2:
10629 Cherrypick Bzlmod documentation (#14301)
10630 + 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
10631 Format work requests according to ndjson spec
10632 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
10633 Enable user_link_flags_feature for macosx cc_toolchain_config
10634 + 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
10635 Remote: Use Action's salt field to differentiate cache across
10636 workspaces.
10637 + f94898915268be5670fb1e93a16c03e9b14d2a58:
10638 [5.x] Remote: Fix "file not found" error when remote cache is
10639 changed from enabled to disabled. (#14321)
10640 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
10641 Delete marker file before fetching an external repository
10642 + c05c6261cdb2cacb7c9881c255c0ada435ab5182:
10643 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
10644 + d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
10645 Fix remote spawn tests for remote_merkle_tree_cache=true
10646 + 59e16e944200555da377799aa0d9e8d0674d2e27:
10647 Show skipped tests as a warning
10648 + 76b3c242831f8e88835e3002a831a185a41fcc52:
10649 Build xcode-locator as a universal binary
10650 + aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
10651 Exit collect_coverage.sh early if LCOV_MERGER is not set.
10652 + 4256d46327bad8638df91be1a5d4ef83b12b74c7:
10653 Automated rollback of commit
10654 d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
10655 + dce24350befd08216b3910ae343670015444ff81:
10656 [apple] fix issues compiling C in objc_library for watchos/armv7k
10657 + bfc24139d93f8643686d91596ba347df2e01966a:
10658 5.x: Remote: Ignore blobs referenced in BEP if the generating
10659 action cannot be cached remotely. (#14389)
10660 + 5aef53a8884038f3c9f06e6dddb9372196253378:
10661 Remote: Don't blocking-get when acquiring gRPC connections.
10662 (#14420)
10663 + 005361c895da334beb873901e93aff06d180256e:
10664 Disable IncludeValidation for ObjC in bazel
10665 + d703b7b4f09fb3c389f99e52bac1f23930280b56:
10666 Update java_tools v11.6
10667 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
10668 Stop remote blob upload if upload is complete. (#14467)
10669 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
10670 [5.x] Make remote BES uploader better (#14472)
10671 + 2edab739e1f61fe8813230b03396ca46f0790089:
10672 Avoid too verbose warnings in terminal when cache issues
10673 + 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
10674 Rename --project_id to --bes_instance_name
10675 + c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
10676 Automated rollback of commit
10677 bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
10678 + b341802700484d11c775bf02d80f43ba3f33b218:
10679 [apple] support watchos_arm64 in toolchain
10680 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
10681 Disable implicitly collecting baseline coverage for toolchain
10682 targets.
10683 + 302971e1b3d803069ac949c0085c0d2a3916c8ab:
10684 Automated rollback of commit
10685 7d09b4a15985052670244c277e4357557b4d0039.
10686 + 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
10687 Bzlmod: Starlarkify default attr values for TypeCheckedTags
10688 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
10689 Fix build after rc4 cherrypicks (#14581)
10690 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
10691 Release 5.0.0 (2022-01-19)
10692 + 486d153d1981c3f47129f675de20189667667fa7:
10693 Find runfiles in directories that are themselves runfiles
10694 + 0de7bb95022057e8b89334f44759cf6f950e131f:
10695 Don't resolve symlinks for --sandbox_base
10696 + 8b60c90f3641591b65c4e153113aea562f1fab94:
10697 Remove uses of -lstdc++ on darwin
10698 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
10699 Allow Label instances as keys in select (#14755)
10700 + 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
10701 Remote: Only waits for background tasks from remote execution.
10702 + 8734ccf9847eafb7193388cd9c6fa78faa78283f:
10703 Add the default solib dir to the rpath for cc_imports with
10704 transitions
10705 + 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
10706 Flip --experimental_worker_allow_json_protocol
10707 + fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
10708 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
10709 cpu for tools when host cpu and exec cpu are different
10710 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
10711 Propagate --experimental_cc_implementation_deps to host config
10712 + 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
10713 Support select() on constraint_value for aliases.
10714 + 67a133b431ccece22b7dd9a72f0837cff77d4360:
10715 Improve documentation for select()
10716 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
10717 Cherrypicks for experimental cc_shared_library (#14773)
10718 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
10719 [apple] support tvos_sim_arm64 in toolchain (#14779)
10720 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
10721 Cherry pick win arm64 (#14794)
10722 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
10723 [5.1.0] cherrypick subpackages support (#14780)
10724 + 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
10725 Add a helper method for rules to depend on the cpp toolchain
10726 type.
10727 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
10728 UrlRewriter should be able to load credentials from .netrc
10729 (#14834)
10730 + 32d1606dac2fea730abe174c41870b7ee70ae041:
10731 Add "arch" struct field to repository_os
10732 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
10733 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
10734 + c2ddbd1954af5baab63b93f2b055a410a27832c8:
10735 Ignore missing include directory in JDK distribution.
10736 + 16de03595e21f7bf31818e717505b23c953b3b7d:
10737 Fix bazel coverage false negative
10738 + 0c74741742301abcf67452a7f591daec1c3a7635:
10739 Remote: Postpone the block waiting in `afterCommand` to
10740 `BlockWaitingModule` (#14833)
10741 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
10742 Switch to `ProcessHandle` for getting the PID (#14842)
10743 + a987b98ea0d6da2656c4115568ef9cbe8a164550:
10744 Fix uses of std++ on bsd
10745 + d184e4883bb7fc21de2f7aeea4304994de27e9ea:
10746 Remote: handle early return of compressed blobs uploads
10747 + 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
10748 Add removeprefix/removesuffix to Starlark strings
10749 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
10750 Fix default CPU for macOS and iOS (#14923)
10751 + cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
10752 Add paramfile support for def_parser, since in rare cases on
10753 Windows command line character limit was reached.
10754 + 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
10755 Normalize rpath entries to guard against missing default solib
10756 dir
10757 + 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
10758 Fix aggressive params file assumption
10759 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
10760 Fix precompiled libs not in runfiles of cc_shared_library
10761 (#14943)
10762 + 764614e0f0287125269e7a92e909a44624bcb360:
10763 Bzlmod: Allow multiple `use_extension`s on the same extension
10764 (#14945)
10765 + fa761f84994f18db383fbe9aaea524e4385da13a:
10766 Fix typo in `apple_common.platform` docs
10767 + f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
10768 Yield a Proxy for addresses without protocol
10769 + 8cefb8bed4ac82df8640682517372a9249732352:
10770 Avoid merging URLs in HttpUtils
10771 + b4804807fc2c184cc36df9e69e472942c01941b8:
10772 Make protocOpts() public. (#14952)
10773 + 113eaca5862c48797654ae2a3acbb6e15d761485:
10774 Do not hide BulkTransferException messages when there were more
10775 than one exception
10776 + b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
10777 merkle_tree_cache: change default size to 1000
10778 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
10779 Add --experimental_repository_cache_urls_as_default_canonical_id
10780 to help detect broken repository URLs (#14989)
10781 + f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
10782 Expose the logic to read user netrc file
10783 + b858ec39aebd7e586af5438aa2035db2adebf9a4:
10784 Correct cpu and os values of `local_config_cc_toolchains` targets
10785 + 5e79972c05d89280f0cf1fa620f807366847bac6:
10786 Expose CoverageOutputGenerator on a Fragment (#14997)
10787 + 78f03110e0dab42f37e427fd524e72706e036d74:
10788 Correct error runfiles cc_shared_library (#14998)
10789 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
10790 [5.1] Adding Starlark dependencies to the package //external
10791 (#14991)
10792 + a73aa12be65454ac8cfb5a8f3e056c420402f997:
10793 Remote: Fix crashes with InterruptedException when using http
10794 cache.
10795 + f8707c07f153ac4ac2ec4b210321f1a16343006d:
10796 Account for interface libraries in cc_shared_library
10797 + a570f5fdb1618a6c272d18bebaa712d3b2af3975:
10798 Fix coverage runfiles directory issue
10799 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
10800 Do not validate input-only settings in transitions (#15048)
10801 + 71747ccc9d0032a865854613329362563c0574df:
10802 Filter out system headers on macOS.
10803 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
10804 Update Bazel bootstrap documentation and remove obsolete flags.
10805 (#15065)
10806 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
10807 [5.1] Undocument --bes_best_effort (#15066)
10808 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
10809 Fix conflicting actions error when specifying
10810 --host_macos_minimum_os (#15068)
10811 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
10812 [5.1] Remote: Action should not be successful and cached if
10813 outputs were not created (#15071)
10814 + 00d74ff737cccd60305ee58d85313556a077152a:
10815 Support decompressing zstd tar archives for repository rules.
10816 + f5857830bb68bd05ffc257506575ed37a8128933:
10817 Remote: Don't check TreeArtifact output
10818 + efb2b80953983dce499d453a9f55a74ffaf8c42d:
10819 osx_cc_wrapper: Only expand existing response files
10820 + c771c43b870fb8618db7bdab6725ab40cac4976d:
10821 Remote: Fix crashes by InterruptedException when dynamic
10822 execution is enabled. (#15091)
10823 + 3785677cc84fc4024fda85575c05efbde5d512fc:
10824 Use python3 on macOS
10825 + 815d9e499a32fd4d87525ac0c698c293cf26433d:
10826 Release 5.1.0 (2022-03-24)
10827 + 1fbb69e366034484887e00c6006c7b79508765ed:
10828 Prepare 5.1.1 release
10829 + df153df9656e0e197f67622bb11f7d77e19238a0:
10830 Fix CODEOWNERS syntax
10831 + 2b92a3111e83a4d14934059afd0f51161a41276f:
10832 Remote: Don't check declared outputs for failed action
10833 + b47aa71b21d93c9499103e9a37a6c2ffa79865b9:
10834 Upgrade abseil version to the latest
10835 + c49c45d8dac87d21cf2b6a176ddd07f2c9f63414:
10836 Revert default export all symbols on Windows
10837 + 7d3fb993f55b35081786c3fe00cf3bebb89574f3:
10838 Support ZIP files with total number of disks = 0
10839 + 0f5dc111be06b2ee8694640f400b58e12bfa5fea:
10840 Release 5.1.1 (2022-04-08)
10841 + 2422cfb3e5d92d46f9065b2b1e442823a965faf7:
10842 Update CODEOWNERS
10843 + bbcff1802423fca7ee5bd6a3e527c12d6d7d80ba:
10844 [5.2.0] Update java_tools 11.7.1 (#15231)
10845 + 9c98120f33579b72561e02826d9fccf222eccb3c:
10846 Add support for .ar archives (and .deb files)
10847 + d3435b09d89f25bf5008ef3b9c870c835d51a8da:
10848 Seperate GetSelfPath implementation for Blaze and Bazel
10849 + c94572bea5ce6bdc0ccda9789e5be6fb3f4c173b:
10850 Include jdk.crypto.mscapi in minimized Windows embedded JDK
10851 + 299022ca2dc49b6cb27b2674f933755306ae8b9b:
10852 remote: Proactively close the ZstdInputStream in
10853 ZstdDecompressingOutputStream.
10854 + 27707995cc6576ed1f51fbdb199ff8512e8418c9:
10855 Collect coverage from cc_binary data deps of java_test
10856 + 3442179d240e01ef13b0fa7814db7366bad5ffac:
10857 Configure Apple crosstool to return a complete target triple
10858 that includes minimum OS version and target environment
10859 + bb6f1a7ce79168055ccd62629da07d46a52b930d:
10860 Collect C++ lcov coverage if runtime object not in runfiles
10861 + dbb6e9954b6e4423f727feb2719ffc75a93b514b:
10862 Fixing dependencies of //external package
10863 + f0213bbf730c4a5d1a31e65bc9c01fbb55a6edb3:
10864 [5.2] Upgrade Google Auth Version (#15383)
10865 + a1a74c9919e03e09ef7c6ae13f38f48eea80ead1:
10866 Fix chocolatey package - docsUrl must not 404 (#15395)
10867 + fe644bee95c14d461e0d1e3cccaa8bbcd57bcd8d:
10868 Fix cache leak when applying transitions when only a rule's
10869 attributes change.
10870 + ad74d5243917bb27a37e38d151a4a3c8a49947eb:
10871 Fix checking remote cache for omitted files in buildevent file
10872 (#15405)
10873 + ac219103d8798965b775db548d7b9214ecd78f73:
10874 fix(bzlmod): throw on json parse exception
10875 + 3d85b88609a362857d8ee3c0432a37d30268a8a2:
10876 Add a flag to expose undeclared test outputs in unzipped form.
10877 (#15431)
10878 + abd7a9f70c3dfe96724a692dc7dc04ff33bdece1:
10879 Remove -U_FORTIFY_SOURCE when thin_lto is enabled (#15433)
10880 + 53b9cb8637c0faddc6b122a1daab72bcc274bdec:
10881 Catch NumberFormatException while trying to parse thread id.
10882 + 19740b55ebc283b7ec42b359bcd4c9096facfdd5:
10883 Improve the --sandbox_debug error message
10884 + 0a2a43f9aab1e3875f03f643f6414eb67834c883:
10885 Set keywords on appropriate lifecycle events.
10886 + 394ddb82b311ea7edbe2522736b0b0202903ddb6:
10887 Record additional profiling information for remotely executed
10888 actions.
10889 + 652b48e567fcb30768dfc2eddee5f04bf6b5d65b:
10890 Fix downloading remote execution output files inside output
10891 dirs. (#15444)
10892 + 73f1ecbc1cb00e16ceda4b582f4d57268f8701cd:
10893 Fix android emulator darwin_arm64 select
10894 + 2649c7c4adef0ebf9bca8fe46aa97304b22de522:
10895 Fix --use_top_level_targets_for_symlinks with aliases (#15446)
10896 + fa1081c1f3dce7324a1da59c40d1a1a3533c7047:
10897 Filter libtool warning about table of contents
10898 + 26f878325e915e0905626a0e4c8bbacffd72f875:
10899 Unify sandbox/remote handling of empty TreeArtifact inputs
10900 (#15449)
10901 + 6b21b7773157a1eebd3dfe79ff4c4ee750059daf:
10902 Revert "Fixes incorrect install names on darwin platforms"
10903 + e133e66f715bac17bf5848e4440c089a8c8d3fd9:
10904 config doesn't error on duplicate `--define` values (#15473)
10905 + 84d59176622b76223828e61709179dbd5f0c9f8d:
10906 Collect coverage from cc_binary data deps of py_test (#15298)
10907 + 519d2daacfff3de6ffabfc5827621fa835e1c815:
10908 SolibSymlinkAction does not need exec platform or properties
10909 + 6e54699884cfad49d4e8f6dd59a4050bc95c4edf:
10910 Let Starlark tests inherit env variables (#15217)
10911 + 9610ae889e6fd45280c5beb7fe8f5bef2d736878:
10912 Update PythonZipper action to use CommandLineItem.CapturingMapFn
10913 + 2f1ff6fa17c3c30b2533bffe81f40eab06b453b9:
10914 Make `coverage --combined_report=lcov` skip incompatible tests
10915 + 9fad5a3dc93cd436a5712c46e6c98d3995428ddb:
10916 Disable ReturnValueIgnored checks to unblock java_tools release
10917 + 0120118893261968bdf116ef215655c428428fa8:
10918 Bump the limit of Bazel install base size (#15585)
10919 + 668805aace9bf96f78595fc2a122027a3000ceac:
10920 Upgrade zlib to 1.2.12
10921 + 4d900ceea12919ad62012830a95e51f9ec1a48bb:
10922 [5.2] Remote: Fix a bug that outputs of actions tagged with
10923 no-remote are u... (#15453)
10924 + b703cb9b999e243d776b7620468e48f450c0ce3a:
10925 Add feature to produce serialized diagnostics files (#15600)
10926 + 2e8458b7810eab7829fc7d28af5c45b9af91ed7c:
10927 Release 5.2.0 (2022-06-07)
10928 + 536f8d97991d891fc7db333af1a5262497d85173:
10929 Fix fail message construction in cc_shared_library
10930 + 2d42925ae80c0fb007aa39f4e210122611897255:
10931 Define cc-compiler-darwin in Xcode toolchain
10932 + a1d7d1f69f82da1bdfa1cebd32356249127aea3b:
10933 Fix alwayslink in objc_import
10934 + d273cb62f43ef8169415cf60fc96e503ea2ad823:
10935 Unify URL/URLs parameter code across http_archive, http_file,
10936 http_jar
10937 + fea32be42928c84463aa1f335b5722a1f6b8c93a:
10938 Preserve --experimental_allow_unresolved_symlinks in exec cfg
10939 + e4bc370b226eb0cc536b55641640266345a214ec:
10940 Ck/cherry pick cc shared library (#15754)
10941 + dbdfa07e92f99497be9c14265611ad2920161483:
10942 Let Starlark executable rules specify their environment (#15766)
10943 + e2a6a2b130552db7521d3d4d854b9a651b1f4a3b:
10944 Fix string formatting when java_home path is missing.
10945 + d54a288e6c79c740b9c93dfc31ee345d6a5332af:
10946 Optionally enable LLVM profile continuous mode
10947 + ad17b44cdc192277fafb0d0e204962b2b924dba8:
10948 Print remote execution message when the action times out (#15772)
10949 + 240e3d1e1dbc74c7753dead6421d7c1b5fc28d09:
10950 Add missing line to cherrypick
10951 e4bc370b226eb0cc536b55641640266345a214ec (#15784)
10952 + 804b4747152a59bc2965be2db85839b8b2764fc7:
10953 Replace strdupa with strdup
10954 + 62be9ea29295fab5289bd5d1a0f13dc7d55a8bc0:
10955 Bzlmod: Better canonical repo names for modules with overrides
10956 (#15793)
10957 + d4663a1c950d618c5b15a3e00fb733987cbf45cc:
10958 Add repo env test (#15768)
10959 + 594962cb283dcd71b736e0450453903911a8c85a:
10960 Add is_root struct field to bazel_module (#15815)
10961 + 3dd2b932d42fe86112899550d21452409cb3c4b0:
10962 Fix null pointer crash with `bazel coverage` on only
10963 incompatible tests
10964 + 4175018b47800db28c390d39fefbd266b5d674bd:
10965 Add util for finding credential helper to use
10966 + 3ea9eb2e363860c9305a987fa22a059afd35598d:
10967 Merge ManifestMergerAction-related commits into release-5.3.0
10968 (#15824)
10969 + 64571a428ffe2bf09f1a5eea13e770a7d0381620:
10970 Ck/cherrypick 15669 (#15788)
10971 + 1404651cafe5c26c5dae469e9126de53c2f4f024:
10972 Create output directories for remote execution (#15818)
10973 + ae523f82d39daf01cf31e40733de0c6345f0935c:
10974 Use tree artifacts in bootclasspath rule
10975 + 37f181cb6ed0237f43d81159eb81b19d3b5f8e36:
10976 [credentialhelper] Add types to communicate with the subprocess
10977 + 06ca634e10f17023022ab591a55aabdd9fb57b12:
10978 Add a flag to force Bazel to download certain artifacts when
10979 using --remote_download_minimal (#15870)
10980 + d35f923b098e4dc9c90b1ab66b413c216bdee638:
10981 RemoteExecutionService: fix outputs not being uploaded
10982 + 78af34f9f25b0c8fbf597a794a5162f0014629c5:
10983 Cherry-pick proto_lang_toolchain Starlarkfication and
10984 proto_common module (#15854)
10985 + afb434da9da79b53da1ea4c7bcc00571dbea6d3f:
10986 Fix behavior of `print()` in module extensions
10987 + 6714c30507edc70ec84f8c97d47cffc497356c0b:
10988 [credentialhelper] Implement invoking credential helper as
10989 subprocess
10990 + 0f05904171d187e6abacb431b3d7494423b027ab:
10991 Add register_{execution_platforms,toolchains} directives to
10992 MODULE.bazel files (#15852)
10993 + 33516e27dc6ee6ab5c3b9dee739a267b08d26b6c:
10994 [remote] Improve .netrc test in RemoteModuleTest
10995 + aa2a1f3afe2f10baab5befcafb39df14cbffc743:
10996 Fix ZipDecompressor windows 0x80 (file attribute normal)
10997 + 30f16e53cb36a5d506665be7553e785d52772e2d:
10998 Replace uses of `cfg = "host"` with `cfg = "exec"` (#15922)
10999 + 2a8d0ad7103511a94382aef41821a315bf8144b7:
11000 target pattern file: allow comments
11001 + 6f732052654ec37192450c795bb28dd0aad559cd:
11002 Add factory for creating paths relative to well-known roots
11003 (#15931)
11004 + 32cc8e638b91816f427b74266f6a8da6fb605419:
11005 Update CODEOWNERS (#15910)
11006 + 63bc14b095f1ea4043024e7fe1f9c476968897c5:
11007 Implement native analysis_test call. (#15940)
11008 + 4df77f771e5cfdf4b614afd8934d00c2b2ff31d1:
11009 Increase osx_cc_configure timeouts
11010 + cdf01a39ab9def4d46f41595ac1ac9206a96d6f8:
11011 Allow string_list flags to be set via repeated flag uses
11012 + 05e758d4bc18fc9d9e189526381a06e4399056a2:
11013 [credentialhelper] Add parser for flag syntax (#15929)
11014 + e4ee34416ef18094496ab54446e70cb62cd509e6:
11015 Docs should mention the new no-remote-cache-upload tag (#15965)
11016 + 96d23d30cc80912b82a8fbab31c902e9db74b6ab:
11017 Add netrc support to --bes_backend (#15970)
11018 + c5bc34e5f1dd92703dd8f15f9f0409c49b778837:
11019 Add CommandLinePathFactory to CommandEnvironment (#15971)
11020 + 508f18576ab5327bd623db6b476511ac2089d0fa:
11021 Move newCredentialHelperProvider into GoogleAuthUtils (#15973)
11022 + 14c944a5386eccbcfbe8389afb6c518582b11270:
11023 Wire up credential helper to command-line flag(s) (#15976)
11024 + 04c373b708390341be4ceb8eb5b2f8561385cb11:
11025 Add `--output=files` mode to cquery (#15979)
11026 + edfe2a17e3434cce660757f59b14f2e9d6ab944e:
11027 Make cpp assembly file extensions case sensitive again
11028 + 4ae85387e69db73e507b4f18b36d3e2f799e5d34:
11029 Prevent aspects from executing on incompatible targets (#15984)
11030 + f440f8ec3f63e5d663e1f9d9614f05a39422102a:
11031 Remote: Fix performance regression in "upload missing inputs".
11032 (#15998)
11033 + 0109031a2818b217b78026055b972da5901656f5:
11034 Updated Codeowners file (#16032)
11035 + 6102d33bf0b72dc0fe9ada4c71113cbee3eb8187:
11036 Propagate the error message when a credential helper fails.
11037 (#16030)
11038 + a8dacc7832b04fe1756cd7adce72f2572f357eee:
11039 Migrate legacy desugar wrapper to new rlocation() (#16025)
11040 + 11368be4ac24108f18b1965162ad27f207c074f9:
11041 Correctly report errors thrown by CommandLinePathFactory#create.
11042 + 82452c7c372fb28485b0b5e0a98b471648f0dfd0:
11043 Fix an issue that
11044 `incompatible_remote_build_event_upload_respect_no_… (#16045)
11045 + e745468461f93839491a4f80d0c1883d9007f9c0:
11046 Fix rpath for binaries in external repositories (#16079)
11047 + 83041b145d3966eb353aacb22b7e33ad01d9a239:
11048 Refactor combined cache. (#16110)
11049 + c62496f7b76da473cb1102798373f552ba2f434d:
11050 C++: Add compound error linked statically but not exported
11051 (#16113)
11052 + 0f18786b09e9729d79c0f14f7843b4d8402b6115:
11053 Do not crash on URIs without a host component.
11054 + 9c0940df3c5962b2291e812600dd71731775d45b:
11055 Add profiler task for calling a credential helper.
11056 + 2ca1ab2c2c73d78021794f3099ee892cc73f515e:
11057 Make bazel_cc_code_coverage_test more robust against GCC version
11058 differences (#16254)
11059 + 1e25152906b668bbe56aa4c1773186af85335315:
11060 Fix local execution of external dynamically linked cc_* targets
11061 (#16253)
11062 + f6cccae5b6f9c0ad0e7d0bf7bd31ea1263449316:
11063 * add change to allow blaze info to skip Starlark build settings
11064 that start with --no prefix * add unit tests for both info and
11065 clean commands
11066```
11067
11068Important changes:
11069
11070 - alias() can now select() directly on constraint_value()
11071
11072 Fixes https://github.com/bazelbuild/bazel/issues/13047.
11073
11074 Closes #14310.
11075 - Fixed an issue where Bazel could erroneously report a test passes
11076 in coverage mode without actually running the test.
11077 - Make protocOpts() publicly accessible.
11078 - Add coverage configuration fragment, used to expose
11079 output_generator label.
11080 - Bazel now no longer includes system headers on macOS in coverage
11081 reports (#14969).
11082
11083 Closes #14971.
11084 - Starlark test rules can use the new inherited_environment
11085 parameter of testing.TestEnvironment to specify environment
11086 variables
11087 whose values should be inherited from the shell environment.
11088
11089 Closes #14849.
11090 - none
11091 RELNOTES:none
11092 - Enable merging permissions during Android manifest merging with
11093 the --merge_android_manifest_permissions flag.
11094 - Added new register_{execution_platforms,toolchains} directives to
11095 the MODULE.bazel file, to replace the
11096 {execution_platforms,toolchains}_to_register attributes on the
11097 module() directive.
11098 - Add support for fetching RPC credentials from credential helper.
11099
11100 Progress on https://github.com/bazelbuild/bazel/issues/15856
11101
11102 Closes #15947.
11103 - `cquery`'s new output mode
11104 [`--output=files`](https://bazel.build/docs/cquery#files-output)
11105 lists the output files of the targets matching the query. It
11106 takes the current value of `--output_groups` into account.
11107
11108 Closes #15552.
11109 - Fix for desugaring failure on Bazel+Android+Windows build
11110 scenario.
11111
11112This 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.
11113
Bazel Release System2006da72022-09-15 17:59:43 +020011114## Release 6.0.0-pre.20220909.2 (2022-09-15)
11115
11116```
11117Baseline: d3bef49f9182f6bcb6f609530970a7945ce51cbf
11118```
11119
11120Incompatible changes:
11121
11122 - analysis_test moved into testing.analysis_test
11123
11124Important changes:
11125
11126 - selects() no longer produce irrelevant duplicate label checks
11127 - Adds a dexer output cache to CompatDexBuilder to improve build
11128 speed.
11129 - Improved error messages when analyzing inline bzl code
11130 - Improved error messages when analyzing inline bzl code
11131
11132This 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.
11133
Bazel Release System09978b62022-09-15 13:30:22 +020011134## Release 6.0.0-pre.20220825.4 (2022-09-15)
11135
11136```
11137Baseline: c92d0e1c0bfbc2573104ff09d8dec282e85cafa1
11138
11139Cherry picks:
11140
11141 + e898060863fa0579d45f67c2c998b6ef5289199b:
11142 Automated rollback of commit
11143 14a0d830b95ca1a3f15baa3f76d8aa55afa2fe20.
11144```
11145
11146Important changes:
11147
11148 - --experimental_enable_bzlmod has been renamed --enable_bzlmod,
11149 and still defaults to false.
11150
11151This release contains contributions from many people at Google, as well as Benjamin Peterson, Ed Schouten, Igor Nazarenko, John Millikin, Ken Micklas, Yannic.
11152
Bazel Release Systemf14a31d2022-09-01 18:33:13 +020011153## Release 6.0.0-pre.20220823.1 (2022-09-01)
11154
11155```
11156Baseline: ca95fecde07a28736ea815ec64bcd639a234d79c
11157```
11158
11159This release contains contributions from many people at Google, as well as Benjamin Peterson, Fabian Meumertzheim, Thomas.
11160
Bazel Release Systema6ffb5d2022-08-24 19:07:46 +020011161## Release 6.0.0-pre.20220818.1 (2022-08-24)
11162
11163```
11164Baseline: 62d1b0b2b6c9646855698b5d7f9515521bc37a45
11165```
11166
11167Incompatible changes:
11168
11169 - this incompatible change breaks old instances of http_archive
11170 that specified netrc as an absolute path. It is unlikely there
11171 are many instances in the wild since the path would refer to a
11172 netrc file inside the external repository by absolute path.
11173 Migration should be straightforward.
11174 - genrule switched to use exec transition instead of host. This can
11175 break targets with hardcoded output paths. To avoid using
11176 hardcoded paths use make variables, see
11177 https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
11178 defined_label_variables
11179 - this incompatible change breaks old instances of http_archive
11180 that specified netrc as an absolute path. It is unlikely there
11181 are many instances in the wild since...
11182 - Error Prone now checks for unused return values of additional
11183 methods on `java.lang.Object`, which can be disabled using
11184 `--javacopts=-Xep:ReturnValueIgnored:OFF`
11185 - Error Prone now checks for unused return values of additional
11186 methods on `java.lang.Object`, which can be disabled using
11187 `--javacopts=-Xep:ReturnValueIgnored:OFF`
11188 - The --incompatible_existing_rules_immutable_view flag has been
11189 flipped to true. See
11190 https://github.com/bazelbuild/bazel/issues/13907 for
11191 migration notes.
11192 - Split up the C++ archive from the C++ link action and set
11193 `CppArchive` as mnemonic.
11194 - workspace(managed_directories=) is not available anymore.
11195 - --legacy_important_outputs now has a default of false.
11196 - --legacy_important_outputs default reverted to true.
11197 - objc_library now requires CcInfo in its deps. If this breaks
11198 you, add empty CcInfo() to your rule.
11199 - Flag --experimental_local_memory_estimate removed.
11200 - Added a new flag
11201 --incompatible_unambiguous_label_stringification, which causes
11202 labels in the main repo to stringify into unambiguous forms
11203 starting with an @. See
11204 https://github.com/bazelbuild/bazel/issues/15916 for more
11205 information.
11206
11207Important changes:
11208
11209 - Deprecate --incompatible_applicable_licenses flag, in preparation
11210 for removal in Bazel 6.x.
11211 - Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
11212 - The Build Event Protocol now contains file digests and sizes
11213 along with the file name and URI.
11214 - Refactor system suspend event handling.
11215 - alias() can now select() directly on constraint_value()
11216 - Allow \a \b \f \v escape sequences in Starlark.
11217 - Match remote and local xcode version by most granular version.
11218 - Adds `--experimental_worker_multiplex_sandboxing` flag that
11219 controls whether to sandbox multiplex workers that support it.
11220 - provider() has a new parameter: init, a callback for performing
11221 pre-processing and validation of field values. Iff this parameter
11222 is set,
11223 provider() returns a tuple of 2 elements: the usual provider
11224 symbol (which,
11225 when called, invokes init) and a raw constructor (which bypasses
11226 init).
11227 - Tests that fail to create or complete their
11228 `TestAttemptContinuation` by
11229 throwing an `ExecException` will report an `INCOMPLETE` status.
11230 Previously, Bazel
11231 would fail to report any status for the test attempt.
11232 - Fixed an issue where Bazel could erroneously report a test passes
11233 in coverage mode without actually running the test.
11234 - Include more information about configurations in cquery proto
11235 formatted output. This deprecates the configuration field of
11236 AnalysisProtosV2.ConfiguredTarget, and adds a new field,
11237 configuration_id, to
11238 be used instead.
11239 - experimental cc_library.implementation_deps inverted to
11240 interface_deps
11241 - In aquery and cquery proto output, indicate if a configuration is
11242 a
11243 tool or non-tool configuration.
11244 - Include complete configurations in cquery proto output.
11245 - experimental cc_library.implementation_deps inverted to
11246 interface_deps
11247 - Make protocOpts() publicly accessible.
11248 - Add some documentation about how configuration information is
11249 conveyed in cquery proto output.
11250 - Introduces experimental static library linking API under
11251 apple_common.link_multi_arch_static_library
11252 - Further deprecation and removal of pkg_tar. Stop supporting
11253 legacy use of 'files' attribute, where it could be a list of
11254 labels instead of a map of paths to labels.
11255 - Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
11256 its purpose because --all_incompatible_changes would never set
11257 it. The last rule it gated (pkg_tar) is scheduled to be removed
11258 in Bazel 6.x.
11259 - Add coverage configuration fragment, used to expose
11260 output_generator label.
11261 - Bazel now no longer includes system headers on macOS in coverage
11262 reports (#14969).
11263 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
11264 $ANDROID_HOME.
11265 - The default dexer is now d8. dx can be optionally enabled using:
11266 --define=android_dexmerger_tool=dx_dexmerger \
11267 --define=android_incremental_dexing_tool=dx_dexbuilder \
11268 --define=android_standalone_dexing_tool=dx_compat_dx \
11269 --use_workers_with_dexbuilder
11270 - Packaging support for deploy JAR embedded JDK files (hermetic
11271 Java).
11272 - Don't stamp cc_common.link actions for tool dependencies.
11273 - Starlark test rules can use the new inherited_environment
11274 parameter of testing.TestEnvironment to specify environment
11275 variables
11276 whose values should be inherited from the shell environment.
11277 - Enable merging permissions during Android manifest merging with
11278 the --merge_android_manifest_permissions flag.
11279 - Allow specialization to work with constraint_values.
11280 - Bazel uses the D8 jar from Maven instead of the SDK.
11281 - Make ijar / java_import preserve classes with `@kotlin.Metadata`
11282 annotations
11283 - Switch cc_test implementation to Starlark. Note: cc_test will now
11284 link statically when _targeting_ Windows regardless of host
11285 platform (rather than always linking statically when Windows is
11286 the _host_).
11287 - Switch cc_test implementation to Starlark. Note: cc_test will now
11288 link statically when _targeting_ Windows regardless of host
11289 platform (rather than always linking statically when Windows is
11290 the _host_).
11291 - Add devtools/build/lib/worker:work_request_handlers to the remote
11292 android tools release package. This will be transitively packaged
11293 into all_android_tools.
11294 - Bazel uses the D8 jar from Maven instead of the SDK.
11295 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
11296 $ANDROID_HOME.
11297 - Advance android_tools_pkg version to 0.24.0.
11298 - Switch cc_test implementation to Starlark. Note: cc_test will now
11299 link statically when _targeting_ Windows regardless of host
11300 platform (rather
11301 than always linking statically when Windows is the _host_).
11302 - Bazel uses the D8 jar from Maven instead of the SDK.
11303 - "blaze config" now only reports info from the last build. To
11304 compare configurations across multiple builds, redirect "blaze
11305 config" output to a file and run your favorite diff tool.
11306 - The --incompatible_override_toolchain_transition flag is now
11307 always set, and will be removed in the future. Thus,
11308 --noincompatible_override_toolchain_transition has no effect, and
11309 the value of the incompatible_use_toolchain_transition parameter
11310 in aspect() and rule() builtins is ignored.
11311 - Switch cc_test implementation to Starlark. Note: cc_test will now
11312 link statically when _targeting_ Windows regardless of host
11313 platform (rather
11314 than always linking statically when Windows is the _host_).
11315 - Toolchain types may now be optional, in addition to mandatory.
11316 See https://bazel.build/docs/toolchains#optional-toolchains for
11317 further details.
11318 - Add six to deps of has_services=1 py_proto_librarys.
11319 - pkg_tar(symlinks) has been removed. Users needing that feature
11320 should
11321 migrate to @rules_pkg.
11322 - Aspects can now define and use exec groups using the same API as
11323 rules.
11324 - Removed the obsolete --incompatible_applicable_licenses flag. The
11325 feature is permanently enabled.
11326 - embedded_tools packages R8 desugarer again
11327 - Bazel now selects sh path based on execution platform instead of
11328 host platform, making it possible to execute sh actions in
11329 multiplatform builds. --shell_executable now only applies to
11330 actions configured for host.
11331 - labels in genquery.scope are no longer configured.
11332 - When Bzlmod is enabled, all Bzlmod-generated repos will have an
11333 extra '@' prepended to their names. This effectively enables the
11334 canonical label literal syntax for Bzlmod-generated repos
11335 (`@@canonicalRepoName//pkg:target`; see
11336 https://docs.google.com/document/d/1N81qfCa8oskCk5LqTW-LNthy6EBrDo
11337 t7bdUsjz6JFC4/edit?usp=sharing).
11338 - Exposed `CcSharedLibraryInfo` to Starlark builtins.
11339 - Enable --use_top_level_targets_for_symlinks by default.
11340 - Singlejar accepts runtime Created-By field
11341 - --noincompatible_disable_managed_directories, and with that,
11342 workspace(managed_directories=) is not supported anymore.
11343 - Bazel supports D8 desugaring, albeit without persistent workers
11344 - Remove mtime options from pkg_tar. Users should migrate to
11345 @rules_pkg.
11346 - Test for experimental multiplexed persistent resource processor.
11347 - Added new register_{execution_platforms,toolchains} directives to
11348 the MODULE.bazel file, to replace the
11349 {execution_platforms,toolchains}_to_register attributes on the
11350 module() directive.
11351 - The legacy pkg_tar no longer supports the ability to untar and
11352 repackage an input tar file (`deps` attribute). Users needed that
11353 capability must switch to github.com/bazelbuild/rules_pkg.
11354 - `cquery`'s new output mode
11355 [`--output=files`](https://bazel.build/docs/cquery#files-output)
11356 lists the output files of the targets matching the query. It
11357 takes the current value of `--output_groups` into account.
11358 - Change singlejar metadata to report Created-By Bazel
11359 - Add support for fetching RPC credentials from credential helper.
11360 - Revert interface_deps back to implementation_deps after problem
11361 reported in. Use `buildozer 'rename deps implementation_deps'
11362 //...:%cc_library; buildozer 'rename interface_deps deps'
11363 //...:%cc_library`
11364 - Fix for desugaring failure on Bazel+Android+Windows build
11365 scenario.
11366 - D8 is the default desugarer
11367 - Migrate main_dex_list_creator to D8 (DX deprecation)
11368
11369This 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.
11370
Bazel Release Systema8db2832022-08-22 18:33:45 +000011371## Release 5.3.0 (2022-08-22)
11372
11373```
11374Baseline: 8d66a4171baddcbe1569972f019e54130111202c
11375
11376Cherry picks:
11377
11378 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
11379 Remote: Cache merkle trees
11380 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
11381 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
11382 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
11383 Compile Apple tools as fat binaries if possible
11384 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
11385 Add protobuf as a well known module
11386 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
11387 Remote: Merge target-level exec_properties with
11388 --remote_default_exec_properties
11389 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
11390 Add -no_uuid for hermetic macOS toolchain setup
11391 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
11392 Remote: Fixes an issue when --experimental_remote_cache_async
11393 encounter flaky tests.
11394 + 77a002cce050e861fcc87c89acf7768aa5c97124:
11395 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
11396 has …
11397 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
11398 Fixes for the Starlark transition hash computation (#14251)
11399 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
11400 Do location expansion in copts of objc_library
11401 + 50274a9f714616d4735a560db7f617e53fb8d01b:
11402 [5.x] Remote: Add support for compression on gRPC cache (#14277)
11403 + 61bf2e5b5181cbe34a2f0d584053570943881804:
11404 Automated rollback of commit
11405 34c71465f84fa780217926db2e8e5ca3d6d4568c.
11406 + 79888fe7369479c398bafe064daa19a7ae30f710:
11407 Silence a zstd-jni GCC warning.
11408 + 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
11409 Remote: Limit max number of gRPC connections by
11410 --remote_max_connections.
11411 + fd727ec96d861573dcbad3249d727a94eff84789:
11412 Do location expansion in copts of objc_library
11413 + 23d096931be9b7247eafa750999dd7feadde14c1:
11414 Fix _is_shared_library_extension_valid
11415 + 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
11416 Remove merging of java_outputs in JavaPluginInfo.
11417 + cea5f4f499aa832cf90c68898671869ce79d63f2:
11418 Cherrypick Bzlmod documentation (#14301)
11419 + 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
11420 Format work requests according to ndjson spec
11421 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
11422 Enable user_link_flags_feature for macosx cc_toolchain_config
11423 + 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
11424 Remote: Use Action's salt field to differentiate cache across
11425 workspaces.
11426 + f94898915268be5670fb1e93a16c03e9b14d2a58:
11427 [5.x] Remote: Fix "file not found" error when remote cache is
11428 changed from enabled to disabled. (#14321)
11429 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
11430 Delete marker file before fetching an external repository
11431 + c05c6261cdb2cacb7c9881c255c0ada435ab5182:
11432 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
11433 + d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
11434 Fix remote spawn tests for remote_merkle_tree_cache=true
11435 + 59e16e944200555da377799aa0d9e8d0674d2e27:
11436 Show skipped tests as a warning
11437 + 76b3c242831f8e88835e3002a831a185a41fcc52:
11438 Build xcode-locator as a universal binary
11439 + aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
11440 Exit collect_coverage.sh early if LCOV_MERGER is not set.
11441 + 4256d46327bad8638df91be1a5d4ef83b12b74c7:
11442 Automated rollback of commit
11443 d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
11444 + dce24350befd08216b3910ae343670015444ff81:
11445 [apple] fix issues compiling C in objc_library for watchos/armv7k
11446 + bfc24139d93f8643686d91596ba347df2e01966a:
11447 5.x: Remote: Ignore blobs referenced in BEP if the generating
11448 action cannot be cached remotely. (#14389)
11449 + 5aef53a8884038f3c9f06e6dddb9372196253378:
11450 Remote: Don't blocking-get when acquiring gRPC connections.
11451 (#14420)
11452 + 005361c895da334beb873901e93aff06d180256e:
11453 Disable IncludeValidation for ObjC in bazel
11454 + d703b7b4f09fb3c389f99e52bac1f23930280b56:
11455 Update java_tools v11.6
11456 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
11457 Stop remote blob upload if upload is complete. (#14467)
11458 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
11459 [5.x] Make remote BES uploader better (#14472)
11460 + 2edab739e1f61fe8813230b03396ca46f0790089:
11461 Avoid too verbose warnings in terminal when cache issues
11462 + 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
11463 Rename --project_id to --bes_instance_name
11464 + c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
11465 Automated rollback of commit
11466 bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
11467 + b341802700484d11c775bf02d80f43ba3f33b218:
11468 [apple] support watchos_arm64 in toolchain
11469 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
11470 Disable implicitly collecting baseline coverage for toolchain
11471 targets.
11472 + 302971e1b3d803069ac949c0085c0d2a3916c8ab:
11473 Automated rollback of commit
11474 7d09b4a15985052670244c277e4357557b4d0039.
11475 + 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
11476 Bzlmod: Starlarkify default attr values for TypeCheckedTags
11477 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
11478 Fix build after rc4 cherrypicks (#14581)
11479 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
11480 Release 5.0.0 (2022-01-19)
11481 + 486d153d1981c3f47129f675de20189667667fa7:
11482 Find runfiles in directories that are themselves runfiles
11483 + 0de7bb95022057e8b89334f44759cf6f950e131f:
11484 Don't resolve symlinks for --sandbox_base
11485 + 8b60c90f3641591b65c4e153113aea562f1fab94:
11486 Remove uses of -lstdc++ on darwin
11487 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
11488 Allow Label instances as keys in select (#14755)
11489 + 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
11490 Remote: Only waits for background tasks from remote execution.
11491 + 8734ccf9847eafb7193388cd9c6fa78faa78283f:
11492 Add the default solib dir to the rpath for cc_imports with
11493 transitions
11494 + 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
11495 Flip --experimental_worker_allow_json_protocol
11496 + fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
11497 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
11498 cpu for tools when host cpu and exec cpu are different
11499 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
11500 Propagate --experimental_cc_implementation_deps to host config
11501 + 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
11502 Support select() on constraint_value for aliases.
11503 + 67a133b431ccece22b7dd9a72f0837cff77d4360:
11504 Improve documentation for select()
11505 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
11506 Cherrypicks for experimental cc_shared_library (#14773)
11507 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
11508 [apple] support tvos_sim_arm64 in toolchain (#14779)
11509 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
11510 Cherry pick win arm64 (#14794)
11511 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
11512 [5.1.0] cherrypick subpackages support (#14780)
11513 + 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
11514 Add a helper method for rules to depend on the cpp toolchain
11515 type.
11516 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
11517 UrlRewriter should be able to load credentials from .netrc
11518 (#14834)
11519 + 32d1606dac2fea730abe174c41870b7ee70ae041:
11520 Add "arch" struct field to repository_os
11521 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
11522 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
11523 + c2ddbd1954af5baab63b93f2b055a410a27832c8:
11524 Ignore missing include directory in JDK distribution.
11525 + 16de03595e21f7bf31818e717505b23c953b3b7d:
11526 Fix bazel coverage false negative
11527 + 0c74741742301abcf67452a7f591daec1c3a7635:
11528 Remote: Postpone the block waiting in `afterCommand` to
11529 `BlockWaitingModule` (#14833)
11530 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
11531 Switch to `ProcessHandle` for getting the PID (#14842)
11532 + a987b98ea0d6da2656c4115568ef9cbe8a164550:
11533 Fix uses of std++ on bsd
11534 + d184e4883bb7fc21de2f7aeea4304994de27e9ea:
11535 Remote: handle early return of compressed blobs uploads
11536 + 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
11537 Add removeprefix/removesuffix to Starlark strings
11538 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
11539 Fix default CPU for macOS and iOS (#14923)
11540 + cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
11541 Add paramfile support for def_parser, since in rare cases on
11542 Windows command line character limit was reached.
11543 + 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
11544 Normalize rpath entries to guard against missing default solib
11545 dir
11546 + 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
11547 Fix aggressive params file assumption
11548 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
11549 Fix precompiled libs not in runfiles of cc_shared_library
11550 (#14943)
11551 + 764614e0f0287125269e7a92e909a44624bcb360:
11552 Bzlmod: Allow multiple `use_extension`s on the same extension
11553 (#14945)
11554 + fa761f84994f18db383fbe9aaea524e4385da13a:
11555 Fix typo in `apple_common.platform` docs
11556 + f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
11557 Yield a Proxy for addresses without protocol
11558 + 8cefb8bed4ac82df8640682517372a9249732352:
11559 Avoid merging URLs in HttpUtils
11560 + b4804807fc2c184cc36df9e69e472942c01941b8:
11561 Make protocOpts() public. (#14952)
11562 + 113eaca5862c48797654ae2a3acbb6e15d761485:
11563 Do not hide BulkTransferException messages when there were more
11564 than one exception
11565 + b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
11566 merkle_tree_cache: change default size to 1000
11567 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
11568 Add --experimental_repository_cache_urls_as_default_canonical_id
11569 to help detect broken repository URLs (#14989)
11570 + f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
11571 Expose the logic to read user netrc file
11572 + b858ec39aebd7e586af5438aa2035db2adebf9a4:
11573 Correct cpu and os values of `local_config_cc_toolchains` targets
11574 + 5e79972c05d89280f0cf1fa620f807366847bac6:
11575 Expose CoverageOutputGenerator on a Fragment (#14997)
11576 + 78f03110e0dab42f37e427fd524e72706e036d74:
11577 Correct error runfiles cc_shared_library (#14998)
11578 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
11579 [5.1] Adding Starlark dependencies to the package //external
11580 (#14991)
11581 + a73aa12be65454ac8cfb5a8f3e056c420402f997:
11582 Remote: Fix crashes with InterruptedException when using http
11583 cache.
11584 + f8707c07f153ac4ac2ec4b210321f1a16343006d:
11585 Account for interface libraries in cc_shared_library
11586 + a570f5fdb1618a6c272d18bebaa712d3b2af3975:
11587 Fix coverage runfiles directory issue
11588 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
11589 Do not validate input-only settings in transitions (#15048)
11590 + 71747ccc9d0032a865854613329362563c0574df:
11591 Filter out system headers on macOS.
11592 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
11593 Update Bazel bootstrap documentation and remove obsolete flags.
11594 (#15065)
11595 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
11596 [5.1] Undocument --bes_best_effort (#15066)
11597 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
11598 Fix conflicting actions error when specifying
11599 --host_macos_minimum_os (#15068)
11600 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
11601 [5.1] Remote: Action should not be successful and cached if
11602 outputs were not created (#15071)
11603 + 00d74ff737cccd60305ee58d85313556a077152a:
11604 Support decompressing zstd tar archives for repository rules.
11605 + f5857830bb68bd05ffc257506575ed37a8128933:
11606 Remote: Don't check TreeArtifact output
11607 + efb2b80953983dce499d453a9f55a74ffaf8c42d:
11608 osx_cc_wrapper: Only expand existing response files
11609 + c771c43b870fb8618db7bdab6725ab40cac4976d:
11610 Remote: Fix crashes by InterruptedException when dynamic
11611 execution is enabled. (#15091)
11612 + 3785677cc84fc4024fda85575c05efbde5d512fc:
11613 Use python3 on macOS
11614 + 815d9e499a32fd4d87525ac0c698c293cf26433d:
11615 Release 5.1.0 (2022-03-24)
11616 + 1fbb69e366034484887e00c6006c7b79508765ed:
11617 Prepare 5.1.1 release
11618 + df153df9656e0e197f67622bb11f7d77e19238a0:
11619 Fix CODEOWNERS syntax
11620 + 2b92a3111e83a4d14934059afd0f51161a41276f:
11621 Remote: Don't check declared outputs for failed action
11622 + b47aa71b21d93c9499103e9a37a6c2ffa79865b9:
11623 Upgrade abseil version to the latest
11624 + c49c45d8dac87d21cf2b6a176ddd07f2c9f63414:
11625 Revert default export all symbols on Windows
11626 + 7d3fb993f55b35081786c3fe00cf3bebb89574f3:
11627 Support ZIP files with total number of disks = 0
11628 + 0f5dc111be06b2ee8694640f400b58e12bfa5fea:
11629 Release 5.1.1 (2022-04-08)
11630 + 2422cfb3e5d92d46f9065b2b1e442823a965faf7:
11631 Update CODEOWNERS
11632 + bbcff1802423fca7ee5bd6a3e527c12d6d7d80ba:
11633 [5.2.0] Update java_tools 11.7.1 (#15231)
11634 + 9c98120f33579b72561e02826d9fccf222eccb3c:
11635 Add support for .ar archives (and .deb files)
11636 + d3435b09d89f25bf5008ef3b9c870c835d51a8da:
11637 Seperate GetSelfPath implementation for Blaze and Bazel
11638 + c94572bea5ce6bdc0ccda9789e5be6fb3f4c173b:
11639 Include jdk.crypto.mscapi in minimized Windows embedded JDK
11640 + 299022ca2dc49b6cb27b2674f933755306ae8b9b:
11641 remote: Proactively close the ZstdInputStream in
11642 ZstdDecompressingOutputStream.
11643 + 27707995cc6576ed1f51fbdb199ff8512e8418c9:
11644 Collect coverage from cc_binary data deps of java_test
11645 + 3442179d240e01ef13b0fa7814db7366bad5ffac:
11646 Configure Apple crosstool to return a complete target triple
11647 that includes minimum OS version and target environment
11648 + bb6f1a7ce79168055ccd62629da07d46a52b930d:
11649 Collect C++ lcov coverage if runtime object not in runfiles
11650 + dbb6e9954b6e4423f727feb2719ffc75a93b514b:
11651 Fixing dependencies of //external package
11652 + f0213bbf730c4a5d1a31e65bc9c01fbb55a6edb3:
11653 [5.2] Upgrade Google Auth Version (#15383)
11654 + a1a74c9919e03e09ef7c6ae13f38f48eea80ead1:
11655 Fix chocolatey package - docsUrl must not 404 (#15395)
11656 + fe644bee95c14d461e0d1e3cccaa8bbcd57bcd8d:
11657 Fix cache leak when applying transitions when only a rule's
11658 attributes change.
11659 + ad74d5243917bb27a37e38d151a4a3c8a49947eb:
11660 Fix checking remote cache for omitted files in buildevent file
11661 (#15405)
11662 + ac219103d8798965b775db548d7b9214ecd78f73:
11663 fix(bzlmod): throw on json parse exception
11664 + 3d85b88609a362857d8ee3c0432a37d30268a8a2:
11665 Add a flag to expose undeclared test outputs in unzipped form.
11666 (#15431)
11667 + abd7a9f70c3dfe96724a692dc7dc04ff33bdece1:
11668 Remove -U_FORTIFY_SOURCE when thin_lto is enabled (#15433)
11669 + 53b9cb8637c0faddc6b122a1daab72bcc274bdec:
11670 Catch NumberFormatException while trying to parse thread id.
11671 + 19740b55ebc283b7ec42b359bcd4c9096facfdd5:
11672 Improve the --sandbox_debug error message
11673 + 0a2a43f9aab1e3875f03f643f6414eb67834c883:
11674 Set keywords on appropriate lifecycle events.
11675 + 394ddb82b311ea7edbe2522736b0b0202903ddb6:
11676 Record additional profiling information for remotely executed
11677 actions.
11678 + 652b48e567fcb30768dfc2eddee5f04bf6b5d65b:
11679 Fix downloading remote execution output files inside output
11680 dirs. (#15444)
11681 + 73f1ecbc1cb00e16ceda4b582f4d57268f8701cd:
11682 Fix android emulator darwin_arm64 select
11683 + 2649c7c4adef0ebf9bca8fe46aa97304b22de522:
11684 Fix --use_top_level_targets_for_symlinks with aliases (#15446)
11685 + fa1081c1f3dce7324a1da59c40d1a1a3533c7047:
11686 Filter libtool warning about table of contents
11687 + 26f878325e915e0905626a0e4c8bbacffd72f875:
11688 Unify sandbox/remote handling of empty TreeArtifact inputs
11689 (#15449)
11690 + 6b21b7773157a1eebd3dfe79ff4c4ee750059daf:
11691 Revert "Fixes incorrect install names on darwin platforms"
11692 + e133e66f715bac17bf5848e4440c089a8c8d3fd9:
11693 config doesn't error on duplicate `--define` values (#15473)
11694 + 84d59176622b76223828e61709179dbd5f0c9f8d:
11695 Collect coverage from cc_binary data deps of py_test (#15298)
11696 + 519d2daacfff3de6ffabfc5827621fa835e1c815:
11697 SolibSymlinkAction does not need exec platform or properties
11698 + 6e54699884cfad49d4e8f6dd59a4050bc95c4edf:
11699 Let Starlark tests inherit env variables (#15217)
11700 + 9610ae889e6fd45280c5beb7fe8f5bef2d736878:
11701 Update PythonZipper action to use CommandLineItem.CapturingMapFn
11702 + 2f1ff6fa17c3c30b2533bffe81f40eab06b453b9:
11703 Make `coverage --combined_report=lcov` skip incompatible tests
11704 + 9fad5a3dc93cd436a5712c46e6c98d3995428ddb:
11705 Disable ReturnValueIgnored checks to unblock java_tools release
11706 + 0120118893261968bdf116ef215655c428428fa8:
11707 Bump the limit of Bazel install base size (#15585)
11708 + 668805aace9bf96f78595fc2a122027a3000ceac:
11709 Upgrade zlib to 1.2.12
11710 + 4d900ceea12919ad62012830a95e51f9ec1a48bb:
11711 [5.2] Remote: Fix a bug that outputs of actions tagged with
11712 no-remote are u... (#15453)
11713 + b703cb9b999e243d776b7620468e48f450c0ce3a:
11714 Add feature to produce serialized diagnostics files (#15600)
11715 + 2e8458b7810eab7829fc7d28af5c45b9af91ed7c:
11716 Release 5.2.0 (2022-06-07)
11717 + 536f8d97991d891fc7db333af1a5262497d85173:
11718 Fix fail message construction in cc_shared_library
11719 + 2d42925ae80c0fb007aa39f4e210122611897255:
11720 Define cc-compiler-darwin in Xcode toolchain
11721 + a1d7d1f69f82da1bdfa1cebd32356249127aea3b:
11722 Fix alwayslink in objc_import
11723 + d273cb62f43ef8169415cf60fc96e503ea2ad823:
11724 Unify URL/URLs parameter code across http_archive, http_file,
11725 http_jar
11726 + fea32be42928c84463aa1f335b5722a1f6b8c93a:
11727 Preserve --experimental_allow_unresolved_symlinks in exec cfg
11728 + e4bc370b226eb0cc536b55641640266345a214ec:
11729 Ck/cherry pick cc shared library (#15754)
11730 + dbdfa07e92f99497be9c14265611ad2920161483:
11731 Let Starlark executable rules specify their environment (#15766)
11732 + e2a6a2b130552db7521d3d4d854b9a651b1f4a3b:
11733 Fix string formatting when java_home path is missing.
11734 + d54a288e6c79c740b9c93dfc31ee345d6a5332af:
11735 Optionally enable LLVM profile continuous mode
11736 + ad17b44cdc192277fafb0d0e204962b2b924dba8:
11737 Print remote execution message when the action times out (#15772)
11738 + 240e3d1e1dbc74c7753dead6421d7c1b5fc28d09:
11739 Add missing line to cherrypick
11740 e4bc370b226eb0cc536b55641640266345a214ec (#15784)
11741 + 804b4747152a59bc2965be2db85839b8b2764fc7:
11742 Replace strdupa with strdup
11743 + 62be9ea29295fab5289bd5d1a0f13dc7d55a8bc0:
11744 Bzlmod: Better canonical repo names for modules with overrides
11745 (#15793)
11746 + d4663a1c950d618c5b15a3e00fb733987cbf45cc:
11747 Add repo env test (#15768)
11748 + 594962cb283dcd71b736e0450453903911a8c85a:
11749 Add is_root struct field to bazel_module (#15815)
11750 + 3dd2b932d42fe86112899550d21452409cb3c4b0:
11751 Fix null pointer crash with `bazel coverage` on only
11752 incompatible tests
11753 + 4175018b47800db28c390d39fefbd266b5d674bd:
11754 Add util for finding credential helper to use
11755 + 3ea9eb2e363860c9305a987fa22a059afd35598d:
11756 Merge ManifestMergerAction-related commits into release-5.3.0
11757 (#15824)
11758 + 64571a428ffe2bf09f1a5eea13e770a7d0381620:
11759 Ck/cherrypick 15669 (#15788)
11760 + 1404651cafe5c26c5dae469e9126de53c2f4f024:
11761 Create output directories for remote execution (#15818)
11762 + ae523f82d39daf01cf31e40733de0c6345f0935c:
11763 Use tree artifacts in bootclasspath rule
11764 + 37f181cb6ed0237f43d81159eb81b19d3b5f8e36:
11765 [credentialhelper] Add types to communicate with the subprocess
11766 + 06ca634e10f17023022ab591a55aabdd9fb57b12:
11767 Add a flag to force Bazel to download certain artifacts when
11768 using --remote_download_minimal (#15870)
11769 + d35f923b098e4dc9c90b1ab66b413c216bdee638:
11770 RemoteExecutionService: fix outputs not being uploaded
11771 + 78af34f9f25b0c8fbf597a794a5162f0014629c5:
11772 Cherry-pick proto_lang_toolchain Starlarkfication and
11773 proto_common module (#15854)
11774 + afb434da9da79b53da1ea4c7bcc00571dbea6d3f:
11775 Fix behavior of `print()` in module extensions
11776 + 6714c30507edc70ec84f8c97d47cffc497356c0b:
11777 [credentialhelper] Implement invoking credential helper as
11778 subprocess
11779 + 0f05904171d187e6abacb431b3d7494423b027ab:
11780 Add register_{execution_platforms,toolchains} directives to
11781 MODULE.bazel files (#15852)
11782 + 33516e27dc6ee6ab5c3b9dee739a267b08d26b6c:
11783 [remote] Improve .netrc test in RemoteModuleTest
11784 + aa2a1f3afe2f10baab5befcafb39df14cbffc743:
11785 Fix ZipDecompressor windows 0x80 (file attribute normal)
11786 + 30f16e53cb36a5d506665be7553e785d52772e2d:
11787 Replace uses of `cfg = "host"` with `cfg = "exec"` (#15922)
11788 + 2a8d0ad7103511a94382aef41821a315bf8144b7:
11789 target pattern file: allow comments
11790 + 6f732052654ec37192450c795bb28dd0aad559cd:
11791 Add factory for creating paths relative to well-known roots
11792 (#15931)
11793 + 32cc8e638b91816f427b74266f6a8da6fb605419:
11794 Update CODEOWNERS (#15910)
11795 + 63bc14b095f1ea4043024e7fe1f9c476968897c5:
11796 Implement native analysis_test call. (#15940)
11797 + 4df77f771e5cfdf4b614afd8934d00c2b2ff31d1:
11798 Increase osx_cc_configure timeouts
11799 + cdf01a39ab9def4d46f41595ac1ac9206a96d6f8:
11800 Allow string_list flags to be set via repeated flag uses
11801 + 05e758d4bc18fc9d9e189526381a06e4399056a2:
11802 [credentialhelper] Add parser for flag syntax (#15929)
11803 + e4ee34416ef18094496ab54446e70cb62cd509e6:
11804 Docs should mention the new no-remote-cache-upload tag (#15965)
11805 + 96d23d30cc80912b82a8fbab31c902e9db74b6ab:
11806 Add netrc support to --bes_backend (#15970)
11807 + c5bc34e5f1dd92703dd8f15f9f0409c49b778837:
11808 Add CommandLinePathFactory to CommandEnvironment (#15971)
11809 + 508f18576ab5327bd623db6b476511ac2089d0fa:
11810 Move newCredentialHelperProvider into GoogleAuthUtils (#15973)
11811 + 14c944a5386eccbcfbe8389afb6c518582b11270:
11812 Wire up credential helper to command-line flag(s) (#15976)
11813 + 04c373b708390341be4ceb8eb5b2f8561385cb11:
11814 Add `--output=files` mode to cquery (#15979)
11815 + edfe2a17e3434cce660757f59b14f2e9d6ab944e:
11816 Make cpp assembly file extensions case sensitive again
11817 + 4ae85387e69db73e507b4f18b36d3e2f799e5d34:
11818 Prevent aspects from executing on incompatible targets (#15984)
11819 + f440f8ec3f63e5d663e1f9d9614f05a39422102a:
11820 Remote: Fix performance regression in "upload missing inputs".
11821 (#15998)
11822 + 0109031a2818b217b78026055b972da5901656f5:
11823 Updated Codeowners file (#16032)
11824 + 6102d33bf0b72dc0fe9ada4c71113cbee3eb8187:
11825 Propagate the error message when a credential helper fails.
11826 (#16030)
11827 + a8dacc7832b04fe1756cd7adce72f2572f357eee:
11828 Migrate legacy desugar wrapper to new rlocation() (#16025)
11829 + 11368be4ac24108f18b1965162ad27f207c074f9:
11830 Correctly report errors thrown by CommandLinePathFactory#create.
11831 + 82452c7c372fb28485b0b5e0a98b471648f0dfd0:
11832 Fix an issue that
11833 `incompatible_remote_build_event_upload_respect_no_… (#16045)
11834 + e745468461f93839491a4f80d0c1883d9007f9c0:
11835 Fix rpath for binaries in external repositories (#16079)
11836 + 83041b145d3966eb353aacb22b7e33ad01d9a239:
11837 Refactor combined cache. (#16110)
11838 + c62496f7b76da473cb1102798373f552ba2f434d:
11839 C++: Add compound error linked statically but not exported
11840 (#16113)
11841```
11842
11843Important changes:
11844
11845 - alias() can now select() directly on constraint_value()
11846
11847 Fixes https://github.com/bazelbuild/bazel/issues/13047.
11848
11849 Closes #14310.
11850 - Fixed an issue where Bazel could erroneously report a test passes
11851 in coverage mode without actually running the test.
11852 - Make protocOpts() publicly accessible.
11853 - Add coverage configuration fragment, used to expose
11854 output_generator label.
11855 - Bazel now no longer includes system headers on macOS in coverage
11856 reports (#14969).
11857
11858 Closes #14971.
11859 - Starlark test rules can use the new inherited_environment
11860 parameter of testing.TestEnvironment to specify environment
11861 variables
11862 whose values should be inherited from the shell environment.
11863
11864 Closes #14849.
11865 - none
11866 RELNOTES:none
11867 - Enable merging permissions during Android manifest merging with
11868 the --merge_android_manifest_permissions flag.
11869 - Added new register_{execution_platforms,toolchains} directives to
11870 the MODULE.bazel file, to replace the
11871 {execution_platforms,toolchains}_to_register attributes on the
11872 module() directive.
11873 - Add support for fetching RPC credentials from credential helper.
11874
11875 Progress on https://github.com/bazelbuild/bazel/issues/15856
11876
11877 Closes #15947.
11878 - `cquery`'s new output mode
11879 [`--output=files`](https://bazel.build/docs/cquery#files-output)
11880 lists the output files of the targets matching the query. It
11881 takes the current value of `--output_groups` into account.
11882
11883 Closes #15552.
11884 - Fix for desugaring failure on Bazel+Android+Windows build
11885 scenario.
11886
11887This 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.
11888
Bazel Release Systemce9e2382022-08-19 19:29:14 +020011889## Release 6.0.0-pre.20220816.1 (2022-08-19)
11890
11891```
11892Baseline: 70ccf591f21e0c0148554244b34f02869abb7d7b
11893```
11894
11895Important changes:
11896
11897 - Migrate main_dex_list_creator to D8 (DX deprecation)
11898
11899This release contains contributions from many people at Google, as well as Fabian Meumertzheim.
11900
Bazel Release Systemcff29bf2022-08-18 13:04:22 +020011901## Release 6.0.0-pre.20220810.1 (2022-08-18)
11902
11903```
11904Baseline: 5767cba4044c2bfd8a4c9596c44d2363630b489d
11905```
11906
11907Incompatible changes:
11908
11909 - Added a new flag
11910 --incompatible_unambiguous_label_stringification, which causes
11911 labels in the main repo to stringify into unambiguous forms
11912 starting with an @. See
11913 https://github.com/bazelbuild/bazel/issues/15916 for more
11914 information.
11915
11916This release contains contributions from many people at Google, as well as Philipp Schrader.
11917
Bazel Release Systemf280a682022-08-11 13:42:46 +020011918## Release 6.0.0-pre.20220804.3 (2022-08-11)
Bazel Release System6064a332022-08-10 18:20:07 +020011919
11920```
Bazel Release Systemf280a682022-08-11 13:42:46 +020011921Baseline: 8152657c82b542a3da2ed39333941beefdeeeece
Bazel Release System6064a332022-08-10 18:20:07 +020011922```
11923
11924Important changes:
11925
11926 - `cquery`'s new output mode
11927 [`--output=files`](https://bazel.build/docs/cquery#files-output)
11928 lists the output files of the targets matching the query. It
11929 takes the current value of `--output_groups` into account.
11930 - Change singlejar metadata to report Created-By Bazel
11931 - Add support for fetching RPC credentials from credential helper.
Bazel Release Systemf280a682022-08-11 13:42:46 +020011932 - Revert interface_deps back to implementation_deps after problem
11933 reported in. Use `buildozer 'rename deps implementation_deps'
11934 //...:%cc_library; buildozer 'rename interface_deps deps'
11935 //...:%cc_library`
11936 - Fix for desugaring failure on Bazel+Android+Windows build
11937 scenario.
11938 - D8 is the default desugarer
Bazel Release System6064a332022-08-10 18:20:07 +020011939
Bazel Release Systemf280a682022-08-11 13:42:46 +020011940This 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 +020011941
Bazel Release System2d3d1eb2022-08-02 17:27:11 +020011942## Release 6.0.0-pre.20220720.3 (2022-08-02)
11943
11944```
11945Baseline: 4cd266aa1dfa53d8c8de44f7895edcfd46f74725
11946
11947Cherry picks:
11948
11949 + f706da832996ab30ddd8784f2af697a3bb62852b:
11950 Requires delayed release
11951```
11952
11953Important changes:
11954
11955 - Added new register_{execution_platforms,toolchains} directives to
11956 the MODULE.bazel file, to replace the
11957 {execution_platforms,toolchains}_to_register attributes on the
11958 module() directive.
11959 - The legacy pkg_tar no longer supports the ability to untar and
11960 repackage an input tar file (`deps` attribute). Users needed that
11961 capability must switch to github.com/bazelbuild/rules_pkg.
11962
11963This 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.
11964
Bazel Release System90d2de52022-07-21 17:15:14 +020011965## Release 6.0.0-pre.20220706.4 (2022-07-21)
11966
11967```
11968Baseline: ea8b99cf2a5914c67e4bd7651d83df98912bb1ed
11969
11970Cherry picks:
11971
11972 + 107a54edcf75dc026cf643df82c13fe32a1eb043:
11973 Fix flag file regexp broken by
11974 https://github.com/bazelbuild/bazel/commit/cb2cd9fd2b65311da92777
11975 7c35939701add5b879.
11976 + 1e7127dec96b69b8cd5d332551f8798433d6057e:
11977 Reinstate legacy worker flag file behaviour when not using
11978 --experimental_worker_strict_flagfiles.
11979```
11980
11981Incompatible changes:
11982
11983 - Flag --experimental_local_memory_estimate removed.
11984
11985This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Tomas Volf, Yannic Bonenberger.
11986
Bazel Release System241b1902022-07-11 17:18:16 +020011987## Release 6.0.0-pre.20220630.1 (2022-07-11)
11988
11989```
11990Baseline: fbf9277975ceb7be5255fd5cf449e22706d25d3f
11991```
11992
11993Important changes:
11994
11995 - Removed the obsolete --incompatible_applicable_licenses flag. The
11996 feature is permanently enabled.
11997 - embedded_tools packages R8 desugarer again
11998 - Bazel now selects sh path based on execution platform instead of
11999 host platform, making it possible to execute sh actions in
12000 multiplatform builds. --shell_executable now only applies to
12001 actions configured for host.
12002 - labels in genquery.scope are no longer configured.
12003 - When Bzlmod is enabled, all Bzlmod-generated repos will have an
12004 extra '@' prepended to their names. This effectively enables the
12005 canonical label literal syntax for Bzlmod-generated repos
12006 (`@@canonicalRepoName//pkg:target`; see
12007 https://docs.google.com/document/d/1N81qfCa8oskCk5LqTW-LNthy6EBrDo
12008 t7bdUsjz6JFC4/edit?usp=sharing).
12009 - Exposed `CcSharedLibraryInfo` to Starlark builtins.
12010 - Enable --use_top_level_targets_for_symlinks by default.
12011 - Singlejar accepts runtime Created-By field
12012 - --noincompatible_disable_managed_directories, and with that,
12013 workspace(managed_directories=) is not supported anymore.
12014 - Bazel supports D8 desugaring, albeit without persistent workers
12015 - Remove mtime options from pkg_tar. Users should migrate to
12016 @rules_pkg.
12017 - Test for experimental multiplexed persistent resource processor.
12018
12019This 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.
12020
Bazel Release System5c544f42022-06-15 18:48:42 +020012021## Release 6.0.0-pre.20220608.2 (2022-06-15)
12022
12023```
12024Baseline: 4f5e325e337957ebea139dc52a00027acbbb572f
12025
12026Cherry picks:
12027
12028 + 442155f19f2c2764839327c8be3d3ab70edf1910:
12029 Automated rollback of commit
12030 a0a0d09debd090fbe74bba59b5d6d3107aaf97e9.
12031```
12032
12033Important changes:
12034
12035 - Aspects can now define and use exec groups using the same API as
12036 rules.
12037
12038This release contains contributions from many people at Google, as well as Kaiqin Chen.
12039
Bazel Release Systemc9b24172022-06-10 16:56:39 +020012040## Release 6.0.0-pre.20220601.1 (2022-06-10)
12041
12042```
12043Baseline: 93f6e51a8756021f6e6a027d4520415385fe9293
12044```
12045
12046Incompatible changes:
12047
12048 - this incompatible change breaks old instances of http_archive
12049 that specified netrc as an absolute path. It is unlikely there
12050 are many instances in the wild since the path would refer to a
12051 netrc file inside the external repository by absolute path.
12052 Migration should be straightforward.
12053 - genrule switched to use exec transition instead of host. This can
12054 break targets with hardcoded output paths. To avoid using
12055 hardcoded paths use make variables, see
12056 https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
12057 defined_label_variables
12058 - this incompatible change breaks old instances of http_archive
12059 that specified netrc as an absolute path. It is unlikely there
12060 are many instances in the wild since...
12061 - Error Prone now checks for unused return values of additional
12062 methods on `java.lang.Object`, which can be disabled using
12063 `--javacopts=-Xep:ReturnValueIgnored:OFF`
12064 - Error Prone now checks for unused return values of additional
12065 methods on `java.lang.Object`, which can be disabled using
12066 `--javacopts=-Xep:ReturnValueIgnored:OFF`
12067 - The --incompatible_existing_rules_immutable_view flag has been
12068 flipped to true. See
12069 https://github.com/bazelbuild/bazel/issues/13907 for
12070 migration notes.
12071 - Split up the C++ archive from the C++ link action and set
12072 `CppArchive` as mnemonic.
12073 - workspace(managed_directories=) is not available anymore.
12074 - --legacy_important_outputs now has a default of false.
12075 - --legacy_important_outputs default reverted to true.
12076 - objc_library now requires CcInfo in its deps. If this breaks
12077 you, add empty CcInfo() to your rule.
12078
12079Important changes:
12080
12081 - Deprecate --incompatible_applicable_licenses flag, in preparation
12082 for removal in Bazel 6.x.
12083 - Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
12084 - The Build Event Protocol now contains file digests and sizes
12085 along with the file name and URI.
12086 - Refactor system suspend event handling.
12087 - alias() can now select() directly on constraint_value()
12088 - Allow \a \b \f \v escape sequences in Starlark.
12089 - Match remote and local xcode version by most granular version.
12090 - Adds `--experimental_worker_multiplex_sandboxing` flag that
12091 controls whether to sandbox multiplex workers that support it.
12092 - provider() has a new parameter: init, a callback for performing
12093 pre-processing and validation of field values. Iff this parameter
12094 is set,
12095 provider() returns a tuple of 2 elements: the usual provider
12096 symbol (which,
12097 when called, invokes init) and a raw constructor (which bypasses
12098 init).
12099 - Tests that fail to create or complete their
12100 `TestAttemptContinuation` by
12101 throwing an `ExecException` will report an `INCOMPLETE` status.
12102 Previously, Bazel
12103 would fail to report any status for the test attempt.
12104 - Fixed an issue where Bazel could erroneously report a test passes
12105 in coverage mode without actually running the test.
12106 - Include more information about configurations in cquery proto
12107 formatted output. This deprecates the configuration field of
12108 AnalysisProtosV2.ConfiguredTarget, and adds a new field,
12109 configuration_id, to
12110 be used instead.
12111 - experimental cc_library.implementation_deps inverted to
12112 interface_deps
12113 - In aquery and cquery proto output, indicate if a configuration is
12114 a
12115 tool or non-tool configuration.
12116 - Include complete configurations in cquery proto output.
12117 - experimental cc_library.implementation_deps inverted to
12118 interface_deps
12119 - Make protocOpts() publicly accessible.
12120 - Add some documentation about how configuration information is
12121 conveyed in cquery proto output.
12122 - Introduces experimental static library linking API under
12123 apple_common.link_multi_arch_static_library
12124 - Further deprecation and removal of pkg_tar. Stop supporting
12125 legacy use of 'files' attribute, where it could be a list of
12126 labels instead of a map of paths to labels.
12127 - Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
12128 its purpose because --all_incompatible_changes would never set
12129 it. The last rule it gated (pkg_tar) is scheduled to be removed
12130 in Bazel 6.x.
12131 - Add coverage configuration fragment, used to expose
12132 output_generator label.
12133 - Bazel now no longer includes system headers on macOS in coverage
12134 reports (#14969).
12135 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
12136 $ANDROID_HOME.
12137 - The default dexer is now d8. dx can be optionally enabled using:
12138 --define=android_dexmerger_tool=dx_dexmerger \
12139 --define=android_incremental_dexing_tool=dx_dexbuilder \
12140 --define=android_standalone_dexing_tool=dx_compat_dx \
12141 --use_workers_with_dexbuilder
12142 - Packaging support for deploy JAR embedded JDK files (hermetic
12143 Java).
12144 - Don't stamp cc_common.link actions for tool dependencies.
12145 - Starlark test rules can use the new inherited_environment
12146 parameter of testing.TestEnvironment to specify environment
12147 variables
12148 whose values should be inherited from the shell environment.
12149 - Enable merging permissions during Android manifest merging with
12150 the --merge_android_manifest_permissions flag.
12151 - Allow specialization to work with constraint_values.
12152 - Bazel uses the D8 jar from Maven instead of the SDK.
12153 - Make ijar / java_import preserve classes with `@kotlin.Metadata`
12154 annotations
12155 - Switch cc_test implementation to Starlark. Note: cc_test will now
12156 link statically when _targeting_ Windows regardless of host
12157 platform (rather than always linking statically when Windows is
12158 the _host_).
12159 - Switch cc_test implementation to Starlark. Note: cc_test will now
12160 link statically when _targeting_ Windows regardless of host
12161 platform (rather than always linking statically when Windows is
12162 the _host_).
12163 - Add devtools/build/lib/worker:work_request_handlers to the remote
12164 android tools release package. This will be transitively packaged
12165 into all_android_tools.
12166 - Bazel uses the D8 jar from Maven instead of the SDK.
12167 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
12168 $ANDROID_HOME.
12169 - Advance android_tools_pkg version to 0.24.0.
12170 - Switch cc_test implementation to Starlark. Note: cc_test will now
12171 link statically when _targeting_ Windows regardless of host
12172 platform (rather
12173 than always linking statically when Windows is the _host_).
12174 - Bazel uses the D8 jar from Maven instead of the SDK.
12175 - "blaze config" now only reports info from the last build. To
12176 compare configurations across multiple builds, redirect "blaze
12177 config" output to a file and run your favorite diff tool.
12178 - The --incompatible_override_toolchain_transition flag is now
12179 always set, and will be removed in the future. Thus,
12180 --noincompatible_override_toolchain_transition has no effect, and
12181 the value of the incompatible_use_toolchain_transition parameter
12182 in aspect() and rule() builtins is ignored.
12183 - Switch cc_test implementation to Starlark. Note: cc_test will now
12184 link statically when _targeting_ Windows regardless of host
12185 platform (rather
12186 than always linking statically when Windows is the _host_).
12187 - Toolchain types may now be optional, in addition to mandatory.
12188 See https://bazel.build/docs/toolchains#optional-toolchains for
12189 further details.
12190 - Add six to deps of has_services=1 py_proto_librarys.
12191 - pkg_tar(symlinks) has been removed. Users needing that feature
12192 should
12193 migrate to @rules_pkg.
12194
12195This 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.
12196
Bazel Release Systemf9c7fdb2022-06-07 15:31:30 +000012197## Release 5.2.0 (2022-06-07)
12198
12199```
12200Baseline: 8d66a4171baddcbe1569972f019e54130111202c
12201
12202Cherry picks:
12203
12204 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
12205 Remote: Cache merkle trees
12206 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
12207 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
12208 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
12209 Compile Apple tools as fat binaries if possible
12210 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
12211 Add protobuf as a well known module
12212 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
12213 Remote: Merge target-level exec_properties with
12214 --remote_default_exec_properties
12215 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
12216 Add -no_uuid for hermetic macOS toolchain setup
12217 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
12218 Remote: Fixes an issue when --experimental_remote_cache_async
12219 encounter flaky tests.
12220 + 77a002cce050e861fcc87c89acf7768aa5c97124:
12221 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
12222 has …
12223 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
12224 Fixes for the Starlark transition hash computation (#14251)
12225 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
12226 Do location expansion in copts of objc_library
12227 + 50274a9f714616d4735a560db7f617e53fb8d01b:
12228 [5.x] Remote: Add support for compression on gRPC cache (#14277)
12229 + 61bf2e5b5181cbe34a2f0d584053570943881804:
12230 Automated rollback of commit
12231 34c71465f84fa780217926db2e8e5ca3d6d4568c.
12232 + 79888fe7369479c398bafe064daa19a7ae30f710:
12233 Silence a zstd-jni GCC warning.
12234 + 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
12235 Remote: Limit max number of gRPC connections by
12236 --remote_max_connections.
12237 + fd727ec96d861573dcbad3249d727a94eff84789:
12238 Do location expansion in copts of objc_library
12239 + 23d096931be9b7247eafa750999dd7feadde14c1:
12240 Fix _is_shared_library_extension_valid
12241 + 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
12242 Remove merging of java_outputs in JavaPluginInfo.
12243 + cea5f4f499aa832cf90c68898671869ce79d63f2:
12244 Cherrypick Bzlmod documentation (#14301)
12245 + 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
12246 Format work requests according to ndjson spec
12247 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
12248 Enable user_link_flags_feature for macosx cc_toolchain_config
12249 + 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
12250 Remote: Use Action's salt field to differentiate cache across
12251 workspaces.
12252 + f94898915268be5670fb1e93a16c03e9b14d2a58:
12253 [5.x] Remote: Fix "file not found" error when remote cache is
12254 changed from enabled to disabled. (#14321)
12255 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
12256 Delete marker file before fetching an external repository
12257 + c05c6261cdb2cacb7c9881c255c0ada435ab5182:
12258 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
12259 + d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
12260 Fix remote spawn tests for remote_merkle_tree_cache=true
12261 + 59e16e944200555da377799aa0d9e8d0674d2e27:
12262 Show skipped tests as a warning
12263 + 76b3c242831f8e88835e3002a831a185a41fcc52:
12264 Build xcode-locator as a universal binary
12265 + aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
12266 Exit collect_coverage.sh early if LCOV_MERGER is not set.
12267 + 4256d46327bad8638df91be1a5d4ef83b12b74c7:
12268 Automated rollback of commit
12269 d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
12270 + dce24350befd08216b3910ae343670015444ff81:
12271 [apple] fix issues compiling C in objc_library for watchos/armv7k
12272 + bfc24139d93f8643686d91596ba347df2e01966a:
12273 5.x: Remote: Ignore blobs referenced in BEP if the generating
12274 action cannot be cached remotely. (#14389)
12275 + 5aef53a8884038f3c9f06e6dddb9372196253378:
12276 Remote: Don't blocking-get when acquiring gRPC connections.
12277 (#14420)
12278 + 005361c895da334beb873901e93aff06d180256e:
12279 Disable IncludeValidation for ObjC in bazel
12280 + d703b7b4f09fb3c389f99e52bac1f23930280b56:
12281 Update java_tools v11.6
12282 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
12283 Stop remote blob upload if upload is complete. (#14467)
12284 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
12285 [5.x] Make remote BES uploader better (#14472)
12286 + 2edab739e1f61fe8813230b03396ca46f0790089:
12287 Avoid too verbose warnings in terminal when cache issues
12288 + 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
12289 Rename --project_id to --bes_instance_name
12290 + c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
12291 Automated rollback of commit
12292 bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
12293 + b341802700484d11c775bf02d80f43ba3f33b218:
12294 [apple] support watchos_arm64 in toolchain
12295 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
12296 Disable implicitly collecting baseline coverage for toolchain
12297 targets.
12298 + 302971e1b3d803069ac949c0085c0d2a3916c8ab:
12299 Automated rollback of commit
12300 7d09b4a15985052670244c277e4357557b4d0039.
12301 + 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
12302 Bzlmod: Starlarkify default attr values for TypeCheckedTags
12303 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
12304 Fix build after rc4 cherrypicks (#14581)
12305 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
12306 Release 5.0.0 (2022-01-19)
12307 + 486d153d1981c3f47129f675de20189667667fa7:
12308 Find runfiles in directories that are themselves runfiles
12309 + 0de7bb95022057e8b89334f44759cf6f950e131f:
12310 Don't resolve symlinks for --sandbox_base
12311 + 8b60c90f3641591b65c4e153113aea562f1fab94:
12312 Remove uses of -lstdc++ on darwin
12313 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
12314 Allow Label instances as keys in select (#14755)
12315 + 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
12316 Remote: Only waits for background tasks from remote execution.
12317 + 8734ccf9847eafb7193388cd9c6fa78faa78283f:
12318 Add the default solib dir to the rpath for cc_imports with
12319 transitions
12320 + 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
12321 Flip --experimental_worker_allow_json_protocol
12322 + fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
12323 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
12324 cpu for tools when host cpu and exec cpu are different
12325 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
12326 Propagate --experimental_cc_implementation_deps to host config
12327 + 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
12328 Support select() on constraint_value for aliases.
12329 + 67a133b431ccece22b7dd9a72f0837cff77d4360:
12330 Improve documentation for select()
12331 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
12332 Cherrypicks for experimental cc_shared_library (#14773)
12333 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
12334 [apple] support tvos_sim_arm64 in toolchain (#14779)
12335 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
12336 Cherry pick win arm64 (#14794)
12337 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
12338 [5.1.0] cherrypick subpackages support (#14780)
12339 + 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
12340 Add a helper method for rules to depend on the cpp toolchain
12341 type.
12342 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
12343 UrlRewriter should be able to load credentials from .netrc
12344 (#14834)
12345 + 32d1606dac2fea730abe174c41870b7ee70ae041:
12346 Add "arch" struct field to repository_os
12347 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
12348 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
12349 + c2ddbd1954af5baab63b93f2b055a410a27832c8:
12350 Ignore missing include directory in JDK distribution.
12351 + 16de03595e21f7bf31818e717505b23c953b3b7d:
12352 Fix bazel coverage false negative
12353 + 0c74741742301abcf67452a7f591daec1c3a7635:
12354 Remote: Postpone the block waiting in `afterCommand` to
12355 `BlockWaitingModule` (#14833)
12356 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
12357 Switch to `ProcessHandle` for getting the PID (#14842)
12358 + a987b98ea0d6da2656c4115568ef9cbe8a164550:
12359 Fix uses of std++ on bsd
12360 + d184e4883bb7fc21de2f7aeea4304994de27e9ea:
12361 Remote: handle early return of compressed blobs uploads
12362 + 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
12363 Add removeprefix/removesuffix to Starlark strings
12364 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
12365 Fix default CPU for macOS and iOS (#14923)
12366 + cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
12367 Add paramfile support for def_parser, since in rare cases on
12368 Windows command line character limit was reached.
12369 + 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
12370 Normalize rpath entries to guard against missing default solib
12371 dir
12372 + 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
12373 Fix aggressive params file assumption
12374 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
12375 Fix precompiled libs not in runfiles of cc_shared_library
12376 (#14943)
12377 + 764614e0f0287125269e7a92e909a44624bcb360:
12378 Bzlmod: Allow multiple `use_extension`s on the same extension
12379 (#14945)
12380 + fa761f84994f18db383fbe9aaea524e4385da13a:
12381 Fix typo in `apple_common.platform` docs
12382 + f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
12383 Yield a Proxy for addresses without protocol
12384 + 8cefb8bed4ac82df8640682517372a9249732352:
12385 Avoid merging URLs in HttpUtils
12386 + b4804807fc2c184cc36df9e69e472942c01941b8:
12387 Make protocOpts() public. (#14952)
12388 + 113eaca5862c48797654ae2a3acbb6e15d761485:
12389 Do not hide BulkTransferException messages when there were more
12390 than one exception
12391 + b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
12392 merkle_tree_cache: change default size to 1000
12393 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
12394 Add --experimental_repository_cache_urls_as_default_canonical_id
12395 to help detect broken repository URLs (#14989)
12396 + f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
12397 Expose the logic to read user netrc file
12398 + b858ec39aebd7e586af5438aa2035db2adebf9a4:
12399 Correct cpu and os values of `local_config_cc_toolchains` targets
12400 + 5e79972c05d89280f0cf1fa620f807366847bac6:
12401 Expose CoverageOutputGenerator on a Fragment (#14997)
12402 + 78f03110e0dab42f37e427fd524e72706e036d74:
12403 Correct error runfiles cc_shared_library (#14998)
12404 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
12405 [5.1] Adding Starlark dependencies to the package //external
12406 (#14991)
12407 + a73aa12be65454ac8cfb5a8f3e056c420402f997:
12408 Remote: Fix crashes with InterruptedException when using http
12409 cache.
12410 + f8707c07f153ac4ac2ec4b210321f1a16343006d:
12411 Account for interface libraries in cc_shared_library
12412 + a570f5fdb1618a6c272d18bebaa712d3b2af3975:
12413 Fix coverage runfiles directory issue
12414 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
12415 Do not validate input-only settings in transitions (#15048)
12416 + 71747ccc9d0032a865854613329362563c0574df:
12417 Filter out system headers on macOS.
12418 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
12419 Update Bazel bootstrap documentation and remove obsolete flags.
12420 (#15065)
12421 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
12422 [5.1] Undocument --bes_best_effort (#15066)
12423 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
12424 Fix conflicting actions error when specifying
12425 --host_macos_minimum_os (#15068)
12426 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
12427 [5.1] Remote: Action should not be successful and cached if
12428 outputs were not created (#15071)
12429 + 00d74ff737cccd60305ee58d85313556a077152a:
12430 Support decompressing zstd tar archives for repository rules.
12431 + f5857830bb68bd05ffc257506575ed37a8128933:
12432 Remote: Don't check TreeArtifact output
12433 + efb2b80953983dce499d453a9f55a74ffaf8c42d:
12434 osx_cc_wrapper: Only expand existing response files
12435 + c771c43b870fb8618db7bdab6725ab40cac4976d:
12436 Remote: Fix crashes by InterruptedException when dynamic
12437 execution is enabled. (#15091)
12438 + 3785677cc84fc4024fda85575c05efbde5d512fc:
12439 Use python3 on macOS
12440 + 815d9e499a32fd4d87525ac0c698c293cf26433d:
12441 Release 5.1.0 (2022-03-24)
12442 + 1fbb69e366034484887e00c6006c7b79508765ed:
12443 Prepare 5.1.1 release
12444 + df153df9656e0e197f67622bb11f7d77e19238a0:
12445 Fix CODEOWNERS syntax
12446 + 2b92a3111e83a4d14934059afd0f51161a41276f:
12447 Remote: Don't check declared outputs for failed action
12448 + b47aa71b21d93c9499103e9a37a6c2ffa79865b9:
12449 Upgrade abseil version to the latest
12450 + c49c45d8dac87d21cf2b6a176ddd07f2c9f63414:
12451 Revert default export all symbols on Windows
12452 + 7d3fb993f55b35081786c3fe00cf3bebb89574f3:
12453 Support ZIP files with total number of disks = 0
12454 + 0f5dc111be06b2ee8694640f400b58e12bfa5fea:
12455 Release 5.1.1 (2022-04-08)
12456 + 2422cfb3e5d92d46f9065b2b1e442823a965faf7:
12457 Update CODEOWNERS
12458 + bbcff1802423fca7ee5bd6a3e527c12d6d7d80ba:
12459 [5.2.0] Update java_tools 11.7.1 (#15231)
12460 + 9c98120f33579b72561e02826d9fccf222eccb3c:
12461 Add support for .ar archives (and .deb files)
12462 + d3435b09d89f25bf5008ef3b9c870c835d51a8da:
12463 Seperate GetSelfPath implementation for Blaze and Bazel
12464 + c94572bea5ce6bdc0ccda9789e5be6fb3f4c173b:
12465 Include jdk.crypto.mscapi in minimized Windows embedded JDK
12466 + 299022ca2dc49b6cb27b2674f933755306ae8b9b:
12467 remote: Proactively close the ZstdInputStream in
12468 ZstdDecompressingOutputStream.
12469 + 27707995cc6576ed1f51fbdb199ff8512e8418c9:
12470 Collect coverage from cc_binary data deps of java_test
12471 + 3442179d240e01ef13b0fa7814db7366bad5ffac:
12472 Configure Apple crosstool to return a complete target triple
12473 that includes minimum OS version and target environment
12474 + bb6f1a7ce79168055ccd62629da07d46a52b930d:
12475 Collect C++ lcov coverage if runtime object not in runfiles
12476 + dbb6e9954b6e4423f727feb2719ffc75a93b514b:
12477 Fixing dependencies of //external package
12478 + f0213bbf730c4a5d1a31e65bc9c01fbb55a6edb3:
12479 [5.2] Upgrade Google Auth Version (#15383)
12480 + a1a74c9919e03e09ef7c6ae13f38f48eea80ead1:
12481 Fix chocolatey package - docsUrl must not 404 (#15395)
12482 + fe644bee95c14d461e0d1e3cccaa8bbcd57bcd8d:
12483 Fix cache leak when applying transitions when only a rule's
12484 attributes change.
12485 + ad74d5243917bb27a37e38d151a4a3c8a49947eb:
12486 Fix checking remote cache for omitted files in buildevent file
12487 (#15405)
12488 + ac219103d8798965b775db548d7b9214ecd78f73:
12489 fix(bzlmod): throw on json parse exception
12490 + 3d85b88609a362857d8ee3c0432a37d30268a8a2:
12491 Add a flag to expose undeclared test outputs in unzipped form.
12492 (#15431)
12493 + abd7a9f70c3dfe96724a692dc7dc04ff33bdece1:
12494 Remove -U_FORTIFY_SOURCE when thin_lto is enabled (#15433)
12495 + 53b9cb8637c0faddc6b122a1daab72bcc274bdec:
12496 Catch NumberFormatException while trying to parse thread id.
12497 + 19740b55ebc283b7ec42b359bcd4c9096facfdd5:
12498 Improve the --sandbox_debug error message
12499 + 0a2a43f9aab1e3875f03f643f6414eb67834c883:
12500 Set keywords on appropriate lifecycle events.
12501 + 394ddb82b311ea7edbe2522736b0b0202903ddb6:
12502 Record additional profiling information for remotely executed
12503 actions.
12504 + 652b48e567fcb30768dfc2eddee5f04bf6b5d65b:
12505 Fix downloading remote execution output files inside output
12506 dirs. (#15444)
12507 + 73f1ecbc1cb00e16ceda4b582f4d57268f8701cd:
12508 Fix android emulator darwin_arm64 select
12509 + 2649c7c4adef0ebf9bca8fe46aa97304b22de522:
12510 Fix --use_top_level_targets_for_symlinks with aliases (#15446)
12511 + fa1081c1f3dce7324a1da59c40d1a1a3533c7047:
12512 Filter libtool warning about table of contents
12513 + 26f878325e915e0905626a0e4c8bbacffd72f875:
12514 Unify sandbox/remote handling of empty TreeArtifact inputs
12515 (#15449)
12516 + 6b21b7773157a1eebd3dfe79ff4c4ee750059daf:
12517 Revert "Fixes incorrect install names on darwin platforms"
12518 + e133e66f715bac17bf5848e4440c089a8c8d3fd9:
12519 config doesn't error on duplicate `--define` values (#15473)
12520 + 84d59176622b76223828e61709179dbd5f0c9f8d:
12521 Collect coverage from cc_binary data deps of py_test (#15298)
12522 + 519d2daacfff3de6ffabfc5827621fa835e1c815:
12523 SolibSymlinkAction does not need exec platform or properties
12524 + 6e54699884cfad49d4e8f6dd59a4050bc95c4edf:
12525 Let Starlark tests inherit env variables (#15217)
12526 + 9610ae889e6fd45280c5beb7fe8f5bef2d736878:
12527 Update PythonZipper action to use CommandLineItem.CapturingMapFn
12528 + 2f1ff6fa17c3c30b2533bffe81f40eab06b453b9:
12529 Make `coverage --combined_report=lcov` skip incompatible tests
12530 + 9fad5a3dc93cd436a5712c46e6c98d3995428ddb:
12531 Disable ReturnValueIgnored checks to unblock java_tools release
12532 + 0120118893261968bdf116ef215655c428428fa8:
12533 Bump the limit of Bazel install base size (#15585)
12534 + 668805aace9bf96f78595fc2a122027a3000ceac:
12535 Upgrade zlib to 1.2.12
12536 + 4d900ceea12919ad62012830a95e51f9ec1a48bb:
12537 [5.2] Remote: Fix a bug that outputs of actions tagged with
12538 no-remote are u... (#15453)
12539 + b703cb9b999e243d776b7620468e48f450c0ce3a:
12540 Add feature to produce serialized diagnostics files (#15600)
12541```
12542
12543Important changes:
12544
12545 - alias() can now select() directly on constraint_value()
12546
12547 Fixes https://github.com/bazelbuild/bazel/issues/13047.
12548
12549 Closes #14310.
12550 - Fixed an issue where Bazel could erroneously report a test passes
12551 in coverage mode without actually running the test.
12552 - Make protocOpts() publicly accessible.
12553 - Add coverage configuration fragment, used to expose
12554 output_generator label.
12555 - Bazel now no longer includes system headers on macOS in coverage
12556 reports (#14969).
12557
12558 Closes #14971.
12559 - Starlark test rules can use the new inherited_environment
12560 parameter of testing.TestEnvironment to specify environment
12561 variables
12562 whose values should be inherited from the shell environment.
12563
12564 Closes #14849.
12565
12566This 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.
12567
Bazel Release System6dcd3212022-06-02 21:30:19 +020012568## Release 6.0.0-pre.20220526.1 (2022-06-02)
12569
12570```
12571Baseline: e6bb6fcfcc9b571ef0bbdf039b5ae67954ade222
12572```
12573
12574Incompatible changes:
12575
12576 - --legacy_important_outputs now has a default of false.
12577 - --legacy_important_outputs default reverted to true.
12578
12579Important changes:
12580
12581 - pkg_tar(symlinks) has been removed. Users needing that feature
12582 should
12583 migrate to @rules_pkg.
12584
12585This release contains contributions from many people at Google, as well as Alessandro Patti, Benjamin Lee, Benjamin Peterson.
12586
Bazel Release Systema7ec7102022-05-30 19:10:06 +020012587## Release 6.0.0-pre.20220520.1 (2022-05-30)
12588
12589```
12590Baseline: 4879106fabdf4af9395743941987d4297d232296
12591```
12592
12593Incompatible changes:
12594
12595 - workspace(managed_directories=) is not available anymore.
12596
12597Important changes:
12598
12599 - Add six to deps of has_services=1 py_proto_librarys.
12600
12601This release contains contributions from many people at Google, as well as Benjamin Peterson, Christopher Peterson Sauer.
12602
Bazel Release System97fa6122022-05-23 23:41:36 +020012603## Release 6.0.0-pre.20220517.1 (2022-05-23)
12604
12605```
12606Baseline: 61fd06d92706d64fbcef64f0f54cded91c88afff
12607```
12608
12609Incompatible changes:
12610
12611 - Split up the C++ archive from the C++ link action and set
12612 `CppArchive` as mnemonic.
12613
12614Important changes:
12615
12616 - Switch cc_test implementation to Starlark. Note: cc_test will now
12617 link statically when _targeting_ Windows regardless of host
12618 platform (rather
12619 than always linking statically when Windows is the _host_).
12620 - Bazel uses the D8 jar from Maven instead of the SDK.
12621 - "blaze config" now only reports info from the last build. To
12622 compare configurations across multiple builds, redirect "blaze
12623 config" output to a file and run your favorite diff tool.
12624 - The --incompatible_override_toolchain_transition flag is now
12625 always set, and will be removed in the future. Thus,
12626 --noincompatible_override_toolchain_transition has no effect, and
12627 the value of the incompatible_use_toolchain_transition parameter
12628 in aspect() and rule() builtins is ignored.
12629 - Switch cc_test implementation to Starlark. Note: cc_test will now
12630 link statically when _targeting_ Windows regardless of host
12631 platform (rather
12632 than always linking statically when Windows is the _host_).
12633 - Toolchain types may now be optional, in addition to mandatory.
12634 See https://bazel.build/docs/toolchains#optional-toolchains for
12635 further details.
12636
12637This 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.
12638
Bazel Release System50e90602022-05-03 18:36:36 +020012639## Release 6.0.0-pre.20220421.3 (2022-05-03)
12640
12641```
12642Baseline: 092884b0118f1b8b14ba2277851baa6dcce5cac2
12643
12644Cherry picks:
12645
12646 + 82861c3a6e9761af883b1f6c99eef27da28b3d00:
12647 remove debug statement
12648 + a5a4198b4bae3e10e30bf48083d037acce39aac3:
12649 Automated rollback of commit
12650 92d760b37722feffd5b1121e4f9a1152d8120946.
12651```
12652
12653Important changes:
12654
12655 - Switch cc_test implementation to Starlark. Note: cc_test will now
12656 link statically when _targeting_ Windows regardless of host
12657 platform (rather than always linking statically when Windows is
12658 the _host_).
12659 - Switch cc_test implementation to Starlark. Note: cc_test will now
12660 link statically when _targeting_ Windows regardless of host
12661 platform (rather than always linking statically when Windows is
12662 the _host_).
12663 - Add devtools/build/lib/worker:work_request_handlers to the remote
12664 android tools release package. This will be transitively packaged
12665 into all_android_tools.
12666 - Bazel uses the D8 jar from Maven instead of the SDK.
12667 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
12668 $ANDROID_HOME.
12669 - Advance android_tools_pkg version to 0.24.0.
12670
12671This 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.
12672
Bazel Release Systemfb9c61a2022-04-26 21:19:34 +020012673## Release 6.0.0-pre.20220414.2 (2022-04-26)
12674
12675```
12676Baseline: 6872fd230b7fe4a15fa900d16f6f9ddd5726cdc3
12677
12678Cherry picks:
12679
12680 + a603c2382ffcc49f344eee73dfcd65aa2332f64f:
12681 Automated rollback of commit
12682 b93f828133e74cb3589ba7ffcfe74d2fe72430cd.
12683 + 6142eac9153b539661c43dada5e11b552a6f58f6:
12684 Automated rollback of commit
12685 314b0900cec69a9d017ab84e94ee1cc0b6782470.
12686```
12687
12688Important changes:
12689
12690 - Bazel uses the D8 jar from Maven instead of the SDK.
12691 - Make ijar / java_import preserve classes with `@kotlin.Metadata`
12692 annotations
12693 - Bazel uses the D8 jar from Maven instead of the SDK.
12694 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
12695 $ANDROID_HOME.
12696
12697This release contains contributions from many people at Google, as well as Alex Torok, gkorlam, hvadehra, Vasilios Pantazopoulos, Yannic.
12698
Bazel Release Systeme9de4932022-04-19 14:08:32 +020012699## Release 6.0.0-pre.20220411.2 (2022-04-19)
12700
12701```
12702Baseline: 8f0034ce1e7854521e259a5eaf71859b1e6f95bc
12703
12704Cherry picks:
12705
12706 + a9465dfa4b124e331b8bb3e8d0219ea3dff7cdb1:
12707 Automated rollback of commit
12708 240af807c935225d98b630666000cc03934f2ce7.
12709```
12710
12711Important changes:
12712
12713 - Allow specialization to work with constraint_values.
12714
12715This 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.
12716
Bazel Release System5257e252022-04-14 16:11:53 +020012717## Release 6.0.0-pre.20220407.1 (2022-04-14)
12718
12719```
12720Baseline: 9db58e0656d7456e8180e90400c2c94a76bf5c8b
12721```
12722
12723Incompatible changes:
12724
12725 - this incompatible change breaks old instances of http_archive
12726 that specified netrc as an absolute path. It is unlikely there
12727 are many instances in the wild since the path would refer to a
12728 netrc file inside the external repository by absolute path.
12729 Migration should be straightforward.
12730 - genrule switched to use exec transition instead of host. This can
12731 break targets with hardcoded output paths. To avoid using
12732 hardcoded paths use make variables, see
12733 https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
12734 defined_label_variables
12735 - this incompatible change breaks old instances of http_archive
12736 that specified netrc as an absolute path. It is unlikely there
12737 are many instances in the wild since...
12738 - Error Prone now checks for unused return values of additional
12739 methods on `java.lang.Object`, which can be disabled using
12740 `--javacopts=-Xep:ReturnValueIgnored:OFF`
12741 - Error Prone now checks for unused return values of additional
12742 methods on `java.lang.Object`, which can be disabled using
12743 `--javacopts=-Xep:ReturnValueIgnored:OFF`
12744 - The --incompatible_existing_rules_immutable_view flag has been
12745 flipped to true. See
12746 https://github.com/bazelbuild/bazel/issues/13907 for
12747 migration notes.
12748
12749Important changes:
12750
12751 - Deprecate --incompatible_applicable_licenses flag, in preparation
12752 for removal in Bazel 6.x.
12753 - Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
12754 - The Build Event Protocol now contains file digests and sizes
12755 along with the file name and URI.
12756 - Refactor system suspend event handling.
12757 - alias() can now select() directly on constraint_value()
12758 - Allow \a \b \f \v escape sequences in Starlark.
12759 - Match remote and local xcode version by most granular version.
12760 - Adds `--experimental_worker_multiplex_sandboxing` flag that
12761 controls whether to sandbox multiplex workers that support it.
12762 - provider() has a new parameter: init, a callback for performing
12763 pre-processing and validation of field values. Iff this parameter
12764 is set,
12765 provider() returns a tuple of 2 elements: the usual provider
12766 symbol (which,
12767 when called, invokes init) and a raw constructor (which bypasses
12768 init).
12769 - Tests that fail to create or complete their
12770 `TestAttemptContinuation` by
12771 throwing an `ExecException` will report an `INCOMPLETE` status.
12772 Previously, Bazel
12773 would fail to report any status for the test attempt.
12774 - Fixed an issue where Bazel could erroneously report a test passes
12775 in coverage mode without actually running the test.
12776 - Include more information about configurations in cquery proto
12777 formatted output. This deprecates the configuration field of
12778 AnalysisProtosV2.ConfiguredTarget, and adds a new field,
12779 configuration_id, to
12780 be used instead.
12781 - experimental cc_library.implementation_deps inverted to
12782 interface_deps
12783 - In aquery and cquery proto output, indicate if a configuration is
12784 a
12785 tool or non-tool configuration.
12786 - Include complete configurations in cquery proto output.
12787 - experimental cc_library.implementation_deps inverted to
12788 interface_deps
12789 - Make protocOpts() publicly accessible.
12790 - Add some documentation about how configuration information is
12791 conveyed in cquery proto output.
12792 - Introduces experimental static library linking API under
12793 apple_common.link_multi_arch_static_library
12794 - Further deprecation and removal of pkg_tar. Stop supporting
12795 legacy use of 'files' attribute, where it could be a list of
12796 labels instead of a map of paths to labels.
12797 - Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
12798 its purpose because --all_incompatible_changes would never set
12799 it. The last rule it gated (pkg_tar) is scheduled to be removed
12800 in Bazel 6.x.
12801 - Add coverage configuration fragment, used to expose
12802 output_generator label.
12803 - Bazel now no longer includes system headers on macOS in coverage
12804 reports (#14969).
12805 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
12806 $ANDROID_HOME.
12807 - The default dexer is now d8. dx can be optionally enabled using:
12808 --define=android_dexmerger_tool=dx_dexmerger \
12809 --define=android_incremental_dexing_tool=dx_dexbuilder \
12810 --define=android_standalone_dexing_tool=dx_compat_dx \
12811 --use_workers_with_dexbuilder
12812 - Packaging support for deploy JAR embedded JDK files (hermetic
12813 Java).
12814 - Don't stamp cc_common.link actions for tool dependencies.
12815 - Starlark test rules can use the new inherited_environment
12816 parameter of testing.TestEnvironment to specify environment
12817 variables
12818 whose values should be inherited from the shell environment.
12819 - Enable merging permissions during Android manifest merging with
12820 the --merge_android_manifest_permissions flag.
12821
12822This 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.
12823
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +020012824## Release 5.1.1 (2022-04-08)
Bazel Release System98022492022-04-08 14:11:37 +020012825
12826```
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +020012827Baseline: 8d66a4171baddcbe1569972f019e54130111202c
Bazel Release System724177f2022-03-25 20:57:02 +010012828
12829Cherry picks:
12830
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +020012831 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
12832 Remote: Cache merkle trees
12833 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
12834 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
12835 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
12836 Compile Apple tools as fat binaries if possible
12837 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
12838 Add protobuf as a well known module
12839 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
12840 Remote: Merge target-level exec_properties with
12841 --remote_default_exec_properties
12842 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
12843 Add -no_uuid for hermetic macOS toolchain setup
12844 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
12845 Remote: Fixes an issue when --experimental_remote_cache_async
12846 encounter flaky tests.
12847 + 77a002cce050e861fcc87c89acf7768aa5c97124:
12848 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
12849 has …
12850 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
12851 Fixes for the Starlark transition hash computation (#14251)
12852 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
12853 Do location expansion in copts of objc_library
12854 + 50274a9f714616d4735a560db7f617e53fb8d01b:
12855 [5.x] Remote: Add support for compression on gRPC cache (#14277)
12856 + 61bf2e5b5181cbe34a2f0d584053570943881804:
Bazel Release System724177f2022-03-25 20:57:02 +010012857 Automated rollback of commit
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +020012858 34c71465f84fa780217926db2e8e5ca3d6d4568c.
12859 + 79888fe7369479c398bafe064daa19a7ae30f710:
12860 Silence a zstd-jni GCC warning.
12861 + 063b5c9c2c09b4794010b9a169b44890ffc79ec4:
12862 Remote: Limit max number of gRPC connections by
12863 --remote_max_connections.
12864 + fd727ec96d861573dcbad3249d727a94eff84789:
12865 Do location expansion in copts of objc_library
12866 + 23d096931be9b7247eafa750999dd7feadde14c1:
12867 Fix _is_shared_library_extension_valid
12868 + 5cf1d6e1f78bc860fcd0e2e86eff6fe43ab4a5a2:
12869 Remove merging of java_outputs in JavaPluginInfo.
12870 + cea5f4f499aa832cf90c68898671869ce79d63f2:
12871 Cherrypick Bzlmod documentation (#14301)
12872 + 227e49e28e5122cddd6c4cb70686ff7bde3617ea:
12873 Format work requests according to ndjson spec
12874 + ae0a6c98d4f94abedbedb2d51c27de5febd7df67:
12875 Enable user_link_flags_feature for macosx cc_toolchain_config
12876 + 8c2c78cdc66cc9d5eb2cd59823c659892c1643a7:
12877 Remote: Use Action's salt field to differentiate cache across
12878 workspaces.
12879 + f94898915268be5670fb1e93a16c03e9b14d2a58:
12880 [5.x] Remote: Fix "file not found" error when remote cache is
12881 changed from enabled to disabled. (#14321)
12882 + 3069ac4e33dcca6f3d1abf55940cdd764d03bdbf:
12883 Delete marker file before fetching an external repository
12884 + c05c6261cdb2cacb7c9881c255c0ada435ab5182:
12885 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
12886 + d84f7998ef8f15e27376a0c8f25b320145c4ba9e:
12887 Fix remote spawn tests for remote_merkle_tree_cache=true
12888 + 59e16e944200555da377799aa0d9e8d0674d2e27:
12889 Show skipped tests as a warning
12890 + 76b3c242831f8e88835e3002a831a185a41fcc52:
12891 Build xcode-locator as a universal binary
12892 + aa52f2ddf9bab1ebd18e5431124061e813bfcd80:
12893 Exit collect_coverage.sh early if LCOV_MERGER is not set.
12894 + 4256d46327bad8638df91be1a5d4ef83b12b74c7:
12895 Automated rollback of commit
12896 d84f7998ef8f15e27376a0c8f25b320145c4ba9e.
12897 + dce24350befd08216b3910ae343670015444ff81:
12898 [apple] fix issues compiling C in objc_library for watchos/armv7k
12899 + bfc24139d93f8643686d91596ba347df2e01966a:
12900 5.x: Remote: Ignore blobs referenced in BEP if the generating
12901 action cannot be cached remotely. (#14389)
12902 + 5aef53a8884038f3c9f06e6dddb9372196253378:
12903 Remote: Don't blocking-get when acquiring gRPC connections.
12904 (#14420)
12905 + 005361c895da334beb873901e93aff06d180256e:
12906 Disable IncludeValidation for ObjC in bazel
12907 + d703b7b4f09fb3c389f99e52bac1f23930280b56:
12908 Update java_tools v11.6
12909 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
12910 Stop remote blob upload if upload is complete. (#14467)
12911 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
12912 [5.x] Make remote BES uploader better (#14472)
12913 + 2edab739e1f61fe8813230b03396ca46f0790089:
12914 Avoid too verbose warnings in terminal when cache issues
12915 + 1160485192b5e6d95bcd426b55cc9a35fc6b8614:
12916 Rename --project_id to --bes_instance_name
12917 + c63d9ecbe5fcb5716a0be21d8fc781d7aa5bbc30:
12918 Automated rollback of commit
12919 bfdfa6ebfd21b388f1c91f512291c848e1a92a96.
12920 + b341802700484d11c775bf02d80f43ba3f33b218:
12921 [apple] support watchos_arm64 in toolchain
12922 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
12923 Disable implicitly collecting baseline coverage for toolchain
12924 targets.
12925 + 302971e1b3d803069ac949c0085c0d2a3916c8ab:
12926 Automated rollback of commit
12927 7d09b4a15985052670244c277e4357557b4d0039.
12928 + 62002024ca7012ffe0f4fc74ac20b5471513c8c8:
12929 Bzlmod: Starlarkify default attr values for TypeCheckedTags
12930 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
12931 Fix build after rc4 cherrypicks (#14581)
12932 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
12933 Release 5.0.0 (2022-01-19)
12934 + 486d153d1981c3f47129f675de20189667667fa7:
12935 Find runfiles in directories that are themselves runfiles
12936 + 0de7bb95022057e8b89334f44759cf6f950e131f:
12937 Don't resolve symlinks for --sandbox_base
12938 + 8b60c90f3641591b65c4e153113aea562f1fab94:
12939 Remove uses of -lstdc++ on darwin
12940 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
12941 Allow Label instances as keys in select (#14755)
12942 + 3836ad029f202ca13c64c9f07e4568ea8ab2d9a6:
12943 Remote: Only waits for background tasks from remote execution.
12944 + 8734ccf9847eafb7193388cd9c6fa78faa78283f:
12945 Add the default solib dir to the rpath for cc_imports with
12946 transitions
12947 + 9e16a6484e94c358aa77a6ed7b1ded3243b65e8f:
12948 Flip --experimental_worker_allow_json_protocol
12949 + fce7ea8d5e0facfc125ae7c37bfb4b9a7c586e40:
12950 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
12951 cpu for tools when host cpu and exec cpu are different
12952 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
12953 Propagate --experimental_cc_implementation_deps to host config
12954 + 1c3a2456c95fd19974a5b2bd33c5ebdb2b2277e4:
12955 Support select() on constraint_value for aliases.
12956 + 67a133b431ccece22b7dd9a72f0837cff77d4360:
12957 Improve documentation for select()
12958 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
12959 Cherrypicks for experimental cc_shared_library (#14773)
12960 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
12961 [apple] support tvos_sim_arm64 in toolchain (#14779)
12962 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
12963 Cherry pick win arm64 (#14794)
12964 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
12965 [5.1.0] cherrypick subpackages support (#14780)
12966 + 86e2db7d67ec52bfe11c1f517f650653cee3ea26:
12967 Add a helper method for rules to depend on the cpp toolchain
12968 type.
12969 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
12970 UrlRewriter should be able to load credentials from .netrc
12971 (#14834)
12972 + 32d1606dac2fea730abe174c41870b7ee70ae041:
12973 Add "arch" struct field to repository_os
12974 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
12975 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
12976 + c2ddbd1954af5baab63b93f2b055a410a27832c8:
12977 Ignore missing include directory in JDK distribution.
12978 + 16de03595e21f7bf31818e717505b23c953b3b7d:
12979 Fix bazel coverage false negative
12980 + 0c74741742301abcf67452a7f591daec1c3a7635:
12981 Remote: Postpone the block waiting in `afterCommand` to
12982 `BlockWaitingModule` (#14833)
12983 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
12984 Switch to `ProcessHandle` for getting the PID (#14842)
12985 + a987b98ea0d6da2656c4115568ef9cbe8a164550:
12986 Fix uses of std++ on bsd
12987 + d184e4883bb7fc21de2f7aeea4304994de27e9ea:
12988 Remote: handle early return of compressed blobs uploads
12989 + 0b09e9e018c557da04c9f978d25a66d963cd6cb6:
12990 Add removeprefix/removesuffix to Starlark strings
12991 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
12992 Fix default CPU for macOS and iOS (#14923)
12993 + cd24f39750d7b08f6f31c82d3a23cc329c7fc78e:
12994 Add paramfile support for def_parser, since in rare cases on
12995 Windows command line character limit was reached.
12996 + 0b1beefd1e7611dc9b9f559d00d8ff76aabb0f32:
12997 Normalize rpath entries to guard against missing default solib
12998 dir
12999 + 24e82426e689853b0d9a04e7b9b6f13e145cf2d6:
13000 Fix aggressive params file assumption
13001 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
13002 Fix precompiled libs not in runfiles of cc_shared_library
13003 (#14943)
13004 + 764614e0f0287125269e7a92e909a44624bcb360:
13005 Bzlmod: Allow multiple `use_extension`s on the same extension
13006 (#14945)
13007 + fa761f84994f18db383fbe9aaea524e4385da13a:
13008 Fix typo in `apple_common.platform` docs
13009 + f7d8288bd7b16c7f2e010aa8ddc241cf2ba8e0d5:
13010 Yield a Proxy for addresses without protocol
13011 + 8cefb8bed4ac82df8640682517372a9249732352:
13012 Avoid merging URLs in HttpUtils
13013 + b4804807fc2c184cc36df9e69e472942c01941b8:
13014 Make protocOpts() public. (#14952)
13015 + 113eaca5862c48797654ae2a3acbb6e15d761485:
13016 Do not hide BulkTransferException messages when there were more
13017 than one exception
13018 + b1bf9d6c5f85fc4fda0dc48bc3d3e2fe26880867:
13019 merkle_tree_cache: change default size to 1000
13020 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
13021 Add --experimental_repository_cache_urls_as_default_canonical_id
13022 to help detect broken repository URLs (#14989)
13023 + f4214746fcd15f0ef8c4e747ef8e3edca9f112a5:
13024 Expose the logic to read user netrc file
13025 + b858ec39aebd7e586af5438aa2035db2adebf9a4:
13026 Correct cpu and os values of `local_config_cc_toolchains` targets
13027 + 5e79972c05d89280f0cf1fa620f807366847bac6:
13028 Expose CoverageOutputGenerator on a Fragment (#14997)
13029 + 78f03110e0dab42f37e427fd524e72706e036d74:
13030 Correct error runfiles cc_shared_library (#14998)
13031 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
13032 [5.1] Adding Starlark dependencies to the package //external
13033 (#14991)
13034 + a73aa12be65454ac8cfb5a8f3e056c420402f997:
13035 Remote: Fix crashes with InterruptedException when using http
13036 cache.
13037 + f8707c07f153ac4ac2ec4b210321f1a16343006d:
13038 Account for interface libraries in cc_shared_library
13039 + a570f5fdb1618a6c272d18bebaa712d3b2af3975:
13040 Fix coverage runfiles directory issue
13041 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
13042 Do not validate input-only settings in transitions (#15048)
13043 + 71747ccc9d0032a865854613329362563c0574df:
13044 Filter out system headers on macOS.
13045 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
13046 Update Bazel bootstrap documentation and remove obsolete flags.
13047 (#15065)
13048 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
13049 [5.1] Undocument --bes_best_effort (#15066)
13050 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
13051 Fix conflicting actions error when specifying
13052 --host_macos_minimum_os (#15068)
13053 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
13054 [5.1] Remote: Action should not be successful and cached if
13055 outputs were not created (#15071)
13056 + 00d74ff737cccd60305ee58d85313556a077152a:
13057 Support decompressing zstd tar archives for repository rules.
13058 + f5857830bb68bd05ffc257506575ed37a8128933:
13059 Remote: Don't check TreeArtifact output
13060 + efb2b80953983dce499d453a9f55a74ffaf8c42d:
13061 osx_cc_wrapper: Only expand existing response files
13062 + c771c43b870fb8618db7bdab6725ab40cac4976d:
13063 Remote: Fix crashes by InterruptedException when dynamic
13064 execution is enabled. (#15091)
13065 + 3785677cc84fc4024fda85575c05efbde5d512fc:
13066 Use python3 on macOS
13067 + 815d9e499a32fd4d87525ac0c698c293cf26433d:
13068 Release 5.1.0 (2022-03-24)
13069 + 1fbb69e366034484887e00c6006c7b79508765ed:
13070 Prepare 5.1.1 release
13071 + df153df9656e0e197f67622bb11f7d77e19238a0:
13072 Fix CODEOWNERS syntax
13073 + d418245e8cdd6eef9c6ba326f96fd4aabd046fe2:
13074 Remote: Don't check declared outputs for failed action (#15181)
13075 + ffa2a0b197d1f4ffe2031fd0b1b40da9d126793b:
13076 Upgrade abseil version to the latest (#15183)
13077 + 8ae15207ecf0be3f45b8cd249077a2c1896e2b09:
13078 Fix windows_export_all_symbols in cc_shared_library (#15190)
13079 + 94cc0985ea07a2d69ef07ac9d3a9943e094794f2:
13080 Support ZIP files with total number of disks = 0 (#15200)
Bazel Release System724177f2022-03-25 20:57:02 +010013081```
13082
Bazel Release System724177f2022-03-25 20:57:02 +010013083Important changes:
13084
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +020013085 - alias() can now select() directly on constraint_value()
13086
13087 Fixes https://github.com/bazelbuild/bazel/issues/13047.
13088
13089 Closes #14310.
Bazel Release System724177f2022-03-25 20:57:02 +010013090 - Fixed an issue where Bazel could erroneously report a test passes
13091 in coverage mode without actually running the test.
Bazel Release System724177f2022-03-25 20:57:02 +010013092 - Make protocOpts() publicly accessible.
Bazel Release System724177f2022-03-25 20:57:02 +010013093 - Add coverage configuration fragment, used to expose
13094 output_generator label.
13095 - Bazel now no longer includes system headers on macOS in coverage
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +020013096 reports (#14969).
13097
13098 Closes #14971.
Bazel Release System724177f2022-03-25 20:57:02 +010013099
Bazel Release Systemf5d4a7b2022-04-08 17:45:44 +020013100This 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 +010013101
Bazel Release System45b225d2022-03-24 14:57:44 +010013102## Release 5.1.0 (2022-03-24)
Bazel Release System3c156f32022-01-19 15:04:51 +010013103
13104```
13105Baseline: 8d66a4171baddcbe1569972f019e54130111202c
13106
13107Cherry picks:
13108
13109 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
13110 Remote: Cache merkle trees
13111 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
13112 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
13113 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
13114 Compile Apple tools as fat binaries if possible
13115 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
13116 Add protobuf as a well known module
13117 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
13118 Remote: Merge target-level exec_properties with
13119 --remote_default_exec_properties
13120 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
13121 Add -no_uuid for hermetic macOS toolchain setup
13122 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
13123 Remote: Fixes an issue when --experimental_remote_cache_async
13124 encounter flaky tests.
13125 + 77a002cce050e861fcc87c89acf7768aa5c97124:
13126 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
13127 has …
13128 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
13129 Fixes for the Starlark transition hash computation (#14251)
13130 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
13131 Do location expansion in copts of objc_library
13132 + 50274a9f714616d4735a560db7f617e53fb8d01b:
13133 [5.x] Remote: Add support for compression on gRPC cache (#14277)
13134 + 61bf2e5b5181cbe34a2f0d584053570943881804:
13135 Automated rollback of commit
13136 34c71465f84fa780217926db2e8e5ca3d6d4568c.
13137 + 79888fe7369479c398bafe064daa19a7ae30f710:
13138 Silence a zstd-jni GCC warning.
Bazel Release System45b225d2022-03-24 14:57:44 +010013139 + 8d5973d29d60c0c615838c534ee27f93377cf5af:
Bazel Release System3c156f32022-01-19 15:04:51 +010013140 Remote: Limit max number of gRPC connections by
13141 --remote_max_connections.
13142 + fd727ec96d861573dcbad3249d727a94eff84789:
13143 Do location expansion in copts of objc_library
13144 + 23d096931be9b7247eafa750999dd7feadde14c1:
13145 Fix _is_shared_library_extension_valid
Bazel Release System45b225d2022-03-24 14:57:44 +010013146 + 7632928a116efc4e28a02ec9206870663bcaacf7:
Bazel Release System3c156f32022-01-19 15:04:51 +010013147 Remove merging of java_outputs in JavaPluginInfo.
13148 + cea5f4f499aa832cf90c68898671869ce79d63f2:
13149 Cherrypick Bzlmod documentation (#14301)
Bazel Release System45b225d2022-03-24 14:57:44 +010013150 + 299e50aae9d8c0b7f0d47aa2ce3d2658a3a80a94:
13151 Format work requests according to ndjson spec (#14314)
13152 + e53ae63c04a7158b78da19bc76ede57a8cc31673:
Bazel Release System3c156f32022-01-19 15:04:51 +010013153 Enable user_link_flags_feature for macosx cc_toolchain_config
Bazel Release System45b225d2022-03-24 14:57:44 +010013154 (#14313)
13155 + b587be37b3b817879d700d7ee55c44cd884b0905:
Bazel Release System3c156f32022-01-19 15:04:51 +010013156 Remote: Use Action's salt field to differentiate cache across
Bazel Release System45b225d2022-03-24 14:57:44 +010013157 workspaces. (#14320)
Bazel Release System3c156f32022-01-19 15:04:51 +010013158 + f94898915268be5670fb1e93a16c03e9b14d2a58:
13159 [5.x] Remote: Fix "file not found" error when remote cache is
13160 changed from enabled to disabled. (#14321)
Bazel Release System45b225d2022-03-24 14:57:44 +010013161 + dc76f74d3a6f77de03c49234386bf0ca7d15bdcc:
Bazel Release System3c156f32022-01-19 15:04:51 +010013162 Delete marker file before fetching an external repository
Bazel Release System45b225d2022-03-24 14:57:44 +010013163 (#14323)
13164 + fabdff40070acf415282543b72cf114e2b5723f6:
Bazel Release System3c156f32022-01-19 15:04:51 +010013165 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
Bazel Release System45b225d2022-03-24 14:57:44 +010013166 (#14331)
13167 + 541ed05702751a5b061b22f1ff98f0cef17af1a5:
13168 Fix remote spawn tests for remote_merkle_tree_cache=true (#14334)
13169 + aa884df6b09ed19fccd83aad67f39653fde5fbed:
13170 Show skipped tests as a warning (#14345)
13171 + 6916fc1c4c49134ee76b9a725deddd1e6bcab24a:
13172 Build xcode-locator as a universal binary (#14351)
13173 + ffa12adb44e86772ae48eeb5a387f172130407fa:
Bazel Release System3c156f32022-01-19 15:04:51 +010013174 Exit collect_coverage.sh early if LCOV_MERGER is not set.
Bazel Release System45b225d2022-03-24 14:57:44 +010013175 (#14359)
13176 + b46de754aba0f24d67cd9c882f8a82428915fae5:
Bazel Release System3c156f32022-01-19 15:04:51 +010013177 Automated rollback of commit
Bazel Release System45b225d2022-03-24 14:57:44 +010013178 d84f7998ef8f15e27376a0c8f25b320145c4ba9e. (#14358)
13179 + 24a340a50a11e255dff656d2ee9b3dcfb093b729:
Bazel Release System3c156f32022-01-19 15:04:51 +010013180 [apple] fix issues compiling C in objc_library for watchos/armv7k
13181 + bfc24139d93f8643686d91596ba347df2e01966a:
13182 5.x: Remote: Ignore blobs referenced in BEP if the generating
13183 action cannot be cached remotely. (#14389)
13184 + 5aef53a8884038f3c9f06e6dddb9372196253378:
13185 Remote: Don't blocking-get when acquiring gRPC connections.
13186 (#14420)
Bazel Release System45b225d2022-03-24 14:57:44 +010013187 + 2fb7dfe7b35b5997cc5fbcd1d98612b99419f097:
13188 Disable IncludeValidation for ObjC in bazel (#14440)
13189 + 7deb940f3840e6ac3233963a9b68227e7f0f4a9e:
13190 Update java_tools v11.6 (#14423)
Bazel Release System3c156f32022-01-19 15:04:51 +010013191 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
13192 Stop remote blob upload if upload is complete. (#14467)
13193 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
13194 [5.x] Make remote BES uploader better (#14472)
Bazel Release System45b225d2022-03-24 14:57:44 +010013195 + d7f134110631641ea8c3f9b19b37165bb177ef2e:
13196 Avoid too verbose warnings in terminal when cache issues (#14504)
13197 + 2b48c6b9a447756fcb3295b8a75899b96efa7fd4:
13198 Rename --project_id to --bes_instance_name (#14507)
13199 + 7c7f102576c917acf6c9d6013a5c7c4783bf396d:
Bazel Release System3c156f32022-01-19 15:04:51 +010013200 Automated rollback of commit
Bazel Release System45b225d2022-03-24 14:57:44 +010013201 bfdfa6ebfd21b388f1c91f512291c848e1a92a96. (#14515)
13202 + 9c1c622fed219cb6b9c0656ebe4a4f3c117029b9:
13203 [apple] support watchos_arm64 in toolchain (#14527)
Bazel Release System3c156f32022-01-19 15:04:51 +010013204 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
13205 Disable implicitly collecting baseline coverage for toolchain
13206 targets.
Bazel Release System45b225d2022-03-24 14:57:44 +010013207 + 48a0fc51ccf6a3a263b9f8d96921d84d4243e0e6:
Bazel Release System3c156f32022-01-19 15:04:51 +010013208 Automated rollback of commit
13209 7d09b4a15985052670244c277e4357557b4d0039.
Bazel Release System45b225d2022-03-24 14:57:44 +010013210 + a233aaa649572b7173ea27aceed31cb705d7ba9b:
Bazel Release System3c156f32022-01-19 15:04:51 +010013211 Bzlmod: Starlarkify default attr values for TypeCheckedTags
13212 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
13213 Fix build after rc4 cherrypicks (#14581)
Bazel Release System45b225d2022-03-24 14:57:44 +010013214 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
13215 Release 5.0.0 (2022-01-19)
13216 + d53f53cf5cc05c738a9857ca95059ce8903107cd:
13217 Find runfiles in directories that are themselves runfiles
13218 (#14737)
13219 + 167e79f08a95ae14edfb44d85452c9c74e0f1a3c:
13220 Don't resolve symlinks for --sandbox_base (#14748)
13221 + 22bede95a5a74c61571d3b50c14488b0e922ff63:
13222 Remove uses of -lstdc++ on darwin (#14750)
13223 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
13224 Allow Label instances as keys in select (#14755)
13225 + a5f2813acf3e31aeb3037d80a6f9d7fddf76a1c8:
13226 Remote: Only waits for background tasks from remote execution.
13227 (#14752)
13228 + d17a769965f12363f339c7b93524f49dbcdd1b1e:
13229 Add the default solib dir to the rpath for cc_imports with
13230 transitions (#14757)
13231 + 53ee76e96365bdea88847f77706d55f2c39b9273:
13232 Flip --experimental_worker_allow_json_protocol (#14749)
13233 + 21ff46a639a83084975251ca7c21cfc8d74763eb:
13234 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
13235 cpu for tools when host cpu and exec cpu are different (#14751)
13236 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
13237 Propagate --experimental_cc_implementation_deps to host config
13238 + 0df1851f0759279d84c79ea6731552437c95ce65:
13239 Support select() on constraint_value for aliases. (#14754)
13240 + 58ecec37747636b3483bbcba29a7f3e0e2372697:
13241 Improve documentation for select() (#14769)
13242 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
13243 Cherrypicks for experimental cc_shared_library (#14773)
13244 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
13245 [apple] support tvos_sim_arm64 in toolchain (#14779)
13246 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
13247 Cherry pick win arm64 (#14794)
13248 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
13249 [5.1.0] cherrypick subpackages support (#14780)
13250 + af34c452c12dae8758340dc5c284cf30f3c80302:
13251 Add a helper method for rules to depend on the cpp toolchain
13252 type. (#14795)
13253 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
13254 UrlRewriter should be able to load credentials from .netrc
13255 (#14834)
13256 + 65904046031325c418734dfda994bdeff4134160:
13257 Add "arch" struct field to repository_os (#14835)
13258 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
13259 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
13260 + 59384ddee429ca363022c2a03b62a5a9a43c31c4:
13261 Ignore missing include directory in JDK distribution. (#14832)
13262 + 344e8f8e97db2e2aa9b2fce7d68083a7549e4bc6:
13263 Fix bazel coverage false negative (#14836)
13264 + 0c74741742301abcf67452a7f591daec1c3a7635:
13265 Remote: Postpone the block waiting in `afterCommand` to
13266 `BlockWaitingModule` (#14833)
13267 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
13268 Switch to `ProcessHandle` for getting the PID (#14842)
13269 + 031a772acfd304fb5678e6a53e6c4ac3b99103ff:
13270 Fix uses of std++ on bsd (#14860)
13271 + 8ebd70b0c97c8bd584647f219be8dd52217cb5cf:
13272 Remote: handle early return of compressed blobs uploads (#14885)
13273 + 50bb742fc35c04ab422a7ce723160b27d6900e6c:
13274 Add removeprefix/removesuffix to Starlark strings (#14899)
13275 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
13276 Fix default CPU for macOS and iOS (#14923)
13277 + ed7a10d6170049877a07cf27edaf8db65d17f77b:
13278 Add param file for def parser action (#14925)
13279 + e624aff6d63dd6264d7ff56ec9650b7a1aeb3a36:
13280 Normalize rpath entries to guard against missing default solib
13281 dir (#14929)
13282 + c1ecca22d2cb761bd094fcd40eb8b13e826e777e:
13283 Fix aggressive params file assumption (#14930)
13284 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
13285 Fix precompiled libs not in runfiles of cc_shared_library
13286 (#14943)
13287 + 764614e0f0287125269e7a92e909a44624bcb360:
13288 Bzlmod: Allow multiple `use_extension`s on the same extension
13289 (#14945)
13290 + 85d7ed68fa7bd84a5a23baf0431cbb04d64d7fa6:
13291 Fix typo in `apple_common.platform` docs (#14958)
13292 + a6a430540879bd866dfbef5cd048b2a4ab6bd883:
13293 Yield a Proxy for addresses without protocol (#14956)
13294 + 698da7e563b76633c973ea3029b7e313b69545fd:
13295 Avoid merging URLs in HttpUtils (#14954)
13296 + b4804807fc2c184cc36df9e69e472942c01941b8:
13297 Make protocOpts() public. (#14952)
13298 + 61cfa1d01eefb0923e8e3029ab9e92fdfe77ff50:
13299 Do not hide BulkTransferException messages when there were more
13300 than one exception (#14986)
13301 + 0764821a8c1175fbcbca630d3681901244b33095:
13302 merkle_tree_cache: change default size to 1000 (#14984)
13303 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
13304 Add --experimental_repository_cache_urls_as_default_canonical_id
13305 to help detect broken repository URLs (#14989)
13306 + 87ef5ce4103be75e8d9935e071fa215a481536e1:
13307 Expose the logic to read user netrc file (#14990)
13308 + 785c7ecafa9b93e700e846397c3a13c320c1dbdd:
13309 Correct cpu and os values of `local_config_cc_toolchains`
13310 targets (#14995)
13311 + 5e79972c05d89280f0cf1fa620f807366847bac6:
13312 Expose CoverageOutputGenerator on a Fragment (#14997)
13313 + 78f03110e0dab42f37e427fd524e72706e036d74:
13314 Correct error runfiles cc_shared_library (#14998)
13315 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
13316 [5.1] Adding Starlark dependencies to the package //external
13317 (#14991)
13318 + 6cd6a27d4480eff91258ef8258b5af1901acde65:
13319 Remote: Fix crashes with InterruptedException when using http
13320 cache. (#14999)
13321 + 91a580ad198a9d7f179c1822d55f75ba5318e2ce:
13322 Fix interface_library-only libraries_to_link for
13323 cc_shared_library (#15046)
13324 + 1345938867e5c0c381f46cccf889c7b2b20a867a:
13325 Fix coverage runfiles directory issue (#15047)
13326 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
13327 Do not validate input-only settings in transitions (#15048)
13328 + f19d6107bca9aea7742bd66eb3080f29fcf3bd81:
13329 Filter out system headers on macOS. (#15020)
13330 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
13331 Update Bazel bootstrap documentation and remove obsolete flags.
13332 (#15065)
13333 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
13334 [5.1] Undocument --bes_best_effort (#15066)
13335 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
13336 Fix conflicting actions error when specifying
13337 --host_macos_minimum_os (#15068)
13338 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
13339 [5.1] Remote: Action should not be successful and cached if
13340 outputs were not created (#15071)
13341 + 6d26dc74da2602817d56b0507ec79394c35a3781:
13342 Support decompressing zstd tar archives for repository rules.
13343 (#15087)
13344 + 376cd472bbf7d81c7feb79563e7894cc3d74151a:
13345 Remote: Don't check TreeArtifact output (#15085)
13346 + 48b60d22bca0158d194b78481ff86b0ac251243f:
13347 osx_cc_wrapper: Only expand existing response files (#15090)
13348 + c771c43b870fb8618db7bdab6725ab40cac4976d:
13349 Remote: Fix crashes by InterruptedException when dynamic
13350 execution is enabled. (#15091)
13351 + 3b2d686f2976e66ca4f93b568f2262a88621855a:
13352 Use python3 on macOS (#15102)
Bazel Release Systemf0f1fb42022-01-14 17:48:08 +010013353```
13354
13355Important changes:
13356
Bazel Release System45b225d2022-03-24 14:57:44 +010013357 - alias() can now select() directly on constraint_value()
13358
13359 Fixes https://github.com/bazelbuild/bazel/issues/13047.
13360
13361 Closes #14310.
13362 - Fixed an issue where Bazel could erroneously report a test passes
13363 in coverage mode without actually running the test.
13364 - Make protocOpts() publicly accessible.
13365 - Add coverage configuration fragment, used to expose
13366 output_generator label.
13367 - Bazel now no longer includes system headers on macOS in coverage
13368 reports (#14969).
13369
13370 Closes #14971.
Bazel Release Systemf0f1fb42022-01-14 17:48:08 +010013371
Bazel Release System45b225d2022-03-24 14:57:44 +010013372This 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 +010013373
Bazel Release Systemc0050dd2021-11-11 21:26:22 +010013374## Release 6.0.0-pre.20211101.2 (2021-11-11)
13375
13376```
13377Baseline: 9c65356cedcf4e68077219c10f5a7bb39d38054b
13378
13379Cherry picks:
13380
13381 + 2c9721f9ba11979eee1fd95fe793b52369df99ac:
13382 Automated rollback of commit
13383 9c65356cedcf4e68077219c10f5a7bb39d38054b.
13384```
13385
13386Important changes:
13387
13388 - Deprecate --incompatible_applicable_licenses flag, in preparation
13389 for removal in Bazel 6.x.
13390
13391This 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.
13392
Bazel Release System9d6fd6d2021-11-03 17:44:05 +010013393## Release 6.0.0-pre.20211025.1 (2021-11-03)
13394
13395```
13396Baseline: 5c04973b000b6e1819d6b51d238498a0b507c7af
13397```
13398
13399Important changes:
13400
13401 - Bazel no longer supports Java 8. From this version on, the
13402 minimum required JDK is OpenJDK 11.
13403
13404This release contains contributions from many people at Google, as well as Benjamin Peterson, John Laxson, Keith Smiley, Thi Don.
13405
Bazel Release System276aef32021-10-26 17:40:43 +020013406## Release 6.0.0-pre.20211019.1 (2021-10-26)
13407
13408```
13409Baseline: 406fc1ba5fae98843c99f89a43dcbdbca0d90274
13410```
13411
13412Incompatible changes:
13413
13414 - Remove `--experimental_profile_cpu_usage`.
13415 - flipped --incompatible_java_common_parameters (see #12373)
13416
13417This release contains contributions from many people at Google, as well as ecngtng, Fabian Meumertzheim, Keith Smiley, Mauricio Galindo, Thaler Benedek.
13418
Bazel Release System15a09392021-10-20 21:00:46 +020013419## Release 5.0.0-pre.20211011.2 (2021-10-20)
13420
13421```
13422Baseline: 3b3bad9e774891856c198738c46d547de954b84a
13423
13424Cherry picks:
13425
13426 + d8c23189c9118f99cfc3eaac98976b7c6fdacae0:
13427 Automated rollback of commit
13428 2571ce2d9e72ee60326ef524fee1702cb2dd07e7.
13429```
13430
13431Incompatible changes:
13432
13433 - Removed --action_graph from the dump command.
13434 - Remove `--{experimental_,}json_trace_compression` option.
13435
13436Important changes:
13437
13438 - The --experimental_existing_rules_immutable_view flag has been
13439 renamed to --incompatible_existing_rules_immutable_view
13440
13441This release contains contributions from many people at Google, as well as Alex Eagle, hvadehra, Keith Smiley, Torgil Svensson, Yuval.
13442
Bazel Release System6c21d272021-10-19 16:14:18 +020013443## Release 5.0.0-pre.20211006.1 (2021-10-19)
13444
13445```
13446Baseline: 681886de2901a2f7920288253674927cf13f1585
13447```
13448
13449Important changes:
13450
13451 - incompatible_disable_depset_items is flipped
13452
13453This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Keith Smiley, Thomas Carmet, Timothe Peignier.
13454
Bazel Release System60eb0012021-10-07 17:43:31 +020013455## Release 5.0.0-pre.20210929.1 (2021-10-07)
13456
13457```
13458Baseline: 61a5fae1b49ed067350d93578da268715031df06
13459```
13460
13461Important changes:
13462
13463 - The deprecated "relative_to_caller_repository" parameter has been
13464 removed from the Label constructor.
13465 - The toolchain transition is now enabled for all toolchains.
13466
13467This release contains contributions from many people at Google, as well as Artem V. Navrotskiy, hvadehra, Ikko Ashimine, Paul Gschwendtner, ron-stripe, Yuval K.
13468
Bazel Release Systemc2d6def2021-09-30 19:26:44 +020013469## Release 5.0.0-pre.20210923.7 (2021-09-30)
13470
13471```
13472Baseline: 9a765c8b498a72e20af6c391bef01e794913c317
13473
13474Cherry picks:
13475
13476 + f959a22bc59229b723cfca8c987da210b03b8a8d:
13477 Rollback.
13478```
13479
13480Important changes:
13481
13482 - Add support to length-delimited protos as undeclared output
13483 annotations []
13484
13485This release contains contributions from many people at Google, as well as Benjamin Peterson, Brandon Jacklyn, Rabi Shanker Guha.
13486
Bazel Release System1b7bb2fd2021-09-27 13:05:45 +020013487## Release 5.0.0-pre.20210921.1 (2021-09-27)
13488
13489```
13490Baseline: 11f1a6d3ce529a63d4b7111c62ae504ceac2a019
13491```
13492
13493Incompatible changes:
13494
13495 - Remove --bep_publish_used_heap_size_post_build
13496 - JSON trace profile: rename counter names.
13497
13498Important changes:
13499
13500 - Adds --experimental_existing_rules_immutable_view flag to make the
13501 native.existing_rule and native.existing_rules functions more
13502 efficient by
13503 returning immutable, lightweight dict-like view objects instead
13504 of mutable
13505 dicts.
13506
13507This release contains contributions from many people at Google, as well as Wren Turkal.
13508
Bazel Release System865f0f42021-09-23 13:40:49 +020013509## Release 5.0.0-pre.20210916.1 (2021-09-23)
13510
13511```
13512Baseline: e4a26b6391fd2d3112a29bf81b4397055c854184
13513```
13514
13515This release contains contributions from many people at Google, as well as Peter Kasting, Ulrik Falklof.
13516
Bazel Release System717b2352021-09-17 18:49:37 +020013517## Release 5.0.0-pre.20210913.1 (2021-09-17)
13518
13519```
13520Baseline: 0017fd23e1ff9aea7241c92a503024e3f2a3425b
13521```
13522
13523This release contains contributions from many people at Google, as well as Keith Smiley, Mathieu Olivari, Yannic Bonenberger.
13524
Bazel Release System139abf42021-09-14 20:51:20 +020013525## Release 5.0.0-pre.20210907.1 (2021-09-14)
13526
13527```
13528Baseline: 9cb59369a84d9328c2929eefcb58c1b972ab15f2
13529```
13530
13531Important changes:
13532
13533 - The `--toolchain_resolution_debug` flag now accepts regexes
13534 matching targets, as well as toolchain types, when choosing what
13535 debug messages to print.
13536
13537This release contains contributions from many people at Google, as well as Benjamin Peterson, frazze-jobb, Tetsuo Kiso.
13538
Bazel Release System50550962021-09-10 17:35:37 +020013539## Release 5.0.0-pre.20210831.2 (2021-09-10)
13540
13541```
13542Baseline: 14fe5dff967cf91f130746f646d1bb1cfc1053f2
13543
13544Cherry picks:
13545
13546 + 6f5c4bb4d17abd6b9654f255c12775eb35638000:
13547 Automated rollback of commit
13548 8181f0abe6591bc14957e6a941a6556fb040ca9f.
13549```
13550
13551Important changes:
13552
13553 - The --all_incompatible_changes flag is now a no-op
13554
13555This release contains contributions from many people at Google, as well as Keith Smiley, kekxv, ron-stripe, Sergey Tyurin.
13556
Bazel Release Systemd13f58b2021-09-03 20:30:13 +020013557## Release 5.0.0-pre.20210826.1 (2021-09-03)
13558
13559```
13560Baseline: f53c389dbd4b0ae66307e9bd4a72b36b3d284ec3
13561```
13562
13563Incompatible changes:
13564
13565 - Removing java_common.javac_jar Starlark call.
13566 - native.existing_rule now returns select values in a form that is
13567 accepted by rule instantiation. This is a breaking API change
13568 because there is some code that relies on the precise type
13569 returned, including brittle workarounds for this bug specifically
13570 and insufficiently flexible workarounds for other issues with the
13571 intersection of select and native.existing_rule.
13572 - flipped incompatible_use_toolchain_resolution_for_java_rules, see
13573 #7849
13574 - Query output=xml/proto/location for source files will now show
13575 the location of line 1 of the source file (as the new default)
13576 instead of its location in the BUILD file.
13577 - Specifying a target pattern underneath a directory specified by
13578 .bazelignore will now emit a warning, not an error.
13579 - Query `--order_output=auto` will now sort lexicographically.
13580 However, when `somepath` is used as a top level function (e.g.
13581 `query 'somepath(a, b)'`), it will continue to output in
13582 dependency order. If you do not want the lexicographical output
13583 ordering, specify another `--order_output` value (`no`, `deps` or
13584 `full`) based on what ordering you require.
13585 - In the build event stream,
13586 BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
13587 Its value was always mostly meaningless.
13588 BuildMetrics.TargetMetrics.targets_configured and
13589 BuildMetrics.ActionSummary.actions_created now include configured
13590 aspect data.
13591 - //visibility:legacy_public has been removed.
13592 - Flip and remove incompatible_dont_collect_so_artifacts
13593 (https://github.com/bazelbuild/bazel/issues/13043).
13594 - Remove flag --experimental_no_product_name_out_symlink: it is
13595 always true.
13596 - The Starlark method generate_dsym in objc fragment has
13597 been deleted. Please use the equivalent apple_generate_dsym in
13598 cpp
13599 fragment instead.
13600 - Native libraries in data attribute are not collected. See
13601 https://github.com/bazelbuild/bazel/issues/13550 for details
13602 - Enforce the `--profile` path to be absolute.
13603 - Enforce the --memory_profile path to be absolute.
13604 - JavaToolchainInfo.jvm_opt returns Depset instead of a list.
13605 - --apple_sdk has been deleted. It is a no-op.
13606 - --bep_publish_used_heap_size_post_build is now a no-op and will
13607 be deleted in a future release. Use --memory_profile=/dev/null
13608 instead.
13609 - Flipped --incompatible_disallow_resource_jars (see
13610 https://github.com/bazelbuild/bazel/issues/13221).
13611
13612New features:
13613
13614 - Args.add_all and Args.add_joined can now accept closures in
13615 map_each if explicitly enabled via allow_closure.
13616 - Add `--bes_header` flag to pass extra headers to the BES server.
13617
13618Important changes:
13619
13620 - Flag --incompatible_objc_compile_info_migration is removed. See
13621 #10854.
13622 - Flag --incompatible_objc_compile_info_migration is removed. See
13623 #10854.
13624 - Flag --incompatible_objc_compile_info_migration is removed. See
13625 #10854.
13626 - none
13627 PAIR=cmita
13628 - The --incompatible_load_python_rules_from_bzl flag is now a no-op.
13629 - Filter all (instead of just C++) source files for coverage output
13630 according to --instrumentation_filter and
13631 --instrument_test_targets.
13632 - The `--incompatible_disable_native_apple_binary_rule` flag has
13633 been added which disables the native `apple_binary` rule. Users
13634 who need to use `apple_binary` directly (if they cannot use one
13635 of the more specific Apple rules) should load it from
13636 https://github.com/bazelbuild/rules_apple.
13637 - The Android rules' --use_singlejar_apkbuilder is now a no-op.
13638 SingleJar will always be used to build APKs.
13639 - dict.setdefault(key, ...) now fails if dict is frozen, even if it
13640 already contains key. This is an incompatible API change.
13641 - Flag --incompatible_objc_provider_remove_compile_info is removed.
13642 See #11359.
13643 - Starlark now permits def statements to be nested (closures).
13644 - native.existing_rule now returns select values in a form that is
13645 accepted by rule instantiation. This is a breaking API change,
13646 though the fallout is expected to be small.
13647 - Starlark now supports lambda (anonymous function) expressions.
13648 - The "test" and "coverage" commands no longer return 3 when a
13649 test action fails because of a system error. Instead, the exit
13650 code
13651 reflects the type of system error.
13652 - The undocumented ctx.expand feature no longer exists.
13653 - Make --legacy_dynamic_scheduler a no-op flag.
13654 - Multiplex persistent workers can now use the JSON protocol.
13655 - native.existing_rule now returns a mutable list, not a tuple, for
13656 a list-valued attributes. This is an incompatible API change.
13657 - Roll back change to have native.existing_rules use list instead
13658 of tuple.
13659 - BEP includes test suite expansions.
13660 - config_setting now honors `visibility` attribute (and defaults to
13661 `//visibility:public`)
13662 - Change the MultiArchSplitTransitionProvider to be based on
13663 platform type + CPU instead of fixed "ios_" + cpu.
13664 - enforce config_setting visibility. See
13665 https://github.com/bazelbuild/bazel/issues/12932 for details.
13666 - add a flag to build v4 signature file
13667 - Added _direct_source_jars output group to Java related targets.
13668 END_PUBLIC
13669 - pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
13670 Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
13671 - Allowing the lipo operations to be conditional in the
13672 linkMultiArchBinary API for Apple binaries. Single architecture
13673 slices are now returned through AppleBinaryOutput and the
13674 Starlark API.
13675 - Release restriction for "-" in the package name for Python
13676 sources. Now `py_binary` and `py_test` targets can have main
13677 source file with "-" in the path.
13678 - Users consuming BEP may assume that a `named_set_of_files` event
13679 will
13680 appear before any event referencing that `named_set` by ID. This
13681 allows consumers
13682 to process the files for such events (eg. `TargetCompleted`)
13683 immediately.
13684 - BEP includes all files from successful actions in requested
13685 output groups.
13686 Previously, an output group's files were excluded if any file in
13687 the output group
13688 was not produced due to a failing action. Users can expect BEP
13689 output to be larger
13690 for failed builds.
13691 - In BEP, TargetComplete.output_group has a new field `incomplete`
13692 indicating that the file_sets field is missing one or more
13693 declared artifacts
13694 whose generating actions failed.
13695 - The flag `--toolchain_resolution_debug` now takes a regex
13696 argument, which is used to check which toolchain types should
13697 have debug info printed. You may use `.*` as an argument to keep
13698 the current behavior of debugging every toolchain type.
13699 - Add runfiles.merge_all() for merging a sequence of runfiles
13700 objects.
13701 - runfiles.merge() and merge_all() now respect
13702 --nested_set_depth_limit.
13703 If you hit the depth limit because you were calling merge() in a
13704 loop, use
13705 merge_all() on a sequence of runfiles objects instead.
13706 - Bazel will no longer create a bazel-out symlink if
13707 --symlink_prefix is specified: the directory pointed to via the
13708 bazel-out symlink is accessible via ${symlink_prefix}-out. If
13709 this causes problems for you, set
13710 --experimental_no_product_name_out_symlink=false in your builds
13711 and file an issue.
13712 - Updates worker protocol with cancellation fields, and adds
13713 experimental_worker_cancellation flag to control cancellation.
13714 - Simplify build failure output by always using `NNN arguments`.
13715 - trim_test_configuration now defaults to on
13716 - Mark genrule.srcs as a source attribute for coverage.
13717 - When using --allow_analysis_failures (for example, via
13718 bazel-skylib's
13719 analysistest with `expect_failure = True`), analysis-time
13720 failures in aspect
13721 implementation functions will now be propagated and saved in
13722 AnalysisFailureInfo, just like analysis-time failures in rules.
13723 - cquery --noimplicit_deps now correctly filters out resolved
13724 cc_toolchains
13725 - Sign apks deterministically.
13726 - Make gcov optional in cc_toolchain tools.
13727 - If --experimental_prefer_mutual_xcode is passed, Bazel will
13728 choose the local default (instead of the newest mutually
13729 available version) if it's available both locally and remotely.
13730 - Remove java_lite_proto_library.strict_deps attribute.
13731 - Generate proguard configurations deterministically.
13732 - Adds a new flag, `--incompatible_enable_cc_test_feature` which
13733 switches from the use of build variables to the feature of the
13734 same name.
13735 - Dropped fragile xz support from built in pkg_tar. Users requiring
13736 xz
13737 compression should switch to bazlebuild/rules_pkg.
13738 - If all strategies of one branch (the local or remote execution
13739 branch) of the `dynamic` strategy fail to even accept (via the
13740 response they give from `canExec`) the action, `dynamic` will now
13741 try to see if the other branch can accept it. (Trying to run it
13742 and it failing will still cause a failure if it was the first
13743 result, this is about strategies claiming they can't even try the
13744 action)
13745 - Add `disable_annotation_processing` option to
13746 `java_common.compile`, which disables any annotation processors
13747 passed to `plugins` or in `exported_plugins` of `deps`
13748 - Remove obsolete --incompatible_prohibit_aapt1
13749 - The minimum Android build tools version for the Android rules is
13750 now 30.0.0
13751 - Adds --experimental_reuse_sandbox_directories flag to reuse
13752 already-created non-worker sandboxes with cleanup.
13753 - --experimental_force_gc_after_build is deprecated and will be
13754 removed soon. Use --bep_publish_used_heap_size_post_build instead
13755 - Forward coverage-instrumented files from non-tool dependencies by
13756 default.
13757 - The used_heap_size_post_build field in BEP is populated when the
13758 --memory_profile flag is set
13759 - --run_validations defaults to true.
13760 - Consider label_keyed_string_dict attributes when gathering
13761 instrumented files for coverage.
13762 - Remove flag
13763 --experimental_forward_instrumented_files_info_by_default, now
13764 that this behavior is the default.
13765 - When using MemoryProfiler with multiple GCs via the
13766 --memory_profile_stable_heap_parameters flag, we do a more
13767 precise calculation of heap used at the end of the build. This
13768 will generally result in lower values.
13769 - --bep_publish_used_heap_size_post_build is deprecated. Use
13770 --memory_profile=/dev/null instead.
13771 - Disable --all_incompatible_changes flag.
13772
13773This 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].
13774
Bazel Release Systeme92e04d2021-08-30 09:37:05 -040013775## Release 4.2.1 (2021-08-30)
Bazel Release System6962b0d2021-08-27 17:50:42 +020013776
13777```
Bazel Release Systeme92e04d2021-08-30 09:37:05 -040013778Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
Bazel Release System6962b0d2021-08-27 17:50:42 +020013779
13780Cherry picks:
13781
Bazel Release Systeme92e04d2021-08-30 09:37:05 -040013782 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
13783 Use getRunfilesPath for run_under executable path generation.
13784 getRootRelativePath doesn't return a valid runfiles path for
13785 external source files anymore after the recent external source
13786 root change. Also, it won't work for external labels either once
13787 the --nolegacy_external_runfiles becomes default. This fixes
13788 issue #12545.
13789 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
13790 Fix NPE when coveragerunner is not set on the toolchain.
13791 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
13792 Fix the classic query package-loading cutoff optimization with
13793 external workspaces.
13794 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
13795 Update turbine
13796 + bef4bbbb47d47befe3711d06f358782ee12554f9:
13797 Update turbine
13798 + d113d7454127bba78aa618dac81e5d164920b662:
13799 Update turbine
13800 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
13801 Support Scala3 .tasty files
13802 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
13803 Update to java_tools javac11 release 10.5 (#12647)
13804 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
13805 Fix common prefix for instrumentation filter
13806 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
13807 Fix builds for filegroup targets with incompatible dependencies
13808 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
13809 Revert "Remove
13810 --incompatible_blacklisted_protos_requires_proto_info"
13811 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
13812 Transform roots along with paths during output deletion.
13813 + e8835c1c221d76a2d5532d18083eaa04401619b3:
13814 AttributeContainer.Large now handles more than 127 attributes.
13815 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
13816 Add an env attribute to all test and binary rule classes
13817 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
13818 Take no action to prefetch empty artifacts.
13819 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
13820 Fix a couple of bugs with Incompatible Target Skipping
13821 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
13822 Pass --host_action_env to host options hostActionEnvironment
13823 attribute
13824 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
13825 Add --{no,}autodetect_server_javabase.
13826 + c83366064621d5a265eba14d93a03deff58fe6d8:
13827 Only treat "env" and "env_inherit" attrs specially for native
13828 rules
13829 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
13830 Fix coverage support when using default_java_toolchain. (#12801)
13831 + 4158a6f512e52516437e00f8d9609a91be7fc195:
13832 Revert JacocoCoverage target to remote_java_tools_java_import
13833 and add a new target for remore_java_tools_filegroup. (#12813)
13834 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
13835 Add windows_msvc back to conditions in bazel_tools.
13836 + 6b33bdb1e22514304c0e35ce8e067f2175685245:
13837 Release 4.0.0 (2021-01-21)
13838 + 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
13839 Fix error message from getPrerequisites to not print internal
13840 details.
13841 + 27e15ad11410eb1014f5247fd0eeb31a46733c07:
13842 Clean up ConfiguredTargetValueAccessor and
13843 ConfiguredTargetAccessor
13844 + e87feb8ac9573cef993824f82370d0389570521d:
13845 Move getConfigConditions into ConfiguredTarget.
13846 + 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
13847 Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
13848 value.
13849 + 079bb7d69931705bb2b092c9017090e224ef3043:
13850 Clean up old dependencies that are unused since
13851 https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
13852 5ef5702880d5ac7c5c.
13853 + e03cb63e059420847d6578d7cbfe93f05615c95e:
13854 Update bazelbuild/platforms to a current release. - Roll forward
13855 https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
13856 7f925cf88e0cd5b76a with kythe fix.
13857 + 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
13858 Update docs and tests to use the @platforms//:incompatible
13859 constraint
13860 + c71697cf33b0fbbb42fc2910bac83960edc7e855:
13861 Clarify test_suite behaviour in the Platforms docs
13862 + dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
13863 Enable toolchain resolution for filegroup targets.
13864 + 24d086446f74606819dc53c3a436caa056ff05b7:
13865 PlatformProviderUtils should ignore targets that don't have the
13866 needed
13867 + ba60c0b3f9bbd00975c984244839b155e84b4c5d:
13868 ijar: fix manifest sections handling
13869 + 58bb42ad7ca263a75c6eeef51482f805726663a5:
13870 Revert "Switch to -fdebug-compilation-dir"
13871 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
13872 Update turbine
13873 + bef4bbbb47d47befe3711d06f358782ee12554f9:
13874 Update turbine
13875 + d113d7454127bba78aa618dac81e5d164920b662:
13876 Update turbine
13877 + ad241fbebd90a9f0ad65ccd0658838f57030db68:
13878 Allow cquery to filter out incompatible targets
13879 + 1782f0ae751569607ef88930c822ac460a1f8bb3:
13880 Patch grpc to fix cares selecting the wrong source when building
13881 for darwin_arm64 cpu.
13882 + 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
13883 [1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
13884 blobs
13885 + 848a51747a460ab4c5185e4c61ab522a9981cbea:
13886 [2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
13887 blobs
13888 + 9b30172547f2093acb56aedf159a77d5dceffda2:
13889 [3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
13890 blobs
13891 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
13892 Allow exec groups to inherit from the rule or other exec groups.
13893 + d0676693310215407224c1b8e8aea9e3eddc183d:
13894 Support execution constraints per exec group
13895 + f1e0d346c8235c855e61afc2adb870e4b895e002:
13896 Clean up RuleContext to use a Table instead of a Map of Maps.
13897 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
13898 Documentation for #13110
13899 + 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
13900 Prevent --repo_env from triggering unnecessary fetches
13901 + 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
13902 Prevent a crash when using --repo_env=VAR without a value
13903 + 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
13904 Report digest of failed uploads
13905 + 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
13906 Status error presentation with details
13907 + 9a70805db543e2fb910e1c55ef3b3567362adf30:
13908 Fix double shutdown of BuildEventArtifactUploader when BES+File
13909 output enabled.
13910 + 325eb956c92530bdfda54a36a186cae4245a4f7b:
13911 Add rxjava3 to third_party
13912 + ceaac966a7b977461b69ce9501df6a467f4a93b2:
13913 remote: set executable bit of an input file based on its real
13914 value
13915 + 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
13916 Remote: correctly implement equals and hashCode.
13917 + 48648503729d53fdee1322fde2c8e6c05e99cff9:
13918 Fixed an error that bazel binary is not executable when testing
13919 with remote execution.
13920 + bc54c648aa1f99509c7c36d5e6b570d066689209:
13921 Remote: Use parameters instead of thread-local storage to
13922 provide tracing metadata.
13923 + 92955e617b5c41713a5163dc0437c2a024b31815:
13924 Remote: Use parameters instead of thread-local storage to
13925 provide tracing metadata. (Part 2)
13926 + 75bd1ff8ab56d241916bde36291301fa026b2bab:
13927 Remote: Use parameters instead of thread-local storage to
13928 provide tracing metadata. (Part 3)
13929 + 37ee252f3744abc4511f55b5089cc52abd3ba09d:
13930 Remote: Use parameters instead of thread-local storage to
13931 provide tracing metadata. (Part 4)
13932 + 71e35b165f924e2649a078fcf6007645d58039af:
13933 Remote: Use parameters instead of thread-local storage to
13934 provide tracing metadata. (Part 5)
13935 + 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
13936 Write/QueryWriteStatus logging refinement/addition
13937 + 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
13938 Remote: gRPC load balancing. (Part 1)
13939 + e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
13940 Remote: gRPC load balancing. (Part 2)
13941 + 6667ad7dd77f8d97952133052c17e7779c1430ec:
13942 Remote: gRPC load balancing. (Part 3)
13943 + 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
13944 Remote: gRPC load balancing. (Part 4)
13945 + 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
13946 Implement getMessage for BulkTransferException
13947 + a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
13948 Remote: gRPC load balancing. (Part 5)
13949 + 7a62c2d4e27e398f440910c81eacc384f38ca8be:
13950 Remote: Add interoperability between Rx and ListenableFuture.
13951 + 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
13952 Update to latest remote-execution proto
13953 + dad96301d12aa77eb67399e08265a5f30f5ffd6a:
13954 Set Platform on Action not just Command
13955 + 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
13956 Remote: Add AsyncTaskCache which is used to deduplicate task
13957 executions and cache the results.
13958 + 9d0c7325ac810febe565a62fdd875ae0c240b274:
13959 Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
13960 + f54fe07209acc25340df8d2e02993b1add2deafa:
13961 Add --experimental_repository_disable_download to allow users
13962 disable download for external repos
13963 + b243584a479eb4481a9bf4f69acc899610a3b630:
13964 Report errors parsing rewriter config file
13965 + 63bc1c7d0853dc187e4b96a490d733fb29f79664:
13966 Downloader rewriter config has all_blocked_message
13967 + 495ac923f398443be45c20ab29d183fe47e08911:
13968 Allow UrlRewriter to change protocol, i.e. https->http, and
13969 http->https
13970 + 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
13971 Allow overriding the hostname and instance name in bytestream://
13972 URIs
13973 + 0881c80d29acecdfbb58c49156f805e8c50db117:
13974 Don't set requestId on non-multiplex requests.
13975 + e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
13976 When generating a symlink in _virtual_includes, add the original
13977 header to the 'allowed to use' set too
13978 + f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
13979 Make SimpleLogHandler not swallow interrupts.
13980 + f8606e5e76579442a1c6563e718ea54c673f1a04:
13981 linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
13982 + dac0d40d0eb903f5cb70341398d1a333c19adf3a:
13983 Improve "Common Attributes" section
13984 + a607d9dc70ac67f1aa2c32ca954177f9c77860be:
13985 Never create more than one process per WorkerMultiplexer.
13986 + 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
13987 Move sending requests and reading responses for multiplex
13988 workers into separate subthreads.
13989 + 003cfcde3fd3901c1279ba1db3db3a14536248b4:
13990 Allow use of JSON protocol in multiplex workers.
13991 + 308bce36cba46095fe41866e703710035ddddada:
13992 Actively kill off still-active workers when stopping work on
13993 interrupt.
13994 + 8959dff512fe4505af786bcf2ef981ec7082a913:
13995 Add sanitizer support to Apple platforms
13996 + 32f16e9360f3e1856db1775eb5014b930da2a303:
13997 Fix a Google-internal broken link.
13998 + c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
13999 Add SHA-1 to subresource integrity format for download()
14000 checksums
14001 + 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
14002 Remove fallback strategy support for workers, add flag for it in
14003 sandbox.
14004 + 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
14005 Update to java_tools javac11 10.6 (#13245)
14006 + 4928295b236ec8f590a7e9d863502bc2f50a77d9:
14007 Allow .S files in C++ Starlark cc_common.compile.
14008 + 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
14009 Automatic code cleanup.
14010 + b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
14011 Change short output of worker type to have the same logic as the
14012 worker creation for sandboxing vs. multiplex.
14013 + e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
14014 More properly destroy workers on interrupt.
14015 + 7056711eb11b672133274eb29fc93b01dcf088d5:
14016 Make WorkRequestHandler do a GC after some amount of CPU time
14017 has been used on requests. For Bazel and Blaze, defaults to 10s
14018 based on benchmarking.
14019 + 596653d3cf76e7b208da343e1fde5fe20273a5ff:
14020 Allow tree artifacts to be source or header inputs to
14021 cc_common.compile()
14022 + 055c93d11ab20cc4479539b24bbdfa5cab78a342:
14023 Switch to path autocompletion after -- for bazel run commands.
14024 + 807f2a1929e23b60b237c63fadb25af81de2e3c3:
14025 Fix Incompatible Target Skipping for test args
14026 + 9a5cd854e0613f91d52075973e2454b1e009e1ef:
14027 Fix order of build request id and command id
14028 + 706f5acd02363e48076dc97e37613fd968932d03:
14029 Fix bazel crash when passing config_setting to
14030 target_compatible_with
14031 + 61da1d2bf10eabba4c75de959b0374f302d89d70:
14032 Support multiple --bazelrc on command line
14033 + 5593358a58b66f06c4e421bb48856de94c3fd625:
14034 Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
14035 to
14036 + 662cf54de7a103db30e04ebae2d2b919437c4846:
14037 Remote: Fix an issue that a failed action could lead to
14038 RuntimeException caused by InterruptedException thrown when
14039 acquiring gRPC connections.
14040 https://github.com/bazelbuild/bazel/issues/13239
14041 + a3a1763212f29932618b9b9b2f929976ae0e3b6e:
14042 Pass more `--add-exports=` flags
14043 + d2b942879471786e82f1c96eea8722bbe7919fc1:
14044 Remote: Fixed a bug that remote cache is missed due to
14045 executable bit is changed
14046 + 616dc264f02907d7b7887285d22307dfe6d097b6:
14047 Fix Bazel Coverage with C++ to work with Remote Execution
14048 + 5f40d12e741aa30d506eaa15673fb2ae76d29468:
14049 Fix external_path_test with newer Xcode versions.
14050 + b416193075642017e13c774422b49cb07fb65c23:
14051 Allow using embedded tools in sandboxed spawn runners.
14052 + eb762d4e7431637e607146b1c191485795047ef9:
14053 Fix racy write of temporary files while staging virtual inputs
14054 for the sandbox.
14055 + f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
14056 Update platforms_test to not rely on filegroup not using
14057 toolchain
14058 + 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
14059 Update SkyframeTests to not rely on filegroup not using toolchain
14060 + 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
14061 Update ConfigurableAttributesTest to not rely on filegroup not
14062 using …
14063 + 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
14064 Make WorkerExecRoot not be a subclass of SandboxedSpawn.
14065 + 31db460a45767de0bcd664a6efbe9d163b85b802:
14066 Make WorkerExecRoot not be re-created on each createFileSystem()
14067 call. Preparation for holding a map of existing links, but also
14068 just nicer.
14069 + a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
14070 Start the file existence check traversal from the execroot base
14071 instead of execroot so that external repo files at
14072 "<execroot>/../<path>" are correctly handled when the sibling
14073 repository layout is enabled.
14074 + b048282c7893231d3a7191b251804973917b07a4:
14075 Use readdir for cleanExisting in WorkerExecRoot.
14076 + 270f00dd01fa06cf3e813da5a406be3446de7377:
14077 Add native support for Apple Silicon
14078 + 8e56b9423e8ad2f7323fb90b19b73858def81e39:
14079 Explicitly state that embedding macOS OpenJDK is for x86_64
14080 + 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
14081 Remote: Fix a race that AsyncTaskCache#Execution could be reused
14082 after disposed which results in
14083 CancellationException("disposed") propagated to downstream.
14084 + 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
14085 Remove wrapped_clang params files after use
14086 + 47edc57806056f3c8764241ed41b8acc72bd2ebf:
14087 Silence swiftmodule timestamp warnings
14088 + f6e1074b09ebefba185c0531e9cea26b9596c8a9:
14089 Remote: Use shutdownNow() instead of shutdown() in
14090 ChannelConnection#close() as a workaround to a gRPC bug.
14091 + 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
14092 And mnemonic and label to remote metadata
14093 + 615e1b16a81b0defc15699ec8027d6ddd70366d1:
14094 Change `set -x` in coverage to be set by var
14095 + fe4daea99c8cd163793eca84bfb12c8fc437616b:
14096 Bump minimal JDK install base maximum size from 290 to 295 MB.
14097 + 4840a68cd273a429e46d4114a3973fd11d0e3583:
14098 Remote: Check the return value of ActionOwner.getLabel() since
14099 it could be `null`.
14100 + 14abe4fd7c3967686a3536939fdc3882e691bca2:
14101 Allow `DiffAwareness` to share precomputed information about the
14102 workspace and propagate it to the `WorkspaceStatusAction`.
14103 + 082d98772690946ed29c157e60640c97a6e1195b:
14104 Implement available() method for Windows subprocesses.
14105 + c2bdd034014f66ce14529cc353cda18a32320f6c:
14106 Move --repo_env to common options
14107 + e09f2743738044095b9d784ea62df16b7f5750e6:
14108 Revert "Documentation for #13110"
14109 + a165baa250652fdc865ae0df39160be1f7f74c47:
14110 Revert "Clean up RuleContext to use a Table instead of a Map of
14111 Maps."
14112 + 51fb9e13a864f4f704ae378ea632433bae7ddc31:
14113 Revert "Support execution constraints per exec group"
14114 + cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
14115 Revert "Allow exec groups to inherit from the rule or other exec
14116 groups."
14117 + 2ac6581aeaab33ba506fce96dfa6a75eaa819233:
14118 Release 4.1.0 (2021-05-21)
14119 + 7a0f36e3f0a21fed8857efbaa51ded2dbdeefab6:
14120 Change gceMachineType of highcpu platform from n1-highcpu-32 to
14121 e2-highcpu-32
14122 + 19491a91143f0c6132aca62c5ae40ab72e9dc0e2:
14123 Fix #10127: Remove Python 2 dependency from tools/android.
14124 + 80c59dea59d4dce39d4b5d21665c3d7313197358:
14125 fix main repo starlark options parsing - now flags passed on the
14126 command line as --@main_workspace//flag and --//flag will both
14127 parse to --//flag. Before this CL, the former maintained its
14128 workspace prefix and we would get different entries for these
14129 two formats.
14130 + 451b296c3aceb127ebb4a313b6e9608854fa68fa:
14131 Update threshold for long path shortening to be MAX_PATH - 4
14132 + 671e0489a5bd6d5abb4dcd9bcfc85134cee38385:
14133 Force source files to be readable before copying them from
14134 sandbox.
14135 + 6080c1e07f4229ea72eacd04faa9302e44955a84:
14136 Let workers finish lost races without delaying dynamic execution.
14137 + ee738dacb5d0089d3f57b15305057cb9ba675e74:
14138 Fix label_flag and label_setting to not have a dependency on the
14139 default
14140 + 74de0ba4e79341c77b8b85ff4485f92287b6854c:
14141 Java coverage: fix handling of external files
14142 + 48eee8b4b447a2ad11df28dd81a2ccb65562b5f5:
14143 [Bazel] Fix mobile-install for python2
14144 + 763dd0ce6e1644bf895231432f616427a11d385a:
14145 Add `stub_shebang` to `py_runtime`
14146 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
14147 Move use of legacy sandbox -> local fallback to only be used
14148 after all strategies have been tried, and improve messages
14149 around it.
14150 + 6dc941e58dfc1d4a9714a76b921fbe11fce658ed:
14151 Remove restriction on generate_pdb_file to be only used in dbg
14152 and fastbuild mode
14153 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
14154 Check the result of Future.cancel() when cancelling the other
14155 branch of dynamic execution.
14156 + aaae8ce2881c8c1a5d4ad64f20d6e71aa372cf2e:
14157 Update DEFAULT_MACOS_CPU to match host
14158 + 2f0927a4fd9342f4dcfd43475d3f1c90c523584f:
14159 Fix symlink creation on older Windows versions
14160 + fd9cffdcaf05551126e66f1cd62815eaa1af6bd9:
14161 Suppress interrupted status during pool closure
14162 + 33903d28bcea0005adf9b2a8cc4659c5e2999bbe:
14163 Fix Windows developer mode symlinks
14164 + 0cd1666721bdbe988dc361c085bb43cbd41a27f3:
14165 Respect Starlark options with values in `removeStarlarkOptions()`
14166 + 7920ffef472b25db3f4e564e5a3a28a4664c666e:
14167 cquery inherits from `test` not `build`
14168 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
14169 Allow exec groups to inherit from the rule or other exec groups.
14170 + d0676693310215407224c1b8e8aea9e3eddc183d:
14171 Support execution constraints per exec group
14172 + f1e0d346c8235c855e61afc2adb870e4b895e002:
14173 Clean up RuleContext to use a Table instead of a Map of Maps.
14174 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
14175 Documentation for #13110
14176 + e376580ae4e9ad5bddc196bfb6ad3127e3ff561b:
14177 Split ExecGroup into a new target.
14178 + 0cbb8a863522d2f77ab6b67a01e39b19a9a81807:
14179 Create a new interface to allow Starlark objects to get a thread
14180 when getIndex is called.
14181 + d2e21cec31f09b27ef3589f47b0779f34077ca7e:
14182 Renamed ExecGroupCollection to clarify that it is only for
14183 Starlark usage.
14184 + b9519f92f8ce096107164ca5075feced0e989de7:
14185 Make StarlarkExecGroupContext use AutoValue.
14186 + 52b1b748b2368820bac2ca94323fb82c39c00e51:
14187 Use a dummy toolchain context for rules that don't have one.
14188 + 41877d0fefe3f021f3ff6d4ce398d0deb27157e6:
14189 Extract a separate StarlarkToolchainContext for starlark-only
14190 operations.
14191 + b120d4febc571f17e12501ad87fbff32ef94e9bb:
14192 Fix toolchains to support type lookup.
14193 + dc140d0b6119950dd4a7d71b125b15a78bacc8ce:
14194 Move DEFAULT_EXEC_GROUP_NAME from ToolchainCollection to
14195 ExecGroup.
14196 + 9b18d951a52819f1998ddfdc1739fa1b5bf0353d:
14197 Rename ToolchainCollection.getExecGroups to getExecGroupNames.
14198 + 10d4473bf476a587e3d9f9b2214581ec420c1919:
14199 BuildViewForTesting should directly call into
14200 ConfiguredTargetFunction.
14201 + 58a6fb1f8739e39125cc8c647f28cff2e79fe9aa:
14202 Move exec group tests out of platforms_test and into integration.
14203 + 7d5493d922761c3ce0037f0025912cc532c55ad7:
14204 Update creating exec groups that explicitly copy from defaults.
14205 + 8c6382a81237e72dbec24b3850df9481461e0015:
14206 Create a new ExecGroupCollection container to manage exec group
14207 inheritance and exec property parsing.
14208 + b4b0c321910bc968736ef48e8140528ea7d323cd:
14209 Fix unix toolchain for macos arm64 platform
14210 + f64f071f44394a33a1be40cb7642e2c881d1e9bb:
14211 Add `required_providers` attribute to Starlark defined aspects.
14212 + f2cbdcf67ac1990f05a8241ba8dae65795edac82:
14213 Don't ever claim /dev/null is an execpath.
14214 + ceec93c35ead1bd487e96a5fee46e8d080f88858:
14215 Don't ever claim /dev/null is an execpath.
14216 + 1f3f9f4c4b2eded90518aacd1b0b80c1b0dfd1c5:
14217 Use the parent directory of the exec root as the input root on
14218 RBE.
14219 + 4efeac9cb5f85325ed73f64e133a078c483cac01:
14220 Make the Merkle tree computation work in the wake of
14221 https://github.com/bazelbuild/bazel/commit/7149f578006a4ad0d51df6
14222 9830a6986749b34df5 .
14223 + b56a2aa709dcb681cfc3faa148a702015ec631d5:
14224 Remote: Use execRoot as input root and do NOT set working
14225 directory by default.
14226 + ae53991f2e207edacd1352ba94261e2473b79f14:
14227 Remote: Add RemoteExecutionService as a layer between spawn
14228 execution and remote execution.
14229 + 0c07c2e6571dd4806552213b2237ecb7a908afa4:
14230 Remote: Add remoteCacheable key to execution log
14231 + 5e617d83f3aab1fd36b07be4b58aba58604cc46e:
14232 Remote: Register "remote" strategy even if remote execution is
14233 not available.
14234 + 4ca8946a8e1c4c2fd48d8fb8ce38adb8b282fef0:
14235 Remote: Add --experimental_capture_corrupted_outputs flag.
14236 + 97d7b4c277814d73b50450b03f4bb160ce7e99b4:
14237 Remote: Report checking cache status before the action is
14238 scheduled to run remotely.
14239 + ba5b2a7c9448a3681a0d86d80670447e338a06dc:
14240 when writing to local disk cache, open files later in order to
14241 avoid "too many open files"
14242 + 3551898849a93306ad9b4dfdd7d4667913098efe:
14243 Propagate test envs to xml generation action
14244 + 9f8c678d7054548865f56f3464f778c751657074:
14245 Remote: Fix a bug that the XML generation is executed even if
14246 test.xml is generated when build with --remote_download_minimal.
14247 + af42653e6f6bd229142f4678bb256a8c397b4d8d:
14248 Automatic code cleanup.
14249 + 07a84ce31d9b09853c63c7e373418696dd285dc5:
14250 Remote: Another attempt to fix the CancellationException error
14251 in AsyncTaskCache caused by a race condition.
14252 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
14253 Remote: Display download progress when actions are downloading
14254 outputs from remote cache.
14255 + 18c82168433719b400a705a4a0222969a7a026ba:
14256 Remote: Do not upload empty output to remote cache.
14257 + 6a138a60e562beeef36003c4814a6b8ce9f253f6:
14258 Fix compiling errors
14259 + bcce6dd026e90336e80616a8c1004a79a2f8640c:
14260 Add the TEMP_FAILURE_RETRY macro to linux-sandbox-pid1.cc.
14261 + c8c0d94a49e1b865d95c6d245c2d152c7c7c9722:
14262 Export proguard specs from aar_import
14263 + 1a0285c3b64b121268ced3eb9ad9d5ba396b4905:
14264 Fix stripping of macOS loadable bundles
14265 + 0d3c231f5a08861d28e987703e9196890e6164bf:
14266 Roll forward config_setting visibility enforcement behind a flag.
14267 + bb7a01027242390da1c18fbf87c274cc34c11b79:
14268 Fix merge conflicts.
14269 + 8b8e77ea226aaa12e79580422bc5984e80ce048b:
14270 Remove redundant declaration.
14271 + 7c92cfcf9a88933c29334f6271ad3f086f7f36f4:
14272 Ignore empty virtual artifacts when spawn-logging inputs.
14273 + 4158b61211e099db780565d064a1c1a80c91bd2a:
14274 Use correct exit code on invalid aquery --output
14275 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
14276 Remote: Fix a race when reporting action progresses.
14277 + 0e652737988e3c115e98e1552f6fada52bc2b9a2:
14278 Change MIN_BUILD_TOOLS_REVISION to 30.0.0
14279 + 6f9909c04b1e00faa510b38ccabac78821046cf9:
14280 Update Android remote tools to ensure Bazel uses the latest
14281 Android tooling that has been updated to support AndroidX
14282 databinding generation.
14283 + 31d88c629dff2c5f8e8a4baf8c89fd3349c9783e:
14284 Automated rollback of commit
14285 9a1d428e33bfae1ec5b68250d4732b72346b8b39.
14286 + 951a3023fbcdbe025e350590e6fa86097da3fe05:
14287 Increase allowed size of the install_base.
14288 + a7845f65befbeb65a28ec53e62458211a7bc3f8e:
14289 Increase allowed size for install base again.
14290 + affc27f9d18f9781437e91a3f36c73962a56f261:
14291 Bump version of java allocation instrumenter.
14292 + 7efabba19cf6400bf9e707f53b40a6dd7110fafb:
14293 Reference the correct version of the java allocation
14294 instrumenter.
14295 + 9055c67b17abf5fed487ae44d0e22f1c6ea1e50c:
14296 Support extracting aar files.
14297 + 861c3caa85e47da35a8a4f1512e57d43b9263c37:
14298 Revert "Remote: Fix a race when reporting action progresses."
14299 + 92ec798ddc1f38fb4868af08c1d818639283f501:
14300 Revert "Remote: Display download progress when actions are
14301 downloading outputs from remote cache."
14302 + ce091abb290d1d753f480cdee0e69748eb20db52:
14303 Revert "Fix compiling errors"
14304 + 1b19cd310418b850e8e0ca2086ffe50755c9ed7e:
14305 Revert "Remote: Fix a bug that the XML generation is executed
14306 even if test.xml is generated when build with
14307 --remote_download_minimal."
14308 + 988b56f5916e024d10695797a7f963b30fc998c7:
14309 Revert "Remote: Report checking cache status before the action
14310 is scheduled to run remotely."
14311 + 35c98d07b21785efae57a7c4230cc1e452f74fd2:
14312 Revert "Let workers finish lost races without delaying dynamic
14313 execution."
14314 + c4e22b9ace07f5d360c5327a38f9ae4ab24b7109:
14315 Migrate ExampleWorker to use WorkRequestHandler.
14316 + 230be161176bd6f1251077af7674f80d38ff1e25:
14317 Do not interleave readdir() calls with deletion of directory
14318 entries.
14319 + 3cc8ce6ba0934b1a4d9db184daf055c1207ef105:
14320 Propagate OOME if NewByteArray allocation failed
14321 + 19fc15ebbf6c63fcce90a038e91c5ec726852848:
14322 Create helper method for sandbox tests, transform existing tests
14323 into using it.
14324 + deb1006c0778692f7eaef4cbcf7eeb8112b55e91:
14325 Cleanup: Replace NULL with nullptr
14326 + f4b5e0233341977aaa76593ca032d9ac4eba7444:
14327 Let workers finish lost races without delaying dynamic execution.
14328 + 186decab01ee247c7453baf19dac778545ec4937:
14329 Interface and flag specification for worker cancellation.
14330 + 5894a8544d51c99f1356130b8b487bc93299fedd:
14331 Create BUILD file in worker tests directory instead of running
14332 tests from the parent directory.
14333 + e9e6978809b0214e336fee05047d5befe4f4e0c3:
14334 Server-side implementation of worker cancellation.
14335 + 5103662238f2df2038c7dff079e9c655e08ba654:
14336 Add builder for WorkRequestHandler.
14337 + 1a519bb66c3fa3e4ef3b9a9a556597920751fbcd:
14338 Makes singleplex requests be handled in separate threads in
14339 WorkRequestHandler.
14340 + 779d66019210f54e10a1343ee004df72a8dec812:
14341 Only allow worker async finishing when sandboxed.
14342 + a698bef6146a807fd82ee4402d89c23c83802e33:
14343 Support for cancellation in WorkRequestHandler.
14344 + 9dc95af4c7ef10979f21173260f5433006116096:
14345 Make workers restart on flags that affect their
14346 creation/behaviour.
14347 + 7e5cd529e9f8c9cb67900af36182f00ef7316654:
14348 Remote: Report checking cache status before the action is
14349 scheduled to run remotely.
14350 + 6e134a1b68418fba9992692901efa77a80c346f7:
14351 Remote: Fix a bug that the XML generation is executed even if
14352 test.xml is generated when build with --remote_download_minimal.
14353 + d4d071401acadb0d8977850a9439474e60fd7bb9:
14354 Fix compiling errors
14355 + 2579c9a18360955699d028426b45d381ff53783c:
14356 Eagerly initialize JNI copies of Java classes: doing lazy
14357 initialization on a per-method basis doesn't save anything and
14358 adds a tiny bit of overhead to every one of these calls.
14359 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
14360 Remote: Display download progress when actions are downloading
14361 outputs from remote cache.
14362 + 3835d9b21ad524d06873dfbf465ffd2dfb635ba8:
14363 Update the WorkRequestHandler to use callbacks of type:
14364 BiFunction<WorkRequest, PrintWriter, Integer>: - Mark
14365 constructors that use BiFunction<List<String>, PrintWriter,
14366 Integer> callback as deprecated. - Use a wrapper class for the
14367 BiFunction<WorkRequest, PrintWriter, Integer>. Suggesting this
14368 to avoid having two constructors that takes a BiFunction, as it
14369 creates a confusion between the deprecated and new constructor
14370 when given a lambda expressions.
14371 + 5e352afe2b35487ea2ced85ca79bd9f79858e648:
14372 Fix bug in WorkRequestHandler's handling of singleplex requests
14373 that would cause occasional hangs.
14374 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
14375 Remote: Fix a race when reporting action progresses.
14376 + c9d823e42796962eed039b8122528c2a1541190f:
14377 Disable flaky test.
14378 + e6809c90ecc0ef5783faa39e63188fc33a79b80e:
14379 Revert "Check the result of Future.cancel() when cancelling the
14380 other branch of dynamic execution."
14381 + be4cbc7a67196414e3d3f323be8ab55fb5e530f7:
14382 Revert "Move use of legacy sandbox -> local fallback to only be
14383 used after all strategies have been tried, and improve messages
14384 around it."
14385 + b32349f50ff3d958613aef9275751ad9d50d344c:
14386 Set a fallback dynamic local strategy even when the
14387 dynamic_local_strategy flag is passed.
14388 + f395157c95692565bc220c7ccf788974fe0885fd:
14389 Allow running an extra spawn for local branch of dynamic
14390 execution.
14391 + 039461c76113ab3f165132dd26d0c58eb3e45cae:
14392 Adding debugging information for case when two branches
14393 apparently cancel each other.
14394 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
14395 Move use of legacy sandbox -> local fallback to only be used
14396 after all strategies have been tried, and improve messages
14397 around it.
14398 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
14399 Check the result of Future.cancel() when cancelling the other
14400 branch of dynamic execution.
14401 + 1962a59a5478f5ad374700b0abf0a718b1b3a7d3:
14402 Fix the case where if all strategies for one branch of `dynamic`
14403 execution fail to accept (that is, refuse to even take) the
14404 action given, the whole action fails. Instead of seeing whether
14405 the other branch can run and the action that that it succeeded.
14406 + b7c1ad2aff91105659299723a712b72eea943040:
14407 Fix rare crash in dynamic execution where both branches got
14408 cancelled.
14409 + 2c3cff5422b115d7bb86ed28a056f3d368ebceeb:
14410 Check if `treeDeleter` is actually async before casting it.
14411 Fixes #13240.
14412 + 1a89ce1757e75f8ba9bda76d7373a7e8527bcfc5:
14413 Make worker JSON protocol properly ignore unknown fields.
14414 + 4b12fc80abf4152815f09e473a972e52a1fe8b51:
14415 Fix test_source_file_does_not_override_standard_library to work
14416 with Python 3.9.
14417 + f4e10367df2d881f05e3ddd5bd0531b390a845fe:
14418 Removing line ending matches in tests to be compatible on Windows
14419 + ba74df07ced96226d78851e11d1df03147f1cc1f:
14420 Refactors CompilationSupport for objc to use existing API
14421 + a04cb1bfad4734f801c48bae3070a799067bda4e:
14422 Release 4.2.0 (2021-08-18)
14423 + ba8678077024e1b4e5d7419c758a97e8dc9fceea:
14424 Revert "fix main repo starlark options parsing.
14425 + 9f67cdf3d51c05bc2209786aa24b72658b61362c:
14426 cquery: disable `--build_tests_only`.
Bazel Release System6962b0d2021-08-27 17:50:42 +020014427```
14428
Bazel Release System6962b0d2021-08-27 17:50:42 +020014429Important changes:
14430
Bazel Release Systeme92e04d2021-08-30 09:37:05 -040014431 - Multiplex persistent workers can now use the JSON protocol.
14432 - enforce config_setting visibility. See
14433 https://github.com/bazelbuild/bazel/issues/12932 for details.
14434 - The minimum Android build tools version for the Android rules is
14435 now 30.0.0
14436 - Updates worker protocol with cancellation fields, and adds
14437 experimental_worker_cancellation flag to control cancellation.
14438 - If all strategies of one branch (the local or remote execution
14439 branch) of the `dynamic` strategy fail to even accept (via the
14440 response they give from `canExec`) the action, `dynamic` will now
14441 try to see if the other branch can accept it. (Trying to run it
14442 and it failing will still cause a failure if it was the first
14443 result, this is about strategies claiming they can't even try the
14444 action)
Bazel Release System6962b0d2021-08-27 17:50:42 +020014445
Bazel Release Systeme92e04d2021-08-30 09:37:05 -040014446This 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 +020014447
Bazel Release Systemb3feb612021-08-19 15:32:21 +020014448## Release 5.0.0-pre.20210810.4 (2021-08-19)
14449
14450```
14451Baseline: ead44955c5cf02d94152f2cf3462c40ee6659594
14452
14453Cherry picks:
14454
14455 + 99a85e79a11cef98d0e08db21ab94833398381af:
14456 Automated rollback of commit
14457 92f7b58672baffe5a230f675d7197c2a10892284.
14458 + 16523615ba04c2697f436ca02d957809e6fe8dbf:
14459 Fix a race condition in scheduling code in
14460 `FileSystemValueCheckerInferringAncestors`.
14461 + ed251187b078c4262bbbc1da72015ce12f9964f4:
14462 Add incompatible flag to guard top-level aspects dependencies
14463```
14464
14465Incompatible changes:
14466
14467 - Removing java_common.javac_jar Starlark call.
14468 - native.existing_rule now returns select values in a form that is
14469 accepted by rule instantiation. This is a breaking API change
14470 because there is some code that relies on the precise type
14471 returned, including brittle workarounds for this bug specifically
14472 and insufficiently flexible workarounds for other issues with the
14473 intersection of select and native.existing_rule.
14474 - flipped incompatible_use_toolchain_resolution_for_java_rules, see
14475 #7849
14476 - Query output=xml/proto/location for source files will now show
14477 the location of line 1 of the source file (as the new default)
14478 instead of its location in the BUILD file.
14479 - Specifying a target pattern underneath a directory specified by
14480 .bazelignore will now emit a warning, not an error.
14481 - Query `--order_output=auto` will now sort lexicographically.
14482 However, when `somepath` is used as a top level function (e.g.
14483 `query 'somepath(a, b)'`), it will continue to output in
14484 dependency order. If you do not want the lexicographical output
14485 ordering, specify another `--order_output` value (`no`, `deps` or
14486 `full`) based on what ordering you require.
14487 - In the build event stream,
14488 BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
14489 Its value was always mostly meaningless.
14490 BuildMetrics.TargetMetrics.targets_configured and
14491 BuildMetrics.ActionSummary.actions_created now include configured
14492 aspect data.
14493 - //visibility:legacy_public has been removed.
14494 - Flip and remove incompatible_dont_collect_so_artifacts
14495 (https://github.com/bazelbuild/bazel/issues/13043).
14496 - Remove flag --experimental_no_product_name_out_symlink: it is
14497 always true.
14498 - The Starlark method generate_dsym in objc fragment has
14499 been deleted. Please use the equivalent apple_generate_dsym in
14500 cpp
14501 fragment instead.
14502 - Native libraries in data attribute are not collected. See
14503 https://github.com/bazelbuild/bazel/issues/13550 for details
14504 - Enforce the `--profile` path to be absolute.
14505 - Enforce the --memory_profile path to be absolute.
14506 - JavaToolchainInfo.jvm_opt returns Depset instead of a list.
14507 - --apple_sdk has been deleted. It is a no-op.
14508
14509Important changes:
14510
14511 - Flag --incompatible_objc_compile_info_migration is removed. See
14512 #10854.
14513 - Flag --incompatible_objc_compile_info_migration is removed. See
14514 #10854.
14515 - Flag --incompatible_objc_compile_info_migration is removed. See
14516 #10854.
14517 - none
14518 PAIR=cmita
14519 - The --incompatible_load_python_rules_from_bzl flag is now a no-op.
14520 - Filter all (instead of just C++) source files for coverage output
14521 according to --instrumentation_filter and
14522 --instrument_test_targets.
14523 - The `--incompatible_disable_native_apple_binary_rule` flag has
14524 been added which disables the native `apple_binary` rule. Users
14525 who need to use `apple_binary` directly (if they cannot use one
14526 of the more specific Apple rules) should load it from
14527 https://github.com/bazelbuild/rules_apple.
14528 - The Android rules' --use_singlejar_apkbuilder is now a no-op.
14529 SingleJar will always be used to build APKs.
14530 - dict.setdefault(key, ...) now fails if dict is frozen, even if it
14531 already contains key. This is an incompatible API change.
14532 - Flag --incompatible_objc_provider_remove_compile_info is removed.
14533 See #11359.
14534 - Starlark now permits def statements to be nested (closures).
14535 - native.existing_rule now returns select values in a form that is
14536 accepted by rule instantiation. This is a breaking API change,
14537 though the fallout is expected to be small.
14538 - Starlark now supports lambda (anonymous function) expressions.
14539 - The "test" and "coverage" commands no longer return 3 when a
14540 test action fails because of a system error. Instead, the exit
14541 code
14542 reflects the type of system error.
14543 - The undocumented ctx.expand feature no longer exists.
14544 - Make --legacy_dynamic_scheduler a no-op flag.
14545 - Multiplex persistent workers can now use the JSON protocol.
14546 - native.existing_rule now returns a mutable list, not a tuple, for
14547 a list-valued attributes. This is an incompatible API change.
14548 - Roll back change to have native.existing_rules use list instead
14549 of tuple.
14550 - BEP includes test suite expansions.
14551 - config_setting now honors `visibility` attribute (and defaults to
14552 `//visibility:public`)
14553 - Change the MultiArchSplitTransitionProvider to be based on
14554 platform type + CPU instead of fixed "ios_" + cpu.
14555 - enforce config_setting visibility. See
14556 https://github.com/bazelbuild/bazel/issues/12932 for details.
14557 - add a flag to build v4 signature file
14558 - Added _direct_source_jars output group to Java related targets.
14559 END_PUBLIC
14560 - pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
14561 Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
14562 - Allowing the lipo operations to be conditional in the
14563 linkMultiArchBinary API for Apple binaries. Single architecture
14564 slices are now returned through AppleBinaryOutput and the
14565 Starlark API.
14566 - Release restriction for "-" in the package name for Python
14567 sources. Now `py_binary` and `py_test` targets can have main
14568 source file with "-" in the path.
14569 - Users consuming BEP may assume that a `named_set_of_files` event
14570 will
14571 appear before any event referencing that `named_set` by ID. This
14572 allows consumers
14573 to process the files for such events (eg. `TargetCompleted`)
14574 immediately.
14575 - BEP includes all files from successful actions in requested
14576 output groups.
14577 Previously, an output group's files were excluded if any file in
14578 the output group
14579 was not produced due to a failing action. Users can expect BEP
14580 output to be larger
14581 for failed builds.
14582 - In BEP, TargetComplete.output_group has a new field `incomplete`
14583 indicating that the file_sets field is missing one or more
14584 declared artifacts
14585 whose generating actions failed.
14586 - The flag `--toolchain_resolution_debug` now takes a regex
14587 argument, which is used to check which toolchain types should
14588 have debug info printed. You may use `.*` as an argument to keep
14589 the current behavior of debugging every toolchain type.
14590 - Add runfiles.merge_all() for merging a sequence of runfiles
14591 objects.
14592 - runfiles.merge() and merge_all() now respect
14593 --nested_set_depth_limit.
14594 If you hit the depth limit because you were calling merge() in a
14595 loop, use
14596 merge_all() on a sequence of runfiles objects instead.
14597 - Bazel will no longer create a bazel-out symlink if
14598 --symlink_prefix is specified: the directory pointed to via the
14599 bazel-out symlink is accessible via ${symlink_prefix}-out. If
14600 this causes problems for you, set
14601 --experimental_no_product_name_out_symlink=false in your builds
14602 and file an issue.
14603 - Updates worker protocol with cancellation fields, and adds
14604 experimental_worker_cancellation flag to control cancellation.
14605 - Simplify build failure output by always using `NNN arguments`.
14606 - trim_test_configuration now defaults to on
14607 - Mark genrule.srcs as a source attribute for coverage.
14608 - When using --allow_analysis_failures (for example, via
14609 bazel-skylib's
14610 analysistest with `expect_failure = True`), analysis-time
14611 failures in aspect
14612 implementation functions will now be propagated and saved in
14613 AnalysisFailureInfo, just like analysis-time failures in rules.
14614 - cquery --noimplicit_deps now correctly filters out resolved
14615 cc_toolchains
14616 - Sign apks deterministically.
14617 - Make gcov optional in cc_toolchain tools.
14618 - If --experimental_prefer_mutual_xcode is passed, Bazel will
14619 choose the local default (instead of the newest mutually
14620 available version) if it's available both locally and remotely.
14621 - Remove java_lite_proto_library.strict_deps attribute.
14622 - Generate proguard configurations deterministically.
14623 - Adds a new flag, `--incompatible_enable_cc_test_feature` which
14624 switches from the use of build variables to the feature of the
14625 same name.
14626 - Dropped fragile xz support from built in pkg_tar. Users requiring
14627 xz
14628 compression should switch to bazlebuild/rules_pkg.
14629 - If all strategies of one branch (the local or remote execution
14630 branch) of the `dynamic` strategy fail to even accept (via the
14631 response they give from `canExec`) the action, `dynamic` will now
14632 try to see if the other branch can accept it. (Trying to run it
14633 and it failing will still cause a failure if it was the first
14634 result, this is about strategies claiming they can't even try the
14635 action)
14636 - Add `disable_annotation_processing` option to
14637 `java_common.compile`, which disables any annotation processors
14638 passed to `plugins` or in `exported_plugins` of `deps`
14639 - Remove obsolete --incompatible_prohibit_aapt1
14640 - The minimum Android build tools version for the Android rules is
14641 now 30.0.0
14642 - Adds --experimental_reuse_sandbox_directories flag to reuse
14643 already-created non-worker sandboxes with cleanup.
14644 - --experimental_force_gc_after_build is deprecated and will be
14645 removed soon. Use --bep_publish_used_heap_size_post_build instead
14646 - Forward coverage-instrumented files from non-tool dependencies by
14647 default.
14648 - The used_heap_size_post_build field in BEP is populated when the
14649 --memory_profile flag is set
14650 - --run_validations defaults to true.
14651 - Consider label_keyed_string_dict attributes when gathering
14652 instrumented files for coverage.
14653 - Remove flag
14654 --experimental_forward_instrumented_files_info_by_default, now
14655 that this behavior is the default.
14656 - When using MemoryProfiler with multiple GCs via the
14657 --memory_profile_stable_heap_parameters flag, we do a more
14658 precise calculation of heap used at the end of the build. This
14659 will generally result in lower values.
14660 - --bep_publish_used_heap_size_post_build is deprecated. Use
14661 --memory_profile=/dev/null instead.
14662
14663This 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].
14664
Bazel Release System497a8482021-08-18 08:44:59 -040014665## Release 4.2.0 (2021-08-18)
Bazel Release System9ec8fb12021-08-13 14:57:53 +020014666
14667```
Bazel Release System497a8482021-08-18 08:44:59 -040014668Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
Bazel Release System9ec8fb12021-08-13 14:57:53 +020014669
14670Cherry picks:
14671
Bazel Release System497a8482021-08-18 08:44:59 -040014672 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
14673 Use getRunfilesPath for run_under executable path generation.
14674 getRootRelativePath doesn't return a valid runfiles path for
14675 external source files anymore after the recent external source
14676 root change. Also, it won't work for external labels either once
14677 the --nolegacy_external_runfiles becomes default. This fixes
14678 issue #12545.
14679 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
14680 Fix NPE when coveragerunner is not set on the toolchain.
14681 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
14682 Fix the classic query package-loading cutoff optimization with
14683 external workspaces.
14684 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
14685 Update turbine
14686 + bef4bbbb47d47befe3711d06f358782ee12554f9:
14687 Update turbine
14688 + d113d7454127bba78aa618dac81e5d164920b662:
14689 Update turbine
14690 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
14691 Support Scala3 .tasty files
14692 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
14693 Update to java_tools javac11 release 10.5 (#12647)
14694 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
14695 Fix common prefix for instrumentation filter
14696 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
14697 Fix builds for filegroup targets with incompatible dependencies
14698 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
14699 Revert "Remove
14700 --incompatible_blacklisted_protos_requires_proto_info"
14701 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
14702 Transform roots along with paths during output deletion.
14703 + e8835c1c221d76a2d5532d18083eaa04401619b3:
14704 AttributeContainer.Large now handles more than 127 attributes.
14705 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
14706 Add an env attribute to all test and binary rule classes
14707 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
14708 Take no action to prefetch empty artifacts.
14709 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
14710 Fix a couple of bugs with Incompatible Target Skipping
14711 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
14712 Pass --host_action_env to host options hostActionEnvironment
14713 attribute
14714 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
14715 Add --{no,}autodetect_server_javabase.
14716 + c83366064621d5a265eba14d93a03deff58fe6d8:
14717 Only treat "env" and "env_inherit" attrs specially for native
14718 rules
14719 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
14720 Fix coverage support when using default_java_toolchain. (#12801)
14721 + 4158a6f512e52516437e00f8d9609a91be7fc195:
14722 Revert JacocoCoverage target to remote_java_tools_java_import
14723 and add a new target for remore_java_tools_filegroup. (#12813)
14724 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
14725 Add windows_msvc back to conditions in bazel_tools.
14726 + 6b33bdb1e22514304c0e35ce8e067f2175685245:
14727 Release 4.0.0 (2021-01-21)
14728 + 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
14729 Fix error message from getPrerequisites to not print internal
14730 details.
14731 + 27e15ad11410eb1014f5247fd0eeb31a46733c07:
14732 Clean up ConfiguredTargetValueAccessor and
14733 ConfiguredTargetAccessor
14734 + e87feb8ac9573cef993824f82370d0389570521d:
14735 Move getConfigConditions into ConfiguredTarget.
14736 + 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
14737 Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
14738 value.
14739 + 079bb7d69931705bb2b092c9017090e224ef3043:
14740 Clean up old dependencies that are unused since
14741 https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
14742 5ef5702880d5ac7c5c.
14743 + e03cb63e059420847d6578d7cbfe93f05615c95e:
14744 Update bazelbuild/platforms to a current release. - Roll forward
14745 https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
14746 7f925cf88e0cd5b76a with kythe fix.
14747 + 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
14748 Update docs and tests to use the @platforms//:incompatible
14749 constraint
14750 + c71697cf33b0fbbb42fc2910bac83960edc7e855:
14751 Clarify test_suite behaviour in the Platforms docs
14752 + dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
14753 Enable toolchain resolution for filegroup targets.
14754 + 24d086446f74606819dc53c3a436caa056ff05b7:
14755 PlatformProviderUtils should ignore targets that don't have the
14756 needed
14757 + ba60c0b3f9bbd00975c984244839b155e84b4c5d:
14758 ijar: fix manifest sections handling
14759 + 58bb42ad7ca263a75c6eeef51482f805726663a5:
14760 Revert "Switch to -fdebug-compilation-dir"
14761 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
14762 Update turbine
14763 + bef4bbbb47d47befe3711d06f358782ee12554f9:
14764 Update turbine
14765 + d113d7454127bba78aa618dac81e5d164920b662:
14766 Update turbine
14767 + ad241fbebd90a9f0ad65ccd0658838f57030db68:
14768 Allow cquery to filter out incompatible targets
14769 + 1782f0ae751569607ef88930c822ac460a1f8bb3:
14770 Patch grpc to fix cares selecting the wrong source when building
14771 for darwin_arm64 cpu.
14772 + 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
14773 [1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
14774 blobs
14775 + 848a51747a460ab4c5185e4c61ab522a9981cbea:
14776 [2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
14777 blobs
14778 + 9b30172547f2093acb56aedf159a77d5dceffda2:
14779 [3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
14780 blobs
14781 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
14782 Allow exec groups to inherit from the rule or other exec groups.
14783 + d0676693310215407224c1b8e8aea9e3eddc183d:
14784 Support execution constraints per exec group
14785 + f1e0d346c8235c855e61afc2adb870e4b895e002:
14786 Clean up RuleContext to use a Table instead of a Map of Maps.
14787 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
14788 Documentation for #13110
14789 + 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
14790 Prevent --repo_env from triggering unnecessary fetches
14791 + 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
14792 Prevent a crash when using --repo_env=VAR without a value
14793 + 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
14794 Report digest of failed uploads
14795 + 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
14796 Status error presentation with details
14797 + 9a70805db543e2fb910e1c55ef3b3567362adf30:
14798 Fix double shutdown of BuildEventArtifactUploader when BES+File
14799 output enabled.
14800 + 325eb956c92530bdfda54a36a186cae4245a4f7b:
14801 Add rxjava3 to third_party
14802 + ceaac966a7b977461b69ce9501df6a467f4a93b2:
14803 remote: set executable bit of an input file based on its real
14804 value
14805 + 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
14806 Remote: correctly implement equals and hashCode.
14807 + 48648503729d53fdee1322fde2c8e6c05e99cff9:
14808 Fixed an error that bazel binary is not executable when testing
14809 with remote execution.
14810 + bc54c648aa1f99509c7c36d5e6b570d066689209:
14811 Remote: Use parameters instead of thread-local storage to
14812 provide tracing metadata.
14813 + 92955e617b5c41713a5163dc0437c2a024b31815:
14814 Remote: Use parameters instead of thread-local storage to
14815 provide tracing metadata. (Part 2)
14816 + 75bd1ff8ab56d241916bde36291301fa026b2bab:
14817 Remote: Use parameters instead of thread-local storage to
14818 provide tracing metadata. (Part 3)
14819 + 37ee252f3744abc4511f55b5089cc52abd3ba09d:
14820 Remote: Use parameters instead of thread-local storage to
14821 provide tracing metadata. (Part 4)
14822 + 71e35b165f924e2649a078fcf6007645d58039af:
14823 Remote: Use parameters instead of thread-local storage to
14824 provide tracing metadata. (Part 5)
14825 + 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
14826 Write/QueryWriteStatus logging refinement/addition
14827 + 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
14828 Remote: gRPC load balancing. (Part 1)
14829 + e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
14830 Remote: gRPC load balancing. (Part 2)
14831 + 6667ad7dd77f8d97952133052c17e7779c1430ec:
14832 Remote: gRPC load balancing. (Part 3)
14833 + 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
14834 Remote: gRPC load balancing. (Part 4)
14835 + 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
14836 Implement getMessage for BulkTransferException
14837 + a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
14838 Remote: gRPC load balancing. (Part 5)
14839 + 7a62c2d4e27e398f440910c81eacc384f38ca8be:
14840 Remote: Add interoperability between Rx and ListenableFuture.
14841 + 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
14842 Update to latest remote-execution proto
14843 + dad96301d12aa77eb67399e08265a5f30f5ffd6a:
14844 Set Platform on Action not just Command
14845 + 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
14846 Remote: Add AsyncTaskCache which is used to deduplicate task
14847 executions and cache the results.
14848 + 9d0c7325ac810febe565a62fdd875ae0c240b274:
14849 Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
14850 + f54fe07209acc25340df8d2e02993b1add2deafa:
14851 Add --experimental_repository_disable_download to allow users
14852 disable download for external repos
14853 + b243584a479eb4481a9bf4f69acc899610a3b630:
14854 Report errors parsing rewriter config file
14855 + 63bc1c7d0853dc187e4b96a490d733fb29f79664:
14856 Downloader rewriter config has all_blocked_message
14857 + 495ac923f398443be45c20ab29d183fe47e08911:
14858 Allow UrlRewriter to change protocol, i.e. https->http, and
14859 http->https
14860 + 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
14861 Allow overriding the hostname and instance name in bytestream://
14862 URIs
14863 + 0881c80d29acecdfbb58c49156f805e8c50db117:
14864 Don't set requestId on non-multiplex requests.
14865 + e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
14866 When generating a symlink in _virtual_includes, add the original
14867 header to the 'allowed to use' set too
14868 + f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
14869 Make SimpleLogHandler not swallow interrupts.
14870 + f8606e5e76579442a1c6563e718ea54c673f1a04:
14871 linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
14872 + dac0d40d0eb903f5cb70341398d1a333c19adf3a:
14873 Improve "Common Attributes" section
14874 + a607d9dc70ac67f1aa2c32ca954177f9c77860be:
14875 Never create more than one process per WorkerMultiplexer.
14876 + 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
14877 Move sending requests and reading responses for multiplex
14878 workers into separate subthreads.
14879 + 003cfcde3fd3901c1279ba1db3db3a14536248b4:
14880 Allow use of JSON protocol in multiplex workers.
14881 + 308bce36cba46095fe41866e703710035ddddada:
14882 Actively kill off still-active workers when stopping work on
14883 interrupt.
14884 + 8959dff512fe4505af786bcf2ef981ec7082a913:
14885 Add sanitizer support to Apple platforms
14886 + 32f16e9360f3e1856db1775eb5014b930da2a303:
14887 Fix a Google-internal broken link.
14888 + c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
14889 Add SHA-1 to subresource integrity format for download()
14890 checksums
14891 + 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
14892 Remove fallback strategy support for workers, add flag for it in
14893 sandbox.
14894 + 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
14895 Update to java_tools javac11 10.6 (#13245)
14896 + 4928295b236ec8f590a7e9d863502bc2f50a77d9:
14897 Allow .S files in C++ Starlark cc_common.compile.
14898 + 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
14899 Automatic code cleanup.
14900 + b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
14901 Change short output of worker type to have the same logic as the
14902 worker creation for sandboxing vs. multiplex.
14903 + e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
14904 More properly destroy workers on interrupt.
14905 + 7056711eb11b672133274eb29fc93b01dcf088d5:
14906 Make WorkRequestHandler do a GC after some amount of CPU time
14907 has been used on requests. For Bazel and Blaze, defaults to 10s
14908 based on benchmarking.
14909 + 596653d3cf76e7b208da343e1fde5fe20273a5ff:
14910 Allow tree artifacts to be source or header inputs to
14911 cc_common.compile()
14912 + 055c93d11ab20cc4479539b24bbdfa5cab78a342:
14913 Switch to path autocompletion after -- for bazel run commands.
14914 + 807f2a1929e23b60b237c63fadb25af81de2e3c3:
14915 Fix Incompatible Target Skipping for test args
14916 + 9a5cd854e0613f91d52075973e2454b1e009e1ef:
14917 Fix order of build request id and command id
14918 + 706f5acd02363e48076dc97e37613fd968932d03:
14919 Fix bazel crash when passing config_setting to
14920 target_compatible_with
14921 + 61da1d2bf10eabba4c75de959b0374f302d89d70:
14922 Support multiple --bazelrc on command line
14923 + 5593358a58b66f06c4e421bb48856de94c3fd625:
14924 Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
14925 to
14926 + 662cf54de7a103db30e04ebae2d2b919437c4846:
14927 Remote: Fix an issue that a failed action could lead to
14928 RuntimeException caused by InterruptedException thrown when
14929 acquiring gRPC connections.
14930 https://github.com/bazelbuild/bazel/issues/13239
14931 + a3a1763212f29932618b9b9b2f929976ae0e3b6e:
14932 Pass more `--add-exports=` flags
14933 + d2b942879471786e82f1c96eea8722bbe7919fc1:
14934 Remote: Fixed a bug that remote cache is missed due to
14935 executable bit is changed
14936 + 616dc264f02907d7b7887285d22307dfe6d097b6:
14937 Fix Bazel Coverage with C++ to work with Remote Execution
14938 + 5f40d12e741aa30d506eaa15673fb2ae76d29468:
14939 Fix external_path_test with newer Xcode versions.
14940 + b416193075642017e13c774422b49cb07fb65c23:
14941 Allow using embedded tools in sandboxed spawn runners.
14942 + eb762d4e7431637e607146b1c191485795047ef9:
14943 Fix racy write of temporary files while staging virtual inputs
14944 for the sandbox.
14945 + f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
14946 Update platforms_test to not rely on filegroup not using
14947 toolchain
14948 + 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
14949 Update SkyframeTests to not rely on filegroup not using toolchain
14950 + 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
14951 Update ConfigurableAttributesTest to not rely on filegroup not
14952 using …
14953 + 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
14954 Make WorkerExecRoot not be a subclass of SandboxedSpawn.
14955 + 31db460a45767de0bcd664a6efbe9d163b85b802:
14956 Make WorkerExecRoot not be re-created on each createFileSystem()
14957 call. Preparation for holding a map of existing links, but also
14958 just nicer.
14959 + a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
14960 Start the file existence check traversal from the execroot base
14961 instead of execroot so that external repo files at
14962 "<execroot>/../<path>" are correctly handled when the sibling
14963 repository layout is enabled.
14964 + b048282c7893231d3a7191b251804973917b07a4:
14965 Use readdir for cleanExisting in WorkerExecRoot.
14966 + 270f00dd01fa06cf3e813da5a406be3446de7377:
14967 Add native support for Apple Silicon
14968 + 8e56b9423e8ad2f7323fb90b19b73858def81e39:
14969 Explicitly state that embedding macOS OpenJDK is for x86_64
14970 + 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
14971 Remote: Fix a race that AsyncTaskCache#Execution could be reused
14972 after disposed which results in
14973 CancellationException("disposed") propagated to downstream.
14974 + 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
14975 Remove wrapped_clang params files after use
14976 + 47edc57806056f3c8764241ed41b8acc72bd2ebf:
14977 Silence swiftmodule timestamp warnings
14978 + f6e1074b09ebefba185c0531e9cea26b9596c8a9:
14979 Remote: Use shutdownNow() instead of shutdown() in
14980 ChannelConnection#close() as a workaround to a gRPC bug.
14981 + 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
14982 And mnemonic and label to remote metadata
14983 + 615e1b16a81b0defc15699ec8027d6ddd70366d1:
14984 Change `set -x` in coverage to be set by var
14985 + fe4daea99c8cd163793eca84bfb12c8fc437616b:
14986 Bump minimal JDK install base maximum size from 290 to 295 MB.
14987 + 4840a68cd273a429e46d4114a3973fd11d0e3583:
14988 Remote: Check the return value of ActionOwner.getLabel() since
14989 it could be `null`.
14990 + 14abe4fd7c3967686a3536939fdc3882e691bca2:
14991 Allow `DiffAwareness` to share precomputed information about the
14992 workspace and propagate it to the `WorkspaceStatusAction`.
14993 + 082d98772690946ed29c157e60640c97a6e1195b:
14994 Implement available() method for Windows subprocesses.
14995 + c2bdd034014f66ce14529cc353cda18a32320f6c:
14996 Move --repo_env to common options
14997 + e09f2743738044095b9d784ea62df16b7f5750e6:
14998 Revert "Documentation for #13110"
14999 + a165baa250652fdc865ae0df39160be1f7f74c47:
15000 Revert "Clean up RuleContext to use a Table instead of a Map of
15001 Maps."
15002 + 51fb9e13a864f4f704ae378ea632433bae7ddc31:
15003 Revert "Support execution constraints per exec group"
15004 + cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
15005 Revert "Allow exec groups to inherit from the rule or other exec
15006 groups."
15007 + 2ac6581aeaab33ba506fce96dfa6a75eaa819233:
15008 Release 4.1.0 (2021-05-21)
15009 + 7a0f36e3f0a21fed8857efbaa51ded2dbdeefab6:
15010 Change gceMachineType of highcpu platform from n1-highcpu-32 to
15011 e2-highcpu-32
15012 + 19491a91143f0c6132aca62c5ae40ab72e9dc0e2:
15013 Fix #10127: Remove Python 2 dependency from tools/android.
15014 + 80c59dea59d4dce39d4b5d21665c3d7313197358:
15015 fix main repo starlark options parsing - now flags passed on the
15016 command line as --@main_workspace//flag and --//flag will both
15017 parse to --//flag. Before this CL, the former maintained its
15018 workspace prefix and we would get different entries for these
15019 two formats.
15020 + 451b296c3aceb127ebb4a313b6e9608854fa68fa:
15021 Update threshold for long path shortening to be MAX_PATH - 4
15022 + 671e0489a5bd6d5abb4dcd9bcfc85134cee38385:
15023 Force source files to be readable before copying them from
15024 sandbox.
15025 + 6080c1e07f4229ea72eacd04faa9302e44955a84:
15026 Let workers finish lost races without delaying dynamic execution.
15027 + ee738dacb5d0089d3f57b15305057cb9ba675e74:
15028 Fix label_flag and label_setting to not have a dependency on the
15029 default
15030 + 74de0ba4e79341c77b8b85ff4485f92287b6854c:
15031 Java coverage: fix handling of external files
15032 + 48eee8b4b447a2ad11df28dd81a2ccb65562b5f5:
15033 [Bazel] Fix mobile-install for python2
15034 + 763dd0ce6e1644bf895231432f616427a11d385a:
15035 Add `stub_shebang` to `py_runtime`
15036 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
15037 Move use of legacy sandbox -> local fallback to only be used
15038 after all strategies have been tried, and improve messages
15039 around it.
15040 + 6dc941e58dfc1d4a9714a76b921fbe11fce658ed:
15041 Remove restriction on generate_pdb_file to be only used in dbg
15042 and fastbuild mode
15043 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
15044 Check the result of Future.cancel() when cancelling the other
15045 branch of dynamic execution.
15046 + aaae8ce2881c8c1a5d4ad64f20d6e71aa372cf2e:
15047 Update DEFAULT_MACOS_CPU to match host
15048 + 2f0927a4fd9342f4dcfd43475d3f1c90c523584f:
15049 Fix symlink creation on older Windows versions
15050 + fd9cffdcaf05551126e66f1cd62815eaa1af6bd9:
15051 Suppress interrupted status during pool closure
15052 + 33903d28bcea0005adf9b2a8cc4659c5e2999bbe:
15053 Fix Windows developer mode symlinks
15054 + 0cd1666721bdbe988dc361c085bb43cbd41a27f3:
15055 Respect Starlark options with values in `removeStarlarkOptions()`
15056 + 7920ffef472b25db3f4e564e5a3a28a4664c666e:
15057 cquery inherits from `test` not `build`
15058 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
15059 Allow exec groups to inherit from the rule or other exec groups.
15060 + d0676693310215407224c1b8e8aea9e3eddc183d:
15061 Support execution constraints per exec group
15062 + f1e0d346c8235c855e61afc2adb870e4b895e002:
15063 Clean up RuleContext to use a Table instead of a Map of Maps.
15064 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
15065 Documentation for #13110
15066 + e376580ae4e9ad5bddc196bfb6ad3127e3ff561b:
15067 Split ExecGroup into a new target.
15068 + 0cbb8a863522d2f77ab6b67a01e39b19a9a81807:
15069 Create a new interface to allow Starlark objects to get a thread
15070 when getIndex is called.
15071 + d2e21cec31f09b27ef3589f47b0779f34077ca7e:
15072 Renamed ExecGroupCollection to clarify that it is only for
15073 Starlark usage.
15074 + b9519f92f8ce096107164ca5075feced0e989de7:
15075 Make StarlarkExecGroupContext use AutoValue.
15076 + 52b1b748b2368820bac2ca94323fb82c39c00e51:
15077 Use a dummy toolchain context for rules that don't have one.
15078 + 41877d0fefe3f021f3ff6d4ce398d0deb27157e6:
15079 Extract a separate StarlarkToolchainContext for starlark-only
15080 operations.
15081 + b120d4febc571f17e12501ad87fbff32ef94e9bb:
15082 Fix toolchains to support type lookup.
15083 + dc140d0b6119950dd4a7d71b125b15a78bacc8ce:
15084 Move DEFAULT_EXEC_GROUP_NAME from ToolchainCollection to
15085 ExecGroup.
15086 + 9b18d951a52819f1998ddfdc1739fa1b5bf0353d:
15087 Rename ToolchainCollection.getExecGroups to getExecGroupNames.
15088 + 10d4473bf476a587e3d9f9b2214581ec420c1919:
15089 BuildViewForTesting should directly call into
15090 ConfiguredTargetFunction.
15091 + 58a6fb1f8739e39125cc8c647f28cff2e79fe9aa:
15092 Move exec group tests out of platforms_test and into integration.
15093 + 7d5493d922761c3ce0037f0025912cc532c55ad7:
15094 Update creating exec groups that explicitly copy from defaults.
15095 + 8c6382a81237e72dbec24b3850df9481461e0015:
15096 Create a new ExecGroupCollection container to manage exec group
15097 inheritance and exec property parsing.
15098 + b4b0c321910bc968736ef48e8140528ea7d323cd:
15099 Fix unix toolchain for macos arm64 platform
15100 + f64f071f44394a33a1be40cb7642e2c881d1e9bb:
15101 Add `required_providers` attribute to Starlark defined aspects.
15102 + f2cbdcf67ac1990f05a8241ba8dae65795edac82:
15103 Don't ever claim /dev/null is an execpath.
15104 + ceec93c35ead1bd487e96a5fee46e8d080f88858:
15105 Don't ever claim /dev/null is an execpath.
15106 + 1f3f9f4c4b2eded90518aacd1b0b80c1b0dfd1c5:
15107 Use the parent directory of the exec root as the input root on
15108 RBE.
15109 + 4efeac9cb5f85325ed73f64e133a078c483cac01:
15110 Make the Merkle tree computation work in the wake of
15111 https://github.com/bazelbuild/bazel/commit/7149f578006a4ad0d51df6
15112 9830a6986749b34df5 .
15113 + b56a2aa709dcb681cfc3faa148a702015ec631d5:
15114 Remote: Use execRoot as input root and do NOT set working
15115 directory by default.
15116 + ae53991f2e207edacd1352ba94261e2473b79f14:
15117 Remote: Add RemoteExecutionService as a layer between spawn
15118 execution and remote execution.
15119 + 0c07c2e6571dd4806552213b2237ecb7a908afa4:
15120 Remote: Add remoteCacheable key to execution log
15121 + 5e617d83f3aab1fd36b07be4b58aba58604cc46e:
15122 Remote: Register "remote" strategy even if remote execution is
15123 not available.
15124 + 4ca8946a8e1c4c2fd48d8fb8ce38adb8b282fef0:
15125 Remote: Add --experimental_capture_corrupted_outputs flag.
15126 + 97d7b4c277814d73b50450b03f4bb160ce7e99b4:
15127 Remote: Report checking cache status before the action is
15128 scheduled to run remotely.
15129 + ba5b2a7c9448a3681a0d86d80670447e338a06dc:
15130 when writing to local disk cache, open files later in order to
15131 avoid "too many open files"
15132 + 3551898849a93306ad9b4dfdd7d4667913098efe:
15133 Propagate test envs to xml generation action
15134 + 9f8c678d7054548865f56f3464f778c751657074:
15135 Remote: Fix a bug that the XML generation is executed even if
15136 test.xml is generated when build with --remote_download_minimal.
15137 + af42653e6f6bd229142f4678bb256a8c397b4d8d:
15138 Automatic code cleanup.
15139 + 07a84ce31d9b09853c63c7e373418696dd285dc5:
15140 Remote: Another attempt to fix the CancellationException error
15141 in AsyncTaskCache caused by a race condition.
15142 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
15143 Remote: Display download progress when actions are downloading
15144 outputs from remote cache.
15145 + 18c82168433719b400a705a4a0222969a7a026ba:
15146 Remote: Do not upload empty output to remote cache.
15147 + 6a138a60e562beeef36003c4814a6b8ce9f253f6:
15148 Fix compiling errors
15149 + bcce6dd026e90336e80616a8c1004a79a2f8640c:
15150 Add the TEMP_FAILURE_RETRY macro to linux-sandbox-pid1.cc.
15151 + c8c0d94a49e1b865d95c6d245c2d152c7c7c9722:
15152 Export proguard specs from aar_import
15153 + 1a0285c3b64b121268ced3eb9ad9d5ba396b4905:
15154 Fix stripping of macOS loadable bundles
15155 + 0d3c231f5a08861d28e987703e9196890e6164bf:
15156 Roll forward config_setting visibility enforcement behind a flag.
15157 + bb7a01027242390da1c18fbf87c274cc34c11b79:
15158 Fix merge conflicts.
15159 + 8b8e77ea226aaa12e79580422bc5984e80ce048b:
15160 Remove redundant declaration.
15161 + 7c92cfcf9a88933c29334f6271ad3f086f7f36f4:
15162 Ignore empty virtual artifacts when spawn-logging inputs.
15163 + 4158b61211e099db780565d064a1c1a80c91bd2a:
15164 Use correct exit code on invalid aquery --output
15165 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
15166 Remote: Fix a race when reporting action progresses.
15167 + 0e652737988e3c115e98e1552f6fada52bc2b9a2:
15168 Change MIN_BUILD_TOOLS_REVISION to 30.0.0
15169 + 6f9909c04b1e00faa510b38ccabac78821046cf9:
15170 Update Android remote tools to ensure Bazel uses the latest
15171 Android tooling that has been updated to support AndroidX
15172 databinding generation.
15173 + 31d88c629dff2c5f8e8a4baf8c89fd3349c9783e:
Bazel Release System9ec8fb12021-08-13 14:57:53 +020015174 Automated rollback of commit
Bazel Release System497a8482021-08-18 08:44:59 -040015175 9a1d428e33bfae1ec5b68250d4732b72346b8b39.
15176 + 951a3023fbcdbe025e350590e6fa86097da3fe05:
15177 Increase allowed size of the install_base.
15178 + a7845f65befbeb65a28ec53e62458211a7bc3f8e:
15179 Increase allowed size for install base again.
15180 + affc27f9d18f9781437e91a3f36c73962a56f261:
15181 Bump version of java allocation instrumenter.
15182 + 7efabba19cf6400bf9e707f53b40a6dd7110fafb:
15183 Reference the correct version of the java allocation
15184 instrumenter.
15185 + afb819697a6c3daca71a0105d723f54d42fe129f:
15186 Support extracting aar files.
15187 + 861c3caa85e47da35a8a4f1512e57d43b9263c37:
15188 Revert "Remote: Fix a race when reporting action progresses."
15189 + 92ec798ddc1f38fb4868af08c1d818639283f501:
15190 Revert "Remote: Display download progress when actions are
15191 downloading outputs from remote cache."
15192 + ce091abb290d1d753f480cdee0e69748eb20db52:
15193 Revert "Fix compiling errors"
15194 + 1b19cd310418b850e8e0ca2086ffe50755c9ed7e:
15195 Revert "Remote: Fix a bug that the XML generation is executed
15196 even if test.xml is generated when build with
15197 --remote_download_minimal."
15198 + 988b56f5916e024d10695797a7f963b30fc998c7:
15199 Revert "Remote: Report checking cache status before the action
15200 is scheduled to run remotely."
15201 + 35c98d07b21785efae57a7c4230cc1e452f74fd2:
15202 Revert "Let workers finish lost races without delaying dynamic
15203 execution."
15204 + c4e22b9ace07f5d360c5327a38f9ae4ab24b7109:
15205 Migrate ExampleWorker to use WorkRequestHandler.
15206 + 230be161176bd6f1251077af7674f80d38ff1e25:
15207 Do not interleave readdir() calls with deletion of directory
15208 entries.
15209 + 3cc8ce6ba0934b1a4d9db184daf055c1207ef105:
15210 Propagate OOME if NewByteArray allocation failed
15211 + 19fc15ebbf6c63fcce90a038e91c5ec726852848:
15212 Create helper method for sandbox tests, transform existing tests
15213 into using it.
15214 + deb1006c0778692f7eaef4cbcf7eeb8112b55e91:
15215 Cleanup: Replace NULL with nullptr
15216 + f4b5e0233341977aaa76593ca032d9ac4eba7444:
15217 Let workers finish lost races without delaying dynamic execution.
15218 + 186decab01ee247c7453baf19dac778545ec4937:
15219 Interface and flag specification for worker cancellation.
15220 + 5894a8544d51c99f1356130b8b487bc93299fedd:
15221 Create BUILD file in worker tests directory instead of running
15222 tests from the parent directory.
15223 + e9e6978809b0214e336fee05047d5befe4f4e0c3:
15224 Server-side implementation of worker cancellation.
15225 + 5103662238f2df2038c7dff079e9c655e08ba654:
15226 Add builder for WorkRequestHandler.
15227 + 1a519bb66c3fa3e4ef3b9a9a556597920751fbcd:
15228 Makes singleplex requests be handled in separate threads in
15229 WorkRequestHandler.
15230 + 779d66019210f54e10a1343ee004df72a8dec812:
15231 Only allow worker async finishing when sandboxed.
15232 + a698bef6146a807fd82ee4402d89c23c83802e33:
15233 Support for cancellation in WorkRequestHandler.
15234 + 9dc95af4c7ef10979f21173260f5433006116096:
15235 Make workers restart on flags that affect their
15236 creation/behaviour.
15237 + 7e5cd529e9f8c9cb67900af36182f00ef7316654:
15238 Remote: Report checking cache status before the action is
15239 scheduled to run remotely.
15240 + 6e134a1b68418fba9992692901efa77a80c346f7:
15241 Remote: Fix a bug that the XML generation is executed even if
15242 test.xml is generated when build with --remote_download_minimal.
15243 + d4d071401acadb0d8977850a9439474e60fd7bb9:
15244 Fix compiling errors
15245 + 2579c9a18360955699d028426b45d381ff53783c:
15246 Eagerly initialize JNI copies of Java classes: doing lazy
15247 initialization on a per-method basis doesn't save anything and
15248 adds a tiny bit of overhead to every one of these calls.
15249 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
15250 Remote: Display download progress when actions are downloading
15251 outputs from remote cache.
15252 + 3835d9b21ad524d06873dfbf465ffd2dfb635ba8:
15253 Update the WorkRequestHandler to use callbacks of type:
15254 BiFunction<WorkRequest, PrintWriter, Integer>: - Mark
15255 constructors that use BiFunction<List<String>, PrintWriter,
15256 Integer> callback as deprecated. - Use a wrapper class for the
15257 BiFunction<WorkRequest, PrintWriter, Integer>. Suggesting this
15258 to avoid having two constructors that takes a BiFunction, as it
15259 creates a confusion between the deprecated and new constructor
15260 when given a lambda expressions.
15261 + 5e352afe2b35487ea2ced85ca79bd9f79858e648:
15262 Fix bug in WorkRequestHandler's handling of singleplex requests
15263 that would cause occasional hangs.
15264 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
15265 Remote: Fix a race when reporting action progresses.
15266 + c9d823e42796962eed039b8122528c2a1541190f:
15267 Disable flaky test.
15268 + e6809c90ecc0ef5783faa39e63188fc33a79b80e:
15269 Revert "Check the result of Future.cancel() when cancelling the
15270 other branch of dynamic execution."
15271 + be4cbc7a67196414e3d3f323be8ab55fb5e530f7:
15272 Revert "Move use of legacy sandbox -> local fallback to only be
15273 used after all strategies have been tried, and improve messages
15274 around it."
15275 + b32349f50ff3d958613aef9275751ad9d50d344c:
15276 Set a fallback dynamic local strategy even when the
15277 dynamic_local_strategy flag is passed.
15278 + f395157c95692565bc220c7ccf788974fe0885fd:
15279 Allow running an extra spawn for local branch of dynamic
15280 execution.
15281 + 039461c76113ab3f165132dd26d0c58eb3e45cae:
15282 Adding debugging information for case when two branches
15283 apparently cancel each other.
15284 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
15285 Move use of legacy sandbox -> local fallback to only be used
15286 after all strategies have been tried, and improve messages
15287 around it.
15288 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
15289 Check the result of Future.cancel() when cancelling the other
15290 branch of dynamic execution.
15291 + 1962a59a5478f5ad374700b0abf0a718b1b3a7d3:
15292 Fix the case where if all strategies for one branch of `dynamic`
15293 execution fail to accept (that is, refuse to even take) the
15294 action given, the whole action fails. Instead of seeing whether
15295 the other branch can run and the action that that it succeeded.
15296 + b7c1ad2aff91105659299723a712b72eea943040:
15297 Fix rare crash in dynamic execution where both branches got
15298 cancelled.
15299 + 2c3cff5422b115d7bb86ed28a056f3d368ebceeb:
15300 Check if `treeDeleter` is actually async before casting it.
15301 Fixes #13240.
15302 + 1a89ce1757e75f8ba9bda76d7373a7e8527bcfc5:
15303 Make worker JSON protocol properly ignore unknown fields.
15304 + 7bbff61d9486eeb6b7cd0b6cfb619a9b6e08967b:
15305 Fix test_source_file_does_not_override_standard_library to work
15306 with Python 3.9.
15307 + f4e10367df2d881f05e3ddd5bd0531b390a845fe:
15308 Removing line ending matches in tests to be compatible on Windows
15309 + ba74df07ced96226d78851e11d1df03147f1cc1f:
15310 Refactors CompilationSupport for objc to use existing API
Bazel Release System16293d52021-07-29 13:40:11 +020015311```
15312
15313Important changes:
15314
Bazel Release System497a8482021-08-18 08:44:59 -040015315 - Multiplex persistent workers can now use the JSON protocol.
15316 - enforce config_setting visibility. See
15317 https://github.com/bazelbuild/bazel/issues/12932 for details.
15318 - The minimum Android build tools version for the Android rules is
15319 now 30.0.0
15320 - Updates worker protocol with cancellation fields, and adds
15321 experimental_worker_cancellation flag to control cancellation.
15322 - If all strategies of one branch (the local or remote execution
15323 branch) of the `dynamic` strategy fail to even accept (via the
15324 response they give from `canExec`) the action, `dynamic` will now
15325 try to see if the other branch can accept it. (Trying to run it
15326 and it failing will still cause a failure if it was the first
15327 result, this is about strategies claiming they can't even try the
15328 action)
Bazel Release System16293d52021-07-29 13:40:11 +020015329
Bazel Release System497a8482021-08-18 08:44:59 -040015330This 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 +020015331
Bazel Release Systemf3be7b12021-07-16 14:23:53 +020015332## Release 5.0.0-pre.20210708.4 (2021-07-16)
15333
15334```
15335Baseline: ca1d20fdfa95dad533c64aba08ba9d7d98be41b7
15336
15337Cherry picks:
15338
15339 + 802901e697015ee6a56ac36cd0000c1079207d12:
15340 Add flags parameter to attr.label for use in builtins only.
15341 + aa768ada9ef6bcd8de878a5ca2dbd9932f0868fc:
15342 Automated rollback of commit
15343 ca1d20fdfa95dad533c64aba08ba9d7d98be41b7.
15344 + 4bcf2e83c5cb4f459aae815b38f1edd823286a29:
15345 Automated rollback of commit
15346 ff38dbfc65b8ffe92833e67f12ce616739a3d213.
15347 + 706483fd6398f00fd4faba73812de9bf15728086:
15348 Resolve merge conflict
15349 + 3821db8725b9ea3267cddfd0bbad55f50e96527e:
15350 Fix merge conflict properly
15351```
15352
15353Important changes:
15354
15355 - The used_heap_size_post_build field in BEP is populated when the
15356 --memory_profile flag is set
15357
15358This release contains contributions from many people at Google, as well as Daniel Wagner-Hall, Grzegorz Lukasik, Keith Smiley, Kevin Hogeland, Yannic Bonenberger.
15359
Bazel Release System1f1aec12021-07-02 16:12:06 +020015360## Release 5.0.0-pre.20210623.2 (2021-07-02)
15361
15362```
15363Baseline: 8b453331163378071f1cfe0ae7c74d551c21b834
15364
15365Cherry picks:
15366
15367 + 223113c9202e8f338b183d1736d97327d28241ea:
15368 Automated rollback of commit
15369 ae2a6a2dc909e468a284913c410fde995cf51095.
15370```
15371
15372Important changes:
15373
15374 - Adds --experimental_reuse_sandbox_directories flag to reuse
15375 already-created non-worker sandboxes with cleanup.
15376 - --experimental_force_gc_after_build is deprecated and will be
15377 removed soon. Use --bep_publish_used_heap_size_post_build instead
15378 - Forward coverage-instrumented files from non-tool dependencies by
15379 default.
15380
15381This release contains contributions from many people at Google, as well as David Ostrovsky, Johannes Abt, Masoud Koleini, Pras Velagapudi.
15382
Bazel Release System30f0ca72021-06-25 19:40:13 +020015383## Release 5.0.0-pre.20210615.3 (2021-06-25)
15384
15385```
15386Baseline: e7bd0947ab552a26ec032d0f1a50ee15c8810f6c
15387
15388Cherry picks:
15389
15390 + 04bed291c9f56163ae4da3a358d71cf8399b47a4:
15391 Disable shadowed_action part of action_aspect_test
15392 + 367b19eb8821b4de738c6c994ba275c695f4726b:
15393 Fix starlark action with shadowed_action inputs cache test
15394 + 4acb9ae67a7135b2365b92e91601d4797adc2ad5:
15395 Automated rollback of commit
15396 03f6af623ae3de4a9b756b5235ebd31cc2faf762.
15397```
15398
15399Incompatible changes:
15400
15401 - Native libraries in data attribute are not collected. See
15402 https://github.com/bazelbuild/bazel/issues/13550 for details
15403
15404Important changes:
15405
15406 - Remove obsolete --incompatible_prohibit_aapt1
15407 - The minimum Android build tools version for the Android rules is
15408 now 30.0.0
15409
15410This release contains contributions from many people at Google, as well as Cameron Mulhern, Delwin9999, Keith Smiley.
15411
Bazel Release System7ad949b2021-06-11 15:03:28 +020015412## Release 5.0.0-pre.20210604.6 (2021-06-11)
15413
15414```
15415Baseline: d571c8976f279e4d485498d0875c85ae73aecc42
15416
15417Cherry picks:
15418
15419 + c367a7e027f351e8ffefabf919563abbb8c7d0e1:
15420 Fix places where nodes were still being enqueued at
15421 `Integer.MAX_VALUE` and add checks for overflow conditions.
15422 + 260015df1524543d56b0dbff00958320cd58d166:
15423 Automated rollback of commit
15424 f1b37b5d610728634d92ef4ebd4d1435c0c8605d.
15425```
15426
15427Important changes:
15428
15429 - Add `disable_annotation_processing` option to
15430 `java_common.compile`, which disables any annotation processors
15431 passed to `plugins` or in `exported_plugins` of `deps`
15432
15433This 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.
15434
Bazel Release Systemf24ceb62021-06-09 20:59:14 +020015435## Release 5.0.0-pre.20210520.7 (2021-06-09)
15436
15437```
15438Baseline: e2ae73fe16cbedf095b9e6d5687b06ecf765d794
15439
15440Cherry picks:
15441
15442 + 0fdb485421f9d134f11103a36c48182769fb40d3:
15443 Automated rollback of commit
15444 f2230d8494e70f02b1e4fb082fcf8550aa684a40.
15445 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
15446 Support rolling releases in Bazel release scripts.
15447 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
15448 Fix syntax error in Bazel release scripts
15449 + 4ef9c566c861848fef7907cf07a6e7d9d15cee7a:
15450 Fix location of -prerelease option
15451 + a6dfd927c58c63275159858ac661a9b669594a0c:
15452 Add --experimental_shadowed_action to graveyard options for all
15453 commands.
15454```
15455
15456Important changes:
15457
15458 - If all strategies of one branch (the local or remote execution
15459 branch) of the `dynamic` strategy fail to even accept (via the
15460 response they give from `canExec`) the action, `dynamic` will now
15461 try to see if the other branch can accept it. (Trying to run it
15462 and it failing will still cause a failure if it was the first
15463 result, this is about strategies claiming they can't even try the
15464 action)
15465
15466This release contains contributions from many people at Google, as well as Benedek Thaler.
15467
Bazel Release System6af9fa62021-06-09 19:45:15 +020015468## Release 5.0.0-pre.20210516.1 (2021-06-09)
15469
15470```
15471Baseline: 275c54c982468b97611dc764c68daed8d7c45004
15472
15473Cherry picks:
15474
15475 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
15476 Support rolling releases in Bazel release scripts.
15477 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
15478 Fix syntax error in Bazel release scripts
15479 + 4ef9c566c861848fef7907cf07a6e7d9d15cee7a:
15480 Fix location of -prerelease option
15481```
15482
15483This release contains contributions from many people at Google, as well as Keith Smiley, Niek Peeters.
15484
Bazel Release System57d167b2021-06-01 12:52:54 +020015485## Release 5.0.0-pre.20210510.2.2 (2021-06-01)
15486
15487```
15488Baseline: 8a42645ec500874b0440475763ab680d5efc1e6a
15489
15490Cherry picks:
15491
15492 + e3c78c4eeaf4e8db3c22aa71c6c1578cb48c8dcc:
15493 Ensure that test status artifacts are reported as top-level
15494 artifacts.
15495 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
15496 Support rolling releases in Bazel release scripts.
15497 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
15498 Fix syntax error in Bazel release scripts
15499 + 4ef9c566c861848fef7907cf07a6e7d9d15cee7a:
15500 Fix location of -prerelease option
15501```
15502
15503This release contains contributions from many people at Google, as well as .
15504
Bazel Release Systemf7049e52021-05-31 22:10:26 +020015505## Release 5.0.0-pre.20210510.2.1 (2021-05-31)
15506
15507```
15508Baseline: 8a42645ec500874b0440475763ab680d5efc1e6a
15509
15510Cherry picks:
15511
15512 + e3c78c4eeaf4e8db3c22aa71c6c1578cb48c8dcc:
15513 Ensure that test status artifacts are reported as top-level
15514 artifacts.
15515 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
15516 Support rolling releases in Bazel release scripts.
15517 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
15518 Fix syntax error in Bazel release scripts
15519```
15520
15521This release contains contributions from many people at Google, as well as .
15522
Bazel Release Systeme7d34802021-05-31 20:35:38 +020015523## Release 5.0.0-pre.20210510.2 (2021-05-31)
15524
15525```
15526Baseline: 8a42645ec500874b0440475763ab680d5efc1e6a
15527
15528Cherry picks:
15529
15530 + e3c78c4eeaf4e8db3c22aa71c6c1578cb48c8dcc:
15531 Ensure that test status artifacts are reported as top-level
15532 artifacts.
15533 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
15534 Support rolling releases in Bazel release scripts.
15535```
15536
15537Incompatible changes:
15538
15539 - Removing java_common.javac_jar Starlark call.
15540 - native.existing_rule now returns select values in a form that is
15541 accepted by rule instantiation. This is a breaking API change
15542 because there is some code that relies on the precise type
15543 returned, including brittle workarounds for this bug specifically
15544 and insufficiently flexible workarounds for other issues with the
15545 intersection of select and native.existing_rule.
15546 - flipped incompatible_use_toolchain_resolution_for_java_rules, see
15547 #7849
15548 - Query output=xml/proto/location for source files will now show
15549 the location of line 1 of the source file (as the new default)
15550 instead of its location in the BUILD file.
15551 - Specifying a target pattern underneath a directory specified by
15552 .bazelignore will now emit a warning, not an error.
15553 - Query `--order_output=auto` will now sort lexicographically.
15554 However, when `somepath` is used as a top level function (e.g.
15555 `query 'somepath(a, b)'`), it will continue to output in
15556 dependency order. If you do not want the lexicographical output
15557 ordering, specify another `--order_output` value (`no`, `deps` or
15558 `full`) based on what ordering you require.
15559 - In the build event stream,
15560 BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
15561 Its value was always mostly meaningless.
15562 BuildMetrics.TargetMetrics.targets_configured and
15563 BuildMetrics.ActionSummary.actions_created now include configured
15564 aspect data.
15565 - //visibility:legacy_public has been removed.
15566 - Flip and remove incompatible_dont_collect_so_artifacts
15567 (https://github.com/bazelbuild/bazel/issues/13043).
15568 - Remove flag --experimental_no_product_name_out_symlink: it is
15569 always true.
15570 - The Starlark method generate_dsym in objc fragment has
15571 been deleted. Please use the equivalent apple_generate_dsym in
15572 cpp
15573 fragment instead.
15574
15575Important changes:
15576
15577 - Flag --incompatible_objc_compile_info_migration is removed. See
15578 #10854.
15579 - Flag --incompatible_objc_compile_info_migration is removed. See
15580 #10854.
15581 - Flag --incompatible_objc_compile_info_migration is removed. See
15582 #10854.
15583 - none
15584 PAIR=cmita
15585 - The --incompatible_load_python_rules_from_bzl flag is now a no-op.
15586 - Filter all (instead of just C++) source files for coverage output
15587 according to --instrumentation_filter and
15588 --instrument_test_targets.
15589 - The `--incompatible_disable_native_apple_binary_rule` flag has
15590 been added which disables the native `apple_binary` rule. Users
15591 who need to use `apple_binary` directly (if they cannot use one
15592 of the more specific Apple rules) should load it from
15593 https://github.com/bazelbuild/rules_apple.
15594 - The Android rules' --use_singlejar_apkbuilder is now a no-op.
15595 SingleJar will always be used to build APKs.
15596 - dict.setdefault(key, ...) now fails if dict is frozen, even if it
15597 already contains key. This is an incompatible API change.
15598 - Flag --incompatible_objc_provider_remove_compile_info is removed.
15599 See #11359.
15600 - Starlark now permits def statements to be nested (closures).
15601 - native.existing_rule now returns select values in a form that is
15602 accepted by rule instantiation. This is a breaking API change,
15603 though the fallout is expected to be small.
15604 - Starlark now supports lambda (anonymous function) expressions.
15605 - The "test" and "coverage" commands no longer return 3 when a
15606 test action fails because of a system error. Instead, the exit
15607 code
15608 reflects the type of system error.
15609 - The undocumented ctx.expand feature no longer exists.
15610 - Make --legacy_dynamic_scheduler a no-op flag.
15611 - Multiplex persistent workers can now use the JSON protocol.
15612 - native.existing_rule now returns a mutable list, not a tuple, for
15613 a list-valued attributes. This is an incompatible API change.
15614 - Roll back change to have native.existing_rules use list instead
15615 of tuple.
15616 - BEP includes test suite expansions.
15617 - config_setting now honors `visibility` attribute (and defaults to
15618 `//visibility:public`)
15619 - Change the MultiArchSplitTransitionProvider to be based on
15620 platform type + CPU instead of fixed "ios_" + cpu.
15621 - enforce config_setting visibility. See
15622 https://github.com/bazelbuild/bazel/issues/12932 for details.
15623 - add a flag to build v4 signature file
15624 - Added _direct_source_jars output group to Java related targets.
15625 END_PUBLIC
15626 - pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
15627 Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
15628 - Allowing the lipo operations to be conditional in the
15629 linkMultiArchBinary API for Apple binaries. Single architecture
15630 slices are now returned through AppleBinaryOutput and the
15631 Starlark API.
15632 - Release restriction for "-" in the package name for Python
15633 sources. Now `py_binary` and `py_test` targets can have main
15634 source file with "-" in the path.
15635 - Users consuming BEP may assume that a `named_set_of_files` event
15636 will
15637 appear before any event referencing that `named_set` by ID. This
15638 allows consumers
15639 to process the files for such events (eg. `TargetCompleted`)
15640 immediately.
15641 - BEP includes all files from successful actions in requested
15642 output groups.
15643 Previously, an output group's files were excluded if any file in
15644 the output group
15645 was not produced due to a failing action. Users can expect BEP
15646 output to be larger
15647 for failed builds.
15648 - In BEP, TargetComplete.output_group has a new field `incomplete`
15649 indicating that the file_sets field is missing one or more
15650 declared artifacts
15651 whose generating actions failed.
15652 - The flag `--toolchain_resolution_debug` now takes a regex
15653 argument, which is used to check which toolchain types should
15654 have debug info printed. You may use `.*` as an argument to keep
15655 the current behavior of debugging every toolchain type.
15656 - Add runfiles.merge_all() for merging a sequence of runfiles
15657 objects.
15658 - runfiles.merge() and merge_all() now respect
15659 --nested_set_depth_limit.
15660 If you hit the depth limit because you were calling merge() in a
15661 loop, use
15662 merge_all() on a sequence of runfiles objects instead.
15663 - Bazel will no longer create a bazel-out symlink if
15664 --symlink_prefix is specified: the directory pointed to via the
15665 bazel-out symlink is accessible via ${symlink_prefix}-out. If
15666 this causes problems for you, set
15667 --experimental_no_product_name_out_symlink=false in your builds
15668 and file an issue.
15669 - Updates worker protocol with cancellation fields, and adds
15670 experimental_worker_cancellation flag to control cancellation.
15671 - Simplify build failure output by always using `NNN arguments`.
15672 - trim_test_configuration now defaults to on
15673 - Mark genrule.srcs as a source attribute for coverage.
15674 - When using --allow_analysis_failures (for example, via
15675 bazel-skylib's
15676 analysistest with `expect_failure = True`), analysis-time
15677 failures in aspect
15678 implementation functions will now be propagated and saved in
15679 AnalysisFailureInfo, just like analysis-time failures in rules.
15680 - cquery --noimplicit_deps now correctly filters out resolved
15681 cc_toolchains
15682 - Sign apks deterministically.
15683 - Make gcov optional in cc_toolchain tools.
15684 - If --experimental_prefer_mutual_xcode is passed, Bazel will
15685 choose the local default (instead of the newest mutually
15686 available version) if it's available both locally and remotely.
15687 - Remove java_lite_proto_library.strict_deps attribute.
15688 - Generate proguard configurations deterministically.
15689 - Adds a new flag, `--incompatible_enable_cc_test_feature` which
15690 switches from the use of build variables to the feature of the
15691 same name.
15692 - Dropped fragile xz support from built in pkg_tar. Users requiring
15693 xz
15694 compression should switch to bazlebuild/rules_pkg.
15695
15696This 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].
15697
Bazel Release System2ac65812021-05-21 13:07:43 +020015698## Release 4.1.0 (2021-05-21)
15699
15700```
15701Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
15702
15703Cherry picks:
15704
15705 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
15706 Use getRunfilesPath for run_under executable path generation.
15707 getRootRelativePath doesn't return a valid runfiles path for
15708 external source files anymore after the recent external source
15709 root change. Also, it won't work for external labels either once
15710 the --nolegacy_external_runfiles becomes default. This fixes
15711 issue #12545.
15712 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
15713 Fix NPE when coveragerunner is not set on the toolchain.
15714 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
15715 Fix the classic query package-loading cutoff optimization with
15716 external workspaces.
15717 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
15718 Update turbine
15719 + bef4bbbb47d47befe3711d06f358782ee12554f9:
15720 Update turbine
15721 + d113d7454127bba78aa618dac81e5d164920b662:
15722 Update turbine
15723 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
15724 Support Scala3 .tasty files
15725 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
15726 Update to java_tools javac11 release 10.5 (#12647)
15727 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
15728 Fix common prefix for instrumentation filter
15729 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
15730 Fix builds for filegroup targets with incompatible dependencies
15731 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
15732 Revert "Remove
15733 --incompatible_blacklisted_protos_requires_proto_info"
15734 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
15735 Transform roots along with paths during output deletion.
15736 + e8835c1c221d76a2d5532d18083eaa04401619b3:
15737 AttributeContainer.Large now handles more than 127 attributes.
15738 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
15739 Add an env attribute to all test and binary rule classes
15740 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
15741 Take no action to prefetch empty artifacts.
15742 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
15743 Fix a couple of bugs with Incompatible Target Skipping
15744 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
15745 Pass --host_action_env to host options hostActionEnvironment
15746 attribute
15747 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
15748 Add --{no,}autodetect_server_javabase.
15749 + c83366064621d5a265eba14d93a03deff58fe6d8:
15750 Only treat "env" and "env_inherit" attrs specially for native
15751 rules
15752 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
15753 Fix coverage support when using default_java_toolchain. (#12801)
15754 + 4158a6f512e52516437e00f8d9609a91be7fc195:
15755 Revert JacocoCoverage target to remote_java_tools_java_import
15756 and add a new target for remore_java_tools_filegroup. (#12813)
15757 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
15758 Add windows_msvc back to conditions in bazel_tools.
15759 + 6b33bdb1e22514304c0e35ce8e067f2175685245:
15760 Release 4.0.0 (2021-01-21)
15761 + 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
15762 Fix error message from getPrerequisites to not print internal
15763 details.
15764 + 27e15ad11410eb1014f5247fd0eeb31a46733c07:
15765 Clean up ConfiguredTargetValueAccessor and
15766 ConfiguredTargetAccessor
15767 + e87feb8ac9573cef993824f82370d0389570521d:
15768 Move getConfigConditions into ConfiguredTarget.
15769 + 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
15770 Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
15771 value.
15772 + 079bb7d69931705bb2b092c9017090e224ef3043:
15773 Clean up old dependencies that are unused since
15774 https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
15775 5ef5702880d5ac7c5c.
15776 + e03cb63e059420847d6578d7cbfe93f05615c95e:
15777 Update bazelbuild/platforms to a current release. - Roll forward
15778 https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
15779 7f925cf88e0cd5b76a with kythe fix.
15780 + 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
15781 Update docs and tests to use the @platforms//:incompatible
15782 constraint
15783 + c71697cf33b0fbbb42fc2910bac83960edc7e855:
15784 Clarify test_suite behaviour in the Platforms docs
15785 + dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
15786 Enable toolchain resolution for filegroup targets.
15787 + 24d086446f74606819dc53c3a436caa056ff05b7:
15788 PlatformProviderUtils should ignore targets that don't have the
15789 needed
15790 + ba60c0b3f9bbd00975c984244839b155e84b4c5d:
15791 ijar: fix manifest sections handling
15792 + 58bb42ad7ca263a75c6eeef51482f805726663a5:
15793 Revert "Switch to -fdebug-compilation-dir"
15794 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
15795 Update turbine
15796 + bef4bbbb47d47befe3711d06f358782ee12554f9:
15797 Update turbine
15798 + d113d7454127bba78aa618dac81e5d164920b662:
15799 Update turbine
15800 + ad241fbebd90a9f0ad65ccd0658838f57030db68:
15801 Allow cquery to filter out incompatible targets
15802 + 1782f0ae751569607ef88930c822ac460a1f8bb3:
15803 Patch grpc to fix cares selecting the wrong source when building
15804 for darwin_arm64 cpu.
15805 + 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
15806 [1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
15807 blobs
15808 + 848a51747a460ab4c5185e4c61ab522a9981cbea:
15809 [2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
15810 blobs
15811 + 9b30172547f2093acb56aedf159a77d5dceffda2:
15812 [3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
15813 blobs
15814 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
15815 Allow exec groups to inherit from the rule or other exec groups.
15816 + d0676693310215407224c1b8e8aea9e3eddc183d:
15817 Support execution constraints per exec group
15818 + f1e0d346c8235c855e61afc2adb870e4b895e002:
15819 Clean up RuleContext to use a Table instead of a Map of Maps.
15820 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
15821 Documentation for #13110
15822 + 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
15823 Prevent --repo_env from triggering unnecessary fetches
15824 + 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
15825 Prevent a crash when using --repo_env=VAR without a value
15826 + 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
15827 Report digest of failed uploads
15828 + 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
15829 Status error presentation with details
15830 + 9a70805db543e2fb910e1c55ef3b3567362adf30:
15831 Fix double shutdown of BuildEventArtifactUploader when BES+File
15832 output enabled.
15833 + 325eb956c92530bdfda54a36a186cae4245a4f7b:
15834 Add rxjava3 to third_party
15835 + ceaac966a7b977461b69ce9501df6a467f4a93b2:
15836 remote: set executable bit of an input file based on its real
15837 value
15838 + 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
15839 Remote: correctly implement equals and hashCode.
15840 + 48648503729d53fdee1322fde2c8e6c05e99cff9:
15841 Fixed an error that bazel binary is not executable when testing
15842 with remote execution.
15843 + bc54c648aa1f99509c7c36d5e6b570d066689209:
15844 Remote: Use parameters instead of thread-local storage to
15845 provide tracing metadata.
15846 + 92955e617b5c41713a5163dc0437c2a024b31815:
15847 Remote: Use parameters instead of thread-local storage to
15848 provide tracing metadata. (Part 2)
15849 + 75bd1ff8ab56d241916bde36291301fa026b2bab:
15850 Remote: Use parameters instead of thread-local storage to
15851 provide tracing metadata. (Part 3)
15852 + 37ee252f3744abc4511f55b5089cc52abd3ba09d:
15853 Remote: Use parameters instead of thread-local storage to
15854 provide tracing metadata. (Part 4)
15855 + 71e35b165f924e2649a078fcf6007645d58039af:
15856 Remote: Use parameters instead of thread-local storage to
15857 provide tracing metadata. (Part 5)
15858 + 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
15859 Write/QueryWriteStatus logging refinement/addition
15860 + 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
15861 Remote: gRPC load balancing. (Part 1)
15862 + e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
15863 Remote: gRPC load balancing. (Part 2)
15864 + 6667ad7dd77f8d97952133052c17e7779c1430ec:
15865 Remote: gRPC load balancing. (Part 3)
15866 + 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
15867 Remote: gRPC load balancing. (Part 4)
15868 + 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
15869 Implement getMessage for BulkTransferException
15870 + a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
15871 Remote: gRPC load balancing. (Part 5)
15872 + 7a62c2d4e27e398f440910c81eacc384f38ca8be:
15873 Remote: Add interoperability between Rx and ListenableFuture.
15874 + 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
15875 Update to latest remote-execution proto
15876 + dad96301d12aa77eb67399e08265a5f30f5ffd6a:
15877 Set Platform on Action not just Command
15878 + 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
15879 Remote: Add AsyncTaskCache which is used to deduplicate task
15880 executions and cache the results.
15881 + 9d0c7325ac810febe565a62fdd875ae0c240b274:
15882 Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
15883 + f54fe07209acc25340df8d2e02993b1add2deafa:
15884 Add --experimental_repository_disable_download to allow users
15885 disable download for external repos
15886 + b243584a479eb4481a9bf4f69acc899610a3b630:
15887 Report errors parsing rewriter config file
15888 + 63bc1c7d0853dc187e4b96a490d733fb29f79664:
15889 Downloader rewriter config has all_blocked_message
15890 + 495ac923f398443be45c20ab29d183fe47e08911:
15891 Allow UrlRewriter to change protocol, i.e. https->http, and
15892 http->https
15893 + 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
15894 Allow overriding the hostname and instance name in bytestream://
15895 URIs
15896 + 0881c80d29acecdfbb58c49156f805e8c50db117:
15897 Don't set requestId on non-multiplex requests.
15898 + e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
15899 When generating a symlink in _virtual_includes, add the original
15900 header to the 'allowed to use' set too
15901 + f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
15902 Make SimpleLogHandler not swallow interrupts.
15903 + f8606e5e76579442a1c6563e718ea54c673f1a04:
15904 linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
15905 + dac0d40d0eb903f5cb70341398d1a333c19adf3a:
15906 Improve "Common Attributes" section
15907 + a607d9dc70ac67f1aa2c32ca954177f9c77860be:
15908 Never create more than one process per WorkerMultiplexer.
15909 + 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
15910 Move sending requests and reading responses for multiplex
15911 workers into separate subthreads.
15912 + 003cfcde3fd3901c1279ba1db3db3a14536248b4:
15913 Allow use of JSON protocol in multiplex workers.
15914 + 308bce36cba46095fe41866e703710035ddddada:
15915 Actively kill off still-active workers when stopping work on
15916 interrupt.
15917 + 8959dff512fe4505af786bcf2ef981ec7082a913:
15918 Add sanitizer support to Apple platforms
15919 + 32f16e9360f3e1856db1775eb5014b930da2a303:
15920 Fix a Google-internal broken link.
15921 + c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
15922 Add SHA-1 to subresource integrity format for download()
15923 checksums
15924 + 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
15925 Remove fallback strategy support for workers, add flag for it in
15926 sandbox.
15927 + 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
15928 Update to java_tools javac11 10.6 (#13245)
15929 + 4928295b236ec8f590a7e9d863502bc2f50a77d9:
15930 Allow .S files in C++ Starlark cc_common.compile.
15931 + 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
15932 Automatic code cleanup.
15933 + b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
15934 Change short output of worker type to have the same logic as the
15935 worker creation for sandboxing vs. multiplex.
15936 + e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
15937 More properly destroy workers on interrupt.
15938 + 7056711eb11b672133274eb29fc93b01dcf088d5:
15939 Make WorkRequestHandler do a GC after some amount of CPU time
15940 has been used on requests. For Bazel and Blaze, defaults to 10s
15941 based on benchmarking.
15942 + 596653d3cf76e7b208da343e1fde5fe20273a5ff:
15943 Allow tree artifacts to be source or header inputs to
15944 cc_common.compile()
15945 + 055c93d11ab20cc4479539b24bbdfa5cab78a342:
15946 Switch to path autocompletion after -- for bazel run commands.
15947 + 807f2a1929e23b60b237c63fadb25af81de2e3c3:
15948 Fix Incompatible Target Skipping for test args
15949 + 9a5cd854e0613f91d52075973e2454b1e009e1ef:
15950 Fix order of build request id and command id
15951 + 706f5acd02363e48076dc97e37613fd968932d03:
15952 Fix bazel crash when passing config_setting to
15953 target_compatible_with
15954 + 61da1d2bf10eabba4c75de959b0374f302d89d70:
15955 Support multiple --bazelrc on command line
15956 + 5593358a58b66f06c4e421bb48856de94c3fd625:
15957 Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
15958 to
15959 + 662cf54de7a103db30e04ebae2d2b919437c4846:
15960 Remote: Fix an issue that a failed action could lead to
15961 RuntimeException caused by InterruptedException thrown when
15962 acquiring gRPC connections.
15963 https://github.com/bazelbuild/bazel/issues/13239
15964 + a3a1763212f29932618b9b9b2f929976ae0e3b6e:
15965 Pass more `--add-exports=` flags
15966 + d2b942879471786e82f1c96eea8722bbe7919fc1:
15967 Remote: Fixed a bug that remote cache is missed due to
15968 executable bit is changed
15969 + 616dc264f02907d7b7887285d22307dfe6d097b6:
15970 Fix Bazel Coverage with C++ to work with Remote Execution
15971 + 5f40d12e741aa30d506eaa15673fb2ae76d29468:
15972 Fix external_path_test with newer Xcode versions.
15973 + b416193075642017e13c774422b49cb07fb65c23:
15974 Allow using embedded tools in sandboxed spawn runners.
15975 + eb762d4e7431637e607146b1c191485795047ef9:
15976 Fix racy write of temporary files while staging virtual inputs
15977 for the sandbox.
15978 + f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
15979 Update platforms_test to not rely on filegroup not using
15980 toolchain
15981 + 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
15982 Update SkyframeTests to not rely on filegroup not using toolchain
15983 + 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
15984 Update ConfigurableAttributesTest to not rely on filegroup not
15985 using …
15986 + 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
15987 Make WorkerExecRoot not be a subclass of SandboxedSpawn.
15988 + 31db460a45767de0bcd664a6efbe9d163b85b802:
15989 Make WorkerExecRoot not be re-created on each createFileSystem()
15990 call. Preparation for holding a map of existing links, but also
15991 just nicer.
15992 + a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
15993 Start the file existence check traversal from the execroot base
15994 instead of execroot so that external repo files at
15995 "<execroot>/../<path>" are correctly handled when the sibling
15996 repository layout is enabled.
15997 + b048282c7893231d3a7191b251804973917b07a4:
15998 Use readdir for cleanExisting in WorkerExecRoot.
15999 + 270f00dd01fa06cf3e813da5a406be3446de7377:
16000 Add native support for Apple Silicon
16001 + 8e56b9423e8ad2f7323fb90b19b73858def81e39:
16002 Explicitly state that embedding macOS OpenJDK is for x86_64
16003 + 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
16004 Remote: Fix a race that AsyncTaskCache#Execution could be reused
16005 after disposed which results in
16006 CancellationException("disposed") propagated to downstream.
16007 + 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
16008 Remove wrapped_clang params files after use
16009 + 47edc57806056f3c8764241ed41b8acc72bd2ebf:
16010 Silence swiftmodule timestamp warnings
16011 + f6e1074b09ebefba185c0531e9cea26b9596c8a9:
16012 Remote: Use shutdownNow() instead of shutdown() in
16013 ChannelConnection#close() as a workaround to a gRPC bug.
16014 + 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
16015 And mnemonic and label to remote metadata
16016 + 6d28486e8eca70f76d13922944cb567b8aa09380:
16017 Change `set -x` in coverage to be set by var
16018 + 9b9de653355864e9700889ee36a3a49a450a2607:
16019 Bump minimal JDK install base maximum size from 290 to 295 MB.
16020 + 9e7e592ca51eba1a3f120320c41c845312894d74:
16021 Remote: Check the return value of ActionOwner.getLabel() since
16022 it could be `null`.
16023 + 14abe4fd7c3967686a3536939fdc3882e691bca2:
16024 Allow `DiffAwareness` to share precomputed information about the
16025 workspace and propagate it to the `WorkspaceStatusAction`.
16026 + 082d98772690946ed29c157e60640c97a6e1195b:
16027 Implement available() method for Windows subprocesses.
16028 + c2bdd034014f66ce14529cc353cda18a32320f6c:
16029 Move --repo_env to common options
16030 + e09f2743738044095b9d784ea62df16b7f5750e6:
16031 Revert "Documentation for #13110"
16032 + a165baa250652fdc865ae0df39160be1f7f74c47:
16033 Revert "Clean up RuleContext to use a Table instead of a Map of
16034 Maps."
16035 + 51fb9e13a864f4f704ae378ea632433bae7ddc31:
16036 Revert "Support execution constraints per exec group"
16037 + cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
16038 Revert "Allow exec groups to inherit from the rule or other exec
16039 groups."
16040```
16041
16042Important changes:
16043
16044 - Multiplex persistent workers can now use the JSON protocol.
16045
16046This 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.
16047
Bazel Release System506f3192021-01-21 08:25:01 +010016048## Release 4.0.0 (2021-01-21)
16049
16050```
16051Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
16052
16053Cherry picks:
16054
16055 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
16056 Use getRunfilesPath for run_under executable path generation.
16057 getRootRelativePath doesn't return a valid runfiles path for
16058 external source files anymore after the recent external source
16059 root change. Also, it won't work for external labels either once
16060 the --nolegacy_external_runfiles becomes default. This fixes
16061 issue #12545.
16062 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
16063 Fix NPE when coveragerunner is not set on the toolchain.
16064 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
16065 Fix the classic query package-loading cutoff optimization with
16066 external workspaces.
16067 + d113d7454127bba78aa618dac81e5d164920b662:
16068 Update turbine
16069 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
16070 Support Scala3 .tasty files
16071 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
16072 Update to java_tools javac11 release 10.5 (#12647)
16073 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
16074 Fix common prefix for instrumentation filter
16075 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
16076 Fix builds for filegroup targets with incompatible dependencies
16077 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
16078 Revert "Remove
16079 --incompatible_blacklisted_protos_requires_proto_info"
16080 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
16081 Transform roots along with paths during output deletion.
16082 + e8835c1c221d76a2d5532d18083eaa04401619b3:
16083 AttributeContainer.Large now handles more than 127 attributes.
16084 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
16085 Add an env attribute to all test and binary rule classes
16086 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
16087 Take no action to prefetch empty artifacts.
16088 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
16089 Fix a couple of bugs with Incompatible Target Skipping
16090 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
16091 Pass --host_action_env to host options hostActionEnvironment
16092 attribute
16093 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
16094 Add --{no,}autodetect_server_javabase.
16095 + c83366064621d5a265eba14d93a03deff58fe6d8:
16096 Only treat "env" and "env_inherit" attrs specially for native
16097 rules
16098 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
16099 Fix coverage support when using default_java_toolchain. (#12801)
16100 + 4158a6f512e52516437e00f8d9609a91be7fc195:
16101 Revert JacocoCoverage target to remote_java_tools_java_import
16102 and add a new target for remore_java_tools_filegroup. (#12813)
16103 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
16104 Add windows_msvc back to conditions in bazel_tools.
16105```
16106
16107New features:
16108
16109 - Starlark-defined flags can now be shorthanded using --flag_alias.
16110
16111Important changes:
16112
16113 - Add --starlark:file option. This adds a capability to the
16114 (cquery)[https://docs.bazel.build/versions/master/cquery.html]
16115 feature in `--output=starlark` mode so that the expression to
16116 format output may
16117 be specified in a file.
16118 - Error messages emitted when an action fails are reworked to be
16119 more informative about the failing action. Some tooling may have
16120 to be updated as a result.
16121 - Querying with output=location now allows the relative_locations
16122 flag to properly display relative locations instead of the full
16123 path. Fixes https://github.com/bazelbuild/bazel/issues/3497.
16124 - --flag_alias can now be used without
16125 --experimental_enable_flag_alias
16126 - Remove no-op `--deep_execroot` flag
16127 - The BEP uses `AbortReason.OUT_OF_MEMORY` for abort events when
16128 the build tool is crashing due to OOM.
16129 - Added flag `incompatible_display_source_file_location` for `blaze
16130 query location=output` to print the location of line 1 of the
16131 actual source files instead of the source file targets. Provides
16132 a solution to https://github.com/bazelbuild/bazel/issues/8900.
16133 - The Starlark json module is now available.
16134 Use json.encode(x) to encode a Starlark value as JSON.
16135 struct.to_json(x) is deprecated and will be disabled by
16136 the --incompatible_struct_has_no_methods flag.
16137 - The flag `--incompatible_objc_compile_info_migration` is enabled
16138 by default. See #10854.
16139 - The flag `--incompatible_objc_provider_remove_compile_info` is
16140 enabled by default. See #11359.
16141 - Add `relative_ast_path` feature for darwin builds to relativize
16142 swiftmodule paths for debugging
16143 - Use proto.encode_text(x) to encode a Starlark value as textproto.
16144 struct.to_proto() is deprecated and will be disabled by
16145 the --incompatible_struct_has_no_methods flag.
16146 Both functions now reject list/dict fields that contain list/dict
16147 elements.
16148 - Add --starlark:file option. This adds a capability to the
16149 (cquery)[https://docs.bazel.build/versions/master/cquery.html]
16150 feature in `--output=starlark` mode so that the expression to
16151 format output may be specified in a file.
16152 See [Configured Query Starlark
16153 Output](//docs.google.com/document/d/1kL6Tdmp6uLBa9lq_DbUSjIC87glO
16154 zKIyPoBeF95Rs4c/edit)
16155 - Flipped --incompatble_proto_output_v2 for aquery.
16156 - The --incompatible_load_java_rules_from_bzl flag is now a no-op.
16157 - The --incompatible_load_proto_rules_from_bzl flag is now a no-op.
16158 - Flipped --incompatible_force_strict_header_check_from_starlark
16159 - --incompatible_string_replace_count is flipped and removed
16160 (#11244)
16161 - Bazel skips incompatible targets based on target platform
16162 and `target_compatible_with` contents. See
16163 https://docs.bazel.build/versions/master/platforms.html for more
16164 details.
16165 - Bazel returns exit code 36 (rather than 1) if it fails to start a
16166 subprocess in a local sandbox due to environmental issues, for
16167 example, if the argument list is too long.
16168 - //tools/build_defs/pkg:pkg_rpm is no longer built in to Bazel.
16169 See https://github.com/bazelbuild/bazel/issues/11218 for
16170 instructions
16171 on how to migrate to the replacement.
16172 - Javac now supports multiplex workers.
16173 - The `--default_ios_provisioning_profile` flag has been removed
16174 (it was a no-op).
16175 - Add support for using AndroidX dependencies in
16176 data-binding-enabled targets.
16177 - Fix data-binding generation for android_local_test.
16178 - Enable debug_prefix_map_pwd_is_dot feature by default on macOS,
16179 this passes `-fdebug-prefix-map=$PWD=.` for every compile to
16180 remove absolute paths from debug info.
16181 - --incompatible_run_shell_command_string is enabled by default
16182 (#5903)
16183 - py_binary now tolerates package paths that contain hyphens ('-').
16184 Note that such paths might not be importable from within Python
16185 code.
16186 - C++ Starlark API requires linker_inputs wrapping library_to_link.
16187 #10860
16188 - Toolchain rule is extended with target_settings attribute.
16189 - --incompatible_restrict_string_escapes=true is now the default.
16190 Unnecessary backslashes such as "\." in string literals are now
16191 an error, instead of being silently treated as "\\.".
16192 To fix the error while preserving behavior, double the backlash.
16193 However, the error is often a sign that the original code was
16194 wrong.
16195 - Propagate instrumented files for transitive sources of
16196 `android_library` and `android_binary`
16197 - --local_resources and --incompatible_remove_local_resources have
16198 been removed. If you've been setting --local resources or
16199 --incompatible_remove_local_resources=false, you must migrate to
16200 using --local_ram_resources and --local_cpu_resources instead.
16201 - Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
16202 - --incompatible_avoid_conflict_dlls=true is now the default.
16203 - Dynamic execution now uses the new scheduler by default.
16204 - Dynamic execution now uses the new scheduler by default.
16205 - The new dynamic scheduler is now the default.
16206
16207This 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.
16208
Bazel Release System58c80412020-12-17 11:04:01 -050016209## Release 3.7.2 (2020-12-17)
16210
16211```
16212Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
16213
16214Cherry picks:
16215
16216 + 0d14ec84a06c4da628a7f6d9d1c5f9314392ab15:
16217 Release 3.7.0 (2020-10-20)
16218 + d563446a77b906807cea86f5c2abafa5900d901a:
16219 Add `-XDcompilePolicy=simple` to default javacopts
16220 + 6336264e4b0d8cc422ec73e1b923bf8014ace778:
16221 Update rules_cc reference to head of rules_cc as of 2020-11-11.
16222 + b3f934680554515aa312b5dd4453df5cd38f0aea:
16223 Bump rules_cc to support llvm 11.0.0 clang-cl compiler on Windows
16224 + e055b433efdccb28b9c21082e72d8e79d9b34e0f:
16225 Remove accidentally re-added
16226 tools/jdk/java_toolchain_default.bzl.
16227 + 02838a1b2aa2f6d03980536ab2ac6840c3c98e84:
16228 Avoid the spawn cache if executing dynamically.
16229 + d0efd7b9e5109ff5ac6d13c91f58c3fc4dc3afd8:
16230 Release 3.7.1 (2020-11-24)
16231 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
16232 Use getRunfilesPath for run_under executable path generation.
16233 getRootRelativePath doesn't return a valid runfiles path for
16234 external source files anymore after the recent external source
16235 root change. Also, it won't work for external labels either once
16236 the --nolegacy_external_runfiles becomes default. This fixes
16237 issue #12545.
16238```
16239
16240Important changes:
16241
16242 - Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
16243
16244This release contains contributions from many people at Google, as well as William A Rowe Jr.
16245
Bazel Release Systemd0efd7b2020-11-24 12:34:38 -050016246## Release 3.7.1 (2020-11-24)
16247
16248```
16249Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
16250
16251Cherry picks:
16252
16253 + 0d14ec84a06c4da628a7f6d9d1c5f9314392ab15:
16254 Release 3.7.0 (2020-10-20)
16255 + d563446a77b906807cea86f5c2abafa5900d901a:
16256 Add `-XDcompilePolicy=simple` to default javacopts
16257 + 6336264e4b0d8cc422ec73e1b923bf8014ace778:
16258 Update rules_cc reference to head of rules_cc as of 2020-11-11.
16259 + b3f934680554515aa312b5dd4453df5cd38f0aea:
16260 Bump rules_cc to support llvm 11.0.0 clang-cl compiler on Windows
16261 + e055b433efdccb28b9c21082e72d8e79d9b34e0f:
16262 Remove accidentally re-added
16263 tools/jdk/java_toolchain_default.bzl.
16264 + 02838a1b2aa2f6d03980536ab2ac6840c3c98e84:
16265 Avoid the spawn cache if executing dynamically.
16266```
16267
16268Important changes:
16269
16270 - Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
16271
16272This release contains contributions from many people at Google, as well as William A Rowe Jr.
16273
Bazel Release System8cffdf12020-10-20 09:22:27 -040016274## Release 3.7.0 (2020-10-20)
16275
16276```
16277Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
16278```
16279
16280Incompatible changes:
16281
16282 - The syntax //foo/BUILD can no longer be used on the command line
16283 to refer to the //foo:BUILD target. Use //foo:BUILD (preferred)
16284 or foo/BUILD instead. This does not affect BUILD/bzl files, where
16285 that syntax already didn't work.
16286 - This removes `--objc_header_scanner_tool`. The flag was primarily
16287 used internally, and to our knowledge, a compatible tool was
16288 never released. Therefore this flag is believed to be unused.
16289
16290New features:
16291
16292 - select() directly supports constraint_value (no need for an
16293 intermediate config_setting).
16294
16295Important changes:
16296
16297 - Non-android targets can again be built when
16298 android_sdk_repository is present but invalid.
16299 - Add a build variable for -install_name / -soname.
16300 - Add a build variable for -install_name / -soname.
16301 - Include "resources" attr in dependency attributes for java_*
16302 coverage configuration.
16303 - --trim_test_configuration should work for almost all cases when a
16304 non-test target depends on a test.
16305 - Javac now supports multiplex workers.
16306 - Javac now supports multiplex workers.
16307 - Blaze now allows symbolic links that point to their own ancestor
16308 unless they are traversed recursively by e.g. a //... recursive
16309 target pattern or a recursive glob.
16310 - Blaze now allows symbolic links that point to their own ancestor
16311 unless they are traversed recursively by e.g. a //... recursive
16312 target pattern or a recursive glob.
16313 - Blaze now allows symbolic links that point to their own ancestor
16314 unless they are traversed recursively by e.g. a //... recursive
16315 target pattern or a recursive glob.
16316 - Generated Go protobufs no longer depend on //net/proto2/go:proto
16317
16318This 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.
16319
Bazel Release System76152be2020-10-06 15:07:12 +020016320## Release 3.6.0 (2020-10-06)
Bazel Release System72817e32020-10-01 00:30:50 -040016321
16322```
Bazel Release System76152be2020-10-06 15:07:12 +020016323Baseline: aa0d97c0bfc4c09ec6f45303aa80052ba28afbd9
Bazel Release System72817e32020-10-01 00:30:50 -040016324
16325Cherry picks:
16326
Bazel Release System76152be2020-10-06 15:07:12 +020016327 + 32c88da98f301333dc447b75564459165368d418:
16328 Patch RuleContext for android_binary.deps to restore legacy
16329 behavior.
16330 + db9fc88fed387f09067a9250a731f8bf9ad74b05:
16331 android_test also needs the legacy behavior in
16332 RuleContext.getPrerequisites.
16333 + 144d5149a0c50e464dd1be0769fed2ce33ab26a4:
16334 Update android_sdk_repository to create a valid, but useless,
16335 repository
16336 + bb11f9235da52eb3b3e462ce0286f1a89188cb89:
Bazel Release System72817e32020-10-01 00:30:50 -040016337 Patch upb to fix build error with gcc 10
Bazel Release System76152be2020-10-06 15:07:12 +020016338 + 9f06be482aea3fcadeaf8fca6e48b32f224eba2e:
Bazel Release System72817e32020-10-01 00:30:50 -040016339 Patch upb to fix build error with gcc 10 (third_party)
Bazel Release System76152be2020-10-06 15:07:12 +020016340 + b67b75e3a62f5433d812993f3702f431b6967e86:
16341 Fix issue where libtool_check_unique isn't found for sandbox
16342 builds
Bazel Release System72817e32020-10-01 00:30:50 -040016343```
16344
Bazel Release System76152be2020-10-06 15:07:12 +020016345Incompatible changes:
16346
16347 - `--experimental_ui_limit_console_output` is removed. Users of
16348 `--experimental_ui_limit_console_output=1` for silencing terminal
16349 output should use `--ui_event_filters=` instead.
16350 - --proto:instantiation_stack must be enabled in addition to
16351 --record_rule_instantiation_callstack to see call stack in proto
16352 output from blaze query.
16353
Bazel Release System72817e32020-10-01 00:30:50 -040016354New features:
16355
16356 - cc_common.compile support for include_prefix/strip_include_prefix
Bazel Release System76152be2020-10-06 15:07:12 +020016357 - Multiplexed persistent workers: Use
16358 --experimental_worker_max_multiplex_instances to configure the
16359 number of WorkRequests that are sent concurrently to one worker
16360 process. The --worker_max_instances flag will no longer be used
16361 to determine max instances for multiplex workers, since the two
16362 have different resource requirements. Multiplex workers will by
16363 default have a max instances of 8.
Bazel Release System72817e32020-10-01 00:30:50 -040016364
16365Important changes:
16366
Bazel Release System76152be2020-10-06 15:07:12 +020016367 - The prelude file (//tools/build_rules:prelude_bazel) is now
16368 processed as a Starlark module, rather than being sourced into
16369 the BUILD file textually. This may cause slight breakages
16370 depending on the content of the prelude file. (Use of the prelude
16371 file is discouraged as it will be removed in the long term.)
16372 - Removed --experimental_ignore_deprecated_instrumentation_spec and
16373 cleaned up the old deprecated behavior.
16374 - Added CODEBASE.md, a description of the Bazel codebase.
Bazel Release System72817e32020-10-01 00:30:50 -040016375 - Removed the flag --experimental_transparent_compression.
16376 - Removed the flag --experimental_action_args.
16377 - Stop needlessly parsing WORKSPACE files from external
16378 repositories.
16379 - Dot ('.') is now allowed in workspace names. See
16380 https://github.com/bazelbuild/bazel/issues/11837.
Bazel Release System76152be2020-10-06 15:07:12 +020016381 - This change can cause memory and performance regressions for some
16382 builds with C++ dependencies, due to extra actions being executed.
16383 RELNOTES: None
16384 - Building Android apps for legacy multi-dex (pre-L) now require a
16385 main-dex list if the application does not fit into a single DEX
16386 file.
16387 - Puts the experimental_worker_multiplex flag to use.
16388 - In Starlark, the Args object supports a new parameter file format
16389 'flag_per_line', compatible with the Abseil flags library.
16390 - The flag --incompatible_no_support_tools_in_action_inputs is
16391 removed.
16392 - Support for NDK 21 added
16393 - Bazel will now skip printing action stdout/stderr contents if
16394 they exceed --experimental_ui_max_stdouterr_memory_bytes.
16395 - The Starlark interpreter now correctly emits an error
16396 if the operand of the first loop in a list comprehension
16397 refers to a variable bound by a later loop, such as y in
16398 this example:
16399 [e1 for x in f(y) in e2 for y in e3] # error: undefined y
16400 ^
16401 This may cause latent dynamic errors to become static errors.
16402 - Added support for a 'supports-graceful-termination' execution
16403 requirement and tag, which causes Bazel to send a SIGTERM to any
16404 tagged
16405 actions before sending a delayed SIGKILL. This is to give
16406 actions, and more
16407 specifically tests, a chance to clean up after themselves.
16408 - Non-android targets can again be built when
16409 android_sdk_repository is present but invalid.
Bazel Release System72817e32020-10-01 00:30:50 -040016410
Bazel Release System76152be2020-10-06 15:07:12 +020016411This 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 -040016412
Bazel Release System2b051be2020-09-02 15:41:41 -040016413## Release 3.5.0 (2020-09-02)
16414
16415```
16416Baseline: 889bc0b523b47eeb38a72bf9bb6858ee525a7c7e
16417
16418Cherry picks:
16419
Bazel Release System57f0b7c2020-09-02 16:07:55 -040016420 + a7a0d48fbeb059ee60e77580e5d05baeefdd5699:
16421 Make no-op starlark transition not affect the output directory.
16422 + b37c51c7085f0aefe04034dd451acb847605ddb5:
16423 Add include_prefix and strip_include_prefix to cc_common.compile
16424 + f6ad35fcde93f92c591778ed7db38d167f5bbc03:
16425 Delete --experimental_transparent_compression
16426 + 39bc97eab295bddb35b38bfc4a2ff3d2b15d034e:
16427 Remove --experimental_action_args
16428 + b9706675a7abf6ceebb250f0b3dfa4087a0c35f6:
16429 Stop needlessly parsing WORKSPACE files from external
16430 repositories.
16431 + e574d558da17cfd0f818e7a937a07926aa270069:
16432 Allow hyphen char in workspace name
16433 + 9993785fa0c4fa4172aa31d306f3abea76833abf:
16434 Allow dot ('.') in workspace names.
16435```
16436
16437New features:
16438
16439 - cc_common.compile support for include_prefix/strip_include_prefix
16440
16441Important changes:
16442
16443 - Removed the flag --experimental_transparent_compression.
16444 - Removed the flag --experimental_action_args.
16445 - Stop needlessly parsing WORKSPACE files from external
16446 repositories.
16447 - Dot ('.') is now allowed in workspace names. See
16448 https://github.com/bazelbuild/bazel/issues/11837.
16449
16450This release contains contributions from many people at Google, as well as David Ostrovsky.
16451
16452## Release 3.5.0 (2020-09-02)
16453
16454```
16455Baseline: 889bc0b523b47eeb38a72bf9bb6858ee525a7c7e
16456
16457Cherry picks:
16458
Bazel Release System2b051be2020-09-02 15:41:41 -040016459 + d6b9469efebd200a39d7fd43876a18822fcdbe7b:
16460 Make no-op starlark transition not affect the output directory.
16461 + b37c51c7085f0aefe04034dd451acb847605ddb5:
16462 Add include_prefix and strip_include_prefix to cc_common.compile
16463 + 0ebb1d5a5388109e3f026a355c77fdf0121f3a43:
16464 Delete --experimental_transparent_compression
16465 + 312e121c70aebfaa91b0a3106fa964e0bc12d1df:
16466 Remove --experimental_action_args
16467 + 7e6e855bb82734f582e03c2c7fad3148c139d0e0:
16468 Stop needlessly parsing WORKSPACE files from external
16469 repositories.
16470 + d4049f6f85efb8f48d1f6b72764115af5b184831:
16471 Allow hyphen char in workspace name
16472 + 0a35be1843a2e4d49d5e5c3893cd6673705b7fb1:
16473 Allow dot ('.') in workspace names.
16474```
16475
16476Incompatible changes:
16477
16478 - The --experimental_process_wrapper_wait_fix flag (used
16479 purely to roll out a risky bug fix) has been removed.
16480 - Removed the --experimental_ui_deduplicate flag.
16481 - Bazel now correctly prefers Xcode versions in `/Applications`
16482 over any other paths, which resolves an issue with accidentally
16483 picking up an Xcode version from a Time Machine backup or network
16484 disk. In the improbable case that you relied on the old behavior
16485 and Bazel now picks up Xcode from the wrong location, you can fix
16486 it by moving that Xcode version to /Applications.
16487
16488New features:
16489
16490 - cquery now follows aspects with --include_aspects.
16491 - cc_common.compile support for include_prefix/strip_include_prefix
16492
16493Important changes:
16494
16495 - Add support to bazel/crosstool for building arm64 on macos aka
16496 darwin
16497 - Add opt in 'oso_prefix_is_pwd' feature for Apple builds
16498 - Add InstrumentedFilesInfo provider to Starlark globals.
16499 - Fixed resource shrinking when <overlayable/> tags are used.
16500 - Remove old incompatible flag
16501 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
16502 s_tree.
16503 - Update coverage configuration for Python, filegroup, and shell
16504 script rules to distinguish between source and dependency
16505 attributes.
16506 - Add support to bazel/crosstool for building arm64e on macos aka
16507 darwin
16508 - Make filegroup always forward InstrumentedFilesProvider and not
16509 collect any sources directly.
16510 - Support signing key rotation in android_binary
16511 - Remove legacy handling of --extra_checks
16512 - Support signing key rotation in android_binary
16513 GO...
16514 - `--apple_bitcode` now takes an optional platform and only applies
16515 the Bitcode mode to that platform if present. The option may be
16516 provided multiple times.
16517 - Support signing key rotation in android_binary
16518 - NS_BLOCK_ASSERTIONS is now passed for all Apple architectures.
16519 - Major changes to reporting of Starlark errors and the call stack.
16520 (Please be alert to possible regressions, such as errors that
16521 lack relevant location information.)
16522 - Removed the flag --experimental_transparent_compression.
16523 - Removed the flag --experimental_action_args.
16524 - Stop needlessly parsing WORKSPACE files from external
16525 repositories.
16526 - Dot ('.') is now allowed in workspace names. See
16527 https://github.com/bazelbuild/bazel/issues/11837.
16528
16529This 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.
16530
Bazel Release Systemd917bf22020-07-14 08:24:10 +020016531## Release 3.4.1 (2020-07-14)
16532
16533```
16534Baseline: 7404d17ac76da876ae0b432d1fccf222a9e991fe
16535
16536Cherry picks:
16537
16538 + f31f2d787116120b2b16e9aa9a64fab171c0d954:
16539 fixup! Gracefully handle the lack of subreaper support in Linux.
16540 + 3a4f221e3c57495c1ed0d1ec8128f92323b13079:
16541 Revert "Replace the remaining dependencies for Bazel Debian
16542 build (third_party)"
16543 + c55ec0f2cb3f5b44e5025bf9d3c5dc91d94db287:
16544 Revert "Upgrade gRPC to 1.26.0"
16545```
16546
16547This release contains contributions from many people at Google, as well as Ryan Beasley.
16548
Bazel Release System93262a52020-07-13 17:23:50 +020016549## Release 3.4.0 (2020-07-13)
16550
16551```
16552Baseline: 7404d17ac76da876ae0b432d1fccf222a9e991fe
16553
16554Cherry picks:
16555
16556 + a4334be50a206bf8d676a0196af11056c48ac35b:
16557 fixup! Gracefully handle the lack of subreaper support in Linux.
16558```
16559
16560Incompatible changes:
16561
16562 - This removes the short-lived --process_wrapper_extra_flags
16563 flag, which was introduced primarily to roll out a bug fix.
16564 Unfortunately,
16565 this made us inadvertently expose all of the process-wrapper's
16566 command line
16567 interface to the public, which should not have happened. Given
16568 the corner
16569 case of the utility of this flag, the lack of documentation for
16570 it, and the
16571 fact that it only appeared in a single release, we are treating
16572 this as a
16573 bug instead of a backwards compatibility breakage.
16574
16575New features:
16576
16577 - bazel info: Allow to specify multiple keys.
16578 - Support code coverage with GCC 9.
16579
16580Important changes:
16581
16582 - Allow InstrumentedFilesInfo fields to be read from Starlark.
16583 - The --starlark_cpu_profile=<file> flag writes a profile in
16584 pprof format containing a statistical summary of CPU usage
16585 by all Starlark execution during the bazel command. Use it
16586 to identify slow Starlark functions in loading and analysis.
16587 - The --debug_depset_flag has been removed as it is in effect
16588 always on at no cost.
16589 - Rule authors should use the
16590 incompatible_use_toolchain_transition rule attribute to migrate
16591 to using
16592 the toolchain transition. jcater to udpate notes further.
16593 - `apple_binary` rules now accept the `stamp` attribute with the
16594 same
16595 semantics that it has in `cc_binary` rules.
16596 - --incompatible_objc_provider_remove_compile_info turns off
16597 the compile info/mege_zip Starlark APIs in ObjcProvider. See
16598 #11359.
16599 - The --debug_depset_flag has been removed as it is in effect
16600 always on at no cost.
16601 - Fix behavior of ctx.actions.write so content is written without
16602 an incorrect encoding to UTF-8.
16603 See https://github.com/bazelbuild/bazel/issues/10174 for details.
16604 - Collect more performance metrics for worker execution.
16605 - Add flag --incompatible_force_strict_header_check_from_starlark
16606 - Configure coverage and runfiles for sh_library.
16607 - Adds --incompatible_blacklisted_protos_requires_proto_info to
16608 indicate whether proto_lang_toolchain.blacklisted_protos requires
16609 ProtoInfo.
16610
16611This 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.
16612
Bazel Release System97a53342020-06-30 11:05:57 -040016613## Release 3.3.1 (2020-06-30)
16614
16615```
16616Baseline: c063b5caf776dee665497b64c5c17d4ed7e6750a
16617
16618Cherry picks:
16619
16620 + cb798a475eb54087e1e83f8aa1dc1c54550877b5:
16621 Restore missing Building with Platforms docs.
16622 + 9be97678b02bbd45d164c8458c8fd4f7791cb7aa:
16623 Release 3.3.0 (2020-06-17)
16624 + 3b0439e37247a480e08337a6314d06231bdbafd3:
16625 Fix incorrect assumption of desugar persistent worker conditional
16626```
16627
16628This release contains contributions from many people at Google, as well as .
16629
Bazel Release System9be97672020-06-17 08:51:54 -040016630## Release 3.3.0 (2020-06-17)
16631
16632```
16633Baseline: c063b5caf776dee665497b64c5c17d4ed7e6750a
16634
16635Cherry picks:
16636
16637 + 23bd69d7499de097b15e6025cc0796bdbc9886b8:
16638 Restore missing Building with Platforms docs.
16639```
16640
16641Incompatible changes:
16642
16643 - The startup option --fatal_event_bus_exceptions is now a no-op
16644 and will be removed soon.
16645
16646New features:
16647
16648 - Bazel offers basic completion for the fish shell.
16649
16650Important changes:
16651
16652 - Add configuration_field for --custom_malloc to cpp config fragment
16653 - Flip --incompatible_objc_compile_info_migration to true. See
16654 #10854.
16655 - It is now possible to use different action mnemonics while still
16656 sharing the same pool of persistent workers. It requires setting
16657 a new property
16658 on the execution requirements (`worker-key-mnemonic`). The value
16659 overrides
16660 the action's mnemonic when it comes to reusing worker processes.
16661 - linkshared=1 in cc_binary no longer requires '.so' or '.dll' in
16662 the target name
16663 - Revert --incompatible_objc_compile_info_migration to false. See
16664 #10854.
16665 - Invoke clang with the correct -target flag when building for
16666 watchOS.
16667 - NA
16668 - Add experiment flag to forward InstrumentedFilesInfo from
16669 non-tool deps by default.
16670
16671This 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.
16672
Bazel Release Systemb0ba5dc2020-05-27 19:50:27 +020016673## Release 3.2.0 (2020-05-27)
16674
16675```
16676Baseline: 1d93d26d9900328dcba0026bf21cb45cc37a4596
16677```
16678
16679Important changes:
16680
16681 - Renamed --experimental_slim_json_profile to --slim_profile.
16682 - Expose ctx.attr.write Args content for analysistest when possible
16683 - Added aquery_differ_v2 that works with the new aquery proto
16684 output format.
16685 - Add new flag, 'experimental_no_product_name_out_symlink', to omit
16686 creating '<product>-out' symlink if user specifies
16687 '--symlink_prefix' option.
16688 - --ram_utilization_factor is removed (as is
16689 --incompatible_remove_ram_utilization_factor). Please use
16690 --local_ram_resources.
16691 - Improve include scanner support for cl.exe and clang-cl command
16692 lines
16693 - ctx.split_attr now includes attributes with Starlark split
16694 transitions.
16695 - Added --incompatible_string_replace_count, to make
16696 string.replace() behave as in Python.
16697 - Bazel can now recursively delete non-executable but readable
16698 directories.
16699 - Restore case-sensitivity to -I and /I include scanning detection
16700 to avoid conflicts.
16701
16702This 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.
16703
Bazel Release System3a59ab62020-04-21 17:37:54 +020016704## Release 3.1.0 (2020-04-21)
16705
16706```
16707Baseline: 17ebbf15bea3733c0c21e0376fb5906e391edb49
16708
16709Cherry picks:
16710
16711 + 71fb56b4bb669a419f473598c8722e125dbb5c9e:
16712 Suppress last-ditch download exceptions w/cleanup
16713 + fd60614c38da0db22431d91a793423904dff801f:
16714 In repo rules, don't warn about generator_* attributes being
16715 non-canonical
16716 + 2a372792f5cc09bd0e8389d5fc4bbfdd2f5d6e37:
16717 Refactor configureFeatures and prevent NPE
16718 + 777a6ee6ed95cae4ddb949d52b63ee8a66024f03:
16719 Automated rollback of commit
16720 0bbe38176e15d891a4e4cab2d8425e292de6cc5f.
16721 + 2ee53c9267eb6de8eae109950ca8f3953bf1ae66:
16722 Guard parseActionResultMetadata with bulk wrapper
16723```
16724
16725Incompatible changes:
16726
16727 - The deprecated startup options
16728 --experimental_oom_more_eagerly(_threshold) are removed.
16729
16730Important changes:
16731
16732 - Remove flag
16733 --incompatible_load_proto_toolchain_for_javalite_from_com_google_p
16734 rotobuf which has been flipped in Bazel 3.0.
16735 - Allow assembly file sources in cc_common.compile.
16736 - Set default .netrc file on Windows to %USERPROFILE%
16737 - A maximum 150 attributes per RuleClass is enforced
16738 - Increase max targets per rule class limit to 200
16739 - ctx.split_attr now includes attributes with Starlark split
16740 transitions.
16741 - The --max_computation_steps flag bounds the computation done by a
16742 BUILD file.
16743 - Native patch can handle file permission properly
16744 - Aspects may now propagate through dependencies on rule outputs by
16745 being defined with `apply_to_generating_rules = True`.
16746 - 'query --output=build' now shows where rule classes (not just
16747 rules) are created.
16748 - The flag `incompatible_bzl_disallow_load_after_statement` is
16749 removed.
16750 - ctx.split_attr now includes attributes with Starlark split
16751 transitions.
16752 - The flag `incompatible_no_output_attr_default` is removed.
16753 - Fix wall-time of the SpawnResult in WorkerSpawnRunner
16754 - Add stamp parameter for cc_common.link to enable including build
16755 info
16756 - The flag `--incompatible_restrict_named_params` is removed.
16757 - The flag `--incompatible_depset_union` is removed.
16758 - Bazel uses fewer compiler flags by default when building
16759 Objective-C. In
16760 particular, Bazel no longer sets `-O0`, `-DDEBUG=1`,
16761 `-fstack-protector`, `-fstack-protector-all`, or `-g` in dbg
16762 mode, and
16763 Bazel no longer sets `-Os`, `-DNDEBUG=1`, `-Wno-unused-variable`,
16764 `-Winit-self`, or `-Wno-extra` in opt mode. If you want to apply
16765 these
16766 flags to your project, you can reenable them in your CROSSTOOL.
16767 - A maximum attribute name length is 128 is enforced
16768
16769This 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.
16770
Bazel Release System22018272020-04-06 08:49:47 -040016771## Release 3.0.0 (2020-04-06)
16772
16773```
16774Baseline: 3c7cc747ac653dca8b88a9e43726a794e2c27a9c
16775
16776Cherry picks:
16777
16778 + 19e214b44df9c82a8a3bd3381344f7145813c572:
16779 Use prefix encoding for paths.
16780 + 63b01f7b1cd6603a08bf2a8ae813388c201e3448:
16781 Avoid file operations in the sandbox creation critical path.
16782 + 80a2d7cc5f8a22816934dcd2ca9bdf87050f3d9f:
16783 Implementation (but not plumbing) of the gRPC remote downloader
16784 + 586eabf419972c74fdd5fef328cfe9a259e035ed:
16785 Implement RemoteDownloader w/ `--experimental_remote_downloader`
16786```
16787
16788Incompatible changes:
16789
16790 - Flip --incompatible_remove_enabled_toolchain_types, so that rules
16791 can no longer access enabled toolchain types from the platform
16792 fragment.
16793 - The --incompatible_use_jdk11_as_host_javabase flag has been
16794 removed (it was flipped in Bazel 0.25.0).
16795 - Using JDK 9 or 10 as a `--host_javabase` is no longer officially
16796 supported. As always, you can use the
16797 `@bazel_tools//tools/jdk:toolchain_vanilla` Java toolchain to use
16798 older or newer JDKs than what Bazel currently supports.
16799 - --fatal_event_bus_exceptions is deprecated and should not be
16800 used. Any crashes should be reported so that they can be fixed.
16801 - The old-style binary profile format is no longer suppported, use
16802 the new JSON trace profile instead.
16803
16804Important changes:
16805
16806 - Improve the performance of creating a sandboxed execution root
16807 for workers when the number of inputs is large (>1000).
16808 - Treat .cu and .cl files as C++ source. CUDA or OpenCL are not
16809 natively supported and will require custom flags to compile with
16810 e.g. clang.
16811 - Add actions' primary output details in JSON profile and
16812 analysis_v2.proto.
16813 - Add --cds_archive option for embedding CDS archive into deploy
16814 JAR.
16815 - Add new global attribute: applicable_licenses
16816 - Package level default with default_applicable_licenses
16817 - guarded by --incompatible_applicable_licenses (default true for
16818 Blaze, false for Bazel)
16819 - In support of
16820 https://docs.google.com/document/d/1uwBuhAoBNrw8tmFs-NxlssI6VRolid
16821 GYdYqagLqHWt8/edit#
16822 - Non-test Java rules no longer require the TestConfiguration and
16823 thus --trim_test_configuration is again usable for Java builds
16824 - The flag `--incompatible_always_check_depset_elements` is enabled
16825 by default.
16826 - --incompatible_objc_compile_info_migration determines
16827 whether native rules can assume compile info has been migrated to
16828 CcInfo. See https://github.com/bazelbuild/bazel/issues/10854.
16829 - --incompatible_remove_local_resources is true by default. Please
16830 use --local_ram_resources and --local_cpu_resources instead of
16831 --local_resources.
16832
16833This 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.
16834
Bazel Release System4b01eb52020-03-03 10:22:31 +010016835## Release 2.2.0 (2020-03-03)
Bazel Release Systeme53c0282020-02-21 15:49:31 +010016836
16837```
Bazel Release System4b01eb52020-03-03 10:22:31 +010016838Baseline: 78055efad0917b848078bf8d97b3adfddf91128d
Bazel Release Systeme53c0282020-02-21 15:49:31 +010016839```
16840
Bazel Release System4b01eb52020-03-03 10:22:31 +010016841Incompatible changes:
Bazel Release Systeme53c0282020-02-21 15:49:31 +010016842
Bazel Release System4b01eb52020-03-03 10:22:31 +010016843 - The --[no]incompatible_windows_bashless_run_command flag is no
16844 longer supported. It was flipped in Bazel 1.0
16845 - The --[no]incompatible_windows_native_test_wrapper flag is no
16846 longer supported. It was flipped in Bazel 1.0
16847
16848Important changes:
16849
16850 - Consistent target naming style in example target names.
16851 - cquery's config() now supports arbitrary configurations.
16852 - The flag --incompatible_disallow_dict_lookup_unhashable_keys is
16853 removed.
16854 - Include target label in Python version error message.
16855 - The flag --incompatible_remap_main_repo is removed.
16856 - Windows: we now discourage running Bazel from MSYS2 because of a
16857 newly found bug (#10573)
16858 - Reduced the packaging time (`package-bazel.sh`) for the
16859 `//src:bazel-dev` Bazel development build target from 14s to 6s.
16860 Use `//src:bazel-dev` if you're iterating rapidly on a local
16861 Bazel changes, and use `//src:bazel --compilation_mode=opt` for
16862 release builds.
16863 - cquery: "//foo:bar" now means "all configured targets with label
16864 //foo:bar" instead of "choose an arbitrary configured target with
16865 label //foo:bar". See cquery docs for details.
16866 - WORKSPACE and BUILD.bazel files of http_archive repositories can
16867 now be patched using the "patch_cmds" and "patches" attributes.
16868 - Actions with "parse" on the critical path should no longer finish
16869 in the future.
16870 - Flags that affect external repositories like
16871 "--override_repository" can now be addressed in bazelrc files
16872 using the "common" command, without causing commands like "bazel
16873 shutdown" to fail.
16874 - The flag --incompatible_disallow_unverified_http_downloads is
16875 removed.
16876 - Create the incompatibleApplicableLicenses flag.
16877 We plan to flip this from false to true in Bazel 4.x.
16878 Implementation to follow.
16879 - Treat .cu and .cl files as C++ source. CUDA or OpenCL are not
16880 natively supported and will require custom flags to compile with
16881 e.g. clang.
16882 - Treat .cu and .cl files as C++ source. CUDA or OpenCL are not
16883 natively supported and will require custom flags to compile with
16884 e.g. clang.
16885 - The --starlark_cpu_profile=<file> flag writes a profile in
16886 pprof format containing a statistical summary of CPU usage
16887 by all Starlark execution during the bazel command. Use it
16888 to identify slow Starlark functions in loading and analysis.
16889 - --ram_utilization_factor will be deprecated. Please use
16890 --local_ram_resources=HOST_RAM*<float>
16891 - Docs: glob() documentation is rewritten, and now it points out a
16892 pitfall of rules shadowing glob-matched files.
16893
16894This 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 +010016895
Bazel Release Systeme6ee35f2020-02-07 13:56:14 +010016896## Release 2.1.0 (2020-02-07)
16897
16898```
16899Baseline: 41ec5a28fb30a8d6c5c60194c4bb29528352cf78
16900
16901Cherry picks:
16902
16903 + 733ac0ff7ad1e13ab68ceb2fde694d7ab71b2366:
16904 Adds an alias for d8_jar_import in android.WORKSPACE.
16905 + c94b1474b368dedf9f68f34fad90cc8664f2b0e0:
16906 Automatic code cleanup.
16907 + 2a8cc7075f741721563efd9dc050ca3458cde30b:
16908 Do not fail or print errors when Shellzelisk cannot find a
16909 requested ?
16910 + bdf34d7fd9539411e93348ba25307f34362d9a42:
16911 Fix race when extracting the install base when Bazel runs in a
16912 PID namespace.
16913 + d381c25bb7dd205c283f7ad91cac13190d2dfede:
16914 Fix wrong mode of install base directory.
16915 + eab39cc7b5a612f891fd1e5af5b45bdc1b66e6e1:
16916 Disable broken test_max_open_file_descriptors.
16917```
16918
16919Incompatible changes:
16920
16921 - The following attributes of CcToolchainProvider, which formerly
16922 were
16923 accessible both as fields (x.f) and as methods (x.f()), are now
16924 only fields:
16925
16926New features:
16927
16928 - Similar to the
16929 [.bazelignore](https://docs.bazel.build/versions/master/guide.html
16930 #.bazelignore) in the main repository, a `.bazelignore` file in
16931 external repository will cause the specified directories to be
16932 ignored by Bazel. Bazel won't try to identify any packages under
16933 the directories, but the files can still be referenced in other
16934 BUILD files.
16935 - bazelignore files now support line comments, e.g. "# this is a
16936 comment"
16937
16938Important changes:
16939
16940 - Experimental support for d8 merger is now available for use using
16941 --define=android_dexmerger_tool=d8_dexmerger.
16942 - Critical path run time should not have a longer run time than
16943 total execution run time.
16944 - Remove "please do not import" warning for cc rules.
16945 - x.f() is now equivalent to y=x.f; y(). That is, x.f should return
16946 the same
16947 attribute value regardless of whether it is accessed as a field
16948 or called
16949 like a method. Any arguments to the call are evaluated after the
16950 x.f operation.
16951 - Add desugaring support for RoleManager#addRoleHolderAsUser
16952 - Adds ctx.target_platform_has_constraint to allow rules to check
16953 the target platform's constraints.
16954 - Critical path run time should not have a longer run time than
16955 total execution run time.
16956 - Post new ConvenienceSymlinksIdentifiedEvent to the
16957 BuildEventProtocol when
16958 --experimental_convenience_symlinks_bep_event is enabled.
16959 - Keyword-only arguments are now allowed:
16960 def foo(a, *, k): pass
16961 def foo(a, *b, k): pass
16962 where k can be specified only by keyword:
16963 foo(5, k=6)
16964 - Generated Go protobufs now depend on //net/proto2/go:protodeps in
16965 addition to //net/proto2/go:proto
16966 - cquery 'somepath' returns more reliable results when the
16967 dep has a different configuration than the parent. To get a
16968 result for
16969 `somepath(//foo, //bar`) where //bar isn't in the top-level
16970 configuration,
16971 run your query with `--universe_scope=//foo`. See cquery docs for
16972 details.
16973
16974This 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.
16975
Bazel Release System59e36002019-12-19 13:26:27 +010016976## Release 2.0.0 (2019-12-19)
16977
16978```
16979Baseline: 807ed23e4f53a5e008ec823e9c23e2c9baa36d0d
16980
16981Cherry picks:
16982
16983 + db0e32ca6296e56e5314993fe9939bc7331768ec:
16984 build.sh: Fix bug in build script for RC release
16985 + 85e84f7812f04bc0dbc36376f31b6dd2d229b905:
16986 Set --incompatible_prohibit_aapt1 default to true.
16987 + 84eae2ff550c433a3d0409cf2b5525059939439d:
16988 Let shellzelisk fallback to bazel-real if it's the requested
16989 version.
16990 + d5ae460f1581ddf27514b4be18255481b47b4075:
16991 Fix a typo in bazel.sh
16992```
16993
16994Incompatible changes:
16995
16996 - --incompatible_remap_main_repo is enabled by default. Therefore,
16997 both ways of addressing the main repository, by its name and by
16998 '@' are now considered referring to the same repository.
16999 see https://github.com/bazelbuild/bazel/issues/7130
17000 - --incompatible_disallow_dict_lookup_unhashable_keys is enabled by
17001 default https://github.com/bazelbuild/bazel/issues/9184
17002 - --incompatible_remove_native_maven_jar is now enabled by default
17003 and the flag removed. See https://github.com/bazelbuild/bazel/issues/6799
17004 - --incompatible_prohibit_aapt1 is enabled by default.
17005 See https://github.com/bazelbuild/bazel/issues/10000
17006
17007Important changes:
17008
17009 - --incompatible_proto_output_v2: proto v2 for aquery proto output
17010 formats, which reduces the output size compared to v1. Note that
17011 the messages' ids in v2 are in uint64 instead of string like in
17012 v1.
17013 - Adds --incompatible_remove_enabled_toolchain_types.
17014 - Package loading now consistently fails if package loading had a
17015 glob evaluation that encountered a symlink cycle or symlink
17016 infinite expansion. Previously, such package loading with such
17017 glob evaluations would fail only in some cases.
17018 - The --disk_cache flag can now also be used together
17019 with the gRPC remote cache.
17020 - An action's discover inputs runtime metrics is now categorized as
17021 parse time on the CriticalPathComponent.
17022 - Make the formatting example more like to the written text by
17023 adding an initial description.
17024 - An action's discover inputs runtime metrics is now categorized as
17025 parse time on the CriticalPathComponent.
17026 - Bazel's Debian package and the binary installer now include an
17027 improved wrapper that understands `<WORKSPACE>/.bazelversion`
17028 files and the `$USE_BAZEL_VERSION` environment variable. This is
17029 similar to what Bazelisk offers
17030 (https://github.com/bazelbuild/bazelisk#how-does-bazelisk-know-whi
17031 ch-bazel-version-to-run-and-where-to-get-it-from), except that it
17032 works offline and integrates with apt-get.
17033 - We are planning to deprecate the runfiles manifest files, which
17034 aren't safe in the presence of whitespace, and also unnecessarily
17035 require local CPU when remote execution is used. This release
17036 adds --experimental_skip_runfiles_manifests to disable the
17037 generation of the input manifests (rule.manifest files) in most
17038 cases. Note that this flag has no effect on Windows by default or
17039 if --experimental_enable_runfiles is explicitly set to false.
17040
17041This 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.
17042
Bazel Release System5be24a82019-11-26 16:19:50 +010017043## Release 1.2.1 (2019-11-26)
17044
17045```
17046Baseline: 11deef7582dfeec7a04ee3f7236393d9b8027367
17047
17048Cherry picks:
17049
17050 + c76c3e539c73ecf6e96e3e098be7be59e17bf276:
17051 Replace macOS CC path with relative path
17052 + 63332eb556fadfe9edd0806add79942482adddef:
17053 Hardcode path to dirname on macOS
17054 + ceadf0a063cb97c32aced143d2447781d1dafc38:
17055 Add tool executables (from FilesToRunProvider) to action inputs.
17056 + dbe63b00954a25fa4405f7cbf273df78c16498dd:
17057 Fix some of the bazel Windows tools code to work with GCC.
17058```
17059
17060This release fixes a single regression:
17061- #10297: Bazel 1.2.0 does no longer run on macOS High Sierra.
17062
17063It is the same code as Bazel 1.2.0, except that we rebuild the macOS release
17064binaries with Xcode 10.2.1 to make them backwards compatible with older macOS
17065versions again.
17066
Bazel Release Systemef69db82019-11-20 16:01:18 +010017067## Release 1.2.0 (2019-11-20)
17068
17069```
17070Baseline: 11deef7582dfeec7a04ee3f7236393d9b8027367
17071
17072Cherry picks:
17073
17074 + c76c3e539c73ecf6e96e3e098be7be59e17bf276:
17075 Replace macOS CC path with relative path
17076 + 63332eb556fadfe9edd0806add79942482adddef:
17077 Hardcode path to dirname on macOS
17078 + ceadf0a063cb97c32aced143d2447781d1dafc38:
17079 Add tool executables (from FilesToRunProvider) to action inputs.
17080 + dbe63b00954a25fa4405f7cbf273df78c16498dd:
17081 Fix some of the bazel Windows tools code to work with GCC.
17082```
17083
17084Incompatible changes:
17085
17086 - Tree artifacts and regular artifact paths can no longer overlap.
17087
17088New features:
17089
17090 - Added a special "_validation" output group to enable moving
17091 "validation actions" off the critical path of builds.
17092
17093Important changes:
17094
17095 - The query flag "--host_deps" (commonly used as "--nohost_deps")
17096 has been renamed to "--tool_deps", and now also removes
17097 dependencies in any execution configuration from being reported
17098 in the query output. The previous flag name is deprecated and
17099 will be removed in a future release.
17100 - The `cc_common.{compile,link}` APIs can now be used without
17101 passing the `--experimental_cc_skylark_api_enabled_packages` flag.
17102 - A list of log paths will be provided in build output.
17103 - Improve runfiles documentation.
17104 - Improve documentation on rule outputs.
17105 - BUILD/.bzl execution errors cause execution to stop, even at
17106 top-level
17107 - Multiple Starlark validation errors are reported in a single pass.
17108 - Introduce --experimental_nested_set_as_skykey_threshold
17109 - Blaze will prevent idle sleep during test and build actions. Note
17110 that this does not affect screen savers and will not keep a
17111 laptop awake if the user forces sleep or closes the lid. This is
17112 purely to avoid idle sleeping when the user is not interacting
17113 with the device.
17114 - Improve testing docs.
17115 - Incompatible flag
17116 `--incompatible_validate_top_level_header_inclusions` has been
17117 added. See https://github.com/bazelbuild/bazel/issues/10047 for
17118 details.
17119 - Fix an aquery bug with handling malformed queries that crashes
17120 bazel.
17121 - List fields on CcLinkingOutputs.
17122 - [Python] Added flag --incomaptible_default_to_explicit_init_py to
17123 switch the default value of legacy_create_init to True. With this
17124 flag enabled, your py_binary and py_test targets will no longer
17125 behave as if empty __init__.py files were implicitly littered in
17126 your runfiles tree. See
17127 [#10076](https://github.com/bazelbuild/bazel/issues/10076).
17128 - Fix documentation on allowed target names.
17129 - --target_platform_fallback now also applies to exec/host
17130 configurations
17131 - android_binary and android_libary can now depend on targets
17132 providing
17133 CcInfos.
17134 - Add support for tracking suspensions (sleeps or SIGSTOP) on macOS.
17135 - d8 dexers (both standalone and incremental) are now available for
17136 use.
17137 - Add Desugar support for FreezePeriod#<init>
17138
17139This 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.
17140
Bazel Release Systemf15bfb32019-10-21 12:49:43 +020017141## Release 1.0.1 (2019-10-21)
Bazel Release Systeme693c192019-10-21 10:40:19 +020017142
17143```
Bazel Release Systemf15bfb32019-10-21 12:49:43 +020017144Baseline: 97a82646dadd93bf52d47828bda42e3383b657c6
Bazel Release Systeme693c192019-10-21 10:40:19 +020017145
17146Cherry picks:
17147
Bazel Release Systemf15bfb32019-10-21 12:49:43 +020017148 + a0e3bb207fe2044120a2555a37162ee1f2b17500:
17149 Remove support for authentication and .netrc
17150 + ada2c55dcc106cd55bafbbe5d9a966e21e4770e0:
17151 Add explicit --sdk argument to xcrun calls
17152 + 847df729528f6e5919ec8374247eadf792cba544:
17153 toolchain_vanilla: Unset source and target language level
17154 versions
17155 + 5cfa0303d6ac3b5bd031ff60272ce80a704af8c2:
17156 Update java_tools version to javac11-v5.1.
17157 + 9c257df5b9b1de5459fc066e77c435ae085957a7:
17158 Release 1.0.0 (2019-10-10)
17159 + f7a31b30f5319639c36a6c6b1c14f358597d98d2:
17160 Prevent action-cache duplicate suppression
17161 + 618e5a28f7f735c37724377b15775a4975349c74:
17162 Use FileSystemUtils.moveFile instead of renameTo function of Path
Bazel Release Systeme693c192019-10-21 10:40:19 +020017163```
17164
Bazel Release Systemf15bfb32019-10-21 12:49:43 +020017165This 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 +020017166
Bazel Release Systemb9067c42019-10-10 11:55:50 +020017167## Release 1.0.0 (2019-10-10)
Bazel Release System4f9cd082019-09-10 09:39:08 -040017168
17169```
Bazel Release Systemb9067c42019-10-10 11:55:50 +020017170Baseline: 97a82646dadd93bf52d47828bda42e3383b657c6
Bazel Release System4f9cd082019-09-10 09:39:08 -040017171
17172Cherry picks:
17173
Bazel Release System4f9cd082019-09-10 09:39:08 -040017174 + a0e3bb207fe2044120a2555a37162ee1f2b17500:
17175 Remove support for authentication and .netrc
Bazel Release Systemb9067c42019-10-10 11:55:50 +020017176 + ada2c55dcc106cd55bafbbe5d9a966e21e4770e0:
17177 Add explicit --sdk argument to xcrun calls
17178 + 847df729528f6e5919ec8374247eadf792cba544:
17179 toolchain_vanilla: Unset source and target language level
17180 versions
17181 + 5cfa0303d6ac3b5bd031ff60272ce80a704af8c2:
17182 Update java_tools version to javac11-v5.1.
Bazel Release System4f9cd082019-09-10 09:39:08 -040017183```
17184
Bazel Release Systemb9067c42019-10-10 11:55:50 +020017185Incompatible changes:
17186
17187 - Python, Windows: the
17188 --[no]incompatible_windows_escape_python_args is no longer
17189 supported. (It was flipped to true in Bazel 0.27.0)
17190 - --incompatible_use_native_patch is enabled by default
17191 - Windows: --incompatible_windows_bashless_run_command is now true
17192 by default, meaning "bazel run //foo:bin" will run the binary as
17193 a subprocess of the Bazel client. (When the flag is false, the
17194 binary is executed as a subprocess of Bash.)
17195 - Windows: --incompatible_windows_native_test_wrapper is enabled by
17196 default
17197
17198New features:
17199
17200 - Genrule now supports `cmd_bash`, `cmd_ps`, `cmd_bat` attributes.
17201 More details at
17202 https://docs.bazel.build/versions/master/be/general.html#genrule.c
17203 md
17204 - config_setting can now check multiple values on "--foo=firstVal
17205 --foo=secondVal ..."-style flags
17206 - tags: use `--experimental_allow_tags_propagation` flag to
17207 propagate tags to the action's execution requirements from
17208 targets. Such tags should start with: `no-`, `requires-`,
17209 `supports-`, `block-`, `disable-`, `cpu:`. See #8830 for details.
17210 - Users can now get generated def file from cc_library via
17211 "def_file" output group on Windows.
17212 - Platform-specific bazelrc: with --enable_platform_specific_config
17213 you can
17214 enable flags in bazelrc according to your host platform.
17215 - tags: use `--experimental_allow_tags_propagation` flag to
17216 propagate tags to the action's execution requirements from
17217 cc_library or cc_binary targets. Such tags should start with:
17218 `no-`, `requires-`, `supports-`, `block-`, `disable-`, `cpu:`.
17219 See #8830 for details.
17220 - tags: use --experimental_allow_tags_propagation flag to propagate
17221 tags to the action's execution requirements from java targets.
17222 Such tags should start with: no-, requires-, supports-, block-,
17223 disable-, cpu:. See #8830 for details.
17224
17225Important changes:
17226
17227 - Bazel Android builds now use aapt2 by default. To revert to aapt,
17228 set `--android_aapt=aapt`.
17229 - Make either --subcommands or --verbose_failures imply
17230 --materialize_param_files
17231 - Bazel Android builds now use aapt2 by default. To revert to aapt,
17232 set `--an...
17233 RELNOTES: None
17234 - by default all remote connections considered to be via `gRPC`
17235 with TLS enabled, unless other specified. To disable TLS use
17236 `grpc://` prefix for you endpoints. All remote connections via
17237 `gRPC` affected - `--remote_cache`, `--remote_executor` or
17238 `--bes_backend`. http cache/executor is not affected. See #8061
17239 for details.
17240 - cc_* rules support non-transitive defines through a
17241 'local_defines' attribute.
17242 - Enable
17243 incompatible_disallow_rule_execution_platform_constraints_allowed
17244 by default (https://github.com/bazelbuild/bazel/issues/8136).
17245 - incompatible_disallow_split_empty_separator is enabled by default
17246 - Fixed Android build issues with aapt2 on Windows. See the [GitHub
17247 issue](https://github.com/bazelbuild/bazel/issues/9102) for more
17248 information.
17249 - --incompatible_disable_static_cc_toolchains has been flipped. See
17250 https://github.com/bazelbuild/bazel/issues/8546.
17251 - --remote_default_platform_properties has been deprecated in favor
17252 of --remote_default_exec_properties.
17253 - The --incompatible_make_thinlto_command_lines_standalone flag has
17254 been flipped, see https://github.com/bazelbuild/bazel/issues/6791
17255 for more information.
17256 - The --incompatible_use_specific_tool_files flag has been flipped.
17257 See https://github.com/bazelbuild/bazel/pull/9126 for more
17258 information.
17259 - Clarify default visibility.
17260 - Enables incompatible_auto_configure_host_platform
17261 - New incompatible flag --incompatible_disable_depset_items
17262 disables the "items" parameter in the Starlark depset
17263 constructor. Use "direct" and "transitive" parameters instead.
17264 - --incompatible_assignment_identifiers_have_local_scope is enabled
17265 - incompatible_disable_partition_default_parameter is enabled by
17266 default ()
17267 - incompatible_restrict_attribute_names is enabled
17268 (https://github.com/bazelbuild/bazel/issues/6437)
17269 - The --incompatible_disable_nocopts flag has been flipped. See
17270 https://github.com/bazelbuild/bazel/issues/8546 for more
17271 information.
17272 - Deprecated Java-Starlark API java_common.create_provider is
17273 removed. JavaInfo() legacy args (actions, sources, source_jars,
17274 use_ijar, java_toolchain, host_javabase) are removed.
17275 - The flag incompatible_disallow_hashing_frozen_mutables is enabled
17276 (https://github.com/bazelbuild/bazel/issues/7800)
17277 - `maven_jar` and `maven_server` now disallow using plain HTTP URLs
17278 without a specified checksum. If you are still using `maven_jar`,
17279 consider migrating to
17280 [`rules_jvm_external`](https://github.com/bazelbuild/rules_jvm_ext
17281 ernal) for transitive dependency management. See
17282 [#8607](https://github.com/bazelbuild/bazel/issues/8607) for more
17283 information.
17284 - Added `sha256` and `sha256_src` attributes to `maven_jar`. Please
17285 consider migrating to SHA-256 as SHA-1 has been deemed
17286 cryptographically insecure ([https://shattered.io]()). Or, use
17287 [`rules_jvm_external`](https://github.com/bazelbuild/rules_jvm_ext
17288 ernal) to manage your transitive Maven dependencies with artifact
17289 pinning and SHA-256 verification support.
17290 - introducing per-target exec_properties
17291 - Bazel now supports ThinLTO builds on Linux for Clang versions >=
17292 6.0. ThinLTO can be enabled through --features=thin_lto
17293 - The Target.output_group field in Starlark is removed. Use
17294 OutputGroupInfo instead. See
17295 https://github.com/bazelbuild/bazel/issues/7949 for details.
17296 - Make a number of parameters of Starlark builtin functions
17297 positional-only (as opposed to specifiable by keyword). See
17298 https://github.com/bazelbuild/bazel/issues/8147 for details.
17299 - incompatible_skip_genfiles_symlink is enabled by default (#8651)
17300 - Change Pruned events will fire immediately after being checked.
17301 - --incompatible_remove_legacy_whole_archive has been flipped. See
17302 https://github.com/bazelbuild/bazel/issues/7362 for more
17303 information
17304
17305This 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 -040017306
Bazel Release Systemf791df02019-08-28 10:29:12 -040017307## Release 0.29.0 (2019-08-28)
17308
17309```
17310Baseline: 6c5ef5369a3ffceb8a65cc159a2fff1401242810
17311
17312Cherry picks:
17313
17314 + 338829f2633e91ae0492ee4169446465e10b5994:
17315 Fix retrying of SocketTimeoutExceptions in HttpConnector
17316 + 14651cd86b6fc1d48f56a208a9b5278b3e2dcf75:
17317 Fallback to next urls if download fails in HttpDownloader
17318 + b7d300c6be3e130dec0e62a4f19493105f595d57:
17319 Fix incorrect stdout/stderr in remote action cache. Fixes #9072
17320 + 960217631abdcab0a7ed95e2ab10acd55f636639:
17321 Automated rollback of commit
17322 0f0a0d58725603cf2f1c175963360b525718a195.
17323 + da557f96c697102ad787e57bbf7db2460f6a60a8:
17324 Windows: fix "bazel run" argument quoting
17325 + ef8b6f68cc8ffd2e6523a894034ae383e87ec74c:
17326 Return JavaInfo from java proto aspects.
17327 + 209175ff8ffeb05628ed8a187dd414a3d2935c55:
17328 Revert back to the old behavior of not creating a proto source
17329 root for generated .proto files.
17330 + 644060b7a4bc98384b66e3d2343b950b875b5e35:
17331 Fix PatchUtil for parsing special patch format
17332 + 067040d7bcb3b24a88432e210a96adacee3f37b4:
17333 Put the removal of the legacy repository-relative proto path
17334 behind the --incompatible_generated_protos_in_virtual_imports
17335 flag.
17336 + 76ed014e77d7b862f6eb2894600ae525ea570f11:
17337 repository mapping lookup: convert to canonical name first
17338```
17339
17340Important changes:
17341
17342 - rule_test: fix Bazel 0.27 regression ("tags" attribute was
17343 ingored, https://github.com/bazelbuild/bazel/issues/8723
17344 - Adds --incompatible_enable_execution_transition, which enables
17345 incremental migration of host attributes to exec attributes.
17346 - objc_proto_library rule has been deleted from Bazel.
17347 - repository_ctx.read is no longer restricted to files
17348 in the repository contructed.
17349 - tags 'no-remote', 'no-cache', 'no-remote-cache',
17350 'no-remote-exec', 'no-sandbox' are propagated now to the actions
17351 from targets when '--ncompatible_allow_tags_propagation' flag set
17352 to true. See #8830.
17353 - Adds flag
17354 --//tools/build_defs/pkg:incompatible_no_build_defs_pkg. This
17355 flag turns off the rules //tools/build_defs/pkg:{pkg_deb,
17356 pkg_rpm, pkg_tar}.
17357 - The Android NDK is now integrated with toolchains. To use them,
17358 pass the `--extra_toolchains=@androidndk//:all` flag or register
17359 them in your WORKSPACE with
17360 `register_toolchains("@androidndk//:all")`.
17361 - Stdout and stderr are checked to determine if output is going to a
17362 terminal. `--is_stderr_atty` is deprecated and `--isatty` is
17363 undeprecated.
17364 - --incompatible_load_proto_rules_from_bzl was added to forbid
17365 loading the native proto rules directly. See more on tracking
17366 issue #8922
17367 - Docker Sandbox now respects remote_default_platform_properties
17368 - pkg_deb, pkg_rpm & pkg_tar deprecation plan announced in the
17369 documentation.
17370 - The new java_tools release:
17371 * fixes https://github.com/bazelbuild/bazel/issues/8614
17372 * exposes a new toolchain `@java_tools//:prebuilt_toolchain`
17373 which is using all the pre-built tools, including singlejar and
17374 ijar, even on remote execution. This toolchain should be used
17375 only when host and execution platform are the same, otherwise the
17376 binaries will not work on the execution platform.
17377 - java_common.compile supports specifying
17378 annotation_processor_additional_inputs and
17379 annotation_processor_additional_outputs for the Java compilation
17380 action for supporting annotation processors that consume or
17381 produce artifacts. Fixes #6415
17382 - There is now documentation on optimizing Android app build
17383 performance. Read it at
17384 https://docs.bazel.build/versions/0.29.0/android-build-performance
17385 .html
17386 - Execution log now respects --remote_default_platform_properties
17387 - Include a link to the relevant documenation on transitive Python
17388 version errors.
17389 - New incompatible flag
17390 --incompatible_disable_target_provider_fields removes the ability
17391 (in Starlark) to access a target's providers via the field syntax
17392 (for example, `ctx.attr.dep.my_provider`). The provider-key
17393 syntax should be used instead (for example,
17394 `ctx.attr.dep[MyProvider]`). See
17395 https://github.com/bazelbuild/bazel/issues/9014 for details.
17396 - A new platform exec_properties is added to replace
17397 remote_execution_properties.
17398 - Added --incompatible_load_python_rules_from_bzl, which will be
17399 flipped in Bazel 1.0. See
17400 https://github.com/bazelbuild/bazel/issues/9006.
17401 - add --break_build_on_parallel_dex2oat_failure to shortcut tests
17402 on dex2oat errors
17403
17404This 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.
17405
Bazel Release System3fd8c412019-07-19 17:14:15 +020017406## Release 0.28.1 (2019-07-19)
17407
17408```
17409Baseline: 2e374a9c6e3d4ed71f0145de287c4b2fe43c76d6
17410
17411Cherry picks:
17412
17413 + 6d0b14b95a71175362030b4811ca74512b00a890:
17414 rule_test: apply "tags" to all rules in the macro
17415 + 18cd9048526f067a4950c6ddbf4b1b3604760af0:
17416 Release 0.28.0 (2019-07-10)
17417 + 2260b970cb2a10c21a2fde116aa82c79be52991f:
17418 When copying dynamic libraries to binary, copy them into the
17419 runfiles as well.
17420 + a0af170f87c8230fcd8860599b983df097b646bd:
17421 Undo breaking change of hiding android_common behind
17422 --experimental_google_legacy_api
17423 + c6ca6c2ccd9e11a87f837341ae05d2ba037975b1:
17424 Ignore external/ directory in users' source tree when creating
17425 execroot symlink tree.
17426```
17427
17428Important changes:
17429
17430 - rule_test: fix Bazel 0.27 regression ("tags" attribute was
17431 ingored, https://github.com/bazelbuild/bazel/issues/8723
17432
17433This release contains contributions from many people at Google, as well as .
17434
Bazel Release Systemf4a08032019-07-10 18:11:04 +020017435## Release 0.28.0 (2019-07-10)
Bazel Release System7e809492019-07-10 17:50:43 +020017436
17437```
Bazel Release Systemf4a08032019-07-10 18:11:04 +020017438Baseline: 2e374a9c6e3d4ed71f0145de287c4b2fe43c76d6
Bazel Release System7e809492019-07-10 17:50:43 +020017439
17440Cherry picks:
17441
Bazel Release System7e809492019-07-10 17:50:43 +020017442 + 6d0b14b95a71175362030b4811ca74512b00a890:
17443 rule_test: apply "tags" to all rules in the macro
17444```
17445
Bazel Release Systemf4a08032019-07-10 18:11:04 +020017446Incompatible changes:
17447
17448 - Add --incompatible_enable_profile_by_default to enable the JSON
17449 profile by default.
17450 - The --incompatible_windows_style_arg_escaping flag is flipped to
17451 "true", and the "false" case unsupported. Bazel no longer accepts
17452 this flag.
17453
Bazel Release System7e809492019-07-10 17:50:43 +020017454Important changes:
17455
Bazel Release Systemf4a08032019-07-10 18:11:04 +020017456 - Bazel now supports hiding compiler warnings for targets that
17457 you're not explicitly building (see
17458 https://docs.bazel.build/versions/master/user-manual.html#flag--au
17459 to_output_filter).
17460 - Flag `--incompatible_restrict_escape_sequences` is added. See
17461 https://github.com/bazelbuild/bazel/issues/8380
17462 - The "info" command now supports the "starlark-semantics"
17463 argument, which outputs a representation of the effective Starlark
17464 semantics option values.
17465 - The `outputs` parameter of the `rule()` function is deprecated
17466 and attached to flag `--incompatible_no_rule_outputs_param`.
17467 Migrate rules to use `OutputGroupInfo` or `attr.output` instead.
17468 See https://github.com/bazelbuild/bazel/issues/7977 for more info.
Bazel Release System7e809492019-07-10 17:50:43 +020017469 - When `--incompatible_strict_action_env` is enabled, the default
17470 `PATH` now includes `/usr/local/bin`.
17471 - Turn on --experimental_build_setting_api by default for starlark
17472 build settings (see
17473 https://docs.bazel.build/versions/master/skylark/config.html#user-
17474 defined-build-settings for more info)
Bazel Release Systemf4a08032019-07-10 18:11:04 +020017475 - `@bazel_tools//tools/jdk:toolchain_java10` and
17476 `@bazel_tools//tools/jdk:toolchain_java11` are now available to
17477 enable java 10, respectively java 11 language level support.
17478 - The `command` parameter of the `actions.run_shell()` function
17479 will be restricted to only accept strings (and not string
17480 sequences). This check is attached to flag
17481 `--incompatible_run_shell_command_string`. One may migrate by
17482 using the `arguments` parameter of `actions.run()` instead. See
17483 https://github.com/bazelbuild/bazel/issues/5903 for more info.
17484 - Incompatible change
17485 `--incompatible_use_platforms_repo_for_constraints` has been
17486 added. See https://github.com/bazelbuild/bazel/issues/8622 for
17487 details.
17488 - Incompatible change
17489 `--incompatible_use_platforms_repo_for_constraints` has been
17490 added. See https://github.com/bazelbuild/bazel/issues/8622 f...
17491 - Bazel's C++ autoconfiguration now understands `BAZEL_LINKLIBS`
17492 environment variable to specify system libraries that should be
17493 appended to the link command line.
17494 - paths under the execution root starting with "." or "_" will be
17495 re-linked across builds
17496 - execution_log_json_file now allows actions without outputs.
17497 - Labels aapt as deprecated for aapt_version, and heavily endorses
17498 aapt2.
17499 - Update doc links still pointing to cc_binary.features to point to
17500 common features
17501 - Incompatible change
17502 `--incompatible_use_platforms_repo_for_constraints` has been
17503 added. See https://github.com/bazelbuild/bazel/issues/8622 for
17504 details.
17505 RELNOTES:
17506 - --incompatible_disable_nocopts flag has been added. See
17507 https://github.com/bazelbuild/bazel/issues/8706 for details.
17508 - Fixed treatment of <dist:module /> tags in AndroidManifest.xml
17509 - Fixed asset precedence for android_binary rules with aapt2.
17510 - Bazel now officially supports running on CentOS 7.
17511 - The runtime dynamic libraries are no longer in default output
17512 group of cc_binary.
17513 - set the FDOBuildType as CSFDO for binaries built with
17514 --cs_fdo_absolute_path.
17515 - Bazel can now be bootstrapped and built on arm64 platforms
17516 without requiring any flags or patches.
17517 - Fixed treatment of AndroidManifest.xml attributes which contained
17518 XML escaping
17519 - Retire experimental blaze flag
17520 experimental_link_compile_output_separately. The same behavior is
17521 available through the feature dynamic_link_test_srcs.
17522 - --incompatible_load_java_rules_from_bzl was added to forbid
17523 loading the native java rules directly. See more on tracking
17524 issue #8746
17525 - Turn on --experimental_build_setting_api by default for starlark
17526 build settings (see
17527 https://docs.bazel.build/versions/master/skylark/config.html#user-
17528 defined-build-settings for more info)
17529 - Attribute names are going to be restricted and must be
17530 syntactically valid identifiers.
17531 https://github.com/bazelbuild/bazel/issues/6437
Bazel Release System7e809492019-07-10 17:50:43 +020017532 - rule_test: fix Bazel 0.27 regression ("tags" attribute was
17533 ingored, https://github.com/bazelbuild/bazel/issues/8723
17534
Bazel Release Systemf4a08032019-07-10 18:11:04 +020017535This 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 +020017536
Bazel Release System316cb9b2019-07-02 19:45:51 +020017537## Release 0.27.1 (2019-07-02)
17538
17539```
17540Baseline: 8c3b3fba3f68833bd97d3df2db9c48f0539efc3b
17541
17542Cherry picks:
17543
17544 + 123c68daed17b19927372e4df7f7a2256db6b80e:
17545 Warn in more cases of possible Python version mismatch in host
17546 config
17547 + 052167e907373ac7ea43238c3049739f6e94a9d1:
17548 Add a non-strict autodetecting Python toolchain
17549 + 6ef6d879ab69225d54ecab3db847fb4eff33bbeb:
17550 Default java toolchain target
17551 + 50fa3ec27efdd95771c70faa38a4543d4fed44f2:
17552 Fix problems with the non-strict Python toolchain
17553 + e2a626c4f61fe4ceb79a5675d09a6f25ca7b5b22:
17554 Automated rollback of commit
17555 bc6f7cb330bb531f062bb301f3703876051191f5.
17556 + 6efc5b787ad3164cc2fb779c73377695032b4524:
17557 Treat existence of managed directories as a part of repository
17558 dirtiness.
17559 + 3a4be3c93813987a27a97dade3f9ebbc5770e349:
17560 Add /usr/local/bin to default PATH under strict action env
17561 + 5c1005c0947b010ee36ca851b8ba07c9479cf682:
17562 Automated rollback of commit
17563 536a166270590a8dbc701718550383f3a07cc763.
17564 + c82eb4878c7dc829455caeb915affe36c89df06f:
17565 Release 0.27.0 (2019-06-17)
17566 + d4589630428c1c1bc08a9baf36257e636fe9d746:
17567 Check for both :lcov_merger and $lcov_merger attributes in
17568 TestActionBuilder.
17569```
17570
17571Important changes:
17572
17573 - Add new options --cs_fdo_absolute_path= to support the absolute
17574 path
17575 profile for LLVM's context-sensitive FDO.
17576 - When `--incompatible_strict_action_env` is enabled, the default
17577 `PATH` now includes `/usr/local/bin`.
17578 - Turn on --experimental_build_setting_api by default for starlark
17579 build settings (see
17580 https://docs.bazel.build/versions/master/skylark/config.html#user-
17581 defined-build-settings for more info)
17582
17583This release contains contributions from many people at Google, as well as Ricky Pai.
17584
Bazel Release Systemaecb1e82019-06-17 14:57:36 +020017585## Release 0.27.0 (2019-06-17)
Bazel Release Systeme6976fb2019-06-06 13:01:57 +020017586
17587```
Bazel Release Systemaecb1e82019-06-17 14:57:36 +020017588Baseline: 5935259724bebd1c4bdebc90e159d0f655c8c219
Bazel Release Systeme6976fb2019-06-06 13:01:57 +020017589
17590Cherry picks:
17591
Bazel Release Systemaecb1e82019-06-17 14:57:36 +020017592 + fe81b49e727efdcc90a270520af193af75f4e31d:
17593 Support of using the absolute path profile for LLVM's Context
17594 Sensitive FDO
17595 + ce5e7180d98e1244fdfba0349952727826cbd173:
17596 Demote OptionProcessor from globals
17597 + 3ed9d3681c3e130aafcf3c405ff1795c601bdf95:
17598 Properly wire up BES half-close. The lack thereof was a simple
17599 oversight.
17600 + 4ca768e9f87701fb92598d0a8325a5fc8881a852:
17601 standardize graph output indentation with 2 spaces
17602 + aff189a7c514a0171a53a2dcdd37c93ecaa672ad:
17603 Make sure default Linux artifacts have an associated action,
17604 even when artifact names are altered.
17605 + 8c3b3fba3f68833bd97d3df2db9c48f0539efc3b:
17606 Failures early in package loading will now fail all --keep_going
17607 builds.
17608 + 123c68daed17b19927372e4df7f7a2256db6b80e:
17609 Warn in more cases of possible Python version mismatch in host
17610 config
17611 + 052167e907373ac7ea43238c3049739f6e94a9d1:
17612 Add a non-strict autodetecting Python toolchain
17613 + 6ef6d879ab69225d54ecab3db847fb4eff33bbeb:
17614 Default java toolchain target
17615 + 50fa3ec27efdd95771c70faa38a4543d4fed44f2:
17616 Fix problems with the non-strict Python toolchain
17617 + e2a626c4f61fe4ceb79a5675d09a6f25ca7b5b22:
17618 Automated rollback of commit
17619 bc6f7cb330bb531f062bb301f3703876051191f5.
17620 + 6efc5b787ad3164cc2fb779c73377695032b4524:
17621 Treat existence of managed directories as a part of repository
17622 dirtiness.
17623 + 3a4be3c93813987a27a97dade3f9ebbc5770e349:
17624 Add /usr/local/bin to default PATH under strict action env
17625 + 5c1005c0947b010ee36ca851b8ba07c9479cf682:
17626 Automated rollback of commit
17627 536a166270590a8dbc701718550383f3a07cc763.
Bazel Release Systeme6976fb2019-06-06 13:01:57 +020017628```
17629
Bazel Release Systemaecb1e82019-06-17 14:57:36 +020017630Incompatible changes:
17631
17632 - --incompatible_disable_objc_provider_resources no longer has
17633 effect. Use of deprecated resource fields on the Objc provider is
17634 now disallowed regardless of this flag.
17635 - deleted deprecated --experimental-remote-retry* flags, please use
17636 --remote_retries instead
17637 - flipped --incompatible_list_based_execution_strategy_selection
17638 flag to be true by default. See
17639 https://github.com/bazelbuild/bazel/issues/7480 for details.
17640 - Octal integer literals in Starlark are required to start with
17641 "Oo".
17642 - The "native" module is no longer available in BUILD files, all
17643 its members can be accessed directly as global symbols. This can
17644 be temporarily reverted by providing
17645 --incompatible_disallow_native_in_build_file=false as a flag to
17646 Blaze.
17647 - The "native" module is no longer available in BUILD files, all
17648 its members can be accessed directly as global symbols. This can
17649 be temporarily reverted by providing
17650 --incompatible_disallow_native_in_build_file=false as a flag to
17651 Blaze.
17652 - Turn off binary style profile format.
17653 - The "native" module is no longer available in BUILD files, all
17654 its members can be accessed directly as global symbols. This can
17655 be temporarily reverted by providing
17656 --incompatible_disallow_native_in_build_f...
17657 - cleanup that affects user provided apple frameworks is
17658 now enabled by default. See
17659 https://github.com/bazelbuild/bazel/issues/7944 for more info.
17660 - Python rules now determine the Python runtime using toolchains
17661 rather than `--python_top` and `--python_path`, which are
17662 deprecated. See
17663 [#7899](https://github.com/bazelbuild/bazel/issues/7899) for
17664 information on declaring Python toolchains and migrating your
17665 code. As a side-benefit, this addresses
17666 [#4815](https://github.com/bazelbuild/bazel/issues/4815)
17667 (incorrect interpreter version used) on non-Windows platforms.
17668 Note however that some builds break due to getting the version
17669 they asked for -- consider setting `python_version = "PY2"` on
17670 Python 2 targets and `--host_force_python=PY2` if any Python 2
17671 targets are used in the host configuration. You can temporarily
17672 opt out of this change with
17673 `--incompatible_use_python_toolchains=false`.
17674 - Depsets can't be iterated over unless they're converted to lists
17675 using the .to_list() method. Use
17676 --incompatible_depset_is_not_iterable=false to
17677 temporarily restore the previous behaviour.
17678
17679New features:
17680
17681 - Bash, runfiles: the copy-pasted init code of the Bash runfiles
17682 library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
17683 The rlocation() implementation is the same.
17684 - Bash, runfiles: the copy-pasted init code of the Bash runfiles
17685 library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
17686 The rlocation() implementation is the same.
17687 - Bash, runfiles: the copy-pasted init code of the Bash runfiles
17688 library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
17689 To use the new init code, you need Bazel 0.27 or newer. The old
17690 (longer) init code still works.
17691
17692Important changes:
17693
17694 - The `outputs` parameter of the `rule()` function is deprecated
17695 and attached to flag `--incompatible_no_rule_outputs_param`.
17696 Migrate rules to use `OutputGroupInfo` or `attr.output` instead.
17697 See https://github.com/bazelbuild/bazel/issues/7977 for more info.
17698 - The --incompatible_disable_objc_library_resources flag is being
17699 removed. Please remove it from your configs as it otherwise will
17700 fail the build.
17701 - Add a generic additional_linker_inputs attribute on cc_binary
17702 rules.
17703 - Windows, C++ autoconfigure: BAZEL_VC and BAZEL_VS may now have
17704 quotes, so if you set these envvars' values in cmd.exe via
17705 TAB-completion then you no longer need to remove the surrounding
17706 quotes.
17707 - pkg_deb has new attributes: `config` and `templates` that can be
17708 used for integration with debconf
17709 - Allow cc_import() of a DLL with no interface library on Windows,
17710 used to document runtime dependencies.
17711 - All host-configured Python tools that are built for the wrong
17712 Python version will now emit a warning message when they exit
17713 with non-zero status. See #7899.
17714 - deprecated --remote_local_fallback_strategy. Use
17715 `--strategy=remote,local` instead. See
17716 https://github.com/bazelbuild/bazel/issues/7480.
17717 - Introduce --incompatible_disable_native_android_rules flag
17718 - The Android desugaring actions now support a persistent worker
17719 mode for faster local build performance. Enable it with
17720 `--strategy=Desugar=worker`.
17721 - --incompatible_static_name_resolution_in_build_files is now
17722 enabled by default
17723 - --incompatible_disable_deprecated_attr_params is now enabled by
17724 default (#5818)
17725 - Repository containing autoconfigured C++ toolchain
17726 `@local_config_cc` has been split in 2 - see
17727 `local_config_cc_toolchains`.
17728 - --incompatible_string_join_requires_strings is now enabled by
17729 default
17730 - Flag --incompatible_new_actions_api is enabled by dewfault (#5825)
17731 - New flag `--incompatible_disallow_empty_glob`. See
17732 https://github.com/bazelbuild/bazel/issues/8195
17733 - --incompatible_no_kwargs_in_build_files is enabled by default
17734 - Incompatible flag
17735 `--incompatible_require_ctx_in_configure_features` has been
17736 flipped. See https://github.com/bazelbuild/bazel/issues/7793 for
17737 more information.
17738 - `BAZEL_USE_XCODE_TOOLCHAIN=1` tells Bazel not to look for Xcode to
17739 decide whether to enable toolchains for Apple rules, but to
17740 assume Xcode is
17741 available. Can be also used when building on Darwin and no C++ or
17742 ObjC is being
17743 built, so there is no need to detect Xcode.
17744 - Android desugaring actions now use persistent workers by default.
17745 This has been measured to provide up to 20% reduction in build
17746 times. To disable it, use the `--strategy=Desugar=sandboxed`
17747 flag. See https://github.com/bazelbuild/bazel/issues/8342 and
17748 https://github.com/bazelbuild/bazel/issues/8427 for more details
17749 on local build speed optimization for Android apps.
17750 - Fixed an issue with Android builds where `--fat_apk_cpu` doesn't
17751 pack all selected shared libraries from `aar_import` targets into
17752 the APK. See
17753 [#8283](https://github.com/bazelbuild/bazel/issues/8283).
17754 - Turn on --experimental_starlark_config_transitions by default for
17755 starlark transitions (see
17756 https://docs.bazel.build/versions/master/skylark/config.html#user-
17757 defined-transitions for more info)
17758 - Turn on --experimental_build_setting_api by default for starlark
17759 build settings (see
17760 https://docs.bazel.build/versions/master/skylark/config.html#user-
17761 defined-build-settings for more info)
17762 - Incompatible flag
17763 `--incompatible_dont_enable_host_nonhost_crosstool_features` has
17764 been flipped. See https://github.com/bazelbuild/bazel/issues/7407
17765 for more information.
17766 - Added support for Android NDK 19 and 20.
17767 - Flip --incompatible_no_support_tools_in_action_inputs
17768 - --remote_executor, --remote_cache or --bes_backend=someurl.com
17769 would be treated as grpcs://someurl.com, if the
17770 --incompatible_tls_enabled_removed flag enabled. See
17771 https://github.com/bazelbuild/bazel/issues/8061 for details.
17772 - Add new options --cs_fdo_absolute_path= to support the absolute
17773 path
17774 profile for LLVM's context-sensitive FDO.
17775 - When `--incompatible_strict_action_env` is enabled, the default
17776 `PATH` now includes `/usr/local/bin`.
17777 - Turn on --experimental_build_setting_api by default for starlark
17778 build settings (see
17779 https://docs.bazel.build/versions/master/skylark/config.html#user-
17780 defined-build-settings for more info)
17781
17782This 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 +020017783
Klaus Aehligc84f7d32019-06-17 15:26:27 +020017784## Release 0.26.1 (2019-06-06)
17785
17786```
17787Baseline: cb82ed84d44db0169a8fbf15f9cee434b77002bb
17788
17789Cherry picks:
17790
17791 + d1c0d205945f5a765efb0a48593b1cd82699ce32:
17792 Allow WORKSPACE file to be a symlink if no managed directories
17793 is used.
17794 + c3d2aa74ccd23dfb8a8173c2b3e2955f0c5892cb:
17795 Fix ios, tvos and watchos arm64 constraints
17796 + 55e42052a22a60b68d88a89932b2a068311b1a95:
17797 Bump java_tools_javac10 from 3.1 to 3.2
17798```
17799
17800Patch release on top of 0.26.0, fixing
17801- https://github.com/bazelbuild/bazel/issues/8475
17802- https://github.com/bazelbuild/bazel/issues/8520
17803- https://github.com/bazelbuild/intellij/issues/845
17804
Bazel Release System8089b272019-05-28 10:31:53 +020017805## Release 0.26.0 (2019-05-28)
Bazel Release System48845c32019-05-23 15:21:53 -040017806
17807```
Bazel Release System8089b272019-05-28 10:31:53 +020017808Baseline: daa8ae565ab2023e49134f0aad233b0a8bd7a5d0
Bazel Release System48845c32019-05-23 15:21:53 -040017809
17810Cherry picks:
17811
Bazel Release System8089b272019-05-28 10:31:53 +020017812 + 61c7ffa60ae9c1937dd6d8ee30a8c0471094ee71:
17813 Automated rollback of commit
17814 87388e24814b177f54ca7697b4233489f90c587e.
17815 + 898d7b6138af73f03daf35b767d252560087de70:
17816 Add test for repository overrides, conflicting with managed
17817 directories being added when Bazel server is already started.
17818 + c2001a4569483596d9dc74ba9cabcbe4b6f1887f:
17819 Automated rollback of commit
17820 bbe47a1564a832e1a175206f2dfbc92af94c120b.
17821 + e67c961905792cd63950c6f6efc33275ad243c49:
17822 Fix a non-determinism in create_embedded_tools.py.
Bazel Release System48845c32019-05-23 15:21:53 -040017823 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
17824 Remove unsupported cpu attribute from cc_toolchains.
Bazel Release System8089b272019-05-28 10:31:53 +020017825 + 597e289b097d3bfed8eea1cb0924bbeb04877e42:
17826 remote: made CombinedCache a composition of Disk and Http Cache
17827 + 942f7cf6a0da0a4ecc804615424f039e50963933:
17828 C++: Fixes bug in C++ API with external repo aspects
Bazel Release System48845c32019-05-23 15:21:53 -040017829 + 85a5a2bd569a5274950fc7327a044c395248c024:
17830 Configure @androidsdk//:emulator_x86 and :emulator_arm to point
17831 to the unified emulator binary
Bazel Release System8089b272019-05-28 10:31:53 +020017832 + 9835cb4135503768cdf1161746b95d7969ccb938:
17833 Automated rollback of commit
17834 844e4e297b404d6ff28b818d8150d4b9c47de887.
17835 + c963ba21073b514961946b8b4b45b091f08fdaa1:
17836 Windows, Python: fix arg. esc. also in host config
17837 + a1ea487e0a9e180a36fa4aab57f7c746ddcf367a:
17838 Do not pre-cache changed files under managed directories
17839 + 7dc78cdd04eedf2f4373b170053ba5fc2a990929:
17840 Add explicit execution and target constraints for autodiscovered
17841 cc t?
17842 + dd9ac13f7e3b71bdf2eca717bc7681bdd12389a2:
17843 Fix a bug when a relative path is used for the execution log
Bazel Release System48845c32019-05-23 15:21:53 -040017844 + 0ff19c6d0adf3c0df94fff59ca3bd13cbcf99897:
17845 Fix StandaloneTestStrategy.appendStderr
Bazel Release System8089b272019-05-28 10:31:53 +020017846 + 7f495315749478e75a3424726cc273a535b7c3b8:
17847 Fix the autodetecting Python toolchain on Mac
17848 + ddce7235ef29a0aba727c265eae865d15af4ed09:
17849 Avoid exporting PATH unnecessarily
17850 + 35dd05a059fa7fddfdd888cfc69102994e3c04dc:
17851 Allow Starlark rules to be able to use the `exec_compatible_with`
Bazel Release System48845c32019-05-23 15:21:53 -040017852```
17853
Klaus Aehlig63bf1152019-05-28 10:41:12 +020017854### Incompatible changes
17855
17856- [`--incompatible_windows_escape_jvm_flags`](https://github.com/bazelbuild/bazel/issues/7486)
17857 is enabled by default, and removed.
17858
17859- [`--incompatible_windows_style_arg_escaping`](https://github.com/bazelbuild/bazel/issues/7454)
17860 is enabled by default.
17861
17862- [`--incompatible_no_output_attr_default`](https://github.com/bazelbuild/bazel/issues/7950)
17863 is enabled by default.
17864
17865- [`--incompatible_depset_union`](https://github.com/bazelbuild/bazel/issues/5817)
17866 is enabled by default.
17867
17868- [`--incompatible_disable_genrule_cc_toolchain_dependency`](https://github.com/bazelbuild/bazel/issues/6867) removed
17869
17870- [`--Incompatible_disallow_rule_execution_platform_constraints_allowed`](https://github.com/bazelbuild/bazel/issues/8136):
17871 When enabled, disallows the use of the `execution_platform_constraints_allowed`
17872 attribute when defining new rules.
17873
17874- [`--incompatible_disable_objc_provider_resources`](https://github.com/bazelbuild/bazel/issues/5710)
17875 is now enabled by default.
17876
17877### Apple
17878
17879- The `--ios_multi_cpus`, `--watchos_cpus`, `--macos_cpus` and `--tvos_cpus` are
17880 now additive. This means that you can now split the `--ios_multi_cpus=arm64,armv7`
17881 into `--ios_multi_cpus=arm64` and `--ios_multi_cpus=armv7`.
17882
17883- Add `--incompatible_objc_framework_cleanup` to control whether to enable some
17884 objc framework cleanup that changes the API. Specifically, the cleanup changes
17885 the objc provider API pertaining to frameworks. This change is expected to be
17886 transparent to most users unless they write their own Starlark rules to handle
17887 frameworks. See https://github.com/bazelbuild/bazel/issues/7594 for details.
17888
17889- `objc_library` does not support resource attributes any more. Please read
17890 [#7594](https://github.com/bazelbuild/bazel/issues/7594) for more info.
17891
17892### Android
17893
17894- Android resource conflicts will no longer be reported between a strong attr
17895 resource and a weak attr resource, if the weak attr does not have format
17896 specified.
17897
17898### C++
17899
17900- [Allow debugging C++ features logic](https://github.com/bazelbuild/bazel/commit/53156db1e30fe7197889c3cbc8d1321ff9b85143
17901
17902- Add new options [`--cs_fdo_instrument`](https://docs.bazel.build/versions/master/command-line-reference.html#flag--cs_fdo_instrument)
17903 and [`--cs_fdo_profile`](https://docs.bazel.build/versions/master/command-line-reference.html#flag--cs_fdo_profile)
17904 to support LLVM's context-sensitive FDO (CSFDO).
17905
17906- [Bazel C++ compile/link Starlark API](https://github.com/bazelbuild/bazel/issues/4570).
17907 Can be used with experimental flag `--experimental_cc_skylark_api_enabled_packages`.
17908
17909- `cc_toolchain.static_runtime_lib` and `cc_toolchain.dynamic_runtime_lib` are
17910 now exposed to Starlark.
17911
17912- C++ Starlark API for compilation and linking is no longer whitelisted
17913
17914- Incompatible flag `--incompatible_make_thinlto_command_lines_standalone` has
17915 been added. See https://github.com/bazelbuild/bazel/issues/6791 for details.
17916
17917- Feature `disable_whole_archive_for_static_lib` has been added to allow turning
17918 off legacy_whole_archive for individual targets.
17919 https://github.com/bazelbuild/bazel/issues/7362
17920
17921### Python
17922
17923- Fixed an issue where some `py_runtimes` were incompatible with using
17924 `--build_python_zip` ([#5104](https://github.com/bazelbuild/bazel/issues/5104)).
17925
17926### Starlark
17927
17928- The flag [`--incompatible_restrict_named_params`](https://github.com/bazelbuild/bazel/issues/8147)
17929 is added. [Buildifier](https://github.com/bazelbuild/buildtools) will soon be
17930 updated to automatically fix this in your code.
17931
17932- The flag [`--incompatible_no_kwargs_in_build_files`](https://github.com/bazelbuild/bazel/issues/8021)
17933 is added. It fixes a bug where the `**kwarg` notation was allowed in `BUILD`
17934 files.
17935
17936- The flag [`--incompatible_static_name_resolution_in_build_files`](https://github.com/bazelbuild/bazel/issues/8022)
17937 is added. This fixes a bug where invalid code was silently accepted.
17938
17939- The flag [`--incompatible_disallow_old_octal_notation`](https://github.com/bazelbuild/bazel/issues/8059)
17940 is added. It removes a deprecated notation for octal numbers.
17941 [Buildifier](https://github.com/bazelbuild/buildtools) can update your code
17942 automatically.
17943
17944- [`struct.to_proto()`](https://docs.bazel.build/versions/master/skylark/lib/struct.html#to_proto)
17945 can now convert dictionaries into proto3 text message.
17946
17947- The [`glob`](https://docs.bazel.build/versions/master/be/functions.html#glob)
17948 function has a new argument `allow_empty`. When set to `False` (this will be
17949 the default in the future), the glob fails when it doesn't match anything.
17950 Please explicitly set `allow_empty = True` to the globs that need it.
17951
17952### Windows
17953
17954- Windows, Python: the new `--incompatible_windows_escape_python_args` flag
17955 (`false` by default) builds `py_binary` and `py_test` targets with correct
17956 command line argument escaping. Similar to
17957 https://github.com/bazelbuild/bazel/issues/7486 but for `py_*` rules.
17958
17959### Other changes
17960
17961- cquery supports `--output=build`
17962
17963- Generated Go protobufs now depend on `//net/proto2/go:proto_gendeps` instead
17964 of `//net/proto2/go:proto`
17965
17966- Added `--incompatible_remove_binary_profile` to disable the old binary
17967 profiles. Instead use the JSON profile format:
17968 https://docs.bazel.build/versions/master/skylark/performance.html#json-profile
17969
17970- Introducing `--execution_log_binary_file` and `--execution_log_json_file`
17971 that output a stable sorted execution log. They will offer a stable
17972 replacement to `--experimental_execution_log_file`.
17973
17974- New platform_mappings ability to allow gradual flag to platforms/toolchains
17975 migration. See also https://github.com/bazelbuild/bazel/issues/6426
17976
17977- Added support for compiling against fully qualified `R` classes from
17978 `aar_import` dependencies.
17979
17980- `--tls_enabled` flag is deprecated. Please provide `grpcs` as a scheme in
17981 the URLs if TLS should be used for a remote connection.
17982
17983### Community
17984
17985- Alex Eagle gave a talk at ng-conf:
17986 [The Bazel Opt-in Preview is Here!](https://www.youtube.com/watch?v=J1lnp-nU4wM)
17987
17988- The latest release of
17989 [rules_haskell](https://github.com/tweag/rules_haskell/releases/tag/v0.9)
17990 includes many new improvements, including an initial Windows support.
17991
17992- The latest
17993 [Buildifier release](https://github.com/bazelbuild/buildtools/releases/tag/0.25.1)
17994 includes Windows binaries, as well as a JSON output for diagnostics.
17995
17996- Natan Silnitsky gave the talk
17997 [How to successfully migrate to Bazel from Maven or Gradle](https://www.youtube.com/watch?v=2UOFm-Cc_cU)
17998 at the Java Eastern Europe Conference.
17999
18000This release contains contributions from many people at Google, as well as
18001Benjamin Peterson, Brian Topping, clyang82, Dave Lee, George Gensure,, Greg,
18002Guro Bokum, Keith Smiley, Max Vorobev, Michael Hackner, Robert Brown, Robert
18003Sayre, Ryan Beasley, and Yannic.
18004
18005
18006## Release 0.25.3 (2019-05-23)
18007
18008```
18009Baseline: 03662462941953dad23af88693804b8b1d4430b9
18010
18011Cherry picks:
18012
18013 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
18014 Windows: fix native test wrapper's arg. escaping
18015 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
18016 Flip --incompatible_windows_escape_jvm_flags
18017 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
18018 Sort DirectoryNode children to ensure validity.
18019 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
18020 Conditionally use deprecated signature for initWithContentsOfURL
18021 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
18022 Add http_archive entries for testing with various JDK versions.
18023 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
18024 Now that ubuntu1804 uses JDK 11, remove explicit
18025 ubuntu1804_java11 tests.
18026 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
18027 Fix wrong name of ubuntu1804_javabase9 task.
18028 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
18029 Remove @executable_path/Frameworks from rpaths
18030 + 130f86ded1ce84f959f0b78c065211902faed546:
18031 Download stderr/stdout to a temporary FileOutErr
18032 + 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
18033 Release 0.25.0 (2019-05-01)
18034 + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
18035 Add implementation to removed methods to address
18036 https://github.com/bazelbuild/bazel/issues/8226
18037 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
18038 Remove unsupported cpu attribute from cc_toolchains.
18039 + cccced1e7fc7eaf4ba8f2c9d73dbac72b2686df9:
18040 Release 0.25.1 (2019-05-07)
18041 + 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
18042 Use package identifier instead of package name
18043 + 85a5a2bd569a5274950fc7327a044c395248c024:
18044 Configure @androidsdk//:emulator_x86 and :emulator_arm to point
18045 to the unified emulator binary
18046 + 6549ac5bba3eef2b1813b5a75757437383bf38f0:
18047 Release 0.25.2 (2019-05-10)
18048 + 0ff19c6d0adf3c0df94fff59ca3bd13cbcf99897:
18049 Fix StandaloneTestStrategy.appendStderr
18050```
18051
Bazel Release System48845c32019-05-23 15:21:53 -040018052Incompatible changes:
18053
18054 - Flip --incompatible_windows_escape_jvm_flags to true. See
18055 https://github.com/bazelbuild/bazel/issues/7486
18056
Klaus Aehlig63bf1152019-05-28 10:41:12 +020018057This 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 -040018058
Klaus Aehlig63bf1152019-05-28 10:41:12 +020018059## Release 0.25.2 (2019-05-10)
Bazel Release System6549ac52019-05-10 16:44:09 -040018060
Klaus Aehlig63bf1152019-05-28 10:41:12 +020018061```
18062Baseline: 03662462941953dad23af88693804b8b1d4430b9
Bazel Release System6549ac52019-05-10 16:44:09 -040018063
Klaus Aehlig63bf1152019-05-28 10:41:12 +020018064Cherry picks:
Bazel Release System6549ac52019-05-10 16:44:09 -040018065
Klaus Aehlig63bf1152019-05-28 10:41:12 +020018066 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
18067 Windows: fix native test wrapper's arg. escaping
18068 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
18069 Flip --incompatible_windows_escape_jvm_flags
18070 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
18071 Sort DirectoryNode children to ensure validity.
18072 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
18073 Conditionally use deprecated signature for initWithContentsOfURL
18074 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
18075 Add http_archive entries for testing with various JDK versions.
18076 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
18077 Now that ubuntu1804 uses JDK 11, remove explicit
18078 ubuntu1804_java11 tests.
18079 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
18080 Fix wrong name of ubuntu1804_javabase9 task.
18081 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
18082 Remove @executable_path/Frameworks from rpaths
18083 + 130f86ded1ce84f959f0b78c065211902faed546:
18084 Download stderr/stdout to a temporary FileOutErr
18085 + 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
18086 Release 0.25.0 (2019-05-01)
18087 + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
18088 Add implementation to removed methods to address
18089 https://github.com/bazelbuild/bazel/issues/8226
18090 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
18091 Remove unsupported cpu attribute from cc_toolchains.
18092 + cccced1e7fc7eaf4ba8f2c9d73dbac72b2686df9:
18093 Release 0.25.1 (2019-05-07)
18094 + 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
18095 Use package identifier instead of package name
18096 + 85a5a2bd569a5274950fc7327a044c395248c024:
18097 Configure @androidsdk//:emulator_x86 and :emulator_arm to point
18098 to the unified emulator binary
18099```
18100
18101* Add fix for https://github.com/bazelbuild/bazel/issues/8254
18102* Add fix for https://github.com/bazelbuild/bazel/issues/8280
18103
18104## Release 0.25.1 (2019-05-07)
18105
18106```
18107Baseline: 03662462941953dad23af88693804b8b1d4430b9
18108
18109Cherry picks:
18110
18111 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
18112 Windows: fix native test wrapper's arg. escaping
18113 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
18114 Flip --incompatible_windows_escape_jvm_flags
18115 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
18116 Sort DirectoryNode children to ensure validity.
18117 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
18118 Conditionally use deprecated signature for initWithContentsOfURL
18119 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
18120 Add http_archive entries for testing with various JDK versions.
18121 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
18122 Now that ubuntu1804 uses JDK 11, remove explicit
18123 ubuntu1804_java11 tests.
18124 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
18125 Fix wrong name of ubuntu1804_javabase9 task.
18126 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
18127 Remove @executable_path/Frameworks from rpaths
18128 + 130f86ded1ce84f959f0b78c065211902faed546:
18129 Download stderr/stdout to a temporary FileOutErr
18130 + 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
18131 Release 0.25.0 (2019-05-01)
18132 + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
18133 Add implementation to removed methods to address
18134 https://github.com/bazelbuild/bazel/issues/8226
18135 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
18136 Remove unsupported cpu attribute from cc_toolchains.
18137```
18138
18139Adding 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 -040018140
Bazel Release System2ab38662019-05-01 17:41:28 -040018141## Release 0.25.0 (2019-05-01)
18142
18143```
18144Baseline: 03662462941953dad23af88693804b8b1d4430b9
18145
18146Cherry picks:
18147
18148 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
18149 Windows: fix native test wrapper's arg. escaping
18150 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
18151 Flip --incompatible_windows_escape_jvm_flags
18152 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
18153 Sort DirectoryNode children to ensure validity.
18154 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
18155 Conditionally use deprecated signature for initWithContentsOfURL
18156 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
18157 Add http_archive entries for testing with various JDK versions.
18158 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
18159 Now that ubuntu1804 uses JDK 11, remove explicit
18160 ubuntu1804_java11 tests.
18161 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
18162 Fix wrong name of ubuntu1804_javabase9 task.
18163 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
18164 Remove @executable_path/Frameworks from rpaths
18165 + 130f86ded1ce84f959f0b78c065211902faed546:
18166 Download stderr/stdout to a temporary FileOutErr
18167```
18168
18169Incompatible changes:
18170
18171 - (Starlark rules) The legacy "py" provider can no longer be passed
18172 to or produced by native Python rules; use
18173 [PyInfo](https://docs.bazel.build/versions/master/skylark/lib/PyIn
18174 fo.html) instead. See
18175 [#7298](https://github.com/bazelbuild/bazel/issues/7298) for more
18176 information.
18177 - (Python rules) The `default_python_version` attribute of the
18178 `py_binary` and `py_test` rules has been renamed to
18179 `python_version`. Also, the `--force_python` flag has been
18180 renamed to `--python_version`. See
18181 [#7308](https://github.com/bazelbuild/bazel/issues/7308) for more
18182 information.
18183 - (Python rules) The python version now changes to whatever version
18184 is specified in a `py_binary` or `py_test`'s `python_version`
18185 attribute, instead of being forced to the value set by a command
18186 line flag. You can temporarily revert this change with
18187 `--incompatible_allow_python_version_transitions=false`. See
18188 [#7307](https://github.com/bazelbuild/bazel/issues/7307) for more
18189 information.
18190 - --incompatible_disable_third_party_license_checking` is enabled
18191 by default
18192 - Introduced --incompatible_use_python_toolchains, which supersedes
18193 --python_top/--python_path. See #7899 and #7375 for more
18194 information.
18195 - Python 3 is now the default Python version (for `py_binary` and
18196 `py_test` targets that don't specify the `python_version`
18197 attribute). Targets that are built for Python 3 will no longer
18198 have their output put in a separate `-py3` directory; instead
18199 there is now a separate `-py2` directory for Python 2 targets.
18200 See #7359 and #7593 for more information.
18201 - objc_library resource attributes are now disabled by default.
18202 Please migrate them to data instead. See
18203 https://github.com/bazelbuild/bazel/issues/7594 for more info.
18204 - Flip --incompatible_windows_escape_jvm_flags to true. See
18205 https://github.com/bazelbuild/bazel/issues/7486
18206
18207New features:
18208
18209 - genrules now support a $(RULEDIR) variable that resolves to the
18210 directory where the outputs of the rule are put.
18211 - Added --incompatible_windows_native_test_wrapper flag: enables
18212 using the Bash-less test wrapper on Windows. (No-op on other
18213 platforms.)
18214
18215Important changes:
18216
18217 - incompatible_use_jdk11_as_host_javabase: makes JDK 11 the default
18218 --host_javabase for remote jdk
18219 (https://github.com/bazelbuild/bazel/issues/7219)
18220 - Makes genquery somepath output deterministic.
18221 - Tristate attributes of native rules now reject True/False (use
18222 1/0)
18223 - Rollback of "Tristate attributes of native rules now reject
18224 True/False (use 1/0)"
18225 - Tristate attributes of native rules now reject True/False (use
18226 1/0)
18227 - Added -incompatible_do_not_split_linking_cmdline flag. See #7670
18228 - Tristate attributes of native rules now temporarily accept
18229 True/False again
18230 - `--incompatible_disable_legacy_crosstool_fields` has been flipped
18231 (https://github.com/bazelbuild/bazel/issues/6861)
18232 `--incompatible_disable_expand_if_all_available_in_flag_set` has
18233 been flipped (https://github.com/bazelbuild/bazel/issues/7008)
18234 - `--incompatible_disable_legacy_crosstool_fields` has been flipped
18235 (https://github.com/bazelbuild/bazel/issues/6861)
18236 `--incompatible_disable_expand_if_all_available_in_flag_set...
18237 RELNOTES: None.
18238 - --incompatible_no_transitive_loads is enabled by default.
18239 - Makes TreeArtifact deterministic.
18240 - --incompatible_no_transitive_loads is enabled by default.
18241 - Android NDK C++ toolchain is now configured in Starlark. This
18242 should be a backwards compatible change, but in case of bugs
18243 blame unknown commit.
18244 - `--incompatible_disable_legacy_crosstool_fields` has been flipped
18245 (https://github.com/bazelbuild/bazel/issues/6861)
18246 `--incompatible_disable_expand_if_all_available_in_flag_set` has
18247 been flipped (https://github.com/bazelbuild/bazel/issues/7008)
18248 - --incompatible_no_transitive_loads is enabled by default.
18249 - --incompatible_bzl_disallow_load_after_statement is enabled
18250 - Added `--incompatible_require_ctx_in_configure_features`, see
18251 https://github.com/bazelbuild/bazel/issues/7793 for details.
18252 - Flag --incompatible_merge_genfiles_directory is flipped. This
18253 removes the directory `bazel-genfiles` in favor of `bazel-bin`.
18254 - previously deprecated flag --experimental_remote_spawn_cache was
18255 removed
18256 - `--incompatible_disallow_load_labels_to_cross_package_boundaries`
18257 is enabled by default
18258 - Fix an issue where the Android resource processor did not surface
18259 errors from aapt2 compile and link actions.
18260 - --incompatible_no_attr_license is enabled by default
18261 - `--incompatible_disable_crosstool_file` has been flipped
18262 (https://github.com/bazelbuild/bazel/issues/7320)
18263 - A new flag `--incompatible_string_join_requires_strings` is
18264 introduced. The sequence argument of `string.join` must contain
18265 only string elements.
18266 - --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
18267 s_tree has been flipped
18268 - Incompatible flag `--incompatible_disable_legacy_cc_provider` has
18269 been flipped (see https://github.com/bazelbuild/bazel/issues/7036
18270 for details).
18271 - Don't drop the analysis cache when the same --define flag is set
18272 multiple times and the last value is the same (e.g. if the
18273 current invocation was run with "--define foo=bar" and the
18274 previous one was run with "--define foo=baz --define foo=bar").
18275 - The --incompatible_disable_genrule_cc_toolchain_dependency flag
18276 has been flipped (see
18277 https://github.com/bazelbuild/bazel/issues/6867 for details).
18278 - Incompatible change
18279 `--incompatible_remove_cpu_and_compiler_attributes_from_cc_toolcha
18280 in` has been flipped (see
18281 https://github.com/bazelbuild/bazel/issues/7075 for details).
18282 - --noexperimental_java_coverage is a no-op flag.
18283 - --experimental_java_coverage/--incompatible_java_coverage flag was
18284 removed. See #7425.
18285 - incompatible_use_toolchain_providers_in_java_common: pass
18286 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
18287 APIs instead of configured targets
18288 (https://github.com/bazelbuild/bazel/issues/7186.)
18289 - --incompatible_remote_symlinks has been flipped. The remote
18290 caching and execution protocol will now represent symlinks in
18291 outputs as such. See
18292 https://github.com/bazelbuild/bazel/issues/7917 for more details.
18293 - Bazel is now ~20MiB smaller, from unbundling the Android rules'
18294 runtime dependencies.
18295
18296This 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, ??.
18297
Bazel Release System7f8bc5f2019-04-02 12:26:16 -040018298## Release 0.24.1 (2019-04-02)
18299
18300```
18301Baseline: 235e76b0e756d05599a6cbe1663ff8e13df84a86
18302
18303Cherry picks:
18304
18305 + badd82e4c5cda7b3232481e1c63a5550ac898cd8:
18306 Automated rollback of commit
18307 1b4c37c38804559b5c1ade6f9c93501875e231b0.
18308 + 33e571939085dd158422e1b3503cfc738e0a3165:
18309 Fix the Python version select() mechanism to handle
18310 PY3-as-default
18311 + 56366ee3a73e2c92b2fa36a9840478202b9618ca:
18312 Set non-empty values for msvc_env_* when VC not installed
18313 + 22b3fbf4800113df51d603d943bd9eb9517ef904:
18314 Windows, test wrapper: fix broken integration test
18315 + f14d447cb56aee563f6e686b8f5b086a3bb55d47:
18316 Add whitelist file for starlark transitions
18317 + d99bc478db1f3414b4f6cd3dc14ca70aacf6b375:
18318 Update BUILD
18319 + 3529ad7ccf0c26dfb20a9d67b9d96de15f309f8b:
18320 Rename tools/function_transition_whitelist/BUILD to
18321 tools/whitelists/function_transition_whitelist/BUILD
18322 + de0612ad3ef7cc8c44069261befdeb0d15b97c10:
18323 Update bazel_toolchains to latest release and add toolchain
18324 config target for BuildKite CI (rbe_ubuntu1604)
18325 + 3e660ad178926648e8e10e2ee7a1a30b12f9b3d1:
18326 Automated rollback of commit
18327 087734009801242b83655efb863b2d5a761ae3dc.
18328 + 314cf1f9e4b332955c4800b2451db4e926c3e092:
18329 Pass -undefined dynamic_lookup to dynamic library linking
18330 actions on Mac
18331 + fc586a86b614667a21e5a01aea3544ac0338de78:
18332 Move cc_flags target into @bazel_tools//tools/cpp.
18333 + ea1703b30f9ac43a0c3262f5729c34658ed8d473:
18334 C++: Fix crash reported in #7721
18335 + 803801d1494f06f0ce977a1f2241ef6a4d85df09:
18336 Pass execution info to xml generating spawn. Fixes #7794
18337 + f092ec388a4b58788285b928c86f0f81561d4be4:
18338 Release 0.24.0 (2019-03-26)
18339 + c56c489119e6587975964c44ceb9e429ad950736:
18340 Wrap StatusRuntimeExceptions from GrpcRemoteCache
18341```
18342
18343Baseline: f092ec388a4b58788285b928c86f0f81561d4be4
18344
18345Cherrypicks:
18346+ c56c489119e6587975964c44ceb9e429ad950736: Wrap StatusRuntimeExceptions from GrpcRemoteCache
18347
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018348## Release 0.24.0 (2019-03-26)
Bazel Release System0e4525f2019-03-11 17:43:39 +010018349
18350```
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018351Baseline: 235e76b0e756d05599a6cbe1663ff8e13df84a86
Bazel Release System0e4525f2019-03-11 17:43:39 +010018352
18353Cherry picks:
18354
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018355 + badd82e4c5cda7b3232481e1c63a5550ac898cd8:
18356 Automated rollback of commit
18357 1b4c37c38804559b5c1ade6f9c93501875e231b0.
18358 + 33e571939085dd158422e1b3503cfc738e0a3165:
18359 Fix the Python version select() mechanism to handle
18360 PY3-as-default
Bazel Release System0e4525f2019-03-11 17:43:39 +010018361 + 56366ee3a73e2c92b2fa36a9840478202b9618ca:
18362 Set non-empty values for msvc_env_* when VC not installed
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018363 + 22b3fbf4800113df51d603d943bd9eb9517ef904:
18364 Windows, test wrapper: fix broken integration test
18365 + f14d447cb56aee563f6e686b8f5b086a3bb55d47:
18366 Add whitelist file for starlark transitions
18367 + d99bc478db1f3414b4f6cd3dc14ca70aacf6b375:
18368 Update BUILD
18369 + 3529ad7ccf0c26dfb20a9d67b9d96de15f309f8b:
18370 Rename tools/function_transition_whitelist/BUILD to
18371 tools/whitelists/function_transition_whitelist/BUILD
18372 + de0612ad3ef7cc8c44069261befdeb0d15b97c10:
18373 Update bazel_toolchains to latest release and add toolchain
18374 config target for BuildKite CI (rbe_ubuntu1604)
18375 + 3e660ad178926648e8e10e2ee7a1a30b12f9b3d1:
18376 Automated rollback of commit
18377 087734009801242b83655efb863b2d5a761ae3dc.
18378 + 314cf1f9e4b332955c4800b2451db4e926c3e092:
18379 Pass -undefined dynamic_lookup to dynamic library linking
18380 actions on Mac
18381 + fc586a86b614667a21e5a01aea3544ac0338de78:
18382 Move cc_flags target into @bazel_tools//tools/cpp.
18383 + ea1703b30f9ac43a0c3262f5729c34658ed8d473:
18384 C++: Fix crash reported in #7721
18385 + 803801d1494f06f0ce977a1f2241ef6a4d85df09:
18386 Pass execution info to xml generating spawn. Fixes #7794
Bazel Release System0e4525f2019-03-11 17:43:39 +010018387```
18388
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018389Incompatible changes:
Bazel Release System0e4525f2019-03-11 17:43:39 +010018390
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018391 - Added --incompatible_py3_is_default to test switching the default
18392 Python version to PY3 for py_binary/py_test targets that do not
18393 specify a version. See #7359.
18394 - //tools/cmd_line_differ has been renamed to //tools/aquery_differ
18395 & can now compare (in addition to command lines) inputs of
18396 actions given 2 aquery results.
18397 - java_(mutable_|)proto_library: removed strict_deps attribute.
18398 - The flag --incompatible_list_based_execution_strategy_selection
18399 was added and is used to ease the migration to the new style of
18400 specifying
18401 execution strategy selection and fallback behavior. The
18402 documentation for
18403 this flag is here: https://github.com/bazelbuild/bazel/issues/7480
18404 - Added --incompatible_py2_outputs_are_suffixed, for switching the
18405 bazel-bin symlink to point to Python 3 outputs instead of Python
18406 2 outputs. See
18407 [#7593](https://github.com/bazelbuild/bazel/issues/7593).
Bazel Release Systemf28ff222019-03-04 11:12:24 +010018408
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018409New features:
Bazel Release Systemf28ff222019-03-04 11:12:24 +010018410
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018411 - Make actions.args() object chainable.
18412 - Added --incompatible_windows_style_arg_escaping flag: enables
18413 correct subprocess argument escaping on Windows. (No-op on other
18414 platforms.)
18415 - Added --incompatible_windows_escape_jvm_flags flag: enables
18416 correct java_binary.jvm_flags and java_test.jvm_flags
18417 tokenization and escaping on Windows. (No-op on other platforms.)
Bazel Release Systemf28ff222019-03-04 11:12:24 +010018418
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018419Important changes:
Bazel Release Systemf28ff222019-03-04 11:12:24 +010018420
Bazel Release System4f5c17c2019-03-26 12:08:43 -040018421 - Allow running aquery against the current state of Skyframe
18422 - Added support for the "navigation" resource directory to Android
18423 resource processing in Bazel. This is used by the Navigation
18424 Architecture Component.
18425 - --incompatible_disable_runtimes_filegroups was flipped
18426 (https://github.com/bazelbuild/bazel/issues/6942)
18427 - Incompatible flag `--incompatible_linkopts_in_user_link_flags`
18428 has been flipped (https://github.com/bazelbuild/bazel/issues/6826)
18429 - Incompatible flag `--incompatible_dont_emit_static_libgcc` has
18430 been flipped (https://github.com/bazelbuild/bazel/issues/6825)
18431 - --incompatible_disallow_filetype is enabled by default.
18432 - Fixed issue where exceptions and stacktraces were silently
18433 swallowed in the Android resource processing pipeline.
18434 - `--incompatible_disable_expand_if_all_available_in_flag_set` has
18435 been flipped (https://github.com/bazelbuild/bazel/issues/7008)
18436 - --incompatible_disallow_dict_plus is enabled by default
18437 - Adds --incompatible_disable_objc_library_resources to disable
18438 resource attributes in objc_library. Please migrate these
18439 attributes to `data` instead.
18440 - --incompatible_disallow_old_style_args_add is enabled by default.
18441 - Using the `native` module in BUILD files is deprecated. It will
18442 be forbidden with --incompatible_disallow_native_in_build_file.
18443 - (Python rules) PyRuntimeInfo is exposed to Starlark, making it
18444 possible for Starlark rules to depend on or imitate `py_runtime`.
18445 The `files` attribute of `py_runtime` is no longer mandatory.
18446 - incompatible_use_toolchain_providers_in_java_common: pass
18447 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
18448 APIs instead of configured
18449 targetshttps://github.com/bazelbuild/bazel/issues/7186.
18450 - is_using_fission crosstool variable is now exposed in all compile
18451 actions when fission is active (it used to be exposed only for
18452 linking actions).
18453 - incompatible_use_toolchain_providers_in_java_common: pass
18454 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
18455 APIs instead of configured
18456 targetshttps://github.com/bazelbuild/bazel/issues/7186.
18457 - `py_runtime` gains a `python_version` attribute for specifying
18458 whether it represents a Python 2 or 3 interpreter.
18459 - `--incompatible_java_coverage` is enabled by default.
18460 - Starlark rules can safely declare attributes named "licenses"
18461 - When using
18462 --incompatible_list_based_execution_strategy_selection, Bazel
18463 will use remote execution by default (if you specify
18464 --remote_executor), otherwise persistent workers (if the action
18465 supports it), otherwise sandboxed local execution (if the action
18466 and platform supports it) and at last unsandboxed local
18467 execution. The flags --spawn_strategy and --strategy continue to
18468 work as before - this only sets new defaults for the case where
18469 you don't specify these flags.
18470 - Set default value of --incompatible_remap_main_repo to true.
18471 - Set default value of --incompatible_remap_main_repo to true.
18472
18473This 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 +010018474
Bazel Release Systemed104862019-02-26 18:36:00 +010018475## Release 0.23.0 (2019-02-26)
18476
18477```
18478Baseline: 441fd75d0047f8a998d784c557736ab9075db893
18479
18480Cherry picks:
18481
18482 + 6ca7763669728253606578a56a205bca3ea883e9:
18483 Fix a typo
18484 + 2310b1c2c8b2f32db238f667747e7d5672480f4a:
18485 Ignore SIGCHLD in test setup script
18486 + f9eb1b56706f91063e9d080b850fa56964e77324:
18487 Complete channel initialization in the event loop
18488```
18489
18490Incompatible changes:
18491
18492 - //src:bazel uses the minimal embedded JDK, if you want to
18493 avoid the extra steps of minimizing the JDK, use //src:bazel-dev
18494 instead.
18495 - //src:bazel uses the minimal embedded JDK, if you want to
18496 avoid the extra steps of building bazel with the minimized JDK,
18497 use //src:bazel-dev
18498 instead.
18499 - The default value of --host_platform and --platforms will be
18500 changed to not be dependent on the configuration. This means
18501 that setting
18502 --cpu or --host_cpu will not affect the target or host platform.
18503 - Toolchain resolution for cc rules is now enabled via an
18504 incompatible flag, --incompatible_enable_cc_toolchain_resolution.
18505 The previous
18506 flag, --enabled_toolchain_types, is deprecated and will be
18507 removed.
18508 - java_(mutable_|)proto_library: removed strict_deps attribute.
18509 - Python rules will soon reject the legacy "py" struct provider
18510 (preview by enabling --incompatible_disallow_legacy_py_provider).
18511 Upgrade rules to use PyInfo instead. See
18512 [#7298](https://github.com/bazelbuild/bazel/issues/7298).
18513 - java_(mutable_|)proto_library: removed strict_deps attribute.
18514 - Two changes to native Python rules: 1) `default_python_version`
18515 and `--force_python` are deprecated; use `python_version` and
18516 `--python_version` respectively instead. You can preview the
18517 removal of the deprecated names with
18518 --incompatible_remove_old_python_version_api. See
18519 [#7308](https://github.com/bazelbuild/bazel/issues/7308). 2) The
18520 version flag will no longer override the declared version of a
18521 `py_binary` or `py_test` target. You can preview this new
18522 behavior with --incompatible_allow_python_version_transitions.
18523 See [#7307](https://github.com/bazelbuild/bazel/issues/7307).
18524
18525Important changes:
18526
18527 - There is a new flag available
18528 `--experimental_java_common_create_provider_enabled_packages`
18529 that acts as a whitelist for usages of
18530 `java_common.create_provider`. The constructor will be deprecated
18531 in Bazel 0.23.
18532 - [#7024] Allow chaining of the same function type in aquery.
18533 - Introduces --local_{ram,cpu}_resources, which will take the place
18534 of --local_resources.
18535 - [#6930] Add documentation for the aquery command.
18536 - Incompatible flag `--incompatible_dont_emit_static_libgcc` has
18537 been flipped (https://github.com/bazelbuild/bazel/issues/6825)
18538 - Incompatible flag `--incompatible_linkopts_in_user_link_flags`
18539 has been flipped (https://github.com/bazelbuild/bazel/issues/6826)
18540 - Flag --incompatible_range_type is removed.
18541 - Flag --incompatible_disallow_slash_operator is removed.
18542 - Flag --incompatible_disallow_conflicting_providers is removed.
18543 - `--incompatible_disallow_data_transition` is now enabled by
18544 default
18545 - Allow inclusion of param files in aquery output
18546 - [#6985] Add test to verify aquery's behavior for Cpp action
18547 templates.
18548 - --incompatible_require_feature_configuration_for_pic was flipped
18549 (https://github.com/bazelbuild/bazel/issues/7007).
18550 - Also ignore module-info.class in multi-version Jars
18551 - objc_framework has been deleted. Please refer to
18552 apple_dynamic_framework_import and apple_static_framework_import
18553 rules available in
18554 [rules_apple](https://github.com/bazelbuild/rules_apple/blob/maste
18555 r/doc/rules-general.md)
18556 - --test_sharding_strategy=experimental_heuristic is no more
18557 - objc_bundle_library has been removed. Please migrate to
18558 rules_apple's
18559 [apple_resource_bundle](https://github.com/bazelbuild/rules_apple/
18560 blob/master/doc/rules-resources.md#apple_resource_bundle).
18561 - You can now use the attribute `aapt_version` or the flag
18562 `--android_aapt` to pick the aapt version for android_local_test
18563 tests
18564 - In --keep_going mode, Bazel now correctly returns a non-zero exit
18565 code when encountering a package loading error during target
18566 pattern parsing of patterns like "//foo:all" and "//foo/...".
18567 - The default value for --incompatible_strict_action_env has been
18568 flipped to 'false' again, as we discovered breakages for local
18569 execution users. We'll need some more time to figure out the best
18570 way to make this work for local and remote execution. Follow
18571 https://github.com/bazelbuild/bazel/issues/7026 for more details.
18572 - Locally-executed spawns tagged "no-cache" no longer upload their
18573 outputs to the remote cache.
18574 - Introduces --host_compiler flag to allow setting a compiler for
18575 host compilation when --host_crosstool_top is specified.
18576 - --incompatible_expand_directories is enabled by default
18577 - [aquery] Handle the case of aspect-on-aspect.
18578 - Fixed a longstanding bug in the http remote cache where the value
18579 passed to
18580 --remote_timeout would be interpreted as milliseconds instead of
18581 seconds.
18582 - Enable --incompatible_use_jdk10_as_host_javabase by default, see
18583 https://github.com/bazelbuild/bazel/issues/6661
18584 - Add --incompatible_use_jdk11_as_host_javabase: makes JDK 11 the
18585 default --host_javabase for remote jdk
18586 (https://github.com/bazelbuild/bazel/issues/7219)
18587 - Highlight TreeArtifact in aquery text output.
18588 - Locally-executed spawns tagged "no-cache" no longer upload their
18589 outputs to the remote cache.
18590 - java_common APIs now accept JavaToolchainInfo and JavaRuntimeInfo
18591 instead of configured targets for java_toolchain and java_runtime
18592 - cc_common.create_cc_toolchain_config_info is stable and available
18593 for production use
18594 - incompatible_use_toolchain_providers_in_java_common: pass
18595 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
18596 APIs instead of configured targets
18597 (https://github.com/bazelbuild/bazel/issues/7186)
18598 - --incompatible_strict_argument_ordering is enabled by default.
18599 - Bazel now supports reading cache hits from a repository cache,
18600 even if it doesn't have write access to the cache.
18601 - Adding arm64e to OSX CROSSTOOL.
18602 - Ignore package-level licenses on config_setting.
18603 - Add an optional output_source_jar parameter to java_common.compile
18604 - --incompatible_disable_objc_provider_resources is now enabled by
18605 default. This disables ObjcProvider's fields related to resource
18606 processing.
18607 - Explicitly set https.protocols and exclude TLSv1.3.
18608 - Bazel now validates that JAVA_HOME points to a valid JDK and
18609 falls back to auto-detection by looking up the path of `javac`.
18610 - Upgrade the embedded JDK version to 11.0.2.
18611 - Added --incompatible_disable_crosstool_file
18612 (https://github.com/bazelbuild/bazel/issues/7320)
18613 - --incompatible_disable_objc_provider_resources is now enabled by
18614 default. This disables ObjcProvider's fields related to resource
18615 processing.
18616 - --incompatible_disable_tools_defaults_package has been flipped.
18617 - For tests that do not generate a test.xml, Bazel now uses a
18618 separate action to generate one; this results in minor
18619 differences in the generated test.xml, and makes the generation
18620 more reliable overall.
18621 - incompatible_generate_javacommon_source_jar: java_common.compile
18622 now always generates a source jar, see
18623 https://github.com/bazelbuild/bazel/issues/5824.
18624 - New incompatible flag
18625 --incompatible_disallow_struct_provider_syntax removes the
18626 ability for rule implementation functions to return struct. Such
18627 functions should return a list of providers instead. Migration
18628 tracking: https://github.com/bazelbuild/bazel/issues/7347
18629
18630This 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.
18631
Bazel Release System2f82b332019-01-28 13:54:53 +010018632## Release 0.22.0 (2019-01-28)
18633
18634```
18635Baseline: deb028e3fb30b4e2953df16f35ab1f55a08ea8fa
18636
18637Cherry picks:
18638
18639 + a3a5975dca3ad04c19dc7d063fcf490a8cd612fd:
18640 Fix a race condition in remote cache
18641 + b8d0e1b05c225a4b943ce498194d069d18093d9a:
18642 Use a new GitHub token and KMS key for the release process.
18643 + 3759e3895503aa2bbd6943c5b568b8c050b9448f:
18644 remote: fix unexpected IO error (not a directory)
18645 + 4473bb1a9ec4282aa8497b86580d68e82415df4a:
18646 Fix a race condition in Bazel's Windows process management.
18647 + 9137fb940886aa516f32ca8a36feccedb545c99b:
18648 undo flag flip of --incompatible_strict_action_env
18649 + 12ab12e80ad1c9a3510aa4bbfdf3fddafc0bca00:
18650 Revert "Enabling Bazel to generate input symlinks as defined by
18651 RE AP?
18652 + 6345c747d8cb1819e70c853becadbf8a989decf1:
18653 Automated rollback of commit
18654 30536baa4a410d8c0a7adab5cd58cd8a2ac7e46c.
18655```
18656
Bazel Release System2f82b332019-01-28 13:54:53 +010018657
Bazel Release System2f82b332019-01-28 13:54:53 +010018658
Klaus Aehligcb59bd22019-01-28 14:20:37 +010018659The Bazel team is happy to announce a new release of Bazel,
18660[Bazel 0.22.0](https://github.com/bazelbuild/bazel/releases/tag/0.22.0).
Bazel Release System2f82b332019-01-28 13:54:53 +010018661
Klaus Aehligcb59bd22019-01-28 14:20:37 +010018662Baseline: deb028e3fb30b4e2953df16f35ab1f55a08ea8fa
Bazel Release System2f82b332019-01-28 13:54:53 +010018663
Klaus Aehligcb59bd22019-01-28 14:20:37 +010018664### Breaking changes
18665
18666- [`--incompatible_string_is_not_iterable`](https://github.com/bazelbuild/bazel/issues/5830)
18667
18668### Upcoming changes
18669
18670This release is a [migration window for the following changes](https://github.com/bazelbuild/bazel/labels/migration-0.22).
18671
18672- [`--incompatible_disallow_data_transition`](https://github.com/bazelbuild/bazel/issues/6153)
18673- [`--incompatible_dont_emit_static_libgcc`](https://github.com/bazelbuild/bazel/issues/6825)
18674- [`--incompatible_linkopts_in_user_link_flags`](https://github.com/bazelbuild/bazel/issues/6826)
18675- [`--incompatible_disable_legacy_crosstool_fields`](https://github.com/bazelbuild/bazel/issues/6861)
18676- [`--incompatible_use_aapt2_by_default`](https://github.com/bazelbuild/bazel/issues/6907)
18677- [`--incompatible_disable_runtimes_filegroups`](https://github.com/bazelbuild/bazel/issues/6942)
18678- [`--incompatible_disable_legacy_cc_provider`](https://github.com/bazelbuild/bazel/issues/7036)
18679- [`--incompatible_require_feature_configuration_for_pic`](https://github.com/bazelbuild/bazel/issues/7007)
18680- [`--incompatible_disable_expand_if_all_available_in_flag_set`](https://github.com/bazelbuild/bazel/issues/7008)
18681- [`--incompatible_disable_legacy_proto_provider`](https://github.com/bazelbuild/bazel/issues/7152)
18682- [`--incompatible_disable_proto_source_root`](https://github.com/bazelbuild/bazel/issues/7153)
18683
18684### General Changes
18685
18686- https://docs.bazel.build now supports versioned
18687 documentation. Use the selector at the top of the navigation bar
18688 to switch between documentation for different Bazel releases.
18689
18690- set `projectId` in all `PublishBuildToolEventStreamRequest`
18691
18692### Android
18693
18694- mobile-install now works with aapt2. Try it out with `bazel
18695 mobile-install --android_aapt=aapt2 //my:target`
18696
18697- Fixed issues with mobile-install v1 when deploying to Android 9 Pie
18698 devices. https://github.com/bazelbuild/bazel/issues/6814
18699
18700- Fixed issue where error messages from Android manifest merging
18701 actions were not fully propagated.
18702
18703- New incompatible change flag `--incompatible_use_aapt2_by_default`
18704 for defaulting to aapt2 in Android builds has been added. To build with
18705 aapt2 today, pass the flag
18706 `--incompatible_use_aapt2_by_default=true` or
18707 `--android_aapt=aapt2`, or set the `aapt_version` to `aapt2` on
18708 your `android_binary` or `android_local_test` target.
18709
18710- Fixed mobile-install v1 error when installing an app with native
18711 libraries onto an Android 9 (Pie) device. See
18712 https://github.com/bazelbuild/examples/issues/77
18713
18714- Fixed a mobile-install bug where `arm64-v8a` libraries were not
18715 deployed correctly on `arm64` devices. This was done by enabling
18716 incremental native lib deployment by default. A previously
18717 undocumented `--android_incremental_native_libs` flag is removed,
18718 and is now the regular behavior. See
18719 https://github.com/bazelbuild/bazel/issues/2239
18720
18721### Apple
18722
18723- The `objc_bundle` rule has been removed. Please migrate to rules_apple's
18724 [apple_bundle_import](https://github.com/bazelbuild/rules_apple/bl
18725 ob/master/doc/rules-resources.md#apple_bundle_import).
18726
18727- The `apple_stub_binary` rule has been deleted.
18728
18729- The `--xbinary_fdo` option that passes xbinary profiles has been added.
18730
18731### C++
18732
18733- `cc_toolchain.(static|dynamic)_runtime_libs` attributes are now optional
18734
18735### Packaging
18736
18737- `build_tar.py` in `tools/build_defs/pkg` now supports a JSON manifest
18738 that can be used to add paths that have symbols that can't be
18739 specified via the command line
18740
18741### Query
18742
18743- Filtering of inputs, outputs, and mnemonic filtering have been added to
18744 aquery.
18745
18746- The aquery and cquery query2 tests have been open-sourced.
18747
18748- The Bazel query how-to recommends ":*" instead of ":all", because "all" might
18749 be the name of a target.
18750
18751### Testing
18752
18753- The `--runs_per_test` has been placed in the TESTING documentation category.
18754
18755- A a clarifying message has been added to test case summary output when all
18756 test cases pass but the target fails.
18757
18758### Contributors
18759
18760This release contains contributions from many people at Google, as well as
18761Benjamin Peterson, Dave Lee, George Gensure, Gert van Dijk, Gustavo Storti
18762Salibi, Keith Smiley, Loo Rong Jie, Lukasz Tekieli, Mikhail Mazurskiy, Thi,
18763Travis Cline, Vladimir Chebotarev, and Yannic.
Bazel Release System2f82b332019-01-28 13:54:53 +010018764
Bazel Release Systema189d422018-12-19 13:53:11 +010018765## Release 0.21.0 (2018-12-19)
18766
18767```
18768Baseline: cb9b2afbba3f8d3a1db8bf68e65d06f1b36902f5
18769
18770Cherry picks:
18771
18772 + 12b96466ee0d6ab83f7d4cd24be110bb5021281d:
18773 Windows, test wrapper: rename the associated flag
18774 + 7fc967c4d6435de2bb4e34aac00ca2e499f55fca:
18775 Use a fixed thread pool in ByteStreamBuildEventArtifactUploader
18776 + 798b9a989aa793655d29504edb5fb85f3143db84:
18777 Add --build_event_upload_max_threads option
18778 + dbe05df23ccf4c919379e0294e0701fd3f66739c:
18779 Update the version of skylib bundled in the distfile
18780```
18781
18782Incompatible changes:
18783
18784 - The --experimental_stl command line option is removed.
18785 - aquery defaults to human readable output format.
18786
18787New features:
18788
18789 - repository_ctx.download and repository_ctx.download_and_extract
18790 now return a struct.
18791 - Android Databinding v2 can be enabled with
18792 --experimental_android_databinding_v2.
18793
18794Important changes:
18795
18796 - The deprecated and unmaintained Docker rules in
18797 tools/build_defs/docker were removed. Please use
18798 https://github.com/bazelbuild/rules_docker instead.
18799 - The new --upload_query_output_using_bep query/cquery/aquery flag
18800 causes query outputs to be uploaded via BEP.
18801 - New incompatible flag --incompatible_strict_argument_ordering
18802 - --strict_android_deps and --strict_java_deps were renamed to
18803 --experimental_strict_java_deps
18804 - config_settings that select on "compiler" value instead of values
18805 = {"compiler" : "x"} should use flag_values =
18806 {"@bazel_tools//tools/cpp:compiler": "x"}.
18807 - The new --upload_query_output_using_bep query/cquery/aquery flag
18808 causes query outputs to be uploaded via BEP.
18809 - Turn on --incompatible_disable_sysroot_from_configuration
18810 - We revamped our Android with Bazel tutorial! Check it out
18811 [here](https://docs.bazel.build/versions/master/tutorial/android-a
18812 pp.html).
18813 - --incompatible_disallow_slash_operator is now on by default
18814 - Enable --experimental_check_desugar_deps by default. This flag
18815 rules out several types of invalid Android builds at compile-time.
18816 - The --max_config_changes_to_show option lists the names of
18817 options which
18818 have changed and thus caused the analysis cache to be dropped.
18819 - The --experimental_strict_action_env option has been renamed to
18820 --incompatible_strict_action_env and is now on by default. This
18821 means Bazel will no longer use the client's PATH and
18822 LD_LIBRARY_PATH environmental variables in the default action
18823 environment. If the old behavior is desired, pass
18824 --action_env=PATH and --action_env=LD_LIBRARY_PATH.
18825 --noincompatible_strict_action_env will also temporarily restore
18826 the old behavior. However, as --action_env is a more general and
18827 explicit way to pass client environmental variables into actions,
18828 --noincompatible_strict_action_env will eventually be deprecated
18829 and removed. See #6648 for more details.
18830 - XCRUNWRAPPER_LABEL has been removed. If you used this value
18831 before, please use @bazel_tools//tools/objc:xcrunwrapper instead.
18832 - --incompatible_static_name_resolution is no unable by default
18833 - We will phase out --genrule_strategy in favor of
18834 --strategy=Genrule=<value> (for genrules) or
18835 --spawn_strategy=<value> (for all actions).
18836 - --incompatible_package_name_is_a_function is now enabled by
18837 default
18838 - Dynamic execution is now available with
18839 --experimental_spawn_strategy. Dynamic execution allows a build
18840 action to run locally and remotely simultaneously, and Bazel
18841 picks the fastest action. This provides the best of both worlds:
18842 faster clean builds than pure local builds, and faster
18843 incremental builds than pure remote builds.
18844 - --incompatible_package_name_is_a_function is now enabled by
18845 default
18846 - New incompatible flag --incompatible_merge_genfiles_directory
18847 - grpc log now logs updateActionResult
18848 - CppConfiguration doesn't do package loading anymore. That means:
18849 * it's no longer needed to have C++ toolchain available when
18850 building non-C++ projects
18851 * bazel will not analyze C++ toolchain when not needed -> speedup
18852 ~2s on bazel startup when C++ rules using hermetic toolchain are
18853 not loaded
18854 - --incompatible_package_name_is_a_fu...
18855
18856This 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.
18857
Bazel Release System85378562018-11-30 15:34:16 +010018858## Release 0.20.0 (2018-11-30)
18859
18860```
18861Baseline: 7bf7f031c332dc483257248d1c1f98ad75bbc83b
18862
18863Cherry picks:
18864
18865 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
18866 update bazel-toolchains pin to latest release Part of changes to
18867 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
18868 before 0.17.0 are not compatible with bazel 0.19.0 or above.
18869 + 241f28d05424db2d11ee245dc856b992258505e3:
18870 Revert "Toggle --incompatible_disable_late_bound_option_defaults
18871 flag."
18872 + f7e5aef145c33968f658eb2260e25630dc41cc67:
18873 Add cc_toolchain targets for the new entries in the default
18874 cc_toolchain_suite.
18875 + d2920e32ec7f3f8551a693d33c17b19f1b802145:
18876 Revert "WindowsFileSystem: open files with delete-sharing"
18877```
18878
18879[Breaking changes in 0.20](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Abreaking-change-0.20)
18880
18881 - [--incompatible_remove_native_http_archive](https://github.com/bazelbuild/bazel/issues/6570).
18882 - [--incompatible_remove_native_git_repository](https://github.com/bazelbuild/bazel/issues/6569).
18883 - [--incompatible_disable_cc_toolchain_label_from_crosstool_proto](https://github.com/bazelbuild/bazel/issues/6434).
18884 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6384).
18885 - [--incompatible_disable_cc_configuration_make_variables](https://github.com/bazelbuild/bazel/issues/6381).
18886 - [--incompatible_disallow_conflicting_providers](https://github.com/bazelbuild/bazel/issues/5902).
18887 - [--incompatible_range_type](https://github.com/bazelbuild/bazel/issues/5264).
18888
18889[0.20 is a migration window for the following changes](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Amigration-0.20)
18890
18891 - [--incompatible_use_jdk10_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6661)
18892 - [--incompatible_use_remotejdk_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6656)
18893 - [--incompatible_disable_sysroot_from_configuration](https://github.com/bazelbuild/bazel/issues/6565)
18894 - [--incompatible_provide_cc_toolchain_info_from_cc_toolchain_suite](https://github.com/bazelbuild/bazel/issues/6537)
18895 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6383)
18896 - [--incompatible_package_name_is_a_function](https://github.com/bazelbuild/bazel/issues/5827)
18897
18898[Breaking changes in the next release (0.21)](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Abreaking-change-0.21)
18899
18900 - [--incompatible_use_jdk10_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6661)
18901 - [--incompatible_use_remotejdk_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6656)
18902 - [--incompatible_disable_sysroot_from_configuration](https://github.com/bazelbuild/bazel/issues/6565)
18903 - [--incompatible_provide_cc_toolchain_info_from_cc_toolchain_suite](https://github.com/bazelbuild/bazel/issues/6537)
18904 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6383)
18905 - [--incompatible_disallow_data_transition](https://github.com/bazelbuild/bazel/issues/6153)
18906 - [--incompatible_package_name_is_a_function](https://github.com/bazelbuild/bazel/issues/5827)
18907 - [--incompatible_disallow_slash_operator](https://github.com/bazelbuild/bazel/issues/5823)
18908 - [--incompatible_static_name_resolution](https://github.com/bazelbuild/bazel/issues/5637)
18909
18910Incompatible changes:
18911
18912 - the --experimental_no_dotd_scanning_with_modules command line
18913 argument is not supported anymore.
18914 - The --prune_cpp_modules command line option is not supported
18915 anymore.
18916 - the --experimental_prune_cpp_input_discovery command line option
18917 is not supported anymore.
18918
18919New features:
18920
18921 - Added support for Android NDK r18.
18922
18923Important changes:
18924
18925 - The 'default' parameter of attr.output and attr.output_list is
18926 removed. This is controlled by
18927 --incompatible_no_output_attr_default
18928 - A number of platform-related Starlark APIs which were previously
18929 marked "experimental" are now disabled by default, and may be
18930 enabled via --experimental_platforms_api
18931 - Make legacy-test-support ("legacy_test-<api-level>") from
18932 android_sdk_repository neverlink. The legacy test support
18933 libraries shouldn't be built into test binaries. To make them
18934 available at runtime, developers should declare them via
18935 uses-library:
18936 https://developer.android.com/training/testing/set-up-project#andr
18937 oid-test-base
18938 - query remote server Capabilities (per REAPI v2)
18939 - CppRules: All cc_toolchains depended on from
18940 cc_toolchain_suite.toolchains are now analyzed when not using
18941 platforms in order to select the right cc_toolchain.
18942 - removed obsolete --explicit_jre_deps flag.
18943 - Incompatible flag
18944 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
18945 flipped.
18946 - Improve error messaging when unsupport proguard options are
18947 specified at the library level.
18948 - Incompatible flag
18949 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
18950 flipped.
18951 - Incompatible flag
18952 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
18953 flipped.
18954 - The --incompatible_disable_late_bound_option_defaults flag has
18955 been flipped (#6384)
18956 - Incompatible flag
18957 --incompatible_disable_legacy_flags_cc_toolchain_api was flipped
18958 (#6434)
18959 - Fixed issue where ctx.resolve_command created conflicting
18960 intermediate files when resolve_command was called multiple times
18961 within the same rule invocation with a long command attribute.
18962 - Incompatible flag
18963 --incompatible_disable_cc_configuration_make_variables was
18964 flipped (#6381)
18965 - If the --javabase flag is unset, it Bazel locates a JDK using
18966 the JAVA_HOME environment variable and searching the PATH. If no
18967 JDK is found --javabase will be empty, and builds targeting Java
18968 will not
18969 be supported. Previously Bazel would fall back to using the
18970 embedded
18971 JDK as a --javabase, but this is no longer default behaviour. A
18972 JDK should
18973 be explicitly installed instead to enable Java development
18974 - Bazel will now shut down when idle for 5 minutes and the system
18975 is low on RAM (linux only).
18976 - CROSSTOOL file is now read from the package of cc_toolchain, not
18977 from
18978 the package of cc_toolchain_suite. This is not expected to break
18979 anybody since
18980 cc_toolchain_suite and cc_toolchain are commonly in the same
18981 package.
18982 - All overrides of Starlark's ctx.new_file function are now
18983 deprecated.
18984 Try the `--incompatible_new_actions_api` flag to ensure your
18985 code is forward-compatible.
18986 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
18987 was flipped.
18988 - Introduce --(no)shutdown_on_low_sys_mem startup flag to toggle
18989 idle low-memory shutdown, disabled by default.
18990 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
18991 was flipped.
18992 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
18993 was flipped.
18994 - CppRules: All cc_toolchains depended on from
18995 cc_toolchain_suite.toolchains are now analyzed when not using
18996 platforms in order to select the right cc_toolchain.
18997 - The function `attr.license` is deprecated and will be removed.
18998 It can be disabled now with `--incompatible_no_attr_license`.
18999 - `range()` function now returns a lazy value
19000 (`--incompatible_range_type` is now set by default).
19001 - The code coverage report now includes the actual paths to header
19002 files instead of the ugly,
19003 Bazel generated, virtual includes path.
19004 - `--incompatible_disallow_conflicting_providers` has been switched
19005 to true
19006 - Add new flag `--incompatible_disable_systool_from_configration` to
19007 disable loading the systool from CppConfiguration.
19008 - Add new flag `--incompatible_disable_sysroot_from_configuration`
19009 to
19010 disable loading the systool from CppConfiguration.
19011 - Sorting remote Platform properties for remote execution. May
19012 affect cache keys!
19013 - Use different server log files per Bazel server process; java.log
19014 is
19015 now a symlink to the latest log.
19016
19017This 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>.
19018
Bazel Release Systemcb3e2982018-11-19 11:19:38 -050019019## Release 0.19.2 (2018-11-19)
19020
19021```
19022Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
19023
19024Cherry picks:
19025
19026 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
19027 Fix the "nojava" platform and enable full presubmit checks for
19028 the various JDK platforms now that we have enough GCE resources.
19029 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
19030 Add openjdk_linux_archive java_toolchain for nojava platform.
19031 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
19032 Automated rollback of commit
19033 19a401c38e30ebc0879925a5caedcbe43de0028f.
19034 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
19035 Windows: Fix Precondition check for addDynamicInputLinkOptions
19036 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
19037 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
19038 it exists.
19039 + e025726006236520f7e91e196b9e7f139e0af5f4:
19040 Update turbine
19041 + 5f312dd1678878fb7563eae0cd184f2270346352:
19042 Fix event id for action_completed BEP events
19043 + f0c844c77a2406518c4e75c49188390d5e281d3d:
19044 Release 0.19.0 (2018-10-29)
19045 + c3fb1db9e4e817e8a911f5b347b30f2674a82f7c:
19046 Do not use CROSSTOOL to select cc_toolchain
19047 + 8e280838e8896a6b5eb5421fda435b96b6f8de60:
19048 Windows Add tests for msys gcc toolchain and mingw gcc toolchain
19049 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
19050 update bazel-toolchains pin to latest release Part of changes to
19051 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
19052 before 0.17.0 are not compatible with bazel 0.19.0 or above.
19053 + eb2af0f699350ad187048bf814a95af23f562c77:
19054 Release 0.19.1 (2018-11-12)
19055 + 6bc452874ddff69cbf7f66186238032283f1195f:
19056 Also update cc_toolchain.toolchain_identifier when
19057 CC_TOOLCHAIN_NAME is set
19058 + f7e5aef145c33968f658eb2260e25630dc41cc67:
19059 Add cc_toolchain targets for the new entries in the default
19060 cc_toolchain_suite.
19061 + 683c302129b66a8999f986be5ae7e642707e978c:
19062 Read the CROSSTOOL from the package of the current cc_toolchain,
19063 not from --crosstool_top
19064```
19065
19066- Fixes regression #6662, by fixing tools/cpp/BUILD
19067- Fixes regression #6665, by setting the toolchain identifier.
19068- CROSSTOOL file is now read from the package of cc_toolchain, not from the
19069 package of cc_toolchain_suite. This is not expected to break anybody since
19070 cc_toolchain_suite and cc_toolchain are commonly in the same package.
19071
Bazel Release System684f1092018-11-12 10:26:58 -050019072## Release 0.19.1 (2018-11-12)
19073
19074```
19075Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
19076
19077Cherry picks:
19078
19079 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
19080 Fix the "nojava" platform and enable full presubmit checks for
19081 the various JDK platforms now that we have enough GCE resources.
19082 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
19083 Add openjdk_linux_archive java_toolchain for nojava platform.
19084 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
19085 Automated rollback of commit
19086 19a401c38e30ebc0879925a5caedcbe43de0028f.
19087 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
19088 Windows: Fix Precondition check for addDynamicInputLinkOptions
19089 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
19090 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
19091 it exists.
19092 + e025726006236520f7e91e196b9e7f139e0af5f4:
19093 Update turbine
19094 + 5f312dd1678878fb7563eae0cd184f2270346352:
19095 Fix event id for action_completed BEP events
19096 + f0c844c77a2406518c4e75c49188390d5e281d3d:
19097 Release 0.19.0 (2018-10-29)
19098 + c3fb1db9e4e817e8a911f5b347b30f2674a82f7c:
19099 Do not use CROSSTOOL to select cc_toolchain
19100 + 8e280838e8896a6b5eb5421fda435b96b6f8de60:
19101 Windows Add tests for msys gcc toolchain and mingw gcc toolchain
19102 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
19103 update bazel-toolchains pin to latest release Part of changes to
19104 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
19105 before 0.17.0 are not compatible with bazel 0.19.0 or above.
19106```
19107
19108Important changes:
19109- Fix regression #6610, which prevents using the MINGW compiler on Windows.
19110
Klaus Aehlig5e5832c2018-10-31 15:45:53 +010019111## Release 0.19.0 (2018-10-29)
19112
19113```
19114Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
19115
19116Cherry picks:
19117
19118 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
19119 Fix the "nojava" platform and enable full presubmit checks for
19120 the various JDK platforms now that we have enough GCE resources.
19121 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
19122 Add openjdk_linux_archive java_toolchain for nojava platform.
19123 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
19124 Automated rollback of commit
19125 19a401c38e30ebc0879925a5caedcbe43de0028f.
19126 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
19127 Windows: Fix Precondition check for addDynamicInputLinkOptions
19128 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
19129 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
19130 it exists.
19131 + e025726006236520f7e91e196b9e7f139e0af5f4:
19132 Update turbine
19133 + 5f312dd1678878fb7563eae0cd184f2270346352:
19134 Fix event id for action_completed BEP events
19135```
19136
19137The Bazel team is happy to announce a new version of Bazel, [Bazel 0.19](https://github.com/bazelbuild/bazel/releases/tag/0.19.0).
19138
19139This document lists the major changes since Bazel 0.18.
19140
19141General changes
19142---------------
19143
19144* The `--incompatible_expand_directories` flag will automatically expand directories in command lines. Design doc: https://docs.google.com/document/d/11agWFiOUiz2htBLj6swPTob5z78TrCxm8DQE4uJLOwM
19145
19146* 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.
19147
19148Android
19149-------
19150
19151* Fixed missing debug symbols when building native code with `--compilation_mode=dbg` that target Android ARM architectures by adding the `-g` flag.
19152
19153C++
19154---
19155
19156* 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.
19157
19158* 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.
19159
19160* :cc_binary link action no longer hardcodes `-static-libgcc` for toolchains that support embedded runtimes (guarded by `--experimental_dont_emit_static_libgcc` temporarily).
19161
19162* The flag `--experimental_enable_cc_configuration_make_variables` is removed, use `--incompatible_disable_cc_configuration_make_variables` instead.
19163
19164Java
19165----
19166
19167* 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.
19168
19169Code Coverage
19170-------------
19171
19172* LcovMerger was renamed to CoverageOutputGenerator.
19173
19174* Faster coverage collection for gcc compiled C++ code can now be tested by enabling it with `--experimental_cc_coverage`.
19175
19176Other Changes
19177-------------
19178
19179* Add `--apple_compiler` and `--apple_grte_top options`. These provide the equivalent of --compiler / --grte_top for the toolchain configured in --apple_crosstool_top.
19180
19181* There is now a `same_pkg_direct_rdeps` query function. See the query documentation for more details.
19182
19183* Propagating remote errors to the user even if `--verbose_failures=false` is set.
19184
19185* Add number of configured targets to analysis phase status output.
19186
19187* 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.
19188
19189Future Changes
19190--------------
19191
19192* 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:
19193 * [`--incompatible_disable_late_bound_option_defaults`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-late-bound-option-defaults): #6384
19194 * [`--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
19195 * [`--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
19196 * [`--incompatible_disable_cc_configuration_make_variables`](https://github.com/bazelbuild/bazel/issues/6381): #6381
19197 * [`--incompatible_disable_legacy_cpp_toolchain_skylark_api`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-legacy-c-configuration-api): #6380
19198 * [`incompatible_disable_legacy_flags_cc_toolchain_api`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-legacy-c-toolchain-api): #6434
19199
19200* 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.
19201
19202Thank you to our contributors!
19203------------------------------
19204
19205This 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
19206
19207Thank you to everyone who contributed to this release!
19208
Bazel Release System92849b82018-10-31 15:41:11 +010019209## Release 0.18.1 (2018-10-31)
Bazel Release System36177972018-10-15 10:29:10 +020019210
19211```
Bazel Release System92849b82018-10-31 15:41:11 +010019212Baseline: c062b1f1730f3562d5c16a037b374fc07dc8d9a2
Bazel Release System36177972018-10-15 10:29:10 +020019213
19214Cherry picks:
19215
Bazel Release System92849b82018-10-31 15:41:11 +010019216 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
19217 Include also ext jars in the bootclasspath jar.
19218 + 2579b791c023a78a577e8cb827890139d6fb7534:
19219 Fix toolchain_java9 on --host_javabase=<jdk9> after
19220 7eb9ea150fb889a93908d96896db77d5658e5005
19221 + faaff7fa440939d4367f284ee268225a6f40b826:
19222 Release notes: fix markdown
19223 + b073a18e3fac05e647ddc6b45128a6158b34de2c:
19224 Fix NestHost length computation Fixes #5987
19225 + bf6a63d64a010f4c363d218e3ec54dc4dc9d8f34:
19226 Fixes #6219. Don't rethrow any remote cache failures on either
19227 download or upload, only warn. Added more tests.
19228 + c1a7b4c574f956c385de5c531383bcab2e01cadd:
19229 Fix broken IdlClassTest on Bazel's CI.
19230 + 71926bc25b3b91fcb44471e2739b89511807f96b:
19231 Fix the Xcode version detection which got broken by the upgrade
19232 to Xcode 10.0.
19233 + 86a8217d12263d598e3a1baf2c6aa91b2e0e2eb5:
19234 Temporarily restore processing of workspace-wide tools/bazel.rc
19235 file.
Bazel Release System83870d62018-10-29 10:31:13 -040019236 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
19237 Windows: Fix Precondition check for addDynamicInputLinkOptions
Bazel Release System83870d62018-10-29 10:31:13 -040019238 + e025726006236520f7e91e196b9e7f139e0af5f4:
19239 Update turbine
Bazel Release System36177972018-10-15 10:29:10 +020019240```
19241
Bazel Release System92849b82018-10-31 15:41:11 +010019242Important changes:
Bazel Release System83870d62018-10-29 10:31:13 -040019243
Bazel Release System92849b82018-10-31 15:41:11 +010019244 - Fix regression #6219, remote cache failures
Bazel Release System36177972018-10-15 10:29:10 +020019245
Klaus Aehlig7b417542018-10-29 15:46:36 +010019246## Release 0.18.0 (2018-10-15)
19247
19248```
19249Baseline: c062b1f1730f3562d5c16a037b374fc07dc8d9a2
19250
19251Cherry picks:
19252
19253 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
19254 Include also ext jars in the bootclasspath jar.
19255 + 2579b791c023a78a577e8cb827890139d6fb7534:
19256 Fix toolchain_java9 on --host_javabase=<jdk9> after
19257 7eb9ea150fb889a93908d96896db77d5658e5005
19258 + faaff7fa440939d4367f284ee268225a6f40b826:
19259 Release notes: fix markdown
19260 + b073a18e3fac05e647ddc6b45128a6158b34de2c:
19261 Fix NestHost length computation Fixes #5987
19262 + bf6a63d64a010f4c363d218e3ec54dc4dc9d8f34:
19263 Fixes #6219. Don't rethrow any remote cache failures on either
19264 download or upload, only warn. Added more tests.
19265 + c1a7b4c574f956c385de5c531383bcab2e01cadd:
19266 Fix broken IdlClassTest on Bazel's CI.
19267 + 71926bc25b3b91fcb44471e2739b89511807f96b:
19268 Fix the Xcode version detection which got broken by the upgrade
19269 to Xcode 10.0.
19270 + 86a8217d12263d598e3a1baf2c6aa91b2e0e2eb5:
19271 Temporarily restore processing of workspace-wide tools/bazel.rc
19272 file.
19273```
19274
19275General changes
19276
19277- New [bazelrc file list](https://docs.bazel.build/versions/master/user-manual.html#where-are-the-bazelrc-files).
19278 If you need to keep both the old and new lists of .rc files active
19279 concurrently to support multiple versions of Bazel, you can import the old
19280 file location into the new list using `try-import`. This imports a file if it
19281 exists and silently exits if it does not. You can use this method to account
19282 for a user file that may or may not exist
19283
19284- [.bazelignore](https://docs.bazel.build/versions/master/user-manual.html#.bazelignore)
19285 is now fully functional.
19286
19287- The startup flag `--host_javabase` has been renamed to
19288 `--server_javabase` to avoid confusion with the build flag
19289 `--host_javabase`.
19290
19291Android
19292
19293- The Android resource processing pipeline now supports persistence
19294 via worker processes. Enable it with
19295 `--persistent_android_resource_processor`. We have observed a 50% increase
19296 in build speed for clean local builds and up to 150% increase in build
19297 speed for incremental local builds.
19298
19299C++
19300
19301- In-memory package //tools/defaults has been removed (controlled by
19302 `--incompatible_disable_tools_defaults_package` flag). Please see
19303 [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-inmemory-tools-defaults-package)
19304 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
19305 behavior will be removed in Bazel 0.20.
19306
19307- Late bound option defaults (typical example was the `--compiler` flag, when
19308 it was not specified, it’s value was computed using the CROSSTOOL) are removed
19309 (controlled by `--incompatible_disable_late_bound_option_defaults` flag).
19310 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-late-bound-option-defaults)
19311 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
19312 behavior will be removed in Bazel 0.20.
19313
19314- Depsets are no longer accepted in `user_compile_flags` and `user_link_flags`
19315 in the C++ toolchain API (controlled by
19316 `--incompatible_disable_depset_in_cc_user_flags` flag) affects C++ users.
19317 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-depsets-in-c-toolchain-api-in-user-flags)
19318 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
19319 behavior will be removed in Bazel 0.20.
19320
19321- CROSSTOOL is no longer consulted when selecting C++ toolchain (controlled by
19322 `--incompatible_disable_cc_toolchain_label_from_crosstool_proto` flag).
19323 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-crosstool-to-select-the-cc_toolchain-label)
19324 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
19325
19326- You can now use [`toolchain_identifier` attribute](https://github.com/bazelbuild/bazel/commit/857d4664ce939f240b1d10d8d2baca6c6893cfcb)
19327 on `cc_toolchain` to pair it with CROSSTOOL toolchain.
19328
19329- C++ specific Make variables
19330 are no longer passed from the `CppConfiguration`, but from the C++ toolchain
19331 (controlled by `--incompatible_disable_cc_configuration_make_variables` flag).
19332 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-c-specific-make-variables-from-the-configuration)
19333 and migrate soon, the flag will be flipped
19334 in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
19335
19336- Skylark api accessing C++
19337 toolchain in `ctx.fragments.cpp` is removed (controlled by
19338 `--incompatible_disable_legacy_cpp_toolchain_skylark_api` flag).
19339 Please migrate soon, the flag will be flipped
19340 in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
19341
19342- cc_binary link action no longer hardcodes
19343 `-static-libgcc` for toolchains that support embedded runtimes
19344 (guarded by [`--experimental_dont_emit_static_libgcc`](https://source.bazel.build/bazel/+/2f281960b829e964526a9d292d4c3003e4d19f1c)
19345 temporarily). Proper deprecation using `--incompatible` flags will follow.
19346
19347Java
19348
19349- Future versions of Bazel will require a locally installed JDK
19350 for Java development. Previously Bazel would fall back to using
19351 the embedded `--server_javabase` if no JDK as available. Pass
19352 `--incompatible_never_use_embedded_jdk_for_javabase` to disable the
19353 legacy behaviour.
19354
19355- `--javacopt=` no longer affects compilations of tools that are
19356 executed during the build; use `--host_javacopt=` to change javac
19357 flags in the host configuration.
19358
19359Objective C
19360
19361- `objc_library` now supports the module_name attribute.
19362
19363Skylark
19364
19365- Adds `--incompatible_expand_directories` to automatically expand
19366 directories in skylark command lines. Design doc:
19367 https://docs.google.com/document/d/11agWFiOUiz2htBLj6swPTob5z78TrCxm8DQE4uJLOwM
19368
19369- Support fileset expansion in ctx.actions.args(). Controlled by
19370 `--incompatible_expand_directories`.
19371
19372Windows
19373
19374- `--windows_exe_launcher` is deprecated, this flag will be removed
19375 soon. Please make sure you are not using it.
19376
19377- Bazel now supports the symlink runfiles tree on Windows with
19378 `--experimental_enable_runfiles` flag. For more details, see
19379 [this doc](https://docs.google.com/document/d/1hnYmU1BmtCSJOUvvDAK745DSJQCapToJxb3THXYMrmQ).
19380
19381Other Changes
19382
19383- A new experimental option `--experimental_ui_deduplicate` has been added. It
19384 causes the UI to attempt to deduplicate messages from actions to keep the
19385 console output cleaner.
19386
19387- Add `--modify_execution_info`, a flag to customize action execution
19388 info.
19389
19390- Add ExecutionInfo to aquery output for ExecutionInfoSpecifier
19391 actions.
19392
19393- When computing `--instrumentation_filter`, end filter patterns with
19394 "[/:]" to match non-top-level packages exactly and treat
19395 top-level targets consistently.
19396
19397- Added the `bazel info server_log` command, which obtains the main Bazel
19398 server log file path. This can help debug Bazel issues.
19399
19400- `aapt shrink` resources now properly respect filter configurations.
19401
Bazel Release System50921e62018-09-21 12:27:04 +020019402## Release 0.17.2 (2018-09-21)
19403
19404```
19405Baseline: aa118ca818baf722aede0bc48d0a17584fa45b6e
19406
19407Cherry picks:
19408 + 0e0462589528154cb5160411991075a2000b5452:
19409 Update checker framework dataflow and javacutil versions
19410 + 3987300d6651cf0e6e91b395696afac6913a7d66:
19411 Stop using --release in versioned java_toolchains
19412 + 438b2773b8c019afa46be470b90bcf70ede7f2ef:
19413 make_deb: Add new empty line in the end of conffiles file
19414 + 504401791e0a0e7e3263940e9e127f74956e7806:
19415 Properly mark configuration files in the Debian package.
19416 + 9ed9d8ac4347408d15c8fce7c9c07e5c8e658b30:
19417 Add flag
19418 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfil
19419 es_tree.
19420 + 22d761ab42dfb1b131f1facbf490ccdb6c17b89c:
19421 Update protobuf to 3.6.1 -- add new files
19422 + 27303d79c38f2bfa3b64ee7cd7a6ef03a9a87842:
19423 Update protobuf to 3.6.1 -- update references
19424 + ddc97ed6b0367eb443e3e09a28d10e65179616ab:
19425 Update protobuf to 3.6.1 -- remove 3.6.0 sources
19426 + ead1002d3803fdfd4ac68b4b4872076b19d511a2:
19427 Fix protobuf in the WORKSPACE
19428 + 12dcd35ef7a26d690589b0fbefb1f20090cbfe15:
19429 Revert "Update to JDK 10 javac"
19430 + 7eb9ea150fb889a93908d96896db77d5658e5005:
19431 Automated rollback of
19432 https://github.com/bazelbuild/bazel/commit/808ec9ff9b5cec14f23a4b
19433 a106bc5249cacc8c54 and
19434 https://github.com/bazelbuild/bazel/commit/4c9149d558161e7d3e363f
19435 b697f5852bc5742a36 and some manual merging.
19436 + 4566a428c5317d87940aeacfd65f1018340e52b6:
19437 Fix tests on JDK 9 and 10
19438 + 1e9f0aa89dad38eeab0bd40e95e689be2ab6e5e5:
19439 Fix more tests on JDK 9 and 10
19440 + a572c1cbc8c26f625cab6716137e2d57d05cfdf3:
19441 Add ubuntu1804_nojava, ubuntu1804_java9, ubuntu1804_java10 to
19442 postsubmit.
19443 + 29f1de099e4f6f0f50986aaa4374fc5fb7744ee8:
19444 Disable Android shell tests on the "nojava" platform.
19445 + b495eafdc2ab380afe533514b3bcd7d5b30c9935:
19446 Update bazel_toolchains to latest release.
19447 + 9323c57607d37f9c949b60e293b573584906da46:
19448 Windows: fix writing java.log
19449 + 1aba9ac4b4f68b69f2d91e88cfa8e5dcc7cb98c2:
19450 Automated rollback of commit
19451 de22ab0582760dc95f33e217e82a7b822378f625.
19452 + 2579b791c023a78a577e8cb827890139d6fb7534:
19453 Fix toolchain_java9 on --host_javabase=<jdk9> after
19454 7eb9ea150fb889a93908d96896db77d5658e5005
19455 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
19456 Include also ext jars in the bootclasspath jar.
19457 + fdb09a260dead1e1169f94584edc837349a4f4a5:
19458 Release 0.17.1 (2018-09-14)
19459 + 1d956c707e1c843896ac58a341c335c9c149073d:
19460 Do not fail the build when gcov is not installed
19461 + 2e677fb6b8f309b63558eb13294630a91ee0cd33:
19462 Ignore unrecognized VM options in desugar.sh, such as the JVM 9
19463 flags to silence warnings.
19464```
19465
19466Important changes:
19467
19468 - In the future, Bazel will expand tree artifacts in runfiles, too,
19469 which causes the sandbox to link each file individually into the
19470 sandbox directory, instead of symlinking the entire directory. In
19471 this release, the behavior is not enabled by default yet. Please
19472 try it out via
19473 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
19474 s_tree and let us know if it causes issues. If everything looks
19475 good, this behavior will become the default in a following
19476 release.
19477
Bazel Release Systemfdb09a22018-09-14 12:15:54 +020019478## Release 0.17.1 (2018-09-14)
19479
19480```
19481Baseline: aa118ca818baf722aede0bc48d0a17584fa45b6e
19482
19483Cherry picks:
19484 + 0e0462589528154cb5160411991075a2000b5452:
19485 Update checker framework dataflow and javacutil versions
19486 + 3987300d6651cf0e6e91b395696afac6913a7d66:
19487 Stop using --release in versioned java_toolchains
19488 + 438b2773b8c019afa46be470b90bcf70ede7f2ef:
19489 make_deb: Add new empty line in the end of conffiles file
19490 + 504401791e0a0e7e3263940e9e127f74956e7806:
19491 Properly mark configuration files in the Debian package.
19492 + 9ed9d8ac4347408d15c8fce7c9c07e5c8e658b30:
19493 Add flag
19494 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfil
19495 es_tree.
19496 + 22d761ab42dfb1b131f1facbf490ccdb6c17b89c:
19497 Update protobuf to 3.6.1 -- add new files
19498 + 27303d79c38f2bfa3b64ee7cd7a6ef03a9a87842:
19499 Update protobuf to 3.6.1 -- update references
19500 + ddc97ed6b0367eb443e3e09a28d10e65179616ab:
19501 Update protobuf to 3.6.1 -- remove 3.6.0 sources
19502 + ead1002d3803fdfd4ac68b4b4872076b19d511a2:
19503 Fix protobuf in the WORKSPACE
19504 + 12dcd35ef7a26d690589b0fbefb1f20090cbfe15:
19505 Revert "Update to JDK 10 javac"
19506 + 7eb9ea150fb889a93908d96896db77d5658e5005:
19507 Automated rollback of
19508 https://github.com/bazelbuild/bazel/commit/808ec9ff9b5cec14f23a4b
19509 a106bc5249cacc8c54 and
19510 https://github.com/bazelbuild/bazel/commit/4c9149d558161e7d3e363f
19511 b697f5852bc5742a36 and some manual merging.
19512 + 4566a428c5317d87940aeacfd65f1018340e52b6:
19513 Fix tests on JDK 9 and 10
19514 + 1e9f0aa89dad38eeab0bd40e95e689be2ab6e5e5:
19515 Fix more tests on JDK 9 and 10
19516 + a572c1cbc8c26f625cab6716137e2d57d05cfdf3:
19517 Add ubuntu1804_nojava, ubuntu1804_java9, ubuntu1804_java10 to
19518 postsubmit.
19519 + 29f1de099e4f6f0f50986aaa4374fc5fb7744ee8:
19520 Disable Android shell tests on the "nojava" platform.
19521 + b495eafdc2ab380afe533514b3bcd7d5b30c9935:
19522 Update bazel_toolchains to latest release.
19523 + 9323c57607d37f9c949b60e293b573584906da46:
19524 Windows: fix writing java.log
19525 + 1aba9ac4b4f68b69f2d91e88cfa8e5dcc7cb98c2:
19526 Automated rollback of commit
19527 de22ab0582760dc95f33e217e82a7b822378f625.
19528 + 2579b791c023a78a577e8cb827890139d6fb7534:
19529 Fix toolchain_java9 on --host_javabase=<jdk9> after
19530 7eb9ea150fb889a93908d96896db77d5658e5005
19531 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
19532 Include also ext jars in the bootclasspath jar.
19533```
19534
19535Incompatible changes:
19536
19537 - Loading @bazel_tools//tools/build_defs/repo:git_repositories.bzl
19538 no longer works. Load @bazel_tools//tools/build_defs/repo:git.bzl
19539 instead.
19540 - If the same artifact is generated by two distinct but identical
19541 actions, and a downstream action has both those actions' outputs
19542 in its inputs, the artifact will now appear twice in the
19543 downstream action's inputs. If this causes problems in Skylark
19544 actions, you can use the uniquify=True argument in Args.add_args.
19545 - If the same artifact is generated by two distinct but identical
19546 actions, and a downstream action has both those actions' outputs
19547 in its inputs, the artifact will now appear twice in the
19548 downstream action's inputs. If this causes problems in Skylark
19549 actions, you can use the uniquify=True argument in Args.add_args.
19550 - Labels in C++ rules' linkopts attribute are not expanded anymore
19551 unless they are wrapped, e.g: $(location //foo:bar)
19552 - If the same artifact is generated by two distinct but identical
19553 actions, and a downstream action has both those actions' outputs
19554 in its inputs, the artifact will now appear twice in the
19555 downstream action's inputs. If this causes problems in Skylark
19556 actions, you can use the uniquify=True argument in Args.add_args.
19557 - New bazelrc file list.
19558 - Windows: when BAZEL_SH envvar is not defined and Bazel searches
19559 for a suitable bash.exe, Bazel will no longer look for Git Bash
19560 and no longer recommend installing it as a Bash implementation.
19561 See issue #5751.
19562 - New bazelrc file list.
19563
19564New features:
19565
19566 - The aquery command now supports --output=text.
19567 - Java, runfiles: the Java runfiles library is now in
19568 @bazel_tools//tools/java/runfiles. The old target
19569 (@bazel_tools//tools/runfiles:java-runfiles) is deprecated and
19570 will be removed in Bazel 0.18.0.
19571 - Java, runfiles: the Java runfiles library is now in
19572 @bazel_tools//tools/java/runfiles. The old target
19573 (@bazel_tools//tools/runfiles:java-runfiles) is deprecated and
19574 will be removed in Bazel 0.19.0 (not 0.18.0, as stated earlier).
19575
19576Important changes:
19577
19578 - Allow @ in package names.
19579 - Remove support for java_runtime_suite; use alias() together with
19580 select() instead.
19581 - Python wrapper scripts for MSVC are removed.
19582 - [JavaInfo] Outputs are merged in java_common.merge().
19583 - Faster analysis by improved parallelization.
19584 - --experimental_shortened_obj_file_path is removed.
19585 - Introduce the --remote_cache_proxy flag,
19586 which allows for remote http caching to connect
19587 via a unix domain socket.
19588 - No longer define G3_VERSION_INFO for c++ linkstamp compiles, as
19589 it was a duplicate of G3_TARGET_NAME.
19590 - Added support for Android NDK r17. The default STL is now
19591 `libc++`, and support for targeting `mips`, `mips64` and `ARMv5`
19592 (`armeabi`) has been removed.
19593 - Add aquery command to get analysis time information about the
19594 action graph.
19595 - Fixed compatibility with aar_import when using aapt2. AAPT2 is
19596 now supported for Android app builds without resource shrinking.
19597 To use it, pass the `--android_aapt=aapt2` flag or define
19598 android_binary.aapt_version=aapt2.
19599 - Code coverage is collected for Java binaries invoked from sh_test.
19600 - java_common.compile creates the native headers jar accesible via
19601 JavaInfo.outputs.native_headers.
19602 - Deleting deprecated no-op flag --show_package_location
19603 - The JDK shipped with Bazel was updated to JDK10.
19604 - Rename the startup flag --host_javabase to --server_javabase to
19605 avoid confusion with the build flag --host_javabase
19606 - newly added options --experimental_repository_hash_file and
19607 --experimental_verify_repository_rules allow to verify for
19608 repositories
19609 the directory generated against pre-recorded hashes. See
19610 documentation
19611 for those options.
19612 - Removed the gen_jars output group
19613 - --subcommands can now take a "pretty_print" value
19614 ("--subcommands=pretty_print") to print the
19615 arguments of subcommands as a list for easier reading.
19616 - follow-up to
19617 https://github.com/bazelbuild/bazel/commit/1ac359743176e659e9c7472
19618 645e3142f3c44b9e8
19619 - A rule error is now thrown if a Skylark rule implementation
19620 function returns multiple providers of the same type.
19621 - When using Bazel's remote execution feature and Bazel has to
19622 fallback to local execution for an action, Bazel used
19623 non-sandboxed
19624 local execution until now. From this release on, you can use the
19625 new
19626 flag --remote_local_fallback_strategy=<strategy> to tell Bazel
19627 which
19628 strategy to use in that case.
19629 - Execution Log Parser can now, when printing it out, filter the
19630 log by runner type
19631 - A rule error is now thrown if a Skylark rule implementation
19632 function returns multiple providers of the same type.
19633 - Removed the gen_jars output group
19634 - Removed the gen_jars output group
19635 - Set --defer_param_files to default to true.
19636 - Sort attribute lists in proto-form query output to fix
19637 non-deterministic genquery output.
19638 - Replace 0/1 with False/True for testonly attribute
19639 - bazel now supports a .bazelignore file specifying
19640 directories to be ignored; however, these directories still
19641 have to be well founded and, in particular, may not contain
19642 symlink cycles.
19643 - Add more detailed reporting of the differences between startup
19644 options.
19645 - update data binding to 3.2.0
19646 - For Android incremental dexing actions, Bazel now persists its
19647 DexBuilder process across individual actions. From our
19648 benchmarks, this results in a 1.2x speedup for clean local builds.
19649 - The standard `xcode_VERSION` feature now always uses exactly two
19650 components in the version, even if you specify `--xcode_version`
19651 with
19652 more or fewer than two.
19653 - A rule error will be thrown if a Skylark rule implementation
19654 function returns multiple providers of the same type. Try the
19655 `--incompatible_disallow_conflicting_providers` flag to ensure
19656 your code is forward-compatible.
19657 - Removed notion of FULLY_STATIC linking mode from C++ rules.
19658 - In documentation, we've renamed Skylark into Starlark.
19659 - Execution Log Parser can now, when printing it out, reorder the
19660 actions for easier text diffs
19661 - Linkstamps are no longer recompiled after server restart.
19662 - Use VanillaJavaBuilder and disable header compilation in
19663 toolchain_hostjdk8. The default toolchain will soon drop
19664 compatibility with JDK 8. Using a JDK 8 host_javabase
19665 will only be supported when using 'VanillaJavaBuilder' (which
19666 does not support Error Prone,
19667 Strict Java Deps, or reduced classpaths) and with header
19668 compilation disabled.
19669 - In the future, Bazel will expand tree artifacts in runfiles, too,
19670 which causes the sandbox to link each file individually into the
19671 sandbox directory, instead of symlinking the entire directory. In
19672 this release, the behavior is not enabled by default yet. Please
19673 try it out via
19674 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
19675 s_tree and let us know if it causes issues. If everything looks
19676 good, this behavior will become the default in a following
19677 release.
19678
Bazel Release System1bd58832018-08-13 15:41:26 +020019679## Release 0.16.1 (2018-08-13)
19680
19681```
19682Baseline: 4f64b77a3dd8e4ccdc8077051927985f9578a3a5
19683
19684Cherry picks:
19685 + 4c9a0c82d308d5df5c524e2a26644022ff525f3e:
19686 reduce the size of bazel's embedded jdk
19687 + d3228b61f633cdc5b3f740b641a0836f1bd79abd:
19688 remote: limit number of open tcp connections by default. Fixes
19689 #5491
19690 + 8ff87c164f48dbabe3b20becd00dde90c50d46f5:
19691 Fix autodetection of linker flags
19692 + c4622ac9205d2f1b42dac8c598e83113d39e7f11:
19693 Fix autodetection of -z linker flags
19694 + 10219659f58622d99034288cf9f491865f818218:
19695 blaze_util_posix.cc: fix order of #define
19696 + ab1f269017171223932e0da9bb539e8a17dd99ed:
19697 blaze_util_freebsd.cc: include path.h explicitly
19698 + 68e92b45a37f2142c768a56eb7ecfa484b8b22df:
19699 openjdk: update macOS openjdk image. Fixes #5532
19700 + f45c22407e6b00fcba706eb62141cb9036bd38d7:
19701 Set the start time of binary and JSON profiles to zero correctly.
19702 + bca1912853086b8e9a28a85a1b144ec0dc9717cc:
19703 remote: fix race on download error. Fixes #5047
19704 + 3842bd39e10612c7eef36c6048407e81bcd0a8fb:
19705 jdk: use parallel old gc and disable compact strings
19706 + 6bd0bdf5140525cb33dc2db068b210261d9df271:
19707 Add objc-fully-link to the list of actions that require the
19708 apple_env feature. This fixes apple_static_library functionality.
19709 + f330439fb970cfa17c70fc59c1458bb1c31c9522:
19710 Add the action_names_test_files target to the OSS version of
19711 tools/buils_defs/cc/BUILD.
19712 + d215b64362c4ede61c8ba87b5f3f57bce4785d15:
19713 Fix StackOverflowError on Windows. Fixes #5730
19714 + 366da4cf27b7f957ef39f89206db77fa2ac289df:
19715 In java_rules_skylark depend on the javabase through
19716 //tools/jdk:current_java_runtime
19717 + 30c601dc13d9e1b40a57434c022c888c7578cc56:
19718 Don't use @local_jdk for jni headers
19719 + c56699db5f9173739ba3ac55aa9fa69b6457a99b:
19720 'DumpPlatformClasspath' now dumps the current JDK's default
19721 platform classpath
19722```
19723
19724This release is a patch release that contains fixes for several serious
19725regressions that were found after the release of Bazel 0.16.0.
19726
19727In particular this release resolves the following issues:
19728
19729 - Bazel crashes with a StackOverflowError on Windows (See #5730)
19730 - Bazel requires a locally installed JDK and does not fall back
19731 to the embedded JDK (See #5744)
19732 - Bazel fails to build for Homebrew on macOS El Capitan (See #5777)
19733 - A regression in apple_static_library (See #5683)
19734
19735Please watch our blog for a more detailed release announcement.
19736
Bazel Release Systemb292ad12018-07-31 12:55:37 -040019737## Release 0.16.0 (2018-07-31)
Bazel Release System97564f62018-07-17 14:19:41 +020019738
19739```
Bazel Release Systemb292ad12018-07-31 12:55:37 -040019740Baseline: 4f64b77a3dd8e4ccdc8077051927985f9578a3a5
Bazel Release System97564f62018-07-17 14:19:41 +020019741
19742Cherry picks:
Bazel Release Systemb292ad12018-07-31 12:55:37 -040019743 + 4c9a0c82d308d5df5c524e2a26644022ff525f3e:
19744 reduce the size of bazel's embedded jdk
19745 + d3228b61f633cdc5b3f740b641a0836f1bd79abd:
19746 remote: limit number of open tcp connections by default. Fixes
19747 #5491
Bazel Release System97564f62018-07-17 14:19:41 +020019748 + 8ff87c164f48dbabe3b20becd00dde90c50d46f5:
19749 Fix autodetection of linker flags
19750 + c4622ac9205d2f1b42dac8c598e83113d39e7f11:
19751 Fix autodetection of -z linker flags
Bazel Release Systemb292ad12018-07-31 12:55:37 -040019752 + 10219659f58622d99034288cf9f491865f818218:
19753 blaze_util_posix.cc: fix order of #define
19754 + ab1f269017171223932e0da9bb539e8a17dd99ed:
19755 blaze_util_freebsd.cc: include path.h explicitly
19756 + 68e92b45a37f2142c768a56eb7ecfa484b8b22df:
19757 openjdk: update macOS openjdk image. Fixes #5532
19758 + f45c22407e6b00fcba706eb62141cb9036bd38d7:
19759 Set the start time of binary and JSON profiles to zero correctly.
19760 + bca1912853086b8e9a28a85a1b144ec0dc9717cc:
19761 remote: fix race on download error. Fixes #5047
19762 + 3842bd39e10612c7eef36c6048407e81bcd0a8fb:
19763 jdk: use parallel old gc and disable compact strings
Bazel Release System97564f62018-07-17 14:19:41 +020019764```
19765
Bazel Release Systemb292ad12018-07-31 12:55:37 -040019766Incompatible changes:
19767
19768 - The $(ANDROID_CPU) Make variable is not available anymore. Use
19769 $(TARGET_CPU) after an Android configuration transition instead.
19770 - The $(JAVA_TRANSLATIONS) Make variable is not supported anymore.
19771 - Skylark structs (using struct()) may no longer have to_json and
19772 to_proto overridden.
19773 - The mobile-install --skylark_incremental_res flag is no longer
19774 available, use the --skylark flag instead.
19775
19776New features:
19777
19778 - android_local_test now takes advantage of Robolectric's binary
19779 resource processing which allows for faster tests.
19780 - Allow @ in package names.
19781
Bazel Release System97564f62018-07-17 14:19:41 +020019782Important changes:
19783
Bazel Release Systemb292ad12018-07-31 12:55:37 -040019784 - Option --glibc is removed, toolchain selection relies solely on
19785 --cpu and --compiler options.
19786 - Build support for enabling cross binary FDO optimization.
19787 - The --distdir option is no longer experimental. This
19788 option allows to specify additional directories to look for
19789 files before trying to fetch them from the network. Files from
19790 any of the distdirs are only used if a checksum for the file
19791 is specified and both, the filename and the checksum, match.
19792 - Java coverage works now with multiple jobs.
19793 - Flip default value of --experimental_shortened_obj_file_path to
19794 true, Bazel now generates short object file path by default.
19795 - New rules for importing Android dependencies:
19796 `aar_import_external` and `aar_maven_import_external`.
19797 `aar_import_external` enables specifying external AAR
19798 dependencies using a list of HTTP URLs for the artifact.
19799 `aar_maven_import_external` enables specifying external AAR
19800 dependencies using the artifact coordinate and a list of server
19801 URLs.
19802 - The BAZEL_JAVAC_OPTS environment variable allows arguments, e.g.,
19803 "-J-Xmx2g", may be passed to the javac compiler during bootstrap
19804 build. This is helpful if your system chooses too small of a max
19805 heap size for the Java compiler during the bootstrap build.
19806 - --noexpand_configs_in_place is deprecated.
19807 - A tool to parse the Bazel execution log.
19808 - Support for LIPO has been fully removed.
19809 - Remove support for --discard_actions_after_execution.
19810 - Add --materialize_param_files flag to write parameter files even
19811 when actions are executed remotely.
19812 - Windows default system bazelrc is read from the user's
19813 ProgramData if present.
19814 - --[no]allow_undefined_configs no longer exists, passing undefined
19815 configs is an error.
Bazel Release System1281a022018-07-16 16:13:53 +020019816 - In remote caching we limit the number of open
19817 TCP connections to 100 by default. The number can be adjusted
19818 by specifying the --remote_max_connections flag.
19819
Bazel Release System5013a332018-06-26 14:07:47 +020019820## Release 0.15.0 (2018-06-26)
19821
19822```
19823Baseline: b93ae42e8e693ccbcc387841a17f58259966fa38
19824
19825Cherry picks:
19826 + 4b80f2455e7e49a95f3a4c9102a67a57dad52207:
19827 Add option to enable Docker sandboxing.
19828 + 6b1635279e8b33dc1ac505ac81825e38f8797a14:
19829 Allow disabling the simple blob caches via CLI flag overrides.
19830 + 4ec0a7524913ab2c4641368e3f8c09b347351a08:
19831 Use BUILD.bazel instead of BUILD for external projects
19832```
19833
19834Incompatible changes:
19835
19836 - Bazel now always runs binaries in with "bazel run" in
19837 interactive mode. The "--nodirect_run" command line option is now
19838 a no-op.
19839 - "bazel run --noas_test" is not supported anymore.
19840 - Indentation on the first line of a file was previously ignored.
19841 This is now fixed.
19842
19843New features:
19844
19845 - C++,runfiles: to access data-dependencies (runfiles) in C++
19846 programs, use the runfiles library built into Bazel. For usage
19847 info, see
19848 https://github.com/bazelbuild/bazel/blob/master/tools/cpp/runfiles
19849 /runfiles.h
19850
19851Important changes:
19852
19853 - Bazel now allows almost all 7-bit ASCII characters in labels.
19854 - Remove vestigial java_plugin.data attribute
19855 - Bazel supports including select Java 8 APIs into Android apps
19856 targeting pre-Nougat Android devices with
19857 --experimental_desugar_java8_libs
19858 - Flag `--incompatible_disable_glob_tracking` is removed.
19859 - SkyQuery's rbuildfiles now returns targets corresponding to
19860 broken packages.
19861 - Introduce build support for providing cache prefetch hints.
19862 - Update the skylark DefaultInfo documentation to spell out
19863 runfiles, data_runfiles and default_runfiles
19864 - An internal action for symlinking runfiles will use Command
19865 instead of a Spawns. This should have no functional chages; the
19866 only user visible consequence should be that the internal action
19867 is no longer be included in statistics when calculating processes
19868 count.
19869 - --batch is deprecated
19870 - execution strategies line no longer handles differently the case
19871 where all processes have the same strategy.
19872 - The --experimental_remote_spawn_cache flag is now enabled by
19873 default, and remote caching no longer needs --*_strategy=remote
19874 flags (it will fail if they are specified).
19875 - android_binary.aapt_version='aapt2' now supports en_XA and ar_XB
19876 - Added --apple_enable_auto_dsym_dbg flag.
19877 - non_propagated_deps has been removed from objc_library and
19878 apple_binary.
19879 - For Android projects, Bazel now supports building fonts as
19880 resources. See
19881 https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml
19882 for more information on the feature.
19883 - With --incompatible_no_support_tools_in_action_inputs enabled, Skylark
19884 action inputs are no longer scanned for tools. Move any such
19885 inputs to the newly introduced 'tools' attribute.
19886
Bazel Release System513bbf52018-06-08 14:15:20 +020019887## Release 0.14.1 (2018-06-08)
19888
19889```
19890Baseline: 5c3f5c9be7fa40d4fb3c35756891fab8483ca406
19891
19892Cherry picks:
19893 + f96f037f8f77335dc444844abcc31a372a3e1849:
19894 Windows, Java launcher: Support jar files under different drives
19895 + ff8162d01409db34893de98bd840a51c5f13e257:
19896 sh_configure.bzl: FreeBSD is also a known platform
19897 + 7092ed324137f03fcd34856bdb0595a1bdec3069:
19898 Remove unneeded exec_compatible_with from local_sh_toolchain
19899 + 57bc201346e61c62a921c1cbf32ad24f185c10c9:
19900 Do not autodetect C++ toolchain when
19901 BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 is present
19902 + 35a78c09cf2fbfc3de9c124d2142e3d72aac4348:
19903 remote: recursively delete incomplete downloaded output
19904 directory.
19905 + 3c9cd82b847f3ece8ec04b2029bd5e8ad0eb7502:
19906 distfile: pack the archives needed later in the build
19907 + 27487c77387e457df18be3b6833697096d074eab:
19908 Slightly refactor SpawnAction to improve env handling
19909 + 1b333a2c37add9d04fe5bc5258ee4f73c93115e2:
19910 Fix Cpp{Compile,Link}Action environment and cache key computation
19911 + 3da8929963e9c70dff5d8859d6e988e6e7f4f9d7:
19912 Make SymlinkTreeAction properly use the configuration's
19913 environment
19914 + eca7b81cf8cc51e1fe56e5ed7d4ad5cd1668a17a:
19915 Add a missing dependency from checker framework dataflow to
19916 javacutils
19917 + 10a4de954c2061258d8222961fc3bd39516db49d:
19918 Release 0.14.0 (2018-06-01)
19919 + 4b80f2455e7e49a95f3a4c9102a67a57dad52207:
19920 Add option to enable Docker sandboxing.
19921 + 6b1635279e8b33dc1ac505ac81825e38f8797a14:
19922 Allow disabling the simple blob caches via CLI flag overrides.
19923```
19924
19925Bug fix for [#5336](https://github.com/bazelbuild/bazel/issues/5336)
19926Bug fix fot [#5308](https://github.com/bazelbuild/bazel/issues/5308)
19927
Bazel Release System3a592f62018-06-01 15:04:31 +020019928## Release 0.14.0 (2018-06-01)
19929
19930```
19931Baseline: 5c3f5c9be7fa40d4fb3c35756891fab8483ca406
19932
19933Cherry picks:
19934 + f96f037f8f77335dc444844abcc31a372a3e1849:
19935 Windows, Java launcher: Support jar files under different drives
19936 + ff8162d01409db34893de98bd840a51c5f13e257:
19937 sh_configure.bzl: FreeBSD is also a known platform
19938 + 7092ed324137f03fcd34856bdb0595a1bdec3069:
19939 Remove unneeded exec_compatible_with from local_sh_toolchain
19940 + 57bc201346e61c62a921c1cbf32ad24f185c10c9:
19941 Do not autodetect C++ toolchain when
19942 BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 is present
19943 + 35a78c09cf2fbfc3de9c124d2142e3d72aac4348:
19944 remote: recursively delete incomplete downloaded output
19945 directory.
19946 + 3c9cd82b847f3ece8ec04b2029bd5e8ad0eb7502:
19947 distfile: pack the archives needed later in the build
19948 + 27487c77387e457df18be3b6833697096d074eab:
19949 Slightly refactor SpawnAction to improve env handling
19950 + 1b333a2c37add9d04fe5bc5258ee4f73c93115e2:
19951 Fix Cpp{Compile,Link}Action environment and cache key computation
19952 + 3da8929963e9c70dff5d8859d6e988e6e7f4f9d7:
19953 Make SymlinkTreeAction properly use the configuration's
19954 environment
19955 + eca7b81cf8cc51e1fe56e5ed7d4ad5cd1668a17a:
19956 Add a missing dependency from checker framework dataflow to
19957 javacutils
19958```
19959
19960Incompatible changes:
19961
19962 - Add --incompatible_disallow_legacy_javainfo flag.
19963 - Added flag --incompatible_disallow_old_style_args_add to help
19964 migrate from args.add() to args.add_all() / args.add_joined()
19965 where appropriate.
19966
19967New features:
19968
19969 - Bash,runfiles: use the new platform-independent library in
19970 `@bazel_tools//tools/bash/runfiles` to access runfiles
19971 (data-dependencies). See
19972 https://github.com/bazelbuild/bazel/blob/master/tools/bash/runfile
19973 s/runfiles.bash for usage information.
19974 - TemplateVariableInfo can now be constructed from Skylark.
19975 - The java_host_runtime_alias rule is now implemented in Java.
19976
19977Important changes:
19978
19979 - Flip default value of --experimental_shortened_obj_file_path to
19980 true, Bazel now generates short object file path by default.
19981 - Introduce fdo_profile rule that allows architecture-sensitive
19982 specification of fdo profiles.
19983 - canonicalize-flags no longer reorders the flags
19984 - CppRules: optional_compiler_flag was removed from CROSSTOOL, use
19985 features instead.
19986 - Labels of the form ////foo are disallowed.
19987 - The `/` operator is deprecated in favor of `//` (floor integer
19988 division).
19989 Try the `--incompatible_disallow_slash_operator` flag to ensure
19990 your code
19991 is forward-compatible.
19992 - Flip default value of --experimental_shortened_obj_file_path to
19993 true, Bazel now generates short object file path by default.
19994 - Exposed "mnemonic" and "env" fields on skylark "Action" objects.
19995 - Removed flag `--incompatible_disallow_toplevel_if_statement`.
19996 - Remove vestigial 'deps' and 'data' attributes from
19997 proto_lang_toolchain
19998 - Args objects (ctx.actions.args()) have new methods add_all() and
19999 add_joined() for building command lines using depsets.
20000 - `FileType` is deprecated and will be removed soon.
20001 Try the `--incompatible_disallow_filetype` flag to ensure your
20002 code
20003 is forward-compatible.
20004 - Introduce absolute_path_profile attribute that allows fdo_profile
20005 to accept absolute paths.
20006 - Support two-arg overloads for ctx.actions.args (eg.
20007 args.add("--foo", val))
20008 - Introduce 'tools' attribute to ctx.actions.run.
20009 - Fixed error message for proguard_apply_dictionary.
20010 - "bazel run" now lets one run interactive binaries. The
20011 BUILD_WORKSPACE_DIRECTORY and BUILD_WORKING_DIRECTORY environment
20012 variables indicate the working directory and the workspace root
20013 of the Bazel invocation. Tests are provided with an approximation
20014 of the official test environment.
20015 - repository rules are no longer restricted to return None.
20016 - Add --high_priority_workers flag.
20017 - CppRules: Feature configuration can be created from Skylark
20018 - Adds new-style JavaInfo provider constructor.
20019 - Make java_common.compile now uses java_toolchain javacopts by
20020 default; explicitly retrieving them using
20021 java_common.default_javac_opts is unnecessary.
20022 - CppRules: C++ command lines and env variables for C++ actions can
20023 be retrieved from feature configuration.
20024 - Skylark rule definitions may advertise providers that targets of
20025 the rule must propagate.
20026 - Bazel now supports running actions inside Docker containers.
20027 To use this feature, run "bazel build --spawn_strategy=docker
20028 --experimental_docker_image=myimage:latest".
20029 - Remote execution works for Windows binaries with launchers.
20030 - Fixing start/end lib expansion for linking. There were many cases
20031 where archive files were still being used with toolchains that
20032 support start/end lib. This change consolidates the places that
20033 make that decision so they can be more consistent.
20034 - Add support for reporting an error if
20035 android_test.binary_under_test contains incompatible versions of
20036 deps
20037 - We replaced the --experimental_local_disk_cache and
20038 --experimental_local_disk_cache_path flags into a single
20039 --disk_cache flag. Additionally, Bazel now tries to create the disk cache
20040 directory if it doesn't exist.
20041 - Save Blaze memory by not storing LinkerInput objects in
20042 LinkCommandLine
20043 - In the JavaInfo created by java_common.create_provider now
20044 includes both direct and transitive arguments in
20045 transitive_compile_time_jars and transitive_runtime_jars
20046 - Allow --worker_max_instances to take MnemonicName=value to
20047 specify max for each worker.
20048 - Allow java_toolchain.header_compiler to be an arbitrary executable
20049
Bazel Release System24c68ff2018-05-23 10:59:57 +020020050## Release 0.13.1 (2018-05-23)
20051
20052```
20053Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05
20054
20055Cherry picks:
20056 + f083e7623cd03e20ed216117c5ea8c8b4ec61948:
20057 windows: GetOutputRoot() returns GetHomeDir()
20058 + fa36d2f48965b127e8fd397348d16e991135bfb6:
20059 Automated rollback of commit
20060 4465dae23de989f1452e93d0a88ac2a289103dd9.
20061 + 4abd2babcc50900afd0271bf30dc64055f34e100:
20062 Add error message on empty public resources
20063 + 2c957575ff24c183d48ade4345a79ffa5bec3724:
20064 test-setup: remove leading "./" from test name
20065 + e6eaf251acb3b7054c8c5ced58a49c054b5f23b1:
20066 Sort entries by segment when building a parent node to prevent
20067 unordered directory structures.
20068```
20069
20070Important changes:
20071
20072 - Remote Execution: Fixes a regression that produces directories with unsorted file/directory lists
20073
Bazel Release System1d9c6062018-04-30 10:45:38 +020020074## Release 0.13.0 (2018-04-30)
20075
20076```
20077Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05
20078
20079Cherry picks:
20080 + f083e7623cd03e20ed216117c5ea8c8b4ec61948:
20081 windows: GetOutputRoot() returns GetHomeDir()
20082 + fa36d2f48965b127e8fd397348d16e991135bfb6:
20083 Automated rollback of commit
20084 4465dae23de989f1452e93d0a88ac2a289103dd9.
20085 + 4abd2babcc50900afd0271bf30dc64055f34e100:
20086 Add error message on empty public resources
20087 + 2c957575ff24c183d48ade4345a79ffa5bec3724:
20088 test-setup: remove leading "./" from test name
20089```
20090
20091Incompatible changes:
20092
20093 - Remove //tools/defaults:android_jar. Use
20094 @bazel_tools//tools/android:android_jar instead.
20095 - The flag --incompatible_show_all_print_messages is removed.
20096 Messages generated by `print` statements from any package will be
20097 displayed as
20098 DEBUG messages.
20099 - The --incompatible_disallow_uncalled_set_constructor flag is no
20100 longer available, the `set` constructor` is completely removed
20101 from Skylark.
20102 Use `depset` instead.
20103 - Variables PACKAGE_NAME and REPOSITORY_NAME are deprecated in
20104 favor of
20105 functions `package_name()` and `repository_name()`.
20106
20107 https://docs.bazel.build/versions/master/skylark/lib/native.html#p
20108 ackage_name
20109 - BUILD_TIMESTAMP now contains seconds (and not milliseconds) since
20110 the epoch.
20111
20112New features:
20113
20114 - Strings have a new .elems() method, that provides an iterator on
20115 the characters of the string.
20116 - Now you can access three functions in windows_cc_configure.bzl by:
20117 load("@bazel_tools/tools/cpp:windows_cc_configure.bzl",
20118 "<function_name>")
20119
20120Important changes:
20121
20122 - CppRules: Unified action_configs for static libraries
20123 - Remove support for blaze dump --vfs. It is no longer meaningful.
20124 - Enable dependency checking for aar_import targets.
20125 - internal_bootstrap_hack has been deprecated and removed.
20126 - Properly handle tree artifacts on the link command line coming
20127 from a cc_library dependency.
20128 - Allow C++ features to make proto_library emit smaller C++ code
20129 - The 'j2objc' configuration fragment is exposed to Skylark.
20130 - Remove the default content of the global bazelrc.
20131 - In int() function, do not auto-detect base if input starts with
20132 '0'.
20133 - Users can now pass --experimental_shortened_obj_file_path=true to
20134 have a shorter object file path, the object file paths (and all
20135 other related paths) will be constructed as following:
20136 If there's no two or more source files with the same base name:
20137
20138 <bazel-bin>/<target_package_path>/_objs/<target_name>/<source_base
20139 _name>.<extension>
20140 otherwise:
20141
20142 <bazel-bin>/<target_package_path>/_objs/<target_name>/N/<source_ba
20143 se_name>.<extension>
20144 N = the file?s order among the source files with the same
20145 basename, starts from 0.
20146 - Move (c/cxx)opts from legacy_compile_flags to user_compile_flags
20147 - CppRules: Remove optional_*_flag fields from CROSSTOOL, they are
20148 not
20149 used, and could be expressed using features.
20150 - Introduce --incompatible_disable_objc_provider_resources to turn
20151 off all resource-related fields of the Objc provider.
20152 - Removed the statement of "What does Bazel support?" as it's
20153 limiting/misleading. Added supported host OSes to
20154 "multi-platform" paragraph.
20155 - android_library AAR output now contains proguard.txt
20156 - Bazel now displays information about remote cache hits and
20157 execution strategies used in its UI after every build and test,
20158 and adds a corresponding line "process stats" to BuildToolLogs in
20159 BEP.
20160 - Print correct build result for builds with --aspects flag.
20161 - android_binary.manifest_merger is no longer supported.
20162
Bazel Release System546976c2018-04-11 17:34:19 +020020163## Release 0.12.0 (2018-04-11)
20164
20165```
20166Baseline: b33e5afa313322a7048044c44d854cbb666b988e
20167
20168Cherry picks:
20169 + 369409995bd75eeb0683fd24f7585d2a90320796:
20170 Automated rollback of commit
20171 c2b332b45e6ea41a14ecbd3c5f30782bcdeec301.
20172 + dbf779869751cc893ba240402d352c6e70be2978:
20173 Emit SJD errors even if we don't know the label of a dependency
20174 + 4c3098cfa6f00f90c7530b6f40d3e93062931c1d:
20175 Android tools: remove mtime-modifications
20176 + a1068c44a700ec2cff84cbd12592e9bfea25d754:
20177 NDK cc_toolchains: include bundled runtime libraries in
20178 cc_toolchain.all_files
20179 + b1be5816ec1bf8e1172c1bed4f29b4e6c6bb7202:
20180 runfiles,Python: remove library from @bazel_tools
20181 + 0a4622012ff796429220fe57d3217f262cc208a8:
20182 Fix visibility of def_parser for remote builds
20183 + 3c5373c50c7c492842f8a468906eda2c0bc90787:
20184 Remove visibility attribute from
20185 //third_party/def_parser:def_parser
20186 + f54d7e5293cc40ce3507a9adef530e46ab817585:
20187 Enable bulk writes in the HttpBlobStore
20188 + 04ce86e8ba96630f89a436167b7f3a195c5e50e7:
20189 remote/http: properly complete user promise
20190```
20191
20192Incompatible changes:
20193
20194 - The order of dict-valued attributes is now the order in the BUILD
20195 file (or in the Skylark dict they were created from) and not
20196 lexicographically sorted.
20197
20198New features:
20199
20200 - The new "--direct_run" flag on "blaze run" lets one run
20201 interactive binaries.
20202 - "blaze run --direct_run" with tests now gives the test an
20203 approximation of the official test environment.
20204 - "blaze run --direct_run" now exports the
20205 BUILD_{WORKSPACE,WORKING}_DIRECTORY variables to tell the binary
20206 about the cwd of the client and the workspace root.
20207 - New Android device test rule: android_instrumentation_test.
20208 - Add option to dump the action graph to a file: 'bazel dump
20209 --action_graph=/path/to/file'.
20210 - Pass `tags` from `java_import_external` rule to the generated
20211 `java_import` rule.
20212 - blaze query: use --proto:output_rule_attrs to filter for given
20213 attributes
20214 - Added Android NDK r15 support, including compatibility with
20215 Unified Headers.
20216 - Adds --ltobackendopt and --per_file_ltobackendopt for passing
20217 options to ThinLTO LTO backend compile actions only.
20218
20219Important changes:
20220
20221 - Fix how libraries to link is specified to archiver actions.
20222 - Fix how libraries_to_link are expanded in the archiver command
20223 line.
20224 - stop using --no-locals in android coverage builds
20225 - apple_binary can now generate dSYM outputs with the
20226 --apple_generate_dsym=true flag.
20227 - Fix FDO_STAMP_MACRO to only be set when fdoBuildStamp is not null.
20228 - Improved clarity of warning message for unsupported NDK revisions.
20229 - Add lint check for discouraging glob(["**/*.java"])
20230 - unifly lint glob(["**/*.java"]) message
20231 - Removed flags `--incompatible_checked_arithmetic`,
20232 `--incompatible_dict_literal_has_no_duplicates`,
20233 `--incompatible_disallow_keyword_only_args`, and `
20234 --incompatible_comprehension_variables_do_not_leak`.
20235 - Add "proto_source_root" flag to proto_library.
20236 - Updated default android_cpu value to armeabi-v7a
20237 - In skylark, print(target) now shows the provider keys of a
20238 target, as debug information.
20239 - The native http_archive rule is deprecated. Use the
20240 Skylark version available via
20241 load("@bazel_tools//tools/build_defs/repo:http.bzl",
20242 "http_archive")
20243 instead.
20244 - flaky_test_attempts supports the regex@attempts syntax, like
20245 runs_per_test.
20246 - Fixed include paths for NDK r13+ llvm-libc++ headers to
20247 `ndk/sources/cxx-stl/llvm-libc++/include` and
20248 `ndk/sources/cxx-stl/llvm-libc++abi/include`
20249 - --config flags now expand in place by default.
20250 - aar_import now sets java.transitive_exports.
20251 - repository_cache is no longer experimental and enabled by default.
20252 - BAZEL_LINKOPTS is now consulted when autoconfiguring c++ toolchain
20253 - The native git_repository rule is deprecated. Use the
20254 Skylark version available via
20255 load("@bazel_tools//tools/build_defs/repo:git.bzl",
20256 "git_repository")
20257 instead.
20258 - Removed flag `--incompatible_load_argument_is_label`.
20259 - CcToolchain: Introduced action_config for
20260 "c++-link-transitive-dynamic-library"
20261 - Use bazel dump --action_graph=/path/to/action.proto
20262 --action_graph:targets://foo:bar,//foo:foo to filter for certain
20263 targets in the action graph dump.
20264 - Added Android NDK r16 support. Use --cxxopt='-std=c++11` compile
20265 with the C++11 standard, and
20266 `--android_crosstool_top=@androidndk//:toolchain-libcpp` to use
20267 the `libc++` STL.
20268 - Add a --build_event_publish_all_actions flag to allow all actions
20269 to be published via the BEP.
20270 - C++: Introduced --experimental_drop_fully_static_linking_mode
20271 - Removed cc_inc_library, please use cc_library instead
20272 - CppRules: cc_binary/cc_test now enable 'static_linking_mode' or
20273 'dynamic_linking_mode'.
20274
Bazel Release Systemc86d6a02018-03-06 19:32:18 +010020275## Release 0.11.1 (2018-03-06)
20276
20277```
20278Baseline: 00d781ae78a8bd51d3c61b621d79f0bb095aff9e
20279
20280Cherry picks:
20281 + ea2d4c475febdbd59ca0e0ba46adc7be759f84e0:
20282 Update stub_finds_runfiles_test to be a real sh_test.
20283 + d855d8133f4efb73ebd5e82c54a9afb4c7565d46:
20284 java,runfiles: fix bugs in runfiles library
20285 + 56aeb04a064218b845ecc193d530c341c6ec854d:
20286 Fixing #4585: broken re-execution of orphaned actions.
20287 + cf3f81aef7c32019d70cbce218a64a03276268f0:
20288 remote: Add support for HTTP Basic Auth
20289 + 28bd997c1c8793973f63dcae4c22bbae49e7d8b7:
20290 Fixing test-setup.sh occasionally missing stdout/stderr, on
20291 systems where "tail --pid" is supported.
20292 + 109e4b4dc9e786e3a2d8d7cb245d18320dbe9216:
20293 Automated rollback of commit
20294 7e6837cc1d1aa4259f5c27ba3606b277b5f6c3e9.
20295 + b3d52b1b6d46a0f23cc91125c1d522e9d13433b4:
20296 Fix incorrect include directories when -no-canonical-prefixes is
20297 passed to clang
20298 + 1001141f0674ff4b611814edcb00a5183680ef4a:
20299 Roll forward of
20300 https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1
20301 b52bcac5a3ff942029
20302 (https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba
20303 1b52bcac5a3ff942029). Fix #4625 by running the test process in a
20304 sub-shell.
20305 + fc98b44b6181fa4c3efd8613d887970629468d74:
20306 android,windows: bugfix in aar_resources_extractor
20307```
20308
20309Important changes:
20310
20311 - Fixes regression building Android rules on Windows.
20312
Bazel Release System09077a32018-02-23 11:09:18 -050020313## Release 0.11.0 (2018-02-23)
20314
20315```
20316Baseline: 00d781ae78a8bd51d3c61b621d79f0bb095aff9e
20317
20318Cherry picks:
20319 + ea2d4c475febdbd59ca0e0ba46adc7be759f84e0:
20320 Update stub_finds_runfiles_test to be a real sh_test.
20321 + d855d8133f4efb73ebd5e82c54a9afb4c7565d46:
20322 java,runfiles: fix bugs in runfiles library
20323 + 56aeb04a064218b845ecc193d530c341c6ec854d:
20324 Fixing #4585: broken re-execution of orphaned actions.
20325 + cf3f81aef7c32019d70cbce218a64a03276268f0:
20326 remote: Add support for HTTP Basic Auth
20327 + 28bd997c1c8793973f63dcae4c22bbae49e7d8b7:
20328 Fixing test-setup.sh occasionally missing stdout/stderr, on
20329 systems where "tail --pid" is supported.
20330 + 109e4b4dc9e786e3a2d8d7cb245d18320dbe9216:
20331 Automated rollback of commit
20332 7e6837cc1d1aa4259f5c27ba3606b277b5f6c3e9.
20333 + b3d52b1b6d46a0f23cc91125c1d522e9d13433b4:
20334 Fix incorrect include directories when -no-canonical-prefixes is
20335 passed to clang
20336 + 3904ac33a983fd8faebba1b52bcac5a3ff942029:
20337 Automated rollback of commit
20338 28bd997c1c8793973f63dcae4c22bbae49e7d8b7.
20339 + 1001141f0674ff4b611814edcb00a5183680ef4a:
20340 Roll forward of
20341 https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1
20342 b52bcac5a3ff942029
20343 (https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba
20344 1b52bcac5a3ff942029). Fix #4625 by running the test process in a
20345 sub-shell.
20346```
20347
20348Incompatible changes:
20349
20350 - ctx.fragments.jvm is not available anymore.
20351
20352New features:
20353
20354 - java,runfiles: You can now depend on
20355 `@bazel_tools//tools/runfiles:java-runfiles` to get a
20356 platform-independent runfiles library for Java. See JavaDoc of
20357 https://github.com/bazelbuild/bazel/blob/master/src/tools/runfiles
20358 /java/com/google/devtools/build/runfiles/Runfiles.java for usage
20359 information.
20360
20361Important changes:
20362
20363 - The --[no]experimental_disable_jvm command line option is not
20364 supported anymore.
20365 - Allow expanding TreeArtifacts for libraries_to_link
20366 - Proguarded Android binaries can be built with incremental dexing.
20367 - aar_import now supports assets.
20368 - Crash in OutputJar::Close has been fixed
20369 - generator_* attributes are nonconfigurable.
20370 - Introduces --[no]keep_state_after_build
20371 - Add support for merged object files needed for -flto-unit.
20372 - Fix how libraries to link is specified to archiver actions.
20373 - Replace //tools/defaults:android_jar with
20374 @bazel_tools//tools/android:android_jar.
20375 //tools/defaults:android_jar will be removed in a future release.
20376 - java_common.compile supports neverlink
20377 - Resolved an issue where a failure in the remote cache would not
20378 trigger local re-execution of an action.
20379
Bazel Release Systeme1148362018-02-15 10:02:05 +010020380## Release 0.10.1 (2018-02-15)
20381
20382```
20383Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993
20384
20385Cherry picks:
20386 + f6ca78808722c8c119affdb33400838ee92d44b6:
20387 isable_presubmit
20388 + 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52:
20389 Fix StreamResourceLeak error
20390 + e5436745e1732f5e43fc55f0deb5b19e23ce8524:
20391 windows: fix --symlink_prefix=/ throwing exception
20392 + 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3:
20393 Fix turbine command lines with empty javacopts
20394 + 96c654d43eb2906177325cbc2fc2b1e90dbcc792:
20395 Remove EOL'd Linux flavours, bump CentOS to 6.9.
20396 + f0bec36864f10370cbbda4caa8beac2e0c5ee45b:
20397 Automated rollback of commit
20398 2aeaeba66857c561dd6d63c79a213f1cabc3650d.
20399 + 860af5be10b6bad68144d9d2d34173e86b40268c:
20400 Consolidate Error Prone resource handling
20401 + 2e631c99495f75270d2639542cefb531ec262d67:
20402 sandbox: properly add `tmpDir` to `writablePaths`
20403 + 5bfa5844d0d16d71e88002956e88402bfec88ef7:
20404 actions,temp: respect TMPDIR envvar
20405 + 6cc2ad8676d1ae0542b351a07a05ddbe5efac165:
20406 sandbox: add env[TMPDIR] instead of `tmpDir`
20407 + 40c757f4ab90214f95935672532a495c4551490a:
20408 Change git clone to pull all history, so all needed commits can
20409 be accessed.
20410 + 56aeb04a064218b845ecc193d530c341c6ec854d:
20411 Fixing #4585: broken re-execution of orphaned actions.
20412```
20413
20414Important changes:
20415
20416 - Resolved an issue where a failure in the remote cache would not
20417 trigger local re-execution of an action.
20418
Bazel Release System5bd27482018-02-01 09:43:33 +010020419## Release 0.10.0 (2018-02-01)
20420
20421```
20422Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993
20423
20424Cherry picks:
20425 + f6ca78808722c8c119affdb33400838ee92d44b6:
20426 isable_presubmit
20427 + 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52:
20428 Fix StreamResourceLeak error
20429 + e5436745e1732f5e43fc55f0deb5b19e23ce8524:
20430 windows: fix --symlink_prefix=/ throwing exception
20431 + 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3:
20432 Fix turbine command lines with empty javacopts
20433 + 96c654d43eb2906177325cbc2fc2b1e90dbcc792:
20434 Remove EOL'd Linux flavours, bump CentOS to 6.9.
20435 + f0bec36864f10370cbbda4caa8beac2e0c5ee45b:
20436 Automated rollback of commit
20437 2aeaeba66857c561dd6d63c79a213f1cabc3650d.
20438 + 860af5be10b6bad68144d9d2d34173e86b40268c:
20439 Consolidate Error Prone resource handling
20440 + 2e631c99495f75270d2639542cefb531ec262d67:
20441 sandbox: properly add `tmpDir` to `writablePaths`
20442 + 5bfa5844d0d16d71e88002956e88402bfec88ef7:
20443 actions,temp: respect TMPDIR envvar
20444 + 6cc2ad8676d1ae0542b351a07a05ddbe5efac165:
20445 sandbox: add env[TMPDIR] instead of `tmpDir`
20446 + 40c757f4ab90214f95935672532a495c4551490a:
20447 Change git clone to pull all history, so all needed commits can
20448 be accessed.
20449```
20450
20451Incompatible changes:
20452
20453 - In order to access the template variables $(JAVA) and
20454 $(JAVABASE), @bazel_tools//tools/jdk:current_java_runtime needs
20455 to be added to the toolchains= attribute from now on.
20456 - The ctx.middle_man function is not supported anymore.
20457 - The flag --incompatible_list_plus_equals_inplace is removed, its
20458 default behavior is preserved. += on lists now always mutates the
20459 left hand
20460 side.
20461 - --android_sdk no longer supports filegroup targets.
20462 - android_* rules no longer support legacy_native_support attribute.
20463
20464New features:
20465
20466 - query: Add option --noproto:flatten_selects to turn off
20467 flattening of selector lists in proto output.
20468 - New android test rule, android_local_test.
20469
20470Important changes:
20471
20472 - The --remote_rest_cache flag now respects --remote_timeout.
20473 - --experimental_java_coverage is available for testing.
20474 - The deprecated builtin `set` is no longer allowed even from within
20475 unexecuted code in bzl files. It's temporarily possible to use
20476 --incompatible_disallow_uncalled_set_constructor=false if this
20477 change causes
20478 incompatibility issues.
20479 - Linkstamping is now a separate and full-blown CppCompileAction,
20480 it's
20481 no longer a part of linking command.
20482 - Using `+`, `|` or `.union` on depsets is now deprecated. Please
20483 use the new
20484 constructor instead (see
20485 https://docs.bazel.build/versions/master/skylark/depsets.html).
20486 - config_feature_flag's default_value is optional. It is
20487 only an error to have a config_feature_flag with no default_value
20488 if that config_feature_flag has not been set in the configuration
20489 it is being evaluated in.
20490 - --[no]keep_incrementality_data is gone, replaced by the
20491 enum-valued --incremental_state_retention_strategy
20492 - Linkstamping is now a separate and full-blown CppCompileAction,
20493 it's
20494 no longer a part of linking command.
20495 - Added --checkHashMismatch flag to ZipFilterAction. Valid values
20496 are IGNORE, WARN and ERROR. --errorOnHashMismatch is deprecated,
20497 please use this flag instead.
20498 - Set build jobs equivalent to number of logical processors by
20499 default. Should improve build times significantly.
20500 - Added --(no)expand_test_suites flag.
20501 - Rename --keep_incrementality_data to --track_incremental_state
20502 - --remote_rest_cache was renamed to --remote_http_cache. Both
20503 options keep working in this release, but --remote_rest_cache
20504 will be
20505 removed in the next release.
20506 - Aspects-on-aspect see and propagate over aspect attributes.
20507 - --auth_* flags were renamed to --google_* flags. The old names
20508 will continue to work for this release but will be removed in the
20509 next
20510 release.
20511 - Remote Caching and Execution support output directories.
20512 - Remove defunct flags
20513 --experimental_incremental_dexing_for_lite_proto and
20514 --experimental_incremental_dexing_error_on_missed_jars that have
20515 long been enabled by default
20516 - New version of aapt2 and Resources.proto.
20517 - Make PIC and non PIC outputs for C++ compilation with Tree
20518 Artifacts
20519
Bazel Release System7b423cc2017-12-19 10:31:05 +010020520## Release 0.9.0 (2017-12-19)
Bazel Release System3d53cb02017-12-05 15:28:40 +010020521
20522```
Bazel Release System7b423cc2017-12-19 10:31:05 +010020523Baseline: ddd5ac16aeffa6c4693c348f73e7365240b1abc5
Bazel Release System3d53cb02017-12-05 15:28:40 +010020524
20525Cherry picks:
Bazel Release System7b423cc2017-12-19 10:31:05 +010020526 + 2cf560f83922e6df9626ba3ee063c1caf6797548:
20527 Update version of re2
20528 + a2d2615362c65be98629b39ce39754a325ed1c42:
20529 Check for null build file returned from getBuildFileForPackage.
20530 + 68c577afc2fb33b5e66b820bcc9043fed1071456:
20531 Fix some broken targets and failing tests.
20532 + 766ba8adc4487f17ebfc081aeba6f34b18b53d6c:
Bazel Release System3d53cb02017-12-05 15:28:40 +010020533 Automated rollback of commit
Bazel Release System7b423cc2017-12-19 10:31:05 +010020534 337f19cc54e77c45daa1d5f61bf0a8d3daf8268f.
20535 + a22d0e9c14e58b29d81f5a83bdcc6e5fce52eafe:
20536 Fix: uploading artifacts of failed actions to remote cache
20537 stopped working.
20538 + 03964c8ccb20d673add76c7f37245e837c3899b6:
20539 [java_common.compile] Name output source jar relative to the
20540 output jar name
Bazel Release System3d53cb02017-12-05 15:28:40 +010020541```
20542
Bazel Release System7b423cc2017-12-19 10:31:05 +010020543Incompatible changes:
20544
20545 - The deprecated `set` constructor is removed, along with the
20546 migration flag --incompatible_disallow_set_constructor. It is
20547 still temporarily
20548 allowed to refer to `set` from within unexecuted code.
20549 - The flag --incompatible_disallow_set_constructor is no longer
20550 available, the deprecated `set` constructor is not available
20551 anymore.
20552 - The path to the JVM executable is not accessible anymore as
20553 ctx.{fragments,host_fragments}.jvm.java_executable. Use
20554 JavaRuntimeInfo.java_executable_exec_path instead.
20555 - --clean_style is no longer an option.
20556
20557New features:
20558
20559 - Users can use win_def_file attribute to specify a DEF file for
20560 exporting symbols when build a shared library on Windows.
20561 - Add --experimental_android_resource_cycle_shrinking option to
20562 allow for more aggressive code and resource shrinking.
20563
20564Important changes:
20565
20566 - Late-bound attributes are exposed to skylark. This is a new API
20567 (`configuration_field()`) to depend on certain
20568 configuration-defined targets from skylark rules.
20569 - Document interaction between test_suite and target exclusions
20570 - AAR manifest files will come from the processed resource APK if it
20571 exists.
20572 RELNOTES: None for Blaze users.
20573 - Document interaction between test_suite and target exclusions
20574 - --keep_incrementality_data flag allows Bazel servers to be run in
20575 memory-saving non-incremental mode independent of --batch and
20576 --discard_analysis_cache.
20577 - Add deps attribute to Skylark maven_aar and maven_jar workspace
20578 rules.
20579 - Use --expand_configs_in_place as a startup argument to change the
20580 order in which --config expansions are interpreted.
20581 - SOURCE_DATE_EPOCH
20582 (https://reproducible-builds.org/specs/source-date-epoch/) can
20583 be used to override the timestamp used for stamped target (when
20584 using --stamp).
20585 - Package specifications can now be prefixed with `-` to indicate
20586 negation
20587 - transitive_source_jars is now exposed on JavaInfo.
20588 - Add six to deps of has_services=1 py_proto_librarys.
20589 - java_tests no complain when use_testrunner is explicitly set to 1
20590 and main_class is set.
20591 - transitive_source_jars is now exposed on JavaInfo.
20592 - Debug messages generated by `print()` are not being filtered out
20593 by --output_filter anymore, it's recommended not to use them in
20594 production code.
20595 - in the Label() function, relative_to_caller_repository is now
20596 deprecated.
20597 - java_tests no complain when use_testrunner is explicitly set to 1
20598 and main_class is set.
20599 - Bazel's default hash function was changed from MD5 to SHA256.
20600 In particular, this affects users of remote caching and
20601 execution, as
20602 all hashes will be SHA256 by default.
20603 - Remove redirects for domains be.bazel.build and cr.bazel.build
20604 from the source for docs.bazel.build (because those subdomains
20605 don't resolve here; they resolve to bazel.build, which has the
20606 redirects for them)
20607 - First argument of 'load' must be a label. Path syntax is removed.
20608 (label should start with '//' or ':').
20609 - Document startup option --host_javabase
20610 - The --host_platform and --platform flags are no longer
20611 experimental.
Bazel Release System3d53cb02017-12-05 15:28:40 +010020612
Bazel Release System0838aee2017-11-27 14:16:34 +010020613## Release 0.8.0 (2017-11-27)
20614
20615```
20616Baseline: cff0dc94f6a8e16492adf54c88d0b26abe903d4c
20617
20618Cherry picks:
20619 + 8a49b156c4edf710e3e1e0acfde5a8d27cc3a086:
20620 Fix ImportError on tools.android for junction_lib
20621 + 275ae45b1228bdd0f912c4fbd634b29ba4180383:
20622 Automated rollback of commit
20623 4869c4e17d5b1410070a1570f3244148d8f97b5d.
20624 + d0bf589f2716b3d139c210930371a684c6e158eb:
20625 Add a random number to action temp dir
20626 + 9738f35abddb7ef7a7ef314b5d2a52a3be1b830a:
20627 CcProtoLibrary: Don't add dynamic librarys to filesToBuild on
20628 Windows
20629 + 0d6ff477099fdf6c8c1c7d4e2104f9184afe0a2b:
20630 Automated rollback of commit
20631 0ebb3e54fc890946ae6b3d059ecbd50e4b5ec840.
20632```
20633
20634Incompatible changes:
20635
20636 - ctx.fragments.apple.{xcode_version,ios_minimum_os} is not
20637 supported anymore. The same information is accessible through the
20638 target @bazel_tools//tools/osx:current_xcode_config: point an
20639 implicit attribute to it (i.e.
20640 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
20641 nfig")) then use
20642 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].
20643 - ctx.fragments.apple.minimum_os_for_platform_type is not supported
20644 anymore. The same information is accessible through the target
20645 @bazel_tools//tools/osx:current_xcode_config: point an implicit
20646 attribute to it (i.e.
20647 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
20648 nfig")) then use
20649 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].minimum_o
20650 s_for_platform_type .
20651 - ctx.fragments.apple.sdk_version_for_platform is not supported
20652 anymore. The same information is accessible through the target
20653 @bazel_tools//tools/osx:current_xcode_config: point an implicit
20654 attribute to it (i.e.
20655 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
20656 nfig")) then use
20657 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].sdk_versi
20658 on_for_platform .
20659 - --javabase=<absolute path> and --host_javabase=<absolute path>
20660 are not supported anymore. If you need this functionality
20661 java_runtime_suite(name="suite", default=":runtime")
20662 java_runtime(name="runtime", java_home=<path to the JDK>) is an
20663 alternative.
20664 - The flag --incompatible_descriptive_string_representations is no
20665 longer available, old style string representations of objects are
20666 not supported
20667 anymore.
20668 - The flag --incompatible_disallow_set_constructor is no longer
20669 available, the deprecated `set` constructor is not available
20670 anymore.
20671 - += on lists now mutates them. `list1 += list2` is now equivalent
20672 to `list1.extend(list2)` and not equivalent to `list1 = list1 +
20673 list2` anymore.
20674 - the target_apple_env and apple_host_system_env methods on
20675 ctx.fragments.apple are not supported anymore. The same
20676 information is accessible through apple_common.target_apple_env
20677 and apple_common.apple_host_system_env . They need the Xcode
20678 configuration as an argument, which can be obtained by declaring
20679 an implicit dependency on it (i.e.
20680 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
20681 nfig")) and then calling e.g.
20682 apple_common.apple_host_system_env(ctx.attr._xcode_config[apple_co
20683 mmon.XcodeVersionConfig]).
20684 - C++ toolchain identifiers are not in the name of the output
20685 directory anymore.
20686 - Selecting on "xcode_version" and
20687 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
20688 What was config_setting(values={"$FOO_version": $VALUE}) is now
20689 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
20690 flag": $VALUE}).
20691 - Selecting on "xcode_version" and
20692 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
20693 What was config_setting(values={"$FOO_version": $VALUE}) is now
20694 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
20695 flag": $VALUE}).
20696 - The flag --incompatible_disallow_set_constructor is no longer
20697 available, the deprecated `set` constructor is not available
20698 anymore.
20699 - Selecting on "xcode_version" and
20700 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
20701 What was config_setting(values={"$FOO_version": $VALUE}) is now
20702 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_versi...
20703
20704New features:
20705
20706 - runfiles, sh: Shell scripts may now depend on
20707 //src/tools/runfiles:runfiles_sh_lib and source runfiles.sh. The
20708 script defines the `rlocation` function which returns runfile
20709 paths on every platform.
20710 - In addition to $(location), Bazel now also supports $(rootpath)
20711 to obtain
20712 the root-relative path (i.e., for runfiles locations), and
20713 $(execpath) to
20714 obtain the exec path (i.e., for build-time locations)
20715
20716Important changes:
20717
20718 - android_binary now supports custom debug keys via the debug_key
20719 attribute.
20720 - Updated Android proguard to 5.3.3. It now works with android-24+.
20721 - --experimental_use_parallel_android_resource_processing and
20722 --experimental_android_use_nocompress_extensions_on_apk are
20723 removed. These features are fully rolled out.
20724 - Fixes #2574
20725 - Fixes #3834
20726 - Enable experimental UI by default.
20727 - .
20728 RELNOTES: None.
20729 RELNOTES: No.
20730 - Add memory profiler.
20731 - [Bazel] {java,cc}_proto_library now look for dependencies in
20732 @com_google_protobuf, instead of in @com_google_protobuf_$LANG
20733 - Improved merge.sh script in cookbook.
20734 - Fixing regression to --experimental_remote_spawn_cache
20735 - Support for linker scripts in NativeDepsHelper (e.g.,
20736 android_binary)
20737 - Skylark semantics flags now affect WORKSPACE files and repository
20738 rules.
20739 - ctx.outputs.executable is deprecated. Use DefaultInfo(executable
20740 = ...) instead.
20741 - Update "mirror.bazel.build" urls to use https.
20742 - Improve --config logging when --announce_rc is present.
20743 - Document interaction between test_suite and target exclusions
20744 - Replace version numbers for Bazel installers with "<version>"
20745 (because this will change often)
20746 - Published command lines should have improved lists of effective
20747 options.
20748 - --incremental_dexing_binary_types has been removed. All builds
20749 are supported by incremental dexing (modulo proguard and some
20750 blacklisted dx flags).
20751 - Document --host_javabase, --host_java_toolchain
20752
Bazel Release System76b6d0a2017-10-18 14:34:11 +020020753## Release 0.7.0 (2017-10-18)
20754
20755```
20756Baseline: 5cc6246d429f7d9119b97ce263b4fd6893222e92
20757
20758Cherry picks:
20759 + e79a1107d90380501102990d82cbfaa8f51a1778:
20760 Windows,bootstrapping: fix build_windows_jni.sh
20761```
20762
20763Incompatible changes:
20764
20765 - The --output=location flag to 'bazel query' cannot be used with
20766 query expressions that involve the 'buildfiles' or 'loadfiles'
20767 operators. This also applies to 'genquery' rules.
20768 - Operators for equality, comparison, 'in' and 'not in' are no
20769 longer associative,
20770 e.g. x < y < z is now a syntax error. Before, it was parsed
20771 as: (x < y) < z.
20772 - In strings, octal sequences greater than \377 are now forbidden
20773 (e.g. "\\600").
20774 Previously, Blaze had the same behavior as Python 2, where
20775 "\\450" == "\050".
20776 - Using tabulation for identation is now fobidden in .bzl files
20777 - `load` is now a language keyword, it cannot be used as an
20778 identifier
20779 - lvalues must have define at least one variable (i.e. we forbid
20780 `[] = f()`).
20781 - Fixed a bug whereby multiple load() statements could appear on
20782 the same line
20783 - -extra_checks:off is no longer supported; use
20784 -XepDisableAllChecks instead
20785 - java_common.java_toolchain_attr is removed. Depend on the
20786 java_toolchain_alias() rule to accomplish the same thing.
20787 - cc_common.cc_toolchain_attr and java_common.java_runtime_attr are
20788 not supported anymore and were replaced with the
20789 cc_toolchain_alias() and java_runtime_alias() rules.
20790 - Noop flag --deprecated_generate_xcode_project deleted.
20791 - Objects in Skylark are converted to strings in a more descriptive
20792 and less harmful way (they don't leak information that shouldn't
20793 be accessed by Skylark code, e.g. nondeterministic memory addresses
20794 of objects).
20795 - `set` is deprecated in BUILD and .bzl files, please use `depset`
20796 instead. Ordering names have also been changed, please use "default",
20797 "postorder", "preorder", and "topological" instead of "stable",
20798 "compile", "naive_link", and "link" correspondingly.
20799 - Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is
20800 an error.
20801 - Keyword-only syntax in a function definition is now forbidden
20802 e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`
20803 - --incompatible_comprehension_variables_do_not_leak defaults to
20804 "true."
20805 Iteration variable becomes inaccessible after a list/dict
20806 comprehension.
20807 - @bazel_tools//tools/build_defs/docker:docker.bzl is no longer
20808 available, please see https://github.com/bazelbuild/rules_docker.
20809
20810New features:
20811
20812 - Zipped LLVM profiles are now supported.
20813 - LIPO maps to ThinLTO for LLVM builds.
20814 - Change to handle LLVM FDO zipped profile contents correctly.
20815 - Do not disable fully dynamic linking with ThinLTO when invoked
20816 via LIPO options.
20817 - There is now a 'siblings' query function. See the query
20818 documentation for more details.
20819 - Added the print_action command, which outputs the
20820 actions needed to build a given target in the form of an
20821 ExtraActionSummary proto in text format.
20822 - android_binary now supports proguard_apply_dictionary to specify
20823 a custom dictionary to use for choosing names to obfuscate
20824 classes and members to.
20825
20826Important changes:
20827
20828 - Windows: bazel clean --expunge works
20829 - First argument of 'load' should be a label. Path syntax is
20830 deprecated (label should start with '//' or ':').
20831 - Octal prefix '0' is deprecated in favor of '0o' (use 0o777
20832 instead of 0777).
20833 - The extension_safe attribute of apple_binary no longer validates
20834 transitive dependencies are compiled against extension_safe APIs.
20835 - Parentheses around the tuple are now mandatory in [a for b in c
20836 if 1, 2]
20837 - Adjust the thresholds for --test_verbose_timeout_warnings so that
20838 it can recommending timeout increases and won't recommend
20839 timeouts that are too close to the actual timeout.
20840 - Iterating on a `depset` object is deprecated. If you need an
20841 iterable, call the `.to_list()` method first.
20842 - Bazel now uses tools from action_configs in Crosstool by default
20843 (as oposed to using top level tools).
20844 - Incremental dexing errors on combination of --multidex=off and
20845 either --main-dex-list or --minimal-main-dex.
20846 - When using the dictionary literal syntax, it is now an error to
20847 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
20848 - New property on android_sdk: aapt2
20849 Choose the version of aapt on android_binary
20850 - Add idl_preprocessed attribute to android_library, so that
20851 preprocessed aidl files can be passed to android_library for
20852 compiling
20853 - Bazel's remote_worker backend for remote execution supports
20854 sandboxing on Linux now. Check
20855 https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w
20856 orker/README.md for details.
20857 - Allows flags that expand to take values.
20858 - Make querying attributes formed by selector lists of list types
20859 more efficient by no longer listing every possible combination of
20860 attribute value but by more compactly storing the possible values
20861 of the list.
20862 - writing build events to a file is no longer experimental
20863 - set --rewrite_calls_to_long_compare to false by default.
20864 - ObjC and C++ coverage feature is unified under name 'coverage'
20865 - Enable --incremental_dexing for Android builds by default. Note
20866 that some dexopts are incompatible with incremental dexing,
20867 including --force-jumbo.
20868 - Evaluation will soon use checked arithmetics and throw an error
20869 instead of overflow/underflow.
20870 - Implicit iteration in the CROSSTOOL has been removed, use
20871 explicit 'iterate_over' message.
20872 - Add option for Android specific grte_top
20873 - Crosstool patches are only applied if the toolchain doesn't define
20874 'no_legacy_features' feature.
20875 - 'platform_type' is now a mandatory attribute on apple_binary and
20876 apple_static_library rules.
20877 If this change breaks your build, feel free to add platform_type
20878 = 'ios' to any apple_binary and apple_static_library
20879 targets in your project, as this was the previous default
20880 behavior.
20881 - Remove apple_watch2_extension build rule. Users should be using
20882 the skylark watchos_application and watchos_extension rules.
20883 https://github.com/bazelbuild/rules_apple has details.
20884 - Check stderr to detect if connected to a terminal. Deprecate
20885 --isatty.
20886 - Commands that shut down the server (like "shutdown") now ensure
20887 that the server process has terminated before the client process
20888 terminates.
20889 - Remove apple_watch1_extension and apple_watch_extension_binary
20890 rules. Users should be using the skylark watchos_application and
20891 watchos_extension rules.
20892 https://github.com/bazelbuild/rules_apple has details.
20893 - Windows: Wrapper-less CROSSTOOL becomes default now.
20894 set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.
20895 - Ignore --glibc in the Android transition.
20896 - Remove --experimental_android_use_singlejar_for_multidex.
20897 - nocopts now also filter copts
20898 - 'strip' action is now configured via feature configuration
20899 - The Build Event Service (BES) client now properly supports
20900 Google Applicaton Default Credentials.
20901 - Flags from action_config get added first to the command line
20902 first, before the flags from features.
20903 - update dexing tools to Android SDK 26.0.1
20904 - Bazel Android support now requires build-tools 26.0.1 or later.
20905 - `bazel info output_path` no longer relies on the root directory
20906 filename being equal to the workspace name.
20907 - The `print` function now prints debug messages instead of
20908 warnings.
20909 - speedup of incremental dexing tools
20910 - --announce_rc now controls whether bazelrc startup options are
20911 printed to stderr.
20912 - Removing a few unused objc_provider keys.
20913 - Improved logging when workers have to be restarted due to its
20914 files having changed.
20915 - Top-level `if` statements are now forbidden.
20916 - Java protos are compiled to Java 7 bytecode.
20917 - All Android builds now use the desugar tool to support some Java
20918 8 features by default. To disable, use the --nodesugar_for_android flag.
20919 - Skylark-related options may now appear as "common" command
20920 options in the .bazelrc
20921 - Python is now required to build bazel.
20922 - New --build_runfile_manifests flag controls production of
20923 runfiles manifests.
20924 - Enable debug info for Java builds
20925 - Allow java_lite_proto_library in the deps of android rules.
20926 - .so files in APKs will be memory-page aligned when
20927 android_binary.nocompress_extensions contains ".so" and
20928 --experimental_android_use_nocompress_extensions_on_apk is
20929 specified.
20930 - Skylark providers can specify allowed fields and their
20931 documentation.
20932 - Support ctx.actions.args() for more efficient Skylark command
20933 line construction.
20934 - The remote HTTP/1.1 caching client (--remote_rest_cache) now
20935 distinquishes between action cache and CAS. The request URL for
20936 the action cache is prefixed with 'ac' and the URL for the CAS
20937 is prefixed with 'cas'.
20938 - `JavaInfo` is a preferred alias to `java_common.provider`.
20939 - J2ObjC version updated to 2.0.3.
20940 - A new Java coverage implementation is available. Makes possible
20941 coverage for Skylark JVM rules.
20942 - Make proguard_apply_dictionary also apply to class and package
20943 obfuscation, not just class members.
20944 - android_binary.nocompress_extensions now applies to all files in
20945 the APK, not just resources and assets.
20946 - The apple_genrule rule that is distributed with Bazel has been
20947 deleted. Users who wish to use genrules with Xcode's
20948 DEVELOPER_DIR set should use the rules in
20949 https://github.com/bazelbuild/rules_apple instead.
20950 - The swift_library rule that is distributed with Bazel has been
20951 deleted. Users who wish to compile Swift should use the rules in
20952 https://github.com/bazelbuild/rules_apple instead.
20953 - The Build Event Protocol's File.uri field is now properly
20954 encoded according to RFC2396.
20955 - Deprecated: Using the android_library.deps attribute to
20956 implicitly export targets to dependent rules. If your code is
20957 using this feature, Bazel will raise a warning. To fix, please
20958 use android_library.exports to explicitly specify exported
20959 targets. Run with
20960 --experimental_allow_android_library_deps_without_srcs=false to
20961 ensure forward compatibility when this feature is removed in a
20962 future release.
20963 - java_common.create_provider is now supported with creating ijars
20964 by default. This introduces incompatibilities for existing users.
20965 Please set use_ijar=False if you don't want to use ijars.
20966 - Tests can now write files to TEST_UNDECLARED_OUTPUTS_DIR and
20967 TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR and these will be
20968 reflected under bazel-testlogs.
20969 - remove unused --host_incremental_dexing flag
20970 - Stop using --undefined dynamic_lookup in Apple links. Enables
20971 unresolved symbol errors.
20972 - All test output files included for cached, uncached, and multiple
20973 attempt tests.
20974 - Android rules no longer restrict the manifest file to be named
20975 "AndroidManifest.xml".
20976 - Boolean flag values will now get normalized to 1 or 0 in
20977 canonicalize-flags output.
20978 - added experimental --use_new_category_enum to the help command to
20979 output options grouped by the new type of category.
20980 - Expose output jars and jdeps in java_common.provider, when
20981 available.
20982 - android_library targets are no longer allowed to use deps to
20983 export targets implicitly; please use android_library.exports
20984 instead.
20985 - New depset API
20986 - apple_binary and apple_static_library no longer support
20987 compilation attributes such as 'srcs'. If this breaks any
20988 existing targets, you may migrate all such attributes to a new
20989 objc_library target and depend on that objc_library target via
20990 the 'deps' attribute of apple_binary or apple_static_library.
20991
Bazel Release Systemed0ebc02017-10-05 23:52:25 +020020992## Release 0.6.1 (2017-10-05)
20993
20994```
20995Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689
20996
20997Cherry picks:
20998 + a615d288b008c36c659fdc17965207bb62d95d8d:
20999 Rollback context.actions.args() functionality.
21000 + 7b091c1397a82258e26ab5336df6c8dae1d97384:
21001 Add a global failure when a test is interrupted/cancelled.
21002 + 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120:
21003 Cleanups for Skylark tracebacks
21004 + cc9c2f07127a832a88f27f5d72e5508000b53429:
21005 Remove the status xml attribute from AntXmlResultWriter
21006 + 471c0e1678d0471961f1dc467666991e4cce3846:
21007 Release 0.6.0 (2017-09-28)
21008 + 8bdd409f4900d4574667fed83d86b494debef467:
21009 Only compute hostname once per server lifetime
21010 + 0bc9b3e14f305706d72180371f73a98d6bfcdf35:
21011 Fix bug in NetUtil caching.
21012```
21013
21014Important changes:
21015 - Only compute hostname once per server lifetime
21016
Bazel Release System471c0e12017-09-28 16:36:12 +020021017## Release 0.6.0 (2017-09-28)
21018
21019```
21020Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689
21021
21022Cherry picks:
21023 + a615d288b008c36c659fdc17965207bb62d95d8d:
21024 Rollback context.actions.args() functionality.
21025 + 7b091c1397a82258e26ab5336df6c8dae1d97384:
21026 Add a global failure when a test is interrupted/cancelled.
21027 + 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120:
21028 Cleanups for Skylark tracebacks
21029 + cc9c2f07127a832a88f27f5d72e5508000b53429:
21030 Remove the status xml attribute from AntXmlResultWriter
21031```
21032
21033Incompatible changes:
21034
21035 - Noop flag --deprecated_generate_xcode_project deleted.
21036 - Objects in Skylark are converted to strings in a more descriptive
21037 and less harmful way (they don't leak information that shouldn't
21038 be accessed by Skylark code, e.g. nondeterministic memory addresses
21039 of objects).
21040 - `set` is deprecated in BUILD and .bzl files, please use `depset`
21041 instead. Ordering names have also been changed, please use
21042 "default", "postorder", "preorder", and "topological" instead of
21043 "stable", "compile", "naive_link", and "link" correspondingly.
21044 - Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is
21045 an error.
21046 - Keyword-only syntax in a function definition is now forbidden
21047 e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`
21048 - --incompatible_comprehension_variables_do_not_leak defaults to
21049 "true."
21050 Iteration variable becomes inaccessible after a list/dict
21051 comprehension.
21052
21053New features:
21054
21055 - There is now a 'siblings' query function. See the query
21056 documentation for more details.
21057 - Added the print_action command, which outputs the
21058 actions needed to build a given target in the form of an
21059 ExtraActionSummary proto in text format.
21060 - android_binary now supports proguard_apply_dictionary to specify
21061 a custom dictionary to use for choosing names to obfuscate
21062 classes and members to.
21063
21064Important changes:
21065
21066 - 'strip' action is now configured via feature configuration
21067 - Flags from action_config get added first to the command line
21068 first,
21069 before the flags from features.
21070 - `bazel info output_path` no longer relies on the root directory
21071 filename being equal to the workspace name.
21072 - The `print` function now prints debug messages instead of
21073 warnings.
21074 - speedup of incremental dexing tools
21075 - --announce_rc now controls whether bazelrc startup options are
21076 printed to stderr.
21077 - Removing a few unused objc_provider keys.
21078 - Improved logging when workers have to be restarted due to its
21079 files having changed.
21080 - Top-level `if` statements are now forbidden.
21081 - Java protos are compiled to Java 7 bytecode.
21082 - All Android builds now use the desugar tool to support some Java
21083 8 features by default. To disable, use the
21084 --nodesugar_for_android flag.
21085 - Skylark-related options may now appear as "common" command
21086 options in the .bazelrc
21087 - Python is now required to build bazel.
21088 - When the lvalue of an augmented assignment is a list, we now
21089 throw an error
21090 before evaluating the code (e.g. `a, b += 2, 3`).
21091 - New --build_runfile_manifests flag controls production of
21092 runfiles manifests.
21093 - Enable debug info for Java builds
21094 - Allow java_lite_proto_library in the deps of android rules.
21095 - .so files in APKs will be memory-page aligned when
21096 android_binary.nocompress_extensions contains ".so" and
21097 --experimental_android_use_nocompress_extensions_on_apk is
21098 specified.
21099 - Skylark providers can specify allowed fields and their
21100 documentation.
21101 - Support ctx.actions.args() for more efficient Skylark command
21102 line construction.
21103 - The remote HTTP/1.1 caching client (--remote_rest_cache) now
21104 distinquishes between action cache and CAS. The request URL for
21105 the action cache is prefixed with 'ac' and the URL for the CAS
21106 is prefixed with 'cas'.
21107 - `JavaInfo` is a preferred alias to `java_common.provider`.
21108 - J2ObjC version updated to 2.0.3.
21109 - A new Java coverage implementation is available. Makes possible
21110 coverage for Skylark JVM rules.
21111 - Make proguard_apply_dictionary also apply to class and package
21112 obfuscation, not just class members.
21113 - When using the dictionary literal syntax, it is now an error to
21114 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
21115 - android_binary.nocompress_extensions now applies to all files in
21116 the APK, not just resources and assets.
21117 - The apple_genrule rule that is distributed with Bazel has been
21118 deleted. Users who wish to use genrules with Xcode's
21119 DEVELOPER_DIR set should use the rules in
21120 https://github.com/bazelbuild/rules_apple instead.
21121 - The swift_library rule that is distributed with Bazel has been
21122 deleted. Users who wish to compile Swift should use the rules in
21123 https://github.com/bazelbuild/rules_apple instead.
21124
Bazel Release System5371d132017-08-25 11:24:06 +020021125## Release 0.5.4 (2017-08-25)
21126
21127```
21128Baseline: 6563b2d42d29196432d5fcafa0144b8371fbb028
21129
21130Cherry picks:
21131 + d4fa181f8607c35230b7efa1ce94188b51508962:
21132 Use getExecPathString when getting bash_main_file
21133 + 837e1b3d4859140d29aaa6bbab8fbb008e6d701e:
21134 Windows, sh_bin. launcher: export runfiles envvars
21135 + fe9ba893c0ebec19228086356af5fa8d81f2809b:
21136 grpc: Consolidate gRPC code from BES and Remote Execution. Fixes
21137 #3460, #3486
21138 + e8d4366cd374fba92f1425de0d475411c8defda4:
21139 Automated rollback of commit
21140 496d3ded0bce12b7371a93e1183ba30e6aa88032.
21141 + 242a43449dd44a22857f6ce95f7cc6a7e134d298:
21142 bes,remote: update default auth scope.
21143 + 793b409eeae2b42be7fed58251afa87b5733ca4d:
21144 Windows, sh_bin. launcher: fix manifest path
21145 + 7e4fbbe4ab3915a57b2187408c3909e5cd6c6013:
21146 Add --windows_exe_launcher option
21147 + 91fb38e92ace6cf14ce5da6527d71320b4e3f3d2:
21148 remote_worker: Serialize fork() calls. Fixes #3356
21149 + b79a9fcd40f448d3aebb2b93a2ebe80d09b38408:
21150 Quote python_path and launcher in
21151 python_stub_template_windows.txt
21152 + 4a2e17f85fc8450aa084b201c5f24b30010c5987:
21153 Add build_windows_jni.sh back
21154 + ce61d638197251f71ed90db74843b55d9c2e9ae5:
21155 don't use methods and classes removed in upstream dx RELNOTES:
21156 update dexing tools to Android SDK 26.0.1
21157 + 5393a4996d701fa192964a35cbb75e558a0599c0:
21158 Make Bazel enforce requirement on build-tools 26.0.1 or later.
21159 + 5fac03570f80856c063c6019f5beb3bdc1672dee:
21160 Fix --verbose_failures w/ sandboxing to print the full command
21161 line
21162 + f7bd1acf1f96bb7e3e19edb9483d9e07eb5af070:
21163 Only patch in C++ compile features when they are not already
21164 defined in crosstool
21165 + d7f5c120417bc2d2344dfb285322355f225d9153:
21166 Bump python-gflags to 3.1.0, take two
21167 + 3cb136d5451e9d8af58f9a99990cad0592df101a:
21168 Add python to bazel's dockerfiles
21169```
21170
21171New features:
21172
21173 - Do not disable fully dynamic linking with ThinLTO when invoked
21174 via LIPO options.
21175
21176Important changes:
21177
21178 - Ignore --glibc in the Android transition.
21179 - Remove --experimental_android_use_singlejar_for_multidex.
21180 - nocopts now also filter copts
21181 - The Build Event Service (BES) client now properly supports
21182 Google Applicaton Default Credentials.
21183 - update dexing tools to Android SDK 26.0.1
21184 - Bazel Android support now requires build-tools 26.0.1 or later.
21185 - Fix a bug in the remote_worker that would at times make it crash on Linux. See #3356
21186 - The java_proto_library rule now supports generated sources. See #2265
21187
Bazel Release System195a7a82017-07-27 20:27:32 +020021188## Release 0.5.3 (2017-07-27)
21189
21190```
21191Baseline: 88518522a18df5788736be6151fc67992efe2aad
21192
21193Cherry picks:
21194 + 820a46af10808396873c36d0f331e533118cf0c6:
21195 Automated rollback of commit
21196 6d6e87297fe8818e4c374fdfabfbcf538bca898a.
21197 + ccfb2df69ecf4746f5a15e1295af995c3a45aa94:
21198 Allow py_binary to be the executable of a Skylark action or any
21199 SpawnAction on Windows.
21200 + 06534911696838e720c8681f6f568c69d28da65e:
21201 Fix string representation for the Root class
21202 + cd159bcee72a7f377621b45409807231a636f9e2:
21203 sandbox: Allow UNIX sockets on macOS even when block-network is
21204 used.
21205 + ad73cba3caa2e08ad61ea9ca63f9111cde1f48d1:
21206 Fix python_stub_template.txt to be compatible with Python 2.4.
21207 + 9a63aff8bb771af8917903fbbc9df3b708e2c0ed:
21208 Create Windows ZIP release artifact using Bazel
21209 + 5e576637b5705aff0a7bf56b5077463dffcd712f:
21210 Automated rollback of commit
21211 820a46af10808396873c36d0f331e533118cf0c6.
21212 + b6e29ca217b02c3ba499b85479a3830f59c9b9b6:
21213 Use the correct function to generate the release notes
21214 + 0f3481ba6364f24ef76b839bdde06ae7883c9bd9:
21215 Include <cinttypes> instead of <stdint.h>
21216```
21217
21218Incompatible changes:
21219
21220 - The --output=location flag to 'bazel query' cannot be used with
21221 query expressions that involve the 'buildfiles' or 'loadfiles'
21222 operators. This also applies to 'genquery' rules.
21223 - Operators for equality, comparison, 'in' and 'not in' are no
21224 longer associative, e.g. x < y < z is now a syntax error.
21225 Before, it was parsed as: (x < y) < z.
21226 - In strings, octal sequences greater than \377 are now forbidden
21227 (e.g. "\\600"). Previously, Blaze had the same behavior as Python 2,
21228 where "\\450" == "\050".
21229 - Using tabulation for identation is now fobidden in .bzl files
21230 - `load` is now a language keyword, it cannot be used as an
21231 identifier
21232 - lvalues must have define at least one variable (i.e. we forbid
21233 `[] = f()`).
21234 - Fixed a bug whereby multiple load() statements could appear on
21235 the same line
21236 - -extra_checks:off is no longer supported; use
21237 -XepDisableAllChecks instead
21238 - java_common.java_toolchain_attr is removed. Depend on the
21239 java_toolchain_alias() rule to accomplish the same thing.
21240 - cc_common.cc_toolchain_attr and java_common.java_runtime_attr are
21241 not supported anymore and were replaced with the
21242 cc_toolchain_alias() and java_runtime_alias() rules.
21243
21244New features:
21245
21246 - Zipped LLVM profiles are now supported.
21247 - LIPO maps to ThinLTO for LLVM builds.
21248 - Change to handle LLVM FDO zipped profile contents correctly.
21249
21250Important changes:
21251
21252 - Windows: bazel clean --expunge works
21253 - First argument of 'load' should be a label. Path syntax is
21254 deprecated (label should start with '//' or ':').
21255 - Octal prefix '0' is deprecated in favor of '0o' (use 0o777
21256 instead of 0777).
21257 - The extension_safe attribute of apple_binary no longer validates
21258 transitive dependencies are compiled against extension_safe APIs.
21259 - Parentheses around the tuple are now mandatory in [a for b in c
21260 if 1, 2]
21261 - Adjust the thresholds for --test_verbose_timeout_warnings so that
21262 it can recommending timeout increases and won't recommend
21263 timeouts that are too close to the actual timeout.
21264 - Iterating on a `depset` object is deprecated. If you need an
21265 iterable, call the `.to_list()` method first.
21266 - Bazel now uses tools from action_configs in Crosstool by default
21267 (as oposed to using top level tools).
21268 - Incremental dexing errors on combination of --multidex=off and
21269 either --main-dex-list or --minimal-main-dex.
21270 - When using the dictionary literal syntax, it is now an error to
21271 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
21272 - New property on android_sdk: aapt2
21273 Choose the version of aapt on android_binary
21274 - Add idl_preprocessed attribute to android_library, so that
21275 preprocessed aidl files can be passed to android_library for
21276 compiling
21277 - Bazel's remote_worker backend for remote execution supports
21278 sandboxing on Linux now. Check
21279 https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w
21280 orker/README.md for details.
21281 - Allows flags that expand to take values.
21282 - Make querying attributes formed by selector lists of list types
21283 more efficient by no longer listing every possible combination of
21284 attribute value but by more compactly storing the possible values
21285 of the list.
21286 - Writing build events to a file is no longer experimental
21287 - set --rewrite_calls_to_long_compare to false by default.
21288 - ObjC and C++ coverage feature is unified under name 'coverage'
21289 - Enable --incremental_dexing for Android builds by default. Note
21290 that some dexopts are incompatible with incremental dexing,
21291 including --force-jumbo.
21292 - Evaluation will soon use checked arithmetics and throw an error
21293 instead of overflow/underflow.
21294 - Implicit iteration in the CROSSTOOL has been removed, use
21295 explicit 'iterate_over' message.
21296 - Add option for Android specific grte_top
21297 - Crosstool patches are only applied if the toolchain doesn't define
21298 'no_legacy_features' feature.
21299 - 'platform_type' is now a mandatory attribute on apple_binary and
21300 apple_static_library rules.
21301 If this change breaks your build, feel free to add platform_type
21302 = 'ios' to any apple_binary and apple_static_library
21303 targets in your project, as this was the previous default
21304 behavior.
21305 - Remove apple_watch2_extension build rule. Users should be using
21306 the skylark watchos_application and watchos_extension rules.
21307 https://github.com/bazelbuild/rules_apple has details.
21308 - Check stderr to detect if connected to a terminal. Deprecate
21309 --isatty.
21310 - Commands that shut down the server (like "shutdown") now ensure
21311 that the server process has terminated before the client process
21312 terminates.
21313 - Remove apple_watch1_extension and apple_watch_extension_binary
21314 rules. Users should be using the skylark watchos_application and
21315 watchos_extension rules.
21316 https://github.com/bazelbuild/rules_apple has details.
21317 - Windows: Wrapper-less CROSSTOOL becomes default now.
21318 set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.
21319
Bazel Release System7b851222017-06-27 15:08:47 +020021320## Release 0.5.2 (2017-06-27)
21321
21322```
21323Baseline: e78ad83ded6e9c6d639793827e27b6570e6e9f65
21324
21325Cherry picks:
21326 + 68028317c1d3d831a24f90e2b25d1410ce045c54:
21327 experimental UI: move stopUpdateThread() out of synchronized,
21328 again
21329 + 019935dfbb61e61d08d1351b0365fb4e2d0df305:
21330 Fix bug in URI computation in RemoteModule
21331 + e9424cf9b9d72b98594966d5ac0f15bb018ec639:
21332 Automated rollback of commit
21333 7dec00574aa91327693f6ba7e90bff5bc834253e.
21334 + 9eea05d068a06ab642dd9d86d46ee5fa2e36b02e:
21335 Switching to Watcher API instead of wait_for_completion, in
21336 preparation for deprecating the wait_for_completion field.
21337 + 89659810e3048782dfb5e308e39aa8a0727e464e:
21338 Set correct execroot for info
21339 + 716b527266f47f59a2b7fb2e5fc52cb45e1691b1:
21340 Only create a single per-build instance of the remote cache /
21341 executor
21342 + 1d82d199f82409f217a42bcefebb96f723f91caa:
21343 protobuf: Update protobuf jars to be binary compatible with Java
21344 6. Fixes #3198
21345 + 524b90d9e5acc4fa568f215c9415eaa902e979f8:
21346 Change CAS URI to use the "bytestream" scheme instead of being
21347 scheme-less
21348 + 4929ad79865f8c13ef3b33c827040f4a037e4afe:
21349 Automated g4 rollback of commit
21350 923d7df521f67d031b288180560848bd35e20976.
21351 + 68b9a7e2dc17e32b194238d287e79bee1ba035b9:
21352 Automated g4 rollback of commit
21353 da56606563ee9df438db93392f681bf2abb4ac97.
21354 + 2ba693ffbe824136a0ca5f47d34710612f6302c3:
21355 Automated rollback of commit
21356 ce7c4deda60a307bba5f0c9421738e2a375cf44e.
21357```
21358
21359Incompatible changes:
21360
21361 - Blaze no longer generates xcode projects. Use tulsi.bazel.build
21362 instead.
21363
21364Important changes:
21365
21366 - Keyword-only syntax in a function definition is deprecated
21367 (e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`) and will be
21368 removed in the future.
21369 - Attempting to build an Android target without setting up
21370 android_sdk_repository will now produce a helpful error message.
21371 - Adds a sha256 attribute to git_repository and new_git_repository.
21372 This can only be used if the remote is a public GitHub
21373 repository. It forces
21374 Bazel to download the repository as a tarball, which will often
21375 be faster and
21376 more robust than cloning it.
21377 - Sandboxing is now enabled by default on FreeBSD (via
21378 processwrapper-sandbox).
21379 - android_test may use manifest placeholders with 'manifest_merger
21380 = "android"'.
21381 - load() statements should be called at the top of .bzl files,
21382 before any
21383 other statement. This convention will be enforced in the future.
21384 - Effectively remove sysroot from CppConfiguration and allow it to
21385 use select statements.
21386 - proto_library.strict_proto_deps no longer exists.
21387 - Flag --explicit_jre_deps is now a noop.
21388 - The 'legacy' Android manifest merger is deprecated. Please
21389 upgrade to the 'android' manifest merger, which is the same
21390 merger used by Gradle.
21391 https://developer.android.com/studio/build/manifest-merge.html
21392 - Using $(CC_FLAGS) in a GenRule adds a dependency to the c++
21393 toolchain
21394 - add one-version enforcement to android_local_test
21395 - Skylark support (apple_common.dotted_version(string)) for
21396 building DottedVersion objects to interface with native apple
21397 rules
21398 - CC_FLAGS can be defined using 'cc-flags-make-variable' action_config in
21399 CROSSTOOL
21400 - ios_framework native rule has been removed. This rule had been
21401 essentially broken for several months now; users should be using
21402 the skylark ios framework rule.
21403 https://github.com/bazelbuild/rules_apple has details.
21404 - Clean command no longer uses boolean values for --async,
21405 --expunge, and --expunge_async options.
21406 - Partially fixes external J2ObjC support.
21407 - '--aspects' can occur more than once on the command line.
21408 - --no_ prefix no longer recognized.
21409 - Use action_config in crosstool for static library archiving,
21410 remove ar_flag.
21411 - Added a new flag --sandbox_writable_path, which asks the sandbox
21412 to
21413 make an existing directory writable when running actions.
21414 - bazel test now also computes a default instrumentation filter if
21415 --collect_code_coverage is enabled
21416 - n/na
21417 - In .bzl files, top-level `if` statements are deprecated and will
21418 be forbidden
21419 in the future. Move them in a function body instead (or use a
21420 conditional
21421 expression instead: `x if condition else y`).
21422 - ios_device and ios_test are deprecated. Please use the new testing
21423 rules in https://github.com/bazelbuild/rules_apple instead.
21424 - bazel query --output package now displays packages from external
21425 repository with the format "@reponame//package". Packages in the
21426 main repository continue to have the format "package".
21427 - ctx.expand_make_variables is deprecated.
21428 - Bazel posts links to the CAS to the BEP if remote caching /
21429 execution is enabled
21430 - `bazel info execution_root` returns the corrrect directory name
21431 for the execution root.
21432
Bazel Release System63222de2017-06-06 11:32:04 +020021433## Release 0.5.1 (2017-06-06)
21434
21435```
21436Baseline: f3ae88ee043846e7acdffd645137075a4e72c573
21437
21438Cherry picks:
21439 + c58ba098526b748f9c73e6229cafd74748205aa1:
21440 Release to GCS: put the final release in its own directory
21441 + 0acead4ea3631240659836ce6ecd6d7f67fd352b:
21442 Update protobuf to latest master at a64497c and apply
21443 @laszlocsomor's latest changes from
21444 https://github.com/google/protobuf/pull/2969 on top of it.
21445 + d0242ce4a87929f2528f4602d0fb09d1ccfcea94:
21446 Make symlinks consistent
21447 + d953ca8b87a46decbce385cebb446ae0dd390881:
21448 Clean VanillaJavaBuilder output directories
21449 + 755669fb5de1f4e762f27c19776cac9f410fcb94:
21450 Pass all the environment variable to Bazel during bootstrapping
21451 + 6f041661ca159903691fcb443d86dc7b6454253d:
21452 Do not mark the JDK7 installer -without-jdk-installer
21453 + 720561113bfa702acfc2ca24ce3cc3fd7ee9c115:
21454 Fix #2958: Installer should not overwrite bazelrc
21455 + 511c35b46cead500d4e76706e0a709e50995ceba:
21456 Bootstrap: move the fail function to the top
21457 + 8470be1122825aae8ad0903dd1e1e2a90cce47d2:
21458 Clean up javac and Error Prone targets
21459 + 4a404de2c6c38735167e17ab41be45ef6fc4713a:
21460 Update javac version to 9-dev-r4023-2
21461 + 36ce4b433e19498a78c34540d5a166d4e0006b22:
21462 Update javac version to 9-dev-r4023-2
21463 + 38949b8526bdb3e6db22f3846aac87162c28c33f:
21464 Migrate off versioned javac and Error Prone targets
21465 + 1a57d298f8aa6ea8136d93223902104f2479cd2a:
21466 Re-enabling passing -sourcepath via javacopts.
21467 + eb565f408e03125e92d42b00756e519795be6593:
21468 Make make sure that msys build actually builds msys version
21469 + 39f328cf392056618d1a3ead4835a138b189a06d:
21470 Fix typo. Also do not override host_cpu for msvc.
21471 + 624802893f4fe72118f00a78452605d41a2e1c6f:
21472 Select correct JDK for windows_msys
21473 + c4f271d1a68366b6fa5ff38ea7d951b6a22af044:
21474 Automated g4 rollback of commit
21475 3e5edafa2a04a71cd3596e929e83222da725f3f9.
21476 + 926180997a0f296a5a009326aead887279ce0a90:
21477 Remove process-tools.cc which I forgot to delete during the last
21478 rollback.
21479 + baca6e4cb023649920871b74810927d304729e59:
21480 Fix #2982: Bazel installer should not check for installed JDK if
21481 using a bundled JDK.
21482 + 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842:
21483 Disable msys path conversion on Windows.
21484 + cc21998c299b4d1f97df37b961552ff8168da17f:
21485 Rollforward #2 of: Basic open-source crosstool to support
21486 targeting apple platform types.
21487 + 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f:
21488 Escape % in strings that will appear in Crosstool
21489 + 3b08f774e7938928e3a240a47a0a7554cdc8d50b:
21490 Adding feature for linking C Run-Time library on Windows
21491 + 3566474202d1978acfdcb7e5ff73ee03ea6f3df9:
21492 Do not use sed -E in bootstrap/compile.sh
21493 + c3cf7d917afd02d71de3800cd46ad8d14f1ddf55:
21494 Reverts non-xcode-available darwin crosstool generation.
21495```
21496
21497Important changes:
21498
21499 - Fixes regression in 0.5.0 requiring Xcode to build C++ on OSX.
21500
Bazel Release Systema3e26832017-05-26 14:11:07 +020021501## Release 0.5.0 (2017-05-26)
21502
21503```
21504Baseline: f3ae88ee043846e7acdffd645137075a4e72c573
21505
21506Cherry picks:
21507 + c58ba098526b748f9c73e6229cafd74748205aa1:
21508 Release to GCS: put the final release in its own directory
21509 + 0acead4ea3631240659836ce6ecd6d7f67fd352b:
21510 Update protobuf to latest master at a64497c and apply
21511 @laszlocsomor's latest changes from
21512 https://github.com/google/protobuf/pull/2969 on top of it.
21513 + d0242ce4a87929f2528f4602d0fb09d1ccfcea94:
21514 Make symlinks consistent
21515 + d953ca8b87a46decbce385cebb446ae0dd390881:
21516 Clean VanillaJavaBuilder output directories
21517 + 755669fb5de1f4e762f27c19776cac9f410fcb94:
21518 Pass all the environment variable to Bazel during bootstrapping
21519 + 6f041661ca159903691fcb443d86dc7b6454253d:
21520 Do not mark the JDK7 installer -without-jdk-installer
21521 + 720561113bfa702acfc2ca24ce3cc3fd7ee9c115:
21522 Fix #2958: Installer should not overwrite bazelrc
21523 + 511c35b46cead500d4e76706e0a709e50995ceba:
21524 Bootstrap: move the fail function to the top
21525 + 8470be1122825aae8ad0903dd1e1e2a90cce47d2:
21526 Clean up javac and Error Prone targets
21527 + 4a404de2c6c38735167e17ab41be45ef6fc4713a:
21528 Update javac version to 9-dev-r4023-2
21529 + 36ce4b433e19498a78c34540d5a166d4e0006b22:
21530 Update javac version to 9-dev-r4023-2
21531 + 38949b8526bdb3e6db22f3846aac87162c28c33f:
21532 Migrate off versioned javac and Error Prone targets
21533 + 1a57d298f8aa6ea8136d93223902104f2479cd2a:
21534 Re-enabling passing -sourcepath via javacopts.
21535 + eb565f408e03125e92d42b00756e519795be6593:
21536 Make make sure that msys build actually builds msys version
21537 + 39f328cf392056618d1a3ead4835a138b189a06d:
21538 Fix typo. Also do not override host_cpu for msvc.
21539 + 624802893f4fe72118f00a78452605d41a2e1c6f:
21540 Select correct JDK for windows_msys
21541 + c4f271d1a68366b6fa5ff38ea7d951b6a22af044:
21542 Automated g4 rollback of commit
21543 3e5edafa2a04a71cd3596e929e83222da725f3f9.
21544 + 926180997a0f296a5a009326aead887279ce0a90:
21545 Remove process-tools.cc which I forgot to delete during the last
21546 rollback.
21547 + baca6e4cb023649920871b74810927d304729e59:
21548 Fix #2982: Bazel installer should not check for installed JDK if
21549 using a bundled JDK.
21550 + 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842:
21551 Disable msys path conversion on Windows.
21552 + cc21998c299b4d1f97df37b961552ff8168da17f:
21553 Rollforward #2 of: Basic open-source crosstool to support
21554 targeting apple platform types.
21555 + 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f:
21556 Escape % in strings that will appear in Crosstool
21557 + 3b08f774e7938928e3a240a47a0a7554cdc8d50b:
21558 Adding feature for linking C Run-Time library on Windows
21559```
21560
21561Incompatible changes:
21562
21563 - Bazel's Linux sandbox no longer mounts an empty tmpfs on /tmp,
21564 instead the existing /tmp is mounted read-write. If you prefer
21565 to have a tmpfs on /tmp for sandboxed actions for increased
21566 hermeticity, please use the flag --sandbox_tmpfs_path=/tmp.
21567 - Converting artifacts to strings and printing them now return
21568 "File" instead of "Artifact" to be consistent with the type name.
21569 - The return type of depset.to_list() is now a list rather than a
21570 frozen list. (Modifying the list has no effect on the depset.)
21571 - Bazel now prints logs in single lines to java.log
21572 - --use_dash, --dash_url and --dash_secret are removed.
21573 - Remote repositories must define any remote repositories they
21574 themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
21575 defined
21576 in @x's WORKSPACE file).
21577 - Remote repositories must define any remote repositories they
21578 themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
21579 defined
21580 in @x's WORKSPACE file).
21581 - objc_xcodeproj has been removed, use tulsi.bazel.build instead.
21582
21583New features:
21584
21585 - If grte_top is a label, it can now follow non-configurable
21586 redirects.
21587 - Optional coverage_files attribute to cc_toolchain
21588 - "query --output=build" now includes select()s
21589 - Raw LLVM profiles are now supported.
21590
21591Important changes:
21592
21593 - Automatically generate Proguard mapping when resource shrinking
21594 and Proguard are enabled.
21595 - New rules in Bazel: proto_library, java_lite_proto_library,
21596 java_proto_library and cc_proto_library
21597 - Activate the "dead_strip" feature if objc binary stripping is
21598 enabled.
21599 - More stable naming scheme for lambda classes in desugared android
21600 code
21601 - Convert --use_action_cache to a regular option
21602 - Per-architecture dSYM binaries are now propagated by
21603 apple_binary's AppleDebugOutputsProvider.
21604 - Avoid factory methods when desugaring stateless lambdas for
21605 Android
21606 - desugar calls to Objects.requireNonNull(Object o) with
21607 o.getClass() for android
21608 - Add an --copy_bridges_from_classpath argument to android
21609 desugaring tool
21610 - Change how desugar finds desugared classes to have it working on
21611 Windows
21612 - Evaluation of commands on TargetsBelowDirectory patterns
21613 (e.g. //foo/...) matching packages that fail to load now report
21614 more
21615 detailed error messages in keep_going mode.
21616 - Allow to have several inputs and outputs
21617 - Repository context's execute() function can print stdout/stderr
21618 while running. To enable, pass quiet=False.
21619 - Bazel can now be built with a bundled version of the OpenJDK.
21620 This makes it possible to use Bazel on systems without a JDK, or
21621 where
21622 the installed JDK is too old.
21623 - The --jobs flag now defaults to "auto", which causes Bazel to
21624 use a reasonable degree of parallelism based on the local
21625 machine's
21626 capacity.
21627 - Bazel benchmark (perf.bazel.build) supports Java and Cpp targets.
21628 - no factory methods generated for lambda expressions on android
21629 - The Linux sandbox no longer changes the user to 'nobody' by
21630 default, instead the current user is used as is. The old behavior
21631 can be
21632 restored via the --sandbox_fake_username flag.
21633 - /tmp and /dev/shm are now writable by default inside the
21634 Linux sandbox.
21635 - Bazel can now use the process-wrapper + symlink tree based
21636 sandbox implementation in FreeBSD.
21637 - turn on --experimental_incremental_dexing_error_on_missed_jars by
21638 default.
21639 - All android_binarys are now signed with both Apk Signature V1 and
21640 V2. See https://source.android.com/security/apksigning/v2.html
21641 for more details.
21642 - Windows MSVC wrappers: Not filtering warning messages anymore,
21643 use --copt=-w and --host_copt=-w to suppress them.
21644 - A downloader bug was fixed that prevented RFC 7233 Range
21645 connection resumes from working with certain HTTP servers
21646 - Introduces experimental android_device rule for configuring and
21647 launching Android emulators.
21648 - For boolean flags, setting them to false using --no_<flag_name>
21649 is deprecated. Use --no<flag_name> without the underscore, or
21650 --<flag_name>=false instead.
21651 - Add --experimental_android_compress_java_resources flag to store
21652 java
21653 resources as compressed inside the APK.
21654 - Removed --experimental_use_jack_for_dexing and libname.jack
21655 output of
21656 android_library.
21657 - blaze canonicalize-flags now takes a --show_warnings flag
21658 - Changing --invocation_policy will no longer force a server
21659 restart.
21660 - Bazel now supports Android NDK14.
21661 - android_binary multidex should now work without additional flags.
21662 - Use action_config in crosstool for static library archiving,
21663 remove ar_flag.
21664 - new option for bazel canonicalize-flags, --canonicalize_policy
21665 - Use action_config in crosstool for static library archiving,
21666 remove ar_flag.
21667 - android_library exports_manifest now defaults to True.
21668 - Fix select condition intersections.
21669 - Adds a --override_repository option that takes a repository
21670 name and path. This forces Bazel to use the directory at that path
21671 for the repository. Example usage:
21672 `--override_repository=foo=/home/user/gitroot/foo`.
21673 - fix idempotency issue with desugaring lambdas in interface
21674 initializers for android
21675 - --experimental_android_use_singlejar_for_multidex is now a no-op
21676 and will eventually be removed.
21677 - Every local_repository now requires a WORKSPACE file.
21678 - Remove jack and jill attributes of the android_sdk rule.
21679 - Add Skylark stubs needed to remove sysroot from CppConfiguration.
21680 - Desugar try-with-resources so that this language feature is
21681 available
21682 to deveces with API level under 19.
21683 - The flag --worker_max_retries was removed. The
21684 WorkerSpawnStrategy no longer retries execution of failed Spawns,
21685 the reason being that this just masks compiler bugs and isn't
21686 done for any other execution strategy either.
21687 - Bazel will no longer gracefully restart workers that crashed /
21688 quit, instead this triggers a build failure.
21689 - All java resources are now compressed in android_binary APKs by
21690 default.
21691 - All java resources are now compressed in android_binary APKs by
21692 default.
21693 - android_ndk_repository now creates a cc_library
21694 (@androidndk//:cpufeatures) for the cpufeatures library that is
21695 bundled in the Android NDK. See
21696 https://developer.android.com/ndk/guides/cpu-features.html for
21697 more details.
21698 - 'output_groups' and 'instrumented_files' cannot be specified in
21699 DefaultInfo.
21700 - You can increase the CPU reservation for tests by adding a
21701 "cpu:<n>" (e.g. "cpu:4" for four cores) tag to their rule in a
21702 BUILD file. This can be used if tests would otherwise overwhelm
21703 your system if there's too much parallelism.
21704 - Deprecate use_singlejar_for_proguard_libraryjars and force
21705 behavior to always on.
21706
Bazel Release System8d635fc2017-03-16 13:18:30 +010021707## Release 0.4.5 (2017-03-16)
21708
21709```
21710Baseline: 2e689c29d5fc8a747216563235e905b1b62d63b0
21711
21712Cherry picks:
21713 + a28b54033227d930672ec7f2714de52e5e0a67eb:
21714 Fix Cpp action caching
21715 + 6d1d424b4c0da724e20e14235de8012f05c470f8:
21716 Fix paths of binaries in .deb packages.
21717 + 0785cbb672357d950e0c045770c4567df9fbdc43:
21718 Update to guava 21.0 and Error Prone version 2.0.18-20160224
21719 + 30490512eb0e48a3774cc4e4ef78680e77dd4e47:
21720 Update to latest javac and Error Prone
21721 + 867d16eab3bfabae070567ecd878c291978ff338:
21722 Allow ' ', '(', ')' and '$' in labels
21723 + 7b295d34f3a4f42c13aafc1cc8afba3cb4aa2985:
21724 Pass through -sourcepath to the JavaBuilder
21725 + 14e4755ce554cdfc685fc9cc2bfb5b699a3b48f4:
21726 PathFragment comparisons are now platform-aware
21727 + ed7795234ca7ccd2567007f2c502f853cd947e50:
21728 Flag to import external repositories in python import path
21729 + 81ae08bbc13f5f4a04f18caae339ca77ae2699c1:
21730 Suppress error for non-exhaustive switches
21731 + e8d1177eef9a9798d2b971630b8cea59471eec33:
21732 Correctly returns null if an environment variables is missing
21733 + 869d52f145c077e3499b88df752cebc60af51d66:
21734 Fix NPE in Android{S,N}dkRepositoryFunction.
21735 + d72bc57b60b26245e64f5ccafe023a5ede81cc7f:
21736 Select the good guava jars for JDK7 build
21737 + 92ecbaeaf6fa11dff161254df38d743d48be8c61:
21738 Windows: Assist JNI builds with a target for jni_md.h.
21739 + 36958806f2cd38dc51e64cd7bcc557bd143bbdb6:
21740 Add java_common.create_provider to allow creating a
21741 java_common.provider
21742 + 8c00f398d7be863c4f502bde3f5d282b1e18f504:
21743 Improve handling of unknown NDK revisions in
21744 android_ndk_repository.
21745 + b6ea0d33d3ab72922c8fb3ec1ff0e437af09584d:
21746 Add the appropriate cxx_builtin_include_directory entries for
21747 clang to the Android NDK crosstool created by
21748 android_ndk_repository.
21749```
21750
21751Incompatible changes:
21752
21753 - Depsets (former sets) are converted to strings as "depset(...)"
21754 instead of
21755 "set(...)".
21756 - Using --symlink_prefix is now applied to the output
21757 symlink (e.g. bazel-out) and the exec root symlink (e.g.
21758 bazel-workspace).
21759 - Bazel now uses the test's PATH for commands specified as
21760 --run_under; this can affect users who explicitly set PATH to
21761 a more
21762 restrictive value than the default, which is to forward the
21763 local PATH
21764 - It's not allowed anymore to compare objects of different types
21765 (i.e. a string to an integer) and objects for which comparison
21766 rules are not
21767 defined (i.e. a dict to another dict) using order operators.
21768
21769New features:
21770
21771 - environ parameter to the repository_rule function let
21772 defines a list of environment variables for which a change of
21773 value
21774 will trigger a repository refetching.
21775
21776Important changes:
21777
21778 - android_ndk_repository now supports Android NDK R13.
21779 - Android resource shrinking is now available for android_binary
21780 rules. To enable, set the attribute 'shrink_resources = 1'. See
21781 https://bazel.build/versions/master/docs/be/android.html#android_b
21782 inary.shrink_resources.
21783 - resolve_command/action's input_manifest return/parameter is now
21784 list
21785 - For increased compatibility with environments where UTS
21786 namespaces are not available, the Linux sandbox no longer hides
21787 the hostname of the local machine by default. Use
21788 --sandbox_fake_hostname to re-enable this feature.
21789 - proto_library: alias libraries produce empty files for descriptor
21790 sets.
21791 - Adds pkg_rpm rule for generating RPM packages.
21792 - Allow CROSSTOOL files to have linker flags specific to static
21793 shared libraries.
21794 - Make it mandatory for Java test suites in bazel codebase, to
21795 contain at least one test.
21796 - Support for Java 8 lambdas, method references, type annotations
21797 and repeated annotations in Android builds with
21798 --experimental_desugar_for_android.
21799 - Removed .xcodeproj automatic output from objc rules. It can still
21800 be generated by requesting it explicitly on the command line.
21801 - Flips --explicit_jre_deps flag on by default.
21802 - Activate the "dbg", "fastbuild", and "opt" features in the objc
21803 CROSSTOOL.
21804 - Remove support for configuring JDKs with filegroups; use
21805 java_runtime and java_runtime_suite instead
21806 - android_ndk_repository api_level attribute is now optional. If not
21807 specified, the highest api level in the ndk/platforms directory
21808 is used.
21809
Bazel Release System6712cac2017-02-01 19:53:37 +010021810## Release 0.4.4 (2017-02-01)
21811
21812```
21813Baseline: 4bf8cc30a
21814
21815Cherry picks:
21816 + ef1c6fd33: msvc_tools.py.tpl: Change default runtime library to
21817 static
21818```
21819
21820Incompatible changes:
21821
21822 - Only targets with public visibility can be bound to something in
21823 //external: .
21824 - The deprecated -x startup option has been removed.
21825 - docker_build: change the repository names embedded by
21826 docker_build. You can revert to the old behavior by setting
21827 legacy_repository_naming=True.
21828 - The string methods strip(), lstrip(), and rstrip() now
21829 by default remove the same whitespace characters as Python 3
21830 does, and accept
21831 None as an argument.
21832 - Deprecated globals HOST_CFG and DATA_CFG are removed. Use strings
21833 "host" and "data" instead.
21834 - repository_ctx environment is now affected by --action_env flag
21835 (value from the
21836 client environment will be replaced by value given on the command
21837 line through --action_env).
21838 - All executable labels must also have a cfg parameter specified.
21839 - Removed the cmd_helper.template function.
21840 The function was equivalent to:
21841 def template(items, template):
21842 return [template.format(path = i.path, short_path =
21843 i.short_path)
21844 for i in items]
21845 - Tuples that end with a trailing comma must now be inside parens,
21846 e.g. (1,) instead of 1,
21847 - The traversal orders for depsets have been renamed. The old names
21848 are deprecated and will be removed in the future. New names:
21849 "stable" -> "default", "compile" -> "postorder", "link" ->
21850 "topological", "naive_link" -> "preorder".
21851
21852New features:
21853
21854 - Skylark: you can now multiply a list by an integer to get the
21855 concatenation of N copies of this list, e.g. [a,b] * 3 =
21856 [a,b,a,b,a,b]
21857 - Allow Android aidl tool to add a jar to the program's classpath,
21858 such as if needed to support generated sources.
21859 - Add transitive proguard_specs when android_sdk.aidl_lib is
21860 specified
21861 - Windows: "/dev/null" is now a supported path, e.g.
21862 --bazelrc=/dev/null now works
21863
21864Important changes:
21865
21866 - Bazel Android builds use the apksigner tool from the Android SDK
21867 build-tools. Bazel Android builds now require build-tools version
21868 24.0.3 or
21869 later.
21870 - Android SDK external bindings for support libraries, e.g.
21871 //external:android/appcompat_v4, are removed because the support
21872 library JARs that they referenced no longer ship with the Android
21873 SDK.
21874 - aar_import rule is now documented.
21875 - An IE bug was fixed in repository_ctx.download_and_extract
21876 - Update "-I" to "-isystem" in documentation to reflect current
21877 behavior.
21878 - android_sdk_repository build_tools_version is now optional. The
21879 highest installed build-tools will be used if none is specified.
21880 - New flag --sandbox_add_mount_pair to specify customized
21881 source:target path pairs to bind mount inside the sandbox.
21882 - expose proto_library descriptor set to skylark via
21883 <dep>.proto.descriptor_set
21884 - The `set` constructor is deprecated in favor of `depset`
21885 - Autodetect gold linker in cc_configure.bzl
21886 - Remove build flag --experimental_j2objc_annotation_processing. It
21887 is on by default now.
21888 - Set clang's -mwatchos-version-min correctly using the value of
21889 --watchos_minimum_os, not --watchos_sdk_version.
21890 - singlejar can now create jar files larger than 4GB.
21891 - android_sdk_repository and android_ndk_repository now read
21892 $ANDROID_HOME and $ANDROID_NDK_HOME if the path attribute is not
21893 set.
21894 - Removed broken api levels 3, 4 and 5 from Android NDK 12.
21895 - Default --android_dynamic_mode to off.
21896 - android_sdk_repository no longer requires api_level. If one is
21897 not specified, the highest android platform installed will be
21898 used. Furthermore, android_sdk's are created for all android
21899 platforms installed and can be specified with the --android_sdk
21900 flag.
21901 - To iterate over or test for membership in a set, prefer using the
21902 new to_list() method. E.g., "for x in myset.to_list():", or
21903 "print(x in myset.to_list())". Iteration/membership-test on the
21904 raw set itself is deprecated.
21905 - Remove support for --javawarn; use e.g. --javacopt=-Xlint:all
21906 instead
21907
Bazel Release Systemd3b23642016-12-22 13:30:47 +010021908## Release 0.4.3 (2016-12-22)
Bazel Release System80865ff2016-11-30 13:18:54 +010021909
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +010021910```
Bazel Release Systemd3b23642016-12-22 13:30:47 +010021911Baseline: c645a45
Bazel Release System80865ff2016-11-30 13:18:54 +010021912
21913Cherry picks:
Bazel Release Systemd3b23642016-12-22 13:30:47 +010021914 + af878d0: Add coverage support for java test. (series 4/4 of
21915 open-sourcing coverage command for java test)
21916 + 09b92a8: Rollback of commit
21917 67b4d5250edcefa7220e928e529b1f385e2dc464.
21918 + b11dd48: Fix bad bug with the parallel implementation of
21919 BinaryOperatorExpression. Turns out that
21920 ForkJoinTask#adapt(Callable) returns a ForkJoinTask
21921 whose Future#get on error throws a ExecutionException
21922 wrapping a RuntimeException wrapping the thrown checked
21923 exception from the callable. This is documented
21924 behavior [1] that I incorrectly didn't know about.
21925 + 9012bf1: Fix scripts/packages/convert_changelog to read the
21926 changelog correctly
21927 + 55c97bc: Release script: if master branch does not exist, fall
21928 back on origin/master
21929 + 4fb378c: Debian repository: override section and priority fields
21930 + acbcbc2: Fix release notes in emails
21931 + 4975760: Fix PathFragment to not use Java8-only static hashCode
21932 methods.
21933 + 05fd076: Disable sandboxing for XibCompile actions.
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +010021934```
Bazel Release System80865ff2016-11-30 13:18:54 +010021935
21936Incompatible changes:
21937
Bazel Release Systemd3b23642016-12-22 13:30:47 +010021938 - Skylark maven_jar and maven_aar settings attribute is now a label
21939 so it can be checked into your workspace.
21940 - --{no}experimental_use_rclass_generator is now a nop.
21941
21942New features:
21943
21944 - Coverage support (*experimental*) for pure Java target.
21945 Use `bazel coverage //my:target` to generate coverage information
21946 from a `java_test`.
Bazel Release System80865ff2016-11-30 13:18:54 +010021947
21948Important changes:
21949
Bazel Release Systemd3b23642016-12-22 13:30:47 +010021950 - Enable fallback URLs in Skylark http rules.
21951 - cc_proto_library generates C++ code from proto_library rules.
21952 - cc_library now supports the strip_prefix and strip_include_prefix
21953 attributes for control of include paths.
21954 - Skylark dicts internally don't rely on keys order anymore and
21955 accept any hashable values (i.e. structs with immutable values)
21956 as keys. Iteration order of dictionaries is no longer specified.
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +010021957
21958## Release 0.4.2 (2016-12-02)
21959
21960```
21961Baseline: 6331a94
21962
21963Cherry picks:
21964 + 7b835d9: Do not patch WORKSPACE in the release process
21965```
21966
21967Incompatible changes:
21968
21969 - Callback functions in Skylark no longer support the cfg
21970 parameter. This is a cleanup and only affects the signatures of
21971 callbacks, since the parameter hasn't been set since September
21972 2016.
21973
21974Important changes:
21975
21976 - Alias proto_library's produce a descriptor set that contains all
21977 srcs of its dependencies.
21978 - proto_library supports strict proto deps.
21979 - Top level @androidsdk support library targets have been replaced
21980 by @androidsdk//<group id>:<artifact id>-<version> for Android
21981 SDK Support and Google Play Services libraries.
21982
Bazel Release System15402a92016-11-30 10:12:30 +010021983## Release 0.4.1 (2016-11-21)
21984
21985```
21986Baseline: 9a796de
21987
21988Cherry picks:
21989 + 88bfe85: Description redacted. -- MOS_MIGRATED_REVID=139219934
21990 + b09ea94: Rollback of commit
21991 a3f5f576cd35798140ba3e81d03d919dd4ecb847.
21992```
21993
21994New features:
21995
21996 - android_library now has a "exported_plugins" attribute just like
21997 java_library
21998 - Use --strict_system_includes to apply hdrs_check=strict also to
21999 cc_library.includes, even if sandboxing is disabled.
22000 - Bazel on Windows: java_binary can now be the executable of
22001 Skylark rule actions (ctx.action's executable argument)
22002 - Packages are defined in BUILD.bazel as well as BUILD files.
22003
22004Important changes:
22005
22006 - getattr()'s 3-arg form no longer raises an error when the
22007 retrieved field is a built-in method.
22008 - --apk_signing_method default changed to v1. Android APKs are now
22009 signed with the new ApkSignerTool by default.
22010 - New rule: proto_lang_toolchain(), to support LANG_proto_library
22011 rules on multiple platforms.
22012 - Fix for Android clang++ std::stack segfault on 32bit x86. See
22013 https://code.google.com/p/android/issues/detail?id=220159
22014 - Default android_manifest_merger is now "android" which uses the
22015 official Android manifest merger.
22016 http://tools.android.com/tech-docs/new-build-system/user-guide/man
22017 ifest-merger
22018 - Do not propagate aspect to its own attributes when using '*'.
22019 - Comparing sets (`if set1 < set2:`) is not allowed anymore in
22020 Skylark because it didn't work correctly anyway.
22021 - When --experimental_extra_action_top_level_only, Bazel reports
22022 extra-actions for actions registered by Aspects injected by a
22023 top-level rule (approximately).
22024 - Blacklists for proto_lang_toolchain() no longer have to be
22025 proto_library's.
22026 - Extra actions now contain aspect-related information.
22027 - Fix slicing bug where "abc"[:-4:-1] would give wrong answer
22028
Bazel Release Systemd0761e62016-11-02 13:36:35 -040022029## Release 0.4.0 (2016-10-26)
22030
22031```
22032Baseline: 088bbc6
22033
22034Cherry picks:
22035 + b01160c: Stamp Windows release.
22036 + 2d6736e: Add --no-tty for gpg signing
22037 + 9b1dfb8: Remove .sig file before gpg signing
22038 + 81aede1: Reimplement whole archive on Windows
22039```
22040
22041Incompatible changes:
22042
22043 - Skylark: updating list/dicts while they are being looped over is not
22044 allowed. Use an explicit copy if needed ("for x in list(mylist):").
22045 - Bazel now uses the --cpu flag to look up Jvms; it falls back
22046 to "default" if it can't find a Jvm matching the CPU value.
22047 - --command_port=-1 to use AF_UNIX for client/server communications
22048 is not supported anymore.
22049 - Sandboxed actions can access the network by default, unless their
22050 target has a "block-network" tag.
22051
22052New features:
22053
22054 - Files now have an "extension" property in Skylark.
22055
22056Important changes:
22057
22058 - Added a new flag --sandbox_tmpfs_path, which asks the sandbox to
22059 mount an empty, writable directory at a specified path when
22060 running actions. (Supported on Linux only for now.)
22061 - Update protoc-3.0.0-mingw.exe to a working (statically linked)
22062 binary
22063 - apple_static_library rule to create multi-architecture static
22064 archive files from Objc/C++/Swift dependencies on apple platforms
22065 - JS: Add support for localization with closure managed rules.
22066 - Create a flag --android_dynamic_mode to turn off dynamic mode
22067 during the Android split transition.
22068 - Darwin sandboxing is default.
22069 - Remove flag --experimental_zip_tree_artifact from j2objc Java
22070 annotation processing support.
22071 - A few functions are added to BUILD files for consistency (hash,
22072 dir,
22073 hasattr, getattr) with .bzl files, although they are not very
22074 useful.
22075 - --watchfs is now a command option; the startup option of the same
22076 name is deprecated. I.e., use bazel build --watchfs, not
22077 blaze --watchfs
22078 build.
22079
Bazel Release System33579a42016-10-07 13:05:11 -040022080## Release 0.3.2 (2016-10-07)
22081
22082```
22083Baseline: 023a7bd
22084
22085Cherry picks:
22086 + bebbbe5: Fix dependency on libtool's helper script
22087 make_hashed_objlist.py.
22088 + 8a0d45f: Add the version information to the bazel.exe file
22089 + 2bc0939: Allow new_ rules to overwrited BUILD files in
22090 downloaded repos
22091 + c5545fd: Rollback of commit
22092 96d46280bc5a4803ba2242a4ad16939f85a3b212.
22093 + eb87208: Make cc_configure on Windows more robust
22094 + c30432c: Fix cc_configure on Windows
22095 + 95b16a8: sandbox: Replace the error-prone lazy cleanup of
22096 sandbox directories by a simple synchronous cleanup.
22097 + e898023: Fix #1849: Sandboxing on OS X should be turned off by
22098 default for 0.3.2.
22099 + ffdc05d: Add action_config and feature for linking on Windows
22100```
22101
22102Incompatible changes:
22103
22104 - If you maintain a rule that uses persistent workers, you'll have
22105 to specify execution_requirements={"supports-workers": 1} in the
22106 ctx.action that intends to run a tool with workers. The
22107 WorkerSpawnStrategy will alert you with a warning message if you
22108 forget to make this change and fallback to non-worker based
22109 execution.
22110 - It is now an error to include a precompiled library (.a, .lo, .so)
22111 in a cc_library which would generate a library with the same name
22112 (e.g., libfoo.so in cc_library foo) if that library also contains
22113 other linkable
22114 sources.
22115 - The main repository's execution root is under the main
22116 repository's workspace name, not the source directory's basename.
22117 This shouldn't
22118 have any effect on most builds, but it's possible it could break
22119 someone doing
22120 weird things with paths in actions.
22121 - Blaze doesn't support Unix domain sockets for communication
22122 between its client and server anymore. Therefore, the
22123 --command_port command line argument doesn't accept -1 as a valid
22124 value anymore.
22125 - Skylark: It is an error to shadow a global variable with a local
22126 variable after the global has already been accessed in the
22127 function.
22128 - bin_dir and genfiles_dir are now properties of ctx, not
22129 configuration. That is, to access the bin or genfiles directory
22130 from a
22131 Skylark rule, use ctx.bin_dir or ctx.genfiles_dir (not
22132 ctx.configuration.{bin,genfiles}_dir). At the moment, you can
22133 access
22134 {bin,genfiles}_dir from either, but the ctx.configuration version
22135 will
22136 stop working in a future release.
22137 - filegroup-based C++ toolchains are not supported anymore.
22138 --*_crosstool_top options must always point to a
22139 cc_toolchain_suite rule (or an alias of one).
22140 - repository_ctx.{download,download_and_extract,execute} API now use
22141 named parameters for optional parameters and no
22142 longer uses argument
22143 type to distinguished between arguments
22144 (executable attribute name
22145 must be specified when preceding optional
22146 arguments are missing).
22147
22148New features:
22149
22150 - print and fail are now available in BUILD files.
22151
22152Important changes:
22153
22154 - Added @bazel_tools//tools/build_defs/repo/git.bzl as a Skylark
22155 rule for Git repositories.
22156 - Added @bazel_tools//tools/build_defs/repo/maven_rules.bzl as a
22157 Skylark rule for Maven repositories.
22158 - Add global hash() function for strings (only)
22159 - Improve Android split transition handling.
22160 - Removes exports_manifest attribute from android_binary rule.
22161 - java_proto_library: control strict-deps through a rule-level and
22162 a package-level attribute.
22163 - Persistent workers are now used by default for Java compilation
22164 in Bazel, which should speed up your Java builds by ~4x. You can
22165 switch back to the old behavior via --strategy=Javac=standalone.
22166 Check out http://www.bazel.io/blog/2015/12/10/java-workers.html
22167 for more details.
22168 - objc_* rules can now depend on any target that returns an "objc"
22169 provider.
22170 - Adds support for NDK12 to `android_ndk_repository` rule in Bazel.
22171 - Test targets can disable the JUnit4 test security manager via a
22172 property.
22173 - Disable the Android split transition if --android_cpu and
22174 fat_apk_cpu are both empty.
22175 - New sandboxing implementation for Linux in which all actions run
22176 in a separate execroot that contains input files as symlinks back
22177 to the originals in the workspace. The running action now has
22178 read-write access to its execroot and /tmp only and can no longer
22179 write in arbitrary other places in the file system.
22180 - Add worker support to single jar.
22181 - Invoke source jar action as a worker.
22182 - Sandboxed builds allow network access for builds by default.
22183 Tests will still be run without networking, unless
22184 "requires-network" is specified as a tag.
22185 - Add path.realpath() method for Skylark repositories.
22186 - On Mac devices, detect locally installed versions of xcode to:
22187 1. Use a sensible default if xcode is required but
22188 --xcode_version is unspecified.
22189 2. Use sensible default iOS SDK version for the targeted version
22190 of xcode if ios_sdk_version is unspecified.
22191 - Emacs' [C-x `], a.k.a. next-error, works again in emacsen >= 25.1
22192 - swift_library can be used to build watchOS apps.
22193 - Exposes the is_device field on Apple platform objects and adds
22194 the apple_common.platform_type(name) method to retrieve a
22195 platform_type value that can be passed to methods like the Apple
22196 fragment's multi_arch_platform.
22197 - Move Skylark git_repository rules to git.bzl
22198 - Add support for aspects to attr.label() attributes
22199 - Global varaiables HOST_CFG and DATA_CFG are deprecated in favor
22200 of strings "host"
22201 and "data.
22202 Argument `cfg = "host"` or `cfg = "data"` is mandatory if
22203 `executable = True` is provided for a label.
22204 - The deprecation attribute of all rules now causes warnings
22205 to be printed when other targets depend on a target with that
22206 attribute set.
22207 - Change default of --[no]instrument_test_targets to false, change
22208 default --instrumentation_filter (which previously tried to
22209 exclude test targets by heuristic) to only exclude targets in
22210 javatests.
22211 - Remove deprecated absolute paths in blaze IDE artifacts
22212 - When using android_binary.manifest_merger="android" the merger
22213 produces a summary log next to the merged manifest artifact.
22214 - Allow different default mallocs per configuration.
22215
Bazel Release System70c772b2016-07-29 10:28:13 +020022216## Release 0.3.1 (2016-07-29)
22217
22218```
22219Baseline: 792a9d6
22220
22221Cherry picks:
22222 + 25e5995: Rollback of commit
22223 a2770334ea3f3111026eb3e1368586921468710c.
22224 + 2479405: Fix NPE with unset maven_jar sha1
22225 + 3cf2126: Rewrite the extra action info files if the data within
22226 them changes.
22227 + 5a9c6b4: JavaBuilder: Reintroduce the -extra_checks flag.
22228```
22229
22230Incompatible changes:
22231
22232 - Removed predefined Python variable "generic_cpu".
22233 - Skylark rules: if you set "outputs" or an attribute to a
22234 function, this function must now list its required attributes as
22235 parameters (instead of an attribute map).
22236 - The host_platform and target_platform entries are not written to
22237 the master log anymore.
22238 - Bazel requires Hazelcast 3.6 or higher now for remote execution
22239 support, because we upgraded our client library and the protocol
22240 it uses is incompatible with older versions.
22241
22242New features:
22243
22244 - LIPO context (--lipo_context) can now also be a cc_test (in
22245 addition to cc_binary)
22246
22247Important changes:
22248
22249 - If --android_crosstool_top is set, native code compiled for
22250 android will always use --android_compiler and not --compiler in
22251 choosing the crosstool toolchain, and will use --android_cpu if
22252 --fat_apk_cpu is not set.
22253 - Add --instrument_test_targets option.
22254 - apple_binary supports a new platform_type attribute, which, if
22255 set to "watchos", will build dependencies for Apple's watchOS2.
22256 - objc_binary now supports late-loaded dynamic frameworks.
22257 - Native Swift rules no longer pull in module maps unconditionally.
22258 Use --experimental_objc_enable_module_maps for that.
22259 - Merged manifests are guaranteed to have the application element
22260 as the last child of the manifest element as required by Android
22261 N.
22262 - The Android manifest merger is now available as an option for
22263 android_binary rules. The merger will honor tools annotations in
22264 AndroidManifest.xml and will perform placeholder substitutions
22265 using the values specified in android_binary.manifest_values. The
22266 merger may be selected by setting the manifest_merger attribute
22267 on android_binary.
22268 - The progress message would not clear packages that need to be
22269 loaded twice.
22270 - Remove warning for high value of --jobs.
22271 - Use the correct build configuration for shared native deps during
22272 Android split transitions.
22273 - When building ObjectiveC++, pass the flag -std=gnu++11.
22274 - use xcrun simctl instead of iossim to launch the app for "blaze
22275 run".
22276 - Glob arguments 'exclude' and 'exclude_directories' must be named
22277 - Bazel no longer regards an empty file as changed if its mtime has
22278 changed.
22279
Bazel Release Systemccadf8d2016-06-10 13:28:40 +020022280## Release 0.3.0 (2016-06-10)
22281
22282```
22283Baseline: a9301fa
22284
22285Cherry picks:
22286 + ff30a73: Turn --legacy_external_runfiles back on by default
22287 + aeee3b8: Fix delete[] warning on fsevents.cc
22288```
22289
22290Incompatible changes:
22291
22292 - The --cwarn command line option is not supported anymore. Use
22293 --copt instead.
22294
22295New features:
22296
22297 - On OSX, --watchfs now uses FsEvents to be notified of changes
22298 from the filesystem (previously, this flag had no effect on OS X).
22299 - add support for the '-=', '*=', '/=', and'%=' operators to
22300 skylark. Notably, we do not support '|=' because the semantics
22301 of skylark sets are sufficiently different from python sets.
22302
22303Important changes:
22304
22305 - Use singular form when appropriate in blaze's test result summary
22306 message.
22307 - Added supported for Android NDK revision 11
22308 - --objc_generate_debug_symbols is now deprecated.
22309 - swift_library now generates an Objective-C header for its @objc
22310 interfaces.
22311 - new_objc_provider can now set the USES_SWIFT flag.
22312 - objc_framework now supports dynamic frameworks.
22313 - Symlinks in zip files are now unzipped correctly by http_archive,
22314 download_and_extract, etc.
22315 - swift_library is now able to import framework rules such as
22316 objc_framework.
22317 - Adds "jre_deps" attribute to j2objc_library.
22318 - Release apple_binary rule, for creating multi-architecture
22319 ("fat") objc/cc binaries and libraries, targeting ios platforms.
22320 - Aspects documentation added.
22321 - The --ues_isystem_for_includes command line option is not
22322 supported anymore.
22323 - global function 'provider' is removed from .bzl files. Providers
22324 can only be accessed through fields in a 'target' object.
22325
Bazel Release System9fdd6012016-05-17 11:12:31 +020022326## Release 0.2.3 (2016-05-10)
22327
22328```
22329Baseline: 5a2dd7a
22330```
22331
22332Incompatible changes:
22333
22334 - All repositories are now directly under the x.runfiles directory
22335 in the runfiles tree (previously, external repositories were at
22336 x.runfiles/main-repo/external/other-repo. This simplifies
22337 handling remote repository runfiles considerably, but will break
22338 existing references to external repository runfiles.
22339 Furthermore, if a Bazel project does not provide a workspace name
22340 in the WORKSPACE file, Bazel will now default to using __main__
22341 as the workspace name (instead of "", as previously). The
22342 repository's runfiles will appear under x.runfiles/__main__/.
22343 - Bazel does not embed protocol buffer-related rules anymore.
22344 - It is now an error for a cc rule's includes attribute to point to
22345 the workspace root.
22346 - Bazel warns if a cc rule's includes attribute points out of
22347 third_party.
22348 - Removed cc_* attributes: abi / abi_deps. Use select() instead.
22349
22350New features:
22351
22352 - select({"//some:condition": None }) is now possible (this "unsets"
22353 the attribute).
22354
22355Important changes:
22356
22357 - java_import now allows its 'jars' attribute to be empty.
22358 - adds crunch_png attribute to android_binary
22359 - Replace --java_langtools, --javabuilder_top, --singlejar_top,
22360 --genclass_top, and --ijar_top with
22361 java_toolchain.{javac,javabuilder,singlejar,genclass,ijar}
22362 - External repository correctness fix: adding a new file/directory
22363 as a child of a new_local_repository is now noticed.
22364 - iOS apps are signed with get-task-allow=1 unless building with -c
22365 opt.
22366 - Generate debug symbols (-g) is enabled for all dbg builds of
22367 objc_ rules.
22368 - Bazel's workspace name is now io_bazel. If you are using Bazel's
22369 source as an external repository, then you may want to update the
22370 name you're referring to it as or you'll begin seeing warnings
22371 about name mismatches in your code.
22372 - Fixes integer overflow in J2ObjC sources to be Java-compatible.
22373 - A FlagPolicy specified via the --invocation_policy flag will now
22374 match the current command if any of its commands matches any of
22375 the commands the current command inherits from, as opposed to
22376 just the current command.
22377 - The key for the map to cc_toolchain_suite.toolchains is now a
22378 string of the form "cpu|compiler" (previously, it was just "cpu").
22379 - Fix interaction between LIPO builds and C++ header modules.
22380 - Ctrl-C will now interrupt a download, instead of waiting for it to
22381 finish.
22382 - Proxy settings can now be specified in http_proxy and https_proxy
22383 environment variables (not just HTTP_PROXY and HTTPS_PROXY).
22384 - Skylark targets can now read include directories from
22385 ObjcProvider.
22386 - Expose parameterized aspects to Skylark.
22387 - Support alwayslink cc_library dependencies in objc binaries.
22388 - Import cc_library dependencies in generated Xcode project.
22389
Bazel Release System1aedd1f12016-04-25 09:47:50 +020022390## Release 0.2.2b (2016-04-22)
Bazel Release System951cea22016-04-21 14:10:12 +020022391
22392```
22393Baseline: 759bbfe
Bazel Release System1aedd1f12016-04-25 09:47:50 +020022394
22395Cherry picks:
Bazel Release System951cea22016-04-21 14:10:12 +020022396 + 1250fda: Rollback of commit
22397 351475627b9e94e5afdf472cbf465f49c433a25e.
22398 + ba8700e: Correctly set up build variables for the correct pic
22399 mode for fake_binary rules.
22400 + 386f242: Automated [] rollback of commit
22401 525fa71b0d6f096e9bfb180f688a4418c4974eb4.
Bazel Release System1aedd1f12016-04-25 09:47:50 +020022402 + 97e5ab0: Fix cc_configure include path for Frameworks on OS X.
22403 + a20352e: cc_configure: always add -B/usr/bin to the list of gcc
22404 option
22405 + 0b26f44: cc_configure: Add piii to the list of supported
22406 cpu_value
22407 + 3e4e416: cc_configure: uses which on the CC environment variable
22408 + aa3dbd3: cc_configure.bzl: strip end of line when looking for
22409 the cpu
22410 + 810d60a: cc_configure: Add -B to compiler flag too
Bazel Release System951cea22016-04-21 14:10:12 +020022411```
22412
Bazel Release System1aedd1f12016-04-25 09:47:50 +020022413Patch release, only includes fixes to C++ auto-configuration.
Bazel Release System951cea22016-04-21 14:10:12 +020022414
Bazel Release System950c1ab2016-03-31 17:18:55 +020022415## Release 0.2.1 (2016-03-21)
22416
22417```
22418Baseline: 19b5675
22419```
22420
22421Incompatible changes:
22422
22423 - Skylark rules that are available from their own repository will
22424 now issue a warning when accessed through @bazel_tools.
22425 - Set --legacy_bazel_java_test to off by default. java_test will
22426 now have a slightly different behaviour, correctly emitting XML
22427 file but, as a downside, it needs correct declaration of the
22428 test suite (see https://github.com/bazelbuild/bazel/issues/1017).
22429 - Labels in .bzl files in remote repositories will be resolved
22430 relative to their repository (instead of the repository the
22431 Skylark rule is used in).
22432 - Renamed proto_java_library to java_proto_library. The former
22433 is now deprecated and will print out a warning when used.
22434 - android_sdk now compiles android_jack on the fly from
22435 android_jar, which means android_jar must be a jar and
22436 android_jack is now deprecated. The Jack tools (jack, jill,
22437 resource_extractor) must be specified.
22438 - Any project that depended on the objc_options rule will be
22439 broken. Can be fixed by adding attrs (infoplists,copts) directly
22440 to rules depending on the options.
22441 - .aidl files correctly require import statements for types
22442 defined in the same package and the same android_library.
22443
22444New features:
22445
22446 - Experimental Windows support is available.
22447 - Experimental support for writing remote repository rules in
22448 Skylark is available.
22449 - iOS ipa_post_processor attribute allows for user-defined IPA
22450 edits.
22451 - Adds a to_json method to Skylark structs, providing conversion to
22452 JSON format.
22453 - Native python rule can depend on skylark rule as long as skylark
22454 rule provides 'py' provider.
22455 - When using both --verbose_failures and --sandbox_debug, Bazel
22456 prints instructions how to spawn a debugging shell inside the
22457 sandbox.
22458 - add flag --sandbox_add_path, which takes a list of additional
22459 paths as argument and mount these paths to sandbox.
22460
22461Important changes:
22462
22463 - @androidsdk//:org_apache_http_legacy added for the legacy Apache
22464 classes for android sdk version 23 and above.
22465 - Genrules correctly work when used with bazel run.
22466 - When namespace-sandbox is run with the -D (debug) flag and
22467 inside a terminal, it spawns a shell inside the sandbox to aid in
22468 debugging when the sandboxed command fails.
22469 - Added --artifact to workspace generator for generating workspace
22470 and build file rules from artifact coodrinates.
22471 - Specifying --experimental_android_resource_shrinking on the
22472 command line will enable a resource shrinking pass on
22473 android_binary targets that already use Proguard.
22474 - J2ObjC updated to 1.0.1 release.
22475 - Added "root_symlinks" and "symlinks" parameters to Skylark
22476 runfiles() method.
22477 - You can no longer use objc_binary targets for the xctest_app
22478 attribute of an ios_test rule.
22479 - Enable overriding jsonnet binaries and stdlib for Jsonnet rules.
22480 - mount target of /etc/resolv.conf if it is a symlink.
22481 - Tests that failed to build because execution was halted no longer
22482 print their status.
22483 - Bazel warns if a cc rule's includes attribute contains up-level
22484 references that escape its package.
22485 - Add repository_ctx.download and repository_ctx.download_and_extract
22486 function.
22487
Bazel Release Systemf98290d2016-02-23 13:51:16 +010022488## Release 0.2.0 (2016-02-18)
22489
22490```
22491Baseline: 9e100ac
22492```
22493
22494Incompatible changes:
22495
22496 - ObjC compile actions for J2ObjC-translated code now only has
22497 access to headers from the java deps of the associated original
22498 java rule.
22499 These compile actions no longer takes the compiler options
22500 specified in "copts" attribute on objc_binary/ios_test rules.
22501 J2ObjC dead code removal (enabled through flag
22502 "--j2objc_dead_code_removal") now happens *after* ObjC
22503 compilation.
22504 - maven_jar no longer supports separate artifact_id, group_id, and
22505 verison fields. This information should be provided in the
22506 artifact field,
22507 instead.
22508
22509New features:
22510
22511 - Better support for toolchains that don't have a dynamic linker.
22512 - build_file_content attribute added to new_git_repository,
22513 new_http_archive, and new_local_repository.
22514 - Add support for .tar.bz2 archives to http_archive rules.
22515
22516Important changes:
22517
22518 - The --skyframe flag is no longer available for the build command.
22519 - The --artifacts flag was removed from the dump command.
22520 - The sha256 attribute is now optional (although recommended!) for
22521 remote repository rules.
22522 - Add instrumented file provider support to Skylark rules.
22523 - Add imports attribute to native Python rules.
22524 - Allow overriding -gsplit-dwarf from copts.
22525 - Improved sandbox performance on XFS filesystems.
22526
Bazel Release System00cf25d2016-02-09 18:36:51 +010022527## Release 0.1.5 (2016-02-05)
22528
22529```
22530Baseline: 3a95f35
22531 + 8378cd8: Rollback of commit
22532 a9b84575a32476a5faf991da22b44661d75c19b6.
22533```
22534
22535Incompatible changes:
22536
22537 - Set stamping to false by default (i.e., --nostamp)
22538 - Removed --objc_dump_syms_binary.
22539 - Removes --objc_gcov_binary flag.
22540 - Remove JAVAC "Make" variable
22541 - The startup flag --blaze_cpu is removed,
22542
22543New features:
22544
22545 - A new java test runner that support XML output and test filtering
22546 is supported. It can be used by specifying --nolegacy_bazel_java_test
22547 or by specifying the test_class attribute on a java_test.
22548 - Skylark aspects can now specify configuration fragment
22549 dependencies with fragments and host_fragments like rules can.
22550
22551Important changes:
22552
22553 - Support for downloading remote resources through proxies by
22554 setting HTTP_PROXY (or HTTPS_PROXY).
22555 - Timestamps within Android apks are removed to make apks
22556 deterministic.
22557 - Support aggregation over existing rules in Skylark extensions
22558 through native.rules and native.rule.
22559 - A tools/bazel script in the workspace will be executed
22560 as an opportunity to use a fixed version of Bazel (not
22561 implemented for the homebrew recipe yet).
22562 - --noimplicit_deps and --nohost_deps work correctly for Aspect
22563 attributes.
22564 - JDK-related targets are now available via @local_jdk (instead of
22565 @local-jdk).
22566 - j2objc tools can now be accessed via @bazel_j2objc, not
22567 @bazel-j2objc.
22568 - Repository rules must use names that are valid workspace names.
22569 - [rust] Update to Rust 1.6
22570 - Add support for .tar.xz archives to http_archive rules.
22571 - Make C++ modules compatible with tools using
22572 --compilation_prerequisites_only
22573 - [d] Update to DMD 2.070.0
22574
Bazel Release System446d9922016-01-21 10:59:31 +010022575## Release 0.1.4 (2016-01-15)
22576
22577```
22578Baseline: e933d5e
22579 + 3d796fe: Rollback of commit
22580 ac6ed79e1a3fa6b0ca91657b28e2a35f7e49758c.
22581 + 7a02e5d: Fix installer under OS X
22582 + 848740c: Fix bazel version for debian package
22583 + 7751d43: Add a method for getting the root of a rule workspace
22584 to the Label method
22585```
22586
22587Important changes:
22588
22589 - add loadfiles() query operator, to find skylark files loaded by
22590 targets.
22591 - Added ability to declare and use aspects in Skylark.
22592 - Skylark load statements may now reference .bzl files via build
22593 labels, in addition to paths. In particular, such labels can be
22594 used to reference Skylark files in external repositories; e.g.,
22595 load("@my_external_repo//some_pkg:some_file.bzl", ...).
22596 Path-based loads are now deprecated and may be disabled in the
22597 future. Caveats: Skylark files currently do not respect package
22598 visibility; i.e., all Skylark files are effectively public. Also,
22599 loads may not reference the special //external package.
22600 - Relative paths can now be used for 'path' with
22601 new_local_repository and local_repository.
22602
Bazel Release System1518253e2016-01-11 10:10:19 +010022603## Release 0.1.3 (2016-01-07)
22604
22605```
22606Baseline: 23ad8f6
22607 + de2183d: Only depend on the WORKSPACE file for external files
22608 that are under the external/ directory, i.e. were
22609 created by Bazel.
22610 + f8f855c: Rollback of commit
22611 12bad3af0eade9c4b79d76f9e1c950ad2e3214c2.
22612 + f627562: Stop parsing the WORKSPACE file when a parse error is
22613 detected
22614 + 763f139: Add -fno-canonical-system-headers to CROSSTOOL files so
22615 that gcc doesn't resolve symlinks in .d files, which
22616 would confuse Blaze.
22617 + b95995b: Use openjdk7 as dependency for debian package of jdk7
22618 flavor
22619```
22620
22621New features:
22622
22623 - Skylark macros are now enabled in WORKSPACE file.
22624 - .bazelrc allows workspace-relative imports as "import
22625 %workspace%/path/to/rcfile"
22626 - Evaluate the query expression in a file by passing
22627 --query_file=<file> to query
22628
22629Important changes:
22630
22631 - Remove obsolete --objc_per_proto_includes flag.
22632 - iOS apps and extensions now have launch_storyboard
22633 - Passing multiple JVM options via a single --host_jvm_args flag is
22634 now deprecated. Pass each JVM option behind its own
22635 --host_jvm_args flag.
22636 - Resources defined locally on an android_library rule will respect
22637 the neverlink attribute.
22638 - Update Rust to 1.4
22639 - Fix resource handling for exported android_library rules
22640 - Files in external repositories are now treated as mutable, which
22641 will make the correctness guarantees of using external
22642 repositories stronger (existent), but may cause performance
22643 penalties.
22644
Bazel Release System0d2e4092015-12-04 23:31:41 +010022645## Release 0.1.2 (2015-11-20)
22646
22647```
22648Baseline: ee0ade3
22649 + 1e66ccd: RELNOTES: Symlink dirents of directories containing a
22650 file named
22651 "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA
22652 _A_RECURSIVE_TARGET_PATTERN" will *not* be traversed
22653 for transitive target patterns. The motivation here is
22654 to allow directories that intentionally contain wonky
22655 symlinks (e.g. foo/bar -> foo) to opt out of being
22656 consumed by Blaze. For example, given
22657 + f5773fc: Set the ijar MAX_BUFFER_SIZE to 256 MB
22658```
22659
22660New features:
22661
22662 - java_library now supports the proguard_specs attribute for
22663 passing Proguard configuration up to Android (not Java) binaries.
22664 - http_file can specify "executable" to make the downloaded file
22665 runnable.
22666 - Debian and tar packaging is now supported
22667 (see tools/build_defs/pkg/README.md).
22668 - cpxx_builtin_include_directory specifications allow more
22669 flexibility.
22670 - accept %crosstool_top% in cxx_builtin_include_directory
22671 - android_binary now supports proguard_apply_mapping to re-use a
22672 previously generated proguard mapping.
22673
22674Important changes:
22675
22676 - remove webstatusserver (--use_webstatusserver).
22677 - Add support for objc textual headers, which will not be compiled
22678 when modules are enabled.
22679 - actoolzip, momczip and swiftstdlibtoolzip have all been made into
22680 bash scripts and have been renamed to actoolwrapper, momcwrapper
22681 and swiftstdlibtoolwrapper respectively. The old versions will be
22682 deleted in a later change.
22683 - [rust] Add rust_bench_test and rust_doc_test rules and improve
22684 usability of rust_test tule.
22685 - Java rules now support a resource_strip_prefix attribute that
22686 allows the removal of path prefixes from Java resources.
22687 - [docker_build] incremental loading is default now.
22688 Specify explicitly //package:target.tar (with the .tar extension)
22689 to obtain the full image.
22690 - --ios_signing_cert_name allows specifying a cert for iOS app
22691 signing
22692 - Go rules for Bazel.
22693 - [jsonnet] Update to Jsonnet 0.8.1.
22694 - [jsonnet] Add vars and code_vars attributes to jsonnet_to_json to
22695 allow passing external variables to Jsonnet via --var and
22696 --code_var.
22697 - Adds --override_workspace_root blaze flag to hand-set
22698 workspace_root and mainGroup in xcodeproj.
22699 - Allow dots in package names.
22700 - When used as a forwarding rule (i.e., has no sources),
22701 android_library
22702 will also forward any exported_plugins in its dependencies.
22703 - Add support for Windows-created zip files with non-posix
22704 permissions.
22705 - [jsonnet] Add jsonnet_to_json_test rule for testing Jsonnet code.
22706 - C++ compile actions run in a sandbox now on systems that support
22707 sandboxed execution.
22708 - The names of the clang compilers in the Android NDK crosstool no
22709 longer reference gcc.
22710 - 420 dpi is now a valid density for andoid_binary.densities.
22711 - Bazel does strict validation of include files now to ensure
22712 correct incremental builds. If you see compilation errors when
22713 building C++ code, please make sure that you explicitly declare
22714 all header files in the srcs or hdrs attribute of your cc_*
22715 targets and that your cc_* targets have correct "deps" on
22716 cc_library's that they use.
22717 - [jsonnet] Fix jsonnet_to_json rule to read code_vars from
22718 code_vars instead of vars.
22719 - Tests, genrules, and Skylark actions without the
22720 "requires-network" tag will no longer be able to access the
22721 network.
22722 - C++ libraries no longer need includes = ["."] (or similar copts)
22723 to include paths relative to a remote repository's root.
22724 - Support exports attribute for android_library
22725 - Symlink dirents of directories containing a file named
22726 "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA_A_RECURSI
22727 VE_TARGET_PATTERN" will *not* be traversed for transitive target
22728 patterns. The motivation here is to allow directories that
22729 intentionally contain wonky symlinks (e.g. foo/bar -> foo) to opt
22730 out of being consumed by Blaze.
22731
Bazel Release Systemfa35b182015-10-14 12:11:51 -040022732## Release 0.1.1 (2015-10-05)
22733
22734```
22735Baseline: 22616ae
22736 + 1ef338f: Rollback of "Propagates cc_library linkopts attribute
22737 to dependent objc_libraries.": breaks certain
22738 objc_binary build targets.
22739 + 5fb1073: Reintroduce an inconsistency check (albeit, in a weaker
22740 form) removed by a previous change that was trying to
22741 optimize away a filesystem call.
22742 + 6d00468b2eb976866cfb814d562e0d53a580a46f: Add IdlClass to the embedded default android tools
22743 repository and rearrange BuildJar's JarHelper so that
22744 it too can be embedded.
22745 + a5199039934a2e399a7201adc0d74e2f2d2b0ff3: Fixes Android integration tests by wiring up idlclass
22746 rules in integration environment.
22747```
22748
22749Incompatible changes:
22750
22751 - Bazel requires JDK 8 to run.
22752 - Attribute "copts" is removed from j2objc_library.
22753
22754New features:
22755
22756 - a cc_binary rule may list '.s' and '.asm' files in the srcs
22757 - Support for build with libsass.
22758 - labels in "linkopts" may match any label in either "deps" or
22759 "srcs" to be considered valid.
22760 - Maven servers that require username & password authentication are
22761 now supported (see maven_server documentation).
22762
22763Important changes:
22764
22765 - Support empty plist files
22766 - The <compatible-screens> section of the AndroidManifest.xml will
22767 not be overwritten if it already contains a <screen> tag for each
22768 of the densities specified on the android_binary rule.
22769 - Add Jsonnet rules to Bazel
22770 - Remove deprecated xcode_options flag.
22771 - Workspace names are now restricted to being in their base
22772 directory
22773 (that is, the names cannot contain up-level references or /./).
22774 - j2objc_library on Bazel now transpiles transitive proto_library
22775 dependencies. (Note that java_* rules in Bazel do not yet support
22776 protos; currently they ignore proto dependencies.)
22777 - new_http_archive can specify a root directory.
22778 - Adds support for dylibs on devices for Xcode 7.
22779 - [d] d_docs rules now depend on a d_binary, a d_library or
22780 d_source_library.
22781 - [docker] docker_build now set the permission to 0555 to files
22782 added to the layer, use `mode = "0644"` to use the legacy behavior.
22783 - android_binary now has a main_dex_proguard_specs attribute to
22784 specify which classes should be in the main dex.
22785 - [rust] Add rust_docs rule for generating rustdoc.
Bazel Release System79e40ac2015-09-08 23:38:00 +020022786## Release 0.1.0 (2015-09-08)
22787
22788```
22789Baseline: a0881e8
22790 + 87374e6: Make android_binary use a constant, hard-coded,
22791 checked-in debug key.
22792 + 2984f1c: Adds some safety checks in the Bazel installer
22793 + 4e21d90: Remove BUILD.glob and incorporate the necessary
22794 filegroups into the android_{ndk,sdk}_repository rules
22795 themselves.
22796 + 1ee813e: Fix Groovy rules to work with sandboxing
22797 + 8741978: Add initial D rules to Bazel.
22798 + 2c2e70d: Fix the installer and fixing the package shiped into
22799 binary version of Bazel.
22800```
22801
22802Initial release.
Bazel Release System6712cac2017-02-01 19:53:37 +010022803
Bazel Release System8d635fc2017-03-16 13:18:30 +010022804
Bazel Release Systema3e26832017-05-26 14:11:07 +020022805
Bazel Release System63222de2017-06-06 11:32:04 +020022806
Bazel Release System7b851222017-06-27 15:08:47 +020022807
Bazel Release System195a7a82017-07-27 20:27:32 +020022808
Bazel Release System5371d132017-08-25 11:24:06 +020022809
Bazel Release System471c0e12017-09-28 16:36:12 +020022810
Bazel Release Systemed0ebc02017-10-05 23:52:25 +020022811
Bazel Release System76b6d0a2017-10-18 14:34:11 +020022812
Bazel Release System0838aee2017-11-27 14:16:34 +010022813
Bazel Release System3d53cb02017-12-05 15:28:40 +010022814
Bazel Release System5bd27482018-02-01 09:43:33 +010022815
Bazel Release Systeme1148362018-02-15 10:02:05 +010022816
Bazel Release System09077a32018-02-23 11:09:18 -050022817
Bazel Release Systemc86d6a02018-03-06 19:32:18 +010022818
Bazel Release System546976c2018-04-11 17:34:19 +020022819
Bazel Release System1d9c6062018-04-30 10:45:38 +020022820
Bazel Release System24c68ff2018-05-23 10:59:57 +020022821
Bazel Release System3a592f62018-06-01 15:04:31 +020022822
Bazel Release System513bbf52018-06-08 14:15:20 +020022823
Bazel Release System5013a332018-06-26 14:07:47 +020022824
Bazel Release System1281a022018-07-16 16:13:53 +020022825
Bazel Release System1bd58832018-08-13 15:41:26 +020022826
Bazel Release Systemfdb09a22018-09-14 12:15:54 +020022827
Bazel Release System50921e62018-09-21 12:27:04 +020022828
Bazel Release System36177972018-10-15 10:29:10 +020022829
Bazel Release System92849b82018-10-31 15:41:11 +010022830
Bazel Release System684f1092018-11-12 10:26:58 -050022831
Bazel Release Systemcb3e2982018-11-19 11:19:38 -050022832
Bazel Release System85378562018-11-30 15:34:16 +010022833