Skip to content

Commit 40169a6

Browse files
Bazel Release Systembuchgr
Bazel Release System
authored andcommitted
Release 0.5.3 (2017-07-27)
Baseline: 8851852 Cherry picks: + 820a46a: Automated rollback of commit 6d6e872. + ccfb2df: Allow py_binary to be the executable of a Skylark action or any SpawnAction on Windows. + 0653491: Fix string representation for the Root class + cd159bc: sandbox: Allow UNIX sockets on macOS even when block-network is used. + ad73cba: Fix python_stub_template.txt to be compatible with Python 2.4. + 9a63aff: Create Windows ZIP release artifact using Bazel + 5e57663: Automated rollback of commit 820a46a. + b6e29ca: Use the correct function to generate the release notes + 0f3481b: Include <cinttypes> instead of <stdint.h> Incompatible changes: - The --output=location flag to 'bazel query' cannot be used with query expressions that involve the 'buildfiles' or 'loadfiles' operators. This also applies to 'genquery' rules. - Operators for equality, comparison, 'in' and 'not in' are no longer associative, e.g. x < y < z is now a syntax error. Before, it was parsed as: (x < y) < z. - In strings, octal sequences greater than \377 are now forbidden (e.g. "\\600"). Previously, Blaze had the same behavior as Python 2, where "\\450" == "\050". - Using tabulation for identation is now fobidden in .bzl files - `load` is now a language keyword, it cannot be used as an identifier - lvalues must have define at least one variable (i.e. we forbid `[] = f()`). - Fixed a bug whereby multiple load() statements could appear on the same line - -extra_checks:off is no longer supported; use -XepDisableAllChecks instead - java_common.java_toolchain_attr is removed. Depend on the java_toolchain_alias() rule to accomplish the same thing. - cc_common.cc_toolchain_attr and java_common.java_runtime_attr are not supported anymore and were replaced with the cc_toolchain_alias() and java_runtime_alias() rules. New features: - Zipped LLVM profiles are now supported. - LIPO maps to ThinLTO for LLVM builds. - Change to handle LLVM FDO zipped profile contents correctly. Important changes: - Windows: bazel clean --expunge works - First argument of 'load' should be a label. Path syntax is deprecated (label should start with '//' or ':'). - Octal prefix '0' is deprecated in favor of '0o' (use 0o777 instead of 0777). - The extension_safe attribute of apple_binary no longer validates transitive dependencies are compiled against extension_safe APIs. - Parentheses around the tuple are now mandatory in [a for b in c if 1, 2] - Adjust the thresholds for --test_verbose_timeout_warnings so that it can recommending timeout increases and won't recommend timeouts that are too close to the actual timeout. - Iterating on a `depset` object is deprecated. If you need an iterable, call the `.to_list()` method first. - Bazel now uses tools from action_configs in Crosstool by default (as oposed to using top level tools). - Incremental dexing errors on combination of --multidex=off and either --main-dex-list or --minimal-main-dex. - When using the dictionary literal syntax, it is now an error to have duplicated keys (e.g. {'ab': 3, 'ab': 5}). - New property on android_sdk: aapt2 Choose the version of aapt on android_binary - Add idl_preprocessed attribute to android_library, so that preprocessed aidl files can be passed to android_library for compiling - Bazel's remote_worker backend for remote execution supports sandboxing on Linux now. Check https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w orker/README.md for details. - Allows flags that expand to take values. - Make querying attributes formed by selector lists of list types more efficient by no longer listing every possible combination of attribute value but by more compactly storing the possible values of the list. - Writing build events to a file is no longer experimental - set --rewrite_calls_to_long_compare to false by default. - ObjC and C++ coverage feature is unified under name 'coverage' - Enable --incremental_dexing for Android builds by default. Note that some dexopts are incompatible with incremental dexing, including --force-jumbo. - Evaluation will soon use checked arithmetics and throw an error instead of overflow/underflow. - Implicit iteration in the CROSSTOOL has been removed, use explicit 'iterate_over' message. - Add option for Android specific grte_top - Crosstool patches are only applied if the toolchain doesn't define 'no_legacy_features' feature. - 'platform_type' is now a mandatory attribute on apple_binary and apple_static_library rules. If this change breaks your build, feel free to add platform_type = 'ios' to any apple_binary and apple_static_library targets in your project, as this was the previous default behavior. - Remove apple_watch2_extension build rule. Users should be using the skylark watchos_application and watchos_extension rules. https://github.com/bazelbuild/rules_apple has details. - Check stderr to detect if connected to a terminal. Deprecate --isatty. - Commands that shut down the server (like "shutdown") now ensure that the server process has terminated before the client process terminates. - Remove apple_watch1_extension and apple_watch_extension_binary rules. Users should be using the skylark watchos_application and watchos_extension rules. https://github.com/bazelbuild/rules_apple has details. - Windows: Wrapper-less CROSSTOOL becomes default now. set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.
1 parent 4b82b97 commit 40169a6

File tree

1 file changed

+133
-0
lines changed

1 file changed

+133
-0
lines changed

CHANGELOG.md

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,135 @@
1+
## Release 0.5.3 (2017-07-27)
2+
3+
```
4+
Baseline: 88518522a18df5788736be6151fc67992efe2aad
5+
6+
Cherry picks:
7+
+ 820a46af10808396873c36d0f331e533118cf0c6:
8+
Automated rollback of commit
9+
6d6e87297fe8818e4c374fdfabfbcf538bca898a.
10+
+ ccfb2df69ecf4746f5a15e1295af995c3a45aa94:
11+
Allow py_binary to be the executable of a Skylark action or any
12+
SpawnAction on Windows.
13+
+ 06534911696838e720c8681f6f568c69d28da65e:
14+
Fix string representation for the Root class
15+
+ cd159bcee72a7f377621b45409807231a636f9e2:
16+
sandbox: Allow UNIX sockets on macOS even when block-network is
17+
used.
18+
+ ad73cba3caa2e08ad61ea9ca63f9111cde1f48d1:
19+
Fix python_stub_template.txt to be compatible with Python 2.4.
20+
+ 9a63aff8bb771af8917903fbbc9df3b708e2c0ed:
21+
Create Windows ZIP release artifact using Bazel
22+
+ 5e576637b5705aff0a7bf56b5077463dffcd712f:
23+
Automated rollback of commit
24+
820a46af10808396873c36d0f331e533118cf0c6.
25+
+ b6e29ca217b02c3ba499b85479a3830f59c9b9b6:
26+
Use the correct function to generate the release notes
27+
+ 0f3481ba6364f24ef76b839bdde06ae7883c9bd9:
28+
Include <cinttypes> instead of <stdint.h>
29+
```
30+
31+
Incompatible changes:
32+
33+
- The --output=location flag to 'bazel query' cannot be used with
34+
query expressions that involve the 'buildfiles' or 'loadfiles'
35+
operators. This also applies to 'genquery' rules.
36+
- Operators for equality, comparison, 'in' and 'not in' are no
37+
longer associative, e.g. x < y < z is now a syntax error.
38+
Before, it was parsed as: (x < y) < z.
39+
- In strings, octal sequences greater than \377 are now forbidden
40+
(e.g. "\\600"). Previously, Blaze had the same behavior as Python 2,
41+
where "\\450" == "\050".
42+
- Using tabulation for identation is now fobidden in .bzl files
43+
- `load` is now a language keyword, it cannot be used as an
44+
identifier
45+
- lvalues must have define at least one variable (i.e. we forbid
46+
`[] = f()`).
47+
- Fixed a bug whereby multiple load() statements could appear on
48+
the same line
49+
- -extra_checks:off is no longer supported; use
50+
-XepDisableAllChecks instead
51+
- java_common.java_toolchain_attr is removed. Depend on the
52+
java_toolchain_alias() rule to accomplish the same thing.
53+
- cc_common.cc_toolchain_attr and java_common.java_runtime_attr are
54+
not supported anymore and were replaced with the
55+
cc_toolchain_alias() and java_runtime_alias() rules.
56+
57+
New features:
58+
59+
- Zipped LLVM profiles are now supported.
60+
- LIPO maps to ThinLTO for LLVM builds.
61+
- Change to handle LLVM FDO zipped profile contents correctly.
62+
63+
Important changes:
64+
65+
- Windows: bazel clean --expunge works
66+
- First argument of 'load' should be a label. Path syntax is
67+
deprecated (label should start with '//' or ':').
68+
- Octal prefix '0' is deprecated in favor of '0o' (use 0o777
69+
instead of 0777).
70+
- The extension_safe attribute of apple_binary no longer validates
71+
transitive dependencies are compiled against extension_safe APIs.
72+
- Parentheses around the tuple are now mandatory in [a for b in c
73+
if 1, 2]
74+
- Adjust the thresholds for --test_verbose_timeout_warnings so that
75+
it can recommending timeout increases and won't recommend
76+
timeouts that are too close to the actual timeout.
77+
- Iterating on a `depset` object is deprecated. If you need an
78+
iterable, call the `.to_list()` method first.
79+
- Bazel now uses tools from action_configs in Crosstool by default
80+
(as oposed to using top level tools).
81+
- Incremental dexing errors on combination of --multidex=off and
82+
either --main-dex-list or --minimal-main-dex.
83+
- When using the dictionary literal syntax, it is now an error to
84+
have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
85+
- New property on android_sdk: aapt2
86+
Choose the version of aapt on android_binary
87+
- Add idl_preprocessed attribute to android_library, so that
88+
preprocessed aidl files can be passed to android_library for
89+
compiling
90+
- Bazel's remote_worker backend for remote execution supports
91+
sandboxing on Linux now. Check
92+
https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w
93+
orker/README.md for details.
94+
- Allows flags that expand to take values.
95+
- Make querying attributes formed by selector lists of list types
96+
more efficient by no longer listing every possible combination of
97+
attribute value but by more compactly storing the possible values
98+
of the list.
99+
- Writing build events to a file is no longer experimental
100+
- set --rewrite_calls_to_long_compare to false by default.
101+
- ObjC and C++ coverage feature is unified under name 'coverage'
102+
- Enable --incremental_dexing for Android builds by default. Note
103+
that some dexopts are incompatible with incremental dexing,
104+
including --force-jumbo.
105+
- Evaluation will soon use checked arithmetics and throw an error
106+
instead of overflow/underflow.
107+
- Implicit iteration in the CROSSTOOL has been removed, use
108+
explicit 'iterate_over' message.
109+
- Add option for Android specific grte_top
110+
- Crosstool patches are only applied if the toolchain doesn't define
111+
'no_legacy_features' feature.
112+
- 'platform_type' is now a mandatory attribute on apple_binary and
113+
apple_static_library rules.
114+
If this change breaks your build, feel free to add platform_type
115+
= 'ios' to any apple_binary and apple_static_library
116+
targets in your project, as this was the previous default
117+
behavior.
118+
- Remove apple_watch2_extension build rule. Users should be using
119+
the skylark watchos_application and watchos_extension rules.
120+
https://github.com/bazelbuild/rules_apple has details.
121+
- Check stderr to detect if connected to a terminal. Deprecate
122+
--isatty.
123+
- Commands that shut down the server (like "shutdown") now ensure
124+
that the server process has terminated before the client process
125+
terminates.
126+
- Remove apple_watch1_extension and apple_watch_extension_binary
127+
rules. Users should be using the skylark watchos_application and
128+
watchos_extension rules.
129+
https://github.com/bazelbuild/rules_apple has details.
130+
- Windows: Wrapper-less CROSSTOOL becomes default now.
131+
set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.
132+
1133
## Release 0.5.2 (2017-06-27)
2134

3135
```
@@ -1486,3 +1618,4 @@ Initial release.
14861618

14871619

14881620

1621+

0 commit comments

Comments
 (0)