Bazel Release System | 8d635fc | 2017-03-16 13:18:30 +0100 | [diff] [blame] | 1 | ## Release 0.4.5 (2017-03-16) |
| 2 | |
| 3 | ``` |
| 4 | Baseline: 2e689c29d5fc8a747216563235e905b1b62d63b0 |
| 5 | |
| 6 | Cherry picks: |
| 7 | + a28b54033227d930672ec7f2714de52e5e0a67eb: |
| 8 | Fix Cpp action caching |
| 9 | + 6d1d424b4c0da724e20e14235de8012f05c470f8: |
| 10 | Fix paths of binaries in .deb packages. |
| 11 | + 0785cbb672357d950e0c045770c4567df9fbdc43: |
| 12 | Update to guava 21.0 and Error Prone version 2.0.18-20160224 |
| 13 | + 30490512eb0e48a3774cc4e4ef78680e77dd4e47: |
| 14 | Update to latest javac and Error Prone |
| 15 | + 867d16eab3bfabae070567ecd878c291978ff338: |
| 16 | Allow ' ', '(', ')' and '$' in labels |
| 17 | + 7b295d34f3a4f42c13aafc1cc8afba3cb4aa2985: |
| 18 | Pass through -sourcepath to the JavaBuilder |
| 19 | + 14e4755ce554cdfc685fc9cc2bfb5b699a3b48f4: |
| 20 | PathFragment comparisons are now platform-aware |
| 21 | + ed7795234ca7ccd2567007f2c502f853cd947e50: |
| 22 | Flag to import external repositories in python import path |
| 23 | + 81ae08bbc13f5f4a04f18caae339ca77ae2699c1: |
| 24 | Suppress error for non-exhaustive switches |
| 25 | + e8d1177eef9a9798d2b971630b8cea59471eec33: |
| 26 | Correctly returns null if an environment variables is missing |
| 27 | + 869d52f145c077e3499b88df752cebc60af51d66: |
| 28 | Fix NPE in Android{S,N}dkRepositoryFunction. |
| 29 | + d72bc57b60b26245e64f5ccafe023a5ede81cc7f: |
| 30 | Select the good guava jars for JDK7 build |
| 31 | + 92ecbaeaf6fa11dff161254df38d743d48be8c61: |
| 32 | Windows: Assist JNI builds with a target for jni_md.h. |
| 33 | + 36958806f2cd38dc51e64cd7bcc557bd143bbdb6: |
| 34 | Add java_common.create_provider to allow creating a |
| 35 | java_common.provider |
| 36 | + 8c00f398d7be863c4f502bde3f5d282b1e18f504: |
| 37 | Improve handling of unknown NDK revisions in |
| 38 | android_ndk_repository. |
| 39 | + b6ea0d33d3ab72922c8fb3ec1ff0e437af09584d: |
| 40 | Add the appropriate cxx_builtin_include_directory entries for |
| 41 | clang to the Android NDK crosstool created by |
| 42 | android_ndk_repository. |
| 43 | ``` |
| 44 | |
| 45 | Incompatible changes: |
| 46 | |
| 47 | - Depsets (former sets) are converted to strings as "depset(...)" |
| 48 | instead of |
| 49 | "set(...)". |
| 50 | - Using --symlink_prefix is now applied to the output |
| 51 | symlink (e.g. bazel-out) and the exec root symlink (e.g. |
| 52 | bazel-workspace). |
| 53 | - Bazel now uses the test's PATH for commands specified as |
| 54 | --run_under; this can affect users who explicitly set PATH to |
| 55 | a more |
| 56 | restrictive value than the default, which is to forward the |
| 57 | local PATH |
| 58 | - It's not allowed anymore to compare objects of different types |
| 59 | (i.e. a string to an integer) and objects for which comparison |
| 60 | rules are not |
| 61 | defined (i.e. a dict to another dict) using order operators. |
| 62 | |
| 63 | New features: |
| 64 | |
| 65 | - environ parameter to the repository_rule function let |
| 66 | defines a list of environment variables for which a change of |
| 67 | value |
| 68 | will trigger a repository refetching. |
| 69 | |
| 70 | Important changes: |
| 71 | |
| 72 | - android_ndk_repository now supports Android NDK R13. |
| 73 | - Android resource shrinking is now available for android_binary |
| 74 | rules. To enable, set the attribute 'shrink_resources = 1'. See |
| 75 | https://bazel.build/versions/master/docs/be/android.html#android_b |
| 76 | inary.shrink_resources. |
| 77 | - resolve_command/action's input_manifest return/parameter is now |
| 78 | list |
| 79 | - For increased compatibility with environments where UTS |
| 80 | namespaces are not available, the Linux sandbox no longer hides |
| 81 | the hostname of the local machine by default. Use |
| 82 | --sandbox_fake_hostname to re-enable this feature. |
| 83 | - proto_library: alias libraries produce empty files for descriptor |
| 84 | sets. |
| 85 | - Adds pkg_rpm rule for generating RPM packages. |
| 86 | - Allow CROSSTOOL files to have linker flags specific to static |
| 87 | shared libraries. |
| 88 | - Make it mandatory for Java test suites in bazel codebase, to |
| 89 | contain at least one test. |
| 90 | - Support for Java 8 lambdas, method references, type annotations |
| 91 | and repeated annotations in Android builds with |
| 92 | --experimental_desugar_for_android. |
| 93 | - Removed .xcodeproj automatic output from objc rules. It can still |
| 94 | be generated by requesting it explicitly on the command line. |
| 95 | - Flips --explicit_jre_deps flag on by default. |
| 96 | - Activate the "dbg", "fastbuild", and "opt" features in the objc |
| 97 | CROSSTOOL. |
| 98 | - Remove support for configuring JDKs with filegroups; use |
| 99 | java_runtime and java_runtime_suite instead |
| 100 | - android_ndk_repository api_level attribute is now optional. If not |
| 101 | specified, the highest api level in the ndk/platforms directory |
| 102 | is used. |
| 103 | |
Bazel Release System | 6712cac | 2017-02-01 19:53:37 +0100 | [diff] [blame] | 104 | ## Release 0.4.4 (2017-02-01) |
| 105 | |
| 106 | ``` |
| 107 | Baseline: 4bf8cc30a |
| 108 | |
| 109 | Cherry picks: |
| 110 | + ef1c6fd33: msvc_tools.py.tpl: Change default runtime library to |
| 111 | static |
| 112 | ``` |
| 113 | |
| 114 | Incompatible changes: |
| 115 | |
| 116 | - Only targets with public visibility can be bound to something in |
| 117 | //external: . |
| 118 | - The deprecated -x startup option has been removed. |
| 119 | - docker_build: change the repository names embedded by |
| 120 | docker_build. You can revert to the old behavior by setting |
| 121 | legacy_repository_naming=True. |
| 122 | - The string methods strip(), lstrip(), and rstrip() now |
| 123 | by default remove the same whitespace characters as Python 3 |
| 124 | does, and accept |
| 125 | None as an argument. |
| 126 | - Deprecated globals HOST_CFG and DATA_CFG are removed. Use strings |
| 127 | "host" and "data" instead. |
| 128 | - repository_ctx environment is now affected by --action_env flag |
| 129 | (value from the |
| 130 | client environment will be replaced by value given on the command |
| 131 | line through --action_env). |
| 132 | - All executable labels must also have a cfg parameter specified. |
| 133 | - Removed the cmd_helper.template function. |
| 134 | The function was equivalent to: |
| 135 | def template(items, template): |
| 136 | return [template.format(path = i.path, short_path = |
| 137 | i.short_path) |
| 138 | for i in items] |
| 139 | - Tuples that end with a trailing comma must now be inside parens, |
| 140 | e.g. (1,) instead of 1, |
| 141 | - The traversal orders for depsets have been renamed. The old names |
| 142 | are deprecated and will be removed in the future. New names: |
| 143 | "stable" -> "default", "compile" -> "postorder", "link" -> |
| 144 | "topological", "naive_link" -> "preorder". |
| 145 | |
| 146 | New features: |
| 147 | |
| 148 | - Skylark: you can now multiply a list by an integer to get the |
| 149 | concatenation of N copies of this list, e.g. [a,b] * 3 = |
| 150 | [a,b,a,b,a,b] |
| 151 | - Allow Android aidl tool to add a jar to the program's classpath, |
| 152 | such as if needed to support generated sources. |
| 153 | - Add transitive proguard_specs when android_sdk.aidl_lib is |
| 154 | specified |
| 155 | - Windows: "/dev/null" is now a supported path, e.g. |
| 156 | --bazelrc=/dev/null now works |
| 157 | |
| 158 | Important changes: |
| 159 | |
| 160 | - Bazel Android builds use the apksigner tool from the Android SDK |
| 161 | build-tools. Bazel Android builds now require build-tools version |
| 162 | 24.0.3 or |
| 163 | later. |
| 164 | - Android SDK external bindings for support libraries, e.g. |
| 165 | //external:android/appcompat_v4, are removed because the support |
| 166 | library JARs that they referenced no longer ship with the Android |
| 167 | SDK. |
| 168 | - aar_import rule is now documented. |
| 169 | - An IE bug was fixed in repository_ctx.download_and_extract |
| 170 | - Update "-I" to "-isystem" in documentation to reflect current |
| 171 | behavior. |
| 172 | - android_sdk_repository build_tools_version is now optional. The |
| 173 | highest installed build-tools will be used if none is specified. |
| 174 | - New flag --sandbox_add_mount_pair to specify customized |
| 175 | source:target path pairs to bind mount inside the sandbox. |
| 176 | - expose proto_library descriptor set to skylark via |
| 177 | <dep>.proto.descriptor_set |
| 178 | - The `set` constructor is deprecated in favor of `depset` |
| 179 | - Autodetect gold linker in cc_configure.bzl |
| 180 | - Remove build flag --experimental_j2objc_annotation_processing. It |
| 181 | is on by default now. |
| 182 | - Set clang's -mwatchos-version-min correctly using the value of |
| 183 | --watchos_minimum_os, not --watchos_sdk_version. |
| 184 | - singlejar can now create jar files larger than 4GB. |
| 185 | - android_sdk_repository and android_ndk_repository now read |
| 186 | $ANDROID_HOME and $ANDROID_NDK_HOME if the path attribute is not |
| 187 | set. |
| 188 | - Removed broken api levels 3, 4 and 5 from Android NDK 12. |
| 189 | - Default --android_dynamic_mode to off. |
| 190 | - android_sdk_repository no longer requires api_level. If one is |
| 191 | not specified, the highest android platform installed will be |
| 192 | used. Furthermore, android_sdk's are created for all android |
| 193 | platforms installed and can be specified with the --android_sdk |
| 194 | flag. |
| 195 | - To iterate over or test for membership in a set, prefer using the |
| 196 | new to_list() method. E.g., "for x in myset.to_list():", or |
| 197 | "print(x in myset.to_list())". Iteration/membership-test on the |
| 198 | raw set itself is deprecated. |
| 199 | - Remove support for --javawarn; use e.g. --javacopt=-Xlint:all |
| 200 | instead |
| 201 | |
Bazel Release System | d3b2364 | 2016-12-22 13:30:47 +0100 | [diff] [blame] | 202 | ## Release 0.4.3 (2016-12-22) |
Bazel Release System | 80865ff | 2016-11-30 13:18:54 +0100 | [diff] [blame] | 203 | |
Damien Martin-Guillerez | 961e54f | 2016-12-22 13:33:36 +0100 | [diff] [blame] | 204 | ``` |
Bazel Release System | d3b2364 | 2016-12-22 13:30:47 +0100 | [diff] [blame] | 205 | Baseline: c645a45 |
Bazel Release System | 80865ff | 2016-11-30 13:18:54 +0100 | [diff] [blame] | 206 | |
| 207 | Cherry picks: |
Bazel Release System | d3b2364 | 2016-12-22 13:30:47 +0100 | [diff] [blame] | 208 | + af878d0: Add coverage support for java test. (series 4/4 of |
| 209 | open-sourcing coverage command for java test) |
| 210 | + 09b92a8: Rollback of commit |
| 211 | 67b4d5250edcefa7220e928e529b1f385e2dc464. |
| 212 | + b11dd48: Fix bad bug with the parallel implementation of |
| 213 | BinaryOperatorExpression. Turns out that |
| 214 | ForkJoinTask#adapt(Callable) returns a ForkJoinTask |
| 215 | whose Future#get on error throws a ExecutionException |
| 216 | wrapping a RuntimeException wrapping the thrown checked |
| 217 | exception from the callable. This is documented |
| 218 | behavior [1] that I incorrectly didn't know about. |
| 219 | + 9012bf1: Fix scripts/packages/convert_changelog to read the |
| 220 | changelog correctly |
| 221 | + 55c97bc: Release script: if master branch does not exist, fall |
| 222 | back on origin/master |
| 223 | + 4fb378c: Debian repository: override section and priority fields |
| 224 | + acbcbc2: Fix release notes in emails |
| 225 | + 4975760: Fix PathFragment to not use Java8-only static hashCode |
| 226 | methods. |
| 227 | + 05fd076: Disable sandboxing for XibCompile actions. |
Damien Martin-Guillerez | 961e54f | 2016-12-22 13:33:36 +0100 | [diff] [blame] | 228 | ``` |
Bazel Release System | 80865ff | 2016-11-30 13:18:54 +0100 | [diff] [blame] | 229 | |
| 230 | Incompatible changes: |
| 231 | |
Bazel Release System | d3b2364 | 2016-12-22 13:30:47 +0100 | [diff] [blame] | 232 | - Skylark maven_jar and maven_aar settings attribute is now a label |
| 233 | so it can be checked into your workspace. |
| 234 | - --{no}experimental_use_rclass_generator is now a nop. |
| 235 | |
| 236 | New features: |
| 237 | |
| 238 | - Coverage support (*experimental*) for pure Java target. |
| 239 | Use `bazel coverage //my:target` to generate coverage information |
| 240 | from a `java_test`. |
Bazel Release System | 80865ff | 2016-11-30 13:18:54 +0100 | [diff] [blame] | 241 | |
| 242 | Important changes: |
| 243 | |
Bazel Release System | d3b2364 | 2016-12-22 13:30:47 +0100 | [diff] [blame] | 244 | - Enable fallback URLs in Skylark http rules. |
| 245 | - cc_proto_library generates C++ code from proto_library rules. |
| 246 | - cc_library now supports the strip_prefix and strip_include_prefix |
| 247 | attributes for control of include paths. |
| 248 | - Skylark dicts internally don't rely on keys order anymore and |
| 249 | accept any hashable values (i.e. structs with immutable values) |
| 250 | as keys. Iteration order of dictionaries is no longer specified. |
Damien Martin-Guillerez | 961e54f | 2016-12-22 13:33:36 +0100 | [diff] [blame] | 251 | |
| 252 | ## Release 0.4.2 (2016-12-02) |
| 253 | |
| 254 | ``` |
| 255 | Baseline: 6331a94 |
| 256 | |
| 257 | Cherry picks: |
| 258 | + 7b835d9: Do not patch WORKSPACE in the release process |
| 259 | ``` |
| 260 | |
| 261 | Incompatible changes: |
| 262 | |
| 263 | - Callback functions in Skylark no longer support the cfg |
| 264 | parameter. This is a cleanup and only affects the signatures of |
| 265 | callbacks, since the parameter hasn't been set since September |
| 266 | 2016. |
| 267 | |
| 268 | Important changes: |
| 269 | |
| 270 | - Alias proto_library's produce a descriptor set that contains all |
| 271 | srcs of its dependencies. |
| 272 | - proto_library supports strict proto deps. |
| 273 | - Top level @androidsdk support library targets have been replaced |
| 274 | by @androidsdk//<group id>:<artifact id>-<version> for Android |
| 275 | SDK Support and Google Play Services libraries. |
| 276 | |
Bazel Release System | 15402a9 | 2016-11-30 10:12:30 +0100 | [diff] [blame] | 277 | ## Release 0.4.1 (2016-11-21) |
| 278 | |
| 279 | ``` |
| 280 | Baseline: 9a796de |
| 281 | |
| 282 | Cherry picks: |
| 283 | + 88bfe85: Description redacted. -- MOS_MIGRATED_REVID=139219934 |
| 284 | + b09ea94: Rollback of commit |
| 285 | a3f5f576cd35798140ba3e81d03d919dd4ecb847. |
| 286 | ``` |
| 287 | |
| 288 | New features: |
| 289 | |
| 290 | - android_library now has a "exported_plugins" attribute just like |
| 291 | java_library |
| 292 | - Use --strict_system_includes to apply hdrs_check=strict also to |
| 293 | cc_library.includes, even if sandboxing is disabled. |
| 294 | - Bazel on Windows: java_binary can now be the executable of |
| 295 | Skylark rule actions (ctx.action's executable argument) |
| 296 | - Packages are defined in BUILD.bazel as well as BUILD files. |
| 297 | |
| 298 | Important changes: |
| 299 | |
| 300 | - getattr()'s 3-arg form no longer raises an error when the |
| 301 | retrieved field is a built-in method. |
| 302 | - --apk_signing_method default changed to v1. Android APKs are now |
| 303 | signed with the new ApkSignerTool by default. |
| 304 | - New rule: proto_lang_toolchain(), to support LANG_proto_library |
| 305 | rules on multiple platforms. |
| 306 | - Fix for Android clang++ std::stack segfault on 32bit x86. See |
| 307 | https://code.google.com/p/android/issues/detail?id=220159 |
| 308 | - Default android_manifest_merger is now "android" which uses the |
| 309 | official Android manifest merger. |
| 310 | http://tools.android.com/tech-docs/new-build-system/user-guide/man |
| 311 | ifest-merger |
| 312 | - Do not propagate aspect to its own attributes when using '*'. |
| 313 | - Comparing sets (`if set1 < set2:`) is not allowed anymore in |
| 314 | Skylark because it didn't work correctly anyway. |
| 315 | - When --experimental_extra_action_top_level_only, Bazel reports |
| 316 | extra-actions for actions registered by Aspects injected by a |
| 317 | top-level rule (approximately). |
| 318 | - Blacklists for proto_lang_toolchain() no longer have to be |
| 319 | proto_library's. |
| 320 | - Extra actions now contain aspect-related information. |
| 321 | - Fix slicing bug where "abc"[:-4:-1] would give wrong answer |
| 322 | |
Bazel Release System | d0761e6 | 2016-11-02 13:36:35 -0400 | [diff] [blame] | 323 | ## Release 0.4.0 (2016-10-26) |
| 324 | |
| 325 | ``` |
| 326 | Baseline: 088bbc6 |
| 327 | |
| 328 | Cherry picks: |
| 329 | + b01160c: Stamp Windows release. |
| 330 | + 2d6736e: Add --no-tty for gpg signing |
| 331 | + 9b1dfb8: Remove .sig file before gpg signing |
| 332 | + 81aede1: Reimplement whole archive on Windows |
| 333 | ``` |
| 334 | |
| 335 | Incompatible changes: |
| 336 | |
| 337 | - Skylark: updating list/dicts while they are being looped over is not |
| 338 | allowed. Use an explicit copy if needed ("for x in list(mylist):"). |
| 339 | - Bazel now uses the --cpu flag to look up Jvms; it falls back |
| 340 | to "default" if it can't find a Jvm matching the CPU value. |
| 341 | - --command_port=-1 to use AF_UNIX for client/server communications |
| 342 | is not supported anymore. |
| 343 | - Sandboxed actions can access the network by default, unless their |
| 344 | target has a "block-network" tag. |
| 345 | |
| 346 | New features: |
| 347 | |
| 348 | - Files now have an "extension" property in Skylark. |
| 349 | |
| 350 | Important changes: |
| 351 | |
| 352 | - Added a new flag --sandbox_tmpfs_path, which asks the sandbox to |
| 353 | mount an empty, writable directory at a specified path when |
| 354 | running actions. (Supported on Linux only for now.) |
| 355 | - Update protoc-3.0.0-mingw.exe to a working (statically linked) |
| 356 | binary |
| 357 | - apple_static_library rule to create multi-architecture static |
| 358 | archive files from Objc/C++/Swift dependencies on apple platforms |
| 359 | - JS: Add support for localization with closure managed rules. |
| 360 | - Create a flag --android_dynamic_mode to turn off dynamic mode |
| 361 | during the Android split transition. |
| 362 | - Darwin sandboxing is default. |
| 363 | - Remove flag --experimental_zip_tree_artifact from j2objc Java |
| 364 | annotation processing support. |
| 365 | - A few functions are added to BUILD files for consistency (hash, |
| 366 | dir, |
| 367 | hasattr, getattr) with .bzl files, although they are not very |
| 368 | useful. |
| 369 | - --watchfs is now a command option; the startup option of the same |
| 370 | name is deprecated. I.e., use bazel build --watchfs, not |
| 371 | blaze --watchfs |
| 372 | build. |
| 373 | |
Bazel Release System | 33579a4 | 2016-10-07 13:05:11 -0400 | [diff] [blame] | 374 | ## Release 0.3.2 (2016-10-07) |
| 375 | |
| 376 | ``` |
| 377 | Baseline: 023a7bd |
| 378 | |
| 379 | Cherry picks: |
| 380 | + bebbbe5: Fix dependency on libtool's helper script |
| 381 | make_hashed_objlist.py. |
| 382 | + 8a0d45f: Add the version information to the bazel.exe file |
| 383 | + 2bc0939: Allow new_ rules to overwrited BUILD files in |
| 384 | downloaded repos |
| 385 | + c5545fd: Rollback of commit |
| 386 | 96d46280bc5a4803ba2242a4ad16939f85a3b212. |
| 387 | + eb87208: Make cc_configure on Windows more robust |
| 388 | + c30432c: Fix cc_configure on Windows |
| 389 | + 95b16a8: sandbox: Replace the error-prone lazy cleanup of |
| 390 | sandbox directories by a simple synchronous cleanup. |
| 391 | + e898023: Fix #1849: Sandboxing on OS X should be turned off by |
| 392 | default for 0.3.2. |
| 393 | + ffdc05d: Add action_config and feature for linking on Windows |
| 394 | ``` |
| 395 | |
| 396 | Incompatible changes: |
| 397 | |
| 398 | - If you maintain a rule that uses persistent workers, you'll have |
| 399 | to specify execution_requirements={"supports-workers": 1} in the |
| 400 | ctx.action that intends to run a tool with workers. The |
| 401 | WorkerSpawnStrategy will alert you with a warning message if you |
| 402 | forget to make this change and fallback to non-worker based |
| 403 | execution. |
| 404 | - It is now an error to include a precompiled library (.a, .lo, .so) |
| 405 | in a cc_library which would generate a library with the same name |
| 406 | (e.g., libfoo.so in cc_library foo) if that library also contains |
| 407 | other linkable |
| 408 | sources. |
| 409 | - The main repository's execution root is under the main |
| 410 | repository's workspace name, not the source directory's basename. |
| 411 | This shouldn't |
| 412 | have any effect on most builds, but it's possible it could break |
| 413 | someone doing |
| 414 | weird things with paths in actions. |
| 415 | - Blaze doesn't support Unix domain sockets for communication |
| 416 | between its client and server anymore. Therefore, the |
| 417 | --command_port command line argument doesn't accept -1 as a valid |
| 418 | value anymore. |
| 419 | - Skylark: It is an error to shadow a global variable with a local |
| 420 | variable after the global has already been accessed in the |
| 421 | function. |
| 422 | - bin_dir and genfiles_dir are now properties of ctx, not |
| 423 | configuration. That is, to access the bin or genfiles directory |
| 424 | from a |
| 425 | Skylark rule, use ctx.bin_dir or ctx.genfiles_dir (not |
| 426 | ctx.configuration.{bin,genfiles}_dir). At the moment, you can |
| 427 | access |
| 428 | {bin,genfiles}_dir from either, but the ctx.configuration version |
| 429 | will |
| 430 | stop working in a future release. |
| 431 | - filegroup-based C++ toolchains are not supported anymore. |
| 432 | --*_crosstool_top options must always point to a |
| 433 | cc_toolchain_suite rule (or an alias of one). |
| 434 | - repository_ctx.{download,download_and_extract,execute} API now use |
| 435 | named parameters for optional parameters and no |
| 436 | longer uses argument |
| 437 | type to distinguished between arguments |
| 438 | (executable attribute name |
| 439 | must be specified when preceding optional |
| 440 | arguments are missing). |
| 441 | |
| 442 | New features: |
| 443 | |
| 444 | - print and fail are now available in BUILD files. |
| 445 | |
| 446 | Important changes: |
| 447 | |
| 448 | - Added @bazel_tools//tools/build_defs/repo/git.bzl as a Skylark |
| 449 | rule for Git repositories. |
| 450 | - Added @bazel_tools//tools/build_defs/repo/maven_rules.bzl as a |
| 451 | Skylark rule for Maven repositories. |
| 452 | - Add global hash() function for strings (only) |
| 453 | - Improve Android split transition handling. |
| 454 | - Removes exports_manifest attribute from android_binary rule. |
| 455 | - java_proto_library: control strict-deps through a rule-level and |
| 456 | a package-level attribute. |
| 457 | - Persistent workers are now used by default for Java compilation |
| 458 | in Bazel, which should speed up your Java builds by ~4x. You can |
| 459 | switch back to the old behavior via --strategy=Javac=standalone. |
| 460 | Check out http://www.bazel.io/blog/2015/12/10/java-workers.html |
| 461 | for more details. |
| 462 | - objc_* rules can now depend on any target that returns an "objc" |
| 463 | provider. |
| 464 | - Adds support for NDK12 to `android_ndk_repository` rule in Bazel. |
| 465 | - Test targets can disable the JUnit4 test security manager via a |
| 466 | property. |
| 467 | - Disable the Android split transition if --android_cpu and |
| 468 | fat_apk_cpu are both empty. |
| 469 | - New sandboxing implementation for Linux in which all actions run |
| 470 | in a separate execroot that contains input files as symlinks back |
| 471 | to the originals in the workspace. The running action now has |
| 472 | read-write access to its execroot and /tmp only and can no longer |
| 473 | write in arbitrary other places in the file system. |
| 474 | - Add worker support to single jar. |
| 475 | - Invoke source jar action as a worker. |
| 476 | - Sandboxed builds allow network access for builds by default. |
| 477 | Tests will still be run without networking, unless |
| 478 | "requires-network" is specified as a tag. |
| 479 | - Add path.realpath() method for Skylark repositories. |
| 480 | - On Mac devices, detect locally installed versions of xcode to: |
| 481 | 1. Use a sensible default if xcode is required but |
| 482 | --xcode_version is unspecified. |
| 483 | 2. Use sensible default iOS SDK version for the targeted version |
| 484 | of xcode if ios_sdk_version is unspecified. |
| 485 | - Emacs' [C-x `], a.k.a. next-error, works again in emacsen >= 25.1 |
| 486 | - swift_library can be used to build watchOS apps. |
| 487 | - Exposes the is_device field on Apple platform objects and adds |
| 488 | the apple_common.platform_type(name) method to retrieve a |
| 489 | platform_type value that can be passed to methods like the Apple |
| 490 | fragment's multi_arch_platform. |
| 491 | - Move Skylark git_repository rules to git.bzl |
| 492 | - Add support for aspects to attr.label() attributes |
| 493 | - Global varaiables HOST_CFG and DATA_CFG are deprecated in favor |
| 494 | of strings "host" |
| 495 | and "data. |
| 496 | Argument `cfg = "host"` or `cfg = "data"` is mandatory if |
| 497 | `executable = True` is provided for a label. |
| 498 | - The deprecation attribute of all rules now causes warnings |
| 499 | to be printed when other targets depend on a target with that |
| 500 | attribute set. |
| 501 | - Change default of --[no]instrument_test_targets to false, change |
| 502 | default --instrumentation_filter (which previously tried to |
| 503 | exclude test targets by heuristic) to only exclude targets in |
| 504 | javatests. |
| 505 | - Remove deprecated absolute paths in blaze IDE artifacts |
| 506 | - When using android_binary.manifest_merger="android" the merger |
| 507 | produces a summary log next to the merged manifest artifact. |
| 508 | - Allow different default mallocs per configuration. |
| 509 | |
Bazel Release System | 70c772b | 2016-07-29 10:28:13 +0200 | [diff] [blame] | 510 | ## Release 0.3.1 (2016-07-29) |
| 511 | |
| 512 | ``` |
| 513 | Baseline: 792a9d6 |
| 514 | |
| 515 | Cherry picks: |
| 516 | + 25e5995: Rollback of commit |
| 517 | a2770334ea3f3111026eb3e1368586921468710c. |
| 518 | + 2479405: Fix NPE with unset maven_jar sha1 |
| 519 | + 3cf2126: Rewrite the extra action info files if the data within |
| 520 | them changes. |
| 521 | + 5a9c6b4: JavaBuilder: Reintroduce the -extra_checks flag. |
| 522 | ``` |
| 523 | |
| 524 | Incompatible changes: |
| 525 | |
| 526 | - Removed predefined Python variable "generic_cpu". |
| 527 | - Skylark rules: if you set "outputs" or an attribute to a |
| 528 | function, this function must now list its required attributes as |
| 529 | parameters (instead of an attribute map). |
| 530 | - The host_platform and target_platform entries are not written to |
| 531 | the master log anymore. |
| 532 | - Bazel requires Hazelcast 3.6 or higher now for remote execution |
| 533 | support, because we upgraded our client library and the protocol |
| 534 | it uses is incompatible with older versions. |
| 535 | |
| 536 | New features: |
| 537 | |
| 538 | - LIPO context (--lipo_context) can now also be a cc_test (in |
| 539 | addition to cc_binary) |
| 540 | |
| 541 | Important changes: |
| 542 | |
| 543 | - If --android_crosstool_top is set, native code compiled for |
| 544 | android will always use --android_compiler and not --compiler in |
| 545 | choosing the crosstool toolchain, and will use --android_cpu if |
| 546 | --fat_apk_cpu is not set. |
| 547 | - Add --instrument_test_targets option. |
| 548 | - apple_binary supports a new platform_type attribute, which, if |
| 549 | set to "watchos", will build dependencies for Apple's watchOS2. |
| 550 | - objc_binary now supports late-loaded dynamic frameworks. |
| 551 | - Native Swift rules no longer pull in module maps unconditionally. |
| 552 | Use --experimental_objc_enable_module_maps for that. |
| 553 | - Merged manifests are guaranteed to have the application element |
| 554 | as the last child of the manifest element as required by Android |
| 555 | N. |
| 556 | - The Android manifest merger is now available as an option for |
| 557 | android_binary rules. The merger will honor tools annotations in |
| 558 | AndroidManifest.xml and will perform placeholder substitutions |
| 559 | using the values specified in android_binary.manifest_values. The |
| 560 | merger may be selected by setting the manifest_merger attribute |
| 561 | on android_binary. |
| 562 | - The progress message would not clear packages that need to be |
| 563 | loaded twice. |
| 564 | - Remove warning for high value of --jobs. |
| 565 | - Use the correct build configuration for shared native deps during |
| 566 | Android split transitions. |
| 567 | - When building ObjectiveC++, pass the flag -std=gnu++11. |
| 568 | - use xcrun simctl instead of iossim to launch the app for "blaze |
| 569 | run". |
| 570 | - Glob arguments 'exclude' and 'exclude_directories' must be named |
| 571 | - Bazel no longer regards an empty file as changed if its mtime has |
| 572 | changed. |
| 573 | |
Bazel Release System | ccadf8d | 2016-06-10 13:28:40 +0200 | [diff] [blame] | 574 | ## Release 0.3.0 (2016-06-10) |
| 575 | |
| 576 | ``` |
| 577 | Baseline: a9301fa |
| 578 | |
| 579 | Cherry picks: |
| 580 | + ff30a73: Turn --legacy_external_runfiles back on by default |
| 581 | + aeee3b8: Fix delete[] warning on fsevents.cc |
| 582 | ``` |
| 583 | |
| 584 | Incompatible changes: |
| 585 | |
| 586 | - The --cwarn command line option is not supported anymore. Use |
| 587 | --copt instead. |
| 588 | |
| 589 | New features: |
| 590 | |
| 591 | - On OSX, --watchfs now uses FsEvents to be notified of changes |
| 592 | from the filesystem (previously, this flag had no effect on OS X). |
| 593 | - add support for the '-=', '*=', '/=', and'%=' operators to |
| 594 | skylark. Notably, we do not support '|=' because the semantics |
| 595 | of skylark sets are sufficiently different from python sets. |
| 596 | |
| 597 | Important changes: |
| 598 | |
| 599 | - Use singular form when appropriate in blaze's test result summary |
| 600 | message. |
| 601 | - Added supported for Android NDK revision 11 |
| 602 | - --objc_generate_debug_symbols is now deprecated. |
| 603 | - swift_library now generates an Objective-C header for its @objc |
| 604 | interfaces. |
| 605 | - new_objc_provider can now set the USES_SWIFT flag. |
| 606 | - objc_framework now supports dynamic frameworks. |
| 607 | - Symlinks in zip files are now unzipped correctly by http_archive, |
| 608 | download_and_extract, etc. |
| 609 | - swift_library is now able to import framework rules such as |
| 610 | objc_framework. |
| 611 | - Adds "jre_deps" attribute to j2objc_library. |
| 612 | - Release apple_binary rule, for creating multi-architecture |
| 613 | ("fat") objc/cc binaries and libraries, targeting ios platforms. |
| 614 | - Aspects documentation added. |
| 615 | - The --ues_isystem_for_includes command line option is not |
| 616 | supported anymore. |
| 617 | - global function 'provider' is removed from .bzl files. Providers |
| 618 | can only be accessed through fields in a 'target' object. |
| 619 | |
Bazel Release System | 9fdd601 | 2016-05-17 11:12:31 +0200 | [diff] [blame] | 620 | ## Release 0.2.3 (2016-05-10) |
| 621 | |
| 622 | ``` |
| 623 | Baseline: 5a2dd7a |
| 624 | ``` |
| 625 | |
| 626 | Incompatible changes: |
| 627 | |
| 628 | - All repositories are now directly under the x.runfiles directory |
| 629 | in the runfiles tree (previously, external repositories were at |
| 630 | x.runfiles/main-repo/external/other-repo. This simplifies |
| 631 | handling remote repository runfiles considerably, but will break |
| 632 | existing references to external repository runfiles. |
| 633 | Furthermore, if a Bazel project does not provide a workspace name |
| 634 | in the WORKSPACE file, Bazel will now default to using __main__ |
| 635 | as the workspace name (instead of "", as previously). The |
| 636 | repository's runfiles will appear under x.runfiles/__main__/. |
| 637 | - Bazel does not embed protocol buffer-related rules anymore. |
| 638 | - It is now an error for a cc rule's includes attribute to point to |
| 639 | the workspace root. |
| 640 | - Bazel warns if a cc rule's includes attribute points out of |
| 641 | third_party. |
| 642 | - Removed cc_* attributes: abi / abi_deps. Use select() instead. |
| 643 | |
| 644 | New features: |
| 645 | |
| 646 | - select({"//some:condition": None }) is now possible (this "unsets" |
| 647 | the attribute). |
| 648 | |
| 649 | Important changes: |
| 650 | |
| 651 | - java_import now allows its 'jars' attribute to be empty. |
| 652 | - adds crunch_png attribute to android_binary |
| 653 | - Replace --java_langtools, --javabuilder_top, --singlejar_top, |
| 654 | --genclass_top, and --ijar_top with |
| 655 | java_toolchain.{javac,javabuilder,singlejar,genclass,ijar} |
| 656 | - External repository correctness fix: adding a new file/directory |
| 657 | as a child of a new_local_repository is now noticed. |
| 658 | - iOS apps are signed with get-task-allow=1 unless building with -c |
| 659 | opt. |
| 660 | - Generate debug symbols (-g) is enabled for all dbg builds of |
| 661 | objc_ rules. |
| 662 | - Bazel's workspace name is now io_bazel. If you are using Bazel's |
| 663 | source as an external repository, then you may want to update the |
| 664 | name you're referring to it as or you'll begin seeing warnings |
| 665 | about name mismatches in your code. |
| 666 | - Fixes integer overflow in J2ObjC sources to be Java-compatible. |
| 667 | - A FlagPolicy specified via the --invocation_policy flag will now |
| 668 | match the current command if any of its commands matches any of |
| 669 | the commands the current command inherits from, as opposed to |
| 670 | just the current command. |
| 671 | - The key for the map to cc_toolchain_suite.toolchains is now a |
| 672 | string of the form "cpu|compiler" (previously, it was just "cpu"). |
| 673 | - Fix interaction between LIPO builds and C++ header modules. |
| 674 | - Ctrl-C will now interrupt a download, instead of waiting for it to |
| 675 | finish. |
| 676 | - Proxy settings can now be specified in http_proxy and https_proxy |
| 677 | environment variables (not just HTTP_PROXY and HTTPS_PROXY). |
| 678 | - Skylark targets can now read include directories from |
| 679 | ObjcProvider. |
| 680 | - Expose parameterized aspects to Skylark. |
| 681 | - Support alwayslink cc_library dependencies in objc binaries. |
| 682 | - Import cc_library dependencies in generated Xcode project. |
| 683 | |
Bazel Release System | 1aedd1f1 | 2016-04-25 09:47:50 +0200 | [diff] [blame] | 684 | ## Release 0.2.2b (2016-04-22) |
Bazel Release System | 951cea2 | 2016-04-21 14:10:12 +0200 | [diff] [blame] | 685 | |
| 686 | ``` |
| 687 | Baseline: 759bbfe |
Bazel Release System | 1aedd1f1 | 2016-04-25 09:47:50 +0200 | [diff] [blame] | 688 | |
| 689 | Cherry picks: |
Bazel Release System | 951cea2 | 2016-04-21 14:10:12 +0200 | [diff] [blame] | 690 | + 1250fda: Rollback of commit |
| 691 | 351475627b9e94e5afdf472cbf465f49c433a25e. |
| 692 | + ba8700e: Correctly set up build variables for the correct pic |
| 693 | mode for fake_binary rules. |
| 694 | + 386f242: Automated [] rollback of commit |
| 695 | 525fa71b0d6f096e9bfb180f688a4418c4974eb4. |
Bazel Release System | 1aedd1f1 | 2016-04-25 09:47:50 +0200 | [diff] [blame] | 696 | + 97e5ab0: Fix cc_configure include path for Frameworks on OS X. |
| 697 | + a20352e: cc_configure: always add -B/usr/bin to the list of gcc |
| 698 | option |
| 699 | + 0b26f44: cc_configure: Add piii to the list of supported |
| 700 | cpu_value |
| 701 | + 3e4e416: cc_configure: uses which on the CC environment variable |
| 702 | + aa3dbd3: cc_configure.bzl: strip end of line when looking for |
| 703 | the cpu |
| 704 | + 810d60a: cc_configure: Add -B to compiler flag too |
Bazel Release System | 951cea2 | 2016-04-21 14:10:12 +0200 | [diff] [blame] | 705 | ``` |
| 706 | |
Bazel Release System | 1aedd1f1 | 2016-04-25 09:47:50 +0200 | [diff] [blame] | 707 | Patch release, only includes fixes to C++ auto-configuration. |
Bazel Release System | 951cea2 | 2016-04-21 14:10:12 +0200 | [diff] [blame] | 708 | |
Bazel Release System | 950c1ab | 2016-03-31 17:18:55 +0200 | [diff] [blame] | 709 | ## Release 0.2.1 (2016-03-21) |
| 710 | |
| 711 | ``` |
| 712 | Baseline: 19b5675 |
| 713 | ``` |
| 714 | |
| 715 | Incompatible changes: |
| 716 | |
| 717 | - Skylark rules that are available from their own repository will |
| 718 | now issue a warning when accessed through @bazel_tools. |
| 719 | - Set --legacy_bazel_java_test to off by default. java_test will |
| 720 | now have a slightly different behaviour, correctly emitting XML |
| 721 | file but, as a downside, it needs correct declaration of the |
| 722 | test suite (see https://github.com/bazelbuild/bazel/issues/1017). |
| 723 | - Labels in .bzl files in remote repositories will be resolved |
| 724 | relative to their repository (instead of the repository the |
| 725 | Skylark rule is used in). |
| 726 | - Renamed proto_java_library to java_proto_library. The former |
| 727 | is now deprecated and will print out a warning when used. |
| 728 | - android_sdk now compiles android_jack on the fly from |
| 729 | android_jar, which means android_jar must be a jar and |
| 730 | android_jack is now deprecated. The Jack tools (jack, jill, |
| 731 | resource_extractor) must be specified. |
| 732 | - Any project that depended on the objc_options rule will be |
| 733 | broken. Can be fixed by adding attrs (infoplists,copts) directly |
| 734 | to rules depending on the options. |
| 735 | - .aidl files correctly require import statements for types |
| 736 | defined in the same package and the same android_library. |
| 737 | |
| 738 | New features: |
| 739 | |
| 740 | - Experimental Windows support is available. |
| 741 | - Experimental support for writing remote repository rules in |
| 742 | Skylark is available. |
| 743 | - iOS ipa_post_processor attribute allows for user-defined IPA |
| 744 | edits. |
| 745 | - Adds a to_json method to Skylark structs, providing conversion to |
| 746 | JSON format. |
| 747 | - Native python rule can depend on skylark rule as long as skylark |
| 748 | rule provides 'py' provider. |
| 749 | - When using both --verbose_failures and --sandbox_debug, Bazel |
| 750 | prints instructions how to spawn a debugging shell inside the |
| 751 | sandbox. |
| 752 | - add flag --sandbox_add_path, which takes a list of additional |
| 753 | paths as argument and mount these paths to sandbox. |
| 754 | |
| 755 | Important changes: |
| 756 | |
| 757 | - @androidsdk//:org_apache_http_legacy added for the legacy Apache |
| 758 | classes for android sdk version 23 and above. |
| 759 | - Genrules correctly work when used with bazel run. |
| 760 | - When namespace-sandbox is run with the -D (debug) flag and |
| 761 | inside a terminal, it spawns a shell inside the sandbox to aid in |
| 762 | debugging when the sandboxed command fails. |
| 763 | - Added --artifact to workspace generator for generating workspace |
| 764 | and build file rules from artifact coodrinates. |
| 765 | - Specifying --experimental_android_resource_shrinking on the |
| 766 | command line will enable a resource shrinking pass on |
| 767 | android_binary targets that already use Proguard. |
| 768 | - J2ObjC updated to 1.0.1 release. |
| 769 | - Added "root_symlinks" and "symlinks" parameters to Skylark |
| 770 | runfiles() method. |
| 771 | - You can no longer use objc_binary targets for the xctest_app |
| 772 | attribute of an ios_test rule. |
| 773 | - Enable overriding jsonnet binaries and stdlib for Jsonnet rules. |
| 774 | - mount target of /etc/resolv.conf if it is a symlink. |
| 775 | - Tests that failed to build because execution was halted no longer |
| 776 | print their status. |
| 777 | - Bazel warns if a cc rule's includes attribute contains up-level |
| 778 | references that escape its package. |
| 779 | - Add repository_ctx.download and repository_ctx.download_and_extract |
| 780 | function. |
| 781 | |
Bazel Release System | f98290d | 2016-02-23 13:51:16 +0100 | [diff] [blame] | 782 | ## Release 0.2.0 (2016-02-18) |
| 783 | |
| 784 | ``` |
| 785 | Baseline: 9e100ac |
| 786 | ``` |
| 787 | |
| 788 | Incompatible changes: |
| 789 | |
| 790 | - ObjC compile actions for J2ObjC-translated code now only has |
| 791 | access to headers from the java deps of the associated original |
| 792 | java rule. |
| 793 | These compile actions no longer takes the compiler options |
| 794 | specified in "copts" attribute on objc_binary/ios_test rules. |
| 795 | J2ObjC dead code removal (enabled through flag |
| 796 | "--j2objc_dead_code_removal") now happens *after* ObjC |
| 797 | compilation. |
| 798 | - maven_jar no longer supports separate artifact_id, group_id, and |
| 799 | verison fields. This information should be provided in the |
| 800 | artifact field, |
| 801 | instead. |
| 802 | |
| 803 | New features: |
| 804 | |
| 805 | - Better support for toolchains that don't have a dynamic linker. |
| 806 | - build_file_content attribute added to new_git_repository, |
| 807 | new_http_archive, and new_local_repository. |
| 808 | - Add support for .tar.bz2 archives to http_archive rules. |
| 809 | |
| 810 | Important changes: |
| 811 | |
| 812 | - The --skyframe flag is no longer available for the build command. |
| 813 | - The --artifacts flag was removed from the dump command. |
| 814 | - The sha256 attribute is now optional (although recommended!) for |
| 815 | remote repository rules. |
| 816 | - Add instrumented file provider support to Skylark rules. |
| 817 | - Add imports attribute to native Python rules. |
| 818 | - Allow overriding -gsplit-dwarf from copts. |
| 819 | - Improved sandbox performance on XFS filesystems. |
| 820 | |
Bazel Release System | 00cf25d | 2016-02-09 18:36:51 +0100 | [diff] [blame] | 821 | ## Release 0.1.5 (2016-02-05) |
| 822 | |
| 823 | ``` |
| 824 | Baseline: 3a95f35 |
| 825 | + 8378cd8: Rollback of commit |
| 826 | a9b84575a32476a5faf991da22b44661d75c19b6. |
| 827 | ``` |
| 828 | |
| 829 | Incompatible changes: |
| 830 | |
| 831 | - Set stamping to false by default (i.e., --nostamp) |
| 832 | - Removed --objc_dump_syms_binary. |
| 833 | - Removes --objc_gcov_binary flag. |
| 834 | - Remove JAVAC "Make" variable |
| 835 | - The startup flag --blaze_cpu is removed, |
| 836 | |
| 837 | New features: |
| 838 | |
| 839 | - A new java test runner that support XML output and test filtering |
| 840 | is supported. It can be used by specifying --nolegacy_bazel_java_test |
| 841 | or by specifying the test_class attribute on a java_test. |
| 842 | - Skylark aspects can now specify configuration fragment |
| 843 | dependencies with fragments and host_fragments like rules can. |
| 844 | |
| 845 | Important changes: |
| 846 | |
| 847 | - Support for downloading remote resources through proxies by |
| 848 | setting HTTP_PROXY (or HTTPS_PROXY). |
| 849 | - Timestamps within Android apks are removed to make apks |
| 850 | deterministic. |
| 851 | - Support aggregation over existing rules in Skylark extensions |
| 852 | through native.rules and native.rule. |
| 853 | - A tools/bazel script in the workspace will be executed |
| 854 | as an opportunity to use a fixed version of Bazel (not |
| 855 | implemented for the homebrew recipe yet). |
| 856 | - --noimplicit_deps and --nohost_deps work correctly for Aspect |
| 857 | attributes. |
| 858 | - JDK-related targets are now available via @local_jdk (instead of |
| 859 | @local-jdk). |
| 860 | - j2objc tools can now be accessed via @bazel_j2objc, not |
| 861 | @bazel-j2objc. |
| 862 | - Repository rules must use names that are valid workspace names. |
| 863 | - [rust] Update to Rust 1.6 |
| 864 | - Add support for .tar.xz archives to http_archive rules. |
| 865 | - Make C++ modules compatible with tools using |
| 866 | --compilation_prerequisites_only |
| 867 | - [d] Update to DMD 2.070.0 |
| 868 | |
Bazel Release System | 446d992 | 2016-01-21 10:59:31 +0100 | [diff] [blame] | 869 | ## Release 0.1.4 (2016-01-15) |
| 870 | |
| 871 | ``` |
| 872 | Baseline: e933d5e |
| 873 | + 3d796fe: Rollback of commit |
| 874 | ac6ed79e1a3fa6b0ca91657b28e2a35f7e49758c. |
| 875 | + 7a02e5d: Fix installer under OS X |
| 876 | + 848740c: Fix bazel version for debian package |
| 877 | + 7751d43: Add a method for getting the root of a rule workspace |
| 878 | to the Label method |
| 879 | ``` |
| 880 | |
| 881 | Important changes: |
| 882 | |
| 883 | - add loadfiles() query operator, to find skylark files loaded by |
| 884 | targets. |
| 885 | - Added ability to declare and use aspects in Skylark. |
| 886 | - Skylark load statements may now reference .bzl files via build |
| 887 | labels, in addition to paths. In particular, such labels can be |
| 888 | used to reference Skylark files in external repositories; e.g., |
| 889 | load("@my_external_repo//some_pkg:some_file.bzl", ...). |
| 890 | Path-based loads are now deprecated and may be disabled in the |
| 891 | future. Caveats: Skylark files currently do not respect package |
| 892 | visibility; i.e., all Skylark files are effectively public. Also, |
| 893 | loads may not reference the special //external package. |
| 894 | - Relative paths can now be used for 'path' with |
| 895 | new_local_repository and local_repository. |
| 896 | |
Bazel Release System | 1518253e | 2016-01-11 10:10:19 +0100 | [diff] [blame] | 897 | ## Release 0.1.3 (2016-01-07) |
| 898 | |
| 899 | ``` |
| 900 | Baseline: 23ad8f6 |
| 901 | + de2183d: Only depend on the WORKSPACE file for external files |
| 902 | that are under the external/ directory, i.e. were |
| 903 | created by Bazel. |
| 904 | + f8f855c: Rollback of commit |
| 905 | 12bad3af0eade9c4b79d76f9e1c950ad2e3214c2. |
| 906 | + f627562: Stop parsing the WORKSPACE file when a parse error is |
| 907 | detected |
| 908 | + 763f139: Add -fno-canonical-system-headers to CROSSTOOL files so |
| 909 | that gcc doesn't resolve symlinks in .d files, which |
| 910 | would confuse Blaze. |
| 911 | + b95995b: Use openjdk7 as dependency for debian package of jdk7 |
| 912 | flavor |
| 913 | ``` |
| 914 | |
| 915 | New features: |
| 916 | |
| 917 | - Skylark macros are now enabled in WORKSPACE file. |
| 918 | - .bazelrc allows workspace-relative imports as "import |
| 919 | %workspace%/path/to/rcfile" |
| 920 | - Evaluate the query expression in a file by passing |
| 921 | --query_file=<file> to query |
| 922 | |
| 923 | Important changes: |
| 924 | |
| 925 | - Remove obsolete --objc_per_proto_includes flag. |
| 926 | - iOS apps and extensions now have launch_storyboard |
| 927 | - Passing multiple JVM options via a single --host_jvm_args flag is |
| 928 | now deprecated. Pass each JVM option behind its own |
| 929 | --host_jvm_args flag. |
| 930 | - Resources defined locally on an android_library rule will respect |
| 931 | the neverlink attribute. |
| 932 | - Update Rust to 1.4 |
| 933 | - Fix resource handling for exported android_library rules |
| 934 | - Files in external repositories are now treated as mutable, which |
| 935 | will make the correctness guarantees of using external |
| 936 | repositories stronger (existent), but may cause performance |
| 937 | penalties. |
| 938 | |
Bazel Release System | 0d2e409 | 2015-12-04 23:31:41 +0100 | [diff] [blame] | 939 | ## Release 0.1.2 (2015-11-20) |
| 940 | |
| 941 | ``` |
| 942 | Baseline: ee0ade3 |
| 943 | + 1e66ccd: RELNOTES: Symlink dirents of directories containing a |
| 944 | file named |
| 945 | "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA |
| 946 | _A_RECURSIVE_TARGET_PATTERN" will *not* be traversed |
| 947 | for transitive target patterns. The motivation here is |
| 948 | to allow directories that intentionally contain wonky |
| 949 | symlinks (e.g. foo/bar -> foo) to opt out of being |
| 950 | consumed by Blaze. For example, given |
| 951 | + f5773fc: Set the ijar MAX_BUFFER_SIZE to 256 MB |
| 952 | ``` |
| 953 | |
| 954 | New features: |
| 955 | |
| 956 | - java_library now supports the proguard_specs attribute for |
| 957 | passing Proguard configuration up to Android (not Java) binaries. |
| 958 | - http_file can specify "executable" to make the downloaded file |
| 959 | runnable. |
| 960 | - Debian and tar packaging is now supported |
| 961 | (see tools/build_defs/pkg/README.md). |
| 962 | - cpxx_builtin_include_directory specifications allow more |
| 963 | flexibility. |
| 964 | - accept %crosstool_top% in cxx_builtin_include_directory |
| 965 | - android_binary now supports proguard_apply_mapping to re-use a |
| 966 | previously generated proguard mapping. |
| 967 | |
| 968 | Important changes: |
| 969 | |
| 970 | - remove webstatusserver (--use_webstatusserver). |
| 971 | - Add support for objc textual headers, which will not be compiled |
| 972 | when modules are enabled. |
| 973 | - actoolzip, momczip and swiftstdlibtoolzip have all been made into |
| 974 | bash scripts and have been renamed to actoolwrapper, momcwrapper |
| 975 | and swiftstdlibtoolwrapper respectively. The old versions will be |
| 976 | deleted in a later change. |
| 977 | - [rust] Add rust_bench_test and rust_doc_test rules and improve |
| 978 | usability of rust_test tule. |
| 979 | - Java rules now support a resource_strip_prefix attribute that |
| 980 | allows the removal of path prefixes from Java resources. |
| 981 | - [docker_build] incremental loading is default now. |
| 982 | Specify explicitly //package:target.tar (with the .tar extension) |
| 983 | to obtain the full image. |
| 984 | - --ios_signing_cert_name allows specifying a cert for iOS app |
| 985 | signing |
| 986 | - Go rules for Bazel. |
| 987 | - [jsonnet] Update to Jsonnet 0.8.1. |
| 988 | - [jsonnet] Add vars and code_vars attributes to jsonnet_to_json to |
| 989 | allow passing external variables to Jsonnet via --var and |
| 990 | --code_var. |
| 991 | - Adds --override_workspace_root blaze flag to hand-set |
| 992 | workspace_root and mainGroup in xcodeproj. |
| 993 | - Allow dots in package names. |
| 994 | - When used as a forwarding rule (i.e., has no sources), |
| 995 | android_library |
| 996 | will also forward any exported_plugins in its dependencies. |
| 997 | - Add support for Windows-created zip files with non-posix |
| 998 | permissions. |
| 999 | - [jsonnet] Add jsonnet_to_json_test rule for testing Jsonnet code. |
| 1000 | - C++ compile actions run in a sandbox now on systems that support |
| 1001 | sandboxed execution. |
| 1002 | - The names of the clang compilers in the Android NDK crosstool no |
| 1003 | longer reference gcc. |
| 1004 | - 420 dpi is now a valid density for andoid_binary.densities. |
| 1005 | - Bazel does strict validation of include files now to ensure |
| 1006 | correct incremental builds. If you see compilation errors when |
| 1007 | building C++ code, please make sure that you explicitly declare |
| 1008 | all header files in the srcs or hdrs attribute of your cc_* |
| 1009 | targets and that your cc_* targets have correct "deps" on |
| 1010 | cc_library's that they use. |
| 1011 | - [jsonnet] Fix jsonnet_to_json rule to read code_vars from |
| 1012 | code_vars instead of vars. |
| 1013 | - Tests, genrules, and Skylark actions without the |
| 1014 | "requires-network" tag will no longer be able to access the |
| 1015 | network. |
| 1016 | - C++ libraries no longer need includes = ["."] (or similar copts) |
| 1017 | to include paths relative to a remote repository's root. |
| 1018 | - Support exports attribute for android_library |
| 1019 | - Symlink dirents of directories containing a file named |
| 1020 | "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA_A_RECURSI |
| 1021 | VE_TARGET_PATTERN" will *not* be traversed for transitive target |
| 1022 | patterns. The motivation here is to allow directories that |
| 1023 | intentionally contain wonky symlinks (e.g. foo/bar -> foo) to opt |
| 1024 | out of being consumed by Blaze. |
| 1025 | |
Bazel Release System | fa35b18 | 2015-10-14 12:11:51 -0400 | [diff] [blame] | 1026 | ## Release 0.1.1 (2015-10-05) |
| 1027 | |
| 1028 | ``` |
| 1029 | Baseline: 22616ae |
| 1030 | + 1ef338f: Rollback of "Propagates cc_library linkopts attribute |
| 1031 | to dependent objc_libraries.": breaks certain |
| 1032 | objc_binary build targets. |
| 1033 | + 5fb1073: Reintroduce an inconsistency check (albeit, in a weaker |
| 1034 | form) removed by a previous change that was trying to |
| 1035 | optimize away a filesystem call. |
| 1036 | + 6d00468b2eb976866cfb814d562e0d53a580a46f: Add IdlClass to the embedded default android tools |
| 1037 | repository and rearrange BuildJar's JarHelper so that |
| 1038 | it too can be embedded. |
| 1039 | + a5199039934a2e399a7201adc0d74e2f2d2b0ff3: Fixes Android integration tests by wiring up idlclass |
| 1040 | rules in integration environment. |
| 1041 | ``` |
| 1042 | |
| 1043 | Incompatible changes: |
| 1044 | |
| 1045 | - Bazel requires JDK 8 to run. |
| 1046 | - Attribute "copts" is removed from j2objc_library. |
| 1047 | |
| 1048 | New features: |
| 1049 | |
| 1050 | - a cc_binary rule may list '.s' and '.asm' files in the srcs |
| 1051 | - Support for build with libsass. |
| 1052 | - labels in "linkopts" may match any label in either "deps" or |
| 1053 | "srcs" to be considered valid. |
| 1054 | - Maven servers that require username & password authentication are |
| 1055 | now supported (see maven_server documentation). |
| 1056 | |
| 1057 | Important changes: |
| 1058 | |
| 1059 | - Support empty plist files |
| 1060 | - The <compatible-screens> section of the AndroidManifest.xml will |
| 1061 | not be overwritten if it already contains a <screen> tag for each |
| 1062 | of the densities specified on the android_binary rule. |
| 1063 | - Add Jsonnet rules to Bazel |
| 1064 | - Remove deprecated xcode_options flag. |
| 1065 | - Workspace names are now restricted to being in their base |
| 1066 | directory |
| 1067 | (that is, the names cannot contain up-level references or /./). |
| 1068 | - j2objc_library on Bazel now transpiles transitive proto_library |
| 1069 | dependencies. (Note that java_* rules in Bazel do not yet support |
| 1070 | protos; currently they ignore proto dependencies.) |
| 1071 | - new_http_archive can specify a root directory. |
| 1072 | - Adds support for dylibs on devices for Xcode 7. |
| 1073 | - [d] d_docs rules now depend on a d_binary, a d_library or |
| 1074 | d_source_library. |
| 1075 | - [docker] docker_build now set the permission to 0555 to files |
| 1076 | added to the layer, use `mode = "0644"` to use the legacy behavior. |
| 1077 | - android_binary now has a main_dex_proguard_specs attribute to |
| 1078 | specify which classes should be in the main dex. |
| 1079 | - [rust] Add rust_docs rule for generating rustdoc. |
Bazel Release System | 79e40ac | 2015-09-08 23:38:00 +0200 | [diff] [blame] | 1080 | ## Release 0.1.0 (2015-09-08) |
| 1081 | |
| 1082 | ``` |
| 1083 | Baseline: a0881e8 |
| 1084 | + 87374e6: Make android_binary use a constant, hard-coded, |
| 1085 | checked-in debug key. |
| 1086 | + 2984f1c: Adds some safety checks in the Bazel installer |
| 1087 | + 4e21d90: Remove BUILD.glob and incorporate the necessary |
| 1088 | filegroups into the android_{ndk,sdk}_repository rules |
| 1089 | themselves. |
| 1090 | + 1ee813e: Fix Groovy rules to work with sandboxing |
| 1091 | + 8741978: Add initial D rules to Bazel. |
| 1092 | + 2c2e70d: Fix the installer and fixing the package shiped into |
| 1093 | binary version of Bazel. |
| 1094 | ``` |
| 1095 | |
| 1096 | Initial release. |
Bazel Release System | 6712cac | 2017-02-01 19:53:37 +0100 | [diff] [blame] | 1097 | |
Bazel Release System | 8d635fc | 2017-03-16 13:18:30 +0100 | [diff] [blame] | 1098 | |