Skip to content

Commit eb2af0f

Browse files
Bazel Release Systemkatre
Bazel Release System
authored andcommitted
Release 0.19.1 (2018-11-12)
Baseline: ac88041 Cherry picks: + 9bc3b20: Fix the "nojava" platform and enable full presubmit checks for the various JDK platforms now that we have enough GCE resources. + 54c2572: Add openjdk_linux_archive java_toolchain for nojava platform. + 20bfdc6: Automated rollback of commit 19a401c. + 914b4ce: Windows: Fix Precondition check for addDynamicInputLinkOptions + 83d406b: Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when it exists. + e025726: Update turbine + 5f312dd: Fix event id for action_completed BEP events + f0c844c: Release 0.19.0 (2018-10-29) + c3fb1db: Do not use CROSSTOOL to select cc_toolchain + 8e28083: Windows Add tests for msys gcc toolchain and mingw gcc toolchain + fd52341: update bazel-toolchains pin to latest release Part of changes to allow bazelci to use 0.19.0 configs. RBE toolchain configs at or before 0.17.0 are not compatible with bazel 0.19.0 or above. Important changes: - Fix regression #6610, which prevents using the MINGW compiler on Windows.
1 parent 1a42b56 commit eb2af0f

File tree

1 file changed

+234
-0
lines changed

1 file changed

+234
-0
lines changed

CHANGELOG.md

Lines changed: 234 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
## Release 0.19.1 (2018-11-12)
2+
3+
```
4+
Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
5+
6+
Cherry picks:
7+
8+
+ 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
9+
Fix the "nojava" platform and enable full presubmit checks for
10+
the various JDK platforms now that we have enough GCE resources.
11+
+ 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
12+
Add openjdk_linux_archive java_toolchain for nojava platform.
13+
+ 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
14+
Automated rollback of commit
15+
19a401c38e30ebc0879925a5caedcbe43de0028f.
16+
+ 914b4ce14624171a97ff8b41f9202058f10d15b2:
17+
Windows: Fix Precondition check for addDynamicInputLinkOptions
18+
+ 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
19+
Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
20+
it exists.
21+
+ e025726006236520f7e91e196b9e7f139e0af5f4:
22+
Update turbine
23+
+ 5f312dd1678878fb7563eae0cd184f2270346352:
24+
Fix event id for action_completed BEP events
25+
+ f0c844c77a2406518c4e75c49188390d5e281d3d:
26+
Release 0.19.0 (2018-10-29)
27+
+ c3fb1db9e4e817e8a911f5b347b30f2674a82f7c:
28+
Do not use CROSSTOOL to select cc_toolchain
29+
+ 8e280838e8896a6b5eb5421fda435b96b6f8de60:
30+
Windows Add tests for msys gcc toolchain and mingw gcc toolchain
31+
+ fd52341505e725487c6bc6dfbe6b5e081aa037da:
32+
update bazel-toolchains pin to latest release Part of changes to
33+
allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
34+
before 0.17.0 are not compatible with bazel 0.19.0 or above.
35+
```
36+
37+
Important changes:
38+
- Fix regression #6610, which prevents using the MINGW compiler on Windows.
39+
140
## Release 0.19.0 (2018-10-29)
241

342
```
@@ -96,6 +135,199 @@ This release contains contributions from many people at Google, as well as Andre
96135

97136
Thank you to everyone who contributed to this release!
98137

138+
## Release 0.18.1 (2018-10-31)
139+
140+
```
141+
Baseline: c062b1f1730f3562d5c16a037b374fc07dc8d9a2
142+
143+
Cherry picks:
144+
145+
+ 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
146+
Include also ext jars in the bootclasspath jar.
147+
+ 2579b791c023a78a577e8cb827890139d6fb7534:
148+
Fix toolchain_java9 on --host_javabase=<jdk9> after
149+
7eb9ea150fb889a93908d96896db77d5658e5005
150+
+ faaff7fa440939d4367f284ee268225a6f40b826:
151+
Release notes: fix markdown
152+
+ b073a18e3fac05e647ddc6b45128a6158b34de2c:
153+
Fix NestHost length computation Fixes #5987
154+
+ bf6a63d64a010f4c363d218e3ec54dc4dc9d8f34:
155+
Fixes #6219. Don't rethrow any remote cache failures on either
156+
download or upload, only warn. Added more tests.
157+
+ c1a7b4c574f956c385de5c531383bcab2e01cadd:
158+
Fix broken IdlClassTest on Bazel's CI.
159+
+ 71926bc25b3b91fcb44471e2739b89511807f96b:
160+
Fix the Xcode version detection which got broken by the upgrade
161+
to Xcode 10.0.
162+
+ 86a8217d12263d598e3a1baf2c6aa91b2e0e2eb5:
163+
Temporarily restore processing of workspace-wide tools/bazel.rc
164+
file.
165+
+ 914b4ce14624171a97ff8b41f9202058f10d15b2:
166+
Windows: Fix Precondition check for addDynamicInputLinkOptions
167+
+ e025726006236520f7e91e196b9e7f139e0af5f4:
168+
Update turbine
169+
```
170+
171+
Important changes:
172+
173+
- Fix regression #6219, remote cache failures
174+
175+
## Release 0.18.0 (2018-10-15)
176+
177+
```
178+
Baseline: c062b1f1730f3562d5c16a037b374fc07dc8d9a2
179+
180+
Cherry picks:
181+
182+
+ 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
183+
Include also ext jars in the bootclasspath jar.
184+
+ 2579b791c023a78a577e8cb827890139d6fb7534:
185+
Fix toolchain_java9 on --host_javabase=<jdk9> after
186+
7eb9ea150fb889a93908d96896db77d5658e5005
187+
+ faaff7fa440939d4367f284ee268225a6f40b826:
188+
Release notes: fix markdown
189+
+ b073a18e3fac05e647ddc6b45128a6158b34de2c:
190+
Fix NestHost length computation Fixes #5987
191+
+ bf6a63d64a010f4c363d218e3ec54dc4dc9d8f34:
192+
Fixes #6219. Don't rethrow any remote cache failures on either
193+
download or upload, only warn. Added more tests.
194+
+ c1a7b4c574f956c385de5c531383bcab2e01cadd:
195+
Fix broken IdlClassTest on Bazel's CI.
196+
+ 71926bc25b3b91fcb44471e2739b89511807f96b:
197+
Fix the Xcode version detection which got broken by the upgrade
198+
to Xcode 10.0.
199+
+ 86a8217d12263d598e3a1baf2c6aa91b2e0e2eb5:
200+
Temporarily restore processing of workspace-wide tools/bazel.rc
201+
file.
202+
```
203+
204+
General changes
205+
206+
- New [bazelrc file list](https://docs.bazel.build/versions/master/user-manual.html#where-are-the-bazelrc-files).
207+
If you need to keep both the old and new lists of .rc files active
208+
concurrently to support multiple versions of Bazel, you can import the old
209+
file location into the new list using `try-import`. This imports a file if it
210+
exists and silently exits if it does not. You can use this method to account
211+
for a user file that may or may not exist
212+
213+
- [.bazelignore](https://docs.bazel.build/versions/master/user-manual.html#.bazelignore)
214+
is now fully functional.
215+
216+
- The startup flag `--host_javabase` has been renamed to
217+
`--server_javabase` to avoid confusion with the build flag
218+
`--host_javabase`.
219+
220+
Android
221+
222+
- The Android resource processing pipeline now supports persistence
223+
via worker processes. Enable it with
224+
`--persistent_android_resource_processor`. We have observed a 50% increase
225+
in build speed for clean local builds and up to 150% increase in build
226+
speed for incremental local builds.
227+
228+
C++
229+
230+
- In-memory package //tools/defaults has been removed (controlled by
231+
`--incompatible_disable_tools_defaults_package` flag). Please see
232+
[migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-inmemory-tools-defaults-package)
233+
and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
234+
behavior will be removed in Bazel 0.20.
235+
236+
- Late bound option defaults (typical example was the `--compiler` flag, when
237+
it was not specified, it’s value was computed using the CROSSTOOL) are removed
238+
(controlled by `--incompatible_disable_late_bound_option_defaults` flag).
239+
Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-late-bound-option-defaults)
240+
and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
241+
behavior will be removed in Bazel 0.20.
242+
243+
- Depsets are no longer accepted in `user_compile_flags` and `user_link_flags`
244+
in the C++ toolchain API (controlled by
245+
`--incompatible_disable_depset_in_cc_user_flags` flag) affects C++ users.
246+
Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-depsets-in-c-toolchain-api-in-user-flags)
247+
and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
248+
behavior will be removed in Bazel 0.20.
249+
250+
- CROSSTOOL is no longer consulted when selecting C++ toolchain (controlled by
251+
`--incompatible_disable_cc_toolchain_label_from_crosstool_proto` flag).
252+
Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-crosstool-to-select-the-cc_toolchain-label)
253+
and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
254+
255+
- You can now use [`toolchain_identifier` attribute](https://github.com/bazelbuild/bazel/commit/857d4664ce939f240b1d10d8d2baca6c6893cfcb)
256+
on `cc_toolchain` to pair it with CROSSTOOL toolchain.
257+
258+
- C++ specific Make variables
259+
are no longer passed from the `CppConfiguration`, but from the C++ toolchain
260+
(controlled by `--incompatible_disable_cc_configuration_make_variables` flag).
261+
Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-c-specific-make-variables-from-the-configuration)
262+
and migrate soon, the flag will be flipped
263+
in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
264+
265+
- Skylark api accessing C++
266+
toolchain in `ctx.fragments.cpp` is removed (controlled by
267+
`--incompatible_disable_legacy_cpp_toolchain_skylark_api` flag).
268+
Please migrate soon, the flag will be flipped
269+
in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
270+
271+
- cc_binary link action no longer hardcodes
272+
`-static-libgcc` for toolchains that support embedded runtimes
273+
(guarded by [`--experimental_dont_emit_static_libgcc`](https://source.bazel.build/bazel/+/2f281960b829e964526a9d292d4c3003e4d19f1c)
274+
temporarily). Proper deprecation using `--incompatible` flags will follow.
275+
276+
Java
277+
278+
- Future versions of Bazel will require a locally installed JDK
279+
for Java development. Previously Bazel would fall back to using
280+
the embedded `--server_javabase` if no JDK as available. Pass
281+
`--incompatible_never_use_embedded_jdk_for_javabase` to disable the
282+
legacy behaviour.
283+
284+
- `--javacopt=` no longer affects compilations of tools that are
285+
executed during the build; use `--host_javacopt=` to change javac
286+
flags in the host configuration.
287+
288+
Objective C
289+
290+
- `objc_library` now supports the module_name attribute.
291+
292+
Skylark
293+
294+
- Adds `--incompatible_expand_directories` to automatically expand
295+
directories in skylark command lines. Design doc:
296+
https://docs.google.com/document/d/11agWFiOUiz2htBLj6swPTob5z78TrCxm8DQE4uJLOwM
297+
298+
- Support fileset expansion in ctx.actions.args(). Controlled by
299+
`--incompatible_expand_directories`.
300+
301+
Windows
302+
303+
- `--windows_exe_launcher` is deprecated, this flag will be removed
304+
soon. Please make sure you are not using it.
305+
306+
- Bazel now supports the symlink runfiles tree on Windows with
307+
`--experimental_enable_runfiles` flag. For more details, see
308+
[this doc](https://docs.google.com/document/d/1hnYmU1BmtCSJOUvvDAK745DSJQCapToJxb3THXYMrmQ).
309+
310+
Other Changes
311+
312+
- A new experimental option `--experimental_ui_deduplicate` has been added. It
313+
causes the UI to attempt to deduplicate messages from actions to keep the
314+
console output cleaner.
315+
316+
- Add `--modify_execution_info`, a flag to customize action execution
317+
info.
318+
319+
- Add ExecutionInfo to aquery output for ExecutionInfoSpecifier
320+
actions.
321+
322+
- When computing `--instrumentation_filter`, end filter patterns with
323+
"[/:]" to match non-top-level packages exactly and treat
324+
top-level targets consistently.
325+
326+
- Added the `bazel info server_log` command, which obtains the main Bazel
327+
server log file path. This can help debug Bazel issues.
328+
329+
- `aapt shrink` resources now properly respect filter configurations.
330+
99331
## Release 0.17.2 (2018-09-21)
100332

101333
```
@@ -3521,6 +3753,8 @@ Initial release.
35213753

35223754

35233755

3756+
3757+
35243758

35253759

35263760

0 commit comments

Comments
 (0)