Skip to content

Commit 0b804c2

Browse files
Bazel Release Systemvladmos
authored andcommitted
Release 0.6.0 (2017-09-28)
Baseline: 87cc92e Cherry picks: + a615d28: Rollback context.actions.args() functionality. + 7b091c1: Add a global failure when a test is interrupted/cancelled. + 95b0467: Cleanups for Skylark tracebacks + cc9c2f0: Remove the status xml attribute from AntXmlResultWriter Incompatible changes: - Noop flag --deprecated_generate_xcode_project deleted. - Objects in Skylark are converted to strings in a more descriptive and less harmful way (they don't leak information that shouldn't be accessed by Skylark code, e.g. nondeterministic memory addresses of objects). - `set` is deprecated in BUILD and .bzl files, please use `depset` instead. Ordering names have also been changed, please use "default", "postorder", "preorder", and "topological" instead of "stable", "compile", "naive_link", and "link" correspondingly. - Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is an error. - Keyword-only syntax in a function definition is now forbidden e.g. `def foo(a, *, b)` or `def foo(a, *b, c)` - --incompatible_comprehension_variables_do_not_leak defaults to "true." Iteration variable becomes inaccessible after a list/dict comprehension. New features: - There is now a 'siblings' query function. See the query documentation for more details. - Added the print_action command, which outputs the actions needed to build a given target in the form of an ExtraActionSummary proto in text format. - android_binary now supports proguard_apply_dictionary to specify a custom dictionary to use for choosing names to obfuscate classes and members to. Important changes: - 'strip' action is now configured via feature configuration - Flags from action_config get added first to the command line first, before the flags from features. - `bazel info output_path` no longer relies on the root directory filename being equal to the workspace name. - The `print` function now prints debug messages instead of warnings. - speedup of incremental dexing tools - --announce_rc now controls whether bazelrc startup options are printed to stderr. - Removing a few unused objc_provider keys. - Improved logging when workers have to be restarted due to its files having changed. - Top-level `if` statements are now forbidden. - Java protos are compiled to Java 7 bytecode. - All Android builds now use the desugar tool to support some Java 8 features by default. To disable, use the --nodesugar_for_android flag. - Skylark-related options may now appear as "common" command options in the .bazelrc - Python is now required to build bazel. - When the lvalue of an augmented assignment is a list, we now throw an error before evaluating the code (e.g. `a, b += 2, 3`). - New --build_runfile_manifests flag controls production of runfiles manifests. - Enable debug info for Java builds - Allow java_lite_proto_library in the deps of android rules. - .so files in APKs will be memory-page aligned when android_binary.nocompress_extensions contains ".so" and --experimental_android_use_nocompress_extensions_on_apk is specified. - Skylark providers can specify allowed fields and their documentation. - Support ctx.actions.args() for more efficient Skylark command line construction. - The remote HTTP/1.1 caching client (--remote_rest_cache) now distinquishes between action cache and CAS. The request URL for the action cache is prefixed with 'ac' and the URL for the CAS is prefixed with 'cas'. - `JavaInfo` is a preferred alias to `java_common.provider`. - J2ObjC version updated to 2.0.3. - A new Java coverage implementation is available. Makes possible coverage for Skylark JVM rules. - Make proguard_apply_dictionary also apply to class and package obfuscation, not just class members. - When using the dictionary literal syntax, it is now an error to have duplicated keys (e.g. {'ab': 3, 'ab': 5}). - android_binary.nocompress_extensions now applies to all files in the APK, not just resources and assets. - The apple_genrule rule that is distributed with Bazel has been deleted. Users who wish to use genrules with Xcode's DEVELOPER_DIR set should use the rules in https://github.com/bazelbuild/rules_apple instead. - The swift_library rule that is distributed with Bazel has been deleted. Users who wish to compile Swift should use the rules in https://github.com/bazelbuild/rules_apple instead.
1 parent aa3cbe0 commit 0b804c2

1 file changed

Lines changed: 109 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,111 @@
1+
## Release 0.6.0 (2017-09-28)
2+
3+
```
4+
Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689
5+
6+
Cherry picks:
7+
+ a615d288b008c36c659fdc17965207bb62d95d8d:
8+
Rollback context.actions.args() functionality.
9+
+ 7b091c1397a82258e26ab5336df6c8dae1d97384:
10+
Add a global failure when a test is interrupted/cancelled.
11+
+ 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120:
12+
Cleanups for Skylark tracebacks
13+
+ cc9c2f07127a832a88f27f5d72e5508000b53429:
14+
Remove the status xml attribute from AntXmlResultWriter
15+
```
16+
17+
Incompatible changes:
18+
19+
- Noop flag --deprecated_generate_xcode_project deleted.
20+
- Objects in Skylark are converted to strings in a more descriptive
21+
and less harmful way (they don't leak information that shouldn't
22+
be accessed by Skylark code, e.g. nondeterministic memory addresses
23+
of objects).
24+
- `set` is deprecated in BUILD and .bzl files, please use `depset`
25+
instead. Ordering names have also been changed, please use
26+
"default", "postorder", "preorder", and "topological" instead of
27+
"stable", "compile", "naive_link", and "link" correspondingly.
28+
- Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is
29+
an error.
30+
- Keyword-only syntax in a function definition is now forbidden
31+
e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`
32+
- --incompatible_comprehension_variables_do_not_leak defaults to
33+
"true."
34+
Iteration variable becomes inaccessible after a list/dict
35+
comprehension.
36+
37+
New features:
38+
39+
- There is now a 'siblings' query function. See the query
40+
documentation for more details.
41+
- Added the print_action command, which outputs the
42+
actions needed to build a given target in the form of an
43+
ExtraActionSummary proto in text format.
44+
- android_binary now supports proguard_apply_dictionary to specify
45+
a custom dictionary to use for choosing names to obfuscate
46+
classes and members to.
47+
48+
Important changes:
49+
50+
- 'strip' action is now configured via feature configuration
51+
- Flags from action_config get added first to the command line
52+
first,
53+
before the flags from features.
54+
- `bazel info output_path` no longer relies on the root directory
55+
filename being equal to the workspace name.
56+
- The `print` function now prints debug messages instead of
57+
warnings.
58+
- speedup of incremental dexing tools
59+
- --announce_rc now controls whether bazelrc startup options are
60+
printed to stderr.
61+
- Removing a few unused objc_provider keys.
62+
- Improved logging when workers have to be restarted due to its
63+
files having changed.
64+
- Top-level `if` statements are now forbidden.
65+
- Java protos are compiled to Java 7 bytecode.
66+
- All Android builds now use the desugar tool to support some Java
67+
8 features by default. To disable, use the
68+
--nodesugar_for_android flag.
69+
- Skylark-related options may now appear as "common" command
70+
options in the .bazelrc
71+
- Python is now required to build bazel.
72+
- When the lvalue of an augmented assignment is a list, we now
73+
throw an error
74+
before evaluating the code (e.g. `a, b += 2, 3`).
75+
- New --build_runfile_manifests flag controls production of
76+
runfiles manifests.
77+
- Enable debug info for Java builds
78+
- Allow java_lite_proto_library in the deps of android rules.
79+
- .so files in APKs will be memory-page aligned when
80+
android_binary.nocompress_extensions contains ".so" and
81+
--experimental_android_use_nocompress_extensions_on_apk is
82+
specified.
83+
- Skylark providers can specify allowed fields and their
84+
documentation.
85+
- Support ctx.actions.args() for more efficient Skylark command
86+
line construction.
87+
- The remote HTTP/1.1 caching client (--remote_rest_cache) now
88+
distinquishes between action cache and CAS. The request URL for
89+
the action cache is prefixed with 'ac' and the URL for the CAS
90+
is prefixed with 'cas'.
91+
- `JavaInfo` is a preferred alias to `java_common.provider`.
92+
- J2ObjC version updated to 2.0.3.
93+
- A new Java coverage implementation is available. Makes possible
94+
coverage for Skylark JVM rules.
95+
- Make proguard_apply_dictionary also apply to class and package
96+
obfuscation, not just class members.
97+
- When using the dictionary literal syntax, it is now an error to
98+
have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
99+
- android_binary.nocompress_extensions now applies to all files in
100+
the APK, not just resources and assets.
101+
- The apple_genrule rule that is distributed with Bazel has been
102+
deleted. Users who wish to use genrules with Xcode's
103+
DEVELOPER_DIR set should use the rules in
104+
https://github.com/bazelbuild/rules_apple instead.
105+
- The swift_library rule that is distributed with Bazel has been
106+
deleted. Users who wish to compile Swift should use the rules in
107+
https://github.com/bazelbuild/rules_apple instead.
108+
1109
## Release 0.5.4 (2017-08-25)
2110

3111
```
@@ -1683,3 +1791,4 @@ Initial release.
16831791

16841792

16851793

1794+

0 commit comments

Comments
 (0)