|
| 1 | +## Release 0.20.0 (2018-11-30) |
| 2 | + |
| 3 | +``` |
| 4 | +Baseline: 7bf7f031c332dc483257248d1c1f98ad75bbc83b |
| 5 | +
|
| 6 | +Cherry picks: |
| 7 | +
|
| 8 | + + fd52341505e725487c6bc6dfbe6b5e081aa037da: |
| 9 | + update bazel-toolchains pin to latest release Part of changes to |
| 10 | + allow bazelci to use 0.19.0 configs. RBE toolchain configs at or |
| 11 | + before 0.17.0 are not compatible with bazel 0.19.0 or above. |
| 12 | + + 241f28d05424db2d11ee245dc856b992258505e3: |
| 13 | + Revert "Toggle --incompatible_disable_late_bound_option_defaults |
| 14 | + flag." |
| 15 | + + f7e5aef145c33968f658eb2260e25630dc41cc67: |
| 16 | + Add cc_toolchain targets for the new entries in the default |
| 17 | + cc_toolchain_suite. |
| 18 | + + d2920e32ec7f3f8551a693d33c17b19f1b802145: |
| 19 | + Revert "WindowsFileSystem: open files with delete-sharing" |
| 20 | +``` |
| 21 | + |
| 22 | +[Breaking changes in 0.20](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Abreaking-change-0.20) |
| 23 | + |
| 24 | + - [--incompatible_remove_native_http_archive](https://github.com/bazelbuild/bazel/issues/6570). |
| 25 | + - [--incompatible_remove_native_git_repository](https://github.com/bazelbuild/bazel/issues/6569). |
| 26 | + - [--incompatible_disable_cc_toolchain_label_from_crosstool_proto](https://github.com/bazelbuild/bazel/issues/6434). |
| 27 | + - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6384). |
| 28 | + - [--incompatible_disable_cc_configuration_make_variables](https://github.com/bazelbuild/bazel/issues/6381). |
| 29 | + - [--incompatible_disallow_conflicting_providers](https://github.com/bazelbuild/bazel/issues/5902). |
| 30 | + - [--incompatible_range_type](https://github.com/bazelbuild/bazel/issues/5264). |
| 31 | + |
| 32 | +[0.20 is a migration window for the following changes](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Amigration-0.20) |
| 33 | + |
| 34 | + - [--incompatible_use_jdk10_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6661) |
| 35 | + - [--incompatible_use_remotejdk_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6656) |
| 36 | + - [--incompatible_disable_sysroot_from_configuration](https://github.com/bazelbuild/bazel/issues/6565) |
| 37 | + - [--incompatible_provide_cc_toolchain_info_from_cc_toolchain_suite](https://github.com/bazelbuild/bazel/issues/6537) |
| 38 | + - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6383) |
| 39 | + - [--incompatible_package_name_is_a_function](https://github.com/bazelbuild/bazel/issues/5827) |
| 40 | + |
| 41 | +[Breaking changes in the next release (0.21)](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Abreaking-change-0.21) |
| 42 | + |
| 43 | + - [--incompatible_use_jdk10_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6661) |
| 44 | + - [--incompatible_use_remotejdk_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6656) |
| 45 | + - [--incompatible_disable_sysroot_from_configuration](https://github.com/bazelbuild/bazel/issues/6565) |
| 46 | + - [--incompatible_provide_cc_toolchain_info_from_cc_toolchain_suite](https://github.com/bazelbuild/bazel/issues/6537) |
| 47 | + - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6383) |
| 48 | + - [--incompatible_disallow_data_transition](https://github.com/bazelbuild/bazel/issues/6153) |
| 49 | + - [--incompatible_package_name_is_a_function](https://github.com/bazelbuild/bazel/issues/5827) |
| 50 | + - [--incompatible_disallow_slash_operator](https://github.com/bazelbuild/bazel/issues/5823) |
| 51 | + - [--incompatible_static_name_resolution](https://github.com/bazelbuild/bazel/issues/5637) |
| 52 | + |
| 53 | +Incompatible changes: |
| 54 | + |
| 55 | + - the --experimental_no_dotd_scanning_with_modules command line |
| 56 | + argument is not supported anymore. |
| 57 | + - The --prune_cpp_modules command line option is not supported |
| 58 | + anymore. |
| 59 | + - the --experimental_prune_cpp_input_discovery command line option |
| 60 | + is not supported anymore. |
| 61 | + |
| 62 | +New features: |
| 63 | + |
| 64 | + - Added support for Android NDK r18. |
| 65 | + |
| 66 | +Important changes: |
| 67 | + |
| 68 | + - The 'default' parameter of attr.output and attr.output_list is |
| 69 | + removed. This is controlled by |
| 70 | + --incompatible_no_output_attr_default |
| 71 | + - A number of platform-related Starlark APIs which were previously |
| 72 | + marked "experimental" are now disabled by default, and may be |
| 73 | + enabled via --experimental_platforms_api |
| 74 | + - Make legacy-test-support ("legacy_test-<api-level>") from |
| 75 | + android_sdk_repository neverlink. The legacy test support |
| 76 | + libraries shouldn't be built into test binaries. To make them |
| 77 | + available at runtime, developers should declare them via |
| 78 | + uses-library: |
| 79 | + https://developer.android.com/training/testing/set-up-project#andr |
| 80 | + oid-test-base |
| 81 | + - query remote server Capabilities (per REAPI v2) |
| 82 | + - CppRules: All cc_toolchains depended on from |
| 83 | + cc_toolchain_suite.toolchains are now analyzed when not using |
| 84 | + platforms in order to select the right cc_toolchain. |
| 85 | + - removed obsolete --explicit_jre_deps flag. |
| 86 | + - Incompatible flag |
| 87 | + --incompatible_disable_legacy_cpp_toolchain_skylark_api was |
| 88 | + flipped. |
| 89 | + - Improve error messaging when unsupport proguard options are |
| 90 | + specified at the library level. |
| 91 | + - Incompatible flag |
| 92 | + --incompatible_disable_legacy_cpp_toolchain_skylark_api was |
| 93 | + flipped. |
| 94 | + - Incompatible flag |
| 95 | + --incompatible_disable_legacy_cpp_toolchain_skylark_api was |
| 96 | + flipped. |
| 97 | + - The --incompatible_disable_late_bound_option_defaults flag has |
| 98 | + been flipped (#6384) |
| 99 | + - Incompatible flag |
| 100 | + --incompatible_disable_legacy_flags_cc_toolchain_api was flipped |
| 101 | + (#6434) |
| 102 | + - Fixed issue where ctx.resolve_command created conflicting |
| 103 | + intermediate files when resolve_command was called multiple times |
| 104 | + within the same rule invocation with a long command attribute. |
| 105 | + - Incompatible flag |
| 106 | + --incompatible_disable_cc_configuration_make_variables was |
| 107 | + flipped (#6381) |
| 108 | + - If the --javabase flag is unset, it Bazel locates a JDK using |
| 109 | + the JAVA_HOME environment variable and searching the PATH. If no |
| 110 | + JDK is found --javabase will be empty, and builds targeting Java |
| 111 | + will not |
| 112 | + be supported. Previously Bazel would fall back to using the |
| 113 | + embedded |
| 114 | + JDK as a --javabase, but this is no longer default behaviour. A |
| 115 | + JDK should |
| 116 | + be explicitly installed instead to enable Java development |
| 117 | + - Bazel will now shut down when idle for 5 minutes and the system |
| 118 | + is low on RAM (linux only). |
| 119 | + - CROSSTOOL file is now read from the package of cc_toolchain, not |
| 120 | + from |
| 121 | + the package of cc_toolchain_suite. This is not expected to break |
| 122 | + anybody since |
| 123 | + cc_toolchain_suite and cc_toolchain are commonly in the same |
| 124 | + package. |
| 125 | + - All overrides of Starlark's ctx.new_file function are now |
| 126 | + deprecated. |
| 127 | + Try the `--incompatible_new_actions_api` flag to ensure your |
| 128 | + code is forward-compatible. |
| 129 | + - --incompatible_disable_cc_toolchain_label_from_crosstool_proto |
| 130 | + was flipped. |
| 131 | + - Introduce --(no)shutdown_on_low_sys_mem startup flag to toggle |
| 132 | + idle low-memory shutdown, disabled by default. |
| 133 | + - --incompatible_disable_cc_toolchain_label_from_crosstool_proto |
| 134 | + was flipped. |
| 135 | + - --incompatible_disable_cc_toolchain_label_from_crosstool_proto |
| 136 | + was flipped. |
| 137 | + - CppRules: All cc_toolchains depended on from |
| 138 | + cc_toolchain_suite.toolchains are now analyzed when not using |
| 139 | + platforms in order to select the right cc_toolchain. |
| 140 | + - The function `attr.license` is deprecated and will be removed. |
| 141 | + It can be disabled now with `--incompatible_no_attr_license`. |
| 142 | + - `range()` function now returns a lazy value |
| 143 | + (`--incompatible_range_type` is now set by default). |
| 144 | + - The code coverage report now includes the actual paths to header |
| 145 | + files instead of the ugly, |
| 146 | + Bazel generated, virtual includes path. |
| 147 | + - `--incompatible_disallow_conflicting_providers` has been switched |
| 148 | + to true |
| 149 | + - Add new flag `--incompatible_disable_systool_from_configration` to |
| 150 | + disable loading the systool from CppConfiguration. |
| 151 | + - Add new flag `--incompatible_disable_sysroot_from_configuration` |
| 152 | + to |
| 153 | + disable loading the systool from CppConfiguration. |
| 154 | + - Sorting remote Platform properties for remote execution. May |
| 155 | + affect cache keys! |
| 156 | + - Use different server log files per Bazel server process; java.log |
| 157 | + is |
| 158 | + now a symlink to the latest log. |
| 159 | + |
| 160 | +This release contains contributions from many people at Google, as well as a7g4 <[email protected]>, Alan < [email protected]>, Asaf Flescher <[email protected]>, Benjamin Peterson <[email protected]>, Ed Schouten < [email protected]>, George Gensure <[email protected]>, George Kalpakas < [email protected]>, Greg <[email protected]>, Irina Iancu <[email protected]>, Keith Smiley <[email protected]>, Loo Rong Jie <[email protected]>, Mark Zeren <[email protected]>, Petros Eskinder <[email protected]>, rachcatch <[email protected]>, Robert Brown < [email protected]>, Robert Gay < [email protected]>, Salty Egg <[email protected]>. |
| 161 | + |
| 162 | +## Release 0.19.2 (2018-11-19) |
| 163 | + |
| 164 | +``` |
| 165 | +Baseline: ac880418885061d1039ad6b3d8c28949782e02d6 |
| 166 | +
|
| 167 | +Cherry picks: |
| 168 | +
|
| 169 | + + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec: |
| 170 | + Fix the "nojava" platform and enable full presubmit checks for |
| 171 | + the various JDK platforms now that we have enough GCE resources. |
| 172 | + + 54c2572a8cabaf2b29e58abe9f04327314caa6a0: |
| 173 | + Add openjdk_linux_archive java_toolchain for nojava platform. |
| 174 | + + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182: |
| 175 | + Automated rollback of commit |
| 176 | + 19a401c38e30ebc0879925a5caedcbe43de0028f. |
| 177 | + + 914b4ce14624171a97ff8b41f9202058f10d15b2: |
| 178 | + Windows: Fix Precondition check for addDynamicInputLinkOptions |
| 179 | + + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd: |
| 180 | + Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when |
| 181 | + it exists. |
| 182 | + + e025726006236520f7e91e196b9e7f139e0af5f4: |
| 183 | + Update turbine |
| 184 | + + 5f312dd1678878fb7563eae0cd184f2270346352: |
| 185 | + Fix event id for action_completed BEP events |
| 186 | + + f0c844c77a2406518c4e75c49188390d5e281d3d: |
| 187 | + Release 0.19.0 (2018-10-29) |
| 188 | + + c3fb1db9e4e817e8a911f5b347b30f2674a82f7c: |
| 189 | + Do not use CROSSTOOL to select cc_toolchain |
| 190 | + + 8e280838e8896a6b5eb5421fda435b96b6f8de60: |
| 191 | + Windows Add tests for msys gcc toolchain and mingw gcc toolchain |
| 192 | + + fd52341505e725487c6bc6dfbe6b5e081aa037da: |
| 193 | + update bazel-toolchains pin to latest release Part of changes to |
| 194 | + allow bazelci to use 0.19.0 configs. RBE toolchain configs at or |
| 195 | + before 0.17.0 are not compatible with bazel 0.19.0 or above. |
| 196 | + + eb2af0f699350ad187048bf814a95af23f562c77: |
| 197 | + Release 0.19.1 (2018-11-12) |
| 198 | + + 6bc452874ddff69cbf7f66186238032283f1195f: |
| 199 | + Also update cc_toolchain.toolchain_identifier when |
| 200 | + CC_TOOLCHAIN_NAME is set |
| 201 | + + f7e5aef145c33968f658eb2260e25630dc41cc67: |
| 202 | + Add cc_toolchain targets for the new entries in the default |
| 203 | + cc_toolchain_suite. |
| 204 | + + 683c302129b66a8999f986be5ae7e642707e978c: |
| 205 | + Read the CROSSTOOL from the package of the current cc_toolchain, |
| 206 | + not from --crosstool_top |
| 207 | +``` |
| 208 | + |
| 209 | +- Fixes regression #6662, by fixing tools/cpp/BUILD |
| 210 | +- Fixes regression #6665, by setting the toolchain identifier. |
| 211 | +- CROSSTOOL file is now read from the package of cc_toolchain, not from the |
| 212 | + package of cc_toolchain_suite. This is not expected to break anybody since |
| 213 | + cc_toolchain_suite and cc_toolchain are commonly in the same package. |
| 214 | + |
| 215 | +## Release 0.19.1 (2018-11-12) |
| 216 | + |
| 217 | +``` |
| 218 | +Baseline: ac880418885061d1039ad6b3d8c28949782e02d6 |
| 219 | +
|
| 220 | +Cherry picks: |
| 221 | +
|
| 222 | + + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec: |
| 223 | + Fix the "nojava" platform and enable full presubmit checks for |
| 224 | + the various JDK platforms now that we have enough GCE resources. |
| 225 | + + 54c2572a8cabaf2b29e58abe9f04327314caa6a0: |
| 226 | + Add openjdk_linux_archive java_toolchain for nojava platform. |
| 227 | + + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182: |
| 228 | + Automated rollback of commit |
| 229 | + 19a401c38e30ebc0879925a5caedcbe43de0028f. |
| 230 | + + 914b4ce14624171a97ff8b41f9202058f10d15b2: |
| 231 | + Windows: Fix Precondition check for addDynamicInputLinkOptions |
| 232 | + + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd: |
| 233 | + Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when |
| 234 | + it exists. |
| 235 | + + e025726006236520f7e91e196b9e7f139e0af5f4: |
| 236 | + Update turbine |
| 237 | + + 5f312dd1678878fb7563eae0cd184f2270346352: |
| 238 | + Fix event id for action_completed BEP events |
| 239 | + + f0c844c77a2406518c4e75c49188390d5e281d3d: |
| 240 | + Release 0.19.0 (2018-10-29) |
| 241 | + + c3fb1db9e4e817e8a911f5b347b30f2674a82f7c: |
| 242 | + Do not use CROSSTOOL to select cc_toolchain |
| 243 | + + 8e280838e8896a6b5eb5421fda435b96b6f8de60: |
| 244 | + Windows Add tests for msys gcc toolchain and mingw gcc toolchain |
| 245 | + + fd52341505e725487c6bc6dfbe6b5e081aa037da: |
| 246 | + update bazel-toolchains pin to latest release Part of changes to |
| 247 | + allow bazelci to use 0.19.0 configs. RBE toolchain configs at or |
| 248 | + before 0.17.0 are not compatible with bazel 0.19.0 or above. |
| 249 | +``` |
| 250 | + |
| 251 | +Important changes: |
| 252 | +- Fix regression #6610, which prevents using the MINGW compiler on Windows. |
| 253 | + |
1 | 254 | ## Release 0.19.0 (2018-10-29)
|
2 | 255 |
|
3 | 256 | ```
|
@@ -3714,6 +3967,9 @@ Initial release.
|
3714 | 3967 |
|
3715 | 3968 |
|
3716 | 3969 |
|
| 3970 | + |
| 3971 | + |
| 3972 | + |
3717 | 3973 |
|
3718 | 3974 |
|
3719 | 3975 |
|
|
0 commit comments