Bazel Release System | 1bd5883 | 2018-08-13 15:41:26 +0200 | [diff] [blame] | 1 | ## Release 0.16.1 (2018-08-13) |
| 2 | |
| 3 | ``` |
| 4 | Baseline: 4f64b77a3dd8e4ccdc8077051927985f9578a3a5 |
| 5 | |
| 6 | Cherry picks: |
| 7 | + 4c9a0c82d308d5df5c524e2a26644022ff525f3e: |
| 8 | reduce the size of bazel's embedded jdk |
| 9 | + d3228b61f633cdc5b3f740b641a0836f1bd79abd: |
| 10 | remote: limit number of open tcp connections by default. Fixes |
| 11 | #5491 |
| 12 | + 8ff87c164f48dbabe3b20becd00dde90c50d46f5: |
| 13 | Fix autodetection of linker flags |
| 14 | + c4622ac9205d2f1b42dac8c598e83113d39e7f11: |
| 15 | Fix autodetection of -z linker flags |
| 16 | + 10219659f58622d99034288cf9f491865f818218: |
| 17 | blaze_util_posix.cc: fix order of #define |
| 18 | + ab1f269017171223932e0da9bb539e8a17dd99ed: |
| 19 | blaze_util_freebsd.cc: include path.h explicitly |
| 20 | + 68e92b45a37f2142c768a56eb7ecfa484b8b22df: |
| 21 | openjdk: update macOS openjdk image. Fixes #5532 |
| 22 | + f45c22407e6b00fcba706eb62141cb9036bd38d7: |
| 23 | Set the start time of binary and JSON profiles to zero correctly. |
| 24 | + bca1912853086b8e9a28a85a1b144ec0dc9717cc: |
| 25 | remote: fix race on download error. Fixes #5047 |
| 26 | + 3842bd39e10612c7eef36c6048407e81bcd0a8fb: |
| 27 | jdk: use parallel old gc and disable compact strings |
| 28 | + 6bd0bdf5140525cb33dc2db068b210261d9df271: |
| 29 | Add objc-fully-link to the list of actions that require the |
| 30 | apple_env feature. This fixes apple_static_library functionality. |
| 31 | + f330439fb970cfa17c70fc59c1458bb1c31c9522: |
| 32 | Add the action_names_test_files target to the OSS version of |
| 33 | tools/buils_defs/cc/BUILD. |
| 34 | + d215b64362c4ede61c8ba87b5f3f57bce4785d15: |
| 35 | Fix StackOverflowError on Windows. Fixes #5730 |
| 36 | + 366da4cf27b7f957ef39f89206db77fa2ac289df: |
| 37 | In java_rules_skylark depend on the javabase through |
| 38 | //tools/jdk:current_java_runtime |
| 39 | + 30c601dc13d9e1b40a57434c022c888c7578cc56: |
| 40 | Don't use @local_jdk for jni headers |
| 41 | + c56699db5f9173739ba3ac55aa9fa69b6457a99b: |
| 42 | 'DumpPlatformClasspath' now dumps the current JDK's default |
| 43 | platform classpath |
| 44 | ``` |
| 45 | |
| 46 | This release is a patch release that contains fixes for several serious |
| 47 | regressions that were found after the release of Bazel 0.16.0. |
| 48 | |
| 49 | In particular this release resolves the following issues: |
| 50 | |
| 51 | - Bazel crashes with a StackOverflowError on Windows (See #5730) |
| 52 | - Bazel requires a locally installed JDK and does not fall back |
| 53 | to the embedded JDK (See #5744) |
| 54 | - Bazel fails to build for Homebrew on macOS El Capitan (See #5777) |
| 55 | - A regression in apple_static_library (See #5683) |
| 56 | |
| 57 | Please watch our blog for a more detailed release announcement. |
| 58 | |
Bazel Release System | b292ad1 | 2018-07-31 12:55:37 -0400 | [diff] [blame] | 59 | ## Release 0.16.0 (2018-07-31) |
Bazel Release System | 97564f6 | 2018-07-17 14:19:41 +0200 | [diff] [blame] | 60 | |
| 61 | ``` |
Bazel Release System | b292ad1 | 2018-07-31 12:55:37 -0400 | [diff] [blame] | 62 | Baseline: 4f64b77a3dd8e4ccdc8077051927985f9578a3a5 |
Bazel Release System | 97564f6 | 2018-07-17 14:19:41 +0200 | [diff] [blame] | 63 | |
| 64 | Cherry picks: |
Bazel Release System | b292ad1 | 2018-07-31 12:55:37 -0400 | [diff] [blame] | 65 | + 4c9a0c82d308d5df5c524e2a26644022ff525f3e: |
| 66 | reduce the size of bazel's embedded jdk |
| 67 | + d3228b61f633cdc5b3f740b641a0836f1bd79abd: |
| 68 | remote: limit number of open tcp connections by default. Fixes |
| 69 | #5491 |
Bazel Release System | 97564f6 | 2018-07-17 14:19:41 +0200 | [diff] [blame] | 70 | + 8ff87c164f48dbabe3b20becd00dde90c50d46f5: |
| 71 | Fix autodetection of linker flags |
| 72 | + c4622ac9205d2f1b42dac8c598e83113d39e7f11: |
| 73 | Fix autodetection of -z linker flags |
Bazel Release System | b292ad1 | 2018-07-31 12:55:37 -0400 | [diff] [blame] | 74 | + 10219659f58622d99034288cf9f491865f818218: |
| 75 | blaze_util_posix.cc: fix order of #define |
| 76 | + ab1f269017171223932e0da9bb539e8a17dd99ed: |
| 77 | blaze_util_freebsd.cc: include path.h explicitly |
| 78 | + 68e92b45a37f2142c768a56eb7ecfa484b8b22df: |
| 79 | openjdk: update macOS openjdk image. Fixes #5532 |
| 80 | + f45c22407e6b00fcba706eb62141cb9036bd38d7: |
| 81 | Set the start time of binary and JSON profiles to zero correctly. |
| 82 | + bca1912853086b8e9a28a85a1b144ec0dc9717cc: |
| 83 | remote: fix race on download error. Fixes #5047 |
| 84 | + 3842bd39e10612c7eef36c6048407e81bcd0a8fb: |
| 85 | jdk: use parallel old gc and disable compact strings |
Bazel Release System | 97564f6 | 2018-07-17 14:19:41 +0200 | [diff] [blame] | 86 | ``` |
| 87 | |
Bazel Release System | b292ad1 | 2018-07-31 12:55:37 -0400 | [diff] [blame] | 88 | Incompatible changes: |
| 89 | |
| 90 | - The $(ANDROID_CPU) Make variable is not available anymore. Use |
| 91 | $(TARGET_CPU) after an Android configuration transition instead. |
| 92 | - The $(JAVA_TRANSLATIONS) Make variable is not supported anymore. |
| 93 | - Skylark structs (using struct()) may no longer have to_json and |
| 94 | to_proto overridden. |
| 95 | - The mobile-install --skylark_incremental_res flag is no longer |
| 96 | available, use the --skylark flag instead. |
| 97 | |
| 98 | New features: |
| 99 | |
| 100 | - android_local_test now takes advantage of Robolectric's binary |
| 101 | resource processing which allows for faster tests. |
| 102 | - Allow @ in package names. |
| 103 | |
Bazel Release System | 97564f6 | 2018-07-17 14:19:41 +0200 | [diff] [blame] | 104 | Important changes: |
| 105 | |
Bazel Release System | b292ad1 | 2018-07-31 12:55:37 -0400 | [diff] [blame] | 106 | - Option --glibc is removed, toolchain selection relies solely on |
| 107 | --cpu and --compiler options. |
| 108 | - Build support for enabling cross binary FDO optimization. |
| 109 | - The --distdir option is no longer experimental. This |
| 110 | option allows to specify additional directories to look for |
| 111 | files before trying to fetch them from the network. Files from |
| 112 | any of the distdirs are only used if a checksum for the file |
| 113 | is specified and both, the filename and the checksum, match. |
| 114 | - Java coverage works now with multiple jobs. |
| 115 | - Flip default value of --experimental_shortened_obj_file_path to |
| 116 | true, Bazel now generates short object file path by default. |
| 117 | - New rules for importing Android dependencies: |
| 118 | `aar_import_external` and `aar_maven_import_external`. |
| 119 | `aar_import_external` enables specifying external AAR |
| 120 | dependencies using a list of HTTP URLs for the artifact. |
| 121 | `aar_maven_import_external` enables specifying external AAR |
| 122 | dependencies using the artifact coordinate and a list of server |
| 123 | URLs. |
| 124 | - The BAZEL_JAVAC_OPTS environment variable allows arguments, e.g., |
| 125 | "-J-Xmx2g", may be passed to the javac compiler during bootstrap |
| 126 | build. This is helpful if your system chooses too small of a max |
| 127 | heap size for the Java compiler during the bootstrap build. |
| 128 | - --noexpand_configs_in_place is deprecated. |
| 129 | - A tool to parse the Bazel execution log. |
| 130 | - Support for LIPO has been fully removed. |
| 131 | - Remove support for --discard_actions_after_execution. |
| 132 | - Add --materialize_param_files flag to write parameter files even |
| 133 | when actions are executed remotely. |
| 134 | - Windows default system bazelrc is read from the user's |
| 135 | ProgramData if present. |
| 136 | - --[no]allow_undefined_configs no longer exists, passing undefined |
| 137 | configs is an error. |
Bazel Release System | 1281a02 | 2018-07-16 16:13:53 +0200 | [diff] [blame] | 138 | - In remote caching we limit the number of open |
| 139 | TCP connections to 100 by default. The number can be adjusted |
| 140 | by specifying the --remote_max_connections flag. |
| 141 | |
Bazel Release System | 5013a33 | 2018-06-26 14:07:47 +0200 | [diff] [blame] | 142 | ## Release 0.15.0 (2018-06-26) |
| 143 | |
| 144 | ``` |
| 145 | Baseline: b93ae42e8e693ccbcc387841a17f58259966fa38 |
| 146 | |
| 147 | Cherry picks: |
| 148 | + 4b80f2455e7e49a95f3a4c9102a67a57dad52207: |
| 149 | Add option to enable Docker sandboxing. |
| 150 | + 6b1635279e8b33dc1ac505ac81825e38f8797a14: |
| 151 | Allow disabling the simple blob caches via CLI flag overrides. |
| 152 | + 4ec0a7524913ab2c4641368e3f8c09b347351a08: |
| 153 | Use BUILD.bazel instead of BUILD for external projects |
| 154 | ``` |
| 155 | |
| 156 | Incompatible changes: |
| 157 | |
| 158 | - Bazel now always runs binaries in with "bazel run" in |
| 159 | interactive mode. The "--nodirect_run" command line option is now |
| 160 | a no-op. |
| 161 | - "bazel run --noas_test" is not supported anymore. |
| 162 | - Indentation on the first line of a file was previously ignored. |
| 163 | This is now fixed. |
| 164 | |
| 165 | New features: |
| 166 | |
| 167 | - C++,runfiles: to access data-dependencies (runfiles) in C++ |
| 168 | programs, use the runfiles library built into Bazel. For usage |
| 169 | info, see |
| 170 | https://github.com/bazelbuild/bazel/blob/master/tools/cpp/runfiles |
| 171 | /runfiles.h |
| 172 | |
| 173 | Important changes: |
| 174 | |
| 175 | - Bazel now allows almost all 7-bit ASCII characters in labels. |
| 176 | - Remove vestigial java_plugin.data attribute |
| 177 | - Bazel supports including select Java 8 APIs into Android apps |
| 178 | targeting pre-Nougat Android devices with |
| 179 | --experimental_desugar_java8_libs |
| 180 | - Flag `--incompatible_disable_glob_tracking` is removed. |
| 181 | - SkyQuery's rbuildfiles now returns targets corresponding to |
| 182 | broken packages. |
| 183 | - Introduce build support for providing cache prefetch hints. |
| 184 | - Update the skylark DefaultInfo documentation to spell out |
| 185 | runfiles, data_runfiles and default_runfiles |
| 186 | - An internal action for symlinking runfiles will use Command |
| 187 | instead of a Spawns. This should have no functional chages; the |
| 188 | only user visible consequence should be that the internal action |
| 189 | is no longer be included in statistics when calculating processes |
| 190 | count. |
| 191 | - --batch is deprecated |
| 192 | - execution strategies line no longer handles differently the case |
| 193 | where all processes have the same strategy. |
| 194 | - The --experimental_remote_spawn_cache flag is now enabled by |
| 195 | default, and remote caching no longer needs --*_strategy=remote |
| 196 | flags (it will fail if they are specified). |
| 197 | - android_binary.aapt_version='aapt2' now supports en_XA and ar_XB |
| 198 | - Added --apple_enable_auto_dsym_dbg flag. |
| 199 | - non_propagated_deps has been removed from objc_library and |
| 200 | apple_binary. |
| 201 | - For Android projects, Bazel now supports building fonts as |
| 202 | resources. See |
| 203 | https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml |
| 204 | for more information on the feature. |
| 205 | - With --incompatible_no_support_tools_in_action_inputs enabled, Skylark |
| 206 | action inputs are no longer scanned for tools. Move any such |
| 207 | inputs to the newly introduced 'tools' attribute. |
| 208 | |
Bazel Release System | 513bbf5 | 2018-06-08 14:15:20 +0200 | [diff] [blame] | 209 | ## Release 0.14.1 (2018-06-08) |
| 210 | |
| 211 | ``` |
| 212 | Baseline: 5c3f5c9be7fa40d4fb3c35756891fab8483ca406 |
| 213 | |
| 214 | Cherry picks: |
| 215 | + f96f037f8f77335dc444844abcc31a372a3e1849: |
| 216 | Windows, Java launcher: Support jar files under different drives |
| 217 | + ff8162d01409db34893de98bd840a51c5f13e257: |
| 218 | sh_configure.bzl: FreeBSD is also a known platform |
| 219 | + 7092ed324137f03fcd34856bdb0595a1bdec3069: |
| 220 | Remove unneeded exec_compatible_with from local_sh_toolchain |
| 221 | + 57bc201346e61c62a921c1cbf32ad24f185c10c9: |
| 222 | Do not autodetect C++ toolchain when |
| 223 | BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 is present |
| 224 | + 35a78c09cf2fbfc3de9c124d2142e3d72aac4348: |
| 225 | remote: recursively delete incomplete downloaded output |
| 226 | directory. |
| 227 | + 3c9cd82b847f3ece8ec04b2029bd5e8ad0eb7502: |
| 228 | distfile: pack the archives needed later in the build |
| 229 | + 27487c77387e457df18be3b6833697096d074eab: |
| 230 | Slightly refactor SpawnAction to improve env handling |
| 231 | + 1b333a2c37add9d04fe5bc5258ee4f73c93115e2: |
| 232 | Fix Cpp{Compile,Link}Action environment and cache key computation |
| 233 | + 3da8929963e9c70dff5d8859d6e988e6e7f4f9d7: |
| 234 | Make SymlinkTreeAction properly use the configuration's |
| 235 | environment |
| 236 | + eca7b81cf8cc51e1fe56e5ed7d4ad5cd1668a17a: |
| 237 | Add a missing dependency from checker framework dataflow to |
| 238 | javacutils |
| 239 | + 10a4de954c2061258d8222961fc3bd39516db49d: |
| 240 | Release 0.14.0 (2018-06-01) |
| 241 | + 4b80f2455e7e49a95f3a4c9102a67a57dad52207: |
| 242 | Add option to enable Docker sandboxing. |
| 243 | + 6b1635279e8b33dc1ac505ac81825e38f8797a14: |
| 244 | Allow disabling the simple blob caches via CLI flag overrides. |
| 245 | ``` |
| 246 | |
| 247 | Bug fix for [#5336](https://github.com/bazelbuild/bazel/issues/5336) |
| 248 | Bug fix fot [#5308](https://github.com/bazelbuild/bazel/issues/5308) |
| 249 | |
Bazel Release System | 3a592f6 | 2018-06-01 15:04:31 +0200 | [diff] [blame] | 250 | ## Release 0.14.0 (2018-06-01) |
| 251 | |
| 252 | ``` |
| 253 | Baseline: 5c3f5c9be7fa40d4fb3c35756891fab8483ca406 |
| 254 | |
| 255 | Cherry picks: |
| 256 | + f96f037f8f77335dc444844abcc31a372a3e1849: |
| 257 | Windows, Java launcher: Support jar files under different drives |
| 258 | + ff8162d01409db34893de98bd840a51c5f13e257: |
| 259 | sh_configure.bzl: FreeBSD is also a known platform |
| 260 | + 7092ed324137f03fcd34856bdb0595a1bdec3069: |
| 261 | Remove unneeded exec_compatible_with from local_sh_toolchain |
| 262 | + 57bc201346e61c62a921c1cbf32ad24f185c10c9: |
| 263 | Do not autodetect C++ toolchain when |
| 264 | BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 is present |
| 265 | + 35a78c09cf2fbfc3de9c124d2142e3d72aac4348: |
| 266 | remote: recursively delete incomplete downloaded output |
| 267 | directory. |
| 268 | + 3c9cd82b847f3ece8ec04b2029bd5e8ad0eb7502: |
| 269 | distfile: pack the archives needed later in the build |
| 270 | + 27487c77387e457df18be3b6833697096d074eab: |
| 271 | Slightly refactor SpawnAction to improve env handling |
| 272 | + 1b333a2c37add9d04fe5bc5258ee4f73c93115e2: |
| 273 | Fix Cpp{Compile,Link}Action environment and cache key computation |
| 274 | + 3da8929963e9c70dff5d8859d6e988e6e7f4f9d7: |
| 275 | Make SymlinkTreeAction properly use the configuration's |
| 276 | environment |
| 277 | + eca7b81cf8cc51e1fe56e5ed7d4ad5cd1668a17a: |
| 278 | Add a missing dependency from checker framework dataflow to |
| 279 | javacutils |
| 280 | ``` |
| 281 | |
| 282 | Incompatible changes: |
| 283 | |
| 284 | - Add --incompatible_disallow_legacy_javainfo flag. |
| 285 | - Added flag --incompatible_disallow_old_style_args_add to help |
| 286 | migrate from args.add() to args.add_all() / args.add_joined() |
| 287 | where appropriate. |
| 288 | |
| 289 | New features: |
| 290 | |
| 291 | - Bash,runfiles: use the new platform-independent library in |
| 292 | `@bazel_tools//tools/bash/runfiles` to access runfiles |
| 293 | (data-dependencies). See |
| 294 | https://github.com/bazelbuild/bazel/blob/master/tools/bash/runfile |
| 295 | s/runfiles.bash for usage information. |
| 296 | - TemplateVariableInfo can now be constructed from Skylark. |
| 297 | - The java_host_runtime_alias rule is now implemented in Java. |
| 298 | |
| 299 | Important changes: |
| 300 | |
| 301 | - Flip default value of --experimental_shortened_obj_file_path to |
| 302 | true, Bazel now generates short object file path by default. |
| 303 | - Introduce fdo_profile rule that allows architecture-sensitive |
| 304 | specification of fdo profiles. |
| 305 | - canonicalize-flags no longer reorders the flags |
| 306 | - CppRules: optional_compiler_flag was removed from CROSSTOOL, use |
| 307 | features instead. |
| 308 | - Labels of the form ////foo are disallowed. |
| 309 | - The `/` operator is deprecated in favor of `//` (floor integer |
| 310 | division). |
| 311 | Try the `--incompatible_disallow_slash_operator` flag to ensure |
| 312 | your code |
| 313 | is forward-compatible. |
| 314 | - Flip default value of --experimental_shortened_obj_file_path to |
| 315 | true, Bazel now generates short object file path by default. |
| 316 | - Exposed "mnemonic" and "env" fields on skylark "Action" objects. |
| 317 | - Removed flag `--incompatible_disallow_toplevel_if_statement`. |
| 318 | - Remove vestigial 'deps' and 'data' attributes from |
| 319 | proto_lang_toolchain |
| 320 | - Args objects (ctx.actions.args()) have new methods add_all() and |
| 321 | add_joined() for building command lines using depsets. |
| 322 | - `FileType` is deprecated and will be removed soon. |
| 323 | Try the `--incompatible_disallow_filetype` flag to ensure your |
| 324 | code |
| 325 | is forward-compatible. |
| 326 | - Introduce absolute_path_profile attribute that allows fdo_profile |
| 327 | to accept absolute paths. |
| 328 | - Support two-arg overloads for ctx.actions.args (eg. |
| 329 | args.add("--foo", val)) |
| 330 | - Introduce 'tools' attribute to ctx.actions.run. |
| 331 | - Fixed error message for proguard_apply_dictionary. |
| 332 | - "bazel run" now lets one run interactive binaries. The |
| 333 | BUILD_WORKSPACE_DIRECTORY and BUILD_WORKING_DIRECTORY environment |
| 334 | variables indicate the working directory and the workspace root |
| 335 | of the Bazel invocation. Tests are provided with an approximation |
| 336 | of the official test environment. |
| 337 | - repository rules are no longer restricted to return None. |
| 338 | - Add --high_priority_workers flag. |
| 339 | - CppRules: Feature configuration can be created from Skylark |
| 340 | - Adds new-style JavaInfo provider constructor. |
| 341 | - Make java_common.compile now uses java_toolchain javacopts by |
| 342 | default; explicitly retrieving them using |
| 343 | java_common.default_javac_opts is unnecessary. |
| 344 | - CppRules: C++ command lines and env variables for C++ actions can |
| 345 | be retrieved from feature configuration. |
| 346 | - Skylark rule definitions may advertise providers that targets of |
| 347 | the rule must propagate. |
| 348 | - Bazel now supports running actions inside Docker containers. |
| 349 | To use this feature, run "bazel build --spawn_strategy=docker |
| 350 | --experimental_docker_image=myimage:latest". |
| 351 | - Remote execution works for Windows binaries with launchers. |
| 352 | - Fixing start/end lib expansion for linking. There were many cases |
| 353 | where archive files were still being used with toolchains that |
| 354 | support start/end lib. This change consolidates the places that |
| 355 | make that decision so they can be more consistent. |
| 356 | - Add support for reporting an error if |
| 357 | android_test.binary_under_test contains incompatible versions of |
| 358 | deps |
| 359 | - We replaced the --experimental_local_disk_cache and |
| 360 | --experimental_local_disk_cache_path flags into a single |
| 361 | --disk_cache flag. Additionally, Bazel now tries to create the disk cache |
| 362 | directory if it doesn't exist. |
| 363 | - Save Blaze memory by not storing LinkerInput objects in |
| 364 | LinkCommandLine |
| 365 | - In the JavaInfo created by java_common.create_provider now |
| 366 | includes both direct and transitive arguments in |
| 367 | transitive_compile_time_jars and transitive_runtime_jars |
| 368 | - Allow --worker_max_instances to take MnemonicName=value to |
| 369 | specify max for each worker. |
| 370 | - Allow java_toolchain.header_compiler to be an arbitrary executable |
| 371 | |
Bazel Release System | 24c68ff | 2018-05-23 10:59:57 +0200 | [diff] [blame] | 372 | ## Release 0.13.1 (2018-05-23) |
| 373 | |
| 374 | ``` |
| 375 | Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05 |
| 376 | |
| 377 | Cherry picks: |
| 378 | + f083e7623cd03e20ed216117c5ea8c8b4ec61948: |
| 379 | windows: GetOutputRoot() returns GetHomeDir() |
| 380 | + fa36d2f48965b127e8fd397348d16e991135bfb6: |
| 381 | Automated rollback of commit |
| 382 | 4465dae23de989f1452e93d0a88ac2a289103dd9. |
| 383 | + 4abd2babcc50900afd0271bf30dc64055f34e100: |
| 384 | Add error message on empty public resources |
| 385 | + 2c957575ff24c183d48ade4345a79ffa5bec3724: |
| 386 | test-setup: remove leading "./" from test name |
| 387 | + e6eaf251acb3b7054c8c5ced58a49c054b5f23b1: |
| 388 | Sort entries by segment when building a parent node to prevent |
| 389 | unordered directory structures. |
| 390 | ``` |
| 391 | |
| 392 | Important changes: |
| 393 | |
| 394 | - Remote Execution: Fixes a regression that produces directories with unsorted file/directory lists |
| 395 | |
Bazel Release System | 1d9c606 | 2018-04-30 10:45:38 +0200 | [diff] [blame] | 396 | ## Release 0.13.0 (2018-04-30) |
| 397 | |
| 398 | ``` |
| 399 | Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05 |
| 400 | |
| 401 | Cherry picks: |
| 402 | + f083e7623cd03e20ed216117c5ea8c8b4ec61948: |
| 403 | windows: GetOutputRoot() returns GetHomeDir() |
| 404 | + fa36d2f48965b127e8fd397348d16e991135bfb6: |
| 405 | Automated rollback of commit |
| 406 | 4465dae23de989f1452e93d0a88ac2a289103dd9. |
| 407 | + 4abd2babcc50900afd0271bf30dc64055f34e100: |
| 408 | Add error message on empty public resources |
| 409 | + 2c957575ff24c183d48ade4345a79ffa5bec3724: |
| 410 | test-setup: remove leading "./" from test name |
| 411 | ``` |
| 412 | |
| 413 | Incompatible changes: |
| 414 | |
| 415 | - Remove //tools/defaults:android_jar. Use |
| 416 | @bazel_tools//tools/android:android_jar instead. |
| 417 | - The flag --incompatible_show_all_print_messages is removed. |
| 418 | Messages generated by `print` statements from any package will be |
| 419 | displayed as |
| 420 | DEBUG messages. |
| 421 | - The --incompatible_disallow_uncalled_set_constructor flag is no |
| 422 | longer available, the `set` constructor` is completely removed |
| 423 | from Skylark. |
| 424 | Use `depset` instead. |
| 425 | - Variables PACKAGE_NAME and REPOSITORY_NAME are deprecated in |
| 426 | favor of |
| 427 | functions `package_name()` and `repository_name()`. |
| 428 | |
| 429 | https://docs.bazel.build/versions/master/skylark/lib/native.html#p |
| 430 | ackage_name |
| 431 | - BUILD_TIMESTAMP now contains seconds (and not milliseconds) since |
| 432 | the epoch. |
| 433 | |
| 434 | New features: |
| 435 | |
| 436 | - Strings have a new .elems() method, that provides an iterator on |
| 437 | the characters of the string. |
| 438 | - Now you can access three functions in windows_cc_configure.bzl by: |
| 439 | load("@bazel_tools/tools/cpp:windows_cc_configure.bzl", |
| 440 | "<function_name>") |
| 441 | |
| 442 | Important changes: |
| 443 | |
| 444 | - CppRules: Unified action_configs for static libraries |
| 445 | - Remove support for blaze dump --vfs. It is no longer meaningful. |
| 446 | - Enable dependency checking for aar_import targets. |
| 447 | - internal_bootstrap_hack has been deprecated and removed. |
| 448 | - Properly handle tree artifacts on the link command line coming |
| 449 | from a cc_library dependency. |
| 450 | - Allow C++ features to make proto_library emit smaller C++ code |
| 451 | - The 'j2objc' configuration fragment is exposed to Skylark. |
| 452 | - Remove the default content of the global bazelrc. |
| 453 | - In int() function, do not auto-detect base if input starts with |
| 454 | '0'. |
| 455 | - Users can now pass --experimental_shortened_obj_file_path=true to |
| 456 | have a shorter object file path, the object file paths (and all |
| 457 | other related paths) will be constructed as following: |
| 458 | If there's no two or more source files with the same base name: |
| 459 | |
| 460 | <bazel-bin>/<target_package_path>/_objs/<target_name>/<source_base |
| 461 | _name>.<extension> |
| 462 | otherwise: |
| 463 | |
| 464 | <bazel-bin>/<target_package_path>/_objs/<target_name>/N/<source_ba |
| 465 | se_name>.<extension> |
| 466 | N = the file?s order among the source files with the same |
| 467 | basename, starts from 0. |
| 468 | - Move (c/cxx)opts from legacy_compile_flags to user_compile_flags |
| 469 | - CppRules: Remove optional_*_flag fields from CROSSTOOL, they are |
| 470 | not |
| 471 | used, and could be expressed using features. |
| 472 | - Introduce --incompatible_disable_objc_provider_resources to turn |
| 473 | off all resource-related fields of the Objc provider. |
| 474 | - Removed the statement of "What does Bazel support?" as it's |
| 475 | limiting/misleading. Added supported host OSes to |
| 476 | "multi-platform" paragraph. |
| 477 | - android_library AAR output now contains proguard.txt |
| 478 | - Bazel now displays information about remote cache hits and |
| 479 | execution strategies used in its UI after every build and test, |
| 480 | and adds a corresponding line "process stats" to BuildToolLogs in |
| 481 | BEP. |
| 482 | - Print correct build result for builds with --aspects flag. |
| 483 | - android_binary.manifest_merger is no longer supported. |
| 484 | |
Bazel Release System | 546976c | 2018-04-11 17:34:19 +0200 | [diff] [blame] | 485 | ## Release 0.12.0 (2018-04-11) |
| 486 | |
| 487 | ``` |
| 488 | Baseline: b33e5afa313322a7048044c44d854cbb666b988e |
| 489 | |
| 490 | Cherry picks: |
| 491 | + 369409995bd75eeb0683fd24f7585d2a90320796: |
| 492 | Automated rollback of commit |
| 493 | c2b332b45e6ea41a14ecbd3c5f30782bcdeec301. |
| 494 | + dbf779869751cc893ba240402d352c6e70be2978: |
| 495 | Emit SJD errors even if we don't know the label of a dependency |
| 496 | + 4c3098cfa6f00f90c7530b6f40d3e93062931c1d: |
| 497 | Android tools: remove mtime-modifications |
| 498 | + a1068c44a700ec2cff84cbd12592e9bfea25d754: |
| 499 | NDK cc_toolchains: include bundled runtime libraries in |
| 500 | cc_toolchain.all_files |
| 501 | + b1be5816ec1bf8e1172c1bed4f29b4e6c6bb7202: |
| 502 | runfiles,Python: remove library from @bazel_tools |
| 503 | + 0a4622012ff796429220fe57d3217f262cc208a8: |
| 504 | Fix visibility of def_parser for remote builds |
| 505 | + 3c5373c50c7c492842f8a468906eda2c0bc90787: |
| 506 | Remove visibility attribute from |
| 507 | //third_party/def_parser:def_parser |
| 508 | + f54d7e5293cc40ce3507a9adef530e46ab817585: |
| 509 | Enable bulk writes in the HttpBlobStore |
| 510 | + 04ce86e8ba96630f89a436167b7f3a195c5e50e7: |
| 511 | remote/http: properly complete user promise |
| 512 | ``` |
| 513 | |
| 514 | Incompatible changes: |
| 515 | |
| 516 | - The order of dict-valued attributes is now the order in the BUILD |
| 517 | file (or in the Skylark dict they were created from) and not |
| 518 | lexicographically sorted. |
| 519 | |
| 520 | New features: |
| 521 | |
| 522 | - The new "--direct_run" flag on "blaze run" lets one run |
| 523 | interactive binaries. |
| 524 | - "blaze run --direct_run" with tests now gives the test an |
| 525 | approximation of the official test environment. |
| 526 | - "blaze run --direct_run" now exports the |
| 527 | BUILD_{WORKSPACE,WORKING}_DIRECTORY variables to tell the binary |
| 528 | about the cwd of the client and the workspace root. |
| 529 | - New Android device test rule: android_instrumentation_test. |
| 530 | - Add option to dump the action graph to a file: 'bazel dump |
| 531 | --action_graph=/path/to/file'. |
| 532 | - Pass `tags` from `java_import_external` rule to the generated |
| 533 | `java_import` rule. |
| 534 | - blaze query: use --proto:output_rule_attrs to filter for given |
| 535 | attributes |
| 536 | - Added Android NDK r15 support, including compatibility with |
| 537 | Unified Headers. |
| 538 | - Adds --ltobackendopt and --per_file_ltobackendopt for passing |
| 539 | options to ThinLTO LTO backend compile actions only. |
| 540 | |
| 541 | Important changes: |
| 542 | |
| 543 | - Fix how libraries to link is specified to archiver actions. |
| 544 | - Fix how libraries_to_link are expanded in the archiver command |
| 545 | line. |
| 546 | - stop using --no-locals in android coverage builds |
| 547 | - apple_binary can now generate dSYM outputs with the |
| 548 | --apple_generate_dsym=true flag. |
| 549 | - Fix FDO_STAMP_MACRO to only be set when fdoBuildStamp is not null. |
| 550 | - Improved clarity of warning message for unsupported NDK revisions. |
| 551 | - Add lint check for discouraging glob(["**/*.java"]) |
| 552 | - unifly lint glob(["**/*.java"]) message |
| 553 | - Removed flags `--incompatible_checked_arithmetic`, |
| 554 | `--incompatible_dict_literal_has_no_duplicates`, |
| 555 | `--incompatible_disallow_keyword_only_args`, and ` |
| 556 | --incompatible_comprehension_variables_do_not_leak`. |
| 557 | - Add "proto_source_root" flag to proto_library. |
| 558 | - Updated default android_cpu value to armeabi-v7a |
| 559 | - In skylark, print(target) now shows the provider keys of a |
| 560 | target, as debug information. |
| 561 | - The native http_archive rule is deprecated. Use the |
| 562 | Skylark version available via |
| 563 | load("@bazel_tools//tools/build_defs/repo:http.bzl", |
| 564 | "http_archive") |
| 565 | instead. |
| 566 | - flaky_test_attempts supports the regex@attempts syntax, like |
| 567 | runs_per_test. |
| 568 | - Fixed include paths for NDK r13+ llvm-libc++ headers to |
| 569 | `ndk/sources/cxx-stl/llvm-libc++/include` and |
| 570 | `ndk/sources/cxx-stl/llvm-libc++abi/include` |
| 571 | - --config flags now expand in place by default. |
| 572 | - aar_import now sets java.transitive_exports. |
| 573 | - repository_cache is no longer experimental and enabled by default. |
| 574 | - BAZEL_LINKOPTS is now consulted when autoconfiguring c++ toolchain |
| 575 | - The native git_repository rule is deprecated. Use the |
| 576 | Skylark version available via |
| 577 | load("@bazel_tools//tools/build_defs/repo:git.bzl", |
| 578 | "git_repository") |
| 579 | instead. |
| 580 | - Removed flag `--incompatible_load_argument_is_label`. |
| 581 | - CcToolchain: Introduced action_config for |
| 582 | "c++-link-transitive-dynamic-library" |
| 583 | - Use bazel dump --action_graph=/path/to/action.proto |
| 584 | --action_graph:targets://foo:bar,//foo:foo to filter for certain |
| 585 | targets in the action graph dump. |
| 586 | - Added Android NDK r16 support. Use --cxxopt='-std=c++11` compile |
| 587 | with the C++11 standard, and |
| 588 | `--android_crosstool_top=@androidndk//:toolchain-libcpp` to use |
| 589 | the `libc++` STL. |
| 590 | - Add a --build_event_publish_all_actions flag to allow all actions |
| 591 | to be published via the BEP. |
| 592 | - C++: Introduced --experimental_drop_fully_static_linking_mode |
| 593 | - Removed cc_inc_library, please use cc_library instead |
| 594 | - CppRules: cc_binary/cc_test now enable 'static_linking_mode' or |
| 595 | 'dynamic_linking_mode'. |
| 596 | |
Bazel Release System | c86d6a0 | 2018-03-06 19:32:18 +0100 | [diff] [blame] | 597 | ## Release 0.11.1 (2018-03-06) |
| 598 | |
| 599 | ``` |
| 600 | Baseline: 00d781ae78a8bd51d3c61b621d79f0bb095aff9e |
| 601 | |
| 602 | Cherry picks: |
| 603 | + ea2d4c475febdbd59ca0e0ba46adc7be759f84e0: |
| 604 | Update stub_finds_runfiles_test to be a real sh_test. |
| 605 | + d855d8133f4efb73ebd5e82c54a9afb4c7565d46: |
| 606 | java,runfiles: fix bugs in runfiles library |
| 607 | + 56aeb04a064218b845ecc193d530c341c6ec854d: |
| 608 | Fixing #4585: broken re-execution of orphaned actions. |
| 609 | + cf3f81aef7c32019d70cbce218a64a03276268f0: |
| 610 | remote: Add support for HTTP Basic Auth |
| 611 | + 28bd997c1c8793973f63dcae4c22bbae49e7d8b7: |
| 612 | Fixing test-setup.sh occasionally missing stdout/stderr, on |
| 613 | systems where "tail --pid" is supported. |
| 614 | + 109e4b4dc9e786e3a2d8d7cb245d18320dbe9216: |
| 615 | Automated rollback of commit |
| 616 | 7e6837cc1d1aa4259f5c27ba3606b277b5f6c3e9. |
| 617 | + b3d52b1b6d46a0f23cc91125c1d522e9d13433b4: |
| 618 | Fix incorrect include directories when -no-canonical-prefixes is |
| 619 | passed to clang |
| 620 | + 1001141f0674ff4b611814edcb00a5183680ef4a: |
| 621 | Roll forward of |
| 622 | https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1 |
| 623 | b52bcac5a3ff942029 |
| 624 | (https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba |
| 625 | 1b52bcac5a3ff942029). Fix #4625 by running the test process in a |
| 626 | sub-shell. |
| 627 | + fc98b44b6181fa4c3efd8613d887970629468d74: |
| 628 | android,windows: bugfix in aar_resources_extractor |
| 629 | ``` |
| 630 | |
| 631 | Important changes: |
| 632 | |
| 633 | - Fixes regression building Android rules on Windows. |
| 634 | |
Bazel Release System | 09077a3 | 2018-02-23 11:09:18 -0500 | [diff] [blame] | 635 | ## Release 0.11.0 (2018-02-23) |
| 636 | |
| 637 | ``` |
| 638 | Baseline: 00d781ae78a8bd51d3c61b621d79f0bb095aff9e |
| 639 | |
| 640 | Cherry picks: |
| 641 | + ea2d4c475febdbd59ca0e0ba46adc7be759f84e0: |
| 642 | Update stub_finds_runfiles_test to be a real sh_test. |
| 643 | + d855d8133f4efb73ebd5e82c54a9afb4c7565d46: |
| 644 | java,runfiles: fix bugs in runfiles library |
| 645 | + 56aeb04a064218b845ecc193d530c341c6ec854d: |
| 646 | Fixing #4585: broken re-execution of orphaned actions. |
| 647 | + cf3f81aef7c32019d70cbce218a64a03276268f0: |
| 648 | remote: Add support for HTTP Basic Auth |
| 649 | + 28bd997c1c8793973f63dcae4c22bbae49e7d8b7: |
| 650 | Fixing test-setup.sh occasionally missing stdout/stderr, on |
| 651 | systems where "tail --pid" is supported. |
| 652 | + 109e4b4dc9e786e3a2d8d7cb245d18320dbe9216: |
| 653 | Automated rollback of commit |
| 654 | 7e6837cc1d1aa4259f5c27ba3606b277b5f6c3e9. |
| 655 | + b3d52b1b6d46a0f23cc91125c1d522e9d13433b4: |
| 656 | Fix incorrect include directories when -no-canonical-prefixes is |
| 657 | passed to clang |
| 658 | + 3904ac33a983fd8faebba1b52bcac5a3ff942029: |
| 659 | Automated rollback of commit |
| 660 | 28bd997c1c8793973f63dcae4c22bbae49e7d8b7. |
| 661 | + 1001141f0674ff4b611814edcb00a5183680ef4a: |
| 662 | Roll forward of |
| 663 | https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1 |
| 664 | b52bcac5a3ff942029 |
| 665 | (https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba |
| 666 | 1b52bcac5a3ff942029). Fix #4625 by running the test process in a |
| 667 | sub-shell. |
| 668 | ``` |
| 669 | |
| 670 | Incompatible changes: |
| 671 | |
| 672 | - ctx.fragments.jvm is not available anymore. |
| 673 | |
| 674 | New features: |
| 675 | |
| 676 | - java,runfiles: You can now depend on |
| 677 | `@bazel_tools//tools/runfiles:java-runfiles` to get a |
| 678 | platform-independent runfiles library for Java. See JavaDoc of |
| 679 | https://github.com/bazelbuild/bazel/blob/master/src/tools/runfiles |
| 680 | /java/com/google/devtools/build/runfiles/Runfiles.java for usage |
| 681 | information. |
| 682 | |
| 683 | Important changes: |
| 684 | |
| 685 | - The --[no]experimental_disable_jvm command line option is not |
| 686 | supported anymore. |
| 687 | - Allow expanding TreeArtifacts for libraries_to_link |
| 688 | - Proguarded Android binaries can be built with incremental dexing. |
| 689 | - aar_import now supports assets. |
| 690 | - Crash in OutputJar::Close has been fixed |
| 691 | - generator_* attributes are nonconfigurable. |
| 692 | - Introduces --[no]keep_state_after_build |
| 693 | - Add support for merged object files needed for -flto-unit. |
| 694 | - Fix how libraries to link is specified to archiver actions. |
| 695 | - Replace //tools/defaults:android_jar with |
| 696 | @bazel_tools//tools/android:android_jar. |
| 697 | //tools/defaults:android_jar will be removed in a future release. |
| 698 | - java_common.compile supports neverlink |
| 699 | - Resolved an issue where a failure in the remote cache would not |
| 700 | trigger local re-execution of an action. |
| 701 | |
Bazel Release System | e114836 | 2018-02-15 10:02:05 +0100 | [diff] [blame] | 702 | ## Release 0.10.1 (2018-02-15) |
| 703 | |
| 704 | ``` |
| 705 | Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993 |
| 706 | |
| 707 | Cherry picks: |
| 708 | + f6ca78808722c8c119affdb33400838ee92d44b6: |
| 709 | isable_presubmit |
| 710 | + 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52: |
| 711 | Fix StreamResourceLeak error |
| 712 | + e5436745e1732f5e43fc55f0deb5b19e23ce8524: |
| 713 | windows: fix --symlink_prefix=/ throwing exception |
| 714 | + 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3: |
| 715 | Fix turbine command lines with empty javacopts |
| 716 | + 96c654d43eb2906177325cbc2fc2b1e90dbcc792: |
| 717 | Remove EOL'd Linux flavours, bump CentOS to 6.9. |
| 718 | + f0bec36864f10370cbbda4caa8beac2e0c5ee45b: |
| 719 | Automated rollback of commit |
| 720 | 2aeaeba66857c561dd6d63c79a213f1cabc3650d. |
| 721 | + 860af5be10b6bad68144d9d2d34173e86b40268c: |
| 722 | Consolidate Error Prone resource handling |
| 723 | + 2e631c99495f75270d2639542cefb531ec262d67: |
| 724 | sandbox: properly add `tmpDir` to `writablePaths` |
| 725 | + 5bfa5844d0d16d71e88002956e88402bfec88ef7: |
| 726 | actions,temp: respect TMPDIR envvar |
| 727 | + 6cc2ad8676d1ae0542b351a07a05ddbe5efac165: |
| 728 | sandbox: add env[TMPDIR] instead of `tmpDir` |
| 729 | + 40c757f4ab90214f95935672532a495c4551490a: |
| 730 | Change git clone to pull all history, so all needed commits can |
| 731 | be accessed. |
| 732 | + 56aeb04a064218b845ecc193d530c341c6ec854d: |
| 733 | Fixing #4585: broken re-execution of orphaned actions. |
| 734 | ``` |
| 735 | |
| 736 | Important changes: |
| 737 | |
| 738 | - Resolved an issue where a failure in the remote cache would not |
| 739 | trigger local re-execution of an action. |
| 740 | |
Bazel Release System | 5bd2748 | 2018-02-01 09:43:33 +0100 | [diff] [blame] | 741 | ## Release 0.10.0 (2018-02-01) |
| 742 | |
| 743 | ``` |
| 744 | Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993 |
| 745 | |
| 746 | Cherry picks: |
| 747 | + f6ca78808722c8c119affdb33400838ee92d44b6: |
| 748 | isable_presubmit |
| 749 | + 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52: |
| 750 | Fix StreamResourceLeak error |
| 751 | + e5436745e1732f5e43fc55f0deb5b19e23ce8524: |
| 752 | windows: fix --symlink_prefix=/ throwing exception |
| 753 | + 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3: |
| 754 | Fix turbine command lines with empty javacopts |
| 755 | + 96c654d43eb2906177325cbc2fc2b1e90dbcc792: |
| 756 | Remove EOL'd Linux flavours, bump CentOS to 6.9. |
| 757 | + f0bec36864f10370cbbda4caa8beac2e0c5ee45b: |
| 758 | Automated rollback of commit |
| 759 | 2aeaeba66857c561dd6d63c79a213f1cabc3650d. |
| 760 | + 860af5be10b6bad68144d9d2d34173e86b40268c: |
| 761 | Consolidate Error Prone resource handling |
| 762 | + 2e631c99495f75270d2639542cefb531ec262d67: |
| 763 | sandbox: properly add `tmpDir` to `writablePaths` |
| 764 | + 5bfa5844d0d16d71e88002956e88402bfec88ef7: |
| 765 | actions,temp: respect TMPDIR envvar |
| 766 | + 6cc2ad8676d1ae0542b351a07a05ddbe5efac165: |
| 767 | sandbox: add env[TMPDIR] instead of `tmpDir` |
| 768 | + 40c757f4ab90214f95935672532a495c4551490a: |
| 769 | Change git clone to pull all history, so all needed commits can |
| 770 | be accessed. |
| 771 | ``` |
| 772 | |
| 773 | Incompatible changes: |
| 774 | |
| 775 | - In order to access the template variables $(JAVA) and |
| 776 | $(JAVABASE), @bazel_tools//tools/jdk:current_java_runtime needs |
| 777 | to be added to the toolchains= attribute from now on. |
| 778 | - The ctx.middle_man function is not supported anymore. |
| 779 | - The flag --incompatible_list_plus_equals_inplace is removed, its |
| 780 | default behavior is preserved. += on lists now always mutates the |
| 781 | left hand |
| 782 | side. |
| 783 | - --android_sdk no longer supports filegroup targets. |
| 784 | - android_* rules no longer support legacy_native_support attribute. |
| 785 | |
| 786 | New features: |
| 787 | |
| 788 | - query: Add option --noproto:flatten_selects to turn off |
| 789 | flattening of selector lists in proto output. |
| 790 | - New android test rule, android_local_test. |
| 791 | |
| 792 | Important changes: |
| 793 | |
| 794 | - The --remote_rest_cache flag now respects --remote_timeout. |
| 795 | - --experimental_java_coverage is available for testing. |
| 796 | - The deprecated builtin `set` is no longer allowed even from within |
| 797 | unexecuted code in bzl files. It's temporarily possible to use |
| 798 | --incompatible_disallow_uncalled_set_constructor=false if this |
| 799 | change causes |
| 800 | incompatibility issues. |
| 801 | - Linkstamping is now a separate and full-blown CppCompileAction, |
| 802 | it's |
| 803 | no longer a part of linking command. |
| 804 | - Using `+`, `|` or `.union` on depsets is now deprecated. Please |
| 805 | use the new |
| 806 | constructor instead (see |
| 807 | https://docs.bazel.build/versions/master/skylark/depsets.html). |
| 808 | - config_feature_flag's default_value is optional. It is |
| 809 | only an error to have a config_feature_flag with no default_value |
| 810 | if that config_feature_flag has not been set in the configuration |
| 811 | it is being evaluated in. |
| 812 | - --[no]keep_incrementality_data is gone, replaced by the |
| 813 | enum-valued --incremental_state_retention_strategy |
| 814 | - Linkstamping is now a separate and full-blown CppCompileAction, |
| 815 | it's |
| 816 | no longer a part of linking command. |
| 817 | - Added --checkHashMismatch flag to ZipFilterAction. Valid values |
| 818 | are IGNORE, WARN and ERROR. --errorOnHashMismatch is deprecated, |
| 819 | please use this flag instead. |
| 820 | - Set build jobs equivalent to number of logical processors by |
| 821 | default. Should improve build times significantly. |
| 822 | - Added --(no)expand_test_suites flag. |
| 823 | - Rename --keep_incrementality_data to --track_incremental_state |
| 824 | - --remote_rest_cache was renamed to --remote_http_cache. Both |
| 825 | options keep working in this release, but --remote_rest_cache |
| 826 | will be |
| 827 | removed in the next release. |
| 828 | - Aspects-on-aspect see and propagate over aspect attributes. |
| 829 | - --auth_* flags were renamed to --google_* flags. The old names |
| 830 | will continue to work for this release but will be removed in the |
| 831 | next |
| 832 | release. |
| 833 | - Remote Caching and Execution support output directories. |
| 834 | - Remove defunct flags |
| 835 | --experimental_incremental_dexing_for_lite_proto and |
| 836 | --experimental_incremental_dexing_error_on_missed_jars that have |
| 837 | long been enabled by default |
| 838 | - New version of aapt2 and Resources.proto. |
| 839 | - Make PIC and non PIC outputs for C++ compilation with Tree |
| 840 | Artifacts |
| 841 | |
Bazel Release System | 7b423cc | 2017-12-19 10:31:05 +0100 | [diff] [blame] | 842 | ## Release 0.9.0 (2017-12-19) |
Bazel Release System | 3d53cb0 | 2017-12-05 15:28:40 +0100 | [diff] [blame] | 843 | |
| 844 | ``` |
Bazel Release System | 7b423cc | 2017-12-19 10:31:05 +0100 | [diff] [blame] | 845 | Baseline: ddd5ac16aeffa6c4693c348f73e7365240b1abc5 |
Bazel Release System | 3d53cb0 | 2017-12-05 15:28:40 +0100 | [diff] [blame] | 846 | |
| 847 | Cherry picks: |
Bazel Release System | 7b423cc | 2017-12-19 10:31:05 +0100 | [diff] [blame] | 848 | + 2cf560f83922e6df9626ba3ee063c1caf6797548: |
| 849 | Update version of re2 |
| 850 | + a2d2615362c65be98629b39ce39754a325ed1c42: |
| 851 | Check for null build file returned from getBuildFileForPackage. |
| 852 | + 68c577afc2fb33b5e66b820bcc9043fed1071456: |
| 853 | Fix some broken targets and failing tests. |
| 854 | + 766ba8adc4487f17ebfc081aeba6f34b18b53d6c: |
Bazel Release System | 3d53cb0 | 2017-12-05 15:28:40 +0100 | [diff] [blame] | 855 | Automated rollback of commit |
Bazel Release System | 7b423cc | 2017-12-19 10:31:05 +0100 | [diff] [blame] | 856 | 337f19cc54e77c45daa1d5f61bf0a8d3daf8268f. |
| 857 | + a22d0e9c14e58b29d81f5a83bdcc6e5fce52eafe: |
| 858 | Fix: uploading artifacts of failed actions to remote cache |
| 859 | stopped working. |
| 860 | + 03964c8ccb20d673add76c7f37245e837c3899b6: |
| 861 | [java_common.compile] Name output source jar relative to the |
| 862 | output jar name |
Bazel Release System | 3d53cb0 | 2017-12-05 15:28:40 +0100 | [diff] [blame] | 863 | ``` |
| 864 | |
Bazel Release System | 7b423cc | 2017-12-19 10:31:05 +0100 | [diff] [blame] | 865 | Incompatible changes: |
| 866 | |
| 867 | - The deprecated `set` constructor is removed, along with the |
| 868 | migration flag --incompatible_disallow_set_constructor. It is |
| 869 | still temporarily |
| 870 | allowed to refer to `set` from within unexecuted code. |
| 871 | - The flag --incompatible_disallow_set_constructor is no longer |
| 872 | available, the deprecated `set` constructor is not available |
| 873 | anymore. |
| 874 | - The path to the JVM executable is not accessible anymore as |
| 875 | ctx.{fragments,host_fragments}.jvm.java_executable. Use |
| 876 | JavaRuntimeInfo.java_executable_exec_path instead. |
| 877 | - --clean_style is no longer an option. |
| 878 | |
| 879 | New features: |
| 880 | |
| 881 | - Users can use win_def_file attribute to specify a DEF file for |
| 882 | exporting symbols when build a shared library on Windows. |
| 883 | - Add --experimental_android_resource_cycle_shrinking option to |
| 884 | allow for more aggressive code and resource shrinking. |
| 885 | |
| 886 | Important changes: |
| 887 | |
| 888 | - Late-bound attributes are exposed to skylark. This is a new API |
| 889 | (`configuration_field()`) to depend on certain |
| 890 | configuration-defined targets from skylark rules. |
| 891 | - Document interaction between test_suite and target exclusions |
| 892 | - AAR manifest files will come from the processed resource APK if it |
| 893 | exists. |
| 894 | RELNOTES: None for Blaze users. |
| 895 | - Document interaction between test_suite and target exclusions |
| 896 | - --keep_incrementality_data flag allows Bazel servers to be run in |
| 897 | memory-saving non-incremental mode independent of --batch and |
| 898 | --discard_analysis_cache. |
| 899 | - Add deps attribute to Skylark maven_aar and maven_jar workspace |
| 900 | rules. |
| 901 | - Use --expand_configs_in_place as a startup argument to change the |
| 902 | order in which --config expansions are interpreted. |
| 903 | - SOURCE_DATE_EPOCH |
| 904 | (https://reproducible-builds.org/specs/source-date-epoch/) can |
| 905 | be used to override the timestamp used for stamped target (when |
| 906 | using --stamp). |
| 907 | - Package specifications can now be prefixed with `-` to indicate |
| 908 | negation |
| 909 | - transitive_source_jars is now exposed on JavaInfo. |
| 910 | - Add six to deps of has_services=1 py_proto_librarys. |
| 911 | - java_tests no complain when use_testrunner is explicitly set to 1 |
| 912 | and main_class is set. |
| 913 | - transitive_source_jars is now exposed on JavaInfo. |
| 914 | - Debug messages generated by `print()` are not being filtered out |
| 915 | by --output_filter anymore, it's recommended not to use them in |
| 916 | production code. |
| 917 | - in the Label() function, relative_to_caller_repository is now |
| 918 | deprecated. |
| 919 | - java_tests no complain when use_testrunner is explicitly set to 1 |
| 920 | and main_class is set. |
| 921 | - Bazel's default hash function was changed from MD5 to SHA256. |
| 922 | In particular, this affects users of remote caching and |
| 923 | execution, as |
| 924 | all hashes will be SHA256 by default. |
| 925 | - Remove redirects for domains be.bazel.build and cr.bazel.build |
| 926 | from the source for docs.bazel.build (because those subdomains |
| 927 | don't resolve here; they resolve to bazel.build, which has the |
| 928 | redirects for them) |
| 929 | - First argument of 'load' must be a label. Path syntax is removed. |
| 930 | (label should start with '//' or ':'). |
| 931 | - Document startup option --host_javabase |
| 932 | - The --host_platform and --platform flags are no longer |
| 933 | experimental. |
Bazel Release System | 3d53cb0 | 2017-12-05 15:28:40 +0100 | [diff] [blame] | 934 | |
Bazel Release System | 0838aee | 2017-11-27 14:16:34 +0100 | [diff] [blame] | 935 | ## Release 0.8.0 (2017-11-27) |
| 936 | |
| 937 | ``` |
| 938 | Baseline: cff0dc94f6a8e16492adf54c88d0b26abe903d4c |
| 939 | |
| 940 | Cherry picks: |
| 941 | + 8a49b156c4edf710e3e1e0acfde5a8d27cc3a086: |
| 942 | Fix ImportError on tools.android for junction_lib |
| 943 | + 275ae45b1228bdd0f912c4fbd634b29ba4180383: |
| 944 | Automated rollback of commit |
| 945 | 4869c4e17d5b1410070a1570f3244148d8f97b5d. |
| 946 | + d0bf589f2716b3d139c210930371a684c6e158eb: |
| 947 | Add a random number to action temp dir |
| 948 | + 9738f35abddb7ef7a7ef314b5d2a52a3be1b830a: |
| 949 | CcProtoLibrary: Don't add dynamic librarys to filesToBuild on |
| 950 | Windows |
| 951 | + 0d6ff477099fdf6c8c1c7d4e2104f9184afe0a2b: |
| 952 | Automated rollback of commit |
| 953 | 0ebb3e54fc890946ae6b3d059ecbd50e4b5ec840. |
| 954 | ``` |
| 955 | |
| 956 | Incompatible changes: |
| 957 | |
| 958 | - ctx.fragments.apple.{xcode_version,ios_minimum_os} is not |
| 959 | supported anymore. The same information is accessible through the |
| 960 | target @bazel_tools//tools/osx:current_xcode_config: point an |
| 961 | implicit attribute to it (i.e. |
| 962 | attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co |
| 963 | nfig")) then use |
| 964 | ctx.attr._xcode_config[apple_common].XcodeVersionConfig]. |
| 965 | - ctx.fragments.apple.minimum_os_for_platform_type is not supported |
| 966 | anymore. The same information is accessible through the target |
| 967 | @bazel_tools//tools/osx:current_xcode_config: point an implicit |
| 968 | attribute to it (i.e. |
| 969 | attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co |
| 970 | nfig")) then use |
| 971 | ctx.attr._xcode_config[apple_common].XcodeVersionConfig].minimum_o |
| 972 | s_for_platform_type . |
| 973 | - ctx.fragments.apple.sdk_version_for_platform is not supported |
| 974 | anymore. The same information is accessible through the target |
| 975 | @bazel_tools//tools/osx:current_xcode_config: point an implicit |
| 976 | attribute to it (i.e. |
| 977 | attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co |
| 978 | nfig")) then use |
| 979 | ctx.attr._xcode_config[apple_common].XcodeVersionConfig].sdk_versi |
| 980 | on_for_platform . |
| 981 | - --javabase=<absolute path> and --host_javabase=<absolute path> |
| 982 | are not supported anymore. If you need this functionality |
| 983 | java_runtime_suite(name="suite", default=":runtime") |
| 984 | java_runtime(name="runtime", java_home=<path to the JDK>) is an |
| 985 | alternative. |
| 986 | - The flag --incompatible_descriptive_string_representations is no |
| 987 | longer available, old style string representations of objects are |
| 988 | not supported |
| 989 | anymore. |
| 990 | - The flag --incompatible_disallow_set_constructor is no longer |
| 991 | available, the deprecated `set` constructor is not available |
| 992 | anymore. |
| 993 | - += on lists now mutates them. `list1 += list2` is now equivalent |
| 994 | to `list1.extend(list2)` and not equivalent to `list1 = list1 + |
| 995 | list2` anymore. |
| 996 | - the target_apple_env and apple_host_system_env methods on |
| 997 | ctx.fragments.apple are not supported anymore. The same |
| 998 | information is accessible through apple_common.target_apple_env |
| 999 | and apple_common.apple_host_system_env . They need the Xcode |
| 1000 | configuration as an argument, which can be obtained by declaring |
| 1001 | an implicit dependency on it (i.e. |
| 1002 | attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co |
| 1003 | nfig")) and then calling e.g. |
| 1004 | apple_common.apple_host_system_env(ctx.attr._xcode_config[apple_co |
| 1005 | mmon.XcodeVersionConfig]). |
| 1006 | - C++ toolchain identifiers are not in the name of the output |
| 1007 | directory anymore. |
| 1008 | - Selecting on "xcode_version" and |
| 1009 | "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore. |
| 1010 | What was config_setting(values={"$FOO_version": $VALUE}) is now |
| 1011 | config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_ |
| 1012 | flag": $VALUE}). |
| 1013 | - Selecting on "xcode_version" and |
| 1014 | "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore. |
| 1015 | What was config_setting(values={"$FOO_version": $VALUE}) is now |
| 1016 | config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_ |
| 1017 | flag": $VALUE}). |
| 1018 | - The flag --incompatible_disallow_set_constructor is no longer |
| 1019 | available, the deprecated `set` constructor is not available |
| 1020 | anymore. |
| 1021 | - Selecting on "xcode_version" and |
| 1022 | "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore. |
| 1023 | What was config_setting(values={"$FOO_version": $VALUE}) is now |
| 1024 | config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_versi... |
| 1025 | |
| 1026 | New features: |
| 1027 | |
| 1028 | - runfiles, sh: Shell scripts may now depend on |
| 1029 | //src/tools/runfiles:runfiles_sh_lib and source runfiles.sh. The |
| 1030 | script defines the `rlocation` function which returns runfile |
| 1031 | paths on every platform. |
| 1032 | - In addition to $(location), Bazel now also supports $(rootpath) |
| 1033 | to obtain |
| 1034 | the root-relative path (i.e., for runfiles locations), and |
| 1035 | $(execpath) to |
| 1036 | obtain the exec path (i.e., for build-time locations) |
| 1037 | |
| 1038 | Important changes: |
| 1039 | |
| 1040 | - android_binary now supports custom debug keys via the debug_key |
| 1041 | attribute. |
| 1042 | - Updated Android proguard to 5.3.3. It now works with android-24+. |
| 1043 | - --experimental_use_parallel_android_resource_processing and |
| 1044 | --experimental_android_use_nocompress_extensions_on_apk are |
| 1045 | removed. These features are fully rolled out. |
| 1046 | - Fixes #2574 |
| 1047 | - Fixes #3834 |
| 1048 | - Enable experimental UI by default. |
| 1049 | - . |
| 1050 | RELNOTES: None. |
| 1051 | RELNOTES: No. |
| 1052 | - Add memory profiler. |
| 1053 | - [Bazel] {java,cc}_proto_library now look for dependencies in |
| 1054 | @com_google_protobuf, instead of in @com_google_protobuf_$LANG |
| 1055 | - Improved merge.sh script in cookbook. |
| 1056 | - Fixing regression to --experimental_remote_spawn_cache |
| 1057 | - Support for linker scripts in NativeDepsHelper (e.g., |
| 1058 | android_binary) |
| 1059 | - Skylark semantics flags now affect WORKSPACE files and repository |
| 1060 | rules. |
| 1061 | - ctx.outputs.executable is deprecated. Use DefaultInfo(executable |
| 1062 | = ...) instead. |
| 1063 | - Update "mirror.bazel.build" urls to use https. |
| 1064 | - Improve --config logging when --announce_rc is present. |
| 1065 | - Document interaction between test_suite and target exclusions |
| 1066 | - Replace version numbers for Bazel installers with "<version>" |
| 1067 | (because this will change often) |
| 1068 | - Published command lines should have improved lists of effective |
| 1069 | options. |
| 1070 | - --incremental_dexing_binary_types has been removed. All builds |
| 1071 | are supported by incremental dexing (modulo proguard and some |
| 1072 | blacklisted dx flags). |
| 1073 | - Document --host_javabase, --host_java_toolchain |
| 1074 | |
Bazel Release System | 76b6d0a | 2017-10-18 14:34:11 +0200 | [diff] [blame] | 1075 | ## Release 0.7.0 (2017-10-18) |
| 1076 | |
| 1077 | ``` |
| 1078 | Baseline: 5cc6246d429f7d9119b97ce263b4fd6893222e92 |
| 1079 | |
| 1080 | Cherry picks: |
| 1081 | + e79a1107d90380501102990d82cbfaa8f51a1778: |
| 1082 | Windows,bootstrapping: fix build_windows_jni.sh |
| 1083 | ``` |
| 1084 | |
| 1085 | Incompatible changes: |
| 1086 | |
| 1087 | - The --output=location flag to 'bazel query' cannot be used with |
| 1088 | query expressions that involve the 'buildfiles' or 'loadfiles' |
| 1089 | operators. This also applies to 'genquery' rules. |
| 1090 | - Operators for equality, comparison, 'in' and 'not in' are no |
| 1091 | longer associative, |
| 1092 | e.g. x < y < z is now a syntax error. Before, it was parsed |
| 1093 | as: (x < y) < z. |
| 1094 | - In strings, octal sequences greater than \377 are now forbidden |
| 1095 | (e.g. "\\600"). |
| 1096 | Previously, Blaze had the same behavior as Python 2, where |
| 1097 | "\\450" == "\050". |
| 1098 | - Using tabulation for identation is now fobidden in .bzl files |
| 1099 | - `load` is now a language keyword, it cannot be used as an |
| 1100 | identifier |
| 1101 | - lvalues must have define at least one variable (i.e. we forbid |
| 1102 | `[] = f()`). |
| 1103 | - Fixed a bug whereby multiple load() statements could appear on |
| 1104 | the same line |
| 1105 | - -extra_checks:off is no longer supported; use |
| 1106 | -XepDisableAllChecks instead |
| 1107 | - java_common.java_toolchain_attr is removed. Depend on the |
| 1108 | java_toolchain_alias() rule to accomplish the same thing. |
| 1109 | - cc_common.cc_toolchain_attr and java_common.java_runtime_attr are |
| 1110 | not supported anymore and were replaced with the |
| 1111 | cc_toolchain_alias() and java_runtime_alias() rules. |
| 1112 | - Noop flag --deprecated_generate_xcode_project deleted. |
| 1113 | - Objects in Skylark are converted to strings in a more descriptive |
| 1114 | and less harmful way (they don't leak information that shouldn't |
| 1115 | be accessed by Skylark code, e.g. nondeterministic memory addresses |
| 1116 | of objects). |
| 1117 | - `set` is deprecated in BUILD and .bzl files, please use `depset` |
| 1118 | instead. Ordering names have also been changed, please use "default", |
| 1119 | "postorder", "preorder", and "topological" instead of "stable", |
| 1120 | "compile", "naive_link", and "link" correspondingly. |
| 1121 | - Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is |
| 1122 | an error. |
| 1123 | - Keyword-only syntax in a function definition is now forbidden |
| 1124 | e.g. `def foo(a, *, b)` or `def foo(a, *b, c)` |
| 1125 | - --incompatible_comprehension_variables_do_not_leak defaults to |
| 1126 | "true." |
| 1127 | Iteration variable becomes inaccessible after a list/dict |
| 1128 | comprehension. |
| 1129 | - @bazel_tools//tools/build_defs/docker:docker.bzl is no longer |
| 1130 | available, please see https://github.com/bazelbuild/rules_docker. |
| 1131 | |
| 1132 | New features: |
| 1133 | |
| 1134 | - Zipped LLVM profiles are now supported. |
| 1135 | - LIPO maps to ThinLTO for LLVM builds. |
| 1136 | - Change to handle LLVM FDO zipped profile contents correctly. |
| 1137 | - Do not disable fully dynamic linking with ThinLTO when invoked |
| 1138 | via LIPO options. |
| 1139 | - There is now a 'siblings' query function. See the query |
| 1140 | documentation for more details. |
| 1141 | - Added the print_action command, which outputs the |
| 1142 | actions needed to build a given target in the form of an |
| 1143 | ExtraActionSummary proto in text format. |
| 1144 | - android_binary now supports proguard_apply_dictionary to specify |
| 1145 | a custom dictionary to use for choosing names to obfuscate |
| 1146 | classes and members to. |
| 1147 | |
| 1148 | Important changes: |
| 1149 | |
| 1150 | - Windows: bazel clean --expunge works |
| 1151 | - First argument of 'load' should be a label. Path syntax is |
| 1152 | deprecated (label should start with '//' or ':'). |
| 1153 | - Octal prefix '0' is deprecated in favor of '0o' (use 0o777 |
| 1154 | instead of 0777). |
| 1155 | - The extension_safe attribute of apple_binary no longer validates |
| 1156 | transitive dependencies are compiled against extension_safe APIs. |
| 1157 | - Parentheses around the tuple are now mandatory in [a for b in c |
| 1158 | if 1, 2] |
| 1159 | - Adjust the thresholds for --test_verbose_timeout_warnings so that |
| 1160 | it can recommending timeout increases and won't recommend |
| 1161 | timeouts that are too close to the actual timeout. |
| 1162 | - Iterating on a `depset` object is deprecated. If you need an |
| 1163 | iterable, call the `.to_list()` method first. |
| 1164 | - Bazel now uses tools from action_configs in Crosstool by default |
| 1165 | (as oposed to using top level tools). |
| 1166 | - Incremental dexing errors on combination of --multidex=off and |
| 1167 | either --main-dex-list or --minimal-main-dex. |
| 1168 | - When using the dictionary literal syntax, it is now an error to |
| 1169 | have duplicated keys (e.g. {'ab': 3, 'ab': 5}). |
| 1170 | - New property on android_sdk: aapt2 |
| 1171 | Choose the version of aapt on android_binary |
| 1172 | - Add idl_preprocessed attribute to android_library, so that |
| 1173 | preprocessed aidl files can be passed to android_library for |
| 1174 | compiling |
| 1175 | - Bazel's remote_worker backend for remote execution supports |
| 1176 | sandboxing on Linux now. Check |
| 1177 | https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w |
| 1178 | orker/README.md for details. |
| 1179 | - Allows flags that expand to take values. |
| 1180 | - Make querying attributes formed by selector lists of list types |
| 1181 | more efficient by no longer listing every possible combination of |
| 1182 | attribute value but by more compactly storing the possible values |
| 1183 | of the list. |
| 1184 | - writing build events to a file is no longer experimental |
| 1185 | - set --rewrite_calls_to_long_compare to false by default. |
| 1186 | - ObjC and C++ coverage feature is unified under name 'coverage' |
| 1187 | - Enable --incremental_dexing for Android builds by default. Note |
| 1188 | that some dexopts are incompatible with incremental dexing, |
| 1189 | including --force-jumbo. |
| 1190 | - Evaluation will soon use checked arithmetics and throw an error |
| 1191 | instead of overflow/underflow. |
| 1192 | - Implicit iteration in the CROSSTOOL has been removed, use |
| 1193 | explicit 'iterate_over' message. |
| 1194 | - Add option for Android specific grte_top |
| 1195 | - Crosstool patches are only applied if the toolchain doesn't define |
| 1196 | 'no_legacy_features' feature. |
| 1197 | - 'platform_type' is now a mandatory attribute on apple_binary and |
| 1198 | apple_static_library rules. |
| 1199 | If this change breaks your build, feel free to add platform_type |
| 1200 | = 'ios' to any apple_binary and apple_static_library |
| 1201 | targets in your project, as this was the previous default |
| 1202 | behavior. |
| 1203 | - Remove apple_watch2_extension build rule. Users should be using |
| 1204 | the skylark watchos_application and watchos_extension rules. |
| 1205 | https://github.com/bazelbuild/rules_apple has details. |
| 1206 | - Check stderr to detect if connected to a terminal. Deprecate |
| 1207 | --isatty. |
| 1208 | - Commands that shut down the server (like "shutdown") now ensure |
| 1209 | that the server process has terminated before the client process |
| 1210 | terminates. |
| 1211 | - Remove apple_watch1_extension and apple_watch_extension_binary |
| 1212 | rules. Users should be using the skylark watchos_application and |
| 1213 | watchos_extension rules. |
| 1214 | https://github.com/bazelbuild/rules_apple has details. |
| 1215 | - Windows: Wrapper-less CROSSTOOL becomes default now. |
| 1216 | set USE_MSVC_WRAPPER=1 if you still want to use wrapper script. |
| 1217 | - Ignore --glibc in the Android transition. |
| 1218 | - Remove --experimental_android_use_singlejar_for_multidex. |
| 1219 | - nocopts now also filter copts |
| 1220 | - 'strip' action is now configured via feature configuration |
| 1221 | - The Build Event Service (BES) client now properly supports |
| 1222 | Google Applicaton Default Credentials. |
| 1223 | - Flags from action_config get added first to the command line |
| 1224 | first, before the flags from features. |
| 1225 | - update dexing tools to Android SDK 26.0.1 |
| 1226 | - Bazel Android support now requires build-tools 26.0.1 or later. |
| 1227 | - `bazel info output_path` no longer relies on the root directory |
| 1228 | filename being equal to the workspace name. |
| 1229 | - The `print` function now prints debug messages instead of |
| 1230 | warnings. |
| 1231 | - speedup of incremental dexing tools |
| 1232 | - --announce_rc now controls whether bazelrc startup options are |
| 1233 | printed to stderr. |
| 1234 | - Removing a few unused objc_provider keys. |
| 1235 | - Improved logging when workers have to be restarted due to its |
| 1236 | files having changed. |
| 1237 | - Top-level `if` statements are now forbidden. |
| 1238 | - Java protos are compiled to Java 7 bytecode. |
| 1239 | - All Android builds now use the desugar tool to support some Java |
| 1240 | 8 features by default. To disable, use the --nodesugar_for_android flag. |
| 1241 | - Skylark-related options may now appear as "common" command |
| 1242 | options in the .bazelrc |
| 1243 | - Python is now required to build bazel. |
| 1244 | - New --build_runfile_manifests flag controls production of |
| 1245 | runfiles manifests. |
| 1246 | - Enable debug info for Java builds |
| 1247 | - Allow java_lite_proto_library in the deps of android rules. |
| 1248 | - .so files in APKs will be memory-page aligned when |
| 1249 | android_binary.nocompress_extensions contains ".so" and |
| 1250 | --experimental_android_use_nocompress_extensions_on_apk is |
| 1251 | specified. |
| 1252 | - Skylark providers can specify allowed fields and their |
| 1253 | documentation. |
| 1254 | - Support ctx.actions.args() for more efficient Skylark command |
| 1255 | line construction. |
| 1256 | - The remote HTTP/1.1 caching client (--remote_rest_cache) now |
| 1257 | distinquishes between action cache and CAS. The request URL for |
| 1258 | the action cache is prefixed with 'ac' and the URL for the CAS |
| 1259 | is prefixed with 'cas'. |
| 1260 | - `JavaInfo` is a preferred alias to `java_common.provider`. |
| 1261 | - J2ObjC version updated to 2.0.3. |
| 1262 | - A new Java coverage implementation is available. Makes possible |
| 1263 | coverage for Skylark JVM rules. |
| 1264 | - Make proguard_apply_dictionary also apply to class and package |
| 1265 | obfuscation, not just class members. |
| 1266 | - android_binary.nocompress_extensions now applies to all files in |
| 1267 | the APK, not just resources and assets. |
| 1268 | - The apple_genrule rule that is distributed with Bazel has been |
| 1269 | deleted. Users who wish to use genrules with Xcode's |
| 1270 | DEVELOPER_DIR set should use the rules in |
| 1271 | https://github.com/bazelbuild/rules_apple instead. |
| 1272 | - The swift_library rule that is distributed with Bazel has been |
| 1273 | deleted. Users who wish to compile Swift should use the rules in |
| 1274 | https://github.com/bazelbuild/rules_apple instead. |
| 1275 | - The Build Event Protocol's File.uri field is now properly |
| 1276 | encoded according to RFC2396. |
| 1277 | - Deprecated: Using the android_library.deps attribute to |
| 1278 | implicitly export targets to dependent rules. If your code is |
| 1279 | using this feature, Bazel will raise a warning. To fix, please |
| 1280 | use android_library.exports to explicitly specify exported |
| 1281 | targets. Run with |
| 1282 | --experimental_allow_android_library_deps_without_srcs=false to |
| 1283 | ensure forward compatibility when this feature is removed in a |
| 1284 | future release. |
| 1285 | - java_common.create_provider is now supported with creating ijars |
| 1286 | by default. This introduces incompatibilities for existing users. |
| 1287 | Please set use_ijar=False if you don't want to use ijars. |
| 1288 | - Tests can now write files to TEST_UNDECLARED_OUTPUTS_DIR and |
| 1289 | TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR and these will be |
| 1290 | reflected under bazel-testlogs. |
| 1291 | - remove unused --host_incremental_dexing flag |
| 1292 | - Stop using --undefined dynamic_lookup in Apple links. Enables |
| 1293 | unresolved symbol errors. |
| 1294 | - All test output files included for cached, uncached, and multiple |
| 1295 | attempt tests. |
| 1296 | - Android rules no longer restrict the manifest file to be named |
| 1297 | "AndroidManifest.xml". |
| 1298 | - Boolean flag values will now get normalized to 1 or 0 in |
| 1299 | canonicalize-flags output. |
| 1300 | - added experimental --use_new_category_enum to the help command to |
| 1301 | output options grouped by the new type of category. |
| 1302 | - Expose output jars and jdeps in java_common.provider, when |
| 1303 | available. |
| 1304 | - android_library targets are no longer allowed to use deps to |
| 1305 | export targets implicitly; please use android_library.exports |
| 1306 | instead. |
| 1307 | - New depset API |
| 1308 | - apple_binary and apple_static_library no longer support |
| 1309 | compilation attributes such as 'srcs'. If this breaks any |
| 1310 | existing targets, you may migrate all such attributes to a new |
| 1311 | objc_library target and depend on that objc_library target via |
| 1312 | the 'deps' attribute of apple_binary or apple_static_library. |
| 1313 | |
Bazel Release System | ed0ebc0 | 2017-10-05 23:52:25 +0200 | [diff] [blame] | 1314 | ## Release 0.6.1 (2017-10-05) |
| 1315 | |
| 1316 | ``` |
| 1317 | Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689 |
| 1318 | |
| 1319 | Cherry picks: |
| 1320 | + a615d288b008c36c659fdc17965207bb62d95d8d: |
| 1321 | Rollback context.actions.args() functionality. |
| 1322 | + 7b091c1397a82258e26ab5336df6c8dae1d97384: |
| 1323 | Add a global failure when a test is interrupted/cancelled. |
| 1324 | + 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120: |
| 1325 | Cleanups for Skylark tracebacks |
| 1326 | + cc9c2f07127a832a88f27f5d72e5508000b53429: |
| 1327 | Remove the status xml attribute from AntXmlResultWriter |
| 1328 | + 471c0e1678d0471961f1dc467666991e4cce3846: |
| 1329 | Release 0.6.0 (2017-09-28) |
| 1330 | + 8bdd409f4900d4574667fed83d86b494debef467: |
| 1331 | Only compute hostname once per server lifetime |
| 1332 | + 0bc9b3e14f305706d72180371f73a98d6bfcdf35: |
| 1333 | Fix bug in NetUtil caching. |
| 1334 | ``` |
| 1335 | |
| 1336 | Important changes: |
| 1337 | - Only compute hostname once per server lifetime |
| 1338 | |
Bazel Release System | 471c0e1 | 2017-09-28 16:36:12 +0200 | [diff] [blame] | 1339 | ## Release 0.6.0 (2017-09-28) |
| 1340 | |
| 1341 | ``` |
| 1342 | Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689 |
| 1343 | |
| 1344 | Cherry picks: |
| 1345 | + a615d288b008c36c659fdc17965207bb62d95d8d: |
| 1346 | Rollback context.actions.args() functionality. |
| 1347 | + 7b091c1397a82258e26ab5336df6c8dae1d97384: |
| 1348 | Add a global failure when a test is interrupted/cancelled. |
| 1349 | + 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120: |
| 1350 | Cleanups for Skylark tracebacks |
| 1351 | + cc9c2f07127a832a88f27f5d72e5508000b53429: |
| 1352 | Remove the status xml attribute from AntXmlResultWriter |
| 1353 | ``` |
| 1354 | |
| 1355 | Incompatible changes: |
| 1356 | |
| 1357 | - Noop flag --deprecated_generate_xcode_project deleted. |
| 1358 | - Objects in Skylark are converted to strings in a more descriptive |
| 1359 | and less harmful way (they don't leak information that shouldn't |
| 1360 | be accessed by Skylark code, e.g. nondeterministic memory addresses |
| 1361 | of objects). |
| 1362 | - `set` is deprecated in BUILD and .bzl files, please use `depset` |
| 1363 | instead. Ordering names have also been changed, please use |
| 1364 | "default", "postorder", "preorder", and "topological" instead of |
| 1365 | "stable", "compile", "naive_link", and "link" correspondingly. |
| 1366 | - Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is |
| 1367 | an error. |
| 1368 | - Keyword-only syntax in a function definition is now forbidden |
| 1369 | e.g. `def foo(a, *, b)` or `def foo(a, *b, c)` |
| 1370 | - --incompatible_comprehension_variables_do_not_leak defaults to |
| 1371 | "true." |
| 1372 | Iteration variable becomes inaccessible after a list/dict |
| 1373 | comprehension. |
| 1374 | |
| 1375 | New features: |
| 1376 | |
| 1377 | - There is now a 'siblings' query function. See the query |
| 1378 | documentation for more details. |
| 1379 | - Added the print_action command, which outputs the |
| 1380 | actions needed to build a given target in the form of an |
| 1381 | ExtraActionSummary proto in text format. |
| 1382 | - android_binary now supports proguard_apply_dictionary to specify |
| 1383 | a custom dictionary to use for choosing names to obfuscate |
| 1384 | classes and members to. |
| 1385 | |
| 1386 | Important changes: |
| 1387 | |
| 1388 | - 'strip' action is now configured via feature configuration |
| 1389 | - Flags from action_config get added first to the command line |
| 1390 | first, |
| 1391 | before the flags from features. |
| 1392 | - `bazel info output_path` no longer relies on the root directory |
| 1393 | filename being equal to the workspace name. |
| 1394 | - The `print` function now prints debug messages instead of |
| 1395 | warnings. |
| 1396 | - speedup of incremental dexing tools |
| 1397 | - --announce_rc now controls whether bazelrc startup options are |
| 1398 | printed to stderr. |
| 1399 | - Removing a few unused objc_provider keys. |
| 1400 | - Improved logging when workers have to be restarted due to its |
| 1401 | files having changed. |
| 1402 | - Top-level `if` statements are now forbidden. |
| 1403 | - Java protos are compiled to Java 7 bytecode. |
| 1404 | - All Android builds now use the desugar tool to support some Java |
| 1405 | 8 features by default. To disable, use the |
| 1406 | --nodesugar_for_android flag. |
| 1407 | - Skylark-related options may now appear as "common" command |
| 1408 | options in the .bazelrc |
| 1409 | - Python is now required to build bazel. |
| 1410 | - When the lvalue of an augmented assignment is a list, we now |
| 1411 | throw an error |
| 1412 | before evaluating the code (e.g. `a, b += 2, 3`). |
| 1413 | - New --build_runfile_manifests flag controls production of |
| 1414 | runfiles manifests. |
| 1415 | - Enable debug info for Java builds |
| 1416 | - Allow java_lite_proto_library in the deps of android rules. |
| 1417 | - .so files in APKs will be memory-page aligned when |
| 1418 | android_binary.nocompress_extensions contains ".so" and |
| 1419 | --experimental_android_use_nocompress_extensions_on_apk is |
| 1420 | specified. |
| 1421 | - Skylark providers can specify allowed fields and their |
| 1422 | documentation. |
| 1423 | - Support ctx.actions.args() for more efficient Skylark command |
| 1424 | line construction. |
| 1425 | - The remote HTTP/1.1 caching client (--remote_rest_cache) now |
| 1426 | distinquishes between action cache and CAS. The request URL for |
| 1427 | the action cache is prefixed with 'ac' and the URL for the CAS |
| 1428 | is prefixed with 'cas'. |
| 1429 | - `JavaInfo` is a preferred alias to `java_common.provider`. |
| 1430 | - J2ObjC version updated to 2.0.3. |
| 1431 | - A new Java coverage implementation is available. Makes possible |
| 1432 | coverage for Skylark JVM rules. |
| 1433 | - Make proguard_apply_dictionary also apply to class and package |
| 1434 | obfuscation, not just class members. |
| 1435 | - When using the dictionary literal syntax, it is now an error to |
| 1436 | have duplicated keys (e.g. {'ab': 3, 'ab': 5}). |
| 1437 | - android_binary.nocompress_extensions now applies to all files in |
| 1438 | the APK, not just resources and assets. |
| 1439 | - The apple_genrule rule that is distributed with Bazel has been |
| 1440 | deleted. Users who wish to use genrules with Xcode's |
| 1441 | DEVELOPER_DIR set should use the rules in |
| 1442 | https://github.com/bazelbuild/rules_apple instead. |
| 1443 | - The swift_library rule that is distributed with Bazel has been |
| 1444 | deleted. Users who wish to compile Swift should use the rules in |
| 1445 | https://github.com/bazelbuild/rules_apple instead. |
| 1446 | |
Bazel Release System | 5371d13 | 2017-08-25 11:24:06 +0200 | [diff] [blame] | 1447 | ## Release 0.5.4 (2017-08-25) |
| 1448 | |
| 1449 | ``` |
| 1450 | Baseline: 6563b2d42d29196432d5fcafa0144b8371fbb028 |
| 1451 | |
| 1452 | Cherry picks: |
| 1453 | + d4fa181f8607c35230b7efa1ce94188b51508962: |
| 1454 | Use getExecPathString when getting bash_main_file |
| 1455 | + 837e1b3d4859140d29aaa6bbab8fbb008e6d701e: |
| 1456 | Windows, sh_bin. launcher: export runfiles envvars |
| 1457 | + fe9ba893c0ebec19228086356af5fa8d81f2809b: |
| 1458 | grpc: Consolidate gRPC code from BES and Remote Execution. Fixes |
| 1459 | #3460, #3486 |
| 1460 | + e8d4366cd374fba92f1425de0d475411c8defda4: |
| 1461 | Automated rollback of commit |
| 1462 | 496d3ded0bce12b7371a93e1183ba30e6aa88032. |
| 1463 | + 242a43449dd44a22857f6ce95f7cc6a7e134d298: |
| 1464 | bes,remote: update default auth scope. |
| 1465 | + 793b409eeae2b42be7fed58251afa87b5733ca4d: |
| 1466 | Windows, sh_bin. launcher: fix manifest path |
| 1467 | + 7e4fbbe4ab3915a57b2187408c3909e5cd6c6013: |
| 1468 | Add --windows_exe_launcher option |
| 1469 | + 91fb38e92ace6cf14ce5da6527d71320b4e3f3d2: |
| 1470 | remote_worker: Serialize fork() calls. Fixes #3356 |
| 1471 | + b79a9fcd40f448d3aebb2b93a2ebe80d09b38408: |
| 1472 | Quote python_path and launcher in |
| 1473 | python_stub_template_windows.txt |
| 1474 | + 4a2e17f85fc8450aa084b201c5f24b30010c5987: |
| 1475 | Add build_windows_jni.sh back |
| 1476 | + ce61d638197251f71ed90db74843b55d9c2e9ae5: |
| 1477 | don't use methods and classes removed in upstream dx RELNOTES: |
| 1478 | update dexing tools to Android SDK 26.0.1 |
| 1479 | + 5393a4996d701fa192964a35cbb75e558a0599c0: |
| 1480 | Make Bazel enforce requirement on build-tools 26.0.1 or later. |
| 1481 | + 5fac03570f80856c063c6019f5beb3bdc1672dee: |
| 1482 | Fix --verbose_failures w/ sandboxing to print the full command |
| 1483 | line |
| 1484 | + f7bd1acf1f96bb7e3e19edb9483d9e07eb5af070: |
| 1485 | Only patch in C++ compile features when they are not already |
| 1486 | defined in crosstool |
| 1487 | + d7f5c120417bc2d2344dfb285322355f225d9153: |
| 1488 | Bump python-gflags to 3.1.0, take two |
| 1489 | + 3cb136d5451e9d8af58f9a99990cad0592df101a: |
| 1490 | Add python to bazel's dockerfiles |
| 1491 | ``` |
| 1492 | |
| 1493 | New features: |
| 1494 | |
| 1495 | - Do not disable fully dynamic linking with ThinLTO when invoked |
| 1496 | via LIPO options. |
| 1497 | |
| 1498 | Important changes: |
| 1499 | |
| 1500 | - Ignore --glibc in the Android transition. |
| 1501 | - Remove --experimental_android_use_singlejar_for_multidex. |
| 1502 | - nocopts now also filter copts |
| 1503 | - The Build Event Service (BES) client now properly supports |
| 1504 | Google Applicaton Default Credentials. |
| 1505 | - update dexing tools to Android SDK 26.0.1 |
| 1506 | - Bazel Android support now requires build-tools 26.0.1 or later. |
| 1507 | - Fix a bug in the remote_worker that would at times make it crash on Linux. See #3356 |
| 1508 | - The java_proto_library rule now supports generated sources. See #2265 |
| 1509 | |
Bazel Release System | 195a7a8 | 2017-07-27 20:27:32 +0200 | [diff] [blame] | 1510 | ## Release 0.5.3 (2017-07-27) |
| 1511 | |
| 1512 | ``` |
| 1513 | Baseline: 88518522a18df5788736be6151fc67992efe2aad |
| 1514 | |
| 1515 | Cherry picks: |
| 1516 | + 820a46af10808396873c36d0f331e533118cf0c6: |
| 1517 | Automated rollback of commit |
| 1518 | 6d6e87297fe8818e4c374fdfabfbcf538bca898a. |
| 1519 | + ccfb2df69ecf4746f5a15e1295af995c3a45aa94: |
| 1520 | Allow py_binary to be the executable of a Skylark action or any |
| 1521 | SpawnAction on Windows. |
| 1522 | + 06534911696838e720c8681f6f568c69d28da65e: |
| 1523 | Fix string representation for the Root class |
| 1524 | + cd159bcee72a7f377621b45409807231a636f9e2: |
| 1525 | sandbox: Allow UNIX sockets on macOS even when block-network is |
| 1526 | used. |
| 1527 | + ad73cba3caa2e08ad61ea9ca63f9111cde1f48d1: |
| 1528 | Fix python_stub_template.txt to be compatible with Python 2.4. |
| 1529 | + 9a63aff8bb771af8917903fbbc9df3b708e2c0ed: |
| 1530 | Create Windows ZIP release artifact using Bazel |
| 1531 | + 5e576637b5705aff0a7bf56b5077463dffcd712f: |
| 1532 | Automated rollback of commit |
| 1533 | 820a46af10808396873c36d0f331e533118cf0c6. |
| 1534 | + b6e29ca217b02c3ba499b85479a3830f59c9b9b6: |
| 1535 | Use the correct function to generate the release notes |
| 1536 | + 0f3481ba6364f24ef76b839bdde06ae7883c9bd9: |
| 1537 | Include <cinttypes> instead of <stdint.h> |
| 1538 | ``` |
| 1539 | |
| 1540 | Incompatible changes: |
| 1541 | |
| 1542 | - The --output=location flag to 'bazel query' cannot be used with |
| 1543 | query expressions that involve the 'buildfiles' or 'loadfiles' |
| 1544 | operators. This also applies to 'genquery' rules. |
| 1545 | - Operators for equality, comparison, 'in' and 'not in' are no |
| 1546 | longer associative, e.g. x < y < z is now a syntax error. |
| 1547 | Before, it was parsed as: (x < y) < z. |
| 1548 | - In strings, octal sequences greater than \377 are now forbidden |
| 1549 | (e.g. "\\600"). Previously, Blaze had the same behavior as Python 2, |
| 1550 | where "\\450" == "\050". |
| 1551 | - Using tabulation for identation is now fobidden in .bzl files |
| 1552 | - `load` is now a language keyword, it cannot be used as an |
| 1553 | identifier |
| 1554 | - lvalues must have define at least one variable (i.e. we forbid |
| 1555 | `[] = f()`). |
| 1556 | - Fixed a bug whereby multiple load() statements could appear on |
| 1557 | the same line |
| 1558 | - -extra_checks:off is no longer supported; use |
| 1559 | -XepDisableAllChecks instead |
| 1560 | - java_common.java_toolchain_attr is removed. Depend on the |
| 1561 | java_toolchain_alias() rule to accomplish the same thing. |
| 1562 | - cc_common.cc_toolchain_attr and java_common.java_runtime_attr are |
| 1563 | not supported anymore and were replaced with the |
| 1564 | cc_toolchain_alias() and java_runtime_alias() rules. |
| 1565 | |
| 1566 | New features: |
| 1567 | |
| 1568 | - Zipped LLVM profiles are now supported. |
| 1569 | - LIPO maps to ThinLTO for LLVM builds. |
| 1570 | - Change to handle LLVM FDO zipped profile contents correctly. |
| 1571 | |
| 1572 | Important changes: |
| 1573 | |
| 1574 | - Windows: bazel clean --expunge works |
| 1575 | - First argument of 'load' should be a label. Path syntax is |
| 1576 | deprecated (label should start with '//' or ':'). |
| 1577 | - Octal prefix '0' is deprecated in favor of '0o' (use 0o777 |
| 1578 | instead of 0777). |
| 1579 | - The extension_safe attribute of apple_binary no longer validates |
| 1580 | transitive dependencies are compiled against extension_safe APIs. |
| 1581 | - Parentheses around the tuple are now mandatory in [a for b in c |
| 1582 | if 1, 2] |
| 1583 | - Adjust the thresholds for --test_verbose_timeout_warnings so that |
| 1584 | it can recommending timeout increases and won't recommend |
| 1585 | timeouts that are too close to the actual timeout. |
| 1586 | - Iterating on a `depset` object is deprecated. If you need an |
| 1587 | iterable, call the `.to_list()` method first. |
| 1588 | - Bazel now uses tools from action_configs in Crosstool by default |
| 1589 | (as oposed to using top level tools). |
| 1590 | - Incremental dexing errors on combination of --multidex=off and |
| 1591 | either --main-dex-list or --minimal-main-dex. |
| 1592 | - When using the dictionary literal syntax, it is now an error to |
| 1593 | have duplicated keys (e.g. {'ab': 3, 'ab': 5}). |
| 1594 | - New property on android_sdk: aapt2 |
| 1595 | Choose the version of aapt on android_binary |
| 1596 | - Add idl_preprocessed attribute to android_library, so that |
| 1597 | preprocessed aidl files can be passed to android_library for |
| 1598 | compiling |
| 1599 | - Bazel's remote_worker backend for remote execution supports |
| 1600 | sandboxing on Linux now. Check |
| 1601 | https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w |
| 1602 | orker/README.md for details. |
| 1603 | - Allows flags that expand to take values. |
| 1604 | - Make querying attributes formed by selector lists of list types |
| 1605 | more efficient by no longer listing every possible combination of |
| 1606 | attribute value but by more compactly storing the possible values |
| 1607 | of the list. |
| 1608 | - Writing build events to a file is no longer experimental |
| 1609 | - set --rewrite_calls_to_long_compare to false by default. |
| 1610 | - ObjC and C++ coverage feature is unified under name 'coverage' |
| 1611 | - Enable --incremental_dexing for Android builds by default. Note |
| 1612 | that some dexopts are incompatible with incremental dexing, |
| 1613 | including --force-jumbo. |
| 1614 | - Evaluation will soon use checked arithmetics and throw an error |
| 1615 | instead of overflow/underflow. |
| 1616 | - Implicit iteration in the CROSSTOOL has been removed, use |
| 1617 | explicit 'iterate_over' message. |
| 1618 | - Add option for Android specific grte_top |
| 1619 | - Crosstool patches are only applied if the toolchain doesn't define |
| 1620 | 'no_legacy_features' feature. |
| 1621 | - 'platform_type' is now a mandatory attribute on apple_binary and |
| 1622 | apple_static_library rules. |
| 1623 | If this change breaks your build, feel free to add platform_type |
| 1624 | = 'ios' to any apple_binary and apple_static_library |
| 1625 | targets in your project, as this was the previous default |
| 1626 | behavior. |
| 1627 | - Remove apple_watch2_extension build rule. Users should be using |
| 1628 | the skylark watchos_application and watchos_extension rules. |
| 1629 | https://github.com/bazelbuild/rules_apple has details. |
| 1630 | - Check stderr to detect if connected to a terminal. Deprecate |
| 1631 | --isatty. |
| 1632 | - Commands that shut down the server (like "shutdown") now ensure |
| 1633 | that the server process has terminated before the client process |
| 1634 | terminates. |
| 1635 | - Remove apple_watch1_extension and apple_watch_extension_binary |
| 1636 | rules. Users should be using the skylark watchos_application and |
| 1637 | watchos_extension rules. |
| 1638 | https://github.com/bazelbuild/rules_apple has details. |
| 1639 | - Windows: Wrapper-less CROSSTOOL becomes default now. |
| 1640 | set USE_MSVC_WRAPPER=1 if you still want to use wrapper script. |
| 1641 | |
Bazel Release System | 7b85122 | 2017-06-27 15:08:47 +0200 | [diff] [blame] | 1642 | ## Release 0.5.2 (2017-06-27) |
| 1643 | |
| 1644 | ``` |
| 1645 | Baseline: e78ad83ded6e9c6d639793827e27b6570e6e9f65 |
| 1646 | |
| 1647 | Cherry picks: |
| 1648 | + 68028317c1d3d831a24f90e2b25d1410ce045c54: |
| 1649 | experimental UI: move stopUpdateThread() out of synchronized, |
| 1650 | again |
| 1651 | + 019935dfbb61e61d08d1351b0365fb4e2d0df305: |
| 1652 | Fix bug in URI computation in RemoteModule |
| 1653 | + e9424cf9b9d72b98594966d5ac0f15bb018ec639: |
| 1654 | Automated rollback of commit |
| 1655 | 7dec00574aa91327693f6ba7e90bff5bc834253e. |
| 1656 | + 9eea05d068a06ab642dd9d86d46ee5fa2e36b02e: |
| 1657 | Switching to Watcher API instead of wait_for_completion, in |
| 1658 | preparation for deprecating the wait_for_completion field. |
| 1659 | + 89659810e3048782dfb5e308e39aa8a0727e464e: |
| 1660 | Set correct execroot for info |
| 1661 | + 716b527266f47f59a2b7fb2e5fc52cb45e1691b1: |
| 1662 | Only create a single per-build instance of the remote cache / |
| 1663 | executor |
| 1664 | + 1d82d199f82409f217a42bcefebb96f723f91caa: |
| 1665 | protobuf: Update protobuf jars to be binary compatible with Java |
| 1666 | 6. Fixes #3198 |
| 1667 | + 524b90d9e5acc4fa568f215c9415eaa902e979f8: |
| 1668 | Change CAS URI to use the "bytestream" scheme instead of being |
| 1669 | scheme-less |
| 1670 | + 4929ad79865f8c13ef3b33c827040f4a037e4afe: |
| 1671 | Automated g4 rollback of commit |
| 1672 | 923d7df521f67d031b288180560848bd35e20976. |
| 1673 | + 68b9a7e2dc17e32b194238d287e79bee1ba035b9: |
| 1674 | Automated g4 rollback of commit |
| 1675 | da56606563ee9df438db93392f681bf2abb4ac97. |
| 1676 | + 2ba693ffbe824136a0ca5f47d34710612f6302c3: |
| 1677 | Automated rollback of commit |
| 1678 | ce7c4deda60a307bba5f0c9421738e2a375cf44e. |
| 1679 | ``` |
| 1680 | |
| 1681 | Incompatible changes: |
| 1682 | |
| 1683 | - Blaze no longer generates xcode projects. Use tulsi.bazel.build |
| 1684 | instead. |
| 1685 | |
| 1686 | Important changes: |
| 1687 | |
| 1688 | - Keyword-only syntax in a function definition is deprecated |
| 1689 | (e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`) and will be |
| 1690 | removed in the future. |
| 1691 | - Attempting to build an Android target without setting up |
| 1692 | android_sdk_repository will now produce a helpful error message. |
| 1693 | - Adds a sha256 attribute to git_repository and new_git_repository. |
| 1694 | This can only be used if the remote is a public GitHub |
| 1695 | repository. It forces |
| 1696 | Bazel to download the repository as a tarball, which will often |
| 1697 | be faster and |
| 1698 | more robust than cloning it. |
| 1699 | - Sandboxing is now enabled by default on FreeBSD (via |
| 1700 | processwrapper-sandbox). |
| 1701 | - android_test may use manifest placeholders with 'manifest_merger |
| 1702 | = "android"'. |
| 1703 | - load() statements should be called at the top of .bzl files, |
| 1704 | before any |
| 1705 | other statement. This convention will be enforced in the future. |
| 1706 | - Effectively remove sysroot from CppConfiguration and allow it to |
| 1707 | use select statements. |
| 1708 | - proto_library.strict_proto_deps no longer exists. |
| 1709 | - Flag --explicit_jre_deps is now a noop. |
| 1710 | - The 'legacy' Android manifest merger is deprecated. Please |
| 1711 | upgrade to the 'android' manifest merger, which is the same |
| 1712 | merger used by Gradle. |
| 1713 | https://developer.android.com/studio/build/manifest-merge.html |
| 1714 | - Using $(CC_FLAGS) in a GenRule adds a dependency to the c++ |
| 1715 | toolchain |
| 1716 | - add one-version enforcement to android_local_test |
| 1717 | - Skylark support (apple_common.dotted_version(string)) for |
| 1718 | building DottedVersion objects to interface with native apple |
| 1719 | rules |
| 1720 | - CC_FLAGS can be defined using 'cc-flags-make-variable' action_config in |
| 1721 | CROSSTOOL |
| 1722 | - ios_framework native rule has been removed. This rule had been |
| 1723 | essentially broken for several months now; users should be using |
| 1724 | the skylark ios framework rule. |
| 1725 | https://github.com/bazelbuild/rules_apple has details. |
| 1726 | - Clean command no longer uses boolean values for --async, |
| 1727 | --expunge, and --expunge_async options. |
| 1728 | - Partially fixes external J2ObjC support. |
| 1729 | - '--aspects' can occur more than once on the command line. |
| 1730 | - --no_ prefix no longer recognized. |
| 1731 | - Use action_config in crosstool for static library archiving, |
| 1732 | remove ar_flag. |
| 1733 | - Added a new flag --sandbox_writable_path, which asks the sandbox |
| 1734 | to |
| 1735 | make an existing directory writable when running actions. |
| 1736 | - bazel test now also computes a default instrumentation filter if |
| 1737 | --collect_code_coverage is enabled |
| 1738 | - n/na |
| 1739 | - In .bzl files, top-level `if` statements are deprecated and will |
| 1740 | be forbidden |
| 1741 | in the future. Move them in a function body instead (or use a |
| 1742 | conditional |
| 1743 | expression instead: `x if condition else y`). |
| 1744 | - ios_device and ios_test are deprecated. Please use the new testing |
| 1745 | rules in https://github.com/bazelbuild/rules_apple instead. |
| 1746 | - bazel query --output package now displays packages from external |
| 1747 | repository with the format "@reponame//package". Packages in the |
| 1748 | main repository continue to have the format "package". |
| 1749 | - ctx.expand_make_variables is deprecated. |
| 1750 | - Bazel posts links to the CAS to the BEP if remote caching / |
| 1751 | execution is enabled |
| 1752 | - `bazel info execution_root` returns the corrrect directory name |
| 1753 | for the execution root. |
| 1754 | |
Bazel Release System | 63222de | 2017-06-06 11:32:04 +0200 | [diff] [blame] | 1755 | ## Release 0.5.1 (2017-06-06) |
| 1756 | |
| 1757 | ``` |
| 1758 | Baseline: f3ae88ee043846e7acdffd645137075a4e72c573 |
| 1759 | |
| 1760 | Cherry picks: |
| 1761 | + c58ba098526b748f9c73e6229cafd74748205aa1: |
| 1762 | Release to GCS: put the final release in its own directory |
| 1763 | + 0acead4ea3631240659836ce6ecd6d7f67fd352b: |
| 1764 | Update protobuf to latest master at a64497c and apply |
| 1765 | @laszlocsomor's latest changes from |
| 1766 | https://github.com/google/protobuf/pull/2969 on top of it. |
| 1767 | + d0242ce4a87929f2528f4602d0fb09d1ccfcea94: |
| 1768 | Make symlinks consistent |
| 1769 | + d953ca8b87a46decbce385cebb446ae0dd390881: |
| 1770 | Clean VanillaJavaBuilder output directories |
| 1771 | + 755669fb5de1f4e762f27c19776cac9f410fcb94: |
| 1772 | Pass all the environment variable to Bazel during bootstrapping |
| 1773 | + 6f041661ca159903691fcb443d86dc7b6454253d: |
| 1774 | Do not mark the JDK7 installer -without-jdk-installer |
| 1775 | + 720561113bfa702acfc2ca24ce3cc3fd7ee9c115: |
| 1776 | Fix #2958: Installer should not overwrite bazelrc |
| 1777 | + 511c35b46cead500d4e76706e0a709e50995ceba: |
| 1778 | Bootstrap: move the fail function to the top |
| 1779 | + 8470be1122825aae8ad0903dd1e1e2a90cce47d2: |
| 1780 | Clean up javac and Error Prone targets |
| 1781 | + 4a404de2c6c38735167e17ab41be45ef6fc4713a: |
| 1782 | Update javac version to 9-dev-r4023-2 |
| 1783 | + 36ce4b433e19498a78c34540d5a166d4e0006b22: |
| 1784 | Update javac version to 9-dev-r4023-2 |
| 1785 | + 38949b8526bdb3e6db22f3846aac87162c28c33f: |
| 1786 | Migrate off versioned javac and Error Prone targets |
| 1787 | + 1a57d298f8aa6ea8136d93223902104f2479cd2a: |
| 1788 | Re-enabling passing -sourcepath via javacopts. |
| 1789 | + eb565f408e03125e92d42b00756e519795be6593: |
| 1790 | Make make sure that msys build actually builds msys version |
| 1791 | + 39f328cf392056618d1a3ead4835a138b189a06d: |
| 1792 | Fix typo. Also do not override host_cpu for msvc. |
| 1793 | + 624802893f4fe72118f00a78452605d41a2e1c6f: |
| 1794 | Select correct JDK for windows_msys |
| 1795 | + c4f271d1a68366b6fa5ff38ea7d951b6a22af044: |
| 1796 | Automated g4 rollback of commit |
| 1797 | 3e5edafa2a04a71cd3596e929e83222da725f3f9. |
| 1798 | + 926180997a0f296a5a009326aead887279ce0a90: |
| 1799 | Remove process-tools.cc which I forgot to delete during the last |
| 1800 | rollback. |
| 1801 | + baca6e4cb023649920871b74810927d304729e59: |
| 1802 | Fix #2982: Bazel installer should not check for installed JDK if |
| 1803 | using a bundled JDK. |
| 1804 | + 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842: |
| 1805 | Disable msys path conversion on Windows. |
| 1806 | + cc21998c299b4d1f97df37b961552ff8168da17f: |
| 1807 | Rollforward #2 of: Basic open-source crosstool to support |
| 1808 | targeting apple platform types. |
| 1809 | + 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f: |
| 1810 | Escape % in strings that will appear in Crosstool |
| 1811 | + 3b08f774e7938928e3a240a47a0a7554cdc8d50b: |
| 1812 | Adding feature for linking C Run-Time library on Windows |
| 1813 | + 3566474202d1978acfdcb7e5ff73ee03ea6f3df9: |
| 1814 | Do not use sed -E in bootstrap/compile.sh |
| 1815 | + c3cf7d917afd02d71de3800cd46ad8d14f1ddf55: |
| 1816 | Reverts non-xcode-available darwin crosstool generation. |
| 1817 | ``` |
| 1818 | |
| 1819 | Important changes: |
| 1820 | |
| 1821 | - Fixes regression in 0.5.0 requiring Xcode to build C++ on OSX. |
| 1822 | |
Bazel Release System | a3e2683 | 2017-05-26 14:11:07 +0200 | [diff] [blame] | 1823 | ## Release 0.5.0 (2017-05-26) |
| 1824 | |
| 1825 | ``` |
| 1826 | Baseline: f3ae88ee043846e7acdffd645137075a4e72c573 |
| 1827 | |
| 1828 | Cherry picks: |
| 1829 | + c58ba098526b748f9c73e6229cafd74748205aa1: |
| 1830 | Release to GCS: put the final release in its own directory |
| 1831 | + 0acead4ea3631240659836ce6ecd6d7f67fd352b: |
| 1832 | Update protobuf to latest master at a64497c and apply |
| 1833 | @laszlocsomor's latest changes from |
| 1834 | https://github.com/google/protobuf/pull/2969 on top of it. |
| 1835 | + d0242ce4a87929f2528f4602d0fb09d1ccfcea94: |
| 1836 | Make symlinks consistent |
| 1837 | + d953ca8b87a46decbce385cebb446ae0dd390881: |
| 1838 | Clean VanillaJavaBuilder output directories |
| 1839 | + 755669fb5de1f4e762f27c19776cac9f410fcb94: |
| 1840 | Pass all the environment variable to Bazel during bootstrapping |
| 1841 | + 6f041661ca159903691fcb443d86dc7b6454253d: |
| 1842 | Do not mark the JDK7 installer -without-jdk-installer |
| 1843 | + 720561113bfa702acfc2ca24ce3cc3fd7ee9c115: |
| 1844 | Fix #2958: Installer should not overwrite bazelrc |
| 1845 | + 511c35b46cead500d4e76706e0a709e50995ceba: |
| 1846 | Bootstrap: move the fail function to the top |
| 1847 | + 8470be1122825aae8ad0903dd1e1e2a90cce47d2: |
| 1848 | Clean up javac and Error Prone targets |
| 1849 | + 4a404de2c6c38735167e17ab41be45ef6fc4713a: |
| 1850 | Update javac version to 9-dev-r4023-2 |
| 1851 | + 36ce4b433e19498a78c34540d5a166d4e0006b22: |
| 1852 | Update javac version to 9-dev-r4023-2 |
| 1853 | + 38949b8526bdb3e6db22f3846aac87162c28c33f: |
| 1854 | Migrate off versioned javac and Error Prone targets |
| 1855 | + 1a57d298f8aa6ea8136d93223902104f2479cd2a: |
| 1856 | Re-enabling passing -sourcepath via javacopts. |
| 1857 | + eb565f408e03125e92d42b00756e519795be6593: |
| 1858 | Make make sure that msys build actually builds msys version |
| 1859 | + 39f328cf392056618d1a3ead4835a138b189a06d: |
| 1860 | Fix typo. Also do not override host_cpu for msvc. |
| 1861 | + 624802893f4fe72118f00a78452605d41a2e1c6f: |
| 1862 | Select correct JDK for windows_msys |
| 1863 | + c4f271d1a68366b6fa5ff38ea7d951b6a22af044: |
| 1864 | Automated g4 rollback of commit |
| 1865 | 3e5edafa2a04a71cd3596e929e83222da725f3f9. |
| 1866 | + 926180997a0f296a5a009326aead887279ce0a90: |
| 1867 | Remove process-tools.cc which I forgot to delete during the last |
| 1868 | rollback. |
| 1869 | + baca6e4cb023649920871b74810927d304729e59: |
| 1870 | Fix #2982: Bazel installer should not check for installed JDK if |
| 1871 | using a bundled JDK. |
| 1872 | + 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842: |
| 1873 | Disable msys path conversion on Windows. |
| 1874 | + cc21998c299b4d1f97df37b961552ff8168da17f: |
| 1875 | Rollforward #2 of: Basic open-source crosstool to support |
| 1876 | targeting apple platform types. |
| 1877 | + 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f: |
| 1878 | Escape % in strings that will appear in Crosstool |
| 1879 | + 3b08f774e7938928e3a240a47a0a7554cdc8d50b: |
| 1880 | Adding feature for linking C Run-Time library on Windows |
| 1881 | ``` |
| 1882 | |
| 1883 | Incompatible changes: |
| 1884 | |
| 1885 | - Bazel's Linux sandbox no longer mounts an empty tmpfs on /tmp, |
| 1886 | instead the existing /tmp is mounted read-write. If you prefer |
| 1887 | to have a tmpfs on /tmp for sandboxed actions for increased |
| 1888 | hermeticity, please use the flag --sandbox_tmpfs_path=/tmp. |
| 1889 | - Converting artifacts to strings and printing them now return |
| 1890 | "File" instead of "Artifact" to be consistent with the type name. |
| 1891 | - The return type of depset.to_list() is now a list rather than a |
| 1892 | frozen list. (Modifying the list has no effect on the depset.) |
| 1893 | - Bazel now prints logs in single lines to java.log |
| 1894 | - --use_dash, --dash_url and --dash_secret are removed. |
| 1895 | - Remote repositories must define any remote repositories they |
| 1896 | themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be |
| 1897 | defined |
| 1898 | in @x's WORKSPACE file). |
| 1899 | - Remote repositories must define any remote repositories they |
| 1900 | themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be |
| 1901 | defined |
| 1902 | in @x's WORKSPACE file). |
| 1903 | - objc_xcodeproj has been removed, use tulsi.bazel.build instead. |
| 1904 | |
| 1905 | New features: |
| 1906 | |
| 1907 | - If grte_top is a label, it can now follow non-configurable |
| 1908 | redirects. |
| 1909 | - Optional coverage_files attribute to cc_toolchain |
| 1910 | - "query --output=build" now includes select()s |
| 1911 | - Raw LLVM profiles are now supported. |
| 1912 | |
| 1913 | Important changes: |
| 1914 | |
| 1915 | - Automatically generate Proguard mapping when resource shrinking |
| 1916 | and Proguard are enabled. |
| 1917 | - New rules in Bazel: proto_library, java_lite_proto_library, |
| 1918 | java_proto_library and cc_proto_library |
| 1919 | - Activate the "dead_strip" feature if objc binary stripping is |
| 1920 | enabled. |
| 1921 | - More stable naming scheme for lambda classes in desugared android |
| 1922 | code |
| 1923 | - Convert --use_action_cache to a regular option |
| 1924 | - Per-architecture dSYM binaries are now propagated by |
| 1925 | apple_binary's AppleDebugOutputsProvider. |
| 1926 | - Avoid factory methods when desugaring stateless lambdas for |
| 1927 | Android |
| 1928 | - desugar calls to Objects.requireNonNull(Object o) with |
| 1929 | o.getClass() for android |
| 1930 | - Add an --copy_bridges_from_classpath argument to android |
| 1931 | desugaring tool |
| 1932 | - Change how desugar finds desugared classes to have it working on |
| 1933 | Windows |
| 1934 | - Evaluation of commands on TargetsBelowDirectory patterns |
| 1935 | (e.g. //foo/...) matching packages that fail to load now report |
| 1936 | more |
| 1937 | detailed error messages in keep_going mode. |
| 1938 | - Allow to have several inputs and outputs |
| 1939 | - Repository context's execute() function can print stdout/stderr |
| 1940 | while running. To enable, pass quiet=False. |
| 1941 | - Bazel can now be built with a bundled version of the OpenJDK. |
| 1942 | This makes it possible to use Bazel on systems without a JDK, or |
| 1943 | where |
| 1944 | the installed JDK is too old. |
| 1945 | - The --jobs flag now defaults to "auto", which causes Bazel to |
| 1946 | use a reasonable degree of parallelism based on the local |
| 1947 | machine's |
| 1948 | capacity. |
| 1949 | - Bazel benchmark (perf.bazel.build) supports Java and Cpp targets. |
| 1950 | - no factory methods generated for lambda expressions on android |
| 1951 | - The Linux sandbox no longer changes the user to 'nobody' by |
| 1952 | default, instead the current user is used as is. The old behavior |
| 1953 | can be |
| 1954 | restored via the --sandbox_fake_username flag. |
| 1955 | - /tmp and /dev/shm are now writable by default inside the |
| 1956 | Linux sandbox. |
| 1957 | - Bazel can now use the process-wrapper + symlink tree based |
| 1958 | sandbox implementation in FreeBSD. |
| 1959 | - turn on --experimental_incremental_dexing_error_on_missed_jars by |
| 1960 | default. |
| 1961 | - All android_binarys are now signed with both Apk Signature V1 and |
| 1962 | V2. See https://source.android.com/security/apksigning/v2.html |
| 1963 | for more details. |
| 1964 | - Windows MSVC wrappers: Not filtering warning messages anymore, |
| 1965 | use --copt=-w and --host_copt=-w to suppress them. |
| 1966 | - A downloader bug was fixed that prevented RFC 7233 Range |
| 1967 | connection resumes from working with certain HTTP servers |
| 1968 | - Introduces experimental android_device rule for configuring and |
| 1969 | launching Android emulators. |
| 1970 | - For boolean flags, setting them to false using --no_<flag_name> |
| 1971 | is deprecated. Use --no<flag_name> without the underscore, or |
| 1972 | --<flag_name>=false instead. |
| 1973 | - Add --experimental_android_compress_java_resources flag to store |
| 1974 | java |
| 1975 | resources as compressed inside the APK. |
| 1976 | - Removed --experimental_use_jack_for_dexing and libname.jack |
| 1977 | output of |
| 1978 | android_library. |
| 1979 | - blaze canonicalize-flags now takes a --show_warnings flag |
| 1980 | - Changing --invocation_policy will no longer force a server |
| 1981 | restart. |
| 1982 | - Bazel now supports Android NDK14. |
| 1983 | - android_binary multidex should now work without additional flags. |
| 1984 | - Use action_config in crosstool for static library archiving, |
| 1985 | remove ar_flag. |
| 1986 | - new option for bazel canonicalize-flags, --canonicalize_policy |
| 1987 | - Use action_config in crosstool for static library archiving, |
| 1988 | remove ar_flag. |
| 1989 | - android_library exports_manifest now defaults to True. |
| 1990 | - Fix select condition intersections. |
| 1991 | - Adds a --override_repository option that takes a repository |
| 1992 | name and path. This forces Bazel to use the directory at that path |
| 1993 | for the repository. Example usage: |
| 1994 | `--override_repository=foo=/home/user/gitroot/foo`. |
| 1995 | - fix idempotency issue with desugaring lambdas in interface |
| 1996 | initializers for android |
| 1997 | - --experimental_android_use_singlejar_for_multidex is now a no-op |
| 1998 | and will eventually be removed. |
| 1999 | - Every local_repository now requires a WORKSPACE file. |
| 2000 | - Remove jack and jill attributes of the android_sdk rule. |
| 2001 | - Add Skylark stubs needed to remove sysroot from CppConfiguration. |
| 2002 | - Desugar try-with-resources so that this language feature is |
| 2003 | available |
| 2004 | to deveces with API level under 19. |
| 2005 | - The flag --worker_max_retries was removed. The |
| 2006 | WorkerSpawnStrategy no longer retries execution of failed Spawns, |
| 2007 | the reason being that this just masks compiler bugs and isn't |
| 2008 | done for any other execution strategy either. |
| 2009 | - Bazel will no longer gracefully restart workers that crashed / |
| 2010 | quit, instead this triggers a build failure. |
| 2011 | - All java resources are now compressed in android_binary APKs by |
| 2012 | default. |
| 2013 | - All java resources are now compressed in android_binary APKs by |
| 2014 | default. |
| 2015 | - android_ndk_repository now creates a cc_library |
| 2016 | (@androidndk//:cpufeatures) for the cpufeatures library that is |
| 2017 | bundled in the Android NDK. See |
| 2018 | https://developer.android.com/ndk/guides/cpu-features.html for |
| 2019 | more details. |
| 2020 | - 'output_groups' and 'instrumented_files' cannot be specified in |
| 2021 | DefaultInfo. |
| 2022 | - You can increase the CPU reservation for tests by adding a |
| 2023 | "cpu:<n>" (e.g. "cpu:4" for four cores) tag to their rule in a |
| 2024 | BUILD file. This can be used if tests would otherwise overwhelm |
| 2025 | your system if there's too much parallelism. |
| 2026 | - Deprecate use_singlejar_for_proguard_libraryjars and force |
| 2027 | behavior to always on. |
| 2028 | |
Bazel Release System | 8d635fc | 2017-03-16 13:18:30 +0100 | [diff] [blame] | 2029 | ## Release 0.4.5 (2017-03-16) |
| 2030 | |
| 2031 | ``` |
| 2032 | Baseline: 2e689c29d5fc8a747216563235e905b1b62d63b0 |
| 2033 | |
| 2034 | Cherry picks: |
| 2035 | + a28b54033227d930672ec7f2714de52e5e0a67eb: |
| 2036 | Fix Cpp action caching |
| 2037 | + 6d1d424b4c0da724e20e14235de8012f05c470f8: |
| 2038 | Fix paths of binaries in .deb packages. |
| 2039 | + 0785cbb672357d950e0c045770c4567df9fbdc43: |
| 2040 | Update to guava 21.0 and Error Prone version 2.0.18-20160224 |
| 2041 | + 30490512eb0e48a3774cc4e4ef78680e77dd4e47: |
| 2042 | Update to latest javac and Error Prone |
| 2043 | + 867d16eab3bfabae070567ecd878c291978ff338: |
| 2044 | Allow ' ', '(', ')' and '$' in labels |
| 2045 | + 7b295d34f3a4f42c13aafc1cc8afba3cb4aa2985: |
| 2046 | Pass through -sourcepath to the JavaBuilder |
| 2047 | + 14e4755ce554cdfc685fc9cc2bfb5b699a3b48f4: |
| 2048 | PathFragment comparisons are now platform-aware |
| 2049 | + ed7795234ca7ccd2567007f2c502f853cd947e50: |
| 2050 | Flag to import external repositories in python import path |
| 2051 | + 81ae08bbc13f5f4a04f18caae339ca77ae2699c1: |
| 2052 | Suppress error for non-exhaustive switches |
| 2053 | + e8d1177eef9a9798d2b971630b8cea59471eec33: |
| 2054 | Correctly returns null if an environment variables is missing |
| 2055 | + 869d52f145c077e3499b88df752cebc60af51d66: |
| 2056 | Fix NPE in Android{S,N}dkRepositoryFunction. |
| 2057 | + d72bc57b60b26245e64f5ccafe023a5ede81cc7f: |
| 2058 | Select the good guava jars for JDK7 build |
| 2059 | + 92ecbaeaf6fa11dff161254df38d743d48be8c61: |
| 2060 | Windows: Assist JNI builds with a target for jni_md.h. |
| 2061 | + 36958806f2cd38dc51e64cd7bcc557bd143bbdb6: |
| 2062 | Add java_common.create_provider to allow creating a |
| 2063 | java_common.provider |
| 2064 | + 8c00f398d7be863c4f502bde3f5d282b1e18f504: |
| 2065 | Improve handling of unknown NDK revisions in |
| 2066 | android_ndk_repository. |
| 2067 | + b6ea0d33d3ab72922c8fb3ec1ff0e437af09584d: |
| 2068 | Add the appropriate cxx_builtin_include_directory entries for |
| 2069 | clang to the Android NDK crosstool created by |
| 2070 | android_ndk_repository. |
| 2071 | ``` |
| 2072 | |
| 2073 | Incompatible changes: |
| 2074 | |
| 2075 | - Depsets (former sets) are converted to strings as "depset(...)" |
| 2076 | instead of |
| 2077 | "set(...)". |
| 2078 | - Using --symlink_prefix is now applied to the output |
| 2079 | symlink (e.g. bazel-out) and the exec root symlink (e.g. |
| 2080 | bazel-workspace). |
| 2081 | - Bazel now uses the test's PATH for commands specified as |
| 2082 | --run_under; this can affect users who explicitly set PATH to |
| 2083 | a more |
| 2084 | restrictive value than the default, which is to forward the |
| 2085 | local PATH |
| 2086 | - It's not allowed anymore to compare objects of different types |
| 2087 | (i.e. a string to an integer) and objects for which comparison |
| 2088 | rules are not |
| 2089 | defined (i.e. a dict to another dict) using order operators. |
| 2090 | |
| 2091 | New features: |
| 2092 | |
| 2093 | - environ parameter to the repository_rule function let |
| 2094 | defines a list of environment variables for which a change of |
| 2095 | value |
| 2096 | will trigger a repository refetching. |
| 2097 | |
| 2098 | Important changes: |
| 2099 | |
| 2100 | - android_ndk_repository now supports Android NDK R13. |
| 2101 | - Android resource shrinking is now available for android_binary |
| 2102 | rules. To enable, set the attribute 'shrink_resources = 1'. See |
| 2103 | https://bazel.build/versions/master/docs/be/android.html#android_b |
| 2104 | inary.shrink_resources. |
| 2105 | - resolve_command/action's input_manifest return/parameter is now |
| 2106 | list |
| 2107 | - For increased compatibility with environments where UTS |
| 2108 | namespaces are not available, the Linux sandbox no longer hides |
| 2109 | the hostname of the local machine by default. Use |
| 2110 | --sandbox_fake_hostname to re-enable this feature. |
| 2111 | - proto_library: alias libraries produce empty files for descriptor |
| 2112 | sets. |
| 2113 | - Adds pkg_rpm rule for generating RPM packages. |
| 2114 | - Allow CROSSTOOL files to have linker flags specific to static |
| 2115 | shared libraries. |
| 2116 | - Make it mandatory for Java test suites in bazel codebase, to |
| 2117 | contain at least one test. |
| 2118 | - Support for Java 8 lambdas, method references, type annotations |
| 2119 | and repeated annotations in Android builds with |
| 2120 | --experimental_desugar_for_android. |
| 2121 | - Removed .xcodeproj automatic output from objc rules. It can still |
| 2122 | be generated by requesting it explicitly on the command line. |
| 2123 | - Flips --explicit_jre_deps flag on by default. |
| 2124 | - Activate the "dbg", "fastbuild", and "opt" features in the objc |
| 2125 | CROSSTOOL. |
| 2126 | - Remove support for configuring JDKs with filegroups; use |
| 2127 | java_runtime and java_runtime_suite instead |
| 2128 | - android_ndk_repository api_level attribute is now optional. If not |
| 2129 | specified, the highest api level in the ndk/platforms directory |
| 2130 | is used. |
| 2131 | |
Bazel Release System | 6712cac | 2017-02-01 19:53:37 +0100 | [diff] [blame] | 2132 | ## Release 0.4.4 (2017-02-01) |
| 2133 | |
| 2134 | ``` |
| 2135 | Baseline: 4bf8cc30a |
| 2136 | |
| 2137 | Cherry picks: |
| 2138 | + ef1c6fd33: msvc_tools.py.tpl: Change default runtime library to |
| 2139 | static |
| 2140 | ``` |
| 2141 | |
| 2142 | Incompatible changes: |
| 2143 | |
| 2144 | - Only targets with public visibility can be bound to something in |
| 2145 | //external: . |
| 2146 | - The deprecated -x startup option has been removed. |
| 2147 | - docker_build: change the repository names embedded by |
| 2148 | docker_build. You can revert to the old behavior by setting |
| 2149 | legacy_repository_naming=True. |
| 2150 | - The string methods strip(), lstrip(), and rstrip() now |
| 2151 | by default remove the same whitespace characters as Python 3 |
| 2152 | does, and accept |
| 2153 | None as an argument. |
| 2154 | - Deprecated globals HOST_CFG and DATA_CFG are removed. Use strings |
| 2155 | "host" and "data" instead. |
| 2156 | - repository_ctx environment is now affected by --action_env flag |
| 2157 | (value from the |
| 2158 | client environment will be replaced by value given on the command |
| 2159 | line through --action_env). |
| 2160 | - All executable labels must also have a cfg parameter specified. |
| 2161 | - Removed the cmd_helper.template function. |
| 2162 | The function was equivalent to: |
| 2163 | def template(items, template): |
| 2164 | return [template.format(path = i.path, short_path = |
| 2165 | i.short_path) |
| 2166 | for i in items] |
| 2167 | - Tuples that end with a trailing comma must now be inside parens, |
| 2168 | e.g. (1,) instead of 1, |
| 2169 | - The traversal orders for depsets have been renamed. The old names |
| 2170 | are deprecated and will be removed in the future. New names: |
| 2171 | "stable" -> "default", "compile" -> "postorder", "link" -> |
| 2172 | "topological", "naive_link" -> "preorder". |
| 2173 | |
| 2174 | New features: |
| 2175 | |
| 2176 | - Skylark: you can now multiply a list by an integer to get the |
| 2177 | concatenation of N copies of this list, e.g. [a,b] * 3 = |
| 2178 | [a,b,a,b,a,b] |
| 2179 | - Allow Android aidl tool to add a jar to the program's classpath, |
| 2180 | such as if needed to support generated sources. |
| 2181 | - Add transitive proguard_specs when android_sdk.aidl_lib is |
| 2182 | specified |
| 2183 | - Windows: "/dev/null" is now a supported path, e.g. |
| 2184 | --bazelrc=/dev/null now works |
| 2185 | |
| 2186 | Important changes: |
| 2187 | |
| 2188 | - Bazel Android builds use the apksigner tool from the Android SDK |
| 2189 | build-tools. Bazel Android builds now require build-tools version |
| 2190 | 24.0.3 or |
| 2191 | later. |
| 2192 | - Android SDK external bindings for support libraries, e.g. |
| 2193 | //external:android/appcompat_v4, are removed because the support |
| 2194 | library JARs that they referenced no longer ship with the Android |
| 2195 | SDK. |
| 2196 | - aar_import rule is now documented. |
| 2197 | - An IE bug was fixed in repository_ctx.download_and_extract |
| 2198 | - Update "-I" to "-isystem" in documentation to reflect current |
| 2199 | behavior. |
| 2200 | - android_sdk_repository build_tools_version is now optional. The |
| 2201 | highest installed build-tools will be used if none is specified. |
| 2202 | - New flag --sandbox_add_mount_pair to specify customized |
| 2203 | source:target path pairs to bind mount inside the sandbox. |
| 2204 | - expose proto_library descriptor set to skylark via |
| 2205 | <dep>.proto.descriptor_set |
| 2206 | - The `set` constructor is deprecated in favor of `depset` |
| 2207 | - Autodetect gold linker in cc_configure.bzl |
| 2208 | - Remove build flag --experimental_j2objc_annotation_processing. It |
| 2209 | is on by default now. |
| 2210 | - Set clang's -mwatchos-version-min correctly using the value of |
| 2211 | --watchos_minimum_os, not --watchos_sdk_version. |
| 2212 | - singlejar can now create jar files larger than 4GB. |
| 2213 | - android_sdk_repository and android_ndk_repository now read |
| 2214 | $ANDROID_HOME and $ANDROID_NDK_HOME if the path attribute is not |
| 2215 | set. |
| 2216 | - Removed broken api levels 3, 4 and 5 from Android NDK 12. |
| 2217 | - Default --android_dynamic_mode to off. |
| 2218 | - android_sdk_repository no longer requires api_level. If one is |
| 2219 | not specified, the highest android platform installed will be |
| 2220 | used. Furthermore, android_sdk's are created for all android |
| 2221 | platforms installed and can be specified with the --android_sdk |
| 2222 | flag. |
| 2223 | - To iterate over or test for membership in a set, prefer using the |
| 2224 | new to_list() method. E.g., "for x in myset.to_list():", or |
| 2225 | "print(x in myset.to_list())". Iteration/membership-test on the |
| 2226 | raw set itself is deprecated. |
| 2227 | - Remove support for --javawarn; use e.g. --javacopt=-Xlint:all |
| 2228 | instead |
| 2229 | |
Bazel Release System | d3b2364 | 2016-12-22 13:30:47 +0100 | [diff] [blame] | 2230 | ## Release 0.4.3 (2016-12-22) |
Bazel Release System | 80865ff | 2016-11-30 13:18:54 +0100 | [diff] [blame] | 2231 | |
Damien Martin-Guillerez | 961e54f | 2016-12-22 13:33:36 +0100 | [diff] [blame] | 2232 | ``` |
Bazel Release System | d3b2364 | 2016-12-22 13:30:47 +0100 | [diff] [blame] | 2233 | Baseline: c645a45 |
Bazel Release System | 80865ff | 2016-11-30 13:18:54 +0100 | [diff] [blame] | 2234 | |
| 2235 | Cherry picks: |
Bazel Release System | d3b2364 | 2016-12-22 13:30:47 +0100 | [diff] [blame] | 2236 | + af878d0: Add coverage support for java test. (series 4/4 of |
| 2237 | open-sourcing coverage command for java test) |
| 2238 | + 09b92a8: Rollback of commit |
| 2239 | 67b4d5250edcefa7220e928e529b1f385e2dc464. |
| 2240 | + b11dd48: Fix bad bug with the parallel implementation of |
| 2241 | BinaryOperatorExpression. Turns out that |
| 2242 | ForkJoinTask#adapt(Callable) returns a ForkJoinTask |
| 2243 | whose Future#get on error throws a ExecutionException |
| 2244 | wrapping a RuntimeException wrapping the thrown checked |
| 2245 | exception from the callable. This is documented |
| 2246 | behavior [1] that I incorrectly didn't know about. |
| 2247 | + 9012bf1: Fix scripts/packages/convert_changelog to read the |
| 2248 | changelog correctly |
| 2249 | + 55c97bc: Release script: if master branch does not exist, fall |
| 2250 | back on origin/master |
| 2251 | + 4fb378c: Debian repository: override section and priority fields |
| 2252 | + acbcbc2: Fix release notes in emails |
| 2253 | + 4975760: Fix PathFragment to not use Java8-only static hashCode |
| 2254 | methods. |
| 2255 | + 05fd076: Disable sandboxing for XibCompile actions. |
Damien Martin-Guillerez | 961e54f | 2016-12-22 13:33:36 +0100 | [diff] [blame] | 2256 | ``` |
Bazel Release System | 80865ff | 2016-11-30 13:18:54 +0100 | [diff] [blame] | 2257 | |
| 2258 | Incompatible changes: |
| 2259 | |
Bazel Release System | d3b2364 | 2016-12-22 13:30:47 +0100 | [diff] [blame] | 2260 | - Skylark maven_jar and maven_aar settings attribute is now a label |
| 2261 | so it can be checked into your workspace. |
| 2262 | - --{no}experimental_use_rclass_generator is now a nop. |
| 2263 | |
| 2264 | New features: |
| 2265 | |
| 2266 | - Coverage support (*experimental*) for pure Java target. |
| 2267 | Use `bazel coverage //my:target` to generate coverage information |
| 2268 | from a `java_test`. |
Bazel Release System | 80865ff | 2016-11-30 13:18:54 +0100 | [diff] [blame] | 2269 | |
| 2270 | Important changes: |
| 2271 | |
Bazel Release System | d3b2364 | 2016-12-22 13:30:47 +0100 | [diff] [blame] | 2272 | - Enable fallback URLs in Skylark http rules. |
| 2273 | - cc_proto_library generates C++ code from proto_library rules. |
| 2274 | - cc_library now supports the strip_prefix and strip_include_prefix |
| 2275 | attributes for control of include paths. |
| 2276 | - Skylark dicts internally don't rely on keys order anymore and |
| 2277 | accept any hashable values (i.e. structs with immutable values) |
| 2278 | as keys. Iteration order of dictionaries is no longer specified. |
Damien Martin-Guillerez | 961e54f | 2016-12-22 13:33:36 +0100 | [diff] [blame] | 2279 | |
| 2280 | ## Release 0.4.2 (2016-12-02) |
| 2281 | |
| 2282 | ``` |
| 2283 | Baseline: 6331a94 |
| 2284 | |
| 2285 | Cherry picks: |
| 2286 | + 7b835d9: Do not patch WORKSPACE in the release process |
| 2287 | ``` |
| 2288 | |
| 2289 | Incompatible changes: |
| 2290 | |
| 2291 | - Callback functions in Skylark no longer support the cfg |
| 2292 | parameter. This is a cleanup and only affects the signatures of |
| 2293 | callbacks, since the parameter hasn't been set since September |
| 2294 | 2016. |
| 2295 | |
| 2296 | Important changes: |
| 2297 | |
| 2298 | - Alias proto_library's produce a descriptor set that contains all |
| 2299 | srcs of its dependencies. |
| 2300 | - proto_library supports strict proto deps. |
| 2301 | - Top level @androidsdk support library targets have been replaced |
| 2302 | by @androidsdk//<group id>:<artifact id>-<version> for Android |
| 2303 | SDK Support and Google Play Services libraries. |
| 2304 | |
Bazel Release System | 15402a9 | 2016-11-30 10:12:30 +0100 | [diff] [blame] | 2305 | ## Release 0.4.1 (2016-11-21) |
| 2306 | |
| 2307 | ``` |
| 2308 | Baseline: 9a796de |
| 2309 | |
| 2310 | Cherry picks: |
| 2311 | + 88bfe85: Description redacted. -- MOS_MIGRATED_REVID=139219934 |
| 2312 | + b09ea94: Rollback of commit |
| 2313 | a3f5f576cd35798140ba3e81d03d919dd4ecb847. |
| 2314 | ``` |
| 2315 | |
| 2316 | New features: |
| 2317 | |
| 2318 | - android_library now has a "exported_plugins" attribute just like |
| 2319 | java_library |
| 2320 | - Use --strict_system_includes to apply hdrs_check=strict also to |
| 2321 | cc_library.includes, even if sandboxing is disabled. |
| 2322 | - Bazel on Windows: java_binary can now be the executable of |
| 2323 | Skylark rule actions (ctx.action's executable argument) |
| 2324 | - Packages are defined in BUILD.bazel as well as BUILD files. |
| 2325 | |
| 2326 | Important changes: |
| 2327 | |
| 2328 | - getattr()'s 3-arg form no longer raises an error when the |
| 2329 | retrieved field is a built-in method. |
| 2330 | - --apk_signing_method default changed to v1. Android APKs are now |
| 2331 | signed with the new ApkSignerTool by default. |
| 2332 | - New rule: proto_lang_toolchain(), to support LANG_proto_library |
| 2333 | rules on multiple platforms. |
| 2334 | - Fix for Android clang++ std::stack segfault on 32bit x86. See |
| 2335 | https://code.google.com/p/android/issues/detail?id=220159 |
| 2336 | - Default android_manifest_merger is now "android" which uses the |
| 2337 | official Android manifest merger. |
| 2338 | http://tools.android.com/tech-docs/new-build-system/user-guide/man |
| 2339 | ifest-merger |
| 2340 | - Do not propagate aspect to its own attributes when using '*'. |
| 2341 | - Comparing sets (`if set1 < set2:`) is not allowed anymore in |
| 2342 | Skylark because it didn't work correctly anyway. |
| 2343 | - When --experimental_extra_action_top_level_only, Bazel reports |
| 2344 | extra-actions for actions registered by Aspects injected by a |
| 2345 | top-level rule (approximately). |
| 2346 | - Blacklists for proto_lang_toolchain() no longer have to be |
| 2347 | proto_library's. |
| 2348 | - Extra actions now contain aspect-related information. |
| 2349 | - Fix slicing bug where "abc"[:-4:-1] would give wrong answer |
| 2350 | |
Bazel Release System | d0761e6 | 2016-11-02 13:36:35 -0400 | [diff] [blame] | 2351 | ## Release 0.4.0 (2016-10-26) |
| 2352 | |
| 2353 | ``` |
| 2354 | Baseline: 088bbc6 |
| 2355 | |
| 2356 | Cherry picks: |
| 2357 | + b01160c: Stamp Windows release. |
| 2358 | + 2d6736e: Add --no-tty for gpg signing |
| 2359 | + 9b1dfb8: Remove .sig file before gpg signing |
| 2360 | + 81aede1: Reimplement whole archive on Windows |
| 2361 | ``` |
| 2362 | |
| 2363 | Incompatible changes: |
| 2364 | |
| 2365 | - Skylark: updating list/dicts while they are being looped over is not |
| 2366 | allowed. Use an explicit copy if needed ("for x in list(mylist):"). |
| 2367 | - Bazel now uses the --cpu flag to look up Jvms; it falls back |
| 2368 | to "default" if it can't find a Jvm matching the CPU value. |
| 2369 | - --command_port=-1 to use AF_UNIX for client/server communications |
| 2370 | is not supported anymore. |
| 2371 | - Sandboxed actions can access the network by default, unless their |
| 2372 | target has a "block-network" tag. |
| 2373 | |
| 2374 | New features: |
| 2375 | |
| 2376 | - Files now have an "extension" property in Skylark. |
| 2377 | |
| 2378 | Important changes: |
| 2379 | |
| 2380 | - Added a new flag --sandbox_tmpfs_path, which asks the sandbox to |
| 2381 | mount an empty, writable directory at a specified path when |
| 2382 | running actions. (Supported on Linux only for now.) |
| 2383 | - Update protoc-3.0.0-mingw.exe to a working (statically linked) |
| 2384 | binary |
| 2385 | - apple_static_library rule to create multi-architecture static |
| 2386 | archive files from Objc/C++/Swift dependencies on apple platforms |
| 2387 | - JS: Add support for localization with closure managed rules. |
| 2388 | - Create a flag --android_dynamic_mode to turn off dynamic mode |
| 2389 | during the Android split transition. |
| 2390 | - Darwin sandboxing is default. |
| 2391 | - Remove flag --experimental_zip_tree_artifact from j2objc Java |
| 2392 | annotation processing support. |
| 2393 | - A few functions are added to BUILD files for consistency (hash, |
| 2394 | dir, |
| 2395 | hasattr, getattr) with .bzl files, although they are not very |
| 2396 | useful. |
| 2397 | - --watchfs is now a command option; the startup option of the same |
| 2398 | name is deprecated. I.e., use bazel build --watchfs, not |
| 2399 | blaze --watchfs |
| 2400 | build. |
| 2401 | |
Bazel Release System | 33579a4 | 2016-10-07 13:05:11 -0400 | [diff] [blame] | 2402 | ## Release 0.3.2 (2016-10-07) |
| 2403 | |
| 2404 | ``` |
| 2405 | Baseline: 023a7bd |
| 2406 | |
| 2407 | Cherry picks: |
| 2408 | + bebbbe5: Fix dependency on libtool's helper script |
| 2409 | make_hashed_objlist.py. |
| 2410 | + 8a0d45f: Add the version information to the bazel.exe file |
| 2411 | + 2bc0939: Allow new_ rules to overwrited BUILD files in |
| 2412 | downloaded repos |
| 2413 | + c5545fd: Rollback of commit |
| 2414 | 96d46280bc5a4803ba2242a4ad16939f85a3b212. |
| 2415 | + eb87208: Make cc_configure on Windows more robust |
| 2416 | + c30432c: Fix cc_configure on Windows |
| 2417 | + 95b16a8: sandbox: Replace the error-prone lazy cleanup of |
| 2418 | sandbox directories by a simple synchronous cleanup. |
| 2419 | + e898023: Fix #1849: Sandboxing on OS X should be turned off by |
| 2420 | default for 0.3.2. |
| 2421 | + ffdc05d: Add action_config and feature for linking on Windows |
| 2422 | ``` |
| 2423 | |
| 2424 | Incompatible changes: |
| 2425 | |
| 2426 | - If you maintain a rule that uses persistent workers, you'll have |
| 2427 | to specify execution_requirements={"supports-workers": 1} in the |
| 2428 | ctx.action that intends to run a tool with workers. The |
| 2429 | WorkerSpawnStrategy will alert you with a warning message if you |
| 2430 | forget to make this change and fallback to non-worker based |
| 2431 | execution. |
| 2432 | - It is now an error to include a precompiled library (.a, .lo, .so) |
| 2433 | in a cc_library which would generate a library with the same name |
| 2434 | (e.g., libfoo.so in cc_library foo) if that library also contains |
| 2435 | other linkable |
| 2436 | sources. |
| 2437 | - The main repository's execution root is under the main |
| 2438 | repository's workspace name, not the source directory's basename. |
| 2439 | This shouldn't |
| 2440 | have any effect on most builds, but it's possible it could break |
| 2441 | someone doing |
| 2442 | weird things with paths in actions. |
| 2443 | - Blaze doesn't support Unix domain sockets for communication |
| 2444 | between its client and server anymore. Therefore, the |
| 2445 | --command_port command line argument doesn't accept -1 as a valid |
| 2446 | value anymore. |
| 2447 | - Skylark: It is an error to shadow a global variable with a local |
| 2448 | variable after the global has already been accessed in the |
| 2449 | function. |
| 2450 | - bin_dir and genfiles_dir are now properties of ctx, not |
| 2451 | configuration. That is, to access the bin or genfiles directory |
| 2452 | from a |
| 2453 | Skylark rule, use ctx.bin_dir or ctx.genfiles_dir (not |
| 2454 | ctx.configuration.{bin,genfiles}_dir). At the moment, you can |
| 2455 | access |
| 2456 | {bin,genfiles}_dir from either, but the ctx.configuration version |
| 2457 | will |
| 2458 | stop working in a future release. |
| 2459 | - filegroup-based C++ toolchains are not supported anymore. |
| 2460 | --*_crosstool_top options must always point to a |
| 2461 | cc_toolchain_suite rule (or an alias of one). |
| 2462 | - repository_ctx.{download,download_and_extract,execute} API now use |
| 2463 | named parameters for optional parameters and no |
| 2464 | longer uses argument |
| 2465 | type to distinguished between arguments |
| 2466 | (executable attribute name |
| 2467 | must be specified when preceding optional |
| 2468 | arguments are missing). |
| 2469 | |
| 2470 | New features: |
| 2471 | |
| 2472 | - print and fail are now available in BUILD files. |
| 2473 | |
| 2474 | Important changes: |
| 2475 | |
| 2476 | - Added @bazel_tools//tools/build_defs/repo/git.bzl as a Skylark |
| 2477 | rule for Git repositories. |
| 2478 | - Added @bazel_tools//tools/build_defs/repo/maven_rules.bzl as a |
| 2479 | Skylark rule for Maven repositories. |
| 2480 | - Add global hash() function for strings (only) |
| 2481 | - Improve Android split transition handling. |
| 2482 | - Removes exports_manifest attribute from android_binary rule. |
| 2483 | - java_proto_library: control strict-deps through a rule-level and |
| 2484 | a package-level attribute. |
| 2485 | - Persistent workers are now used by default for Java compilation |
| 2486 | in Bazel, which should speed up your Java builds by ~4x. You can |
| 2487 | switch back to the old behavior via --strategy=Javac=standalone. |
| 2488 | Check out http://www.bazel.io/blog/2015/12/10/java-workers.html |
| 2489 | for more details. |
| 2490 | - objc_* rules can now depend on any target that returns an "objc" |
| 2491 | provider. |
| 2492 | - Adds support for NDK12 to `android_ndk_repository` rule in Bazel. |
| 2493 | - Test targets can disable the JUnit4 test security manager via a |
| 2494 | property. |
| 2495 | - Disable the Android split transition if --android_cpu and |
| 2496 | fat_apk_cpu are both empty. |
| 2497 | - New sandboxing implementation for Linux in which all actions run |
| 2498 | in a separate execroot that contains input files as symlinks back |
| 2499 | to the originals in the workspace. The running action now has |
| 2500 | read-write access to its execroot and /tmp only and can no longer |
| 2501 | write in arbitrary other places in the file system. |
| 2502 | - Add worker support to single jar. |
| 2503 | - Invoke source jar action as a worker. |
| 2504 | - Sandboxed builds allow network access for builds by default. |
| 2505 | Tests will still be run without networking, unless |
| 2506 | "requires-network" is specified as a tag. |
| 2507 | - Add path.realpath() method for Skylark repositories. |
| 2508 | - On Mac devices, detect locally installed versions of xcode to: |
| 2509 | 1. Use a sensible default if xcode is required but |
| 2510 | --xcode_version is unspecified. |
| 2511 | 2. Use sensible default iOS SDK version for the targeted version |
| 2512 | of xcode if ios_sdk_version is unspecified. |
| 2513 | - Emacs' [C-x `], a.k.a. next-error, works again in emacsen >= 25.1 |
| 2514 | - swift_library can be used to build watchOS apps. |
| 2515 | - Exposes the is_device field on Apple platform objects and adds |
| 2516 | the apple_common.platform_type(name) method to retrieve a |
| 2517 | platform_type value that can be passed to methods like the Apple |
| 2518 | fragment's multi_arch_platform. |
| 2519 | - Move Skylark git_repository rules to git.bzl |
| 2520 | - Add support for aspects to attr.label() attributes |
| 2521 | - Global varaiables HOST_CFG and DATA_CFG are deprecated in favor |
| 2522 | of strings "host" |
| 2523 | and "data. |
| 2524 | Argument `cfg = "host"` or `cfg = "data"` is mandatory if |
| 2525 | `executable = True` is provided for a label. |
| 2526 | - The deprecation attribute of all rules now causes warnings |
| 2527 | to be printed when other targets depend on a target with that |
| 2528 | attribute set. |
| 2529 | - Change default of --[no]instrument_test_targets to false, change |
| 2530 | default --instrumentation_filter (which previously tried to |
| 2531 | exclude test targets by heuristic) to only exclude targets in |
| 2532 | javatests. |
| 2533 | - Remove deprecated absolute paths in blaze IDE artifacts |
| 2534 | - When using android_binary.manifest_merger="android" the merger |
| 2535 | produces a summary log next to the merged manifest artifact. |
| 2536 | - Allow different default mallocs per configuration. |
| 2537 | |
Bazel Release System | 70c772b | 2016-07-29 10:28:13 +0200 | [diff] [blame] | 2538 | ## Release 0.3.1 (2016-07-29) |
| 2539 | |
| 2540 | ``` |
| 2541 | Baseline: 792a9d6 |
| 2542 | |
| 2543 | Cherry picks: |
| 2544 | + 25e5995: Rollback of commit |
| 2545 | a2770334ea3f3111026eb3e1368586921468710c. |
| 2546 | + 2479405: Fix NPE with unset maven_jar sha1 |
| 2547 | + 3cf2126: Rewrite the extra action info files if the data within |
| 2548 | them changes. |
| 2549 | + 5a9c6b4: JavaBuilder: Reintroduce the -extra_checks flag. |
| 2550 | ``` |
| 2551 | |
| 2552 | Incompatible changes: |
| 2553 | |
| 2554 | - Removed predefined Python variable "generic_cpu". |
| 2555 | - Skylark rules: if you set "outputs" or an attribute to a |
| 2556 | function, this function must now list its required attributes as |
| 2557 | parameters (instead of an attribute map). |
| 2558 | - The host_platform and target_platform entries are not written to |
| 2559 | the master log anymore. |
| 2560 | - Bazel requires Hazelcast 3.6 or higher now for remote execution |
| 2561 | support, because we upgraded our client library and the protocol |
| 2562 | it uses is incompatible with older versions. |
| 2563 | |
| 2564 | New features: |
| 2565 | |
| 2566 | - LIPO context (--lipo_context) can now also be a cc_test (in |
| 2567 | addition to cc_binary) |
| 2568 | |
| 2569 | Important changes: |
| 2570 | |
| 2571 | - If --android_crosstool_top is set, native code compiled for |
| 2572 | android will always use --android_compiler and not --compiler in |
| 2573 | choosing the crosstool toolchain, and will use --android_cpu if |
| 2574 | --fat_apk_cpu is not set. |
| 2575 | - Add --instrument_test_targets option. |
| 2576 | - apple_binary supports a new platform_type attribute, which, if |
| 2577 | set to "watchos", will build dependencies for Apple's watchOS2. |
| 2578 | - objc_binary now supports late-loaded dynamic frameworks. |
| 2579 | - Native Swift rules no longer pull in module maps unconditionally. |
| 2580 | Use --experimental_objc_enable_module_maps for that. |
| 2581 | - Merged manifests are guaranteed to have the application element |
| 2582 | as the last child of the manifest element as required by Android |
| 2583 | N. |
| 2584 | - The Android manifest merger is now available as an option for |
| 2585 | android_binary rules. The merger will honor tools annotations in |
| 2586 | AndroidManifest.xml and will perform placeholder substitutions |
| 2587 | using the values specified in android_binary.manifest_values. The |
| 2588 | merger may be selected by setting the manifest_merger attribute |
| 2589 | on android_binary. |
| 2590 | - The progress message would not clear packages that need to be |
| 2591 | loaded twice. |
| 2592 | - Remove warning for high value of --jobs. |
| 2593 | - Use the correct build configuration for shared native deps during |
| 2594 | Android split transitions. |
| 2595 | - When building ObjectiveC++, pass the flag -std=gnu++11. |
| 2596 | - use xcrun simctl instead of iossim to launch the app for "blaze |
| 2597 | run". |
| 2598 | - Glob arguments 'exclude' and 'exclude_directories' must be named |
| 2599 | - Bazel no longer regards an empty file as changed if its mtime has |
| 2600 | changed. |
| 2601 | |
Bazel Release System | ccadf8d | 2016-06-10 13:28:40 +0200 | [diff] [blame] | 2602 | ## Release 0.3.0 (2016-06-10) |
| 2603 | |
| 2604 | ``` |
| 2605 | Baseline: a9301fa |
| 2606 | |
| 2607 | Cherry picks: |
| 2608 | + ff30a73: Turn --legacy_external_runfiles back on by default |
| 2609 | + aeee3b8: Fix delete[] warning on fsevents.cc |
| 2610 | ``` |
| 2611 | |
| 2612 | Incompatible changes: |
| 2613 | |
| 2614 | - The --cwarn command line option is not supported anymore. Use |
| 2615 | --copt instead. |
| 2616 | |
| 2617 | New features: |
| 2618 | |
| 2619 | - On OSX, --watchfs now uses FsEvents to be notified of changes |
| 2620 | from the filesystem (previously, this flag had no effect on OS X). |
| 2621 | - add support for the '-=', '*=', '/=', and'%=' operators to |
| 2622 | skylark. Notably, we do not support '|=' because the semantics |
| 2623 | of skylark sets are sufficiently different from python sets. |
| 2624 | |
| 2625 | Important changes: |
| 2626 | |
| 2627 | - Use singular form when appropriate in blaze's test result summary |
| 2628 | message. |
| 2629 | - Added supported for Android NDK revision 11 |
| 2630 | - --objc_generate_debug_symbols is now deprecated. |
| 2631 | - swift_library now generates an Objective-C header for its @objc |
| 2632 | interfaces. |
| 2633 | - new_objc_provider can now set the USES_SWIFT flag. |
| 2634 | - objc_framework now supports dynamic frameworks. |
| 2635 | - Symlinks in zip files are now unzipped correctly by http_archive, |
| 2636 | download_and_extract, etc. |
| 2637 | - swift_library is now able to import framework rules such as |
| 2638 | objc_framework. |
| 2639 | - Adds "jre_deps" attribute to j2objc_library. |
| 2640 | - Release apple_binary rule, for creating multi-architecture |
| 2641 | ("fat") objc/cc binaries and libraries, targeting ios platforms. |
| 2642 | - Aspects documentation added. |
| 2643 | - The --ues_isystem_for_includes command line option is not |
| 2644 | supported anymore. |
| 2645 | - global function 'provider' is removed from .bzl files. Providers |
| 2646 | can only be accessed through fields in a 'target' object. |
| 2647 | |
Bazel Release System | 9fdd601 | 2016-05-17 11:12:31 +0200 | [diff] [blame] | 2648 | ## Release 0.2.3 (2016-05-10) |
| 2649 | |
| 2650 | ``` |
| 2651 | Baseline: 5a2dd7a |
| 2652 | ``` |
| 2653 | |
| 2654 | Incompatible changes: |
| 2655 | |
| 2656 | - All repositories are now directly under the x.runfiles directory |
| 2657 | in the runfiles tree (previously, external repositories were at |
| 2658 | x.runfiles/main-repo/external/other-repo. This simplifies |
| 2659 | handling remote repository runfiles considerably, but will break |
| 2660 | existing references to external repository runfiles. |
| 2661 | Furthermore, if a Bazel project does not provide a workspace name |
| 2662 | in the WORKSPACE file, Bazel will now default to using __main__ |
| 2663 | as the workspace name (instead of "", as previously). The |
| 2664 | repository's runfiles will appear under x.runfiles/__main__/. |
| 2665 | - Bazel does not embed protocol buffer-related rules anymore. |
| 2666 | - It is now an error for a cc rule's includes attribute to point to |
| 2667 | the workspace root. |
| 2668 | - Bazel warns if a cc rule's includes attribute points out of |
| 2669 | third_party. |
| 2670 | - Removed cc_* attributes: abi / abi_deps. Use select() instead. |
| 2671 | |
| 2672 | New features: |
| 2673 | |
| 2674 | - select({"//some:condition": None }) is now possible (this "unsets" |
| 2675 | the attribute). |
| 2676 | |
| 2677 | Important changes: |
| 2678 | |
| 2679 | - java_import now allows its 'jars' attribute to be empty. |
| 2680 | - adds crunch_png attribute to android_binary |
| 2681 | - Replace --java_langtools, --javabuilder_top, --singlejar_top, |
| 2682 | --genclass_top, and --ijar_top with |
| 2683 | java_toolchain.{javac,javabuilder,singlejar,genclass,ijar} |
| 2684 | - External repository correctness fix: adding a new file/directory |
| 2685 | as a child of a new_local_repository is now noticed. |
| 2686 | - iOS apps are signed with get-task-allow=1 unless building with -c |
| 2687 | opt. |
| 2688 | - Generate debug symbols (-g) is enabled for all dbg builds of |
| 2689 | objc_ rules. |
| 2690 | - Bazel's workspace name is now io_bazel. If you are using Bazel's |
| 2691 | source as an external repository, then you may want to update the |
| 2692 | name you're referring to it as or you'll begin seeing warnings |
| 2693 | about name mismatches in your code. |
| 2694 | - Fixes integer overflow in J2ObjC sources to be Java-compatible. |
| 2695 | - A FlagPolicy specified via the --invocation_policy flag will now |
| 2696 | match the current command if any of its commands matches any of |
| 2697 | the commands the current command inherits from, as opposed to |
| 2698 | just the current command. |
| 2699 | - The key for the map to cc_toolchain_suite.toolchains is now a |
| 2700 | string of the form "cpu|compiler" (previously, it was just "cpu"). |
| 2701 | - Fix interaction between LIPO builds and C++ header modules. |
| 2702 | - Ctrl-C will now interrupt a download, instead of waiting for it to |
| 2703 | finish. |
| 2704 | - Proxy settings can now be specified in http_proxy and https_proxy |
| 2705 | environment variables (not just HTTP_PROXY and HTTPS_PROXY). |
| 2706 | - Skylark targets can now read include directories from |
| 2707 | ObjcProvider. |
| 2708 | - Expose parameterized aspects to Skylark. |
| 2709 | - Support alwayslink cc_library dependencies in objc binaries. |
| 2710 | - Import cc_library dependencies in generated Xcode project. |
| 2711 | |
Bazel Release System | 1aedd1f1 | 2016-04-25 09:47:50 +0200 | [diff] [blame] | 2712 | ## Release 0.2.2b (2016-04-22) |
Bazel Release System | 951cea2 | 2016-04-21 14:10:12 +0200 | [diff] [blame] | 2713 | |
| 2714 | ``` |
| 2715 | Baseline: 759bbfe |
Bazel Release System | 1aedd1f1 | 2016-04-25 09:47:50 +0200 | [diff] [blame] | 2716 | |
| 2717 | Cherry picks: |
Bazel Release System | 951cea2 | 2016-04-21 14:10:12 +0200 | [diff] [blame] | 2718 | + 1250fda: Rollback of commit |
| 2719 | 351475627b9e94e5afdf472cbf465f49c433a25e. |
| 2720 | + ba8700e: Correctly set up build variables for the correct pic |
| 2721 | mode for fake_binary rules. |
| 2722 | + 386f242: Automated [] rollback of commit |
| 2723 | 525fa71b0d6f096e9bfb180f688a4418c4974eb4. |
Bazel Release System | 1aedd1f1 | 2016-04-25 09:47:50 +0200 | [diff] [blame] | 2724 | + 97e5ab0: Fix cc_configure include path for Frameworks on OS X. |
| 2725 | + a20352e: cc_configure: always add -B/usr/bin to the list of gcc |
| 2726 | option |
| 2727 | + 0b26f44: cc_configure: Add piii to the list of supported |
| 2728 | cpu_value |
| 2729 | + 3e4e416: cc_configure: uses which on the CC environment variable |
| 2730 | + aa3dbd3: cc_configure.bzl: strip end of line when looking for |
| 2731 | the cpu |
| 2732 | + 810d60a: cc_configure: Add -B to compiler flag too |
Bazel Release System | 951cea2 | 2016-04-21 14:10:12 +0200 | [diff] [blame] | 2733 | ``` |
| 2734 | |
Bazel Release System | 1aedd1f1 | 2016-04-25 09:47:50 +0200 | [diff] [blame] | 2735 | Patch release, only includes fixes to C++ auto-configuration. |
Bazel Release System | 951cea2 | 2016-04-21 14:10:12 +0200 | [diff] [blame] | 2736 | |
Bazel Release System | 950c1ab | 2016-03-31 17:18:55 +0200 | [diff] [blame] | 2737 | ## Release 0.2.1 (2016-03-21) |
| 2738 | |
| 2739 | ``` |
| 2740 | Baseline: 19b5675 |
| 2741 | ``` |
| 2742 | |
| 2743 | Incompatible changes: |
| 2744 | |
| 2745 | - Skylark rules that are available from their own repository will |
| 2746 | now issue a warning when accessed through @bazel_tools. |
| 2747 | - Set --legacy_bazel_java_test to off by default. java_test will |
| 2748 | now have a slightly different behaviour, correctly emitting XML |
| 2749 | file but, as a downside, it needs correct declaration of the |
| 2750 | test suite (see https://github.com/bazelbuild/bazel/issues/1017). |
| 2751 | - Labels in .bzl files in remote repositories will be resolved |
| 2752 | relative to their repository (instead of the repository the |
| 2753 | Skylark rule is used in). |
| 2754 | - Renamed proto_java_library to java_proto_library. The former |
| 2755 | is now deprecated and will print out a warning when used. |
| 2756 | - android_sdk now compiles android_jack on the fly from |
| 2757 | android_jar, which means android_jar must be a jar and |
| 2758 | android_jack is now deprecated. The Jack tools (jack, jill, |
| 2759 | resource_extractor) must be specified. |
| 2760 | - Any project that depended on the objc_options rule will be |
| 2761 | broken. Can be fixed by adding attrs (infoplists,copts) directly |
| 2762 | to rules depending on the options. |
| 2763 | - .aidl files correctly require import statements for types |
| 2764 | defined in the same package and the same android_library. |
| 2765 | |
| 2766 | New features: |
| 2767 | |
| 2768 | - Experimental Windows support is available. |
| 2769 | - Experimental support for writing remote repository rules in |
| 2770 | Skylark is available. |
| 2771 | - iOS ipa_post_processor attribute allows for user-defined IPA |
| 2772 | edits. |
| 2773 | - Adds a to_json method to Skylark structs, providing conversion to |
| 2774 | JSON format. |
| 2775 | - Native python rule can depend on skylark rule as long as skylark |
| 2776 | rule provides 'py' provider. |
| 2777 | - When using both --verbose_failures and --sandbox_debug, Bazel |
| 2778 | prints instructions how to spawn a debugging shell inside the |
| 2779 | sandbox. |
| 2780 | - add flag --sandbox_add_path, which takes a list of additional |
| 2781 | paths as argument and mount these paths to sandbox. |
| 2782 | |
| 2783 | Important changes: |
| 2784 | |
| 2785 | - @androidsdk//:org_apache_http_legacy added for the legacy Apache |
| 2786 | classes for android sdk version 23 and above. |
| 2787 | - Genrules correctly work when used with bazel run. |
| 2788 | - When namespace-sandbox is run with the -D (debug) flag and |
| 2789 | inside a terminal, it spawns a shell inside the sandbox to aid in |
| 2790 | debugging when the sandboxed command fails. |
| 2791 | - Added --artifact to workspace generator for generating workspace |
| 2792 | and build file rules from artifact coodrinates. |
| 2793 | - Specifying --experimental_android_resource_shrinking on the |
| 2794 | command line will enable a resource shrinking pass on |
| 2795 | android_binary targets that already use Proguard. |
| 2796 | - J2ObjC updated to 1.0.1 release. |
| 2797 | - Added "root_symlinks" and "symlinks" parameters to Skylark |
| 2798 | runfiles() method. |
| 2799 | - You can no longer use objc_binary targets for the xctest_app |
| 2800 | attribute of an ios_test rule. |
| 2801 | - Enable overriding jsonnet binaries and stdlib for Jsonnet rules. |
| 2802 | - mount target of /etc/resolv.conf if it is a symlink. |
| 2803 | - Tests that failed to build because execution was halted no longer |
| 2804 | print their status. |
| 2805 | - Bazel warns if a cc rule's includes attribute contains up-level |
| 2806 | references that escape its package. |
| 2807 | - Add repository_ctx.download and repository_ctx.download_and_extract |
| 2808 | function. |
| 2809 | |
Bazel Release System | f98290d | 2016-02-23 13:51:16 +0100 | [diff] [blame] | 2810 | ## Release 0.2.0 (2016-02-18) |
| 2811 | |
| 2812 | ``` |
| 2813 | Baseline: 9e100ac |
| 2814 | ``` |
| 2815 | |
| 2816 | Incompatible changes: |
| 2817 | |
| 2818 | - ObjC compile actions for J2ObjC-translated code now only has |
| 2819 | access to headers from the java deps of the associated original |
| 2820 | java rule. |
| 2821 | These compile actions no longer takes the compiler options |
| 2822 | specified in "copts" attribute on objc_binary/ios_test rules. |
| 2823 | J2ObjC dead code removal (enabled through flag |
| 2824 | "--j2objc_dead_code_removal") now happens *after* ObjC |
| 2825 | compilation. |
| 2826 | - maven_jar no longer supports separate artifact_id, group_id, and |
| 2827 | verison fields. This information should be provided in the |
| 2828 | artifact field, |
| 2829 | instead. |
| 2830 | |
| 2831 | New features: |
| 2832 | |
| 2833 | - Better support for toolchains that don't have a dynamic linker. |
| 2834 | - build_file_content attribute added to new_git_repository, |
| 2835 | new_http_archive, and new_local_repository. |
| 2836 | - Add support for .tar.bz2 archives to http_archive rules. |
| 2837 | |
| 2838 | Important changes: |
| 2839 | |
| 2840 | - The --skyframe flag is no longer available for the build command. |
| 2841 | - The --artifacts flag was removed from the dump command. |
| 2842 | - The sha256 attribute is now optional (although recommended!) for |
| 2843 | remote repository rules. |
| 2844 | - Add instrumented file provider support to Skylark rules. |
| 2845 | - Add imports attribute to native Python rules. |
| 2846 | - Allow overriding -gsplit-dwarf from copts. |
| 2847 | - Improved sandbox performance on XFS filesystems. |
| 2848 | |
Bazel Release System | 00cf25d | 2016-02-09 18:36:51 +0100 | [diff] [blame] | 2849 | ## Release 0.1.5 (2016-02-05) |
| 2850 | |
| 2851 | ``` |
| 2852 | Baseline: 3a95f35 |
| 2853 | + 8378cd8: Rollback of commit |
| 2854 | a9b84575a32476a5faf991da22b44661d75c19b6. |
| 2855 | ``` |
| 2856 | |
| 2857 | Incompatible changes: |
| 2858 | |
| 2859 | - Set stamping to false by default (i.e., --nostamp) |
| 2860 | - Removed --objc_dump_syms_binary. |
| 2861 | - Removes --objc_gcov_binary flag. |
| 2862 | - Remove JAVAC "Make" variable |
| 2863 | - The startup flag --blaze_cpu is removed, |
| 2864 | |
| 2865 | New features: |
| 2866 | |
| 2867 | - A new java test runner that support XML output and test filtering |
| 2868 | is supported. It can be used by specifying --nolegacy_bazel_java_test |
| 2869 | or by specifying the test_class attribute on a java_test. |
| 2870 | - Skylark aspects can now specify configuration fragment |
| 2871 | dependencies with fragments and host_fragments like rules can. |
| 2872 | |
| 2873 | Important changes: |
| 2874 | |
| 2875 | - Support for downloading remote resources through proxies by |
| 2876 | setting HTTP_PROXY (or HTTPS_PROXY). |
| 2877 | - Timestamps within Android apks are removed to make apks |
| 2878 | deterministic. |
| 2879 | - Support aggregation over existing rules in Skylark extensions |
| 2880 | through native.rules and native.rule. |
| 2881 | - A tools/bazel script in the workspace will be executed |
| 2882 | as an opportunity to use a fixed version of Bazel (not |
| 2883 | implemented for the homebrew recipe yet). |
| 2884 | - --noimplicit_deps and --nohost_deps work correctly for Aspect |
| 2885 | attributes. |
| 2886 | - JDK-related targets are now available via @local_jdk (instead of |
| 2887 | @local-jdk). |
| 2888 | - j2objc tools can now be accessed via @bazel_j2objc, not |
| 2889 | @bazel-j2objc. |
| 2890 | - Repository rules must use names that are valid workspace names. |
| 2891 | - [rust] Update to Rust 1.6 |
| 2892 | - Add support for .tar.xz archives to http_archive rules. |
| 2893 | - Make C++ modules compatible with tools using |
| 2894 | --compilation_prerequisites_only |
| 2895 | - [d] Update to DMD 2.070.0 |
| 2896 | |
Bazel Release System | 446d992 | 2016-01-21 10:59:31 +0100 | [diff] [blame] | 2897 | ## Release 0.1.4 (2016-01-15) |
| 2898 | |
| 2899 | ``` |
| 2900 | Baseline: e933d5e |
| 2901 | + 3d796fe: Rollback of commit |
| 2902 | ac6ed79e1a3fa6b0ca91657b28e2a35f7e49758c. |
| 2903 | + 7a02e5d: Fix installer under OS X |
| 2904 | + 848740c: Fix bazel version for debian package |
| 2905 | + 7751d43: Add a method for getting the root of a rule workspace |
| 2906 | to the Label method |
| 2907 | ``` |
| 2908 | |
| 2909 | Important changes: |
| 2910 | |
| 2911 | - add loadfiles() query operator, to find skylark files loaded by |
| 2912 | targets. |
| 2913 | - Added ability to declare and use aspects in Skylark. |
| 2914 | - Skylark load statements may now reference .bzl files via build |
| 2915 | labels, in addition to paths. In particular, such labels can be |
| 2916 | used to reference Skylark files in external repositories; e.g., |
| 2917 | load("@my_external_repo//some_pkg:some_file.bzl", ...). |
| 2918 | Path-based loads are now deprecated and may be disabled in the |
| 2919 | future. Caveats: Skylark files currently do not respect package |
| 2920 | visibility; i.e., all Skylark files are effectively public. Also, |
| 2921 | loads may not reference the special //external package. |
| 2922 | - Relative paths can now be used for 'path' with |
| 2923 | new_local_repository and local_repository. |
| 2924 | |
Bazel Release System | 1518253e | 2016-01-11 10:10:19 +0100 | [diff] [blame] | 2925 | ## Release 0.1.3 (2016-01-07) |
| 2926 | |
| 2927 | ``` |
| 2928 | Baseline: 23ad8f6 |
| 2929 | + de2183d: Only depend on the WORKSPACE file for external files |
| 2930 | that are under the external/ directory, i.e. were |
| 2931 | created by Bazel. |
| 2932 | + f8f855c: Rollback of commit |
| 2933 | 12bad3af0eade9c4b79d76f9e1c950ad2e3214c2. |
| 2934 | + f627562: Stop parsing the WORKSPACE file when a parse error is |
| 2935 | detected |
| 2936 | + 763f139: Add -fno-canonical-system-headers to CROSSTOOL files so |
| 2937 | that gcc doesn't resolve symlinks in .d files, which |
| 2938 | would confuse Blaze. |
| 2939 | + b95995b: Use openjdk7 as dependency for debian package of jdk7 |
| 2940 | flavor |
| 2941 | ``` |
| 2942 | |
| 2943 | New features: |
| 2944 | |
| 2945 | - Skylark macros are now enabled in WORKSPACE file. |
| 2946 | - .bazelrc allows workspace-relative imports as "import |
| 2947 | %workspace%/path/to/rcfile" |
| 2948 | - Evaluate the query expression in a file by passing |
| 2949 | --query_file=<file> to query |
| 2950 | |
| 2951 | Important changes: |
| 2952 | |
| 2953 | - Remove obsolete --objc_per_proto_includes flag. |
| 2954 | - iOS apps and extensions now have launch_storyboard |
| 2955 | - Passing multiple JVM options via a single --host_jvm_args flag is |
| 2956 | now deprecated. Pass each JVM option behind its own |
| 2957 | --host_jvm_args flag. |
| 2958 | - Resources defined locally on an android_library rule will respect |
| 2959 | the neverlink attribute. |
| 2960 | - Update Rust to 1.4 |
| 2961 | - Fix resource handling for exported android_library rules |
| 2962 | - Files in external repositories are now treated as mutable, which |
| 2963 | will make the correctness guarantees of using external |
| 2964 | repositories stronger (existent), but may cause performance |
| 2965 | penalties. |
| 2966 | |
Bazel Release System | 0d2e409 | 2015-12-04 23:31:41 +0100 | [diff] [blame] | 2967 | ## Release 0.1.2 (2015-11-20) |
| 2968 | |
| 2969 | ``` |
| 2970 | Baseline: ee0ade3 |
| 2971 | + 1e66ccd: RELNOTES: Symlink dirents of directories containing a |
| 2972 | file named |
| 2973 | "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA |
| 2974 | _A_RECURSIVE_TARGET_PATTERN" will *not* be traversed |
| 2975 | for transitive target patterns. The motivation here is |
| 2976 | to allow directories that intentionally contain wonky |
| 2977 | symlinks (e.g. foo/bar -> foo) to opt out of being |
| 2978 | consumed by Blaze. For example, given |
| 2979 | + f5773fc: Set the ijar MAX_BUFFER_SIZE to 256 MB |
| 2980 | ``` |
| 2981 | |
| 2982 | New features: |
| 2983 | |
| 2984 | - java_library now supports the proguard_specs attribute for |
| 2985 | passing Proguard configuration up to Android (not Java) binaries. |
| 2986 | - http_file can specify "executable" to make the downloaded file |
| 2987 | runnable. |
| 2988 | - Debian and tar packaging is now supported |
| 2989 | (see tools/build_defs/pkg/README.md). |
| 2990 | - cpxx_builtin_include_directory specifications allow more |
| 2991 | flexibility. |
| 2992 | - accept %crosstool_top% in cxx_builtin_include_directory |
| 2993 | - android_binary now supports proguard_apply_mapping to re-use a |
| 2994 | previously generated proguard mapping. |
| 2995 | |
| 2996 | Important changes: |
| 2997 | |
| 2998 | - remove webstatusserver (--use_webstatusserver). |
| 2999 | - Add support for objc textual headers, which will not be compiled |
| 3000 | when modules are enabled. |
| 3001 | - actoolzip, momczip and swiftstdlibtoolzip have all been made into |
| 3002 | bash scripts and have been renamed to actoolwrapper, momcwrapper |
| 3003 | and swiftstdlibtoolwrapper respectively. The old versions will be |
| 3004 | deleted in a later change. |
| 3005 | - [rust] Add rust_bench_test and rust_doc_test rules and improve |
| 3006 | usability of rust_test tule. |
| 3007 | - Java rules now support a resource_strip_prefix attribute that |
| 3008 | allows the removal of path prefixes from Java resources. |
| 3009 | - [docker_build] incremental loading is default now. |
| 3010 | Specify explicitly //package:target.tar (with the .tar extension) |
| 3011 | to obtain the full image. |
| 3012 | - --ios_signing_cert_name allows specifying a cert for iOS app |
| 3013 | signing |
| 3014 | - Go rules for Bazel. |
| 3015 | - [jsonnet] Update to Jsonnet 0.8.1. |
| 3016 | - [jsonnet] Add vars and code_vars attributes to jsonnet_to_json to |
| 3017 | allow passing external variables to Jsonnet via --var and |
| 3018 | --code_var. |
| 3019 | - Adds --override_workspace_root blaze flag to hand-set |
| 3020 | workspace_root and mainGroup in xcodeproj. |
| 3021 | - Allow dots in package names. |
| 3022 | - When used as a forwarding rule (i.e., has no sources), |
| 3023 | android_library |
| 3024 | will also forward any exported_plugins in its dependencies. |
| 3025 | - Add support for Windows-created zip files with non-posix |
| 3026 | permissions. |
| 3027 | - [jsonnet] Add jsonnet_to_json_test rule for testing Jsonnet code. |
| 3028 | - C++ compile actions run in a sandbox now on systems that support |
| 3029 | sandboxed execution. |
| 3030 | - The names of the clang compilers in the Android NDK crosstool no |
| 3031 | longer reference gcc. |
| 3032 | - 420 dpi is now a valid density for andoid_binary.densities. |
| 3033 | - Bazel does strict validation of include files now to ensure |
| 3034 | correct incremental builds. If you see compilation errors when |
| 3035 | building C++ code, please make sure that you explicitly declare |
| 3036 | all header files in the srcs or hdrs attribute of your cc_* |
| 3037 | targets and that your cc_* targets have correct "deps" on |
| 3038 | cc_library's that they use. |
| 3039 | - [jsonnet] Fix jsonnet_to_json rule to read code_vars from |
| 3040 | code_vars instead of vars. |
| 3041 | - Tests, genrules, and Skylark actions without the |
| 3042 | "requires-network" tag will no longer be able to access the |
| 3043 | network. |
| 3044 | - C++ libraries no longer need includes = ["."] (or similar copts) |
| 3045 | to include paths relative to a remote repository's root. |
| 3046 | - Support exports attribute for android_library |
| 3047 | - Symlink dirents of directories containing a file named |
| 3048 | "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA_A_RECURSI |
| 3049 | VE_TARGET_PATTERN" will *not* be traversed for transitive target |
| 3050 | patterns. The motivation here is to allow directories that |
| 3051 | intentionally contain wonky symlinks (e.g. foo/bar -> foo) to opt |
| 3052 | out of being consumed by Blaze. |
| 3053 | |
Bazel Release System | fa35b18 | 2015-10-14 12:11:51 -0400 | [diff] [blame] | 3054 | ## Release 0.1.1 (2015-10-05) |
| 3055 | |
| 3056 | ``` |
| 3057 | Baseline: 22616ae |
| 3058 | + 1ef338f: Rollback of "Propagates cc_library linkopts attribute |
| 3059 | to dependent objc_libraries.": breaks certain |
| 3060 | objc_binary build targets. |
| 3061 | + 5fb1073: Reintroduce an inconsistency check (albeit, in a weaker |
| 3062 | form) removed by a previous change that was trying to |
| 3063 | optimize away a filesystem call. |
| 3064 | + 6d00468b2eb976866cfb814d562e0d53a580a46f: Add IdlClass to the embedded default android tools |
| 3065 | repository and rearrange BuildJar's JarHelper so that |
| 3066 | it too can be embedded. |
| 3067 | + a5199039934a2e399a7201adc0d74e2f2d2b0ff3: Fixes Android integration tests by wiring up idlclass |
| 3068 | rules in integration environment. |
| 3069 | ``` |
| 3070 | |
| 3071 | Incompatible changes: |
| 3072 | |
| 3073 | - Bazel requires JDK 8 to run. |
| 3074 | - Attribute "copts" is removed from j2objc_library. |
| 3075 | |
| 3076 | New features: |
| 3077 | |
| 3078 | - a cc_binary rule may list '.s' and '.asm' files in the srcs |
| 3079 | - Support for build with libsass. |
| 3080 | - labels in "linkopts" may match any label in either "deps" or |
| 3081 | "srcs" to be considered valid. |
| 3082 | - Maven servers that require username & password authentication are |
| 3083 | now supported (see maven_server documentation). |
| 3084 | |
| 3085 | Important changes: |
| 3086 | |
| 3087 | - Support empty plist files |
| 3088 | - The <compatible-screens> section of the AndroidManifest.xml will |
| 3089 | not be overwritten if it already contains a <screen> tag for each |
| 3090 | of the densities specified on the android_binary rule. |
| 3091 | - Add Jsonnet rules to Bazel |
| 3092 | - Remove deprecated xcode_options flag. |
| 3093 | - Workspace names are now restricted to being in their base |
| 3094 | directory |
| 3095 | (that is, the names cannot contain up-level references or /./). |
| 3096 | - j2objc_library on Bazel now transpiles transitive proto_library |
| 3097 | dependencies. (Note that java_* rules in Bazel do not yet support |
| 3098 | protos; currently they ignore proto dependencies.) |
| 3099 | - new_http_archive can specify a root directory. |
| 3100 | - Adds support for dylibs on devices for Xcode 7. |
| 3101 | - [d] d_docs rules now depend on a d_binary, a d_library or |
| 3102 | d_source_library. |
| 3103 | - [docker] docker_build now set the permission to 0555 to files |
| 3104 | added to the layer, use `mode = "0644"` to use the legacy behavior. |
| 3105 | - android_binary now has a main_dex_proguard_specs attribute to |
| 3106 | specify which classes should be in the main dex. |
| 3107 | - [rust] Add rust_docs rule for generating rustdoc. |
Bazel Release System | 79e40ac | 2015-09-08 23:38:00 +0200 | [diff] [blame] | 3108 | ## Release 0.1.0 (2015-09-08) |
| 3109 | |
| 3110 | ``` |
| 3111 | Baseline: a0881e8 |
| 3112 | + 87374e6: Make android_binary use a constant, hard-coded, |
| 3113 | checked-in debug key. |
| 3114 | + 2984f1c: Adds some safety checks in the Bazel installer |
| 3115 | + 4e21d90: Remove BUILD.glob and incorporate the necessary |
| 3116 | filegroups into the android_{ndk,sdk}_repository rules |
| 3117 | themselves. |
| 3118 | + 1ee813e: Fix Groovy rules to work with sandboxing |
| 3119 | + 8741978: Add initial D rules to Bazel. |
| 3120 | + 2c2e70d: Fix the installer and fixing the package shiped into |
| 3121 | binary version of Bazel. |
| 3122 | ``` |
| 3123 | |
| 3124 | Initial release. |
Bazel Release System | 6712cac | 2017-02-01 19:53:37 +0100 | [diff] [blame] | 3125 | |
Bazel Release System | 8d635fc | 2017-03-16 13:18:30 +0100 | [diff] [blame] | 3126 | |
Bazel Release System | a3e2683 | 2017-05-26 14:11:07 +0200 | [diff] [blame] | 3127 | |
Bazel Release System | 63222de | 2017-06-06 11:32:04 +0200 | [diff] [blame] | 3128 | |
Bazel Release System | 7b85122 | 2017-06-27 15:08:47 +0200 | [diff] [blame] | 3129 | |
Bazel Release System | 195a7a8 | 2017-07-27 20:27:32 +0200 | [diff] [blame] | 3130 | |
Bazel Release System | 5371d13 | 2017-08-25 11:24:06 +0200 | [diff] [blame] | 3131 | |
Bazel Release System | 471c0e1 | 2017-09-28 16:36:12 +0200 | [diff] [blame] | 3132 | |
Bazel Release System | ed0ebc0 | 2017-10-05 23:52:25 +0200 | [diff] [blame] | 3133 | |
Bazel Release System | 76b6d0a | 2017-10-18 14:34:11 +0200 | [diff] [blame] | 3134 | |
Bazel Release System | 0838aee | 2017-11-27 14:16:34 +0100 | [diff] [blame] | 3135 | |
Bazel Release System | 3d53cb0 | 2017-12-05 15:28:40 +0100 | [diff] [blame] | 3136 | |
Bazel Release System | 5bd2748 | 2018-02-01 09:43:33 +0100 | [diff] [blame] | 3137 | |
Bazel Release System | e114836 | 2018-02-15 10:02:05 +0100 | [diff] [blame] | 3138 | |
Bazel Release System | 09077a3 | 2018-02-23 11:09:18 -0500 | [diff] [blame] | 3139 | |
Bazel Release System | c86d6a0 | 2018-03-06 19:32:18 +0100 | [diff] [blame] | 3140 | |
Bazel Release System | 546976c | 2018-04-11 17:34:19 +0200 | [diff] [blame] | 3141 | |
Bazel Release System | 1d9c606 | 2018-04-30 10:45:38 +0200 | [diff] [blame] | 3142 | |
Bazel Release System | 24c68ff | 2018-05-23 10:59:57 +0200 | [diff] [blame] | 3143 | |
Bazel Release System | 3a592f6 | 2018-06-01 15:04:31 +0200 | [diff] [blame] | 3144 | |
Bazel Release System | 513bbf5 | 2018-06-08 14:15:20 +0200 | [diff] [blame] | 3145 | |
Bazel Release System | 5013a33 | 2018-06-26 14:07:47 +0200 | [diff] [blame] | 3146 | |
Bazel Release System | 1281a02 | 2018-07-16 16:13:53 +0200 | [diff] [blame] | 3147 | |
Bazel Release System | 1bd5883 | 2018-08-13 15:41:26 +0200 | [diff] [blame] | 3148 | |