|
| 1 | +## Release 0.4.4 (2017-02-01) |
| 2 | + |
| 3 | +``` |
| 4 | +Baseline: 4bf8cc30a |
| 5 | +
|
| 6 | +Cherry picks: |
| 7 | + + ef1c6fd33: msvc_tools.py.tpl: Change default runtime library to |
| 8 | + static |
| 9 | +``` |
| 10 | + |
| 11 | +Incompatible changes: |
| 12 | + |
| 13 | + - Only targets with public visibility can be bound to something in |
| 14 | + //external: . |
| 15 | + - The deprecated -x startup option has been removed. |
| 16 | + - docker_build: change the repository names embedded by |
| 17 | + docker_build. You can revert to the old behavior by setting |
| 18 | + legacy_repository_naming=True. |
| 19 | + - The string methods strip(), lstrip(), and rstrip() now |
| 20 | + by default remove the same whitespace characters as Python 3 |
| 21 | + does, and accept |
| 22 | + None as an argument. |
| 23 | + - Deprecated globals HOST_CFG and DATA_CFG are removed. Use strings |
| 24 | + "host" and "data" instead. |
| 25 | + - repository_ctx environment is now affected by --action_env flag |
| 26 | + (value from the |
| 27 | + client environment will be replaced by value given on the command |
| 28 | + line through --action_env). |
| 29 | + - All executable labels must also have a cfg parameter specified. |
| 30 | + - Removed the cmd_helper.template function. |
| 31 | + The function was equivalent to: |
| 32 | + def template(items, template): |
| 33 | + return [template.format(path = i.path, short_path = |
| 34 | + i.short_path) |
| 35 | + for i in items] |
| 36 | + - Tuples that end with a trailing comma must now be inside parens, |
| 37 | + e.g. (1,) instead of 1, |
| 38 | + - The traversal orders for depsets have been renamed. The old names |
| 39 | + are deprecated and will be removed in the future. New names: |
| 40 | + "stable" -> "default", "compile" -> "postorder", "link" -> |
| 41 | + "topological", "naive_link" -> "preorder". |
| 42 | + |
| 43 | +New features: |
| 44 | + |
| 45 | + - Skylark: you can now multiply a list by an integer to get the |
| 46 | + concatenation of N copies of this list, e.g. [a,b] * 3 = |
| 47 | + [a,b,a,b,a,b] |
| 48 | + - Allow Android aidl tool to add a jar to the program's classpath, |
| 49 | + such as if needed to support generated sources. |
| 50 | + - Add transitive proguard_specs when android_sdk.aidl_lib is |
| 51 | + specified |
| 52 | + - Windows: "/dev/null" is now a supported path, e.g. |
| 53 | + --bazelrc=/dev/null now works |
| 54 | + |
| 55 | +Important changes: |
| 56 | + |
| 57 | + - Bazel Android builds use the apksigner tool from the Android SDK |
| 58 | + build-tools. Bazel Android builds now require build-tools version |
| 59 | + 24.0.3 or |
| 60 | + later. |
| 61 | + - Android SDK external bindings for support libraries, e.g. |
| 62 | + //external:android/appcompat_v4, are removed because the support |
| 63 | + library JARs that they referenced no longer ship with the Android |
| 64 | + SDK. |
| 65 | + - aar_import rule is now documented. |
| 66 | + - An IE bug was fixed in repository_ctx.download_and_extract |
| 67 | + - Update "-I" to "-isystem" in documentation to reflect current |
| 68 | + behavior. |
| 69 | + - android_sdk_repository build_tools_version is now optional. The |
| 70 | + highest installed build-tools will be used if none is specified. |
| 71 | + - New flag --sandbox_add_mount_pair to specify customized |
| 72 | + source:target path pairs to bind mount inside the sandbox. |
| 73 | + - expose proto_library descriptor set to skylark via |
| 74 | + <dep>.proto.descriptor_set |
| 75 | + - The `set` constructor is deprecated in favor of `depset` |
| 76 | + - Autodetect gold linker in cc_configure.bzl |
| 77 | + - Remove build flag --experimental_j2objc_annotation_processing. It |
| 78 | + is on by default now. |
| 79 | + - Set clang's -mwatchos-version-min correctly using the value of |
| 80 | + --watchos_minimum_os, not --watchos_sdk_version. |
| 81 | + - singlejar can now create jar files larger than 4GB. |
| 82 | + - android_sdk_repository and android_ndk_repository now read |
| 83 | + $ANDROID_HOME and $ANDROID_NDK_HOME if the path attribute is not |
| 84 | + set. |
| 85 | + - Removed broken api levels 3, 4 and 5 from Android NDK 12. |
| 86 | + - Default --android_dynamic_mode to off. |
| 87 | + - android_sdk_repository no longer requires api_level. If one is |
| 88 | + not specified, the highest android platform installed will be |
| 89 | + used. Furthermore, android_sdk's are created for all android |
| 90 | + platforms installed and can be specified with the --android_sdk |
| 91 | + flag. |
| 92 | + - To iterate over or test for membership in a set, prefer using the |
| 93 | + new to_list() method. E.g., "for x in myset.to_list():", or |
| 94 | + "print(x in myset.to_list())". Iteration/membership-test on the |
| 95 | + raw set itself is deprecated. |
| 96 | + - Remove support for --javawarn; use e.g. --javacopt=-Xlint:all |
| 97 | + instead |
| 98 | + |
1 | 99 | ## Release 0.4.3 (2016-12-22)
|
2 | 100 |
|
3 | 101 | ```
|
@@ -893,3 +991,4 @@ Baseline: a0881e8
|
893 | 991 | ```
|
894 | 992 |
|
895 | 993 | Initial release.
|
| 994 | + |
0 commit comments