Skip to content

Commit 80a07b5

Browse files
Bazel Release Systemmeteorcloudy
Bazel Release System
authored andcommitted
Release 0.4.4 (2017-02-01)
Baseline: 4bf8cc3 Cherry picks: + ef1c6fd: msvc_tools.py.tpl: Change default runtime library to static Incompatible changes: - Only targets with public visibility can be bound to something in //external: . - The deprecated -x startup option has been removed. - docker_build: change the repository names embedded by docker_build. You can revert to the old behavior by setting legacy_repository_naming=True. - The string methods strip(), lstrip(), and rstrip() now by default remove the same whitespace characters as Python 3 does, and accept None as an argument. - Deprecated globals HOST_CFG and DATA_CFG are removed. Use strings "host" and "data" instead. - repository_ctx environment is now affected by --action_env flag (value from the client environment will be replaced by value given on the command line through --action_env). - All executable labels must also have a cfg parameter specified. - Removed the cmd_helper.template function. The function was equivalent to: def template(items, template): return [template.format(path = i.path, short_path = i.short_path) for i in items] - Tuples that end with a trailing comma must now be inside parens, e.g. (1,) instead of 1, - The traversal orders for depsets have been renamed. The old names are deprecated and will be removed in the future. New names: "stable" -> "default", "compile" -> "postorder", "link" -> "topological", "naive_link" -> "preorder". New features: - Skylark: you can now multiply a list by an integer to get the concatenation of N copies of this list, e.g. [a,b] * 3 = [a,b,a,b,a,b] - Allow Android aidl tool to add a jar to the program's classpath, such as if needed to support generated sources. - Add transitive proguard_specs when android_sdk.aidl_lib is specified - Windows: "/dev/null" is now a supported path, e.g. --bazelrc=/dev/null now works Important changes: - Bazel Android builds use the apksigner tool from the Android SDK build-tools. Bazel Android builds now require build-tools version 24.0.3 or later. - Android SDK external bindings for support libraries, e.g. //external:android/appcompat_v4, are removed because the support library JARs that they referenced no longer ship with the Android SDK. - aar_import rule is now documented. - An IE bug was fixed in repository_ctx.download_and_extract - Update "-I" to "-isystem" in documentation to reflect current behavior. - android_sdk_repository build_tools_version is now optional. The highest installed build-tools will be used if none is specified. - New flag --sandbox_add_mount_pair to specify customized source:target path pairs to bind mount inside the sandbox. - expose proto_library descriptor set to skylark via <dep>.proto.descriptor_set - The `set` constructor is deprecated in favor of `depset` - Autodetect gold linker in cc_configure.bzl - Remove build flag --experimental_j2objc_annotation_processing. It is on by default now. - Set clang's -mwatchos-version-min correctly using the value of --watchos_minimum_os, not --watchos_sdk_version. - singlejar can now create jar files larger than 4GB. - android_sdk_repository and android_ndk_repository now read $ANDROID_HOME and $ANDROID_NDK_HOME if the path attribute is not set. - Removed broken api levels 3, 4 and 5 from Android NDK 12. - Default --android_dynamic_mode to off. - android_sdk_repository no longer requires api_level. If one is not specified, the highest android platform installed will be used. Furthermore, android_sdk's are created for all android platforms installed and can be specified with the --android_sdk flag. - To iterate over or test for membership in a set, prefer using the new to_list() method. E.g., "for x in myset.to_list():", or "print(x in myset.to_list())". Iteration/membership-test on the raw set itself is deprecated. - Remove support for --javawarn; use e.g. --javacopt=-Xlint:all instead
1 parent 9855379 commit 80a07b5

File tree

1 file changed

+99
-0
lines changed

1 file changed

+99
-0
lines changed

CHANGELOG.md

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,101 @@
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+
199
## Release 0.4.3 (2016-12-22)
2100

3101
```
@@ -893,3 +991,4 @@ Baseline: a0881e8
893991
```
894992

895993
Initial release.
994+

0 commit comments

Comments
 (0)