blob: 9bbc438bcce6a3444daf0a45b7df8ee2140a6761 [file] [log] [blame] [view]
Bazel Release Systemef69db82019-11-20 16:01:18 +01001## Release 1.2.0 (2019-11-20)
2
3```
4Baseline: 11deef7582dfeec7a04ee3f7236393d9b8027367
5
6Cherry picks:
7
8 + c76c3e539c73ecf6e96e3e098be7be59e17bf276:
9 Replace macOS CC path with relative path
10 + 63332eb556fadfe9edd0806add79942482adddef:
11 Hardcode path to dirname on macOS
12 + ceadf0a063cb97c32aced143d2447781d1dafc38:
13 Add tool executables (from FilesToRunProvider) to action inputs.
14 + dbe63b00954a25fa4405f7cbf273df78c16498dd:
15 Fix some of the bazel Windows tools code to work with GCC.
16```
17
18Incompatible changes:
19
20 - Tree artifacts and regular artifact paths can no longer overlap.
21
22New features:
23
24 - Added a special "_validation" output group to enable moving
25 "validation actions" off the critical path of builds.
26
27Important changes:
28
29 - The query flag "--host_deps" (commonly used as "--nohost_deps")
30 has been renamed to "--tool_deps", and now also removes
31 dependencies in any execution configuration from being reported
32 in the query output. The previous flag name is deprecated and
33 will be removed in a future release.
34 - The `cc_common.{compile,link}` APIs can now be used without
35 passing the `--experimental_cc_skylark_api_enabled_packages` flag.
36 - A list of log paths will be provided in build output.
37 - Improve runfiles documentation.
38 - Improve documentation on rule outputs.
39 - BUILD/.bzl execution errors cause execution to stop, even at
40 top-level
41 - Multiple Starlark validation errors are reported in a single pass.
42 - Introduce --experimental_nested_set_as_skykey_threshold
43 - Blaze will prevent idle sleep during test and build actions. Note
44 that this does not affect screen savers and will not keep a
45 laptop awake if the user forces sleep or closes the lid. This is
46 purely to avoid idle sleeping when the user is not interacting
47 with the device.
48 - Improve testing docs.
49 - Incompatible flag
50 `--incompatible_validate_top_level_header_inclusions` has been
51 added. See https://github.com/bazelbuild/bazel/issues/10047 for
52 details.
53 - Fix an aquery bug with handling malformed queries that crashes
54 bazel.
55 - List fields on CcLinkingOutputs.
56 - [Python] Added flag --incomaptible_default_to_explicit_init_py to
57 switch the default value of legacy_create_init to True. With this
58 flag enabled, your py_binary and py_test targets will no longer
59 behave as if empty __init__.py files were implicitly littered in
60 your runfiles tree. See
61 [#10076](https://github.com/bazelbuild/bazel/issues/10076).
62 - Fix documentation on allowed target names.
63 - --target_platform_fallback now also applies to exec/host
64 configurations
65 - android_binary and android_libary can now depend on targets
66 providing
67 CcInfos.
68 - Add support for tracking suspensions (sleeps or SIGSTOP) on macOS.
69 - d8 dexers (both standalone and incremental) are now available for
70 use.
71 - Add Desugar support for FreezePeriod#<init>
72
73This 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.
74
Bazel Release Systemf15bfb32019-10-21 12:49:43 +020075## Release 1.0.1 (2019-10-21)
Bazel Release Systeme693c192019-10-21 10:40:19 +020076
77```
Bazel Release Systemf15bfb32019-10-21 12:49:43 +020078Baseline: 97a82646dadd93bf52d47828bda42e3383b657c6
Bazel Release Systeme693c192019-10-21 10:40:19 +020079
80Cherry picks:
81
Bazel Release Systemf15bfb32019-10-21 12:49:43 +020082 + a0e3bb207fe2044120a2555a37162ee1f2b17500:
83 Remove support for authentication and .netrc
84 + ada2c55dcc106cd55bafbbe5d9a966e21e4770e0:
85 Add explicit --sdk argument to xcrun calls
86 + 847df729528f6e5919ec8374247eadf792cba544:
87 toolchain_vanilla: Unset source and target language level
88 versions
89 + 5cfa0303d6ac3b5bd031ff60272ce80a704af8c2:
90 Update java_tools version to javac11-v5.1.
91 + 9c257df5b9b1de5459fc066e77c435ae085957a7:
92 Release 1.0.0 (2019-10-10)
93 + f7a31b30f5319639c36a6c6b1c14f358597d98d2:
94 Prevent action-cache duplicate suppression
95 + 618e5a28f7f735c37724377b15775a4975349c74:
96 Use FileSystemUtils.moveFile instead of renameTo function of Path
Bazel Release Systeme693c192019-10-21 10:40:19 +020097```
98
Bazel Release Systemf15bfb32019-10-21 12:49:43 +020099This 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 +0200100
Bazel Release Systemb9067c42019-10-10 11:55:50 +0200101## Release 1.0.0 (2019-10-10)
Bazel Release System4f9cd082019-09-10 09:39:08 -0400102
103```
Bazel Release Systemb9067c42019-10-10 11:55:50 +0200104Baseline: 97a82646dadd93bf52d47828bda42e3383b657c6
Bazel Release System4f9cd082019-09-10 09:39:08 -0400105
106Cherry picks:
107
Bazel Release System4f9cd082019-09-10 09:39:08 -0400108 + a0e3bb207fe2044120a2555a37162ee1f2b17500:
109 Remove support for authentication and .netrc
Bazel Release Systemb9067c42019-10-10 11:55:50 +0200110 + ada2c55dcc106cd55bafbbe5d9a966e21e4770e0:
111 Add explicit --sdk argument to xcrun calls
112 + 847df729528f6e5919ec8374247eadf792cba544:
113 toolchain_vanilla: Unset source and target language level
114 versions
115 + 5cfa0303d6ac3b5bd031ff60272ce80a704af8c2:
116 Update java_tools version to javac11-v5.1.
Bazel Release System4f9cd082019-09-10 09:39:08 -0400117```
118
Bazel Release Systemb9067c42019-10-10 11:55:50 +0200119Incompatible changes:
120
121 - Python, Windows: the
122 --[no]incompatible_windows_escape_python_args is no longer
123 supported. (It was flipped to true in Bazel 0.27.0)
124 - --incompatible_use_native_patch is enabled by default
125 - Windows: --incompatible_windows_bashless_run_command is now true
126 by default, meaning "bazel run //foo:bin" will run the binary as
127 a subprocess of the Bazel client. (When the flag is false, the
128 binary is executed as a subprocess of Bash.)
129 - Windows: --incompatible_windows_native_test_wrapper is enabled by
130 default
131
132New features:
133
134 - Genrule now supports `cmd_bash`, `cmd_ps`, `cmd_bat` attributes.
135 More details at
136 https://docs.bazel.build/versions/master/be/general.html#genrule.c
137 md
138 - config_setting can now check multiple values on "--foo=firstVal
139 --foo=secondVal ..."-style flags
140 - tags: use `--experimental_allow_tags_propagation` flag to
141 propagate tags to the action's execution requirements from
142 targets. Such tags should start with: `no-`, `requires-`,
143 `supports-`, `block-`, `disable-`, `cpu:`. See #8830 for details.
144 - Users can now get generated def file from cc_library via
145 "def_file" output group on Windows.
146 - Platform-specific bazelrc: with --enable_platform_specific_config
147 you can
148 enable flags in bazelrc according to your host platform.
149 - tags: use `--experimental_allow_tags_propagation` flag to
150 propagate tags to the action's execution requirements from
151 cc_library or cc_binary targets. Such tags should start with:
152 `no-`, `requires-`, `supports-`, `block-`, `disable-`, `cpu:`.
153 See #8830 for details.
154 - tags: use --experimental_allow_tags_propagation flag to propagate
155 tags to the action's execution requirements from java targets.
156 Such tags should start with: no-, requires-, supports-, block-,
157 disable-, cpu:. See #8830 for details.
158
159Important changes:
160
161 - Bazel Android builds now use aapt2 by default. To revert to aapt,
162 set `--android_aapt=aapt`.
163 - Make either --subcommands or --verbose_failures imply
164 --materialize_param_files
165 - Bazel Android builds now use aapt2 by default. To revert to aapt,
166 set `--an...
167 RELNOTES: None
168 - by default all remote connections considered to be via `gRPC`
169 with TLS enabled, unless other specified. To disable TLS use
170 `grpc://` prefix for you endpoints. All remote connections via
171 `gRPC` affected - `--remote_cache`, `--remote_executor` or
172 `--bes_backend`. http cache/executor is not affected. See #8061
173 for details.
174 - cc_* rules support non-transitive defines through a
175 'local_defines' attribute.
176 - Enable
177 incompatible_disallow_rule_execution_platform_constraints_allowed
178 by default (https://github.com/bazelbuild/bazel/issues/8136).
179 - incompatible_disallow_split_empty_separator is enabled by default
180 - Fixed Android build issues with aapt2 on Windows. See the [GitHub
181 issue](https://github.com/bazelbuild/bazel/issues/9102) for more
182 information.
183 - --incompatible_disable_static_cc_toolchains has been flipped. See
184 https://github.com/bazelbuild/bazel/issues/8546.
185 - --remote_default_platform_properties has been deprecated in favor
186 of --remote_default_exec_properties.
187 - The --incompatible_make_thinlto_command_lines_standalone flag has
188 been flipped, see https://github.com/bazelbuild/bazel/issues/6791
189 for more information.
190 - The --incompatible_use_specific_tool_files flag has been flipped.
191 See https://github.com/bazelbuild/bazel/pull/9126 for more
192 information.
193 - Clarify default visibility.
194 - Enables incompatible_auto_configure_host_platform
195 - New incompatible flag --incompatible_disable_depset_items
196 disables the "items" parameter in the Starlark depset
197 constructor. Use "direct" and "transitive" parameters instead.
198 - --incompatible_assignment_identifiers_have_local_scope is enabled
199 - incompatible_disable_partition_default_parameter is enabled by
200 default ()
201 - incompatible_restrict_attribute_names is enabled
202 (https://github.com/bazelbuild/bazel/issues/6437)
203 - The --incompatible_disable_nocopts flag has been flipped. See
204 https://github.com/bazelbuild/bazel/issues/8546 for more
205 information.
206 - Deprecated Java-Starlark API java_common.create_provider is
207 removed. JavaInfo() legacy args (actions, sources, source_jars,
208 use_ijar, java_toolchain, host_javabase) are removed.
209 - The flag incompatible_disallow_hashing_frozen_mutables is enabled
210 (https://github.com/bazelbuild/bazel/issues/7800)
211 - `maven_jar` and `maven_server` now disallow using plain HTTP URLs
212 without a specified checksum. If you are still using `maven_jar`,
213 consider migrating to
214 [`rules_jvm_external`](https://github.com/bazelbuild/rules_jvm_ext
215 ernal) for transitive dependency management. See
216 [#8607](https://github.com/bazelbuild/bazel/issues/8607) for more
217 information.
218 - Added `sha256` and `sha256_src` attributes to `maven_jar`. Please
219 consider migrating to SHA-256 as SHA-1 has been deemed
220 cryptographically insecure ([https://shattered.io]()). Or, use
221 [`rules_jvm_external`](https://github.com/bazelbuild/rules_jvm_ext
222 ernal) to manage your transitive Maven dependencies with artifact
223 pinning and SHA-256 verification support.
224 - introducing per-target exec_properties
225 - Bazel now supports ThinLTO builds on Linux for Clang versions >=
226 6.0. ThinLTO can be enabled through --features=thin_lto
227 - The Target.output_group field in Starlark is removed. Use
228 OutputGroupInfo instead. See
229 https://github.com/bazelbuild/bazel/issues/7949 for details.
230 - Make a number of parameters of Starlark builtin functions
231 positional-only (as opposed to specifiable by keyword). See
232 https://github.com/bazelbuild/bazel/issues/8147 for details.
233 - incompatible_skip_genfiles_symlink is enabled by default (#8651)
234 - Change Pruned events will fire immediately after being checked.
235 - --incompatible_remove_legacy_whole_archive has been flipped. See
236 https://github.com/bazelbuild/bazel/issues/7362 for more
237 information
238
239This 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 -0400240
Bazel Release Systemf791df02019-08-28 10:29:12 -0400241## Release 0.29.0 (2019-08-28)
242
243```
244Baseline: 6c5ef5369a3ffceb8a65cc159a2fff1401242810
245
246Cherry picks:
247
248 + 338829f2633e91ae0492ee4169446465e10b5994:
249 Fix retrying of SocketTimeoutExceptions in HttpConnector
250 + 14651cd86b6fc1d48f56a208a9b5278b3e2dcf75:
251 Fallback to next urls if download fails in HttpDownloader
252 + b7d300c6be3e130dec0e62a4f19493105f595d57:
253 Fix incorrect stdout/stderr in remote action cache. Fixes #9072
254 + 960217631abdcab0a7ed95e2ab10acd55f636639:
255 Automated rollback of commit
256 0f0a0d58725603cf2f1c175963360b525718a195.
257 + da557f96c697102ad787e57bbf7db2460f6a60a8:
258 Windows: fix "bazel run" argument quoting
259 + ef8b6f68cc8ffd2e6523a894034ae383e87ec74c:
260 Return JavaInfo from java proto aspects.
261 + 209175ff8ffeb05628ed8a187dd414a3d2935c55:
262 Revert back to the old behavior of not creating a proto source
263 root for generated .proto files.
264 + 644060b7a4bc98384b66e3d2343b950b875b5e35:
265 Fix PatchUtil for parsing special patch format
266 + 067040d7bcb3b24a88432e210a96adacee3f37b4:
267 Put the removal of the legacy repository-relative proto path
268 behind the --incompatible_generated_protos_in_virtual_imports
269 flag.
270 + 76ed014e77d7b862f6eb2894600ae525ea570f11:
271 repository mapping lookup: convert to canonical name first
272```
273
274Important changes:
275
276 - rule_test: fix Bazel 0.27 regression ("tags" attribute was
277 ingored, https://github.com/bazelbuild/bazel/issues/8723
278 - Adds --incompatible_enable_execution_transition, which enables
279 incremental migration of host attributes to exec attributes.
280 - objc_proto_library rule has been deleted from Bazel.
281 - repository_ctx.read is no longer restricted to files
282 in the repository contructed.
283 - tags 'no-remote', 'no-cache', 'no-remote-cache',
284 'no-remote-exec', 'no-sandbox' are propagated now to the actions
285 from targets when '--ncompatible_allow_tags_propagation' flag set
286 to true. See #8830.
287 - Adds flag
288 --//tools/build_defs/pkg:incompatible_no_build_defs_pkg. This
289 flag turns off the rules //tools/build_defs/pkg:{pkg_deb,
290 pkg_rpm, pkg_tar}.
291 - The Android NDK is now integrated with toolchains. To use them,
292 pass the `--extra_toolchains=@androidndk//:all` flag or register
293 them in your WORKSPACE with
294 `register_toolchains("@androidndk//:all")`.
295 - Stdout and stderr are checked to determine if output is going to a
296 terminal. `--is_stderr_atty` is deprecated and `--isatty` is
297 undeprecated.
298 - --incompatible_load_proto_rules_from_bzl was added to forbid
299 loading the native proto rules directly. See more on tracking
300 issue #8922
301 - Docker Sandbox now respects remote_default_platform_properties
302 - pkg_deb, pkg_rpm & pkg_tar deprecation plan announced in the
303 documentation.
304 - The new java_tools release:
305 * fixes https://github.com/bazelbuild/bazel/issues/8614
306 * exposes a new toolchain `@java_tools//:prebuilt_toolchain`
307 which is using all the pre-built tools, including singlejar and
308 ijar, even on remote execution. This toolchain should be used
309 only when host and execution platform are the same, otherwise the
310 binaries will not work on the execution platform.
311 - java_common.compile supports specifying
312 annotation_processor_additional_inputs and
313 annotation_processor_additional_outputs for the Java compilation
314 action for supporting annotation processors that consume or
315 produce artifacts. Fixes #6415
316 - There is now documentation on optimizing Android app build
317 performance. Read it at
318 https://docs.bazel.build/versions/0.29.0/android-build-performance
319 .html
320 - Execution log now respects --remote_default_platform_properties
321 - Include a link to the relevant documenation on transitive Python
322 version errors.
323 - New incompatible flag
324 --incompatible_disable_target_provider_fields removes the ability
325 (in Starlark) to access a target's providers via the field syntax
326 (for example, `ctx.attr.dep.my_provider`). The provider-key
327 syntax should be used instead (for example,
328 `ctx.attr.dep[MyProvider]`). See
329 https://github.com/bazelbuild/bazel/issues/9014 for details.
330 - A new platform exec_properties is added to replace
331 remote_execution_properties.
332 - Added --incompatible_load_python_rules_from_bzl, which will be
333 flipped in Bazel 1.0. See
334 https://github.com/bazelbuild/bazel/issues/9006.
335 - add --break_build_on_parallel_dex2oat_failure to shortcut tests
336 on dex2oat errors
337
338This 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.
339
Bazel Release System3fd8c412019-07-19 17:14:15 +0200340## Release 0.28.1 (2019-07-19)
341
342```
343Baseline: 2e374a9c6e3d4ed71f0145de287c4b2fe43c76d6
344
345Cherry picks:
346
347 + 6d0b14b95a71175362030b4811ca74512b00a890:
348 rule_test: apply "tags" to all rules in the macro
349 + 18cd9048526f067a4950c6ddbf4b1b3604760af0:
350 Release 0.28.0 (2019-07-10)
351 + 2260b970cb2a10c21a2fde116aa82c79be52991f:
352 When copying dynamic libraries to binary, copy them into the
353 runfiles as well.
354 + a0af170f87c8230fcd8860599b983df097b646bd:
355 Undo breaking change of hiding android_common behind
356 --experimental_google_legacy_api
357 + c6ca6c2ccd9e11a87f837341ae05d2ba037975b1:
358 Ignore external/ directory in users' source tree when creating
359 execroot symlink tree.
360```
361
362Important changes:
363
364 - rule_test: fix Bazel 0.27 regression ("tags" attribute was
365 ingored, https://github.com/bazelbuild/bazel/issues/8723
366
367This release contains contributions from many people at Google, as well as .
368
Bazel Release Systemf4a08032019-07-10 18:11:04 +0200369## Release 0.28.0 (2019-07-10)
Bazel Release System7e809492019-07-10 17:50:43 +0200370
371```
Bazel Release Systemf4a08032019-07-10 18:11:04 +0200372Baseline: 2e374a9c6e3d4ed71f0145de287c4b2fe43c76d6
Bazel Release System7e809492019-07-10 17:50:43 +0200373
374Cherry picks:
375
Bazel Release System7e809492019-07-10 17:50:43 +0200376 + 6d0b14b95a71175362030b4811ca74512b00a890:
377 rule_test: apply "tags" to all rules in the macro
378```
379
Bazel Release Systemf4a08032019-07-10 18:11:04 +0200380Incompatible changes:
381
382 - Add --incompatible_enable_profile_by_default to enable the JSON
383 profile by default.
384 - The --incompatible_windows_style_arg_escaping flag is flipped to
385 "true", and the "false" case unsupported. Bazel no longer accepts
386 this flag.
387
Bazel Release System7e809492019-07-10 17:50:43 +0200388Important changes:
389
Bazel Release Systemf4a08032019-07-10 18:11:04 +0200390 - Bazel now supports hiding compiler warnings for targets that
391 you're not explicitly building (see
392 https://docs.bazel.build/versions/master/user-manual.html#flag--au
393 to_output_filter).
394 - Flag `--incompatible_restrict_escape_sequences` is added. See
395 https://github.com/bazelbuild/bazel/issues/8380
396 - The "info" command now supports the "starlark-semantics"
397 argument, which outputs a representation of the effective Starlark
398 semantics option values.
399 - The `outputs` parameter of the `rule()` function is deprecated
400 and attached to flag `--incompatible_no_rule_outputs_param`.
401 Migrate rules to use `OutputGroupInfo` or `attr.output` instead.
402 See https://github.com/bazelbuild/bazel/issues/7977 for more info.
Bazel Release System7e809492019-07-10 17:50:43 +0200403 - When `--incompatible_strict_action_env` is enabled, the default
404 `PATH` now includes `/usr/local/bin`.
405 - Turn on --experimental_build_setting_api by default for starlark
406 build settings (see
407 https://docs.bazel.build/versions/master/skylark/config.html#user-
408 defined-build-settings for more info)
Bazel Release Systemf4a08032019-07-10 18:11:04 +0200409 - `@bazel_tools//tools/jdk:toolchain_java10` and
410 `@bazel_tools//tools/jdk:toolchain_java11` are now available to
411 enable java 10, respectively java 11 language level support.
412 - The `command` parameter of the `actions.run_shell()` function
413 will be restricted to only accept strings (and not string
414 sequences). This check is attached to flag
415 `--incompatible_run_shell_command_string`. One may migrate by
416 using the `arguments` parameter of `actions.run()` instead. See
417 https://github.com/bazelbuild/bazel/issues/5903 for more info.
418 - Incompatible change
419 `--incompatible_use_platforms_repo_for_constraints` has been
420 added. See https://github.com/bazelbuild/bazel/issues/8622 for
421 details.
422 - Incompatible change
423 `--incompatible_use_platforms_repo_for_constraints` has been
424 added. See https://github.com/bazelbuild/bazel/issues/8622 f...
425 - Bazel's C++ autoconfiguration now understands `BAZEL_LINKLIBS`
426 environment variable to specify system libraries that should be
427 appended to the link command line.
428 - paths under the execution root starting with "." or "_" will be
429 re-linked across builds
430 - execution_log_json_file now allows actions without outputs.
431 - Labels aapt as deprecated for aapt_version, and heavily endorses
432 aapt2.
433 - Update doc links still pointing to cc_binary.features to point to
434 common features
435 - Incompatible change
436 `--incompatible_use_platforms_repo_for_constraints` has been
437 added. See https://github.com/bazelbuild/bazel/issues/8622 for
438 details.
439 RELNOTES:
440 - --incompatible_disable_nocopts flag has been added. See
441 https://github.com/bazelbuild/bazel/issues/8706 for details.
442 - Fixed treatment of <dist:module /> tags in AndroidManifest.xml
443 - Fixed asset precedence for android_binary rules with aapt2.
444 - Bazel now officially supports running on CentOS 7.
445 - The runtime dynamic libraries are no longer in default output
446 group of cc_binary.
447 - set the FDOBuildType as CSFDO for binaries built with
448 --cs_fdo_absolute_path.
449 - Bazel can now be bootstrapped and built on arm64 platforms
450 without requiring any flags or patches.
451 - Fixed treatment of AndroidManifest.xml attributes which contained
452 XML escaping
453 - Retire experimental blaze flag
454 experimental_link_compile_output_separately. The same behavior is
455 available through the feature dynamic_link_test_srcs.
456 - --incompatible_load_java_rules_from_bzl was added to forbid
457 loading the native java rules directly. See more on tracking
458 issue #8746
459 - Turn on --experimental_build_setting_api by default for starlark
460 build settings (see
461 https://docs.bazel.build/versions/master/skylark/config.html#user-
462 defined-build-settings for more info)
463 - Attribute names are going to be restricted and must be
464 syntactically valid identifiers.
465 https://github.com/bazelbuild/bazel/issues/6437
Bazel Release System7e809492019-07-10 17:50:43 +0200466 - rule_test: fix Bazel 0.27 regression ("tags" attribute was
467 ingored, https://github.com/bazelbuild/bazel/issues/8723
468
Bazel Release Systemf4a08032019-07-10 18:11:04 +0200469This 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 +0200470
Bazel Release System316cb9b2019-07-02 19:45:51 +0200471## Release 0.27.1 (2019-07-02)
472
473```
474Baseline: 8c3b3fba3f68833bd97d3df2db9c48f0539efc3b
475
476Cherry picks:
477
478 + 123c68daed17b19927372e4df7f7a2256db6b80e:
479 Warn in more cases of possible Python version mismatch in host
480 config
481 + 052167e907373ac7ea43238c3049739f6e94a9d1:
482 Add a non-strict autodetecting Python toolchain
483 + 6ef6d879ab69225d54ecab3db847fb4eff33bbeb:
484 Default java toolchain target
485 + 50fa3ec27efdd95771c70faa38a4543d4fed44f2:
486 Fix problems with the non-strict Python toolchain
487 + e2a626c4f61fe4ceb79a5675d09a6f25ca7b5b22:
488 Automated rollback of commit
489 bc6f7cb330bb531f062bb301f3703876051191f5.
490 + 6efc5b787ad3164cc2fb779c73377695032b4524:
491 Treat existence of managed directories as a part of repository
492 dirtiness.
493 + 3a4be3c93813987a27a97dade3f9ebbc5770e349:
494 Add /usr/local/bin to default PATH under strict action env
495 + 5c1005c0947b010ee36ca851b8ba07c9479cf682:
496 Automated rollback of commit
497 536a166270590a8dbc701718550383f3a07cc763.
498 + c82eb4878c7dc829455caeb915affe36c89df06f:
499 Release 0.27.0 (2019-06-17)
500 + d4589630428c1c1bc08a9baf36257e636fe9d746:
501 Check for both :lcov_merger and $lcov_merger attributes in
502 TestActionBuilder.
503```
504
505Important changes:
506
507 - Add new options --cs_fdo_absolute_path= to support the absolute
508 path
509 profile for LLVM's context-sensitive FDO.
510 - When `--incompatible_strict_action_env` is enabled, the default
511 `PATH` now includes `/usr/local/bin`.
512 - Turn on --experimental_build_setting_api by default for starlark
513 build settings (see
514 https://docs.bazel.build/versions/master/skylark/config.html#user-
515 defined-build-settings for more info)
516
517This release contains contributions from many people at Google, as well as Ricky Pai.
518
Bazel Release Systemaecb1e82019-06-17 14:57:36 +0200519## Release 0.27.0 (2019-06-17)
Bazel Release Systeme6976fb2019-06-06 13:01:57 +0200520
521```
Bazel Release Systemaecb1e82019-06-17 14:57:36 +0200522Baseline: 5935259724bebd1c4bdebc90e159d0f655c8c219
Bazel Release Systeme6976fb2019-06-06 13:01:57 +0200523
524Cherry picks:
525
Bazel Release Systemaecb1e82019-06-17 14:57:36 +0200526 + fe81b49e727efdcc90a270520af193af75f4e31d:
527 Support of using the absolute path profile for LLVM's Context
528 Sensitive FDO
529 + ce5e7180d98e1244fdfba0349952727826cbd173:
530 Demote OptionProcessor from globals
531 + 3ed9d3681c3e130aafcf3c405ff1795c601bdf95:
532 Properly wire up BES half-close. The lack thereof was a simple
533 oversight.
534 + 4ca768e9f87701fb92598d0a8325a5fc8881a852:
535 standardize graph output indentation with 2 spaces
536 + aff189a7c514a0171a53a2dcdd37c93ecaa672ad:
537 Make sure default Linux artifacts have an associated action,
538 even when artifact names are altered.
539 + 8c3b3fba3f68833bd97d3df2db9c48f0539efc3b:
540 Failures early in package loading will now fail all --keep_going
541 builds.
542 + 123c68daed17b19927372e4df7f7a2256db6b80e:
543 Warn in more cases of possible Python version mismatch in host
544 config
545 + 052167e907373ac7ea43238c3049739f6e94a9d1:
546 Add a non-strict autodetecting Python toolchain
547 + 6ef6d879ab69225d54ecab3db847fb4eff33bbeb:
548 Default java toolchain target
549 + 50fa3ec27efdd95771c70faa38a4543d4fed44f2:
550 Fix problems with the non-strict Python toolchain
551 + e2a626c4f61fe4ceb79a5675d09a6f25ca7b5b22:
552 Automated rollback of commit
553 bc6f7cb330bb531f062bb301f3703876051191f5.
554 + 6efc5b787ad3164cc2fb779c73377695032b4524:
555 Treat existence of managed directories as a part of repository
556 dirtiness.
557 + 3a4be3c93813987a27a97dade3f9ebbc5770e349:
558 Add /usr/local/bin to default PATH under strict action env
559 + 5c1005c0947b010ee36ca851b8ba07c9479cf682:
560 Automated rollback of commit
561 536a166270590a8dbc701718550383f3a07cc763.
Bazel Release Systeme6976fb2019-06-06 13:01:57 +0200562```
563
Bazel Release Systemaecb1e82019-06-17 14:57:36 +0200564Incompatible changes:
565
566 - --incompatible_disable_objc_provider_resources no longer has
567 effect. Use of deprecated resource fields on the Objc provider is
568 now disallowed regardless of this flag.
569 - deleted deprecated --experimental-remote-retry* flags, please use
570 --remote_retries instead
571 - flipped --incompatible_list_based_execution_strategy_selection
572 flag to be true by default. See
573 https://github.com/bazelbuild/bazel/issues/7480 for details.
574 - Octal integer literals in Starlark are required to start with
575 "Oo".
576 - The "native" module is no longer available in BUILD files, all
577 its members can be accessed directly as global symbols. This can
578 be temporarily reverted by providing
579 --incompatible_disallow_native_in_build_file=false as a flag to
580 Blaze.
581 - The "native" module is no longer available in BUILD files, all
582 its members can be accessed directly as global symbols. This can
583 be temporarily reverted by providing
584 --incompatible_disallow_native_in_build_file=false as a flag to
585 Blaze.
586 - Turn off binary style profile format.
587 - The "native" module is no longer available in BUILD files, all
588 its members can be accessed directly as global symbols. This can
589 be temporarily reverted by providing
590 --incompatible_disallow_native_in_build_f...
591 - cleanup that affects user provided apple frameworks is
592 now enabled by default. See
593 https://github.com/bazelbuild/bazel/issues/7944 for more info.
594 - Python rules now determine the Python runtime using toolchains
595 rather than `--python_top` and `--python_path`, which are
596 deprecated. See
597 [#7899](https://github.com/bazelbuild/bazel/issues/7899) for
598 information on declaring Python toolchains and migrating your
599 code. As a side-benefit, this addresses
600 [#4815](https://github.com/bazelbuild/bazel/issues/4815)
601 (incorrect interpreter version used) on non-Windows platforms.
602 Note however that some builds break due to getting the version
603 they asked for -- consider setting `python_version = "PY2"` on
604 Python 2 targets and `--host_force_python=PY2` if any Python 2
605 targets are used in the host configuration. You can temporarily
606 opt out of this change with
607 `--incompatible_use_python_toolchains=false`.
608 - Depsets can't be iterated over unless they're converted to lists
609 using the .to_list() method. Use
610 --incompatible_depset_is_not_iterable=false to
611 temporarily restore the previous behaviour.
612
613New features:
614
615 - Bash, runfiles: the copy-pasted init code of the Bash runfiles
616 library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
617 The rlocation() implementation is the same.
618 - Bash, runfiles: the copy-pasted init code of the Bash runfiles
619 library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
620 The rlocation() implementation is the same.
621 - Bash, runfiles: the copy-pasted init code of the Bash runfiles
622 library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
623 To use the new init code, you need Bazel 0.27 or newer. The old
624 (longer) init code still works.
625
626Important changes:
627
628 - The `outputs` parameter of the `rule()` function is deprecated
629 and attached to flag `--incompatible_no_rule_outputs_param`.
630 Migrate rules to use `OutputGroupInfo` or `attr.output` instead.
631 See https://github.com/bazelbuild/bazel/issues/7977 for more info.
632 - The --incompatible_disable_objc_library_resources flag is being
633 removed. Please remove it from your configs as it otherwise will
634 fail the build.
635 - Add a generic additional_linker_inputs attribute on cc_binary
636 rules.
637 - Windows, C++ autoconfigure: BAZEL_VC and BAZEL_VS may now have
638 quotes, so if you set these envvars' values in cmd.exe via
639 TAB-completion then you no longer need to remove the surrounding
640 quotes.
641 - pkg_deb has new attributes: `config` and `templates` that can be
642 used for integration with debconf
643 - Allow cc_import() of a DLL with no interface library on Windows,
644 used to document runtime dependencies.
645 - All host-configured Python tools that are built for the wrong
646 Python version will now emit a warning message when they exit
647 with non-zero status. See #7899.
648 - deprecated --remote_local_fallback_strategy. Use
649 `--strategy=remote,local` instead. See
650 https://github.com/bazelbuild/bazel/issues/7480.
651 - Introduce --incompatible_disable_native_android_rules flag
652 - The Android desugaring actions now support a persistent worker
653 mode for faster local build performance. Enable it with
654 `--strategy=Desugar=worker`.
655 - --incompatible_static_name_resolution_in_build_files is now
656 enabled by default
657 - --incompatible_disable_deprecated_attr_params is now enabled by
658 default (#5818)
659 - Repository containing autoconfigured C++ toolchain
660 `@local_config_cc` has been split in 2 - see
661 `local_config_cc_toolchains`.
662 - --incompatible_string_join_requires_strings is now enabled by
663 default
664 - Flag --incompatible_new_actions_api is enabled by dewfault (#5825)
665 - New flag `--incompatible_disallow_empty_glob`. See
666 https://github.com/bazelbuild/bazel/issues/8195
667 - --incompatible_no_kwargs_in_build_files is enabled by default
668 - Incompatible flag
669 `--incompatible_require_ctx_in_configure_features` has been
670 flipped. See https://github.com/bazelbuild/bazel/issues/7793 for
671 more information.
672 - `BAZEL_USE_XCODE_TOOLCHAIN=1` tells Bazel not to look for Xcode to
673 decide whether to enable toolchains for Apple rules, but to
674 assume Xcode is
675 available. Can be also used when building on Darwin and no C++ or
676 ObjC is being
677 built, so there is no need to detect Xcode.
678 - Android desugaring actions now use persistent workers by default.
679 This has been measured to provide up to 20% reduction in build
680 times. To disable it, use the `--strategy=Desugar=sandboxed`
681 flag. See https://github.com/bazelbuild/bazel/issues/8342 and
682 https://github.com/bazelbuild/bazel/issues/8427 for more details
683 on local build speed optimization for Android apps.
684 - Fixed an issue with Android builds where `--fat_apk_cpu` doesn't
685 pack all selected shared libraries from `aar_import` targets into
686 the APK. See
687 [#8283](https://github.com/bazelbuild/bazel/issues/8283).
688 - Turn on --experimental_starlark_config_transitions by default for
689 starlark transitions (see
690 https://docs.bazel.build/versions/master/skylark/config.html#user-
691 defined-transitions for more info)
692 - Turn on --experimental_build_setting_api by default for starlark
693 build settings (see
694 https://docs.bazel.build/versions/master/skylark/config.html#user-
695 defined-build-settings for more info)
696 - Incompatible flag
697 `--incompatible_dont_enable_host_nonhost_crosstool_features` has
698 been flipped. See https://github.com/bazelbuild/bazel/issues/7407
699 for more information.
700 - Added support for Android NDK 19 and 20.
701 - Flip --incompatible_no_support_tools_in_action_inputs
702 - --remote_executor, --remote_cache or --bes_backend=someurl.com
703 would be treated as grpcs://someurl.com, if the
704 --incompatible_tls_enabled_removed flag enabled. See
705 https://github.com/bazelbuild/bazel/issues/8061 for details.
706 - Add new options --cs_fdo_absolute_path= to support the absolute
707 path
708 profile for LLVM's context-sensitive FDO.
709 - When `--incompatible_strict_action_env` is enabled, the default
710 `PATH` now includes `/usr/local/bin`.
711 - Turn on --experimental_build_setting_api by default for starlark
712 build settings (see
713 https://docs.bazel.build/versions/master/skylark/config.html#user-
714 defined-build-settings for more info)
715
716This 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 +0200717
Klaus Aehligc84f7d32019-06-17 15:26:27 +0200718## Release 0.26.1 (2019-06-06)
719
720```
721Baseline: cb82ed84d44db0169a8fbf15f9cee434b77002bb
722
723Cherry picks:
724
725 + d1c0d205945f5a765efb0a48593b1cd82699ce32:
726 Allow WORKSPACE file to be a symlink if no managed directories
727 is used.
728 + c3d2aa74ccd23dfb8a8173c2b3e2955f0c5892cb:
729 Fix ios, tvos and watchos arm64 constraints
730 + 55e42052a22a60b68d88a89932b2a068311b1a95:
731 Bump java_tools_javac10 from 3.1 to 3.2
732```
733
734Patch release on top of 0.26.0, fixing
735- https://github.com/bazelbuild/bazel/issues/8475
736- https://github.com/bazelbuild/bazel/issues/8520
737- https://github.com/bazelbuild/intellij/issues/845
738
Bazel Release System8089b272019-05-28 10:31:53 +0200739## Release 0.26.0 (2019-05-28)
Bazel Release System48845c32019-05-23 15:21:53 -0400740
741```
Bazel Release System8089b272019-05-28 10:31:53 +0200742Baseline: daa8ae565ab2023e49134f0aad233b0a8bd7a5d0
Bazel Release System48845c32019-05-23 15:21:53 -0400743
744Cherry picks:
745
Bazel Release System8089b272019-05-28 10:31:53 +0200746 + 61c7ffa60ae9c1937dd6d8ee30a8c0471094ee71:
747 Automated rollback of commit
748 87388e24814b177f54ca7697b4233489f90c587e.
749 + 898d7b6138af73f03daf35b767d252560087de70:
750 Add test for repository overrides, conflicting with managed
751 directories being added when Bazel server is already started.
752 + c2001a4569483596d9dc74ba9cabcbe4b6f1887f:
753 Automated rollback of commit
754 bbe47a1564a832e1a175206f2dfbc92af94c120b.
755 + e67c961905792cd63950c6f6efc33275ad243c49:
756 Fix a non-determinism in create_embedded_tools.py.
Bazel Release System48845c32019-05-23 15:21:53 -0400757 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
758 Remove unsupported cpu attribute from cc_toolchains.
Bazel Release System8089b272019-05-28 10:31:53 +0200759 + 597e289b097d3bfed8eea1cb0924bbeb04877e42:
760 remote: made CombinedCache a composition of Disk and Http Cache
761 + 942f7cf6a0da0a4ecc804615424f039e50963933:
762 C++: Fixes bug in C++ API with external repo aspects
Bazel Release System48845c32019-05-23 15:21:53 -0400763 + 85a5a2bd569a5274950fc7327a044c395248c024:
764 Configure @androidsdk//:emulator_x86 and :emulator_arm to point
765 to the unified emulator binary
Bazel Release System8089b272019-05-28 10:31:53 +0200766 + 9835cb4135503768cdf1161746b95d7969ccb938:
767 Automated rollback of commit
768 844e4e297b404d6ff28b818d8150d4b9c47de887.
769 + c963ba21073b514961946b8b4b45b091f08fdaa1:
770 Windows, Python: fix arg. esc. also in host config
771 + a1ea487e0a9e180a36fa4aab57f7c746ddcf367a:
772 Do not pre-cache changed files under managed directories
773 + 7dc78cdd04eedf2f4373b170053ba5fc2a990929:
774 Add explicit execution and target constraints for autodiscovered
775 cc t?
776 + dd9ac13f7e3b71bdf2eca717bc7681bdd12389a2:
777 Fix a bug when a relative path is used for the execution log
Bazel Release System48845c32019-05-23 15:21:53 -0400778 + 0ff19c6d0adf3c0df94fff59ca3bd13cbcf99897:
779 Fix StandaloneTestStrategy.appendStderr
Bazel Release System8089b272019-05-28 10:31:53 +0200780 + 7f495315749478e75a3424726cc273a535b7c3b8:
781 Fix the autodetecting Python toolchain on Mac
782 + ddce7235ef29a0aba727c265eae865d15af4ed09:
783 Avoid exporting PATH unnecessarily
784 + 35dd05a059fa7fddfdd888cfc69102994e3c04dc:
785 Allow Starlark rules to be able to use the `exec_compatible_with`
Bazel Release System48845c32019-05-23 15:21:53 -0400786```
787
Klaus Aehlig63bf1152019-05-28 10:41:12 +0200788### Incompatible changes
789
790- [`--incompatible_windows_escape_jvm_flags`](https://github.com/bazelbuild/bazel/issues/7486)
791 is enabled by default, and removed.
792
793- [`--incompatible_windows_style_arg_escaping`](https://github.com/bazelbuild/bazel/issues/7454)
794 is enabled by default.
795
796- [`--incompatible_no_output_attr_default`](https://github.com/bazelbuild/bazel/issues/7950)
797 is enabled by default.
798
799- [`--incompatible_depset_union`](https://github.com/bazelbuild/bazel/issues/5817)
800 is enabled by default.
801
802- [`--incompatible_disable_genrule_cc_toolchain_dependency`](https://github.com/bazelbuild/bazel/issues/6867) removed
803
804- [`--Incompatible_disallow_rule_execution_platform_constraints_allowed`](https://github.com/bazelbuild/bazel/issues/8136):
805 When enabled, disallows the use of the `execution_platform_constraints_allowed`
806 attribute when defining new rules.
807
808- [`--incompatible_disable_objc_provider_resources`](https://github.com/bazelbuild/bazel/issues/5710)
809 is now enabled by default.
810
811### Apple
812
813- The `--ios_multi_cpus`, `--watchos_cpus`, `--macos_cpus` and `--tvos_cpus` are
814 now additive. This means that you can now split the `--ios_multi_cpus=arm64,armv7`
815 into `--ios_multi_cpus=arm64` and `--ios_multi_cpus=armv7`.
816
817- Add `--incompatible_objc_framework_cleanup` to control whether to enable some
818 objc framework cleanup that changes the API. Specifically, the cleanup changes
819 the objc provider API pertaining to frameworks. This change is expected to be
820 transparent to most users unless they write their own Starlark rules to handle
821 frameworks. See https://github.com/bazelbuild/bazel/issues/7594 for details.
822
823- `objc_library` does not support resource attributes any more. Please read
824 [#7594](https://github.com/bazelbuild/bazel/issues/7594) for more info.
825
826### Android
827
828- Android resource conflicts will no longer be reported between a strong attr
829 resource and a weak attr resource, if the weak attr does not have format
830 specified.
831
832### C++
833
834- [Allow debugging C++ features logic](https://github.com/bazelbuild/bazel/commit/53156db1e30fe7197889c3cbc8d1321ff9b85143
835
836- Add new options [`--cs_fdo_instrument`](https://docs.bazel.build/versions/master/command-line-reference.html#flag--cs_fdo_instrument)
837 and [`--cs_fdo_profile`](https://docs.bazel.build/versions/master/command-line-reference.html#flag--cs_fdo_profile)
838 to support LLVM's context-sensitive FDO (CSFDO).
839
840- [Bazel C++ compile/link Starlark API](https://github.com/bazelbuild/bazel/issues/4570).
841 Can be used with experimental flag `--experimental_cc_skylark_api_enabled_packages`.
842
843- `cc_toolchain.static_runtime_lib` and `cc_toolchain.dynamic_runtime_lib` are
844 now exposed to Starlark.
845
846- C++ Starlark API for compilation and linking is no longer whitelisted
847
848- Incompatible flag `--incompatible_make_thinlto_command_lines_standalone` has
849 been added. See https://github.com/bazelbuild/bazel/issues/6791 for details.
850
851- Feature `disable_whole_archive_for_static_lib` has been added to allow turning
852 off legacy_whole_archive for individual targets.
853 https://github.com/bazelbuild/bazel/issues/7362
854
855### Python
856
857- Fixed an issue where some `py_runtimes` were incompatible with using
858 `--build_python_zip` ([#5104](https://github.com/bazelbuild/bazel/issues/5104)).
859
860### Starlark
861
862- The flag [`--incompatible_restrict_named_params`](https://github.com/bazelbuild/bazel/issues/8147)
863 is added. [Buildifier](https://github.com/bazelbuild/buildtools) will soon be
864 updated to automatically fix this in your code.
865
866- The flag [`--incompatible_no_kwargs_in_build_files`](https://github.com/bazelbuild/bazel/issues/8021)
867 is added. It fixes a bug where the `**kwarg` notation was allowed in `BUILD`
868 files.
869
870- The flag [`--incompatible_static_name_resolution_in_build_files`](https://github.com/bazelbuild/bazel/issues/8022)
871 is added. This fixes a bug where invalid code was silently accepted.
872
873- The flag [`--incompatible_disallow_old_octal_notation`](https://github.com/bazelbuild/bazel/issues/8059)
874 is added. It removes a deprecated notation for octal numbers.
875 [Buildifier](https://github.com/bazelbuild/buildtools) can update your code
876 automatically.
877
878- [`struct.to_proto()`](https://docs.bazel.build/versions/master/skylark/lib/struct.html#to_proto)
879 can now convert dictionaries into proto3 text message.
880
881- The [`glob`](https://docs.bazel.build/versions/master/be/functions.html#glob)
882 function has a new argument `allow_empty`. When set to `False` (this will be
883 the default in the future), the glob fails when it doesn't match anything.
884 Please explicitly set `allow_empty = True` to the globs that need it.
885
886### Windows
887
888- Windows, Python: the new `--incompatible_windows_escape_python_args` flag
889 (`false` by default) builds `py_binary` and `py_test` targets with correct
890 command line argument escaping. Similar to
891 https://github.com/bazelbuild/bazel/issues/7486 but for `py_*` rules.
892
893### Other changes
894
895- cquery supports `--output=build`
896
897- Generated Go protobufs now depend on `//net/proto2/go:proto_gendeps` instead
898 of `//net/proto2/go:proto`
899
900- Added `--incompatible_remove_binary_profile` to disable the old binary
901 profiles. Instead use the JSON profile format:
902 https://docs.bazel.build/versions/master/skylark/performance.html#json-profile
903
904- Introducing `--execution_log_binary_file` and `--execution_log_json_file`
905 that output a stable sorted execution log. They will offer a stable
906 replacement to `--experimental_execution_log_file`.
907
908- New platform_mappings ability to allow gradual flag to platforms/toolchains
909 migration. See also https://github.com/bazelbuild/bazel/issues/6426
910
911- Added support for compiling against fully qualified `R` classes from
912 `aar_import` dependencies.
913
914- `--tls_enabled` flag is deprecated. Please provide `grpcs` as a scheme in
915 the URLs if TLS should be used for a remote connection.
916
917### Community
918
919- Alex Eagle gave a talk at ng-conf:
920 [The Bazel Opt-in Preview is Here!](https://www.youtube.com/watch?v=J1lnp-nU4wM)
921
922- The latest release of
923 [rules_haskell](https://github.com/tweag/rules_haskell/releases/tag/v0.9)
924 includes many new improvements, including an initial Windows support.
925
926- The latest
927 [Buildifier release](https://github.com/bazelbuild/buildtools/releases/tag/0.25.1)
928 includes Windows binaries, as well as a JSON output for diagnostics.
929
930- Natan Silnitsky gave the talk
931 [How to successfully migrate to Bazel from Maven or Gradle](https://www.youtube.com/watch?v=2UOFm-Cc_cU)
932 at the Java Eastern Europe Conference.
933
934This release contains contributions from many people at Google, as well as
935Benjamin Peterson, Brian Topping, clyang82, Dave Lee, George Gensure,, Greg,
936Guro Bokum, Keith Smiley, Max Vorobev, Michael Hackner, Robert Brown, Robert
937Sayre, Ryan Beasley, and Yannic.
938
939
940## Release 0.25.3 (2019-05-23)
941
942```
943Baseline: 03662462941953dad23af88693804b8b1d4430b9
944
945Cherry picks:
946
947 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
948 Windows: fix native test wrapper's arg. escaping
949 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
950 Flip --incompatible_windows_escape_jvm_flags
951 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
952 Sort DirectoryNode children to ensure validity.
953 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
954 Conditionally use deprecated signature for initWithContentsOfURL
955 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
956 Add http_archive entries for testing with various JDK versions.
957 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
958 Now that ubuntu1804 uses JDK 11, remove explicit
959 ubuntu1804_java11 tests.
960 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
961 Fix wrong name of ubuntu1804_javabase9 task.
962 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
963 Remove @executable_path/Frameworks from rpaths
964 + 130f86ded1ce84f959f0b78c065211902faed546:
965 Download stderr/stdout to a temporary FileOutErr
966 + 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
967 Release 0.25.0 (2019-05-01)
968 + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
969 Add implementation to removed methods to address
970 https://github.com/bazelbuild/bazel/issues/8226
971 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
972 Remove unsupported cpu attribute from cc_toolchains.
973 + cccced1e7fc7eaf4ba8f2c9d73dbac72b2686df9:
974 Release 0.25.1 (2019-05-07)
975 + 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
976 Use package identifier instead of package name
977 + 85a5a2bd569a5274950fc7327a044c395248c024:
978 Configure @androidsdk//:emulator_x86 and :emulator_arm to point
979 to the unified emulator binary
980 + 6549ac5bba3eef2b1813b5a75757437383bf38f0:
981 Release 0.25.2 (2019-05-10)
982 + 0ff19c6d0adf3c0df94fff59ca3bd13cbcf99897:
983 Fix StandaloneTestStrategy.appendStderr
984```
985
Bazel Release System48845c32019-05-23 15:21:53 -0400986Incompatible changes:
987
988 - Flip --incompatible_windows_escape_jvm_flags to true. See
989 https://github.com/bazelbuild/bazel/issues/7486
990
Klaus Aehlig63bf1152019-05-28 10:41:12 +0200991This 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 -0400992
Klaus Aehlig63bf1152019-05-28 10:41:12 +0200993## Release 0.25.2 (2019-05-10)
Bazel Release System6549ac52019-05-10 16:44:09 -0400994
Klaus Aehlig63bf1152019-05-28 10:41:12 +0200995```
996Baseline: 03662462941953dad23af88693804b8b1d4430b9
Bazel Release System6549ac52019-05-10 16:44:09 -0400997
Klaus Aehlig63bf1152019-05-28 10:41:12 +0200998Cherry picks:
Bazel Release System6549ac52019-05-10 16:44:09 -0400999
Klaus Aehlig63bf1152019-05-28 10:41:12 +02001000 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
1001 Windows: fix native test wrapper's arg. escaping
1002 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
1003 Flip --incompatible_windows_escape_jvm_flags
1004 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
1005 Sort DirectoryNode children to ensure validity.
1006 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
1007 Conditionally use deprecated signature for initWithContentsOfURL
1008 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
1009 Add http_archive entries for testing with various JDK versions.
1010 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
1011 Now that ubuntu1804 uses JDK 11, remove explicit
1012 ubuntu1804_java11 tests.
1013 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
1014 Fix wrong name of ubuntu1804_javabase9 task.
1015 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
1016 Remove @executable_path/Frameworks from rpaths
1017 + 130f86ded1ce84f959f0b78c065211902faed546:
1018 Download stderr/stdout to a temporary FileOutErr
1019 + 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
1020 Release 0.25.0 (2019-05-01)
1021 + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
1022 Add implementation to removed methods to address
1023 https://github.com/bazelbuild/bazel/issues/8226
1024 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
1025 Remove unsupported cpu attribute from cc_toolchains.
1026 + cccced1e7fc7eaf4ba8f2c9d73dbac72b2686df9:
1027 Release 0.25.1 (2019-05-07)
1028 + 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
1029 Use package identifier instead of package name
1030 + 85a5a2bd569a5274950fc7327a044c395248c024:
1031 Configure @androidsdk//:emulator_x86 and :emulator_arm to point
1032 to the unified emulator binary
1033```
1034
1035* Add fix for https://github.com/bazelbuild/bazel/issues/8254
1036* Add fix for https://github.com/bazelbuild/bazel/issues/8280
1037
1038## Release 0.25.1 (2019-05-07)
1039
1040```
1041Baseline: 03662462941953dad23af88693804b8b1d4430b9
1042
1043Cherry picks:
1044
1045 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
1046 Windows: fix native test wrapper's arg. escaping
1047 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
1048 Flip --incompatible_windows_escape_jvm_flags
1049 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
1050 Sort DirectoryNode children to ensure validity.
1051 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
1052 Conditionally use deprecated signature for initWithContentsOfURL
1053 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
1054 Add http_archive entries for testing with various JDK versions.
1055 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
1056 Now that ubuntu1804 uses JDK 11, remove explicit
1057 ubuntu1804_java11 tests.
1058 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
1059 Fix wrong name of ubuntu1804_javabase9 task.
1060 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
1061 Remove @executable_path/Frameworks from rpaths
1062 + 130f86ded1ce84f959f0b78c065211902faed546:
1063 Download stderr/stdout to a temporary FileOutErr
1064 + 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
1065 Release 0.25.0 (2019-05-01)
1066 + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
1067 Add implementation to removed methods to address
1068 https://github.com/bazelbuild/bazel/issues/8226
1069 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
1070 Remove unsupported cpu attribute from cc_toolchains.
1071```
1072
1073Adding 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 -04001074
Bazel Release System2ab38662019-05-01 17:41:28 -04001075## Release 0.25.0 (2019-05-01)
1076
1077```
1078Baseline: 03662462941953dad23af88693804b8b1d4430b9
1079
1080Cherry picks:
1081
1082 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
1083 Windows: fix native test wrapper's arg. escaping
1084 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
1085 Flip --incompatible_windows_escape_jvm_flags
1086 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
1087 Sort DirectoryNode children to ensure validity.
1088 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
1089 Conditionally use deprecated signature for initWithContentsOfURL
1090 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
1091 Add http_archive entries for testing with various JDK versions.
1092 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
1093 Now that ubuntu1804 uses JDK 11, remove explicit
1094 ubuntu1804_java11 tests.
1095 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
1096 Fix wrong name of ubuntu1804_javabase9 task.
1097 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
1098 Remove @executable_path/Frameworks from rpaths
1099 + 130f86ded1ce84f959f0b78c065211902faed546:
1100 Download stderr/stdout to a temporary FileOutErr
1101```
1102
1103Incompatible changes:
1104
1105 - (Starlark rules) The legacy "py" provider can no longer be passed
1106 to or produced by native Python rules; use
1107 [PyInfo](https://docs.bazel.build/versions/master/skylark/lib/PyIn
1108 fo.html) instead. See
1109 [#7298](https://github.com/bazelbuild/bazel/issues/7298) for more
1110 information.
1111 - (Python rules) The `default_python_version` attribute of the
1112 `py_binary` and `py_test` rules has been renamed to
1113 `python_version`. Also, the `--force_python` flag has been
1114 renamed to `--python_version`. See
1115 [#7308](https://github.com/bazelbuild/bazel/issues/7308) for more
1116 information.
1117 - (Python rules) The python version now changes to whatever version
1118 is specified in a `py_binary` or `py_test`'s `python_version`
1119 attribute, instead of being forced to the value set by a command
1120 line flag. You can temporarily revert this change with
1121 `--incompatible_allow_python_version_transitions=false`. See
1122 [#7307](https://github.com/bazelbuild/bazel/issues/7307) for more
1123 information.
1124 - --incompatible_disable_third_party_license_checking` is enabled
1125 by default
1126 - Introduced --incompatible_use_python_toolchains, which supersedes
1127 --python_top/--python_path. See #7899 and #7375 for more
1128 information.
1129 - Python 3 is now the default Python version (for `py_binary` and
1130 `py_test` targets that don't specify the `python_version`
1131 attribute). Targets that are built for Python 3 will no longer
1132 have their output put in a separate `-py3` directory; instead
1133 there is now a separate `-py2` directory for Python 2 targets.
1134 See #7359 and #7593 for more information.
1135 - objc_library resource attributes are now disabled by default.
1136 Please migrate them to data instead. See
1137 https://github.com/bazelbuild/bazel/issues/7594 for more info.
1138 - Flip --incompatible_windows_escape_jvm_flags to true. See
1139 https://github.com/bazelbuild/bazel/issues/7486
1140
1141New features:
1142
1143 - genrules now support a $(RULEDIR) variable that resolves to the
1144 directory where the outputs of the rule are put.
1145 - Added --incompatible_windows_native_test_wrapper flag: enables
1146 using the Bash-less test wrapper on Windows. (No-op on other
1147 platforms.)
1148
1149Important changes:
1150
1151 - incompatible_use_jdk11_as_host_javabase: makes JDK 11 the default
1152 --host_javabase for remote jdk
1153 (https://github.com/bazelbuild/bazel/issues/7219)
1154 - Makes genquery somepath output deterministic.
1155 - Tristate attributes of native rules now reject True/False (use
1156 1/0)
1157 - Rollback of "Tristate attributes of native rules now reject
1158 True/False (use 1/0)"
1159 - Tristate attributes of native rules now reject True/False (use
1160 1/0)
1161 - Added -incompatible_do_not_split_linking_cmdline flag. See #7670
1162 - Tristate attributes of native rules now temporarily accept
1163 True/False again
1164 - `--incompatible_disable_legacy_crosstool_fields` has been flipped
1165 (https://github.com/bazelbuild/bazel/issues/6861)
1166 `--incompatible_disable_expand_if_all_available_in_flag_set` has
1167 been flipped (https://github.com/bazelbuild/bazel/issues/7008)
1168 - `--incompatible_disable_legacy_crosstool_fields` has been flipped
1169 (https://github.com/bazelbuild/bazel/issues/6861)
1170 `--incompatible_disable_expand_if_all_available_in_flag_set...
1171 RELNOTES: None.
1172 - --incompatible_no_transitive_loads is enabled by default.
1173 - Makes TreeArtifact deterministic.
1174 - --incompatible_no_transitive_loads is enabled by default.
1175 - Android NDK C++ toolchain is now configured in Starlark. This
1176 should be a backwards compatible change, but in case of bugs
1177 blame unknown commit.
1178 - `--incompatible_disable_legacy_crosstool_fields` has been flipped
1179 (https://github.com/bazelbuild/bazel/issues/6861)
1180 `--incompatible_disable_expand_if_all_available_in_flag_set` has
1181 been flipped (https://github.com/bazelbuild/bazel/issues/7008)
1182 - --incompatible_no_transitive_loads is enabled by default.
1183 - --incompatible_bzl_disallow_load_after_statement is enabled
1184 - Added `--incompatible_require_ctx_in_configure_features`, see
1185 https://github.com/bazelbuild/bazel/issues/7793 for details.
1186 - Flag --incompatible_merge_genfiles_directory is flipped. This
1187 removes the directory `bazel-genfiles` in favor of `bazel-bin`.
1188 - previously deprecated flag --experimental_remote_spawn_cache was
1189 removed
1190 - `--incompatible_disallow_load_labels_to_cross_package_boundaries`
1191 is enabled by default
1192 - Fix an issue where the Android resource processor did not surface
1193 errors from aapt2 compile and link actions.
1194 - --incompatible_no_attr_license is enabled by default
1195 - `--incompatible_disable_crosstool_file` has been flipped
1196 (https://github.com/bazelbuild/bazel/issues/7320)
1197 - A new flag `--incompatible_string_join_requires_strings` is
1198 introduced. The sequence argument of `string.join` must contain
1199 only string elements.
1200 - --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
1201 s_tree has been flipped
1202 - Incompatible flag `--incompatible_disable_legacy_cc_provider` has
1203 been flipped (see https://github.com/bazelbuild/bazel/issues/7036
1204 for details).
1205 - Don't drop the analysis cache when the same --define flag is set
1206 multiple times and the last value is the same (e.g. if the
1207 current invocation was run with "--define foo=bar" and the
1208 previous one was run with "--define foo=baz --define foo=bar").
1209 - The --incompatible_disable_genrule_cc_toolchain_dependency flag
1210 has been flipped (see
1211 https://github.com/bazelbuild/bazel/issues/6867 for details).
1212 - Incompatible change
1213 `--incompatible_remove_cpu_and_compiler_attributes_from_cc_toolcha
1214 in` has been flipped (see
1215 https://github.com/bazelbuild/bazel/issues/7075 for details).
1216 - --noexperimental_java_coverage is a no-op flag.
1217 - --experimental_java_coverage/--incompatible_java_coverage flag was
1218 removed. See #7425.
1219 - incompatible_use_toolchain_providers_in_java_common: pass
1220 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
1221 APIs instead of configured targets
1222 (https://github.com/bazelbuild/bazel/issues/7186.)
1223 - --incompatible_remote_symlinks has been flipped. The remote
1224 caching and execution protocol will now represent symlinks in
1225 outputs as such. See
1226 https://github.com/bazelbuild/bazel/issues/7917 for more details.
1227 - Bazel is now ~20MiB smaller, from unbundling the Android rules'
1228 runtime dependencies.
1229
1230This 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, ??.
1231
Bazel Release System7f8bc5f2019-04-02 12:26:16 -04001232## Release 0.24.1 (2019-04-02)
1233
1234```
1235Baseline: 235e76b0e756d05599a6cbe1663ff8e13df84a86
1236
1237Cherry picks:
1238
1239 + badd82e4c5cda7b3232481e1c63a5550ac898cd8:
1240 Automated rollback of commit
1241 1b4c37c38804559b5c1ade6f9c93501875e231b0.
1242 + 33e571939085dd158422e1b3503cfc738e0a3165:
1243 Fix the Python version select() mechanism to handle
1244 PY3-as-default
1245 + 56366ee3a73e2c92b2fa36a9840478202b9618ca:
1246 Set non-empty values for msvc_env_* when VC not installed
1247 + 22b3fbf4800113df51d603d943bd9eb9517ef904:
1248 Windows, test wrapper: fix broken integration test
1249 + f14d447cb56aee563f6e686b8f5b086a3bb55d47:
1250 Add whitelist file for starlark transitions
1251 + d99bc478db1f3414b4f6cd3dc14ca70aacf6b375:
1252 Update BUILD
1253 + 3529ad7ccf0c26dfb20a9d67b9d96de15f309f8b:
1254 Rename tools/function_transition_whitelist/BUILD to
1255 tools/whitelists/function_transition_whitelist/BUILD
1256 + de0612ad3ef7cc8c44069261befdeb0d15b97c10:
1257 Update bazel_toolchains to latest release and add toolchain
1258 config target for BuildKite CI (rbe_ubuntu1604)
1259 + 3e660ad178926648e8e10e2ee7a1a30b12f9b3d1:
1260 Automated rollback of commit
1261 087734009801242b83655efb863b2d5a761ae3dc.
1262 + 314cf1f9e4b332955c4800b2451db4e926c3e092:
1263 Pass -undefined dynamic_lookup to dynamic library linking
1264 actions on Mac
1265 + fc586a86b614667a21e5a01aea3544ac0338de78:
1266 Move cc_flags target into @bazel_tools//tools/cpp.
1267 + ea1703b30f9ac43a0c3262f5729c34658ed8d473:
1268 C++: Fix crash reported in #7721
1269 + 803801d1494f06f0ce977a1f2241ef6a4d85df09:
1270 Pass execution info to xml generating spawn. Fixes #7794
1271 + f092ec388a4b58788285b928c86f0f81561d4be4:
1272 Release 0.24.0 (2019-03-26)
1273 + c56c489119e6587975964c44ceb9e429ad950736:
1274 Wrap StatusRuntimeExceptions from GrpcRemoteCache
1275```
1276
1277Baseline: f092ec388a4b58788285b928c86f0f81561d4be4
1278
1279Cherrypicks:
1280+ c56c489119e6587975964c44ceb9e429ad950736: Wrap StatusRuntimeExceptions from GrpcRemoteCache
1281
Bazel Release System4f5c17c2019-03-26 12:08:43 -04001282## Release 0.24.0 (2019-03-26)
Bazel Release System0e4525f2019-03-11 17:43:39 +01001283
1284```
Bazel Release System4f5c17c2019-03-26 12:08:43 -04001285Baseline: 235e76b0e756d05599a6cbe1663ff8e13df84a86
Bazel Release System0e4525f2019-03-11 17:43:39 +01001286
1287Cherry picks:
1288
Bazel Release System4f5c17c2019-03-26 12:08:43 -04001289 + badd82e4c5cda7b3232481e1c63a5550ac898cd8:
1290 Automated rollback of commit
1291 1b4c37c38804559b5c1ade6f9c93501875e231b0.
1292 + 33e571939085dd158422e1b3503cfc738e0a3165:
1293 Fix the Python version select() mechanism to handle
1294 PY3-as-default
Bazel Release System0e4525f2019-03-11 17:43:39 +01001295 + 56366ee3a73e2c92b2fa36a9840478202b9618ca:
1296 Set non-empty values for msvc_env_* when VC not installed
Bazel Release System4f5c17c2019-03-26 12:08:43 -04001297 + 22b3fbf4800113df51d603d943bd9eb9517ef904:
1298 Windows, test wrapper: fix broken integration test
1299 + f14d447cb56aee563f6e686b8f5b086a3bb55d47:
1300 Add whitelist file for starlark transitions
1301 + d99bc478db1f3414b4f6cd3dc14ca70aacf6b375:
1302 Update BUILD
1303 + 3529ad7ccf0c26dfb20a9d67b9d96de15f309f8b:
1304 Rename tools/function_transition_whitelist/BUILD to
1305 tools/whitelists/function_transition_whitelist/BUILD
1306 + de0612ad3ef7cc8c44069261befdeb0d15b97c10:
1307 Update bazel_toolchains to latest release and add toolchain
1308 config target for BuildKite CI (rbe_ubuntu1604)
1309 + 3e660ad178926648e8e10e2ee7a1a30b12f9b3d1:
1310 Automated rollback of commit
1311 087734009801242b83655efb863b2d5a761ae3dc.
1312 + 314cf1f9e4b332955c4800b2451db4e926c3e092:
1313 Pass -undefined dynamic_lookup to dynamic library linking
1314 actions on Mac
1315 + fc586a86b614667a21e5a01aea3544ac0338de78:
1316 Move cc_flags target into @bazel_tools//tools/cpp.
1317 + ea1703b30f9ac43a0c3262f5729c34658ed8d473:
1318 C++: Fix crash reported in #7721
1319 + 803801d1494f06f0ce977a1f2241ef6a4d85df09:
1320 Pass execution info to xml generating spawn. Fixes #7794
Bazel Release System0e4525f2019-03-11 17:43:39 +01001321```
1322
Bazel Release System4f5c17c2019-03-26 12:08:43 -04001323Incompatible changes:
Bazel Release System0e4525f2019-03-11 17:43:39 +01001324
Bazel Release System4f5c17c2019-03-26 12:08:43 -04001325 - Added --incompatible_py3_is_default to test switching the default
1326 Python version to PY3 for py_binary/py_test targets that do not
1327 specify a version. See #7359.
1328 - //tools/cmd_line_differ has been renamed to //tools/aquery_differ
1329 & can now compare (in addition to command lines) inputs of
1330 actions given 2 aquery results.
1331 - java_(mutable_|)proto_library: removed strict_deps attribute.
1332 - The flag --incompatible_list_based_execution_strategy_selection
1333 was added and is used to ease the migration to the new style of
1334 specifying
1335 execution strategy selection and fallback behavior. The
1336 documentation for
1337 this flag is here: https://github.com/bazelbuild/bazel/issues/7480
1338 - Added --incompatible_py2_outputs_are_suffixed, for switching the
1339 bazel-bin symlink to point to Python 3 outputs instead of Python
1340 2 outputs. See
1341 [#7593](https://github.com/bazelbuild/bazel/issues/7593).
Bazel Release Systemf28ff222019-03-04 11:12:24 +01001342
Bazel Release System4f5c17c2019-03-26 12:08:43 -04001343New features:
Bazel Release Systemf28ff222019-03-04 11:12:24 +01001344
Bazel Release System4f5c17c2019-03-26 12:08:43 -04001345 - Make actions.args() object chainable.
1346 - Added --incompatible_windows_style_arg_escaping flag: enables
1347 correct subprocess argument escaping on Windows. (No-op on other
1348 platforms.)
1349 - Added --incompatible_windows_escape_jvm_flags flag: enables
1350 correct java_binary.jvm_flags and java_test.jvm_flags
1351 tokenization and escaping on Windows. (No-op on other platforms.)
Bazel Release Systemf28ff222019-03-04 11:12:24 +01001352
Bazel Release System4f5c17c2019-03-26 12:08:43 -04001353Important changes:
Bazel Release Systemf28ff222019-03-04 11:12:24 +01001354
Bazel Release System4f5c17c2019-03-26 12:08:43 -04001355 - Allow running aquery against the current state of Skyframe
1356 - Added support for the "navigation" resource directory to Android
1357 resource processing in Bazel. This is used by the Navigation
1358 Architecture Component.
1359 - --incompatible_disable_runtimes_filegroups was flipped
1360 (https://github.com/bazelbuild/bazel/issues/6942)
1361 - Incompatible flag `--incompatible_linkopts_in_user_link_flags`
1362 has been flipped (https://github.com/bazelbuild/bazel/issues/6826)
1363 - Incompatible flag `--incompatible_dont_emit_static_libgcc` has
1364 been flipped (https://github.com/bazelbuild/bazel/issues/6825)
1365 - --incompatible_disallow_filetype is enabled by default.
1366 - Fixed issue where exceptions and stacktraces were silently
1367 swallowed in the Android resource processing pipeline.
1368 - `--incompatible_disable_expand_if_all_available_in_flag_set` has
1369 been flipped (https://github.com/bazelbuild/bazel/issues/7008)
1370 - --incompatible_disallow_dict_plus is enabled by default
1371 - Adds --incompatible_disable_objc_library_resources to disable
1372 resource attributes in objc_library. Please migrate these
1373 attributes to `data` instead.
1374 - --incompatible_disallow_old_style_args_add is enabled by default.
1375 - Using the `native` module in BUILD files is deprecated. It will
1376 be forbidden with --incompatible_disallow_native_in_build_file.
1377 - (Python rules) PyRuntimeInfo is exposed to Starlark, making it
1378 possible for Starlark rules to depend on or imitate `py_runtime`.
1379 The `files` attribute of `py_runtime` is no longer mandatory.
1380 - incompatible_use_toolchain_providers_in_java_common: pass
1381 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
1382 APIs instead of configured
1383 targetshttps://github.com/bazelbuild/bazel/issues/7186.
1384 - is_using_fission crosstool variable is now exposed in all compile
1385 actions when fission is active (it used to be exposed only for
1386 linking actions).
1387 - incompatible_use_toolchain_providers_in_java_common: pass
1388 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
1389 APIs instead of configured
1390 targetshttps://github.com/bazelbuild/bazel/issues/7186.
1391 - `py_runtime` gains a `python_version` attribute for specifying
1392 whether it represents a Python 2 or 3 interpreter.
1393 - `--incompatible_java_coverage` is enabled by default.
1394 - Starlark rules can safely declare attributes named "licenses"
1395 - When using
1396 --incompatible_list_based_execution_strategy_selection, Bazel
1397 will use remote execution by default (if you specify
1398 --remote_executor), otherwise persistent workers (if the action
1399 supports it), otherwise sandboxed local execution (if the action
1400 and platform supports it) and at last unsandboxed local
1401 execution. The flags --spawn_strategy and --strategy continue to
1402 work as before - this only sets new defaults for the case where
1403 you don't specify these flags.
1404 - Set default value of --incompatible_remap_main_repo to true.
1405 - Set default value of --incompatible_remap_main_repo to true.
1406
1407This 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 +01001408
Bazel Release Systemed104862019-02-26 18:36:00 +01001409## Release 0.23.0 (2019-02-26)
1410
1411```
1412Baseline: 441fd75d0047f8a998d784c557736ab9075db893
1413
1414Cherry picks:
1415
1416 + 6ca7763669728253606578a56a205bca3ea883e9:
1417 Fix a typo
1418 + 2310b1c2c8b2f32db238f667747e7d5672480f4a:
1419 Ignore SIGCHLD in test setup script
1420 + f9eb1b56706f91063e9d080b850fa56964e77324:
1421 Complete channel initialization in the event loop
1422```
1423
1424Incompatible changes:
1425
1426 - //src:bazel uses the minimal embedded JDK, if you want to
1427 avoid the extra steps of minimizing the JDK, use //src:bazel-dev
1428 instead.
1429 - //src:bazel uses the minimal embedded JDK, if you want to
1430 avoid the extra steps of building bazel with the minimized JDK,
1431 use //src:bazel-dev
1432 instead.
1433 - The default value of --host_platform and --platforms will be
1434 changed to not be dependent on the configuration. This means
1435 that setting
1436 --cpu or --host_cpu will not affect the target or host platform.
1437 - Toolchain resolution for cc rules is now enabled via an
1438 incompatible flag, --incompatible_enable_cc_toolchain_resolution.
1439 The previous
1440 flag, --enabled_toolchain_types, is deprecated and will be
1441 removed.
1442 - java_(mutable_|)proto_library: removed strict_deps attribute.
1443 - Python rules will soon reject the legacy "py" struct provider
1444 (preview by enabling --incompatible_disallow_legacy_py_provider).
1445 Upgrade rules to use PyInfo instead. See
1446 [#7298](https://github.com/bazelbuild/bazel/issues/7298).
1447 - java_(mutable_|)proto_library: removed strict_deps attribute.
1448 - Two changes to native Python rules: 1) `default_python_version`
1449 and `--force_python` are deprecated; use `python_version` and
1450 `--python_version` respectively instead. You can preview the
1451 removal of the deprecated names with
1452 --incompatible_remove_old_python_version_api. See
1453 [#7308](https://github.com/bazelbuild/bazel/issues/7308). 2) The
1454 version flag will no longer override the declared version of a
1455 `py_binary` or `py_test` target. You can preview this new
1456 behavior with --incompatible_allow_python_version_transitions.
1457 See [#7307](https://github.com/bazelbuild/bazel/issues/7307).
1458
1459Important changes:
1460
1461 - There is a new flag available
1462 `--experimental_java_common_create_provider_enabled_packages`
1463 that acts as a whitelist for usages of
1464 `java_common.create_provider`. The constructor will be deprecated
1465 in Bazel 0.23.
1466 - [#7024] Allow chaining of the same function type in aquery.
1467 - Introduces --local_{ram,cpu}_resources, which will take the place
1468 of --local_resources.
1469 - [#6930] Add documentation for the aquery command.
1470 - Incompatible flag `--incompatible_dont_emit_static_libgcc` has
1471 been flipped (https://github.com/bazelbuild/bazel/issues/6825)
1472 - Incompatible flag `--incompatible_linkopts_in_user_link_flags`
1473 has been flipped (https://github.com/bazelbuild/bazel/issues/6826)
1474 - Flag --incompatible_range_type is removed.
1475 - Flag --incompatible_disallow_slash_operator is removed.
1476 - Flag --incompatible_disallow_conflicting_providers is removed.
1477 - `--incompatible_disallow_data_transition` is now enabled by
1478 default
1479 - Allow inclusion of param files in aquery output
1480 - [#6985] Add test to verify aquery's behavior for Cpp action
1481 templates.
1482 - --incompatible_require_feature_configuration_for_pic was flipped
1483 (https://github.com/bazelbuild/bazel/issues/7007).
1484 - Also ignore module-info.class in multi-version Jars
1485 - objc_framework has been deleted. Please refer to
1486 apple_dynamic_framework_import and apple_static_framework_import
1487 rules available in
1488 [rules_apple](https://github.com/bazelbuild/rules_apple/blob/maste
1489 r/doc/rules-general.md)
1490 - --test_sharding_strategy=experimental_heuristic is no more
1491 - objc_bundle_library has been removed. Please migrate to
1492 rules_apple's
1493 [apple_resource_bundle](https://github.com/bazelbuild/rules_apple/
1494 blob/master/doc/rules-resources.md#apple_resource_bundle).
1495 - You can now use the attribute `aapt_version` or the flag
1496 `--android_aapt` to pick the aapt version for android_local_test
1497 tests
1498 - In --keep_going mode, Bazel now correctly returns a non-zero exit
1499 code when encountering a package loading error during target
1500 pattern parsing of patterns like "//foo:all" and "//foo/...".
1501 - The default value for --incompatible_strict_action_env has been
1502 flipped to 'false' again, as we discovered breakages for local
1503 execution users. We'll need some more time to figure out the best
1504 way to make this work for local and remote execution. Follow
1505 https://github.com/bazelbuild/bazel/issues/7026 for more details.
1506 - Locally-executed spawns tagged "no-cache" no longer upload their
1507 outputs to the remote cache.
1508 - Introduces --host_compiler flag to allow setting a compiler for
1509 host compilation when --host_crosstool_top is specified.
1510 - --incompatible_expand_directories is enabled by default
1511 - [aquery] Handle the case of aspect-on-aspect.
1512 - Fixed a longstanding bug in the http remote cache where the value
1513 passed to
1514 --remote_timeout would be interpreted as milliseconds instead of
1515 seconds.
1516 - Enable --incompatible_use_jdk10_as_host_javabase by default, see
1517 https://github.com/bazelbuild/bazel/issues/6661
1518 - Add --incompatible_use_jdk11_as_host_javabase: makes JDK 11 the
1519 default --host_javabase for remote jdk
1520 (https://github.com/bazelbuild/bazel/issues/7219)
1521 - Highlight TreeArtifact in aquery text output.
1522 - Locally-executed spawns tagged "no-cache" no longer upload their
1523 outputs to the remote cache.
1524 - java_common APIs now accept JavaToolchainInfo and JavaRuntimeInfo
1525 instead of configured targets for java_toolchain and java_runtime
1526 - cc_common.create_cc_toolchain_config_info is stable and available
1527 for production use
1528 - incompatible_use_toolchain_providers_in_java_common: pass
1529 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
1530 APIs instead of configured targets
1531 (https://github.com/bazelbuild/bazel/issues/7186)
1532 - --incompatible_strict_argument_ordering is enabled by default.
1533 - Bazel now supports reading cache hits from a repository cache,
1534 even if it doesn't have write access to the cache.
1535 - Adding arm64e to OSX CROSSTOOL.
1536 - Ignore package-level licenses on config_setting.
1537 - Add an optional output_source_jar parameter to java_common.compile
1538 - --incompatible_disable_objc_provider_resources is now enabled by
1539 default. This disables ObjcProvider's fields related to resource
1540 processing.
1541 - Explicitly set https.protocols and exclude TLSv1.3.
1542 - Bazel now validates that JAVA_HOME points to a valid JDK and
1543 falls back to auto-detection by looking up the path of `javac`.
1544 - Upgrade the embedded JDK version to 11.0.2.
1545 - Added --incompatible_disable_crosstool_file
1546 (https://github.com/bazelbuild/bazel/issues/7320)
1547 - --incompatible_disable_objc_provider_resources is now enabled by
1548 default. This disables ObjcProvider's fields related to resource
1549 processing.
1550 - --incompatible_disable_tools_defaults_package has been flipped.
1551 - For tests that do not generate a test.xml, Bazel now uses a
1552 separate action to generate one; this results in minor
1553 differences in the generated test.xml, and makes the generation
1554 more reliable overall.
1555 - incompatible_generate_javacommon_source_jar: java_common.compile
1556 now always generates a source jar, see
1557 https://github.com/bazelbuild/bazel/issues/5824.
1558 - New incompatible flag
1559 --incompatible_disallow_struct_provider_syntax removes the
1560 ability for rule implementation functions to return struct. Such
1561 functions should return a list of providers instead. Migration
1562 tracking: https://github.com/bazelbuild/bazel/issues/7347
1563
1564This 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.
1565
Bazel Release System2f82b332019-01-28 13:54:53 +01001566## Release 0.22.0 (2019-01-28)
1567
1568```
1569Baseline: deb028e3fb30b4e2953df16f35ab1f55a08ea8fa
1570
1571Cherry picks:
1572
1573 + a3a5975dca3ad04c19dc7d063fcf490a8cd612fd:
1574 Fix a race condition in remote cache
1575 + b8d0e1b05c225a4b943ce498194d069d18093d9a:
1576 Use a new GitHub token and KMS key for the release process.
1577 + 3759e3895503aa2bbd6943c5b568b8c050b9448f:
1578 remote: fix unexpected IO error (not a directory)
1579 + 4473bb1a9ec4282aa8497b86580d68e82415df4a:
1580 Fix a race condition in Bazel's Windows process management.
1581 + 9137fb940886aa516f32ca8a36feccedb545c99b:
1582 undo flag flip of --incompatible_strict_action_env
1583 + 12ab12e80ad1c9a3510aa4bbfdf3fddafc0bca00:
1584 Revert "Enabling Bazel to generate input symlinks as defined by
1585 RE AP?
1586 + 6345c747d8cb1819e70c853becadbf8a989decf1:
1587 Automated rollback of commit
1588 30536baa4a410d8c0a7adab5cd58cd8a2ac7e46c.
1589```
1590
Bazel Release System2f82b332019-01-28 13:54:53 +01001591
Bazel Release System2f82b332019-01-28 13:54:53 +01001592
Klaus Aehligcb59bd22019-01-28 14:20:37 +01001593The Bazel team is happy to announce a new release of Bazel,
1594[Bazel 0.22.0](https://github.com/bazelbuild/bazel/releases/tag/0.22.0).
Bazel Release System2f82b332019-01-28 13:54:53 +01001595
Klaus Aehligcb59bd22019-01-28 14:20:37 +01001596Baseline: deb028e3fb30b4e2953df16f35ab1f55a08ea8fa
Bazel Release System2f82b332019-01-28 13:54:53 +01001597
Klaus Aehligcb59bd22019-01-28 14:20:37 +01001598### Breaking changes
1599
1600- [`--incompatible_string_is_not_iterable`](https://github.com/bazelbuild/bazel/issues/5830)
1601
1602### Upcoming changes
1603
1604This release is a [migration window for the following changes](https://github.com/bazelbuild/bazel/labels/migration-0.22).
1605
1606- [`--incompatible_disallow_data_transition`](https://github.com/bazelbuild/bazel/issues/6153)
1607- [`--incompatible_dont_emit_static_libgcc`](https://github.com/bazelbuild/bazel/issues/6825)
1608- [`--incompatible_linkopts_in_user_link_flags`](https://github.com/bazelbuild/bazel/issues/6826)
1609- [`--incompatible_disable_legacy_crosstool_fields`](https://github.com/bazelbuild/bazel/issues/6861)
1610- [`--incompatible_use_aapt2_by_default`](https://github.com/bazelbuild/bazel/issues/6907)
1611- [`--incompatible_disable_runtimes_filegroups`](https://github.com/bazelbuild/bazel/issues/6942)
1612- [`--incompatible_disable_legacy_cc_provider`](https://github.com/bazelbuild/bazel/issues/7036)
1613- [`--incompatible_require_feature_configuration_for_pic`](https://github.com/bazelbuild/bazel/issues/7007)
1614- [`--incompatible_disable_expand_if_all_available_in_flag_set`](https://github.com/bazelbuild/bazel/issues/7008)
1615- [`--incompatible_disable_legacy_proto_provider`](https://github.com/bazelbuild/bazel/issues/7152)
1616- [`--incompatible_disable_proto_source_root`](https://github.com/bazelbuild/bazel/issues/7153)
1617
1618### General Changes
1619
1620- https://docs.bazel.build now supports versioned
1621 documentation. Use the selector at the top of the navigation bar
1622 to switch between documentation for different Bazel releases.
1623
1624- set `projectId` in all `PublishBuildToolEventStreamRequest`
1625
1626### Android
1627
1628- mobile-install now works with aapt2. Try it out with `bazel
1629 mobile-install --android_aapt=aapt2 //my:target`
1630
1631- Fixed issues with mobile-install v1 when deploying to Android 9 Pie
1632 devices. https://github.com/bazelbuild/bazel/issues/6814
1633
1634- Fixed issue where error messages from Android manifest merging
1635 actions were not fully propagated.
1636
1637- New incompatible change flag `--incompatible_use_aapt2_by_default`
1638 for defaulting to aapt2 in Android builds has been added. To build with
1639 aapt2 today, pass the flag
1640 `--incompatible_use_aapt2_by_default=true` or
1641 `--android_aapt=aapt2`, or set the `aapt_version` to `aapt2` on
1642 your `android_binary` or `android_local_test` target.
1643
1644- Fixed mobile-install v1 error when installing an app with native
1645 libraries onto an Android 9 (Pie) device. See
1646 https://github.com/bazelbuild/examples/issues/77
1647
1648- Fixed a mobile-install bug where `arm64-v8a` libraries were not
1649 deployed correctly on `arm64` devices. This was done by enabling
1650 incremental native lib deployment by default. A previously
1651 undocumented `--android_incremental_native_libs` flag is removed,
1652 and is now the regular behavior. See
1653 https://github.com/bazelbuild/bazel/issues/2239
1654
1655### Apple
1656
1657- The `objc_bundle` rule has been removed. Please migrate to rules_apple's
1658 [apple_bundle_import](https://github.com/bazelbuild/rules_apple/bl
1659 ob/master/doc/rules-resources.md#apple_bundle_import).
1660
1661- The `apple_stub_binary` rule has been deleted.
1662
1663- The `--xbinary_fdo` option that passes xbinary profiles has been added.
1664
1665### C++
1666
1667- `cc_toolchain.(static|dynamic)_runtime_libs` attributes are now optional
1668
1669### Packaging
1670
1671- `build_tar.py` in `tools/build_defs/pkg` now supports a JSON manifest
1672 that can be used to add paths that have symbols that can't be
1673 specified via the command line
1674
1675### Query
1676
1677- Filtering of inputs, outputs, and mnemonic filtering have been added to
1678 aquery.
1679
1680- The aquery and cquery query2 tests have been open-sourced.
1681
1682- The Bazel query how-to recommends ":*" instead of ":all", because "all" might
1683 be the name of a target.
1684
1685### Testing
1686
1687- The `--runs_per_test` has been placed in the TESTING documentation category.
1688
1689- A a clarifying message has been added to test case summary output when all
1690 test cases pass but the target fails.
1691
1692### Contributors
1693
1694This release contains contributions from many people at Google, as well as
1695Benjamin Peterson, Dave Lee, George Gensure, Gert van Dijk, Gustavo Storti
1696Salibi, Keith Smiley, Loo Rong Jie, Lukasz Tekieli, Mikhail Mazurskiy, Thi,
1697Travis Cline, Vladimir Chebotarev, and Yannic.
Bazel Release System2f82b332019-01-28 13:54:53 +01001698
Bazel Release Systema189d422018-12-19 13:53:11 +01001699## Release 0.21.0 (2018-12-19)
1700
1701```
1702Baseline: cb9b2afbba3f8d3a1db8bf68e65d06f1b36902f5
1703
1704Cherry picks:
1705
1706 + 12b96466ee0d6ab83f7d4cd24be110bb5021281d:
1707 Windows, test wrapper: rename the associated flag
1708 + 7fc967c4d6435de2bb4e34aac00ca2e499f55fca:
1709 Use a fixed thread pool in ByteStreamBuildEventArtifactUploader
1710 + 798b9a989aa793655d29504edb5fb85f3143db84:
1711 Add --build_event_upload_max_threads option
1712 + dbe05df23ccf4c919379e0294e0701fd3f66739c:
1713 Update the version of skylib bundled in the distfile
1714```
1715
1716Incompatible changes:
1717
1718 - The --experimental_stl command line option is removed.
1719 - aquery defaults to human readable output format.
1720
1721New features:
1722
1723 - repository_ctx.download and repository_ctx.download_and_extract
1724 now return a struct.
1725 - Android Databinding v2 can be enabled with
1726 --experimental_android_databinding_v2.
1727
1728Important changes:
1729
1730 - The deprecated and unmaintained Docker rules in
1731 tools/build_defs/docker were removed. Please use
1732 https://github.com/bazelbuild/rules_docker instead.
1733 - The new --upload_query_output_using_bep query/cquery/aquery flag
1734 causes query outputs to be uploaded via BEP.
1735 - New incompatible flag --incompatible_strict_argument_ordering
1736 - --strict_android_deps and --strict_java_deps were renamed to
1737 --experimental_strict_java_deps
1738 - config_settings that select on "compiler" value instead of values
1739 = {"compiler" : "x"} should use flag_values =
1740 {"@bazel_tools//tools/cpp:compiler": "x"}.
1741 - The new --upload_query_output_using_bep query/cquery/aquery flag
1742 causes query outputs to be uploaded via BEP.
1743 - Turn on --incompatible_disable_sysroot_from_configuration
1744 - We revamped our Android with Bazel tutorial! Check it out
1745 [here](https://docs.bazel.build/versions/master/tutorial/android-a
1746 pp.html).
1747 - --incompatible_disallow_slash_operator is now on by default
1748 - Enable --experimental_check_desugar_deps by default. This flag
1749 rules out several types of invalid Android builds at compile-time.
1750 - The --max_config_changes_to_show option lists the names of
1751 options which
1752 have changed and thus caused the analysis cache to be dropped.
1753 - The --experimental_strict_action_env option has been renamed to
1754 --incompatible_strict_action_env and is now on by default. This
1755 means Bazel will no longer use the client's PATH and
1756 LD_LIBRARY_PATH environmental variables in the default action
1757 environment. If the old behavior is desired, pass
1758 --action_env=PATH and --action_env=LD_LIBRARY_PATH.
1759 --noincompatible_strict_action_env will also temporarily restore
1760 the old behavior. However, as --action_env is a more general and
1761 explicit way to pass client environmental variables into actions,
1762 --noincompatible_strict_action_env will eventually be deprecated
1763 and removed. See #6648 for more details.
1764 - XCRUNWRAPPER_LABEL has been removed. If you used this value
1765 before, please use @bazel_tools//tools/objc:xcrunwrapper instead.
1766 - --incompatible_static_name_resolution is no unable by default
1767 - We will phase out --genrule_strategy in favor of
1768 --strategy=Genrule=<value> (for genrules) or
1769 --spawn_strategy=<value> (for all actions).
1770 - --incompatible_package_name_is_a_function is now enabled by
1771 default
1772 - Dynamic execution is now available with
1773 --experimental_spawn_strategy. Dynamic execution allows a build
1774 action to run locally and remotely simultaneously, and Bazel
1775 picks the fastest action. This provides the best of both worlds:
1776 faster clean builds than pure local builds, and faster
1777 incremental builds than pure remote builds.
1778 - --incompatible_package_name_is_a_function is now enabled by
1779 default
1780 - New incompatible flag --incompatible_merge_genfiles_directory
1781 - grpc log now logs updateActionResult
1782 - CppConfiguration doesn't do package loading anymore. That means:
1783 * it's no longer needed to have C++ toolchain available when
1784 building non-C++ projects
1785 * bazel will not analyze C++ toolchain when not needed -> speedup
1786 ~2s on bazel startup when C++ rules using hermetic toolchain are
1787 not loaded
1788 - --incompatible_package_name_is_a_fu...
1789
1790This 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.
1791
Bazel Release System85378562018-11-30 15:34:16 +01001792## Release 0.20.0 (2018-11-30)
1793
1794```
1795Baseline: 7bf7f031c332dc483257248d1c1f98ad75bbc83b
1796
1797Cherry picks:
1798
1799 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
1800 update bazel-toolchains pin to latest release Part of changes to
1801 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
1802 before 0.17.0 are not compatible with bazel 0.19.0 or above.
1803 + 241f28d05424db2d11ee245dc856b992258505e3:
1804 Revert "Toggle --incompatible_disable_late_bound_option_defaults
1805 flag."
1806 + f7e5aef145c33968f658eb2260e25630dc41cc67:
1807 Add cc_toolchain targets for the new entries in the default
1808 cc_toolchain_suite.
1809 + d2920e32ec7f3f8551a693d33c17b19f1b802145:
1810 Revert "WindowsFileSystem: open files with delete-sharing"
1811```
1812
1813[Breaking changes in 0.20](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Abreaking-change-0.20)
1814
1815 - [--incompatible_remove_native_http_archive](https://github.com/bazelbuild/bazel/issues/6570).
1816 - [--incompatible_remove_native_git_repository](https://github.com/bazelbuild/bazel/issues/6569).
1817 - [--incompatible_disable_cc_toolchain_label_from_crosstool_proto](https://github.com/bazelbuild/bazel/issues/6434).
1818 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6384).
1819 - [--incompatible_disable_cc_configuration_make_variables](https://github.com/bazelbuild/bazel/issues/6381).
1820 - [--incompatible_disallow_conflicting_providers](https://github.com/bazelbuild/bazel/issues/5902).
1821 - [--incompatible_range_type](https://github.com/bazelbuild/bazel/issues/5264).
1822
1823[0.20 is a migration window for the following changes](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Amigration-0.20)
1824
1825 - [--incompatible_use_jdk10_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6661)
1826 - [--incompatible_use_remotejdk_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6656)
1827 - [--incompatible_disable_sysroot_from_configuration](https://github.com/bazelbuild/bazel/issues/6565)
1828 - [--incompatible_provide_cc_toolchain_info_from_cc_toolchain_suite](https://github.com/bazelbuild/bazel/issues/6537)
1829 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6383)
1830 - [--incompatible_package_name_is_a_function](https://github.com/bazelbuild/bazel/issues/5827)
1831
1832[Breaking changes in the next release (0.21)](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Abreaking-change-0.21)
1833
1834 - [--incompatible_use_jdk10_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6661)
1835 - [--incompatible_use_remotejdk_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6656)
1836 - [--incompatible_disable_sysroot_from_configuration](https://github.com/bazelbuild/bazel/issues/6565)
1837 - [--incompatible_provide_cc_toolchain_info_from_cc_toolchain_suite](https://github.com/bazelbuild/bazel/issues/6537)
1838 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6383)
1839 - [--incompatible_disallow_data_transition](https://github.com/bazelbuild/bazel/issues/6153)
1840 - [--incompatible_package_name_is_a_function](https://github.com/bazelbuild/bazel/issues/5827)
1841 - [--incompatible_disallow_slash_operator](https://github.com/bazelbuild/bazel/issues/5823)
1842 - [--incompatible_static_name_resolution](https://github.com/bazelbuild/bazel/issues/5637)
1843
1844Incompatible changes:
1845
1846 - the --experimental_no_dotd_scanning_with_modules command line
1847 argument is not supported anymore.
1848 - The --prune_cpp_modules command line option is not supported
1849 anymore.
1850 - the --experimental_prune_cpp_input_discovery command line option
1851 is not supported anymore.
1852
1853New features:
1854
1855 - Added support for Android NDK r18.
1856
1857Important changes:
1858
1859 - The 'default' parameter of attr.output and attr.output_list is
1860 removed. This is controlled by
1861 --incompatible_no_output_attr_default
1862 - A number of platform-related Starlark APIs which were previously
1863 marked "experimental" are now disabled by default, and may be
1864 enabled via --experimental_platforms_api
1865 - Make legacy-test-support ("legacy_test-<api-level>") from
1866 android_sdk_repository neverlink. The legacy test support
1867 libraries shouldn't be built into test binaries. To make them
1868 available at runtime, developers should declare them via
1869 uses-library:
1870 https://developer.android.com/training/testing/set-up-project#andr
1871 oid-test-base
1872 - query remote server Capabilities (per REAPI v2)
1873 - CppRules: All cc_toolchains depended on from
1874 cc_toolchain_suite.toolchains are now analyzed when not using
1875 platforms in order to select the right cc_toolchain.
1876 - removed obsolete --explicit_jre_deps flag.
1877 - Incompatible flag
1878 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
1879 flipped.
1880 - Improve error messaging when unsupport proguard options are
1881 specified at the library level.
1882 - Incompatible flag
1883 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
1884 flipped.
1885 - Incompatible flag
1886 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
1887 flipped.
1888 - The --incompatible_disable_late_bound_option_defaults flag has
1889 been flipped (#6384)
1890 - Incompatible flag
1891 --incompatible_disable_legacy_flags_cc_toolchain_api was flipped
1892 (#6434)
1893 - Fixed issue where ctx.resolve_command created conflicting
1894 intermediate files when resolve_command was called multiple times
1895 within the same rule invocation with a long command attribute.
1896 - Incompatible flag
1897 --incompatible_disable_cc_configuration_make_variables was
1898 flipped (#6381)
1899 - If the --javabase flag is unset, it Bazel locates a JDK using
1900 the JAVA_HOME environment variable and searching the PATH. If no
1901 JDK is found --javabase will be empty, and builds targeting Java
1902 will not
1903 be supported. Previously Bazel would fall back to using the
1904 embedded
1905 JDK as a --javabase, but this is no longer default behaviour. A
1906 JDK should
1907 be explicitly installed instead to enable Java development
1908 - Bazel will now shut down when idle for 5 minutes and the system
1909 is low on RAM (linux only).
1910 - CROSSTOOL file is now read from the package of cc_toolchain, not
1911 from
1912 the package of cc_toolchain_suite. This is not expected to break
1913 anybody since
1914 cc_toolchain_suite and cc_toolchain are commonly in the same
1915 package.
1916 - All overrides of Starlark's ctx.new_file function are now
1917 deprecated.
1918 Try the `--incompatible_new_actions_api` flag to ensure your
1919 code is forward-compatible.
1920 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
1921 was flipped.
1922 - Introduce --(no)shutdown_on_low_sys_mem startup flag to toggle
1923 idle low-memory shutdown, disabled by default.
1924 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
1925 was flipped.
1926 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
1927 was flipped.
1928 - CppRules: All cc_toolchains depended on from
1929 cc_toolchain_suite.toolchains are now analyzed when not using
1930 platforms in order to select the right cc_toolchain.
1931 - The function `attr.license` is deprecated and will be removed.
1932 It can be disabled now with `--incompatible_no_attr_license`.
1933 - `range()` function now returns a lazy value
1934 (`--incompatible_range_type` is now set by default).
1935 - The code coverage report now includes the actual paths to header
1936 files instead of the ugly,
1937 Bazel generated, virtual includes path.
1938 - `--incompatible_disallow_conflicting_providers` has been switched
1939 to true
1940 - Add new flag `--incompatible_disable_systool_from_configration` to
1941 disable loading the systool from CppConfiguration.
1942 - Add new flag `--incompatible_disable_sysroot_from_configuration`
1943 to
1944 disable loading the systool from CppConfiguration.
1945 - Sorting remote Platform properties for remote execution. May
1946 affect cache keys!
1947 - Use different server log files per Bazel server process; java.log
1948 is
1949 now a symlink to the latest log.
1950
1951This 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>.
1952
Bazel Release Systemcb3e2982018-11-19 11:19:38 -05001953## Release 0.19.2 (2018-11-19)
1954
1955```
1956Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
1957
1958Cherry picks:
1959
1960 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
1961 Fix the "nojava" platform and enable full presubmit checks for
1962 the various JDK platforms now that we have enough GCE resources.
1963 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
1964 Add openjdk_linux_archive java_toolchain for nojava platform.
1965 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
1966 Automated rollback of commit
1967 19a401c38e30ebc0879925a5caedcbe43de0028f.
1968 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
1969 Windows: Fix Precondition check for addDynamicInputLinkOptions
1970 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
1971 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
1972 it exists.
1973 + e025726006236520f7e91e196b9e7f139e0af5f4:
1974 Update turbine
1975 + 5f312dd1678878fb7563eae0cd184f2270346352:
1976 Fix event id for action_completed BEP events
1977 + f0c844c77a2406518c4e75c49188390d5e281d3d:
1978 Release 0.19.0 (2018-10-29)
1979 + c3fb1db9e4e817e8a911f5b347b30f2674a82f7c:
1980 Do not use CROSSTOOL to select cc_toolchain
1981 + 8e280838e8896a6b5eb5421fda435b96b6f8de60:
1982 Windows Add tests for msys gcc toolchain and mingw gcc toolchain
1983 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
1984 update bazel-toolchains pin to latest release Part of changes to
1985 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
1986 before 0.17.0 are not compatible with bazel 0.19.0 or above.
1987 + eb2af0f699350ad187048bf814a95af23f562c77:
1988 Release 0.19.1 (2018-11-12)
1989 + 6bc452874ddff69cbf7f66186238032283f1195f:
1990 Also update cc_toolchain.toolchain_identifier when
1991 CC_TOOLCHAIN_NAME is set
1992 + f7e5aef145c33968f658eb2260e25630dc41cc67:
1993 Add cc_toolchain targets for the new entries in the default
1994 cc_toolchain_suite.
1995 + 683c302129b66a8999f986be5ae7e642707e978c:
1996 Read the CROSSTOOL from the package of the current cc_toolchain,
1997 not from --crosstool_top
1998```
1999
2000- Fixes regression #6662, by fixing tools/cpp/BUILD
2001- Fixes regression #6665, by setting the toolchain identifier.
2002- CROSSTOOL file is now read from the package of cc_toolchain, not from the
2003 package of cc_toolchain_suite. This is not expected to break anybody since
2004 cc_toolchain_suite and cc_toolchain are commonly in the same package.
2005
Bazel Release System684f1092018-11-12 10:26:58 -05002006## Release 0.19.1 (2018-11-12)
2007
2008```
2009Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
2010
2011Cherry picks:
2012
2013 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
2014 Fix the "nojava" platform and enable full presubmit checks for
2015 the various JDK platforms now that we have enough GCE resources.
2016 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
2017 Add openjdk_linux_archive java_toolchain for nojava platform.
2018 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
2019 Automated rollback of commit
2020 19a401c38e30ebc0879925a5caedcbe43de0028f.
2021 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
2022 Windows: Fix Precondition check for addDynamicInputLinkOptions
2023 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
2024 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
2025 it exists.
2026 + e025726006236520f7e91e196b9e7f139e0af5f4:
2027 Update turbine
2028 + 5f312dd1678878fb7563eae0cd184f2270346352:
2029 Fix event id for action_completed BEP events
2030 + f0c844c77a2406518c4e75c49188390d5e281d3d:
2031 Release 0.19.0 (2018-10-29)
2032 + c3fb1db9e4e817e8a911f5b347b30f2674a82f7c:
2033 Do not use CROSSTOOL to select cc_toolchain
2034 + 8e280838e8896a6b5eb5421fda435b96b6f8de60:
2035 Windows Add tests for msys gcc toolchain and mingw gcc toolchain
2036 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
2037 update bazel-toolchains pin to latest release Part of changes to
2038 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
2039 before 0.17.0 are not compatible with bazel 0.19.0 or above.
2040```
2041
2042Important changes:
2043- Fix regression #6610, which prevents using the MINGW compiler on Windows.
2044
Klaus Aehlig5e5832c2018-10-31 15:45:53 +01002045## Release 0.19.0 (2018-10-29)
2046
2047```
2048Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
2049
2050Cherry picks:
2051
2052 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
2053 Fix the "nojava" platform and enable full presubmit checks for
2054 the various JDK platforms now that we have enough GCE resources.
2055 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
2056 Add openjdk_linux_archive java_toolchain for nojava platform.
2057 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
2058 Automated rollback of commit
2059 19a401c38e30ebc0879925a5caedcbe43de0028f.
2060 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
2061 Windows: Fix Precondition check for addDynamicInputLinkOptions
2062 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
2063 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
2064 it exists.
2065 + e025726006236520f7e91e196b9e7f139e0af5f4:
2066 Update turbine
2067 + 5f312dd1678878fb7563eae0cd184f2270346352:
2068 Fix event id for action_completed BEP events
2069```
2070
2071The Bazel team is happy to announce a new version of Bazel, [Bazel 0.19](https://github.com/bazelbuild/bazel/releases/tag/0.19.0).
2072
2073This document lists the major changes since Bazel 0.18.
2074
2075General changes
2076---------------
2077
2078* The `--incompatible_expand_directories` flag will automatically expand directories in command lines. Design doc: https://docs.google.com/document/d/11agWFiOUiz2htBLj6swPTob5z78TrCxm8DQE4uJLOwM
2079
2080* 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.
2081
2082Android
2083-------
2084
2085* Fixed missing debug symbols when building native code with `--compilation_mode=dbg` that target Android ARM architectures by adding the `-g` flag.
2086
2087C++
2088---
2089
2090* 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.
2091
2092* 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.
2093
2094* :cc_binary link action no longer hardcodes `-static-libgcc` for toolchains that support embedded runtimes (guarded by `--experimental_dont_emit_static_libgcc` temporarily).
2095
2096* The flag `--experimental_enable_cc_configuration_make_variables` is removed, use `--incompatible_disable_cc_configuration_make_variables` instead.
2097
2098Java
2099----
2100
2101* 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.
2102
2103Code Coverage
2104-------------
2105
2106* LcovMerger was renamed to CoverageOutputGenerator.
2107
2108* Faster coverage collection for gcc compiled C++ code can now be tested by enabling it with `--experimental_cc_coverage`.
2109
2110Other Changes
2111-------------
2112
2113* Add `--apple_compiler` and `--apple_grte_top options`. These provide the equivalent of --compiler / --grte_top for the toolchain configured in --apple_crosstool_top.
2114
2115* There is now a `same_pkg_direct_rdeps` query function. See the query documentation for more details.
2116
2117* Propagating remote errors to the user even if `--verbose_failures=false` is set.
2118
2119* Add number of configured targets to analysis phase status output.
2120
2121* 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.
2122
2123Future Changes
2124--------------
2125
2126* 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:
2127 * [`--incompatible_disable_late_bound_option_defaults`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-late-bound-option-defaults): #6384
2128 * [`--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
2129 * [`--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
2130 * [`--incompatible_disable_cc_configuration_make_variables`](https://github.com/bazelbuild/bazel/issues/6381): #6381
2131 * [`--incompatible_disable_legacy_cpp_toolchain_skylark_api`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-legacy-c-configuration-api): #6380
2132 * [`incompatible_disable_legacy_flags_cc_toolchain_api`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-legacy-c-toolchain-api): #6434
2133
2134* 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.
2135
2136Thank you to our contributors!
2137------------------------------
2138
2139This 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
2140
2141Thank you to everyone who contributed to this release!
2142
Bazel Release System92849b82018-10-31 15:41:11 +01002143## Release 0.18.1 (2018-10-31)
Bazel Release System36177972018-10-15 10:29:10 +02002144
2145```
Bazel Release System92849b82018-10-31 15:41:11 +01002146Baseline: c062b1f1730f3562d5c16a037b374fc07dc8d9a2
Bazel Release System36177972018-10-15 10:29:10 +02002147
2148Cherry picks:
2149
Bazel Release System92849b82018-10-31 15:41:11 +01002150 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
2151 Include also ext jars in the bootclasspath jar.
2152 + 2579b791c023a78a577e8cb827890139d6fb7534:
2153 Fix toolchain_java9 on --host_javabase=<jdk9> after
2154 7eb9ea150fb889a93908d96896db77d5658e5005
2155 + faaff7fa440939d4367f284ee268225a6f40b826:
2156 Release notes: fix markdown
2157 + b073a18e3fac05e647ddc6b45128a6158b34de2c:
2158 Fix NestHost length computation Fixes #5987
2159 + bf6a63d64a010f4c363d218e3ec54dc4dc9d8f34:
2160 Fixes #6219. Don't rethrow any remote cache failures on either
2161 download or upload, only warn. Added more tests.
2162 + c1a7b4c574f956c385de5c531383bcab2e01cadd:
2163 Fix broken IdlClassTest on Bazel's CI.
2164 + 71926bc25b3b91fcb44471e2739b89511807f96b:
2165 Fix the Xcode version detection which got broken by the upgrade
2166 to Xcode 10.0.
2167 + 86a8217d12263d598e3a1baf2c6aa91b2e0e2eb5:
2168 Temporarily restore processing of workspace-wide tools/bazel.rc
2169 file.
Bazel Release System83870d62018-10-29 10:31:13 -04002170 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
2171 Windows: Fix Precondition check for addDynamicInputLinkOptions
Bazel Release System83870d62018-10-29 10:31:13 -04002172 + e025726006236520f7e91e196b9e7f139e0af5f4:
2173 Update turbine
Bazel Release System36177972018-10-15 10:29:10 +02002174```
2175
Bazel Release System92849b82018-10-31 15:41:11 +01002176Important changes:
Bazel Release System83870d62018-10-29 10:31:13 -04002177
Bazel Release System92849b82018-10-31 15:41:11 +01002178 - Fix regression #6219, remote cache failures
Bazel Release System36177972018-10-15 10:29:10 +02002179
Klaus Aehlig7b417542018-10-29 15:46:36 +01002180## Release 0.18.0 (2018-10-15)
2181
2182```
2183Baseline: c062b1f1730f3562d5c16a037b374fc07dc8d9a2
2184
2185Cherry picks:
2186
2187 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
2188 Include also ext jars in the bootclasspath jar.
2189 + 2579b791c023a78a577e8cb827890139d6fb7534:
2190 Fix toolchain_java9 on --host_javabase=<jdk9> after
2191 7eb9ea150fb889a93908d96896db77d5658e5005
2192 + faaff7fa440939d4367f284ee268225a6f40b826:
2193 Release notes: fix markdown
2194 + b073a18e3fac05e647ddc6b45128a6158b34de2c:
2195 Fix NestHost length computation Fixes #5987
2196 + bf6a63d64a010f4c363d218e3ec54dc4dc9d8f34:
2197 Fixes #6219. Don't rethrow any remote cache failures on either
2198 download or upload, only warn. Added more tests.
2199 + c1a7b4c574f956c385de5c531383bcab2e01cadd:
2200 Fix broken IdlClassTest on Bazel's CI.
2201 + 71926bc25b3b91fcb44471e2739b89511807f96b:
2202 Fix the Xcode version detection which got broken by the upgrade
2203 to Xcode 10.0.
2204 + 86a8217d12263d598e3a1baf2c6aa91b2e0e2eb5:
2205 Temporarily restore processing of workspace-wide tools/bazel.rc
2206 file.
2207```
2208
2209General changes
2210
2211- New [bazelrc file list](https://docs.bazel.build/versions/master/user-manual.html#where-are-the-bazelrc-files).
2212 If you need to keep both the old and new lists of .rc files active
2213 concurrently to support multiple versions of Bazel, you can import the old
2214 file location into the new list using `try-import`. This imports a file if it
2215 exists and silently exits if it does not. You can use this method to account
2216 for a user file that may or may not exist
2217
2218- [.bazelignore](https://docs.bazel.build/versions/master/user-manual.html#.bazelignore)
2219 is now fully functional.
2220
2221- The startup flag `--host_javabase` has been renamed to
2222 `--server_javabase` to avoid confusion with the build flag
2223 `--host_javabase`.
2224
2225Android
2226
2227- The Android resource processing pipeline now supports persistence
2228 via worker processes. Enable it with
2229 `--persistent_android_resource_processor`. We have observed a 50% increase
2230 in build speed for clean local builds and up to 150% increase in build
2231 speed for incremental local builds.
2232
2233C++
2234
2235- In-memory package //tools/defaults has been removed (controlled by
2236 `--incompatible_disable_tools_defaults_package` flag). Please see
2237 [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-inmemory-tools-defaults-package)
2238 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
2239 behavior will be removed in Bazel 0.20.
2240
2241- Late bound option defaults (typical example was the `--compiler` flag, when
2242 it was not specified, it’s value was computed using the CROSSTOOL) are removed
2243 (controlled by `--incompatible_disable_late_bound_option_defaults` flag).
2244 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-late-bound-option-defaults)
2245 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
2246 behavior will be removed in Bazel 0.20.
2247
2248- Depsets are no longer accepted in `user_compile_flags` and `user_link_flags`
2249 in the C++ toolchain API (controlled by
2250 `--incompatible_disable_depset_in_cc_user_flags` flag) affects C++ users.
2251 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-depsets-in-c-toolchain-api-in-user-flags)
2252 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
2253 behavior will be removed in Bazel 0.20.
2254
2255- CROSSTOOL is no longer consulted when selecting C++ toolchain (controlled by
2256 `--incompatible_disable_cc_toolchain_label_from_crosstool_proto` flag).
2257 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-crosstool-to-select-the-cc_toolchain-label)
2258 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
2259
2260- You can now use [`toolchain_identifier` attribute](https://github.com/bazelbuild/bazel/commit/857d4664ce939f240b1d10d8d2baca6c6893cfcb)
2261 on `cc_toolchain` to pair it with CROSSTOOL toolchain.
2262
2263- C++ specific Make variables
2264 are no longer passed from the `CppConfiguration`, but from the C++ toolchain
2265 (controlled by `--incompatible_disable_cc_configuration_make_variables` flag).
2266 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-c-specific-make-variables-from-the-configuration)
2267 and migrate soon, the flag will be flipped
2268 in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
2269
2270- Skylark api accessing C++
2271 toolchain in `ctx.fragments.cpp` is removed (controlled by
2272 `--incompatible_disable_legacy_cpp_toolchain_skylark_api` flag).
2273 Please migrate soon, the flag will be flipped
2274 in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
2275
2276- cc_binary link action no longer hardcodes
2277 `-static-libgcc` for toolchains that support embedded runtimes
2278 (guarded by [`--experimental_dont_emit_static_libgcc`](https://source.bazel.build/bazel/+/2f281960b829e964526a9d292d4c3003e4d19f1c)
2279 temporarily). Proper deprecation using `--incompatible` flags will follow.
2280
2281Java
2282
2283- Future versions of Bazel will require a locally installed JDK
2284 for Java development. Previously Bazel would fall back to using
2285 the embedded `--server_javabase` if no JDK as available. Pass
2286 `--incompatible_never_use_embedded_jdk_for_javabase` to disable the
2287 legacy behaviour.
2288
2289- `--javacopt=` no longer affects compilations of tools that are
2290 executed during the build; use `--host_javacopt=` to change javac
2291 flags in the host configuration.
2292
2293Objective C
2294
2295- `objc_library` now supports the module_name attribute.
2296
2297Skylark
2298
2299- Adds `--incompatible_expand_directories` to automatically expand
2300 directories in skylark command lines. Design doc:
2301 https://docs.google.com/document/d/11agWFiOUiz2htBLj6swPTob5z78TrCxm8DQE4uJLOwM
2302
2303- Support fileset expansion in ctx.actions.args(). Controlled by
2304 `--incompatible_expand_directories`.
2305
2306Windows
2307
2308- `--windows_exe_launcher` is deprecated, this flag will be removed
2309 soon. Please make sure you are not using it.
2310
2311- Bazel now supports the symlink runfiles tree on Windows with
2312 `--experimental_enable_runfiles` flag. For more details, see
2313 [this doc](https://docs.google.com/document/d/1hnYmU1BmtCSJOUvvDAK745DSJQCapToJxb3THXYMrmQ).
2314
2315Other Changes
2316
2317- A new experimental option `--experimental_ui_deduplicate` has been added. It
2318 causes the UI to attempt to deduplicate messages from actions to keep the
2319 console output cleaner.
2320
2321- Add `--modify_execution_info`, a flag to customize action execution
2322 info.
2323
2324- Add ExecutionInfo to aquery output for ExecutionInfoSpecifier
2325 actions.
2326
2327- When computing `--instrumentation_filter`, end filter patterns with
2328 "[/:]" to match non-top-level packages exactly and treat
2329 top-level targets consistently.
2330
2331- Added the `bazel info server_log` command, which obtains the main Bazel
2332 server log file path. This can help debug Bazel issues.
2333
2334- `aapt shrink` resources now properly respect filter configurations.
2335
Bazel Release System50921e62018-09-21 12:27:04 +02002336## Release 0.17.2 (2018-09-21)
2337
2338```
2339Baseline: aa118ca818baf722aede0bc48d0a17584fa45b6e
2340
2341Cherry picks:
2342 + 0e0462589528154cb5160411991075a2000b5452:
2343 Update checker framework dataflow and javacutil versions
2344 + 3987300d6651cf0e6e91b395696afac6913a7d66:
2345 Stop using --release in versioned java_toolchains
2346 + 438b2773b8c019afa46be470b90bcf70ede7f2ef:
2347 make_deb: Add new empty line in the end of conffiles file
2348 + 504401791e0a0e7e3263940e9e127f74956e7806:
2349 Properly mark configuration files in the Debian package.
2350 + 9ed9d8ac4347408d15c8fce7c9c07e5c8e658b30:
2351 Add flag
2352 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfil
2353 es_tree.
2354 + 22d761ab42dfb1b131f1facbf490ccdb6c17b89c:
2355 Update protobuf to 3.6.1 -- add new files
2356 + 27303d79c38f2bfa3b64ee7cd7a6ef03a9a87842:
2357 Update protobuf to 3.6.1 -- update references
2358 + ddc97ed6b0367eb443e3e09a28d10e65179616ab:
2359 Update protobuf to 3.6.1 -- remove 3.6.0 sources
2360 + ead1002d3803fdfd4ac68b4b4872076b19d511a2:
2361 Fix protobuf in the WORKSPACE
2362 + 12dcd35ef7a26d690589b0fbefb1f20090cbfe15:
2363 Revert "Update to JDK 10 javac"
2364 + 7eb9ea150fb889a93908d96896db77d5658e5005:
2365 Automated rollback of
2366 https://github.com/bazelbuild/bazel/commit/808ec9ff9b5cec14f23a4b
2367 a106bc5249cacc8c54 and
2368 https://github.com/bazelbuild/bazel/commit/4c9149d558161e7d3e363f
2369 b697f5852bc5742a36 and some manual merging.
2370 + 4566a428c5317d87940aeacfd65f1018340e52b6:
2371 Fix tests on JDK 9 and 10
2372 + 1e9f0aa89dad38eeab0bd40e95e689be2ab6e5e5:
2373 Fix more tests on JDK 9 and 10
2374 + a572c1cbc8c26f625cab6716137e2d57d05cfdf3:
2375 Add ubuntu1804_nojava, ubuntu1804_java9, ubuntu1804_java10 to
2376 postsubmit.
2377 + 29f1de099e4f6f0f50986aaa4374fc5fb7744ee8:
2378 Disable Android shell tests on the "nojava" platform.
2379 + b495eafdc2ab380afe533514b3bcd7d5b30c9935:
2380 Update bazel_toolchains to latest release.
2381 + 9323c57607d37f9c949b60e293b573584906da46:
2382 Windows: fix writing java.log
2383 + 1aba9ac4b4f68b69f2d91e88cfa8e5dcc7cb98c2:
2384 Automated rollback of commit
2385 de22ab0582760dc95f33e217e82a7b822378f625.
2386 + 2579b791c023a78a577e8cb827890139d6fb7534:
2387 Fix toolchain_java9 on --host_javabase=<jdk9> after
2388 7eb9ea150fb889a93908d96896db77d5658e5005
2389 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
2390 Include also ext jars in the bootclasspath jar.
2391 + fdb09a260dead1e1169f94584edc837349a4f4a5:
2392 Release 0.17.1 (2018-09-14)
2393 + 1d956c707e1c843896ac58a341c335c9c149073d:
2394 Do not fail the build when gcov is not installed
2395 + 2e677fb6b8f309b63558eb13294630a91ee0cd33:
2396 Ignore unrecognized VM options in desugar.sh, such as the JVM 9
2397 flags to silence warnings.
2398```
2399
2400Important changes:
2401
2402 - In the future, Bazel will expand tree artifacts in runfiles, too,
2403 which causes the sandbox to link each file individually into the
2404 sandbox directory, instead of symlinking the entire directory. In
2405 this release, the behavior is not enabled by default yet. Please
2406 try it out via
2407 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
2408 s_tree and let us know if it causes issues. If everything looks
2409 good, this behavior will become the default in a following
2410 release.
2411
Bazel Release Systemfdb09a22018-09-14 12:15:54 +02002412## Release 0.17.1 (2018-09-14)
2413
2414```
2415Baseline: aa118ca818baf722aede0bc48d0a17584fa45b6e
2416
2417Cherry picks:
2418 + 0e0462589528154cb5160411991075a2000b5452:
2419 Update checker framework dataflow and javacutil versions
2420 + 3987300d6651cf0e6e91b395696afac6913a7d66:
2421 Stop using --release in versioned java_toolchains
2422 + 438b2773b8c019afa46be470b90bcf70ede7f2ef:
2423 make_deb: Add new empty line in the end of conffiles file
2424 + 504401791e0a0e7e3263940e9e127f74956e7806:
2425 Properly mark configuration files in the Debian package.
2426 + 9ed9d8ac4347408d15c8fce7c9c07e5c8e658b30:
2427 Add flag
2428 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfil
2429 es_tree.
2430 + 22d761ab42dfb1b131f1facbf490ccdb6c17b89c:
2431 Update protobuf to 3.6.1 -- add new files
2432 + 27303d79c38f2bfa3b64ee7cd7a6ef03a9a87842:
2433 Update protobuf to 3.6.1 -- update references
2434 + ddc97ed6b0367eb443e3e09a28d10e65179616ab:
2435 Update protobuf to 3.6.1 -- remove 3.6.0 sources
2436 + ead1002d3803fdfd4ac68b4b4872076b19d511a2:
2437 Fix protobuf in the WORKSPACE
2438 + 12dcd35ef7a26d690589b0fbefb1f20090cbfe15:
2439 Revert "Update to JDK 10 javac"
2440 + 7eb9ea150fb889a93908d96896db77d5658e5005:
2441 Automated rollback of
2442 https://github.com/bazelbuild/bazel/commit/808ec9ff9b5cec14f23a4b
2443 a106bc5249cacc8c54 and
2444 https://github.com/bazelbuild/bazel/commit/4c9149d558161e7d3e363f
2445 b697f5852bc5742a36 and some manual merging.
2446 + 4566a428c5317d87940aeacfd65f1018340e52b6:
2447 Fix tests on JDK 9 and 10
2448 + 1e9f0aa89dad38eeab0bd40e95e689be2ab6e5e5:
2449 Fix more tests on JDK 9 and 10
2450 + a572c1cbc8c26f625cab6716137e2d57d05cfdf3:
2451 Add ubuntu1804_nojava, ubuntu1804_java9, ubuntu1804_java10 to
2452 postsubmit.
2453 + 29f1de099e4f6f0f50986aaa4374fc5fb7744ee8:
2454 Disable Android shell tests on the "nojava" platform.
2455 + b495eafdc2ab380afe533514b3bcd7d5b30c9935:
2456 Update bazel_toolchains to latest release.
2457 + 9323c57607d37f9c949b60e293b573584906da46:
2458 Windows: fix writing java.log
2459 + 1aba9ac4b4f68b69f2d91e88cfa8e5dcc7cb98c2:
2460 Automated rollback of commit
2461 de22ab0582760dc95f33e217e82a7b822378f625.
2462 + 2579b791c023a78a577e8cb827890139d6fb7534:
2463 Fix toolchain_java9 on --host_javabase=<jdk9> after
2464 7eb9ea150fb889a93908d96896db77d5658e5005
2465 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
2466 Include also ext jars in the bootclasspath jar.
2467```
2468
2469Incompatible changes:
2470
2471 - Loading @bazel_tools//tools/build_defs/repo:git_repositories.bzl
2472 no longer works. Load @bazel_tools//tools/build_defs/repo:git.bzl
2473 instead.
2474 - If the same artifact is generated by two distinct but identical
2475 actions, and a downstream action has both those actions' outputs
2476 in its inputs, the artifact will now appear twice in the
2477 downstream action's inputs. If this causes problems in Skylark
2478 actions, you can use the uniquify=True argument in Args.add_args.
2479 - If the same artifact is generated by two distinct but identical
2480 actions, and a downstream action has both those actions' outputs
2481 in its inputs, the artifact will now appear twice in the
2482 downstream action's inputs. If this causes problems in Skylark
2483 actions, you can use the uniquify=True argument in Args.add_args.
2484 - Labels in C++ rules' linkopts attribute are not expanded anymore
2485 unless they are wrapped, e.g: $(location //foo:bar)
2486 - If the same artifact is generated by two distinct but identical
2487 actions, and a downstream action has both those actions' outputs
2488 in its inputs, the artifact will now appear twice in the
2489 downstream action's inputs. If this causes problems in Skylark
2490 actions, you can use the uniquify=True argument in Args.add_args.
2491 - New bazelrc file list.
2492 - Windows: when BAZEL_SH envvar is not defined and Bazel searches
2493 for a suitable bash.exe, Bazel will no longer look for Git Bash
2494 and no longer recommend installing it as a Bash implementation.
2495 See issue #5751.
2496 - New bazelrc file list.
2497
2498New features:
2499
2500 - The aquery command now supports --output=text.
2501 - Java, runfiles: the Java runfiles library is now in
2502 @bazel_tools//tools/java/runfiles. The old target
2503 (@bazel_tools//tools/runfiles:java-runfiles) is deprecated and
2504 will be removed in Bazel 0.18.0.
2505 - Java, runfiles: the Java runfiles library is now in
2506 @bazel_tools//tools/java/runfiles. The old target
2507 (@bazel_tools//tools/runfiles:java-runfiles) is deprecated and
2508 will be removed in Bazel 0.19.0 (not 0.18.0, as stated earlier).
2509
2510Important changes:
2511
2512 - Allow @ in package names.
2513 - Remove support for java_runtime_suite; use alias() together with
2514 select() instead.
2515 - Python wrapper scripts for MSVC are removed.
2516 - [JavaInfo] Outputs are merged in java_common.merge().
2517 - Faster analysis by improved parallelization.
2518 - --experimental_shortened_obj_file_path is removed.
2519 - Introduce the --remote_cache_proxy flag,
2520 which allows for remote http caching to connect
2521 via a unix domain socket.
2522 - No longer define G3_VERSION_INFO for c++ linkstamp compiles, as
2523 it was a duplicate of G3_TARGET_NAME.
2524 - Added support for Android NDK r17. The default STL is now
2525 `libc++`, and support for targeting `mips`, `mips64` and `ARMv5`
2526 (`armeabi`) has been removed.
2527 - Add aquery command to get analysis time information about the
2528 action graph.
2529 - Fixed compatibility with aar_import when using aapt2. AAPT2 is
2530 now supported for Android app builds without resource shrinking.
2531 To use it, pass the `--android_aapt=aapt2` flag or define
2532 android_binary.aapt_version=aapt2.
2533 - Code coverage is collected for Java binaries invoked from sh_test.
2534 - java_common.compile creates the native headers jar accesible via
2535 JavaInfo.outputs.native_headers.
2536 - Deleting deprecated no-op flag --show_package_location
2537 - The JDK shipped with Bazel was updated to JDK10.
2538 - Rename the startup flag --host_javabase to --server_javabase to
2539 avoid confusion with the build flag --host_javabase
2540 - newly added options --experimental_repository_hash_file and
2541 --experimental_verify_repository_rules allow to verify for
2542 repositories
2543 the directory generated against pre-recorded hashes. See
2544 documentation
2545 for those options.
2546 - Removed the gen_jars output group
2547 - --subcommands can now take a "pretty_print" value
2548 ("--subcommands=pretty_print") to print the
2549 arguments of subcommands as a list for easier reading.
2550 - follow-up to
2551 https://github.com/bazelbuild/bazel/commit/1ac359743176e659e9c7472
2552 645e3142f3c44b9e8
2553 - A rule error is now thrown if a Skylark rule implementation
2554 function returns multiple providers of the same type.
2555 - When using Bazel's remote execution feature and Bazel has to
2556 fallback to local execution for an action, Bazel used
2557 non-sandboxed
2558 local execution until now. From this release on, you can use the
2559 new
2560 flag --remote_local_fallback_strategy=<strategy> to tell Bazel
2561 which
2562 strategy to use in that case.
2563 - Execution Log Parser can now, when printing it out, filter the
2564 log by runner type
2565 - A rule error is now thrown if a Skylark rule implementation
2566 function returns multiple providers of the same type.
2567 - Removed the gen_jars output group
2568 - Removed the gen_jars output group
2569 - Set --defer_param_files to default to true.
2570 - Sort attribute lists in proto-form query output to fix
2571 non-deterministic genquery output.
2572 - Replace 0/1 with False/True for testonly attribute
2573 - bazel now supports a .bazelignore file specifying
2574 directories to be ignored; however, these directories still
2575 have to be well founded and, in particular, may not contain
2576 symlink cycles.
2577 - Add more detailed reporting of the differences between startup
2578 options.
2579 - update data binding to 3.2.0
2580 - For Android incremental dexing actions, Bazel now persists its
2581 DexBuilder process across individual actions. From our
2582 benchmarks, this results in a 1.2x speedup for clean local builds.
2583 - The standard `xcode_VERSION` feature now always uses exactly two
2584 components in the version, even if you specify `--xcode_version`
2585 with
2586 more or fewer than two.
2587 - A rule error will be thrown if a Skylark rule implementation
2588 function returns multiple providers of the same type. Try the
2589 `--incompatible_disallow_conflicting_providers` flag to ensure
2590 your code is forward-compatible.
2591 - Removed notion of FULLY_STATIC linking mode from C++ rules.
2592 - In documentation, we've renamed Skylark into Starlark.
2593 - Execution Log Parser can now, when printing it out, reorder the
2594 actions for easier text diffs
2595 - Linkstamps are no longer recompiled after server restart.
2596 - Use VanillaJavaBuilder and disable header compilation in
2597 toolchain_hostjdk8. The default toolchain will soon drop
2598 compatibility with JDK 8. Using a JDK 8 host_javabase
2599 will only be supported when using 'VanillaJavaBuilder' (which
2600 does not support Error Prone,
2601 Strict Java Deps, or reduced classpaths) and with header
2602 compilation disabled.
2603 - In the future, Bazel will expand tree artifacts in runfiles, too,
2604 which causes the sandbox to link each file individually into the
2605 sandbox directory, instead of symlinking the entire directory. In
2606 this release, the behavior is not enabled by default yet. Please
2607 try it out via
2608 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
2609 s_tree and let us know if it causes issues. If everything looks
2610 good, this behavior will become the default in a following
2611 release.
2612
Bazel Release System1bd58832018-08-13 15:41:26 +02002613## Release 0.16.1 (2018-08-13)
2614
2615```
2616Baseline: 4f64b77a3dd8e4ccdc8077051927985f9578a3a5
2617
2618Cherry picks:
2619 + 4c9a0c82d308d5df5c524e2a26644022ff525f3e:
2620 reduce the size of bazel's embedded jdk
2621 + d3228b61f633cdc5b3f740b641a0836f1bd79abd:
2622 remote: limit number of open tcp connections by default. Fixes
2623 #5491
2624 + 8ff87c164f48dbabe3b20becd00dde90c50d46f5:
2625 Fix autodetection of linker flags
2626 + c4622ac9205d2f1b42dac8c598e83113d39e7f11:
2627 Fix autodetection of -z linker flags
2628 + 10219659f58622d99034288cf9f491865f818218:
2629 blaze_util_posix.cc: fix order of #define
2630 + ab1f269017171223932e0da9bb539e8a17dd99ed:
2631 blaze_util_freebsd.cc: include path.h explicitly
2632 + 68e92b45a37f2142c768a56eb7ecfa484b8b22df:
2633 openjdk: update macOS openjdk image. Fixes #5532
2634 + f45c22407e6b00fcba706eb62141cb9036bd38d7:
2635 Set the start time of binary and JSON profiles to zero correctly.
2636 + bca1912853086b8e9a28a85a1b144ec0dc9717cc:
2637 remote: fix race on download error. Fixes #5047
2638 + 3842bd39e10612c7eef36c6048407e81bcd0a8fb:
2639 jdk: use parallel old gc and disable compact strings
2640 + 6bd0bdf5140525cb33dc2db068b210261d9df271:
2641 Add objc-fully-link to the list of actions that require the
2642 apple_env feature. This fixes apple_static_library functionality.
2643 + f330439fb970cfa17c70fc59c1458bb1c31c9522:
2644 Add the action_names_test_files target to the OSS version of
2645 tools/buils_defs/cc/BUILD.
2646 + d215b64362c4ede61c8ba87b5f3f57bce4785d15:
2647 Fix StackOverflowError on Windows. Fixes #5730
2648 + 366da4cf27b7f957ef39f89206db77fa2ac289df:
2649 In java_rules_skylark depend on the javabase through
2650 //tools/jdk:current_java_runtime
2651 + 30c601dc13d9e1b40a57434c022c888c7578cc56:
2652 Don't use @local_jdk for jni headers
2653 + c56699db5f9173739ba3ac55aa9fa69b6457a99b:
2654 'DumpPlatformClasspath' now dumps the current JDK's default
2655 platform classpath
2656```
2657
2658This release is a patch release that contains fixes for several serious
2659regressions that were found after the release of Bazel 0.16.0.
2660
2661In particular this release resolves the following issues:
2662
2663 - Bazel crashes with a StackOverflowError on Windows (See #5730)
2664 - Bazel requires a locally installed JDK and does not fall back
2665 to the embedded JDK (See #5744)
2666 - Bazel fails to build for Homebrew on macOS El Capitan (See #5777)
2667 - A regression in apple_static_library (See #5683)
2668
2669Please watch our blog for a more detailed release announcement.
2670
Bazel Release Systemb292ad12018-07-31 12:55:37 -04002671## Release 0.16.0 (2018-07-31)
Bazel Release System97564f62018-07-17 14:19:41 +02002672
2673```
Bazel Release Systemb292ad12018-07-31 12:55:37 -04002674Baseline: 4f64b77a3dd8e4ccdc8077051927985f9578a3a5
Bazel Release System97564f62018-07-17 14:19:41 +02002675
2676Cherry picks:
Bazel Release Systemb292ad12018-07-31 12:55:37 -04002677 + 4c9a0c82d308d5df5c524e2a26644022ff525f3e:
2678 reduce the size of bazel's embedded jdk
2679 + d3228b61f633cdc5b3f740b641a0836f1bd79abd:
2680 remote: limit number of open tcp connections by default. Fixes
2681 #5491
Bazel Release System97564f62018-07-17 14:19:41 +02002682 + 8ff87c164f48dbabe3b20becd00dde90c50d46f5:
2683 Fix autodetection of linker flags
2684 + c4622ac9205d2f1b42dac8c598e83113d39e7f11:
2685 Fix autodetection of -z linker flags
Bazel Release Systemb292ad12018-07-31 12:55:37 -04002686 + 10219659f58622d99034288cf9f491865f818218:
2687 blaze_util_posix.cc: fix order of #define
2688 + ab1f269017171223932e0da9bb539e8a17dd99ed:
2689 blaze_util_freebsd.cc: include path.h explicitly
2690 + 68e92b45a37f2142c768a56eb7ecfa484b8b22df:
2691 openjdk: update macOS openjdk image. Fixes #5532
2692 + f45c22407e6b00fcba706eb62141cb9036bd38d7:
2693 Set the start time of binary and JSON profiles to zero correctly.
2694 + bca1912853086b8e9a28a85a1b144ec0dc9717cc:
2695 remote: fix race on download error. Fixes #5047
2696 + 3842bd39e10612c7eef36c6048407e81bcd0a8fb:
2697 jdk: use parallel old gc and disable compact strings
Bazel Release System97564f62018-07-17 14:19:41 +02002698```
2699
Bazel Release Systemb292ad12018-07-31 12:55:37 -04002700Incompatible changes:
2701
2702 - The $(ANDROID_CPU) Make variable is not available anymore. Use
2703 $(TARGET_CPU) after an Android configuration transition instead.
2704 - The $(JAVA_TRANSLATIONS) Make variable is not supported anymore.
2705 - Skylark structs (using struct()) may no longer have to_json and
2706 to_proto overridden.
2707 - The mobile-install --skylark_incremental_res flag is no longer
2708 available, use the --skylark flag instead.
2709
2710New features:
2711
2712 - android_local_test now takes advantage of Robolectric's binary
2713 resource processing which allows for faster tests.
2714 - Allow @ in package names.
2715
Bazel Release System97564f62018-07-17 14:19:41 +02002716Important changes:
2717
Bazel Release Systemb292ad12018-07-31 12:55:37 -04002718 - Option --glibc is removed, toolchain selection relies solely on
2719 --cpu and --compiler options.
2720 - Build support for enabling cross binary FDO optimization.
2721 - The --distdir option is no longer experimental. This
2722 option allows to specify additional directories to look for
2723 files before trying to fetch them from the network. Files from
2724 any of the distdirs are only used if a checksum for the file
2725 is specified and both, the filename and the checksum, match.
2726 - Java coverage works now with multiple jobs.
2727 - Flip default value of --experimental_shortened_obj_file_path to
2728 true, Bazel now generates short object file path by default.
2729 - New rules for importing Android dependencies:
2730 `aar_import_external` and `aar_maven_import_external`.
2731 `aar_import_external` enables specifying external AAR
2732 dependencies using a list of HTTP URLs for the artifact.
2733 `aar_maven_import_external` enables specifying external AAR
2734 dependencies using the artifact coordinate and a list of server
2735 URLs.
2736 - The BAZEL_JAVAC_OPTS environment variable allows arguments, e.g.,
2737 "-J-Xmx2g", may be passed to the javac compiler during bootstrap
2738 build. This is helpful if your system chooses too small of a max
2739 heap size for the Java compiler during the bootstrap build.
2740 - --noexpand_configs_in_place is deprecated.
2741 - A tool to parse the Bazel execution log.
2742 - Support for LIPO has been fully removed.
2743 - Remove support for --discard_actions_after_execution.
2744 - Add --materialize_param_files flag to write parameter files even
2745 when actions are executed remotely.
2746 - Windows default system bazelrc is read from the user's
2747 ProgramData if present.
2748 - --[no]allow_undefined_configs no longer exists, passing undefined
2749 configs is an error.
Bazel Release System1281a022018-07-16 16:13:53 +02002750 - In remote caching we limit the number of open
2751 TCP connections to 100 by default. The number can be adjusted
2752 by specifying the --remote_max_connections flag.
2753
Bazel Release System5013a332018-06-26 14:07:47 +02002754## Release 0.15.0 (2018-06-26)
2755
2756```
2757Baseline: b93ae42e8e693ccbcc387841a17f58259966fa38
2758
2759Cherry picks:
2760 + 4b80f2455e7e49a95f3a4c9102a67a57dad52207:
2761 Add option to enable Docker sandboxing.
2762 + 6b1635279e8b33dc1ac505ac81825e38f8797a14:
2763 Allow disabling the simple blob caches via CLI flag overrides.
2764 + 4ec0a7524913ab2c4641368e3f8c09b347351a08:
2765 Use BUILD.bazel instead of BUILD for external projects
2766```
2767
2768Incompatible changes:
2769
2770 - Bazel now always runs binaries in with "bazel run" in
2771 interactive mode. The "--nodirect_run" command line option is now
2772 a no-op.
2773 - "bazel run --noas_test" is not supported anymore.
2774 - Indentation on the first line of a file was previously ignored.
2775 This is now fixed.
2776
2777New features:
2778
2779 - C++,runfiles: to access data-dependencies (runfiles) in C++
2780 programs, use the runfiles library built into Bazel. For usage
2781 info, see
2782 https://github.com/bazelbuild/bazel/blob/master/tools/cpp/runfiles
2783 /runfiles.h
2784
2785Important changes:
2786
2787 - Bazel now allows almost all 7-bit ASCII characters in labels.
2788 - Remove vestigial java_plugin.data attribute
2789 - Bazel supports including select Java 8 APIs into Android apps
2790 targeting pre-Nougat Android devices with
2791 --experimental_desugar_java8_libs
2792 - Flag `--incompatible_disable_glob_tracking` is removed.
2793 - SkyQuery's rbuildfiles now returns targets corresponding to
2794 broken packages.
2795 - Introduce build support for providing cache prefetch hints.
2796 - Update the skylark DefaultInfo documentation to spell out
2797 runfiles, data_runfiles and default_runfiles
2798 - An internal action for symlinking runfiles will use Command
2799 instead of a Spawns. This should have no functional chages; the
2800 only user visible consequence should be that the internal action
2801 is no longer be included in statistics when calculating processes
2802 count.
2803 - --batch is deprecated
2804 - execution strategies line no longer handles differently the case
2805 where all processes have the same strategy.
2806 - The --experimental_remote_spawn_cache flag is now enabled by
2807 default, and remote caching no longer needs --*_strategy=remote
2808 flags (it will fail if they are specified).
2809 - android_binary.aapt_version='aapt2' now supports en_XA and ar_XB
2810 - Added --apple_enable_auto_dsym_dbg flag.
2811 - non_propagated_deps has been removed from objc_library and
2812 apple_binary.
2813 - For Android projects, Bazel now supports building fonts as
2814 resources. See
2815 https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml
2816 for more information on the feature.
2817 - With --incompatible_no_support_tools_in_action_inputs enabled, Skylark
2818 action inputs are no longer scanned for tools. Move any such
2819 inputs to the newly introduced 'tools' attribute.
2820
Bazel Release System513bbf52018-06-08 14:15:20 +02002821## Release 0.14.1 (2018-06-08)
2822
2823```
2824Baseline: 5c3f5c9be7fa40d4fb3c35756891fab8483ca406
2825
2826Cherry picks:
2827 + f96f037f8f77335dc444844abcc31a372a3e1849:
2828 Windows, Java launcher: Support jar files under different drives
2829 + ff8162d01409db34893de98bd840a51c5f13e257:
2830 sh_configure.bzl: FreeBSD is also a known platform
2831 + 7092ed324137f03fcd34856bdb0595a1bdec3069:
2832 Remove unneeded exec_compatible_with from local_sh_toolchain
2833 + 57bc201346e61c62a921c1cbf32ad24f185c10c9:
2834 Do not autodetect C++ toolchain when
2835 BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 is present
2836 + 35a78c09cf2fbfc3de9c124d2142e3d72aac4348:
2837 remote: recursively delete incomplete downloaded output
2838 directory.
2839 + 3c9cd82b847f3ece8ec04b2029bd5e8ad0eb7502:
2840 distfile: pack the archives needed later in the build
2841 + 27487c77387e457df18be3b6833697096d074eab:
2842 Slightly refactor SpawnAction to improve env handling
2843 + 1b333a2c37add9d04fe5bc5258ee4f73c93115e2:
2844 Fix Cpp{Compile,Link}Action environment and cache key computation
2845 + 3da8929963e9c70dff5d8859d6e988e6e7f4f9d7:
2846 Make SymlinkTreeAction properly use the configuration's
2847 environment
2848 + eca7b81cf8cc51e1fe56e5ed7d4ad5cd1668a17a:
2849 Add a missing dependency from checker framework dataflow to
2850 javacutils
2851 + 10a4de954c2061258d8222961fc3bd39516db49d:
2852 Release 0.14.0 (2018-06-01)
2853 + 4b80f2455e7e49a95f3a4c9102a67a57dad52207:
2854 Add option to enable Docker sandboxing.
2855 + 6b1635279e8b33dc1ac505ac81825e38f8797a14:
2856 Allow disabling the simple blob caches via CLI flag overrides.
2857```
2858
2859Bug fix for [#5336](https://github.com/bazelbuild/bazel/issues/5336)
2860Bug fix fot [#5308](https://github.com/bazelbuild/bazel/issues/5308)
2861
Bazel Release System3a592f62018-06-01 15:04:31 +02002862## Release 0.14.0 (2018-06-01)
2863
2864```
2865Baseline: 5c3f5c9be7fa40d4fb3c35756891fab8483ca406
2866
2867Cherry picks:
2868 + f96f037f8f77335dc444844abcc31a372a3e1849:
2869 Windows, Java launcher: Support jar files under different drives
2870 + ff8162d01409db34893de98bd840a51c5f13e257:
2871 sh_configure.bzl: FreeBSD is also a known platform
2872 + 7092ed324137f03fcd34856bdb0595a1bdec3069:
2873 Remove unneeded exec_compatible_with from local_sh_toolchain
2874 + 57bc201346e61c62a921c1cbf32ad24f185c10c9:
2875 Do not autodetect C++ toolchain when
2876 BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 is present
2877 + 35a78c09cf2fbfc3de9c124d2142e3d72aac4348:
2878 remote: recursively delete incomplete downloaded output
2879 directory.
2880 + 3c9cd82b847f3ece8ec04b2029bd5e8ad0eb7502:
2881 distfile: pack the archives needed later in the build
2882 + 27487c77387e457df18be3b6833697096d074eab:
2883 Slightly refactor SpawnAction to improve env handling
2884 + 1b333a2c37add9d04fe5bc5258ee4f73c93115e2:
2885 Fix Cpp{Compile,Link}Action environment and cache key computation
2886 + 3da8929963e9c70dff5d8859d6e988e6e7f4f9d7:
2887 Make SymlinkTreeAction properly use the configuration's
2888 environment
2889 + eca7b81cf8cc51e1fe56e5ed7d4ad5cd1668a17a:
2890 Add a missing dependency from checker framework dataflow to
2891 javacutils
2892```
2893
2894Incompatible changes:
2895
2896 - Add --incompatible_disallow_legacy_javainfo flag.
2897 - Added flag --incompatible_disallow_old_style_args_add to help
2898 migrate from args.add() to args.add_all() / args.add_joined()
2899 where appropriate.
2900
2901New features:
2902
2903 - Bash,runfiles: use the new platform-independent library in
2904 `@bazel_tools//tools/bash/runfiles` to access runfiles
2905 (data-dependencies). See
2906 https://github.com/bazelbuild/bazel/blob/master/tools/bash/runfile
2907 s/runfiles.bash for usage information.
2908 - TemplateVariableInfo can now be constructed from Skylark.
2909 - The java_host_runtime_alias rule is now implemented in Java.
2910
2911Important changes:
2912
2913 - Flip default value of --experimental_shortened_obj_file_path to
2914 true, Bazel now generates short object file path by default.
2915 - Introduce fdo_profile rule that allows architecture-sensitive
2916 specification of fdo profiles.
2917 - canonicalize-flags no longer reorders the flags
2918 - CppRules: optional_compiler_flag was removed from CROSSTOOL, use
2919 features instead.
2920 - Labels of the form ////foo are disallowed.
2921 - The `/` operator is deprecated in favor of `//` (floor integer
2922 division).
2923 Try the `--incompatible_disallow_slash_operator` flag to ensure
2924 your code
2925 is forward-compatible.
2926 - Flip default value of --experimental_shortened_obj_file_path to
2927 true, Bazel now generates short object file path by default.
2928 - Exposed "mnemonic" and "env" fields on skylark "Action" objects.
2929 - Removed flag `--incompatible_disallow_toplevel_if_statement`.
2930 - Remove vestigial 'deps' and 'data' attributes from
2931 proto_lang_toolchain
2932 - Args objects (ctx.actions.args()) have new methods add_all() and
2933 add_joined() for building command lines using depsets.
2934 - `FileType` is deprecated and will be removed soon.
2935 Try the `--incompatible_disallow_filetype` flag to ensure your
2936 code
2937 is forward-compatible.
2938 - Introduce absolute_path_profile attribute that allows fdo_profile
2939 to accept absolute paths.
2940 - Support two-arg overloads for ctx.actions.args (eg.
2941 args.add("--foo", val))
2942 - Introduce 'tools' attribute to ctx.actions.run.
2943 - Fixed error message for proguard_apply_dictionary.
2944 - "bazel run" now lets one run interactive binaries. The
2945 BUILD_WORKSPACE_DIRECTORY and BUILD_WORKING_DIRECTORY environment
2946 variables indicate the working directory and the workspace root
2947 of the Bazel invocation. Tests are provided with an approximation
2948 of the official test environment.
2949 - repository rules are no longer restricted to return None.
2950 - Add --high_priority_workers flag.
2951 - CppRules: Feature configuration can be created from Skylark
2952 - Adds new-style JavaInfo provider constructor.
2953 - Make java_common.compile now uses java_toolchain javacopts by
2954 default; explicitly retrieving them using
2955 java_common.default_javac_opts is unnecessary.
2956 - CppRules: C++ command lines and env variables for C++ actions can
2957 be retrieved from feature configuration.
2958 - Skylark rule definitions may advertise providers that targets of
2959 the rule must propagate.
2960 - Bazel now supports running actions inside Docker containers.
2961 To use this feature, run "bazel build --spawn_strategy=docker
2962 --experimental_docker_image=myimage:latest".
2963 - Remote execution works for Windows binaries with launchers.
2964 - Fixing start/end lib expansion for linking. There were many cases
2965 where archive files were still being used with toolchains that
2966 support start/end lib. This change consolidates the places that
2967 make that decision so they can be more consistent.
2968 - Add support for reporting an error if
2969 android_test.binary_under_test contains incompatible versions of
2970 deps
2971 - We replaced the --experimental_local_disk_cache and
2972 --experimental_local_disk_cache_path flags into a single
2973 --disk_cache flag. Additionally, Bazel now tries to create the disk cache
2974 directory if it doesn't exist.
2975 - Save Blaze memory by not storing LinkerInput objects in
2976 LinkCommandLine
2977 - In the JavaInfo created by java_common.create_provider now
2978 includes both direct and transitive arguments in
2979 transitive_compile_time_jars and transitive_runtime_jars
2980 - Allow --worker_max_instances to take MnemonicName=value to
2981 specify max for each worker.
2982 - Allow java_toolchain.header_compiler to be an arbitrary executable
2983
Bazel Release System24c68ff2018-05-23 10:59:57 +02002984## Release 0.13.1 (2018-05-23)
2985
2986```
2987Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05
2988
2989Cherry picks:
2990 + f083e7623cd03e20ed216117c5ea8c8b4ec61948:
2991 windows: GetOutputRoot() returns GetHomeDir()
2992 + fa36d2f48965b127e8fd397348d16e991135bfb6:
2993 Automated rollback of commit
2994 4465dae23de989f1452e93d0a88ac2a289103dd9.
2995 + 4abd2babcc50900afd0271bf30dc64055f34e100:
2996 Add error message on empty public resources
2997 + 2c957575ff24c183d48ade4345a79ffa5bec3724:
2998 test-setup: remove leading "./" from test name
2999 + e6eaf251acb3b7054c8c5ced58a49c054b5f23b1:
3000 Sort entries by segment when building a parent node to prevent
3001 unordered directory structures.
3002```
3003
3004Important changes:
3005
3006 - Remote Execution: Fixes a regression that produces directories with unsorted file/directory lists
3007
Bazel Release System1d9c6062018-04-30 10:45:38 +02003008## Release 0.13.0 (2018-04-30)
3009
3010```
3011Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05
3012
3013Cherry picks:
3014 + f083e7623cd03e20ed216117c5ea8c8b4ec61948:
3015 windows: GetOutputRoot() returns GetHomeDir()
3016 + fa36d2f48965b127e8fd397348d16e991135bfb6:
3017 Automated rollback of commit
3018 4465dae23de989f1452e93d0a88ac2a289103dd9.
3019 + 4abd2babcc50900afd0271bf30dc64055f34e100:
3020 Add error message on empty public resources
3021 + 2c957575ff24c183d48ade4345a79ffa5bec3724:
3022 test-setup: remove leading "./" from test name
3023```
3024
3025Incompatible changes:
3026
3027 - Remove //tools/defaults:android_jar. Use
3028 @bazel_tools//tools/android:android_jar instead.
3029 - The flag --incompatible_show_all_print_messages is removed.
3030 Messages generated by `print` statements from any package will be
3031 displayed as
3032 DEBUG messages.
3033 - The --incompatible_disallow_uncalled_set_constructor flag is no
3034 longer available, the `set` constructor` is completely removed
3035 from Skylark.
3036 Use `depset` instead.
3037 - Variables PACKAGE_NAME and REPOSITORY_NAME are deprecated in
3038 favor of
3039 functions `package_name()` and `repository_name()`.
3040
3041 https://docs.bazel.build/versions/master/skylark/lib/native.html#p
3042 ackage_name
3043 - BUILD_TIMESTAMP now contains seconds (and not milliseconds) since
3044 the epoch.
3045
3046New features:
3047
3048 - Strings have a new .elems() method, that provides an iterator on
3049 the characters of the string.
3050 - Now you can access three functions in windows_cc_configure.bzl by:
3051 load("@bazel_tools/tools/cpp:windows_cc_configure.bzl",
3052 "<function_name>")
3053
3054Important changes:
3055
3056 - CppRules: Unified action_configs for static libraries
3057 - Remove support for blaze dump --vfs. It is no longer meaningful.
3058 - Enable dependency checking for aar_import targets.
3059 - internal_bootstrap_hack has been deprecated and removed.
3060 - Properly handle tree artifacts on the link command line coming
3061 from a cc_library dependency.
3062 - Allow C++ features to make proto_library emit smaller C++ code
3063 - The 'j2objc' configuration fragment is exposed to Skylark.
3064 - Remove the default content of the global bazelrc.
3065 - In int() function, do not auto-detect base if input starts with
3066 '0'.
3067 - Users can now pass --experimental_shortened_obj_file_path=true to
3068 have a shorter object file path, the object file paths (and all
3069 other related paths) will be constructed as following:
3070 If there's no two or more source files with the same base name:
3071
3072 <bazel-bin>/<target_package_path>/_objs/<target_name>/<source_base
3073 _name>.<extension>
3074 otherwise:
3075
3076 <bazel-bin>/<target_package_path>/_objs/<target_name>/N/<source_ba
3077 se_name>.<extension>
3078 N = the file?s order among the source files with the same
3079 basename, starts from 0.
3080 - Move (c/cxx)opts from legacy_compile_flags to user_compile_flags
3081 - CppRules: Remove optional_*_flag fields from CROSSTOOL, they are
3082 not
3083 used, and could be expressed using features.
3084 - Introduce --incompatible_disable_objc_provider_resources to turn
3085 off all resource-related fields of the Objc provider.
3086 - Removed the statement of "What does Bazel support?" as it's
3087 limiting/misleading. Added supported host OSes to
3088 "multi-platform" paragraph.
3089 - android_library AAR output now contains proguard.txt
3090 - Bazel now displays information about remote cache hits and
3091 execution strategies used in its UI after every build and test,
3092 and adds a corresponding line "process stats" to BuildToolLogs in
3093 BEP.
3094 - Print correct build result for builds with --aspects flag.
3095 - android_binary.manifest_merger is no longer supported.
3096
Bazel Release System546976c2018-04-11 17:34:19 +02003097## Release 0.12.0 (2018-04-11)
3098
3099```
3100Baseline: b33e5afa313322a7048044c44d854cbb666b988e
3101
3102Cherry picks:
3103 + 369409995bd75eeb0683fd24f7585d2a90320796:
3104 Automated rollback of commit
3105 c2b332b45e6ea41a14ecbd3c5f30782bcdeec301.
3106 + dbf779869751cc893ba240402d352c6e70be2978:
3107 Emit SJD errors even if we don't know the label of a dependency
3108 + 4c3098cfa6f00f90c7530b6f40d3e93062931c1d:
3109 Android tools: remove mtime-modifications
3110 + a1068c44a700ec2cff84cbd12592e9bfea25d754:
3111 NDK cc_toolchains: include bundled runtime libraries in
3112 cc_toolchain.all_files
3113 + b1be5816ec1bf8e1172c1bed4f29b4e6c6bb7202:
3114 runfiles,Python: remove library from @bazel_tools
3115 + 0a4622012ff796429220fe57d3217f262cc208a8:
3116 Fix visibility of def_parser for remote builds
3117 + 3c5373c50c7c492842f8a468906eda2c0bc90787:
3118 Remove visibility attribute from
3119 //third_party/def_parser:def_parser
3120 + f54d7e5293cc40ce3507a9adef530e46ab817585:
3121 Enable bulk writes in the HttpBlobStore
3122 + 04ce86e8ba96630f89a436167b7f3a195c5e50e7:
3123 remote/http: properly complete user promise
3124```
3125
3126Incompatible changes:
3127
3128 - The order of dict-valued attributes is now the order in the BUILD
3129 file (or in the Skylark dict they were created from) and not
3130 lexicographically sorted.
3131
3132New features:
3133
3134 - The new "--direct_run" flag on "blaze run" lets one run
3135 interactive binaries.
3136 - "blaze run --direct_run" with tests now gives the test an
3137 approximation of the official test environment.
3138 - "blaze run --direct_run" now exports the
3139 BUILD_{WORKSPACE,WORKING}_DIRECTORY variables to tell the binary
3140 about the cwd of the client and the workspace root.
3141 - New Android device test rule: android_instrumentation_test.
3142 - Add option to dump the action graph to a file: 'bazel dump
3143 --action_graph=/path/to/file'.
3144 - Pass `tags` from `java_import_external` rule to the generated
3145 `java_import` rule.
3146 - blaze query: use --proto:output_rule_attrs to filter for given
3147 attributes
3148 - Added Android NDK r15 support, including compatibility with
3149 Unified Headers.
3150 - Adds --ltobackendopt and --per_file_ltobackendopt for passing
3151 options to ThinLTO LTO backend compile actions only.
3152
3153Important changes:
3154
3155 - Fix how libraries to link is specified to archiver actions.
3156 - Fix how libraries_to_link are expanded in the archiver command
3157 line.
3158 - stop using --no-locals in android coverage builds
3159 - apple_binary can now generate dSYM outputs with the
3160 --apple_generate_dsym=true flag.
3161 - Fix FDO_STAMP_MACRO to only be set when fdoBuildStamp is not null.
3162 - Improved clarity of warning message for unsupported NDK revisions.
3163 - Add lint check for discouraging glob(["**/*.java"])
3164 - unifly lint glob(["**/*.java"]) message
3165 - Removed flags `--incompatible_checked_arithmetic`,
3166 `--incompatible_dict_literal_has_no_duplicates`,
3167 `--incompatible_disallow_keyword_only_args`, and `
3168 --incompatible_comprehension_variables_do_not_leak`.
3169 - Add "proto_source_root" flag to proto_library.
3170 - Updated default android_cpu value to armeabi-v7a
3171 - In skylark, print(target) now shows the provider keys of a
3172 target, as debug information.
3173 - The native http_archive rule is deprecated. Use the
3174 Skylark version available via
3175 load("@bazel_tools//tools/build_defs/repo:http.bzl",
3176 "http_archive")
3177 instead.
3178 - flaky_test_attempts supports the regex@attempts syntax, like
3179 runs_per_test.
3180 - Fixed include paths for NDK r13+ llvm-libc++ headers to
3181 `ndk/sources/cxx-stl/llvm-libc++/include` and
3182 `ndk/sources/cxx-stl/llvm-libc++abi/include`
3183 - --config flags now expand in place by default.
3184 - aar_import now sets java.transitive_exports.
3185 - repository_cache is no longer experimental and enabled by default.
3186 - BAZEL_LINKOPTS is now consulted when autoconfiguring c++ toolchain
3187 - The native git_repository rule is deprecated. Use the
3188 Skylark version available via
3189 load("@bazel_tools//tools/build_defs/repo:git.bzl",
3190 "git_repository")
3191 instead.
3192 - Removed flag `--incompatible_load_argument_is_label`.
3193 - CcToolchain: Introduced action_config for
3194 "c++-link-transitive-dynamic-library"
3195 - Use bazel dump --action_graph=/path/to/action.proto
3196 --action_graph:targets://foo:bar,//foo:foo to filter for certain
3197 targets in the action graph dump.
3198 - Added Android NDK r16 support. Use --cxxopt='-std=c++11` compile
3199 with the C++11 standard, and
3200 `--android_crosstool_top=@androidndk//:toolchain-libcpp` to use
3201 the `libc++` STL.
3202 - Add a --build_event_publish_all_actions flag to allow all actions
3203 to be published via the BEP.
3204 - C++: Introduced --experimental_drop_fully_static_linking_mode
3205 - Removed cc_inc_library, please use cc_library instead
3206 - CppRules: cc_binary/cc_test now enable 'static_linking_mode' or
3207 'dynamic_linking_mode'.
3208
Bazel Release Systemc86d6a02018-03-06 19:32:18 +01003209## Release 0.11.1 (2018-03-06)
3210
3211```
3212Baseline: 00d781ae78a8bd51d3c61b621d79f0bb095aff9e
3213
3214Cherry picks:
3215 + ea2d4c475febdbd59ca0e0ba46adc7be759f84e0:
3216 Update stub_finds_runfiles_test to be a real sh_test.
3217 + d855d8133f4efb73ebd5e82c54a9afb4c7565d46:
3218 java,runfiles: fix bugs in runfiles library
3219 + 56aeb04a064218b845ecc193d530c341c6ec854d:
3220 Fixing #4585: broken re-execution of orphaned actions.
3221 + cf3f81aef7c32019d70cbce218a64a03276268f0:
3222 remote: Add support for HTTP Basic Auth
3223 + 28bd997c1c8793973f63dcae4c22bbae49e7d8b7:
3224 Fixing test-setup.sh occasionally missing stdout/stderr, on
3225 systems where "tail --pid" is supported.
3226 + 109e4b4dc9e786e3a2d8d7cb245d18320dbe9216:
3227 Automated rollback of commit
3228 7e6837cc1d1aa4259f5c27ba3606b277b5f6c3e9.
3229 + b3d52b1b6d46a0f23cc91125c1d522e9d13433b4:
3230 Fix incorrect include directories when -no-canonical-prefixes is
3231 passed to clang
3232 + 1001141f0674ff4b611814edcb00a5183680ef4a:
3233 Roll forward of
3234 https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1
3235 b52bcac5a3ff942029
3236 (https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba
3237 1b52bcac5a3ff942029). Fix #4625 by running the test process in a
3238 sub-shell.
3239 + fc98b44b6181fa4c3efd8613d887970629468d74:
3240 android,windows: bugfix in aar_resources_extractor
3241```
3242
3243Important changes:
3244
3245 - Fixes regression building Android rules on Windows.
3246
Bazel Release System09077a32018-02-23 11:09:18 -05003247## Release 0.11.0 (2018-02-23)
3248
3249```
3250Baseline: 00d781ae78a8bd51d3c61b621d79f0bb095aff9e
3251
3252Cherry picks:
3253 + ea2d4c475febdbd59ca0e0ba46adc7be759f84e0:
3254 Update stub_finds_runfiles_test to be a real sh_test.
3255 + d855d8133f4efb73ebd5e82c54a9afb4c7565d46:
3256 java,runfiles: fix bugs in runfiles library
3257 + 56aeb04a064218b845ecc193d530c341c6ec854d:
3258 Fixing #4585: broken re-execution of orphaned actions.
3259 + cf3f81aef7c32019d70cbce218a64a03276268f0:
3260 remote: Add support for HTTP Basic Auth
3261 + 28bd997c1c8793973f63dcae4c22bbae49e7d8b7:
3262 Fixing test-setup.sh occasionally missing stdout/stderr, on
3263 systems where "tail --pid" is supported.
3264 + 109e4b4dc9e786e3a2d8d7cb245d18320dbe9216:
3265 Automated rollback of commit
3266 7e6837cc1d1aa4259f5c27ba3606b277b5f6c3e9.
3267 + b3d52b1b6d46a0f23cc91125c1d522e9d13433b4:
3268 Fix incorrect include directories when -no-canonical-prefixes is
3269 passed to clang
3270 + 3904ac33a983fd8faebba1b52bcac5a3ff942029:
3271 Automated rollback of commit
3272 28bd997c1c8793973f63dcae4c22bbae49e7d8b7.
3273 + 1001141f0674ff4b611814edcb00a5183680ef4a:
3274 Roll forward of
3275 https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1
3276 b52bcac5a3ff942029
3277 (https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba
3278 1b52bcac5a3ff942029). Fix #4625 by running the test process in a
3279 sub-shell.
3280```
3281
3282Incompatible changes:
3283
3284 - ctx.fragments.jvm is not available anymore.
3285
3286New features:
3287
3288 - java,runfiles: You can now depend on
3289 `@bazel_tools//tools/runfiles:java-runfiles` to get a
3290 platform-independent runfiles library for Java. See JavaDoc of
3291 https://github.com/bazelbuild/bazel/blob/master/src/tools/runfiles
3292 /java/com/google/devtools/build/runfiles/Runfiles.java for usage
3293 information.
3294
3295Important changes:
3296
3297 - The --[no]experimental_disable_jvm command line option is not
3298 supported anymore.
3299 - Allow expanding TreeArtifacts for libraries_to_link
3300 - Proguarded Android binaries can be built with incremental dexing.
3301 - aar_import now supports assets.
3302 - Crash in OutputJar::Close has been fixed
3303 - generator_* attributes are nonconfigurable.
3304 - Introduces --[no]keep_state_after_build
3305 - Add support for merged object files needed for -flto-unit.
3306 - Fix how libraries to link is specified to archiver actions.
3307 - Replace //tools/defaults:android_jar with
3308 @bazel_tools//tools/android:android_jar.
3309 //tools/defaults:android_jar will be removed in a future release.
3310 - java_common.compile supports neverlink
3311 - Resolved an issue where a failure in the remote cache would not
3312 trigger local re-execution of an action.
3313
Bazel Release Systeme1148362018-02-15 10:02:05 +01003314## Release 0.10.1 (2018-02-15)
3315
3316```
3317Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993
3318
3319Cherry picks:
3320 + f6ca78808722c8c119affdb33400838ee92d44b6:
3321 isable_presubmit
3322 + 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52:
3323 Fix StreamResourceLeak error
3324 + e5436745e1732f5e43fc55f0deb5b19e23ce8524:
3325 windows: fix --symlink_prefix=/ throwing exception
3326 + 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3:
3327 Fix turbine command lines with empty javacopts
3328 + 96c654d43eb2906177325cbc2fc2b1e90dbcc792:
3329 Remove EOL'd Linux flavours, bump CentOS to 6.9.
3330 + f0bec36864f10370cbbda4caa8beac2e0c5ee45b:
3331 Automated rollback of commit
3332 2aeaeba66857c561dd6d63c79a213f1cabc3650d.
3333 + 860af5be10b6bad68144d9d2d34173e86b40268c:
3334 Consolidate Error Prone resource handling
3335 + 2e631c99495f75270d2639542cefb531ec262d67:
3336 sandbox: properly add `tmpDir` to `writablePaths`
3337 + 5bfa5844d0d16d71e88002956e88402bfec88ef7:
3338 actions,temp: respect TMPDIR envvar
3339 + 6cc2ad8676d1ae0542b351a07a05ddbe5efac165:
3340 sandbox: add env[TMPDIR] instead of `tmpDir`
3341 + 40c757f4ab90214f95935672532a495c4551490a:
3342 Change git clone to pull all history, so all needed commits can
3343 be accessed.
3344 + 56aeb04a064218b845ecc193d530c341c6ec854d:
3345 Fixing #4585: broken re-execution of orphaned actions.
3346```
3347
3348Important changes:
3349
3350 - Resolved an issue where a failure in the remote cache would not
3351 trigger local re-execution of an action.
3352
Bazel Release System5bd27482018-02-01 09:43:33 +01003353## Release 0.10.0 (2018-02-01)
3354
3355```
3356Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993
3357
3358Cherry picks:
3359 + f6ca78808722c8c119affdb33400838ee92d44b6:
3360 isable_presubmit
3361 + 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52:
3362 Fix StreamResourceLeak error
3363 + e5436745e1732f5e43fc55f0deb5b19e23ce8524:
3364 windows: fix --symlink_prefix=/ throwing exception
3365 + 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3:
3366 Fix turbine command lines with empty javacopts
3367 + 96c654d43eb2906177325cbc2fc2b1e90dbcc792:
3368 Remove EOL'd Linux flavours, bump CentOS to 6.9.
3369 + f0bec36864f10370cbbda4caa8beac2e0c5ee45b:
3370 Automated rollback of commit
3371 2aeaeba66857c561dd6d63c79a213f1cabc3650d.
3372 + 860af5be10b6bad68144d9d2d34173e86b40268c:
3373 Consolidate Error Prone resource handling
3374 + 2e631c99495f75270d2639542cefb531ec262d67:
3375 sandbox: properly add `tmpDir` to `writablePaths`
3376 + 5bfa5844d0d16d71e88002956e88402bfec88ef7:
3377 actions,temp: respect TMPDIR envvar
3378 + 6cc2ad8676d1ae0542b351a07a05ddbe5efac165:
3379 sandbox: add env[TMPDIR] instead of `tmpDir`
3380 + 40c757f4ab90214f95935672532a495c4551490a:
3381 Change git clone to pull all history, so all needed commits can
3382 be accessed.
3383```
3384
3385Incompatible changes:
3386
3387 - In order to access the template variables $(JAVA) and
3388 $(JAVABASE), @bazel_tools//tools/jdk:current_java_runtime needs
3389 to be added to the toolchains= attribute from now on.
3390 - The ctx.middle_man function is not supported anymore.
3391 - The flag --incompatible_list_plus_equals_inplace is removed, its
3392 default behavior is preserved. += on lists now always mutates the
3393 left hand
3394 side.
3395 - --android_sdk no longer supports filegroup targets.
3396 - android_* rules no longer support legacy_native_support attribute.
3397
3398New features:
3399
3400 - query: Add option --noproto:flatten_selects to turn off
3401 flattening of selector lists in proto output.
3402 - New android test rule, android_local_test.
3403
3404Important changes:
3405
3406 - The --remote_rest_cache flag now respects --remote_timeout.
3407 - --experimental_java_coverage is available for testing.
3408 - The deprecated builtin `set` is no longer allowed even from within
3409 unexecuted code in bzl files. It's temporarily possible to use
3410 --incompatible_disallow_uncalled_set_constructor=false if this
3411 change causes
3412 incompatibility issues.
3413 - Linkstamping is now a separate and full-blown CppCompileAction,
3414 it's
3415 no longer a part of linking command.
3416 - Using `+`, `|` or `.union` on depsets is now deprecated. Please
3417 use the new
3418 constructor instead (see
3419 https://docs.bazel.build/versions/master/skylark/depsets.html).
3420 - config_feature_flag's default_value is optional. It is
3421 only an error to have a config_feature_flag with no default_value
3422 if that config_feature_flag has not been set in the configuration
3423 it is being evaluated in.
3424 - --[no]keep_incrementality_data is gone, replaced by the
3425 enum-valued --incremental_state_retention_strategy
3426 - Linkstamping is now a separate and full-blown CppCompileAction,
3427 it's
3428 no longer a part of linking command.
3429 - Added --checkHashMismatch flag to ZipFilterAction. Valid values
3430 are IGNORE, WARN and ERROR. --errorOnHashMismatch is deprecated,
3431 please use this flag instead.
3432 - Set build jobs equivalent to number of logical processors by
3433 default. Should improve build times significantly.
3434 - Added --(no)expand_test_suites flag.
3435 - Rename --keep_incrementality_data to --track_incremental_state
3436 - --remote_rest_cache was renamed to --remote_http_cache. Both
3437 options keep working in this release, but --remote_rest_cache
3438 will be
3439 removed in the next release.
3440 - Aspects-on-aspect see and propagate over aspect attributes.
3441 - --auth_* flags were renamed to --google_* flags. The old names
3442 will continue to work for this release but will be removed in the
3443 next
3444 release.
3445 - Remote Caching and Execution support output directories.
3446 - Remove defunct flags
3447 --experimental_incremental_dexing_for_lite_proto and
3448 --experimental_incremental_dexing_error_on_missed_jars that have
3449 long been enabled by default
3450 - New version of aapt2 and Resources.proto.
3451 - Make PIC and non PIC outputs for C++ compilation with Tree
3452 Artifacts
3453
Bazel Release System7b423cc2017-12-19 10:31:05 +01003454## Release 0.9.0 (2017-12-19)
Bazel Release System3d53cb02017-12-05 15:28:40 +01003455
3456```
Bazel Release System7b423cc2017-12-19 10:31:05 +01003457Baseline: ddd5ac16aeffa6c4693c348f73e7365240b1abc5
Bazel Release System3d53cb02017-12-05 15:28:40 +01003458
3459Cherry picks:
Bazel Release System7b423cc2017-12-19 10:31:05 +01003460 + 2cf560f83922e6df9626ba3ee063c1caf6797548:
3461 Update version of re2
3462 + a2d2615362c65be98629b39ce39754a325ed1c42:
3463 Check for null build file returned from getBuildFileForPackage.
3464 + 68c577afc2fb33b5e66b820bcc9043fed1071456:
3465 Fix some broken targets and failing tests.
3466 + 766ba8adc4487f17ebfc081aeba6f34b18b53d6c:
Bazel Release System3d53cb02017-12-05 15:28:40 +01003467 Automated rollback of commit
Bazel Release System7b423cc2017-12-19 10:31:05 +01003468 337f19cc54e77c45daa1d5f61bf0a8d3daf8268f.
3469 + a22d0e9c14e58b29d81f5a83bdcc6e5fce52eafe:
3470 Fix: uploading artifacts of failed actions to remote cache
3471 stopped working.
3472 + 03964c8ccb20d673add76c7f37245e837c3899b6:
3473 [java_common.compile] Name output source jar relative to the
3474 output jar name
Bazel Release System3d53cb02017-12-05 15:28:40 +01003475```
3476
Bazel Release System7b423cc2017-12-19 10:31:05 +01003477Incompatible changes:
3478
3479 - The deprecated `set` constructor is removed, along with the
3480 migration flag --incompatible_disallow_set_constructor. It is
3481 still temporarily
3482 allowed to refer to `set` from within unexecuted code.
3483 - The flag --incompatible_disallow_set_constructor is no longer
3484 available, the deprecated `set` constructor is not available
3485 anymore.
3486 - The path to the JVM executable is not accessible anymore as
3487 ctx.{fragments,host_fragments}.jvm.java_executable. Use
3488 JavaRuntimeInfo.java_executable_exec_path instead.
3489 - --clean_style is no longer an option.
3490
3491New features:
3492
3493 - Users can use win_def_file attribute to specify a DEF file for
3494 exporting symbols when build a shared library on Windows.
3495 - Add --experimental_android_resource_cycle_shrinking option to
3496 allow for more aggressive code and resource shrinking.
3497
3498Important changes:
3499
3500 - Late-bound attributes are exposed to skylark. This is a new API
3501 (`configuration_field()`) to depend on certain
3502 configuration-defined targets from skylark rules.
3503 - Document interaction between test_suite and target exclusions
3504 - AAR manifest files will come from the processed resource APK if it
3505 exists.
3506 RELNOTES: None for Blaze users.
3507 - Document interaction between test_suite and target exclusions
3508 - --keep_incrementality_data flag allows Bazel servers to be run in
3509 memory-saving non-incremental mode independent of --batch and
3510 --discard_analysis_cache.
3511 - Add deps attribute to Skylark maven_aar and maven_jar workspace
3512 rules.
3513 - Use --expand_configs_in_place as a startup argument to change the
3514 order in which --config expansions are interpreted.
3515 - SOURCE_DATE_EPOCH
3516 (https://reproducible-builds.org/specs/source-date-epoch/) can
3517 be used to override the timestamp used for stamped target (when
3518 using --stamp).
3519 - Package specifications can now be prefixed with `-` to indicate
3520 negation
3521 - transitive_source_jars is now exposed on JavaInfo.
3522 - Add six to deps of has_services=1 py_proto_librarys.
3523 - java_tests no complain when use_testrunner is explicitly set to 1
3524 and main_class is set.
3525 - transitive_source_jars is now exposed on JavaInfo.
3526 - Debug messages generated by `print()` are not being filtered out
3527 by --output_filter anymore, it's recommended not to use them in
3528 production code.
3529 - in the Label() function, relative_to_caller_repository is now
3530 deprecated.
3531 - java_tests no complain when use_testrunner is explicitly set to 1
3532 and main_class is set.
3533 - Bazel's default hash function was changed from MD5 to SHA256.
3534 In particular, this affects users of remote caching and
3535 execution, as
3536 all hashes will be SHA256 by default.
3537 - Remove redirects for domains be.bazel.build and cr.bazel.build
3538 from the source for docs.bazel.build (because those subdomains
3539 don't resolve here; they resolve to bazel.build, which has the
3540 redirects for them)
3541 - First argument of 'load' must be a label. Path syntax is removed.
3542 (label should start with '//' or ':').
3543 - Document startup option --host_javabase
3544 - The --host_platform and --platform flags are no longer
3545 experimental.
Bazel Release System3d53cb02017-12-05 15:28:40 +01003546
Bazel Release System0838aee2017-11-27 14:16:34 +01003547## Release 0.8.0 (2017-11-27)
3548
3549```
3550Baseline: cff0dc94f6a8e16492adf54c88d0b26abe903d4c
3551
3552Cherry picks:
3553 + 8a49b156c4edf710e3e1e0acfde5a8d27cc3a086:
3554 Fix ImportError on tools.android for junction_lib
3555 + 275ae45b1228bdd0f912c4fbd634b29ba4180383:
3556 Automated rollback of commit
3557 4869c4e17d5b1410070a1570f3244148d8f97b5d.
3558 + d0bf589f2716b3d139c210930371a684c6e158eb:
3559 Add a random number to action temp dir
3560 + 9738f35abddb7ef7a7ef314b5d2a52a3be1b830a:
3561 CcProtoLibrary: Don't add dynamic librarys to filesToBuild on
3562 Windows
3563 + 0d6ff477099fdf6c8c1c7d4e2104f9184afe0a2b:
3564 Automated rollback of commit
3565 0ebb3e54fc890946ae6b3d059ecbd50e4b5ec840.
3566```
3567
3568Incompatible changes:
3569
3570 - ctx.fragments.apple.{xcode_version,ios_minimum_os} is not
3571 supported anymore. The same information is accessible through the
3572 target @bazel_tools//tools/osx:current_xcode_config: point an
3573 implicit attribute to it (i.e.
3574 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
3575 nfig")) then use
3576 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].
3577 - ctx.fragments.apple.minimum_os_for_platform_type is not supported
3578 anymore. The same information is accessible through the target
3579 @bazel_tools//tools/osx:current_xcode_config: point an implicit
3580 attribute to it (i.e.
3581 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
3582 nfig")) then use
3583 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].minimum_o
3584 s_for_platform_type .
3585 - ctx.fragments.apple.sdk_version_for_platform is not supported
3586 anymore. The same information is accessible through the target
3587 @bazel_tools//tools/osx:current_xcode_config: point an implicit
3588 attribute to it (i.e.
3589 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
3590 nfig")) then use
3591 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].sdk_versi
3592 on_for_platform .
3593 - --javabase=<absolute path> and --host_javabase=<absolute path>
3594 are not supported anymore. If you need this functionality
3595 java_runtime_suite(name="suite", default=":runtime")
3596 java_runtime(name="runtime", java_home=<path to the JDK>) is an
3597 alternative.
3598 - The flag --incompatible_descriptive_string_representations is no
3599 longer available, old style string representations of objects are
3600 not supported
3601 anymore.
3602 - The flag --incompatible_disallow_set_constructor is no longer
3603 available, the deprecated `set` constructor is not available
3604 anymore.
3605 - += on lists now mutates them. `list1 += list2` is now equivalent
3606 to `list1.extend(list2)` and not equivalent to `list1 = list1 +
3607 list2` anymore.
3608 - the target_apple_env and apple_host_system_env methods on
3609 ctx.fragments.apple are not supported anymore. The same
3610 information is accessible through apple_common.target_apple_env
3611 and apple_common.apple_host_system_env . They need the Xcode
3612 configuration as an argument, which can be obtained by declaring
3613 an implicit dependency on it (i.e.
3614 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
3615 nfig")) and then calling e.g.
3616 apple_common.apple_host_system_env(ctx.attr._xcode_config[apple_co
3617 mmon.XcodeVersionConfig]).
3618 - C++ toolchain identifiers are not in the name of the output
3619 directory anymore.
3620 - Selecting on "xcode_version" and
3621 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
3622 What was config_setting(values={"$FOO_version": $VALUE}) is now
3623 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
3624 flag": $VALUE}).
3625 - Selecting on "xcode_version" and
3626 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
3627 What was config_setting(values={"$FOO_version": $VALUE}) is now
3628 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
3629 flag": $VALUE}).
3630 - The flag --incompatible_disallow_set_constructor is no longer
3631 available, the deprecated `set` constructor is not available
3632 anymore.
3633 - Selecting on "xcode_version" and
3634 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
3635 What was config_setting(values={"$FOO_version": $VALUE}) is now
3636 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_versi...
3637
3638New features:
3639
3640 - runfiles, sh: Shell scripts may now depend on
3641 //src/tools/runfiles:runfiles_sh_lib and source runfiles.sh. The
3642 script defines the `rlocation` function which returns runfile
3643 paths on every platform.
3644 - In addition to $(location), Bazel now also supports $(rootpath)
3645 to obtain
3646 the root-relative path (i.e., for runfiles locations), and
3647 $(execpath) to
3648 obtain the exec path (i.e., for build-time locations)
3649
3650Important changes:
3651
3652 - android_binary now supports custom debug keys via the debug_key
3653 attribute.
3654 - Updated Android proguard to 5.3.3. It now works with android-24+.
3655 - --experimental_use_parallel_android_resource_processing and
3656 --experimental_android_use_nocompress_extensions_on_apk are
3657 removed. These features are fully rolled out.
3658 - Fixes #2574
3659 - Fixes #3834
3660 - Enable experimental UI by default.
3661 - .
3662 RELNOTES: None.
3663 RELNOTES: No.
3664 - Add memory profiler.
3665 - [Bazel] {java,cc}_proto_library now look for dependencies in
3666 @com_google_protobuf, instead of in @com_google_protobuf_$LANG
3667 - Improved merge.sh script in cookbook.
3668 - Fixing regression to --experimental_remote_spawn_cache
3669 - Support for linker scripts in NativeDepsHelper (e.g.,
3670 android_binary)
3671 - Skylark semantics flags now affect WORKSPACE files and repository
3672 rules.
3673 - ctx.outputs.executable is deprecated. Use DefaultInfo(executable
3674 = ...) instead.
3675 - Update "mirror.bazel.build" urls to use https.
3676 - Improve --config logging when --announce_rc is present.
3677 - Document interaction between test_suite and target exclusions
3678 - Replace version numbers for Bazel installers with "<version>"
3679 (because this will change often)
3680 - Published command lines should have improved lists of effective
3681 options.
3682 - --incremental_dexing_binary_types has been removed. All builds
3683 are supported by incremental dexing (modulo proguard and some
3684 blacklisted dx flags).
3685 - Document --host_javabase, --host_java_toolchain
3686
Bazel Release System76b6d0a2017-10-18 14:34:11 +02003687## Release 0.7.0 (2017-10-18)
3688
3689```
3690Baseline: 5cc6246d429f7d9119b97ce263b4fd6893222e92
3691
3692Cherry picks:
3693 + e79a1107d90380501102990d82cbfaa8f51a1778:
3694 Windows,bootstrapping: fix build_windows_jni.sh
3695```
3696
3697Incompatible changes:
3698
3699 - The --output=location flag to 'bazel query' cannot be used with
3700 query expressions that involve the 'buildfiles' or 'loadfiles'
3701 operators. This also applies to 'genquery' rules.
3702 - Operators for equality, comparison, 'in' and 'not in' are no
3703 longer associative,
3704 e.g. x < y < z is now a syntax error. Before, it was parsed
3705 as: (x < y) < z.
3706 - In strings, octal sequences greater than \377 are now forbidden
3707 (e.g. "\\600").
3708 Previously, Blaze had the same behavior as Python 2, where
3709 "\\450" == "\050".
3710 - Using tabulation for identation is now fobidden in .bzl files
3711 - `load` is now a language keyword, it cannot be used as an
3712 identifier
3713 - lvalues must have define at least one variable (i.e. we forbid
3714 `[] = f()`).
3715 - Fixed a bug whereby multiple load() statements could appear on
3716 the same line
3717 - -extra_checks:off is no longer supported; use
3718 -XepDisableAllChecks instead
3719 - java_common.java_toolchain_attr is removed. Depend on the
3720 java_toolchain_alias() rule to accomplish the same thing.
3721 - cc_common.cc_toolchain_attr and java_common.java_runtime_attr are
3722 not supported anymore and were replaced with the
3723 cc_toolchain_alias() and java_runtime_alias() rules.
3724 - Noop flag --deprecated_generate_xcode_project deleted.
3725 - Objects in Skylark are converted to strings in a more descriptive
3726 and less harmful way (they don't leak information that shouldn't
3727 be accessed by Skylark code, e.g. nondeterministic memory addresses
3728 of objects).
3729 - `set` is deprecated in BUILD and .bzl files, please use `depset`
3730 instead. Ordering names have also been changed, please use "default",
3731 "postorder", "preorder", and "topological" instead of "stable",
3732 "compile", "naive_link", and "link" correspondingly.
3733 - Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is
3734 an error.
3735 - Keyword-only syntax in a function definition is now forbidden
3736 e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`
3737 - --incompatible_comprehension_variables_do_not_leak defaults to
3738 "true."
3739 Iteration variable becomes inaccessible after a list/dict
3740 comprehension.
3741 - @bazel_tools//tools/build_defs/docker:docker.bzl is no longer
3742 available, please see https://github.com/bazelbuild/rules_docker.
3743
3744New features:
3745
3746 - Zipped LLVM profiles are now supported.
3747 - LIPO maps to ThinLTO for LLVM builds.
3748 - Change to handle LLVM FDO zipped profile contents correctly.
3749 - Do not disable fully dynamic linking with ThinLTO when invoked
3750 via LIPO options.
3751 - There is now a 'siblings' query function. See the query
3752 documentation for more details.
3753 - Added the print_action command, which outputs the
3754 actions needed to build a given target in the form of an
3755 ExtraActionSummary proto in text format.
3756 - android_binary now supports proguard_apply_dictionary to specify
3757 a custom dictionary to use for choosing names to obfuscate
3758 classes and members to.
3759
3760Important changes:
3761
3762 - Windows: bazel clean --expunge works
3763 - First argument of 'load' should be a label. Path syntax is
3764 deprecated (label should start with '//' or ':').
3765 - Octal prefix '0' is deprecated in favor of '0o' (use 0o777
3766 instead of 0777).
3767 - The extension_safe attribute of apple_binary no longer validates
3768 transitive dependencies are compiled against extension_safe APIs.
3769 - Parentheses around the tuple are now mandatory in [a for b in c
3770 if 1, 2]
3771 - Adjust the thresholds for --test_verbose_timeout_warnings so that
3772 it can recommending timeout increases and won't recommend
3773 timeouts that are too close to the actual timeout.
3774 - Iterating on a `depset` object is deprecated. If you need an
3775 iterable, call the `.to_list()` method first.
3776 - Bazel now uses tools from action_configs in Crosstool by default
3777 (as oposed to using top level tools).
3778 - Incremental dexing errors on combination of --multidex=off and
3779 either --main-dex-list or --minimal-main-dex.
3780 - When using the dictionary literal syntax, it is now an error to
3781 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
3782 - New property on android_sdk: aapt2
3783 Choose the version of aapt on android_binary
3784 - Add idl_preprocessed attribute to android_library, so that
3785 preprocessed aidl files can be passed to android_library for
3786 compiling
3787 - Bazel's remote_worker backend for remote execution supports
3788 sandboxing on Linux now. Check
3789 https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w
3790 orker/README.md for details.
3791 - Allows flags that expand to take values.
3792 - Make querying attributes formed by selector lists of list types
3793 more efficient by no longer listing every possible combination of
3794 attribute value but by more compactly storing the possible values
3795 of the list.
3796 - writing build events to a file is no longer experimental
3797 - set --rewrite_calls_to_long_compare to false by default.
3798 - ObjC and C++ coverage feature is unified under name 'coverage'
3799 - Enable --incremental_dexing for Android builds by default. Note
3800 that some dexopts are incompatible with incremental dexing,
3801 including --force-jumbo.
3802 - Evaluation will soon use checked arithmetics and throw an error
3803 instead of overflow/underflow.
3804 - Implicit iteration in the CROSSTOOL has been removed, use
3805 explicit 'iterate_over' message.
3806 - Add option for Android specific grte_top
3807 - Crosstool patches are only applied if the toolchain doesn't define
3808 'no_legacy_features' feature.
3809 - 'platform_type' is now a mandatory attribute on apple_binary and
3810 apple_static_library rules.
3811 If this change breaks your build, feel free to add platform_type
3812 = 'ios' to any apple_binary and apple_static_library
3813 targets in your project, as this was the previous default
3814 behavior.
3815 - Remove apple_watch2_extension build rule. Users should be using
3816 the skylark watchos_application and watchos_extension rules.
3817 https://github.com/bazelbuild/rules_apple has details.
3818 - Check stderr to detect if connected to a terminal. Deprecate
3819 --isatty.
3820 - Commands that shut down the server (like "shutdown") now ensure
3821 that the server process has terminated before the client process
3822 terminates.
3823 - Remove apple_watch1_extension and apple_watch_extension_binary
3824 rules. Users should be using the skylark watchos_application and
3825 watchos_extension rules.
3826 https://github.com/bazelbuild/rules_apple has details.
3827 - Windows: Wrapper-less CROSSTOOL becomes default now.
3828 set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.
3829 - Ignore --glibc in the Android transition.
3830 - Remove --experimental_android_use_singlejar_for_multidex.
3831 - nocopts now also filter copts
3832 - 'strip' action is now configured via feature configuration
3833 - The Build Event Service (BES) client now properly supports
3834 Google Applicaton Default Credentials.
3835 - Flags from action_config get added first to the command line
3836 first, before the flags from features.
3837 - update dexing tools to Android SDK 26.0.1
3838 - Bazel Android support now requires build-tools 26.0.1 or later.
3839 - `bazel info output_path` no longer relies on the root directory
3840 filename being equal to the workspace name.
3841 - The `print` function now prints debug messages instead of
3842 warnings.
3843 - speedup of incremental dexing tools
3844 - --announce_rc now controls whether bazelrc startup options are
3845 printed to stderr.
3846 - Removing a few unused objc_provider keys.
3847 - Improved logging when workers have to be restarted due to its
3848 files having changed.
3849 - Top-level `if` statements are now forbidden.
3850 - Java protos are compiled to Java 7 bytecode.
3851 - All Android builds now use the desugar tool to support some Java
3852 8 features by default. To disable, use the --nodesugar_for_android flag.
3853 - Skylark-related options may now appear as "common" command
3854 options in the .bazelrc
3855 - Python is now required to build bazel.
3856 - New --build_runfile_manifests flag controls production of
3857 runfiles manifests.
3858 - Enable debug info for Java builds
3859 - Allow java_lite_proto_library in the deps of android rules.
3860 - .so files in APKs will be memory-page aligned when
3861 android_binary.nocompress_extensions contains ".so" and
3862 --experimental_android_use_nocompress_extensions_on_apk is
3863 specified.
3864 - Skylark providers can specify allowed fields and their
3865 documentation.
3866 - Support ctx.actions.args() for more efficient Skylark command
3867 line construction.
3868 - The remote HTTP/1.1 caching client (--remote_rest_cache) now
3869 distinquishes between action cache and CAS. The request URL for
3870 the action cache is prefixed with 'ac' and the URL for the CAS
3871 is prefixed with 'cas'.
3872 - `JavaInfo` is a preferred alias to `java_common.provider`.
3873 - J2ObjC version updated to 2.0.3.
3874 - A new Java coverage implementation is available. Makes possible
3875 coverage for Skylark JVM rules.
3876 - Make proguard_apply_dictionary also apply to class and package
3877 obfuscation, not just class members.
3878 - android_binary.nocompress_extensions now applies to all files in
3879 the APK, not just resources and assets.
3880 - The apple_genrule rule that is distributed with Bazel has been
3881 deleted. Users who wish to use genrules with Xcode's
3882 DEVELOPER_DIR set should use the rules in
3883 https://github.com/bazelbuild/rules_apple instead.
3884 - The swift_library rule that is distributed with Bazel has been
3885 deleted. Users who wish to compile Swift should use the rules in
3886 https://github.com/bazelbuild/rules_apple instead.
3887 - The Build Event Protocol's File.uri field is now properly
3888 encoded according to RFC2396.
3889 - Deprecated: Using the android_library.deps attribute to
3890 implicitly export targets to dependent rules. If your code is
3891 using this feature, Bazel will raise a warning. To fix, please
3892 use android_library.exports to explicitly specify exported
3893 targets. Run with
3894 --experimental_allow_android_library_deps_without_srcs=false to
3895 ensure forward compatibility when this feature is removed in a
3896 future release.
3897 - java_common.create_provider is now supported with creating ijars
3898 by default. This introduces incompatibilities for existing users.
3899 Please set use_ijar=False if you don't want to use ijars.
3900 - Tests can now write files to TEST_UNDECLARED_OUTPUTS_DIR and
3901 TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR and these will be
3902 reflected under bazel-testlogs.
3903 - remove unused --host_incremental_dexing flag
3904 - Stop using --undefined dynamic_lookup in Apple links. Enables
3905 unresolved symbol errors.
3906 - All test output files included for cached, uncached, and multiple
3907 attempt tests.
3908 - Android rules no longer restrict the manifest file to be named
3909 "AndroidManifest.xml".
3910 - Boolean flag values will now get normalized to 1 or 0 in
3911 canonicalize-flags output.
3912 - added experimental --use_new_category_enum to the help command to
3913 output options grouped by the new type of category.
3914 - Expose output jars and jdeps in java_common.provider, when
3915 available.
3916 - android_library targets are no longer allowed to use deps to
3917 export targets implicitly; please use android_library.exports
3918 instead.
3919 - New depset API
3920 - apple_binary and apple_static_library no longer support
3921 compilation attributes such as 'srcs'. If this breaks any
3922 existing targets, you may migrate all such attributes to a new
3923 objc_library target and depend on that objc_library target via
3924 the 'deps' attribute of apple_binary or apple_static_library.
3925
Bazel Release Systemed0ebc02017-10-05 23:52:25 +02003926## Release 0.6.1 (2017-10-05)
3927
3928```
3929Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689
3930
3931Cherry picks:
3932 + a615d288b008c36c659fdc17965207bb62d95d8d:
3933 Rollback context.actions.args() functionality.
3934 + 7b091c1397a82258e26ab5336df6c8dae1d97384:
3935 Add a global failure when a test is interrupted/cancelled.
3936 + 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120:
3937 Cleanups for Skylark tracebacks
3938 + cc9c2f07127a832a88f27f5d72e5508000b53429:
3939 Remove the status xml attribute from AntXmlResultWriter
3940 + 471c0e1678d0471961f1dc467666991e4cce3846:
3941 Release 0.6.0 (2017-09-28)
3942 + 8bdd409f4900d4574667fed83d86b494debef467:
3943 Only compute hostname once per server lifetime
3944 + 0bc9b3e14f305706d72180371f73a98d6bfcdf35:
3945 Fix bug in NetUtil caching.
3946```
3947
3948Important changes:
3949 - Only compute hostname once per server lifetime
3950
Bazel Release System471c0e12017-09-28 16:36:12 +02003951## Release 0.6.0 (2017-09-28)
3952
3953```
3954Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689
3955
3956Cherry picks:
3957 + a615d288b008c36c659fdc17965207bb62d95d8d:
3958 Rollback context.actions.args() functionality.
3959 + 7b091c1397a82258e26ab5336df6c8dae1d97384:
3960 Add a global failure when a test is interrupted/cancelled.
3961 + 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120:
3962 Cleanups for Skylark tracebacks
3963 + cc9c2f07127a832a88f27f5d72e5508000b53429:
3964 Remove the status xml attribute from AntXmlResultWriter
3965```
3966
3967Incompatible changes:
3968
3969 - Noop flag --deprecated_generate_xcode_project deleted.
3970 - Objects in Skylark are converted to strings in a more descriptive
3971 and less harmful way (they don't leak information that shouldn't
3972 be accessed by Skylark code, e.g. nondeterministic memory addresses
3973 of objects).
3974 - `set` is deprecated in BUILD and .bzl files, please use `depset`
3975 instead. Ordering names have also been changed, please use
3976 "default", "postorder", "preorder", and "topological" instead of
3977 "stable", "compile", "naive_link", and "link" correspondingly.
3978 - Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is
3979 an error.
3980 - Keyword-only syntax in a function definition is now forbidden
3981 e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`
3982 - --incompatible_comprehension_variables_do_not_leak defaults to
3983 "true."
3984 Iteration variable becomes inaccessible after a list/dict
3985 comprehension.
3986
3987New features:
3988
3989 - There is now a 'siblings' query function. See the query
3990 documentation for more details.
3991 - Added the print_action command, which outputs the
3992 actions needed to build a given target in the form of an
3993 ExtraActionSummary proto in text format.
3994 - android_binary now supports proguard_apply_dictionary to specify
3995 a custom dictionary to use for choosing names to obfuscate
3996 classes and members to.
3997
3998Important changes:
3999
4000 - 'strip' action is now configured via feature configuration
4001 - Flags from action_config get added first to the command line
4002 first,
4003 before the flags from features.
4004 - `bazel info output_path` no longer relies on the root directory
4005 filename being equal to the workspace name.
4006 - The `print` function now prints debug messages instead of
4007 warnings.
4008 - speedup of incremental dexing tools
4009 - --announce_rc now controls whether bazelrc startup options are
4010 printed to stderr.
4011 - Removing a few unused objc_provider keys.
4012 - Improved logging when workers have to be restarted due to its
4013 files having changed.
4014 - Top-level `if` statements are now forbidden.
4015 - Java protos are compiled to Java 7 bytecode.
4016 - All Android builds now use the desugar tool to support some Java
4017 8 features by default. To disable, use the
4018 --nodesugar_for_android flag.
4019 - Skylark-related options may now appear as "common" command
4020 options in the .bazelrc
4021 - Python is now required to build bazel.
4022 - When the lvalue of an augmented assignment is a list, we now
4023 throw an error
4024 before evaluating the code (e.g. `a, b += 2, 3`).
4025 - New --build_runfile_manifests flag controls production of
4026 runfiles manifests.
4027 - Enable debug info for Java builds
4028 - Allow java_lite_proto_library in the deps of android rules.
4029 - .so files in APKs will be memory-page aligned when
4030 android_binary.nocompress_extensions contains ".so" and
4031 --experimental_android_use_nocompress_extensions_on_apk is
4032 specified.
4033 - Skylark providers can specify allowed fields and their
4034 documentation.
4035 - Support ctx.actions.args() for more efficient Skylark command
4036 line construction.
4037 - The remote HTTP/1.1 caching client (--remote_rest_cache) now
4038 distinquishes between action cache and CAS. The request URL for
4039 the action cache is prefixed with 'ac' and the URL for the CAS
4040 is prefixed with 'cas'.
4041 - `JavaInfo` is a preferred alias to `java_common.provider`.
4042 - J2ObjC version updated to 2.0.3.
4043 - A new Java coverage implementation is available. Makes possible
4044 coverage for Skylark JVM rules.
4045 - Make proguard_apply_dictionary also apply to class and package
4046 obfuscation, not just class members.
4047 - When using the dictionary literal syntax, it is now an error to
4048 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
4049 - android_binary.nocompress_extensions now applies to all files in
4050 the APK, not just resources and assets.
4051 - The apple_genrule rule that is distributed with Bazel has been
4052 deleted. Users who wish to use genrules with Xcode's
4053 DEVELOPER_DIR set should use the rules in
4054 https://github.com/bazelbuild/rules_apple instead.
4055 - The swift_library rule that is distributed with Bazel has been
4056 deleted. Users who wish to compile Swift should use the rules in
4057 https://github.com/bazelbuild/rules_apple instead.
4058
Bazel Release System5371d132017-08-25 11:24:06 +02004059## Release 0.5.4 (2017-08-25)
4060
4061```
4062Baseline: 6563b2d42d29196432d5fcafa0144b8371fbb028
4063
4064Cherry picks:
4065 + d4fa181f8607c35230b7efa1ce94188b51508962:
4066 Use getExecPathString when getting bash_main_file
4067 + 837e1b3d4859140d29aaa6bbab8fbb008e6d701e:
4068 Windows, sh_bin. launcher: export runfiles envvars
4069 + fe9ba893c0ebec19228086356af5fa8d81f2809b:
4070 grpc: Consolidate gRPC code from BES and Remote Execution. Fixes
4071 #3460, #3486
4072 + e8d4366cd374fba92f1425de0d475411c8defda4:
4073 Automated rollback of commit
4074 496d3ded0bce12b7371a93e1183ba30e6aa88032.
4075 + 242a43449dd44a22857f6ce95f7cc6a7e134d298:
4076 bes,remote: update default auth scope.
4077 + 793b409eeae2b42be7fed58251afa87b5733ca4d:
4078 Windows, sh_bin. launcher: fix manifest path
4079 + 7e4fbbe4ab3915a57b2187408c3909e5cd6c6013:
4080 Add --windows_exe_launcher option
4081 + 91fb38e92ace6cf14ce5da6527d71320b4e3f3d2:
4082 remote_worker: Serialize fork() calls. Fixes #3356
4083 + b79a9fcd40f448d3aebb2b93a2ebe80d09b38408:
4084 Quote python_path and launcher in
4085 python_stub_template_windows.txt
4086 + 4a2e17f85fc8450aa084b201c5f24b30010c5987:
4087 Add build_windows_jni.sh back
4088 + ce61d638197251f71ed90db74843b55d9c2e9ae5:
4089 don't use methods and classes removed in upstream dx RELNOTES:
4090 update dexing tools to Android SDK 26.0.1
4091 + 5393a4996d701fa192964a35cbb75e558a0599c0:
4092 Make Bazel enforce requirement on build-tools 26.0.1 or later.
4093 + 5fac03570f80856c063c6019f5beb3bdc1672dee:
4094 Fix --verbose_failures w/ sandboxing to print the full command
4095 line
4096 + f7bd1acf1f96bb7e3e19edb9483d9e07eb5af070:
4097 Only patch in C++ compile features when they are not already
4098 defined in crosstool
4099 + d7f5c120417bc2d2344dfb285322355f225d9153:
4100 Bump python-gflags to 3.1.0, take two
4101 + 3cb136d5451e9d8af58f9a99990cad0592df101a:
4102 Add python to bazel's dockerfiles
4103```
4104
4105New features:
4106
4107 - Do not disable fully dynamic linking with ThinLTO when invoked
4108 via LIPO options.
4109
4110Important changes:
4111
4112 - Ignore --glibc in the Android transition.
4113 - Remove --experimental_android_use_singlejar_for_multidex.
4114 - nocopts now also filter copts
4115 - The Build Event Service (BES) client now properly supports
4116 Google Applicaton Default Credentials.
4117 - update dexing tools to Android SDK 26.0.1
4118 - Bazel Android support now requires build-tools 26.0.1 or later.
4119 - Fix a bug in the remote_worker that would at times make it crash on Linux. See #3356
4120 - The java_proto_library rule now supports generated sources. See #2265
4121
Bazel Release System195a7a82017-07-27 20:27:32 +02004122## Release 0.5.3 (2017-07-27)
4123
4124```
4125Baseline: 88518522a18df5788736be6151fc67992efe2aad
4126
4127Cherry picks:
4128 + 820a46af10808396873c36d0f331e533118cf0c6:
4129 Automated rollback of commit
4130 6d6e87297fe8818e4c374fdfabfbcf538bca898a.
4131 + ccfb2df69ecf4746f5a15e1295af995c3a45aa94:
4132 Allow py_binary to be the executable of a Skylark action or any
4133 SpawnAction on Windows.
4134 + 06534911696838e720c8681f6f568c69d28da65e:
4135 Fix string representation for the Root class
4136 + cd159bcee72a7f377621b45409807231a636f9e2:
4137 sandbox: Allow UNIX sockets on macOS even when block-network is
4138 used.
4139 + ad73cba3caa2e08ad61ea9ca63f9111cde1f48d1:
4140 Fix python_stub_template.txt to be compatible with Python 2.4.
4141 + 9a63aff8bb771af8917903fbbc9df3b708e2c0ed:
4142 Create Windows ZIP release artifact using Bazel
4143 + 5e576637b5705aff0a7bf56b5077463dffcd712f:
4144 Automated rollback of commit
4145 820a46af10808396873c36d0f331e533118cf0c6.
4146 + b6e29ca217b02c3ba499b85479a3830f59c9b9b6:
4147 Use the correct function to generate the release notes
4148 + 0f3481ba6364f24ef76b839bdde06ae7883c9bd9:
4149 Include <cinttypes> instead of <stdint.h>
4150```
4151
4152Incompatible changes:
4153
4154 - The --output=location flag to 'bazel query' cannot be used with
4155 query expressions that involve the 'buildfiles' or 'loadfiles'
4156 operators. This also applies to 'genquery' rules.
4157 - Operators for equality, comparison, 'in' and 'not in' are no
4158 longer associative, e.g. x < y < z is now a syntax error.
4159 Before, it was parsed as: (x < y) < z.
4160 - In strings, octal sequences greater than \377 are now forbidden
4161 (e.g. "\\600"). Previously, Blaze had the same behavior as Python 2,
4162 where "\\450" == "\050".
4163 - Using tabulation for identation is now fobidden in .bzl files
4164 - `load` is now a language keyword, it cannot be used as an
4165 identifier
4166 - lvalues must have define at least one variable (i.e. we forbid
4167 `[] = f()`).
4168 - Fixed a bug whereby multiple load() statements could appear on
4169 the same line
4170 - -extra_checks:off is no longer supported; use
4171 -XepDisableAllChecks instead
4172 - java_common.java_toolchain_attr is removed. Depend on the
4173 java_toolchain_alias() rule to accomplish the same thing.
4174 - cc_common.cc_toolchain_attr and java_common.java_runtime_attr are
4175 not supported anymore and were replaced with the
4176 cc_toolchain_alias() and java_runtime_alias() rules.
4177
4178New features:
4179
4180 - Zipped LLVM profiles are now supported.
4181 - LIPO maps to ThinLTO for LLVM builds.
4182 - Change to handle LLVM FDO zipped profile contents correctly.
4183
4184Important changes:
4185
4186 - Windows: bazel clean --expunge works
4187 - First argument of 'load' should be a label. Path syntax is
4188 deprecated (label should start with '//' or ':').
4189 - Octal prefix '0' is deprecated in favor of '0o' (use 0o777
4190 instead of 0777).
4191 - The extension_safe attribute of apple_binary no longer validates
4192 transitive dependencies are compiled against extension_safe APIs.
4193 - Parentheses around the tuple are now mandatory in [a for b in c
4194 if 1, 2]
4195 - Adjust the thresholds for --test_verbose_timeout_warnings so that
4196 it can recommending timeout increases and won't recommend
4197 timeouts that are too close to the actual timeout.
4198 - Iterating on a `depset` object is deprecated. If you need an
4199 iterable, call the `.to_list()` method first.
4200 - Bazel now uses tools from action_configs in Crosstool by default
4201 (as oposed to using top level tools).
4202 - Incremental dexing errors on combination of --multidex=off and
4203 either --main-dex-list or --minimal-main-dex.
4204 - When using the dictionary literal syntax, it is now an error to
4205 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
4206 - New property on android_sdk: aapt2
4207 Choose the version of aapt on android_binary
4208 - Add idl_preprocessed attribute to android_library, so that
4209 preprocessed aidl files can be passed to android_library for
4210 compiling
4211 - Bazel's remote_worker backend for remote execution supports
4212 sandboxing on Linux now. Check
4213 https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w
4214 orker/README.md for details.
4215 - Allows flags that expand to take values.
4216 - Make querying attributes formed by selector lists of list types
4217 more efficient by no longer listing every possible combination of
4218 attribute value but by more compactly storing the possible values
4219 of the list.
4220 - Writing build events to a file is no longer experimental
4221 - set --rewrite_calls_to_long_compare to false by default.
4222 - ObjC and C++ coverage feature is unified under name 'coverage'
4223 - Enable --incremental_dexing for Android builds by default. Note
4224 that some dexopts are incompatible with incremental dexing,
4225 including --force-jumbo.
4226 - Evaluation will soon use checked arithmetics and throw an error
4227 instead of overflow/underflow.
4228 - Implicit iteration in the CROSSTOOL has been removed, use
4229 explicit 'iterate_over' message.
4230 - Add option for Android specific grte_top
4231 - Crosstool patches are only applied if the toolchain doesn't define
4232 'no_legacy_features' feature.
4233 - 'platform_type' is now a mandatory attribute on apple_binary and
4234 apple_static_library rules.
4235 If this change breaks your build, feel free to add platform_type
4236 = 'ios' to any apple_binary and apple_static_library
4237 targets in your project, as this was the previous default
4238 behavior.
4239 - Remove apple_watch2_extension build rule. Users should be using
4240 the skylark watchos_application and watchos_extension rules.
4241 https://github.com/bazelbuild/rules_apple has details.
4242 - Check stderr to detect if connected to a terminal. Deprecate
4243 --isatty.
4244 - Commands that shut down the server (like "shutdown") now ensure
4245 that the server process has terminated before the client process
4246 terminates.
4247 - Remove apple_watch1_extension and apple_watch_extension_binary
4248 rules. Users should be using the skylark watchos_application and
4249 watchos_extension rules.
4250 https://github.com/bazelbuild/rules_apple has details.
4251 - Windows: Wrapper-less CROSSTOOL becomes default now.
4252 set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.
4253
Bazel Release System7b851222017-06-27 15:08:47 +02004254## Release 0.5.2 (2017-06-27)
4255
4256```
4257Baseline: e78ad83ded6e9c6d639793827e27b6570e6e9f65
4258
4259Cherry picks:
4260 + 68028317c1d3d831a24f90e2b25d1410ce045c54:
4261 experimental UI: move stopUpdateThread() out of synchronized,
4262 again
4263 + 019935dfbb61e61d08d1351b0365fb4e2d0df305:
4264 Fix bug in URI computation in RemoteModule
4265 + e9424cf9b9d72b98594966d5ac0f15bb018ec639:
4266 Automated rollback of commit
4267 7dec00574aa91327693f6ba7e90bff5bc834253e.
4268 + 9eea05d068a06ab642dd9d86d46ee5fa2e36b02e:
4269 Switching to Watcher API instead of wait_for_completion, in
4270 preparation for deprecating the wait_for_completion field.
4271 + 89659810e3048782dfb5e308e39aa8a0727e464e:
4272 Set correct execroot for info
4273 + 716b527266f47f59a2b7fb2e5fc52cb45e1691b1:
4274 Only create a single per-build instance of the remote cache /
4275 executor
4276 + 1d82d199f82409f217a42bcefebb96f723f91caa:
4277 protobuf: Update protobuf jars to be binary compatible with Java
4278 6. Fixes #3198
4279 + 524b90d9e5acc4fa568f215c9415eaa902e979f8:
4280 Change CAS URI to use the "bytestream" scheme instead of being
4281 scheme-less
4282 + 4929ad79865f8c13ef3b33c827040f4a037e4afe:
4283 Automated g4 rollback of commit
4284 923d7df521f67d031b288180560848bd35e20976.
4285 + 68b9a7e2dc17e32b194238d287e79bee1ba035b9:
4286 Automated g4 rollback of commit
4287 da56606563ee9df438db93392f681bf2abb4ac97.
4288 + 2ba693ffbe824136a0ca5f47d34710612f6302c3:
4289 Automated rollback of commit
4290 ce7c4deda60a307bba5f0c9421738e2a375cf44e.
4291```
4292
4293Incompatible changes:
4294
4295 - Blaze no longer generates xcode projects. Use tulsi.bazel.build
4296 instead.
4297
4298Important changes:
4299
4300 - Keyword-only syntax in a function definition is deprecated
4301 (e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`) and will be
4302 removed in the future.
4303 - Attempting to build an Android target without setting up
4304 android_sdk_repository will now produce a helpful error message.
4305 - Adds a sha256 attribute to git_repository and new_git_repository.
4306 This can only be used if the remote is a public GitHub
4307 repository. It forces
4308 Bazel to download the repository as a tarball, which will often
4309 be faster and
4310 more robust than cloning it.
4311 - Sandboxing is now enabled by default on FreeBSD (via
4312 processwrapper-sandbox).
4313 - android_test may use manifest placeholders with 'manifest_merger
4314 = "android"'.
4315 - load() statements should be called at the top of .bzl files,
4316 before any
4317 other statement. This convention will be enforced in the future.
4318 - Effectively remove sysroot from CppConfiguration and allow it to
4319 use select statements.
4320 - proto_library.strict_proto_deps no longer exists.
4321 - Flag --explicit_jre_deps is now a noop.
4322 - The 'legacy' Android manifest merger is deprecated. Please
4323 upgrade to the 'android' manifest merger, which is the same
4324 merger used by Gradle.
4325 https://developer.android.com/studio/build/manifest-merge.html
4326 - Using $(CC_FLAGS) in a GenRule adds a dependency to the c++
4327 toolchain
4328 - add one-version enforcement to android_local_test
4329 - Skylark support (apple_common.dotted_version(string)) for
4330 building DottedVersion objects to interface with native apple
4331 rules
4332 - CC_FLAGS can be defined using 'cc-flags-make-variable' action_config in
4333 CROSSTOOL
4334 - ios_framework native rule has been removed. This rule had been
4335 essentially broken for several months now; users should be using
4336 the skylark ios framework rule.
4337 https://github.com/bazelbuild/rules_apple has details.
4338 - Clean command no longer uses boolean values for --async,
4339 --expunge, and --expunge_async options.
4340 - Partially fixes external J2ObjC support.
4341 - '--aspects' can occur more than once on the command line.
4342 - --no_ prefix no longer recognized.
4343 - Use action_config in crosstool for static library archiving,
4344 remove ar_flag.
4345 - Added a new flag --sandbox_writable_path, which asks the sandbox
4346 to
4347 make an existing directory writable when running actions.
4348 - bazel test now also computes a default instrumentation filter if
4349 --collect_code_coverage is enabled
4350 - n/na
4351 - In .bzl files, top-level `if` statements are deprecated and will
4352 be forbidden
4353 in the future. Move them in a function body instead (or use a
4354 conditional
4355 expression instead: `x if condition else y`).
4356 - ios_device and ios_test are deprecated. Please use the new testing
4357 rules in https://github.com/bazelbuild/rules_apple instead.
4358 - bazel query --output package now displays packages from external
4359 repository with the format "@reponame//package". Packages in the
4360 main repository continue to have the format "package".
4361 - ctx.expand_make_variables is deprecated.
4362 - Bazel posts links to the CAS to the BEP if remote caching /
4363 execution is enabled
4364 - `bazel info execution_root` returns the corrrect directory name
4365 for the execution root.
4366
Bazel Release System63222de2017-06-06 11:32:04 +02004367## Release 0.5.1 (2017-06-06)
4368
4369```
4370Baseline: f3ae88ee043846e7acdffd645137075a4e72c573
4371
4372Cherry picks:
4373 + c58ba098526b748f9c73e6229cafd74748205aa1:
4374 Release to GCS: put the final release in its own directory
4375 + 0acead4ea3631240659836ce6ecd6d7f67fd352b:
4376 Update protobuf to latest master at a64497c and apply
4377 @laszlocsomor's latest changes from
4378 https://github.com/google/protobuf/pull/2969 on top of it.
4379 + d0242ce4a87929f2528f4602d0fb09d1ccfcea94:
4380 Make symlinks consistent
4381 + d953ca8b87a46decbce385cebb446ae0dd390881:
4382 Clean VanillaJavaBuilder output directories
4383 + 755669fb5de1f4e762f27c19776cac9f410fcb94:
4384 Pass all the environment variable to Bazel during bootstrapping
4385 + 6f041661ca159903691fcb443d86dc7b6454253d:
4386 Do not mark the JDK7 installer -without-jdk-installer
4387 + 720561113bfa702acfc2ca24ce3cc3fd7ee9c115:
4388 Fix #2958: Installer should not overwrite bazelrc
4389 + 511c35b46cead500d4e76706e0a709e50995ceba:
4390 Bootstrap: move the fail function to the top
4391 + 8470be1122825aae8ad0903dd1e1e2a90cce47d2:
4392 Clean up javac and Error Prone targets
4393 + 4a404de2c6c38735167e17ab41be45ef6fc4713a:
4394 Update javac version to 9-dev-r4023-2
4395 + 36ce4b433e19498a78c34540d5a166d4e0006b22:
4396 Update javac version to 9-dev-r4023-2
4397 + 38949b8526bdb3e6db22f3846aac87162c28c33f:
4398 Migrate off versioned javac and Error Prone targets
4399 + 1a57d298f8aa6ea8136d93223902104f2479cd2a:
4400 Re-enabling passing -sourcepath via javacopts.
4401 + eb565f408e03125e92d42b00756e519795be6593:
4402 Make make sure that msys build actually builds msys version
4403 + 39f328cf392056618d1a3ead4835a138b189a06d:
4404 Fix typo. Also do not override host_cpu for msvc.
4405 + 624802893f4fe72118f00a78452605d41a2e1c6f:
4406 Select correct JDK for windows_msys
4407 + c4f271d1a68366b6fa5ff38ea7d951b6a22af044:
4408 Automated g4 rollback of commit
4409 3e5edafa2a04a71cd3596e929e83222da725f3f9.
4410 + 926180997a0f296a5a009326aead887279ce0a90:
4411 Remove process-tools.cc which I forgot to delete during the last
4412 rollback.
4413 + baca6e4cb023649920871b74810927d304729e59:
4414 Fix #2982: Bazel installer should not check for installed JDK if
4415 using a bundled JDK.
4416 + 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842:
4417 Disable msys path conversion on Windows.
4418 + cc21998c299b4d1f97df37b961552ff8168da17f:
4419 Rollforward #2 of: Basic open-source crosstool to support
4420 targeting apple platform types.
4421 + 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f:
4422 Escape % in strings that will appear in Crosstool
4423 + 3b08f774e7938928e3a240a47a0a7554cdc8d50b:
4424 Adding feature for linking C Run-Time library on Windows
4425 + 3566474202d1978acfdcb7e5ff73ee03ea6f3df9:
4426 Do not use sed -E in bootstrap/compile.sh
4427 + c3cf7d917afd02d71de3800cd46ad8d14f1ddf55:
4428 Reverts non-xcode-available darwin crosstool generation.
4429```
4430
4431Important changes:
4432
4433 - Fixes regression in 0.5.0 requiring Xcode to build C++ on OSX.
4434
Bazel Release Systema3e26832017-05-26 14:11:07 +02004435## Release 0.5.0 (2017-05-26)
4436
4437```
4438Baseline: f3ae88ee043846e7acdffd645137075a4e72c573
4439
4440Cherry picks:
4441 + c58ba098526b748f9c73e6229cafd74748205aa1:
4442 Release to GCS: put the final release in its own directory
4443 + 0acead4ea3631240659836ce6ecd6d7f67fd352b:
4444 Update protobuf to latest master at a64497c and apply
4445 @laszlocsomor's latest changes from
4446 https://github.com/google/protobuf/pull/2969 on top of it.
4447 + d0242ce4a87929f2528f4602d0fb09d1ccfcea94:
4448 Make symlinks consistent
4449 + d953ca8b87a46decbce385cebb446ae0dd390881:
4450 Clean VanillaJavaBuilder output directories
4451 + 755669fb5de1f4e762f27c19776cac9f410fcb94:
4452 Pass all the environment variable to Bazel during bootstrapping
4453 + 6f041661ca159903691fcb443d86dc7b6454253d:
4454 Do not mark the JDK7 installer -without-jdk-installer
4455 + 720561113bfa702acfc2ca24ce3cc3fd7ee9c115:
4456 Fix #2958: Installer should not overwrite bazelrc
4457 + 511c35b46cead500d4e76706e0a709e50995ceba:
4458 Bootstrap: move the fail function to the top
4459 + 8470be1122825aae8ad0903dd1e1e2a90cce47d2:
4460 Clean up javac and Error Prone targets
4461 + 4a404de2c6c38735167e17ab41be45ef6fc4713a:
4462 Update javac version to 9-dev-r4023-2
4463 + 36ce4b433e19498a78c34540d5a166d4e0006b22:
4464 Update javac version to 9-dev-r4023-2
4465 + 38949b8526bdb3e6db22f3846aac87162c28c33f:
4466 Migrate off versioned javac and Error Prone targets
4467 + 1a57d298f8aa6ea8136d93223902104f2479cd2a:
4468 Re-enabling passing -sourcepath via javacopts.
4469 + eb565f408e03125e92d42b00756e519795be6593:
4470 Make make sure that msys build actually builds msys version
4471 + 39f328cf392056618d1a3ead4835a138b189a06d:
4472 Fix typo. Also do not override host_cpu for msvc.
4473 + 624802893f4fe72118f00a78452605d41a2e1c6f:
4474 Select correct JDK for windows_msys
4475 + c4f271d1a68366b6fa5ff38ea7d951b6a22af044:
4476 Automated g4 rollback of commit
4477 3e5edafa2a04a71cd3596e929e83222da725f3f9.
4478 + 926180997a0f296a5a009326aead887279ce0a90:
4479 Remove process-tools.cc which I forgot to delete during the last
4480 rollback.
4481 + baca6e4cb023649920871b74810927d304729e59:
4482 Fix #2982: Bazel installer should not check for installed JDK if
4483 using a bundled JDK.
4484 + 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842:
4485 Disable msys path conversion on Windows.
4486 + cc21998c299b4d1f97df37b961552ff8168da17f:
4487 Rollforward #2 of: Basic open-source crosstool to support
4488 targeting apple platform types.
4489 + 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f:
4490 Escape % in strings that will appear in Crosstool
4491 + 3b08f774e7938928e3a240a47a0a7554cdc8d50b:
4492 Adding feature for linking C Run-Time library on Windows
4493```
4494
4495Incompatible changes:
4496
4497 - Bazel's Linux sandbox no longer mounts an empty tmpfs on /tmp,
4498 instead the existing /tmp is mounted read-write. If you prefer
4499 to have a tmpfs on /tmp for sandboxed actions for increased
4500 hermeticity, please use the flag --sandbox_tmpfs_path=/tmp.
4501 - Converting artifacts to strings and printing them now return
4502 "File" instead of "Artifact" to be consistent with the type name.
4503 - The return type of depset.to_list() is now a list rather than a
4504 frozen list. (Modifying the list has no effect on the depset.)
4505 - Bazel now prints logs in single lines to java.log
4506 - --use_dash, --dash_url and --dash_secret are removed.
4507 - Remote repositories must define any remote repositories they
4508 themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
4509 defined
4510 in @x's WORKSPACE file).
4511 - Remote repositories must define any remote repositories they
4512 themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
4513 defined
4514 in @x's WORKSPACE file).
4515 - objc_xcodeproj has been removed, use tulsi.bazel.build instead.
4516
4517New features:
4518
4519 - If grte_top is a label, it can now follow non-configurable
4520 redirects.
4521 - Optional coverage_files attribute to cc_toolchain
4522 - "query --output=build" now includes select()s
4523 - Raw LLVM profiles are now supported.
4524
4525Important changes:
4526
4527 - Automatically generate Proguard mapping when resource shrinking
4528 and Proguard are enabled.
4529 - New rules in Bazel: proto_library, java_lite_proto_library,
4530 java_proto_library and cc_proto_library
4531 - Activate the "dead_strip" feature if objc binary stripping is
4532 enabled.
4533 - More stable naming scheme for lambda classes in desugared android
4534 code
4535 - Convert --use_action_cache to a regular option
4536 - Per-architecture dSYM binaries are now propagated by
4537 apple_binary's AppleDebugOutputsProvider.
4538 - Avoid factory methods when desugaring stateless lambdas for
4539 Android
4540 - desugar calls to Objects.requireNonNull(Object o) with
4541 o.getClass() for android
4542 - Add an --copy_bridges_from_classpath argument to android
4543 desugaring tool
4544 - Change how desugar finds desugared classes to have it working on
4545 Windows
4546 - Evaluation of commands on TargetsBelowDirectory patterns
4547 (e.g. //foo/...) matching packages that fail to load now report
4548 more
4549 detailed error messages in keep_going mode.
4550 - Allow to have several inputs and outputs
4551 - Repository context's execute() function can print stdout/stderr
4552 while running. To enable, pass quiet=False.
4553 - Bazel can now be built with a bundled version of the OpenJDK.
4554 This makes it possible to use Bazel on systems without a JDK, or
4555 where
4556 the installed JDK is too old.
4557 - The --jobs flag now defaults to "auto", which causes Bazel to
4558 use a reasonable degree of parallelism based on the local
4559 machine's
4560 capacity.
4561 - Bazel benchmark (perf.bazel.build) supports Java and Cpp targets.
4562 - no factory methods generated for lambda expressions on android
4563 - The Linux sandbox no longer changes the user to 'nobody' by
4564 default, instead the current user is used as is. The old behavior
4565 can be
4566 restored via the --sandbox_fake_username flag.
4567 - /tmp and /dev/shm are now writable by default inside the
4568 Linux sandbox.
4569 - Bazel can now use the process-wrapper + symlink tree based
4570 sandbox implementation in FreeBSD.
4571 - turn on --experimental_incremental_dexing_error_on_missed_jars by
4572 default.
4573 - All android_binarys are now signed with both Apk Signature V1 and
4574 V2. See https://source.android.com/security/apksigning/v2.html
4575 for more details.
4576 - Windows MSVC wrappers: Not filtering warning messages anymore,
4577 use --copt=-w and --host_copt=-w to suppress them.
4578 - A downloader bug was fixed that prevented RFC 7233 Range
4579 connection resumes from working with certain HTTP servers
4580 - Introduces experimental android_device rule for configuring and
4581 launching Android emulators.
4582 - For boolean flags, setting them to false using --no_<flag_name>
4583 is deprecated. Use --no<flag_name> without the underscore, or
4584 --<flag_name>=false instead.
4585 - Add --experimental_android_compress_java_resources flag to store
4586 java
4587 resources as compressed inside the APK.
4588 - Removed --experimental_use_jack_for_dexing and libname.jack
4589 output of
4590 android_library.
4591 - blaze canonicalize-flags now takes a --show_warnings flag
4592 - Changing --invocation_policy will no longer force a server
4593 restart.
4594 - Bazel now supports Android NDK14.
4595 - android_binary multidex should now work without additional flags.
4596 - Use action_config in crosstool for static library archiving,
4597 remove ar_flag.
4598 - new option for bazel canonicalize-flags, --canonicalize_policy
4599 - Use action_config in crosstool for static library archiving,
4600 remove ar_flag.
4601 - android_library exports_manifest now defaults to True.
4602 - Fix select condition intersections.
4603 - Adds a --override_repository option that takes a repository
4604 name and path. This forces Bazel to use the directory at that path
4605 for the repository. Example usage:
4606 `--override_repository=foo=/home/user/gitroot/foo`.
4607 - fix idempotency issue with desugaring lambdas in interface
4608 initializers for android
4609 - --experimental_android_use_singlejar_for_multidex is now a no-op
4610 and will eventually be removed.
4611 - Every local_repository now requires a WORKSPACE file.
4612 - Remove jack and jill attributes of the android_sdk rule.
4613 - Add Skylark stubs needed to remove sysroot from CppConfiguration.
4614 - Desugar try-with-resources so that this language feature is
4615 available
4616 to deveces with API level under 19.
4617 - The flag --worker_max_retries was removed. The
4618 WorkerSpawnStrategy no longer retries execution of failed Spawns,
4619 the reason being that this just masks compiler bugs and isn't
4620 done for any other execution strategy either.
4621 - Bazel will no longer gracefully restart workers that crashed /
4622 quit, instead this triggers a build failure.
4623 - All java resources are now compressed in android_binary APKs by
4624 default.
4625 - All java resources are now compressed in android_binary APKs by
4626 default.
4627 - android_ndk_repository now creates a cc_library
4628 (@androidndk//:cpufeatures) for the cpufeatures library that is
4629 bundled in the Android NDK. See
4630 https://developer.android.com/ndk/guides/cpu-features.html for
4631 more details.
4632 - 'output_groups' and 'instrumented_files' cannot be specified in
4633 DefaultInfo.
4634 - You can increase the CPU reservation for tests by adding a
4635 "cpu:<n>" (e.g. "cpu:4" for four cores) tag to their rule in a
4636 BUILD file. This can be used if tests would otherwise overwhelm
4637 your system if there's too much parallelism.
4638 - Deprecate use_singlejar_for_proguard_libraryjars and force
4639 behavior to always on.
4640
Bazel Release System8d635fc2017-03-16 13:18:30 +01004641## Release 0.4.5 (2017-03-16)
4642
4643```
4644Baseline: 2e689c29d5fc8a747216563235e905b1b62d63b0
4645
4646Cherry picks:
4647 + a28b54033227d930672ec7f2714de52e5e0a67eb:
4648 Fix Cpp action caching
4649 + 6d1d424b4c0da724e20e14235de8012f05c470f8:
4650 Fix paths of binaries in .deb packages.
4651 + 0785cbb672357d950e0c045770c4567df9fbdc43:
4652 Update to guava 21.0 and Error Prone version 2.0.18-20160224
4653 + 30490512eb0e48a3774cc4e4ef78680e77dd4e47:
4654 Update to latest javac and Error Prone
4655 + 867d16eab3bfabae070567ecd878c291978ff338:
4656 Allow ' ', '(', ')' and '$' in labels
4657 + 7b295d34f3a4f42c13aafc1cc8afba3cb4aa2985:
4658 Pass through -sourcepath to the JavaBuilder
4659 + 14e4755ce554cdfc685fc9cc2bfb5b699a3b48f4:
4660 PathFragment comparisons are now platform-aware
4661 + ed7795234ca7ccd2567007f2c502f853cd947e50:
4662 Flag to import external repositories in python import path
4663 + 81ae08bbc13f5f4a04f18caae339ca77ae2699c1:
4664 Suppress error for non-exhaustive switches
4665 + e8d1177eef9a9798d2b971630b8cea59471eec33:
4666 Correctly returns null if an environment variables is missing
4667 + 869d52f145c077e3499b88df752cebc60af51d66:
4668 Fix NPE in Android{S,N}dkRepositoryFunction.
4669 + d72bc57b60b26245e64f5ccafe023a5ede81cc7f:
4670 Select the good guava jars for JDK7 build
4671 + 92ecbaeaf6fa11dff161254df38d743d48be8c61:
4672 Windows: Assist JNI builds with a target for jni_md.h.
4673 + 36958806f2cd38dc51e64cd7bcc557bd143bbdb6:
4674 Add java_common.create_provider to allow creating a
4675 java_common.provider
4676 + 8c00f398d7be863c4f502bde3f5d282b1e18f504:
4677 Improve handling of unknown NDK revisions in
4678 android_ndk_repository.
4679 + b6ea0d33d3ab72922c8fb3ec1ff0e437af09584d:
4680 Add the appropriate cxx_builtin_include_directory entries for
4681 clang to the Android NDK crosstool created by
4682 android_ndk_repository.
4683```
4684
4685Incompatible changes:
4686
4687 - Depsets (former sets) are converted to strings as "depset(...)"
4688 instead of
4689 "set(...)".
4690 - Using --symlink_prefix is now applied to the output
4691 symlink (e.g. bazel-out) and the exec root symlink (e.g.
4692 bazel-workspace).
4693 - Bazel now uses the test's PATH for commands specified as
4694 --run_under; this can affect users who explicitly set PATH to
4695 a more
4696 restrictive value than the default, which is to forward the
4697 local PATH
4698 - It's not allowed anymore to compare objects of different types
4699 (i.e. a string to an integer) and objects for which comparison
4700 rules are not
4701 defined (i.e. a dict to another dict) using order operators.
4702
4703New features:
4704
4705 - environ parameter to the repository_rule function let
4706 defines a list of environment variables for which a change of
4707 value
4708 will trigger a repository refetching.
4709
4710Important changes:
4711
4712 - android_ndk_repository now supports Android NDK R13.
4713 - Android resource shrinking is now available for android_binary
4714 rules. To enable, set the attribute 'shrink_resources = 1'. See
4715 https://bazel.build/versions/master/docs/be/android.html#android_b
4716 inary.shrink_resources.
4717 - resolve_command/action's input_manifest return/parameter is now
4718 list
4719 - For increased compatibility with environments where UTS
4720 namespaces are not available, the Linux sandbox no longer hides
4721 the hostname of the local machine by default. Use
4722 --sandbox_fake_hostname to re-enable this feature.
4723 - proto_library: alias libraries produce empty files for descriptor
4724 sets.
4725 - Adds pkg_rpm rule for generating RPM packages.
4726 - Allow CROSSTOOL files to have linker flags specific to static
4727 shared libraries.
4728 - Make it mandatory for Java test suites in bazel codebase, to
4729 contain at least one test.
4730 - Support for Java 8 lambdas, method references, type annotations
4731 and repeated annotations in Android builds with
4732 --experimental_desugar_for_android.
4733 - Removed .xcodeproj automatic output from objc rules. It can still
4734 be generated by requesting it explicitly on the command line.
4735 - Flips --explicit_jre_deps flag on by default.
4736 - Activate the "dbg", "fastbuild", and "opt" features in the objc
4737 CROSSTOOL.
4738 - Remove support for configuring JDKs with filegroups; use
4739 java_runtime and java_runtime_suite instead
4740 - android_ndk_repository api_level attribute is now optional. If not
4741 specified, the highest api level in the ndk/platforms directory
4742 is used.
4743
Bazel Release System6712cac2017-02-01 19:53:37 +01004744## Release 0.4.4 (2017-02-01)
4745
4746```
4747Baseline: 4bf8cc30a
4748
4749Cherry picks:
4750 + ef1c6fd33: msvc_tools.py.tpl: Change default runtime library to
4751 static
4752```
4753
4754Incompatible changes:
4755
4756 - Only targets with public visibility can be bound to something in
4757 //external: .
4758 - The deprecated -x startup option has been removed.
4759 - docker_build: change the repository names embedded by
4760 docker_build. You can revert to the old behavior by setting
4761 legacy_repository_naming=True.
4762 - The string methods strip(), lstrip(), and rstrip() now
4763 by default remove the same whitespace characters as Python 3
4764 does, and accept
4765 None as an argument.
4766 - Deprecated globals HOST_CFG and DATA_CFG are removed. Use strings
4767 "host" and "data" instead.
4768 - repository_ctx environment is now affected by --action_env flag
4769 (value from the
4770 client environment will be replaced by value given on the command
4771 line through --action_env).
4772 - All executable labels must also have a cfg parameter specified.
4773 - Removed the cmd_helper.template function.
4774 The function was equivalent to:
4775 def template(items, template):
4776 return [template.format(path = i.path, short_path =
4777 i.short_path)
4778 for i in items]
4779 - Tuples that end with a trailing comma must now be inside parens,
4780 e.g. (1,) instead of 1,
4781 - The traversal orders for depsets have been renamed. The old names
4782 are deprecated and will be removed in the future. New names:
4783 "stable" -> "default", "compile" -> "postorder", "link" ->
4784 "topological", "naive_link" -> "preorder".
4785
4786New features:
4787
4788 - Skylark: you can now multiply a list by an integer to get the
4789 concatenation of N copies of this list, e.g. [a,b] * 3 =
4790 [a,b,a,b,a,b]
4791 - Allow Android aidl tool to add a jar to the program's classpath,
4792 such as if needed to support generated sources.
4793 - Add transitive proguard_specs when android_sdk.aidl_lib is
4794 specified
4795 - Windows: "/dev/null" is now a supported path, e.g.
4796 --bazelrc=/dev/null now works
4797
4798Important changes:
4799
4800 - Bazel Android builds use the apksigner tool from the Android SDK
4801 build-tools. Bazel Android builds now require build-tools version
4802 24.0.3 or
4803 later.
4804 - Android SDK external bindings for support libraries, e.g.
4805 //external:android/appcompat_v4, are removed because the support
4806 library JARs that they referenced no longer ship with the Android
4807 SDK.
4808 - aar_import rule is now documented.
4809 - An IE bug was fixed in repository_ctx.download_and_extract
4810 - Update "-I" to "-isystem" in documentation to reflect current
4811 behavior.
4812 - android_sdk_repository build_tools_version is now optional. The
4813 highest installed build-tools will be used if none is specified.
4814 - New flag --sandbox_add_mount_pair to specify customized
4815 source:target path pairs to bind mount inside the sandbox.
4816 - expose proto_library descriptor set to skylark via
4817 <dep>.proto.descriptor_set
4818 - The `set` constructor is deprecated in favor of `depset`
4819 - Autodetect gold linker in cc_configure.bzl
4820 - Remove build flag --experimental_j2objc_annotation_processing. It
4821 is on by default now.
4822 - Set clang's -mwatchos-version-min correctly using the value of
4823 --watchos_minimum_os, not --watchos_sdk_version.
4824 - singlejar can now create jar files larger than 4GB.
4825 - android_sdk_repository and android_ndk_repository now read
4826 $ANDROID_HOME and $ANDROID_NDK_HOME if the path attribute is not
4827 set.
4828 - Removed broken api levels 3, 4 and 5 from Android NDK 12.
4829 - Default --android_dynamic_mode to off.
4830 - android_sdk_repository no longer requires api_level. If one is
4831 not specified, the highest android platform installed will be
4832 used. Furthermore, android_sdk's are created for all android
4833 platforms installed and can be specified with the --android_sdk
4834 flag.
4835 - To iterate over or test for membership in a set, prefer using the
4836 new to_list() method. E.g., "for x in myset.to_list():", or
4837 "print(x in myset.to_list())". Iteration/membership-test on the
4838 raw set itself is deprecated.
4839 - Remove support for --javawarn; use e.g. --javacopt=-Xlint:all
4840 instead
4841
Bazel Release Systemd3b23642016-12-22 13:30:47 +01004842## Release 0.4.3 (2016-12-22)
Bazel Release System80865ff2016-11-30 13:18:54 +01004843
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +01004844```
Bazel Release Systemd3b23642016-12-22 13:30:47 +01004845Baseline: c645a45
Bazel Release System80865ff2016-11-30 13:18:54 +01004846
4847Cherry picks:
Bazel Release Systemd3b23642016-12-22 13:30:47 +01004848 + af878d0: Add coverage support for java test. (series 4/4 of
4849 open-sourcing coverage command for java test)
4850 + 09b92a8: Rollback of commit
4851 67b4d5250edcefa7220e928e529b1f385e2dc464.
4852 + b11dd48: Fix bad bug with the parallel implementation of
4853 BinaryOperatorExpression. Turns out that
4854 ForkJoinTask#adapt(Callable) returns a ForkJoinTask
4855 whose Future#get on error throws a ExecutionException
4856 wrapping a RuntimeException wrapping the thrown checked
4857 exception from the callable. This is documented
4858 behavior [1] that I incorrectly didn't know about.
4859 + 9012bf1: Fix scripts/packages/convert_changelog to read the
4860 changelog correctly
4861 + 55c97bc: Release script: if master branch does not exist, fall
4862 back on origin/master
4863 + 4fb378c: Debian repository: override section and priority fields
4864 + acbcbc2: Fix release notes in emails
4865 + 4975760: Fix PathFragment to not use Java8-only static hashCode
4866 methods.
4867 + 05fd076: Disable sandboxing for XibCompile actions.
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +01004868```
Bazel Release System80865ff2016-11-30 13:18:54 +01004869
4870Incompatible changes:
4871
Bazel Release Systemd3b23642016-12-22 13:30:47 +01004872 - Skylark maven_jar and maven_aar settings attribute is now a label
4873 so it can be checked into your workspace.
4874 - --{no}experimental_use_rclass_generator is now a nop.
4875
4876New features:
4877
4878 - Coverage support (*experimental*) for pure Java target.
4879 Use `bazel coverage //my:target` to generate coverage information
4880 from a `java_test`.
Bazel Release System80865ff2016-11-30 13:18:54 +01004881
4882Important changes:
4883
Bazel Release Systemd3b23642016-12-22 13:30:47 +01004884 - Enable fallback URLs in Skylark http rules.
4885 - cc_proto_library generates C++ code from proto_library rules.
4886 - cc_library now supports the strip_prefix and strip_include_prefix
4887 attributes for control of include paths.
4888 - Skylark dicts internally don't rely on keys order anymore and
4889 accept any hashable values (i.e. structs with immutable values)
4890 as keys. Iteration order of dictionaries is no longer specified.
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +01004891
4892## Release 0.4.2 (2016-12-02)
4893
4894```
4895Baseline: 6331a94
4896
4897Cherry picks:
4898 + 7b835d9: Do not patch WORKSPACE in the release process
4899```
4900
4901Incompatible changes:
4902
4903 - Callback functions in Skylark no longer support the cfg
4904 parameter. This is a cleanup and only affects the signatures of
4905 callbacks, since the parameter hasn't been set since September
4906 2016.
4907
4908Important changes:
4909
4910 - Alias proto_library's produce a descriptor set that contains all
4911 srcs of its dependencies.
4912 - proto_library supports strict proto deps.
4913 - Top level @androidsdk support library targets have been replaced
4914 by @androidsdk//<group id>:<artifact id>-<version> for Android
4915 SDK Support and Google Play Services libraries.
4916
Bazel Release System15402a92016-11-30 10:12:30 +01004917## Release 0.4.1 (2016-11-21)
4918
4919```
4920Baseline: 9a796de
4921
4922Cherry picks:
4923 + 88bfe85: Description redacted. -- MOS_MIGRATED_REVID=139219934
4924 + b09ea94: Rollback of commit
4925 a3f5f576cd35798140ba3e81d03d919dd4ecb847.
4926```
4927
4928New features:
4929
4930 - android_library now has a "exported_plugins" attribute just like
4931 java_library
4932 - Use --strict_system_includes to apply hdrs_check=strict also to
4933 cc_library.includes, even if sandboxing is disabled.
4934 - Bazel on Windows: java_binary can now be the executable of
4935 Skylark rule actions (ctx.action's executable argument)
4936 - Packages are defined in BUILD.bazel as well as BUILD files.
4937
4938Important changes:
4939
4940 - getattr()'s 3-arg form no longer raises an error when the
4941 retrieved field is a built-in method.
4942 - --apk_signing_method default changed to v1. Android APKs are now
4943 signed with the new ApkSignerTool by default.
4944 - New rule: proto_lang_toolchain(), to support LANG_proto_library
4945 rules on multiple platforms.
4946 - Fix for Android clang++ std::stack segfault on 32bit x86. See
4947 https://code.google.com/p/android/issues/detail?id=220159
4948 - Default android_manifest_merger is now "android" which uses the
4949 official Android manifest merger.
4950 http://tools.android.com/tech-docs/new-build-system/user-guide/man
4951 ifest-merger
4952 - Do not propagate aspect to its own attributes when using '*'.
4953 - Comparing sets (`if set1 < set2:`) is not allowed anymore in
4954 Skylark because it didn't work correctly anyway.
4955 - When --experimental_extra_action_top_level_only, Bazel reports
4956 extra-actions for actions registered by Aspects injected by a
4957 top-level rule (approximately).
4958 - Blacklists for proto_lang_toolchain() no longer have to be
4959 proto_library's.
4960 - Extra actions now contain aspect-related information.
4961 - Fix slicing bug where "abc"[:-4:-1] would give wrong answer
4962
Bazel Release Systemd0761e62016-11-02 13:36:35 -04004963## Release 0.4.0 (2016-10-26)
4964
4965```
4966Baseline: 088bbc6
4967
4968Cherry picks:
4969 + b01160c: Stamp Windows release.
4970 + 2d6736e: Add --no-tty for gpg signing
4971 + 9b1dfb8: Remove .sig file before gpg signing
4972 + 81aede1: Reimplement whole archive on Windows
4973```
4974
4975Incompatible changes:
4976
4977 - Skylark: updating list/dicts while they are being looped over is not
4978 allowed. Use an explicit copy if needed ("for x in list(mylist):").
4979 - Bazel now uses the --cpu flag to look up Jvms; it falls back
4980 to "default" if it can't find a Jvm matching the CPU value.
4981 - --command_port=-1 to use AF_UNIX for client/server communications
4982 is not supported anymore.
4983 - Sandboxed actions can access the network by default, unless their
4984 target has a "block-network" tag.
4985
4986New features:
4987
4988 - Files now have an "extension" property in Skylark.
4989
4990Important changes:
4991
4992 - Added a new flag --sandbox_tmpfs_path, which asks the sandbox to
4993 mount an empty, writable directory at a specified path when
4994 running actions. (Supported on Linux only for now.)
4995 - Update protoc-3.0.0-mingw.exe to a working (statically linked)
4996 binary
4997 - apple_static_library rule to create multi-architecture static
4998 archive files from Objc/C++/Swift dependencies on apple platforms
4999 - JS: Add support for localization with closure managed rules.
5000 - Create a flag --android_dynamic_mode to turn off dynamic mode
5001 during the Android split transition.
5002 - Darwin sandboxing is default.
5003 - Remove flag --experimental_zip_tree_artifact from j2objc Java
5004 annotation processing support.
5005 - A few functions are added to BUILD files for consistency (hash,
5006 dir,
5007 hasattr, getattr) with .bzl files, although they are not very
5008 useful.
5009 - --watchfs is now a command option; the startup option of the same
5010 name is deprecated. I.e., use bazel build --watchfs, not
5011 blaze --watchfs
5012 build.
5013
Bazel Release System33579a42016-10-07 13:05:11 -04005014## Release 0.3.2 (2016-10-07)
5015
5016```
5017Baseline: 023a7bd
5018
5019Cherry picks:
5020 + bebbbe5: Fix dependency on libtool's helper script
5021 make_hashed_objlist.py.
5022 + 8a0d45f: Add the version information to the bazel.exe file
5023 + 2bc0939: Allow new_ rules to overwrited BUILD files in
5024 downloaded repos
5025 + c5545fd: Rollback of commit
5026 96d46280bc5a4803ba2242a4ad16939f85a3b212.
5027 + eb87208: Make cc_configure on Windows more robust
5028 + c30432c: Fix cc_configure on Windows
5029 + 95b16a8: sandbox: Replace the error-prone lazy cleanup of
5030 sandbox directories by a simple synchronous cleanup.
5031 + e898023: Fix #1849: Sandboxing on OS X should be turned off by
5032 default for 0.3.2.
5033 + ffdc05d: Add action_config and feature for linking on Windows
5034```
5035
5036Incompatible changes:
5037
5038 - If you maintain a rule that uses persistent workers, you'll have
5039 to specify execution_requirements={"supports-workers": 1} in the
5040 ctx.action that intends to run a tool with workers. The
5041 WorkerSpawnStrategy will alert you with a warning message if you
5042 forget to make this change and fallback to non-worker based
5043 execution.
5044 - It is now an error to include a precompiled library (.a, .lo, .so)
5045 in a cc_library which would generate a library with the same name
5046 (e.g., libfoo.so in cc_library foo) if that library also contains
5047 other linkable
5048 sources.
5049 - The main repository's execution root is under the main
5050 repository's workspace name, not the source directory's basename.
5051 This shouldn't
5052 have any effect on most builds, but it's possible it could break
5053 someone doing
5054 weird things with paths in actions.
5055 - Blaze doesn't support Unix domain sockets for communication
5056 between its client and server anymore. Therefore, the
5057 --command_port command line argument doesn't accept -1 as a valid
5058 value anymore.
5059 - Skylark: It is an error to shadow a global variable with a local
5060 variable after the global has already been accessed in the
5061 function.
5062 - bin_dir and genfiles_dir are now properties of ctx, not
5063 configuration. That is, to access the bin or genfiles directory
5064 from a
5065 Skylark rule, use ctx.bin_dir or ctx.genfiles_dir (not
5066 ctx.configuration.{bin,genfiles}_dir). At the moment, you can
5067 access
5068 {bin,genfiles}_dir from either, but the ctx.configuration version
5069 will
5070 stop working in a future release.
5071 - filegroup-based C++ toolchains are not supported anymore.
5072 --*_crosstool_top options must always point to a
5073 cc_toolchain_suite rule (or an alias of one).
5074 - repository_ctx.{download,download_and_extract,execute} API now use
5075 named parameters for optional parameters and no
5076 longer uses argument
5077 type to distinguished between arguments
5078 (executable attribute name
5079 must be specified when preceding optional
5080 arguments are missing).
5081
5082New features:
5083
5084 - print and fail are now available in BUILD files.
5085
5086Important changes:
5087
5088 - Added @bazel_tools//tools/build_defs/repo/git.bzl as a Skylark
5089 rule for Git repositories.
5090 - Added @bazel_tools//tools/build_defs/repo/maven_rules.bzl as a
5091 Skylark rule for Maven repositories.
5092 - Add global hash() function for strings (only)
5093 - Improve Android split transition handling.
5094 - Removes exports_manifest attribute from android_binary rule.
5095 - java_proto_library: control strict-deps through a rule-level and
5096 a package-level attribute.
5097 - Persistent workers are now used by default for Java compilation
5098 in Bazel, which should speed up your Java builds by ~4x. You can
5099 switch back to the old behavior via --strategy=Javac=standalone.
5100 Check out http://www.bazel.io/blog/2015/12/10/java-workers.html
5101 for more details.
5102 - objc_* rules can now depend on any target that returns an "objc"
5103 provider.
5104 - Adds support for NDK12 to `android_ndk_repository` rule in Bazel.
5105 - Test targets can disable the JUnit4 test security manager via a
5106 property.
5107 - Disable the Android split transition if --android_cpu and
5108 fat_apk_cpu are both empty.
5109 - New sandboxing implementation for Linux in which all actions run
5110 in a separate execroot that contains input files as symlinks back
5111 to the originals in the workspace. The running action now has
5112 read-write access to its execroot and /tmp only and can no longer
5113 write in arbitrary other places in the file system.
5114 - Add worker support to single jar.
5115 - Invoke source jar action as a worker.
5116 - Sandboxed builds allow network access for builds by default.
5117 Tests will still be run without networking, unless
5118 "requires-network" is specified as a tag.
5119 - Add path.realpath() method for Skylark repositories.
5120 - On Mac devices, detect locally installed versions of xcode to:
5121 1. Use a sensible default if xcode is required but
5122 --xcode_version is unspecified.
5123 2. Use sensible default iOS SDK version for the targeted version
5124 of xcode if ios_sdk_version is unspecified.
5125 - Emacs' [C-x `], a.k.a. next-error, works again in emacsen >= 25.1
5126 - swift_library can be used to build watchOS apps.
5127 - Exposes the is_device field on Apple platform objects and adds
5128 the apple_common.platform_type(name) method to retrieve a
5129 platform_type value that can be passed to methods like the Apple
5130 fragment's multi_arch_platform.
5131 - Move Skylark git_repository rules to git.bzl
5132 - Add support for aspects to attr.label() attributes
5133 - Global varaiables HOST_CFG and DATA_CFG are deprecated in favor
5134 of strings "host"
5135 and "data.
5136 Argument `cfg = "host"` or `cfg = "data"` is mandatory if
5137 `executable = True` is provided for a label.
5138 - The deprecation attribute of all rules now causes warnings
5139 to be printed when other targets depend on a target with that
5140 attribute set.
5141 - Change default of --[no]instrument_test_targets to false, change
5142 default --instrumentation_filter (which previously tried to
5143 exclude test targets by heuristic) to only exclude targets in
5144 javatests.
5145 - Remove deprecated absolute paths in blaze IDE artifacts
5146 - When using android_binary.manifest_merger="android" the merger
5147 produces a summary log next to the merged manifest artifact.
5148 - Allow different default mallocs per configuration.
5149
Bazel Release System70c772b2016-07-29 10:28:13 +02005150## Release 0.3.1 (2016-07-29)
5151
5152```
5153Baseline: 792a9d6
5154
5155Cherry picks:
5156 + 25e5995: Rollback of commit
5157 a2770334ea3f3111026eb3e1368586921468710c.
5158 + 2479405: Fix NPE with unset maven_jar sha1
5159 + 3cf2126: Rewrite the extra action info files if the data within
5160 them changes.
5161 + 5a9c6b4: JavaBuilder: Reintroduce the -extra_checks flag.
5162```
5163
5164Incompatible changes:
5165
5166 - Removed predefined Python variable "generic_cpu".
5167 - Skylark rules: if you set "outputs" or an attribute to a
5168 function, this function must now list its required attributes as
5169 parameters (instead of an attribute map).
5170 - The host_platform and target_platform entries are not written to
5171 the master log anymore.
5172 - Bazel requires Hazelcast 3.6 or higher now for remote execution
5173 support, because we upgraded our client library and the protocol
5174 it uses is incompatible with older versions.
5175
5176New features:
5177
5178 - LIPO context (--lipo_context) can now also be a cc_test (in
5179 addition to cc_binary)
5180
5181Important changes:
5182
5183 - If --android_crosstool_top is set, native code compiled for
5184 android will always use --android_compiler and not --compiler in
5185 choosing the crosstool toolchain, and will use --android_cpu if
5186 --fat_apk_cpu is not set.
5187 - Add --instrument_test_targets option.
5188 - apple_binary supports a new platform_type attribute, which, if
5189 set to "watchos", will build dependencies for Apple's watchOS2.
5190 - objc_binary now supports late-loaded dynamic frameworks.
5191 - Native Swift rules no longer pull in module maps unconditionally.
5192 Use --experimental_objc_enable_module_maps for that.
5193 - Merged manifests are guaranteed to have the application element
5194 as the last child of the manifest element as required by Android
5195 N.
5196 - The Android manifest merger is now available as an option for
5197 android_binary rules. The merger will honor tools annotations in
5198 AndroidManifest.xml and will perform placeholder substitutions
5199 using the values specified in android_binary.manifest_values. The
5200 merger may be selected by setting the manifest_merger attribute
5201 on android_binary.
5202 - The progress message would not clear packages that need to be
5203 loaded twice.
5204 - Remove warning for high value of --jobs.
5205 - Use the correct build configuration for shared native deps during
5206 Android split transitions.
5207 - When building ObjectiveC++, pass the flag -std=gnu++11.
5208 - use xcrun simctl instead of iossim to launch the app for "blaze
5209 run".
5210 - Glob arguments 'exclude' and 'exclude_directories' must be named
5211 - Bazel no longer regards an empty file as changed if its mtime has
5212 changed.
5213
Bazel Release Systemccadf8d2016-06-10 13:28:40 +02005214## Release 0.3.0 (2016-06-10)
5215
5216```
5217Baseline: a9301fa
5218
5219Cherry picks:
5220 + ff30a73: Turn --legacy_external_runfiles back on by default
5221 + aeee3b8: Fix delete[] warning on fsevents.cc
5222```
5223
5224Incompatible changes:
5225
5226 - The --cwarn command line option is not supported anymore. Use
5227 --copt instead.
5228
5229New features:
5230
5231 - On OSX, --watchfs now uses FsEvents to be notified of changes
5232 from the filesystem (previously, this flag had no effect on OS X).
5233 - add support for the '-=', '*=', '/=', and'%=' operators to
5234 skylark. Notably, we do not support '|=' because the semantics
5235 of skylark sets are sufficiently different from python sets.
5236
5237Important changes:
5238
5239 - Use singular form when appropriate in blaze's test result summary
5240 message.
5241 - Added supported for Android NDK revision 11
5242 - --objc_generate_debug_symbols is now deprecated.
5243 - swift_library now generates an Objective-C header for its @objc
5244 interfaces.
5245 - new_objc_provider can now set the USES_SWIFT flag.
5246 - objc_framework now supports dynamic frameworks.
5247 - Symlinks in zip files are now unzipped correctly by http_archive,
5248 download_and_extract, etc.
5249 - swift_library is now able to import framework rules such as
5250 objc_framework.
5251 - Adds "jre_deps" attribute to j2objc_library.
5252 - Release apple_binary rule, for creating multi-architecture
5253 ("fat") objc/cc binaries and libraries, targeting ios platforms.
5254 - Aspects documentation added.
5255 - The --ues_isystem_for_includes command line option is not
5256 supported anymore.
5257 - global function 'provider' is removed from .bzl files. Providers
5258 can only be accessed through fields in a 'target' object.
5259
Bazel Release System9fdd6012016-05-17 11:12:31 +02005260## Release 0.2.3 (2016-05-10)
5261
5262```
5263Baseline: 5a2dd7a
5264```
5265
5266Incompatible changes:
5267
5268 - All repositories are now directly under the x.runfiles directory
5269 in the runfiles tree (previously, external repositories were at
5270 x.runfiles/main-repo/external/other-repo. This simplifies
5271 handling remote repository runfiles considerably, but will break
5272 existing references to external repository runfiles.
5273 Furthermore, if a Bazel project does not provide a workspace name
5274 in the WORKSPACE file, Bazel will now default to using __main__
5275 as the workspace name (instead of "", as previously). The
5276 repository's runfiles will appear under x.runfiles/__main__/.
5277 - Bazel does not embed protocol buffer-related rules anymore.
5278 - It is now an error for a cc rule's includes attribute to point to
5279 the workspace root.
5280 - Bazel warns if a cc rule's includes attribute points out of
5281 third_party.
5282 - Removed cc_* attributes: abi / abi_deps. Use select() instead.
5283
5284New features:
5285
5286 - select({"//some:condition": None }) is now possible (this "unsets"
5287 the attribute).
5288
5289Important changes:
5290
5291 - java_import now allows its 'jars' attribute to be empty.
5292 - adds crunch_png attribute to android_binary
5293 - Replace --java_langtools, --javabuilder_top, --singlejar_top,
5294 --genclass_top, and --ijar_top with
5295 java_toolchain.{javac,javabuilder,singlejar,genclass,ijar}
5296 - External repository correctness fix: adding a new file/directory
5297 as a child of a new_local_repository is now noticed.
5298 - iOS apps are signed with get-task-allow=1 unless building with -c
5299 opt.
5300 - Generate debug symbols (-g) is enabled for all dbg builds of
5301 objc_ rules.
5302 - Bazel's workspace name is now io_bazel. If you are using Bazel's
5303 source as an external repository, then you may want to update the
5304 name you're referring to it as or you'll begin seeing warnings
5305 about name mismatches in your code.
5306 - Fixes integer overflow in J2ObjC sources to be Java-compatible.
5307 - A FlagPolicy specified via the --invocation_policy flag will now
5308 match the current command if any of its commands matches any of
5309 the commands the current command inherits from, as opposed to
5310 just the current command.
5311 - The key for the map to cc_toolchain_suite.toolchains is now a
5312 string of the form "cpu|compiler" (previously, it was just "cpu").
5313 - Fix interaction between LIPO builds and C++ header modules.
5314 - Ctrl-C will now interrupt a download, instead of waiting for it to
5315 finish.
5316 - Proxy settings can now be specified in http_proxy and https_proxy
5317 environment variables (not just HTTP_PROXY and HTTPS_PROXY).
5318 - Skylark targets can now read include directories from
5319 ObjcProvider.
5320 - Expose parameterized aspects to Skylark.
5321 - Support alwayslink cc_library dependencies in objc binaries.
5322 - Import cc_library dependencies in generated Xcode project.
5323
Bazel Release System1aedd1f12016-04-25 09:47:50 +02005324## Release 0.2.2b (2016-04-22)
Bazel Release System951cea22016-04-21 14:10:12 +02005325
5326```
5327Baseline: 759bbfe
Bazel Release System1aedd1f12016-04-25 09:47:50 +02005328
5329Cherry picks:
Bazel Release System951cea22016-04-21 14:10:12 +02005330 + 1250fda: Rollback of commit
5331 351475627b9e94e5afdf472cbf465f49c433a25e.
5332 + ba8700e: Correctly set up build variables for the correct pic
5333 mode for fake_binary rules.
5334 + 386f242: Automated [] rollback of commit
5335 525fa71b0d6f096e9bfb180f688a4418c4974eb4.
Bazel Release System1aedd1f12016-04-25 09:47:50 +02005336 + 97e5ab0: Fix cc_configure include path for Frameworks on OS X.
5337 + a20352e: cc_configure: always add -B/usr/bin to the list of gcc
5338 option
5339 + 0b26f44: cc_configure: Add piii to the list of supported
5340 cpu_value
5341 + 3e4e416: cc_configure: uses which on the CC environment variable
5342 + aa3dbd3: cc_configure.bzl: strip end of line when looking for
5343 the cpu
5344 + 810d60a: cc_configure: Add -B to compiler flag too
Bazel Release System951cea22016-04-21 14:10:12 +02005345```
5346
Bazel Release System1aedd1f12016-04-25 09:47:50 +02005347Patch release, only includes fixes to C++ auto-configuration.
Bazel Release System951cea22016-04-21 14:10:12 +02005348
Bazel Release System950c1ab2016-03-31 17:18:55 +02005349## Release 0.2.1 (2016-03-21)
5350
5351```
5352Baseline: 19b5675
5353```
5354
5355Incompatible changes:
5356
5357 - Skylark rules that are available from their own repository will
5358 now issue a warning when accessed through @bazel_tools.
5359 - Set --legacy_bazel_java_test to off by default. java_test will
5360 now have a slightly different behaviour, correctly emitting XML
5361 file but, as a downside, it needs correct declaration of the
5362 test suite (see https://github.com/bazelbuild/bazel/issues/1017).
5363 - Labels in .bzl files in remote repositories will be resolved
5364 relative to their repository (instead of the repository the
5365 Skylark rule is used in).
5366 - Renamed proto_java_library to java_proto_library. The former
5367 is now deprecated and will print out a warning when used.
5368 - android_sdk now compiles android_jack on the fly from
5369 android_jar, which means android_jar must be a jar and
5370 android_jack is now deprecated. The Jack tools (jack, jill,
5371 resource_extractor) must be specified.
5372 - Any project that depended on the objc_options rule will be
5373 broken. Can be fixed by adding attrs (infoplists,copts) directly
5374 to rules depending on the options.
5375 - .aidl files correctly require import statements for types
5376 defined in the same package and the same android_library.
5377
5378New features:
5379
5380 - Experimental Windows support is available.
5381 - Experimental support for writing remote repository rules in
5382 Skylark is available.
5383 - iOS ipa_post_processor attribute allows for user-defined IPA
5384 edits.
5385 - Adds a to_json method to Skylark structs, providing conversion to
5386 JSON format.
5387 - Native python rule can depend on skylark rule as long as skylark
5388 rule provides 'py' provider.
5389 - When using both --verbose_failures and --sandbox_debug, Bazel
5390 prints instructions how to spawn a debugging shell inside the
5391 sandbox.
5392 - add flag --sandbox_add_path, which takes a list of additional
5393 paths as argument and mount these paths to sandbox.
5394
5395Important changes:
5396
5397 - @androidsdk//:org_apache_http_legacy added for the legacy Apache
5398 classes for android sdk version 23 and above.
5399 - Genrules correctly work when used with bazel run.
5400 - When namespace-sandbox is run with the -D (debug) flag and
5401 inside a terminal, it spawns a shell inside the sandbox to aid in
5402 debugging when the sandboxed command fails.
5403 - Added --artifact to workspace generator for generating workspace
5404 and build file rules from artifact coodrinates.
5405 - Specifying --experimental_android_resource_shrinking on the
5406 command line will enable a resource shrinking pass on
5407 android_binary targets that already use Proguard.
5408 - J2ObjC updated to 1.0.1 release.
5409 - Added "root_symlinks" and "symlinks" parameters to Skylark
5410 runfiles() method.
5411 - You can no longer use objc_binary targets for the xctest_app
5412 attribute of an ios_test rule.
5413 - Enable overriding jsonnet binaries and stdlib for Jsonnet rules.
5414 - mount target of /etc/resolv.conf if it is a symlink.
5415 - Tests that failed to build because execution was halted no longer
5416 print their status.
5417 - Bazel warns if a cc rule's includes attribute contains up-level
5418 references that escape its package.
5419 - Add repository_ctx.download and repository_ctx.download_and_extract
5420 function.
5421
Bazel Release Systemf98290d2016-02-23 13:51:16 +01005422## Release 0.2.0 (2016-02-18)
5423
5424```
5425Baseline: 9e100ac
5426```
5427
5428Incompatible changes:
5429
5430 - ObjC compile actions for J2ObjC-translated code now only has
5431 access to headers from the java deps of the associated original
5432 java rule.
5433 These compile actions no longer takes the compiler options
5434 specified in "copts" attribute on objc_binary/ios_test rules.
5435 J2ObjC dead code removal (enabled through flag
5436 "--j2objc_dead_code_removal") now happens *after* ObjC
5437 compilation.
5438 - maven_jar no longer supports separate artifact_id, group_id, and
5439 verison fields. This information should be provided in the
5440 artifact field,
5441 instead.
5442
5443New features:
5444
5445 - Better support for toolchains that don't have a dynamic linker.
5446 - build_file_content attribute added to new_git_repository,
5447 new_http_archive, and new_local_repository.
5448 - Add support for .tar.bz2 archives to http_archive rules.
5449
5450Important changes:
5451
5452 - The --skyframe flag is no longer available for the build command.
5453 - The --artifacts flag was removed from the dump command.
5454 - The sha256 attribute is now optional (although recommended!) for
5455 remote repository rules.
5456 - Add instrumented file provider support to Skylark rules.
5457 - Add imports attribute to native Python rules.
5458 - Allow overriding -gsplit-dwarf from copts.
5459 - Improved sandbox performance on XFS filesystems.
5460
Bazel Release System00cf25d2016-02-09 18:36:51 +01005461## Release 0.1.5 (2016-02-05)
5462
5463```
5464Baseline: 3a95f35
5465 + 8378cd8: Rollback of commit
5466 a9b84575a32476a5faf991da22b44661d75c19b6.
5467```
5468
5469Incompatible changes:
5470
5471 - Set stamping to false by default (i.e., --nostamp)
5472 - Removed --objc_dump_syms_binary.
5473 - Removes --objc_gcov_binary flag.
5474 - Remove JAVAC "Make" variable
5475 - The startup flag --blaze_cpu is removed,
5476
5477New features:
5478
5479 - A new java test runner that support XML output and test filtering
5480 is supported. It can be used by specifying --nolegacy_bazel_java_test
5481 or by specifying the test_class attribute on a java_test.
5482 - Skylark aspects can now specify configuration fragment
5483 dependencies with fragments and host_fragments like rules can.
5484
5485Important changes:
5486
5487 - Support for downloading remote resources through proxies by
5488 setting HTTP_PROXY (or HTTPS_PROXY).
5489 - Timestamps within Android apks are removed to make apks
5490 deterministic.
5491 - Support aggregation over existing rules in Skylark extensions
5492 through native.rules and native.rule.
5493 - A tools/bazel script in the workspace will be executed
5494 as an opportunity to use a fixed version of Bazel (not
5495 implemented for the homebrew recipe yet).
5496 - --noimplicit_deps and --nohost_deps work correctly for Aspect
5497 attributes.
5498 - JDK-related targets are now available via @local_jdk (instead of
5499 @local-jdk).
5500 - j2objc tools can now be accessed via @bazel_j2objc, not
5501 @bazel-j2objc.
5502 - Repository rules must use names that are valid workspace names.
5503 - [rust] Update to Rust 1.6
5504 - Add support for .tar.xz archives to http_archive rules.
5505 - Make C++ modules compatible with tools using
5506 --compilation_prerequisites_only
5507 - [d] Update to DMD 2.070.0
5508
Bazel Release System446d9922016-01-21 10:59:31 +01005509## Release 0.1.4 (2016-01-15)
5510
5511```
5512Baseline: e933d5e
5513 + 3d796fe: Rollback of commit
5514 ac6ed79e1a3fa6b0ca91657b28e2a35f7e49758c.
5515 + 7a02e5d: Fix installer under OS X
5516 + 848740c: Fix bazel version for debian package
5517 + 7751d43: Add a method for getting the root of a rule workspace
5518 to the Label method
5519```
5520
5521Important changes:
5522
5523 - add loadfiles() query operator, to find skylark files loaded by
5524 targets.
5525 - Added ability to declare and use aspects in Skylark.
5526 - Skylark load statements may now reference .bzl files via build
5527 labels, in addition to paths. In particular, such labels can be
5528 used to reference Skylark files in external repositories; e.g.,
5529 load("@my_external_repo//some_pkg:some_file.bzl", ...).
5530 Path-based loads are now deprecated and may be disabled in the
5531 future. Caveats: Skylark files currently do not respect package
5532 visibility; i.e., all Skylark files are effectively public. Also,
5533 loads may not reference the special //external package.
5534 - Relative paths can now be used for 'path' with
5535 new_local_repository and local_repository.
5536
Bazel Release System1518253e2016-01-11 10:10:19 +01005537## Release 0.1.3 (2016-01-07)
5538
5539```
5540Baseline: 23ad8f6
5541 + de2183d: Only depend on the WORKSPACE file for external files
5542 that are under the external/ directory, i.e. were
5543 created by Bazel.
5544 + f8f855c: Rollback of commit
5545 12bad3af0eade9c4b79d76f9e1c950ad2e3214c2.
5546 + f627562: Stop parsing the WORKSPACE file when a parse error is
5547 detected
5548 + 763f139: Add -fno-canonical-system-headers to CROSSTOOL files so
5549 that gcc doesn't resolve symlinks in .d files, which
5550 would confuse Blaze.
5551 + b95995b: Use openjdk7 as dependency for debian package of jdk7
5552 flavor
5553```
5554
5555New features:
5556
5557 - Skylark macros are now enabled in WORKSPACE file.
5558 - .bazelrc allows workspace-relative imports as "import
5559 %workspace%/path/to/rcfile"
5560 - Evaluate the query expression in a file by passing
5561 --query_file=<file> to query
5562
5563Important changes:
5564
5565 - Remove obsolete --objc_per_proto_includes flag.
5566 - iOS apps and extensions now have launch_storyboard
5567 - Passing multiple JVM options via a single --host_jvm_args flag is
5568 now deprecated. Pass each JVM option behind its own
5569 --host_jvm_args flag.
5570 - Resources defined locally on an android_library rule will respect
5571 the neverlink attribute.
5572 - Update Rust to 1.4
5573 - Fix resource handling for exported android_library rules
5574 - Files in external repositories are now treated as mutable, which
5575 will make the correctness guarantees of using external
5576 repositories stronger (existent), but may cause performance
5577 penalties.
5578
Bazel Release System0d2e4092015-12-04 23:31:41 +01005579## Release 0.1.2 (2015-11-20)
5580
5581```
5582Baseline: ee0ade3
5583 + 1e66ccd: RELNOTES: Symlink dirents of directories containing a
5584 file named
5585 "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA
5586 _A_RECURSIVE_TARGET_PATTERN" will *not* be traversed
5587 for transitive target patterns. The motivation here is
5588 to allow directories that intentionally contain wonky
5589 symlinks (e.g. foo/bar -> foo) to opt out of being
5590 consumed by Blaze. For example, given
5591 + f5773fc: Set the ijar MAX_BUFFER_SIZE to 256 MB
5592```
5593
5594New features:
5595
5596 - java_library now supports the proguard_specs attribute for
5597 passing Proguard configuration up to Android (not Java) binaries.
5598 - http_file can specify "executable" to make the downloaded file
5599 runnable.
5600 - Debian and tar packaging is now supported
5601 (see tools/build_defs/pkg/README.md).
5602 - cpxx_builtin_include_directory specifications allow more
5603 flexibility.
5604 - accept %crosstool_top% in cxx_builtin_include_directory
5605 - android_binary now supports proguard_apply_mapping to re-use a
5606 previously generated proguard mapping.
5607
5608Important changes:
5609
5610 - remove webstatusserver (--use_webstatusserver).
5611 - Add support for objc textual headers, which will not be compiled
5612 when modules are enabled.
5613 - actoolzip, momczip and swiftstdlibtoolzip have all been made into
5614 bash scripts and have been renamed to actoolwrapper, momcwrapper
5615 and swiftstdlibtoolwrapper respectively. The old versions will be
5616 deleted in a later change.
5617 - [rust] Add rust_bench_test and rust_doc_test rules and improve
5618 usability of rust_test tule.
5619 - Java rules now support a resource_strip_prefix attribute that
5620 allows the removal of path prefixes from Java resources.
5621 - [docker_build] incremental loading is default now.
5622 Specify explicitly //package:target.tar (with the .tar extension)
5623 to obtain the full image.
5624 - --ios_signing_cert_name allows specifying a cert for iOS app
5625 signing
5626 - Go rules for Bazel.
5627 - [jsonnet] Update to Jsonnet 0.8.1.
5628 - [jsonnet] Add vars and code_vars attributes to jsonnet_to_json to
5629 allow passing external variables to Jsonnet via --var and
5630 --code_var.
5631 - Adds --override_workspace_root blaze flag to hand-set
5632 workspace_root and mainGroup in xcodeproj.
5633 - Allow dots in package names.
5634 - When used as a forwarding rule (i.e., has no sources),
5635 android_library
5636 will also forward any exported_plugins in its dependencies.
5637 - Add support for Windows-created zip files with non-posix
5638 permissions.
5639 - [jsonnet] Add jsonnet_to_json_test rule for testing Jsonnet code.
5640 - C++ compile actions run in a sandbox now on systems that support
5641 sandboxed execution.
5642 - The names of the clang compilers in the Android NDK crosstool no
5643 longer reference gcc.
5644 - 420 dpi is now a valid density for andoid_binary.densities.
5645 - Bazel does strict validation of include files now to ensure
5646 correct incremental builds. If you see compilation errors when
5647 building C++ code, please make sure that you explicitly declare
5648 all header files in the srcs or hdrs attribute of your cc_*
5649 targets and that your cc_* targets have correct "deps" on
5650 cc_library's that they use.
5651 - [jsonnet] Fix jsonnet_to_json rule to read code_vars from
5652 code_vars instead of vars.
5653 - Tests, genrules, and Skylark actions without the
5654 "requires-network" tag will no longer be able to access the
5655 network.
5656 - C++ libraries no longer need includes = ["."] (or similar copts)
5657 to include paths relative to a remote repository's root.
5658 - Support exports attribute for android_library
5659 - Symlink dirents of directories containing a file named
5660 "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA_A_RECURSI
5661 VE_TARGET_PATTERN" will *not* be traversed for transitive target
5662 patterns. The motivation here is to allow directories that
5663 intentionally contain wonky symlinks (e.g. foo/bar -> foo) to opt
5664 out of being consumed by Blaze.
5665
Bazel Release Systemfa35b182015-10-14 12:11:51 -04005666## Release 0.1.1 (2015-10-05)
5667
5668```
5669Baseline: 22616ae
5670 + 1ef338f: Rollback of "Propagates cc_library linkopts attribute
5671 to dependent objc_libraries.": breaks certain
5672 objc_binary build targets.
5673 + 5fb1073: Reintroduce an inconsistency check (albeit, in a weaker
5674 form) removed by a previous change that was trying to
5675 optimize away a filesystem call.
5676 + 6d00468b2eb976866cfb814d562e0d53a580a46f: Add IdlClass to the embedded default android tools
5677 repository and rearrange BuildJar's JarHelper so that
5678 it too can be embedded.
5679 + a5199039934a2e399a7201adc0d74e2f2d2b0ff3: Fixes Android integration tests by wiring up idlclass
5680 rules in integration environment.
5681```
5682
5683Incompatible changes:
5684
5685 - Bazel requires JDK 8 to run.
5686 - Attribute "copts" is removed from j2objc_library.
5687
5688New features:
5689
5690 - a cc_binary rule may list '.s' and '.asm' files in the srcs
5691 - Support for build with libsass.
5692 - labels in "linkopts" may match any label in either "deps" or
5693 "srcs" to be considered valid.
5694 - Maven servers that require username & password authentication are
5695 now supported (see maven_server documentation).
5696
5697Important changes:
5698
5699 - Support empty plist files
5700 - The <compatible-screens> section of the AndroidManifest.xml will
5701 not be overwritten if it already contains a <screen> tag for each
5702 of the densities specified on the android_binary rule.
5703 - Add Jsonnet rules to Bazel
5704 - Remove deprecated xcode_options flag.
5705 - Workspace names are now restricted to being in their base
5706 directory
5707 (that is, the names cannot contain up-level references or /./).
5708 - j2objc_library on Bazel now transpiles transitive proto_library
5709 dependencies. (Note that java_* rules in Bazel do not yet support
5710 protos; currently they ignore proto dependencies.)
5711 - new_http_archive can specify a root directory.
5712 - Adds support for dylibs on devices for Xcode 7.
5713 - [d] d_docs rules now depend on a d_binary, a d_library or
5714 d_source_library.
5715 - [docker] docker_build now set the permission to 0555 to files
5716 added to the layer, use `mode = "0644"` to use the legacy behavior.
5717 - android_binary now has a main_dex_proguard_specs attribute to
5718 specify which classes should be in the main dex.
5719 - [rust] Add rust_docs rule for generating rustdoc.
Bazel Release System79e40ac2015-09-08 23:38:00 +02005720## Release 0.1.0 (2015-09-08)
5721
5722```
5723Baseline: a0881e8
5724 + 87374e6: Make android_binary use a constant, hard-coded,
5725 checked-in debug key.
5726 + 2984f1c: Adds some safety checks in the Bazel installer
5727 + 4e21d90: Remove BUILD.glob and incorporate the necessary
5728 filegroups into the android_{ndk,sdk}_repository rules
5729 themselves.
5730 + 1ee813e: Fix Groovy rules to work with sandboxing
5731 + 8741978: Add initial D rules to Bazel.
5732 + 2c2e70d: Fix the installer and fixing the package shiped into
5733 binary version of Bazel.
5734```
5735
5736Initial release.
Bazel Release System6712cac2017-02-01 19:53:37 +01005737
Bazel Release System8d635fc2017-03-16 13:18:30 +01005738
Bazel Release Systema3e26832017-05-26 14:11:07 +02005739
Bazel Release System63222de2017-06-06 11:32:04 +02005740
Bazel Release System7b851222017-06-27 15:08:47 +02005741
Bazel Release System195a7a82017-07-27 20:27:32 +02005742
Bazel Release System5371d132017-08-25 11:24:06 +02005743
Bazel Release System471c0e12017-09-28 16:36:12 +02005744
Bazel Release Systemed0ebc02017-10-05 23:52:25 +02005745
Bazel Release System76b6d0a2017-10-18 14:34:11 +02005746
Bazel Release System0838aee2017-11-27 14:16:34 +01005747
Bazel Release System3d53cb02017-12-05 15:28:40 +01005748
Bazel Release System5bd27482018-02-01 09:43:33 +01005749
Bazel Release Systeme1148362018-02-15 10:02:05 +01005750
Bazel Release System09077a32018-02-23 11:09:18 -05005751
Bazel Release Systemc86d6a02018-03-06 19:32:18 +01005752
Bazel Release System546976c2018-04-11 17:34:19 +02005753
Bazel Release System1d9c6062018-04-30 10:45:38 +02005754
Bazel Release System24c68ff2018-05-23 10:59:57 +02005755
Bazel Release System3a592f62018-06-01 15:04:31 +02005756
Bazel Release System513bbf52018-06-08 14:15:20 +02005757
Bazel Release System5013a332018-06-26 14:07:47 +02005758
Bazel Release System1281a022018-07-16 16:13:53 +02005759
Bazel Release System1bd58832018-08-13 15:41:26 +02005760
Bazel Release Systemfdb09a22018-09-14 12:15:54 +02005761
Bazel Release System50921e62018-09-21 12:27:04 +02005762
Bazel Release System36177972018-10-15 10:29:10 +02005763
Bazel Release System92849b82018-10-31 15:41:11 +01005764
Bazel Release System684f1092018-11-12 10:26:58 -05005765
Bazel Release Systemcb3e2982018-11-19 11:19:38 -05005766
Bazel Release System85378562018-11-30 15:34:16 +01005767