Skip to content

Commit 8f52117

Browse files
Bazel Release Systemdslomov
authored andcommitted
Release 0.8.0 (2017-11-27)
Baseline: cff0dc9 Cherry picks: + 8a49b15: Fix ImportError on tools.android for junction_lib + 275ae45: Automated rollback of commit 4869c4e. + d0bf589: Add a random number to action temp dir + 9738f35: CcProtoLibrary: Don't add dynamic librarys to filesToBuild on Windows + 0d6ff47: Automated rollback of commit 0ebb3e5. Incompatible changes: - ctx.fragments.apple.{xcode_version,ios_minimum_os} is not supported anymore. The same information is accessible through the target @bazel_tools//tools/osx:current_xcode_config: point an implicit attribute to it (i.e. attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co nfig")) then use ctx.attr._xcode_config[apple_common].XcodeVersionConfig]. - ctx.fragments.apple.minimum_os_for_platform_type is not supported anymore. The same information is accessible through the target @bazel_tools//tools/osx:current_xcode_config: point an implicit attribute to it (i.e. attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co nfig")) then use ctx.attr._xcode_config[apple_common].XcodeVersionConfig].minimum_o s_for_platform_type . - ctx.fragments.apple.sdk_version_for_platform is not supported anymore. The same information is accessible through the target @bazel_tools//tools/osx:current_xcode_config: point an implicit attribute to it (i.e. attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co nfig")) then use ctx.attr._xcode_config[apple_common].XcodeVersionConfig].sdk_versi on_for_platform . - --javabase=<absolute path> and --host_javabase=<absolute path> are not supported anymore. If you need this functionality java_runtime_suite(name="suite", default=":runtime") java_runtime(name="runtime", java_home=<path to the JDK>) is an alternative. - The flag --incompatible_descriptive_string_representations is no longer available, old style string representations of objects are not supported anymore. - The flag --incompatible_disallow_set_constructor is no longer available, the deprecated `set` constructor is not available anymore. - += on lists now mutates them. `list1 += list2` is now equivalent to `list1.extend(list2)` and not equivalent to `list1 = list1 + list2` anymore. - the target_apple_env and apple_host_system_env methods on ctx.fragments.apple are not supported anymore. The same information is accessible through apple_common.target_apple_env and apple_common.apple_host_system_env . They need the Xcode configuration as an argument, which can be obtained by declaring an implicit dependency on it (i.e. attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co nfig")) and then calling e.g. apple_common.apple_host_system_env(ctx.attr._xcode_config[apple_co mmon.XcodeVersionConfig]). - C++ toolchain identifiers are not in the name of the output directory anymore. - Selecting on "xcode_version" and "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore. What was config_setting(values={"$FOO_version": $VALUE}) is now config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_ flag": $VALUE}). - Selecting on "xcode_version" and "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore. What was config_setting(values={"$FOO_version": $VALUE}) is now config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_ flag": $VALUE}). - The flag --incompatible_disallow_set_constructor is no longer available, the deprecated `set` constructor is not available anymore. - Selecting on "xcode_version" and "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore. What was config_setting(values={"$FOO_version": $VALUE}) is now config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_versi... New features: - runfiles, sh: Shell scripts may now depend on //src/tools/runfiles:runfiles_sh_lib and source runfiles.sh. The script defines the `rlocation` function which returns runfile paths on every platform. - In addition to $(location), Bazel now also supports $(rootpath) to obtain the root-relative path (i.e., for runfiles locations), and $(execpath) to obtain the exec path (i.e., for build-time locations) Important changes: - android_binary now supports custom debug keys via the debug_key attribute. - Updated Android proguard to 5.3.3. It now works with android-24+. - --experimental_use_parallel_android_resource_processing and --experimental_android_use_nocompress_extensions_on_apk are removed. These features are fully rolled out. - Fixes bazelbuild#2574 - Fixes bazelbuild#3834 - Enable experimental UI by default. - . RELNOTES: None. RELNOTES: No. - Add memory profiler. - [Bazel] {java,cc}_proto_library now look for dependencies in @com_google_protobuf, instead of in @com_google_protobuf_$LANG - Improved merge.sh script in cookbook. - Fixing regression to --experimental_remote_spawn_cache - Support for linker scripts in NativeDepsHelper (e.g., android_binary) - Skylark semantics flags now affect WORKSPACE files and repository rules. - ctx.outputs.executable is deprecated. Use DefaultInfo(executable = ...) instead. - Update "mirror.bazel.build" urls to use https. - Improve --config logging when --announce_rc is present. - Document interaction between test_suite and target exclusions - Replace version numbers for Bazel installers with "<version>" (because this will change often) - Published command lines should have improved lists of effective options. - --incremental_dexing_binary_types has been removed. All builds are supported by incremental dexing (modulo proguard and some blacklisted dx flags). - Document --host_javabase, --host_java_toolchain
1 parent 538d029 commit 8f52117

File tree

1 file changed

+141
-0
lines changed

1 file changed

+141
-0
lines changed

CHANGELOG.md

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,143 @@
1+
## Release 0.8.0 (2017-11-27)
2+
3+
```
4+
Baseline: cff0dc94f6a8e16492adf54c88d0b26abe903d4c
5+
6+
Cherry picks:
7+
+ 8a49b156c4edf710e3e1e0acfde5a8d27cc3a086:
8+
Fix ImportError on tools.android for junction_lib
9+
+ 275ae45b1228bdd0f912c4fbd634b29ba4180383:
10+
Automated rollback of commit
11+
4869c4e17d5b1410070a1570f3244148d8f97b5d.
12+
+ d0bf589f2716b3d139c210930371a684c6e158eb:
13+
Add a random number to action temp dir
14+
+ 9738f35abddb7ef7a7ef314b5d2a52a3be1b830a:
15+
CcProtoLibrary: Don't add dynamic librarys to filesToBuild on
16+
Windows
17+
+ 0d6ff477099fdf6c8c1c7d4e2104f9184afe0a2b:
18+
Automated rollback of commit
19+
0ebb3e54fc890946ae6b3d059ecbd50e4b5ec840.
20+
```
21+
22+
Incompatible changes:
23+
24+
- ctx.fragments.apple.{xcode_version,ios_minimum_os} is not
25+
supported anymore. The same information is accessible through the
26+
target @bazel_tools//tools/osx:current_xcode_config: point an
27+
implicit attribute to it (i.e.
28+
attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
29+
nfig")) then use
30+
ctx.attr._xcode_config[apple_common].XcodeVersionConfig].
31+
- ctx.fragments.apple.minimum_os_for_platform_type is not supported
32+
anymore. The same information is accessible through the target
33+
@bazel_tools//tools/osx:current_xcode_config: point an implicit
34+
attribute to it (i.e.
35+
attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
36+
nfig")) then use
37+
ctx.attr._xcode_config[apple_common].XcodeVersionConfig].minimum_o
38+
s_for_platform_type .
39+
- ctx.fragments.apple.sdk_version_for_platform is not supported
40+
anymore. The same information is accessible through the target
41+
@bazel_tools//tools/osx:current_xcode_config: point an implicit
42+
attribute to it (i.e.
43+
attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
44+
nfig")) then use
45+
ctx.attr._xcode_config[apple_common].XcodeVersionConfig].sdk_versi
46+
on_for_platform .
47+
- --javabase=<absolute path> and --host_javabase=<absolute path>
48+
are not supported anymore. If you need this functionality
49+
java_runtime_suite(name="suite", default=":runtime")
50+
java_runtime(name="runtime", java_home=<path to the JDK>) is an
51+
alternative.
52+
- The flag --incompatible_descriptive_string_representations is no
53+
longer available, old style string representations of objects are
54+
not supported
55+
anymore.
56+
- The flag --incompatible_disallow_set_constructor is no longer
57+
available, the deprecated `set` constructor is not available
58+
anymore.
59+
- += on lists now mutates them. `list1 += list2` is now equivalent
60+
to `list1.extend(list2)` and not equivalent to `list1 = list1 +
61+
list2` anymore.
62+
- the target_apple_env and apple_host_system_env methods on
63+
ctx.fragments.apple are not supported anymore. The same
64+
information is accessible through apple_common.target_apple_env
65+
and apple_common.apple_host_system_env . They need the Xcode
66+
configuration as an argument, which can be obtained by declaring
67+
an implicit dependency on it (i.e.
68+
attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
69+
nfig")) and then calling e.g.
70+
apple_common.apple_host_system_env(ctx.attr._xcode_config[apple_co
71+
mmon.XcodeVersionConfig]).
72+
- C++ toolchain identifiers are not in the name of the output
73+
directory anymore.
74+
- Selecting on "xcode_version" and
75+
"{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
76+
What was config_setting(values={"$FOO_version": $VALUE}) is now
77+
config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
78+
flag": $VALUE}).
79+
- Selecting on "xcode_version" and
80+
"{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
81+
What was config_setting(values={"$FOO_version": $VALUE}) is now
82+
config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
83+
flag": $VALUE}).
84+
- The flag --incompatible_disallow_set_constructor is no longer
85+
available, the deprecated `set` constructor is not available
86+
anymore.
87+
- Selecting on "xcode_version" and
88+
"{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
89+
What was config_setting(values={"$FOO_version": $VALUE}) is now
90+
config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_versi...
91+
92+
New features:
93+
94+
- runfiles, sh: Shell scripts may now depend on
95+
//src/tools/runfiles:runfiles_sh_lib and source runfiles.sh. The
96+
script defines the `rlocation` function which returns runfile
97+
paths on every platform.
98+
- In addition to $(location), Bazel now also supports $(rootpath)
99+
to obtain
100+
the root-relative path (i.e., for runfiles locations), and
101+
$(execpath) to
102+
obtain the exec path (i.e., for build-time locations)
103+
104+
Important changes:
105+
106+
- android_binary now supports custom debug keys via the debug_key
107+
attribute.
108+
- Updated Android proguard to 5.3.3. It now works with android-24+.
109+
- --experimental_use_parallel_android_resource_processing and
110+
--experimental_android_use_nocompress_extensions_on_apk are
111+
removed. These features are fully rolled out.
112+
- Fixes #2574
113+
- Fixes #3834
114+
- Enable experimental UI by default.
115+
- .
116+
RELNOTES: None.
117+
RELNOTES: No.
118+
- Add memory profiler.
119+
- [Bazel] {java,cc}_proto_library now look for dependencies in
120+
@com_google_protobuf, instead of in @com_google_protobuf_$LANG
121+
- Improved merge.sh script in cookbook.
122+
- Fixing regression to --experimental_remote_spawn_cache
123+
- Support for linker scripts in NativeDepsHelper (e.g.,
124+
android_binary)
125+
- Skylark semantics flags now affect WORKSPACE files and repository
126+
rules.
127+
- ctx.outputs.executable is deprecated. Use DefaultInfo(executable
128+
= ...) instead.
129+
- Update "mirror.bazel.build" urls to use https.
130+
- Improve --config logging when --announce_rc is present.
131+
- Document interaction between test_suite and target exclusions
132+
- Replace version numbers for Bazel installers with "<version>"
133+
(because this will change often)
134+
- Published command lines should have improved lists of effective
135+
options.
136+
- --incremental_dexing_binary_types has been removed. All builds
137+
are supported by incremental dexing (modulo proguard and some
138+
blacklisted dx flags).
139+
- Document --host_javabase, --host_java_toolchain
140+
1141
## Release 0.7.0 (2017-10-18)
2142

3143
```
@@ -2058,3 +2198,4 @@ Initial release.
20582198

20592199

20602200

2201+

0 commit comments

Comments
 (0)