blob: 56b76d89698b2e356a049061f6b133ef89a1ab5e [file] [log] [blame] [view]
Bazel Release System4f5c17c2019-03-26 12:08:43 -04001## Release 0.24.0 (2019-03-26)
Bazel Release System0e4525f2019-03-11 17:43:39 +01002
3```
Bazel Release System4f5c17c2019-03-26 12:08:43 -04004Baseline: 235e76b0e756d05599a6cbe1663ff8e13df84a86
Bazel Release System0e4525f2019-03-11 17:43:39 +01005
6Cherry picks:
7
Bazel Release System4f5c17c2019-03-26 12:08:43 -04008 + badd82e4c5cda7b3232481e1c63a5550ac898cd8:
9 Automated rollback of commit
10 1b4c37c38804559b5c1ade6f9c93501875e231b0.
11 + 33e571939085dd158422e1b3503cfc738e0a3165:
12 Fix the Python version select() mechanism to handle
13 PY3-as-default
Bazel Release System0e4525f2019-03-11 17:43:39 +010014 + 56366ee3a73e2c92b2fa36a9840478202b9618ca:
15 Set non-empty values for msvc_env_* when VC not installed
Bazel Release System4f5c17c2019-03-26 12:08:43 -040016 + 22b3fbf4800113df51d603d943bd9eb9517ef904:
17 Windows, test wrapper: fix broken integration test
18 + f14d447cb56aee563f6e686b8f5b086a3bb55d47:
19 Add whitelist file for starlark transitions
20 + d99bc478db1f3414b4f6cd3dc14ca70aacf6b375:
21 Update BUILD
22 + 3529ad7ccf0c26dfb20a9d67b9d96de15f309f8b:
23 Rename tools/function_transition_whitelist/BUILD to
24 tools/whitelists/function_transition_whitelist/BUILD
25 + de0612ad3ef7cc8c44069261befdeb0d15b97c10:
26 Update bazel_toolchains to latest release and add toolchain
27 config target for BuildKite CI (rbe_ubuntu1604)
28 + 3e660ad178926648e8e10e2ee7a1a30b12f9b3d1:
29 Automated rollback of commit
30 087734009801242b83655efb863b2d5a761ae3dc.
31 + 314cf1f9e4b332955c4800b2451db4e926c3e092:
32 Pass -undefined dynamic_lookup to dynamic library linking
33 actions on Mac
34 + fc586a86b614667a21e5a01aea3544ac0338de78:
35 Move cc_flags target into @bazel_tools//tools/cpp.
36 + ea1703b30f9ac43a0c3262f5729c34658ed8d473:
37 C++: Fix crash reported in #7721
38 + 803801d1494f06f0ce977a1f2241ef6a4d85df09:
39 Pass execution info to xml generating spawn. Fixes #7794
Bazel Release System0e4525f2019-03-11 17:43:39 +010040```
41
Bazel Release System4f5c17c2019-03-26 12:08:43 -040042Incompatible changes:
Bazel Release System0e4525f2019-03-11 17:43:39 +010043
Bazel Release System4f5c17c2019-03-26 12:08:43 -040044 - Added --incompatible_py3_is_default to test switching the default
45 Python version to PY3 for py_binary/py_test targets that do not
46 specify a version. See #7359.
47 - //tools/cmd_line_differ has been renamed to //tools/aquery_differ
48 & can now compare (in addition to command lines) inputs of
49 actions given 2 aquery results.
50 - java_(mutable_|)proto_library: removed strict_deps attribute.
51 - The flag --incompatible_list_based_execution_strategy_selection
52 was added and is used to ease the migration to the new style of
53 specifying
54 execution strategy selection and fallback behavior. The
55 documentation for
56 this flag is here: https://github.com/bazelbuild/bazel/issues/7480
57 - Added --incompatible_py2_outputs_are_suffixed, for switching the
58 bazel-bin symlink to point to Python 3 outputs instead of Python
59 2 outputs. See
60 [#7593](https://github.com/bazelbuild/bazel/issues/7593).
Bazel Release Systemf28ff222019-03-04 11:12:24 +010061
Bazel Release System4f5c17c2019-03-26 12:08:43 -040062New features:
Bazel Release Systemf28ff222019-03-04 11:12:24 +010063
Bazel Release System4f5c17c2019-03-26 12:08:43 -040064 - Make actions.args() object chainable.
65 - Added --incompatible_windows_style_arg_escaping flag: enables
66 correct subprocess argument escaping on Windows. (No-op on other
67 platforms.)
68 - Added --incompatible_windows_escape_jvm_flags flag: enables
69 correct java_binary.jvm_flags and java_test.jvm_flags
70 tokenization and escaping on Windows. (No-op on other platforms.)
Bazel Release Systemf28ff222019-03-04 11:12:24 +010071
Bazel Release System4f5c17c2019-03-26 12:08:43 -040072Important changes:
Bazel Release Systemf28ff222019-03-04 11:12:24 +010073
Bazel Release System4f5c17c2019-03-26 12:08:43 -040074 - Allow running aquery against the current state of Skyframe
75 - Added support for the "navigation" resource directory to Android
76 resource processing in Bazel. This is used by the Navigation
77 Architecture Component.
78 - --incompatible_disable_runtimes_filegroups was flipped
79 (https://github.com/bazelbuild/bazel/issues/6942)
80 - Incompatible flag `--incompatible_linkopts_in_user_link_flags`
81 has been flipped (https://github.com/bazelbuild/bazel/issues/6826)
82 - Incompatible flag `--incompatible_dont_emit_static_libgcc` has
83 been flipped (https://github.com/bazelbuild/bazel/issues/6825)
84 - --incompatible_disallow_filetype is enabled by default.
85 - Fixed issue where exceptions and stacktraces were silently
86 swallowed in the Android resource processing pipeline.
87 - `--incompatible_disable_expand_if_all_available_in_flag_set` has
88 been flipped (https://github.com/bazelbuild/bazel/issues/7008)
89 - --incompatible_disallow_dict_plus is enabled by default
90 - Adds --incompatible_disable_objc_library_resources to disable
91 resource attributes in objc_library. Please migrate these
92 attributes to `data` instead.
93 - --incompatible_disallow_old_style_args_add is enabled by default.
94 - Using the `native` module in BUILD files is deprecated. It will
95 be forbidden with --incompatible_disallow_native_in_build_file.
96 - (Python rules) PyRuntimeInfo is exposed to Starlark, making it
97 possible for Starlark rules to depend on or imitate `py_runtime`.
98 The `files` attribute of `py_runtime` is no longer mandatory.
99 - incompatible_use_toolchain_providers_in_java_common: pass
100 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
101 APIs instead of configured
102 targetshttps://github.com/bazelbuild/bazel/issues/7186.
103 - is_using_fission crosstool variable is now exposed in all compile
104 actions when fission is active (it used to be exposed only for
105 linking actions).
106 - incompatible_use_toolchain_providers_in_java_common: pass
107 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
108 APIs instead of configured
109 targetshttps://github.com/bazelbuild/bazel/issues/7186.
110 - `py_runtime` gains a `python_version` attribute for specifying
111 whether it represents a Python 2 or 3 interpreter.
112 - `--incompatible_java_coverage` is enabled by default.
113 - Starlark rules can safely declare attributes named "licenses"
114 - When using
115 --incompatible_list_based_execution_strategy_selection, Bazel
116 will use remote execution by default (if you specify
117 --remote_executor), otherwise persistent workers (if the action
118 supports it), otherwise sandboxed local execution (if the action
119 and platform supports it) and at last unsandboxed local
120 execution. The flags --spawn_strategy and --strategy continue to
121 work as before - this only sets new defaults for the case where
122 you don't specify these flags.
123 - Set default value of --incompatible_remap_main_repo to true.
124 - Set default value of --incompatible_remap_main_repo to true.
125
126This 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 +0100127
Bazel Release Systemed104862019-02-26 18:36:00 +0100128## Release 0.23.0 (2019-02-26)
129
130```
131Baseline: 441fd75d0047f8a998d784c557736ab9075db893
132
133Cherry picks:
134
135 + 6ca7763669728253606578a56a205bca3ea883e9:
136 Fix a typo
137 + 2310b1c2c8b2f32db238f667747e7d5672480f4a:
138 Ignore SIGCHLD in test setup script
139 + f9eb1b56706f91063e9d080b850fa56964e77324:
140 Complete channel initialization in the event loop
141```
142
143Incompatible changes:
144
145 - //src:bazel uses the minimal embedded JDK, if you want to
146 avoid the extra steps of minimizing the JDK, use //src:bazel-dev
147 instead.
148 - //src:bazel uses the minimal embedded JDK, if you want to
149 avoid the extra steps of building bazel with the minimized JDK,
150 use //src:bazel-dev
151 instead.
152 - The default value of --host_platform and --platforms will be
153 changed to not be dependent on the configuration. This means
154 that setting
155 --cpu or --host_cpu will not affect the target or host platform.
156 - Toolchain resolution for cc rules is now enabled via an
157 incompatible flag, --incompatible_enable_cc_toolchain_resolution.
158 The previous
159 flag, --enabled_toolchain_types, is deprecated and will be
160 removed.
161 - java_(mutable_|)proto_library: removed strict_deps attribute.
162 - Python rules will soon reject the legacy "py" struct provider
163 (preview by enabling --incompatible_disallow_legacy_py_provider).
164 Upgrade rules to use PyInfo instead. See
165 [#7298](https://github.com/bazelbuild/bazel/issues/7298).
166 - java_(mutable_|)proto_library: removed strict_deps attribute.
167 - Two changes to native Python rules: 1) `default_python_version`
168 and `--force_python` are deprecated; use `python_version` and
169 `--python_version` respectively instead. You can preview the
170 removal of the deprecated names with
171 --incompatible_remove_old_python_version_api. See
172 [#7308](https://github.com/bazelbuild/bazel/issues/7308). 2) The
173 version flag will no longer override the declared version of a
174 `py_binary` or `py_test` target. You can preview this new
175 behavior with --incompatible_allow_python_version_transitions.
176 See [#7307](https://github.com/bazelbuild/bazel/issues/7307).
177
178Important changes:
179
180 - There is a new flag available
181 `--experimental_java_common_create_provider_enabled_packages`
182 that acts as a whitelist for usages of
183 `java_common.create_provider`. The constructor will be deprecated
184 in Bazel 0.23.
185 - [#7024] Allow chaining of the same function type in aquery.
186 - Introduces --local_{ram,cpu}_resources, which will take the place
187 of --local_resources.
188 - [#6930] Add documentation for the aquery command.
189 - Incompatible flag `--incompatible_dont_emit_static_libgcc` has
190 been flipped (https://github.com/bazelbuild/bazel/issues/6825)
191 - Incompatible flag `--incompatible_linkopts_in_user_link_flags`
192 has been flipped (https://github.com/bazelbuild/bazel/issues/6826)
193 - Flag --incompatible_range_type is removed.
194 - Flag --incompatible_disallow_slash_operator is removed.
195 - Flag --incompatible_disallow_conflicting_providers is removed.
196 - `--incompatible_disallow_data_transition` is now enabled by
197 default
198 - Allow inclusion of param files in aquery output
199 - [#6985] Add test to verify aquery's behavior for Cpp action
200 templates.
201 - --incompatible_require_feature_configuration_for_pic was flipped
202 (https://github.com/bazelbuild/bazel/issues/7007).
203 - Also ignore module-info.class in multi-version Jars
204 - objc_framework has been deleted. Please refer to
205 apple_dynamic_framework_import and apple_static_framework_import
206 rules available in
207 [rules_apple](https://github.com/bazelbuild/rules_apple/blob/maste
208 r/doc/rules-general.md)
209 - --test_sharding_strategy=experimental_heuristic is no more
210 - objc_bundle_library has been removed. Please migrate to
211 rules_apple's
212 [apple_resource_bundle](https://github.com/bazelbuild/rules_apple/
213 blob/master/doc/rules-resources.md#apple_resource_bundle).
214 - You can now use the attribute `aapt_version` or the flag
215 `--android_aapt` to pick the aapt version for android_local_test
216 tests
217 - In --keep_going mode, Bazel now correctly returns a non-zero exit
218 code when encountering a package loading error during target
219 pattern parsing of patterns like "//foo:all" and "//foo/...".
220 - The default value for --incompatible_strict_action_env has been
221 flipped to 'false' again, as we discovered breakages for local
222 execution users. We'll need some more time to figure out the best
223 way to make this work for local and remote execution. Follow
224 https://github.com/bazelbuild/bazel/issues/7026 for more details.
225 - Locally-executed spawns tagged "no-cache" no longer upload their
226 outputs to the remote cache.
227 - Introduces --host_compiler flag to allow setting a compiler for
228 host compilation when --host_crosstool_top is specified.
229 - --incompatible_expand_directories is enabled by default
230 - [aquery] Handle the case of aspect-on-aspect.
231 - Fixed a longstanding bug in the http remote cache where the value
232 passed to
233 --remote_timeout would be interpreted as milliseconds instead of
234 seconds.
235 - Enable --incompatible_use_jdk10_as_host_javabase by default, see
236 https://github.com/bazelbuild/bazel/issues/6661
237 - Add --incompatible_use_jdk11_as_host_javabase: makes JDK 11 the
238 default --host_javabase for remote jdk
239 (https://github.com/bazelbuild/bazel/issues/7219)
240 - Highlight TreeArtifact in aquery text output.
241 - Locally-executed spawns tagged "no-cache" no longer upload their
242 outputs to the remote cache.
243 - java_common APIs now accept JavaToolchainInfo and JavaRuntimeInfo
244 instead of configured targets for java_toolchain and java_runtime
245 - cc_common.create_cc_toolchain_config_info is stable and available
246 for production use
247 - incompatible_use_toolchain_providers_in_java_common: pass
248 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
249 APIs instead of configured targets
250 (https://github.com/bazelbuild/bazel/issues/7186)
251 - --incompatible_strict_argument_ordering is enabled by default.
252 - Bazel now supports reading cache hits from a repository cache,
253 even if it doesn't have write access to the cache.
254 - Adding arm64e to OSX CROSSTOOL.
255 - Ignore package-level licenses on config_setting.
256 - Add an optional output_source_jar parameter to java_common.compile
257 - --incompatible_disable_objc_provider_resources is now enabled by
258 default. This disables ObjcProvider's fields related to resource
259 processing.
260 - Explicitly set https.protocols and exclude TLSv1.3.
261 - Bazel now validates that JAVA_HOME points to a valid JDK and
262 falls back to auto-detection by looking up the path of `javac`.
263 - Upgrade the embedded JDK version to 11.0.2.
264 - Added --incompatible_disable_crosstool_file
265 (https://github.com/bazelbuild/bazel/issues/7320)
266 - --incompatible_disable_objc_provider_resources is now enabled by
267 default. This disables ObjcProvider's fields related to resource
268 processing.
269 - --incompatible_disable_tools_defaults_package has been flipped.
270 - For tests that do not generate a test.xml, Bazel now uses a
271 separate action to generate one; this results in minor
272 differences in the generated test.xml, and makes the generation
273 more reliable overall.
274 - incompatible_generate_javacommon_source_jar: java_common.compile
275 now always generates a source jar, see
276 https://github.com/bazelbuild/bazel/issues/5824.
277 - New incompatible flag
278 --incompatible_disallow_struct_provider_syntax removes the
279 ability for rule implementation functions to return struct. Such
280 functions should return a list of providers instead. Migration
281 tracking: https://github.com/bazelbuild/bazel/issues/7347
282
283This 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.
284
Bazel Release System2f82b332019-01-28 13:54:53 +0100285## Release 0.22.0 (2019-01-28)
286
287```
288Baseline: deb028e3fb30b4e2953df16f35ab1f55a08ea8fa
289
290Cherry picks:
291
292 + a3a5975dca3ad04c19dc7d063fcf490a8cd612fd:
293 Fix a race condition in remote cache
294 + b8d0e1b05c225a4b943ce498194d069d18093d9a:
295 Use a new GitHub token and KMS key for the release process.
296 + 3759e3895503aa2bbd6943c5b568b8c050b9448f:
297 remote: fix unexpected IO error (not a directory)
298 + 4473bb1a9ec4282aa8497b86580d68e82415df4a:
299 Fix a race condition in Bazel's Windows process management.
300 + 9137fb940886aa516f32ca8a36feccedb545c99b:
301 undo flag flip of --incompatible_strict_action_env
302 + 12ab12e80ad1c9a3510aa4bbfdf3fddafc0bca00:
303 Revert "Enabling Bazel to generate input symlinks as defined by
304 RE AP?
305 + 6345c747d8cb1819e70c853becadbf8a989decf1:
306 Automated rollback of commit
307 30536baa4a410d8c0a7adab5cd58cd8a2ac7e46c.
308```
309
Bazel Release System2f82b332019-01-28 13:54:53 +0100310
Bazel Release System2f82b332019-01-28 13:54:53 +0100311
Klaus Aehligcb59bd22019-01-28 14:20:37 +0100312The Bazel team is happy to announce a new release of Bazel,
313[Bazel 0.22.0](https://github.com/bazelbuild/bazel/releases/tag/0.22.0).
Bazel Release System2f82b332019-01-28 13:54:53 +0100314
Klaus Aehligcb59bd22019-01-28 14:20:37 +0100315Baseline: deb028e3fb30b4e2953df16f35ab1f55a08ea8fa
Bazel Release System2f82b332019-01-28 13:54:53 +0100316
Klaus Aehligcb59bd22019-01-28 14:20:37 +0100317### Breaking changes
318
319- [`--incompatible_string_is_not_iterable`](https://github.com/bazelbuild/bazel/issues/5830)
320
321### Upcoming changes
322
323This release is a [migration window for the following changes](https://github.com/bazelbuild/bazel/labels/migration-0.22).
324
325- [`--incompatible_disallow_data_transition`](https://github.com/bazelbuild/bazel/issues/6153)
326- [`--incompatible_dont_emit_static_libgcc`](https://github.com/bazelbuild/bazel/issues/6825)
327- [`--incompatible_linkopts_in_user_link_flags`](https://github.com/bazelbuild/bazel/issues/6826)
328- [`--incompatible_disable_legacy_crosstool_fields`](https://github.com/bazelbuild/bazel/issues/6861)
329- [`--incompatible_use_aapt2_by_default`](https://github.com/bazelbuild/bazel/issues/6907)
330- [`--incompatible_disable_runtimes_filegroups`](https://github.com/bazelbuild/bazel/issues/6942)
331- [`--incompatible_disable_legacy_cc_provider`](https://github.com/bazelbuild/bazel/issues/7036)
332- [`--incompatible_require_feature_configuration_for_pic`](https://github.com/bazelbuild/bazel/issues/7007)
333- [`--incompatible_disable_expand_if_all_available_in_flag_set`](https://github.com/bazelbuild/bazel/issues/7008)
334- [`--incompatible_disable_legacy_proto_provider`](https://github.com/bazelbuild/bazel/issues/7152)
335- [`--incompatible_disable_proto_source_root`](https://github.com/bazelbuild/bazel/issues/7153)
336
337### General Changes
338
339- https://docs.bazel.build now supports versioned
340 documentation. Use the selector at the top of the navigation bar
341 to switch between documentation for different Bazel releases.
342
343- set `projectId` in all `PublishBuildToolEventStreamRequest`
344
345### Android
346
347- mobile-install now works with aapt2. Try it out with `bazel
348 mobile-install --android_aapt=aapt2 //my:target`
349
350- Fixed issues with mobile-install v1 when deploying to Android 9 Pie
351 devices. https://github.com/bazelbuild/bazel/issues/6814
352
353- Fixed issue where error messages from Android manifest merging
354 actions were not fully propagated.
355
356- New incompatible change flag `--incompatible_use_aapt2_by_default`
357 for defaulting to aapt2 in Android builds has been added. To build with
358 aapt2 today, pass the flag
359 `--incompatible_use_aapt2_by_default=true` or
360 `--android_aapt=aapt2`, or set the `aapt_version` to `aapt2` on
361 your `android_binary` or `android_local_test` target.
362
363- Fixed mobile-install v1 error when installing an app with native
364 libraries onto an Android 9 (Pie) device. See
365 https://github.com/bazelbuild/examples/issues/77
366
367- Fixed a mobile-install bug where `arm64-v8a` libraries were not
368 deployed correctly on `arm64` devices. This was done by enabling
369 incremental native lib deployment by default. A previously
370 undocumented `--android_incremental_native_libs` flag is removed,
371 and is now the regular behavior. See
372 https://github.com/bazelbuild/bazel/issues/2239
373
374### Apple
375
376- The `objc_bundle` rule has been removed. Please migrate to rules_apple's
377 [apple_bundle_import](https://github.com/bazelbuild/rules_apple/bl
378 ob/master/doc/rules-resources.md#apple_bundle_import).
379
380- The `apple_stub_binary` rule has been deleted.
381
382- The `--xbinary_fdo` option that passes xbinary profiles has been added.
383
384### C++
385
386- `cc_toolchain.(static|dynamic)_runtime_libs` attributes are now optional
387
388### Packaging
389
390- `build_tar.py` in `tools/build_defs/pkg` now supports a JSON manifest
391 that can be used to add paths that have symbols that can't be
392 specified via the command line
393
394### Query
395
396- Filtering of inputs, outputs, and mnemonic filtering have been added to
397 aquery.
398
399- The aquery and cquery query2 tests have been open-sourced.
400
401- The Bazel query how-to recommends ":*" instead of ":all", because "all" might
402 be the name of a target.
403
404### Testing
405
406- The `--runs_per_test` has been placed in the TESTING documentation category.
407
408- A a clarifying message has been added to test case summary output when all
409 test cases pass but the target fails.
410
411### Contributors
412
413This release contains contributions from many people at Google, as well as
414Benjamin Peterson, Dave Lee, George Gensure, Gert van Dijk, Gustavo Storti
415Salibi, Keith Smiley, Loo Rong Jie, Lukasz Tekieli, Mikhail Mazurskiy, Thi,
416Travis Cline, Vladimir Chebotarev, and Yannic.
Bazel Release System2f82b332019-01-28 13:54:53 +0100417
Bazel Release Systema189d422018-12-19 13:53:11 +0100418## Release 0.21.0 (2018-12-19)
419
420```
421Baseline: cb9b2afbba3f8d3a1db8bf68e65d06f1b36902f5
422
423Cherry picks:
424
425 + 12b96466ee0d6ab83f7d4cd24be110bb5021281d:
426 Windows, test wrapper: rename the associated flag
427 + 7fc967c4d6435de2bb4e34aac00ca2e499f55fca:
428 Use a fixed thread pool in ByteStreamBuildEventArtifactUploader
429 + 798b9a989aa793655d29504edb5fb85f3143db84:
430 Add --build_event_upload_max_threads option
431 + dbe05df23ccf4c919379e0294e0701fd3f66739c:
432 Update the version of skylib bundled in the distfile
433```
434
435Incompatible changes:
436
437 - The --experimental_stl command line option is removed.
438 - aquery defaults to human readable output format.
439
440New features:
441
442 - repository_ctx.download and repository_ctx.download_and_extract
443 now return a struct.
444 - Android Databinding v2 can be enabled with
445 --experimental_android_databinding_v2.
446
447Important changes:
448
449 - The deprecated and unmaintained Docker rules in
450 tools/build_defs/docker were removed. Please use
451 https://github.com/bazelbuild/rules_docker instead.
452 - The new --upload_query_output_using_bep query/cquery/aquery flag
453 causes query outputs to be uploaded via BEP.
454 - New incompatible flag --incompatible_strict_argument_ordering
455 - --strict_android_deps and --strict_java_deps were renamed to
456 --experimental_strict_java_deps
457 - config_settings that select on "compiler" value instead of values
458 = {"compiler" : "x"} should use flag_values =
459 {"@bazel_tools//tools/cpp:compiler": "x"}.
460 - The new --upload_query_output_using_bep query/cquery/aquery flag
461 causes query outputs to be uploaded via BEP.
462 - Turn on --incompatible_disable_sysroot_from_configuration
463 - We revamped our Android with Bazel tutorial! Check it out
464 [here](https://docs.bazel.build/versions/master/tutorial/android-a
465 pp.html).
466 - --incompatible_disallow_slash_operator is now on by default
467 - Enable --experimental_check_desugar_deps by default. This flag
468 rules out several types of invalid Android builds at compile-time.
469 - The --max_config_changes_to_show option lists the names of
470 options which
471 have changed and thus caused the analysis cache to be dropped.
472 - The --experimental_strict_action_env option has been renamed to
473 --incompatible_strict_action_env and is now on by default. This
474 means Bazel will no longer use the client's PATH and
475 LD_LIBRARY_PATH environmental variables in the default action
476 environment. If the old behavior is desired, pass
477 --action_env=PATH and --action_env=LD_LIBRARY_PATH.
478 --noincompatible_strict_action_env will also temporarily restore
479 the old behavior. However, as --action_env is a more general and
480 explicit way to pass client environmental variables into actions,
481 --noincompatible_strict_action_env will eventually be deprecated
482 and removed. See #6648 for more details.
483 - XCRUNWRAPPER_LABEL has been removed. If you used this value
484 before, please use @bazel_tools//tools/objc:xcrunwrapper instead.
485 - --incompatible_static_name_resolution is no unable by default
486 - We will phase out --genrule_strategy in favor of
487 --strategy=Genrule=<value> (for genrules) or
488 --spawn_strategy=<value> (for all actions).
489 - --incompatible_package_name_is_a_function is now enabled by
490 default
491 - Dynamic execution is now available with
492 --experimental_spawn_strategy. Dynamic execution allows a build
493 action to run locally and remotely simultaneously, and Bazel
494 picks the fastest action. This provides the best of both worlds:
495 faster clean builds than pure local builds, and faster
496 incremental builds than pure remote builds.
497 - --incompatible_package_name_is_a_function is now enabled by
498 default
499 - New incompatible flag --incompatible_merge_genfiles_directory
500 - grpc log now logs updateActionResult
501 - CppConfiguration doesn't do package loading anymore. That means:
502 * it's no longer needed to have C++ toolchain available when
503 building non-C++ projects
504 * bazel will not analyze C++ toolchain when not needed -> speedup
505 ~2s on bazel startup when C++ rules using hermetic toolchain are
506 not loaded
507 - --incompatible_package_name_is_a_fu...
508
509This 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.
510
Bazel Release System85378562018-11-30 15:34:16 +0100511## Release 0.20.0 (2018-11-30)
512
513```
514Baseline: 7bf7f031c332dc483257248d1c1f98ad75bbc83b
515
516Cherry picks:
517
518 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
519 update bazel-toolchains pin to latest release Part of changes to
520 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
521 before 0.17.0 are not compatible with bazel 0.19.0 or above.
522 + 241f28d05424db2d11ee245dc856b992258505e3:
523 Revert "Toggle --incompatible_disable_late_bound_option_defaults
524 flag."
525 + f7e5aef145c33968f658eb2260e25630dc41cc67:
526 Add cc_toolchain targets for the new entries in the default
527 cc_toolchain_suite.
528 + d2920e32ec7f3f8551a693d33c17b19f1b802145:
529 Revert "WindowsFileSystem: open files with delete-sharing"
530```
531
532[Breaking changes in 0.20](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Abreaking-change-0.20)
533
534 - [--incompatible_remove_native_http_archive](https://github.com/bazelbuild/bazel/issues/6570).
535 - [--incompatible_remove_native_git_repository](https://github.com/bazelbuild/bazel/issues/6569).
536 - [--incompatible_disable_cc_toolchain_label_from_crosstool_proto](https://github.com/bazelbuild/bazel/issues/6434).
537 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6384).
538 - [--incompatible_disable_cc_configuration_make_variables](https://github.com/bazelbuild/bazel/issues/6381).
539 - [--incompatible_disallow_conflicting_providers](https://github.com/bazelbuild/bazel/issues/5902).
540 - [--incompatible_range_type](https://github.com/bazelbuild/bazel/issues/5264).
541
542[0.20 is a migration window for the following changes](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Amigration-0.20)
543
544 - [--incompatible_use_jdk10_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6661)
545 - [--incompatible_use_remotejdk_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6656)
546 - [--incompatible_disable_sysroot_from_configuration](https://github.com/bazelbuild/bazel/issues/6565)
547 - [--incompatible_provide_cc_toolchain_info_from_cc_toolchain_suite](https://github.com/bazelbuild/bazel/issues/6537)
548 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6383)
549 - [--incompatible_package_name_is_a_function](https://github.com/bazelbuild/bazel/issues/5827)
550
551[Breaking changes in the next release (0.21)](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Abreaking-change-0.21)
552
553 - [--incompatible_use_jdk10_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6661)
554 - [--incompatible_use_remotejdk_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6656)
555 - [--incompatible_disable_sysroot_from_configuration](https://github.com/bazelbuild/bazel/issues/6565)
556 - [--incompatible_provide_cc_toolchain_info_from_cc_toolchain_suite](https://github.com/bazelbuild/bazel/issues/6537)
557 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6383)
558 - [--incompatible_disallow_data_transition](https://github.com/bazelbuild/bazel/issues/6153)
559 - [--incompatible_package_name_is_a_function](https://github.com/bazelbuild/bazel/issues/5827)
560 - [--incompatible_disallow_slash_operator](https://github.com/bazelbuild/bazel/issues/5823)
561 - [--incompatible_static_name_resolution](https://github.com/bazelbuild/bazel/issues/5637)
562
563Incompatible changes:
564
565 - the --experimental_no_dotd_scanning_with_modules command line
566 argument is not supported anymore.
567 - The --prune_cpp_modules command line option is not supported
568 anymore.
569 - the --experimental_prune_cpp_input_discovery command line option
570 is not supported anymore.
571
572New features:
573
574 - Added support for Android NDK r18.
575
576Important changes:
577
578 - The 'default' parameter of attr.output and attr.output_list is
579 removed. This is controlled by
580 --incompatible_no_output_attr_default
581 - A number of platform-related Starlark APIs which were previously
582 marked "experimental" are now disabled by default, and may be
583 enabled via --experimental_platforms_api
584 - Make legacy-test-support ("legacy_test-<api-level>") from
585 android_sdk_repository neverlink. The legacy test support
586 libraries shouldn't be built into test binaries. To make them
587 available at runtime, developers should declare them via
588 uses-library:
589 https://developer.android.com/training/testing/set-up-project#andr
590 oid-test-base
591 - query remote server Capabilities (per REAPI v2)
592 - CppRules: All cc_toolchains depended on from
593 cc_toolchain_suite.toolchains are now analyzed when not using
594 platforms in order to select the right cc_toolchain.
595 - removed obsolete --explicit_jre_deps flag.
596 - Incompatible flag
597 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
598 flipped.
599 - Improve error messaging when unsupport proguard options are
600 specified at the library level.
601 - Incompatible flag
602 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
603 flipped.
604 - Incompatible flag
605 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
606 flipped.
607 - The --incompatible_disable_late_bound_option_defaults flag has
608 been flipped (#6384)
609 - Incompatible flag
610 --incompatible_disable_legacy_flags_cc_toolchain_api was flipped
611 (#6434)
612 - Fixed issue where ctx.resolve_command created conflicting
613 intermediate files when resolve_command was called multiple times
614 within the same rule invocation with a long command attribute.
615 - Incompatible flag
616 --incompatible_disable_cc_configuration_make_variables was
617 flipped (#6381)
618 - If the --javabase flag is unset, it Bazel locates a JDK using
619 the JAVA_HOME environment variable and searching the PATH. If no
620 JDK is found --javabase will be empty, and builds targeting Java
621 will not
622 be supported. Previously Bazel would fall back to using the
623 embedded
624 JDK as a --javabase, but this is no longer default behaviour. A
625 JDK should
626 be explicitly installed instead to enable Java development
627 - Bazel will now shut down when idle for 5 minutes and the system
628 is low on RAM (linux only).
629 - CROSSTOOL file is now read from the package of cc_toolchain, not
630 from
631 the package of cc_toolchain_suite. This is not expected to break
632 anybody since
633 cc_toolchain_suite and cc_toolchain are commonly in the same
634 package.
635 - All overrides of Starlark's ctx.new_file function are now
636 deprecated.
637 Try the `--incompatible_new_actions_api` flag to ensure your
638 code is forward-compatible.
639 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
640 was flipped.
641 - Introduce --(no)shutdown_on_low_sys_mem startup flag to toggle
642 idle low-memory shutdown, disabled by default.
643 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
644 was flipped.
645 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
646 was flipped.
647 - CppRules: All cc_toolchains depended on from
648 cc_toolchain_suite.toolchains are now analyzed when not using
649 platforms in order to select the right cc_toolchain.
650 - The function `attr.license` is deprecated and will be removed.
651 It can be disabled now with `--incompatible_no_attr_license`.
652 - `range()` function now returns a lazy value
653 (`--incompatible_range_type` is now set by default).
654 - The code coverage report now includes the actual paths to header
655 files instead of the ugly,
656 Bazel generated, virtual includes path.
657 - `--incompatible_disallow_conflicting_providers` has been switched
658 to true
659 - Add new flag `--incompatible_disable_systool_from_configration` to
660 disable loading the systool from CppConfiguration.
661 - Add new flag `--incompatible_disable_sysroot_from_configuration`
662 to
663 disable loading the systool from CppConfiguration.
664 - Sorting remote Platform properties for remote execution. May
665 affect cache keys!
666 - Use different server log files per Bazel server process; java.log
667 is
668 now a symlink to the latest log.
669
670This 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>.
671
Bazel Release Systemcb3e2982018-11-19 11:19:38 -0500672## Release 0.19.2 (2018-11-19)
673
674```
675Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
676
677Cherry picks:
678
679 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
680 Fix the "nojava" platform and enable full presubmit checks for
681 the various JDK platforms now that we have enough GCE resources.
682 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
683 Add openjdk_linux_archive java_toolchain for nojava platform.
684 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
685 Automated rollback of commit
686 19a401c38e30ebc0879925a5caedcbe43de0028f.
687 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
688 Windows: Fix Precondition check for addDynamicInputLinkOptions
689 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
690 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
691 it exists.
692 + e025726006236520f7e91e196b9e7f139e0af5f4:
693 Update turbine
694 + 5f312dd1678878fb7563eae0cd184f2270346352:
695 Fix event id for action_completed BEP events
696 + f0c844c77a2406518c4e75c49188390d5e281d3d:
697 Release 0.19.0 (2018-10-29)
698 + c3fb1db9e4e817e8a911f5b347b30f2674a82f7c:
699 Do not use CROSSTOOL to select cc_toolchain
700 + 8e280838e8896a6b5eb5421fda435b96b6f8de60:
701 Windows Add tests for msys gcc toolchain and mingw gcc toolchain
702 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
703 update bazel-toolchains pin to latest release Part of changes to
704 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
705 before 0.17.0 are not compatible with bazel 0.19.0 or above.
706 + eb2af0f699350ad187048bf814a95af23f562c77:
707 Release 0.19.1 (2018-11-12)
708 + 6bc452874ddff69cbf7f66186238032283f1195f:
709 Also update cc_toolchain.toolchain_identifier when
710 CC_TOOLCHAIN_NAME is set
711 + f7e5aef145c33968f658eb2260e25630dc41cc67:
712 Add cc_toolchain targets for the new entries in the default
713 cc_toolchain_suite.
714 + 683c302129b66a8999f986be5ae7e642707e978c:
715 Read the CROSSTOOL from the package of the current cc_toolchain,
716 not from --crosstool_top
717```
718
719- Fixes regression #6662, by fixing tools/cpp/BUILD
720- Fixes regression #6665, by setting the toolchain identifier.
721- CROSSTOOL file is now read from the package of cc_toolchain, not from the
722 package of cc_toolchain_suite. This is not expected to break anybody since
723 cc_toolchain_suite and cc_toolchain are commonly in the same package.
724
Bazel Release System684f1092018-11-12 10:26:58 -0500725## Release 0.19.1 (2018-11-12)
726
727```
728Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
729
730Cherry picks:
731
732 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
733 Fix the "nojava" platform and enable full presubmit checks for
734 the various JDK platforms now that we have enough GCE resources.
735 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
736 Add openjdk_linux_archive java_toolchain for nojava platform.
737 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
738 Automated rollback of commit
739 19a401c38e30ebc0879925a5caedcbe43de0028f.
740 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
741 Windows: Fix Precondition check for addDynamicInputLinkOptions
742 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
743 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
744 it exists.
745 + e025726006236520f7e91e196b9e7f139e0af5f4:
746 Update turbine
747 + 5f312dd1678878fb7563eae0cd184f2270346352:
748 Fix event id for action_completed BEP events
749 + f0c844c77a2406518c4e75c49188390d5e281d3d:
750 Release 0.19.0 (2018-10-29)
751 + c3fb1db9e4e817e8a911f5b347b30f2674a82f7c:
752 Do not use CROSSTOOL to select cc_toolchain
753 + 8e280838e8896a6b5eb5421fda435b96b6f8de60:
754 Windows Add tests for msys gcc toolchain and mingw gcc toolchain
755 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
756 update bazel-toolchains pin to latest release Part of changes to
757 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
758 before 0.17.0 are not compatible with bazel 0.19.0 or above.
759```
760
761Important changes:
762- Fix regression #6610, which prevents using the MINGW compiler on Windows.
763
Klaus Aehlig5e5832c2018-10-31 15:45:53 +0100764## Release 0.19.0 (2018-10-29)
765
766```
767Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
768
769Cherry picks:
770
771 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
772 Fix the "nojava" platform and enable full presubmit checks for
773 the various JDK platforms now that we have enough GCE resources.
774 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
775 Add openjdk_linux_archive java_toolchain for nojava platform.
776 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
777 Automated rollback of commit
778 19a401c38e30ebc0879925a5caedcbe43de0028f.
779 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
780 Windows: Fix Precondition check for addDynamicInputLinkOptions
781 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
782 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
783 it exists.
784 + e025726006236520f7e91e196b9e7f139e0af5f4:
785 Update turbine
786 + 5f312dd1678878fb7563eae0cd184f2270346352:
787 Fix event id for action_completed BEP events
788```
789
790The Bazel team is happy to announce a new version of Bazel, [Bazel 0.19](https://github.com/bazelbuild/bazel/releases/tag/0.19.0).
791
792This document lists the major changes since Bazel 0.18.
793
794General changes
795---------------
796
797* The `--incompatible_expand_directories` flag will automatically expand directories in command lines. Design doc: https://docs.google.com/document/d/11agWFiOUiz2htBLj6swPTob5z78TrCxm8DQE4uJLOwM
798
799* 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.
800
801Android
802-------
803
804* Fixed missing debug symbols when building native code with `--compilation_mode=dbg` that target Android ARM architectures by adding the `-g` flag.
805
806C++
807---
808
809* 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.
810
811* 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.
812
813* :cc_binary link action no longer hardcodes `-static-libgcc` for toolchains that support embedded runtimes (guarded by `--experimental_dont_emit_static_libgcc` temporarily).
814
815* The flag `--experimental_enable_cc_configuration_make_variables` is removed, use `--incompatible_disable_cc_configuration_make_variables` instead.
816
817Java
818----
819
820* 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.
821
822Code Coverage
823-------------
824
825* LcovMerger was renamed to CoverageOutputGenerator.
826
827* Faster coverage collection for gcc compiled C++ code can now be tested by enabling it with `--experimental_cc_coverage`.
828
829Other Changes
830-------------
831
832* Add `--apple_compiler` and `--apple_grte_top options`. These provide the equivalent of --compiler / --grte_top for the toolchain configured in --apple_crosstool_top.
833
834* There is now a `same_pkg_direct_rdeps` query function. See the query documentation for more details.
835
836* Propagating remote errors to the user even if `--verbose_failures=false` is set.
837
838* Add number of configured targets to analysis phase status output.
839
840* 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.
841
842Future Changes
843--------------
844
845* 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:
846 * [`--incompatible_disable_late_bound_option_defaults`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-late-bound-option-defaults): #6384
847 * [`--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
848 * [`--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
849 * [`--incompatible_disable_cc_configuration_make_variables`](https://github.com/bazelbuild/bazel/issues/6381): #6381
850 * [`--incompatible_disable_legacy_cpp_toolchain_skylark_api`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-legacy-c-configuration-api): #6380
851 * [`incompatible_disable_legacy_flags_cc_toolchain_api`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-legacy-c-toolchain-api): #6434
852
853* 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.
854
855Thank you to our contributors!
856------------------------------
857
858This 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
859
860Thank you to everyone who contributed to this release!
861
Bazel Release System92849b82018-10-31 15:41:11 +0100862## Release 0.18.1 (2018-10-31)
Bazel Release System36177972018-10-15 10:29:10 +0200863
864```
Bazel Release System92849b82018-10-31 15:41:11 +0100865Baseline: c062b1f1730f3562d5c16a037b374fc07dc8d9a2
Bazel Release System36177972018-10-15 10:29:10 +0200866
867Cherry picks:
868
Bazel Release System92849b82018-10-31 15:41:11 +0100869 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
870 Include also ext jars in the bootclasspath jar.
871 + 2579b791c023a78a577e8cb827890139d6fb7534:
872 Fix toolchain_java9 on --host_javabase=<jdk9> after
873 7eb9ea150fb889a93908d96896db77d5658e5005
874 + faaff7fa440939d4367f284ee268225a6f40b826:
875 Release notes: fix markdown
876 + b073a18e3fac05e647ddc6b45128a6158b34de2c:
877 Fix NestHost length computation Fixes #5987
878 + bf6a63d64a010f4c363d218e3ec54dc4dc9d8f34:
879 Fixes #6219. Don't rethrow any remote cache failures on either
880 download or upload, only warn. Added more tests.
881 + c1a7b4c574f956c385de5c531383bcab2e01cadd:
882 Fix broken IdlClassTest on Bazel's CI.
883 + 71926bc25b3b91fcb44471e2739b89511807f96b:
884 Fix the Xcode version detection which got broken by the upgrade
885 to Xcode 10.0.
886 + 86a8217d12263d598e3a1baf2c6aa91b2e0e2eb5:
887 Temporarily restore processing of workspace-wide tools/bazel.rc
888 file.
Bazel Release System83870d62018-10-29 10:31:13 -0400889 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
890 Windows: Fix Precondition check for addDynamicInputLinkOptions
Bazel Release System83870d62018-10-29 10:31:13 -0400891 + e025726006236520f7e91e196b9e7f139e0af5f4:
892 Update turbine
Bazel Release System36177972018-10-15 10:29:10 +0200893```
894
Bazel Release System92849b82018-10-31 15:41:11 +0100895Important changes:
Bazel Release System83870d62018-10-29 10:31:13 -0400896
Bazel Release System92849b82018-10-31 15:41:11 +0100897 - Fix regression #6219, remote cache failures
Bazel Release System36177972018-10-15 10:29:10 +0200898
Klaus Aehlig7b417542018-10-29 15:46:36 +0100899## Release 0.18.0 (2018-10-15)
900
901```
902Baseline: c062b1f1730f3562d5c16a037b374fc07dc8d9a2
903
904Cherry picks:
905
906 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
907 Include also ext jars in the bootclasspath jar.
908 + 2579b791c023a78a577e8cb827890139d6fb7534:
909 Fix toolchain_java9 on --host_javabase=<jdk9> after
910 7eb9ea150fb889a93908d96896db77d5658e5005
911 + faaff7fa440939d4367f284ee268225a6f40b826:
912 Release notes: fix markdown
913 + b073a18e3fac05e647ddc6b45128a6158b34de2c:
914 Fix NestHost length computation Fixes #5987
915 + bf6a63d64a010f4c363d218e3ec54dc4dc9d8f34:
916 Fixes #6219. Don't rethrow any remote cache failures on either
917 download or upload, only warn. Added more tests.
918 + c1a7b4c574f956c385de5c531383bcab2e01cadd:
919 Fix broken IdlClassTest on Bazel's CI.
920 + 71926bc25b3b91fcb44471e2739b89511807f96b:
921 Fix the Xcode version detection which got broken by the upgrade
922 to Xcode 10.0.
923 + 86a8217d12263d598e3a1baf2c6aa91b2e0e2eb5:
924 Temporarily restore processing of workspace-wide tools/bazel.rc
925 file.
926```
927
928General changes
929
930- New [bazelrc file list](https://docs.bazel.build/versions/master/user-manual.html#where-are-the-bazelrc-files).
931 If you need to keep both the old and new lists of .rc files active
932 concurrently to support multiple versions of Bazel, you can import the old
933 file location into the new list using `try-import`. This imports a file if it
934 exists and silently exits if it does not. You can use this method to account
935 for a user file that may or may not exist
936
937- [.bazelignore](https://docs.bazel.build/versions/master/user-manual.html#.bazelignore)
938 is now fully functional.
939
940- The startup flag `--host_javabase` has been renamed to
941 `--server_javabase` to avoid confusion with the build flag
942 `--host_javabase`.
943
944Android
945
946- The Android resource processing pipeline now supports persistence
947 via worker processes. Enable it with
948 `--persistent_android_resource_processor`. We have observed a 50% increase
949 in build speed for clean local builds and up to 150% increase in build
950 speed for incremental local builds.
951
952C++
953
954- In-memory package //tools/defaults has been removed (controlled by
955 `--incompatible_disable_tools_defaults_package` flag). Please see
956 [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-inmemory-tools-defaults-package)
957 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
958 behavior will be removed in Bazel 0.20.
959
960- Late bound option defaults (typical example was the `--compiler` flag, when
961 it was not specified, it’s value was computed using the CROSSTOOL) are removed
962 (controlled by `--incompatible_disable_late_bound_option_defaults` flag).
963 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-late-bound-option-defaults)
964 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
965 behavior will be removed in Bazel 0.20.
966
967- Depsets are no longer accepted in `user_compile_flags` and `user_link_flags`
968 in the C++ toolchain API (controlled by
969 `--incompatible_disable_depset_in_cc_user_flags` flag) affects C++ users.
970 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-depsets-in-c-toolchain-api-in-user-flags)
971 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
972 behavior will be removed in Bazel 0.20.
973
974- CROSSTOOL is no longer consulted when selecting C++ toolchain (controlled by
975 `--incompatible_disable_cc_toolchain_label_from_crosstool_proto` flag).
976 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-crosstool-to-select-the-cc_toolchain-label)
977 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
978
979- You can now use [`toolchain_identifier` attribute](https://github.com/bazelbuild/bazel/commit/857d4664ce939f240b1d10d8d2baca6c6893cfcb)
980 on `cc_toolchain` to pair it with CROSSTOOL toolchain.
981
982- C++ specific Make variables
983 are no longer passed from the `CppConfiguration`, but from the C++ toolchain
984 (controlled by `--incompatible_disable_cc_configuration_make_variables` flag).
985 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-c-specific-make-variables-from-the-configuration)
986 and migrate soon, the flag will be flipped
987 in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
988
989- Skylark api accessing C++
990 toolchain in `ctx.fragments.cpp` is removed (controlled by
991 `--incompatible_disable_legacy_cpp_toolchain_skylark_api` flag).
992 Please migrate soon, the flag will be flipped
993 in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
994
995- cc_binary link action no longer hardcodes
996 `-static-libgcc` for toolchains that support embedded runtimes
997 (guarded by [`--experimental_dont_emit_static_libgcc`](https://source.bazel.build/bazel/+/2f281960b829e964526a9d292d4c3003e4d19f1c)
998 temporarily). Proper deprecation using `--incompatible` flags will follow.
999
1000Java
1001
1002- Future versions of Bazel will require a locally installed JDK
1003 for Java development. Previously Bazel would fall back to using
1004 the embedded `--server_javabase` if no JDK as available. Pass
1005 `--incompatible_never_use_embedded_jdk_for_javabase` to disable the
1006 legacy behaviour.
1007
1008- `--javacopt=` no longer affects compilations of tools that are
1009 executed during the build; use `--host_javacopt=` to change javac
1010 flags in the host configuration.
1011
1012Objective C
1013
1014- `objc_library` now supports the module_name attribute.
1015
1016Skylark
1017
1018- Adds `--incompatible_expand_directories` to automatically expand
1019 directories in skylark command lines. Design doc:
1020 https://docs.google.com/document/d/11agWFiOUiz2htBLj6swPTob5z78TrCxm8DQE4uJLOwM
1021
1022- Support fileset expansion in ctx.actions.args(). Controlled by
1023 `--incompatible_expand_directories`.
1024
1025Windows
1026
1027- `--windows_exe_launcher` is deprecated, this flag will be removed
1028 soon. Please make sure you are not using it.
1029
1030- Bazel now supports the symlink runfiles tree on Windows with
1031 `--experimental_enable_runfiles` flag. For more details, see
1032 [this doc](https://docs.google.com/document/d/1hnYmU1BmtCSJOUvvDAK745DSJQCapToJxb3THXYMrmQ).
1033
1034Other Changes
1035
1036- A new experimental option `--experimental_ui_deduplicate` has been added. It
1037 causes the UI to attempt to deduplicate messages from actions to keep the
1038 console output cleaner.
1039
1040- Add `--modify_execution_info`, a flag to customize action execution
1041 info.
1042
1043- Add ExecutionInfo to aquery output for ExecutionInfoSpecifier
1044 actions.
1045
1046- When computing `--instrumentation_filter`, end filter patterns with
1047 "[/:]" to match non-top-level packages exactly and treat
1048 top-level targets consistently.
1049
1050- Added the `bazel info server_log` command, which obtains the main Bazel
1051 server log file path. This can help debug Bazel issues.
1052
1053- `aapt shrink` resources now properly respect filter configurations.
1054
Bazel Release System50921e62018-09-21 12:27:04 +02001055## Release 0.17.2 (2018-09-21)
1056
1057```
1058Baseline: aa118ca818baf722aede0bc48d0a17584fa45b6e
1059
1060Cherry picks:
1061 + 0e0462589528154cb5160411991075a2000b5452:
1062 Update checker framework dataflow and javacutil versions
1063 + 3987300d6651cf0e6e91b395696afac6913a7d66:
1064 Stop using --release in versioned java_toolchains
1065 + 438b2773b8c019afa46be470b90bcf70ede7f2ef:
1066 make_deb: Add new empty line in the end of conffiles file
1067 + 504401791e0a0e7e3263940e9e127f74956e7806:
1068 Properly mark configuration files in the Debian package.
1069 + 9ed9d8ac4347408d15c8fce7c9c07e5c8e658b30:
1070 Add flag
1071 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfil
1072 es_tree.
1073 + 22d761ab42dfb1b131f1facbf490ccdb6c17b89c:
1074 Update protobuf to 3.6.1 -- add new files
1075 + 27303d79c38f2bfa3b64ee7cd7a6ef03a9a87842:
1076 Update protobuf to 3.6.1 -- update references
1077 + ddc97ed6b0367eb443e3e09a28d10e65179616ab:
1078 Update protobuf to 3.6.1 -- remove 3.6.0 sources
1079 + ead1002d3803fdfd4ac68b4b4872076b19d511a2:
1080 Fix protobuf in the WORKSPACE
1081 + 12dcd35ef7a26d690589b0fbefb1f20090cbfe15:
1082 Revert "Update to JDK 10 javac"
1083 + 7eb9ea150fb889a93908d96896db77d5658e5005:
1084 Automated rollback of
1085 https://github.com/bazelbuild/bazel/commit/808ec9ff9b5cec14f23a4b
1086 a106bc5249cacc8c54 and
1087 https://github.com/bazelbuild/bazel/commit/4c9149d558161e7d3e363f
1088 b697f5852bc5742a36 and some manual merging.
1089 + 4566a428c5317d87940aeacfd65f1018340e52b6:
1090 Fix tests on JDK 9 and 10
1091 + 1e9f0aa89dad38eeab0bd40e95e689be2ab6e5e5:
1092 Fix more tests on JDK 9 and 10
1093 + a572c1cbc8c26f625cab6716137e2d57d05cfdf3:
1094 Add ubuntu1804_nojava, ubuntu1804_java9, ubuntu1804_java10 to
1095 postsubmit.
1096 + 29f1de099e4f6f0f50986aaa4374fc5fb7744ee8:
1097 Disable Android shell tests on the "nojava" platform.
1098 + b495eafdc2ab380afe533514b3bcd7d5b30c9935:
1099 Update bazel_toolchains to latest release.
1100 + 9323c57607d37f9c949b60e293b573584906da46:
1101 Windows: fix writing java.log
1102 + 1aba9ac4b4f68b69f2d91e88cfa8e5dcc7cb98c2:
1103 Automated rollback of commit
1104 de22ab0582760dc95f33e217e82a7b822378f625.
1105 + 2579b791c023a78a577e8cb827890139d6fb7534:
1106 Fix toolchain_java9 on --host_javabase=<jdk9> after
1107 7eb9ea150fb889a93908d96896db77d5658e5005
1108 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
1109 Include also ext jars in the bootclasspath jar.
1110 + fdb09a260dead1e1169f94584edc837349a4f4a5:
1111 Release 0.17.1 (2018-09-14)
1112 + 1d956c707e1c843896ac58a341c335c9c149073d:
1113 Do not fail the build when gcov is not installed
1114 + 2e677fb6b8f309b63558eb13294630a91ee0cd33:
1115 Ignore unrecognized VM options in desugar.sh, such as the JVM 9
1116 flags to silence warnings.
1117```
1118
1119Important changes:
1120
1121 - In the future, Bazel will expand tree artifacts in runfiles, too,
1122 which causes the sandbox to link each file individually into the
1123 sandbox directory, instead of symlinking the entire directory. In
1124 this release, the behavior is not enabled by default yet. Please
1125 try it out via
1126 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
1127 s_tree and let us know if it causes issues. If everything looks
1128 good, this behavior will become the default in a following
1129 release.
1130
Bazel Release Systemfdb09a22018-09-14 12:15:54 +02001131## Release 0.17.1 (2018-09-14)
1132
1133```
1134Baseline: aa118ca818baf722aede0bc48d0a17584fa45b6e
1135
1136Cherry picks:
1137 + 0e0462589528154cb5160411991075a2000b5452:
1138 Update checker framework dataflow and javacutil versions
1139 + 3987300d6651cf0e6e91b395696afac6913a7d66:
1140 Stop using --release in versioned java_toolchains
1141 + 438b2773b8c019afa46be470b90bcf70ede7f2ef:
1142 make_deb: Add new empty line in the end of conffiles file
1143 + 504401791e0a0e7e3263940e9e127f74956e7806:
1144 Properly mark configuration files in the Debian package.
1145 + 9ed9d8ac4347408d15c8fce7c9c07e5c8e658b30:
1146 Add flag
1147 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfil
1148 es_tree.
1149 + 22d761ab42dfb1b131f1facbf490ccdb6c17b89c:
1150 Update protobuf to 3.6.1 -- add new files
1151 + 27303d79c38f2bfa3b64ee7cd7a6ef03a9a87842:
1152 Update protobuf to 3.6.1 -- update references
1153 + ddc97ed6b0367eb443e3e09a28d10e65179616ab:
1154 Update protobuf to 3.6.1 -- remove 3.6.0 sources
1155 + ead1002d3803fdfd4ac68b4b4872076b19d511a2:
1156 Fix protobuf in the WORKSPACE
1157 + 12dcd35ef7a26d690589b0fbefb1f20090cbfe15:
1158 Revert "Update to JDK 10 javac"
1159 + 7eb9ea150fb889a93908d96896db77d5658e5005:
1160 Automated rollback of
1161 https://github.com/bazelbuild/bazel/commit/808ec9ff9b5cec14f23a4b
1162 a106bc5249cacc8c54 and
1163 https://github.com/bazelbuild/bazel/commit/4c9149d558161e7d3e363f
1164 b697f5852bc5742a36 and some manual merging.
1165 + 4566a428c5317d87940aeacfd65f1018340e52b6:
1166 Fix tests on JDK 9 and 10
1167 + 1e9f0aa89dad38eeab0bd40e95e689be2ab6e5e5:
1168 Fix more tests on JDK 9 and 10
1169 + a572c1cbc8c26f625cab6716137e2d57d05cfdf3:
1170 Add ubuntu1804_nojava, ubuntu1804_java9, ubuntu1804_java10 to
1171 postsubmit.
1172 + 29f1de099e4f6f0f50986aaa4374fc5fb7744ee8:
1173 Disable Android shell tests on the "nojava" platform.
1174 + b495eafdc2ab380afe533514b3bcd7d5b30c9935:
1175 Update bazel_toolchains to latest release.
1176 + 9323c57607d37f9c949b60e293b573584906da46:
1177 Windows: fix writing java.log
1178 + 1aba9ac4b4f68b69f2d91e88cfa8e5dcc7cb98c2:
1179 Automated rollback of commit
1180 de22ab0582760dc95f33e217e82a7b822378f625.
1181 + 2579b791c023a78a577e8cb827890139d6fb7534:
1182 Fix toolchain_java9 on --host_javabase=<jdk9> after
1183 7eb9ea150fb889a93908d96896db77d5658e5005
1184 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
1185 Include also ext jars in the bootclasspath jar.
1186```
1187
1188Incompatible changes:
1189
1190 - Loading @bazel_tools//tools/build_defs/repo:git_repositories.bzl
1191 no longer works. Load @bazel_tools//tools/build_defs/repo:git.bzl
1192 instead.
1193 - If the same artifact is generated by two distinct but identical
1194 actions, and a downstream action has both those actions' outputs
1195 in its inputs, the artifact will now appear twice in the
1196 downstream action's inputs. If this causes problems in Skylark
1197 actions, you can use the uniquify=True argument in Args.add_args.
1198 - If the same artifact is generated by two distinct but identical
1199 actions, and a downstream action has both those actions' outputs
1200 in its inputs, the artifact will now appear twice in the
1201 downstream action's inputs. If this causes problems in Skylark
1202 actions, you can use the uniquify=True argument in Args.add_args.
1203 - Labels in C++ rules' linkopts attribute are not expanded anymore
1204 unless they are wrapped, e.g: $(location //foo:bar)
1205 - If the same artifact is generated by two distinct but identical
1206 actions, and a downstream action has both those actions' outputs
1207 in its inputs, the artifact will now appear twice in the
1208 downstream action's inputs. If this causes problems in Skylark
1209 actions, you can use the uniquify=True argument in Args.add_args.
1210 - New bazelrc file list.
1211 - Windows: when BAZEL_SH envvar is not defined and Bazel searches
1212 for a suitable bash.exe, Bazel will no longer look for Git Bash
1213 and no longer recommend installing it as a Bash implementation.
1214 See issue #5751.
1215 - New bazelrc file list.
1216
1217New features:
1218
1219 - The aquery command now supports --output=text.
1220 - Java, runfiles: the Java runfiles library is now in
1221 @bazel_tools//tools/java/runfiles. The old target
1222 (@bazel_tools//tools/runfiles:java-runfiles) is deprecated and
1223 will be removed in Bazel 0.18.0.
1224 - Java, runfiles: the Java runfiles library is now in
1225 @bazel_tools//tools/java/runfiles. The old target
1226 (@bazel_tools//tools/runfiles:java-runfiles) is deprecated and
1227 will be removed in Bazel 0.19.0 (not 0.18.0, as stated earlier).
1228
1229Important changes:
1230
1231 - Allow @ in package names.
1232 - Remove support for java_runtime_suite; use alias() together with
1233 select() instead.
1234 - Python wrapper scripts for MSVC are removed.
1235 - [JavaInfo] Outputs are merged in java_common.merge().
1236 - Faster analysis by improved parallelization.
1237 - --experimental_shortened_obj_file_path is removed.
1238 - Introduce the --remote_cache_proxy flag,
1239 which allows for remote http caching to connect
1240 via a unix domain socket.
1241 - No longer define G3_VERSION_INFO for c++ linkstamp compiles, as
1242 it was a duplicate of G3_TARGET_NAME.
1243 - Added support for Android NDK r17. The default STL is now
1244 `libc++`, and support for targeting `mips`, `mips64` and `ARMv5`
1245 (`armeabi`) has been removed.
1246 - Add aquery command to get analysis time information about the
1247 action graph.
1248 - Fixed compatibility with aar_import when using aapt2. AAPT2 is
1249 now supported for Android app builds without resource shrinking.
1250 To use it, pass the `--android_aapt=aapt2` flag or define
1251 android_binary.aapt_version=aapt2.
1252 - Code coverage is collected for Java binaries invoked from sh_test.
1253 - java_common.compile creates the native headers jar accesible via
1254 JavaInfo.outputs.native_headers.
1255 - Deleting deprecated no-op flag --show_package_location
1256 - The JDK shipped with Bazel was updated to JDK10.
1257 - Rename the startup flag --host_javabase to --server_javabase to
1258 avoid confusion with the build flag --host_javabase
1259 - newly added options --experimental_repository_hash_file and
1260 --experimental_verify_repository_rules allow to verify for
1261 repositories
1262 the directory generated against pre-recorded hashes. See
1263 documentation
1264 for those options.
1265 - Removed the gen_jars output group
1266 - --subcommands can now take a "pretty_print" value
1267 ("--subcommands=pretty_print") to print the
1268 arguments of subcommands as a list for easier reading.
1269 - follow-up to
1270 https://github.com/bazelbuild/bazel/commit/1ac359743176e659e9c7472
1271 645e3142f3c44b9e8
1272 - A rule error is now thrown if a Skylark rule implementation
1273 function returns multiple providers of the same type.
1274 - When using Bazel's remote execution feature and Bazel has to
1275 fallback to local execution for an action, Bazel used
1276 non-sandboxed
1277 local execution until now. From this release on, you can use the
1278 new
1279 flag --remote_local_fallback_strategy=<strategy> to tell Bazel
1280 which
1281 strategy to use in that case.
1282 - Execution Log Parser can now, when printing it out, filter the
1283 log by runner type
1284 - A rule error is now thrown if a Skylark rule implementation
1285 function returns multiple providers of the same type.
1286 - Removed the gen_jars output group
1287 - Removed the gen_jars output group
1288 - Set --defer_param_files to default to true.
1289 - Sort attribute lists in proto-form query output to fix
1290 non-deterministic genquery output.
1291 - Replace 0/1 with False/True for testonly attribute
1292 - bazel now supports a .bazelignore file specifying
1293 directories to be ignored; however, these directories still
1294 have to be well founded and, in particular, may not contain
1295 symlink cycles.
1296 - Add more detailed reporting of the differences between startup
1297 options.
1298 - update data binding to 3.2.0
1299 - For Android incremental dexing actions, Bazel now persists its
1300 DexBuilder process across individual actions. From our
1301 benchmarks, this results in a 1.2x speedup for clean local builds.
1302 - The standard `xcode_VERSION` feature now always uses exactly two
1303 components in the version, even if you specify `--xcode_version`
1304 with
1305 more or fewer than two.
1306 - A rule error will be thrown if a Skylark rule implementation
1307 function returns multiple providers of the same type. Try the
1308 `--incompatible_disallow_conflicting_providers` flag to ensure
1309 your code is forward-compatible.
1310 - Removed notion of FULLY_STATIC linking mode from C++ rules.
1311 - In documentation, we've renamed Skylark into Starlark.
1312 - Execution Log Parser can now, when printing it out, reorder the
1313 actions for easier text diffs
1314 - Linkstamps are no longer recompiled after server restart.
1315 - Use VanillaJavaBuilder and disable header compilation in
1316 toolchain_hostjdk8. The default toolchain will soon drop
1317 compatibility with JDK 8. Using a JDK 8 host_javabase
1318 will only be supported when using 'VanillaJavaBuilder' (which
1319 does not support Error Prone,
1320 Strict Java Deps, or reduced classpaths) and with header
1321 compilation disabled.
1322 - In the future, Bazel will expand tree artifacts in runfiles, too,
1323 which causes the sandbox to link each file individually into the
1324 sandbox directory, instead of symlinking the entire directory. In
1325 this release, the behavior is not enabled by default yet. Please
1326 try it out via
1327 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
1328 s_tree and let us know if it causes issues. If everything looks
1329 good, this behavior will become the default in a following
1330 release.
1331
Bazel Release System1bd58832018-08-13 15:41:26 +02001332## Release 0.16.1 (2018-08-13)
1333
1334```
1335Baseline: 4f64b77a3dd8e4ccdc8077051927985f9578a3a5
1336
1337Cherry picks:
1338 + 4c9a0c82d308d5df5c524e2a26644022ff525f3e:
1339 reduce the size of bazel's embedded jdk
1340 + d3228b61f633cdc5b3f740b641a0836f1bd79abd:
1341 remote: limit number of open tcp connections by default. Fixes
1342 #5491
1343 + 8ff87c164f48dbabe3b20becd00dde90c50d46f5:
1344 Fix autodetection of linker flags
1345 + c4622ac9205d2f1b42dac8c598e83113d39e7f11:
1346 Fix autodetection of -z linker flags
1347 + 10219659f58622d99034288cf9f491865f818218:
1348 blaze_util_posix.cc: fix order of #define
1349 + ab1f269017171223932e0da9bb539e8a17dd99ed:
1350 blaze_util_freebsd.cc: include path.h explicitly
1351 + 68e92b45a37f2142c768a56eb7ecfa484b8b22df:
1352 openjdk: update macOS openjdk image. Fixes #5532
1353 + f45c22407e6b00fcba706eb62141cb9036bd38d7:
1354 Set the start time of binary and JSON profiles to zero correctly.
1355 + bca1912853086b8e9a28a85a1b144ec0dc9717cc:
1356 remote: fix race on download error. Fixes #5047
1357 + 3842bd39e10612c7eef36c6048407e81bcd0a8fb:
1358 jdk: use parallel old gc and disable compact strings
1359 + 6bd0bdf5140525cb33dc2db068b210261d9df271:
1360 Add objc-fully-link to the list of actions that require the
1361 apple_env feature. This fixes apple_static_library functionality.
1362 + f330439fb970cfa17c70fc59c1458bb1c31c9522:
1363 Add the action_names_test_files target to the OSS version of
1364 tools/buils_defs/cc/BUILD.
1365 + d215b64362c4ede61c8ba87b5f3f57bce4785d15:
1366 Fix StackOverflowError on Windows. Fixes #5730
1367 + 366da4cf27b7f957ef39f89206db77fa2ac289df:
1368 In java_rules_skylark depend on the javabase through
1369 //tools/jdk:current_java_runtime
1370 + 30c601dc13d9e1b40a57434c022c888c7578cc56:
1371 Don't use @local_jdk for jni headers
1372 + c56699db5f9173739ba3ac55aa9fa69b6457a99b:
1373 'DumpPlatformClasspath' now dumps the current JDK's default
1374 platform classpath
1375```
1376
1377This release is a patch release that contains fixes for several serious
1378regressions that were found after the release of Bazel 0.16.0.
1379
1380In particular this release resolves the following issues:
1381
1382 - Bazel crashes with a StackOverflowError on Windows (See #5730)
1383 - Bazel requires a locally installed JDK and does not fall back
1384 to the embedded JDK (See #5744)
1385 - Bazel fails to build for Homebrew on macOS El Capitan (See #5777)
1386 - A regression in apple_static_library (See #5683)
1387
1388Please watch our blog for a more detailed release announcement.
1389
Bazel Release Systemb292ad12018-07-31 12:55:37 -04001390## Release 0.16.0 (2018-07-31)
Bazel Release System97564f62018-07-17 14:19:41 +02001391
1392```
Bazel Release Systemb292ad12018-07-31 12:55:37 -04001393Baseline: 4f64b77a3dd8e4ccdc8077051927985f9578a3a5
Bazel Release System97564f62018-07-17 14:19:41 +02001394
1395Cherry picks:
Bazel Release Systemb292ad12018-07-31 12:55:37 -04001396 + 4c9a0c82d308d5df5c524e2a26644022ff525f3e:
1397 reduce the size of bazel's embedded jdk
1398 + d3228b61f633cdc5b3f740b641a0836f1bd79abd:
1399 remote: limit number of open tcp connections by default. Fixes
1400 #5491
Bazel Release System97564f62018-07-17 14:19:41 +02001401 + 8ff87c164f48dbabe3b20becd00dde90c50d46f5:
1402 Fix autodetection of linker flags
1403 + c4622ac9205d2f1b42dac8c598e83113d39e7f11:
1404 Fix autodetection of -z linker flags
Bazel Release Systemb292ad12018-07-31 12:55:37 -04001405 + 10219659f58622d99034288cf9f491865f818218:
1406 blaze_util_posix.cc: fix order of #define
1407 + ab1f269017171223932e0da9bb539e8a17dd99ed:
1408 blaze_util_freebsd.cc: include path.h explicitly
1409 + 68e92b45a37f2142c768a56eb7ecfa484b8b22df:
1410 openjdk: update macOS openjdk image. Fixes #5532
1411 + f45c22407e6b00fcba706eb62141cb9036bd38d7:
1412 Set the start time of binary and JSON profiles to zero correctly.
1413 + bca1912853086b8e9a28a85a1b144ec0dc9717cc:
1414 remote: fix race on download error. Fixes #5047
1415 + 3842bd39e10612c7eef36c6048407e81bcd0a8fb:
1416 jdk: use parallel old gc and disable compact strings
Bazel Release System97564f62018-07-17 14:19:41 +02001417```
1418
Bazel Release Systemb292ad12018-07-31 12:55:37 -04001419Incompatible changes:
1420
1421 - The $(ANDROID_CPU) Make variable is not available anymore. Use
1422 $(TARGET_CPU) after an Android configuration transition instead.
1423 - The $(JAVA_TRANSLATIONS) Make variable is not supported anymore.
1424 - Skylark structs (using struct()) may no longer have to_json and
1425 to_proto overridden.
1426 - The mobile-install --skylark_incremental_res flag is no longer
1427 available, use the --skylark flag instead.
1428
1429New features:
1430
1431 - android_local_test now takes advantage of Robolectric's binary
1432 resource processing which allows for faster tests.
1433 - Allow @ in package names.
1434
Bazel Release System97564f62018-07-17 14:19:41 +02001435Important changes:
1436
Bazel Release Systemb292ad12018-07-31 12:55:37 -04001437 - Option --glibc is removed, toolchain selection relies solely on
1438 --cpu and --compiler options.
1439 - Build support for enabling cross binary FDO optimization.
1440 - The --distdir option is no longer experimental. This
1441 option allows to specify additional directories to look for
1442 files before trying to fetch them from the network. Files from
1443 any of the distdirs are only used if a checksum for the file
1444 is specified and both, the filename and the checksum, match.
1445 - Java coverage works now with multiple jobs.
1446 - Flip default value of --experimental_shortened_obj_file_path to
1447 true, Bazel now generates short object file path by default.
1448 - New rules for importing Android dependencies:
1449 `aar_import_external` and `aar_maven_import_external`.
1450 `aar_import_external` enables specifying external AAR
1451 dependencies using a list of HTTP URLs for the artifact.
1452 `aar_maven_import_external` enables specifying external AAR
1453 dependencies using the artifact coordinate and a list of server
1454 URLs.
1455 - The BAZEL_JAVAC_OPTS environment variable allows arguments, e.g.,
1456 "-J-Xmx2g", may be passed to the javac compiler during bootstrap
1457 build. This is helpful if your system chooses too small of a max
1458 heap size for the Java compiler during the bootstrap build.
1459 - --noexpand_configs_in_place is deprecated.
1460 - A tool to parse the Bazel execution log.
1461 - Support for LIPO has been fully removed.
1462 - Remove support for --discard_actions_after_execution.
1463 - Add --materialize_param_files flag to write parameter files even
1464 when actions are executed remotely.
1465 - Windows default system bazelrc is read from the user's
1466 ProgramData if present.
1467 - --[no]allow_undefined_configs no longer exists, passing undefined
1468 configs is an error.
Bazel Release System1281a022018-07-16 16:13:53 +02001469 - In remote caching we limit the number of open
1470 TCP connections to 100 by default. The number can be adjusted
1471 by specifying the --remote_max_connections flag.
1472
Bazel Release System5013a332018-06-26 14:07:47 +02001473## Release 0.15.0 (2018-06-26)
1474
1475```
1476Baseline: b93ae42e8e693ccbcc387841a17f58259966fa38
1477
1478Cherry picks:
1479 + 4b80f2455e7e49a95f3a4c9102a67a57dad52207:
1480 Add option to enable Docker sandboxing.
1481 + 6b1635279e8b33dc1ac505ac81825e38f8797a14:
1482 Allow disabling the simple blob caches via CLI flag overrides.
1483 + 4ec0a7524913ab2c4641368e3f8c09b347351a08:
1484 Use BUILD.bazel instead of BUILD for external projects
1485```
1486
1487Incompatible changes:
1488
1489 - Bazel now always runs binaries in with "bazel run" in
1490 interactive mode. The "--nodirect_run" command line option is now
1491 a no-op.
1492 - "bazel run --noas_test" is not supported anymore.
1493 - Indentation on the first line of a file was previously ignored.
1494 This is now fixed.
1495
1496New features:
1497
1498 - C++,runfiles: to access data-dependencies (runfiles) in C++
1499 programs, use the runfiles library built into Bazel. For usage
1500 info, see
1501 https://github.com/bazelbuild/bazel/blob/master/tools/cpp/runfiles
1502 /runfiles.h
1503
1504Important changes:
1505
1506 - Bazel now allows almost all 7-bit ASCII characters in labels.
1507 - Remove vestigial java_plugin.data attribute
1508 - Bazel supports including select Java 8 APIs into Android apps
1509 targeting pre-Nougat Android devices with
1510 --experimental_desugar_java8_libs
1511 - Flag `--incompatible_disable_glob_tracking` is removed.
1512 - SkyQuery's rbuildfiles now returns targets corresponding to
1513 broken packages.
1514 - Introduce build support for providing cache prefetch hints.
1515 - Update the skylark DefaultInfo documentation to spell out
1516 runfiles, data_runfiles and default_runfiles
1517 - An internal action for symlinking runfiles will use Command
1518 instead of a Spawns. This should have no functional chages; the
1519 only user visible consequence should be that the internal action
1520 is no longer be included in statistics when calculating processes
1521 count.
1522 - --batch is deprecated
1523 - execution strategies line no longer handles differently the case
1524 where all processes have the same strategy.
1525 - The --experimental_remote_spawn_cache flag is now enabled by
1526 default, and remote caching no longer needs --*_strategy=remote
1527 flags (it will fail if they are specified).
1528 - android_binary.aapt_version='aapt2' now supports en_XA and ar_XB
1529 - Added --apple_enable_auto_dsym_dbg flag.
1530 - non_propagated_deps has been removed from objc_library and
1531 apple_binary.
1532 - For Android projects, Bazel now supports building fonts as
1533 resources. See
1534 https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml
1535 for more information on the feature.
1536 - With --incompatible_no_support_tools_in_action_inputs enabled, Skylark
1537 action inputs are no longer scanned for tools. Move any such
1538 inputs to the newly introduced 'tools' attribute.
1539
Bazel Release System513bbf52018-06-08 14:15:20 +02001540## Release 0.14.1 (2018-06-08)
1541
1542```
1543Baseline: 5c3f5c9be7fa40d4fb3c35756891fab8483ca406
1544
1545Cherry picks:
1546 + f96f037f8f77335dc444844abcc31a372a3e1849:
1547 Windows, Java launcher: Support jar files under different drives
1548 + ff8162d01409db34893de98bd840a51c5f13e257:
1549 sh_configure.bzl: FreeBSD is also a known platform
1550 + 7092ed324137f03fcd34856bdb0595a1bdec3069:
1551 Remove unneeded exec_compatible_with from local_sh_toolchain
1552 + 57bc201346e61c62a921c1cbf32ad24f185c10c9:
1553 Do not autodetect C++ toolchain when
1554 BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 is present
1555 + 35a78c09cf2fbfc3de9c124d2142e3d72aac4348:
1556 remote: recursively delete incomplete downloaded output
1557 directory.
1558 + 3c9cd82b847f3ece8ec04b2029bd5e8ad0eb7502:
1559 distfile: pack the archives needed later in the build
1560 + 27487c77387e457df18be3b6833697096d074eab:
1561 Slightly refactor SpawnAction to improve env handling
1562 + 1b333a2c37add9d04fe5bc5258ee4f73c93115e2:
1563 Fix Cpp{Compile,Link}Action environment and cache key computation
1564 + 3da8929963e9c70dff5d8859d6e988e6e7f4f9d7:
1565 Make SymlinkTreeAction properly use the configuration's
1566 environment
1567 + eca7b81cf8cc51e1fe56e5ed7d4ad5cd1668a17a:
1568 Add a missing dependency from checker framework dataflow to
1569 javacutils
1570 + 10a4de954c2061258d8222961fc3bd39516db49d:
1571 Release 0.14.0 (2018-06-01)
1572 + 4b80f2455e7e49a95f3a4c9102a67a57dad52207:
1573 Add option to enable Docker sandboxing.
1574 + 6b1635279e8b33dc1ac505ac81825e38f8797a14:
1575 Allow disabling the simple blob caches via CLI flag overrides.
1576```
1577
1578Bug fix for [#5336](https://github.com/bazelbuild/bazel/issues/5336)
1579Bug fix fot [#5308](https://github.com/bazelbuild/bazel/issues/5308)
1580
Bazel Release System3a592f62018-06-01 15:04:31 +02001581## Release 0.14.0 (2018-06-01)
1582
1583```
1584Baseline: 5c3f5c9be7fa40d4fb3c35756891fab8483ca406
1585
1586Cherry picks:
1587 + f96f037f8f77335dc444844abcc31a372a3e1849:
1588 Windows, Java launcher: Support jar files under different drives
1589 + ff8162d01409db34893de98bd840a51c5f13e257:
1590 sh_configure.bzl: FreeBSD is also a known platform
1591 + 7092ed324137f03fcd34856bdb0595a1bdec3069:
1592 Remove unneeded exec_compatible_with from local_sh_toolchain
1593 + 57bc201346e61c62a921c1cbf32ad24f185c10c9:
1594 Do not autodetect C++ toolchain when
1595 BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 is present
1596 + 35a78c09cf2fbfc3de9c124d2142e3d72aac4348:
1597 remote: recursively delete incomplete downloaded output
1598 directory.
1599 + 3c9cd82b847f3ece8ec04b2029bd5e8ad0eb7502:
1600 distfile: pack the archives needed later in the build
1601 + 27487c77387e457df18be3b6833697096d074eab:
1602 Slightly refactor SpawnAction to improve env handling
1603 + 1b333a2c37add9d04fe5bc5258ee4f73c93115e2:
1604 Fix Cpp{Compile,Link}Action environment and cache key computation
1605 + 3da8929963e9c70dff5d8859d6e988e6e7f4f9d7:
1606 Make SymlinkTreeAction properly use the configuration's
1607 environment
1608 + eca7b81cf8cc51e1fe56e5ed7d4ad5cd1668a17a:
1609 Add a missing dependency from checker framework dataflow to
1610 javacutils
1611```
1612
1613Incompatible changes:
1614
1615 - Add --incompatible_disallow_legacy_javainfo flag.
1616 - Added flag --incompatible_disallow_old_style_args_add to help
1617 migrate from args.add() to args.add_all() / args.add_joined()
1618 where appropriate.
1619
1620New features:
1621
1622 - Bash,runfiles: use the new platform-independent library in
1623 `@bazel_tools//tools/bash/runfiles` to access runfiles
1624 (data-dependencies). See
1625 https://github.com/bazelbuild/bazel/blob/master/tools/bash/runfile
1626 s/runfiles.bash for usage information.
1627 - TemplateVariableInfo can now be constructed from Skylark.
1628 - The java_host_runtime_alias rule is now implemented in Java.
1629
1630Important changes:
1631
1632 - Flip default value of --experimental_shortened_obj_file_path to
1633 true, Bazel now generates short object file path by default.
1634 - Introduce fdo_profile rule that allows architecture-sensitive
1635 specification of fdo profiles.
1636 - canonicalize-flags no longer reorders the flags
1637 - CppRules: optional_compiler_flag was removed from CROSSTOOL, use
1638 features instead.
1639 - Labels of the form ////foo are disallowed.
1640 - The `/` operator is deprecated in favor of `//` (floor integer
1641 division).
1642 Try the `--incompatible_disallow_slash_operator` flag to ensure
1643 your code
1644 is forward-compatible.
1645 - Flip default value of --experimental_shortened_obj_file_path to
1646 true, Bazel now generates short object file path by default.
1647 - Exposed "mnemonic" and "env" fields on skylark "Action" objects.
1648 - Removed flag `--incompatible_disallow_toplevel_if_statement`.
1649 - Remove vestigial 'deps' and 'data' attributes from
1650 proto_lang_toolchain
1651 - Args objects (ctx.actions.args()) have new methods add_all() and
1652 add_joined() for building command lines using depsets.
1653 - `FileType` is deprecated and will be removed soon.
1654 Try the `--incompatible_disallow_filetype` flag to ensure your
1655 code
1656 is forward-compatible.
1657 - Introduce absolute_path_profile attribute that allows fdo_profile
1658 to accept absolute paths.
1659 - Support two-arg overloads for ctx.actions.args (eg.
1660 args.add("--foo", val))
1661 - Introduce 'tools' attribute to ctx.actions.run.
1662 - Fixed error message for proguard_apply_dictionary.
1663 - "bazel run" now lets one run interactive binaries. The
1664 BUILD_WORKSPACE_DIRECTORY and BUILD_WORKING_DIRECTORY environment
1665 variables indicate the working directory and the workspace root
1666 of the Bazel invocation. Tests are provided with an approximation
1667 of the official test environment.
1668 - repository rules are no longer restricted to return None.
1669 - Add --high_priority_workers flag.
1670 - CppRules: Feature configuration can be created from Skylark
1671 - Adds new-style JavaInfo provider constructor.
1672 - Make java_common.compile now uses java_toolchain javacopts by
1673 default; explicitly retrieving them using
1674 java_common.default_javac_opts is unnecessary.
1675 - CppRules: C++ command lines and env variables for C++ actions can
1676 be retrieved from feature configuration.
1677 - Skylark rule definitions may advertise providers that targets of
1678 the rule must propagate.
1679 - Bazel now supports running actions inside Docker containers.
1680 To use this feature, run "bazel build --spawn_strategy=docker
1681 --experimental_docker_image=myimage:latest".
1682 - Remote execution works for Windows binaries with launchers.
1683 - Fixing start/end lib expansion for linking. There were many cases
1684 where archive files were still being used with toolchains that
1685 support start/end lib. This change consolidates the places that
1686 make that decision so they can be more consistent.
1687 - Add support for reporting an error if
1688 android_test.binary_under_test contains incompatible versions of
1689 deps
1690 - We replaced the --experimental_local_disk_cache and
1691 --experimental_local_disk_cache_path flags into a single
1692 --disk_cache flag. Additionally, Bazel now tries to create the disk cache
1693 directory if it doesn't exist.
1694 - Save Blaze memory by not storing LinkerInput objects in
1695 LinkCommandLine
1696 - In the JavaInfo created by java_common.create_provider now
1697 includes both direct and transitive arguments in
1698 transitive_compile_time_jars and transitive_runtime_jars
1699 - Allow --worker_max_instances to take MnemonicName=value to
1700 specify max for each worker.
1701 - Allow java_toolchain.header_compiler to be an arbitrary executable
1702
Bazel Release System24c68ff2018-05-23 10:59:57 +02001703## Release 0.13.1 (2018-05-23)
1704
1705```
1706Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05
1707
1708Cherry picks:
1709 + f083e7623cd03e20ed216117c5ea8c8b4ec61948:
1710 windows: GetOutputRoot() returns GetHomeDir()
1711 + fa36d2f48965b127e8fd397348d16e991135bfb6:
1712 Automated rollback of commit
1713 4465dae23de989f1452e93d0a88ac2a289103dd9.
1714 + 4abd2babcc50900afd0271bf30dc64055f34e100:
1715 Add error message on empty public resources
1716 + 2c957575ff24c183d48ade4345a79ffa5bec3724:
1717 test-setup: remove leading "./" from test name
1718 + e6eaf251acb3b7054c8c5ced58a49c054b5f23b1:
1719 Sort entries by segment when building a parent node to prevent
1720 unordered directory structures.
1721```
1722
1723Important changes:
1724
1725 - Remote Execution: Fixes a regression that produces directories with unsorted file/directory lists
1726
Bazel Release System1d9c6062018-04-30 10:45:38 +02001727## Release 0.13.0 (2018-04-30)
1728
1729```
1730Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05
1731
1732Cherry picks:
1733 + f083e7623cd03e20ed216117c5ea8c8b4ec61948:
1734 windows: GetOutputRoot() returns GetHomeDir()
1735 + fa36d2f48965b127e8fd397348d16e991135bfb6:
1736 Automated rollback of commit
1737 4465dae23de989f1452e93d0a88ac2a289103dd9.
1738 + 4abd2babcc50900afd0271bf30dc64055f34e100:
1739 Add error message on empty public resources
1740 + 2c957575ff24c183d48ade4345a79ffa5bec3724:
1741 test-setup: remove leading "./" from test name
1742```
1743
1744Incompatible changes:
1745
1746 - Remove //tools/defaults:android_jar. Use
1747 @bazel_tools//tools/android:android_jar instead.
1748 - The flag --incompatible_show_all_print_messages is removed.
1749 Messages generated by `print` statements from any package will be
1750 displayed as
1751 DEBUG messages.
1752 - The --incompatible_disallow_uncalled_set_constructor flag is no
1753 longer available, the `set` constructor` is completely removed
1754 from Skylark.
1755 Use `depset` instead.
1756 - Variables PACKAGE_NAME and REPOSITORY_NAME are deprecated in
1757 favor of
1758 functions `package_name()` and `repository_name()`.
1759
1760 https://docs.bazel.build/versions/master/skylark/lib/native.html#p
1761 ackage_name
1762 - BUILD_TIMESTAMP now contains seconds (and not milliseconds) since
1763 the epoch.
1764
1765New features:
1766
1767 - Strings have a new .elems() method, that provides an iterator on
1768 the characters of the string.
1769 - Now you can access three functions in windows_cc_configure.bzl by:
1770 load("@bazel_tools/tools/cpp:windows_cc_configure.bzl",
1771 "<function_name>")
1772
1773Important changes:
1774
1775 - CppRules: Unified action_configs for static libraries
1776 - Remove support for blaze dump --vfs. It is no longer meaningful.
1777 - Enable dependency checking for aar_import targets.
1778 - internal_bootstrap_hack has been deprecated and removed.
1779 - Properly handle tree artifacts on the link command line coming
1780 from a cc_library dependency.
1781 - Allow C++ features to make proto_library emit smaller C++ code
1782 - The 'j2objc' configuration fragment is exposed to Skylark.
1783 - Remove the default content of the global bazelrc.
1784 - In int() function, do not auto-detect base if input starts with
1785 '0'.
1786 - Users can now pass --experimental_shortened_obj_file_path=true to
1787 have a shorter object file path, the object file paths (and all
1788 other related paths) will be constructed as following:
1789 If there's no two or more source files with the same base name:
1790
1791 <bazel-bin>/<target_package_path>/_objs/<target_name>/<source_base
1792 _name>.<extension>
1793 otherwise:
1794
1795 <bazel-bin>/<target_package_path>/_objs/<target_name>/N/<source_ba
1796 se_name>.<extension>
1797 N = the file?s order among the source files with the same
1798 basename, starts from 0.
1799 - Move (c/cxx)opts from legacy_compile_flags to user_compile_flags
1800 - CppRules: Remove optional_*_flag fields from CROSSTOOL, they are
1801 not
1802 used, and could be expressed using features.
1803 - Introduce --incompatible_disable_objc_provider_resources to turn
1804 off all resource-related fields of the Objc provider.
1805 - Removed the statement of "What does Bazel support?" as it's
1806 limiting/misleading. Added supported host OSes to
1807 "multi-platform" paragraph.
1808 - android_library AAR output now contains proguard.txt
1809 - Bazel now displays information about remote cache hits and
1810 execution strategies used in its UI after every build and test,
1811 and adds a corresponding line "process stats" to BuildToolLogs in
1812 BEP.
1813 - Print correct build result for builds with --aspects flag.
1814 - android_binary.manifest_merger is no longer supported.
1815
Bazel Release System546976c2018-04-11 17:34:19 +02001816## Release 0.12.0 (2018-04-11)
1817
1818```
1819Baseline: b33e5afa313322a7048044c44d854cbb666b988e
1820
1821Cherry picks:
1822 + 369409995bd75eeb0683fd24f7585d2a90320796:
1823 Automated rollback of commit
1824 c2b332b45e6ea41a14ecbd3c5f30782bcdeec301.
1825 + dbf779869751cc893ba240402d352c6e70be2978:
1826 Emit SJD errors even if we don't know the label of a dependency
1827 + 4c3098cfa6f00f90c7530b6f40d3e93062931c1d:
1828 Android tools: remove mtime-modifications
1829 + a1068c44a700ec2cff84cbd12592e9bfea25d754:
1830 NDK cc_toolchains: include bundled runtime libraries in
1831 cc_toolchain.all_files
1832 + b1be5816ec1bf8e1172c1bed4f29b4e6c6bb7202:
1833 runfiles,Python: remove library from @bazel_tools
1834 + 0a4622012ff796429220fe57d3217f262cc208a8:
1835 Fix visibility of def_parser for remote builds
1836 + 3c5373c50c7c492842f8a468906eda2c0bc90787:
1837 Remove visibility attribute from
1838 //third_party/def_parser:def_parser
1839 + f54d7e5293cc40ce3507a9adef530e46ab817585:
1840 Enable bulk writes in the HttpBlobStore
1841 + 04ce86e8ba96630f89a436167b7f3a195c5e50e7:
1842 remote/http: properly complete user promise
1843```
1844
1845Incompatible changes:
1846
1847 - The order of dict-valued attributes is now the order in the BUILD
1848 file (or in the Skylark dict they were created from) and not
1849 lexicographically sorted.
1850
1851New features:
1852
1853 - The new "--direct_run" flag on "blaze run" lets one run
1854 interactive binaries.
1855 - "blaze run --direct_run" with tests now gives the test an
1856 approximation of the official test environment.
1857 - "blaze run --direct_run" now exports the
1858 BUILD_{WORKSPACE,WORKING}_DIRECTORY variables to tell the binary
1859 about the cwd of the client and the workspace root.
1860 - New Android device test rule: android_instrumentation_test.
1861 - Add option to dump the action graph to a file: 'bazel dump
1862 --action_graph=/path/to/file'.
1863 - Pass `tags` from `java_import_external` rule to the generated
1864 `java_import` rule.
1865 - blaze query: use --proto:output_rule_attrs to filter for given
1866 attributes
1867 - Added Android NDK r15 support, including compatibility with
1868 Unified Headers.
1869 - Adds --ltobackendopt and --per_file_ltobackendopt for passing
1870 options to ThinLTO LTO backend compile actions only.
1871
1872Important changes:
1873
1874 - Fix how libraries to link is specified to archiver actions.
1875 - Fix how libraries_to_link are expanded in the archiver command
1876 line.
1877 - stop using --no-locals in android coverage builds
1878 - apple_binary can now generate dSYM outputs with the
1879 --apple_generate_dsym=true flag.
1880 - Fix FDO_STAMP_MACRO to only be set when fdoBuildStamp is not null.
1881 - Improved clarity of warning message for unsupported NDK revisions.
1882 - Add lint check for discouraging glob(["**/*.java"])
1883 - unifly lint glob(["**/*.java"]) message
1884 - Removed flags `--incompatible_checked_arithmetic`,
1885 `--incompatible_dict_literal_has_no_duplicates`,
1886 `--incompatible_disallow_keyword_only_args`, and `
1887 --incompatible_comprehension_variables_do_not_leak`.
1888 - Add "proto_source_root" flag to proto_library.
1889 - Updated default android_cpu value to armeabi-v7a
1890 - In skylark, print(target) now shows the provider keys of a
1891 target, as debug information.
1892 - The native http_archive rule is deprecated. Use the
1893 Skylark version available via
1894 load("@bazel_tools//tools/build_defs/repo:http.bzl",
1895 "http_archive")
1896 instead.
1897 - flaky_test_attempts supports the regex@attempts syntax, like
1898 runs_per_test.
1899 - Fixed include paths for NDK r13+ llvm-libc++ headers to
1900 `ndk/sources/cxx-stl/llvm-libc++/include` and
1901 `ndk/sources/cxx-stl/llvm-libc++abi/include`
1902 - --config flags now expand in place by default.
1903 - aar_import now sets java.transitive_exports.
1904 - repository_cache is no longer experimental and enabled by default.
1905 - BAZEL_LINKOPTS is now consulted when autoconfiguring c++ toolchain
1906 - The native git_repository rule is deprecated. Use the
1907 Skylark version available via
1908 load("@bazel_tools//tools/build_defs/repo:git.bzl",
1909 "git_repository")
1910 instead.
1911 - Removed flag `--incompatible_load_argument_is_label`.
1912 - CcToolchain: Introduced action_config for
1913 "c++-link-transitive-dynamic-library"
1914 - Use bazel dump --action_graph=/path/to/action.proto
1915 --action_graph:targets://foo:bar,//foo:foo to filter for certain
1916 targets in the action graph dump.
1917 - Added Android NDK r16 support. Use --cxxopt='-std=c++11` compile
1918 with the C++11 standard, and
1919 `--android_crosstool_top=@androidndk//:toolchain-libcpp` to use
1920 the `libc++` STL.
1921 - Add a --build_event_publish_all_actions flag to allow all actions
1922 to be published via the BEP.
1923 - C++: Introduced --experimental_drop_fully_static_linking_mode
1924 - Removed cc_inc_library, please use cc_library instead
1925 - CppRules: cc_binary/cc_test now enable 'static_linking_mode' or
1926 'dynamic_linking_mode'.
1927
Bazel Release Systemc86d6a02018-03-06 19:32:18 +01001928## Release 0.11.1 (2018-03-06)
1929
1930```
1931Baseline: 00d781ae78a8bd51d3c61b621d79f0bb095aff9e
1932
1933Cherry picks:
1934 + ea2d4c475febdbd59ca0e0ba46adc7be759f84e0:
1935 Update stub_finds_runfiles_test to be a real sh_test.
1936 + d855d8133f4efb73ebd5e82c54a9afb4c7565d46:
1937 java,runfiles: fix bugs in runfiles library
1938 + 56aeb04a064218b845ecc193d530c341c6ec854d:
1939 Fixing #4585: broken re-execution of orphaned actions.
1940 + cf3f81aef7c32019d70cbce218a64a03276268f0:
1941 remote: Add support for HTTP Basic Auth
1942 + 28bd997c1c8793973f63dcae4c22bbae49e7d8b7:
1943 Fixing test-setup.sh occasionally missing stdout/stderr, on
1944 systems where "tail --pid" is supported.
1945 + 109e4b4dc9e786e3a2d8d7cb245d18320dbe9216:
1946 Automated rollback of commit
1947 7e6837cc1d1aa4259f5c27ba3606b277b5f6c3e9.
1948 + b3d52b1b6d46a0f23cc91125c1d522e9d13433b4:
1949 Fix incorrect include directories when -no-canonical-prefixes is
1950 passed to clang
1951 + 1001141f0674ff4b611814edcb00a5183680ef4a:
1952 Roll forward of
1953 https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1
1954 b52bcac5a3ff942029
1955 (https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba
1956 1b52bcac5a3ff942029). Fix #4625 by running the test process in a
1957 sub-shell.
1958 + fc98b44b6181fa4c3efd8613d887970629468d74:
1959 android,windows: bugfix in aar_resources_extractor
1960```
1961
1962Important changes:
1963
1964 - Fixes regression building Android rules on Windows.
1965
Bazel Release System09077a32018-02-23 11:09:18 -05001966## Release 0.11.0 (2018-02-23)
1967
1968```
1969Baseline: 00d781ae78a8bd51d3c61b621d79f0bb095aff9e
1970
1971Cherry picks:
1972 + ea2d4c475febdbd59ca0e0ba46adc7be759f84e0:
1973 Update stub_finds_runfiles_test to be a real sh_test.
1974 + d855d8133f4efb73ebd5e82c54a9afb4c7565d46:
1975 java,runfiles: fix bugs in runfiles library
1976 + 56aeb04a064218b845ecc193d530c341c6ec854d:
1977 Fixing #4585: broken re-execution of orphaned actions.
1978 + cf3f81aef7c32019d70cbce218a64a03276268f0:
1979 remote: Add support for HTTP Basic Auth
1980 + 28bd997c1c8793973f63dcae4c22bbae49e7d8b7:
1981 Fixing test-setup.sh occasionally missing stdout/stderr, on
1982 systems where "tail --pid" is supported.
1983 + 109e4b4dc9e786e3a2d8d7cb245d18320dbe9216:
1984 Automated rollback of commit
1985 7e6837cc1d1aa4259f5c27ba3606b277b5f6c3e9.
1986 + b3d52b1b6d46a0f23cc91125c1d522e9d13433b4:
1987 Fix incorrect include directories when -no-canonical-prefixes is
1988 passed to clang
1989 + 3904ac33a983fd8faebba1b52bcac5a3ff942029:
1990 Automated rollback of commit
1991 28bd997c1c8793973f63dcae4c22bbae49e7d8b7.
1992 + 1001141f0674ff4b611814edcb00a5183680ef4a:
1993 Roll forward of
1994 https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1
1995 b52bcac5a3ff942029
1996 (https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba
1997 1b52bcac5a3ff942029). Fix #4625 by running the test process in a
1998 sub-shell.
1999```
2000
2001Incompatible changes:
2002
2003 - ctx.fragments.jvm is not available anymore.
2004
2005New features:
2006
2007 - java,runfiles: You can now depend on
2008 `@bazel_tools//tools/runfiles:java-runfiles` to get a
2009 platform-independent runfiles library for Java. See JavaDoc of
2010 https://github.com/bazelbuild/bazel/blob/master/src/tools/runfiles
2011 /java/com/google/devtools/build/runfiles/Runfiles.java for usage
2012 information.
2013
2014Important changes:
2015
2016 - The --[no]experimental_disable_jvm command line option is not
2017 supported anymore.
2018 - Allow expanding TreeArtifacts for libraries_to_link
2019 - Proguarded Android binaries can be built with incremental dexing.
2020 - aar_import now supports assets.
2021 - Crash in OutputJar::Close has been fixed
2022 - generator_* attributes are nonconfigurable.
2023 - Introduces --[no]keep_state_after_build
2024 - Add support for merged object files needed for -flto-unit.
2025 - Fix how libraries to link is specified to archiver actions.
2026 - Replace //tools/defaults:android_jar with
2027 @bazel_tools//tools/android:android_jar.
2028 //tools/defaults:android_jar will be removed in a future release.
2029 - java_common.compile supports neverlink
2030 - Resolved an issue where a failure in the remote cache would not
2031 trigger local re-execution of an action.
2032
Bazel Release Systeme1148362018-02-15 10:02:05 +01002033## Release 0.10.1 (2018-02-15)
2034
2035```
2036Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993
2037
2038Cherry picks:
2039 + f6ca78808722c8c119affdb33400838ee92d44b6:
2040 isable_presubmit
2041 + 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52:
2042 Fix StreamResourceLeak error
2043 + e5436745e1732f5e43fc55f0deb5b19e23ce8524:
2044 windows: fix --symlink_prefix=/ throwing exception
2045 + 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3:
2046 Fix turbine command lines with empty javacopts
2047 + 96c654d43eb2906177325cbc2fc2b1e90dbcc792:
2048 Remove EOL'd Linux flavours, bump CentOS to 6.9.
2049 + f0bec36864f10370cbbda4caa8beac2e0c5ee45b:
2050 Automated rollback of commit
2051 2aeaeba66857c561dd6d63c79a213f1cabc3650d.
2052 + 860af5be10b6bad68144d9d2d34173e86b40268c:
2053 Consolidate Error Prone resource handling
2054 + 2e631c99495f75270d2639542cefb531ec262d67:
2055 sandbox: properly add `tmpDir` to `writablePaths`
2056 + 5bfa5844d0d16d71e88002956e88402bfec88ef7:
2057 actions,temp: respect TMPDIR envvar
2058 + 6cc2ad8676d1ae0542b351a07a05ddbe5efac165:
2059 sandbox: add env[TMPDIR] instead of `tmpDir`
2060 + 40c757f4ab90214f95935672532a495c4551490a:
2061 Change git clone to pull all history, so all needed commits can
2062 be accessed.
2063 + 56aeb04a064218b845ecc193d530c341c6ec854d:
2064 Fixing #4585: broken re-execution of orphaned actions.
2065```
2066
2067Important changes:
2068
2069 - Resolved an issue where a failure in the remote cache would not
2070 trigger local re-execution of an action.
2071
Bazel Release System5bd27482018-02-01 09:43:33 +01002072## Release 0.10.0 (2018-02-01)
2073
2074```
2075Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993
2076
2077Cherry picks:
2078 + f6ca78808722c8c119affdb33400838ee92d44b6:
2079 isable_presubmit
2080 + 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52:
2081 Fix StreamResourceLeak error
2082 + e5436745e1732f5e43fc55f0deb5b19e23ce8524:
2083 windows: fix --symlink_prefix=/ throwing exception
2084 + 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3:
2085 Fix turbine command lines with empty javacopts
2086 + 96c654d43eb2906177325cbc2fc2b1e90dbcc792:
2087 Remove EOL'd Linux flavours, bump CentOS to 6.9.
2088 + f0bec36864f10370cbbda4caa8beac2e0c5ee45b:
2089 Automated rollback of commit
2090 2aeaeba66857c561dd6d63c79a213f1cabc3650d.
2091 + 860af5be10b6bad68144d9d2d34173e86b40268c:
2092 Consolidate Error Prone resource handling
2093 + 2e631c99495f75270d2639542cefb531ec262d67:
2094 sandbox: properly add `tmpDir` to `writablePaths`
2095 + 5bfa5844d0d16d71e88002956e88402bfec88ef7:
2096 actions,temp: respect TMPDIR envvar
2097 + 6cc2ad8676d1ae0542b351a07a05ddbe5efac165:
2098 sandbox: add env[TMPDIR] instead of `tmpDir`
2099 + 40c757f4ab90214f95935672532a495c4551490a:
2100 Change git clone to pull all history, so all needed commits can
2101 be accessed.
2102```
2103
2104Incompatible changes:
2105
2106 - In order to access the template variables $(JAVA) and
2107 $(JAVABASE), @bazel_tools//tools/jdk:current_java_runtime needs
2108 to be added to the toolchains= attribute from now on.
2109 - The ctx.middle_man function is not supported anymore.
2110 - The flag --incompatible_list_plus_equals_inplace is removed, its
2111 default behavior is preserved. += on lists now always mutates the
2112 left hand
2113 side.
2114 - --android_sdk no longer supports filegroup targets.
2115 - android_* rules no longer support legacy_native_support attribute.
2116
2117New features:
2118
2119 - query: Add option --noproto:flatten_selects to turn off
2120 flattening of selector lists in proto output.
2121 - New android test rule, android_local_test.
2122
2123Important changes:
2124
2125 - The --remote_rest_cache flag now respects --remote_timeout.
2126 - --experimental_java_coverage is available for testing.
2127 - The deprecated builtin `set` is no longer allowed even from within
2128 unexecuted code in bzl files. It's temporarily possible to use
2129 --incompatible_disallow_uncalled_set_constructor=false if this
2130 change causes
2131 incompatibility issues.
2132 - Linkstamping is now a separate and full-blown CppCompileAction,
2133 it's
2134 no longer a part of linking command.
2135 - Using `+`, `|` or `.union` on depsets is now deprecated. Please
2136 use the new
2137 constructor instead (see
2138 https://docs.bazel.build/versions/master/skylark/depsets.html).
2139 - config_feature_flag's default_value is optional. It is
2140 only an error to have a config_feature_flag with no default_value
2141 if that config_feature_flag has not been set in the configuration
2142 it is being evaluated in.
2143 - --[no]keep_incrementality_data is gone, replaced by the
2144 enum-valued --incremental_state_retention_strategy
2145 - Linkstamping is now a separate and full-blown CppCompileAction,
2146 it's
2147 no longer a part of linking command.
2148 - Added --checkHashMismatch flag to ZipFilterAction. Valid values
2149 are IGNORE, WARN and ERROR. --errorOnHashMismatch is deprecated,
2150 please use this flag instead.
2151 - Set build jobs equivalent to number of logical processors by
2152 default. Should improve build times significantly.
2153 - Added --(no)expand_test_suites flag.
2154 - Rename --keep_incrementality_data to --track_incremental_state
2155 - --remote_rest_cache was renamed to --remote_http_cache. Both
2156 options keep working in this release, but --remote_rest_cache
2157 will be
2158 removed in the next release.
2159 - Aspects-on-aspect see and propagate over aspect attributes.
2160 - --auth_* flags were renamed to --google_* flags. The old names
2161 will continue to work for this release but will be removed in the
2162 next
2163 release.
2164 - Remote Caching and Execution support output directories.
2165 - Remove defunct flags
2166 --experimental_incremental_dexing_for_lite_proto and
2167 --experimental_incremental_dexing_error_on_missed_jars that have
2168 long been enabled by default
2169 - New version of aapt2 and Resources.proto.
2170 - Make PIC and non PIC outputs for C++ compilation with Tree
2171 Artifacts
2172
Bazel Release System7b423cc2017-12-19 10:31:05 +01002173## Release 0.9.0 (2017-12-19)
Bazel Release System3d53cb02017-12-05 15:28:40 +01002174
2175```
Bazel Release System7b423cc2017-12-19 10:31:05 +01002176Baseline: ddd5ac16aeffa6c4693c348f73e7365240b1abc5
Bazel Release System3d53cb02017-12-05 15:28:40 +01002177
2178Cherry picks:
Bazel Release System7b423cc2017-12-19 10:31:05 +01002179 + 2cf560f83922e6df9626ba3ee063c1caf6797548:
2180 Update version of re2
2181 + a2d2615362c65be98629b39ce39754a325ed1c42:
2182 Check for null build file returned from getBuildFileForPackage.
2183 + 68c577afc2fb33b5e66b820bcc9043fed1071456:
2184 Fix some broken targets and failing tests.
2185 + 766ba8adc4487f17ebfc081aeba6f34b18b53d6c:
Bazel Release System3d53cb02017-12-05 15:28:40 +01002186 Automated rollback of commit
Bazel Release System7b423cc2017-12-19 10:31:05 +01002187 337f19cc54e77c45daa1d5f61bf0a8d3daf8268f.
2188 + a22d0e9c14e58b29d81f5a83bdcc6e5fce52eafe:
2189 Fix: uploading artifacts of failed actions to remote cache
2190 stopped working.
2191 + 03964c8ccb20d673add76c7f37245e837c3899b6:
2192 [java_common.compile] Name output source jar relative to the
2193 output jar name
Bazel Release System3d53cb02017-12-05 15:28:40 +01002194```
2195
Bazel Release System7b423cc2017-12-19 10:31:05 +01002196Incompatible changes:
2197
2198 - The deprecated `set` constructor is removed, along with the
2199 migration flag --incompatible_disallow_set_constructor. It is
2200 still temporarily
2201 allowed to refer to `set` from within unexecuted code.
2202 - The flag --incompatible_disallow_set_constructor is no longer
2203 available, the deprecated `set` constructor is not available
2204 anymore.
2205 - The path to the JVM executable is not accessible anymore as
2206 ctx.{fragments,host_fragments}.jvm.java_executable. Use
2207 JavaRuntimeInfo.java_executable_exec_path instead.
2208 - --clean_style is no longer an option.
2209
2210New features:
2211
2212 - Users can use win_def_file attribute to specify a DEF file for
2213 exporting symbols when build a shared library on Windows.
2214 - Add --experimental_android_resource_cycle_shrinking option to
2215 allow for more aggressive code and resource shrinking.
2216
2217Important changes:
2218
2219 - Late-bound attributes are exposed to skylark. This is a new API
2220 (`configuration_field()`) to depend on certain
2221 configuration-defined targets from skylark rules.
2222 - Document interaction between test_suite and target exclusions
2223 - AAR manifest files will come from the processed resource APK if it
2224 exists.
2225 RELNOTES: None for Blaze users.
2226 - Document interaction between test_suite and target exclusions
2227 - --keep_incrementality_data flag allows Bazel servers to be run in
2228 memory-saving non-incremental mode independent of --batch and
2229 --discard_analysis_cache.
2230 - Add deps attribute to Skylark maven_aar and maven_jar workspace
2231 rules.
2232 - Use --expand_configs_in_place as a startup argument to change the
2233 order in which --config expansions are interpreted.
2234 - SOURCE_DATE_EPOCH
2235 (https://reproducible-builds.org/specs/source-date-epoch/) can
2236 be used to override the timestamp used for stamped target (when
2237 using --stamp).
2238 - Package specifications can now be prefixed with `-` to indicate
2239 negation
2240 - transitive_source_jars is now exposed on JavaInfo.
2241 - Add six to deps of has_services=1 py_proto_librarys.
2242 - java_tests no complain when use_testrunner is explicitly set to 1
2243 and main_class is set.
2244 - transitive_source_jars is now exposed on JavaInfo.
2245 - Debug messages generated by `print()` are not being filtered out
2246 by --output_filter anymore, it's recommended not to use them in
2247 production code.
2248 - in the Label() function, relative_to_caller_repository is now
2249 deprecated.
2250 - java_tests no complain when use_testrunner is explicitly set to 1
2251 and main_class is set.
2252 - Bazel's default hash function was changed from MD5 to SHA256.
2253 In particular, this affects users of remote caching and
2254 execution, as
2255 all hashes will be SHA256 by default.
2256 - Remove redirects for domains be.bazel.build and cr.bazel.build
2257 from the source for docs.bazel.build (because those subdomains
2258 don't resolve here; they resolve to bazel.build, which has the
2259 redirects for them)
2260 - First argument of 'load' must be a label. Path syntax is removed.
2261 (label should start with '//' or ':').
2262 - Document startup option --host_javabase
2263 - The --host_platform and --platform flags are no longer
2264 experimental.
Bazel Release System3d53cb02017-12-05 15:28:40 +01002265
Bazel Release System0838aee2017-11-27 14:16:34 +01002266## Release 0.8.0 (2017-11-27)
2267
2268```
2269Baseline: cff0dc94f6a8e16492adf54c88d0b26abe903d4c
2270
2271Cherry picks:
2272 + 8a49b156c4edf710e3e1e0acfde5a8d27cc3a086:
2273 Fix ImportError on tools.android for junction_lib
2274 + 275ae45b1228bdd0f912c4fbd634b29ba4180383:
2275 Automated rollback of commit
2276 4869c4e17d5b1410070a1570f3244148d8f97b5d.
2277 + d0bf589f2716b3d139c210930371a684c6e158eb:
2278 Add a random number to action temp dir
2279 + 9738f35abddb7ef7a7ef314b5d2a52a3be1b830a:
2280 CcProtoLibrary: Don't add dynamic librarys to filesToBuild on
2281 Windows
2282 + 0d6ff477099fdf6c8c1c7d4e2104f9184afe0a2b:
2283 Automated rollback of commit
2284 0ebb3e54fc890946ae6b3d059ecbd50e4b5ec840.
2285```
2286
2287Incompatible changes:
2288
2289 - ctx.fragments.apple.{xcode_version,ios_minimum_os} is not
2290 supported anymore. The same information is accessible through the
2291 target @bazel_tools//tools/osx:current_xcode_config: point an
2292 implicit attribute to it (i.e.
2293 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
2294 nfig")) then use
2295 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].
2296 - ctx.fragments.apple.minimum_os_for_platform_type is not supported
2297 anymore. The same information is accessible through the target
2298 @bazel_tools//tools/osx:current_xcode_config: point an implicit
2299 attribute to it (i.e.
2300 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
2301 nfig")) then use
2302 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].minimum_o
2303 s_for_platform_type .
2304 - ctx.fragments.apple.sdk_version_for_platform is not supported
2305 anymore. The same information is accessible through the target
2306 @bazel_tools//tools/osx:current_xcode_config: point an implicit
2307 attribute to it (i.e.
2308 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
2309 nfig")) then use
2310 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].sdk_versi
2311 on_for_platform .
2312 - --javabase=<absolute path> and --host_javabase=<absolute path>
2313 are not supported anymore. If you need this functionality
2314 java_runtime_suite(name="suite", default=":runtime")
2315 java_runtime(name="runtime", java_home=<path to the JDK>) is an
2316 alternative.
2317 - The flag --incompatible_descriptive_string_representations is no
2318 longer available, old style string representations of objects are
2319 not supported
2320 anymore.
2321 - The flag --incompatible_disallow_set_constructor is no longer
2322 available, the deprecated `set` constructor is not available
2323 anymore.
2324 - += on lists now mutates them. `list1 += list2` is now equivalent
2325 to `list1.extend(list2)` and not equivalent to `list1 = list1 +
2326 list2` anymore.
2327 - the target_apple_env and apple_host_system_env methods on
2328 ctx.fragments.apple are not supported anymore. The same
2329 information is accessible through apple_common.target_apple_env
2330 and apple_common.apple_host_system_env . They need the Xcode
2331 configuration as an argument, which can be obtained by declaring
2332 an implicit dependency on it (i.e.
2333 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
2334 nfig")) and then calling e.g.
2335 apple_common.apple_host_system_env(ctx.attr._xcode_config[apple_co
2336 mmon.XcodeVersionConfig]).
2337 - C++ toolchain identifiers are not in the name of the output
2338 directory anymore.
2339 - Selecting on "xcode_version" and
2340 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
2341 What was config_setting(values={"$FOO_version": $VALUE}) is now
2342 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
2343 flag": $VALUE}).
2344 - Selecting on "xcode_version" and
2345 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
2346 What was config_setting(values={"$FOO_version": $VALUE}) is now
2347 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
2348 flag": $VALUE}).
2349 - The flag --incompatible_disallow_set_constructor is no longer
2350 available, the deprecated `set` constructor is not available
2351 anymore.
2352 - Selecting on "xcode_version" and
2353 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
2354 What was config_setting(values={"$FOO_version": $VALUE}) is now
2355 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_versi...
2356
2357New features:
2358
2359 - runfiles, sh: Shell scripts may now depend on
2360 //src/tools/runfiles:runfiles_sh_lib and source runfiles.sh. The
2361 script defines the `rlocation` function which returns runfile
2362 paths on every platform.
2363 - In addition to $(location), Bazel now also supports $(rootpath)
2364 to obtain
2365 the root-relative path (i.e., for runfiles locations), and
2366 $(execpath) to
2367 obtain the exec path (i.e., for build-time locations)
2368
2369Important changes:
2370
2371 - android_binary now supports custom debug keys via the debug_key
2372 attribute.
2373 - Updated Android proguard to 5.3.3. It now works with android-24+.
2374 - --experimental_use_parallel_android_resource_processing and
2375 --experimental_android_use_nocompress_extensions_on_apk are
2376 removed. These features are fully rolled out.
2377 - Fixes #2574
2378 - Fixes #3834
2379 - Enable experimental UI by default.
2380 - .
2381 RELNOTES: None.
2382 RELNOTES: No.
2383 - Add memory profiler.
2384 - [Bazel] {java,cc}_proto_library now look for dependencies in
2385 @com_google_protobuf, instead of in @com_google_protobuf_$LANG
2386 - Improved merge.sh script in cookbook.
2387 - Fixing regression to --experimental_remote_spawn_cache
2388 - Support for linker scripts in NativeDepsHelper (e.g.,
2389 android_binary)
2390 - Skylark semantics flags now affect WORKSPACE files and repository
2391 rules.
2392 - ctx.outputs.executable is deprecated. Use DefaultInfo(executable
2393 = ...) instead.
2394 - Update "mirror.bazel.build" urls to use https.
2395 - Improve --config logging when --announce_rc is present.
2396 - Document interaction between test_suite and target exclusions
2397 - Replace version numbers for Bazel installers with "<version>"
2398 (because this will change often)
2399 - Published command lines should have improved lists of effective
2400 options.
2401 - --incremental_dexing_binary_types has been removed. All builds
2402 are supported by incremental dexing (modulo proguard and some
2403 blacklisted dx flags).
2404 - Document --host_javabase, --host_java_toolchain
2405
Bazel Release System76b6d0a2017-10-18 14:34:11 +02002406## Release 0.7.0 (2017-10-18)
2407
2408```
2409Baseline: 5cc6246d429f7d9119b97ce263b4fd6893222e92
2410
2411Cherry picks:
2412 + e79a1107d90380501102990d82cbfaa8f51a1778:
2413 Windows,bootstrapping: fix build_windows_jni.sh
2414```
2415
2416Incompatible changes:
2417
2418 - The --output=location flag to 'bazel query' cannot be used with
2419 query expressions that involve the 'buildfiles' or 'loadfiles'
2420 operators. This also applies to 'genquery' rules.
2421 - Operators for equality, comparison, 'in' and 'not in' are no
2422 longer associative,
2423 e.g. x < y < z is now a syntax error. Before, it was parsed
2424 as: (x < y) < z.
2425 - In strings, octal sequences greater than \377 are now forbidden
2426 (e.g. "\\600").
2427 Previously, Blaze had the same behavior as Python 2, where
2428 "\\450" == "\050".
2429 - Using tabulation for identation is now fobidden in .bzl files
2430 - `load` is now a language keyword, it cannot be used as an
2431 identifier
2432 - lvalues must have define at least one variable (i.e. we forbid
2433 `[] = f()`).
2434 - Fixed a bug whereby multiple load() statements could appear on
2435 the same line
2436 - -extra_checks:off is no longer supported; use
2437 -XepDisableAllChecks instead
2438 - java_common.java_toolchain_attr is removed. Depend on the
2439 java_toolchain_alias() rule to accomplish the same thing.
2440 - cc_common.cc_toolchain_attr and java_common.java_runtime_attr are
2441 not supported anymore and were replaced with the
2442 cc_toolchain_alias() and java_runtime_alias() rules.
2443 - Noop flag --deprecated_generate_xcode_project deleted.
2444 - Objects in Skylark are converted to strings in a more descriptive
2445 and less harmful way (they don't leak information that shouldn't
2446 be accessed by Skylark code, e.g. nondeterministic memory addresses
2447 of objects).
2448 - `set` is deprecated in BUILD and .bzl files, please use `depset`
2449 instead. Ordering names have also been changed, please use "default",
2450 "postorder", "preorder", and "topological" instead of "stable",
2451 "compile", "naive_link", and "link" correspondingly.
2452 - Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is
2453 an error.
2454 - Keyword-only syntax in a function definition is now forbidden
2455 e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`
2456 - --incompatible_comprehension_variables_do_not_leak defaults to
2457 "true."
2458 Iteration variable becomes inaccessible after a list/dict
2459 comprehension.
2460 - @bazel_tools//tools/build_defs/docker:docker.bzl is no longer
2461 available, please see https://github.com/bazelbuild/rules_docker.
2462
2463New features:
2464
2465 - Zipped LLVM profiles are now supported.
2466 - LIPO maps to ThinLTO for LLVM builds.
2467 - Change to handle LLVM FDO zipped profile contents correctly.
2468 - Do not disable fully dynamic linking with ThinLTO when invoked
2469 via LIPO options.
2470 - There is now a 'siblings' query function. See the query
2471 documentation for more details.
2472 - Added the print_action command, which outputs the
2473 actions needed to build a given target in the form of an
2474 ExtraActionSummary proto in text format.
2475 - android_binary now supports proguard_apply_dictionary to specify
2476 a custom dictionary to use for choosing names to obfuscate
2477 classes and members to.
2478
2479Important changes:
2480
2481 - Windows: bazel clean --expunge works
2482 - First argument of 'load' should be a label. Path syntax is
2483 deprecated (label should start with '//' or ':').
2484 - Octal prefix '0' is deprecated in favor of '0o' (use 0o777
2485 instead of 0777).
2486 - The extension_safe attribute of apple_binary no longer validates
2487 transitive dependencies are compiled against extension_safe APIs.
2488 - Parentheses around the tuple are now mandatory in [a for b in c
2489 if 1, 2]
2490 - Adjust the thresholds for --test_verbose_timeout_warnings so that
2491 it can recommending timeout increases and won't recommend
2492 timeouts that are too close to the actual timeout.
2493 - Iterating on a `depset` object is deprecated. If you need an
2494 iterable, call the `.to_list()` method first.
2495 - Bazel now uses tools from action_configs in Crosstool by default
2496 (as oposed to using top level tools).
2497 - Incremental dexing errors on combination of --multidex=off and
2498 either --main-dex-list or --minimal-main-dex.
2499 - When using the dictionary literal syntax, it is now an error to
2500 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
2501 - New property on android_sdk: aapt2
2502 Choose the version of aapt on android_binary
2503 - Add idl_preprocessed attribute to android_library, so that
2504 preprocessed aidl files can be passed to android_library for
2505 compiling
2506 - Bazel's remote_worker backend for remote execution supports
2507 sandboxing on Linux now. Check
2508 https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w
2509 orker/README.md for details.
2510 - Allows flags that expand to take values.
2511 - Make querying attributes formed by selector lists of list types
2512 more efficient by no longer listing every possible combination of
2513 attribute value but by more compactly storing the possible values
2514 of the list.
2515 - writing build events to a file is no longer experimental
2516 - set --rewrite_calls_to_long_compare to false by default.
2517 - ObjC and C++ coverage feature is unified under name 'coverage'
2518 - Enable --incremental_dexing for Android builds by default. Note
2519 that some dexopts are incompatible with incremental dexing,
2520 including --force-jumbo.
2521 - Evaluation will soon use checked arithmetics and throw an error
2522 instead of overflow/underflow.
2523 - Implicit iteration in the CROSSTOOL has been removed, use
2524 explicit 'iterate_over' message.
2525 - Add option for Android specific grte_top
2526 - Crosstool patches are only applied if the toolchain doesn't define
2527 'no_legacy_features' feature.
2528 - 'platform_type' is now a mandatory attribute on apple_binary and
2529 apple_static_library rules.
2530 If this change breaks your build, feel free to add platform_type
2531 = 'ios' to any apple_binary and apple_static_library
2532 targets in your project, as this was the previous default
2533 behavior.
2534 - Remove apple_watch2_extension build rule. Users should be using
2535 the skylark watchos_application and watchos_extension rules.
2536 https://github.com/bazelbuild/rules_apple has details.
2537 - Check stderr to detect if connected to a terminal. Deprecate
2538 --isatty.
2539 - Commands that shut down the server (like "shutdown") now ensure
2540 that the server process has terminated before the client process
2541 terminates.
2542 - Remove apple_watch1_extension and apple_watch_extension_binary
2543 rules. Users should be using the skylark watchos_application and
2544 watchos_extension rules.
2545 https://github.com/bazelbuild/rules_apple has details.
2546 - Windows: Wrapper-less CROSSTOOL becomes default now.
2547 set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.
2548 - Ignore --glibc in the Android transition.
2549 - Remove --experimental_android_use_singlejar_for_multidex.
2550 - nocopts now also filter copts
2551 - 'strip' action is now configured via feature configuration
2552 - The Build Event Service (BES) client now properly supports
2553 Google Applicaton Default Credentials.
2554 - Flags from action_config get added first to the command line
2555 first, before the flags from features.
2556 - update dexing tools to Android SDK 26.0.1
2557 - Bazel Android support now requires build-tools 26.0.1 or later.
2558 - `bazel info output_path` no longer relies on the root directory
2559 filename being equal to the workspace name.
2560 - The `print` function now prints debug messages instead of
2561 warnings.
2562 - speedup of incremental dexing tools
2563 - --announce_rc now controls whether bazelrc startup options are
2564 printed to stderr.
2565 - Removing a few unused objc_provider keys.
2566 - Improved logging when workers have to be restarted due to its
2567 files having changed.
2568 - Top-level `if` statements are now forbidden.
2569 - Java protos are compiled to Java 7 bytecode.
2570 - All Android builds now use the desugar tool to support some Java
2571 8 features by default. To disable, use the --nodesugar_for_android flag.
2572 - Skylark-related options may now appear as "common" command
2573 options in the .bazelrc
2574 - Python is now required to build bazel.
2575 - New --build_runfile_manifests flag controls production of
2576 runfiles manifests.
2577 - Enable debug info for Java builds
2578 - Allow java_lite_proto_library in the deps of android rules.
2579 - .so files in APKs will be memory-page aligned when
2580 android_binary.nocompress_extensions contains ".so" and
2581 --experimental_android_use_nocompress_extensions_on_apk is
2582 specified.
2583 - Skylark providers can specify allowed fields and their
2584 documentation.
2585 - Support ctx.actions.args() for more efficient Skylark command
2586 line construction.
2587 - The remote HTTP/1.1 caching client (--remote_rest_cache) now
2588 distinquishes between action cache and CAS. The request URL for
2589 the action cache is prefixed with 'ac' and the URL for the CAS
2590 is prefixed with 'cas'.
2591 - `JavaInfo` is a preferred alias to `java_common.provider`.
2592 - J2ObjC version updated to 2.0.3.
2593 - A new Java coverage implementation is available. Makes possible
2594 coverage for Skylark JVM rules.
2595 - Make proguard_apply_dictionary also apply to class and package
2596 obfuscation, not just class members.
2597 - android_binary.nocompress_extensions now applies to all files in
2598 the APK, not just resources and assets.
2599 - The apple_genrule rule that is distributed with Bazel has been
2600 deleted. Users who wish to use genrules with Xcode's
2601 DEVELOPER_DIR set should use the rules in
2602 https://github.com/bazelbuild/rules_apple instead.
2603 - The swift_library rule that is distributed with Bazel has been
2604 deleted. Users who wish to compile Swift should use the rules in
2605 https://github.com/bazelbuild/rules_apple instead.
2606 - The Build Event Protocol's File.uri field is now properly
2607 encoded according to RFC2396.
2608 - Deprecated: Using the android_library.deps attribute to
2609 implicitly export targets to dependent rules. If your code is
2610 using this feature, Bazel will raise a warning. To fix, please
2611 use android_library.exports to explicitly specify exported
2612 targets. Run with
2613 --experimental_allow_android_library_deps_without_srcs=false to
2614 ensure forward compatibility when this feature is removed in a
2615 future release.
2616 - java_common.create_provider is now supported with creating ijars
2617 by default. This introduces incompatibilities for existing users.
2618 Please set use_ijar=False if you don't want to use ijars.
2619 - Tests can now write files to TEST_UNDECLARED_OUTPUTS_DIR and
2620 TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR and these will be
2621 reflected under bazel-testlogs.
2622 - remove unused --host_incremental_dexing flag
2623 - Stop using --undefined dynamic_lookup in Apple links. Enables
2624 unresolved symbol errors.
2625 - All test output files included for cached, uncached, and multiple
2626 attempt tests.
2627 - Android rules no longer restrict the manifest file to be named
2628 "AndroidManifest.xml".
2629 - Boolean flag values will now get normalized to 1 or 0 in
2630 canonicalize-flags output.
2631 - added experimental --use_new_category_enum to the help command to
2632 output options grouped by the new type of category.
2633 - Expose output jars and jdeps in java_common.provider, when
2634 available.
2635 - android_library targets are no longer allowed to use deps to
2636 export targets implicitly; please use android_library.exports
2637 instead.
2638 - New depset API
2639 - apple_binary and apple_static_library no longer support
2640 compilation attributes such as 'srcs'. If this breaks any
2641 existing targets, you may migrate all such attributes to a new
2642 objc_library target and depend on that objc_library target via
2643 the 'deps' attribute of apple_binary or apple_static_library.
2644
Bazel Release Systemed0ebc02017-10-05 23:52:25 +02002645## Release 0.6.1 (2017-10-05)
2646
2647```
2648Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689
2649
2650Cherry picks:
2651 + a615d288b008c36c659fdc17965207bb62d95d8d:
2652 Rollback context.actions.args() functionality.
2653 + 7b091c1397a82258e26ab5336df6c8dae1d97384:
2654 Add a global failure when a test is interrupted/cancelled.
2655 + 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120:
2656 Cleanups for Skylark tracebacks
2657 + cc9c2f07127a832a88f27f5d72e5508000b53429:
2658 Remove the status xml attribute from AntXmlResultWriter
2659 + 471c0e1678d0471961f1dc467666991e4cce3846:
2660 Release 0.6.0 (2017-09-28)
2661 + 8bdd409f4900d4574667fed83d86b494debef467:
2662 Only compute hostname once per server lifetime
2663 + 0bc9b3e14f305706d72180371f73a98d6bfcdf35:
2664 Fix bug in NetUtil caching.
2665```
2666
2667Important changes:
2668 - Only compute hostname once per server lifetime
2669
Bazel Release System471c0e12017-09-28 16:36:12 +02002670## Release 0.6.0 (2017-09-28)
2671
2672```
2673Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689
2674
2675Cherry picks:
2676 + a615d288b008c36c659fdc17965207bb62d95d8d:
2677 Rollback context.actions.args() functionality.
2678 + 7b091c1397a82258e26ab5336df6c8dae1d97384:
2679 Add a global failure when a test is interrupted/cancelled.
2680 + 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120:
2681 Cleanups for Skylark tracebacks
2682 + cc9c2f07127a832a88f27f5d72e5508000b53429:
2683 Remove the status xml attribute from AntXmlResultWriter
2684```
2685
2686Incompatible changes:
2687
2688 - Noop flag --deprecated_generate_xcode_project deleted.
2689 - Objects in Skylark are converted to strings in a more descriptive
2690 and less harmful way (they don't leak information that shouldn't
2691 be accessed by Skylark code, e.g. nondeterministic memory addresses
2692 of objects).
2693 - `set` is deprecated in BUILD and .bzl files, please use `depset`
2694 instead. Ordering names have also been changed, please use
2695 "default", "postorder", "preorder", and "topological" instead of
2696 "stable", "compile", "naive_link", and "link" correspondingly.
2697 - Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is
2698 an error.
2699 - Keyword-only syntax in a function definition is now forbidden
2700 e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`
2701 - --incompatible_comprehension_variables_do_not_leak defaults to
2702 "true."
2703 Iteration variable becomes inaccessible after a list/dict
2704 comprehension.
2705
2706New features:
2707
2708 - There is now a 'siblings' query function. See the query
2709 documentation for more details.
2710 - Added the print_action command, which outputs the
2711 actions needed to build a given target in the form of an
2712 ExtraActionSummary proto in text format.
2713 - android_binary now supports proguard_apply_dictionary to specify
2714 a custom dictionary to use for choosing names to obfuscate
2715 classes and members to.
2716
2717Important changes:
2718
2719 - 'strip' action is now configured via feature configuration
2720 - Flags from action_config get added first to the command line
2721 first,
2722 before the flags from features.
2723 - `bazel info output_path` no longer relies on the root directory
2724 filename being equal to the workspace name.
2725 - The `print` function now prints debug messages instead of
2726 warnings.
2727 - speedup of incremental dexing tools
2728 - --announce_rc now controls whether bazelrc startup options are
2729 printed to stderr.
2730 - Removing a few unused objc_provider keys.
2731 - Improved logging when workers have to be restarted due to its
2732 files having changed.
2733 - Top-level `if` statements are now forbidden.
2734 - Java protos are compiled to Java 7 bytecode.
2735 - All Android builds now use the desugar tool to support some Java
2736 8 features by default. To disable, use the
2737 --nodesugar_for_android flag.
2738 - Skylark-related options may now appear as "common" command
2739 options in the .bazelrc
2740 - Python is now required to build bazel.
2741 - When the lvalue of an augmented assignment is a list, we now
2742 throw an error
2743 before evaluating the code (e.g. `a, b += 2, 3`).
2744 - New --build_runfile_manifests flag controls production of
2745 runfiles manifests.
2746 - Enable debug info for Java builds
2747 - Allow java_lite_proto_library in the deps of android rules.
2748 - .so files in APKs will be memory-page aligned when
2749 android_binary.nocompress_extensions contains ".so" and
2750 --experimental_android_use_nocompress_extensions_on_apk is
2751 specified.
2752 - Skylark providers can specify allowed fields and their
2753 documentation.
2754 - Support ctx.actions.args() for more efficient Skylark command
2755 line construction.
2756 - The remote HTTP/1.1 caching client (--remote_rest_cache) now
2757 distinquishes between action cache and CAS. The request URL for
2758 the action cache is prefixed with 'ac' and the URL for the CAS
2759 is prefixed with 'cas'.
2760 - `JavaInfo` is a preferred alias to `java_common.provider`.
2761 - J2ObjC version updated to 2.0.3.
2762 - A new Java coverage implementation is available. Makes possible
2763 coverage for Skylark JVM rules.
2764 - Make proguard_apply_dictionary also apply to class and package
2765 obfuscation, not just class members.
2766 - When using the dictionary literal syntax, it is now an error to
2767 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
2768 - android_binary.nocompress_extensions now applies to all files in
2769 the APK, not just resources and assets.
2770 - The apple_genrule rule that is distributed with Bazel has been
2771 deleted. Users who wish to use genrules with Xcode's
2772 DEVELOPER_DIR set should use the rules in
2773 https://github.com/bazelbuild/rules_apple instead.
2774 - The swift_library rule that is distributed with Bazel has been
2775 deleted. Users who wish to compile Swift should use the rules in
2776 https://github.com/bazelbuild/rules_apple instead.
2777
Bazel Release System5371d132017-08-25 11:24:06 +02002778## Release 0.5.4 (2017-08-25)
2779
2780```
2781Baseline: 6563b2d42d29196432d5fcafa0144b8371fbb028
2782
2783Cherry picks:
2784 + d4fa181f8607c35230b7efa1ce94188b51508962:
2785 Use getExecPathString when getting bash_main_file
2786 + 837e1b3d4859140d29aaa6bbab8fbb008e6d701e:
2787 Windows, sh_bin. launcher: export runfiles envvars
2788 + fe9ba893c0ebec19228086356af5fa8d81f2809b:
2789 grpc: Consolidate gRPC code from BES and Remote Execution. Fixes
2790 #3460, #3486
2791 + e8d4366cd374fba92f1425de0d475411c8defda4:
2792 Automated rollback of commit
2793 496d3ded0bce12b7371a93e1183ba30e6aa88032.
2794 + 242a43449dd44a22857f6ce95f7cc6a7e134d298:
2795 bes,remote: update default auth scope.
2796 + 793b409eeae2b42be7fed58251afa87b5733ca4d:
2797 Windows, sh_bin. launcher: fix manifest path
2798 + 7e4fbbe4ab3915a57b2187408c3909e5cd6c6013:
2799 Add --windows_exe_launcher option
2800 + 91fb38e92ace6cf14ce5da6527d71320b4e3f3d2:
2801 remote_worker: Serialize fork() calls. Fixes #3356
2802 + b79a9fcd40f448d3aebb2b93a2ebe80d09b38408:
2803 Quote python_path and launcher in
2804 python_stub_template_windows.txt
2805 + 4a2e17f85fc8450aa084b201c5f24b30010c5987:
2806 Add build_windows_jni.sh back
2807 + ce61d638197251f71ed90db74843b55d9c2e9ae5:
2808 don't use methods and classes removed in upstream dx RELNOTES:
2809 update dexing tools to Android SDK 26.0.1
2810 + 5393a4996d701fa192964a35cbb75e558a0599c0:
2811 Make Bazel enforce requirement on build-tools 26.0.1 or later.
2812 + 5fac03570f80856c063c6019f5beb3bdc1672dee:
2813 Fix --verbose_failures w/ sandboxing to print the full command
2814 line
2815 + f7bd1acf1f96bb7e3e19edb9483d9e07eb5af070:
2816 Only patch in C++ compile features when they are not already
2817 defined in crosstool
2818 + d7f5c120417bc2d2344dfb285322355f225d9153:
2819 Bump python-gflags to 3.1.0, take two
2820 + 3cb136d5451e9d8af58f9a99990cad0592df101a:
2821 Add python to bazel's dockerfiles
2822```
2823
2824New features:
2825
2826 - Do not disable fully dynamic linking with ThinLTO when invoked
2827 via LIPO options.
2828
2829Important changes:
2830
2831 - Ignore --glibc in the Android transition.
2832 - Remove --experimental_android_use_singlejar_for_multidex.
2833 - nocopts now also filter copts
2834 - The Build Event Service (BES) client now properly supports
2835 Google Applicaton Default Credentials.
2836 - update dexing tools to Android SDK 26.0.1
2837 - Bazel Android support now requires build-tools 26.0.1 or later.
2838 - Fix a bug in the remote_worker that would at times make it crash on Linux. See #3356
2839 - The java_proto_library rule now supports generated sources. See #2265
2840
Bazel Release System195a7a82017-07-27 20:27:32 +02002841## Release 0.5.3 (2017-07-27)
2842
2843```
2844Baseline: 88518522a18df5788736be6151fc67992efe2aad
2845
2846Cherry picks:
2847 + 820a46af10808396873c36d0f331e533118cf0c6:
2848 Automated rollback of commit
2849 6d6e87297fe8818e4c374fdfabfbcf538bca898a.
2850 + ccfb2df69ecf4746f5a15e1295af995c3a45aa94:
2851 Allow py_binary to be the executable of a Skylark action or any
2852 SpawnAction on Windows.
2853 + 06534911696838e720c8681f6f568c69d28da65e:
2854 Fix string representation for the Root class
2855 + cd159bcee72a7f377621b45409807231a636f9e2:
2856 sandbox: Allow UNIX sockets on macOS even when block-network is
2857 used.
2858 + ad73cba3caa2e08ad61ea9ca63f9111cde1f48d1:
2859 Fix python_stub_template.txt to be compatible with Python 2.4.
2860 + 9a63aff8bb771af8917903fbbc9df3b708e2c0ed:
2861 Create Windows ZIP release artifact using Bazel
2862 + 5e576637b5705aff0a7bf56b5077463dffcd712f:
2863 Automated rollback of commit
2864 820a46af10808396873c36d0f331e533118cf0c6.
2865 + b6e29ca217b02c3ba499b85479a3830f59c9b9b6:
2866 Use the correct function to generate the release notes
2867 + 0f3481ba6364f24ef76b839bdde06ae7883c9bd9:
2868 Include <cinttypes> instead of <stdint.h>
2869```
2870
2871Incompatible changes:
2872
2873 - The --output=location flag to 'bazel query' cannot be used with
2874 query expressions that involve the 'buildfiles' or 'loadfiles'
2875 operators. This also applies to 'genquery' rules.
2876 - Operators for equality, comparison, 'in' and 'not in' are no
2877 longer associative, e.g. x < y < z is now a syntax error.
2878 Before, it was parsed as: (x < y) < z.
2879 - In strings, octal sequences greater than \377 are now forbidden
2880 (e.g. "\\600"). Previously, Blaze had the same behavior as Python 2,
2881 where "\\450" == "\050".
2882 - Using tabulation for identation is now fobidden in .bzl files
2883 - `load` is now a language keyword, it cannot be used as an
2884 identifier
2885 - lvalues must have define at least one variable (i.e. we forbid
2886 `[] = f()`).
2887 - Fixed a bug whereby multiple load() statements could appear on
2888 the same line
2889 - -extra_checks:off is no longer supported; use
2890 -XepDisableAllChecks instead
2891 - java_common.java_toolchain_attr is removed. Depend on the
2892 java_toolchain_alias() rule to accomplish the same thing.
2893 - cc_common.cc_toolchain_attr and java_common.java_runtime_attr are
2894 not supported anymore and were replaced with the
2895 cc_toolchain_alias() and java_runtime_alias() rules.
2896
2897New features:
2898
2899 - Zipped LLVM profiles are now supported.
2900 - LIPO maps to ThinLTO for LLVM builds.
2901 - Change to handle LLVM FDO zipped profile contents correctly.
2902
2903Important changes:
2904
2905 - Windows: bazel clean --expunge works
2906 - First argument of 'load' should be a label. Path syntax is
2907 deprecated (label should start with '//' or ':').
2908 - Octal prefix '0' is deprecated in favor of '0o' (use 0o777
2909 instead of 0777).
2910 - The extension_safe attribute of apple_binary no longer validates
2911 transitive dependencies are compiled against extension_safe APIs.
2912 - Parentheses around the tuple are now mandatory in [a for b in c
2913 if 1, 2]
2914 - Adjust the thresholds for --test_verbose_timeout_warnings so that
2915 it can recommending timeout increases and won't recommend
2916 timeouts that are too close to the actual timeout.
2917 - Iterating on a `depset` object is deprecated. If you need an
2918 iterable, call the `.to_list()` method first.
2919 - Bazel now uses tools from action_configs in Crosstool by default
2920 (as oposed to using top level tools).
2921 - Incremental dexing errors on combination of --multidex=off and
2922 either --main-dex-list or --minimal-main-dex.
2923 - When using the dictionary literal syntax, it is now an error to
2924 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
2925 - New property on android_sdk: aapt2
2926 Choose the version of aapt on android_binary
2927 - Add idl_preprocessed attribute to android_library, so that
2928 preprocessed aidl files can be passed to android_library for
2929 compiling
2930 - Bazel's remote_worker backend for remote execution supports
2931 sandboxing on Linux now. Check
2932 https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w
2933 orker/README.md for details.
2934 - Allows flags that expand to take values.
2935 - Make querying attributes formed by selector lists of list types
2936 more efficient by no longer listing every possible combination of
2937 attribute value but by more compactly storing the possible values
2938 of the list.
2939 - Writing build events to a file is no longer experimental
2940 - set --rewrite_calls_to_long_compare to false by default.
2941 - ObjC and C++ coverage feature is unified under name 'coverage'
2942 - Enable --incremental_dexing for Android builds by default. Note
2943 that some dexopts are incompatible with incremental dexing,
2944 including --force-jumbo.
2945 - Evaluation will soon use checked arithmetics and throw an error
2946 instead of overflow/underflow.
2947 - Implicit iteration in the CROSSTOOL has been removed, use
2948 explicit 'iterate_over' message.
2949 - Add option for Android specific grte_top
2950 - Crosstool patches are only applied if the toolchain doesn't define
2951 'no_legacy_features' feature.
2952 - 'platform_type' is now a mandatory attribute on apple_binary and
2953 apple_static_library rules.
2954 If this change breaks your build, feel free to add platform_type
2955 = 'ios' to any apple_binary and apple_static_library
2956 targets in your project, as this was the previous default
2957 behavior.
2958 - Remove apple_watch2_extension build rule. Users should be using
2959 the skylark watchos_application and watchos_extension rules.
2960 https://github.com/bazelbuild/rules_apple has details.
2961 - Check stderr to detect if connected to a terminal. Deprecate
2962 --isatty.
2963 - Commands that shut down the server (like "shutdown") now ensure
2964 that the server process has terminated before the client process
2965 terminates.
2966 - Remove apple_watch1_extension and apple_watch_extension_binary
2967 rules. Users should be using the skylark watchos_application and
2968 watchos_extension rules.
2969 https://github.com/bazelbuild/rules_apple has details.
2970 - Windows: Wrapper-less CROSSTOOL becomes default now.
2971 set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.
2972
Bazel Release System7b851222017-06-27 15:08:47 +02002973## Release 0.5.2 (2017-06-27)
2974
2975```
2976Baseline: e78ad83ded6e9c6d639793827e27b6570e6e9f65
2977
2978Cherry picks:
2979 + 68028317c1d3d831a24f90e2b25d1410ce045c54:
2980 experimental UI: move stopUpdateThread() out of synchronized,
2981 again
2982 + 019935dfbb61e61d08d1351b0365fb4e2d0df305:
2983 Fix bug in URI computation in RemoteModule
2984 + e9424cf9b9d72b98594966d5ac0f15bb018ec639:
2985 Automated rollback of commit
2986 7dec00574aa91327693f6ba7e90bff5bc834253e.
2987 + 9eea05d068a06ab642dd9d86d46ee5fa2e36b02e:
2988 Switching to Watcher API instead of wait_for_completion, in
2989 preparation for deprecating the wait_for_completion field.
2990 + 89659810e3048782dfb5e308e39aa8a0727e464e:
2991 Set correct execroot for info
2992 + 716b527266f47f59a2b7fb2e5fc52cb45e1691b1:
2993 Only create a single per-build instance of the remote cache /
2994 executor
2995 + 1d82d199f82409f217a42bcefebb96f723f91caa:
2996 protobuf: Update protobuf jars to be binary compatible with Java
2997 6. Fixes #3198
2998 + 524b90d9e5acc4fa568f215c9415eaa902e979f8:
2999 Change CAS URI to use the "bytestream" scheme instead of being
3000 scheme-less
3001 + 4929ad79865f8c13ef3b33c827040f4a037e4afe:
3002 Automated g4 rollback of commit
3003 923d7df521f67d031b288180560848bd35e20976.
3004 + 68b9a7e2dc17e32b194238d287e79bee1ba035b9:
3005 Automated g4 rollback of commit
3006 da56606563ee9df438db93392f681bf2abb4ac97.
3007 + 2ba693ffbe824136a0ca5f47d34710612f6302c3:
3008 Automated rollback of commit
3009 ce7c4deda60a307bba5f0c9421738e2a375cf44e.
3010```
3011
3012Incompatible changes:
3013
3014 - Blaze no longer generates xcode projects. Use tulsi.bazel.build
3015 instead.
3016
3017Important changes:
3018
3019 - Keyword-only syntax in a function definition is deprecated
3020 (e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`) and will be
3021 removed in the future.
3022 - Attempting to build an Android target without setting up
3023 android_sdk_repository will now produce a helpful error message.
3024 - Adds a sha256 attribute to git_repository and new_git_repository.
3025 This can only be used if the remote is a public GitHub
3026 repository. It forces
3027 Bazel to download the repository as a tarball, which will often
3028 be faster and
3029 more robust than cloning it.
3030 - Sandboxing is now enabled by default on FreeBSD (via
3031 processwrapper-sandbox).
3032 - android_test may use manifest placeholders with 'manifest_merger
3033 = "android"'.
3034 - load() statements should be called at the top of .bzl files,
3035 before any
3036 other statement. This convention will be enforced in the future.
3037 - Effectively remove sysroot from CppConfiguration and allow it to
3038 use select statements.
3039 - proto_library.strict_proto_deps no longer exists.
3040 - Flag --explicit_jre_deps is now a noop.
3041 - The 'legacy' Android manifest merger is deprecated. Please
3042 upgrade to the 'android' manifest merger, which is the same
3043 merger used by Gradle.
3044 https://developer.android.com/studio/build/manifest-merge.html
3045 - Using $(CC_FLAGS) in a GenRule adds a dependency to the c++
3046 toolchain
3047 - add one-version enforcement to android_local_test
3048 - Skylark support (apple_common.dotted_version(string)) for
3049 building DottedVersion objects to interface with native apple
3050 rules
3051 - CC_FLAGS can be defined using 'cc-flags-make-variable' action_config in
3052 CROSSTOOL
3053 - ios_framework native rule has been removed. This rule had been
3054 essentially broken for several months now; users should be using
3055 the skylark ios framework rule.
3056 https://github.com/bazelbuild/rules_apple has details.
3057 - Clean command no longer uses boolean values for --async,
3058 --expunge, and --expunge_async options.
3059 - Partially fixes external J2ObjC support.
3060 - '--aspects' can occur more than once on the command line.
3061 - --no_ prefix no longer recognized.
3062 - Use action_config in crosstool for static library archiving,
3063 remove ar_flag.
3064 - Added a new flag --sandbox_writable_path, which asks the sandbox
3065 to
3066 make an existing directory writable when running actions.
3067 - bazel test now also computes a default instrumentation filter if
3068 --collect_code_coverage is enabled
3069 - n/na
3070 - In .bzl files, top-level `if` statements are deprecated and will
3071 be forbidden
3072 in the future. Move them in a function body instead (or use a
3073 conditional
3074 expression instead: `x if condition else y`).
3075 - ios_device and ios_test are deprecated. Please use the new testing
3076 rules in https://github.com/bazelbuild/rules_apple instead.
3077 - bazel query --output package now displays packages from external
3078 repository with the format "@reponame//package". Packages in the
3079 main repository continue to have the format "package".
3080 - ctx.expand_make_variables is deprecated.
3081 - Bazel posts links to the CAS to the BEP if remote caching /
3082 execution is enabled
3083 - `bazel info execution_root` returns the corrrect directory name
3084 for the execution root.
3085
Bazel Release System63222de2017-06-06 11:32:04 +02003086## Release 0.5.1 (2017-06-06)
3087
3088```
3089Baseline: f3ae88ee043846e7acdffd645137075a4e72c573
3090
3091Cherry picks:
3092 + c58ba098526b748f9c73e6229cafd74748205aa1:
3093 Release to GCS: put the final release in its own directory
3094 + 0acead4ea3631240659836ce6ecd6d7f67fd352b:
3095 Update protobuf to latest master at a64497c and apply
3096 @laszlocsomor's latest changes from
3097 https://github.com/google/protobuf/pull/2969 on top of it.
3098 + d0242ce4a87929f2528f4602d0fb09d1ccfcea94:
3099 Make symlinks consistent
3100 + d953ca8b87a46decbce385cebb446ae0dd390881:
3101 Clean VanillaJavaBuilder output directories
3102 + 755669fb5de1f4e762f27c19776cac9f410fcb94:
3103 Pass all the environment variable to Bazel during bootstrapping
3104 + 6f041661ca159903691fcb443d86dc7b6454253d:
3105 Do not mark the JDK7 installer -without-jdk-installer
3106 + 720561113bfa702acfc2ca24ce3cc3fd7ee9c115:
3107 Fix #2958: Installer should not overwrite bazelrc
3108 + 511c35b46cead500d4e76706e0a709e50995ceba:
3109 Bootstrap: move the fail function to the top
3110 + 8470be1122825aae8ad0903dd1e1e2a90cce47d2:
3111 Clean up javac and Error Prone targets
3112 + 4a404de2c6c38735167e17ab41be45ef6fc4713a:
3113 Update javac version to 9-dev-r4023-2
3114 + 36ce4b433e19498a78c34540d5a166d4e0006b22:
3115 Update javac version to 9-dev-r4023-2
3116 + 38949b8526bdb3e6db22f3846aac87162c28c33f:
3117 Migrate off versioned javac and Error Prone targets
3118 + 1a57d298f8aa6ea8136d93223902104f2479cd2a:
3119 Re-enabling passing -sourcepath via javacopts.
3120 + eb565f408e03125e92d42b00756e519795be6593:
3121 Make make sure that msys build actually builds msys version
3122 + 39f328cf392056618d1a3ead4835a138b189a06d:
3123 Fix typo. Also do not override host_cpu for msvc.
3124 + 624802893f4fe72118f00a78452605d41a2e1c6f:
3125 Select correct JDK for windows_msys
3126 + c4f271d1a68366b6fa5ff38ea7d951b6a22af044:
3127 Automated g4 rollback of commit
3128 3e5edafa2a04a71cd3596e929e83222da725f3f9.
3129 + 926180997a0f296a5a009326aead887279ce0a90:
3130 Remove process-tools.cc which I forgot to delete during the last
3131 rollback.
3132 + baca6e4cb023649920871b74810927d304729e59:
3133 Fix #2982: Bazel installer should not check for installed JDK if
3134 using a bundled JDK.
3135 + 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842:
3136 Disable msys path conversion on Windows.
3137 + cc21998c299b4d1f97df37b961552ff8168da17f:
3138 Rollforward #2 of: Basic open-source crosstool to support
3139 targeting apple platform types.
3140 + 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f:
3141 Escape % in strings that will appear in Crosstool
3142 + 3b08f774e7938928e3a240a47a0a7554cdc8d50b:
3143 Adding feature for linking C Run-Time library on Windows
3144 + 3566474202d1978acfdcb7e5ff73ee03ea6f3df9:
3145 Do not use sed -E in bootstrap/compile.sh
3146 + c3cf7d917afd02d71de3800cd46ad8d14f1ddf55:
3147 Reverts non-xcode-available darwin crosstool generation.
3148```
3149
3150Important changes:
3151
3152 - Fixes regression in 0.5.0 requiring Xcode to build C++ on OSX.
3153
Bazel Release Systema3e26832017-05-26 14:11:07 +02003154## Release 0.5.0 (2017-05-26)
3155
3156```
3157Baseline: f3ae88ee043846e7acdffd645137075a4e72c573
3158
3159Cherry picks:
3160 + c58ba098526b748f9c73e6229cafd74748205aa1:
3161 Release to GCS: put the final release in its own directory
3162 + 0acead4ea3631240659836ce6ecd6d7f67fd352b:
3163 Update protobuf to latest master at a64497c and apply
3164 @laszlocsomor's latest changes from
3165 https://github.com/google/protobuf/pull/2969 on top of it.
3166 + d0242ce4a87929f2528f4602d0fb09d1ccfcea94:
3167 Make symlinks consistent
3168 + d953ca8b87a46decbce385cebb446ae0dd390881:
3169 Clean VanillaJavaBuilder output directories
3170 + 755669fb5de1f4e762f27c19776cac9f410fcb94:
3171 Pass all the environment variable to Bazel during bootstrapping
3172 + 6f041661ca159903691fcb443d86dc7b6454253d:
3173 Do not mark the JDK7 installer -without-jdk-installer
3174 + 720561113bfa702acfc2ca24ce3cc3fd7ee9c115:
3175 Fix #2958: Installer should not overwrite bazelrc
3176 + 511c35b46cead500d4e76706e0a709e50995ceba:
3177 Bootstrap: move the fail function to the top
3178 + 8470be1122825aae8ad0903dd1e1e2a90cce47d2:
3179 Clean up javac and Error Prone targets
3180 + 4a404de2c6c38735167e17ab41be45ef6fc4713a:
3181 Update javac version to 9-dev-r4023-2
3182 + 36ce4b433e19498a78c34540d5a166d4e0006b22:
3183 Update javac version to 9-dev-r4023-2
3184 + 38949b8526bdb3e6db22f3846aac87162c28c33f:
3185 Migrate off versioned javac and Error Prone targets
3186 + 1a57d298f8aa6ea8136d93223902104f2479cd2a:
3187 Re-enabling passing -sourcepath via javacopts.
3188 + eb565f408e03125e92d42b00756e519795be6593:
3189 Make make sure that msys build actually builds msys version
3190 + 39f328cf392056618d1a3ead4835a138b189a06d:
3191 Fix typo. Also do not override host_cpu for msvc.
3192 + 624802893f4fe72118f00a78452605d41a2e1c6f:
3193 Select correct JDK for windows_msys
3194 + c4f271d1a68366b6fa5ff38ea7d951b6a22af044:
3195 Automated g4 rollback of commit
3196 3e5edafa2a04a71cd3596e929e83222da725f3f9.
3197 + 926180997a0f296a5a009326aead887279ce0a90:
3198 Remove process-tools.cc which I forgot to delete during the last
3199 rollback.
3200 + baca6e4cb023649920871b74810927d304729e59:
3201 Fix #2982: Bazel installer should not check for installed JDK if
3202 using a bundled JDK.
3203 + 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842:
3204 Disable msys path conversion on Windows.
3205 + cc21998c299b4d1f97df37b961552ff8168da17f:
3206 Rollforward #2 of: Basic open-source crosstool to support
3207 targeting apple platform types.
3208 + 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f:
3209 Escape % in strings that will appear in Crosstool
3210 + 3b08f774e7938928e3a240a47a0a7554cdc8d50b:
3211 Adding feature for linking C Run-Time library on Windows
3212```
3213
3214Incompatible changes:
3215
3216 - Bazel's Linux sandbox no longer mounts an empty tmpfs on /tmp,
3217 instead the existing /tmp is mounted read-write. If you prefer
3218 to have a tmpfs on /tmp for sandboxed actions for increased
3219 hermeticity, please use the flag --sandbox_tmpfs_path=/tmp.
3220 - Converting artifacts to strings and printing them now return
3221 "File" instead of "Artifact" to be consistent with the type name.
3222 - The return type of depset.to_list() is now a list rather than a
3223 frozen list. (Modifying the list has no effect on the depset.)
3224 - Bazel now prints logs in single lines to java.log
3225 - --use_dash, --dash_url and --dash_secret are removed.
3226 - Remote repositories must define any remote repositories they
3227 themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
3228 defined
3229 in @x's WORKSPACE file).
3230 - Remote repositories must define any remote repositories they
3231 themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
3232 defined
3233 in @x's WORKSPACE file).
3234 - objc_xcodeproj has been removed, use tulsi.bazel.build instead.
3235
3236New features:
3237
3238 - If grte_top is a label, it can now follow non-configurable
3239 redirects.
3240 - Optional coverage_files attribute to cc_toolchain
3241 - "query --output=build" now includes select()s
3242 - Raw LLVM profiles are now supported.
3243
3244Important changes:
3245
3246 - Automatically generate Proguard mapping when resource shrinking
3247 and Proguard are enabled.
3248 - New rules in Bazel: proto_library, java_lite_proto_library,
3249 java_proto_library and cc_proto_library
3250 - Activate the "dead_strip" feature if objc binary stripping is
3251 enabled.
3252 - More stable naming scheme for lambda classes in desugared android
3253 code
3254 - Convert --use_action_cache to a regular option
3255 - Per-architecture dSYM binaries are now propagated by
3256 apple_binary's AppleDebugOutputsProvider.
3257 - Avoid factory methods when desugaring stateless lambdas for
3258 Android
3259 - desugar calls to Objects.requireNonNull(Object o) with
3260 o.getClass() for android
3261 - Add an --copy_bridges_from_classpath argument to android
3262 desugaring tool
3263 - Change how desugar finds desugared classes to have it working on
3264 Windows
3265 - Evaluation of commands on TargetsBelowDirectory patterns
3266 (e.g. //foo/...) matching packages that fail to load now report
3267 more
3268 detailed error messages in keep_going mode.
3269 - Allow to have several inputs and outputs
3270 - Repository context's execute() function can print stdout/stderr
3271 while running. To enable, pass quiet=False.
3272 - Bazel can now be built with a bundled version of the OpenJDK.
3273 This makes it possible to use Bazel on systems without a JDK, or
3274 where
3275 the installed JDK is too old.
3276 - The --jobs flag now defaults to "auto", which causes Bazel to
3277 use a reasonable degree of parallelism based on the local
3278 machine's
3279 capacity.
3280 - Bazel benchmark (perf.bazel.build) supports Java and Cpp targets.
3281 - no factory methods generated for lambda expressions on android
3282 - The Linux sandbox no longer changes the user to 'nobody' by
3283 default, instead the current user is used as is. The old behavior
3284 can be
3285 restored via the --sandbox_fake_username flag.
3286 - /tmp and /dev/shm are now writable by default inside the
3287 Linux sandbox.
3288 - Bazel can now use the process-wrapper + symlink tree based
3289 sandbox implementation in FreeBSD.
3290 - turn on --experimental_incremental_dexing_error_on_missed_jars by
3291 default.
3292 - All android_binarys are now signed with both Apk Signature V1 and
3293 V2. See https://source.android.com/security/apksigning/v2.html
3294 for more details.
3295 - Windows MSVC wrappers: Not filtering warning messages anymore,
3296 use --copt=-w and --host_copt=-w to suppress them.
3297 - A downloader bug was fixed that prevented RFC 7233 Range
3298 connection resumes from working with certain HTTP servers
3299 - Introduces experimental android_device rule for configuring and
3300 launching Android emulators.
3301 - For boolean flags, setting them to false using --no_<flag_name>
3302 is deprecated. Use --no<flag_name> without the underscore, or
3303 --<flag_name>=false instead.
3304 - Add --experimental_android_compress_java_resources flag to store
3305 java
3306 resources as compressed inside the APK.
3307 - Removed --experimental_use_jack_for_dexing and libname.jack
3308 output of
3309 android_library.
3310 - blaze canonicalize-flags now takes a --show_warnings flag
3311 - Changing --invocation_policy will no longer force a server
3312 restart.
3313 - Bazel now supports Android NDK14.
3314 - android_binary multidex should now work without additional flags.
3315 - Use action_config in crosstool for static library archiving,
3316 remove ar_flag.
3317 - new option for bazel canonicalize-flags, --canonicalize_policy
3318 - Use action_config in crosstool for static library archiving,
3319 remove ar_flag.
3320 - android_library exports_manifest now defaults to True.
3321 - Fix select condition intersections.
3322 - Adds a --override_repository option that takes a repository
3323 name and path. This forces Bazel to use the directory at that path
3324 for the repository. Example usage:
3325 `--override_repository=foo=/home/user/gitroot/foo`.
3326 - fix idempotency issue with desugaring lambdas in interface
3327 initializers for android
3328 - --experimental_android_use_singlejar_for_multidex is now a no-op
3329 and will eventually be removed.
3330 - Every local_repository now requires a WORKSPACE file.
3331 - Remove jack and jill attributes of the android_sdk rule.
3332 - Add Skylark stubs needed to remove sysroot from CppConfiguration.
3333 - Desugar try-with-resources so that this language feature is
3334 available
3335 to deveces with API level under 19.
3336 - The flag --worker_max_retries was removed. The
3337 WorkerSpawnStrategy no longer retries execution of failed Spawns,
3338 the reason being that this just masks compiler bugs and isn't
3339 done for any other execution strategy either.
3340 - Bazel will no longer gracefully restart workers that crashed /
3341 quit, instead this triggers a build failure.
3342 - All java resources are now compressed in android_binary APKs by
3343 default.
3344 - All java resources are now compressed in android_binary APKs by
3345 default.
3346 - android_ndk_repository now creates a cc_library
3347 (@androidndk//:cpufeatures) for the cpufeatures library that is
3348 bundled in the Android NDK. See
3349 https://developer.android.com/ndk/guides/cpu-features.html for
3350 more details.
3351 - 'output_groups' and 'instrumented_files' cannot be specified in
3352 DefaultInfo.
3353 - You can increase the CPU reservation for tests by adding a
3354 "cpu:<n>" (e.g. "cpu:4" for four cores) tag to their rule in a
3355 BUILD file. This can be used if tests would otherwise overwhelm
3356 your system if there's too much parallelism.
3357 - Deprecate use_singlejar_for_proguard_libraryjars and force
3358 behavior to always on.
3359
Bazel Release System8d635fc2017-03-16 13:18:30 +01003360## Release 0.4.5 (2017-03-16)
3361
3362```
3363Baseline: 2e689c29d5fc8a747216563235e905b1b62d63b0
3364
3365Cherry picks:
3366 + a28b54033227d930672ec7f2714de52e5e0a67eb:
3367 Fix Cpp action caching
3368 + 6d1d424b4c0da724e20e14235de8012f05c470f8:
3369 Fix paths of binaries in .deb packages.
3370 + 0785cbb672357d950e0c045770c4567df9fbdc43:
3371 Update to guava 21.0 and Error Prone version 2.0.18-20160224
3372 + 30490512eb0e48a3774cc4e4ef78680e77dd4e47:
3373 Update to latest javac and Error Prone
3374 + 867d16eab3bfabae070567ecd878c291978ff338:
3375 Allow ' ', '(', ')' and '$' in labels
3376 + 7b295d34f3a4f42c13aafc1cc8afba3cb4aa2985:
3377 Pass through -sourcepath to the JavaBuilder
3378 + 14e4755ce554cdfc685fc9cc2bfb5b699a3b48f4:
3379 PathFragment comparisons are now platform-aware
3380 + ed7795234ca7ccd2567007f2c502f853cd947e50:
3381 Flag to import external repositories in python import path
3382 + 81ae08bbc13f5f4a04f18caae339ca77ae2699c1:
3383 Suppress error for non-exhaustive switches
3384 + e8d1177eef9a9798d2b971630b8cea59471eec33:
3385 Correctly returns null if an environment variables is missing
3386 + 869d52f145c077e3499b88df752cebc60af51d66:
3387 Fix NPE in Android{S,N}dkRepositoryFunction.
3388 + d72bc57b60b26245e64f5ccafe023a5ede81cc7f:
3389 Select the good guava jars for JDK7 build
3390 + 92ecbaeaf6fa11dff161254df38d743d48be8c61:
3391 Windows: Assist JNI builds with a target for jni_md.h.
3392 + 36958806f2cd38dc51e64cd7bcc557bd143bbdb6:
3393 Add java_common.create_provider to allow creating a
3394 java_common.provider
3395 + 8c00f398d7be863c4f502bde3f5d282b1e18f504:
3396 Improve handling of unknown NDK revisions in
3397 android_ndk_repository.
3398 + b6ea0d33d3ab72922c8fb3ec1ff0e437af09584d:
3399 Add the appropriate cxx_builtin_include_directory entries for
3400 clang to the Android NDK crosstool created by
3401 android_ndk_repository.
3402```
3403
3404Incompatible changes:
3405
3406 - Depsets (former sets) are converted to strings as "depset(...)"
3407 instead of
3408 "set(...)".
3409 - Using --symlink_prefix is now applied to the output
3410 symlink (e.g. bazel-out) and the exec root symlink (e.g.
3411 bazel-workspace).
3412 - Bazel now uses the test's PATH for commands specified as
3413 --run_under; this can affect users who explicitly set PATH to
3414 a more
3415 restrictive value than the default, which is to forward the
3416 local PATH
3417 - It's not allowed anymore to compare objects of different types
3418 (i.e. a string to an integer) and objects for which comparison
3419 rules are not
3420 defined (i.e. a dict to another dict) using order operators.
3421
3422New features:
3423
3424 - environ parameter to the repository_rule function let
3425 defines a list of environment variables for which a change of
3426 value
3427 will trigger a repository refetching.
3428
3429Important changes:
3430
3431 - android_ndk_repository now supports Android NDK R13.
3432 - Android resource shrinking is now available for android_binary
3433 rules. To enable, set the attribute 'shrink_resources = 1'. See
3434 https://bazel.build/versions/master/docs/be/android.html#android_b
3435 inary.shrink_resources.
3436 - resolve_command/action's input_manifest return/parameter is now
3437 list
3438 - For increased compatibility with environments where UTS
3439 namespaces are not available, the Linux sandbox no longer hides
3440 the hostname of the local machine by default. Use
3441 --sandbox_fake_hostname to re-enable this feature.
3442 - proto_library: alias libraries produce empty files for descriptor
3443 sets.
3444 - Adds pkg_rpm rule for generating RPM packages.
3445 - Allow CROSSTOOL files to have linker flags specific to static
3446 shared libraries.
3447 - Make it mandatory for Java test suites in bazel codebase, to
3448 contain at least one test.
3449 - Support for Java 8 lambdas, method references, type annotations
3450 and repeated annotations in Android builds with
3451 --experimental_desugar_for_android.
3452 - Removed .xcodeproj automatic output from objc rules. It can still
3453 be generated by requesting it explicitly on the command line.
3454 - Flips --explicit_jre_deps flag on by default.
3455 - Activate the "dbg", "fastbuild", and "opt" features in the objc
3456 CROSSTOOL.
3457 - Remove support for configuring JDKs with filegroups; use
3458 java_runtime and java_runtime_suite instead
3459 - android_ndk_repository api_level attribute is now optional. If not
3460 specified, the highest api level in the ndk/platforms directory
3461 is used.
3462
Bazel Release System6712cac2017-02-01 19:53:37 +01003463## Release 0.4.4 (2017-02-01)
3464
3465```
3466Baseline: 4bf8cc30a
3467
3468Cherry picks:
3469 + ef1c6fd33: msvc_tools.py.tpl: Change default runtime library to
3470 static
3471```
3472
3473Incompatible changes:
3474
3475 - Only targets with public visibility can be bound to something in
3476 //external: .
3477 - The deprecated -x startup option has been removed.
3478 - docker_build: change the repository names embedded by
3479 docker_build. You can revert to the old behavior by setting
3480 legacy_repository_naming=True.
3481 - The string methods strip(), lstrip(), and rstrip() now
3482 by default remove the same whitespace characters as Python 3
3483 does, and accept
3484 None as an argument.
3485 - Deprecated globals HOST_CFG and DATA_CFG are removed. Use strings
3486 "host" and "data" instead.
3487 - repository_ctx environment is now affected by --action_env flag
3488 (value from the
3489 client environment will be replaced by value given on the command
3490 line through --action_env).
3491 - All executable labels must also have a cfg parameter specified.
3492 - Removed the cmd_helper.template function.
3493 The function was equivalent to:
3494 def template(items, template):
3495 return [template.format(path = i.path, short_path =
3496 i.short_path)
3497 for i in items]
3498 - Tuples that end with a trailing comma must now be inside parens,
3499 e.g. (1,) instead of 1,
3500 - The traversal orders for depsets have been renamed. The old names
3501 are deprecated and will be removed in the future. New names:
3502 "stable" -> "default", "compile" -> "postorder", "link" ->
3503 "topological", "naive_link" -> "preorder".
3504
3505New features:
3506
3507 - Skylark: you can now multiply a list by an integer to get the
3508 concatenation of N copies of this list, e.g. [a,b] * 3 =
3509 [a,b,a,b,a,b]
3510 - Allow Android aidl tool to add a jar to the program's classpath,
3511 such as if needed to support generated sources.
3512 - Add transitive proguard_specs when android_sdk.aidl_lib is
3513 specified
3514 - Windows: "/dev/null" is now a supported path, e.g.
3515 --bazelrc=/dev/null now works
3516
3517Important changes:
3518
3519 - Bazel Android builds use the apksigner tool from the Android SDK
3520 build-tools. Bazel Android builds now require build-tools version
3521 24.0.3 or
3522 later.
3523 - Android SDK external bindings for support libraries, e.g.
3524 //external:android/appcompat_v4, are removed because the support
3525 library JARs that they referenced no longer ship with the Android
3526 SDK.
3527 - aar_import rule is now documented.
3528 - An IE bug was fixed in repository_ctx.download_and_extract
3529 - Update "-I" to "-isystem" in documentation to reflect current
3530 behavior.
3531 - android_sdk_repository build_tools_version is now optional. The
3532 highest installed build-tools will be used if none is specified.
3533 - New flag --sandbox_add_mount_pair to specify customized
3534 source:target path pairs to bind mount inside the sandbox.
3535 - expose proto_library descriptor set to skylark via
3536 <dep>.proto.descriptor_set
3537 - The `set` constructor is deprecated in favor of `depset`
3538 - Autodetect gold linker in cc_configure.bzl
3539 - Remove build flag --experimental_j2objc_annotation_processing. It
3540 is on by default now.
3541 - Set clang's -mwatchos-version-min correctly using the value of
3542 --watchos_minimum_os, not --watchos_sdk_version.
3543 - singlejar can now create jar files larger than 4GB.
3544 - android_sdk_repository and android_ndk_repository now read
3545 $ANDROID_HOME and $ANDROID_NDK_HOME if the path attribute is not
3546 set.
3547 - Removed broken api levels 3, 4 and 5 from Android NDK 12.
3548 - Default --android_dynamic_mode to off.
3549 - android_sdk_repository no longer requires api_level. If one is
3550 not specified, the highest android platform installed will be
3551 used. Furthermore, android_sdk's are created for all android
3552 platforms installed and can be specified with the --android_sdk
3553 flag.
3554 - To iterate over or test for membership in a set, prefer using the
3555 new to_list() method. E.g., "for x in myset.to_list():", or
3556 "print(x in myset.to_list())". Iteration/membership-test on the
3557 raw set itself is deprecated.
3558 - Remove support for --javawarn; use e.g. --javacopt=-Xlint:all
3559 instead
3560
Bazel Release Systemd3b23642016-12-22 13:30:47 +01003561## Release 0.4.3 (2016-12-22)
Bazel Release System80865ff2016-11-30 13:18:54 +01003562
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +01003563```
Bazel Release Systemd3b23642016-12-22 13:30:47 +01003564Baseline: c645a45
Bazel Release System80865ff2016-11-30 13:18:54 +01003565
3566Cherry picks:
Bazel Release Systemd3b23642016-12-22 13:30:47 +01003567 + af878d0: Add coverage support for java test. (series 4/4 of
3568 open-sourcing coverage command for java test)
3569 + 09b92a8: Rollback of commit
3570 67b4d5250edcefa7220e928e529b1f385e2dc464.
3571 + b11dd48: Fix bad bug with the parallel implementation of
3572 BinaryOperatorExpression. Turns out that
3573 ForkJoinTask#adapt(Callable) returns a ForkJoinTask
3574 whose Future#get on error throws a ExecutionException
3575 wrapping a RuntimeException wrapping the thrown checked
3576 exception from the callable. This is documented
3577 behavior [1] that I incorrectly didn't know about.
3578 + 9012bf1: Fix scripts/packages/convert_changelog to read the
3579 changelog correctly
3580 + 55c97bc: Release script: if master branch does not exist, fall
3581 back on origin/master
3582 + 4fb378c: Debian repository: override section and priority fields
3583 + acbcbc2: Fix release notes in emails
3584 + 4975760: Fix PathFragment to not use Java8-only static hashCode
3585 methods.
3586 + 05fd076: Disable sandboxing for XibCompile actions.
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +01003587```
Bazel Release System80865ff2016-11-30 13:18:54 +01003588
3589Incompatible changes:
3590
Bazel Release Systemd3b23642016-12-22 13:30:47 +01003591 - Skylark maven_jar and maven_aar settings attribute is now a label
3592 so it can be checked into your workspace.
3593 - --{no}experimental_use_rclass_generator is now a nop.
3594
3595New features:
3596
3597 - Coverage support (*experimental*) for pure Java target.
3598 Use `bazel coverage //my:target` to generate coverage information
3599 from a `java_test`.
Bazel Release System80865ff2016-11-30 13:18:54 +01003600
3601Important changes:
3602
Bazel Release Systemd3b23642016-12-22 13:30:47 +01003603 - Enable fallback URLs in Skylark http rules.
3604 - cc_proto_library generates C++ code from proto_library rules.
3605 - cc_library now supports the strip_prefix and strip_include_prefix
3606 attributes for control of include paths.
3607 - Skylark dicts internally don't rely on keys order anymore and
3608 accept any hashable values (i.e. structs with immutable values)
3609 as keys. Iteration order of dictionaries is no longer specified.
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +01003610
3611## Release 0.4.2 (2016-12-02)
3612
3613```
3614Baseline: 6331a94
3615
3616Cherry picks:
3617 + 7b835d9: Do not patch WORKSPACE in the release process
3618```
3619
3620Incompatible changes:
3621
3622 - Callback functions in Skylark no longer support the cfg
3623 parameter. This is a cleanup and only affects the signatures of
3624 callbacks, since the parameter hasn't been set since September
3625 2016.
3626
3627Important changes:
3628
3629 - Alias proto_library's produce a descriptor set that contains all
3630 srcs of its dependencies.
3631 - proto_library supports strict proto deps.
3632 - Top level @androidsdk support library targets have been replaced
3633 by @androidsdk//<group id>:<artifact id>-<version> for Android
3634 SDK Support and Google Play Services libraries.
3635
Bazel Release System15402a92016-11-30 10:12:30 +01003636## Release 0.4.1 (2016-11-21)
3637
3638```
3639Baseline: 9a796de
3640
3641Cherry picks:
3642 + 88bfe85: Description redacted. -- MOS_MIGRATED_REVID=139219934
3643 + b09ea94: Rollback of commit
3644 a3f5f576cd35798140ba3e81d03d919dd4ecb847.
3645```
3646
3647New features:
3648
3649 - android_library now has a "exported_plugins" attribute just like
3650 java_library
3651 - Use --strict_system_includes to apply hdrs_check=strict also to
3652 cc_library.includes, even if sandboxing is disabled.
3653 - Bazel on Windows: java_binary can now be the executable of
3654 Skylark rule actions (ctx.action's executable argument)
3655 - Packages are defined in BUILD.bazel as well as BUILD files.
3656
3657Important changes:
3658
3659 - getattr()'s 3-arg form no longer raises an error when the
3660 retrieved field is a built-in method.
3661 - --apk_signing_method default changed to v1. Android APKs are now
3662 signed with the new ApkSignerTool by default.
3663 - New rule: proto_lang_toolchain(), to support LANG_proto_library
3664 rules on multiple platforms.
3665 - Fix for Android clang++ std::stack segfault on 32bit x86. See
3666 https://code.google.com/p/android/issues/detail?id=220159
3667 - Default android_manifest_merger is now "android" which uses the
3668 official Android manifest merger.
3669 http://tools.android.com/tech-docs/new-build-system/user-guide/man
3670 ifest-merger
3671 - Do not propagate aspect to its own attributes when using '*'.
3672 - Comparing sets (`if set1 < set2:`) is not allowed anymore in
3673 Skylark because it didn't work correctly anyway.
3674 - When --experimental_extra_action_top_level_only, Bazel reports
3675 extra-actions for actions registered by Aspects injected by a
3676 top-level rule (approximately).
3677 - Blacklists for proto_lang_toolchain() no longer have to be
3678 proto_library's.
3679 - Extra actions now contain aspect-related information.
3680 - Fix slicing bug where "abc"[:-4:-1] would give wrong answer
3681
Bazel Release Systemd0761e62016-11-02 13:36:35 -04003682## Release 0.4.0 (2016-10-26)
3683
3684```
3685Baseline: 088bbc6
3686
3687Cherry picks:
3688 + b01160c: Stamp Windows release.
3689 + 2d6736e: Add --no-tty for gpg signing
3690 + 9b1dfb8: Remove .sig file before gpg signing
3691 + 81aede1: Reimplement whole archive on Windows
3692```
3693
3694Incompatible changes:
3695
3696 - Skylark: updating list/dicts while they are being looped over is not
3697 allowed. Use an explicit copy if needed ("for x in list(mylist):").
3698 - Bazel now uses the --cpu flag to look up Jvms; it falls back
3699 to "default" if it can't find a Jvm matching the CPU value.
3700 - --command_port=-1 to use AF_UNIX for client/server communications
3701 is not supported anymore.
3702 - Sandboxed actions can access the network by default, unless their
3703 target has a "block-network" tag.
3704
3705New features:
3706
3707 - Files now have an "extension" property in Skylark.
3708
3709Important changes:
3710
3711 - Added a new flag --sandbox_tmpfs_path, which asks the sandbox to
3712 mount an empty, writable directory at a specified path when
3713 running actions. (Supported on Linux only for now.)
3714 - Update protoc-3.0.0-mingw.exe to a working (statically linked)
3715 binary
3716 - apple_static_library rule to create multi-architecture static
3717 archive files from Objc/C++/Swift dependencies on apple platforms
3718 - JS: Add support for localization with closure managed rules.
3719 - Create a flag --android_dynamic_mode to turn off dynamic mode
3720 during the Android split transition.
3721 - Darwin sandboxing is default.
3722 - Remove flag --experimental_zip_tree_artifact from j2objc Java
3723 annotation processing support.
3724 - A few functions are added to BUILD files for consistency (hash,
3725 dir,
3726 hasattr, getattr) with .bzl files, although they are not very
3727 useful.
3728 - --watchfs is now a command option; the startup option of the same
3729 name is deprecated. I.e., use bazel build --watchfs, not
3730 blaze --watchfs
3731 build.
3732
Bazel Release System33579a42016-10-07 13:05:11 -04003733## Release 0.3.2 (2016-10-07)
3734
3735```
3736Baseline: 023a7bd
3737
3738Cherry picks:
3739 + bebbbe5: Fix dependency on libtool's helper script
3740 make_hashed_objlist.py.
3741 + 8a0d45f: Add the version information to the bazel.exe file
3742 + 2bc0939: Allow new_ rules to overwrited BUILD files in
3743 downloaded repos
3744 + c5545fd: Rollback of commit
3745 96d46280bc5a4803ba2242a4ad16939f85a3b212.
3746 + eb87208: Make cc_configure on Windows more robust
3747 + c30432c: Fix cc_configure on Windows
3748 + 95b16a8: sandbox: Replace the error-prone lazy cleanup of
3749 sandbox directories by a simple synchronous cleanup.
3750 + e898023: Fix #1849: Sandboxing on OS X should be turned off by
3751 default for 0.3.2.
3752 + ffdc05d: Add action_config and feature for linking on Windows
3753```
3754
3755Incompatible changes:
3756
3757 - If you maintain a rule that uses persistent workers, you'll have
3758 to specify execution_requirements={"supports-workers": 1} in the
3759 ctx.action that intends to run a tool with workers. The
3760 WorkerSpawnStrategy will alert you with a warning message if you
3761 forget to make this change and fallback to non-worker based
3762 execution.
3763 - It is now an error to include a precompiled library (.a, .lo, .so)
3764 in a cc_library which would generate a library with the same name
3765 (e.g., libfoo.so in cc_library foo) if that library also contains
3766 other linkable
3767 sources.
3768 - The main repository's execution root is under the main
3769 repository's workspace name, not the source directory's basename.
3770 This shouldn't
3771 have any effect on most builds, but it's possible it could break
3772 someone doing
3773 weird things with paths in actions.
3774 - Blaze doesn't support Unix domain sockets for communication
3775 between its client and server anymore. Therefore, the
3776 --command_port command line argument doesn't accept -1 as a valid
3777 value anymore.
3778 - Skylark: It is an error to shadow a global variable with a local
3779 variable after the global has already been accessed in the
3780 function.
3781 - bin_dir and genfiles_dir are now properties of ctx, not
3782 configuration. That is, to access the bin or genfiles directory
3783 from a
3784 Skylark rule, use ctx.bin_dir or ctx.genfiles_dir (not
3785 ctx.configuration.{bin,genfiles}_dir). At the moment, you can
3786 access
3787 {bin,genfiles}_dir from either, but the ctx.configuration version
3788 will
3789 stop working in a future release.
3790 - filegroup-based C++ toolchains are not supported anymore.
3791 --*_crosstool_top options must always point to a
3792 cc_toolchain_suite rule (or an alias of one).
3793 - repository_ctx.{download,download_and_extract,execute} API now use
3794 named parameters for optional parameters and no
3795 longer uses argument
3796 type to distinguished between arguments
3797 (executable attribute name
3798 must be specified when preceding optional
3799 arguments are missing).
3800
3801New features:
3802
3803 - print and fail are now available in BUILD files.
3804
3805Important changes:
3806
3807 - Added @bazel_tools//tools/build_defs/repo/git.bzl as a Skylark
3808 rule for Git repositories.
3809 - Added @bazel_tools//tools/build_defs/repo/maven_rules.bzl as a
3810 Skylark rule for Maven repositories.
3811 - Add global hash() function for strings (only)
3812 - Improve Android split transition handling.
3813 - Removes exports_manifest attribute from android_binary rule.
3814 - java_proto_library: control strict-deps through a rule-level and
3815 a package-level attribute.
3816 - Persistent workers are now used by default for Java compilation
3817 in Bazel, which should speed up your Java builds by ~4x. You can
3818 switch back to the old behavior via --strategy=Javac=standalone.
3819 Check out http://www.bazel.io/blog/2015/12/10/java-workers.html
3820 for more details.
3821 - objc_* rules can now depend on any target that returns an "objc"
3822 provider.
3823 - Adds support for NDK12 to `android_ndk_repository` rule in Bazel.
3824 - Test targets can disable the JUnit4 test security manager via a
3825 property.
3826 - Disable the Android split transition if --android_cpu and
3827 fat_apk_cpu are both empty.
3828 - New sandboxing implementation for Linux in which all actions run
3829 in a separate execroot that contains input files as symlinks back
3830 to the originals in the workspace. The running action now has
3831 read-write access to its execroot and /tmp only and can no longer
3832 write in arbitrary other places in the file system.
3833 - Add worker support to single jar.
3834 - Invoke source jar action as a worker.
3835 - Sandboxed builds allow network access for builds by default.
3836 Tests will still be run without networking, unless
3837 "requires-network" is specified as a tag.
3838 - Add path.realpath() method for Skylark repositories.
3839 - On Mac devices, detect locally installed versions of xcode to:
3840 1. Use a sensible default if xcode is required but
3841 --xcode_version is unspecified.
3842 2. Use sensible default iOS SDK version for the targeted version
3843 of xcode if ios_sdk_version is unspecified.
3844 - Emacs' [C-x `], a.k.a. next-error, works again in emacsen >= 25.1
3845 - swift_library can be used to build watchOS apps.
3846 - Exposes the is_device field on Apple platform objects and adds
3847 the apple_common.platform_type(name) method to retrieve a
3848 platform_type value that can be passed to methods like the Apple
3849 fragment's multi_arch_platform.
3850 - Move Skylark git_repository rules to git.bzl
3851 - Add support for aspects to attr.label() attributes
3852 - Global varaiables HOST_CFG and DATA_CFG are deprecated in favor
3853 of strings "host"
3854 and "data.
3855 Argument `cfg = "host"` or `cfg = "data"` is mandatory if
3856 `executable = True` is provided for a label.
3857 - The deprecation attribute of all rules now causes warnings
3858 to be printed when other targets depend on a target with that
3859 attribute set.
3860 - Change default of --[no]instrument_test_targets to false, change
3861 default --instrumentation_filter (which previously tried to
3862 exclude test targets by heuristic) to only exclude targets in
3863 javatests.
3864 - Remove deprecated absolute paths in blaze IDE artifacts
3865 - When using android_binary.manifest_merger="android" the merger
3866 produces a summary log next to the merged manifest artifact.
3867 - Allow different default mallocs per configuration.
3868
Bazel Release System70c772b2016-07-29 10:28:13 +02003869## Release 0.3.1 (2016-07-29)
3870
3871```
3872Baseline: 792a9d6
3873
3874Cherry picks:
3875 + 25e5995: Rollback of commit
3876 a2770334ea3f3111026eb3e1368586921468710c.
3877 + 2479405: Fix NPE with unset maven_jar sha1
3878 + 3cf2126: Rewrite the extra action info files if the data within
3879 them changes.
3880 + 5a9c6b4: JavaBuilder: Reintroduce the -extra_checks flag.
3881```
3882
3883Incompatible changes:
3884
3885 - Removed predefined Python variable "generic_cpu".
3886 - Skylark rules: if you set "outputs" or an attribute to a
3887 function, this function must now list its required attributes as
3888 parameters (instead of an attribute map).
3889 - The host_platform and target_platform entries are not written to
3890 the master log anymore.
3891 - Bazel requires Hazelcast 3.6 or higher now for remote execution
3892 support, because we upgraded our client library and the protocol
3893 it uses is incompatible with older versions.
3894
3895New features:
3896
3897 - LIPO context (--lipo_context) can now also be a cc_test (in
3898 addition to cc_binary)
3899
3900Important changes:
3901
3902 - If --android_crosstool_top is set, native code compiled for
3903 android will always use --android_compiler and not --compiler in
3904 choosing the crosstool toolchain, and will use --android_cpu if
3905 --fat_apk_cpu is not set.
3906 - Add --instrument_test_targets option.
3907 - apple_binary supports a new platform_type attribute, which, if
3908 set to "watchos", will build dependencies for Apple's watchOS2.
3909 - objc_binary now supports late-loaded dynamic frameworks.
3910 - Native Swift rules no longer pull in module maps unconditionally.
3911 Use --experimental_objc_enable_module_maps for that.
3912 - Merged manifests are guaranteed to have the application element
3913 as the last child of the manifest element as required by Android
3914 N.
3915 - The Android manifest merger is now available as an option for
3916 android_binary rules. The merger will honor tools annotations in
3917 AndroidManifest.xml and will perform placeholder substitutions
3918 using the values specified in android_binary.manifest_values. The
3919 merger may be selected by setting the manifest_merger attribute
3920 on android_binary.
3921 - The progress message would not clear packages that need to be
3922 loaded twice.
3923 - Remove warning for high value of --jobs.
3924 - Use the correct build configuration for shared native deps during
3925 Android split transitions.
3926 - When building ObjectiveC++, pass the flag -std=gnu++11.
3927 - use xcrun simctl instead of iossim to launch the app for "blaze
3928 run".
3929 - Glob arguments 'exclude' and 'exclude_directories' must be named
3930 - Bazel no longer regards an empty file as changed if its mtime has
3931 changed.
3932
Bazel Release Systemccadf8d2016-06-10 13:28:40 +02003933## Release 0.3.0 (2016-06-10)
3934
3935```
3936Baseline: a9301fa
3937
3938Cherry picks:
3939 + ff30a73: Turn --legacy_external_runfiles back on by default
3940 + aeee3b8: Fix delete[] warning on fsevents.cc
3941```
3942
3943Incompatible changes:
3944
3945 - The --cwarn command line option is not supported anymore. Use
3946 --copt instead.
3947
3948New features:
3949
3950 - On OSX, --watchfs now uses FsEvents to be notified of changes
3951 from the filesystem (previously, this flag had no effect on OS X).
3952 - add support for the '-=', '*=', '/=', and'%=' operators to
3953 skylark. Notably, we do not support '|=' because the semantics
3954 of skylark sets are sufficiently different from python sets.
3955
3956Important changes:
3957
3958 - Use singular form when appropriate in blaze's test result summary
3959 message.
3960 - Added supported for Android NDK revision 11
3961 - --objc_generate_debug_symbols is now deprecated.
3962 - swift_library now generates an Objective-C header for its @objc
3963 interfaces.
3964 - new_objc_provider can now set the USES_SWIFT flag.
3965 - objc_framework now supports dynamic frameworks.
3966 - Symlinks in zip files are now unzipped correctly by http_archive,
3967 download_and_extract, etc.
3968 - swift_library is now able to import framework rules such as
3969 objc_framework.
3970 - Adds "jre_deps" attribute to j2objc_library.
3971 - Release apple_binary rule, for creating multi-architecture
3972 ("fat") objc/cc binaries and libraries, targeting ios platforms.
3973 - Aspects documentation added.
3974 - The --ues_isystem_for_includes command line option is not
3975 supported anymore.
3976 - global function 'provider' is removed from .bzl files. Providers
3977 can only be accessed through fields in a 'target' object.
3978
Bazel Release System9fdd6012016-05-17 11:12:31 +02003979## Release 0.2.3 (2016-05-10)
3980
3981```
3982Baseline: 5a2dd7a
3983```
3984
3985Incompatible changes:
3986
3987 - All repositories are now directly under the x.runfiles directory
3988 in the runfiles tree (previously, external repositories were at
3989 x.runfiles/main-repo/external/other-repo. This simplifies
3990 handling remote repository runfiles considerably, but will break
3991 existing references to external repository runfiles.
3992 Furthermore, if a Bazel project does not provide a workspace name
3993 in the WORKSPACE file, Bazel will now default to using __main__
3994 as the workspace name (instead of "", as previously). The
3995 repository's runfiles will appear under x.runfiles/__main__/.
3996 - Bazel does not embed protocol buffer-related rules anymore.
3997 - It is now an error for a cc rule's includes attribute to point to
3998 the workspace root.
3999 - Bazel warns if a cc rule's includes attribute points out of
4000 third_party.
4001 - Removed cc_* attributes: abi / abi_deps. Use select() instead.
4002
4003New features:
4004
4005 - select({"//some:condition": None }) is now possible (this "unsets"
4006 the attribute).
4007
4008Important changes:
4009
4010 - java_import now allows its 'jars' attribute to be empty.
4011 - adds crunch_png attribute to android_binary
4012 - Replace --java_langtools, --javabuilder_top, --singlejar_top,
4013 --genclass_top, and --ijar_top with
4014 java_toolchain.{javac,javabuilder,singlejar,genclass,ijar}
4015 - External repository correctness fix: adding a new file/directory
4016 as a child of a new_local_repository is now noticed.
4017 - iOS apps are signed with get-task-allow=1 unless building with -c
4018 opt.
4019 - Generate debug symbols (-g) is enabled for all dbg builds of
4020 objc_ rules.
4021 - Bazel's workspace name is now io_bazel. If you are using Bazel's
4022 source as an external repository, then you may want to update the
4023 name you're referring to it as or you'll begin seeing warnings
4024 about name mismatches in your code.
4025 - Fixes integer overflow in J2ObjC sources to be Java-compatible.
4026 - A FlagPolicy specified via the --invocation_policy flag will now
4027 match the current command if any of its commands matches any of
4028 the commands the current command inherits from, as opposed to
4029 just the current command.
4030 - The key for the map to cc_toolchain_suite.toolchains is now a
4031 string of the form "cpu|compiler" (previously, it was just "cpu").
4032 - Fix interaction between LIPO builds and C++ header modules.
4033 - Ctrl-C will now interrupt a download, instead of waiting for it to
4034 finish.
4035 - Proxy settings can now be specified in http_proxy and https_proxy
4036 environment variables (not just HTTP_PROXY and HTTPS_PROXY).
4037 - Skylark targets can now read include directories from
4038 ObjcProvider.
4039 - Expose parameterized aspects to Skylark.
4040 - Support alwayslink cc_library dependencies in objc binaries.
4041 - Import cc_library dependencies in generated Xcode project.
4042
Bazel Release System1aedd1f12016-04-25 09:47:50 +02004043## Release 0.2.2b (2016-04-22)
Bazel Release System951cea22016-04-21 14:10:12 +02004044
4045```
4046Baseline: 759bbfe
Bazel Release System1aedd1f12016-04-25 09:47:50 +02004047
4048Cherry picks:
Bazel Release System951cea22016-04-21 14:10:12 +02004049 + 1250fda: Rollback of commit
4050 351475627b9e94e5afdf472cbf465f49c433a25e.
4051 + ba8700e: Correctly set up build variables for the correct pic
4052 mode for fake_binary rules.
4053 + 386f242: Automated [] rollback of commit
4054 525fa71b0d6f096e9bfb180f688a4418c4974eb4.
Bazel Release System1aedd1f12016-04-25 09:47:50 +02004055 + 97e5ab0: Fix cc_configure include path for Frameworks on OS X.
4056 + a20352e: cc_configure: always add -B/usr/bin to the list of gcc
4057 option
4058 + 0b26f44: cc_configure: Add piii to the list of supported
4059 cpu_value
4060 + 3e4e416: cc_configure: uses which on the CC environment variable
4061 + aa3dbd3: cc_configure.bzl: strip end of line when looking for
4062 the cpu
4063 + 810d60a: cc_configure: Add -B to compiler flag too
Bazel Release System951cea22016-04-21 14:10:12 +02004064```
4065
Bazel Release System1aedd1f12016-04-25 09:47:50 +02004066Patch release, only includes fixes to C++ auto-configuration.
Bazel Release System951cea22016-04-21 14:10:12 +02004067
Bazel Release System950c1ab2016-03-31 17:18:55 +02004068## Release 0.2.1 (2016-03-21)
4069
4070```
4071Baseline: 19b5675
4072```
4073
4074Incompatible changes:
4075
4076 - Skylark rules that are available from their own repository will
4077 now issue a warning when accessed through @bazel_tools.
4078 - Set --legacy_bazel_java_test to off by default. java_test will
4079 now have a slightly different behaviour, correctly emitting XML
4080 file but, as a downside, it needs correct declaration of the
4081 test suite (see https://github.com/bazelbuild/bazel/issues/1017).
4082 - Labels in .bzl files in remote repositories will be resolved
4083 relative to their repository (instead of the repository the
4084 Skylark rule is used in).
4085 - Renamed proto_java_library to java_proto_library. The former
4086 is now deprecated and will print out a warning when used.
4087 - android_sdk now compiles android_jack on the fly from
4088 android_jar, which means android_jar must be a jar and
4089 android_jack is now deprecated. The Jack tools (jack, jill,
4090 resource_extractor) must be specified.
4091 - Any project that depended on the objc_options rule will be
4092 broken. Can be fixed by adding attrs (infoplists,copts) directly
4093 to rules depending on the options.
4094 - .aidl files correctly require import statements for types
4095 defined in the same package and the same android_library.
4096
4097New features:
4098
4099 - Experimental Windows support is available.
4100 - Experimental support for writing remote repository rules in
4101 Skylark is available.
4102 - iOS ipa_post_processor attribute allows for user-defined IPA
4103 edits.
4104 - Adds a to_json method to Skylark structs, providing conversion to
4105 JSON format.
4106 - Native python rule can depend on skylark rule as long as skylark
4107 rule provides 'py' provider.
4108 - When using both --verbose_failures and --sandbox_debug, Bazel
4109 prints instructions how to spawn a debugging shell inside the
4110 sandbox.
4111 - add flag --sandbox_add_path, which takes a list of additional
4112 paths as argument and mount these paths to sandbox.
4113
4114Important changes:
4115
4116 - @androidsdk//:org_apache_http_legacy added for the legacy Apache
4117 classes for android sdk version 23 and above.
4118 - Genrules correctly work when used with bazel run.
4119 - When namespace-sandbox is run with the -D (debug) flag and
4120 inside a terminal, it spawns a shell inside the sandbox to aid in
4121 debugging when the sandboxed command fails.
4122 - Added --artifact to workspace generator for generating workspace
4123 and build file rules from artifact coodrinates.
4124 - Specifying --experimental_android_resource_shrinking on the
4125 command line will enable a resource shrinking pass on
4126 android_binary targets that already use Proguard.
4127 - J2ObjC updated to 1.0.1 release.
4128 - Added "root_symlinks" and "symlinks" parameters to Skylark
4129 runfiles() method.
4130 - You can no longer use objc_binary targets for the xctest_app
4131 attribute of an ios_test rule.
4132 - Enable overriding jsonnet binaries and stdlib for Jsonnet rules.
4133 - mount target of /etc/resolv.conf if it is a symlink.
4134 - Tests that failed to build because execution was halted no longer
4135 print their status.
4136 - Bazel warns if a cc rule's includes attribute contains up-level
4137 references that escape its package.
4138 - Add repository_ctx.download and repository_ctx.download_and_extract
4139 function.
4140
Bazel Release Systemf98290d2016-02-23 13:51:16 +01004141## Release 0.2.0 (2016-02-18)
4142
4143```
4144Baseline: 9e100ac
4145```
4146
4147Incompatible changes:
4148
4149 - ObjC compile actions for J2ObjC-translated code now only has
4150 access to headers from the java deps of the associated original
4151 java rule.
4152 These compile actions no longer takes the compiler options
4153 specified in "copts" attribute on objc_binary/ios_test rules.
4154 J2ObjC dead code removal (enabled through flag
4155 "--j2objc_dead_code_removal") now happens *after* ObjC
4156 compilation.
4157 - maven_jar no longer supports separate artifact_id, group_id, and
4158 verison fields. This information should be provided in the
4159 artifact field,
4160 instead.
4161
4162New features:
4163
4164 - Better support for toolchains that don't have a dynamic linker.
4165 - build_file_content attribute added to new_git_repository,
4166 new_http_archive, and new_local_repository.
4167 - Add support for .tar.bz2 archives to http_archive rules.
4168
4169Important changes:
4170
4171 - The --skyframe flag is no longer available for the build command.
4172 - The --artifacts flag was removed from the dump command.
4173 - The sha256 attribute is now optional (although recommended!) for
4174 remote repository rules.
4175 - Add instrumented file provider support to Skylark rules.
4176 - Add imports attribute to native Python rules.
4177 - Allow overriding -gsplit-dwarf from copts.
4178 - Improved sandbox performance on XFS filesystems.
4179
Bazel Release System00cf25d2016-02-09 18:36:51 +01004180## Release 0.1.5 (2016-02-05)
4181
4182```
4183Baseline: 3a95f35
4184 + 8378cd8: Rollback of commit
4185 a9b84575a32476a5faf991da22b44661d75c19b6.
4186```
4187
4188Incompatible changes:
4189
4190 - Set stamping to false by default (i.e., --nostamp)
4191 - Removed --objc_dump_syms_binary.
4192 - Removes --objc_gcov_binary flag.
4193 - Remove JAVAC "Make" variable
4194 - The startup flag --blaze_cpu is removed,
4195
4196New features:
4197
4198 - A new java test runner that support XML output and test filtering
4199 is supported. It can be used by specifying --nolegacy_bazel_java_test
4200 or by specifying the test_class attribute on a java_test.
4201 - Skylark aspects can now specify configuration fragment
4202 dependencies with fragments and host_fragments like rules can.
4203
4204Important changes:
4205
4206 - Support for downloading remote resources through proxies by
4207 setting HTTP_PROXY (or HTTPS_PROXY).
4208 - Timestamps within Android apks are removed to make apks
4209 deterministic.
4210 - Support aggregation over existing rules in Skylark extensions
4211 through native.rules and native.rule.
4212 - A tools/bazel script in the workspace will be executed
4213 as an opportunity to use a fixed version of Bazel (not
4214 implemented for the homebrew recipe yet).
4215 - --noimplicit_deps and --nohost_deps work correctly for Aspect
4216 attributes.
4217 - JDK-related targets are now available via @local_jdk (instead of
4218 @local-jdk).
4219 - j2objc tools can now be accessed via @bazel_j2objc, not
4220 @bazel-j2objc.
4221 - Repository rules must use names that are valid workspace names.
4222 - [rust] Update to Rust 1.6
4223 - Add support for .tar.xz archives to http_archive rules.
4224 - Make C++ modules compatible with tools using
4225 --compilation_prerequisites_only
4226 - [d] Update to DMD 2.070.0
4227
Bazel Release System446d9922016-01-21 10:59:31 +01004228## Release 0.1.4 (2016-01-15)
4229
4230```
4231Baseline: e933d5e
4232 + 3d796fe: Rollback of commit
4233 ac6ed79e1a3fa6b0ca91657b28e2a35f7e49758c.
4234 + 7a02e5d: Fix installer under OS X
4235 + 848740c: Fix bazel version for debian package
4236 + 7751d43: Add a method for getting the root of a rule workspace
4237 to the Label method
4238```
4239
4240Important changes:
4241
4242 - add loadfiles() query operator, to find skylark files loaded by
4243 targets.
4244 - Added ability to declare and use aspects in Skylark.
4245 - Skylark load statements may now reference .bzl files via build
4246 labels, in addition to paths. In particular, such labels can be
4247 used to reference Skylark files in external repositories; e.g.,
4248 load("@my_external_repo//some_pkg:some_file.bzl", ...).
4249 Path-based loads are now deprecated and may be disabled in the
4250 future. Caveats: Skylark files currently do not respect package
4251 visibility; i.e., all Skylark files are effectively public. Also,
4252 loads may not reference the special //external package.
4253 - Relative paths can now be used for 'path' with
4254 new_local_repository and local_repository.
4255
Bazel Release System1518253e2016-01-11 10:10:19 +01004256## Release 0.1.3 (2016-01-07)
4257
4258```
4259Baseline: 23ad8f6
4260 + de2183d: Only depend on the WORKSPACE file for external files
4261 that are under the external/ directory, i.e. were
4262 created by Bazel.
4263 + f8f855c: Rollback of commit
4264 12bad3af0eade9c4b79d76f9e1c950ad2e3214c2.
4265 + f627562: Stop parsing the WORKSPACE file when a parse error is
4266 detected
4267 + 763f139: Add -fno-canonical-system-headers to CROSSTOOL files so
4268 that gcc doesn't resolve symlinks in .d files, which
4269 would confuse Blaze.
4270 + b95995b: Use openjdk7 as dependency for debian package of jdk7
4271 flavor
4272```
4273
4274New features:
4275
4276 - Skylark macros are now enabled in WORKSPACE file.
4277 - .bazelrc allows workspace-relative imports as "import
4278 %workspace%/path/to/rcfile"
4279 - Evaluate the query expression in a file by passing
4280 --query_file=<file> to query
4281
4282Important changes:
4283
4284 - Remove obsolete --objc_per_proto_includes flag.
4285 - iOS apps and extensions now have launch_storyboard
4286 - Passing multiple JVM options via a single --host_jvm_args flag is
4287 now deprecated. Pass each JVM option behind its own
4288 --host_jvm_args flag.
4289 - Resources defined locally on an android_library rule will respect
4290 the neverlink attribute.
4291 - Update Rust to 1.4
4292 - Fix resource handling for exported android_library rules
4293 - Files in external repositories are now treated as mutable, which
4294 will make the correctness guarantees of using external
4295 repositories stronger (existent), but may cause performance
4296 penalties.
4297
Bazel Release System0d2e4092015-12-04 23:31:41 +01004298## Release 0.1.2 (2015-11-20)
4299
4300```
4301Baseline: ee0ade3
4302 + 1e66ccd: RELNOTES: Symlink dirents of directories containing a
4303 file named
4304 "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA
4305 _A_RECURSIVE_TARGET_PATTERN" will *not* be traversed
4306 for transitive target patterns. The motivation here is
4307 to allow directories that intentionally contain wonky
4308 symlinks (e.g. foo/bar -> foo) to opt out of being
4309 consumed by Blaze. For example, given
4310 + f5773fc: Set the ijar MAX_BUFFER_SIZE to 256 MB
4311```
4312
4313New features:
4314
4315 - java_library now supports the proguard_specs attribute for
4316 passing Proguard configuration up to Android (not Java) binaries.
4317 - http_file can specify "executable" to make the downloaded file
4318 runnable.
4319 - Debian and tar packaging is now supported
4320 (see tools/build_defs/pkg/README.md).
4321 - cpxx_builtin_include_directory specifications allow more
4322 flexibility.
4323 - accept %crosstool_top% in cxx_builtin_include_directory
4324 - android_binary now supports proguard_apply_mapping to re-use a
4325 previously generated proguard mapping.
4326
4327Important changes:
4328
4329 - remove webstatusserver (--use_webstatusserver).
4330 - Add support for objc textual headers, which will not be compiled
4331 when modules are enabled.
4332 - actoolzip, momczip and swiftstdlibtoolzip have all been made into
4333 bash scripts and have been renamed to actoolwrapper, momcwrapper
4334 and swiftstdlibtoolwrapper respectively. The old versions will be
4335 deleted in a later change.
4336 - [rust] Add rust_bench_test and rust_doc_test rules and improve
4337 usability of rust_test tule.
4338 - Java rules now support a resource_strip_prefix attribute that
4339 allows the removal of path prefixes from Java resources.
4340 - [docker_build] incremental loading is default now.
4341 Specify explicitly //package:target.tar (with the .tar extension)
4342 to obtain the full image.
4343 - --ios_signing_cert_name allows specifying a cert for iOS app
4344 signing
4345 - Go rules for Bazel.
4346 - [jsonnet] Update to Jsonnet 0.8.1.
4347 - [jsonnet] Add vars and code_vars attributes to jsonnet_to_json to
4348 allow passing external variables to Jsonnet via --var and
4349 --code_var.
4350 - Adds --override_workspace_root blaze flag to hand-set
4351 workspace_root and mainGroup in xcodeproj.
4352 - Allow dots in package names.
4353 - When used as a forwarding rule (i.e., has no sources),
4354 android_library
4355 will also forward any exported_plugins in its dependencies.
4356 - Add support for Windows-created zip files with non-posix
4357 permissions.
4358 - [jsonnet] Add jsonnet_to_json_test rule for testing Jsonnet code.
4359 - C++ compile actions run in a sandbox now on systems that support
4360 sandboxed execution.
4361 - The names of the clang compilers in the Android NDK crosstool no
4362 longer reference gcc.
4363 - 420 dpi is now a valid density for andoid_binary.densities.
4364 - Bazel does strict validation of include files now to ensure
4365 correct incremental builds. If you see compilation errors when
4366 building C++ code, please make sure that you explicitly declare
4367 all header files in the srcs or hdrs attribute of your cc_*
4368 targets and that your cc_* targets have correct "deps" on
4369 cc_library's that they use.
4370 - [jsonnet] Fix jsonnet_to_json rule to read code_vars from
4371 code_vars instead of vars.
4372 - Tests, genrules, and Skylark actions without the
4373 "requires-network" tag will no longer be able to access the
4374 network.
4375 - C++ libraries no longer need includes = ["."] (or similar copts)
4376 to include paths relative to a remote repository's root.
4377 - Support exports attribute for android_library
4378 - Symlink dirents of directories containing a file named
4379 "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA_A_RECURSI
4380 VE_TARGET_PATTERN" will *not* be traversed for transitive target
4381 patterns. The motivation here is to allow directories that
4382 intentionally contain wonky symlinks (e.g. foo/bar -> foo) to opt
4383 out of being consumed by Blaze.
4384
Bazel Release Systemfa35b182015-10-14 12:11:51 -04004385## Release 0.1.1 (2015-10-05)
4386
4387```
4388Baseline: 22616ae
4389 + 1ef338f: Rollback of "Propagates cc_library linkopts attribute
4390 to dependent objc_libraries.": breaks certain
4391 objc_binary build targets.
4392 + 5fb1073: Reintroduce an inconsistency check (albeit, in a weaker
4393 form) removed by a previous change that was trying to
4394 optimize away a filesystem call.
4395 + 6d00468b2eb976866cfb814d562e0d53a580a46f: Add IdlClass to the embedded default android tools
4396 repository and rearrange BuildJar's JarHelper so that
4397 it too can be embedded.
4398 + a5199039934a2e399a7201adc0d74e2f2d2b0ff3: Fixes Android integration tests by wiring up idlclass
4399 rules in integration environment.
4400```
4401
4402Incompatible changes:
4403
4404 - Bazel requires JDK 8 to run.
4405 - Attribute "copts" is removed from j2objc_library.
4406
4407New features:
4408
4409 - a cc_binary rule may list '.s' and '.asm' files in the srcs
4410 - Support for build with libsass.
4411 - labels in "linkopts" may match any label in either "deps" or
4412 "srcs" to be considered valid.
4413 - Maven servers that require username & password authentication are
4414 now supported (see maven_server documentation).
4415
4416Important changes:
4417
4418 - Support empty plist files
4419 - The <compatible-screens> section of the AndroidManifest.xml will
4420 not be overwritten if it already contains a <screen> tag for each
4421 of the densities specified on the android_binary rule.
4422 - Add Jsonnet rules to Bazel
4423 - Remove deprecated xcode_options flag.
4424 - Workspace names are now restricted to being in their base
4425 directory
4426 (that is, the names cannot contain up-level references or /./).
4427 - j2objc_library on Bazel now transpiles transitive proto_library
4428 dependencies. (Note that java_* rules in Bazel do not yet support
4429 protos; currently they ignore proto dependencies.)
4430 - new_http_archive can specify a root directory.
4431 - Adds support for dylibs on devices for Xcode 7.
4432 - [d] d_docs rules now depend on a d_binary, a d_library or
4433 d_source_library.
4434 - [docker] docker_build now set the permission to 0555 to files
4435 added to the layer, use `mode = "0644"` to use the legacy behavior.
4436 - android_binary now has a main_dex_proguard_specs attribute to
4437 specify which classes should be in the main dex.
4438 - [rust] Add rust_docs rule for generating rustdoc.
Bazel Release System79e40ac2015-09-08 23:38:00 +02004439## Release 0.1.0 (2015-09-08)
4440
4441```
4442Baseline: a0881e8
4443 + 87374e6: Make android_binary use a constant, hard-coded,
4444 checked-in debug key.
4445 + 2984f1c: Adds some safety checks in the Bazel installer
4446 + 4e21d90: Remove BUILD.glob and incorporate the necessary
4447 filegroups into the android_{ndk,sdk}_repository rules
4448 themselves.
4449 + 1ee813e: Fix Groovy rules to work with sandboxing
4450 + 8741978: Add initial D rules to Bazel.
4451 + 2c2e70d: Fix the installer and fixing the package shiped into
4452 binary version of Bazel.
4453```
4454
4455Initial release.
Bazel Release System6712cac2017-02-01 19:53:37 +01004456
Bazel Release System8d635fc2017-03-16 13:18:30 +01004457
Bazel Release Systema3e26832017-05-26 14:11:07 +02004458
Bazel Release System63222de2017-06-06 11:32:04 +02004459
Bazel Release System7b851222017-06-27 15:08:47 +02004460
Bazel Release System195a7a82017-07-27 20:27:32 +02004461
Bazel Release System5371d132017-08-25 11:24:06 +02004462
Bazel Release System471c0e12017-09-28 16:36:12 +02004463
Bazel Release Systemed0ebc02017-10-05 23:52:25 +02004464
Bazel Release System76b6d0a2017-10-18 14:34:11 +02004465
Bazel Release System0838aee2017-11-27 14:16:34 +01004466
Bazel Release System3d53cb02017-12-05 15:28:40 +01004467
Bazel Release System5bd27482018-02-01 09:43:33 +01004468
Bazel Release Systeme1148362018-02-15 10:02:05 +01004469
Bazel Release System09077a32018-02-23 11:09:18 -05004470
Bazel Release Systemc86d6a02018-03-06 19:32:18 +01004471
Bazel Release System546976c2018-04-11 17:34:19 +02004472
Bazel Release System1d9c6062018-04-30 10:45:38 +02004473
Bazel Release System24c68ff2018-05-23 10:59:57 +02004474
Bazel Release System3a592f62018-06-01 15:04:31 +02004475
Bazel Release System513bbf52018-06-08 14:15:20 +02004476
Bazel Release System5013a332018-06-26 14:07:47 +02004477
Bazel Release System1281a022018-07-16 16:13:53 +02004478
Bazel Release System1bd58832018-08-13 15:41:26 +02004479
Bazel Release Systemfdb09a22018-09-14 12:15:54 +02004480
Bazel Release System50921e62018-09-21 12:27:04 +02004481
Bazel Release System36177972018-10-15 10:29:10 +02004482
Bazel Release System92849b82018-10-31 15:41:11 +01004483
Bazel Release System684f1092018-11-12 10:26:58 -05004484
Bazel Release Systemcb3e2982018-11-19 11:19:38 -05004485
Bazel Release System85378562018-11-30 15:34:16 +01004486