|
| 1 | +## Release 0.13.1 (2018-05-23) |
| 2 | + |
| 3 | +``` |
| 4 | +Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05 |
| 5 | +
|
| 6 | +Cherry picks: |
| 7 | + + f083e7623cd03e20ed216117c5ea8c8b4ec61948: |
| 8 | + windows: GetOutputRoot() returns GetHomeDir() |
| 9 | + + fa36d2f48965b127e8fd397348d16e991135bfb6: |
| 10 | + Automated rollback of commit |
| 11 | + 4465dae23de989f1452e93d0a88ac2a289103dd9. |
| 12 | + + 4abd2babcc50900afd0271bf30dc64055f34e100: |
| 13 | + Add error message on empty public resources |
| 14 | + + 2c957575ff24c183d48ade4345a79ffa5bec3724: |
| 15 | + test-setup: remove leading "./" from test name |
| 16 | + + e6eaf251acb3b7054c8c5ced58a49c054b5f23b1: |
| 17 | + Sort entries by segment when building a parent node to prevent |
| 18 | + unordered directory structures. |
| 19 | +``` |
| 20 | + |
| 21 | +Important changes: |
| 22 | + |
| 23 | + - Remote Execution: Fixes a regression that produces directories with unsorted file/directory lists |
| 24 | + |
| 25 | +## Release 0.13.0 (2018-04-30) |
| 26 | + |
| 27 | +``` |
| 28 | +Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05 |
| 29 | +
|
| 30 | +Cherry picks: |
| 31 | + + f083e7623cd03e20ed216117c5ea8c8b4ec61948: |
| 32 | + windows: GetOutputRoot() returns GetHomeDir() |
| 33 | + + fa36d2f48965b127e8fd397348d16e991135bfb6: |
| 34 | + Automated rollback of commit |
| 35 | + 4465dae23de989f1452e93d0a88ac2a289103dd9. |
| 36 | + + 4abd2babcc50900afd0271bf30dc64055f34e100: |
| 37 | + Add error message on empty public resources |
| 38 | + + 2c957575ff24c183d48ade4345a79ffa5bec3724: |
| 39 | + test-setup: remove leading "./" from test name |
| 40 | +``` |
| 41 | + |
| 42 | +Incompatible changes: |
| 43 | + |
| 44 | + - Remove //tools/defaults:android_jar. Use |
| 45 | + @bazel_tools//tools/android:android_jar instead. |
| 46 | + - The flag --incompatible_show_all_print_messages is removed. |
| 47 | + Messages generated by `print` statements from any package will be |
| 48 | + displayed as |
| 49 | + DEBUG messages. |
| 50 | + - The --incompatible_disallow_uncalled_set_constructor flag is no |
| 51 | + longer available, the `set` constructor` is completely removed |
| 52 | + from Skylark. |
| 53 | + Use `depset` instead. |
| 54 | + - Variables PACKAGE_NAME and REPOSITORY_NAME are deprecated in |
| 55 | + favor of |
| 56 | + functions `package_name()` and `repository_name()`. |
| 57 | + |
| 58 | + https://docs.bazel.build/versions/master/skylark/lib/native.html#p |
| 59 | + ackage_name |
| 60 | + - BUILD_TIMESTAMP now contains seconds (and not milliseconds) since |
| 61 | + the epoch. |
| 62 | + |
| 63 | +New features: |
| 64 | + |
| 65 | + - Strings have a new .elems() method, that provides an iterator on |
| 66 | + the characters of the string. |
| 67 | + - Now you can access three functions in windows_cc_configure.bzl by: |
| 68 | + load("@bazel_tools/tools/cpp:windows_cc_configure.bzl", |
| 69 | + "<function_name>") |
| 70 | + |
| 71 | +Important changes: |
| 72 | + |
| 73 | + - CppRules: Unified action_configs for static libraries |
| 74 | + - Remove support for blaze dump --vfs. It is no longer meaningful. |
| 75 | + - Enable dependency checking for aar_import targets. |
| 76 | + - internal_bootstrap_hack has been deprecated and removed. |
| 77 | + - Properly handle tree artifacts on the link command line coming |
| 78 | + from a cc_library dependency. |
| 79 | + - Allow C++ features to make proto_library emit smaller C++ code |
| 80 | + - The 'j2objc' configuration fragment is exposed to Skylark. |
| 81 | + - Remove the default content of the global bazelrc. |
| 82 | + - In int() function, do not auto-detect base if input starts with |
| 83 | + '0'. |
| 84 | + - Users can now pass --experimental_shortened_obj_file_path=true to |
| 85 | + have a shorter object file path, the object file paths (and all |
| 86 | + other related paths) will be constructed as following: |
| 87 | + If there's no two or more source files with the same base name: |
| 88 | + |
| 89 | + <bazel-bin>/<target_package_path>/_objs/<target_name>/<source_base |
| 90 | + _name>.<extension> |
| 91 | + otherwise: |
| 92 | + |
| 93 | + <bazel-bin>/<target_package_path>/_objs/<target_name>/N/<source_ba |
| 94 | + se_name>.<extension> |
| 95 | + N = the file?s order among the source files with the same |
| 96 | + basename, starts from 0. |
| 97 | + - Move (c/cxx)opts from legacy_compile_flags to user_compile_flags |
| 98 | + - CppRules: Remove optional_*_flag fields from CROSSTOOL, they are |
| 99 | + not |
| 100 | + used, and could be expressed using features. |
| 101 | + - Introduce --incompatible_disable_objc_provider_resources to turn |
| 102 | + off all resource-related fields of the Objc provider. |
| 103 | + - Removed the statement of "What does Bazel support?" as it's |
| 104 | + limiting/misleading. Added supported host OSes to |
| 105 | + "multi-platform" paragraph. |
| 106 | + - android_library AAR output now contains proguard.txt |
| 107 | + - Bazel now displays information about remote cache hits and |
| 108 | + execution strategies used in its UI after every build and test, |
| 109 | + and adds a corresponding line "process stats" to BuildToolLogs in |
| 110 | + BEP. |
| 111 | + - Print correct build result for builds with --aspects flag. |
| 112 | + - android_binary.manifest_merger is no longer supported. |
| 113 | + |
| 114 | +## Release 0.12.0 (2018-04-11) |
| 115 | + |
| 116 | +``` |
| 117 | +Baseline: b33e5afa313322a7048044c44d854cbb666b988e |
| 118 | +
|
| 119 | +Cherry picks: |
| 120 | + + 369409995bd75eeb0683fd24f7585d2a90320796: |
| 121 | + Automated rollback of commit |
| 122 | + c2b332b45e6ea41a14ecbd3c5f30782bcdeec301. |
| 123 | + + dbf779869751cc893ba240402d352c6e70be2978: |
| 124 | + Emit SJD errors even if we don't know the label of a dependency |
| 125 | + + 4c3098cfa6f00f90c7530b6f40d3e93062931c1d: |
| 126 | + Android tools: remove mtime-modifications |
| 127 | + + a1068c44a700ec2cff84cbd12592e9bfea25d754: |
| 128 | + NDK cc_toolchains: include bundled runtime libraries in |
| 129 | + cc_toolchain.all_files |
| 130 | + + b1be5816ec1bf8e1172c1bed4f29b4e6c6bb7202: |
| 131 | + runfiles,Python: remove library from @bazel_tools |
| 132 | + + 0a4622012ff796429220fe57d3217f262cc208a8: |
| 133 | + Fix visibility of def_parser for remote builds |
| 134 | + + 3c5373c50c7c492842f8a468906eda2c0bc90787: |
| 135 | + Remove visibility attribute from |
| 136 | + //third_party/def_parser:def_parser |
| 137 | + + f54d7e5293cc40ce3507a9adef530e46ab817585: |
| 138 | + Enable bulk writes in the HttpBlobStore |
| 139 | + + 04ce86e8ba96630f89a436167b7f3a195c5e50e7: |
| 140 | + remote/http: properly complete user promise |
| 141 | +``` |
| 142 | + |
| 143 | +Incompatible changes: |
| 144 | + |
| 145 | + - The order of dict-valued attributes is now the order in the BUILD |
| 146 | + file (or in the Skylark dict they were created from) and not |
| 147 | + lexicographically sorted. |
| 148 | + |
| 149 | +New features: |
| 150 | + |
| 151 | + - The new "--direct_run" flag on "blaze run" lets one run |
| 152 | + interactive binaries. |
| 153 | + - "blaze run --direct_run" with tests now gives the test an |
| 154 | + approximation of the official test environment. |
| 155 | + - "blaze run --direct_run" now exports the |
| 156 | + BUILD_{WORKSPACE,WORKING}_DIRECTORY variables to tell the binary |
| 157 | + about the cwd of the client and the workspace root. |
| 158 | + - New Android device test rule: android_instrumentation_test. |
| 159 | + - Add option to dump the action graph to a file: 'bazel dump |
| 160 | + --action_graph=/path/to/file'. |
| 161 | + - Pass `tags` from `java_import_external` rule to the generated |
| 162 | + `java_import` rule. |
| 163 | + - blaze query: use --proto:output_rule_attrs to filter for given |
| 164 | + attributes |
| 165 | + - Added Android NDK r15 support, including compatibility with |
| 166 | + Unified Headers. |
| 167 | + - Adds --ltobackendopt and --per_file_ltobackendopt for passing |
| 168 | + options to ThinLTO LTO backend compile actions only. |
| 169 | + |
| 170 | +Important changes: |
| 171 | + |
| 172 | + - Fix how libraries to link is specified to archiver actions. |
| 173 | + - Fix how libraries_to_link are expanded in the archiver command |
| 174 | + line. |
| 175 | + - stop using --no-locals in android coverage builds |
| 176 | + - apple_binary can now generate dSYM outputs with the |
| 177 | + --apple_generate_dsym=true flag. |
| 178 | + - Fix FDO_STAMP_MACRO to only be set when fdoBuildStamp is not null. |
| 179 | + - Improved clarity of warning message for unsupported NDK revisions. |
| 180 | + - Add lint check for discouraging glob(["**/*.java"]) |
| 181 | + - unifly lint glob(["**/*.java"]) message |
| 182 | + - Removed flags `--incompatible_checked_arithmetic`, |
| 183 | + `--incompatible_dict_literal_has_no_duplicates`, |
| 184 | + `--incompatible_disallow_keyword_only_args`, and ` |
| 185 | + --incompatible_comprehension_variables_do_not_leak`. |
| 186 | + - Add "proto_source_root" flag to proto_library. |
| 187 | + - Updated default android_cpu value to armeabi-v7a |
| 188 | + - In skylark, print(target) now shows the provider keys of a |
| 189 | + target, as debug information. |
| 190 | + - The native http_archive rule is deprecated. Use the |
| 191 | + Skylark version available via |
| 192 | + load("@bazel_tools//tools/build_defs/repo:http.bzl", |
| 193 | + "http_archive") |
| 194 | + instead. |
| 195 | + - flaky_test_attempts supports the regex@attempts syntax, like |
| 196 | + runs_per_test. |
| 197 | + - Fixed include paths for NDK r13+ llvm-libc++ headers to |
| 198 | + `ndk/sources/cxx-stl/llvm-libc++/include` and |
| 199 | + `ndk/sources/cxx-stl/llvm-libc++abi/include` |
| 200 | + - --config flags now expand in place by default. |
| 201 | + - aar_import now sets java.transitive_exports. |
| 202 | + - repository_cache is no longer experimental and enabled by default. |
| 203 | + - BAZEL_LINKOPTS is now consulted when autoconfiguring c++ toolchain |
| 204 | + - The native git_repository rule is deprecated. Use the |
| 205 | + Skylark version available via |
| 206 | + load("@bazel_tools//tools/build_defs/repo:git.bzl", |
| 207 | + "git_repository") |
| 208 | + instead. |
| 209 | + - Removed flag `--incompatible_load_argument_is_label`. |
| 210 | + - CcToolchain: Introduced action_config for |
| 211 | + "c++-link-transitive-dynamic-library" |
| 212 | + - Use bazel dump --action_graph=/path/to/action.proto |
| 213 | + --action_graph:targets://foo:bar,//foo:foo to filter for certain |
| 214 | + targets in the action graph dump. |
| 215 | + - Added Android NDK r16 support. Use --cxxopt='-std=c++11` compile |
| 216 | + with the C++11 standard, and |
| 217 | + `--android_crosstool_top=@androidndk//:toolchain-libcpp` to use |
| 218 | + the `libc++` STL. |
| 219 | + - Add a --build_event_publish_all_actions flag to allow all actions |
| 220 | + to be published via the BEP. |
| 221 | + - C++: Introduced --experimental_drop_fully_static_linking_mode |
| 222 | + - Removed cc_inc_library, please use cc_library instead |
| 223 | + - CppRules: cc_binary/cc_test now enable 'static_linking_mode' or |
| 224 | + 'dynamic_linking_mode'. |
| 225 | + |
1 | 226 | ## Release 0.11.1 (2018-03-06)
|
2 | 227 |
|
3 | 228 | ```
|
@@ -2542,3 +2767,6 @@ Initial release.
|
2542 | 2767 |
|
2543 | 2768 |
|
2544 | 2769 |
|
| 2770 | + |
| 2771 | + |
| 2772 | + |
0 commit comments