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