blob: a735ec0e954ae80ceb6a203fa5fdcd27248716a7 [file] [log] [blame] [view]
Bazel Release System7fcc5812022-03-29 20:11:01 +02001## Release 6.0.0-pre.20220324.1 (2022-03-29)
2
3```
4Baseline: 77cd575685f405a2f2a9a6549b20ec439dc4ba5f
5```
6
7Important changes:
8
9 - android_sdk_repository read $ANDROID_SDK_ROOT in addition to
10 $ANDROID_HOME.
11 - The default dexer is now d8. dx can be optionally enabled using:
12 --define=android_dexmerger_tool=dx_dexmerger \
13 --define=android_incremental_dexing_tool=dx_dexbuilder \
14 --define=android_standalone_dexing_tool=dx_compat_dx \
15 --use_workers_with_dexbuilder
16
17This release contains contributions from many people at Google, as well as Andreas Herrmann, arunkumar9t2, Benjamin Lee, Benjamin Peterson, Fabian Meumertzheim, gkgoat1, Jan, Jay Bazuzi, Keith Smiley, Nick Korostelev, Oscar Bonilla, Yannic Bonenberger.
18
Bazel Release System724177f2022-03-25 20:57:02 +010019## Release 6.0.0-pre.20220315.4 (2022-03-25)
20
21```
22Baseline: bc2f0519a4e6f0ac3ea42ff50da2c9919c5b6c0e
23
24Cherry picks:
25
26 + a421288560e776d952a6b198e399b312e3a3a1b1:
27 Automated rollback of commit
28 5576979669383c2380c11b59beaa2f8263ff1f56.
29```
30
31Incompatible changes:
32
33 - this incompatible change breaks old instances of http_archive
34 that specified netrc as an absolute path. It is unlikely there
35 are many instances in the wild since the path would refer to a
36 netrc file inside the external repository by absolute path.
37 Migration should be straightforward.
38 - genrule switched to use exec transition instead of host. This can
39 break targets with hardcoded output paths. To avoid using
40 hardcoded paths use make variables, see
41 https://docs.bazel.build/versions/4.2.2/be/make-variables.html#pre
42 defined_label_variables
43 - this incompatible change breaks old instances of http_archive
44 that specified netrc as an absolute path. It is unlikely there
45 are many instances in the wild since...
46 - Error Prone now checks for unused return values of additional
47 methods on `java.lang.Object`, which can be disabled using
48 `--javacopts=-Xep:ReturnValueIgnored:OFF`
49 - Error Prone now checks for unused return values of additional
50 methods on `java.lang.Object`, which can be disabled using
51 `--javacopts=-Xep:ReturnValueIgnored:OFF`
52 - The --incompatible_existing_rules_immutable_view flag has been
53 flipped to true. See
54 https://github.com/bazelbuild/bazel/issues/13907 for
55 migration notes.
56
57Important changes:
58
59 - Deprecate --incompatible_applicable_licenses flag, in preparation
60 for removal in Bazel 6.x.
61 - Treat py_*.srcs_version="PY2" the same as "PY2ONLY".
62 - The Build Event Protocol now contains file digests and sizes
63 along with the file name and URI.
64 - Refactor system suspend event handling.
65 - alias() can now select() directly on constraint_value()
66 - Allow \a \b \f \v escape sequences in Starlark.
67 - Match remote and local xcode version by most granular version.
68 - Adds `--experimental_worker_multiplex_sandboxing` flag that
69 controls whether to sandbox multiplex workers that support it.
70 - provider() has a new parameter: init, a callback for performing
71 pre-processing and validation of field values. Iff this parameter
72 is set,
73 provider() returns a tuple of 2 elements: the usual provider
74 symbol (which,
75 when called, invokes init) and a raw constructor (which bypasses
76 init).
77 - Tests that fail to create or complete their
78 `TestAttemptContinuation` by
79 throwing an `ExecException` will report an `INCOMPLETE` status.
80 Previously, Bazel
81 would fail to report any status for the test attempt.
82 - Fixed an issue where Bazel could erroneously report a test passes
83 in coverage mode without actually running the test.
84 - Include more information about configurations in cquery proto
85 formatted output. This deprecates the configuration field of
86 AnalysisProtosV2.ConfiguredTarget, and adds a new field,
87 configuration_id, to
88 be used instead.
89 - experimental cc_library.implementation_deps inverted to
90 interface_deps
91 - In aquery and cquery proto output, indicate if a configuration is
92 a
93 tool or non-tool configuration.
94 - Include complete configurations in cquery proto output.
95 - experimental cc_library.implementation_deps inverted to
96 interface_deps
97 - Make protocOpts() publicly accessible.
98 - Add some documentation about how configuration information is
99 conveyed in cquery proto output.
100 - Introduces experimental static library linking API under
101 apple_common.link_multi_arch_static_library
102 - Further deprecation and removal of pkg_tar. Stop supporting
103 legacy use of 'files' attribute, where it could be a list of
104 labels instead of a map of paths to labels.
105 - Removed --incompatible_no_build_defs_pkg flag. It never fulfilled
106 its purpose because --all_incompatible_changes would never set
107 it. The last rule it gated (pkg_tar) is scheduled to be removed
108 in Bazel 6.x.
109 - Add coverage configuration fragment, used to expose
110 output_generator label.
111 - Bazel now no longer includes system headers on macOS in coverage
112 reports (#14969).
113
114This release contains contributions from many people at Google, as well as Adam Wolf, Albert Lloveras, Alessandro Patti, Alex Eagle, Alex Scott, Andrew Katson, Ast-x64, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Bohdan Vanieiev, Bradley Burns, Brandon Jacklyn, Brentley Jones, Brentley Jones, Chad Miller, Chris Fredrickson, Christopher Sauer, crydell-ericsson, Dan Fleming, Daniel Wagner-Hall, Danny Wolf, David Ostrovsky, Denys Kurylenko, Dimi Shahbaz, divanorama, dmaclach, Ed Schouten, Fabian Meumertzheim, floriographygoth, Fredrik Medley, Greg Estren, Greg, Hannes Kufler, hvadehra, jheaff1, Jiawen Chen, Joel Williamson, juanchoviedo, Keith Smiley, Ken Micklas, Kevin Lin, lihu, Marek uppa, Matt Mackay, Michael P. Nitowski, Mostyn Bramley-Moore, Nitesh Anandan, Niyas Sait, Noa Resare, Oscar Bonilla, Patrick Balestra, Paul Tarjan, Pras Velagapudi, Rahul Butani, Ryan Schmidt, Simon Bjorklen, Son Luong Ngoc, Stiopa Koltsov, Sven Tiffe, Tetsuo Kiso, Thi Doan, Ulf Adams, Ulrik Falklof, William Muir, Xavier Bonaventura, Xdng Yng, Yannic Bonenberger, Yesudeep Mangalapilly, Yuval K, Zhongpeng Lin.
115
Bazel Release System45b225d2022-03-24 14:57:44 +0100116## Release 5.1.0 (2022-03-24)
Bazel Release System3c156f32022-01-19 15:04:51 +0100117
118```
119Baseline: 8d66a4171baddcbe1569972f019e54130111202c
120
121Cherry picks:
122
123 + becd1494481b96d2bc08055d3d9d4d7968d9702e:
124 Remote: Cache merkle trees
125 + d7628e1b566be353fe7172241ac8f15d5f8e7ff5:
126 Update DEFAULT_IOS_CPU for M1 arm64 simulator support
127 + 80c56ff7b603fcfff02a5f97829a2a5935f360a0:
128 Compile Apple tools as fat binaries if possible
129 + 3c09f3438a966b49a7c1726022c898b390b3a6e5:
130 Add protobuf as a well known module
131 + 3a5b3606a6f5433467a5b49f0188c41411684bf5:
132 Remote: Merge target-level exec_properties with
133 --remote_default_exec_properties
134 + 917e15ea408e1d3d25574edbb466b39cfbcb61fe:
135 Add -no_uuid for hermetic macOS toolchain setup
136 + f5cf8b076bc913dbe021104d5f6837fb4a6cd8b3:
137 Remote: Fixes an issue when --experimental_remote_cache_async
138 encounter flaky tests.
139 + 77a002cce050e861fcc87c89acf7768aa5c97124:
140 Remove DigestUtils.getDigestInExclusiveMode() now that SsdModule
141 has …
142 + 557a7e71eeb5396f2c87c909ddc025fde2678780:
143 Fixes for the Starlark transition hash computation (#14251)
144 + 34c71465f84fa780217926db2e8e5ca3d6d4568c:
145 Do location expansion in copts of objc_library
146 + 50274a9f714616d4735a560db7f617e53fb8d01b:
147 [5.x] Remote: Add support for compression on gRPC cache (#14277)
148 + 61bf2e5b5181cbe34a2f0d584053570943881804:
149 Automated rollback of commit
150 34c71465f84fa780217926db2e8e5ca3d6d4568c.
151 + 79888fe7369479c398bafe064daa19a7ae30f710:
152 Silence a zstd-jni GCC warning.
Bazel Release System45b225d2022-03-24 14:57:44 +0100153 + 8d5973d29d60c0c615838c534ee27f93377cf5af:
Bazel Release System3c156f32022-01-19 15:04:51 +0100154 Remote: Limit max number of gRPC connections by
155 --remote_max_connections.
156 + fd727ec96d861573dcbad3249d727a94eff84789:
157 Do location expansion in copts of objc_library
158 + 23d096931be9b7247eafa750999dd7feadde14c1:
159 Fix _is_shared_library_extension_valid
Bazel Release System45b225d2022-03-24 14:57:44 +0100160 + 7632928a116efc4e28a02ec9206870663bcaacf7:
Bazel Release System3c156f32022-01-19 15:04:51 +0100161 Remove merging of java_outputs in JavaPluginInfo.
162 + cea5f4f499aa832cf90c68898671869ce79d63f2:
163 Cherrypick Bzlmod documentation (#14301)
Bazel Release System45b225d2022-03-24 14:57:44 +0100164 + 299e50aae9d8c0b7f0d47aa2ce3d2658a3a80a94:
165 Format work requests according to ndjson spec (#14314)
166 + e53ae63c04a7158b78da19bc76ede57a8cc31673:
Bazel Release System3c156f32022-01-19 15:04:51 +0100167 Enable user_link_flags_feature for macosx cc_toolchain_config
Bazel Release System45b225d2022-03-24 14:57:44 +0100168 (#14313)
169 + b587be37b3b817879d700d7ee55c44cd884b0905:
Bazel Release System3c156f32022-01-19 15:04:51 +0100170 Remote: Use Action's salt field to differentiate cache across
Bazel Release System45b225d2022-03-24 14:57:44 +0100171 workspaces. (#14320)
Bazel Release System3c156f32022-01-19 15:04:51 +0100172 + f94898915268be5670fb1e93a16c03e9b14d2a58:
173 [5.x] Remote: Fix "file not found" error when remote cache is
174 changed from enabled to disabled. (#14321)
Bazel Release System45b225d2022-03-24 14:57:44 +0100175 + dc76f74d3a6f77de03c49234386bf0ca7d15bdcc:
Bazel Release System3c156f32022-01-19 15:04:51 +0100176 Delete marker file before fetching an external repository
Bazel Release System45b225d2022-03-24 14:57:44 +0100177 (#14323)
178 + fabdff40070acf415282543b72cf114e2b5723f6:
Bazel Release System3c156f32022-01-19 15:04:51 +0100179 Remote: Fix file counting in merkletree.DirectoryTreeBuilder
Bazel Release System45b225d2022-03-24 14:57:44 +0100180 (#14331)
181 + 541ed05702751a5b061b22f1ff98f0cef17af1a5:
182 Fix remote spawn tests for remote_merkle_tree_cache=true (#14334)
183 + aa884df6b09ed19fccd83aad67f39653fde5fbed:
184 Show skipped tests as a warning (#14345)
185 + 6916fc1c4c49134ee76b9a725deddd1e6bcab24a:
186 Build xcode-locator as a universal binary (#14351)
187 + ffa12adb44e86772ae48eeb5a387f172130407fa:
Bazel Release System3c156f32022-01-19 15:04:51 +0100188 Exit collect_coverage.sh early if LCOV_MERGER is not set.
Bazel Release System45b225d2022-03-24 14:57:44 +0100189 (#14359)
190 + b46de754aba0f24d67cd9c882f8a82428915fae5:
Bazel Release System3c156f32022-01-19 15:04:51 +0100191 Automated rollback of commit
Bazel Release System45b225d2022-03-24 14:57:44 +0100192 d84f7998ef8f15e27376a0c8f25b320145c4ba9e. (#14358)
193 + 24a340a50a11e255dff656d2ee9b3dcfb093b729:
Bazel Release System3c156f32022-01-19 15:04:51 +0100194 [apple] fix issues compiling C in objc_library for watchos/armv7k
195 + bfc24139d93f8643686d91596ba347df2e01966a:
196 5.x: Remote: Ignore blobs referenced in BEP if the generating
197 action cannot be cached remotely. (#14389)
198 + 5aef53a8884038f3c9f06e6dddb9372196253378:
199 Remote: Don't blocking-get when acquiring gRPC connections.
200 (#14420)
Bazel Release System45b225d2022-03-24 14:57:44 +0100201 + 2fb7dfe7b35b5997cc5fbcd1d98612b99419f097:
202 Disable IncludeValidation for ObjC in bazel (#14440)
203 + 7deb940f3840e6ac3233963a9b68227e7f0f4a9e:
204 Update java_tools v11.6 (#14423)
Bazel Release System3c156f32022-01-19 15:04:51 +0100205 + 90965b072eb4a6dec8ff5b8abde3726732d37bdc:
206 Stop remote blob upload if upload is complete. (#14467)
207 + dc59d9e8f7937f2e317c042e8da8f97ba6b1237e:
208 [5.x] Make remote BES uploader better (#14472)
Bazel Release System45b225d2022-03-24 14:57:44 +0100209 + d7f134110631641ea8c3f9b19b37165bb177ef2e:
210 Avoid too verbose warnings in terminal when cache issues (#14504)
211 + 2b48c6b9a447756fcb3295b8a75899b96efa7fd4:
212 Rename --project_id to --bes_instance_name (#14507)
213 + 7c7f102576c917acf6c9d6013a5c7c4783bf396d:
Bazel Release System3c156f32022-01-19 15:04:51 +0100214 Automated rollback of commit
Bazel Release System45b225d2022-03-24 14:57:44 +0100215 bfdfa6ebfd21b388f1c91f512291c848e1a92a96. (#14515)
216 + 9c1c622fed219cb6b9c0656ebe4a4f3c117029b9:
217 [apple] support watchos_arm64 in toolchain (#14527)
Bazel Release System3c156f32022-01-19 15:04:51 +0100218 + 43bcf80a3dfdc5ac89c1e4d615d6f29a495855fb:
219 Disable implicitly collecting baseline coverage for toolchain
220 targets.
Bazel Release System45b225d2022-03-24 14:57:44 +0100221 + 48a0fc51ccf6a3a263b9f8d96921d84d4243e0e6:
Bazel Release System3c156f32022-01-19 15:04:51 +0100222 Automated rollback of commit
223 7d09b4a15985052670244c277e4357557b4d0039.
Bazel Release System45b225d2022-03-24 14:57:44 +0100224 + a233aaa649572b7173ea27aceed31cb705d7ba9b:
Bazel Release System3c156f32022-01-19 15:04:51 +0100225 Bzlmod: Starlarkify default attr values for TypeCheckedTags
226 + 38117d491cbc4a5686e0bdb1e58f8946d96aed58:
227 Fix build after rc4 cherrypicks (#14581)
Bazel Release System45b225d2022-03-24 14:57:44 +0100228 + 41feb616ae18e21fdba3868e4c298b0b83012f10:
229 Release 5.0.0 (2022-01-19)
230 + d53f53cf5cc05c738a9857ca95059ce8903107cd:
231 Find runfiles in directories that are themselves runfiles
232 (#14737)
233 + 167e79f08a95ae14edfb44d85452c9c74e0f1a3c:
234 Don't resolve symlinks for --sandbox_base (#14748)
235 + 22bede95a5a74c61571d3b50c14488b0e922ff63:
236 Remove uses of -lstdc++ on darwin (#14750)
237 + 60f757c0831f9fbb2415fb0105f964201faa9fa0:
238 Allow Label instances as keys in select (#14755)
239 + a5f2813acf3e31aeb3037d80a6f9d7fddf76a1c8:
240 Remote: Only waits for background tasks from remote execution.
241 (#14752)
242 + d17a769965f12363f339c7b93524f49dbcdd1b1e:
243 Add the default solib dir to the rpath for cc_imports with
244 transitions (#14757)
245 + 53ee76e96365bdea88847f77706d55f2c39b9273:
246 Flip --experimental_worker_allow_json_protocol (#14749)
247 + 21ff46a639a83084975251ca7c21cfc8d74763eb:
248 Fix `ctx.fragments.apple.single_arch_cpu` returning incorrect
249 cpu for tools when host cpu and exec cpu are different (#14751)
250 + 0c1d09e4dce4c3251c2be2c70d4575ec65b1d9d3:
251 Propagate --experimental_cc_implementation_deps to host config
252 + 0df1851f0759279d84c79ea6731552437c95ce65:
253 Support select() on constraint_value for aliases. (#14754)
254 + 58ecec37747636b3483bbcba29a7f3e0e2372697:
255 Improve documentation for select() (#14769)
256 + 5356fedd4b6079851b51db27077bf84c7bab16a4:
257 Cherrypicks for experimental cc_shared_library (#14773)
258 + ffdd633d7b9f21267f4f9759dd9833096dd4e3a2:
259 [apple] support tvos_sim_arm64 in toolchain (#14779)
260 + a58ddea50b2fd476d183e2e0c077ad6173039b89:
261 Cherry pick win arm64 (#14794)
262 + dc41a20bb045d221a43223a5db6b8b44cd8f1676:
263 [5.1.0] cherrypick subpackages support (#14780)
264 + af34c452c12dae8758340dc5c284cf30f3c80302:
265 Add a helper method for rules to depend on the cpp toolchain
266 type. (#14795)
267 + 6990c02644a71d5e7c95c9c234ecf39bb55c6ac4:
268 UrlRewriter should be able to load credentials from .netrc
269 (#14834)
270 + 65904046031325c418734dfda994bdeff4134160:
271 Add "arch" struct field to repository_os (#14835)
272 + 2cfdceae971d09f50ceddc3d7ef723fb5f879957:
273 [5.x] bzlmod: Add support for WORKSPACE.bzlmod (#14813)
274 + 59384ddee429ca363022c2a03b62a5a9a43c31c4:
275 Ignore missing include directory in JDK distribution. (#14832)
276 + 344e8f8e97db2e2aa9b2fce7d68083a7549e4bc6:
277 Fix bazel coverage false negative (#14836)
278 + 0c74741742301abcf67452a7f591daec1c3a7635:
279 Remote: Postpone the block waiting in `afterCommand` to
280 `BlockWaitingModule` (#14833)
281 + 3297d9234e15515aa91cc887b3b12db7e1040b02:
282 Switch to `ProcessHandle` for getting the PID (#14842)
283 + 031a772acfd304fb5678e6a53e6c4ac3b99103ff:
284 Fix uses of std++ on bsd (#14860)
285 + 8ebd70b0c97c8bd584647f219be8dd52217cb5cf:
286 Remote: handle early return of compressed blobs uploads (#14885)
287 + 50bb742fc35c04ab422a7ce723160b27d6900e6c:
288 Add removeprefix/removesuffix to Starlark strings (#14899)
289 + d42ab0cfcce56b5e55c8bd94d0923d08758fdb5b:
290 Fix default CPU for macOS and iOS (#14923)
291 + ed7a10d6170049877a07cf27edaf8db65d17f77b:
292 Add param file for def parser action (#14925)
293 + e624aff6d63dd6264d7ff56ec9650b7a1aeb3a36:
294 Normalize rpath entries to guard against missing default solib
295 dir (#14929)
296 + c1ecca22d2cb761bd094fcd40eb8b13e826e777e:
297 Fix aggressive params file assumption (#14930)
298 + c45838bd3e51bcd0c8c3e1a9b4a0e55cdf4b4f59:
299 Fix precompiled libs not in runfiles of cc_shared_library
300 (#14943)
301 + 764614e0f0287125269e7a92e909a44624bcb360:
302 Bzlmod: Allow multiple `use_extension`s on the same extension
303 (#14945)
304 + 85d7ed68fa7bd84a5a23baf0431cbb04d64d7fa6:
305 Fix typo in `apple_common.platform` docs (#14958)
306 + a6a430540879bd866dfbef5cd048b2a4ab6bd883:
307 Yield a Proxy for addresses without protocol (#14956)
308 + 698da7e563b76633c973ea3029b7e313b69545fd:
309 Avoid merging URLs in HttpUtils (#14954)
310 + b4804807fc2c184cc36df9e69e472942c01941b8:
311 Make protocOpts() public. (#14952)
312 + 61cfa1d01eefb0923e8e3029ab9e92fdfe77ff50:
313 Do not hide BulkTransferException messages when there were more
314 than one exception (#14986)
315 + 0764821a8c1175fbcbca630d3681901244b33095:
316 merkle_tree_cache: change default size to 1000 (#14984)
317 + f15e0c7224ecc5473d4972afc436e28df35c4e5a:
318 Add --experimental_repository_cache_urls_as_default_canonical_id
319 to help detect broken repository URLs (#14989)
320 + 87ef5ce4103be75e8d9935e071fa215a481536e1:
321 Expose the logic to read user netrc file (#14990)
322 + 785c7ecafa9b93e700e846397c3a13c320c1dbdd:
323 Correct cpu and os values of `local_config_cc_toolchains`
324 targets (#14995)
325 + 5e79972c05d89280f0cf1fa620f807366847bac6:
326 Expose CoverageOutputGenerator on a Fragment (#14997)
327 + 78f03110e0dab42f37e427fd524e72706e036d74:
328 Correct error runfiles cc_shared_library (#14998)
329 + 7937dd14c3c632ffcfaea9073d5dec6dcac93845:
330 [5.1] Adding Starlark dependencies to the package //external
331 (#14991)
332 + 6cd6a27d4480eff91258ef8258b5af1901acde65:
333 Remote: Fix crashes with InterruptedException when using http
334 cache. (#14999)
335 + 91a580ad198a9d7f179c1822d55f75ba5318e2ce:
336 Fix interface_library-only libraries_to_link for
337 cc_shared_library (#15046)
338 + 1345938867e5c0c381f46cccf889c7b2b20a867a:
339 Fix coverage runfiles directory issue (#15047)
340 + 95de355e4524a6339c0e807b60d333c36c40bdc7:
341 Do not validate input-only settings in transitions (#15048)
342 + f19d6107bca9aea7742bd66eb3080f29fcf3bd81:
343 Filter out system headers on macOS. (#15020)
344 + cb6500a9ce648a02154dca8d05a978ce9b10c4b4:
345 Update Bazel bootstrap documentation and remove obsolete flags.
346 (#15065)
347 + 4c031d1030afb1cb48c7e6d71f83cc99fea607c1:
348 [5.1] Undocument --bes_best_effort (#15066)
349 + 267142f3dc6b8d32b07beb21e3b4ba6f471a69d8:
350 Fix conflicting actions error when specifying
351 --host_macos_minimum_os (#15068)
352 + f1923627e85b1c1d60bcd928f90f116c3ade7a3a:
353 [5.1] Remote: Action should not be successful and cached if
354 outputs were not created (#15071)
355 + 6d26dc74da2602817d56b0507ec79394c35a3781:
356 Support decompressing zstd tar archives for repository rules.
357 (#15087)
358 + 376cd472bbf7d81c7feb79563e7894cc3d74151a:
359 Remote: Don't check TreeArtifact output (#15085)
360 + 48b60d22bca0158d194b78481ff86b0ac251243f:
361 osx_cc_wrapper: Only expand existing response files (#15090)
362 + c771c43b870fb8618db7bdab6725ab40cac4976d:
363 Remote: Fix crashes by InterruptedException when dynamic
364 execution is enabled. (#15091)
365 + 3b2d686f2976e66ca4f93b568f2262a88621855a:
366 Use python3 on macOS (#15102)
Bazel Release Systemf0f1fb42022-01-14 17:48:08 +0100367```
368
369Important changes:
370
Bazel Release System45b225d2022-03-24 14:57:44 +0100371 - alias() can now select() directly on constraint_value()
372
373 Fixes https://github.com/bazelbuild/bazel/issues/13047.
374
375 Closes #14310.
376 - Fixed an issue where Bazel could erroneously report a test passes
377 in coverage mode without actually running the test.
378 - Make protocOpts() publicly accessible.
379 - Add coverage configuration fragment, used to expose
380 output_generator label.
381 - Bazel now no longer includes system headers on macOS in coverage
382 reports (#14969).
383
384 Closes #14971.
Bazel Release Systemf0f1fb42022-01-14 17:48:08 +0100385
Bazel Release System45b225d2022-03-24 14:57:44 +0100386This release contains contributions from many people at Google, as well as amberdixon, Benjamin Peterson, Brentley Jones, Dan Fleming, Danny Wolf, Fabian Meumertzheim, Keith Smiley, Niyas Sait, Noa Resare, Oliver Eikemeier, oquenchil, Philipp Schrader, Xùdōng Yáng, Yannic.
Bazel Release System32fb9c682021-11-19 01:26:48 +0100387
Bazel Release Systemc0050dd2021-11-11 21:26:22 +0100388## Release 6.0.0-pre.20211101.2 (2021-11-11)
389
390```
391Baseline: 9c65356cedcf4e68077219c10f5a7bb39d38054b
392
393Cherry picks:
394
395 + 2c9721f9ba11979eee1fd95fe793b52369df99ac:
396 Automated rollback of commit
397 9c65356cedcf4e68077219c10f5a7bb39d38054b.
398```
399
400Important changes:
401
402 - Deprecate --incompatible_applicable_licenses flag, in preparation
403 for removal in Bazel 6.x.
404
405This release contains contributions from many people at Google, as well as Alex Eagle, Benjamin Peterson, Ben Lee, Fabian Meumertzheim, Fredrik Medley, Keith Smiley, Rahul Butani, Ulf Adams, William Muir.
406
Bazel Release System9d6fd6d2021-11-03 17:44:05 +0100407## Release 6.0.0-pre.20211025.1 (2021-11-03)
408
409```
410Baseline: 5c04973b000b6e1819d6b51d238498a0b507c7af
411```
412
413Important changes:
414
415 - Bazel no longer supports Java 8. From this version on, the
416 minimum required JDK is OpenJDK 11.
417
418This release contains contributions from many people at Google, as well as Benjamin Peterson, John Laxson, Keith Smiley, Thi Don.
419
Bazel Release System276aef32021-10-26 17:40:43 +0200420## Release 6.0.0-pre.20211019.1 (2021-10-26)
421
422```
423Baseline: 406fc1ba5fae98843c99f89a43dcbdbca0d90274
424```
425
426Incompatible changes:
427
428 - Remove `--experimental_profile_cpu_usage`.
429 - flipped --incompatible_java_common_parameters (see #12373)
430
431This release contains contributions from many people at Google, as well as ecngtng, Fabian Meumertzheim, Keith Smiley, Mauricio Galindo, Thaler Benedek.
432
Bazel Release System15a09392021-10-20 21:00:46 +0200433## Release 5.0.0-pre.20211011.2 (2021-10-20)
434
435```
436Baseline: 3b3bad9e774891856c198738c46d547de954b84a
437
438Cherry picks:
439
440 + d8c23189c9118f99cfc3eaac98976b7c6fdacae0:
441 Automated rollback of commit
442 2571ce2d9e72ee60326ef524fee1702cb2dd07e7.
443```
444
445Incompatible changes:
446
447 - Removed --action_graph from the dump command.
448 - Remove `--{experimental_,}json_trace_compression` option.
449
450Important changes:
451
452 - The --experimental_existing_rules_immutable_view flag has been
453 renamed to --incompatible_existing_rules_immutable_view
454
455This release contains contributions from many people at Google, as well as Alex Eagle, hvadehra, Keith Smiley, Torgil Svensson, Yuval.
456
Bazel Release System6c21d272021-10-19 16:14:18 +0200457## Release 5.0.0-pre.20211006.1 (2021-10-19)
458
459```
460Baseline: 681886de2901a2f7920288253674927cf13f1585
461```
462
463Important changes:
464
465 - incompatible_disable_depset_items is flipped
466
467This release contains contributions from many people at Google, as well as Fabian Meumertzheim, Keith Smiley, Thomas Carmet, Timothe Peignier.
468
Bazel Release System60eb0012021-10-07 17:43:31 +0200469## Release 5.0.0-pre.20210929.1 (2021-10-07)
470
471```
472Baseline: 61a5fae1b49ed067350d93578da268715031df06
473```
474
475Important changes:
476
477 - The deprecated "relative_to_caller_repository" parameter has been
478 removed from the Label constructor.
479 - The toolchain transition is now enabled for all toolchains.
480
481This release contains contributions from many people at Google, as well as Artem V. Navrotskiy, hvadehra, Ikko Ashimine, Paul Gschwendtner, ron-stripe, Yuval K.
482
Bazel Release Systemc2d6def2021-09-30 19:26:44 +0200483## Release 5.0.0-pre.20210923.7 (2021-09-30)
484
485```
486Baseline: 9a765c8b498a72e20af6c391bef01e794913c317
487
488Cherry picks:
489
490 + f959a22bc59229b723cfca8c987da210b03b8a8d:
491 Rollback.
492```
493
494Important changes:
495
496 - Add support to length-delimited protos as undeclared output
497 annotations []
498
499This release contains contributions from many people at Google, as well as Benjamin Peterson, Brandon Jacklyn, Rabi Shanker Guha.
500
Bazel Release System1b7bb2fd2021-09-27 13:05:45 +0200501## Release 5.0.0-pre.20210921.1 (2021-09-27)
502
503```
504Baseline: 11f1a6d3ce529a63d4b7111c62ae504ceac2a019
505```
506
507Incompatible changes:
508
509 - Remove --bep_publish_used_heap_size_post_build
510 - JSON trace profile: rename counter names.
511
512Important changes:
513
514 - Adds --experimental_existing_rules_immutable_view flag to make the
515 native.existing_rule and native.existing_rules functions more
516 efficient by
517 returning immutable, lightweight dict-like view objects instead
518 of mutable
519 dicts.
520
521This release contains contributions from many people at Google, as well as Wren Turkal.
522
Bazel Release System865f0f42021-09-23 13:40:49 +0200523## Release 5.0.0-pre.20210916.1 (2021-09-23)
524
525```
526Baseline: e4a26b6391fd2d3112a29bf81b4397055c854184
527```
528
529This release contains contributions from many people at Google, as well as Peter Kasting, Ulrik Falklof.
530
Bazel Release System717b2352021-09-17 18:49:37 +0200531## Release 5.0.0-pre.20210913.1 (2021-09-17)
532
533```
534Baseline: 0017fd23e1ff9aea7241c92a503024e3f2a3425b
535```
536
537This release contains contributions from many people at Google, as well as Keith Smiley, Mathieu Olivari, Yannic Bonenberger.
538
Bazel Release System139abf42021-09-14 20:51:20 +0200539## Release 5.0.0-pre.20210907.1 (2021-09-14)
540
541```
542Baseline: 9cb59369a84d9328c2929eefcb58c1b972ab15f2
543```
544
545Important changes:
546
547 - The `--toolchain_resolution_debug` flag now accepts regexes
548 matching targets, as well as toolchain types, when choosing what
549 debug messages to print.
550
551This release contains contributions from many people at Google, as well as Benjamin Peterson, frazze-jobb, Tetsuo Kiso.
552
Bazel Release System50550962021-09-10 17:35:37 +0200553## Release 5.0.0-pre.20210831.2 (2021-09-10)
554
555```
556Baseline: 14fe5dff967cf91f130746f646d1bb1cfc1053f2
557
558Cherry picks:
559
560 + 6f5c4bb4d17abd6b9654f255c12775eb35638000:
561 Automated rollback of commit
562 8181f0abe6591bc14957e6a941a6556fb040ca9f.
563```
564
565Important changes:
566
567 - The --all_incompatible_changes flag is now a no-op
568
569This release contains contributions from many people at Google, as well as Keith Smiley, kekxv, ron-stripe, Sergey Tyurin.
570
Bazel Release Systemd13f58b2021-09-03 20:30:13 +0200571## Release 5.0.0-pre.20210826.1 (2021-09-03)
572
573```
574Baseline: f53c389dbd4b0ae66307e9bd4a72b36b3d284ec3
575```
576
577Incompatible changes:
578
579 - Removing java_common.javac_jar Starlark call.
580 - native.existing_rule now returns select values in a form that is
581 accepted by rule instantiation. This is a breaking API change
582 because there is some code that relies on the precise type
583 returned, including brittle workarounds for this bug specifically
584 and insufficiently flexible workarounds for other issues with the
585 intersection of select and native.existing_rule.
586 - flipped incompatible_use_toolchain_resolution_for_java_rules, see
587 #7849
588 - Query output=xml/proto/location for source files will now show
589 the location of line 1 of the source file (as the new default)
590 instead of its location in the BUILD file.
591 - Specifying a target pattern underneath a directory specified by
592 .bazelignore will now emit a warning, not an error.
593 - Query `--order_output=auto` will now sort lexicographically.
594 However, when `somepath` is used as a top level function (e.g.
595 `query 'somepath(a, b)'`), it will continue to output in
596 dependency order. If you do not want the lexicographical output
597 ordering, specify another `--order_output` value (`no`, `deps` or
598 `full`) based on what ordering you require.
599 - In the build event stream,
600 BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
601 Its value was always mostly meaningless.
602 BuildMetrics.TargetMetrics.targets_configured and
603 BuildMetrics.ActionSummary.actions_created now include configured
604 aspect data.
605 - //visibility:legacy_public has been removed.
606 - Flip and remove incompatible_dont_collect_so_artifacts
607 (https://github.com/bazelbuild/bazel/issues/13043).
608 - Remove flag --experimental_no_product_name_out_symlink: it is
609 always true.
610 - The Starlark method generate_dsym in objc fragment has
611 been deleted. Please use the equivalent apple_generate_dsym in
612 cpp
613 fragment instead.
614 - Native libraries in data attribute are not collected. See
615 https://github.com/bazelbuild/bazel/issues/13550 for details
616 - Enforce the `--profile` path to be absolute.
617 - Enforce the --memory_profile path to be absolute.
618 - JavaToolchainInfo.jvm_opt returns Depset instead of a list.
619 - --apple_sdk has been deleted. It is a no-op.
620 - --bep_publish_used_heap_size_post_build is now a no-op and will
621 be deleted in a future release. Use --memory_profile=/dev/null
622 instead.
623 - Flipped --incompatible_disallow_resource_jars (see
624 https://github.com/bazelbuild/bazel/issues/13221).
625
626New features:
627
628 - Args.add_all and Args.add_joined can now accept closures in
629 map_each if explicitly enabled via allow_closure.
630 - Add `--bes_header` flag to pass extra headers to the BES server.
631
632Important changes:
633
634 - Flag --incompatible_objc_compile_info_migration is removed. See
635 #10854.
636 - Flag --incompatible_objc_compile_info_migration is removed. See
637 #10854.
638 - Flag --incompatible_objc_compile_info_migration is removed. See
639 #10854.
640 - none
641 PAIR=cmita
642 - The --incompatible_load_python_rules_from_bzl flag is now a no-op.
643 - Filter all (instead of just C++) source files for coverage output
644 according to --instrumentation_filter and
645 --instrument_test_targets.
646 - The `--incompatible_disable_native_apple_binary_rule` flag has
647 been added which disables the native `apple_binary` rule. Users
648 who need to use `apple_binary` directly (if they cannot use one
649 of the more specific Apple rules) should load it from
650 https://github.com/bazelbuild/rules_apple.
651 - The Android rules' --use_singlejar_apkbuilder is now a no-op.
652 SingleJar will always be used to build APKs.
653 - dict.setdefault(key, ...) now fails if dict is frozen, even if it
654 already contains key. This is an incompatible API change.
655 - Flag --incompatible_objc_provider_remove_compile_info is removed.
656 See #11359.
657 - Starlark now permits def statements to be nested (closures).
658 - native.existing_rule now returns select values in a form that is
659 accepted by rule instantiation. This is a breaking API change,
660 though the fallout is expected to be small.
661 - Starlark now supports lambda (anonymous function) expressions.
662 - The "test" and "coverage" commands no longer return 3 when a
663 test action fails because of a system error. Instead, the exit
664 code
665 reflects the type of system error.
666 - The undocumented ctx.expand feature no longer exists.
667 - Make --legacy_dynamic_scheduler a no-op flag.
668 - Multiplex persistent workers can now use the JSON protocol.
669 - native.existing_rule now returns a mutable list, not a tuple, for
670 a list-valued attributes. This is an incompatible API change.
671 - Roll back change to have native.existing_rules use list instead
672 of tuple.
673 - BEP includes test suite expansions.
674 - config_setting now honors `visibility` attribute (and defaults to
675 `//visibility:public`)
676 - Change the MultiArchSplitTransitionProvider to be based on
677 platform type + CPU instead of fixed "ios_" + cpu.
678 - enforce config_setting visibility. See
679 https://github.com/bazelbuild/bazel/issues/12932 for details.
680 - add a flag to build v4 signature file
681 - Added _direct_source_jars output group to Java related targets.
682 END_PUBLIC
683 - pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
684 Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
685 - Allowing the lipo operations to be conditional in the
686 linkMultiArchBinary API for Apple binaries. Single architecture
687 slices are now returned through AppleBinaryOutput and the
688 Starlark API.
689 - Release restriction for "-" in the package name for Python
690 sources. Now `py_binary` and `py_test` targets can have main
691 source file with "-" in the path.
692 - Users consuming BEP may assume that a `named_set_of_files` event
693 will
694 appear before any event referencing that `named_set` by ID. This
695 allows consumers
696 to process the files for such events (eg. `TargetCompleted`)
697 immediately.
698 - BEP includes all files from successful actions in requested
699 output groups.
700 Previously, an output group's files were excluded if any file in
701 the output group
702 was not produced due to a failing action. Users can expect BEP
703 output to be larger
704 for failed builds.
705 - In BEP, TargetComplete.output_group has a new field `incomplete`
706 indicating that the file_sets field is missing one or more
707 declared artifacts
708 whose generating actions failed.
709 - The flag `--toolchain_resolution_debug` now takes a regex
710 argument, which is used to check which toolchain types should
711 have debug info printed. You may use `.*` as an argument to keep
712 the current behavior of debugging every toolchain type.
713 - Add runfiles.merge_all() for merging a sequence of runfiles
714 objects.
715 - runfiles.merge() and merge_all() now respect
716 --nested_set_depth_limit.
717 If you hit the depth limit because you were calling merge() in a
718 loop, use
719 merge_all() on a sequence of runfiles objects instead.
720 - Bazel will no longer create a bazel-out symlink if
721 --symlink_prefix is specified: the directory pointed to via the
722 bazel-out symlink is accessible via ${symlink_prefix}-out. If
723 this causes problems for you, set
724 --experimental_no_product_name_out_symlink=false in your builds
725 and file an issue.
726 - Updates worker protocol with cancellation fields, and adds
727 experimental_worker_cancellation flag to control cancellation.
728 - Simplify build failure output by always using `NNN arguments`.
729 - trim_test_configuration now defaults to on
730 - Mark genrule.srcs as a source attribute for coverage.
731 - When using --allow_analysis_failures (for example, via
732 bazel-skylib's
733 analysistest with `expect_failure = True`), analysis-time
734 failures in aspect
735 implementation functions will now be propagated and saved in
736 AnalysisFailureInfo, just like analysis-time failures in rules.
737 - cquery --noimplicit_deps now correctly filters out resolved
738 cc_toolchains
739 - Sign apks deterministically.
740 - Make gcov optional in cc_toolchain tools.
741 - If --experimental_prefer_mutual_xcode is passed, Bazel will
742 choose the local default (instead of the newest mutually
743 available version) if it's available both locally and remotely.
744 - Remove java_lite_proto_library.strict_deps attribute.
745 - Generate proguard configurations deterministically.
746 - Adds a new flag, `--incompatible_enable_cc_test_feature` which
747 switches from the use of build variables to the feature of the
748 same name.
749 - Dropped fragile xz support from built in pkg_tar. Users requiring
750 xz
751 compression should switch to bazlebuild/rules_pkg.
752 - If all strategies of one branch (the local or remote execution
753 branch) of the `dynamic` strategy fail to even accept (via the
754 response they give from `canExec`) the action, `dynamic` will now
755 try to see if the other branch can accept it. (Trying to run it
756 and it failing will still cause a failure if it was the first
757 result, this is about strategies claiming they can't even try the
758 action)
759 - Add `disable_annotation_processing` option to
760 `java_common.compile`, which disables any annotation processors
761 passed to `plugins` or in `exported_plugins` of `deps`
762 - Remove obsolete --incompatible_prohibit_aapt1
763 - The minimum Android build tools version for the Android rules is
764 now 30.0.0
765 - Adds --experimental_reuse_sandbox_directories flag to reuse
766 already-created non-worker sandboxes with cleanup.
767 - --experimental_force_gc_after_build is deprecated and will be
768 removed soon. Use --bep_publish_used_heap_size_post_build instead
769 - Forward coverage-instrumented files from non-tool dependencies by
770 default.
771 - The used_heap_size_post_build field in BEP is populated when the
772 --memory_profile flag is set
773 - --run_validations defaults to true.
774 - Consider label_keyed_string_dict attributes when gathering
775 instrumented files for coverage.
776 - Remove flag
777 --experimental_forward_instrumented_files_info_by_default, now
778 that this behavior is the default.
779 - When using MemoryProfiler with multiple GCs via the
780 --memory_profile_stable_heap_parameters flag, we do a more
781 precise calculation of heap used at the end of the build. This
782 will generally result in lower values.
783 - --bep_publish_used_heap_size_post_build is deprecated. Use
784 --memory_profile=/dev/null instead.
785 - Disable --all_incompatible_changes flag.
786
787This release contains contributions from many people at Google, as well as Adam Liddell, Alex Eagle, Andrew Katson, Anthony Pratti, Austin Schuh, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Benjamin Peterson, Ben Lee, Brentley Jones, bromano, Cameron Mulhern, Christopher Peterson Sauer, Christopher Sauer, Cristian Hancila, Dan Bamikiya, Daniel McCarney, Daniel Wagner-Hall, Danny Wolf, Dave MacLachlan, Dave Nicponski, David Cummings, David, David Ostrovsky, Delwin9999, Denys Kurylenko, Dmitry Ivankov, dorranh, Ed Schouten, Eitan Adler, Elliotte Rusty Harold, erenon, Eric Cousineau, Ethan Steinberg, Fabian Meumertzheim, FaBrand, Felix Ehrenpfort, Finn Ball, Fredrik Medley, Garrett Holmstrom, Gautam Korlam, George Gensure, goodspark, Greg Estren, Grzegorz Lukasik, Grzegorz Lukasik, Ikko Ashimine, Jesse Chan, Joe Lencioni, Johannes Abt, John Laxson, Jonathan Schear, Justus Tumacder, Keith Smiley, Kevin Hogeland, Lauri Peltonen, Liu Liu, Lszl Csomor, m, Marc Zych, Mark Karpov, Masoud Koleini, Matt Mackay, Max Liu, Menny Even Danan, menny, Michael Chinen, Nathaniel Brough, Nick Korostelev, Niek Peeters, Nikolay Shelukhin, odisseus, Oleh Stolyar, Olek Wojnar, Olle Lundberg, Omar Zuniga, Philipp Schrader, Pras Velagapudi, Qais Patankar, Rai, Ryan Beasley, samhowes, Samuel Giddins, Sebastian Olsson, Steve Siano, steve-the-bayesian, Stiopa Koltsov, susinmotion, tatiana, Thi Doan, ThomasCJY, Timothy Klim, Tobi, Torgil Svensson, Trustin Lee, Ulf Adams, Uri Baghin, Vaidas Pilkauskas, Vertexwahn, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yannic Bonenberger, Yannic, Yury Evtikhov, Yuval Kaplan, Yuval, [zqzzq].
788
Bazel Release Systeme92e04d2021-08-30 09:37:05 -0400789## Release 4.2.1 (2021-08-30)
Bazel Release System6962b0d2021-08-27 17:50:42 +0200790
791```
Bazel Release Systeme92e04d2021-08-30 09:37:05 -0400792Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
Bazel Release System6962b0d2021-08-27 17:50:42 +0200793
794Cherry picks:
795
Bazel Release Systeme92e04d2021-08-30 09:37:05 -0400796 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
797 Use getRunfilesPath for run_under executable path generation.
798 getRootRelativePath doesn't return a valid runfiles path for
799 external source files anymore after the recent external source
800 root change. Also, it won't work for external labels either once
801 the --nolegacy_external_runfiles becomes default. This fixes
802 issue #12545.
803 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
804 Fix NPE when coveragerunner is not set on the toolchain.
805 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
806 Fix the classic query package-loading cutoff optimization with
807 external workspaces.
808 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
809 Update turbine
810 + bef4bbbb47d47befe3711d06f358782ee12554f9:
811 Update turbine
812 + d113d7454127bba78aa618dac81e5d164920b662:
813 Update turbine
814 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
815 Support Scala3 .tasty files
816 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
817 Update to java_tools javac11 release 10.5 (#12647)
818 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
819 Fix common prefix for instrumentation filter
820 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
821 Fix builds for filegroup targets with incompatible dependencies
822 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
823 Revert "Remove
824 --incompatible_blacklisted_protos_requires_proto_info"
825 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
826 Transform roots along with paths during output deletion.
827 + e8835c1c221d76a2d5532d18083eaa04401619b3:
828 AttributeContainer.Large now handles more than 127 attributes.
829 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
830 Add an env attribute to all test and binary rule classes
831 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
832 Take no action to prefetch empty artifacts.
833 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
834 Fix a couple of bugs with Incompatible Target Skipping
835 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
836 Pass --host_action_env to host options hostActionEnvironment
837 attribute
838 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
839 Add --{no,}autodetect_server_javabase.
840 + c83366064621d5a265eba14d93a03deff58fe6d8:
841 Only treat "env" and "env_inherit" attrs specially for native
842 rules
843 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
844 Fix coverage support when using default_java_toolchain. (#12801)
845 + 4158a6f512e52516437e00f8d9609a91be7fc195:
846 Revert JacocoCoverage target to remote_java_tools_java_import
847 and add a new target for remore_java_tools_filegroup. (#12813)
848 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
849 Add windows_msvc back to conditions in bazel_tools.
850 + 6b33bdb1e22514304c0e35ce8e067f2175685245:
851 Release 4.0.0 (2021-01-21)
852 + 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
853 Fix error message from getPrerequisites to not print internal
854 details.
855 + 27e15ad11410eb1014f5247fd0eeb31a46733c07:
856 Clean up ConfiguredTargetValueAccessor and
857 ConfiguredTargetAccessor
858 + e87feb8ac9573cef993824f82370d0389570521d:
859 Move getConfigConditions into ConfiguredTarget.
860 + 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
861 Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
862 value.
863 + 079bb7d69931705bb2b092c9017090e224ef3043:
864 Clean up old dependencies that are unused since
865 https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
866 5ef5702880d5ac7c5c.
867 + e03cb63e059420847d6578d7cbfe93f05615c95e:
868 Update bazelbuild/platforms to a current release. - Roll forward
869 https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
870 7f925cf88e0cd5b76a with kythe fix.
871 + 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
872 Update docs and tests to use the @platforms//:incompatible
873 constraint
874 + c71697cf33b0fbbb42fc2910bac83960edc7e855:
875 Clarify test_suite behaviour in the Platforms docs
876 + dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
877 Enable toolchain resolution for filegroup targets.
878 + 24d086446f74606819dc53c3a436caa056ff05b7:
879 PlatformProviderUtils should ignore targets that don't have the
880 needed
881 + ba60c0b3f9bbd00975c984244839b155e84b4c5d:
882 ijar: fix manifest sections handling
883 + 58bb42ad7ca263a75c6eeef51482f805726663a5:
884 Revert "Switch to -fdebug-compilation-dir"
885 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
886 Update turbine
887 + bef4bbbb47d47befe3711d06f358782ee12554f9:
888 Update turbine
889 + d113d7454127bba78aa618dac81e5d164920b662:
890 Update turbine
891 + ad241fbebd90a9f0ad65ccd0658838f57030db68:
892 Allow cquery to filter out incompatible targets
893 + 1782f0ae751569607ef88930c822ac460a1f8bb3:
894 Patch grpc to fix cares selecting the wrong source when building
895 for darwin_arm64 cpu.
896 + 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
897 [1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
898 blobs
899 + 848a51747a460ab4c5185e4c61ab522a9981cbea:
900 [2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
901 blobs
902 + 9b30172547f2093acb56aedf159a77d5dceffda2:
903 [3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
904 blobs
905 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
906 Allow exec groups to inherit from the rule or other exec groups.
907 + d0676693310215407224c1b8e8aea9e3eddc183d:
908 Support execution constraints per exec group
909 + f1e0d346c8235c855e61afc2adb870e4b895e002:
910 Clean up RuleContext to use a Table instead of a Map of Maps.
911 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
912 Documentation for #13110
913 + 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
914 Prevent --repo_env from triggering unnecessary fetches
915 + 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
916 Prevent a crash when using --repo_env=VAR without a value
917 + 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
918 Report digest of failed uploads
919 + 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
920 Status error presentation with details
921 + 9a70805db543e2fb910e1c55ef3b3567362adf30:
922 Fix double shutdown of BuildEventArtifactUploader when BES+File
923 output enabled.
924 + 325eb956c92530bdfda54a36a186cae4245a4f7b:
925 Add rxjava3 to third_party
926 + ceaac966a7b977461b69ce9501df6a467f4a93b2:
927 remote: set executable bit of an input file based on its real
928 value
929 + 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
930 Remote: correctly implement equals and hashCode.
931 + 48648503729d53fdee1322fde2c8e6c05e99cff9:
932 Fixed an error that bazel binary is not executable when testing
933 with remote execution.
934 + bc54c648aa1f99509c7c36d5e6b570d066689209:
935 Remote: Use parameters instead of thread-local storage to
936 provide tracing metadata.
937 + 92955e617b5c41713a5163dc0437c2a024b31815:
938 Remote: Use parameters instead of thread-local storage to
939 provide tracing metadata. (Part 2)
940 + 75bd1ff8ab56d241916bde36291301fa026b2bab:
941 Remote: Use parameters instead of thread-local storage to
942 provide tracing metadata. (Part 3)
943 + 37ee252f3744abc4511f55b5089cc52abd3ba09d:
944 Remote: Use parameters instead of thread-local storage to
945 provide tracing metadata. (Part 4)
946 + 71e35b165f924e2649a078fcf6007645d58039af:
947 Remote: Use parameters instead of thread-local storage to
948 provide tracing metadata. (Part 5)
949 + 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
950 Write/QueryWriteStatus logging refinement/addition
951 + 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
952 Remote: gRPC load balancing. (Part 1)
953 + e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
954 Remote: gRPC load balancing. (Part 2)
955 + 6667ad7dd77f8d97952133052c17e7779c1430ec:
956 Remote: gRPC load balancing. (Part 3)
957 + 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
958 Remote: gRPC load balancing. (Part 4)
959 + 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
960 Implement getMessage for BulkTransferException
961 + a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
962 Remote: gRPC load balancing. (Part 5)
963 + 7a62c2d4e27e398f440910c81eacc384f38ca8be:
964 Remote: Add interoperability between Rx and ListenableFuture.
965 + 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
966 Update to latest remote-execution proto
967 + dad96301d12aa77eb67399e08265a5f30f5ffd6a:
968 Set Platform on Action not just Command
969 + 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
970 Remote: Add AsyncTaskCache which is used to deduplicate task
971 executions and cache the results.
972 + 9d0c7325ac810febe565a62fdd875ae0c240b274:
973 Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
974 + f54fe07209acc25340df8d2e02993b1add2deafa:
975 Add --experimental_repository_disable_download to allow users
976 disable download for external repos
977 + b243584a479eb4481a9bf4f69acc899610a3b630:
978 Report errors parsing rewriter config file
979 + 63bc1c7d0853dc187e4b96a490d733fb29f79664:
980 Downloader rewriter config has all_blocked_message
981 + 495ac923f398443be45c20ab29d183fe47e08911:
982 Allow UrlRewriter to change protocol, i.e. https->http, and
983 http->https
984 + 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
985 Allow overriding the hostname and instance name in bytestream://
986 URIs
987 + 0881c80d29acecdfbb58c49156f805e8c50db117:
988 Don't set requestId on non-multiplex requests.
989 + e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
990 When generating a symlink in _virtual_includes, add the original
991 header to the 'allowed to use' set too
992 + f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
993 Make SimpleLogHandler not swallow interrupts.
994 + f8606e5e76579442a1c6563e718ea54c673f1a04:
995 linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
996 + dac0d40d0eb903f5cb70341398d1a333c19adf3a:
997 Improve "Common Attributes" section
998 + a607d9dc70ac67f1aa2c32ca954177f9c77860be:
999 Never create more than one process per WorkerMultiplexer.
1000 + 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
1001 Move sending requests and reading responses for multiplex
1002 workers into separate subthreads.
1003 + 003cfcde3fd3901c1279ba1db3db3a14536248b4:
1004 Allow use of JSON protocol in multiplex workers.
1005 + 308bce36cba46095fe41866e703710035ddddada:
1006 Actively kill off still-active workers when stopping work on
1007 interrupt.
1008 + 8959dff512fe4505af786bcf2ef981ec7082a913:
1009 Add sanitizer support to Apple platforms
1010 + 32f16e9360f3e1856db1775eb5014b930da2a303:
1011 Fix a Google-internal broken link.
1012 + c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
1013 Add SHA-1 to subresource integrity format for download()
1014 checksums
1015 + 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
1016 Remove fallback strategy support for workers, add flag for it in
1017 sandbox.
1018 + 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
1019 Update to java_tools javac11 10.6 (#13245)
1020 + 4928295b236ec8f590a7e9d863502bc2f50a77d9:
1021 Allow .S files in C++ Starlark cc_common.compile.
1022 + 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
1023 Automatic code cleanup.
1024 + b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
1025 Change short output of worker type to have the same logic as the
1026 worker creation for sandboxing vs. multiplex.
1027 + e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
1028 More properly destroy workers on interrupt.
1029 + 7056711eb11b672133274eb29fc93b01dcf088d5:
1030 Make WorkRequestHandler do a GC after some amount of CPU time
1031 has been used on requests. For Bazel and Blaze, defaults to 10s
1032 based on benchmarking.
1033 + 596653d3cf76e7b208da343e1fde5fe20273a5ff:
1034 Allow tree artifacts to be source or header inputs to
1035 cc_common.compile()
1036 + 055c93d11ab20cc4479539b24bbdfa5cab78a342:
1037 Switch to path autocompletion after -- for bazel run commands.
1038 + 807f2a1929e23b60b237c63fadb25af81de2e3c3:
1039 Fix Incompatible Target Skipping for test args
1040 + 9a5cd854e0613f91d52075973e2454b1e009e1ef:
1041 Fix order of build request id and command id
1042 + 706f5acd02363e48076dc97e37613fd968932d03:
1043 Fix bazel crash when passing config_setting to
1044 target_compatible_with
1045 + 61da1d2bf10eabba4c75de959b0374f302d89d70:
1046 Support multiple --bazelrc on command line
1047 + 5593358a58b66f06c4e421bb48856de94c3fd625:
1048 Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
1049 to
1050 + 662cf54de7a103db30e04ebae2d2b919437c4846:
1051 Remote: Fix an issue that a failed action could lead to
1052 RuntimeException caused by InterruptedException thrown when
1053 acquiring gRPC connections.
1054 https://github.com/bazelbuild/bazel/issues/13239
1055 + a3a1763212f29932618b9b9b2f929976ae0e3b6e:
1056 Pass more `--add-exports=` flags
1057 + d2b942879471786e82f1c96eea8722bbe7919fc1:
1058 Remote: Fixed a bug that remote cache is missed due to
1059 executable bit is changed
1060 + 616dc264f02907d7b7887285d22307dfe6d097b6:
1061 Fix Bazel Coverage with C++ to work with Remote Execution
1062 + 5f40d12e741aa30d506eaa15673fb2ae76d29468:
1063 Fix external_path_test with newer Xcode versions.
1064 + b416193075642017e13c774422b49cb07fb65c23:
1065 Allow using embedded tools in sandboxed spawn runners.
1066 + eb762d4e7431637e607146b1c191485795047ef9:
1067 Fix racy write of temporary files while staging virtual inputs
1068 for the sandbox.
1069 + f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
1070 Update platforms_test to not rely on filegroup not using
1071 toolchain
1072 + 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
1073 Update SkyframeTests to not rely on filegroup not using toolchain
1074 + 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
1075 Update ConfigurableAttributesTest to not rely on filegroup not
1076 using …
1077 + 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
1078 Make WorkerExecRoot not be a subclass of SandboxedSpawn.
1079 + 31db460a45767de0bcd664a6efbe9d163b85b802:
1080 Make WorkerExecRoot not be re-created on each createFileSystem()
1081 call. Preparation for holding a map of existing links, but also
1082 just nicer.
1083 + a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
1084 Start the file existence check traversal from the execroot base
1085 instead of execroot so that external repo files at
1086 "<execroot>/../<path>" are correctly handled when the sibling
1087 repository layout is enabled.
1088 + b048282c7893231d3a7191b251804973917b07a4:
1089 Use readdir for cleanExisting in WorkerExecRoot.
1090 + 270f00dd01fa06cf3e813da5a406be3446de7377:
1091 Add native support for Apple Silicon
1092 + 8e56b9423e8ad2f7323fb90b19b73858def81e39:
1093 Explicitly state that embedding macOS OpenJDK is for x86_64
1094 + 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
1095 Remote: Fix a race that AsyncTaskCache#Execution could be reused
1096 after disposed which results in
1097 CancellationException("disposed") propagated to downstream.
1098 + 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
1099 Remove wrapped_clang params files after use
1100 + 47edc57806056f3c8764241ed41b8acc72bd2ebf:
1101 Silence swiftmodule timestamp warnings
1102 + f6e1074b09ebefba185c0531e9cea26b9596c8a9:
1103 Remote: Use shutdownNow() instead of shutdown() in
1104 ChannelConnection#close() as a workaround to a gRPC bug.
1105 + 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
1106 And mnemonic and label to remote metadata
1107 + 615e1b16a81b0defc15699ec8027d6ddd70366d1:
1108 Change `set -x` in coverage to be set by var
1109 + fe4daea99c8cd163793eca84bfb12c8fc437616b:
1110 Bump minimal JDK install base maximum size from 290 to 295 MB.
1111 + 4840a68cd273a429e46d4114a3973fd11d0e3583:
1112 Remote: Check the return value of ActionOwner.getLabel() since
1113 it could be `null`.
1114 + 14abe4fd7c3967686a3536939fdc3882e691bca2:
1115 Allow `DiffAwareness` to share precomputed information about the
1116 workspace and propagate it to the `WorkspaceStatusAction`.
1117 + 082d98772690946ed29c157e60640c97a6e1195b:
1118 Implement available() method for Windows subprocesses.
1119 + c2bdd034014f66ce14529cc353cda18a32320f6c:
1120 Move --repo_env to common options
1121 + e09f2743738044095b9d784ea62df16b7f5750e6:
1122 Revert "Documentation for #13110"
1123 + a165baa250652fdc865ae0df39160be1f7f74c47:
1124 Revert "Clean up RuleContext to use a Table instead of a Map of
1125 Maps."
1126 + 51fb9e13a864f4f704ae378ea632433bae7ddc31:
1127 Revert "Support execution constraints per exec group"
1128 + cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
1129 Revert "Allow exec groups to inherit from the rule or other exec
1130 groups."
1131 + 2ac6581aeaab33ba506fce96dfa6a75eaa819233:
1132 Release 4.1.0 (2021-05-21)
1133 + 7a0f36e3f0a21fed8857efbaa51ded2dbdeefab6:
1134 Change gceMachineType of highcpu platform from n1-highcpu-32 to
1135 e2-highcpu-32
1136 + 19491a91143f0c6132aca62c5ae40ab72e9dc0e2:
1137 Fix #10127: Remove Python 2 dependency from tools/android.
1138 + 80c59dea59d4dce39d4b5d21665c3d7313197358:
1139 fix main repo starlark options parsing - now flags passed on the
1140 command line as --@main_workspace//flag and --//flag will both
1141 parse to --//flag. Before this CL, the former maintained its
1142 workspace prefix and we would get different entries for these
1143 two formats.
1144 + 451b296c3aceb127ebb4a313b6e9608854fa68fa:
1145 Update threshold for long path shortening to be MAX_PATH - 4
1146 + 671e0489a5bd6d5abb4dcd9bcfc85134cee38385:
1147 Force source files to be readable before copying them from
1148 sandbox.
1149 + 6080c1e07f4229ea72eacd04faa9302e44955a84:
1150 Let workers finish lost races without delaying dynamic execution.
1151 + ee738dacb5d0089d3f57b15305057cb9ba675e74:
1152 Fix label_flag and label_setting to not have a dependency on the
1153 default
1154 + 74de0ba4e79341c77b8b85ff4485f92287b6854c:
1155 Java coverage: fix handling of external files
1156 + 48eee8b4b447a2ad11df28dd81a2ccb65562b5f5:
1157 [Bazel] Fix mobile-install for python2
1158 + 763dd0ce6e1644bf895231432f616427a11d385a:
1159 Add `stub_shebang` to `py_runtime`
1160 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
1161 Move use of legacy sandbox -> local fallback to only be used
1162 after all strategies have been tried, and improve messages
1163 around it.
1164 + 6dc941e58dfc1d4a9714a76b921fbe11fce658ed:
1165 Remove restriction on generate_pdb_file to be only used in dbg
1166 and fastbuild mode
1167 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
1168 Check the result of Future.cancel() when cancelling the other
1169 branch of dynamic execution.
1170 + aaae8ce2881c8c1a5d4ad64f20d6e71aa372cf2e:
1171 Update DEFAULT_MACOS_CPU to match host
1172 + 2f0927a4fd9342f4dcfd43475d3f1c90c523584f:
1173 Fix symlink creation on older Windows versions
1174 + fd9cffdcaf05551126e66f1cd62815eaa1af6bd9:
1175 Suppress interrupted status during pool closure
1176 + 33903d28bcea0005adf9b2a8cc4659c5e2999bbe:
1177 Fix Windows developer mode symlinks
1178 + 0cd1666721bdbe988dc361c085bb43cbd41a27f3:
1179 Respect Starlark options with values in `removeStarlarkOptions()`
1180 + 7920ffef472b25db3f4e564e5a3a28a4664c666e:
1181 cquery inherits from `test` not `build`
1182 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
1183 Allow exec groups to inherit from the rule or other exec groups.
1184 + d0676693310215407224c1b8e8aea9e3eddc183d:
1185 Support execution constraints per exec group
1186 + f1e0d346c8235c855e61afc2adb870e4b895e002:
1187 Clean up RuleContext to use a Table instead of a Map of Maps.
1188 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
1189 Documentation for #13110
1190 + e376580ae4e9ad5bddc196bfb6ad3127e3ff561b:
1191 Split ExecGroup into a new target.
1192 + 0cbb8a863522d2f77ab6b67a01e39b19a9a81807:
1193 Create a new interface to allow Starlark objects to get a thread
1194 when getIndex is called.
1195 + d2e21cec31f09b27ef3589f47b0779f34077ca7e:
1196 Renamed ExecGroupCollection to clarify that it is only for
1197 Starlark usage.
1198 + b9519f92f8ce096107164ca5075feced0e989de7:
1199 Make StarlarkExecGroupContext use AutoValue.
1200 + 52b1b748b2368820bac2ca94323fb82c39c00e51:
1201 Use a dummy toolchain context for rules that don't have one.
1202 + 41877d0fefe3f021f3ff6d4ce398d0deb27157e6:
1203 Extract a separate StarlarkToolchainContext for starlark-only
1204 operations.
1205 + b120d4febc571f17e12501ad87fbff32ef94e9bb:
1206 Fix toolchains to support type lookup.
1207 + dc140d0b6119950dd4a7d71b125b15a78bacc8ce:
1208 Move DEFAULT_EXEC_GROUP_NAME from ToolchainCollection to
1209 ExecGroup.
1210 + 9b18d951a52819f1998ddfdc1739fa1b5bf0353d:
1211 Rename ToolchainCollection.getExecGroups to getExecGroupNames.
1212 + 10d4473bf476a587e3d9f9b2214581ec420c1919:
1213 BuildViewForTesting should directly call into
1214 ConfiguredTargetFunction.
1215 + 58a6fb1f8739e39125cc8c647f28cff2e79fe9aa:
1216 Move exec group tests out of platforms_test and into integration.
1217 + 7d5493d922761c3ce0037f0025912cc532c55ad7:
1218 Update creating exec groups that explicitly copy from defaults.
1219 + 8c6382a81237e72dbec24b3850df9481461e0015:
1220 Create a new ExecGroupCollection container to manage exec group
1221 inheritance and exec property parsing.
1222 + b4b0c321910bc968736ef48e8140528ea7d323cd:
1223 Fix unix toolchain for macos arm64 platform
1224 + f64f071f44394a33a1be40cb7642e2c881d1e9bb:
1225 Add `required_providers` attribute to Starlark defined aspects.
1226 + f2cbdcf67ac1990f05a8241ba8dae65795edac82:
1227 Don't ever claim /dev/null is an execpath.
1228 + ceec93c35ead1bd487e96a5fee46e8d080f88858:
1229 Don't ever claim /dev/null is an execpath.
1230 + 1f3f9f4c4b2eded90518aacd1b0b80c1b0dfd1c5:
1231 Use the parent directory of the exec root as the input root on
1232 RBE.
1233 + 4efeac9cb5f85325ed73f64e133a078c483cac01:
1234 Make the Merkle tree computation work in the wake of
1235 https://github.com/bazelbuild/bazel/commit/7149f578006a4ad0d51df6
1236 9830a6986749b34df5 .
1237 + b56a2aa709dcb681cfc3faa148a702015ec631d5:
1238 Remote: Use execRoot as input root and do NOT set working
1239 directory by default.
1240 + ae53991f2e207edacd1352ba94261e2473b79f14:
1241 Remote: Add RemoteExecutionService as a layer between spawn
1242 execution and remote execution.
1243 + 0c07c2e6571dd4806552213b2237ecb7a908afa4:
1244 Remote: Add remoteCacheable key to execution log
1245 + 5e617d83f3aab1fd36b07be4b58aba58604cc46e:
1246 Remote: Register "remote" strategy even if remote execution is
1247 not available.
1248 + 4ca8946a8e1c4c2fd48d8fb8ce38adb8b282fef0:
1249 Remote: Add --experimental_capture_corrupted_outputs flag.
1250 + 97d7b4c277814d73b50450b03f4bb160ce7e99b4:
1251 Remote: Report checking cache status before the action is
1252 scheduled to run remotely.
1253 + ba5b2a7c9448a3681a0d86d80670447e338a06dc:
1254 when writing to local disk cache, open files later in order to
1255 avoid "too many open files"
1256 + 3551898849a93306ad9b4dfdd7d4667913098efe:
1257 Propagate test envs to xml generation action
1258 + 9f8c678d7054548865f56f3464f778c751657074:
1259 Remote: Fix a bug that the XML generation is executed even if
1260 test.xml is generated when build with --remote_download_minimal.
1261 + af42653e6f6bd229142f4678bb256a8c397b4d8d:
1262 Automatic code cleanup.
1263 + 07a84ce31d9b09853c63c7e373418696dd285dc5:
1264 Remote: Another attempt to fix the CancellationException error
1265 in AsyncTaskCache caused by a race condition.
1266 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
1267 Remote: Display download progress when actions are downloading
1268 outputs from remote cache.
1269 + 18c82168433719b400a705a4a0222969a7a026ba:
1270 Remote: Do not upload empty output to remote cache.
1271 + 6a138a60e562beeef36003c4814a6b8ce9f253f6:
1272 Fix compiling errors
1273 + bcce6dd026e90336e80616a8c1004a79a2f8640c:
1274 Add the TEMP_FAILURE_RETRY macro to linux-sandbox-pid1.cc.
1275 + c8c0d94a49e1b865d95c6d245c2d152c7c7c9722:
1276 Export proguard specs from aar_import
1277 + 1a0285c3b64b121268ced3eb9ad9d5ba396b4905:
1278 Fix stripping of macOS loadable bundles
1279 + 0d3c231f5a08861d28e987703e9196890e6164bf:
1280 Roll forward config_setting visibility enforcement behind a flag.
1281 + bb7a01027242390da1c18fbf87c274cc34c11b79:
1282 Fix merge conflicts.
1283 + 8b8e77ea226aaa12e79580422bc5984e80ce048b:
1284 Remove redundant declaration.
1285 + 7c92cfcf9a88933c29334f6271ad3f086f7f36f4:
1286 Ignore empty virtual artifacts when spawn-logging inputs.
1287 + 4158b61211e099db780565d064a1c1a80c91bd2a:
1288 Use correct exit code on invalid aquery --output
1289 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
1290 Remote: Fix a race when reporting action progresses.
1291 + 0e652737988e3c115e98e1552f6fada52bc2b9a2:
1292 Change MIN_BUILD_TOOLS_REVISION to 30.0.0
1293 + 6f9909c04b1e00faa510b38ccabac78821046cf9:
1294 Update Android remote tools to ensure Bazel uses the latest
1295 Android tooling that has been updated to support AndroidX
1296 databinding generation.
1297 + 31d88c629dff2c5f8e8a4baf8c89fd3349c9783e:
1298 Automated rollback of commit
1299 9a1d428e33bfae1ec5b68250d4732b72346b8b39.
1300 + 951a3023fbcdbe025e350590e6fa86097da3fe05:
1301 Increase allowed size of the install_base.
1302 + a7845f65befbeb65a28ec53e62458211a7bc3f8e:
1303 Increase allowed size for install base again.
1304 + affc27f9d18f9781437e91a3f36c73962a56f261:
1305 Bump version of java allocation instrumenter.
1306 + 7efabba19cf6400bf9e707f53b40a6dd7110fafb:
1307 Reference the correct version of the java allocation
1308 instrumenter.
1309 + 9055c67b17abf5fed487ae44d0e22f1c6ea1e50c:
1310 Support extracting aar files.
1311 + 861c3caa85e47da35a8a4f1512e57d43b9263c37:
1312 Revert "Remote: Fix a race when reporting action progresses."
1313 + 92ec798ddc1f38fb4868af08c1d818639283f501:
1314 Revert "Remote: Display download progress when actions are
1315 downloading outputs from remote cache."
1316 + ce091abb290d1d753f480cdee0e69748eb20db52:
1317 Revert "Fix compiling errors"
1318 + 1b19cd310418b850e8e0ca2086ffe50755c9ed7e:
1319 Revert "Remote: Fix a bug that the XML generation is executed
1320 even if test.xml is generated when build with
1321 --remote_download_minimal."
1322 + 988b56f5916e024d10695797a7f963b30fc998c7:
1323 Revert "Remote: Report checking cache status before the action
1324 is scheduled to run remotely."
1325 + 35c98d07b21785efae57a7c4230cc1e452f74fd2:
1326 Revert "Let workers finish lost races without delaying dynamic
1327 execution."
1328 + c4e22b9ace07f5d360c5327a38f9ae4ab24b7109:
1329 Migrate ExampleWorker to use WorkRequestHandler.
1330 + 230be161176bd6f1251077af7674f80d38ff1e25:
1331 Do not interleave readdir() calls with deletion of directory
1332 entries.
1333 + 3cc8ce6ba0934b1a4d9db184daf055c1207ef105:
1334 Propagate OOME if NewByteArray allocation failed
1335 + 19fc15ebbf6c63fcce90a038e91c5ec726852848:
1336 Create helper method for sandbox tests, transform existing tests
1337 into using it.
1338 + deb1006c0778692f7eaef4cbcf7eeb8112b55e91:
1339 Cleanup: Replace NULL with nullptr
1340 + f4b5e0233341977aaa76593ca032d9ac4eba7444:
1341 Let workers finish lost races without delaying dynamic execution.
1342 + 186decab01ee247c7453baf19dac778545ec4937:
1343 Interface and flag specification for worker cancellation.
1344 + 5894a8544d51c99f1356130b8b487bc93299fedd:
1345 Create BUILD file in worker tests directory instead of running
1346 tests from the parent directory.
1347 + e9e6978809b0214e336fee05047d5befe4f4e0c3:
1348 Server-side implementation of worker cancellation.
1349 + 5103662238f2df2038c7dff079e9c655e08ba654:
1350 Add builder for WorkRequestHandler.
1351 + 1a519bb66c3fa3e4ef3b9a9a556597920751fbcd:
1352 Makes singleplex requests be handled in separate threads in
1353 WorkRequestHandler.
1354 + 779d66019210f54e10a1343ee004df72a8dec812:
1355 Only allow worker async finishing when sandboxed.
1356 + a698bef6146a807fd82ee4402d89c23c83802e33:
1357 Support for cancellation in WorkRequestHandler.
1358 + 9dc95af4c7ef10979f21173260f5433006116096:
1359 Make workers restart on flags that affect their
1360 creation/behaviour.
1361 + 7e5cd529e9f8c9cb67900af36182f00ef7316654:
1362 Remote: Report checking cache status before the action is
1363 scheduled to run remotely.
1364 + 6e134a1b68418fba9992692901efa77a80c346f7:
1365 Remote: Fix a bug that the XML generation is executed even if
1366 test.xml is generated when build with --remote_download_minimal.
1367 + d4d071401acadb0d8977850a9439474e60fd7bb9:
1368 Fix compiling errors
1369 + 2579c9a18360955699d028426b45d381ff53783c:
1370 Eagerly initialize JNI copies of Java classes: doing lazy
1371 initialization on a per-method basis doesn't save anything and
1372 adds a tiny bit of overhead to every one of these calls.
1373 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
1374 Remote: Display download progress when actions are downloading
1375 outputs from remote cache.
1376 + 3835d9b21ad524d06873dfbf465ffd2dfb635ba8:
1377 Update the WorkRequestHandler to use callbacks of type:
1378 BiFunction<WorkRequest, PrintWriter, Integer>: - Mark
1379 constructors that use BiFunction<List<String>, PrintWriter,
1380 Integer> callback as deprecated. - Use a wrapper class for the
1381 BiFunction<WorkRequest, PrintWriter, Integer>. Suggesting this
1382 to avoid having two constructors that takes a BiFunction, as it
1383 creates a confusion between the deprecated and new constructor
1384 when given a lambda expressions.
1385 + 5e352afe2b35487ea2ced85ca79bd9f79858e648:
1386 Fix bug in WorkRequestHandler's handling of singleplex requests
1387 that would cause occasional hangs.
1388 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
1389 Remote: Fix a race when reporting action progresses.
1390 + c9d823e42796962eed039b8122528c2a1541190f:
1391 Disable flaky test.
1392 + e6809c90ecc0ef5783faa39e63188fc33a79b80e:
1393 Revert "Check the result of Future.cancel() when cancelling the
1394 other branch of dynamic execution."
1395 + be4cbc7a67196414e3d3f323be8ab55fb5e530f7:
1396 Revert "Move use of legacy sandbox -> local fallback to only be
1397 used after all strategies have been tried, and improve messages
1398 around it."
1399 + b32349f50ff3d958613aef9275751ad9d50d344c:
1400 Set a fallback dynamic local strategy even when the
1401 dynamic_local_strategy flag is passed.
1402 + f395157c95692565bc220c7ccf788974fe0885fd:
1403 Allow running an extra spawn for local branch of dynamic
1404 execution.
1405 + 039461c76113ab3f165132dd26d0c58eb3e45cae:
1406 Adding debugging information for case when two branches
1407 apparently cancel each other.
1408 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
1409 Move use of legacy sandbox -> local fallback to only be used
1410 after all strategies have been tried, and improve messages
1411 around it.
1412 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
1413 Check the result of Future.cancel() when cancelling the other
1414 branch of dynamic execution.
1415 + 1962a59a5478f5ad374700b0abf0a718b1b3a7d3:
1416 Fix the case where if all strategies for one branch of `dynamic`
1417 execution fail to accept (that is, refuse to even take) the
1418 action given, the whole action fails. Instead of seeing whether
1419 the other branch can run and the action that that it succeeded.
1420 + b7c1ad2aff91105659299723a712b72eea943040:
1421 Fix rare crash in dynamic execution where both branches got
1422 cancelled.
1423 + 2c3cff5422b115d7bb86ed28a056f3d368ebceeb:
1424 Check if `treeDeleter` is actually async before casting it.
1425 Fixes #13240.
1426 + 1a89ce1757e75f8ba9bda76d7373a7e8527bcfc5:
1427 Make worker JSON protocol properly ignore unknown fields.
1428 + 4b12fc80abf4152815f09e473a972e52a1fe8b51:
1429 Fix test_source_file_does_not_override_standard_library to work
1430 with Python 3.9.
1431 + f4e10367df2d881f05e3ddd5bd0531b390a845fe:
1432 Removing line ending matches in tests to be compatible on Windows
1433 + ba74df07ced96226d78851e11d1df03147f1cc1f:
1434 Refactors CompilationSupport for objc to use existing API
1435 + a04cb1bfad4734f801c48bae3070a799067bda4e:
1436 Release 4.2.0 (2021-08-18)
1437 + ba8678077024e1b4e5d7419c758a97e8dc9fceea:
1438 Revert "fix main repo starlark options parsing.
1439 + 9f67cdf3d51c05bc2209786aa24b72658b61362c:
1440 cquery: disable `--build_tests_only`.
Bazel Release System6962b0d2021-08-27 17:50:42 +02001441```
1442
Bazel Release System6962b0d2021-08-27 17:50:42 +02001443Important changes:
1444
Bazel Release Systeme92e04d2021-08-30 09:37:05 -04001445 - Multiplex persistent workers can now use the JSON protocol.
1446 - enforce config_setting visibility. See
1447 https://github.com/bazelbuild/bazel/issues/12932 for details.
1448 - The minimum Android build tools version for the Android rules is
1449 now 30.0.0
1450 - Updates worker protocol with cancellation fields, and adds
1451 experimental_worker_cancellation flag to control cancellation.
1452 - If all strategies of one branch (the local or remote execution
1453 branch) of the `dynamic` strategy fail to even accept (via the
1454 response they give from `canExec`) the action, `dynamic` will now
1455 try to see if the other branch can accept it. (Trying to run it
1456 and it failing will still cause a failure if it was the first
1457 result, this is about strategies claiming they can't even try the
1458 action)
Bazel Release System6962b0d2021-08-27 17:50:42 +02001459
Bazel Release Systeme92e04d2021-08-30 09:37:05 -04001460This release contains contributions from many people at Google, as well as Alex Eagle, Austin Schuh, Benjamin Peterson, bromano, Christopher Peterson Sauer, Christopher Sauer, Cristian Hancila, Daniel Wagner-Hall, Denys Kurylenko, Ed Schouten, Finn Ball, George Gensure, Greg Estren, Johannes Abt, Keith Smiley, Kevin Hogeland, Lauri Peltonen, Philipp Schrader, Ryan Beasley, Thi Doan, ThomasCJY, Timothy Klim, Trustin Lee, Ulf Adams, Vaidas Pilkauskas, Vertexwahn, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yuval Kaplan, Yuval.
Bazel Release System2f2a4372021-08-25 13:07:14 +02001461
Bazel Release Systemb3feb612021-08-19 15:32:21 +02001462## Release 5.0.0-pre.20210810.4 (2021-08-19)
1463
1464```
1465Baseline: ead44955c5cf02d94152f2cf3462c40ee6659594
1466
1467Cherry picks:
1468
1469 + 99a85e79a11cef98d0e08db21ab94833398381af:
1470 Automated rollback of commit
1471 92f7b58672baffe5a230f675d7197c2a10892284.
1472 + 16523615ba04c2697f436ca02d957809e6fe8dbf:
1473 Fix a race condition in scheduling code in
1474 `FileSystemValueCheckerInferringAncestors`.
1475 + ed251187b078c4262bbbc1da72015ce12f9964f4:
1476 Add incompatible flag to guard top-level aspects dependencies
1477```
1478
1479Incompatible changes:
1480
1481 - Removing java_common.javac_jar Starlark call.
1482 - native.existing_rule now returns select values in a form that is
1483 accepted by rule instantiation. This is a breaking API change
1484 because there is some code that relies on the precise type
1485 returned, including brittle workarounds for this bug specifically
1486 and insufficiently flexible workarounds for other issues with the
1487 intersection of select and native.existing_rule.
1488 - flipped incompatible_use_toolchain_resolution_for_java_rules, see
1489 #7849
1490 - Query output=xml/proto/location for source files will now show
1491 the location of line 1 of the source file (as the new default)
1492 instead of its location in the BUILD file.
1493 - Specifying a target pattern underneath a directory specified by
1494 .bazelignore will now emit a warning, not an error.
1495 - Query `--order_output=auto` will now sort lexicographically.
1496 However, when `somepath` is used as a top level function (e.g.
1497 `query 'somepath(a, b)'`), it will continue to output in
1498 dependency order. If you do not want the lexicographical output
1499 ordering, specify another `--order_output` value (`no`, `deps` or
1500 `full`) based on what ordering you require.
1501 - In the build event stream,
1502 BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
1503 Its value was always mostly meaningless.
1504 BuildMetrics.TargetMetrics.targets_configured and
1505 BuildMetrics.ActionSummary.actions_created now include configured
1506 aspect data.
1507 - //visibility:legacy_public has been removed.
1508 - Flip and remove incompatible_dont_collect_so_artifacts
1509 (https://github.com/bazelbuild/bazel/issues/13043).
1510 - Remove flag --experimental_no_product_name_out_symlink: it is
1511 always true.
1512 - The Starlark method generate_dsym in objc fragment has
1513 been deleted. Please use the equivalent apple_generate_dsym in
1514 cpp
1515 fragment instead.
1516 - Native libraries in data attribute are not collected. See
1517 https://github.com/bazelbuild/bazel/issues/13550 for details
1518 - Enforce the `--profile` path to be absolute.
1519 - Enforce the --memory_profile path to be absolute.
1520 - JavaToolchainInfo.jvm_opt returns Depset instead of a list.
1521 - --apple_sdk has been deleted. It is a no-op.
1522
1523Important changes:
1524
1525 - Flag --incompatible_objc_compile_info_migration is removed. See
1526 #10854.
1527 - Flag --incompatible_objc_compile_info_migration is removed. See
1528 #10854.
1529 - Flag --incompatible_objc_compile_info_migration is removed. See
1530 #10854.
1531 - none
1532 PAIR=cmita
1533 - The --incompatible_load_python_rules_from_bzl flag is now a no-op.
1534 - Filter all (instead of just C++) source files for coverage output
1535 according to --instrumentation_filter and
1536 --instrument_test_targets.
1537 - The `--incompatible_disable_native_apple_binary_rule` flag has
1538 been added which disables the native `apple_binary` rule. Users
1539 who need to use `apple_binary` directly (if they cannot use one
1540 of the more specific Apple rules) should load it from
1541 https://github.com/bazelbuild/rules_apple.
1542 - The Android rules' --use_singlejar_apkbuilder is now a no-op.
1543 SingleJar will always be used to build APKs.
1544 - dict.setdefault(key, ...) now fails if dict is frozen, even if it
1545 already contains key. This is an incompatible API change.
1546 - Flag --incompatible_objc_provider_remove_compile_info is removed.
1547 See #11359.
1548 - Starlark now permits def statements to be nested (closures).
1549 - native.existing_rule now returns select values in a form that is
1550 accepted by rule instantiation. This is a breaking API change,
1551 though the fallout is expected to be small.
1552 - Starlark now supports lambda (anonymous function) expressions.
1553 - The "test" and "coverage" commands no longer return 3 when a
1554 test action fails because of a system error. Instead, the exit
1555 code
1556 reflects the type of system error.
1557 - The undocumented ctx.expand feature no longer exists.
1558 - Make --legacy_dynamic_scheduler a no-op flag.
1559 - Multiplex persistent workers can now use the JSON protocol.
1560 - native.existing_rule now returns a mutable list, not a tuple, for
1561 a list-valued attributes. This is an incompatible API change.
1562 - Roll back change to have native.existing_rules use list instead
1563 of tuple.
1564 - BEP includes test suite expansions.
1565 - config_setting now honors `visibility` attribute (and defaults to
1566 `//visibility:public`)
1567 - Change the MultiArchSplitTransitionProvider to be based on
1568 platform type + CPU instead of fixed "ios_" + cpu.
1569 - enforce config_setting visibility. See
1570 https://github.com/bazelbuild/bazel/issues/12932 for details.
1571 - add a flag to build v4 signature file
1572 - Added _direct_source_jars output group to Java related targets.
1573 END_PUBLIC
1574 - pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
1575 Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
1576 - Allowing the lipo operations to be conditional in the
1577 linkMultiArchBinary API for Apple binaries. Single architecture
1578 slices are now returned through AppleBinaryOutput and the
1579 Starlark API.
1580 - Release restriction for "-" in the package name for Python
1581 sources. Now `py_binary` and `py_test` targets can have main
1582 source file with "-" in the path.
1583 - Users consuming BEP may assume that a `named_set_of_files` event
1584 will
1585 appear before any event referencing that `named_set` by ID. This
1586 allows consumers
1587 to process the files for such events (eg. `TargetCompleted`)
1588 immediately.
1589 - BEP includes all files from successful actions in requested
1590 output groups.
1591 Previously, an output group's files were excluded if any file in
1592 the output group
1593 was not produced due to a failing action. Users can expect BEP
1594 output to be larger
1595 for failed builds.
1596 - In BEP, TargetComplete.output_group has a new field `incomplete`
1597 indicating that the file_sets field is missing one or more
1598 declared artifacts
1599 whose generating actions failed.
1600 - The flag `--toolchain_resolution_debug` now takes a regex
1601 argument, which is used to check which toolchain types should
1602 have debug info printed. You may use `.*` as an argument to keep
1603 the current behavior of debugging every toolchain type.
1604 - Add runfiles.merge_all() for merging a sequence of runfiles
1605 objects.
1606 - runfiles.merge() and merge_all() now respect
1607 --nested_set_depth_limit.
1608 If you hit the depth limit because you were calling merge() in a
1609 loop, use
1610 merge_all() on a sequence of runfiles objects instead.
1611 - Bazel will no longer create a bazel-out symlink if
1612 --symlink_prefix is specified: the directory pointed to via the
1613 bazel-out symlink is accessible via ${symlink_prefix}-out. If
1614 this causes problems for you, set
1615 --experimental_no_product_name_out_symlink=false in your builds
1616 and file an issue.
1617 - Updates worker protocol with cancellation fields, and adds
1618 experimental_worker_cancellation flag to control cancellation.
1619 - Simplify build failure output by always using `NNN arguments`.
1620 - trim_test_configuration now defaults to on
1621 - Mark genrule.srcs as a source attribute for coverage.
1622 - When using --allow_analysis_failures (for example, via
1623 bazel-skylib's
1624 analysistest with `expect_failure = True`), analysis-time
1625 failures in aspect
1626 implementation functions will now be propagated and saved in
1627 AnalysisFailureInfo, just like analysis-time failures in rules.
1628 - cquery --noimplicit_deps now correctly filters out resolved
1629 cc_toolchains
1630 - Sign apks deterministically.
1631 - Make gcov optional in cc_toolchain tools.
1632 - If --experimental_prefer_mutual_xcode is passed, Bazel will
1633 choose the local default (instead of the newest mutually
1634 available version) if it's available both locally and remotely.
1635 - Remove java_lite_proto_library.strict_deps attribute.
1636 - Generate proguard configurations deterministically.
1637 - Adds a new flag, `--incompatible_enable_cc_test_feature` which
1638 switches from the use of build variables to the feature of the
1639 same name.
1640 - Dropped fragile xz support from built in pkg_tar. Users requiring
1641 xz
1642 compression should switch to bazlebuild/rules_pkg.
1643 - If all strategies of one branch (the local or remote execution
1644 branch) of the `dynamic` strategy fail to even accept (via the
1645 response they give from `canExec`) the action, `dynamic` will now
1646 try to see if the other branch can accept it. (Trying to run it
1647 and it failing will still cause a failure if it was the first
1648 result, this is about strategies claiming they can't even try the
1649 action)
1650 - Add `disable_annotation_processing` option to
1651 `java_common.compile`, which disables any annotation processors
1652 passed to `plugins` or in `exported_plugins` of `deps`
1653 - Remove obsolete --incompatible_prohibit_aapt1
1654 - The minimum Android build tools version for the Android rules is
1655 now 30.0.0
1656 - Adds --experimental_reuse_sandbox_directories flag to reuse
1657 already-created non-worker sandboxes with cleanup.
1658 - --experimental_force_gc_after_build is deprecated and will be
1659 removed soon. Use --bep_publish_used_heap_size_post_build instead
1660 - Forward coverage-instrumented files from non-tool dependencies by
1661 default.
1662 - The used_heap_size_post_build field in BEP is populated when the
1663 --memory_profile flag is set
1664 - --run_validations defaults to true.
1665 - Consider label_keyed_string_dict attributes when gathering
1666 instrumented files for coverage.
1667 - Remove flag
1668 --experimental_forward_instrumented_files_info_by_default, now
1669 that this behavior is the default.
1670 - When using MemoryProfiler with multiple GCs via the
1671 --memory_profile_stable_heap_parameters flag, we do a more
1672 precise calculation of heap used at the end of the build. This
1673 will generally result in lower values.
1674 - --bep_publish_used_heap_size_post_build is deprecated. Use
1675 --memory_profile=/dev/null instead.
1676
1677This release contains contributions from many people at Google, as well as Adam Liddell, Alex Eagle, Andrew Katson, Anthony Pratti, Austin Schuh, Benedek Thaler, Benjamin Lee, Benjamin Peterson, Benjamin Peterson, bromano, Cameron Mulhern, Christopher Peterson Sauer, Christopher Sauer, Cristian Hancila, Dan Bamikiya, Daniel McCarney, Daniel Wagner-Hall, Danny Wolf, Dave MacLachlan, Dave Nicponski, David Cummings, David, David Ostrovsky, Delwin9999, Denys Kurylenko, Dmitry Ivankov, dorranh, Ed Schouten, Eitan Adler, Elliotte Rusty Harold, erenon, Eric Cousineau, Ethan Steinberg, FaBrand, Felix Ehrenpfort, Finn Ball, Fredrik Medley, Garrett Holmstrom, Gautam Korlam, George Gensure, goodspark, Greg Estren, Grzegorz Lukasik, Jesse Chan, Joe Lencioni, Johannes Abt, John Laxson, Jonathan Schear, Justus Tumacder, Keith Smiley, Kevin Hogeland, Lauri Peltonen, Liu Liu, Lszl Csomor, m, Marc Zych, Mark Karpov, Masoud Koleini, Matt Mackay, Max Liu, Menny Even Danan, menny, Michael Chinen, Nathaniel Brough, Nick Korostelev, Niek Peeters, Nikolay Shelukhin, odisseus, Oleh Stolyar, Olek Wojnar, Olle Lundberg, Philipp Schrader, Pras Velagapudi, Qais Patankar, Rai, Ryan Beasley, samhowes, Samuel Giddins, Sebastian Olsson, Steve Siano, steve-the-bayesian, Stiopa Koltsov, susinmotion, tatiana, Thi Doan, ThomasCJY, Timothy Klim, Tobi, Torgil Svensson, Trustin Lee, Ulf Adams, Uri Baghin, Vaidas Pilkauskas, Vertexwahn, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yannic Bonenberger, Yannic, Yury Evtikhov, Yuval Kaplan, Yuval, [zqzzq].
1678
Bazel Release System497a8482021-08-18 08:44:59 -04001679## Release 4.2.0 (2021-08-18)
Bazel Release System9ec8fb12021-08-13 14:57:53 +02001680
1681```
Bazel Release System497a8482021-08-18 08:44:59 -04001682Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
Bazel Release System9ec8fb12021-08-13 14:57:53 +02001683
1684Cherry picks:
1685
Bazel Release System497a8482021-08-18 08:44:59 -04001686 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
1687 Use getRunfilesPath for run_under executable path generation.
1688 getRootRelativePath doesn't return a valid runfiles path for
1689 external source files anymore after the recent external source
1690 root change. Also, it won't work for external labels either once
1691 the --nolegacy_external_runfiles becomes default. This fixes
1692 issue #12545.
1693 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
1694 Fix NPE when coveragerunner is not set on the toolchain.
1695 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
1696 Fix the classic query package-loading cutoff optimization with
1697 external workspaces.
1698 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
1699 Update turbine
1700 + bef4bbbb47d47befe3711d06f358782ee12554f9:
1701 Update turbine
1702 + d113d7454127bba78aa618dac81e5d164920b662:
1703 Update turbine
1704 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
1705 Support Scala3 .tasty files
1706 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
1707 Update to java_tools javac11 release 10.5 (#12647)
1708 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
1709 Fix common prefix for instrumentation filter
1710 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
1711 Fix builds for filegroup targets with incompatible dependencies
1712 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
1713 Revert "Remove
1714 --incompatible_blacklisted_protos_requires_proto_info"
1715 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
1716 Transform roots along with paths during output deletion.
1717 + e8835c1c221d76a2d5532d18083eaa04401619b3:
1718 AttributeContainer.Large now handles more than 127 attributes.
1719 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
1720 Add an env attribute to all test and binary rule classes
1721 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
1722 Take no action to prefetch empty artifacts.
1723 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
1724 Fix a couple of bugs with Incompatible Target Skipping
1725 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
1726 Pass --host_action_env to host options hostActionEnvironment
1727 attribute
1728 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
1729 Add --{no,}autodetect_server_javabase.
1730 + c83366064621d5a265eba14d93a03deff58fe6d8:
1731 Only treat "env" and "env_inherit" attrs specially for native
1732 rules
1733 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
1734 Fix coverage support when using default_java_toolchain. (#12801)
1735 + 4158a6f512e52516437e00f8d9609a91be7fc195:
1736 Revert JacocoCoverage target to remote_java_tools_java_import
1737 and add a new target for remore_java_tools_filegroup. (#12813)
1738 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
1739 Add windows_msvc back to conditions in bazel_tools.
1740 + 6b33bdb1e22514304c0e35ce8e067f2175685245:
1741 Release 4.0.0 (2021-01-21)
1742 + 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
1743 Fix error message from getPrerequisites to not print internal
1744 details.
1745 + 27e15ad11410eb1014f5247fd0eeb31a46733c07:
1746 Clean up ConfiguredTargetValueAccessor and
1747 ConfiguredTargetAccessor
1748 + e87feb8ac9573cef993824f82370d0389570521d:
1749 Move getConfigConditions into ConfiguredTarget.
1750 + 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
1751 Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
1752 value.
1753 + 079bb7d69931705bb2b092c9017090e224ef3043:
1754 Clean up old dependencies that are unused since
1755 https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
1756 5ef5702880d5ac7c5c.
1757 + e03cb63e059420847d6578d7cbfe93f05615c95e:
1758 Update bazelbuild/platforms to a current release. - Roll forward
1759 https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
1760 7f925cf88e0cd5b76a with kythe fix.
1761 + 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
1762 Update docs and tests to use the @platforms//:incompatible
1763 constraint
1764 + c71697cf33b0fbbb42fc2910bac83960edc7e855:
1765 Clarify test_suite behaviour in the Platforms docs
1766 + dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
1767 Enable toolchain resolution for filegroup targets.
1768 + 24d086446f74606819dc53c3a436caa056ff05b7:
1769 PlatformProviderUtils should ignore targets that don't have the
1770 needed
1771 + ba60c0b3f9bbd00975c984244839b155e84b4c5d:
1772 ijar: fix manifest sections handling
1773 + 58bb42ad7ca263a75c6eeef51482f805726663a5:
1774 Revert "Switch to -fdebug-compilation-dir"
1775 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
1776 Update turbine
1777 + bef4bbbb47d47befe3711d06f358782ee12554f9:
1778 Update turbine
1779 + d113d7454127bba78aa618dac81e5d164920b662:
1780 Update turbine
1781 + ad241fbebd90a9f0ad65ccd0658838f57030db68:
1782 Allow cquery to filter out incompatible targets
1783 + 1782f0ae751569607ef88930c822ac460a1f8bb3:
1784 Patch grpc to fix cares selecting the wrong source when building
1785 for darwin_arm64 cpu.
1786 + 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
1787 [1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
1788 blobs
1789 + 848a51747a460ab4c5185e4c61ab522a9981cbea:
1790 [2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
1791 blobs
1792 + 9b30172547f2093acb56aedf159a77d5dceffda2:
1793 [3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
1794 blobs
1795 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
1796 Allow exec groups to inherit from the rule or other exec groups.
1797 + d0676693310215407224c1b8e8aea9e3eddc183d:
1798 Support execution constraints per exec group
1799 + f1e0d346c8235c855e61afc2adb870e4b895e002:
1800 Clean up RuleContext to use a Table instead of a Map of Maps.
1801 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
1802 Documentation for #13110
1803 + 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
1804 Prevent --repo_env from triggering unnecessary fetches
1805 + 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
1806 Prevent a crash when using --repo_env=VAR without a value
1807 + 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
1808 Report digest of failed uploads
1809 + 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
1810 Status error presentation with details
1811 + 9a70805db543e2fb910e1c55ef3b3567362adf30:
1812 Fix double shutdown of BuildEventArtifactUploader when BES+File
1813 output enabled.
1814 + 325eb956c92530bdfda54a36a186cae4245a4f7b:
1815 Add rxjava3 to third_party
1816 + ceaac966a7b977461b69ce9501df6a467f4a93b2:
1817 remote: set executable bit of an input file based on its real
1818 value
1819 + 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
1820 Remote: correctly implement equals and hashCode.
1821 + 48648503729d53fdee1322fde2c8e6c05e99cff9:
1822 Fixed an error that bazel binary is not executable when testing
1823 with remote execution.
1824 + bc54c648aa1f99509c7c36d5e6b570d066689209:
1825 Remote: Use parameters instead of thread-local storage to
1826 provide tracing metadata.
1827 + 92955e617b5c41713a5163dc0437c2a024b31815:
1828 Remote: Use parameters instead of thread-local storage to
1829 provide tracing metadata. (Part 2)
1830 + 75bd1ff8ab56d241916bde36291301fa026b2bab:
1831 Remote: Use parameters instead of thread-local storage to
1832 provide tracing metadata. (Part 3)
1833 + 37ee252f3744abc4511f55b5089cc52abd3ba09d:
1834 Remote: Use parameters instead of thread-local storage to
1835 provide tracing metadata. (Part 4)
1836 + 71e35b165f924e2649a078fcf6007645d58039af:
1837 Remote: Use parameters instead of thread-local storage to
1838 provide tracing metadata. (Part 5)
1839 + 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
1840 Write/QueryWriteStatus logging refinement/addition
1841 + 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
1842 Remote: gRPC load balancing. (Part 1)
1843 + e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
1844 Remote: gRPC load balancing. (Part 2)
1845 + 6667ad7dd77f8d97952133052c17e7779c1430ec:
1846 Remote: gRPC load balancing. (Part 3)
1847 + 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
1848 Remote: gRPC load balancing. (Part 4)
1849 + 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
1850 Implement getMessage for BulkTransferException
1851 + a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
1852 Remote: gRPC load balancing. (Part 5)
1853 + 7a62c2d4e27e398f440910c81eacc384f38ca8be:
1854 Remote: Add interoperability between Rx and ListenableFuture.
1855 + 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
1856 Update to latest remote-execution proto
1857 + dad96301d12aa77eb67399e08265a5f30f5ffd6a:
1858 Set Platform on Action not just Command
1859 + 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
1860 Remote: Add AsyncTaskCache which is used to deduplicate task
1861 executions and cache the results.
1862 + 9d0c7325ac810febe565a62fdd875ae0c240b274:
1863 Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
1864 + f54fe07209acc25340df8d2e02993b1add2deafa:
1865 Add --experimental_repository_disable_download to allow users
1866 disable download for external repos
1867 + b243584a479eb4481a9bf4f69acc899610a3b630:
1868 Report errors parsing rewriter config file
1869 + 63bc1c7d0853dc187e4b96a490d733fb29f79664:
1870 Downloader rewriter config has all_blocked_message
1871 + 495ac923f398443be45c20ab29d183fe47e08911:
1872 Allow UrlRewriter to change protocol, i.e. https->http, and
1873 http->https
1874 + 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
1875 Allow overriding the hostname and instance name in bytestream://
1876 URIs
1877 + 0881c80d29acecdfbb58c49156f805e8c50db117:
1878 Don't set requestId on non-multiplex requests.
1879 + e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
1880 When generating a symlink in _virtual_includes, add the original
1881 header to the 'allowed to use' set too
1882 + f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
1883 Make SimpleLogHandler not swallow interrupts.
1884 + f8606e5e76579442a1c6563e718ea54c673f1a04:
1885 linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
1886 + dac0d40d0eb903f5cb70341398d1a333c19adf3a:
1887 Improve "Common Attributes" section
1888 + a607d9dc70ac67f1aa2c32ca954177f9c77860be:
1889 Never create more than one process per WorkerMultiplexer.
1890 + 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
1891 Move sending requests and reading responses for multiplex
1892 workers into separate subthreads.
1893 + 003cfcde3fd3901c1279ba1db3db3a14536248b4:
1894 Allow use of JSON protocol in multiplex workers.
1895 + 308bce36cba46095fe41866e703710035ddddada:
1896 Actively kill off still-active workers when stopping work on
1897 interrupt.
1898 + 8959dff512fe4505af786bcf2ef981ec7082a913:
1899 Add sanitizer support to Apple platforms
1900 + 32f16e9360f3e1856db1775eb5014b930da2a303:
1901 Fix a Google-internal broken link.
1902 + c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
1903 Add SHA-1 to subresource integrity format for download()
1904 checksums
1905 + 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
1906 Remove fallback strategy support for workers, add flag for it in
1907 sandbox.
1908 + 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
1909 Update to java_tools javac11 10.6 (#13245)
1910 + 4928295b236ec8f590a7e9d863502bc2f50a77d9:
1911 Allow .S files in C++ Starlark cc_common.compile.
1912 + 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
1913 Automatic code cleanup.
1914 + b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
1915 Change short output of worker type to have the same logic as the
1916 worker creation for sandboxing vs. multiplex.
1917 + e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
1918 More properly destroy workers on interrupt.
1919 + 7056711eb11b672133274eb29fc93b01dcf088d5:
1920 Make WorkRequestHandler do a GC after some amount of CPU time
1921 has been used on requests. For Bazel and Blaze, defaults to 10s
1922 based on benchmarking.
1923 + 596653d3cf76e7b208da343e1fde5fe20273a5ff:
1924 Allow tree artifacts to be source or header inputs to
1925 cc_common.compile()
1926 + 055c93d11ab20cc4479539b24bbdfa5cab78a342:
1927 Switch to path autocompletion after -- for bazel run commands.
1928 + 807f2a1929e23b60b237c63fadb25af81de2e3c3:
1929 Fix Incompatible Target Skipping for test args
1930 + 9a5cd854e0613f91d52075973e2454b1e009e1ef:
1931 Fix order of build request id and command id
1932 + 706f5acd02363e48076dc97e37613fd968932d03:
1933 Fix bazel crash when passing config_setting to
1934 target_compatible_with
1935 + 61da1d2bf10eabba4c75de959b0374f302d89d70:
1936 Support multiple --bazelrc on command line
1937 + 5593358a58b66f06c4e421bb48856de94c3fd625:
1938 Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
1939 to
1940 + 662cf54de7a103db30e04ebae2d2b919437c4846:
1941 Remote: Fix an issue that a failed action could lead to
1942 RuntimeException caused by InterruptedException thrown when
1943 acquiring gRPC connections.
1944 https://github.com/bazelbuild/bazel/issues/13239
1945 + a3a1763212f29932618b9b9b2f929976ae0e3b6e:
1946 Pass more `--add-exports=` flags
1947 + d2b942879471786e82f1c96eea8722bbe7919fc1:
1948 Remote: Fixed a bug that remote cache is missed due to
1949 executable bit is changed
1950 + 616dc264f02907d7b7887285d22307dfe6d097b6:
1951 Fix Bazel Coverage with C++ to work with Remote Execution
1952 + 5f40d12e741aa30d506eaa15673fb2ae76d29468:
1953 Fix external_path_test with newer Xcode versions.
1954 + b416193075642017e13c774422b49cb07fb65c23:
1955 Allow using embedded tools in sandboxed spawn runners.
1956 + eb762d4e7431637e607146b1c191485795047ef9:
1957 Fix racy write of temporary files while staging virtual inputs
1958 for the sandbox.
1959 + f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
1960 Update platforms_test to not rely on filegroup not using
1961 toolchain
1962 + 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
1963 Update SkyframeTests to not rely on filegroup not using toolchain
1964 + 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
1965 Update ConfigurableAttributesTest to not rely on filegroup not
1966 using …
1967 + 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
1968 Make WorkerExecRoot not be a subclass of SandboxedSpawn.
1969 + 31db460a45767de0bcd664a6efbe9d163b85b802:
1970 Make WorkerExecRoot not be re-created on each createFileSystem()
1971 call. Preparation for holding a map of existing links, but also
1972 just nicer.
1973 + a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
1974 Start the file existence check traversal from the execroot base
1975 instead of execroot so that external repo files at
1976 "<execroot>/../<path>" are correctly handled when the sibling
1977 repository layout is enabled.
1978 + b048282c7893231d3a7191b251804973917b07a4:
1979 Use readdir for cleanExisting in WorkerExecRoot.
1980 + 270f00dd01fa06cf3e813da5a406be3446de7377:
1981 Add native support for Apple Silicon
1982 + 8e56b9423e8ad2f7323fb90b19b73858def81e39:
1983 Explicitly state that embedding macOS OpenJDK is for x86_64
1984 + 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
1985 Remote: Fix a race that AsyncTaskCache#Execution could be reused
1986 after disposed which results in
1987 CancellationException("disposed") propagated to downstream.
1988 + 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
1989 Remove wrapped_clang params files after use
1990 + 47edc57806056f3c8764241ed41b8acc72bd2ebf:
1991 Silence swiftmodule timestamp warnings
1992 + f6e1074b09ebefba185c0531e9cea26b9596c8a9:
1993 Remote: Use shutdownNow() instead of shutdown() in
1994 ChannelConnection#close() as a workaround to a gRPC bug.
1995 + 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
1996 And mnemonic and label to remote metadata
1997 + 615e1b16a81b0defc15699ec8027d6ddd70366d1:
1998 Change `set -x` in coverage to be set by var
1999 + fe4daea99c8cd163793eca84bfb12c8fc437616b:
2000 Bump minimal JDK install base maximum size from 290 to 295 MB.
2001 + 4840a68cd273a429e46d4114a3973fd11d0e3583:
2002 Remote: Check the return value of ActionOwner.getLabel() since
2003 it could be `null`.
2004 + 14abe4fd7c3967686a3536939fdc3882e691bca2:
2005 Allow `DiffAwareness` to share precomputed information about the
2006 workspace and propagate it to the `WorkspaceStatusAction`.
2007 + 082d98772690946ed29c157e60640c97a6e1195b:
2008 Implement available() method for Windows subprocesses.
2009 + c2bdd034014f66ce14529cc353cda18a32320f6c:
2010 Move --repo_env to common options
2011 + e09f2743738044095b9d784ea62df16b7f5750e6:
2012 Revert "Documentation for #13110"
2013 + a165baa250652fdc865ae0df39160be1f7f74c47:
2014 Revert "Clean up RuleContext to use a Table instead of a Map of
2015 Maps."
2016 + 51fb9e13a864f4f704ae378ea632433bae7ddc31:
2017 Revert "Support execution constraints per exec group"
2018 + cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
2019 Revert "Allow exec groups to inherit from the rule or other exec
2020 groups."
2021 + 2ac6581aeaab33ba506fce96dfa6a75eaa819233:
2022 Release 4.1.0 (2021-05-21)
2023 + 7a0f36e3f0a21fed8857efbaa51ded2dbdeefab6:
2024 Change gceMachineType of highcpu platform from n1-highcpu-32 to
2025 e2-highcpu-32
2026 + 19491a91143f0c6132aca62c5ae40ab72e9dc0e2:
2027 Fix #10127: Remove Python 2 dependency from tools/android.
2028 + 80c59dea59d4dce39d4b5d21665c3d7313197358:
2029 fix main repo starlark options parsing - now flags passed on the
2030 command line as --@main_workspace//flag and --//flag will both
2031 parse to --//flag. Before this CL, the former maintained its
2032 workspace prefix and we would get different entries for these
2033 two formats.
2034 + 451b296c3aceb127ebb4a313b6e9608854fa68fa:
2035 Update threshold for long path shortening to be MAX_PATH - 4
2036 + 671e0489a5bd6d5abb4dcd9bcfc85134cee38385:
2037 Force source files to be readable before copying them from
2038 sandbox.
2039 + 6080c1e07f4229ea72eacd04faa9302e44955a84:
2040 Let workers finish lost races without delaying dynamic execution.
2041 + ee738dacb5d0089d3f57b15305057cb9ba675e74:
2042 Fix label_flag and label_setting to not have a dependency on the
2043 default
2044 + 74de0ba4e79341c77b8b85ff4485f92287b6854c:
2045 Java coverage: fix handling of external files
2046 + 48eee8b4b447a2ad11df28dd81a2ccb65562b5f5:
2047 [Bazel] Fix mobile-install for python2
2048 + 763dd0ce6e1644bf895231432f616427a11d385a:
2049 Add `stub_shebang` to `py_runtime`
2050 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
2051 Move use of legacy sandbox -> local fallback to only be used
2052 after all strategies have been tried, and improve messages
2053 around it.
2054 + 6dc941e58dfc1d4a9714a76b921fbe11fce658ed:
2055 Remove restriction on generate_pdb_file to be only used in dbg
2056 and fastbuild mode
2057 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
2058 Check the result of Future.cancel() when cancelling the other
2059 branch of dynamic execution.
2060 + aaae8ce2881c8c1a5d4ad64f20d6e71aa372cf2e:
2061 Update DEFAULT_MACOS_CPU to match host
2062 + 2f0927a4fd9342f4dcfd43475d3f1c90c523584f:
2063 Fix symlink creation on older Windows versions
2064 + fd9cffdcaf05551126e66f1cd62815eaa1af6bd9:
2065 Suppress interrupted status during pool closure
2066 + 33903d28bcea0005adf9b2a8cc4659c5e2999bbe:
2067 Fix Windows developer mode symlinks
2068 + 0cd1666721bdbe988dc361c085bb43cbd41a27f3:
2069 Respect Starlark options with values in `removeStarlarkOptions()`
2070 + 7920ffef472b25db3f4e564e5a3a28a4664c666e:
2071 cquery inherits from `test` not `build`
2072 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
2073 Allow exec groups to inherit from the rule or other exec groups.
2074 + d0676693310215407224c1b8e8aea9e3eddc183d:
2075 Support execution constraints per exec group
2076 + f1e0d346c8235c855e61afc2adb870e4b895e002:
2077 Clean up RuleContext to use a Table instead of a Map of Maps.
2078 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
2079 Documentation for #13110
2080 + e376580ae4e9ad5bddc196bfb6ad3127e3ff561b:
2081 Split ExecGroup into a new target.
2082 + 0cbb8a863522d2f77ab6b67a01e39b19a9a81807:
2083 Create a new interface to allow Starlark objects to get a thread
2084 when getIndex is called.
2085 + d2e21cec31f09b27ef3589f47b0779f34077ca7e:
2086 Renamed ExecGroupCollection to clarify that it is only for
2087 Starlark usage.
2088 + b9519f92f8ce096107164ca5075feced0e989de7:
2089 Make StarlarkExecGroupContext use AutoValue.
2090 + 52b1b748b2368820bac2ca94323fb82c39c00e51:
2091 Use a dummy toolchain context for rules that don't have one.
2092 + 41877d0fefe3f021f3ff6d4ce398d0deb27157e6:
2093 Extract a separate StarlarkToolchainContext for starlark-only
2094 operations.
2095 + b120d4febc571f17e12501ad87fbff32ef94e9bb:
2096 Fix toolchains to support type lookup.
2097 + dc140d0b6119950dd4a7d71b125b15a78bacc8ce:
2098 Move DEFAULT_EXEC_GROUP_NAME from ToolchainCollection to
2099 ExecGroup.
2100 + 9b18d951a52819f1998ddfdc1739fa1b5bf0353d:
2101 Rename ToolchainCollection.getExecGroups to getExecGroupNames.
2102 + 10d4473bf476a587e3d9f9b2214581ec420c1919:
2103 BuildViewForTesting should directly call into
2104 ConfiguredTargetFunction.
2105 + 58a6fb1f8739e39125cc8c647f28cff2e79fe9aa:
2106 Move exec group tests out of platforms_test and into integration.
2107 + 7d5493d922761c3ce0037f0025912cc532c55ad7:
2108 Update creating exec groups that explicitly copy from defaults.
2109 + 8c6382a81237e72dbec24b3850df9481461e0015:
2110 Create a new ExecGroupCollection container to manage exec group
2111 inheritance and exec property parsing.
2112 + b4b0c321910bc968736ef48e8140528ea7d323cd:
2113 Fix unix toolchain for macos arm64 platform
2114 + f64f071f44394a33a1be40cb7642e2c881d1e9bb:
2115 Add `required_providers` attribute to Starlark defined aspects.
2116 + f2cbdcf67ac1990f05a8241ba8dae65795edac82:
2117 Don't ever claim /dev/null is an execpath.
2118 + ceec93c35ead1bd487e96a5fee46e8d080f88858:
2119 Don't ever claim /dev/null is an execpath.
2120 + 1f3f9f4c4b2eded90518aacd1b0b80c1b0dfd1c5:
2121 Use the parent directory of the exec root as the input root on
2122 RBE.
2123 + 4efeac9cb5f85325ed73f64e133a078c483cac01:
2124 Make the Merkle tree computation work in the wake of
2125 https://github.com/bazelbuild/bazel/commit/7149f578006a4ad0d51df6
2126 9830a6986749b34df5 .
2127 + b56a2aa709dcb681cfc3faa148a702015ec631d5:
2128 Remote: Use execRoot as input root and do NOT set working
2129 directory by default.
2130 + ae53991f2e207edacd1352ba94261e2473b79f14:
2131 Remote: Add RemoteExecutionService as a layer between spawn
2132 execution and remote execution.
2133 + 0c07c2e6571dd4806552213b2237ecb7a908afa4:
2134 Remote: Add remoteCacheable key to execution log
2135 + 5e617d83f3aab1fd36b07be4b58aba58604cc46e:
2136 Remote: Register "remote" strategy even if remote execution is
2137 not available.
2138 + 4ca8946a8e1c4c2fd48d8fb8ce38adb8b282fef0:
2139 Remote: Add --experimental_capture_corrupted_outputs flag.
2140 + 97d7b4c277814d73b50450b03f4bb160ce7e99b4:
2141 Remote: Report checking cache status before the action is
2142 scheduled to run remotely.
2143 + ba5b2a7c9448a3681a0d86d80670447e338a06dc:
2144 when writing to local disk cache, open files later in order to
2145 avoid "too many open files"
2146 + 3551898849a93306ad9b4dfdd7d4667913098efe:
2147 Propagate test envs to xml generation action
2148 + 9f8c678d7054548865f56f3464f778c751657074:
2149 Remote: Fix a bug that the XML generation is executed even if
2150 test.xml is generated when build with --remote_download_minimal.
2151 + af42653e6f6bd229142f4678bb256a8c397b4d8d:
2152 Automatic code cleanup.
2153 + 07a84ce31d9b09853c63c7e373418696dd285dc5:
2154 Remote: Another attempt to fix the CancellationException error
2155 in AsyncTaskCache caused by a race condition.
2156 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
2157 Remote: Display download progress when actions are downloading
2158 outputs from remote cache.
2159 + 18c82168433719b400a705a4a0222969a7a026ba:
2160 Remote: Do not upload empty output to remote cache.
2161 + 6a138a60e562beeef36003c4814a6b8ce9f253f6:
2162 Fix compiling errors
2163 + bcce6dd026e90336e80616a8c1004a79a2f8640c:
2164 Add the TEMP_FAILURE_RETRY macro to linux-sandbox-pid1.cc.
2165 + c8c0d94a49e1b865d95c6d245c2d152c7c7c9722:
2166 Export proguard specs from aar_import
2167 + 1a0285c3b64b121268ced3eb9ad9d5ba396b4905:
2168 Fix stripping of macOS loadable bundles
2169 + 0d3c231f5a08861d28e987703e9196890e6164bf:
2170 Roll forward config_setting visibility enforcement behind a flag.
2171 + bb7a01027242390da1c18fbf87c274cc34c11b79:
2172 Fix merge conflicts.
2173 + 8b8e77ea226aaa12e79580422bc5984e80ce048b:
2174 Remove redundant declaration.
2175 + 7c92cfcf9a88933c29334f6271ad3f086f7f36f4:
2176 Ignore empty virtual artifacts when spawn-logging inputs.
2177 + 4158b61211e099db780565d064a1c1a80c91bd2a:
2178 Use correct exit code on invalid aquery --output
2179 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
2180 Remote: Fix a race when reporting action progresses.
2181 + 0e652737988e3c115e98e1552f6fada52bc2b9a2:
2182 Change MIN_BUILD_TOOLS_REVISION to 30.0.0
2183 + 6f9909c04b1e00faa510b38ccabac78821046cf9:
2184 Update Android remote tools to ensure Bazel uses the latest
2185 Android tooling that has been updated to support AndroidX
2186 databinding generation.
2187 + 31d88c629dff2c5f8e8a4baf8c89fd3349c9783e:
Bazel Release System9ec8fb12021-08-13 14:57:53 +02002188 Automated rollback of commit
Bazel Release System497a8482021-08-18 08:44:59 -04002189 9a1d428e33bfae1ec5b68250d4732b72346b8b39.
2190 + 951a3023fbcdbe025e350590e6fa86097da3fe05:
2191 Increase allowed size of the install_base.
2192 + a7845f65befbeb65a28ec53e62458211a7bc3f8e:
2193 Increase allowed size for install base again.
2194 + affc27f9d18f9781437e91a3f36c73962a56f261:
2195 Bump version of java allocation instrumenter.
2196 + 7efabba19cf6400bf9e707f53b40a6dd7110fafb:
2197 Reference the correct version of the java allocation
2198 instrumenter.
2199 + afb819697a6c3daca71a0105d723f54d42fe129f:
2200 Support extracting aar files.
2201 + 861c3caa85e47da35a8a4f1512e57d43b9263c37:
2202 Revert "Remote: Fix a race when reporting action progresses."
2203 + 92ec798ddc1f38fb4868af08c1d818639283f501:
2204 Revert "Remote: Display download progress when actions are
2205 downloading outputs from remote cache."
2206 + ce091abb290d1d753f480cdee0e69748eb20db52:
2207 Revert "Fix compiling errors"
2208 + 1b19cd310418b850e8e0ca2086ffe50755c9ed7e:
2209 Revert "Remote: Fix a bug that the XML generation is executed
2210 even if test.xml is generated when build with
2211 --remote_download_minimal."
2212 + 988b56f5916e024d10695797a7f963b30fc998c7:
2213 Revert "Remote: Report checking cache status before the action
2214 is scheduled to run remotely."
2215 + 35c98d07b21785efae57a7c4230cc1e452f74fd2:
2216 Revert "Let workers finish lost races without delaying dynamic
2217 execution."
2218 + c4e22b9ace07f5d360c5327a38f9ae4ab24b7109:
2219 Migrate ExampleWorker to use WorkRequestHandler.
2220 + 230be161176bd6f1251077af7674f80d38ff1e25:
2221 Do not interleave readdir() calls with deletion of directory
2222 entries.
2223 + 3cc8ce6ba0934b1a4d9db184daf055c1207ef105:
2224 Propagate OOME if NewByteArray allocation failed
2225 + 19fc15ebbf6c63fcce90a038e91c5ec726852848:
2226 Create helper method for sandbox tests, transform existing tests
2227 into using it.
2228 + deb1006c0778692f7eaef4cbcf7eeb8112b55e91:
2229 Cleanup: Replace NULL with nullptr
2230 + f4b5e0233341977aaa76593ca032d9ac4eba7444:
2231 Let workers finish lost races without delaying dynamic execution.
2232 + 186decab01ee247c7453baf19dac778545ec4937:
2233 Interface and flag specification for worker cancellation.
2234 + 5894a8544d51c99f1356130b8b487bc93299fedd:
2235 Create BUILD file in worker tests directory instead of running
2236 tests from the parent directory.
2237 + e9e6978809b0214e336fee05047d5befe4f4e0c3:
2238 Server-side implementation of worker cancellation.
2239 + 5103662238f2df2038c7dff079e9c655e08ba654:
2240 Add builder for WorkRequestHandler.
2241 + 1a519bb66c3fa3e4ef3b9a9a556597920751fbcd:
2242 Makes singleplex requests be handled in separate threads in
2243 WorkRequestHandler.
2244 + 779d66019210f54e10a1343ee004df72a8dec812:
2245 Only allow worker async finishing when sandboxed.
2246 + a698bef6146a807fd82ee4402d89c23c83802e33:
2247 Support for cancellation in WorkRequestHandler.
2248 + 9dc95af4c7ef10979f21173260f5433006116096:
2249 Make workers restart on flags that affect their
2250 creation/behaviour.
2251 + 7e5cd529e9f8c9cb67900af36182f00ef7316654:
2252 Remote: Report checking cache status before the action is
2253 scheduled to run remotely.
2254 + 6e134a1b68418fba9992692901efa77a80c346f7:
2255 Remote: Fix a bug that the XML generation is executed even if
2256 test.xml is generated when build with --remote_download_minimal.
2257 + d4d071401acadb0d8977850a9439474e60fd7bb9:
2258 Fix compiling errors
2259 + 2579c9a18360955699d028426b45d381ff53783c:
2260 Eagerly initialize JNI copies of Java classes: doing lazy
2261 initialization on a per-method basis doesn't save anything and
2262 adds a tiny bit of overhead to every one of these calls.
2263 + 0f812eb5e561cc5415d0c9931675e58dc37a5850:
2264 Remote: Display download progress when actions are downloading
2265 outputs from remote cache.
2266 + 3835d9b21ad524d06873dfbf465ffd2dfb635ba8:
2267 Update the WorkRequestHandler to use callbacks of type:
2268 BiFunction<WorkRequest, PrintWriter, Integer>: - Mark
2269 constructors that use BiFunction<List<String>, PrintWriter,
2270 Integer> callback as deprecated. - Use a wrapper class for the
2271 BiFunction<WorkRequest, PrintWriter, Integer>. Suggesting this
2272 to avoid having two constructors that takes a BiFunction, as it
2273 creates a confusion between the deprecated and new constructor
2274 when given a lambda expressions.
2275 + 5e352afe2b35487ea2ced85ca79bd9f79858e648:
2276 Fix bug in WorkRequestHandler's handling of singleplex requests
2277 that would cause occasional hangs.
2278 + b51b31dbe75a5bc73227fccb4484f3454df81b42:
2279 Remote: Fix a race when reporting action progresses.
2280 + c9d823e42796962eed039b8122528c2a1541190f:
2281 Disable flaky test.
2282 + e6809c90ecc0ef5783faa39e63188fc33a79b80e:
2283 Revert "Check the result of Future.cancel() when cancelling the
2284 other branch of dynamic execution."
2285 + be4cbc7a67196414e3d3f323be8ab55fb5e530f7:
2286 Revert "Move use of legacy sandbox -> local fallback to only be
2287 used after all strategies have been tried, and improve messages
2288 around it."
2289 + b32349f50ff3d958613aef9275751ad9d50d344c:
2290 Set a fallback dynamic local strategy even when the
2291 dynamic_local_strategy flag is passed.
2292 + f395157c95692565bc220c7ccf788974fe0885fd:
2293 Allow running an extra spawn for local branch of dynamic
2294 execution.
2295 + 039461c76113ab3f165132dd26d0c58eb3e45cae:
2296 Adding debugging information for case when two branches
2297 apparently cancel each other.
2298 + b2231c56d78c6d37bcb6f11e1e50fe68ee336b4a:
2299 Move use of legacy sandbox -> local fallback to only be used
2300 after all strategies have been tried, and improve messages
2301 around it.
2302 + 5b95d9162b56b51c8e8f66258981ddf3c5d96765:
2303 Check the result of Future.cancel() when cancelling the other
2304 branch of dynamic execution.
2305 + 1962a59a5478f5ad374700b0abf0a718b1b3a7d3:
2306 Fix the case where if all strategies for one branch of `dynamic`
2307 execution fail to accept (that is, refuse to even take) the
2308 action given, the whole action fails. Instead of seeing whether
2309 the other branch can run and the action that that it succeeded.
2310 + b7c1ad2aff91105659299723a712b72eea943040:
2311 Fix rare crash in dynamic execution where both branches got
2312 cancelled.
2313 + 2c3cff5422b115d7bb86ed28a056f3d368ebceeb:
2314 Check if `treeDeleter` is actually async before casting it.
2315 Fixes #13240.
2316 + 1a89ce1757e75f8ba9bda76d7373a7e8527bcfc5:
2317 Make worker JSON protocol properly ignore unknown fields.
2318 + 7bbff61d9486eeb6b7cd0b6cfb619a9b6e08967b:
2319 Fix test_source_file_does_not_override_standard_library to work
2320 with Python 3.9.
2321 + f4e10367df2d881f05e3ddd5bd0531b390a845fe:
2322 Removing line ending matches in tests to be compatible on Windows
2323 + ba74df07ced96226d78851e11d1df03147f1cc1f:
2324 Refactors CompilationSupport for objc to use existing API
Bazel Release System16293d52021-07-29 13:40:11 +02002325```
2326
2327Important changes:
2328
Bazel Release System497a8482021-08-18 08:44:59 -04002329 - Multiplex persistent workers can now use the JSON protocol.
2330 - enforce config_setting visibility. See
2331 https://github.com/bazelbuild/bazel/issues/12932 for details.
2332 - The minimum Android build tools version for the Android rules is
2333 now 30.0.0
2334 - Updates worker protocol with cancellation fields, and adds
2335 experimental_worker_cancellation flag to control cancellation.
2336 - If all strategies of one branch (the local or remote execution
2337 branch) of the `dynamic` strategy fail to even accept (via the
2338 response they give from `canExec`) the action, `dynamic` will now
2339 try to see if the other branch can accept it. (Trying to run it
2340 and it failing will still cause a failure if it was the first
2341 result, this is about strategies claiming they can't even try the
2342 action)
Bazel Release System16293d52021-07-29 13:40:11 +02002343
Bazel Release System497a8482021-08-18 08:44:59 -04002344This release contains contributions from many people at Google, as well as Alex Eagle, Austin Schuh, Benjamin Peterson, bromano, Christopher Peterson Sauer, Christopher Sauer, Cristian Hancila, Daniel Wagner-Hall, Denys Kurylenko, Ed Schouten, Finn Ball, George Gensure, Greg Estren, Johannes Abt, Keith Smiley, Kevin Hogeland, Lauri Peltonen, Philipp Schrader, Ryan Beasley, Thi Doan, ThomasCJY, Timothy Klim, Trustin Lee, Ulf Adams, Vaidas Pilkauskas, Vertexwahn, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yuval Kaplan, Yuval.
Bazel Release System6810a322021-07-27 17:54:50 +02002345
Bazel Release Systemf3be7b12021-07-16 14:23:53 +02002346## Release 5.0.0-pre.20210708.4 (2021-07-16)
2347
2348```
2349Baseline: ca1d20fdfa95dad533c64aba08ba9d7d98be41b7
2350
2351Cherry picks:
2352
2353 + 802901e697015ee6a56ac36cd0000c1079207d12:
2354 Add flags parameter to attr.label for use in builtins only.
2355 + aa768ada9ef6bcd8de878a5ca2dbd9932f0868fc:
2356 Automated rollback of commit
2357 ca1d20fdfa95dad533c64aba08ba9d7d98be41b7.
2358 + 4bcf2e83c5cb4f459aae815b38f1edd823286a29:
2359 Automated rollback of commit
2360 ff38dbfc65b8ffe92833e67f12ce616739a3d213.
2361 + 706483fd6398f00fd4faba73812de9bf15728086:
2362 Resolve merge conflict
2363 + 3821db8725b9ea3267cddfd0bbad55f50e96527e:
2364 Fix merge conflict properly
2365```
2366
2367Important changes:
2368
2369 - The used_heap_size_post_build field in BEP is populated when the
2370 --memory_profile flag is set
2371
2372This release contains contributions from many people at Google, as well as Daniel Wagner-Hall, Grzegorz Lukasik, Keith Smiley, Kevin Hogeland, Yannic Bonenberger.
2373
Bazel Release System1f1aec12021-07-02 16:12:06 +02002374## Release 5.0.0-pre.20210623.2 (2021-07-02)
2375
2376```
2377Baseline: 8b453331163378071f1cfe0ae7c74d551c21b834
2378
2379Cherry picks:
2380
2381 + 223113c9202e8f338b183d1736d97327d28241ea:
2382 Automated rollback of commit
2383 ae2a6a2dc909e468a284913c410fde995cf51095.
2384```
2385
2386Important changes:
2387
2388 - Adds --experimental_reuse_sandbox_directories flag to reuse
2389 already-created non-worker sandboxes with cleanup.
2390 - --experimental_force_gc_after_build is deprecated and will be
2391 removed soon. Use --bep_publish_used_heap_size_post_build instead
2392 - Forward coverage-instrumented files from non-tool dependencies by
2393 default.
2394
2395This release contains contributions from many people at Google, as well as David Ostrovsky, Johannes Abt, Masoud Koleini, Pras Velagapudi.
2396
Bazel Release System30f0ca72021-06-25 19:40:13 +02002397## Release 5.0.0-pre.20210615.3 (2021-06-25)
2398
2399```
2400Baseline: e7bd0947ab552a26ec032d0f1a50ee15c8810f6c
2401
2402Cherry picks:
2403
2404 + 04bed291c9f56163ae4da3a358d71cf8399b47a4:
2405 Disable shadowed_action part of action_aspect_test
2406 + 367b19eb8821b4de738c6c994ba275c695f4726b:
2407 Fix starlark action with shadowed_action inputs cache test
2408 + 4acb9ae67a7135b2365b92e91601d4797adc2ad5:
2409 Automated rollback of commit
2410 03f6af623ae3de4a9b756b5235ebd31cc2faf762.
2411```
2412
2413Incompatible changes:
2414
2415 - Native libraries in data attribute are not collected. See
2416 https://github.com/bazelbuild/bazel/issues/13550 for details
2417
2418Important changes:
2419
2420 - Remove obsolete --incompatible_prohibit_aapt1
2421 - The minimum Android build tools version for the Android rules is
2422 now 30.0.0
2423
2424This release contains contributions from many people at Google, as well as Cameron Mulhern, Delwin9999, Keith Smiley.
2425
Bazel Release System7ad949b2021-06-11 15:03:28 +02002426## Release 5.0.0-pre.20210604.6 (2021-06-11)
2427
2428```
2429Baseline: d571c8976f279e4d485498d0875c85ae73aecc42
2430
2431Cherry picks:
2432
2433 + c367a7e027f351e8ffefabf919563abbb8c7d0e1:
2434 Fix places where nodes were still being enqueued at
2435 `Integer.MAX_VALUE` and add checks for overflow conditions.
2436 + 260015df1524543d56b0dbff00958320cd58d166:
2437 Automated rollback of commit
2438 f1b37b5d610728634d92ef4ebd4d1435c0c8605d.
2439```
2440
2441Important changes:
2442
2443 - Add `disable_annotation_processing` option to
2444 `java_common.compile`, which disables any annotation processors
2445 passed to `plugins` or in `exported_plugins` of `deps`
2446
2447This release contains contributions from many people at Google, as well as Dave MacLachlan, FaBrand, George Gensure, Jesse Chan, Keith Smiley, Kevin Hogeland, Uri Baghin, Xavier Bonaventura.
2448
Bazel Release Systemf24ceb62021-06-09 20:59:14 +02002449## Release 5.0.0-pre.20210520.7 (2021-06-09)
2450
2451```
2452Baseline: e2ae73fe16cbedf095b9e6d5687b06ecf765d794
2453
2454Cherry picks:
2455
2456 + 0fdb485421f9d134f11103a36c48182769fb40d3:
2457 Automated rollback of commit
2458 f2230d8494e70f02b1e4fb082fcf8550aa684a40.
2459 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
2460 Support rolling releases in Bazel release scripts.
2461 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
2462 Fix syntax error in Bazel release scripts
2463 + 4ef9c566c861848fef7907cf07a6e7d9d15cee7a:
2464 Fix location of -prerelease option
2465 + a6dfd927c58c63275159858ac661a9b669594a0c:
2466 Add --experimental_shadowed_action to graveyard options for all
2467 commands.
2468```
2469
2470Important changes:
2471
2472 - If all strategies of one branch (the local or remote execution
2473 branch) of the `dynamic` strategy fail to even accept (via the
2474 response they give from `canExec`) the action, `dynamic` will now
2475 try to see if the other branch can accept it. (Trying to run it
2476 and it failing will still cause a failure if it was the first
2477 result, this is about strategies claiming they can't even try the
2478 action)
2479
2480This release contains contributions from many people at Google, as well as Benedek Thaler.
2481
Bazel Release System6af9fa62021-06-09 19:45:15 +02002482## Release 5.0.0-pre.20210516.1 (2021-06-09)
2483
2484```
2485Baseline: 275c54c982468b97611dc764c68daed8d7c45004
2486
2487Cherry picks:
2488
2489 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
2490 Support rolling releases in Bazel release scripts.
2491 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
2492 Fix syntax error in Bazel release scripts
2493 + 4ef9c566c861848fef7907cf07a6e7d9d15cee7a:
2494 Fix location of -prerelease option
2495```
2496
2497This release contains contributions from many people at Google, as well as Keith Smiley, Niek Peeters.
2498
Bazel Release System57d167b2021-06-01 12:52:54 +02002499## Release 5.0.0-pre.20210510.2.2 (2021-06-01)
2500
2501```
2502Baseline: 8a42645ec500874b0440475763ab680d5efc1e6a
2503
2504Cherry picks:
2505
2506 + e3c78c4eeaf4e8db3c22aa71c6c1578cb48c8dcc:
2507 Ensure that test status artifacts are reported as top-level
2508 artifacts.
2509 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
2510 Support rolling releases in Bazel release scripts.
2511 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
2512 Fix syntax error in Bazel release scripts
2513 + 4ef9c566c861848fef7907cf07a6e7d9d15cee7a:
2514 Fix location of -prerelease option
2515```
2516
2517This release contains contributions from many people at Google, as well as .
2518
Bazel Release Systemf7049e52021-05-31 22:10:26 +02002519## Release 5.0.0-pre.20210510.2.1 (2021-05-31)
2520
2521```
2522Baseline: 8a42645ec500874b0440475763ab680d5efc1e6a
2523
2524Cherry picks:
2525
2526 + e3c78c4eeaf4e8db3c22aa71c6c1578cb48c8dcc:
2527 Ensure that test status artifacts are reported as top-level
2528 artifacts.
2529 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
2530 Support rolling releases in Bazel release scripts.
2531 + 2f72244183c8c3de722ff1d9e8b0b745d12cd528:
2532 Fix syntax error in Bazel release scripts
2533```
2534
2535This release contains contributions from many people at Google, as well as .
2536
Bazel Release Systeme7d34802021-05-31 20:35:38 +02002537## Release 5.0.0-pre.20210510.2 (2021-05-31)
2538
2539```
2540Baseline: 8a42645ec500874b0440475763ab680d5efc1e6a
2541
2542Cherry picks:
2543
2544 + e3c78c4eeaf4e8db3c22aa71c6c1578cb48c8dcc:
2545 Ensure that test status artifacts are reported as top-level
2546 artifacts.
2547 + 1f52e9a58dd814f203797c5fbab44d9f4d53a43c:
2548 Support rolling releases in Bazel release scripts.
2549```
2550
2551Incompatible changes:
2552
2553 - Removing java_common.javac_jar Starlark call.
2554 - native.existing_rule now returns select values in a form that is
2555 accepted by rule instantiation. This is a breaking API change
2556 because there is some code that relies on the precise type
2557 returned, including brittle workarounds for this bug specifically
2558 and insufficiently flexible workarounds for other issues with the
2559 intersection of select and native.existing_rule.
2560 - flipped incompatible_use_toolchain_resolution_for_java_rules, see
2561 #7849
2562 - Query output=xml/proto/location for source files will now show
2563 the location of line 1 of the source file (as the new default)
2564 instead of its location in the BUILD file.
2565 - Specifying a target pattern underneath a directory specified by
2566 .bazelignore will now emit a warning, not an error.
2567 - Query `--order_output=auto` will now sort lexicographically.
2568 However, when `somepath` is used as a top level function (e.g.
2569 `query 'somepath(a, b)'`), it will continue to output in
2570 dependency order. If you do not want the lexicographical output
2571 ordering, specify another `--order_output` value (`no`, `deps` or
2572 `full`) based on what ordering you require.
2573 - In the build event stream,
2574 BuildMetrics.TargetMetrics.targets_loaded is no longer populated.
2575 Its value was always mostly meaningless.
2576 BuildMetrics.TargetMetrics.targets_configured and
2577 BuildMetrics.ActionSummary.actions_created now include configured
2578 aspect data.
2579 - //visibility:legacy_public has been removed.
2580 - Flip and remove incompatible_dont_collect_so_artifacts
2581 (https://github.com/bazelbuild/bazel/issues/13043).
2582 - Remove flag --experimental_no_product_name_out_symlink: it is
2583 always true.
2584 - The Starlark method generate_dsym in objc fragment has
2585 been deleted. Please use the equivalent apple_generate_dsym in
2586 cpp
2587 fragment instead.
2588
2589Important changes:
2590
2591 - Flag --incompatible_objc_compile_info_migration is removed. See
2592 #10854.
2593 - Flag --incompatible_objc_compile_info_migration is removed. See
2594 #10854.
2595 - Flag --incompatible_objc_compile_info_migration is removed. See
2596 #10854.
2597 - none
2598 PAIR=cmita
2599 - The --incompatible_load_python_rules_from_bzl flag is now a no-op.
2600 - Filter all (instead of just C++) source files for coverage output
2601 according to --instrumentation_filter and
2602 --instrument_test_targets.
2603 - The `--incompatible_disable_native_apple_binary_rule` flag has
2604 been added which disables the native `apple_binary` rule. Users
2605 who need to use `apple_binary` directly (if they cannot use one
2606 of the more specific Apple rules) should load it from
2607 https://github.com/bazelbuild/rules_apple.
2608 - The Android rules' --use_singlejar_apkbuilder is now a no-op.
2609 SingleJar will always be used to build APKs.
2610 - dict.setdefault(key, ...) now fails if dict is frozen, even if it
2611 already contains key. This is an incompatible API change.
2612 - Flag --incompatible_objc_provider_remove_compile_info is removed.
2613 See #11359.
2614 - Starlark now permits def statements to be nested (closures).
2615 - native.existing_rule now returns select values in a form that is
2616 accepted by rule instantiation. This is a breaking API change,
2617 though the fallout is expected to be small.
2618 - Starlark now supports lambda (anonymous function) expressions.
2619 - The "test" and "coverage" commands no longer return 3 when a
2620 test action fails because of a system error. Instead, the exit
2621 code
2622 reflects the type of system error.
2623 - The undocumented ctx.expand feature no longer exists.
2624 - Make --legacy_dynamic_scheduler a no-op flag.
2625 - Multiplex persistent workers can now use the JSON protocol.
2626 - native.existing_rule now returns a mutable list, not a tuple, for
2627 a list-valued attributes. This is an incompatible API change.
2628 - Roll back change to have native.existing_rules use list instead
2629 of tuple.
2630 - BEP includes test suite expansions.
2631 - config_setting now honors `visibility` attribute (and defaults to
2632 `//visibility:public`)
2633 - Change the MultiArchSplitTransitionProvider to be based on
2634 platform type + CPU instead of fixed "ios_" + cpu.
2635 - enforce config_setting visibility. See
2636 https://github.com/bazelbuild/bazel/issues/12932 for details.
2637 - add a flag to build v4 signature file
2638 - Added _direct_source_jars output group to Java related targets.
2639 END_PUBLIC
2640 - pkg_deb is no longer part of @bazel_tools//build_defs/pkg:pkg.bzl.
2641 Use https://github.com/bazelbuild/rules_pkg/tree/main/pkg instead
2642 - Allowing the lipo operations to be conditional in the
2643 linkMultiArchBinary API for Apple binaries. Single architecture
2644 slices are now returned through AppleBinaryOutput and the
2645 Starlark API.
2646 - Release restriction for "-" in the package name for Python
2647 sources. Now `py_binary` and `py_test` targets can have main
2648 source file with "-" in the path.
2649 - Users consuming BEP may assume that a `named_set_of_files` event
2650 will
2651 appear before any event referencing that `named_set` by ID. This
2652 allows consumers
2653 to process the files for such events (eg. `TargetCompleted`)
2654 immediately.
2655 - BEP includes all files from successful actions in requested
2656 output groups.
2657 Previously, an output group's files were excluded if any file in
2658 the output group
2659 was not produced due to a failing action. Users can expect BEP
2660 output to be larger
2661 for failed builds.
2662 - In BEP, TargetComplete.output_group has a new field `incomplete`
2663 indicating that the file_sets field is missing one or more
2664 declared artifacts
2665 whose generating actions failed.
2666 - The flag `--toolchain_resolution_debug` now takes a regex
2667 argument, which is used to check which toolchain types should
2668 have debug info printed. You may use `.*` as an argument to keep
2669 the current behavior of debugging every toolchain type.
2670 - Add runfiles.merge_all() for merging a sequence of runfiles
2671 objects.
2672 - runfiles.merge() and merge_all() now respect
2673 --nested_set_depth_limit.
2674 If you hit the depth limit because you were calling merge() in a
2675 loop, use
2676 merge_all() on a sequence of runfiles objects instead.
2677 - Bazel will no longer create a bazel-out symlink if
2678 --symlink_prefix is specified: the directory pointed to via the
2679 bazel-out symlink is accessible via ${symlink_prefix}-out. If
2680 this causes problems for you, set
2681 --experimental_no_product_name_out_symlink=false in your builds
2682 and file an issue.
2683 - Updates worker protocol with cancellation fields, and adds
2684 experimental_worker_cancellation flag to control cancellation.
2685 - Simplify build failure output by always using `NNN arguments`.
2686 - trim_test_configuration now defaults to on
2687 - Mark genrule.srcs as a source attribute for coverage.
2688 - When using --allow_analysis_failures (for example, via
2689 bazel-skylib's
2690 analysistest with `expect_failure = True`), analysis-time
2691 failures in aspect
2692 implementation functions will now be propagated and saved in
2693 AnalysisFailureInfo, just like analysis-time failures in rules.
2694 - cquery --noimplicit_deps now correctly filters out resolved
2695 cc_toolchains
2696 - Sign apks deterministically.
2697 - Make gcov optional in cc_toolchain tools.
2698 - If --experimental_prefer_mutual_xcode is passed, Bazel will
2699 choose the local default (instead of the newest mutually
2700 available version) if it's available both locally and remotely.
2701 - Remove java_lite_proto_library.strict_deps attribute.
2702 - Generate proguard configurations deterministically.
2703 - Adds a new flag, `--incompatible_enable_cc_test_feature` which
2704 switches from the use of build variables to the feature of the
2705 same name.
2706 - Dropped fragile xz support from built in pkg_tar. Users requiring
2707 xz
2708 compression should switch to bazlebuild/rules_pkg.
2709
2710This release contains contributions from many people at Google, as well as Adam Liddell, Alex Eagle, Anthony Pratti, Austin Schuh, Benedek Thaler, Benjamin Lee, Benjamin Peterson, bromano, Christopher Sauer, Cristian Hancila, Daniel McCarney, Daniel Wagner-Hall, Danny Wolf, Dave Nicponski, David Cummings, David, David Ostrovsky, Denys Kurylenko, Dmitry Ivankov, dorranh, Ed Schouten, Elliotte Rusty Harold, erenon, Eric Cousineau, Ethan Steinberg, Felix Ehrenpfort, Finn Ball, Fredrik Medley, Garrett Holmstrom, Gautam Korlam, George Gensure, goodspark, Greg Estren, Grzegorz Lukasik, John Laxson, Jonathan Schear, Justus Tumacder, Keith Smiley, Lauri Peltonen, Liu Liu, Lszl Csomor, m, Marc Zych, Mark Karpov, Matt Mackay, Max Liu, Menny Even Danan, menny, Michael Chinen, Nathaniel Brough, Nick Korostelev, Nikolay Shelukhin, odisseus, Oleh Stolyar, Olek Wojnar, Olle Lundberg, Philipp Schrader, Qais Patankar, Ryan Beasley, samhowes, Samuel Giddins, Sebastian Olsson, Steve Siano, steve-the-bayesian, Stiopa Koltsov, susinmotion, tatiana, Thi Doan, ThomasCJY, Timothy Klim, Tobi, Torgil Svensson, Trustin Lee, Ulf Adams, Vaidas Pilkauskas, Vertexwahn, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yannic, Yury Evtikhov, Yuval Kaplan, Yuval, [zqzzq].
2711
Bazel Release System2ac65812021-05-21 13:07:43 +02002712## Release 4.1.0 (2021-05-21)
2713
2714```
2715Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
2716
2717Cherry picks:
2718
2719 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
2720 Use getRunfilesPath for run_under executable path generation.
2721 getRootRelativePath doesn't return a valid runfiles path for
2722 external source files anymore after the recent external source
2723 root change. Also, it won't work for external labels either once
2724 the --nolegacy_external_runfiles becomes default. This fixes
2725 issue #12545.
2726 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
2727 Fix NPE when coveragerunner is not set on the toolchain.
2728 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
2729 Fix the classic query package-loading cutoff optimization with
2730 external workspaces.
2731 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
2732 Update turbine
2733 + bef4bbbb47d47befe3711d06f358782ee12554f9:
2734 Update turbine
2735 + d113d7454127bba78aa618dac81e5d164920b662:
2736 Update turbine
2737 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
2738 Support Scala3 .tasty files
2739 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
2740 Update to java_tools javac11 release 10.5 (#12647)
2741 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
2742 Fix common prefix for instrumentation filter
2743 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
2744 Fix builds for filegroup targets with incompatible dependencies
2745 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
2746 Revert "Remove
2747 --incompatible_blacklisted_protos_requires_proto_info"
2748 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
2749 Transform roots along with paths during output deletion.
2750 + e8835c1c221d76a2d5532d18083eaa04401619b3:
2751 AttributeContainer.Large now handles more than 127 attributes.
2752 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
2753 Add an env attribute to all test and binary rule classes
2754 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
2755 Take no action to prefetch empty artifacts.
2756 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
2757 Fix a couple of bugs with Incompatible Target Skipping
2758 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
2759 Pass --host_action_env to host options hostActionEnvironment
2760 attribute
2761 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
2762 Add --{no,}autodetect_server_javabase.
2763 + c83366064621d5a265eba14d93a03deff58fe6d8:
2764 Only treat "env" and "env_inherit" attrs specially for native
2765 rules
2766 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
2767 Fix coverage support when using default_java_toolchain. (#12801)
2768 + 4158a6f512e52516437e00f8d9609a91be7fc195:
2769 Revert JacocoCoverage target to remote_java_tools_java_import
2770 and add a new target for remore_java_tools_filegroup. (#12813)
2771 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
2772 Add windows_msvc back to conditions in bazel_tools.
2773 + 6b33bdb1e22514304c0e35ce8e067f2175685245:
2774 Release 4.0.0 (2021-01-21)
2775 + 8811e27353c2c10980faf7e4c5e44b431d2d4f1c:
2776 Fix error message from getPrerequisites to not print internal
2777 details.
2778 + 27e15ad11410eb1014f5247fd0eeb31a46733c07:
2779 Clean up ConfiguredTargetValueAccessor and
2780 ConfiguredTargetAccessor
2781 + e87feb8ac9573cef993824f82370d0389570521d:
2782 Move getConfigConditions into ConfiguredTarget.
2783 + 34d98234324da83e93ba0d5ef5702880d5ac7c5c:
2784 Change ConfiguredTargetQuery to use KeyedConfiguredTarget as a
2785 value.
2786 + 079bb7d69931705bb2b092c9017090e224ef3043:
2787 Clean up old dependencies that are unused since
2788 https://github.com/bazelbuild/bazel/commit/34d98234324da83e93ba0d
2789 5ef5702880d5ac7c5c.
2790 + e03cb63e059420847d6578d7cbfe93f05615c95e:
2791 Update bazelbuild/platforms to a current release. - Roll forward
2792 https://github.com/bazelbuild/bazel/commit/0a4533420a3de467fd211d
2793 7f925cf88e0cd5b76a with kythe fix.
2794 + 2eb1bf53d5fef13b89ee440af4f83003d1d0b50a:
2795 Update docs and tests to use the @platforms//:incompatible
2796 constraint
2797 + c71697cf33b0fbbb42fc2910bac83960edc7e855:
2798 Clarify test_suite behaviour in the Platforms docs
2799 + dfb70ea4cae2ffffb76e9741d86c96505a6d05ad:
2800 Enable toolchain resolution for filegroup targets.
2801 + 24d086446f74606819dc53c3a436caa056ff05b7:
2802 PlatformProviderUtils should ignore targets that don't have the
2803 needed
2804 + ba60c0b3f9bbd00975c984244839b155e84b4c5d:
2805 ijar: fix manifest sections handling
2806 + 58bb42ad7ca263a75c6eeef51482f805726663a5:
2807 Revert "Switch to -fdebug-compilation-dir"
2808 + 57672aca01b3be895382c952b550c9f8edf6c9f2:
2809 Update turbine
2810 + bef4bbbb47d47befe3711d06f358782ee12554f9:
2811 Update turbine
2812 + d113d7454127bba78aa618dac81e5d164920b662:
2813 Update turbine
2814 + ad241fbebd90a9f0ad65ccd0658838f57030db68:
2815 Allow cquery to filter out incompatible targets
2816 + 1782f0ae751569607ef88930c822ac460a1f8bb3:
2817 Patch grpc to fix cares selecting the wrong source when building
2818 for darwin_arm64 cpu.
2819 + 8f7bc2f67fafcaa8d25cfc77eaaedbf8eed2984a:
2820 [1/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
2821 blobs
2822 + 848a51747a460ab4c5185e4c61ab522a9981cbea:
2823 [2/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
2824 blobs
2825 + 9b30172547f2093acb56aedf159a77d5dceffda2:
2826 [3/3] Bump grpc to 1.33.1 to fix corruption when downloading CAS
2827 blobs
2828 + 1e258d2a7a5221613047e5cee0aaec5b56045d2b:
2829 Allow exec groups to inherit from the rule or other exec groups.
2830 + d0676693310215407224c1b8e8aea9e3eddc183d:
2831 Support execution constraints per exec group
2832 + f1e0d346c8235c855e61afc2adb870e4b895e002:
2833 Clean up RuleContext to use a Table instead of a Map of Maps.
2834 + 8186fbb47ab964a9affa9a0fc6315fcdbde2b5aa:
2835 Documentation for #13110
2836 + 321fe3b6b4e892821ee7dbf2d17dd8ae6a541913:
2837 Prevent --repo_env from triggering unnecessary fetches
2838 + 3ebf658cba43bbab1efc36518f0795a7d65e2d46:
2839 Prevent a crash when using --repo_env=VAR without a value
2840 + 913a985a5c2fc3842b12c6e5f29af0fa1bccfd6a:
2841 Report digest of failed uploads
2842 + 5122617b8a22fee7acd86c9c48f2c2737709ca3f:
2843 Status error presentation with details
2844 + 9a70805db543e2fb910e1c55ef3b3567362adf30:
2845 Fix double shutdown of BuildEventArtifactUploader when BES+File
2846 output enabled.
2847 + 325eb956c92530bdfda54a36a186cae4245a4f7b:
2848 Add rxjava3 to third_party
2849 + ceaac966a7b977461b69ce9501df6a467f4a93b2:
2850 remote: set executable bit of an input file based on its real
2851 value
2852 + 5b786da75837c5e29714e1d708c3cdf9a67ed32d:
2853 Remote: correctly implement equals and hashCode.
2854 + 48648503729d53fdee1322fde2c8e6c05e99cff9:
2855 Fixed an error that bazel binary is not executable when testing
2856 with remote execution.
2857 + bc54c648aa1f99509c7c36d5e6b570d066689209:
2858 Remote: Use parameters instead of thread-local storage to
2859 provide tracing metadata.
2860 + 92955e617b5c41713a5163dc0437c2a024b31815:
2861 Remote: Use parameters instead of thread-local storage to
2862 provide tracing metadata. (Part 2)
2863 + 75bd1ff8ab56d241916bde36291301fa026b2bab:
2864 Remote: Use parameters instead of thread-local storage to
2865 provide tracing metadata. (Part 3)
2866 + 37ee252f3744abc4511f55b5089cc52abd3ba09d:
2867 Remote: Use parameters instead of thread-local storage to
2868 provide tracing metadata. (Part 4)
2869 + 71e35b165f924e2649a078fcf6007645d58039af:
2870 Remote: Use parameters instead of thread-local storage to
2871 provide tracing metadata. (Part 5)
2872 + 32fc451600b6e94a015263eb1c8a63e974f6f4cc:
2873 Write/QueryWriteStatus logging refinement/addition
2874 + 97963c5bb24ac79eb3646dd61bfcf2f8a648af54:
2875 Remote: gRPC load balancing. (Part 1)
2876 + e2b9a42a61596b0d24f0cadd6b7157b7f1efb221:
2877 Remote: gRPC load balancing. (Part 2)
2878 + 6667ad7dd77f8d97952133052c17e7779c1430ec:
2879 Remote: gRPC load balancing. (Part 3)
2880 + 7c081eb020186bfb16d4ef1c3832a8e946e99da1:
2881 Remote: gRPC load balancing. (Part 4)
2882 + 17afbe4e224b359fee6415a5bd71bbedaa7843eb:
2883 Implement getMessage for BulkTransferException
2884 + a6293b3df521aea9075b2ebbcdb675a7d02d3c32:
2885 Remote: gRPC load balancing. (Part 5)
2886 + 7a62c2d4e27e398f440910c81eacc384f38ca8be:
2887 Remote: Add interoperability between Rx and ListenableFuture.
2888 + 1fcb18a0b455bfcb8e9940778f37d8c82c5ed5a0:
2889 Update to latest remote-execution proto
2890 + dad96301d12aa77eb67399e08265a5f30f5ffd6a:
2891 Set Platform on Action not just Command
2892 + 6c5a3ee0dcbb4b804f4aa85c038a378fb70eb1f9:
2893 Remote: Add AsyncTaskCache which is used to deduplicate task
2894 executions and cache the results.
2895 + 9d0c7325ac810febe565a62fdd875ae0c240b274:
2896 Remote: Use AsyncTaskCache inside RemoteActionInputFetcher.
2897 + f54fe07209acc25340df8d2e02993b1add2deafa:
2898 Add --experimental_repository_disable_download to allow users
2899 disable download for external repos
2900 + b243584a479eb4481a9bf4f69acc899610a3b630:
2901 Report errors parsing rewriter config file
2902 + 63bc1c7d0853dc187e4b96a490d733fb29f79664:
2903 Downloader rewriter config has all_blocked_message
2904 + 495ac923f398443be45c20ab29d183fe47e08911:
2905 Allow UrlRewriter to change protocol, i.e. https->http, and
2906 http->https
2907 + 8dbbde0037264c1db4b229a09f98a61ab4ca06b0:
2908 Allow overriding the hostname and instance name in bytestream://
2909 URIs
2910 + 0881c80d29acecdfbb58c49156f805e8c50db117:
2911 Don't set requestId on non-multiplex requests.
2912 + e3b7e17b05f13ff183a4d7efec8ec797f3f5eaa3:
2913 When generating a symlink in _virtual_includes, add the original
2914 header to the 'allowed to use' set too
2915 + f8f66f36ad299a0ea019c94100d5a8e2018f5ab5:
2916 Make SimpleLogHandler not swallow interrupts.
2917 + f8606e5e76579442a1c6563e718ea54c673f1a04:
2918 linux-sandbox: don't assume -lrt, -D__STDC_FORMAT_MACROS
2919 + dac0d40d0eb903f5cb70341398d1a333c19adf3a:
2920 Improve "Common Attributes" section
2921 + a607d9dc70ac67f1aa2c32ca954177f9c77860be:
2922 Never create more than one process per WorkerMultiplexer.
2923 + 80c03ef14a1842d1e3475b1adf98adeb05df33f9:
2924 Move sending requests and reading responses for multiplex
2925 workers into separate subthreads.
2926 + 003cfcde3fd3901c1279ba1db3db3a14536248b4:
2927 Allow use of JSON protocol in multiplex workers.
2928 + 308bce36cba46095fe41866e703710035ddddada:
2929 Actively kill off still-active workers when stopping work on
2930 interrupt.
2931 + 8959dff512fe4505af786bcf2ef981ec7082a913:
2932 Add sanitizer support to Apple platforms
2933 + 32f16e9360f3e1856db1775eb5014b930da2a303:
2934 Fix a Google-internal broken link.
2935 + c9e2be52a067dd9abf5efa4f5f55bb5b98cf5d3b:
2936 Add SHA-1 to subresource integrity format for download()
2937 checksums
2938 + 3b3e6424c6fbd51d4c4ebb6aa25f1d1f4720221c:
2939 Remove fallback strategy support for workers, add flag for it in
2940 sandbox.
2941 + 3457f2ae11e4543de0a5e6e8e37c3aff067891fd:
2942 Update to java_tools javac11 10.6 (#13245)
2943 + 4928295b236ec8f590a7e9d863502bc2f50a77d9:
2944 Allow .S files in C++ Starlark cc_common.compile.
2945 + 1b18d65227c127fe946d3fcde4586158bc7e5fcb:
2946 Automatic code cleanup.
2947 + b5d6c38535c7f6f1eab3fd4c8d3d2da91d0b0f8a:
2948 Change short output of worker type to have the same logic as the
2949 worker creation for sandboxing vs. multiplex.
2950 + e7a0a71f50b69df5d38a8a85fefd36d211e12e8d:
2951 More properly destroy workers on interrupt.
2952 + 7056711eb11b672133274eb29fc93b01dcf088d5:
2953 Make WorkRequestHandler do a GC after some amount of CPU time
2954 has been used on requests. For Bazel and Blaze, defaults to 10s
2955 based on benchmarking.
2956 + 596653d3cf76e7b208da343e1fde5fe20273a5ff:
2957 Allow tree artifacts to be source or header inputs to
2958 cc_common.compile()
2959 + 055c93d11ab20cc4479539b24bbdfa5cab78a342:
2960 Switch to path autocompletion after -- for bazel run commands.
2961 + 807f2a1929e23b60b237c63fadb25af81de2e3c3:
2962 Fix Incompatible Target Skipping for test args
2963 + 9a5cd854e0613f91d52075973e2454b1e009e1ef:
2964 Fix order of build request id and command id
2965 + 706f5acd02363e48076dc97e37613fd968932d03:
2966 Fix bazel crash when passing config_setting to
2967 target_compatible_with
2968 + 61da1d2bf10eabba4c75de959b0374f302d89d70:
2969 Support multiple --bazelrc on command line
2970 + 5593358a58b66f06c4e421bb48856de94c3fd625:
2971 Update ConfiguredTargetFunction.computeUnloadedToolchainContexts
2972 to
2973 + 662cf54de7a103db30e04ebae2d2b919437c4846:
2974 Remote: Fix an issue that a failed action could lead to
2975 RuntimeException caused by InterruptedException thrown when
2976 acquiring gRPC connections.
2977 https://github.com/bazelbuild/bazel/issues/13239
2978 + a3a1763212f29932618b9b9b2f929976ae0e3b6e:
2979 Pass more `--add-exports=` flags
2980 + d2b942879471786e82f1c96eea8722bbe7919fc1:
2981 Remote: Fixed a bug that remote cache is missed due to
2982 executable bit is changed
2983 + 616dc264f02907d7b7887285d22307dfe6d097b6:
2984 Fix Bazel Coverage with C++ to work with Remote Execution
2985 + 5f40d12e741aa30d506eaa15673fb2ae76d29468:
2986 Fix external_path_test with newer Xcode versions.
2987 + b416193075642017e13c774422b49cb07fb65c23:
2988 Allow using embedded tools in sandboxed spawn runners.
2989 + eb762d4e7431637e607146b1c191485795047ef9:
2990 Fix racy write of temporary files while staging virtual inputs
2991 for the sandbox.
2992 + f31e86768579ad7ec57ba13f4c3c1348f5c2702e:
2993 Update platforms_test to not rely on filegroup not using
2994 toolchain
2995 + 13031e5b3bd7c8f29b96b2fee1b380160e0e27fc:
2996 Update SkyframeTests to not rely on filegroup not using toolchain
2997 + 11651824a9d0ffb9adb9611dcd39f4c95a59d750:
2998 Update ConfigurableAttributesTest to not rely on filegroup not
2999 using …
3000 + 4b68532e7ea5eb80c926b7b8e2ec2be300004628:
3001 Make WorkerExecRoot not be a subclass of SandboxedSpawn.
3002 + 31db460a45767de0bcd664a6efbe9d163b85b802:
3003 Make WorkerExecRoot not be re-created on each createFileSystem()
3004 call. Preparation for holding a map of existing links, but also
3005 just nicer.
3006 + a2cc0460dc84ad2dc88019af2fe2a65ce80c61e5:
3007 Start the file existence check traversal from the execroot base
3008 instead of execroot so that external repo files at
3009 "<execroot>/../<path>" are correctly handled when the sibling
3010 repository layout is enabled.
3011 + b048282c7893231d3a7191b251804973917b07a4:
3012 Use readdir for cleanExisting in WorkerExecRoot.
3013 + 270f00dd01fa06cf3e813da5a406be3446de7377:
3014 Add native support for Apple Silicon
3015 + 8e56b9423e8ad2f7323fb90b19b73858def81e39:
3016 Explicitly state that embedding macOS OpenJDK is for x86_64
3017 + 09c621e4cf5b968f4c6cdf905ab142d5961f9ddc:
3018 Remote: Fix a race that AsyncTaskCache#Execution could be reused
3019 after disposed which results in
3020 CancellationException("disposed") propagated to downstream.
3021 + 0299cd7e17203a4ce0ea947b62a7c55f1afb8225:
3022 Remove wrapped_clang params files after use
3023 + 47edc57806056f3c8764241ed41b8acc72bd2ebf:
3024 Silence swiftmodule timestamp warnings
3025 + f6e1074b09ebefba185c0531e9cea26b9596c8a9:
3026 Remote: Use shutdownNow() instead of shutdown() in
3027 ChannelConnection#close() as a workaround to a gRPC bug.
3028 + 71be4ea9e3d20bf90129e34a6a2899fe8401be36:
3029 And mnemonic and label to remote metadata
3030 + 6d28486e8eca70f76d13922944cb567b8aa09380:
3031 Change `set -x` in coverage to be set by var
3032 + 9b9de653355864e9700889ee36a3a49a450a2607:
3033 Bump minimal JDK install base maximum size from 290 to 295 MB.
3034 + 9e7e592ca51eba1a3f120320c41c845312894d74:
3035 Remote: Check the return value of ActionOwner.getLabel() since
3036 it could be `null`.
3037 + 14abe4fd7c3967686a3536939fdc3882e691bca2:
3038 Allow `DiffAwareness` to share precomputed information about the
3039 workspace and propagate it to the `WorkspaceStatusAction`.
3040 + 082d98772690946ed29c157e60640c97a6e1195b:
3041 Implement available() method for Windows subprocesses.
3042 + c2bdd034014f66ce14529cc353cda18a32320f6c:
3043 Move --repo_env to common options
3044 + e09f2743738044095b9d784ea62df16b7f5750e6:
3045 Revert "Documentation for #13110"
3046 + a165baa250652fdc865ae0df39160be1f7f74c47:
3047 Revert "Clean up RuleContext to use a Table instead of a Map of
3048 Maps."
3049 + 51fb9e13a864f4f704ae378ea632433bae7ddc31:
3050 Revert "Support execution constraints per exec group"
3051 + cb6e5c24b82e0e20a243145fb6ea32b09e3d1de3:
3052 Revert "Allow exec groups to inherit from the rule or other exec
3053 groups."
3054```
3055
3056Important changes:
3057
3058 - Multiplex persistent workers can now use the JSON protocol.
3059
3060This release contains contributions from many people at Google, as well as Alex Eagle, Austin Schuh, Benjamin Peterson, Cristian Hancila, Daniel Wagner-Hall, Denys Kurylenko, Ed Schouten, Finn Ball, George Gensure, Keith Smiley, Lauri Peltonen, Philipp Schrader, Ryan Beasley, Thi Doan, Timothy Klim, Ulf Adams, Vaidas Pilkauskas, wisechengyi, Xavier Bonaventura, Yannic Bonenberger, Yuval Kaplan, Yuval.
3061
Bazel Release System506f3192021-01-21 08:25:01 +01003062## Release 4.0.0 (2021-01-21)
3063
3064```
3065Baseline: 37a429ad12b4c9e6a62dbae4881a1ff03b81ab40
3066
3067Cherry picks:
3068
3069 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
3070 Use getRunfilesPath for run_under executable path generation.
3071 getRootRelativePath doesn't return a valid runfiles path for
3072 external source files anymore after the recent external source
3073 root change. Also, it won't work for external labels either once
3074 the --nolegacy_external_runfiles becomes default. This fixes
3075 issue #12545.
3076 + d90ec67fdab9710f649a3c1d374fb6b938b9271a:
3077 Fix NPE when coveragerunner is not set on the toolchain.
3078 + 8555789dd239a5ac229c1d9cee80b2a9f30b3bf7:
3079 Fix the classic query package-loading cutoff optimization with
3080 external workspaces.
3081 + d113d7454127bba78aa618dac81e5d164920b662:
3082 Update turbine
3083 + 1489f0f4cae3e9247a70e4003ab76bef45c5b986:
3084 Support Scala3 .tasty files
3085 + 0d2d95cd7e34b4061c8e5fdfd21ba0ab8818c685:
3086 Update to java_tools javac11 release 10.5 (#12647)
3087 + a9419f38d5f29af31a6c8ebda09a6e0303a6ba54:
3088 Fix common prefix for instrumentation filter
3089 + 84fadcf81f81b2d7343ca4151a5639be7f2263ee:
3090 Fix builds for filegroup targets with incompatible dependencies
3091 + e43825d0bef359f645e1cabf2164fd2db6ee4a35:
3092 Revert "Remove
3093 --incompatible_blacklisted_protos_requires_proto_info"
3094 + 082d58de852ebaa640bcf13cf419cbb94eec2b26:
3095 Transform roots along with paths during output deletion.
3096 + e8835c1c221d76a2d5532d18083eaa04401619b3:
3097 AttributeContainer.Large now handles more than 127 attributes.
3098 + e1e87349335ac59f9b3df47cee8b999faeaa6d11:
3099 Add an env attribute to all test and binary rule classes
3100 + a87d7ed2411d5382bac58a20b79e09c464ad13b9:
3101 Take no action to prefetch empty artifacts.
3102 + 3e969ff24a6a0e03139b9f288c88451a7dfa97cd:
3103 Fix a couple of bugs with Incompatible Target Skipping
3104 + e6670825b1e183f81f5c864aafd425d512fa9ff5:
3105 Pass --host_action_env to host options hostActionEnvironment
3106 attribute
3107 + 07400c0392e7be163f8a3396fa5cf89ce6705412:
3108 Add --{no,}autodetect_server_javabase.
3109 + c83366064621d5a265eba14d93a03deff58fe6d8:
3110 Only treat "env" and "env_inherit" attrs specially for native
3111 rules
3112 + 6a60b30cd0f22d0ab84b2ddd658d5ccb899a8a76:
3113 Fix coverage support when using default_java_toolchain. (#12801)
3114 + 4158a6f512e52516437e00f8d9609a91be7fc195:
3115 Revert JacocoCoverage target to remote_java_tools_java_import
3116 and add a new target for remore_java_tools_filegroup. (#12813)
3117 + f6d30cf5ef9a8a39fea7072317f89a872387b790:
3118 Add windows_msvc back to conditions in bazel_tools.
3119```
3120
3121New features:
3122
3123 - Starlark-defined flags can now be shorthanded using --flag_alias.
3124
3125Important changes:
3126
3127 - Add --starlark:file option. This adds a capability to the
3128 (cquery)[https://docs.bazel.build/versions/master/cquery.html]
3129 feature in `--output=starlark` mode so that the expression to
3130 format output may
3131 be specified in a file.
3132 - Error messages emitted when an action fails are reworked to be
3133 more informative about the failing action. Some tooling may have
3134 to be updated as a result.
3135 - Querying with output=location now allows the relative_locations
3136 flag to properly display relative locations instead of the full
3137 path. Fixes https://github.com/bazelbuild/bazel/issues/3497.
3138 - --flag_alias can now be used without
3139 --experimental_enable_flag_alias
3140 - Remove no-op `--deep_execroot` flag
3141 - The BEP uses `AbortReason.OUT_OF_MEMORY` for abort events when
3142 the build tool is crashing due to OOM.
3143 - Added flag `incompatible_display_source_file_location` for `blaze
3144 query location=output` to print the location of line 1 of the
3145 actual source files instead of the source file targets. Provides
3146 a solution to https://github.com/bazelbuild/bazel/issues/8900.
3147 - The Starlark json module is now available.
3148 Use json.encode(x) to encode a Starlark value as JSON.
3149 struct.to_json(x) is deprecated and will be disabled by
3150 the --incompatible_struct_has_no_methods flag.
3151 - The flag `--incompatible_objc_compile_info_migration` is enabled
3152 by default. See #10854.
3153 - The flag `--incompatible_objc_provider_remove_compile_info` is
3154 enabled by default. See #11359.
3155 - Add `relative_ast_path` feature for darwin builds to relativize
3156 swiftmodule paths for debugging
3157 - Use proto.encode_text(x) to encode a Starlark value as textproto.
3158 struct.to_proto() is deprecated and will be disabled by
3159 the --incompatible_struct_has_no_methods flag.
3160 Both functions now reject list/dict fields that contain list/dict
3161 elements.
3162 - Add --starlark:file option. This adds a capability to the
3163 (cquery)[https://docs.bazel.build/versions/master/cquery.html]
3164 feature in `--output=starlark` mode so that the expression to
3165 format output may be specified in a file.
3166 See [Configured Query Starlark
3167 Output](//docs.google.com/document/d/1kL6Tdmp6uLBa9lq_DbUSjIC87glO
3168 zKIyPoBeF95Rs4c/edit)
3169 - Flipped --incompatble_proto_output_v2 for aquery.
3170 - The --incompatible_load_java_rules_from_bzl flag is now a no-op.
3171 - The --incompatible_load_proto_rules_from_bzl flag is now a no-op.
3172 - Flipped --incompatible_force_strict_header_check_from_starlark
3173 - --incompatible_string_replace_count is flipped and removed
3174 (#11244)
3175 - Bazel skips incompatible targets based on target platform
3176 and `target_compatible_with` contents. See
3177 https://docs.bazel.build/versions/master/platforms.html for more
3178 details.
3179 - Bazel returns exit code 36 (rather than 1) if it fails to start a
3180 subprocess in a local sandbox due to environmental issues, for
3181 example, if the argument list is too long.
3182 - //tools/build_defs/pkg:pkg_rpm is no longer built in to Bazel.
3183 See https://github.com/bazelbuild/bazel/issues/11218 for
3184 instructions
3185 on how to migrate to the replacement.
3186 - Javac now supports multiplex workers.
3187 - The `--default_ios_provisioning_profile` flag has been removed
3188 (it was a no-op).
3189 - Add support for using AndroidX dependencies in
3190 data-binding-enabled targets.
3191 - Fix data-binding generation for android_local_test.
3192 - Enable debug_prefix_map_pwd_is_dot feature by default on macOS,
3193 this passes `-fdebug-prefix-map=$PWD=.` for every compile to
3194 remove absolute paths from debug info.
3195 - --incompatible_run_shell_command_string is enabled by default
3196 (#5903)
3197 - py_binary now tolerates package paths that contain hyphens ('-').
3198 Note that such paths might not be importable from within Python
3199 code.
3200 - C++ Starlark API requires linker_inputs wrapping library_to_link.
3201 #10860
3202 - Toolchain rule is extended with target_settings attribute.
3203 - --incompatible_restrict_string_escapes=true is now the default.
3204 Unnecessary backslashes such as "\." in string literals are now
3205 an error, instead of being silently treated as "\\.".
3206 To fix the error while preserving behavior, double the backlash.
3207 However, the error is often a sign that the original code was
3208 wrong.
3209 - Propagate instrumented files for transitive sources of
3210 `android_library` and `android_binary`
3211 - --local_resources and --incompatible_remove_local_resources have
3212 been removed. If you've been setting --local resources or
3213 --incompatible_remove_local_resources=false, you must migrate to
3214 using --local_ram_resources and --local_cpu_resources instead.
3215 - Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
3216 - --incompatible_avoid_conflict_dlls=true is now the default.
3217 - Dynamic execution now uses the new scheduler by default.
3218 - Dynamic execution now uses the new scheduler by default.
3219 - The new dynamic scheduler is now the default.
3220
3221This release contains contributions from many people at Google, as well as Adam Liddell, Akira Baruah, Alexander Grund, Alex Eagle, Andrew Z Allen, Austin Schuh, Benjamin Peterson, Benson Muite, Brentley Jones, Cristian Hancila, Dan Halperin, Daniel Wagner-Hall, Dmitry Ivankov, Dmitry Ivankov, erenon, Eric Cousineau, Greg Estren, Gregor Jasny, Grzegorz Lukasik, Grzegorz Lukasik, hollste, Joe Lencioni, johnjbarton, Jonathan Perry, Jonathon Belotti, Keith Smiley, Kevin Gessner, Matt Davis, Matt Mackay, Menny Even Danan, Neeraj Gupta, Philipp Schrader, Ricardo Delfin, Ryan Beasley, Samuel Giddins, Simon Bjorklen, Simon Stewart, Stiopa Koltsov, Thi Doan, ThomasCJY, Timothy Klim, Tom de Goede, vectoralpha, V Vn Ngha, William A Rowe Jr, Xavier Bonaventura, Yannic Bonenberger, Yannic.
3222
Bazel Release System58c80412020-12-17 11:04:01 -05003223## Release 3.7.2 (2020-12-17)
3224
3225```
3226Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
3227
3228Cherry picks:
3229
3230 + 0d14ec84a06c4da628a7f6d9d1c5f9314392ab15:
3231 Release 3.7.0 (2020-10-20)
3232 + d563446a77b906807cea86f5c2abafa5900d901a:
3233 Add `-XDcompilePolicy=simple` to default javacopts
3234 + 6336264e4b0d8cc422ec73e1b923bf8014ace778:
3235 Update rules_cc reference to head of rules_cc as of 2020-11-11.
3236 + b3f934680554515aa312b5dd4453df5cd38f0aea:
3237 Bump rules_cc to support llvm 11.0.0 clang-cl compiler on Windows
3238 + e055b433efdccb28b9c21082e72d8e79d9b34e0f:
3239 Remove accidentally re-added
3240 tools/jdk/java_toolchain_default.bzl.
3241 + 02838a1b2aa2f6d03980536ab2ac6840c3c98e84:
3242 Avoid the spawn cache if executing dynamically.
3243 + d0efd7b9e5109ff5ac6d13c91f58c3fc4dc3afd8:
3244 Release 3.7.1 (2020-11-24)
3245 + a689d673abadf80f1efaf8ddaeee92d56fc2847b:
3246 Use getRunfilesPath for run_under executable path generation.
3247 getRootRelativePath doesn't return a valid runfiles path for
3248 external source files anymore after the recent external source
3249 root change. Also, it won't work for external labels either once
3250 the --nolegacy_external_runfiles becomes default. This fixes
3251 issue #12545.
3252```
3253
3254Important changes:
3255
3256 - Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
3257
3258This release contains contributions from many people at Google, as well as William A Rowe Jr.
3259
Bazel Release Systemd0efd7b2020-11-24 12:34:38 -05003260## Release 3.7.1 (2020-11-24)
3261
3262```
3263Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
3264
3265Cherry picks:
3266
3267 + 0d14ec84a06c4da628a7f6d9d1c5f9314392ab15:
3268 Release 3.7.0 (2020-10-20)
3269 + d563446a77b906807cea86f5c2abafa5900d901a:
3270 Add `-XDcompilePolicy=simple` to default javacopts
3271 + 6336264e4b0d8cc422ec73e1b923bf8014ace778:
3272 Update rules_cc reference to head of rules_cc as of 2020-11-11.
3273 + b3f934680554515aa312b5dd4453df5cd38f0aea:
3274 Bump rules_cc to support llvm 11.0.0 clang-cl compiler on Windows
3275 + e055b433efdccb28b9c21082e72d8e79d9b34e0f:
3276 Remove accidentally re-added
3277 tools/jdk/java_toolchain_default.bzl.
3278 + 02838a1b2aa2f6d03980536ab2ac6840c3c98e84:
3279 Avoid the spawn cache if executing dynamically.
3280```
3281
3282Important changes:
3283
3284 - Update rules_cc to commit b1c40e1de81913a3c40e5948f78719c28152486d
3285
3286This release contains contributions from many people at Google, as well as William A Rowe Jr.
3287
Bazel Release System8cffdf12020-10-20 09:22:27 -04003288## Release 3.7.0 (2020-10-20)
3289
3290```
3291Baseline: a991db7c2f66a354666388d888dcef9b0d0f70c0
3292```
3293
3294Incompatible changes:
3295
3296 - The syntax //foo/BUILD can no longer be used on the command line
3297 to refer to the //foo:BUILD target. Use //foo:BUILD (preferred)
3298 or foo/BUILD instead. This does not affect BUILD/bzl files, where
3299 that syntax already didn't work.
3300 - This removes `--objc_header_scanner_tool`. The flag was primarily
3301 used internally, and to our knowledge, a compatible tool was
3302 never released. Therefore this flag is believed to be unused.
3303
3304New features:
3305
3306 - select() directly supports constraint_value (no need for an
3307 intermediate config_setting).
3308
3309Important changes:
3310
3311 - Non-android targets can again be built when
3312 android_sdk_repository is present but invalid.
3313 - Add a build variable for -install_name / -soname.
3314 - Add a build variable for -install_name / -soname.
3315 - Include "resources" attr in dependency attributes for java_*
3316 coverage configuration.
3317 - --trim_test_configuration should work for almost all cases when a
3318 non-test target depends on a test.
3319 - Javac now supports multiplex workers.
3320 - Javac now supports multiplex workers.
3321 - Blaze now allows symbolic links that point to their own ancestor
3322 unless they are traversed recursively by e.g. a //... recursive
3323 target pattern or a recursive glob.
3324 - Blaze now allows symbolic links that point to their own ancestor
3325 unless they are traversed recursively by e.g. a //... recursive
3326 target pattern or a recursive glob.
3327 - Blaze now allows symbolic links that point to their own ancestor
3328 unless they are traversed recursively by e.g. a //... recursive
3329 target pattern or a recursive glob.
3330 - Generated Go protobufs no longer depend on //net/proto2/go:proto
3331
3332This release contains contributions from many people at Google, as well as Benjamin Peterson, Cristian Hancila, Ed Schouten, Fredrik Medley, Greg Estren, jgehw, Jin, Kalle Johansson, Keith Smiley, Kseniia Vasilchuk, Michael Eisel, Michael Hackner, Michael Krasnyk, Mostyn Bramley-Moore, Ruixin Bao, Samuel Giddins, Simon Stewart, Torgil Svensson, Ulf Adams, Vasilios Pantazopoulos, Wenyu Zhang, Yannic Bonenberger, yoav-steinberg.
3333
Bazel Release System76152be2020-10-06 15:07:12 +02003334## Release 3.6.0 (2020-10-06)
Bazel Release System72817e32020-10-01 00:30:50 -04003335
3336```
Bazel Release System76152be2020-10-06 15:07:12 +02003337Baseline: aa0d97c0bfc4c09ec6f45303aa80052ba28afbd9
Bazel Release System72817e32020-10-01 00:30:50 -04003338
3339Cherry picks:
3340
Bazel Release System76152be2020-10-06 15:07:12 +02003341 + 32c88da98f301333dc447b75564459165368d418:
3342 Patch RuleContext for android_binary.deps to restore legacy
3343 behavior.
3344 + db9fc88fed387f09067a9250a731f8bf9ad74b05:
3345 android_test also needs the legacy behavior in
3346 RuleContext.getPrerequisites.
3347 + 144d5149a0c50e464dd1be0769fed2ce33ab26a4:
3348 Update android_sdk_repository to create a valid, but useless,
3349 repository
3350 + bb11f9235da52eb3b3e462ce0286f1a89188cb89:
Bazel Release System72817e32020-10-01 00:30:50 -04003351 Patch upb to fix build error with gcc 10
Bazel Release System76152be2020-10-06 15:07:12 +02003352 + 9f06be482aea3fcadeaf8fca6e48b32f224eba2e:
Bazel Release System72817e32020-10-01 00:30:50 -04003353 Patch upb to fix build error with gcc 10 (third_party)
Bazel Release System76152be2020-10-06 15:07:12 +02003354 + b67b75e3a62f5433d812993f3702f431b6967e86:
3355 Fix issue where libtool_check_unique isn't found for sandbox
3356 builds
Bazel Release System72817e32020-10-01 00:30:50 -04003357```
3358
Bazel Release System76152be2020-10-06 15:07:12 +02003359Incompatible changes:
3360
3361 - `--experimental_ui_limit_console_output` is removed. Users of
3362 `--experimental_ui_limit_console_output=1` for silencing terminal
3363 output should use `--ui_event_filters=` instead.
3364 - --proto:instantiation_stack must be enabled in addition to
3365 --record_rule_instantiation_callstack to see call stack in proto
3366 output from blaze query.
3367
Bazel Release System72817e32020-10-01 00:30:50 -04003368New features:
3369
3370 - cc_common.compile support for include_prefix/strip_include_prefix
Bazel Release System76152be2020-10-06 15:07:12 +02003371 - Multiplexed persistent workers: Use
3372 --experimental_worker_max_multiplex_instances to configure the
3373 number of WorkRequests that are sent concurrently to one worker
3374 process. The --worker_max_instances flag will no longer be used
3375 to determine max instances for multiplex workers, since the two
3376 have different resource requirements. Multiplex workers will by
3377 default have a max instances of 8.
Bazel Release System72817e32020-10-01 00:30:50 -04003378
3379Important changes:
3380
Bazel Release System76152be2020-10-06 15:07:12 +02003381 - The prelude file (//tools/build_rules:prelude_bazel) is now
3382 processed as a Starlark module, rather than being sourced into
3383 the BUILD file textually. This may cause slight breakages
3384 depending on the content of the prelude file. (Use of the prelude
3385 file is discouraged as it will be removed in the long term.)
3386 - Removed --experimental_ignore_deprecated_instrumentation_spec and
3387 cleaned up the old deprecated behavior.
3388 - Added CODEBASE.md, a description of the Bazel codebase.
Bazel Release System72817e32020-10-01 00:30:50 -04003389 - Removed the flag --experimental_transparent_compression.
3390 - Removed the flag --experimental_action_args.
3391 - Stop needlessly parsing WORKSPACE files from external
3392 repositories.
3393 - Dot ('.') is now allowed in workspace names. See
3394 https://github.com/bazelbuild/bazel/issues/11837.
Bazel Release System76152be2020-10-06 15:07:12 +02003395 - This change can cause memory and performance regressions for some
3396 builds with C++ dependencies, due to extra actions being executed.
3397 RELNOTES: None
3398 - Building Android apps for legacy multi-dex (pre-L) now require a
3399 main-dex list if the application does not fit into a single DEX
3400 file.
3401 - Puts the experimental_worker_multiplex flag to use.
3402 - In Starlark, the Args object supports a new parameter file format
3403 'flag_per_line', compatible with the Abseil flags library.
3404 - The flag --incompatible_no_support_tools_in_action_inputs is
3405 removed.
3406 - Support for NDK 21 added
3407 - Bazel will now skip printing action stdout/stderr contents if
3408 they exceed --experimental_ui_max_stdouterr_memory_bytes.
3409 - The Starlark interpreter now correctly emits an error
3410 if the operand of the first loop in a list comprehension
3411 refers to a variable bound by a later loop, such as y in
3412 this example:
3413 [e1 for x in f(y) in e2 for y in e3] # error: undefined y
3414 ^
3415 This may cause latent dynamic errors to become static errors.
3416 - Added support for a 'supports-graceful-termination' execution
3417 requirement and tag, which causes Bazel to send a SIGTERM to any
3418 tagged
3419 actions before sending a delayed SIGKILL. This is to give
3420 actions, and more
3421 specifically tests, a chance to clean up after themselves.
3422 - Non-android targets can again be built when
3423 android_sdk_repository is present but invalid.
Bazel Release System72817e32020-10-01 00:30:50 -04003424
Bazel Release System76152be2020-10-06 15:07:12 +02003425This release contains contributions from many people at Google, as well as Benjamin Peterson, Daniel Wagner-Hall, Dave MacLachlan, David Ostrovsky, Emil Kattainen, George Gensure, Greg Estren, Keith Smiley, mai12, Mai Hussien, Michael Eisel, Per Halvor Tryggeseth, Ruixin Bao, Samuel Giddins, Steeve Morin, Thi Doan, Tom de Goede, Ulf Adams, Zhongpeng Lin.
Bazel Release System72817e32020-10-01 00:30:50 -04003426
Bazel Release System2b051be2020-09-02 15:41:41 -04003427## Release 3.5.0 (2020-09-02)
3428
3429```
3430Baseline: 889bc0b523b47eeb38a72bf9bb6858ee525a7c7e
3431
3432Cherry picks:
3433
Bazel Release System57f0b7c2020-09-02 16:07:55 -04003434 + a7a0d48fbeb059ee60e77580e5d05baeefdd5699:
3435 Make no-op starlark transition not affect the output directory.
3436 + b37c51c7085f0aefe04034dd451acb847605ddb5:
3437 Add include_prefix and strip_include_prefix to cc_common.compile
3438 + f6ad35fcde93f92c591778ed7db38d167f5bbc03:
3439 Delete --experimental_transparent_compression
3440 + 39bc97eab295bddb35b38bfc4a2ff3d2b15d034e:
3441 Remove --experimental_action_args
3442 + b9706675a7abf6ceebb250f0b3dfa4087a0c35f6:
3443 Stop needlessly parsing WORKSPACE files from external
3444 repositories.
3445 + e574d558da17cfd0f818e7a937a07926aa270069:
3446 Allow hyphen char in workspace name
3447 + 9993785fa0c4fa4172aa31d306f3abea76833abf:
3448 Allow dot ('.') in workspace names.
3449```
3450
3451New features:
3452
3453 - cc_common.compile support for include_prefix/strip_include_prefix
3454
3455Important changes:
3456
3457 - Removed the flag --experimental_transparent_compression.
3458 - Removed the flag --experimental_action_args.
3459 - Stop needlessly parsing WORKSPACE files from external
3460 repositories.
3461 - Dot ('.') is now allowed in workspace names. See
3462 https://github.com/bazelbuild/bazel/issues/11837.
3463
3464This release contains contributions from many people at Google, as well as David Ostrovsky.
3465
3466## Release 3.5.0 (2020-09-02)
3467
3468```
3469Baseline: 889bc0b523b47eeb38a72bf9bb6858ee525a7c7e
3470
3471Cherry picks:
3472
Bazel Release System2b051be2020-09-02 15:41:41 -04003473 + d6b9469efebd200a39d7fd43876a18822fcdbe7b:
3474 Make no-op starlark transition not affect the output directory.
3475 + b37c51c7085f0aefe04034dd451acb847605ddb5:
3476 Add include_prefix and strip_include_prefix to cc_common.compile
3477 + 0ebb1d5a5388109e3f026a355c77fdf0121f3a43:
3478 Delete --experimental_transparent_compression
3479 + 312e121c70aebfaa91b0a3106fa964e0bc12d1df:
3480 Remove --experimental_action_args
3481 + 7e6e855bb82734f582e03c2c7fad3148c139d0e0:
3482 Stop needlessly parsing WORKSPACE files from external
3483 repositories.
3484 + d4049f6f85efb8f48d1f6b72764115af5b184831:
3485 Allow hyphen char in workspace name
3486 + 0a35be1843a2e4d49d5e5c3893cd6673705b7fb1:
3487 Allow dot ('.') in workspace names.
3488```
3489
3490Incompatible changes:
3491
3492 - The --experimental_process_wrapper_wait_fix flag (used
3493 purely to roll out a risky bug fix) has been removed.
3494 - Removed the --experimental_ui_deduplicate flag.
3495 - Bazel now correctly prefers Xcode versions in `/Applications`
3496 over any other paths, which resolves an issue with accidentally
3497 picking up an Xcode version from a Time Machine backup or network
3498 disk. In the improbable case that you relied on the old behavior
3499 and Bazel now picks up Xcode from the wrong location, you can fix
3500 it by moving that Xcode version to /Applications.
3501
3502New features:
3503
3504 - cquery now follows aspects with --include_aspects.
3505 - cc_common.compile support for include_prefix/strip_include_prefix
3506
3507Important changes:
3508
3509 - Add support to bazel/crosstool for building arm64 on macos aka
3510 darwin
3511 - Add opt in 'oso_prefix_is_pwd' feature for Apple builds
3512 - Add InstrumentedFilesInfo provider to Starlark globals.
3513 - Fixed resource shrinking when <overlayable/> tags are used.
3514 - Remove old incompatible flag
3515 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
3516 s_tree.
3517 - Update coverage configuration for Python, filegroup, and shell
3518 script rules to distinguish between source and dependency
3519 attributes.
3520 - Add support to bazel/crosstool for building arm64e on macos aka
3521 darwin
3522 - Make filegroup always forward InstrumentedFilesProvider and not
3523 collect any sources directly.
3524 - Support signing key rotation in android_binary
3525 - Remove legacy handling of --extra_checks
3526 - Support signing key rotation in android_binary
3527 GO...
3528 - `--apple_bitcode` now takes an optional platform and only applies
3529 the Bitcode mode to that platform if present. The option may be
3530 provided multiple times.
3531 - Support signing key rotation in android_binary
3532 - NS_BLOCK_ASSERTIONS is now passed for all Apple architectures.
3533 - Major changes to reporting of Starlark errors and the call stack.
3534 (Please be alert to possible regressions, such as errors that
3535 lack relevant location information.)
3536 - Removed the flag --experimental_transparent_compression.
3537 - Removed the flag --experimental_action_args.
3538 - Stop needlessly parsing WORKSPACE files from external
3539 repositories.
3540 - Dot ('.') is now allowed in workspace names. See
3541 https://github.com/bazelbuild/bazel/issues/11837.
3542
3543This release contains contributions from many people at Google, as well as Adam Gross, Andrew Suffield, Benjamin Peterson, bnczk, David Ostrovsky, Ed Schouten, Greg Estren, Grzegorz Lukasik, Holger Freyther, Kalle Johansson, Keith Smiley, Kerrick Staley, Kyle Teske, Mostyn Bramley-Moore, Ryan Beasley, Ryan Pavlik, Siggi Simonarson, Stiopa Koltsov, Ulf Adams, Xiaoyi Shi, Yannic Bonenberger, Yesudeep Mangalapilly.
3544
Bazel Release Systemd917bf22020-07-14 08:24:10 +02003545## Release 3.4.1 (2020-07-14)
3546
3547```
3548Baseline: 7404d17ac76da876ae0b432d1fccf222a9e991fe
3549
3550Cherry picks:
3551
3552 + f31f2d787116120b2b16e9aa9a64fab171c0d954:
3553 fixup! Gracefully handle the lack of subreaper support in Linux.
3554 + 3a4f221e3c57495c1ed0d1ec8128f92323b13079:
3555 Revert "Replace the remaining dependencies for Bazel Debian
3556 build (third_party)"
3557 + c55ec0f2cb3f5b44e5025bf9d3c5dc91d94db287:
3558 Revert "Upgrade gRPC to 1.26.0"
3559```
3560
3561This release contains contributions from many people at Google, as well as Ryan Beasley.
3562
Bazel Release System93262a52020-07-13 17:23:50 +02003563## Release 3.4.0 (2020-07-13)
3564
3565```
3566Baseline: 7404d17ac76da876ae0b432d1fccf222a9e991fe
3567
3568Cherry picks:
3569
3570 + a4334be50a206bf8d676a0196af11056c48ac35b:
3571 fixup! Gracefully handle the lack of subreaper support in Linux.
3572```
3573
3574Incompatible changes:
3575
3576 - This removes the short-lived --process_wrapper_extra_flags
3577 flag, which was introduced primarily to roll out a bug fix.
3578 Unfortunately,
3579 this made us inadvertently expose all of the process-wrapper's
3580 command line
3581 interface to the public, which should not have happened. Given
3582 the corner
3583 case of the utility of this flag, the lack of documentation for
3584 it, and the
3585 fact that it only appeared in a single release, we are treating
3586 this as a
3587 bug instead of a backwards compatibility breakage.
3588
3589New features:
3590
3591 - bazel info: Allow to specify multiple keys.
3592 - Support code coverage with GCC 9.
3593
3594Important changes:
3595
3596 - Allow InstrumentedFilesInfo fields to be read from Starlark.
3597 - The --starlark_cpu_profile=<file> flag writes a profile in
3598 pprof format containing a statistical summary of CPU usage
3599 by all Starlark execution during the bazel command. Use it
3600 to identify slow Starlark functions in loading and analysis.
3601 - The --debug_depset_flag has been removed as it is in effect
3602 always on at no cost.
3603 - Rule authors should use the
3604 incompatible_use_toolchain_transition rule attribute to migrate
3605 to using
3606 the toolchain transition. jcater to udpate notes further.
3607 - `apple_binary` rules now accept the `stamp` attribute with the
3608 same
3609 semantics that it has in `cc_binary` rules.
3610 - --incompatible_objc_provider_remove_compile_info turns off
3611 the compile info/mege_zip Starlark APIs in ObjcProvider. See
3612 #11359.
3613 - The --debug_depset_flag has been removed as it is in effect
3614 always on at no cost.
3615 - Fix behavior of ctx.actions.write so content is written without
3616 an incorrect encoding to UTF-8.
3617 See https://github.com/bazelbuild/bazel/issues/10174 for details.
3618 - Collect more performance metrics for worker execution.
3619 - Add flag --incompatible_force_strict_header_check_from_starlark
3620 - Configure coverage and runfiles for sh_library.
3621 - Adds --incompatible_blacklisted_protos_requires_proto_info to
3622 indicate whether proto_lang_toolchain.blacklisted_protos requires
3623 ProtoInfo.
3624
3625This release contains contributions from many people at Google, as well as Andrzej Guszak, Benjamin Peterson, Benjamin Romano, Carlos Eduardo Seo, Claudio Bley, dannysullivan, David Ostrovsky, George Gensure, Graham Jenson, Grzegorz Lukasik, Gunnar Wagenknecht, Henk van der Laan, Jin, John Millikin, Marin Baron, Nikhil Marathe, Robin Nabel, Ryan Beasley, Samuel Giddins, Sergey Balabanov, utsav-dbx, Vo Van Nghia, Yannic Bonenberger.
3626
Bazel Release System97a53342020-06-30 11:05:57 -04003627## Release 3.3.1 (2020-06-30)
3628
3629```
3630Baseline: c063b5caf776dee665497b64c5c17d4ed7e6750a
3631
3632Cherry picks:
3633
3634 + cb798a475eb54087e1e83f8aa1dc1c54550877b5:
3635 Restore missing Building with Platforms docs.
3636 + 9be97678b02bbd45d164c8458c8fd4f7791cb7aa:
3637 Release 3.3.0 (2020-06-17)
3638 + 3b0439e37247a480e08337a6314d06231bdbafd3:
3639 Fix incorrect assumption of desugar persistent worker conditional
3640```
3641
3642This release contains contributions from many people at Google, as well as .
3643
Bazel Release System9be97672020-06-17 08:51:54 -04003644## Release 3.3.0 (2020-06-17)
3645
3646```
3647Baseline: c063b5caf776dee665497b64c5c17d4ed7e6750a
3648
3649Cherry picks:
3650
3651 + 23bd69d7499de097b15e6025cc0796bdbc9886b8:
3652 Restore missing Building with Platforms docs.
3653```
3654
3655Incompatible changes:
3656
3657 - The startup option --fatal_event_bus_exceptions is now a no-op
3658 and will be removed soon.
3659
3660New features:
3661
3662 - Bazel offers basic completion for the fish shell.
3663
3664Important changes:
3665
3666 - Add configuration_field for --custom_malloc to cpp config fragment
3667 - Flip --incompatible_objc_compile_info_migration to true. See
3668 #10854.
3669 - It is now possible to use different action mnemonics while still
3670 sharing the same pool of persistent workers. It requires setting
3671 a new property
3672 on the execution requirements (`worker-key-mnemonic`). The value
3673 overrides
3674 the action's mnemonic when it comes to reusing worker processes.
3675 - linkshared=1 in cc_binary no longer requires '.so' or '.dll' in
3676 the target name
3677 - Revert --incompatible_objc_compile_info_migration to false. See
3678 #10854.
3679 - Invoke clang with the correct -target flag when building for
3680 watchOS.
3681 - NA
3682 - Add experiment flag to forward InstrumentedFilesInfo from
3683 non-tool deps by default.
3684
3685This release contains contributions from many people at Google, as well as Abhishek Kumar, Adam Azarchs, Akira Baruah, Daniel Wagner-Hall, Derek Argueta, glukasiknuro, Greg Estren, Greg, Jason Furmanek, Jiri Dank, Keith Smiley, Kseniia Vasilchuk, Laurent Le Brun, Matt Mackay, Michael Klemm, Nikolay Shelukhin, Patrick Balestra, Rui Chen, Siggi Simonarson, sventiffe, Tobias Werth, Tom de Goede, Vladimir Chebotarev, Yannic Bonenberger.
3686
Bazel Release Systemb0ba5dc2020-05-27 19:50:27 +02003687## Release 3.2.0 (2020-05-27)
3688
3689```
3690Baseline: 1d93d26d9900328dcba0026bf21cb45cc37a4596
3691```
3692
3693Important changes:
3694
3695 - Renamed --experimental_slim_json_profile to --slim_profile.
3696 - Expose ctx.attr.write Args content for analysistest when possible
3697 - Added aquery_differ_v2 that works with the new aquery proto
3698 output format.
3699 - Add new flag, 'experimental_no_product_name_out_symlink', to omit
3700 creating '<product>-out' symlink if user specifies
3701 '--symlink_prefix' option.
3702 - --ram_utilization_factor is removed (as is
3703 --incompatible_remove_ram_utilization_factor). Please use
3704 --local_ram_resources.
3705 - Improve include scanner support for cl.exe and clang-cl command
3706 lines
3707 - ctx.split_attr now includes attributes with Starlark split
3708 transitions.
3709 - Added --incompatible_string_replace_count, to make
3710 string.replace() behave as in Python.
3711 - Bazel can now recursively delete non-executable but readable
3712 directories.
3713 - Restore case-sensitivity to -I and /I include scanning detection
3714 to avoid conflicts.
3715
3716This release contains contributions from many people at Google, as well as Alessandro Patti, Antoine Eiche, Beebs, Brian Silverman, George Gensure, Gerhard Pretorius, Gibson Fahnestock, Greg, Gregor Jasny, Gustav Westling, hannometer, Jin, Jonathan Gerrish, Josh Smith, Justin Y Wei, Laurent Le Brun, Links, liubang, Lszl Csomor, Matt Mackay, Moritz Krger, Ryan Beasley, Siddhartha Bagaria, Yannic Bonenberger, Yannic, Zhongpeng Lin.
3717
Bazel Release System3a59ab62020-04-21 17:37:54 +02003718## Release 3.1.0 (2020-04-21)
3719
3720```
3721Baseline: 17ebbf15bea3733c0c21e0376fb5906e391edb49
3722
3723Cherry picks:
3724
3725 + 71fb56b4bb669a419f473598c8722e125dbb5c9e:
3726 Suppress last-ditch download exceptions w/cleanup
3727 + fd60614c38da0db22431d91a793423904dff801f:
3728 In repo rules, don't warn about generator_* attributes being
3729 non-canonical
3730 + 2a372792f5cc09bd0e8389d5fc4bbfdd2f5d6e37:
3731 Refactor configureFeatures and prevent NPE
3732 + 777a6ee6ed95cae4ddb949d52b63ee8a66024f03:
3733 Automated rollback of commit
3734 0bbe38176e15d891a4e4cab2d8425e292de6cc5f.
3735 + 2ee53c9267eb6de8eae109950ca8f3953bf1ae66:
3736 Guard parseActionResultMetadata with bulk wrapper
3737```
3738
3739Incompatible changes:
3740
3741 - The deprecated startup options
3742 --experimental_oom_more_eagerly(_threshold) are removed.
3743
3744Important changes:
3745
3746 - Remove flag
3747 --incompatible_load_proto_toolchain_for_javalite_from_com_google_p
3748 rotobuf which has been flipped in Bazel 3.0.
3749 - Allow assembly file sources in cc_common.compile.
3750 - Set default .netrc file on Windows to %USERPROFILE%
3751 - A maximum 150 attributes per RuleClass is enforced
3752 - Increase max targets per rule class limit to 200
3753 - ctx.split_attr now includes attributes with Starlark split
3754 transitions.
3755 - The --max_computation_steps flag bounds the computation done by a
3756 BUILD file.
3757 - Native patch can handle file permission properly
3758 - Aspects may now propagate through dependencies on rule outputs by
3759 being defined with `apply_to_generating_rules = True`.
3760 - 'query --output=build' now shows where rule classes (not just
3761 rules) are created.
3762 - The flag `incompatible_bzl_disallow_load_after_statement` is
3763 removed.
3764 - ctx.split_attr now includes attributes with Starlark split
3765 transitions.
3766 - The flag `incompatible_no_output_attr_default` is removed.
3767 - Fix wall-time of the SpawnResult in WorkerSpawnRunner
3768 - Add stamp parameter for cc_common.link to enable including build
3769 info
3770 - The flag `--incompatible_restrict_named_params` is removed.
3771 - The flag `--incompatible_depset_union` is removed.
3772 - Bazel uses fewer compiler flags by default when building
3773 Objective-C. In
3774 particular, Bazel no longer sets `-O0`, `-DDEBUG=1`,
3775 `-fstack-protector`, `-fstack-protector-all`, or `-g` in dbg
3776 mode, and
3777 Bazel no longer sets `-Os`, `-DNDEBUG=1`, `-Wno-unused-variable`,
3778 `-Winit-self`, or `-Wno-extra` in opt mode. If you want to apply
3779 these
3780 flags to your project, you can reenable them in your CROSSTOOL.
3781 - A maximum attribute name length is 128 is enforced
3782
3783This release contains contributions from many people at Google, as well as Alessandro Patti, Benjamin Peterson, Benjamin Romano, Bor Kae Hwang, Chris Heisterkamp, Cristian Hancila, Dmitri G, Douglas Parker, George Gensure, Gregor Jasny, John Millikin, Keith Smiley, Leo, Mike Fourie, Patrick Balestra, Robbert Van Ginkel, Ryota, Samuel Giddins, Ulf Adams, Ulf Adams, Vertexwahn, Xavier Bonaventura, Yannic Bonenberger.
3784
Bazel Release System22018272020-04-06 08:49:47 -04003785## Release 3.0.0 (2020-04-06)
3786
3787```
3788Baseline: 3c7cc747ac653dca8b88a9e43726a794e2c27a9c
3789
3790Cherry picks:
3791
3792 + 19e214b44df9c82a8a3bd3381344f7145813c572:
3793 Use prefix encoding for paths.
3794 + 63b01f7b1cd6603a08bf2a8ae813388c201e3448:
3795 Avoid file operations in the sandbox creation critical path.
3796 + 80a2d7cc5f8a22816934dcd2ca9bdf87050f3d9f:
3797 Implementation (but not plumbing) of the gRPC remote downloader
3798 + 586eabf419972c74fdd5fef328cfe9a259e035ed:
3799 Implement RemoteDownloader w/ `--experimental_remote_downloader`
3800```
3801
3802Incompatible changes:
3803
3804 - Flip --incompatible_remove_enabled_toolchain_types, so that rules
3805 can no longer access enabled toolchain types from the platform
3806 fragment.
3807 - The --incompatible_use_jdk11_as_host_javabase flag has been
3808 removed (it was flipped in Bazel 0.25.0).
3809 - Using JDK 9 or 10 as a `--host_javabase` is no longer officially
3810 supported. As always, you can use the
3811 `@bazel_tools//tools/jdk:toolchain_vanilla` Java toolchain to use
3812 older or newer JDKs than what Bazel currently supports.
3813 - --fatal_event_bus_exceptions is deprecated and should not be
3814 used. Any crashes should be reported so that they can be fixed.
3815 - The old-style binary profile format is no longer suppported, use
3816 the new JSON trace profile instead.
3817
3818Important changes:
3819
3820 - Improve the performance of creating a sandboxed execution root
3821 for workers when the number of inputs is large (>1000).
3822 - Treat .cu and .cl files as C++ source. CUDA or OpenCL are not
3823 natively supported and will require custom flags to compile with
3824 e.g. clang.
3825 - Add actions' primary output details in JSON profile and
3826 analysis_v2.proto.
3827 - Add --cds_archive option for embedding CDS archive into deploy
3828 JAR.
3829 - Add new global attribute: applicable_licenses
3830 - Package level default with default_applicable_licenses
3831 - guarded by --incompatible_applicable_licenses (default true for
3832 Blaze, false for Bazel)
3833 - In support of
3834 https://docs.google.com/document/d/1uwBuhAoBNrw8tmFs-NxlssI6VRolid
3835 GYdYqagLqHWt8/edit#
3836 - Non-test Java rules no longer require the TestConfiguration and
3837 thus --trim_test_configuration is again usable for Java builds
3838 - The flag `--incompatible_always_check_depset_elements` is enabled
3839 by default.
3840 - --incompatible_objc_compile_info_migration determines
3841 whether native rules can assume compile info has been migrated to
3842 CcInfo. See https://github.com/bazelbuild/bazel/issues/10854.
3843 - --incompatible_remove_local_resources is true by default. Please
3844 use --local_ram_resources and --local_cpu_resources instead of
3845 --local_resources.
3846
3847This release contains contributions from many people at Google, as well as Alessandro Patti, Benjamin Peterson, Christy Norman, Dave hughes, David Haxton, David Neil, garyschulte, George Chiramel, George Gensure, Gibson Fahnestock, Greg Estren, Greg, Jason Hoch, Jin, John Millikin, Jonathan Springer, Keith Smiley, Laurent Le Brun, Ulf Adams, Yannic Bonenberger, Yannic, Yihong Wang, Yuchen Dai.
3848
Bazel Release System4b01eb52020-03-03 10:22:31 +01003849## Release 2.2.0 (2020-03-03)
Bazel Release Systeme53c0282020-02-21 15:49:31 +01003850
3851```
Bazel Release System4b01eb52020-03-03 10:22:31 +01003852Baseline: 78055efad0917b848078bf8d97b3adfddf91128d
Bazel Release Systeme53c0282020-02-21 15:49:31 +01003853```
3854
Bazel Release System4b01eb52020-03-03 10:22:31 +01003855Incompatible changes:
Bazel Release Systeme53c0282020-02-21 15:49:31 +01003856
Bazel Release System4b01eb52020-03-03 10:22:31 +01003857 - The --[no]incompatible_windows_bashless_run_command flag is no
3858 longer supported. It was flipped in Bazel 1.0
3859 - The --[no]incompatible_windows_native_test_wrapper flag is no
3860 longer supported. It was flipped in Bazel 1.0
3861
3862Important changes:
3863
3864 - Consistent target naming style in example target names.
3865 - cquery's config() now supports arbitrary configurations.
3866 - The flag --incompatible_disallow_dict_lookup_unhashable_keys is
3867 removed.
3868 - Include target label in Python version error message.
3869 - The flag --incompatible_remap_main_repo is removed.
3870 - Windows: we now discourage running Bazel from MSYS2 because of a
3871 newly found bug (#10573)
3872 - Reduced the packaging time (`package-bazel.sh`) for the
3873 `//src:bazel-dev` Bazel development build target from 14s to 6s.
3874 Use `//src:bazel-dev` if you're iterating rapidly on a local
3875 Bazel changes, and use `//src:bazel --compilation_mode=opt` for
3876 release builds.
3877 - cquery: "//foo:bar" now means "all configured targets with label
3878 //foo:bar" instead of "choose an arbitrary configured target with
3879 label //foo:bar". See cquery docs for details.
3880 - WORKSPACE and BUILD.bazel files of http_archive repositories can
3881 now be patched using the "patch_cmds" and "patches" attributes.
3882 - Actions with "parse" on the critical path should no longer finish
3883 in the future.
3884 - Flags that affect external repositories like
3885 "--override_repository" can now be addressed in bazelrc files
3886 using the "common" command, without causing commands like "bazel
3887 shutdown" to fail.
3888 - The flag --incompatible_disallow_unverified_http_downloads is
3889 removed.
3890 - Create the incompatibleApplicableLicenses flag.
3891 We plan to flip this from false to true in Bazel 4.x.
3892 Implementation to follow.
3893 - Treat .cu and .cl files as C++ source. CUDA or OpenCL are not
3894 natively supported and will require custom flags to compile with
3895 e.g. clang.
3896 - Treat .cu and .cl files as C++ source. CUDA or OpenCL are not
3897 natively supported and will require custom flags to compile with
3898 e.g. clang.
3899 - The --starlark_cpu_profile=<file> flag writes a profile in
3900 pprof format containing a statistical summary of CPU usage
3901 by all Starlark execution during the bazel command. Use it
3902 to identify slow Starlark functions in loading and analysis.
3903 - --ram_utilization_factor will be deprecated. Please use
3904 --local_ram_resources=HOST_RAM*<float>
3905 - Docs: glob() documentation is rewritten, and now it points out a
3906 pitfall of rules shadowing glob-matched files.
3907
3908This release contains contributions from many people at Google, as well as Alessandro Patti, Alex Kirchhoff, aman, Artur Dryomov, Benjamin Peterson, Benjamin Peterson, David Ostrovsky, Elliotte Rusty Harold, Eric Klein, George Chiramel, George Gensure, Guillaume Bouchard, Hui-Zhi, John Millikin, Jonathan Springer, Laurent Le Brun, Michael McLoughlin, nikola-sh, Nikolaus Wittenstein, Nikolay Shelukhin, Yannic Bonenberger, Yannic.
Bazel Release Systeme53c0282020-02-21 15:49:31 +01003909
Bazel Release Systeme6ee35f2020-02-07 13:56:14 +01003910## Release 2.1.0 (2020-02-07)
3911
3912```
3913Baseline: 41ec5a28fb30a8d6c5c60194c4bb29528352cf78
3914
3915Cherry picks:
3916
3917 + 733ac0ff7ad1e13ab68ceb2fde694d7ab71b2366:
3918 Adds an alias for d8_jar_import in android.WORKSPACE.
3919 + c94b1474b368dedf9f68f34fad90cc8664f2b0e0:
3920 Automatic code cleanup.
3921 + 2a8cc7075f741721563efd9dc050ca3458cde30b:
3922 Do not fail or print errors when Shellzelisk cannot find a
3923 requested ?
3924 + bdf34d7fd9539411e93348ba25307f34362d9a42:
3925 Fix race when extracting the install base when Bazel runs in a
3926 PID namespace.
3927 + d381c25bb7dd205c283f7ad91cac13190d2dfede:
3928 Fix wrong mode of install base directory.
3929 + eab39cc7b5a612f891fd1e5af5b45bdc1b66e6e1:
3930 Disable broken test_max_open_file_descriptors.
3931```
3932
3933Incompatible changes:
3934
3935 - The following attributes of CcToolchainProvider, which formerly
3936 were
3937 accessible both as fields (x.f) and as methods (x.f()), are now
3938 only fields:
3939
3940New features:
3941
3942 - Similar to the
3943 [.bazelignore](https://docs.bazel.build/versions/master/guide.html
3944 #.bazelignore) in the main repository, a `.bazelignore` file in
3945 external repository will cause the specified directories to be
3946 ignored by Bazel. Bazel won't try to identify any packages under
3947 the directories, but the files can still be referenced in other
3948 BUILD files.
3949 - bazelignore files now support line comments, e.g. "# this is a
3950 comment"
3951
3952Important changes:
3953
3954 - Experimental support for d8 merger is now available for use using
3955 --define=android_dexmerger_tool=d8_dexmerger.
3956 - Critical path run time should not have a longer run time than
3957 total execution run time.
3958 - Remove "please do not import" warning for cc rules.
3959 - x.f() is now equivalent to y=x.f; y(). That is, x.f should return
3960 the same
3961 attribute value regardless of whether it is accessed as a field
3962 or called
3963 like a method. Any arguments to the call are evaluated after the
3964 x.f operation.
3965 - Add desugaring support for RoleManager#addRoleHolderAsUser
3966 - Adds ctx.target_platform_has_constraint to allow rules to check
3967 the target platform's constraints.
3968 - Critical path run time should not have a longer run time than
3969 total execution run time.
3970 - Post new ConvenienceSymlinksIdentifiedEvent to the
3971 BuildEventProtocol when
3972 --experimental_convenience_symlinks_bep_event is enabled.
3973 - Keyword-only arguments are now allowed:
3974 def foo(a, *, k): pass
3975 def foo(a, *b, k): pass
3976 where k can be specified only by keyword:
3977 foo(5, k=6)
3978 - Generated Go protobufs now depend on //net/proto2/go:protodeps in
3979 addition to //net/proto2/go:proto
3980 - cquery 'somepath' returns more reliable results when the
3981 dep has a different configuration than the parent. To get a
3982 result for
3983 `somepath(//foo, //bar`) where //bar isn't in the top-level
3984 configuration,
3985 run your query with `--universe_scope=//foo`. See cquery docs for
3986 details.
3987
3988This release contains contributions from many people at Google, as well as Adam Liddell, Alessandro Patti, Andreas Herrmann, Bor Kae Hwang, Brian Silverman, Emran BatmanGhelich, George Gensure, Greg Estren, Jeff Palm, Jonathan Beverly, Mark Nevill, Patrick Niklaus, Peter, Philipp Wollermann, Ryan Beasley, Shin Yamamoto, Yen-Chi Chen.
3989
Bazel Release System59e36002019-12-19 13:26:27 +01003990## Release 2.0.0 (2019-12-19)
3991
3992```
3993Baseline: 807ed23e4f53a5e008ec823e9c23e2c9baa36d0d
3994
3995Cherry picks:
3996
3997 + db0e32ca6296e56e5314993fe9939bc7331768ec:
3998 build.sh: Fix bug in build script for RC release
3999 + 85e84f7812f04bc0dbc36376f31b6dd2d229b905:
4000 Set --incompatible_prohibit_aapt1 default to true.
4001 + 84eae2ff550c433a3d0409cf2b5525059939439d:
4002 Let shellzelisk fallback to bazel-real if it's the requested
4003 version.
4004 + d5ae460f1581ddf27514b4be18255481b47b4075:
4005 Fix a typo in bazel.sh
4006```
4007
4008Incompatible changes:
4009
4010 - --incompatible_remap_main_repo is enabled by default. Therefore,
4011 both ways of addressing the main repository, by its name and by
4012 '@' are now considered referring to the same repository.
4013 see https://github.com/bazelbuild/bazel/issues/7130
4014 - --incompatible_disallow_dict_lookup_unhashable_keys is enabled by
4015 default https://github.com/bazelbuild/bazel/issues/9184
4016 - --incompatible_remove_native_maven_jar is now enabled by default
4017 and the flag removed. See https://github.com/bazelbuild/bazel/issues/6799
4018 - --incompatible_prohibit_aapt1 is enabled by default.
4019 See https://github.com/bazelbuild/bazel/issues/10000
4020
4021Important changes:
4022
4023 - --incompatible_proto_output_v2: proto v2 for aquery proto output
4024 formats, which reduces the output size compared to v1. Note that
4025 the messages' ids in v2 are in uint64 instead of string like in
4026 v1.
4027 - Adds --incompatible_remove_enabled_toolchain_types.
4028 - Package loading now consistently fails if package loading had a
4029 glob evaluation that encountered a symlink cycle or symlink
4030 infinite expansion. Previously, such package loading with such
4031 glob evaluations would fail only in some cases.
4032 - The --disk_cache flag can now also be used together
4033 with the gRPC remote cache.
4034 - An action's discover inputs runtime metrics is now categorized as
4035 parse time on the CriticalPathComponent.
4036 - Make the formatting example more like to the written text by
4037 adding an initial description.
4038 - An action's discover inputs runtime metrics is now categorized as
4039 parse time on the CriticalPathComponent.
4040 - Bazel's Debian package and the binary installer now include an
4041 improved wrapper that understands `<WORKSPACE>/.bazelversion`
4042 files and the `$USE_BAZEL_VERSION` environment variable. This is
4043 similar to what Bazelisk offers
4044 (https://github.com/bazelbuild/bazelisk#how-does-bazelisk-know-whi
4045 ch-bazel-version-to-run-and-where-to-get-it-from), except that it
4046 works offline and integrates with apt-get.
4047 - We are planning to deprecate the runfiles manifest files, which
4048 aren't safe in the presence of whitespace, and also unnecessarily
4049 require local CPU when remote execution is used. This release
4050 adds --experimental_skip_runfiles_manifests to disable the
4051 generation of the input manifests (rule.manifest files) in most
4052 cases. Note that this flag has no effect on Windows by default or
4053 if --experimental_enable_runfiles is explicitly set to false.
4054
4055This release contains contributions from many people at Google, as well as aldersondrive, Benjamin Peterson, Bor Kae Hwang, David Ostrovsky, Jakob Buchgraber, Jin, John Millikin, Keith Smiley, Lauri Peltonen, nikola-sh, Peter Mounce, Tony Hsu.
4056
Bazel Release System5be24a82019-11-26 16:19:50 +01004057## Release 1.2.1 (2019-11-26)
4058
4059```
4060Baseline: 11deef7582dfeec7a04ee3f7236393d9b8027367
4061
4062Cherry picks:
4063
4064 + c76c3e539c73ecf6e96e3e098be7be59e17bf276:
4065 Replace macOS CC path with relative path
4066 + 63332eb556fadfe9edd0806add79942482adddef:
4067 Hardcode path to dirname on macOS
4068 + ceadf0a063cb97c32aced143d2447781d1dafc38:
4069 Add tool executables (from FilesToRunProvider) to action inputs.
4070 + dbe63b00954a25fa4405f7cbf273df78c16498dd:
4071 Fix some of the bazel Windows tools code to work with GCC.
4072```
4073
4074This release fixes a single regression:
4075- #10297: Bazel 1.2.0 does no longer run on macOS High Sierra.
4076
4077It is the same code as Bazel 1.2.0, except that we rebuild the macOS release
4078binaries with Xcode 10.2.1 to make them backwards compatible with older macOS
4079versions again.
4080
Bazel Release Systemef69db82019-11-20 16:01:18 +01004081## Release 1.2.0 (2019-11-20)
4082
4083```
4084Baseline: 11deef7582dfeec7a04ee3f7236393d9b8027367
4085
4086Cherry picks:
4087
4088 + c76c3e539c73ecf6e96e3e098be7be59e17bf276:
4089 Replace macOS CC path with relative path
4090 + 63332eb556fadfe9edd0806add79942482adddef:
4091 Hardcode path to dirname on macOS
4092 + ceadf0a063cb97c32aced143d2447781d1dafc38:
4093 Add tool executables (from FilesToRunProvider) to action inputs.
4094 + dbe63b00954a25fa4405f7cbf273df78c16498dd:
4095 Fix some of the bazel Windows tools code to work with GCC.
4096```
4097
4098Incompatible changes:
4099
4100 - Tree artifacts and regular artifact paths can no longer overlap.
4101
4102New features:
4103
4104 - Added a special "_validation" output group to enable moving
4105 "validation actions" off the critical path of builds.
4106
4107Important changes:
4108
4109 - The query flag "--host_deps" (commonly used as "--nohost_deps")
4110 has been renamed to "--tool_deps", and now also removes
4111 dependencies in any execution configuration from being reported
4112 in the query output. The previous flag name is deprecated and
4113 will be removed in a future release.
4114 - The `cc_common.{compile,link}` APIs can now be used without
4115 passing the `--experimental_cc_skylark_api_enabled_packages` flag.
4116 - A list of log paths will be provided in build output.
4117 - Improve runfiles documentation.
4118 - Improve documentation on rule outputs.
4119 - BUILD/.bzl execution errors cause execution to stop, even at
4120 top-level
4121 - Multiple Starlark validation errors are reported in a single pass.
4122 - Introduce --experimental_nested_set_as_skykey_threshold
4123 - Blaze will prevent idle sleep during test and build actions. Note
4124 that this does not affect screen savers and will not keep a
4125 laptop awake if the user forces sleep or closes the lid. This is
4126 purely to avoid idle sleeping when the user is not interacting
4127 with the device.
4128 - Improve testing docs.
4129 - Incompatible flag
4130 `--incompatible_validate_top_level_header_inclusions` has been
4131 added. See https://github.com/bazelbuild/bazel/issues/10047 for
4132 details.
4133 - Fix an aquery bug with handling malformed queries that crashes
4134 bazel.
4135 - List fields on CcLinkingOutputs.
4136 - [Python] Added flag --incomaptible_default_to_explicit_init_py to
4137 switch the default value of legacy_create_init to True. With this
4138 flag enabled, your py_binary and py_test targets will no longer
4139 behave as if empty __init__.py files were implicitly littered in
4140 your runfiles tree. See
4141 [#10076](https://github.com/bazelbuild/bazel/issues/10076).
4142 - Fix documentation on allowed target names.
4143 - --target_platform_fallback now also applies to exec/host
4144 configurations
4145 - android_binary and android_libary can now depend on targets
4146 providing
4147 CcInfos.
4148 - Add support for tracking suspensions (sleeps or SIGSTOP) on macOS.
4149 - d8 dexers (both standalone and incremental) are now available for
4150 use.
4151 - Add Desugar support for FreezePeriod#<init>
4152
4153This release contains contributions from many people at Google, as well as Alex Kirchhoff, Andrew Suffield, Asaf Flescher, Austin Schuh, Benjamin Peterson, Bor Kae Hwang, Brian Richardson, Christy Norman, Clint Harrison, Dan Halperin, Daniel Martn, Dave Lee, David Neil, David Ostrovsky, George Gensure, Greg Estren, Greg, Ira Shikhman, Jacob Parker, Jakub Bujny, John Millikin, John Millikin, Keith Smiley, Laurent Le Brun, marcohu, Marwan Tammam, Mostyn Bramley-Moore, Peter Mounce, Ruben Das, Stepan Koltsov, Thi Don, Thi, Tomasz Strejczek, Walt Panfil, Yannic Bonenberger, Zackary Lowery.
4154
Bazel Release Systemf15bfb32019-10-21 12:49:43 +02004155## Release 1.0.1 (2019-10-21)
Bazel Release Systeme693c192019-10-21 10:40:19 +02004156
4157```
Bazel Release Systemf15bfb32019-10-21 12:49:43 +02004158Baseline: 97a82646dadd93bf52d47828bda42e3383b657c6
Bazel Release Systeme693c192019-10-21 10:40:19 +02004159
4160Cherry picks:
4161
Bazel Release Systemf15bfb32019-10-21 12:49:43 +02004162 + a0e3bb207fe2044120a2555a37162ee1f2b17500:
4163 Remove support for authentication and .netrc
4164 + ada2c55dcc106cd55bafbbe5d9a966e21e4770e0:
4165 Add explicit --sdk argument to xcrun calls
4166 + 847df729528f6e5919ec8374247eadf792cba544:
4167 toolchain_vanilla: Unset source and target language level
4168 versions
4169 + 5cfa0303d6ac3b5bd031ff60272ce80a704af8c2:
4170 Update java_tools version to javac11-v5.1.
4171 + 9c257df5b9b1de5459fc066e77c435ae085957a7:
4172 Release 1.0.0 (2019-10-10)
4173 + f7a31b30f5319639c36a6c6b1c14f358597d98d2:
4174 Prevent action-cache duplicate suppression
4175 + 618e5a28f7f735c37724377b15775a4975349c74:
4176 Use FileSystemUtils.moveFile instead of renameTo function of Path
Bazel Release Systeme693c192019-10-21 10:40:19 +02004177```
4178
Bazel Release Systemf15bfb32019-10-21 12:49:43 +02004179This release contains contributions from many people at Google, as well as David Ostrovsky, George Gensure, Keith Smiley.
Bazel Release Systeme693c192019-10-21 10:40:19 +02004180
Bazel Release Systemb9067c42019-10-10 11:55:50 +02004181## Release 1.0.0 (2019-10-10)
Bazel Release System4f9cd082019-09-10 09:39:08 -04004182
4183```
Bazel Release Systemb9067c42019-10-10 11:55:50 +02004184Baseline: 97a82646dadd93bf52d47828bda42e3383b657c6
Bazel Release System4f9cd082019-09-10 09:39:08 -04004185
4186Cherry picks:
4187
Bazel Release System4f9cd082019-09-10 09:39:08 -04004188 + a0e3bb207fe2044120a2555a37162ee1f2b17500:
4189 Remove support for authentication and .netrc
Bazel Release Systemb9067c42019-10-10 11:55:50 +02004190 + ada2c55dcc106cd55bafbbe5d9a966e21e4770e0:
4191 Add explicit --sdk argument to xcrun calls
4192 + 847df729528f6e5919ec8374247eadf792cba544:
4193 toolchain_vanilla: Unset source and target language level
4194 versions
4195 + 5cfa0303d6ac3b5bd031ff60272ce80a704af8c2:
4196 Update java_tools version to javac11-v5.1.
Bazel Release System4f9cd082019-09-10 09:39:08 -04004197```
4198
Bazel Release Systemb9067c42019-10-10 11:55:50 +02004199Incompatible changes:
4200
4201 - Python, Windows: the
4202 --[no]incompatible_windows_escape_python_args is no longer
4203 supported. (It was flipped to true in Bazel 0.27.0)
4204 - --incompatible_use_native_patch is enabled by default
4205 - Windows: --incompatible_windows_bashless_run_command is now true
4206 by default, meaning "bazel run //foo:bin" will run the binary as
4207 a subprocess of the Bazel client. (When the flag is false, the
4208 binary is executed as a subprocess of Bash.)
4209 - Windows: --incompatible_windows_native_test_wrapper is enabled by
4210 default
4211
4212New features:
4213
4214 - Genrule now supports `cmd_bash`, `cmd_ps`, `cmd_bat` attributes.
4215 More details at
4216 https://docs.bazel.build/versions/master/be/general.html#genrule.c
4217 md
4218 - config_setting can now check multiple values on "--foo=firstVal
4219 --foo=secondVal ..."-style flags
4220 - tags: use `--experimental_allow_tags_propagation` flag to
4221 propagate tags to the action's execution requirements from
4222 targets. Such tags should start with: `no-`, `requires-`,
4223 `supports-`, `block-`, `disable-`, `cpu:`. See #8830 for details.
4224 - Users can now get generated def file from cc_library via
4225 "def_file" output group on Windows.
4226 - Platform-specific bazelrc: with --enable_platform_specific_config
4227 you can
4228 enable flags in bazelrc according to your host platform.
4229 - tags: use `--experimental_allow_tags_propagation` flag to
4230 propagate tags to the action's execution requirements from
4231 cc_library or cc_binary targets. Such tags should start with:
4232 `no-`, `requires-`, `supports-`, `block-`, `disable-`, `cpu:`.
4233 See #8830 for details.
4234 - tags: use --experimental_allow_tags_propagation flag to propagate
4235 tags to the action's execution requirements from java targets.
4236 Such tags should start with: no-, requires-, supports-, block-,
4237 disable-, cpu:. See #8830 for details.
4238
4239Important changes:
4240
4241 - Bazel Android builds now use aapt2 by default. To revert to aapt,
4242 set `--android_aapt=aapt`.
4243 - Make either --subcommands or --verbose_failures imply
4244 --materialize_param_files
4245 - Bazel Android builds now use aapt2 by default. To revert to aapt,
4246 set `--an...
4247 RELNOTES: None
4248 - by default all remote connections considered to be via `gRPC`
4249 with TLS enabled, unless other specified. To disable TLS use
4250 `grpc://` prefix for you endpoints. All remote connections via
4251 `gRPC` affected - `--remote_cache`, `--remote_executor` or
4252 `--bes_backend`. http cache/executor is not affected. See #8061
4253 for details.
4254 - cc_* rules support non-transitive defines through a
4255 'local_defines' attribute.
4256 - Enable
4257 incompatible_disallow_rule_execution_platform_constraints_allowed
4258 by default (https://github.com/bazelbuild/bazel/issues/8136).
4259 - incompatible_disallow_split_empty_separator is enabled by default
4260 - Fixed Android build issues with aapt2 on Windows. See the [GitHub
4261 issue](https://github.com/bazelbuild/bazel/issues/9102) for more
4262 information.
4263 - --incompatible_disable_static_cc_toolchains has been flipped. See
4264 https://github.com/bazelbuild/bazel/issues/8546.
4265 - --remote_default_platform_properties has been deprecated in favor
4266 of --remote_default_exec_properties.
4267 - The --incompatible_make_thinlto_command_lines_standalone flag has
4268 been flipped, see https://github.com/bazelbuild/bazel/issues/6791
4269 for more information.
4270 - The --incompatible_use_specific_tool_files flag has been flipped.
4271 See https://github.com/bazelbuild/bazel/pull/9126 for more
4272 information.
4273 - Clarify default visibility.
4274 - Enables incompatible_auto_configure_host_platform
4275 - New incompatible flag --incompatible_disable_depset_items
4276 disables the "items" parameter in the Starlark depset
4277 constructor. Use "direct" and "transitive" parameters instead.
4278 - --incompatible_assignment_identifiers_have_local_scope is enabled
4279 - incompatible_disable_partition_default_parameter is enabled by
4280 default ()
4281 - incompatible_restrict_attribute_names is enabled
4282 (https://github.com/bazelbuild/bazel/issues/6437)
4283 - The --incompatible_disable_nocopts flag has been flipped. See
4284 https://github.com/bazelbuild/bazel/issues/8546 for more
4285 information.
4286 - Deprecated Java-Starlark API java_common.create_provider is
4287 removed. JavaInfo() legacy args (actions, sources, source_jars,
4288 use_ijar, java_toolchain, host_javabase) are removed.
4289 - The flag incompatible_disallow_hashing_frozen_mutables is enabled
4290 (https://github.com/bazelbuild/bazel/issues/7800)
4291 - `maven_jar` and `maven_server` now disallow using plain HTTP URLs
4292 without a specified checksum. If you are still using `maven_jar`,
4293 consider migrating to
4294 [`rules_jvm_external`](https://github.com/bazelbuild/rules_jvm_ext
4295 ernal) for transitive dependency management. See
4296 [#8607](https://github.com/bazelbuild/bazel/issues/8607) for more
4297 information.
4298 - Added `sha256` and `sha256_src` attributes to `maven_jar`. Please
4299 consider migrating to SHA-256 as SHA-1 has been deemed
4300 cryptographically insecure ([https://shattered.io]()). Or, use
4301 [`rules_jvm_external`](https://github.com/bazelbuild/rules_jvm_ext
4302 ernal) to manage your transitive Maven dependencies with artifact
4303 pinning and SHA-256 verification support.
4304 - introducing per-target exec_properties
4305 - Bazel now supports ThinLTO builds on Linux for Clang versions >=
4306 6.0. ThinLTO can be enabled through --features=thin_lto
4307 - The Target.output_group field in Starlark is removed. Use
4308 OutputGroupInfo instead. See
4309 https://github.com/bazelbuild/bazel/issues/7949 for details.
4310 - Make a number of parameters of Starlark builtin functions
4311 positional-only (as opposed to specifiable by keyword). See
4312 https://github.com/bazelbuild/bazel/issues/8147 for details.
4313 - incompatible_skip_genfiles_symlink is enabled by default (#8651)
4314 - Change Pruned events will fire immediately after being checked.
4315 - --incompatible_remove_legacy_whole_archive has been flipped. See
4316 https://github.com/bazelbuild/bazel/issues/7362 for more
4317 information
4318
4319This release contains contributions from many people at Google, as well as Adam Liddell, Alessandro Patti, Arshabh Kumar Agarwal, Artem Pelenitsyn, Artem Zinnatullin, Benjamin Peterson, David Ostrovsky, Emmanuel Goh, Farhim Ferdous, George Gensure, iirina, Keith Smiley, Kiril Videlov, Laurent Le Brun, Mantas Sakalauskas, Marwan Tammam, Matt Mukerjee, panzhongxian, Shachar Anchelovich, Stepan Koltsov, Stephan Wolski, Travis Clarke, Yannic Bonenberger, Yuta Saito.
Bazel Release System4f9cd082019-09-10 09:39:08 -04004320
Bazel Release Systemf791df02019-08-28 10:29:12 -04004321## Release 0.29.0 (2019-08-28)
4322
4323```
4324Baseline: 6c5ef5369a3ffceb8a65cc159a2fff1401242810
4325
4326Cherry picks:
4327
4328 + 338829f2633e91ae0492ee4169446465e10b5994:
4329 Fix retrying of SocketTimeoutExceptions in HttpConnector
4330 + 14651cd86b6fc1d48f56a208a9b5278b3e2dcf75:
4331 Fallback to next urls if download fails in HttpDownloader
4332 + b7d300c6be3e130dec0e62a4f19493105f595d57:
4333 Fix incorrect stdout/stderr in remote action cache. Fixes #9072
4334 + 960217631abdcab0a7ed95e2ab10acd55f636639:
4335 Automated rollback of commit
4336 0f0a0d58725603cf2f1c175963360b525718a195.
4337 + da557f96c697102ad787e57bbf7db2460f6a60a8:
4338 Windows: fix "bazel run" argument quoting
4339 + ef8b6f68cc8ffd2e6523a894034ae383e87ec74c:
4340 Return JavaInfo from java proto aspects.
4341 + 209175ff8ffeb05628ed8a187dd414a3d2935c55:
4342 Revert back to the old behavior of not creating a proto source
4343 root for generated .proto files.
4344 + 644060b7a4bc98384b66e3d2343b950b875b5e35:
4345 Fix PatchUtil for parsing special patch format
4346 + 067040d7bcb3b24a88432e210a96adacee3f37b4:
4347 Put the removal of the legacy repository-relative proto path
4348 behind the --incompatible_generated_protos_in_virtual_imports
4349 flag.
4350 + 76ed014e77d7b862f6eb2894600ae525ea570f11:
4351 repository mapping lookup: convert to canonical name first
4352```
4353
4354Important changes:
4355
4356 - rule_test: fix Bazel 0.27 regression ("tags" attribute was
4357 ingored, https://github.com/bazelbuild/bazel/issues/8723
4358 - Adds --incompatible_enable_execution_transition, which enables
4359 incremental migration of host attributes to exec attributes.
4360 - objc_proto_library rule has been deleted from Bazel.
4361 - repository_ctx.read is no longer restricted to files
4362 in the repository contructed.
4363 - tags 'no-remote', 'no-cache', 'no-remote-cache',
4364 'no-remote-exec', 'no-sandbox' are propagated now to the actions
4365 from targets when '--ncompatible_allow_tags_propagation' flag set
4366 to true. See #8830.
4367 - Adds flag
4368 --//tools/build_defs/pkg:incompatible_no_build_defs_pkg. This
4369 flag turns off the rules //tools/build_defs/pkg:{pkg_deb,
4370 pkg_rpm, pkg_tar}.
4371 - The Android NDK is now integrated with toolchains. To use them,
4372 pass the `--extra_toolchains=@androidndk//:all` flag or register
4373 them in your WORKSPACE with
4374 `register_toolchains("@androidndk//:all")`.
4375 - Stdout and stderr are checked to determine if output is going to a
4376 terminal. `--is_stderr_atty` is deprecated and `--isatty` is
4377 undeprecated.
4378 - --incompatible_load_proto_rules_from_bzl was added to forbid
4379 loading the native proto rules directly. See more on tracking
4380 issue #8922
4381 - Docker Sandbox now respects remote_default_platform_properties
4382 - pkg_deb, pkg_rpm & pkg_tar deprecation plan announced in the
4383 documentation.
4384 - The new java_tools release:
4385 * fixes https://github.com/bazelbuild/bazel/issues/8614
4386 * exposes a new toolchain `@java_tools//:prebuilt_toolchain`
4387 which is using all the pre-built tools, including singlejar and
4388 ijar, even on remote execution. This toolchain should be used
4389 only when host and execution platform are the same, otherwise the
4390 binaries will not work on the execution platform.
4391 - java_common.compile supports specifying
4392 annotation_processor_additional_inputs and
4393 annotation_processor_additional_outputs for the Java compilation
4394 action for supporting annotation processors that consume or
4395 produce artifacts. Fixes #6415
4396 - There is now documentation on optimizing Android app build
4397 performance. Read it at
4398 https://docs.bazel.build/versions/0.29.0/android-build-performance
4399 .html
4400 - Execution log now respects --remote_default_platform_properties
4401 - Include a link to the relevant documenation on transitive Python
4402 version errors.
4403 - New incompatible flag
4404 --incompatible_disable_target_provider_fields removes the ability
4405 (in Starlark) to access a target's providers via the field syntax
4406 (for example, `ctx.attr.dep.my_provider`). The provider-key
4407 syntax should be used instead (for example,
4408 `ctx.attr.dep[MyProvider]`). See
4409 https://github.com/bazelbuild/bazel/issues/9014 for details.
4410 - A new platform exec_properties is added to replace
4411 remote_execution_properties.
4412 - Added --incompatible_load_python_rules_from_bzl, which will be
4413 flipped in Bazel 1.0. See
4414 https://github.com/bazelbuild/bazel/issues/9006.
4415 - add --break_build_on_parallel_dex2oat_failure to shortcut tests
4416 on dex2oat errors
4417
4418This release contains contributions from many people at Google, as well as Alexander Ilyin, Arek Sredzki, Artem Zinnatullin, Benjamin Peterson, Fan Wu, John Millikin, Loo Rong Jie, Marwan Tammam, Oscar Bonilla, Peter Mounce, Sergio Rodriguez Orellana, Takeo Sawada, and Yannic Bonenberger.
4419
Bazel Release System3fd8c412019-07-19 17:14:15 +02004420## Release 0.28.1 (2019-07-19)
4421
4422```
4423Baseline: 2e374a9c6e3d4ed71f0145de287c4b2fe43c76d6
4424
4425Cherry picks:
4426
4427 + 6d0b14b95a71175362030b4811ca74512b00a890:
4428 rule_test: apply "tags" to all rules in the macro
4429 + 18cd9048526f067a4950c6ddbf4b1b3604760af0:
4430 Release 0.28.0 (2019-07-10)
4431 + 2260b970cb2a10c21a2fde116aa82c79be52991f:
4432 When copying dynamic libraries to binary, copy them into the
4433 runfiles as well.
4434 + a0af170f87c8230fcd8860599b983df097b646bd:
4435 Undo breaking change of hiding android_common behind
4436 --experimental_google_legacy_api
4437 + c6ca6c2ccd9e11a87f837341ae05d2ba037975b1:
4438 Ignore external/ directory in users' source tree when creating
4439 execroot symlink tree.
4440```
4441
4442Important changes:
4443
4444 - rule_test: fix Bazel 0.27 regression ("tags" attribute was
4445 ingored, https://github.com/bazelbuild/bazel/issues/8723
4446
4447This release contains contributions from many people at Google, as well as .
4448
Bazel Release Systemf4a08032019-07-10 18:11:04 +02004449## Release 0.28.0 (2019-07-10)
Bazel Release System7e809492019-07-10 17:50:43 +02004450
4451```
Bazel Release Systemf4a08032019-07-10 18:11:04 +02004452Baseline: 2e374a9c6e3d4ed71f0145de287c4b2fe43c76d6
Bazel Release System7e809492019-07-10 17:50:43 +02004453
4454Cherry picks:
4455
Bazel Release System7e809492019-07-10 17:50:43 +02004456 + 6d0b14b95a71175362030b4811ca74512b00a890:
4457 rule_test: apply "tags" to all rules in the macro
4458```
4459
Bazel Release Systemf4a08032019-07-10 18:11:04 +02004460Incompatible changes:
4461
4462 - Add --incompatible_enable_profile_by_default to enable the JSON
4463 profile by default.
4464 - The --incompatible_windows_style_arg_escaping flag is flipped to
4465 "true", and the "false" case unsupported. Bazel no longer accepts
4466 this flag.
4467
Bazel Release System7e809492019-07-10 17:50:43 +02004468Important changes:
4469
Bazel Release Systemf4a08032019-07-10 18:11:04 +02004470 - Bazel now supports hiding compiler warnings for targets that
4471 you're not explicitly building (see
4472 https://docs.bazel.build/versions/master/user-manual.html#flag--au
4473 to_output_filter).
4474 - Flag `--incompatible_restrict_escape_sequences` is added. See
4475 https://github.com/bazelbuild/bazel/issues/8380
4476 - The "info" command now supports the "starlark-semantics"
4477 argument, which outputs a representation of the effective Starlark
4478 semantics option values.
4479 - The `outputs` parameter of the `rule()` function is deprecated
4480 and attached to flag `--incompatible_no_rule_outputs_param`.
4481 Migrate rules to use `OutputGroupInfo` or `attr.output` instead.
4482 See https://github.com/bazelbuild/bazel/issues/7977 for more info.
Bazel Release System7e809492019-07-10 17:50:43 +02004483 - When `--incompatible_strict_action_env` is enabled, the default
4484 `PATH` now includes `/usr/local/bin`.
4485 - Turn on --experimental_build_setting_api by default for starlark
4486 build settings (see
4487 https://docs.bazel.build/versions/master/skylark/config.html#user-
4488 defined-build-settings for more info)
Bazel Release Systemf4a08032019-07-10 18:11:04 +02004489 - `@bazel_tools//tools/jdk:toolchain_java10` and
4490 `@bazel_tools//tools/jdk:toolchain_java11` are now available to
4491 enable java 10, respectively java 11 language level support.
4492 - The `command` parameter of the `actions.run_shell()` function
4493 will be restricted to only accept strings (and not string
4494 sequences). This check is attached to flag
4495 `--incompatible_run_shell_command_string`. One may migrate by
4496 using the `arguments` parameter of `actions.run()` instead. See
4497 https://github.com/bazelbuild/bazel/issues/5903 for more info.
4498 - Incompatible change
4499 `--incompatible_use_platforms_repo_for_constraints` has been
4500 added. See https://github.com/bazelbuild/bazel/issues/8622 for
4501 details.
4502 - Incompatible change
4503 `--incompatible_use_platforms_repo_for_constraints` has been
4504 added. See https://github.com/bazelbuild/bazel/issues/8622 f...
4505 - Bazel's C++ autoconfiguration now understands `BAZEL_LINKLIBS`
4506 environment variable to specify system libraries that should be
4507 appended to the link command line.
4508 - paths under the execution root starting with "." or "_" will be
4509 re-linked across builds
4510 - execution_log_json_file now allows actions without outputs.
4511 - Labels aapt as deprecated for aapt_version, and heavily endorses
4512 aapt2.
4513 - Update doc links still pointing to cc_binary.features to point to
4514 common features
4515 - Incompatible change
4516 `--incompatible_use_platforms_repo_for_constraints` has been
4517 added. See https://github.com/bazelbuild/bazel/issues/8622 for
4518 details.
4519 RELNOTES:
4520 - --incompatible_disable_nocopts flag has been added. See
4521 https://github.com/bazelbuild/bazel/issues/8706 for details.
4522 - Fixed treatment of <dist:module /> tags in AndroidManifest.xml
4523 - Fixed asset precedence for android_binary rules with aapt2.
4524 - Bazel now officially supports running on CentOS 7.
4525 - The runtime dynamic libraries are no longer in default output
4526 group of cc_binary.
4527 - set the FDOBuildType as CSFDO for binaries built with
4528 --cs_fdo_absolute_path.
4529 - Bazel can now be bootstrapped and built on arm64 platforms
4530 without requiring any flags or patches.
4531 - Fixed treatment of AndroidManifest.xml attributes which contained
4532 XML escaping
4533 - Retire experimental blaze flag
4534 experimental_link_compile_output_separately. The same behavior is
4535 available through the feature dynamic_link_test_srcs.
4536 - --incompatible_load_java_rules_from_bzl was added to forbid
4537 loading the native java rules directly. See more on tracking
4538 issue #8746
4539 - Turn on --experimental_build_setting_api by default for starlark
4540 build settings (see
4541 https://docs.bazel.build/versions/master/skylark/config.html#user-
4542 defined-build-settings for more info)
4543 - Attribute names are going to be restricted and must be
4544 syntactically valid identifiers.
4545 https://github.com/bazelbuild/bazel/issues/6437
Bazel Release System7e809492019-07-10 17:50:43 +02004546 - rule_test: fix Bazel 0.27 regression ("tags" attribute was
4547 ingored, https://github.com/bazelbuild/bazel/issues/8723
4548
Bazel Release Systemf4a08032019-07-10 18:11:04 +02004549This release contains contributions from many people at Google, as well as Ben Diuguid, Benjamin Peterson, Dave Lee, Loo Rong Jie, Mark Butcher, Marwan Tammam, Pedro Alvarez.
Bazel Release System7e809492019-07-10 17:50:43 +02004550
Bazel Release System316cb9b2019-07-02 19:45:51 +02004551## Release 0.27.1 (2019-07-02)
4552
4553```
4554Baseline: 8c3b3fba3f68833bd97d3df2db9c48f0539efc3b
4555
4556Cherry picks:
4557
4558 + 123c68daed17b19927372e4df7f7a2256db6b80e:
4559 Warn in more cases of possible Python version mismatch in host
4560 config
4561 + 052167e907373ac7ea43238c3049739f6e94a9d1:
4562 Add a non-strict autodetecting Python toolchain
4563 + 6ef6d879ab69225d54ecab3db847fb4eff33bbeb:
4564 Default java toolchain target
4565 + 50fa3ec27efdd95771c70faa38a4543d4fed44f2:
4566 Fix problems with the non-strict Python toolchain
4567 + e2a626c4f61fe4ceb79a5675d09a6f25ca7b5b22:
4568 Automated rollback of commit
4569 bc6f7cb330bb531f062bb301f3703876051191f5.
4570 + 6efc5b787ad3164cc2fb779c73377695032b4524:
4571 Treat existence of managed directories as a part of repository
4572 dirtiness.
4573 + 3a4be3c93813987a27a97dade3f9ebbc5770e349:
4574 Add /usr/local/bin to default PATH under strict action env
4575 + 5c1005c0947b010ee36ca851b8ba07c9479cf682:
4576 Automated rollback of commit
4577 536a166270590a8dbc701718550383f3a07cc763.
4578 + c82eb4878c7dc829455caeb915affe36c89df06f:
4579 Release 0.27.0 (2019-06-17)
4580 + d4589630428c1c1bc08a9baf36257e636fe9d746:
4581 Check for both :lcov_merger and $lcov_merger attributes in
4582 TestActionBuilder.
4583```
4584
4585Important changes:
4586
4587 - Add new options --cs_fdo_absolute_path= to support the absolute
4588 path
4589 profile for LLVM's context-sensitive FDO.
4590 - When `--incompatible_strict_action_env` is enabled, the default
4591 `PATH` now includes `/usr/local/bin`.
4592 - Turn on --experimental_build_setting_api by default for starlark
4593 build settings (see
4594 https://docs.bazel.build/versions/master/skylark/config.html#user-
4595 defined-build-settings for more info)
4596
4597This release contains contributions from many people at Google, as well as Ricky Pai.
4598
Bazel Release Systemaecb1e82019-06-17 14:57:36 +02004599## Release 0.27.0 (2019-06-17)
Bazel Release Systeme6976fb2019-06-06 13:01:57 +02004600
4601```
Bazel Release Systemaecb1e82019-06-17 14:57:36 +02004602Baseline: 5935259724bebd1c4bdebc90e159d0f655c8c219
Bazel Release Systeme6976fb2019-06-06 13:01:57 +02004603
4604Cherry picks:
4605
Bazel Release Systemaecb1e82019-06-17 14:57:36 +02004606 + fe81b49e727efdcc90a270520af193af75f4e31d:
4607 Support of using the absolute path profile for LLVM's Context
4608 Sensitive FDO
4609 + ce5e7180d98e1244fdfba0349952727826cbd173:
4610 Demote OptionProcessor from globals
4611 + 3ed9d3681c3e130aafcf3c405ff1795c601bdf95:
4612 Properly wire up BES half-close. The lack thereof was a simple
4613 oversight.
4614 + 4ca768e9f87701fb92598d0a8325a5fc8881a852:
4615 standardize graph output indentation with 2 spaces
4616 + aff189a7c514a0171a53a2dcdd37c93ecaa672ad:
4617 Make sure default Linux artifacts have an associated action,
4618 even when artifact names are altered.
4619 + 8c3b3fba3f68833bd97d3df2db9c48f0539efc3b:
4620 Failures early in package loading will now fail all --keep_going
4621 builds.
4622 + 123c68daed17b19927372e4df7f7a2256db6b80e:
4623 Warn in more cases of possible Python version mismatch in host
4624 config
4625 + 052167e907373ac7ea43238c3049739f6e94a9d1:
4626 Add a non-strict autodetecting Python toolchain
4627 + 6ef6d879ab69225d54ecab3db847fb4eff33bbeb:
4628 Default java toolchain target
4629 + 50fa3ec27efdd95771c70faa38a4543d4fed44f2:
4630 Fix problems with the non-strict Python toolchain
4631 + e2a626c4f61fe4ceb79a5675d09a6f25ca7b5b22:
4632 Automated rollback of commit
4633 bc6f7cb330bb531f062bb301f3703876051191f5.
4634 + 6efc5b787ad3164cc2fb779c73377695032b4524:
4635 Treat existence of managed directories as a part of repository
4636 dirtiness.
4637 + 3a4be3c93813987a27a97dade3f9ebbc5770e349:
4638 Add /usr/local/bin to default PATH under strict action env
4639 + 5c1005c0947b010ee36ca851b8ba07c9479cf682:
4640 Automated rollback of commit
4641 536a166270590a8dbc701718550383f3a07cc763.
Bazel Release Systeme6976fb2019-06-06 13:01:57 +02004642```
4643
Bazel Release Systemaecb1e82019-06-17 14:57:36 +02004644Incompatible changes:
4645
4646 - --incompatible_disable_objc_provider_resources no longer has
4647 effect. Use of deprecated resource fields on the Objc provider is
4648 now disallowed regardless of this flag.
4649 - deleted deprecated --experimental-remote-retry* flags, please use
4650 --remote_retries instead
4651 - flipped --incompatible_list_based_execution_strategy_selection
4652 flag to be true by default. See
4653 https://github.com/bazelbuild/bazel/issues/7480 for details.
4654 - Octal integer literals in Starlark are required to start with
4655 "Oo".
4656 - The "native" module is no longer available in BUILD files, all
4657 its members can be accessed directly as global symbols. This can
4658 be temporarily reverted by providing
4659 --incompatible_disallow_native_in_build_file=false as a flag to
4660 Blaze.
4661 - The "native" module is no longer available in BUILD files, all
4662 its members can be accessed directly as global symbols. This can
4663 be temporarily reverted by providing
4664 --incompatible_disallow_native_in_build_file=false as a flag to
4665 Blaze.
4666 - Turn off binary style profile format.
4667 - The "native" module is no longer available in BUILD files, all
4668 its members can be accessed directly as global symbols. This can
4669 be temporarily reverted by providing
4670 --incompatible_disallow_native_in_build_f...
4671 - cleanup that affects user provided apple frameworks is
4672 now enabled by default. See
4673 https://github.com/bazelbuild/bazel/issues/7944 for more info.
4674 - Python rules now determine the Python runtime using toolchains
4675 rather than `--python_top` and `--python_path`, which are
4676 deprecated. See
4677 [#7899](https://github.com/bazelbuild/bazel/issues/7899) for
4678 information on declaring Python toolchains and migrating your
4679 code. As a side-benefit, this addresses
4680 [#4815](https://github.com/bazelbuild/bazel/issues/4815)
4681 (incorrect interpreter version used) on non-Windows platforms.
4682 Note however that some builds break due to getting the version
4683 they asked for -- consider setting `python_version = "PY2"` on
4684 Python 2 targets and `--host_force_python=PY2` if any Python 2
4685 targets are used in the host configuration. You can temporarily
4686 opt out of this change with
4687 `--incompatible_use_python_toolchains=false`.
4688 - Depsets can't be iterated over unless they're converted to lists
4689 using the .to_list() method. Use
4690 --incompatible_depset_is_not_iterable=false to
4691 temporarily restore the previous behaviour.
4692
4693New features:
4694
4695 - Bash, runfiles: the copy-pasted init code of the Bash runfiles
4696 library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
4697 The rlocation() implementation is the same.
4698 - Bash, runfiles: the copy-pasted init code of the Bash runfiles
4699 library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
4700 The rlocation() implementation is the same.
4701 - Bash, runfiles: the copy-pasted init code of the Bash runfiles
4702 library is now shorter, see `tools/bash/runfiles/runfiles.bash`.
4703 To use the new init code, you need Bazel 0.27 or newer. The old
4704 (longer) init code still works.
4705
4706Important changes:
4707
4708 - The `outputs` parameter of the `rule()` function is deprecated
4709 and attached to flag `--incompatible_no_rule_outputs_param`.
4710 Migrate rules to use `OutputGroupInfo` or `attr.output` instead.
4711 See https://github.com/bazelbuild/bazel/issues/7977 for more info.
4712 - The --incompatible_disable_objc_library_resources flag is being
4713 removed. Please remove it from your configs as it otherwise will
4714 fail the build.
4715 - Add a generic additional_linker_inputs attribute on cc_binary
4716 rules.
4717 - Windows, C++ autoconfigure: BAZEL_VC and BAZEL_VS may now have
4718 quotes, so if you set these envvars' values in cmd.exe via
4719 TAB-completion then you no longer need to remove the surrounding
4720 quotes.
4721 - pkg_deb has new attributes: `config` and `templates` that can be
4722 used for integration with debconf
4723 - Allow cc_import() of a DLL with no interface library on Windows,
4724 used to document runtime dependencies.
4725 - All host-configured Python tools that are built for the wrong
4726 Python version will now emit a warning message when they exit
4727 with non-zero status. See #7899.
4728 - deprecated --remote_local_fallback_strategy. Use
4729 `--strategy=remote,local` instead. See
4730 https://github.com/bazelbuild/bazel/issues/7480.
4731 - Introduce --incompatible_disable_native_android_rules flag
4732 - The Android desugaring actions now support a persistent worker
4733 mode for faster local build performance. Enable it with
4734 `--strategy=Desugar=worker`.
4735 - --incompatible_static_name_resolution_in_build_files is now
4736 enabled by default
4737 - --incompatible_disable_deprecated_attr_params is now enabled by
4738 default (#5818)
4739 - Repository containing autoconfigured C++ toolchain
4740 `@local_config_cc` has been split in 2 - see
4741 `local_config_cc_toolchains`.
4742 - --incompatible_string_join_requires_strings is now enabled by
4743 default
4744 - Flag --incompatible_new_actions_api is enabled by dewfault (#5825)
4745 - New flag `--incompatible_disallow_empty_glob`. See
4746 https://github.com/bazelbuild/bazel/issues/8195
4747 - --incompatible_no_kwargs_in_build_files is enabled by default
4748 - Incompatible flag
4749 `--incompatible_require_ctx_in_configure_features` has been
4750 flipped. See https://github.com/bazelbuild/bazel/issues/7793 for
4751 more information.
4752 - `BAZEL_USE_XCODE_TOOLCHAIN=1` tells Bazel not to look for Xcode to
4753 decide whether to enable toolchains for Apple rules, but to
4754 assume Xcode is
4755 available. Can be also used when building on Darwin and no C++ or
4756 ObjC is being
4757 built, so there is no need to detect Xcode.
4758 - Android desugaring actions now use persistent workers by default.
4759 This has been measured to provide up to 20% reduction in build
4760 times. To disable it, use the `--strategy=Desugar=sandboxed`
4761 flag. See https://github.com/bazelbuild/bazel/issues/8342 and
4762 https://github.com/bazelbuild/bazel/issues/8427 for more details
4763 on local build speed optimization for Android apps.
4764 - Fixed an issue with Android builds where `--fat_apk_cpu` doesn't
4765 pack all selected shared libraries from `aar_import` targets into
4766 the APK. See
4767 [#8283](https://github.com/bazelbuild/bazel/issues/8283).
4768 - Turn on --experimental_starlark_config_transitions by default for
4769 starlark transitions (see
4770 https://docs.bazel.build/versions/master/skylark/config.html#user-
4771 defined-transitions for more info)
4772 - Turn on --experimental_build_setting_api by default for starlark
4773 build settings (see
4774 https://docs.bazel.build/versions/master/skylark/config.html#user-
4775 defined-build-settings for more info)
4776 - Incompatible flag
4777 `--incompatible_dont_enable_host_nonhost_crosstool_features` has
4778 been flipped. See https://github.com/bazelbuild/bazel/issues/7407
4779 for more information.
4780 - Added support for Android NDK 19 and 20.
4781 - Flip --incompatible_no_support_tools_in_action_inputs
4782 - --remote_executor, --remote_cache or --bes_backend=someurl.com
4783 would be treated as grpcs://someurl.com, if the
4784 --incompatible_tls_enabled_removed flag enabled. See
4785 https://github.com/bazelbuild/bazel/issues/8061 for details.
4786 - Add new options --cs_fdo_absolute_path= to support the absolute
4787 path
4788 profile for LLVM's context-sensitive FDO.
4789 - When `--incompatible_strict_action_env` is enabled, the default
4790 `PATH` now includes `/usr/local/bin`.
4791 - Turn on --experimental_build_setting_api by default for starlark
4792 build settings (see
4793 https://docs.bazel.build/versions/master/skylark/config.html#user-
4794 defined-build-settings for more info)
4795
4796This release contains contributions from many people at Google, as well as Alex Thompson, Andy Scott, Benjamin Peterson, David McNett, Drew Gassaway, Ira Shikhman, James deBoer, Jay Vercellone, Jingwen Chen, Josh Rosen, Keith Smiley, Laurent Le Brun, Lee Mracek, Marwan Tammam, Matt Passell, Michael Hackner, Michal Majcherski, Patrick Niklaus, Peter Mounce, Ricky Pai, Steeve Morin, szakmary, Takuto Ikuta, Vladimir Chebotarev, Yen-Chi Chen.
Bazel Release Systeme6976fb2019-06-06 13:01:57 +02004797
Klaus Aehligc84f7d32019-06-17 15:26:27 +02004798## Release 0.26.1 (2019-06-06)
4799
4800```
4801Baseline: cb82ed84d44db0169a8fbf15f9cee434b77002bb
4802
4803Cherry picks:
4804
4805 + d1c0d205945f5a765efb0a48593b1cd82699ce32:
4806 Allow WORKSPACE file to be a symlink if no managed directories
4807 is used.
4808 + c3d2aa74ccd23dfb8a8173c2b3e2955f0c5892cb:
4809 Fix ios, tvos and watchos arm64 constraints
4810 + 55e42052a22a60b68d88a89932b2a068311b1a95:
4811 Bump java_tools_javac10 from 3.1 to 3.2
4812```
4813
4814Patch release on top of 0.26.0, fixing
4815- https://github.com/bazelbuild/bazel/issues/8475
4816- https://github.com/bazelbuild/bazel/issues/8520
4817- https://github.com/bazelbuild/intellij/issues/845
4818
Bazel Release System8089b272019-05-28 10:31:53 +02004819## Release 0.26.0 (2019-05-28)
Bazel Release System48845c32019-05-23 15:21:53 -04004820
4821```
Bazel Release System8089b272019-05-28 10:31:53 +02004822Baseline: daa8ae565ab2023e49134f0aad233b0a8bd7a5d0
Bazel Release System48845c32019-05-23 15:21:53 -04004823
4824Cherry picks:
4825
Bazel Release System8089b272019-05-28 10:31:53 +02004826 + 61c7ffa60ae9c1937dd6d8ee30a8c0471094ee71:
4827 Automated rollback of commit
4828 87388e24814b177f54ca7697b4233489f90c587e.
4829 + 898d7b6138af73f03daf35b767d252560087de70:
4830 Add test for repository overrides, conflicting with managed
4831 directories being added when Bazel server is already started.
4832 + c2001a4569483596d9dc74ba9cabcbe4b6f1887f:
4833 Automated rollback of commit
4834 bbe47a1564a832e1a175206f2dfbc92af94c120b.
4835 + e67c961905792cd63950c6f6efc33275ad243c49:
4836 Fix a non-determinism in create_embedded_tools.py.
Bazel Release System48845c32019-05-23 15:21:53 -04004837 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
4838 Remove unsupported cpu attribute from cc_toolchains.
Bazel Release System8089b272019-05-28 10:31:53 +02004839 + 597e289b097d3bfed8eea1cb0924bbeb04877e42:
4840 remote: made CombinedCache a composition of Disk and Http Cache
4841 + 942f7cf6a0da0a4ecc804615424f039e50963933:
4842 C++: Fixes bug in C++ API with external repo aspects
Bazel Release System48845c32019-05-23 15:21:53 -04004843 + 85a5a2bd569a5274950fc7327a044c395248c024:
4844 Configure @androidsdk//:emulator_x86 and :emulator_arm to point
4845 to the unified emulator binary
Bazel Release System8089b272019-05-28 10:31:53 +02004846 + 9835cb4135503768cdf1161746b95d7969ccb938:
4847 Automated rollback of commit
4848 844e4e297b404d6ff28b818d8150d4b9c47de887.
4849 + c963ba21073b514961946b8b4b45b091f08fdaa1:
4850 Windows, Python: fix arg. esc. also in host config
4851 + a1ea487e0a9e180a36fa4aab57f7c746ddcf367a:
4852 Do not pre-cache changed files under managed directories
4853 + 7dc78cdd04eedf2f4373b170053ba5fc2a990929:
4854 Add explicit execution and target constraints for autodiscovered
4855 cc t?
4856 + dd9ac13f7e3b71bdf2eca717bc7681bdd12389a2:
4857 Fix a bug when a relative path is used for the execution log
Bazel Release System48845c32019-05-23 15:21:53 -04004858 + 0ff19c6d0adf3c0df94fff59ca3bd13cbcf99897:
4859 Fix StandaloneTestStrategy.appendStderr
Bazel Release System8089b272019-05-28 10:31:53 +02004860 + 7f495315749478e75a3424726cc273a535b7c3b8:
4861 Fix the autodetecting Python toolchain on Mac
4862 + ddce7235ef29a0aba727c265eae865d15af4ed09:
4863 Avoid exporting PATH unnecessarily
4864 + 35dd05a059fa7fddfdd888cfc69102994e3c04dc:
4865 Allow Starlark rules to be able to use the `exec_compatible_with`
Bazel Release System48845c32019-05-23 15:21:53 -04004866```
4867
Klaus Aehlig63bf1152019-05-28 10:41:12 +02004868### Incompatible changes
4869
4870- [`--incompatible_windows_escape_jvm_flags`](https://github.com/bazelbuild/bazel/issues/7486)
4871 is enabled by default, and removed.
4872
4873- [`--incompatible_windows_style_arg_escaping`](https://github.com/bazelbuild/bazel/issues/7454)
4874 is enabled by default.
4875
4876- [`--incompatible_no_output_attr_default`](https://github.com/bazelbuild/bazel/issues/7950)
4877 is enabled by default.
4878
4879- [`--incompatible_depset_union`](https://github.com/bazelbuild/bazel/issues/5817)
4880 is enabled by default.
4881
4882- [`--incompatible_disable_genrule_cc_toolchain_dependency`](https://github.com/bazelbuild/bazel/issues/6867) removed
4883
4884- [`--Incompatible_disallow_rule_execution_platform_constraints_allowed`](https://github.com/bazelbuild/bazel/issues/8136):
4885 When enabled, disallows the use of the `execution_platform_constraints_allowed`
4886 attribute when defining new rules.
4887
4888- [`--incompatible_disable_objc_provider_resources`](https://github.com/bazelbuild/bazel/issues/5710)
4889 is now enabled by default.
4890
4891### Apple
4892
4893- The `--ios_multi_cpus`, `--watchos_cpus`, `--macos_cpus` and `--tvos_cpus` are
4894 now additive. This means that you can now split the `--ios_multi_cpus=arm64,armv7`
4895 into `--ios_multi_cpus=arm64` and `--ios_multi_cpus=armv7`.
4896
4897- Add `--incompatible_objc_framework_cleanup` to control whether to enable some
4898 objc framework cleanup that changes the API. Specifically, the cleanup changes
4899 the objc provider API pertaining to frameworks. This change is expected to be
4900 transparent to most users unless they write their own Starlark rules to handle
4901 frameworks. See https://github.com/bazelbuild/bazel/issues/7594 for details.
4902
4903- `objc_library` does not support resource attributes any more. Please read
4904 [#7594](https://github.com/bazelbuild/bazel/issues/7594) for more info.
4905
4906### Android
4907
4908- Android resource conflicts will no longer be reported between a strong attr
4909 resource and a weak attr resource, if the weak attr does not have format
4910 specified.
4911
4912### C++
4913
4914- [Allow debugging C++ features logic](https://github.com/bazelbuild/bazel/commit/53156db1e30fe7197889c3cbc8d1321ff9b85143
4915
4916- Add new options [`--cs_fdo_instrument`](https://docs.bazel.build/versions/master/command-line-reference.html#flag--cs_fdo_instrument)
4917 and [`--cs_fdo_profile`](https://docs.bazel.build/versions/master/command-line-reference.html#flag--cs_fdo_profile)
4918 to support LLVM's context-sensitive FDO (CSFDO).
4919
4920- [Bazel C++ compile/link Starlark API](https://github.com/bazelbuild/bazel/issues/4570).
4921 Can be used with experimental flag `--experimental_cc_skylark_api_enabled_packages`.
4922
4923- `cc_toolchain.static_runtime_lib` and `cc_toolchain.dynamic_runtime_lib` are
4924 now exposed to Starlark.
4925
4926- C++ Starlark API for compilation and linking is no longer whitelisted
4927
4928- Incompatible flag `--incompatible_make_thinlto_command_lines_standalone` has
4929 been added. See https://github.com/bazelbuild/bazel/issues/6791 for details.
4930
4931- Feature `disable_whole_archive_for_static_lib` has been added to allow turning
4932 off legacy_whole_archive for individual targets.
4933 https://github.com/bazelbuild/bazel/issues/7362
4934
4935### Python
4936
4937- Fixed an issue where some `py_runtimes` were incompatible with using
4938 `--build_python_zip` ([#5104](https://github.com/bazelbuild/bazel/issues/5104)).
4939
4940### Starlark
4941
4942- The flag [`--incompatible_restrict_named_params`](https://github.com/bazelbuild/bazel/issues/8147)
4943 is added. [Buildifier](https://github.com/bazelbuild/buildtools) will soon be
4944 updated to automatically fix this in your code.
4945
4946- The flag [`--incompatible_no_kwargs_in_build_files`](https://github.com/bazelbuild/bazel/issues/8021)
4947 is added. It fixes a bug where the `**kwarg` notation was allowed in `BUILD`
4948 files.
4949
4950- The flag [`--incompatible_static_name_resolution_in_build_files`](https://github.com/bazelbuild/bazel/issues/8022)
4951 is added. This fixes a bug where invalid code was silently accepted.
4952
4953- The flag [`--incompatible_disallow_old_octal_notation`](https://github.com/bazelbuild/bazel/issues/8059)
4954 is added. It removes a deprecated notation for octal numbers.
4955 [Buildifier](https://github.com/bazelbuild/buildtools) can update your code
4956 automatically.
4957
4958- [`struct.to_proto()`](https://docs.bazel.build/versions/master/skylark/lib/struct.html#to_proto)
4959 can now convert dictionaries into proto3 text message.
4960
4961- The [`glob`](https://docs.bazel.build/versions/master/be/functions.html#glob)
4962 function has a new argument `allow_empty`. When set to `False` (this will be
4963 the default in the future), the glob fails when it doesn't match anything.
4964 Please explicitly set `allow_empty = True` to the globs that need it.
4965
4966### Windows
4967
4968- Windows, Python: the new `--incompatible_windows_escape_python_args` flag
4969 (`false` by default) builds `py_binary` and `py_test` targets with correct
4970 command line argument escaping. Similar to
4971 https://github.com/bazelbuild/bazel/issues/7486 but for `py_*` rules.
4972
4973### Other changes
4974
4975- cquery supports `--output=build`
4976
4977- Generated Go protobufs now depend on `//net/proto2/go:proto_gendeps` instead
4978 of `//net/proto2/go:proto`
4979
4980- Added `--incompatible_remove_binary_profile` to disable the old binary
4981 profiles. Instead use the JSON profile format:
4982 https://docs.bazel.build/versions/master/skylark/performance.html#json-profile
4983
4984- Introducing `--execution_log_binary_file` and `--execution_log_json_file`
4985 that output a stable sorted execution log. They will offer a stable
4986 replacement to `--experimental_execution_log_file`.
4987
4988- New platform_mappings ability to allow gradual flag to platforms/toolchains
4989 migration. See also https://github.com/bazelbuild/bazel/issues/6426
4990
4991- Added support for compiling against fully qualified `R` classes from
4992 `aar_import` dependencies.
4993
4994- `--tls_enabled` flag is deprecated. Please provide `grpcs` as a scheme in
4995 the URLs if TLS should be used for a remote connection.
4996
4997### Community
4998
4999- Alex Eagle gave a talk at ng-conf:
5000 [The Bazel Opt-in Preview is Here!](https://www.youtube.com/watch?v=J1lnp-nU4wM)
5001
5002- The latest release of
5003 [rules_haskell](https://github.com/tweag/rules_haskell/releases/tag/v0.9)
5004 includes many new improvements, including an initial Windows support.
5005
5006- The latest
5007 [Buildifier release](https://github.com/bazelbuild/buildtools/releases/tag/0.25.1)
5008 includes Windows binaries, as well as a JSON output for diagnostics.
5009
5010- Natan Silnitsky gave the talk
5011 [How to successfully migrate to Bazel from Maven or Gradle](https://www.youtube.com/watch?v=2UOFm-Cc_cU)
5012 at the Java Eastern Europe Conference.
5013
5014This release contains contributions from many people at Google, as well as
5015Benjamin Peterson, Brian Topping, clyang82, Dave Lee, George Gensure,, Greg,
5016Guro Bokum, Keith Smiley, Max Vorobev, Michael Hackner, Robert Brown, Robert
5017Sayre, Ryan Beasley, and Yannic.
5018
5019
5020## Release 0.25.3 (2019-05-23)
5021
5022```
5023Baseline: 03662462941953dad23af88693804b8b1d4430b9
5024
5025Cherry picks:
5026
5027 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
5028 Windows: fix native test wrapper's arg. escaping
5029 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
5030 Flip --incompatible_windows_escape_jvm_flags
5031 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
5032 Sort DirectoryNode children to ensure validity.
5033 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
5034 Conditionally use deprecated signature for initWithContentsOfURL
5035 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
5036 Add http_archive entries for testing with various JDK versions.
5037 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
5038 Now that ubuntu1804 uses JDK 11, remove explicit
5039 ubuntu1804_java11 tests.
5040 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
5041 Fix wrong name of ubuntu1804_javabase9 task.
5042 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
5043 Remove @executable_path/Frameworks from rpaths
5044 + 130f86ded1ce84f959f0b78c065211902faed546:
5045 Download stderr/stdout to a temporary FileOutErr
5046 + 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
5047 Release 0.25.0 (2019-05-01)
5048 + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
5049 Add implementation to removed methods to address
5050 https://github.com/bazelbuild/bazel/issues/8226
5051 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
5052 Remove unsupported cpu attribute from cc_toolchains.
5053 + cccced1e7fc7eaf4ba8f2c9d73dbac72b2686df9:
5054 Release 0.25.1 (2019-05-07)
5055 + 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
5056 Use package identifier instead of package name
5057 + 85a5a2bd569a5274950fc7327a044c395248c024:
5058 Configure @androidsdk//:emulator_x86 and :emulator_arm to point
5059 to the unified emulator binary
5060 + 6549ac5bba3eef2b1813b5a75757437383bf38f0:
5061 Release 0.25.2 (2019-05-10)
5062 + 0ff19c6d0adf3c0df94fff59ca3bd13cbcf99897:
5063 Fix StandaloneTestStrategy.appendStderr
5064```
5065
Bazel Release System48845c32019-05-23 15:21:53 -04005066Incompatible changes:
5067
5068 - Flip --incompatible_windows_escape_jvm_flags to true. See
5069 https://github.com/bazelbuild/bazel/issues/7486
5070
Klaus Aehlig63bf1152019-05-28 10:41:12 +02005071This release contains contributions from many people at Google, as well as George Gensure, Keith Smiley, Robert Sayre.
Bazel Release System48845c32019-05-23 15:21:53 -04005072
Klaus Aehlig63bf1152019-05-28 10:41:12 +02005073## Release 0.25.2 (2019-05-10)
Bazel Release System6549ac52019-05-10 16:44:09 -04005074
Klaus Aehlig63bf1152019-05-28 10:41:12 +02005075```
5076Baseline: 03662462941953dad23af88693804b8b1d4430b9
Bazel Release System6549ac52019-05-10 16:44:09 -04005077
Klaus Aehlig63bf1152019-05-28 10:41:12 +02005078Cherry picks:
Bazel Release System6549ac52019-05-10 16:44:09 -04005079
Klaus Aehlig63bf1152019-05-28 10:41:12 +02005080 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
5081 Windows: fix native test wrapper's arg. escaping
5082 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
5083 Flip --incompatible_windows_escape_jvm_flags
5084 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
5085 Sort DirectoryNode children to ensure validity.
5086 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
5087 Conditionally use deprecated signature for initWithContentsOfURL
5088 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
5089 Add http_archive entries for testing with various JDK versions.
5090 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
5091 Now that ubuntu1804 uses JDK 11, remove explicit
5092 ubuntu1804_java11 tests.
5093 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
5094 Fix wrong name of ubuntu1804_javabase9 task.
5095 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
5096 Remove @executable_path/Frameworks from rpaths
5097 + 130f86ded1ce84f959f0b78c065211902faed546:
5098 Download stderr/stdout to a temporary FileOutErr
5099 + 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
5100 Release 0.25.0 (2019-05-01)
5101 + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
5102 Add implementation to removed methods to address
5103 https://github.com/bazelbuild/bazel/issues/8226
5104 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
5105 Remove unsupported cpu attribute from cc_toolchains.
5106 + cccced1e7fc7eaf4ba8f2c9d73dbac72b2686df9:
5107 Release 0.25.1 (2019-05-07)
5108 + 0900660d67b53a56a13d1fa16a788e4cecbb1c0e:
5109 Use package identifier instead of package name
5110 + 85a5a2bd569a5274950fc7327a044c395248c024:
5111 Configure @androidsdk//:emulator_x86 and :emulator_arm to point
5112 to the unified emulator binary
5113```
5114
5115* Add fix for https://github.com/bazelbuild/bazel/issues/8254
5116* Add fix for https://github.com/bazelbuild/bazel/issues/8280
5117
5118## Release 0.25.1 (2019-05-07)
5119
5120```
5121Baseline: 03662462941953dad23af88693804b8b1d4430b9
5122
5123Cherry picks:
5124
5125 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
5126 Windows: fix native test wrapper's arg. escaping
5127 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
5128 Flip --incompatible_windows_escape_jvm_flags
5129 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
5130 Sort DirectoryNode children to ensure validity.
5131 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
5132 Conditionally use deprecated signature for initWithContentsOfURL
5133 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
5134 Add http_archive entries for testing with various JDK versions.
5135 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
5136 Now that ubuntu1804 uses JDK 11, remove explicit
5137 ubuntu1804_java11 tests.
5138 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
5139 Fix wrong name of ubuntu1804_javabase9 task.
5140 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
5141 Remove @executable_path/Frameworks from rpaths
5142 + 130f86ded1ce84f959f0b78c065211902faed546:
5143 Download stderr/stdout to a temporary FileOutErr
5144 + 2ab38663592a9ccbcc1f6f75ed135ae315f4d9d9:
5145 Release 0.25.0 (2019-05-01)
5146 + ed48a4a5fddbd93b057c3aa726e15720d79dcf8f:
5147 Add implementation to removed methods to address
5148 https://github.com/bazelbuild/bazel/issues/8226
5149 + 81aefe7ee01cc73646a53f9c72ed40ead09f9f5a:
5150 Remove unsupported cpu attribute from cc_toolchains.
5151```
5152
5153Adding a commit which reintroduces the implementation for cc_common.compile and cc_common.link https://github.com/bazelbuild/bazel/issues/8226
Bazel Release Systemcccced12019-05-07 13:52:56 -04005154
Bazel Release System2ab38662019-05-01 17:41:28 -04005155## Release 0.25.0 (2019-05-01)
5156
5157```
5158Baseline: 03662462941953dad23af88693804b8b1d4430b9
5159
5160Cherry picks:
5161
5162 + 3f7f255f9a8345b8898e3953e7e53d68106cc63d:
5163 Windows: fix native test wrapper's arg. escaping
5164 + afeb8d0b7fef619159fc8fbaaeb8bd41dd2619bd:
5165 Flip --incompatible_windows_escape_jvm_flags
5166 + 4299b6549cbc1b3e4494c91ed2f51d49b14c7980:
5167 Sort DirectoryNode children to ensure validity.
5168 + 231270c67d5aa771462245531fa9b2ee7d3d0ae8:
5169 Conditionally use deprecated signature for initWithContentsOfURL
5170 + 75a3a531b08e727ade4fa3cb0a574bd142727cce:
5171 Add http_archive entries for testing with various JDK versions.
5172 + 4a6354a3a5ca23583f8b62e3e439a04ce75b863f:
5173 Now that ubuntu1804 uses JDK 11, remove explicit
5174 ubuntu1804_java11 tests.
5175 + ae102fbde3c1ff87e4f67007a275fb30792a4e8d:
5176 Fix wrong name of ubuntu1804_javabase9 task.
5177 + 0020a97fdc20ca099ec6386771b20d3236f9890d:
5178 Remove @executable_path/Frameworks from rpaths
5179 + 130f86ded1ce84f959f0b78c065211902faed546:
5180 Download stderr/stdout to a temporary FileOutErr
5181```
5182
5183Incompatible changes:
5184
5185 - (Starlark rules) The legacy "py" provider can no longer be passed
5186 to or produced by native Python rules; use
5187 [PyInfo](https://docs.bazel.build/versions/master/skylark/lib/PyIn
5188 fo.html) instead. See
5189 [#7298](https://github.com/bazelbuild/bazel/issues/7298) for more
5190 information.
5191 - (Python rules) The `default_python_version` attribute of the
5192 `py_binary` and `py_test` rules has been renamed to
5193 `python_version`. Also, the `--force_python` flag has been
5194 renamed to `--python_version`. See
5195 [#7308](https://github.com/bazelbuild/bazel/issues/7308) for more
5196 information.
5197 - (Python rules) The python version now changes to whatever version
5198 is specified in a `py_binary` or `py_test`'s `python_version`
5199 attribute, instead of being forced to the value set by a command
5200 line flag. You can temporarily revert this change with
5201 `--incompatible_allow_python_version_transitions=false`. See
5202 [#7307](https://github.com/bazelbuild/bazel/issues/7307) for more
5203 information.
5204 - --incompatible_disable_third_party_license_checking` is enabled
5205 by default
5206 - Introduced --incompatible_use_python_toolchains, which supersedes
5207 --python_top/--python_path. See #7899 and #7375 for more
5208 information.
5209 - Python 3 is now the default Python version (for `py_binary` and
5210 `py_test` targets that don't specify the `python_version`
5211 attribute). Targets that are built for Python 3 will no longer
5212 have their output put in a separate `-py3` directory; instead
5213 there is now a separate `-py2` directory for Python 2 targets.
5214 See #7359 and #7593 for more information.
5215 - objc_library resource attributes are now disabled by default.
5216 Please migrate them to data instead. See
5217 https://github.com/bazelbuild/bazel/issues/7594 for more info.
5218 - Flip --incompatible_windows_escape_jvm_flags to true. See
5219 https://github.com/bazelbuild/bazel/issues/7486
5220
5221New features:
5222
5223 - genrules now support a $(RULEDIR) variable that resolves to the
5224 directory where the outputs of the rule are put.
5225 - Added --incompatible_windows_native_test_wrapper flag: enables
5226 using the Bash-less test wrapper on Windows. (No-op on other
5227 platforms.)
5228
5229Important changes:
5230
5231 - incompatible_use_jdk11_as_host_javabase: makes JDK 11 the default
5232 --host_javabase for remote jdk
5233 (https://github.com/bazelbuild/bazel/issues/7219)
5234 - Makes genquery somepath output deterministic.
5235 - Tristate attributes of native rules now reject True/False (use
5236 1/0)
5237 - Rollback of "Tristate attributes of native rules now reject
5238 True/False (use 1/0)"
5239 - Tristate attributes of native rules now reject True/False (use
5240 1/0)
5241 - Added -incompatible_do_not_split_linking_cmdline flag. See #7670
5242 - Tristate attributes of native rules now temporarily accept
5243 True/False again
5244 - `--incompatible_disable_legacy_crosstool_fields` has been flipped
5245 (https://github.com/bazelbuild/bazel/issues/6861)
5246 `--incompatible_disable_expand_if_all_available_in_flag_set` has
5247 been flipped (https://github.com/bazelbuild/bazel/issues/7008)
5248 - `--incompatible_disable_legacy_crosstool_fields` has been flipped
5249 (https://github.com/bazelbuild/bazel/issues/6861)
5250 `--incompatible_disable_expand_if_all_available_in_flag_set...
5251 RELNOTES: None.
5252 - --incompatible_no_transitive_loads is enabled by default.
5253 - Makes TreeArtifact deterministic.
5254 - --incompatible_no_transitive_loads is enabled by default.
5255 - Android NDK C++ toolchain is now configured in Starlark. This
5256 should be a backwards compatible change, but in case of bugs
5257 blame unknown commit.
5258 - `--incompatible_disable_legacy_crosstool_fields` has been flipped
5259 (https://github.com/bazelbuild/bazel/issues/6861)
5260 `--incompatible_disable_expand_if_all_available_in_flag_set` has
5261 been flipped (https://github.com/bazelbuild/bazel/issues/7008)
5262 - --incompatible_no_transitive_loads is enabled by default.
5263 - --incompatible_bzl_disallow_load_after_statement is enabled
5264 - Added `--incompatible_require_ctx_in_configure_features`, see
5265 https://github.com/bazelbuild/bazel/issues/7793 for details.
5266 - Flag --incompatible_merge_genfiles_directory is flipped. This
5267 removes the directory `bazel-genfiles` in favor of `bazel-bin`.
5268 - previously deprecated flag --experimental_remote_spawn_cache was
5269 removed
5270 - `--incompatible_disallow_load_labels_to_cross_package_boundaries`
5271 is enabled by default
5272 - Fix an issue where the Android resource processor did not surface
5273 errors from aapt2 compile and link actions.
5274 - --incompatible_no_attr_license is enabled by default
5275 - `--incompatible_disable_crosstool_file` has been flipped
5276 (https://github.com/bazelbuild/bazel/issues/7320)
5277 - A new flag `--incompatible_string_join_requires_strings` is
5278 introduced. The sequence argument of `string.join` must contain
5279 only string elements.
5280 - --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
5281 s_tree has been flipped
5282 - Incompatible flag `--incompatible_disable_legacy_cc_provider` has
5283 been flipped (see https://github.com/bazelbuild/bazel/issues/7036
5284 for details).
5285 - Don't drop the analysis cache when the same --define flag is set
5286 multiple times and the last value is the same (e.g. if the
5287 current invocation was run with "--define foo=bar" and the
5288 previous one was run with "--define foo=baz --define foo=bar").
5289 - The --incompatible_disable_genrule_cc_toolchain_dependency flag
5290 has been flipped (see
5291 https://github.com/bazelbuild/bazel/issues/6867 for details).
5292 - Incompatible change
5293 `--incompatible_remove_cpu_and_compiler_attributes_from_cc_toolcha
5294 in` has been flipped (see
5295 https://github.com/bazelbuild/bazel/issues/7075 for details).
5296 - --noexperimental_java_coverage is a no-op flag.
5297 - --experimental_java_coverage/--incompatible_java_coverage flag was
5298 removed. See #7425.
5299 - incompatible_use_toolchain_providers_in_java_common: pass
5300 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
5301 APIs instead of configured targets
5302 (https://github.com/bazelbuild/bazel/issues/7186.)
5303 - --incompatible_remote_symlinks has been flipped. The remote
5304 caching and execution protocol will now represent symlinks in
5305 outputs as such. See
5306 https://github.com/bazelbuild/bazel/issues/7917 for more details.
5307 - Bazel is now ~20MiB smaller, from unbundling the Android rules'
5308 runtime dependencies.
5309
5310This release contains contributions from many people at Google, as well as Andreas Herrmann, Andrew Suffield, Andy Scott, Benjamin Peterson, Ed Baunton, George Gensure, Ian McGinnis, Ity Kaul, Jingwen Chen, John Millikin, Keith Smiley, Marwan Tammam, Mike Fourie, Oscar Bonilla, perwestling, petros, Robert Sayre, Ryan Beasley, silvergasp, Stanimir Mladenov, Travis Cline, Vladimir Chebotarev, ??.
5311
Bazel Release System7f8bc5f2019-04-02 12:26:16 -04005312## Release 0.24.1 (2019-04-02)
5313
5314```
5315Baseline: 235e76b0e756d05599a6cbe1663ff8e13df84a86
5316
5317Cherry picks:
5318
5319 + badd82e4c5cda7b3232481e1c63a5550ac898cd8:
5320 Automated rollback of commit
5321 1b4c37c38804559b5c1ade6f9c93501875e231b0.
5322 + 33e571939085dd158422e1b3503cfc738e0a3165:
5323 Fix the Python version select() mechanism to handle
5324 PY3-as-default
5325 + 56366ee3a73e2c92b2fa36a9840478202b9618ca:
5326 Set non-empty values for msvc_env_* when VC not installed
5327 + 22b3fbf4800113df51d603d943bd9eb9517ef904:
5328 Windows, test wrapper: fix broken integration test
5329 + f14d447cb56aee563f6e686b8f5b086a3bb55d47:
5330 Add whitelist file for starlark transitions
5331 + d99bc478db1f3414b4f6cd3dc14ca70aacf6b375:
5332 Update BUILD
5333 + 3529ad7ccf0c26dfb20a9d67b9d96de15f309f8b:
5334 Rename tools/function_transition_whitelist/BUILD to
5335 tools/whitelists/function_transition_whitelist/BUILD
5336 + de0612ad3ef7cc8c44069261befdeb0d15b97c10:
5337 Update bazel_toolchains to latest release and add toolchain
5338 config target for BuildKite CI (rbe_ubuntu1604)
5339 + 3e660ad178926648e8e10e2ee7a1a30b12f9b3d1:
5340 Automated rollback of commit
5341 087734009801242b83655efb863b2d5a761ae3dc.
5342 + 314cf1f9e4b332955c4800b2451db4e926c3e092:
5343 Pass -undefined dynamic_lookup to dynamic library linking
5344 actions on Mac
5345 + fc586a86b614667a21e5a01aea3544ac0338de78:
5346 Move cc_flags target into @bazel_tools//tools/cpp.
5347 + ea1703b30f9ac43a0c3262f5729c34658ed8d473:
5348 C++: Fix crash reported in #7721
5349 + 803801d1494f06f0ce977a1f2241ef6a4d85df09:
5350 Pass execution info to xml generating spawn. Fixes #7794
5351 + f092ec388a4b58788285b928c86f0f81561d4be4:
5352 Release 0.24.0 (2019-03-26)
5353 + c56c489119e6587975964c44ceb9e429ad950736:
5354 Wrap StatusRuntimeExceptions from GrpcRemoteCache
5355```
5356
5357Baseline: f092ec388a4b58788285b928c86f0f81561d4be4
5358
5359Cherrypicks:
5360+ c56c489119e6587975964c44ceb9e429ad950736: Wrap StatusRuntimeExceptions from GrpcRemoteCache
5361
Bazel Release System4f5c17c2019-03-26 12:08:43 -04005362## Release 0.24.0 (2019-03-26)
Bazel Release System0e4525f2019-03-11 17:43:39 +01005363
5364```
Bazel Release System4f5c17c2019-03-26 12:08:43 -04005365Baseline: 235e76b0e756d05599a6cbe1663ff8e13df84a86
Bazel Release System0e4525f2019-03-11 17:43:39 +01005366
5367Cherry picks:
5368
Bazel Release System4f5c17c2019-03-26 12:08:43 -04005369 + badd82e4c5cda7b3232481e1c63a5550ac898cd8:
5370 Automated rollback of commit
5371 1b4c37c38804559b5c1ade6f9c93501875e231b0.
5372 + 33e571939085dd158422e1b3503cfc738e0a3165:
5373 Fix the Python version select() mechanism to handle
5374 PY3-as-default
Bazel Release System0e4525f2019-03-11 17:43:39 +01005375 + 56366ee3a73e2c92b2fa36a9840478202b9618ca:
5376 Set non-empty values for msvc_env_* when VC not installed
Bazel Release System4f5c17c2019-03-26 12:08:43 -04005377 + 22b3fbf4800113df51d603d943bd9eb9517ef904:
5378 Windows, test wrapper: fix broken integration test
5379 + f14d447cb56aee563f6e686b8f5b086a3bb55d47:
5380 Add whitelist file for starlark transitions
5381 + d99bc478db1f3414b4f6cd3dc14ca70aacf6b375:
5382 Update BUILD
5383 + 3529ad7ccf0c26dfb20a9d67b9d96de15f309f8b:
5384 Rename tools/function_transition_whitelist/BUILD to
5385 tools/whitelists/function_transition_whitelist/BUILD
5386 + de0612ad3ef7cc8c44069261befdeb0d15b97c10:
5387 Update bazel_toolchains to latest release and add toolchain
5388 config target for BuildKite CI (rbe_ubuntu1604)
5389 + 3e660ad178926648e8e10e2ee7a1a30b12f9b3d1:
5390 Automated rollback of commit
5391 087734009801242b83655efb863b2d5a761ae3dc.
5392 + 314cf1f9e4b332955c4800b2451db4e926c3e092:
5393 Pass -undefined dynamic_lookup to dynamic library linking
5394 actions on Mac
5395 + fc586a86b614667a21e5a01aea3544ac0338de78:
5396 Move cc_flags target into @bazel_tools//tools/cpp.
5397 + ea1703b30f9ac43a0c3262f5729c34658ed8d473:
5398 C++: Fix crash reported in #7721
5399 + 803801d1494f06f0ce977a1f2241ef6a4d85df09:
5400 Pass execution info to xml generating spawn. Fixes #7794
Bazel Release System0e4525f2019-03-11 17:43:39 +01005401```
5402
Bazel Release System4f5c17c2019-03-26 12:08:43 -04005403Incompatible changes:
Bazel Release System0e4525f2019-03-11 17:43:39 +01005404
Bazel Release System4f5c17c2019-03-26 12:08:43 -04005405 - Added --incompatible_py3_is_default to test switching the default
5406 Python version to PY3 for py_binary/py_test targets that do not
5407 specify a version. See #7359.
5408 - //tools/cmd_line_differ has been renamed to //tools/aquery_differ
5409 & can now compare (in addition to command lines) inputs of
5410 actions given 2 aquery results.
5411 - java_(mutable_|)proto_library: removed strict_deps attribute.
5412 - The flag --incompatible_list_based_execution_strategy_selection
5413 was added and is used to ease the migration to the new style of
5414 specifying
5415 execution strategy selection and fallback behavior. The
5416 documentation for
5417 this flag is here: https://github.com/bazelbuild/bazel/issues/7480
5418 - Added --incompatible_py2_outputs_are_suffixed, for switching the
5419 bazel-bin symlink to point to Python 3 outputs instead of Python
5420 2 outputs. See
5421 [#7593](https://github.com/bazelbuild/bazel/issues/7593).
Bazel Release Systemf28ff222019-03-04 11:12:24 +01005422
Bazel Release System4f5c17c2019-03-26 12:08:43 -04005423New features:
Bazel Release Systemf28ff222019-03-04 11:12:24 +01005424
Bazel Release System4f5c17c2019-03-26 12:08:43 -04005425 - Make actions.args() object chainable.
5426 - Added --incompatible_windows_style_arg_escaping flag: enables
5427 correct subprocess argument escaping on Windows. (No-op on other
5428 platforms.)
5429 - Added --incompatible_windows_escape_jvm_flags flag: enables
5430 correct java_binary.jvm_flags and java_test.jvm_flags
5431 tokenization and escaping on Windows. (No-op on other platforms.)
Bazel Release Systemf28ff222019-03-04 11:12:24 +01005432
Bazel Release System4f5c17c2019-03-26 12:08:43 -04005433Important changes:
Bazel Release Systemf28ff222019-03-04 11:12:24 +01005434
Bazel Release System4f5c17c2019-03-26 12:08:43 -04005435 - Allow running aquery against the current state of Skyframe
5436 - Added support for the "navigation" resource directory to Android
5437 resource processing in Bazel. This is used by the Navigation
5438 Architecture Component.
5439 - --incompatible_disable_runtimes_filegroups was flipped
5440 (https://github.com/bazelbuild/bazel/issues/6942)
5441 - Incompatible flag `--incompatible_linkopts_in_user_link_flags`
5442 has been flipped (https://github.com/bazelbuild/bazel/issues/6826)
5443 - Incompatible flag `--incompatible_dont_emit_static_libgcc` has
5444 been flipped (https://github.com/bazelbuild/bazel/issues/6825)
5445 - --incompatible_disallow_filetype is enabled by default.
5446 - Fixed issue where exceptions and stacktraces were silently
5447 swallowed in the Android resource processing pipeline.
5448 - `--incompatible_disable_expand_if_all_available_in_flag_set` has
5449 been flipped (https://github.com/bazelbuild/bazel/issues/7008)
5450 - --incompatible_disallow_dict_plus is enabled by default
5451 - Adds --incompatible_disable_objc_library_resources to disable
5452 resource attributes in objc_library. Please migrate these
5453 attributes to `data` instead.
5454 - --incompatible_disallow_old_style_args_add is enabled by default.
5455 - Using the `native` module in BUILD files is deprecated. It will
5456 be forbidden with --incompatible_disallow_native_in_build_file.
5457 - (Python rules) PyRuntimeInfo is exposed to Starlark, making it
5458 possible for Starlark rules to depend on or imitate `py_runtime`.
5459 The `files` attribute of `py_runtime` is no longer mandatory.
5460 - incompatible_use_toolchain_providers_in_java_common: pass
5461 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
5462 APIs instead of configured
5463 targetshttps://github.com/bazelbuild/bazel/issues/7186.
5464 - is_using_fission crosstool variable is now exposed in all compile
5465 actions when fission is active (it used to be exposed only for
5466 linking actions).
5467 - incompatible_use_toolchain_providers_in_java_common: pass
5468 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
5469 APIs instead of configured
5470 targetshttps://github.com/bazelbuild/bazel/issues/7186.
5471 - `py_runtime` gains a `python_version` attribute for specifying
5472 whether it represents a Python 2 or 3 interpreter.
5473 - `--incompatible_java_coverage` is enabled by default.
5474 - Starlark rules can safely declare attributes named "licenses"
5475 - When using
5476 --incompatible_list_based_execution_strategy_selection, Bazel
5477 will use remote execution by default (if you specify
5478 --remote_executor), otherwise persistent workers (if the action
5479 supports it), otherwise sandboxed local execution (if the action
5480 and platform supports it) and at last unsandboxed local
5481 execution. The flags --spawn_strategy and --strategy continue to
5482 work as before - this only sets new defaults for the case where
5483 you don't specify these flags.
5484 - Set default value of --incompatible_remap_main_repo to true.
5485 - Set default value of --incompatible_remap_main_repo to true.
5486
5487This release contains contributions from many people at Google, as well as Andrew Suffield, Brandon Lico, Chris Eason, Clint Harrison, Ed Schouten, Garrett Hopper, George Gensure, Greg, John Millikin, Julie, Keith Smiley, Laurent Le Brun, Ryan Beasley, Shmuel H, Travis Cline, Vladimir Chebotarev.
Bazel Release Systemf28ff222019-03-04 11:12:24 +01005488
Bazel Release Systemed104862019-02-26 18:36:00 +01005489## Release 0.23.0 (2019-02-26)
5490
5491```
5492Baseline: 441fd75d0047f8a998d784c557736ab9075db893
5493
5494Cherry picks:
5495
5496 + 6ca7763669728253606578a56a205bca3ea883e9:
5497 Fix a typo
5498 + 2310b1c2c8b2f32db238f667747e7d5672480f4a:
5499 Ignore SIGCHLD in test setup script
5500 + f9eb1b56706f91063e9d080b850fa56964e77324:
5501 Complete channel initialization in the event loop
5502```
5503
5504Incompatible changes:
5505
5506 - //src:bazel uses the minimal embedded JDK, if you want to
5507 avoid the extra steps of minimizing the JDK, use //src:bazel-dev
5508 instead.
5509 - //src:bazel uses the minimal embedded JDK, if you want to
5510 avoid the extra steps of building bazel with the minimized JDK,
5511 use //src:bazel-dev
5512 instead.
5513 - The default value of --host_platform and --platforms will be
5514 changed to not be dependent on the configuration. This means
5515 that setting
5516 --cpu or --host_cpu will not affect the target or host platform.
5517 - Toolchain resolution for cc rules is now enabled via an
5518 incompatible flag, --incompatible_enable_cc_toolchain_resolution.
5519 The previous
5520 flag, --enabled_toolchain_types, is deprecated and will be
5521 removed.
5522 - java_(mutable_|)proto_library: removed strict_deps attribute.
5523 - Python rules will soon reject the legacy "py" struct provider
5524 (preview by enabling --incompatible_disallow_legacy_py_provider).
5525 Upgrade rules to use PyInfo instead. See
5526 [#7298](https://github.com/bazelbuild/bazel/issues/7298).
5527 - java_(mutable_|)proto_library: removed strict_deps attribute.
5528 - Two changes to native Python rules: 1) `default_python_version`
5529 and `--force_python` are deprecated; use `python_version` and
5530 `--python_version` respectively instead. You can preview the
5531 removal of the deprecated names with
5532 --incompatible_remove_old_python_version_api. See
5533 [#7308](https://github.com/bazelbuild/bazel/issues/7308). 2) The
5534 version flag will no longer override the declared version of a
5535 `py_binary` or `py_test` target. You can preview this new
5536 behavior with --incompatible_allow_python_version_transitions.
5537 See [#7307](https://github.com/bazelbuild/bazel/issues/7307).
5538
5539Important changes:
5540
5541 - There is a new flag available
5542 `--experimental_java_common_create_provider_enabled_packages`
5543 that acts as a whitelist for usages of
5544 `java_common.create_provider`. The constructor will be deprecated
5545 in Bazel 0.23.
5546 - [#7024] Allow chaining of the same function type in aquery.
5547 - Introduces --local_{ram,cpu}_resources, which will take the place
5548 of --local_resources.
5549 - [#6930] Add documentation for the aquery command.
5550 - Incompatible flag `--incompatible_dont_emit_static_libgcc` has
5551 been flipped (https://github.com/bazelbuild/bazel/issues/6825)
5552 - Incompatible flag `--incompatible_linkopts_in_user_link_flags`
5553 has been flipped (https://github.com/bazelbuild/bazel/issues/6826)
5554 - Flag --incompatible_range_type is removed.
5555 - Flag --incompatible_disallow_slash_operator is removed.
5556 - Flag --incompatible_disallow_conflicting_providers is removed.
5557 - `--incompatible_disallow_data_transition` is now enabled by
5558 default
5559 - Allow inclusion of param files in aquery output
5560 - [#6985] Add test to verify aquery's behavior for Cpp action
5561 templates.
5562 - --incompatible_require_feature_configuration_for_pic was flipped
5563 (https://github.com/bazelbuild/bazel/issues/7007).
5564 - Also ignore module-info.class in multi-version Jars
5565 - objc_framework has been deleted. Please refer to
5566 apple_dynamic_framework_import and apple_static_framework_import
5567 rules available in
5568 [rules_apple](https://github.com/bazelbuild/rules_apple/blob/maste
5569 r/doc/rules-general.md)
5570 - --test_sharding_strategy=experimental_heuristic is no more
5571 - objc_bundle_library has been removed. Please migrate to
5572 rules_apple's
5573 [apple_resource_bundle](https://github.com/bazelbuild/rules_apple/
5574 blob/master/doc/rules-resources.md#apple_resource_bundle).
5575 - You can now use the attribute `aapt_version` or the flag
5576 `--android_aapt` to pick the aapt version for android_local_test
5577 tests
5578 - In --keep_going mode, Bazel now correctly returns a non-zero exit
5579 code when encountering a package loading error during target
5580 pattern parsing of patterns like "//foo:all" and "//foo/...".
5581 - The default value for --incompatible_strict_action_env has been
5582 flipped to 'false' again, as we discovered breakages for local
5583 execution users. We'll need some more time to figure out the best
5584 way to make this work for local and remote execution. Follow
5585 https://github.com/bazelbuild/bazel/issues/7026 for more details.
5586 - Locally-executed spawns tagged "no-cache" no longer upload their
5587 outputs to the remote cache.
5588 - Introduces --host_compiler flag to allow setting a compiler for
5589 host compilation when --host_crosstool_top is specified.
5590 - --incompatible_expand_directories is enabled by default
5591 - [aquery] Handle the case of aspect-on-aspect.
5592 - Fixed a longstanding bug in the http remote cache where the value
5593 passed to
5594 --remote_timeout would be interpreted as milliseconds instead of
5595 seconds.
5596 - Enable --incompatible_use_jdk10_as_host_javabase by default, see
5597 https://github.com/bazelbuild/bazel/issues/6661
5598 - Add --incompatible_use_jdk11_as_host_javabase: makes JDK 11 the
5599 default --host_javabase for remote jdk
5600 (https://github.com/bazelbuild/bazel/issues/7219)
5601 - Highlight TreeArtifact in aquery text output.
5602 - Locally-executed spawns tagged "no-cache" no longer upload their
5603 outputs to the remote cache.
5604 - java_common APIs now accept JavaToolchainInfo and JavaRuntimeInfo
5605 instead of configured targets for java_toolchain and java_runtime
5606 - cc_common.create_cc_toolchain_config_info is stable and available
5607 for production use
5608 - incompatible_use_toolchain_providers_in_java_common: pass
5609 JavaToolchainInfo and JavaRuntimeInfo providers to java_common
5610 APIs instead of configured targets
5611 (https://github.com/bazelbuild/bazel/issues/7186)
5612 - --incompatible_strict_argument_ordering is enabled by default.
5613 - Bazel now supports reading cache hits from a repository cache,
5614 even if it doesn't have write access to the cache.
5615 - Adding arm64e to OSX CROSSTOOL.
5616 - Ignore package-level licenses on config_setting.
5617 - Add an optional output_source_jar parameter to java_common.compile
5618 - --incompatible_disable_objc_provider_resources is now enabled by
5619 default. This disables ObjcProvider's fields related to resource
5620 processing.
5621 - Explicitly set https.protocols and exclude TLSv1.3.
5622 - Bazel now validates that JAVA_HOME points to a valid JDK and
5623 falls back to auto-detection by looking up the path of `javac`.
5624 - Upgrade the embedded JDK version to 11.0.2.
5625 - Added --incompatible_disable_crosstool_file
5626 (https://github.com/bazelbuild/bazel/issues/7320)
5627 - --incompatible_disable_objc_provider_resources is now enabled by
5628 default. This disables ObjcProvider's fields related to resource
5629 processing.
5630 - --incompatible_disable_tools_defaults_package has been flipped.
5631 - For tests that do not generate a test.xml, Bazel now uses a
5632 separate action to generate one; this results in minor
5633 differences in the generated test.xml, and makes the generation
5634 more reliable overall.
5635 - incompatible_generate_javacommon_source_jar: java_common.compile
5636 now always generates a source jar, see
5637 https://github.com/bazelbuild/bazel/issues/5824.
5638 - New incompatible flag
5639 --incompatible_disallow_struct_provider_syntax removes the
5640 ability for rule implementation functions to return struct. Such
5641 functions should return a list of providers instead. Migration
5642 tracking: https://github.com/bazelbuild/bazel/issues/7347
5643
5644This release contains contributions from many people at Google, as well as Benjamin Peterson, Ed Schouten, erenon, George Gensure, Greg Estren, Igal Tabachnik, Ittai Zeidman, Jannis Andrija Schnitzer, John Millikin, Keith Smiley, Kelly Campbell, Max Vorobev, nicolov, Robin Nabel.
5645
Bazel Release System2f82b332019-01-28 13:54:53 +01005646## Release 0.22.0 (2019-01-28)
5647
5648```
5649Baseline: deb028e3fb30b4e2953df16f35ab1f55a08ea8fa
5650
5651Cherry picks:
5652
5653 + a3a5975dca3ad04c19dc7d063fcf490a8cd612fd:
5654 Fix a race condition in remote cache
5655 + b8d0e1b05c225a4b943ce498194d069d18093d9a:
5656 Use a new GitHub token and KMS key for the release process.
5657 + 3759e3895503aa2bbd6943c5b568b8c050b9448f:
5658 remote: fix unexpected IO error (not a directory)
5659 + 4473bb1a9ec4282aa8497b86580d68e82415df4a:
5660 Fix a race condition in Bazel's Windows process management.
5661 + 9137fb940886aa516f32ca8a36feccedb545c99b:
5662 undo flag flip of --incompatible_strict_action_env
5663 + 12ab12e80ad1c9a3510aa4bbfdf3fddafc0bca00:
5664 Revert "Enabling Bazel to generate input symlinks as defined by
5665 RE AP?
5666 + 6345c747d8cb1819e70c853becadbf8a989decf1:
5667 Automated rollback of commit
5668 30536baa4a410d8c0a7adab5cd58cd8a2ac7e46c.
5669```
5670
Bazel Release System2f82b332019-01-28 13:54:53 +01005671
Bazel Release System2f82b332019-01-28 13:54:53 +01005672
Klaus Aehligcb59bd22019-01-28 14:20:37 +01005673The Bazel team is happy to announce a new release of Bazel,
5674[Bazel 0.22.0](https://github.com/bazelbuild/bazel/releases/tag/0.22.0).
Bazel Release System2f82b332019-01-28 13:54:53 +01005675
Klaus Aehligcb59bd22019-01-28 14:20:37 +01005676Baseline: deb028e3fb30b4e2953df16f35ab1f55a08ea8fa
Bazel Release System2f82b332019-01-28 13:54:53 +01005677
Klaus Aehligcb59bd22019-01-28 14:20:37 +01005678### Breaking changes
5679
5680- [`--incompatible_string_is_not_iterable`](https://github.com/bazelbuild/bazel/issues/5830)
5681
5682### Upcoming changes
5683
5684This release is a [migration window for the following changes](https://github.com/bazelbuild/bazel/labels/migration-0.22).
5685
5686- [`--incompatible_disallow_data_transition`](https://github.com/bazelbuild/bazel/issues/6153)
5687- [`--incompatible_dont_emit_static_libgcc`](https://github.com/bazelbuild/bazel/issues/6825)
5688- [`--incompatible_linkopts_in_user_link_flags`](https://github.com/bazelbuild/bazel/issues/6826)
5689- [`--incompatible_disable_legacy_crosstool_fields`](https://github.com/bazelbuild/bazel/issues/6861)
5690- [`--incompatible_use_aapt2_by_default`](https://github.com/bazelbuild/bazel/issues/6907)
5691- [`--incompatible_disable_runtimes_filegroups`](https://github.com/bazelbuild/bazel/issues/6942)
5692- [`--incompatible_disable_legacy_cc_provider`](https://github.com/bazelbuild/bazel/issues/7036)
5693- [`--incompatible_require_feature_configuration_for_pic`](https://github.com/bazelbuild/bazel/issues/7007)
5694- [`--incompatible_disable_expand_if_all_available_in_flag_set`](https://github.com/bazelbuild/bazel/issues/7008)
5695- [`--incompatible_disable_legacy_proto_provider`](https://github.com/bazelbuild/bazel/issues/7152)
5696- [`--incompatible_disable_proto_source_root`](https://github.com/bazelbuild/bazel/issues/7153)
5697
5698### General Changes
5699
5700- https://docs.bazel.build now supports versioned
5701 documentation. Use the selector at the top of the navigation bar
5702 to switch between documentation for different Bazel releases.
5703
5704- set `projectId` in all `PublishBuildToolEventStreamRequest`
5705
5706### Android
5707
5708- mobile-install now works with aapt2. Try it out with `bazel
5709 mobile-install --android_aapt=aapt2 //my:target`
5710
5711- Fixed issues with mobile-install v1 when deploying to Android 9 Pie
5712 devices. https://github.com/bazelbuild/bazel/issues/6814
5713
5714- Fixed issue where error messages from Android manifest merging
5715 actions were not fully propagated.
5716
5717- New incompatible change flag `--incompatible_use_aapt2_by_default`
5718 for defaulting to aapt2 in Android builds has been added. To build with
5719 aapt2 today, pass the flag
5720 `--incompatible_use_aapt2_by_default=true` or
5721 `--android_aapt=aapt2`, or set the `aapt_version` to `aapt2` on
5722 your `android_binary` or `android_local_test` target.
5723
5724- Fixed mobile-install v1 error when installing an app with native
5725 libraries onto an Android 9 (Pie) device. See
5726 https://github.com/bazelbuild/examples/issues/77
5727
5728- Fixed a mobile-install bug where `arm64-v8a` libraries were not
5729 deployed correctly on `arm64` devices. This was done by enabling
5730 incremental native lib deployment by default. A previously
5731 undocumented `--android_incremental_native_libs` flag is removed,
5732 and is now the regular behavior. See
5733 https://github.com/bazelbuild/bazel/issues/2239
5734
5735### Apple
5736
5737- The `objc_bundle` rule has been removed. Please migrate to rules_apple's
5738 [apple_bundle_import](https://github.com/bazelbuild/rules_apple/bl
5739 ob/master/doc/rules-resources.md#apple_bundle_import).
5740
5741- The `apple_stub_binary` rule has been deleted.
5742
5743- The `--xbinary_fdo` option that passes xbinary profiles has been added.
5744
5745### C++
5746
5747- `cc_toolchain.(static|dynamic)_runtime_libs` attributes are now optional
5748
5749### Packaging
5750
5751- `build_tar.py` in `tools/build_defs/pkg` now supports a JSON manifest
5752 that can be used to add paths that have symbols that can't be
5753 specified via the command line
5754
5755### Query
5756
5757- Filtering of inputs, outputs, and mnemonic filtering have been added to
5758 aquery.
5759
5760- The aquery and cquery query2 tests have been open-sourced.
5761
5762- The Bazel query how-to recommends ":*" instead of ":all", because "all" might
5763 be the name of a target.
5764
5765### Testing
5766
5767- The `--runs_per_test` has been placed in the TESTING documentation category.
5768
5769- A a clarifying message has been added to test case summary output when all
5770 test cases pass but the target fails.
5771
5772### Contributors
5773
5774This release contains contributions from many people at Google, as well as
5775Benjamin Peterson, Dave Lee, George Gensure, Gert van Dijk, Gustavo Storti
5776Salibi, Keith Smiley, Loo Rong Jie, Lukasz Tekieli, Mikhail Mazurskiy, Thi,
5777Travis Cline, Vladimir Chebotarev, and Yannic.
Bazel Release System2f82b332019-01-28 13:54:53 +01005778
Bazel Release Systema189d422018-12-19 13:53:11 +01005779## Release 0.21.0 (2018-12-19)
5780
5781```
5782Baseline: cb9b2afbba3f8d3a1db8bf68e65d06f1b36902f5
5783
5784Cherry picks:
5785
5786 + 12b96466ee0d6ab83f7d4cd24be110bb5021281d:
5787 Windows, test wrapper: rename the associated flag
5788 + 7fc967c4d6435de2bb4e34aac00ca2e499f55fca:
5789 Use a fixed thread pool in ByteStreamBuildEventArtifactUploader
5790 + 798b9a989aa793655d29504edb5fb85f3143db84:
5791 Add --build_event_upload_max_threads option
5792 + dbe05df23ccf4c919379e0294e0701fd3f66739c:
5793 Update the version of skylib bundled in the distfile
5794```
5795
5796Incompatible changes:
5797
5798 - The --experimental_stl command line option is removed.
5799 - aquery defaults to human readable output format.
5800
5801New features:
5802
5803 - repository_ctx.download and repository_ctx.download_and_extract
5804 now return a struct.
5805 - Android Databinding v2 can be enabled with
5806 --experimental_android_databinding_v2.
5807
5808Important changes:
5809
5810 - The deprecated and unmaintained Docker rules in
5811 tools/build_defs/docker were removed. Please use
5812 https://github.com/bazelbuild/rules_docker instead.
5813 - The new --upload_query_output_using_bep query/cquery/aquery flag
5814 causes query outputs to be uploaded via BEP.
5815 - New incompatible flag --incompatible_strict_argument_ordering
5816 - --strict_android_deps and --strict_java_deps were renamed to
5817 --experimental_strict_java_deps
5818 - config_settings that select on "compiler" value instead of values
5819 = {"compiler" : "x"} should use flag_values =
5820 {"@bazel_tools//tools/cpp:compiler": "x"}.
5821 - The new --upload_query_output_using_bep query/cquery/aquery flag
5822 causes query outputs to be uploaded via BEP.
5823 - Turn on --incompatible_disable_sysroot_from_configuration
5824 - We revamped our Android with Bazel tutorial! Check it out
5825 [here](https://docs.bazel.build/versions/master/tutorial/android-a
5826 pp.html).
5827 - --incompatible_disallow_slash_operator is now on by default
5828 - Enable --experimental_check_desugar_deps by default. This flag
5829 rules out several types of invalid Android builds at compile-time.
5830 - The --max_config_changes_to_show option lists the names of
5831 options which
5832 have changed and thus caused the analysis cache to be dropped.
5833 - The --experimental_strict_action_env option has been renamed to
5834 --incompatible_strict_action_env and is now on by default. This
5835 means Bazel will no longer use the client's PATH and
5836 LD_LIBRARY_PATH environmental variables in the default action
5837 environment. If the old behavior is desired, pass
5838 --action_env=PATH and --action_env=LD_LIBRARY_PATH.
5839 --noincompatible_strict_action_env will also temporarily restore
5840 the old behavior. However, as --action_env is a more general and
5841 explicit way to pass client environmental variables into actions,
5842 --noincompatible_strict_action_env will eventually be deprecated
5843 and removed. See #6648 for more details.
5844 - XCRUNWRAPPER_LABEL has been removed. If you used this value
5845 before, please use @bazel_tools//tools/objc:xcrunwrapper instead.
5846 - --incompatible_static_name_resolution is no unable by default
5847 - We will phase out --genrule_strategy in favor of
5848 --strategy=Genrule=<value> (for genrules) or
5849 --spawn_strategy=<value> (for all actions).
5850 - --incompatible_package_name_is_a_function is now enabled by
5851 default
5852 - Dynamic execution is now available with
5853 --experimental_spawn_strategy. Dynamic execution allows a build
5854 action to run locally and remotely simultaneously, and Bazel
5855 picks the fastest action. This provides the best of both worlds:
5856 faster clean builds than pure local builds, and faster
5857 incremental builds than pure remote builds.
5858 - --incompatible_package_name_is_a_function is now enabled by
5859 default
5860 - New incompatible flag --incompatible_merge_genfiles_directory
5861 - grpc log now logs updateActionResult
5862 - CppConfiguration doesn't do package loading anymore. That means:
5863 * it's no longer needed to have C++ toolchain available when
5864 building non-C++ projects
5865 * bazel will not analyze C++ toolchain when not needed -> speedup
5866 ~2s on bazel startup when C++ rules using hermetic toolchain are
5867 not loaded
5868 - --incompatible_package_name_is_a_fu...
5869
5870This release contains contributions from many people at Google, as well as andy g scott ?, Attila Ol?h, Benjamin Peterson, Clint Harrison, Dave Lee, Ed Schouten, Greg Estren, Gregor Jasny, Jamie Snape, Jerry Marino, Loo Rong Jie, Or Shachar, Sevki Hasirci, William Chargin.
5871
Bazel Release System85378562018-11-30 15:34:16 +01005872## Release 0.20.0 (2018-11-30)
5873
5874```
5875Baseline: 7bf7f031c332dc483257248d1c1f98ad75bbc83b
5876
5877Cherry picks:
5878
5879 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
5880 update bazel-toolchains pin to latest release Part of changes to
5881 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
5882 before 0.17.0 are not compatible with bazel 0.19.0 or above.
5883 + 241f28d05424db2d11ee245dc856b992258505e3:
5884 Revert "Toggle --incompatible_disable_late_bound_option_defaults
5885 flag."
5886 + f7e5aef145c33968f658eb2260e25630dc41cc67:
5887 Add cc_toolchain targets for the new entries in the default
5888 cc_toolchain_suite.
5889 + d2920e32ec7f3f8551a693d33c17b19f1b802145:
5890 Revert "WindowsFileSystem: open files with delete-sharing"
5891```
5892
5893[Breaking changes in 0.20](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Abreaking-change-0.20)
5894
5895 - [--incompatible_remove_native_http_archive](https://github.com/bazelbuild/bazel/issues/6570).
5896 - [--incompatible_remove_native_git_repository](https://github.com/bazelbuild/bazel/issues/6569).
5897 - [--incompatible_disable_cc_toolchain_label_from_crosstool_proto](https://github.com/bazelbuild/bazel/issues/6434).
5898 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6384).
5899 - [--incompatible_disable_cc_configuration_make_variables](https://github.com/bazelbuild/bazel/issues/6381).
5900 - [--incompatible_disallow_conflicting_providers](https://github.com/bazelbuild/bazel/issues/5902).
5901 - [--incompatible_range_type](https://github.com/bazelbuild/bazel/issues/5264).
5902
5903[0.20 is a migration window for the following changes](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Amigration-0.20)
5904
5905 - [--incompatible_use_jdk10_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6661)
5906 - [--incompatible_use_remotejdk_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6656)
5907 - [--incompatible_disable_sysroot_from_configuration](https://github.com/bazelbuild/bazel/issues/6565)
5908 - [--incompatible_provide_cc_toolchain_info_from_cc_toolchain_suite](https://github.com/bazelbuild/bazel/issues/6537)
5909 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6383)
5910 - [--incompatible_package_name_is_a_function](https://github.com/bazelbuild/bazel/issues/5827)
5911
5912[Breaking changes in the next release (0.21)](https://github.com/bazelbuild/bazel/issues?q=is%3Aissue+label%3Abreaking-change-0.21)
5913
5914 - [--incompatible_use_jdk10_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6661)
5915 - [--incompatible_use_remotejdk_as_host_javabase](https://github.com/bazelbuild/bazel/issues/6656)
5916 - [--incompatible_disable_sysroot_from_configuration](https://github.com/bazelbuild/bazel/issues/6565)
5917 - [--incompatible_provide_cc_toolchain_info_from_cc_toolchain_suite](https://github.com/bazelbuild/bazel/issues/6537)
5918 - [--incompatible_disable_depset_in_cc_user_flags](https://github.com/bazelbuild/bazel/issues/6383)
5919 - [--incompatible_disallow_data_transition](https://github.com/bazelbuild/bazel/issues/6153)
5920 - [--incompatible_package_name_is_a_function](https://github.com/bazelbuild/bazel/issues/5827)
5921 - [--incompatible_disallow_slash_operator](https://github.com/bazelbuild/bazel/issues/5823)
5922 - [--incompatible_static_name_resolution](https://github.com/bazelbuild/bazel/issues/5637)
5923
5924Incompatible changes:
5925
5926 - the --experimental_no_dotd_scanning_with_modules command line
5927 argument is not supported anymore.
5928 - The --prune_cpp_modules command line option is not supported
5929 anymore.
5930 - the --experimental_prune_cpp_input_discovery command line option
5931 is not supported anymore.
5932
5933New features:
5934
5935 - Added support for Android NDK r18.
5936
5937Important changes:
5938
5939 - The 'default' parameter of attr.output and attr.output_list is
5940 removed. This is controlled by
5941 --incompatible_no_output_attr_default
5942 - A number of platform-related Starlark APIs which were previously
5943 marked "experimental" are now disabled by default, and may be
5944 enabled via --experimental_platforms_api
5945 - Make legacy-test-support ("legacy_test-<api-level>") from
5946 android_sdk_repository neverlink. The legacy test support
5947 libraries shouldn't be built into test binaries. To make them
5948 available at runtime, developers should declare them via
5949 uses-library:
5950 https://developer.android.com/training/testing/set-up-project#andr
5951 oid-test-base
5952 - query remote server Capabilities (per REAPI v2)
5953 - CppRules: All cc_toolchains depended on from
5954 cc_toolchain_suite.toolchains are now analyzed when not using
5955 platforms in order to select the right cc_toolchain.
5956 - removed obsolete --explicit_jre_deps flag.
5957 - Incompatible flag
5958 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
5959 flipped.
5960 - Improve error messaging when unsupport proguard options are
5961 specified at the library level.
5962 - Incompatible flag
5963 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
5964 flipped.
5965 - Incompatible flag
5966 --incompatible_disable_legacy_cpp_toolchain_skylark_api was
5967 flipped.
5968 - The --incompatible_disable_late_bound_option_defaults flag has
5969 been flipped (#6384)
5970 - Incompatible flag
5971 --incompatible_disable_legacy_flags_cc_toolchain_api was flipped
5972 (#6434)
5973 - Fixed issue where ctx.resolve_command created conflicting
5974 intermediate files when resolve_command was called multiple times
5975 within the same rule invocation with a long command attribute.
5976 - Incompatible flag
5977 --incompatible_disable_cc_configuration_make_variables was
5978 flipped (#6381)
5979 - If the --javabase flag is unset, it Bazel locates a JDK using
5980 the JAVA_HOME environment variable and searching the PATH. If no
5981 JDK is found --javabase will be empty, and builds targeting Java
5982 will not
5983 be supported. Previously Bazel would fall back to using the
5984 embedded
5985 JDK as a --javabase, but this is no longer default behaviour. A
5986 JDK should
5987 be explicitly installed instead to enable Java development
5988 - Bazel will now shut down when idle for 5 minutes and the system
5989 is low on RAM (linux only).
5990 - CROSSTOOL file is now read from the package of cc_toolchain, not
5991 from
5992 the package of cc_toolchain_suite. This is not expected to break
5993 anybody since
5994 cc_toolchain_suite and cc_toolchain are commonly in the same
5995 package.
5996 - All overrides of Starlark's ctx.new_file function are now
5997 deprecated.
5998 Try the `--incompatible_new_actions_api` flag to ensure your
5999 code is forward-compatible.
6000 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
6001 was flipped.
6002 - Introduce --(no)shutdown_on_low_sys_mem startup flag to toggle
6003 idle low-memory shutdown, disabled by default.
6004 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
6005 was flipped.
6006 - --incompatible_disable_cc_toolchain_label_from_crosstool_proto
6007 was flipped.
6008 - CppRules: All cc_toolchains depended on from
6009 cc_toolchain_suite.toolchains are now analyzed when not using
6010 platforms in order to select the right cc_toolchain.
6011 - The function `attr.license` is deprecated and will be removed.
6012 It can be disabled now with `--incompatible_no_attr_license`.
6013 - `range()` function now returns a lazy value
6014 (`--incompatible_range_type` is now set by default).
6015 - The code coverage report now includes the actual paths to header
6016 files instead of the ugly,
6017 Bazel generated, virtual includes path.
6018 - `--incompatible_disallow_conflicting_providers` has been switched
6019 to true
6020 - Add new flag `--incompatible_disable_systool_from_configration` to
6021 disable loading the systool from CppConfiguration.
6022 - Add new flag `--incompatible_disable_sysroot_from_configuration`
6023 to
6024 disable loading the systool from CppConfiguration.
6025 - Sorting remote Platform properties for remote execution. May
6026 affect cache keys!
6027 - Use different server log files per Bazel server process; java.log
6028 is
6029 now a symlink to the latest log.
6030
6031This release contains contributions from many people at Google, as well as a7g4 <a7g4@a7g4.net>, Alan <alan.agius@betssongroup.com>, Asaf Flescher <asafflesch@gmail.com>, Benjamin Peterson <bp@benjamin.pe>, Ed Schouten <ed.schouten@prodrive-technologies.com>, George Gensure <ggensure@uber.com>, George Kalpakas <kalpakas.g@gmail.com>, Greg <gregestren@users.noreply.github.com>, Irina Iancu <iirina@users.noreply.github.com>, Keith Smiley <keithbsmiley@gmail.com>, Loo Rong Jie <loorongjie@gmail.com>, Mark Zeren <mzeren@vmware.com>, Petros Eskinder <petroseskinder@users.noreply.github.com>, rachcatch <rachelcatchpoole@hotmail.com>, Robert Brown <robert.brown@gmail.com>, Robert Gay <robert.gay@redfin.com>, Salty Egg <2281521+zhouhao@users.noreply.github.com>.
6032
Bazel Release Systemcb3e2982018-11-19 11:19:38 -05006033## Release 0.19.2 (2018-11-19)
6034
6035```
6036Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
6037
6038Cherry picks:
6039
6040 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
6041 Fix the "nojava" platform and enable full presubmit checks for
6042 the various JDK platforms now that we have enough GCE resources.
6043 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
6044 Add openjdk_linux_archive java_toolchain for nojava platform.
6045 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
6046 Automated rollback of commit
6047 19a401c38e30ebc0879925a5caedcbe43de0028f.
6048 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
6049 Windows: Fix Precondition check for addDynamicInputLinkOptions
6050 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
6051 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
6052 it exists.
6053 + e025726006236520f7e91e196b9e7f139e0af5f4:
6054 Update turbine
6055 + 5f312dd1678878fb7563eae0cd184f2270346352:
6056 Fix event id for action_completed BEP events
6057 + f0c844c77a2406518c4e75c49188390d5e281d3d:
6058 Release 0.19.0 (2018-10-29)
6059 + c3fb1db9e4e817e8a911f5b347b30f2674a82f7c:
6060 Do not use CROSSTOOL to select cc_toolchain
6061 + 8e280838e8896a6b5eb5421fda435b96b6f8de60:
6062 Windows Add tests for msys gcc toolchain and mingw gcc toolchain
6063 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
6064 update bazel-toolchains pin to latest release Part of changes to
6065 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
6066 before 0.17.0 are not compatible with bazel 0.19.0 or above.
6067 + eb2af0f699350ad187048bf814a95af23f562c77:
6068 Release 0.19.1 (2018-11-12)
6069 + 6bc452874ddff69cbf7f66186238032283f1195f:
6070 Also update cc_toolchain.toolchain_identifier when
6071 CC_TOOLCHAIN_NAME is set
6072 + f7e5aef145c33968f658eb2260e25630dc41cc67:
6073 Add cc_toolchain targets for the new entries in the default
6074 cc_toolchain_suite.
6075 + 683c302129b66a8999f986be5ae7e642707e978c:
6076 Read the CROSSTOOL from the package of the current cc_toolchain,
6077 not from --crosstool_top
6078```
6079
6080- Fixes regression #6662, by fixing tools/cpp/BUILD
6081- Fixes regression #6665, by setting the toolchain identifier.
6082- CROSSTOOL file is now read from the package of cc_toolchain, not from the
6083 package of cc_toolchain_suite. This is not expected to break anybody since
6084 cc_toolchain_suite and cc_toolchain are commonly in the same package.
6085
Bazel Release System684f1092018-11-12 10:26:58 -05006086## Release 0.19.1 (2018-11-12)
6087
6088```
6089Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
6090
6091Cherry picks:
6092
6093 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
6094 Fix the "nojava" platform and enable full presubmit checks for
6095 the various JDK platforms now that we have enough GCE resources.
6096 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
6097 Add openjdk_linux_archive java_toolchain for nojava platform.
6098 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
6099 Automated rollback of commit
6100 19a401c38e30ebc0879925a5caedcbe43de0028f.
6101 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
6102 Windows: Fix Precondition check for addDynamicInputLinkOptions
6103 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
6104 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
6105 it exists.
6106 + e025726006236520f7e91e196b9e7f139e0af5f4:
6107 Update turbine
6108 + 5f312dd1678878fb7563eae0cd184f2270346352:
6109 Fix event id for action_completed BEP events
6110 + f0c844c77a2406518c4e75c49188390d5e281d3d:
6111 Release 0.19.0 (2018-10-29)
6112 + c3fb1db9e4e817e8a911f5b347b30f2674a82f7c:
6113 Do not use CROSSTOOL to select cc_toolchain
6114 + 8e280838e8896a6b5eb5421fda435b96b6f8de60:
6115 Windows Add tests for msys gcc toolchain and mingw gcc toolchain
6116 + fd52341505e725487c6bc6dfbe6b5e081aa037da:
6117 update bazel-toolchains pin to latest release Part of changes to
6118 allow bazelci to use 0.19.0 configs. RBE toolchain configs at or
6119 before 0.17.0 are not compatible with bazel 0.19.0 or above.
6120```
6121
6122Important changes:
6123- Fix regression #6610, which prevents using the MINGW compiler on Windows.
6124
Klaus Aehlig5e5832c2018-10-31 15:45:53 +01006125## Release 0.19.0 (2018-10-29)
6126
6127```
6128Baseline: ac880418885061d1039ad6b3d8c28949782e02d6
6129
6130Cherry picks:
6131
6132 + 9bc3b20053a8b99bf2c4a31323a7f96fabb9f1ec:
6133 Fix the "nojava" platform and enable full presubmit checks for
6134 the various JDK platforms now that we have enough GCE resources.
6135 + 54c2572a8cabaf2b29e58abe9f04327314caa6a0:
6136 Add openjdk_linux_archive java_toolchain for nojava platform.
6137 + 20bfdc67dc1fc32ffebbda7088ba49ee17e3e182:
6138 Automated rollback of commit
6139 19a401c38e30ebc0879925a5caedcbe43de0028f.
6140 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
6141 Windows: Fix Precondition check for addDynamicInputLinkOptions
6142 + 83d406b7da32d1b1f6dd02eae2fe98582a4556fd:
6143 Windows, test-setup.sh: Setting RUNFILES_MANIFEST_FILE only when
6144 it exists.
6145 + e025726006236520f7e91e196b9e7f139e0af5f4:
6146 Update turbine
6147 + 5f312dd1678878fb7563eae0cd184f2270346352:
6148 Fix event id for action_completed BEP events
6149```
6150
6151The Bazel team is happy to announce a new version of Bazel, [Bazel 0.19](https://github.com/bazelbuild/bazel/releases/tag/0.19.0).
6152
6153This document lists the major changes since Bazel 0.18.
6154
6155General changes
6156---------------
6157
6158* The `--incompatible_expand_directories` flag will automatically expand directories in command lines. Design doc: https://docs.google.com/document/d/11agWFiOUiz2htBLj6swPTob5z78TrCxm8DQE4uJLOwM
6159
6160* The `--loading_phase_threads` flag now defaults to `auto` (not 200, as was previously the case), which at the moment corresponds to the number of CPUs. This is appropriate for most users. However, if your sources reside on a network file system, increasing this value may yield better analysis-time performance when disk caches are cold.
6161
6162Android
6163-------
6164
6165* Fixed missing debug symbols when building native code with `--compilation_mode=dbg` that target Android ARM architectures by adding the `-g` flag.
6166
6167C++
6168---
6169
6170* Added `--incompatible_disable_legacy_flags_cc_toolchain_api` to deprecate legacy `cc_toolchain` Starlark API for legacy CROSSTOOL fields. Tracking issue is #6434. Migration docs are on the bazel website.
6171
6172* Runfiles in cc_test: the C++ runfiles library (`@bazel_tools//tools/cpp/runfiles`) can now create Runfiles objects for tests. See `//tools/cpp/runfiles/runfiles_src.h` (in the Bazel source tree) for documentation.
6173
6174* :cc_binary link action no longer hardcodes `-static-libgcc` for toolchains that support embedded runtimes (guarded by `--experimental_dont_emit_static_libgcc` temporarily).
6175
6176* The flag `--experimental_enable_cc_configuration_make_variables` is removed, use `--incompatible_disable_cc_configuration_make_variables` instead.
6177
6178Java
6179----
6180
6181* If the `--javabase` flag is unset, Bazel locates a JDK using the `JAVA_HOME` environment variable and searching the PATH. If no JDK is found `--javabase` will be empty, and builds targeting Java will not be supported. Previously Bazel would fall back to using the embedded JDK as a `--javabase`, but this is no longer default behaviour. A JDK should be explicitly installed instead to enable Java development.
6182
6183Code Coverage
6184-------------
6185
6186* LcovMerger was renamed to CoverageOutputGenerator.
6187
6188* Faster coverage collection for gcc compiled C++ code can now be tested by enabling it with `--experimental_cc_coverage`.
6189
6190Other Changes
6191-------------
6192
6193* Add `--apple_compiler` and `--apple_grte_top options`. These provide the equivalent of --compiler / --grte_top for the toolchain configured in --apple_crosstool_top.
6194
6195* There is now a `same_pkg_direct_rdeps` query function. See the query documentation for more details.
6196
6197* Propagating remote errors to the user even if `--verbose_failures=false` is set.
6198
6199* Add number of configured targets to analysis phase status output.
6200
6201* Bazel will now check stderr instead of stdout to decide if it is outputting to a terminal. `--isatty` is deprecated, use `--is_stderr_atty` instead.
6202
6203Future Changes
6204--------------
6205
6206* None of the C++ related incompatible flags mentioned in the 0.18 release were flipped, they will be flipped in the next release (0.20). We have created tracking issues for all the relevant incompatible flags:
6207 * [`--incompatible_disable_late_bound_option_defaults`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-late-bound-option-defaults): #6384
6208 * [`--incompatible_disable_depset_in_cc_user_flags`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-depsets-in-c-toolchain-api-in-user-flags): #6383
6209 * [`--incompatible_disable_cc_toolchain_label_from_crosstool_proto`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-crosstool-to-select-the-cc_toolchain-label): #6382
6210 * [`--incompatible_disable_cc_configuration_make_variables`](https://github.com/bazelbuild/bazel/issues/6381): #6381
6211 * [`--incompatible_disable_legacy_cpp_toolchain_skylark_api`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-legacy-c-configuration-api): #6380
6212 * [`incompatible_disable_legacy_flags_cc_toolchain_api`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-legacy-c-toolchain-api): #6434
6213
6214* In the 0.20 release the flags [`--incompatible_remove_native_git_repository`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#remove-native-git-repository) and [`--incompatible_remove_native_http_archive`](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#remove-native-http-archive) will be turned on.
6215
6216Thank you to our contributors!
6217------------------------------
6218
6219This release contains contributions from many people at Google, as well as Andreas Herrmann, Andreas Hippler, Benjamin Peterson, David Ostrovsky, Ed Baunton, George Gensure, Igal Tabachnik, Jason Gavris, Loo Rong Jie, rmalik, and Yannic Bonenberger
6220
6221Thank you to everyone who contributed to this release!
6222
Bazel Release System92849b82018-10-31 15:41:11 +01006223## Release 0.18.1 (2018-10-31)
Bazel Release System36177972018-10-15 10:29:10 +02006224
6225```
Bazel Release System92849b82018-10-31 15:41:11 +01006226Baseline: c062b1f1730f3562d5c16a037b374fc07dc8d9a2
Bazel Release System36177972018-10-15 10:29:10 +02006227
6228Cherry picks:
6229
Bazel Release System92849b82018-10-31 15:41:11 +01006230 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
6231 Include also ext jars in the bootclasspath jar.
6232 + 2579b791c023a78a577e8cb827890139d6fb7534:
6233 Fix toolchain_java9 on --host_javabase=<jdk9> after
6234 7eb9ea150fb889a93908d96896db77d5658e5005
6235 + faaff7fa440939d4367f284ee268225a6f40b826:
6236 Release notes: fix markdown
6237 + b073a18e3fac05e647ddc6b45128a6158b34de2c:
6238 Fix NestHost length computation Fixes #5987
6239 + bf6a63d64a010f4c363d218e3ec54dc4dc9d8f34:
6240 Fixes #6219. Don't rethrow any remote cache failures on either
6241 download or upload, only warn. Added more tests.
6242 + c1a7b4c574f956c385de5c531383bcab2e01cadd:
6243 Fix broken IdlClassTest on Bazel's CI.
6244 + 71926bc25b3b91fcb44471e2739b89511807f96b:
6245 Fix the Xcode version detection which got broken by the upgrade
6246 to Xcode 10.0.
6247 + 86a8217d12263d598e3a1baf2c6aa91b2e0e2eb5:
6248 Temporarily restore processing of workspace-wide tools/bazel.rc
6249 file.
Bazel Release System83870d62018-10-29 10:31:13 -04006250 + 914b4ce14624171a97ff8b41f9202058f10d15b2:
6251 Windows: Fix Precondition check for addDynamicInputLinkOptions
Bazel Release System83870d62018-10-29 10:31:13 -04006252 + e025726006236520f7e91e196b9e7f139e0af5f4:
6253 Update turbine
Bazel Release System36177972018-10-15 10:29:10 +02006254```
6255
Bazel Release System92849b82018-10-31 15:41:11 +01006256Important changes:
Bazel Release System83870d62018-10-29 10:31:13 -04006257
Bazel Release System92849b82018-10-31 15:41:11 +01006258 - Fix regression #6219, remote cache failures
Bazel Release System36177972018-10-15 10:29:10 +02006259
Klaus Aehlig7b417542018-10-29 15:46:36 +01006260## Release 0.18.0 (2018-10-15)
6261
6262```
6263Baseline: c062b1f1730f3562d5c16a037b374fc07dc8d9a2
6264
6265Cherry picks:
6266
6267 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
6268 Include also ext jars in the bootclasspath jar.
6269 + 2579b791c023a78a577e8cb827890139d6fb7534:
6270 Fix toolchain_java9 on --host_javabase=<jdk9> after
6271 7eb9ea150fb889a93908d96896db77d5658e5005
6272 + faaff7fa440939d4367f284ee268225a6f40b826:
6273 Release notes: fix markdown
6274 + b073a18e3fac05e647ddc6b45128a6158b34de2c:
6275 Fix NestHost length computation Fixes #5987
6276 + bf6a63d64a010f4c363d218e3ec54dc4dc9d8f34:
6277 Fixes #6219. Don't rethrow any remote cache failures on either
6278 download or upload, only warn. Added more tests.
6279 + c1a7b4c574f956c385de5c531383bcab2e01cadd:
6280 Fix broken IdlClassTest on Bazel's CI.
6281 + 71926bc25b3b91fcb44471e2739b89511807f96b:
6282 Fix the Xcode version detection which got broken by the upgrade
6283 to Xcode 10.0.
6284 + 86a8217d12263d598e3a1baf2c6aa91b2e0e2eb5:
6285 Temporarily restore processing of workspace-wide tools/bazel.rc
6286 file.
6287```
6288
6289General changes
6290
6291- New [bazelrc file list](https://docs.bazel.build/versions/master/user-manual.html#where-are-the-bazelrc-files).
6292 If you need to keep both the old and new lists of .rc files active
6293 concurrently to support multiple versions of Bazel, you can import the old
6294 file location into the new list using `try-import`. This imports a file if it
6295 exists and silently exits if it does not. You can use this method to account
6296 for a user file that may or may not exist
6297
6298- [.bazelignore](https://docs.bazel.build/versions/master/user-manual.html#.bazelignore)
6299 is now fully functional.
6300
6301- The startup flag `--host_javabase` has been renamed to
6302 `--server_javabase` to avoid confusion with the build flag
6303 `--host_javabase`.
6304
6305Android
6306
6307- The Android resource processing pipeline now supports persistence
6308 via worker processes. Enable it with
6309 `--persistent_android_resource_processor`. We have observed a 50% increase
6310 in build speed for clean local builds and up to 150% increase in build
6311 speed for incremental local builds.
6312
6313C++
6314
6315- In-memory package //tools/defaults has been removed (controlled by
6316 `--incompatible_disable_tools_defaults_package` flag). Please see
6317 [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-inmemory-tools-defaults-package)
6318 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
6319 behavior will be removed in Bazel 0.20.
6320
6321- Late bound option defaults (typical example was the `--compiler` flag, when
6322 it was not specified, it’s value was computed using the CROSSTOOL) are removed
6323 (controlled by `--incompatible_disable_late_bound_option_defaults` flag).
6324 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-late-bound-option-defaults)
6325 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
6326 behavior will be removed in Bazel 0.20.
6327
6328- Depsets are no longer accepted in `user_compile_flags` and `user_link_flags`
6329 in the C++ toolchain API (controlled by
6330 `--incompatible_disable_depset_in_cc_user_flags` flag) affects C++ users.
6331 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disable-depsets-in-c-toolchain-api-in-user-flags)
6332 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy
6333 behavior will be removed in Bazel 0.20.
6334
6335- CROSSTOOL is no longer consulted when selecting C++ toolchain (controlled by
6336 `--incompatible_disable_cc_toolchain_label_from_crosstool_proto` flag).
6337 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-crosstool-to-select-the-cc_toolchain-label)
6338 and migrate soon, the flag will be flipped in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
6339
6340- You can now use [`toolchain_identifier` attribute](https://github.com/bazelbuild/bazel/commit/857d4664ce939f240b1d10d8d2baca6c6893cfcb)
6341 on `cc_toolchain` to pair it with CROSSTOOL toolchain.
6342
6343- C++ specific Make variables
6344 are no longer passed from the `CppConfiguration`, but from the C++ toolchain
6345 (controlled by `--incompatible_disable_cc_configuration_make_variables` flag).
6346 Please see [migration instructions](https://docs.bazel.build/versions/master/skylark/backward-compatibility.html#disallow-using-c-specific-make-variables-from-the-configuration)
6347 and migrate soon, the flag will be flipped
6348 in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
6349
6350- Skylark api accessing C++
6351 toolchain in `ctx.fragments.cpp` is removed (controlled by
6352 `--incompatible_disable_legacy_cpp_toolchain_skylark_api` flag).
6353 Please migrate soon, the flag will be flipped
6354 in Bazel 0.19, and the legacy behavior will be removed in Bazel 0.20.
6355
6356- cc_binary link action no longer hardcodes
6357 `-static-libgcc` for toolchains that support embedded runtimes
6358 (guarded by [`--experimental_dont_emit_static_libgcc`](https://source.bazel.build/bazel/+/2f281960b829e964526a9d292d4c3003e4d19f1c)
6359 temporarily). Proper deprecation using `--incompatible` flags will follow.
6360
6361Java
6362
6363- Future versions of Bazel will require a locally installed JDK
6364 for Java development. Previously Bazel would fall back to using
6365 the embedded `--server_javabase` if no JDK as available. Pass
6366 `--incompatible_never_use_embedded_jdk_for_javabase` to disable the
6367 legacy behaviour.
6368
6369- `--javacopt=` no longer affects compilations of tools that are
6370 executed during the build; use `--host_javacopt=` to change javac
6371 flags in the host configuration.
6372
6373Objective C
6374
6375- `objc_library` now supports the module_name attribute.
6376
6377Skylark
6378
6379- Adds `--incompatible_expand_directories` to automatically expand
6380 directories in skylark command lines. Design doc:
6381 https://docs.google.com/document/d/11agWFiOUiz2htBLj6swPTob5z78TrCxm8DQE4uJLOwM
6382
6383- Support fileset expansion in ctx.actions.args(). Controlled by
6384 `--incompatible_expand_directories`.
6385
6386Windows
6387
6388- `--windows_exe_launcher` is deprecated, this flag will be removed
6389 soon. Please make sure you are not using it.
6390
6391- Bazel now supports the symlink runfiles tree on Windows with
6392 `--experimental_enable_runfiles` flag. For more details, see
6393 [this doc](https://docs.google.com/document/d/1hnYmU1BmtCSJOUvvDAK745DSJQCapToJxb3THXYMrmQ).
6394
6395Other Changes
6396
6397- A new experimental option `--experimental_ui_deduplicate` has been added. It
6398 causes the UI to attempt to deduplicate messages from actions to keep the
6399 console output cleaner.
6400
6401- Add `--modify_execution_info`, a flag to customize action execution
6402 info.
6403
6404- Add ExecutionInfo to aquery output for ExecutionInfoSpecifier
6405 actions.
6406
6407- When computing `--instrumentation_filter`, end filter patterns with
6408 "[/:]" to match non-top-level packages exactly and treat
6409 top-level targets consistently.
6410
6411- Added the `bazel info server_log` command, which obtains the main Bazel
6412 server log file path. This can help debug Bazel issues.
6413
6414- `aapt shrink` resources now properly respect filter configurations.
6415
Bazel Release System50921e62018-09-21 12:27:04 +02006416## Release 0.17.2 (2018-09-21)
6417
6418```
6419Baseline: aa118ca818baf722aede0bc48d0a17584fa45b6e
6420
6421Cherry picks:
6422 + 0e0462589528154cb5160411991075a2000b5452:
6423 Update checker framework dataflow and javacutil versions
6424 + 3987300d6651cf0e6e91b395696afac6913a7d66:
6425 Stop using --release in versioned java_toolchains
6426 + 438b2773b8c019afa46be470b90bcf70ede7f2ef:
6427 make_deb: Add new empty line in the end of conffiles file
6428 + 504401791e0a0e7e3263940e9e127f74956e7806:
6429 Properly mark configuration files in the Debian package.
6430 + 9ed9d8ac4347408d15c8fce7c9c07e5c8e658b30:
6431 Add flag
6432 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfil
6433 es_tree.
6434 + 22d761ab42dfb1b131f1facbf490ccdb6c17b89c:
6435 Update protobuf to 3.6.1 -- add new files
6436 + 27303d79c38f2bfa3b64ee7cd7a6ef03a9a87842:
6437 Update protobuf to 3.6.1 -- update references
6438 + ddc97ed6b0367eb443e3e09a28d10e65179616ab:
6439 Update protobuf to 3.6.1 -- remove 3.6.0 sources
6440 + ead1002d3803fdfd4ac68b4b4872076b19d511a2:
6441 Fix protobuf in the WORKSPACE
6442 + 12dcd35ef7a26d690589b0fbefb1f20090cbfe15:
6443 Revert "Update to JDK 10 javac"
6444 + 7eb9ea150fb889a93908d96896db77d5658e5005:
6445 Automated rollback of
6446 https://github.com/bazelbuild/bazel/commit/808ec9ff9b5cec14f23a4b
6447 a106bc5249cacc8c54 and
6448 https://github.com/bazelbuild/bazel/commit/4c9149d558161e7d3e363f
6449 b697f5852bc5742a36 and some manual merging.
6450 + 4566a428c5317d87940aeacfd65f1018340e52b6:
6451 Fix tests on JDK 9 and 10
6452 + 1e9f0aa89dad38eeab0bd40e95e689be2ab6e5e5:
6453 Fix more tests on JDK 9 and 10
6454 + a572c1cbc8c26f625cab6716137e2d57d05cfdf3:
6455 Add ubuntu1804_nojava, ubuntu1804_java9, ubuntu1804_java10 to
6456 postsubmit.
6457 + 29f1de099e4f6f0f50986aaa4374fc5fb7744ee8:
6458 Disable Android shell tests on the "nojava" platform.
6459 + b495eafdc2ab380afe533514b3bcd7d5b30c9935:
6460 Update bazel_toolchains to latest release.
6461 + 9323c57607d37f9c949b60e293b573584906da46:
6462 Windows: fix writing java.log
6463 + 1aba9ac4b4f68b69f2d91e88cfa8e5dcc7cb98c2:
6464 Automated rollback of commit
6465 de22ab0582760dc95f33e217e82a7b822378f625.
6466 + 2579b791c023a78a577e8cb827890139d6fb7534:
6467 Fix toolchain_java9 on --host_javabase=<jdk9> after
6468 7eb9ea150fb889a93908d96896db77d5658e5005
6469 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
6470 Include also ext jars in the bootclasspath jar.
6471 + fdb09a260dead1e1169f94584edc837349a4f4a5:
6472 Release 0.17.1 (2018-09-14)
6473 + 1d956c707e1c843896ac58a341c335c9c149073d:
6474 Do not fail the build when gcov is not installed
6475 + 2e677fb6b8f309b63558eb13294630a91ee0cd33:
6476 Ignore unrecognized VM options in desugar.sh, such as the JVM 9
6477 flags to silence warnings.
6478```
6479
6480Important changes:
6481
6482 - In the future, Bazel will expand tree artifacts in runfiles, too,
6483 which causes the sandbox to link each file individually into the
6484 sandbox directory, instead of symlinking the entire directory. In
6485 this release, the behavior is not enabled by default yet. Please
6486 try it out via
6487 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
6488 s_tree and let us know if it causes issues. If everything looks
6489 good, this behavior will become the default in a following
6490 release.
6491
Bazel Release Systemfdb09a22018-09-14 12:15:54 +02006492## Release 0.17.1 (2018-09-14)
6493
6494```
6495Baseline: aa118ca818baf722aede0bc48d0a17584fa45b6e
6496
6497Cherry picks:
6498 + 0e0462589528154cb5160411991075a2000b5452:
6499 Update checker framework dataflow and javacutil versions
6500 + 3987300d6651cf0e6e91b395696afac6913a7d66:
6501 Stop using --release in versioned java_toolchains
6502 + 438b2773b8c019afa46be470b90bcf70ede7f2ef:
6503 make_deb: Add new empty line in the end of conffiles file
6504 + 504401791e0a0e7e3263940e9e127f74956e7806:
6505 Properly mark configuration files in the Debian package.
6506 + 9ed9d8ac4347408d15c8fce7c9c07e5c8e658b30:
6507 Add flag
6508 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfil
6509 es_tree.
6510 + 22d761ab42dfb1b131f1facbf490ccdb6c17b89c:
6511 Update protobuf to 3.6.1 -- add new files
6512 + 27303d79c38f2bfa3b64ee7cd7a6ef03a9a87842:
6513 Update protobuf to 3.6.1 -- update references
6514 + ddc97ed6b0367eb443e3e09a28d10e65179616ab:
6515 Update protobuf to 3.6.1 -- remove 3.6.0 sources
6516 + ead1002d3803fdfd4ac68b4b4872076b19d511a2:
6517 Fix protobuf in the WORKSPACE
6518 + 12dcd35ef7a26d690589b0fbefb1f20090cbfe15:
6519 Revert "Update to JDK 10 javac"
6520 + 7eb9ea150fb889a93908d96896db77d5658e5005:
6521 Automated rollback of
6522 https://github.com/bazelbuild/bazel/commit/808ec9ff9b5cec14f23a4b
6523 a106bc5249cacc8c54 and
6524 https://github.com/bazelbuild/bazel/commit/4c9149d558161e7d3e363f
6525 b697f5852bc5742a36 and some manual merging.
6526 + 4566a428c5317d87940aeacfd65f1018340e52b6:
6527 Fix tests on JDK 9 and 10
6528 + 1e9f0aa89dad38eeab0bd40e95e689be2ab6e5e5:
6529 Fix more tests on JDK 9 and 10
6530 + a572c1cbc8c26f625cab6716137e2d57d05cfdf3:
6531 Add ubuntu1804_nojava, ubuntu1804_java9, ubuntu1804_java10 to
6532 postsubmit.
6533 + 29f1de099e4f6f0f50986aaa4374fc5fb7744ee8:
6534 Disable Android shell tests on the "nojava" platform.
6535 + b495eafdc2ab380afe533514b3bcd7d5b30c9935:
6536 Update bazel_toolchains to latest release.
6537 + 9323c57607d37f9c949b60e293b573584906da46:
6538 Windows: fix writing java.log
6539 + 1aba9ac4b4f68b69f2d91e88cfa8e5dcc7cb98c2:
6540 Automated rollback of commit
6541 de22ab0582760dc95f33e217e82a7b822378f625.
6542 + 2579b791c023a78a577e8cb827890139d6fb7534:
6543 Fix toolchain_java9 on --host_javabase=<jdk9> after
6544 7eb9ea150fb889a93908d96896db77d5658e5005
6545 + 2834613f93f74e988c51cf27eac0e59c79ff3b8f:
6546 Include also ext jars in the bootclasspath jar.
6547```
6548
6549Incompatible changes:
6550
6551 - Loading @bazel_tools//tools/build_defs/repo:git_repositories.bzl
6552 no longer works. Load @bazel_tools//tools/build_defs/repo:git.bzl
6553 instead.
6554 - If the same artifact is generated by two distinct but identical
6555 actions, and a downstream action has both those actions' outputs
6556 in its inputs, the artifact will now appear twice in the
6557 downstream action's inputs. If this causes problems in Skylark
6558 actions, you can use the uniquify=True argument in Args.add_args.
6559 - If the same artifact is generated by two distinct but identical
6560 actions, and a downstream action has both those actions' outputs
6561 in its inputs, the artifact will now appear twice in the
6562 downstream action's inputs. If this causes problems in Skylark
6563 actions, you can use the uniquify=True argument in Args.add_args.
6564 - Labels in C++ rules' linkopts attribute are not expanded anymore
6565 unless they are wrapped, e.g: $(location //foo:bar)
6566 - If the same artifact is generated by two distinct but identical
6567 actions, and a downstream action has both those actions' outputs
6568 in its inputs, the artifact will now appear twice in the
6569 downstream action's inputs. If this causes problems in Skylark
6570 actions, you can use the uniquify=True argument in Args.add_args.
6571 - New bazelrc file list.
6572 - Windows: when BAZEL_SH envvar is not defined and Bazel searches
6573 for a suitable bash.exe, Bazel will no longer look for Git Bash
6574 and no longer recommend installing it as a Bash implementation.
6575 See issue #5751.
6576 - New bazelrc file list.
6577
6578New features:
6579
6580 - The aquery command now supports --output=text.
6581 - Java, runfiles: the Java runfiles library is now in
6582 @bazel_tools//tools/java/runfiles. The old target
6583 (@bazel_tools//tools/runfiles:java-runfiles) is deprecated and
6584 will be removed in Bazel 0.18.0.
6585 - Java, runfiles: the Java runfiles library is now in
6586 @bazel_tools//tools/java/runfiles. The old target
6587 (@bazel_tools//tools/runfiles:java-runfiles) is deprecated and
6588 will be removed in Bazel 0.19.0 (not 0.18.0, as stated earlier).
6589
6590Important changes:
6591
6592 - Allow @ in package names.
6593 - Remove support for java_runtime_suite; use alias() together with
6594 select() instead.
6595 - Python wrapper scripts for MSVC are removed.
6596 - [JavaInfo] Outputs are merged in java_common.merge().
6597 - Faster analysis by improved parallelization.
6598 - --experimental_shortened_obj_file_path is removed.
6599 - Introduce the --remote_cache_proxy flag,
6600 which allows for remote http caching to connect
6601 via a unix domain socket.
6602 - No longer define G3_VERSION_INFO for c++ linkstamp compiles, as
6603 it was a duplicate of G3_TARGET_NAME.
6604 - Added support for Android NDK r17. The default STL is now
6605 `libc++`, and support for targeting `mips`, `mips64` and `ARMv5`
6606 (`armeabi`) has been removed.
6607 - Add aquery command to get analysis time information about the
6608 action graph.
6609 - Fixed compatibility with aar_import when using aapt2. AAPT2 is
6610 now supported for Android app builds without resource shrinking.
6611 To use it, pass the `--android_aapt=aapt2` flag or define
6612 android_binary.aapt_version=aapt2.
6613 - Code coverage is collected for Java binaries invoked from sh_test.
6614 - java_common.compile creates the native headers jar accesible via
6615 JavaInfo.outputs.native_headers.
6616 - Deleting deprecated no-op flag --show_package_location
6617 - The JDK shipped with Bazel was updated to JDK10.
6618 - Rename the startup flag --host_javabase to --server_javabase to
6619 avoid confusion with the build flag --host_javabase
6620 - newly added options --experimental_repository_hash_file and
6621 --experimental_verify_repository_rules allow to verify for
6622 repositories
6623 the directory generated against pre-recorded hashes. See
6624 documentation
6625 for those options.
6626 - Removed the gen_jars output group
6627 - --subcommands can now take a "pretty_print" value
6628 ("--subcommands=pretty_print") to print the
6629 arguments of subcommands as a list for easier reading.
6630 - follow-up to
6631 https://github.com/bazelbuild/bazel/commit/1ac359743176e659e9c7472
6632 645e3142f3c44b9e8
6633 - A rule error is now thrown if a Skylark rule implementation
6634 function returns multiple providers of the same type.
6635 - When using Bazel's remote execution feature and Bazel has to
6636 fallback to local execution for an action, Bazel used
6637 non-sandboxed
6638 local execution until now. From this release on, you can use the
6639 new
6640 flag --remote_local_fallback_strategy=<strategy> to tell Bazel
6641 which
6642 strategy to use in that case.
6643 - Execution Log Parser can now, when printing it out, filter the
6644 log by runner type
6645 - A rule error is now thrown if a Skylark rule implementation
6646 function returns multiple providers of the same type.
6647 - Removed the gen_jars output group
6648 - Removed the gen_jars output group
6649 - Set --defer_param_files to default to true.
6650 - Sort attribute lists in proto-form query output to fix
6651 non-deterministic genquery output.
6652 - Replace 0/1 with False/True for testonly attribute
6653 - bazel now supports a .bazelignore file specifying
6654 directories to be ignored; however, these directories still
6655 have to be well founded and, in particular, may not contain
6656 symlink cycles.
6657 - Add more detailed reporting of the differences between startup
6658 options.
6659 - update data binding to 3.2.0
6660 - For Android incremental dexing actions, Bazel now persists its
6661 DexBuilder process across individual actions. From our
6662 benchmarks, this results in a 1.2x speedup for clean local builds.
6663 - The standard `xcode_VERSION` feature now always uses exactly two
6664 components in the version, even if you specify `--xcode_version`
6665 with
6666 more or fewer than two.
6667 - A rule error will be thrown if a Skylark rule implementation
6668 function returns multiple providers of the same type. Try the
6669 `--incompatible_disallow_conflicting_providers` flag to ensure
6670 your code is forward-compatible.
6671 - Removed notion of FULLY_STATIC linking mode from C++ rules.
6672 - In documentation, we've renamed Skylark into Starlark.
6673 - Execution Log Parser can now, when printing it out, reorder the
6674 actions for easier text diffs
6675 - Linkstamps are no longer recompiled after server restart.
6676 - Use VanillaJavaBuilder and disable header compilation in
6677 toolchain_hostjdk8. The default toolchain will soon drop
6678 compatibility with JDK 8. Using a JDK 8 host_javabase
6679 will only be supported when using 'VanillaJavaBuilder' (which
6680 does not support Error Prone,
6681 Strict Java Deps, or reduced classpaths) and with header
6682 compilation disabled.
6683 - In the future, Bazel will expand tree artifacts in runfiles, too,
6684 which causes the sandbox to link each file individually into the
6685 sandbox directory, instead of symlinking the entire directory. In
6686 this release, the behavior is not enabled by default yet. Please
6687 try it out via
6688 --incompatible_symlinked_sandbox_expands_tree_artifacts_in_runfile
6689 s_tree and let us know if it causes issues. If everything looks
6690 good, this behavior will become the default in a following
6691 release.
6692
Bazel Release System1bd58832018-08-13 15:41:26 +02006693## Release 0.16.1 (2018-08-13)
6694
6695```
6696Baseline: 4f64b77a3dd8e4ccdc8077051927985f9578a3a5
6697
6698Cherry picks:
6699 + 4c9a0c82d308d5df5c524e2a26644022ff525f3e:
6700 reduce the size of bazel's embedded jdk
6701 + d3228b61f633cdc5b3f740b641a0836f1bd79abd:
6702 remote: limit number of open tcp connections by default. Fixes
6703 #5491
6704 + 8ff87c164f48dbabe3b20becd00dde90c50d46f5:
6705 Fix autodetection of linker flags
6706 + c4622ac9205d2f1b42dac8c598e83113d39e7f11:
6707 Fix autodetection of -z linker flags
6708 + 10219659f58622d99034288cf9f491865f818218:
6709 blaze_util_posix.cc: fix order of #define
6710 + ab1f269017171223932e0da9bb539e8a17dd99ed:
6711 blaze_util_freebsd.cc: include path.h explicitly
6712 + 68e92b45a37f2142c768a56eb7ecfa484b8b22df:
6713 openjdk: update macOS openjdk image. Fixes #5532
6714 + f45c22407e6b00fcba706eb62141cb9036bd38d7:
6715 Set the start time of binary and JSON profiles to zero correctly.
6716 + bca1912853086b8e9a28a85a1b144ec0dc9717cc:
6717 remote: fix race on download error. Fixes #5047
6718 + 3842bd39e10612c7eef36c6048407e81bcd0a8fb:
6719 jdk: use parallel old gc and disable compact strings
6720 + 6bd0bdf5140525cb33dc2db068b210261d9df271:
6721 Add objc-fully-link to the list of actions that require the
6722 apple_env feature. This fixes apple_static_library functionality.
6723 + f330439fb970cfa17c70fc59c1458bb1c31c9522:
6724 Add the action_names_test_files target to the OSS version of
6725 tools/buils_defs/cc/BUILD.
6726 + d215b64362c4ede61c8ba87b5f3f57bce4785d15:
6727 Fix StackOverflowError on Windows. Fixes #5730
6728 + 366da4cf27b7f957ef39f89206db77fa2ac289df:
6729 In java_rules_skylark depend on the javabase through
6730 //tools/jdk:current_java_runtime
6731 + 30c601dc13d9e1b40a57434c022c888c7578cc56:
6732 Don't use @local_jdk for jni headers
6733 + c56699db5f9173739ba3ac55aa9fa69b6457a99b:
6734 'DumpPlatformClasspath' now dumps the current JDK's default
6735 platform classpath
6736```
6737
6738This release is a patch release that contains fixes for several serious
6739regressions that were found after the release of Bazel 0.16.0.
6740
6741In particular this release resolves the following issues:
6742
6743 - Bazel crashes with a StackOverflowError on Windows (See #5730)
6744 - Bazel requires a locally installed JDK and does not fall back
6745 to the embedded JDK (See #5744)
6746 - Bazel fails to build for Homebrew on macOS El Capitan (See #5777)
6747 - A regression in apple_static_library (See #5683)
6748
6749Please watch our blog for a more detailed release announcement.
6750
Bazel Release Systemb292ad12018-07-31 12:55:37 -04006751## Release 0.16.0 (2018-07-31)
Bazel Release System97564f62018-07-17 14:19:41 +02006752
6753```
Bazel Release Systemb292ad12018-07-31 12:55:37 -04006754Baseline: 4f64b77a3dd8e4ccdc8077051927985f9578a3a5
Bazel Release System97564f62018-07-17 14:19:41 +02006755
6756Cherry picks:
Bazel Release Systemb292ad12018-07-31 12:55:37 -04006757 + 4c9a0c82d308d5df5c524e2a26644022ff525f3e:
6758 reduce the size of bazel's embedded jdk
6759 + d3228b61f633cdc5b3f740b641a0836f1bd79abd:
6760 remote: limit number of open tcp connections by default. Fixes
6761 #5491
Bazel Release System97564f62018-07-17 14:19:41 +02006762 + 8ff87c164f48dbabe3b20becd00dde90c50d46f5:
6763 Fix autodetection of linker flags
6764 + c4622ac9205d2f1b42dac8c598e83113d39e7f11:
6765 Fix autodetection of -z linker flags
Bazel Release Systemb292ad12018-07-31 12:55:37 -04006766 + 10219659f58622d99034288cf9f491865f818218:
6767 blaze_util_posix.cc: fix order of #define
6768 + ab1f269017171223932e0da9bb539e8a17dd99ed:
6769 blaze_util_freebsd.cc: include path.h explicitly
6770 + 68e92b45a37f2142c768a56eb7ecfa484b8b22df:
6771 openjdk: update macOS openjdk image. Fixes #5532
6772 + f45c22407e6b00fcba706eb62141cb9036bd38d7:
6773 Set the start time of binary and JSON profiles to zero correctly.
6774 + bca1912853086b8e9a28a85a1b144ec0dc9717cc:
6775 remote: fix race on download error. Fixes #5047
6776 + 3842bd39e10612c7eef36c6048407e81bcd0a8fb:
6777 jdk: use parallel old gc and disable compact strings
Bazel Release System97564f62018-07-17 14:19:41 +02006778```
6779
Bazel Release Systemb292ad12018-07-31 12:55:37 -04006780Incompatible changes:
6781
6782 - The $(ANDROID_CPU) Make variable is not available anymore. Use
6783 $(TARGET_CPU) after an Android configuration transition instead.
6784 - The $(JAVA_TRANSLATIONS) Make variable is not supported anymore.
6785 - Skylark structs (using struct()) may no longer have to_json and
6786 to_proto overridden.
6787 - The mobile-install --skylark_incremental_res flag is no longer
6788 available, use the --skylark flag instead.
6789
6790New features:
6791
6792 - android_local_test now takes advantage of Robolectric's binary
6793 resource processing which allows for faster tests.
6794 - Allow @ in package names.
6795
Bazel Release System97564f62018-07-17 14:19:41 +02006796Important changes:
6797
Bazel Release Systemb292ad12018-07-31 12:55:37 -04006798 - Option --glibc is removed, toolchain selection relies solely on
6799 --cpu and --compiler options.
6800 - Build support for enabling cross binary FDO optimization.
6801 - The --distdir option is no longer experimental. This
6802 option allows to specify additional directories to look for
6803 files before trying to fetch them from the network. Files from
6804 any of the distdirs are only used if a checksum for the file
6805 is specified and both, the filename and the checksum, match.
6806 - Java coverage works now with multiple jobs.
6807 - Flip default value of --experimental_shortened_obj_file_path to
6808 true, Bazel now generates short object file path by default.
6809 - New rules for importing Android dependencies:
6810 `aar_import_external` and `aar_maven_import_external`.
6811 `aar_import_external` enables specifying external AAR
6812 dependencies using a list of HTTP URLs for the artifact.
6813 `aar_maven_import_external` enables specifying external AAR
6814 dependencies using the artifact coordinate and a list of server
6815 URLs.
6816 - The BAZEL_JAVAC_OPTS environment variable allows arguments, e.g.,
6817 "-J-Xmx2g", may be passed to the javac compiler during bootstrap
6818 build. This is helpful if your system chooses too small of a max
6819 heap size for the Java compiler during the bootstrap build.
6820 - --noexpand_configs_in_place is deprecated.
6821 - A tool to parse the Bazel execution log.
6822 - Support for LIPO has been fully removed.
6823 - Remove support for --discard_actions_after_execution.
6824 - Add --materialize_param_files flag to write parameter files even
6825 when actions are executed remotely.
6826 - Windows default system bazelrc is read from the user's
6827 ProgramData if present.
6828 - --[no]allow_undefined_configs no longer exists, passing undefined
6829 configs is an error.
Bazel Release System1281a022018-07-16 16:13:53 +02006830 - In remote caching we limit the number of open
6831 TCP connections to 100 by default. The number can be adjusted
6832 by specifying the --remote_max_connections flag.
6833
Bazel Release System5013a332018-06-26 14:07:47 +02006834## Release 0.15.0 (2018-06-26)
6835
6836```
6837Baseline: b93ae42e8e693ccbcc387841a17f58259966fa38
6838
6839Cherry picks:
6840 + 4b80f2455e7e49a95f3a4c9102a67a57dad52207:
6841 Add option to enable Docker sandboxing.
6842 + 6b1635279e8b33dc1ac505ac81825e38f8797a14:
6843 Allow disabling the simple blob caches via CLI flag overrides.
6844 + 4ec0a7524913ab2c4641368e3f8c09b347351a08:
6845 Use BUILD.bazel instead of BUILD for external projects
6846```
6847
6848Incompatible changes:
6849
6850 - Bazel now always runs binaries in with "bazel run" in
6851 interactive mode. The "--nodirect_run" command line option is now
6852 a no-op.
6853 - "bazel run --noas_test" is not supported anymore.
6854 - Indentation on the first line of a file was previously ignored.
6855 This is now fixed.
6856
6857New features:
6858
6859 - C++,runfiles: to access data-dependencies (runfiles) in C++
6860 programs, use the runfiles library built into Bazel. For usage
6861 info, see
6862 https://github.com/bazelbuild/bazel/blob/master/tools/cpp/runfiles
6863 /runfiles.h
6864
6865Important changes:
6866
6867 - Bazel now allows almost all 7-bit ASCII characters in labels.
6868 - Remove vestigial java_plugin.data attribute
6869 - Bazel supports including select Java 8 APIs into Android apps
6870 targeting pre-Nougat Android devices with
6871 --experimental_desugar_java8_libs
6872 - Flag `--incompatible_disable_glob_tracking` is removed.
6873 - SkyQuery's rbuildfiles now returns targets corresponding to
6874 broken packages.
6875 - Introduce build support for providing cache prefetch hints.
6876 - Update the skylark DefaultInfo documentation to spell out
6877 runfiles, data_runfiles and default_runfiles
6878 - An internal action for symlinking runfiles will use Command
6879 instead of a Spawns. This should have no functional chages; the
6880 only user visible consequence should be that the internal action
6881 is no longer be included in statistics when calculating processes
6882 count.
6883 - --batch is deprecated
6884 - execution strategies line no longer handles differently the case
6885 where all processes have the same strategy.
6886 - The --experimental_remote_spawn_cache flag is now enabled by
6887 default, and remote caching no longer needs --*_strategy=remote
6888 flags (it will fail if they are specified).
6889 - android_binary.aapt_version='aapt2' now supports en_XA and ar_XB
6890 - Added --apple_enable_auto_dsym_dbg flag.
6891 - non_propagated_deps has been removed from objc_library and
6892 apple_binary.
6893 - For Android projects, Bazel now supports building fonts as
6894 resources. See
6895 https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml
6896 for more information on the feature.
6897 - With --incompatible_no_support_tools_in_action_inputs enabled, Skylark
6898 action inputs are no longer scanned for tools. Move any such
6899 inputs to the newly introduced 'tools' attribute.
6900
Bazel Release System513bbf52018-06-08 14:15:20 +02006901## Release 0.14.1 (2018-06-08)
6902
6903```
6904Baseline: 5c3f5c9be7fa40d4fb3c35756891fab8483ca406
6905
6906Cherry picks:
6907 + f96f037f8f77335dc444844abcc31a372a3e1849:
6908 Windows, Java launcher: Support jar files under different drives
6909 + ff8162d01409db34893de98bd840a51c5f13e257:
6910 sh_configure.bzl: FreeBSD is also a known platform
6911 + 7092ed324137f03fcd34856bdb0595a1bdec3069:
6912 Remove unneeded exec_compatible_with from local_sh_toolchain
6913 + 57bc201346e61c62a921c1cbf32ad24f185c10c9:
6914 Do not autodetect C++ toolchain when
6915 BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 is present
6916 + 35a78c09cf2fbfc3de9c124d2142e3d72aac4348:
6917 remote: recursively delete incomplete downloaded output
6918 directory.
6919 + 3c9cd82b847f3ece8ec04b2029bd5e8ad0eb7502:
6920 distfile: pack the archives needed later in the build
6921 + 27487c77387e457df18be3b6833697096d074eab:
6922 Slightly refactor SpawnAction to improve env handling
6923 + 1b333a2c37add9d04fe5bc5258ee4f73c93115e2:
6924 Fix Cpp{Compile,Link}Action environment and cache key computation
6925 + 3da8929963e9c70dff5d8859d6e988e6e7f4f9d7:
6926 Make SymlinkTreeAction properly use the configuration's
6927 environment
6928 + eca7b81cf8cc51e1fe56e5ed7d4ad5cd1668a17a:
6929 Add a missing dependency from checker framework dataflow to
6930 javacutils
6931 + 10a4de954c2061258d8222961fc3bd39516db49d:
6932 Release 0.14.0 (2018-06-01)
6933 + 4b80f2455e7e49a95f3a4c9102a67a57dad52207:
6934 Add option to enable Docker sandboxing.
6935 + 6b1635279e8b33dc1ac505ac81825e38f8797a14:
6936 Allow disabling the simple blob caches via CLI flag overrides.
6937```
6938
6939Bug fix for [#5336](https://github.com/bazelbuild/bazel/issues/5336)
6940Bug fix fot [#5308](https://github.com/bazelbuild/bazel/issues/5308)
6941
Bazel Release System3a592f62018-06-01 15:04:31 +02006942## Release 0.14.0 (2018-06-01)
6943
6944```
6945Baseline: 5c3f5c9be7fa40d4fb3c35756891fab8483ca406
6946
6947Cherry picks:
6948 + f96f037f8f77335dc444844abcc31a372a3e1849:
6949 Windows, Java launcher: Support jar files under different drives
6950 + ff8162d01409db34893de98bd840a51c5f13e257:
6951 sh_configure.bzl: FreeBSD is also a known platform
6952 + 7092ed324137f03fcd34856bdb0595a1bdec3069:
6953 Remove unneeded exec_compatible_with from local_sh_toolchain
6954 + 57bc201346e61c62a921c1cbf32ad24f185c10c9:
6955 Do not autodetect C++ toolchain when
6956 BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 is present
6957 + 35a78c09cf2fbfc3de9c124d2142e3d72aac4348:
6958 remote: recursively delete incomplete downloaded output
6959 directory.
6960 + 3c9cd82b847f3ece8ec04b2029bd5e8ad0eb7502:
6961 distfile: pack the archives needed later in the build
6962 + 27487c77387e457df18be3b6833697096d074eab:
6963 Slightly refactor SpawnAction to improve env handling
6964 + 1b333a2c37add9d04fe5bc5258ee4f73c93115e2:
6965 Fix Cpp{Compile,Link}Action environment and cache key computation
6966 + 3da8929963e9c70dff5d8859d6e988e6e7f4f9d7:
6967 Make SymlinkTreeAction properly use the configuration's
6968 environment
6969 + eca7b81cf8cc51e1fe56e5ed7d4ad5cd1668a17a:
6970 Add a missing dependency from checker framework dataflow to
6971 javacutils
6972```
6973
6974Incompatible changes:
6975
6976 - Add --incompatible_disallow_legacy_javainfo flag.
6977 - Added flag --incompatible_disallow_old_style_args_add to help
6978 migrate from args.add() to args.add_all() / args.add_joined()
6979 where appropriate.
6980
6981New features:
6982
6983 - Bash,runfiles: use the new platform-independent library in
6984 `@bazel_tools//tools/bash/runfiles` to access runfiles
6985 (data-dependencies). See
6986 https://github.com/bazelbuild/bazel/blob/master/tools/bash/runfile
6987 s/runfiles.bash for usage information.
6988 - TemplateVariableInfo can now be constructed from Skylark.
6989 - The java_host_runtime_alias rule is now implemented in Java.
6990
6991Important changes:
6992
6993 - Flip default value of --experimental_shortened_obj_file_path to
6994 true, Bazel now generates short object file path by default.
6995 - Introduce fdo_profile rule that allows architecture-sensitive
6996 specification of fdo profiles.
6997 - canonicalize-flags no longer reorders the flags
6998 - CppRules: optional_compiler_flag was removed from CROSSTOOL, use
6999 features instead.
7000 - Labels of the form ////foo are disallowed.
7001 - The `/` operator is deprecated in favor of `//` (floor integer
7002 division).
7003 Try the `--incompatible_disallow_slash_operator` flag to ensure
7004 your code
7005 is forward-compatible.
7006 - Flip default value of --experimental_shortened_obj_file_path to
7007 true, Bazel now generates short object file path by default.
7008 - Exposed "mnemonic" and "env" fields on skylark "Action" objects.
7009 - Removed flag `--incompatible_disallow_toplevel_if_statement`.
7010 - Remove vestigial 'deps' and 'data' attributes from
7011 proto_lang_toolchain
7012 - Args objects (ctx.actions.args()) have new methods add_all() and
7013 add_joined() for building command lines using depsets.
7014 - `FileType` is deprecated and will be removed soon.
7015 Try the `--incompatible_disallow_filetype` flag to ensure your
7016 code
7017 is forward-compatible.
7018 - Introduce absolute_path_profile attribute that allows fdo_profile
7019 to accept absolute paths.
7020 - Support two-arg overloads for ctx.actions.args (eg.
7021 args.add("--foo", val))
7022 - Introduce 'tools' attribute to ctx.actions.run.
7023 - Fixed error message for proguard_apply_dictionary.
7024 - "bazel run" now lets one run interactive binaries. The
7025 BUILD_WORKSPACE_DIRECTORY and BUILD_WORKING_DIRECTORY environment
7026 variables indicate the working directory and the workspace root
7027 of the Bazel invocation. Tests are provided with an approximation
7028 of the official test environment.
7029 - repository rules are no longer restricted to return None.
7030 - Add --high_priority_workers flag.
7031 - CppRules: Feature configuration can be created from Skylark
7032 - Adds new-style JavaInfo provider constructor.
7033 - Make java_common.compile now uses java_toolchain javacopts by
7034 default; explicitly retrieving them using
7035 java_common.default_javac_opts is unnecessary.
7036 - CppRules: C++ command lines and env variables for C++ actions can
7037 be retrieved from feature configuration.
7038 - Skylark rule definitions may advertise providers that targets of
7039 the rule must propagate.
7040 - Bazel now supports running actions inside Docker containers.
7041 To use this feature, run "bazel build --spawn_strategy=docker
7042 --experimental_docker_image=myimage:latest".
7043 - Remote execution works for Windows binaries with launchers.
7044 - Fixing start/end lib expansion for linking. There were many cases
7045 where archive files were still being used with toolchains that
7046 support start/end lib. This change consolidates the places that
7047 make that decision so they can be more consistent.
7048 - Add support for reporting an error if
7049 android_test.binary_under_test contains incompatible versions of
7050 deps
7051 - We replaced the --experimental_local_disk_cache and
7052 --experimental_local_disk_cache_path flags into a single
7053 --disk_cache flag. Additionally, Bazel now tries to create the disk cache
7054 directory if it doesn't exist.
7055 - Save Blaze memory by not storing LinkerInput objects in
7056 LinkCommandLine
7057 - In the JavaInfo created by java_common.create_provider now
7058 includes both direct and transitive arguments in
7059 transitive_compile_time_jars and transitive_runtime_jars
7060 - Allow --worker_max_instances to take MnemonicName=value to
7061 specify max for each worker.
7062 - Allow java_toolchain.header_compiler to be an arbitrary executable
7063
Bazel Release System24c68ff2018-05-23 10:59:57 +02007064## Release 0.13.1 (2018-05-23)
7065
7066```
7067Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05
7068
7069Cherry picks:
7070 + f083e7623cd03e20ed216117c5ea8c8b4ec61948:
7071 windows: GetOutputRoot() returns GetHomeDir()
7072 + fa36d2f48965b127e8fd397348d16e991135bfb6:
7073 Automated rollback of commit
7074 4465dae23de989f1452e93d0a88ac2a289103dd9.
7075 + 4abd2babcc50900afd0271bf30dc64055f34e100:
7076 Add error message on empty public resources
7077 + 2c957575ff24c183d48ade4345a79ffa5bec3724:
7078 test-setup: remove leading "./" from test name
7079 + e6eaf251acb3b7054c8c5ced58a49c054b5f23b1:
7080 Sort entries by segment when building a parent node to prevent
7081 unordered directory structures.
7082```
7083
7084Important changes:
7085
7086 - Remote Execution: Fixes a regression that produces directories with unsorted file/directory lists
7087
Bazel Release System1d9c6062018-04-30 10:45:38 +02007088## Release 0.13.0 (2018-04-30)
7089
7090```
7091Baseline: fdee70e6e39b74bfd9144b1e350d2d8806386e05
7092
7093Cherry picks:
7094 + f083e7623cd03e20ed216117c5ea8c8b4ec61948:
7095 windows: GetOutputRoot() returns GetHomeDir()
7096 + fa36d2f48965b127e8fd397348d16e991135bfb6:
7097 Automated rollback of commit
7098 4465dae23de989f1452e93d0a88ac2a289103dd9.
7099 + 4abd2babcc50900afd0271bf30dc64055f34e100:
7100 Add error message on empty public resources
7101 + 2c957575ff24c183d48ade4345a79ffa5bec3724:
7102 test-setup: remove leading "./" from test name
7103```
7104
7105Incompatible changes:
7106
7107 - Remove //tools/defaults:android_jar. Use
7108 @bazel_tools//tools/android:android_jar instead.
7109 - The flag --incompatible_show_all_print_messages is removed.
7110 Messages generated by `print` statements from any package will be
7111 displayed as
7112 DEBUG messages.
7113 - The --incompatible_disallow_uncalled_set_constructor flag is no
7114 longer available, the `set` constructor` is completely removed
7115 from Skylark.
7116 Use `depset` instead.
7117 - Variables PACKAGE_NAME and REPOSITORY_NAME are deprecated in
7118 favor of
7119 functions `package_name()` and `repository_name()`.
7120
7121 https://docs.bazel.build/versions/master/skylark/lib/native.html#p
7122 ackage_name
7123 - BUILD_TIMESTAMP now contains seconds (and not milliseconds) since
7124 the epoch.
7125
7126New features:
7127
7128 - Strings have a new .elems() method, that provides an iterator on
7129 the characters of the string.
7130 - Now you can access three functions in windows_cc_configure.bzl by:
7131 load("@bazel_tools/tools/cpp:windows_cc_configure.bzl",
7132 "<function_name>")
7133
7134Important changes:
7135
7136 - CppRules: Unified action_configs for static libraries
7137 - Remove support for blaze dump --vfs. It is no longer meaningful.
7138 - Enable dependency checking for aar_import targets.
7139 - internal_bootstrap_hack has been deprecated and removed.
7140 - Properly handle tree artifacts on the link command line coming
7141 from a cc_library dependency.
7142 - Allow C++ features to make proto_library emit smaller C++ code
7143 - The 'j2objc' configuration fragment is exposed to Skylark.
7144 - Remove the default content of the global bazelrc.
7145 - In int() function, do not auto-detect base if input starts with
7146 '0'.
7147 - Users can now pass --experimental_shortened_obj_file_path=true to
7148 have a shorter object file path, the object file paths (and all
7149 other related paths) will be constructed as following:
7150 If there's no two or more source files with the same base name:
7151
7152 <bazel-bin>/<target_package_path>/_objs/<target_name>/<source_base
7153 _name>.<extension>
7154 otherwise:
7155
7156 <bazel-bin>/<target_package_path>/_objs/<target_name>/N/<source_ba
7157 se_name>.<extension>
7158 N = the file?s order among the source files with the same
7159 basename, starts from 0.
7160 - Move (c/cxx)opts from legacy_compile_flags to user_compile_flags
7161 - CppRules: Remove optional_*_flag fields from CROSSTOOL, they are
7162 not
7163 used, and could be expressed using features.
7164 - Introduce --incompatible_disable_objc_provider_resources to turn
7165 off all resource-related fields of the Objc provider.
7166 - Removed the statement of "What does Bazel support?" as it's
7167 limiting/misleading. Added supported host OSes to
7168 "multi-platform" paragraph.
7169 - android_library AAR output now contains proguard.txt
7170 - Bazel now displays information about remote cache hits and
7171 execution strategies used in its UI after every build and test,
7172 and adds a corresponding line "process stats" to BuildToolLogs in
7173 BEP.
7174 - Print correct build result for builds with --aspects flag.
7175 - android_binary.manifest_merger is no longer supported.
7176
Bazel Release System546976c2018-04-11 17:34:19 +02007177## Release 0.12.0 (2018-04-11)
7178
7179```
7180Baseline: b33e5afa313322a7048044c44d854cbb666b988e
7181
7182Cherry picks:
7183 + 369409995bd75eeb0683fd24f7585d2a90320796:
7184 Automated rollback of commit
7185 c2b332b45e6ea41a14ecbd3c5f30782bcdeec301.
7186 + dbf779869751cc893ba240402d352c6e70be2978:
7187 Emit SJD errors even if we don't know the label of a dependency
7188 + 4c3098cfa6f00f90c7530b6f40d3e93062931c1d:
7189 Android tools: remove mtime-modifications
7190 + a1068c44a700ec2cff84cbd12592e9bfea25d754:
7191 NDK cc_toolchains: include bundled runtime libraries in
7192 cc_toolchain.all_files
7193 + b1be5816ec1bf8e1172c1bed4f29b4e6c6bb7202:
7194 runfiles,Python: remove library from @bazel_tools
7195 + 0a4622012ff796429220fe57d3217f262cc208a8:
7196 Fix visibility of def_parser for remote builds
7197 + 3c5373c50c7c492842f8a468906eda2c0bc90787:
7198 Remove visibility attribute from
7199 //third_party/def_parser:def_parser
7200 + f54d7e5293cc40ce3507a9adef530e46ab817585:
7201 Enable bulk writes in the HttpBlobStore
7202 + 04ce86e8ba96630f89a436167b7f3a195c5e50e7:
7203 remote/http: properly complete user promise
7204```
7205
7206Incompatible changes:
7207
7208 - The order of dict-valued attributes is now the order in the BUILD
7209 file (or in the Skylark dict they were created from) and not
7210 lexicographically sorted.
7211
7212New features:
7213
7214 - The new "--direct_run" flag on "blaze run" lets one run
7215 interactive binaries.
7216 - "blaze run --direct_run" with tests now gives the test an
7217 approximation of the official test environment.
7218 - "blaze run --direct_run" now exports the
7219 BUILD_{WORKSPACE,WORKING}_DIRECTORY variables to tell the binary
7220 about the cwd of the client and the workspace root.
7221 - New Android device test rule: android_instrumentation_test.
7222 - Add option to dump the action graph to a file: 'bazel dump
7223 --action_graph=/path/to/file'.
7224 - Pass `tags` from `java_import_external` rule to the generated
7225 `java_import` rule.
7226 - blaze query: use --proto:output_rule_attrs to filter for given
7227 attributes
7228 - Added Android NDK r15 support, including compatibility with
7229 Unified Headers.
7230 - Adds --ltobackendopt and --per_file_ltobackendopt for passing
7231 options to ThinLTO LTO backend compile actions only.
7232
7233Important changes:
7234
7235 - Fix how libraries to link is specified to archiver actions.
7236 - Fix how libraries_to_link are expanded in the archiver command
7237 line.
7238 - stop using --no-locals in android coverage builds
7239 - apple_binary can now generate dSYM outputs with the
7240 --apple_generate_dsym=true flag.
7241 - Fix FDO_STAMP_MACRO to only be set when fdoBuildStamp is not null.
7242 - Improved clarity of warning message for unsupported NDK revisions.
7243 - Add lint check for discouraging glob(["**/*.java"])
7244 - unifly lint glob(["**/*.java"]) message
7245 - Removed flags `--incompatible_checked_arithmetic`,
7246 `--incompatible_dict_literal_has_no_duplicates`,
7247 `--incompatible_disallow_keyword_only_args`, and `
7248 --incompatible_comprehension_variables_do_not_leak`.
7249 - Add "proto_source_root" flag to proto_library.
7250 - Updated default android_cpu value to armeabi-v7a
7251 - In skylark, print(target) now shows the provider keys of a
7252 target, as debug information.
7253 - The native http_archive rule is deprecated. Use the
7254 Skylark version available via
7255 load("@bazel_tools//tools/build_defs/repo:http.bzl",
7256 "http_archive")
7257 instead.
7258 - flaky_test_attempts supports the regex@attempts syntax, like
7259 runs_per_test.
7260 - Fixed include paths for NDK r13+ llvm-libc++ headers to
7261 `ndk/sources/cxx-stl/llvm-libc++/include` and
7262 `ndk/sources/cxx-stl/llvm-libc++abi/include`
7263 - --config flags now expand in place by default.
7264 - aar_import now sets java.transitive_exports.
7265 - repository_cache is no longer experimental and enabled by default.
7266 - BAZEL_LINKOPTS is now consulted when autoconfiguring c++ toolchain
7267 - The native git_repository rule is deprecated. Use the
7268 Skylark version available via
7269 load("@bazel_tools//tools/build_defs/repo:git.bzl",
7270 "git_repository")
7271 instead.
7272 - Removed flag `--incompatible_load_argument_is_label`.
7273 - CcToolchain: Introduced action_config for
7274 "c++-link-transitive-dynamic-library"
7275 - Use bazel dump --action_graph=/path/to/action.proto
7276 --action_graph:targets://foo:bar,//foo:foo to filter for certain
7277 targets in the action graph dump.
7278 - Added Android NDK r16 support. Use --cxxopt='-std=c++11` compile
7279 with the C++11 standard, and
7280 `--android_crosstool_top=@androidndk//:toolchain-libcpp` to use
7281 the `libc++` STL.
7282 - Add a --build_event_publish_all_actions flag to allow all actions
7283 to be published via the BEP.
7284 - C++: Introduced --experimental_drop_fully_static_linking_mode
7285 - Removed cc_inc_library, please use cc_library instead
7286 - CppRules: cc_binary/cc_test now enable 'static_linking_mode' or
7287 'dynamic_linking_mode'.
7288
Bazel Release Systemc86d6a02018-03-06 19:32:18 +01007289## Release 0.11.1 (2018-03-06)
7290
7291```
7292Baseline: 00d781ae78a8bd51d3c61b621d79f0bb095aff9e
7293
7294Cherry picks:
7295 + ea2d4c475febdbd59ca0e0ba46adc7be759f84e0:
7296 Update stub_finds_runfiles_test to be a real sh_test.
7297 + d855d8133f4efb73ebd5e82c54a9afb4c7565d46:
7298 java,runfiles: fix bugs in runfiles library
7299 + 56aeb04a064218b845ecc193d530c341c6ec854d:
7300 Fixing #4585: broken re-execution of orphaned actions.
7301 + cf3f81aef7c32019d70cbce218a64a03276268f0:
7302 remote: Add support for HTTP Basic Auth
7303 + 28bd997c1c8793973f63dcae4c22bbae49e7d8b7:
7304 Fixing test-setup.sh occasionally missing stdout/stderr, on
7305 systems where "tail --pid" is supported.
7306 + 109e4b4dc9e786e3a2d8d7cb245d18320dbe9216:
7307 Automated rollback of commit
7308 7e6837cc1d1aa4259f5c27ba3606b277b5f6c3e9.
7309 + b3d52b1b6d46a0f23cc91125c1d522e9d13433b4:
7310 Fix incorrect include directories when -no-canonical-prefixes is
7311 passed to clang
7312 + 1001141f0674ff4b611814edcb00a5183680ef4a:
7313 Roll forward of
7314 https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1
7315 b52bcac5a3ff942029
7316 (https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba
7317 1b52bcac5a3ff942029). Fix #4625 by running the test process in a
7318 sub-shell.
7319 + fc98b44b6181fa4c3efd8613d887970629468d74:
7320 android,windows: bugfix in aar_resources_extractor
7321```
7322
7323Important changes:
7324
7325 - Fixes regression building Android rules on Windows.
7326
Bazel Release System09077a32018-02-23 11:09:18 -05007327## Release 0.11.0 (2018-02-23)
7328
7329```
7330Baseline: 00d781ae78a8bd51d3c61b621d79f0bb095aff9e
7331
7332Cherry picks:
7333 + ea2d4c475febdbd59ca0e0ba46adc7be759f84e0:
7334 Update stub_finds_runfiles_test to be a real sh_test.
7335 + d855d8133f4efb73ebd5e82c54a9afb4c7565d46:
7336 java,runfiles: fix bugs in runfiles library
7337 + 56aeb04a064218b845ecc193d530c341c6ec854d:
7338 Fixing #4585: broken re-execution of orphaned actions.
7339 + cf3f81aef7c32019d70cbce218a64a03276268f0:
7340 remote: Add support for HTTP Basic Auth
7341 + 28bd997c1c8793973f63dcae4c22bbae49e7d8b7:
7342 Fixing test-setup.sh occasionally missing stdout/stderr, on
7343 systems where "tail --pid" is supported.
7344 + 109e4b4dc9e786e3a2d8d7cb245d18320dbe9216:
7345 Automated rollback of commit
7346 7e6837cc1d1aa4259f5c27ba3606b277b5f6c3e9.
7347 + b3d52b1b6d46a0f23cc91125c1d522e9d13433b4:
7348 Fix incorrect include directories when -no-canonical-prefixes is
7349 passed to clang
7350 + 3904ac33a983fd8faebba1b52bcac5a3ff942029:
7351 Automated rollback of commit
7352 28bd997c1c8793973f63dcae4c22bbae49e7d8b7.
7353 + 1001141f0674ff4b611814edcb00a5183680ef4a:
7354 Roll forward of
7355 https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba1
7356 b52bcac5a3ff942029
7357 (https://github.com/bazelbuild/bazel/commit/3904ac33a983fd8faebba
7358 1b52bcac5a3ff942029). Fix #4625 by running the test process in a
7359 sub-shell.
7360```
7361
7362Incompatible changes:
7363
7364 - ctx.fragments.jvm is not available anymore.
7365
7366New features:
7367
7368 - java,runfiles: You can now depend on
7369 `@bazel_tools//tools/runfiles:java-runfiles` to get a
7370 platform-independent runfiles library for Java. See JavaDoc of
7371 https://github.com/bazelbuild/bazel/blob/master/src/tools/runfiles
7372 /java/com/google/devtools/build/runfiles/Runfiles.java for usage
7373 information.
7374
7375Important changes:
7376
7377 - The --[no]experimental_disable_jvm command line option is not
7378 supported anymore.
7379 - Allow expanding TreeArtifacts for libraries_to_link
7380 - Proguarded Android binaries can be built with incremental dexing.
7381 - aar_import now supports assets.
7382 - Crash in OutputJar::Close has been fixed
7383 - generator_* attributes are nonconfigurable.
7384 - Introduces --[no]keep_state_after_build
7385 - Add support for merged object files needed for -flto-unit.
7386 - Fix how libraries to link is specified to archiver actions.
7387 - Replace //tools/defaults:android_jar with
7388 @bazel_tools//tools/android:android_jar.
7389 //tools/defaults:android_jar will be removed in a future release.
7390 - java_common.compile supports neverlink
7391 - Resolved an issue where a failure in the remote cache would not
7392 trigger local re-execution of an action.
7393
Bazel Release Systeme1148362018-02-15 10:02:05 +01007394## Release 0.10.1 (2018-02-15)
7395
7396```
7397Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993
7398
7399Cherry picks:
7400 + f6ca78808722c8c119affdb33400838ee92d44b6:
7401 isable_presubmit
7402 + 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52:
7403 Fix StreamResourceLeak error
7404 + e5436745e1732f5e43fc55f0deb5b19e23ce8524:
7405 windows: fix --symlink_prefix=/ throwing exception
7406 + 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3:
7407 Fix turbine command lines with empty javacopts
7408 + 96c654d43eb2906177325cbc2fc2b1e90dbcc792:
7409 Remove EOL'd Linux flavours, bump CentOS to 6.9.
7410 + f0bec36864f10370cbbda4caa8beac2e0c5ee45b:
7411 Automated rollback of commit
7412 2aeaeba66857c561dd6d63c79a213f1cabc3650d.
7413 + 860af5be10b6bad68144d9d2d34173e86b40268c:
7414 Consolidate Error Prone resource handling
7415 + 2e631c99495f75270d2639542cefb531ec262d67:
7416 sandbox: properly add `tmpDir` to `writablePaths`
7417 + 5bfa5844d0d16d71e88002956e88402bfec88ef7:
7418 actions,temp: respect TMPDIR envvar
7419 + 6cc2ad8676d1ae0542b351a07a05ddbe5efac165:
7420 sandbox: add env[TMPDIR] instead of `tmpDir`
7421 + 40c757f4ab90214f95935672532a495c4551490a:
7422 Change git clone to pull all history, so all needed commits can
7423 be accessed.
7424 + 56aeb04a064218b845ecc193d530c341c6ec854d:
7425 Fixing #4585: broken re-execution of orphaned actions.
7426```
7427
7428Important changes:
7429
7430 - Resolved an issue where a failure in the remote cache would not
7431 trigger local re-execution of an action.
7432
Bazel Release System5bd27482018-02-01 09:43:33 +01007433## Release 0.10.0 (2018-02-01)
7434
7435```
7436Baseline: 22c2f9a7722e8c8b7fdf8f5d30a40f1c4118e993
7437
7438Cherry picks:
7439 + f6ca78808722c8c119affdb33400838ee92d44b6:
7440 isable_presubmit
7441 + 65c13dd5a4c1b4b5a072f7680b8f1cf3c5079b52:
7442 Fix StreamResourceLeak error
7443 + e5436745e1732f5e43fc55f0deb5b19e23ce8524:
7444 windows: fix --symlink_prefix=/ throwing exception
7445 + 22ccdd1ebe1dc495e05d894a3325f6b05e681fb3:
7446 Fix turbine command lines with empty javacopts
7447 + 96c654d43eb2906177325cbc2fc2b1e90dbcc792:
7448 Remove EOL'd Linux flavours, bump CentOS to 6.9.
7449 + f0bec36864f10370cbbda4caa8beac2e0c5ee45b:
7450 Automated rollback of commit
7451 2aeaeba66857c561dd6d63c79a213f1cabc3650d.
7452 + 860af5be10b6bad68144d9d2d34173e86b40268c:
7453 Consolidate Error Prone resource handling
7454 + 2e631c99495f75270d2639542cefb531ec262d67:
7455 sandbox: properly add `tmpDir` to `writablePaths`
7456 + 5bfa5844d0d16d71e88002956e88402bfec88ef7:
7457 actions,temp: respect TMPDIR envvar
7458 + 6cc2ad8676d1ae0542b351a07a05ddbe5efac165:
7459 sandbox: add env[TMPDIR] instead of `tmpDir`
7460 + 40c757f4ab90214f95935672532a495c4551490a:
7461 Change git clone to pull all history, so all needed commits can
7462 be accessed.
7463```
7464
7465Incompatible changes:
7466
7467 - In order to access the template variables $(JAVA) and
7468 $(JAVABASE), @bazel_tools//tools/jdk:current_java_runtime needs
7469 to be added to the toolchains= attribute from now on.
7470 - The ctx.middle_man function is not supported anymore.
7471 - The flag --incompatible_list_plus_equals_inplace is removed, its
7472 default behavior is preserved. += on lists now always mutates the
7473 left hand
7474 side.
7475 - --android_sdk no longer supports filegroup targets.
7476 - android_* rules no longer support legacy_native_support attribute.
7477
7478New features:
7479
7480 - query: Add option --noproto:flatten_selects to turn off
7481 flattening of selector lists in proto output.
7482 - New android test rule, android_local_test.
7483
7484Important changes:
7485
7486 - The --remote_rest_cache flag now respects --remote_timeout.
7487 - --experimental_java_coverage is available for testing.
7488 - The deprecated builtin `set` is no longer allowed even from within
7489 unexecuted code in bzl files. It's temporarily possible to use
7490 --incompatible_disallow_uncalled_set_constructor=false if this
7491 change causes
7492 incompatibility issues.
7493 - Linkstamping is now a separate and full-blown CppCompileAction,
7494 it's
7495 no longer a part of linking command.
7496 - Using `+`, `|` or `.union` on depsets is now deprecated. Please
7497 use the new
7498 constructor instead (see
7499 https://docs.bazel.build/versions/master/skylark/depsets.html).
7500 - config_feature_flag's default_value is optional. It is
7501 only an error to have a config_feature_flag with no default_value
7502 if that config_feature_flag has not been set in the configuration
7503 it is being evaluated in.
7504 - --[no]keep_incrementality_data is gone, replaced by the
7505 enum-valued --incremental_state_retention_strategy
7506 - Linkstamping is now a separate and full-blown CppCompileAction,
7507 it's
7508 no longer a part of linking command.
7509 - Added --checkHashMismatch flag to ZipFilterAction. Valid values
7510 are IGNORE, WARN and ERROR. --errorOnHashMismatch is deprecated,
7511 please use this flag instead.
7512 - Set build jobs equivalent to number of logical processors by
7513 default. Should improve build times significantly.
7514 - Added --(no)expand_test_suites flag.
7515 - Rename --keep_incrementality_data to --track_incremental_state
7516 - --remote_rest_cache was renamed to --remote_http_cache. Both
7517 options keep working in this release, but --remote_rest_cache
7518 will be
7519 removed in the next release.
7520 - Aspects-on-aspect see and propagate over aspect attributes.
7521 - --auth_* flags were renamed to --google_* flags. The old names
7522 will continue to work for this release but will be removed in the
7523 next
7524 release.
7525 - Remote Caching and Execution support output directories.
7526 - Remove defunct flags
7527 --experimental_incremental_dexing_for_lite_proto and
7528 --experimental_incremental_dexing_error_on_missed_jars that have
7529 long been enabled by default
7530 - New version of aapt2 and Resources.proto.
7531 - Make PIC and non PIC outputs for C++ compilation with Tree
7532 Artifacts
7533
Bazel Release System7b423cc2017-12-19 10:31:05 +01007534## Release 0.9.0 (2017-12-19)
Bazel Release System3d53cb02017-12-05 15:28:40 +01007535
7536```
Bazel Release System7b423cc2017-12-19 10:31:05 +01007537Baseline: ddd5ac16aeffa6c4693c348f73e7365240b1abc5
Bazel Release System3d53cb02017-12-05 15:28:40 +01007538
7539Cherry picks:
Bazel Release System7b423cc2017-12-19 10:31:05 +01007540 + 2cf560f83922e6df9626ba3ee063c1caf6797548:
7541 Update version of re2
7542 + a2d2615362c65be98629b39ce39754a325ed1c42:
7543 Check for null build file returned from getBuildFileForPackage.
7544 + 68c577afc2fb33b5e66b820bcc9043fed1071456:
7545 Fix some broken targets and failing tests.
7546 + 766ba8adc4487f17ebfc081aeba6f34b18b53d6c:
Bazel Release System3d53cb02017-12-05 15:28:40 +01007547 Automated rollback of commit
Bazel Release System7b423cc2017-12-19 10:31:05 +01007548 337f19cc54e77c45daa1d5f61bf0a8d3daf8268f.
7549 + a22d0e9c14e58b29d81f5a83bdcc6e5fce52eafe:
7550 Fix: uploading artifacts of failed actions to remote cache
7551 stopped working.
7552 + 03964c8ccb20d673add76c7f37245e837c3899b6:
7553 [java_common.compile] Name output source jar relative to the
7554 output jar name
Bazel Release System3d53cb02017-12-05 15:28:40 +01007555```
7556
Bazel Release System7b423cc2017-12-19 10:31:05 +01007557Incompatible changes:
7558
7559 - The deprecated `set` constructor is removed, along with the
7560 migration flag --incompatible_disallow_set_constructor. It is
7561 still temporarily
7562 allowed to refer to `set` from within unexecuted code.
7563 - The flag --incompatible_disallow_set_constructor is no longer
7564 available, the deprecated `set` constructor is not available
7565 anymore.
7566 - The path to the JVM executable is not accessible anymore as
7567 ctx.{fragments,host_fragments}.jvm.java_executable. Use
7568 JavaRuntimeInfo.java_executable_exec_path instead.
7569 - --clean_style is no longer an option.
7570
7571New features:
7572
7573 - Users can use win_def_file attribute to specify a DEF file for
7574 exporting symbols when build a shared library on Windows.
7575 - Add --experimental_android_resource_cycle_shrinking option to
7576 allow for more aggressive code and resource shrinking.
7577
7578Important changes:
7579
7580 - Late-bound attributes are exposed to skylark. This is a new API
7581 (`configuration_field()`) to depend on certain
7582 configuration-defined targets from skylark rules.
7583 - Document interaction between test_suite and target exclusions
7584 - AAR manifest files will come from the processed resource APK if it
7585 exists.
7586 RELNOTES: None for Blaze users.
7587 - Document interaction between test_suite and target exclusions
7588 - --keep_incrementality_data flag allows Bazel servers to be run in
7589 memory-saving non-incremental mode independent of --batch and
7590 --discard_analysis_cache.
7591 - Add deps attribute to Skylark maven_aar and maven_jar workspace
7592 rules.
7593 - Use --expand_configs_in_place as a startup argument to change the
7594 order in which --config expansions are interpreted.
7595 - SOURCE_DATE_EPOCH
7596 (https://reproducible-builds.org/specs/source-date-epoch/) can
7597 be used to override the timestamp used for stamped target (when
7598 using --stamp).
7599 - Package specifications can now be prefixed with `-` to indicate
7600 negation
7601 - transitive_source_jars is now exposed on JavaInfo.
7602 - Add six to deps of has_services=1 py_proto_librarys.
7603 - java_tests no complain when use_testrunner is explicitly set to 1
7604 and main_class is set.
7605 - transitive_source_jars is now exposed on JavaInfo.
7606 - Debug messages generated by `print()` are not being filtered out
7607 by --output_filter anymore, it's recommended not to use them in
7608 production code.
7609 - in the Label() function, relative_to_caller_repository is now
7610 deprecated.
7611 - java_tests no complain when use_testrunner is explicitly set to 1
7612 and main_class is set.
7613 - Bazel's default hash function was changed from MD5 to SHA256.
7614 In particular, this affects users of remote caching and
7615 execution, as
7616 all hashes will be SHA256 by default.
7617 - Remove redirects for domains be.bazel.build and cr.bazel.build
7618 from the source for docs.bazel.build (because those subdomains
7619 don't resolve here; they resolve to bazel.build, which has the
7620 redirects for them)
7621 - First argument of 'load' must be a label. Path syntax is removed.
7622 (label should start with '//' or ':').
7623 - Document startup option --host_javabase
7624 - The --host_platform and --platform flags are no longer
7625 experimental.
Bazel Release System3d53cb02017-12-05 15:28:40 +01007626
Bazel Release System0838aee2017-11-27 14:16:34 +01007627## Release 0.8.0 (2017-11-27)
7628
7629```
7630Baseline: cff0dc94f6a8e16492adf54c88d0b26abe903d4c
7631
7632Cherry picks:
7633 + 8a49b156c4edf710e3e1e0acfde5a8d27cc3a086:
7634 Fix ImportError on tools.android for junction_lib
7635 + 275ae45b1228bdd0f912c4fbd634b29ba4180383:
7636 Automated rollback of commit
7637 4869c4e17d5b1410070a1570f3244148d8f97b5d.
7638 + d0bf589f2716b3d139c210930371a684c6e158eb:
7639 Add a random number to action temp dir
7640 + 9738f35abddb7ef7a7ef314b5d2a52a3be1b830a:
7641 CcProtoLibrary: Don't add dynamic librarys to filesToBuild on
7642 Windows
7643 + 0d6ff477099fdf6c8c1c7d4e2104f9184afe0a2b:
7644 Automated rollback of commit
7645 0ebb3e54fc890946ae6b3d059ecbd50e4b5ec840.
7646```
7647
7648Incompatible changes:
7649
7650 - ctx.fragments.apple.{xcode_version,ios_minimum_os} is not
7651 supported anymore. The same information is accessible through the
7652 target @bazel_tools//tools/osx:current_xcode_config: point an
7653 implicit attribute to it (i.e.
7654 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
7655 nfig")) then use
7656 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].
7657 - ctx.fragments.apple.minimum_os_for_platform_type is not supported
7658 anymore. The same information is accessible through the target
7659 @bazel_tools//tools/osx:current_xcode_config: point an implicit
7660 attribute to it (i.e.
7661 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
7662 nfig")) then use
7663 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].minimum_o
7664 s_for_platform_type .
7665 - ctx.fragments.apple.sdk_version_for_platform is not supported
7666 anymore. The same information is accessible through the target
7667 @bazel_tools//tools/osx:current_xcode_config: point an implicit
7668 attribute to it (i.e.
7669 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
7670 nfig")) then use
7671 ctx.attr._xcode_config[apple_common].XcodeVersionConfig].sdk_versi
7672 on_for_platform .
7673 - --javabase=<absolute path> and --host_javabase=<absolute path>
7674 are not supported anymore. If you need this functionality
7675 java_runtime_suite(name="suite", default=":runtime")
7676 java_runtime(name="runtime", java_home=<path to the JDK>) is an
7677 alternative.
7678 - The flag --incompatible_descriptive_string_representations is no
7679 longer available, old style string representations of objects are
7680 not supported
7681 anymore.
7682 - The flag --incompatible_disallow_set_constructor is no longer
7683 available, the deprecated `set` constructor is not available
7684 anymore.
7685 - += on lists now mutates them. `list1 += list2` is now equivalent
7686 to `list1.extend(list2)` and not equivalent to `list1 = list1 +
7687 list2` anymore.
7688 - the target_apple_env and apple_host_system_env methods on
7689 ctx.fragments.apple are not supported anymore. The same
7690 information is accessible through apple_common.target_apple_env
7691 and apple_common.apple_host_system_env . They need the Xcode
7692 configuration as an argument, which can be obtained by declaring
7693 an implicit dependency on it (i.e.
7694 attr.label(default=Label("@bazel_tools//tools/osx:current_xcode_co
7695 nfig")) and then calling e.g.
7696 apple_common.apple_host_system_env(ctx.attr._xcode_config[apple_co
7697 mmon.XcodeVersionConfig]).
7698 - C++ toolchain identifiers are not in the name of the output
7699 directory anymore.
7700 - Selecting on "xcode_version" and
7701 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
7702 What was config_setting(values={"$FOO_version": $VALUE}) is now
7703 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
7704 flag": $VALUE}).
7705 - Selecting on "xcode_version" and
7706 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
7707 What was config_setting(values={"$FOO_version": $VALUE}) is now
7708 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_version_
7709 flag": $VALUE}).
7710 - The flag --incompatible_disallow_set_constructor is no longer
7711 available, the deprecated `set` constructor is not available
7712 anymore.
7713 - Selecting on "xcode_version" and
7714 "{ios,tvos,macos,watchos}_sdk_version" is not supported anymore.
7715 What was config_setting(values={"$FOO_version": $VALUE}) is now
7716 config_setting(flag_values={"@bazel_tools//tools/osx:$FOO_versi...
7717
7718New features:
7719
7720 - runfiles, sh: Shell scripts may now depend on
7721 //src/tools/runfiles:runfiles_sh_lib and source runfiles.sh. The
7722 script defines the `rlocation` function which returns runfile
7723 paths on every platform.
7724 - In addition to $(location), Bazel now also supports $(rootpath)
7725 to obtain
7726 the root-relative path (i.e., for runfiles locations), and
7727 $(execpath) to
7728 obtain the exec path (i.e., for build-time locations)
7729
7730Important changes:
7731
7732 - android_binary now supports custom debug keys via the debug_key
7733 attribute.
7734 - Updated Android proguard to 5.3.3. It now works with android-24+.
7735 - --experimental_use_parallel_android_resource_processing and
7736 --experimental_android_use_nocompress_extensions_on_apk are
7737 removed. These features are fully rolled out.
7738 - Fixes #2574
7739 - Fixes #3834
7740 - Enable experimental UI by default.
7741 - .
7742 RELNOTES: None.
7743 RELNOTES: No.
7744 - Add memory profiler.
7745 - [Bazel] {java,cc}_proto_library now look for dependencies in
7746 @com_google_protobuf, instead of in @com_google_protobuf_$LANG
7747 - Improved merge.sh script in cookbook.
7748 - Fixing regression to --experimental_remote_spawn_cache
7749 - Support for linker scripts in NativeDepsHelper (e.g.,
7750 android_binary)
7751 - Skylark semantics flags now affect WORKSPACE files and repository
7752 rules.
7753 - ctx.outputs.executable is deprecated. Use DefaultInfo(executable
7754 = ...) instead.
7755 - Update "mirror.bazel.build" urls to use https.
7756 - Improve --config logging when --announce_rc is present.
7757 - Document interaction between test_suite and target exclusions
7758 - Replace version numbers for Bazel installers with "<version>"
7759 (because this will change often)
7760 - Published command lines should have improved lists of effective
7761 options.
7762 - --incremental_dexing_binary_types has been removed. All builds
7763 are supported by incremental dexing (modulo proguard and some
7764 blacklisted dx flags).
7765 - Document --host_javabase, --host_java_toolchain
7766
Bazel Release System76b6d0a2017-10-18 14:34:11 +02007767## Release 0.7.0 (2017-10-18)
7768
7769```
7770Baseline: 5cc6246d429f7d9119b97ce263b4fd6893222e92
7771
7772Cherry picks:
7773 + e79a1107d90380501102990d82cbfaa8f51a1778:
7774 Windows,bootstrapping: fix build_windows_jni.sh
7775```
7776
7777Incompatible changes:
7778
7779 - The --output=location flag to 'bazel query' cannot be used with
7780 query expressions that involve the 'buildfiles' or 'loadfiles'
7781 operators. This also applies to 'genquery' rules.
7782 - Operators for equality, comparison, 'in' and 'not in' are no
7783 longer associative,
7784 e.g. x < y < z is now a syntax error. Before, it was parsed
7785 as: (x < y) < z.
7786 - In strings, octal sequences greater than \377 are now forbidden
7787 (e.g. "\\600").
7788 Previously, Blaze had the same behavior as Python 2, where
7789 "\\450" == "\050".
7790 - Using tabulation for identation is now fobidden in .bzl files
7791 - `load` is now a language keyword, it cannot be used as an
7792 identifier
7793 - lvalues must have define at least one variable (i.e. we forbid
7794 `[] = f()`).
7795 - Fixed a bug whereby multiple load() statements could appear on
7796 the same line
7797 - -extra_checks:off is no longer supported; use
7798 -XepDisableAllChecks instead
7799 - java_common.java_toolchain_attr is removed. Depend on the
7800 java_toolchain_alias() rule to accomplish the same thing.
7801 - cc_common.cc_toolchain_attr and java_common.java_runtime_attr are
7802 not supported anymore and were replaced with the
7803 cc_toolchain_alias() and java_runtime_alias() rules.
7804 - Noop flag --deprecated_generate_xcode_project deleted.
7805 - Objects in Skylark are converted to strings in a more descriptive
7806 and less harmful way (they don't leak information that shouldn't
7807 be accessed by Skylark code, e.g. nondeterministic memory addresses
7808 of objects).
7809 - `set` is deprecated in BUILD and .bzl files, please use `depset`
7810 instead. Ordering names have also been changed, please use "default",
7811 "postorder", "preorder", and "topological" instead of "stable",
7812 "compile", "naive_link", and "link" correspondingly.
7813 - Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is
7814 an error.
7815 - Keyword-only syntax in a function definition is now forbidden
7816 e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`
7817 - --incompatible_comprehension_variables_do_not_leak defaults to
7818 "true."
7819 Iteration variable becomes inaccessible after a list/dict
7820 comprehension.
7821 - @bazel_tools//tools/build_defs/docker:docker.bzl is no longer
7822 available, please see https://github.com/bazelbuild/rules_docker.
7823
7824New features:
7825
7826 - Zipped LLVM profiles are now supported.
7827 - LIPO maps to ThinLTO for LLVM builds.
7828 - Change to handle LLVM FDO zipped profile contents correctly.
7829 - Do not disable fully dynamic linking with ThinLTO when invoked
7830 via LIPO options.
7831 - There is now a 'siblings' query function. See the query
7832 documentation for more details.
7833 - Added the print_action command, which outputs the
7834 actions needed to build a given target in the form of an
7835 ExtraActionSummary proto in text format.
7836 - android_binary now supports proguard_apply_dictionary to specify
7837 a custom dictionary to use for choosing names to obfuscate
7838 classes and members to.
7839
7840Important changes:
7841
7842 - Windows: bazel clean --expunge works
7843 - First argument of 'load' should be a label. Path syntax is
7844 deprecated (label should start with '//' or ':').
7845 - Octal prefix '0' is deprecated in favor of '0o' (use 0o777
7846 instead of 0777).
7847 - The extension_safe attribute of apple_binary no longer validates
7848 transitive dependencies are compiled against extension_safe APIs.
7849 - Parentheses around the tuple are now mandatory in [a for b in c
7850 if 1, 2]
7851 - Adjust the thresholds for --test_verbose_timeout_warnings so that
7852 it can recommending timeout increases and won't recommend
7853 timeouts that are too close to the actual timeout.
7854 - Iterating on a `depset` object is deprecated. If you need an
7855 iterable, call the `.to_list()` method first.
7856 - Bazel now uses tools from action_configs in Crosstool by default
7857 (as oposed to using top level tools).
7858 - Incremental dexing errors on combination of --multidex=off and
7859 either --main-dex-list or --minimal-main-dex.
7860 - When using the dictionary literal syntax, it is now an error to
7861 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
7862 - New property on android_sdk: aapt2
7863 Choose the version of aapt on android_binary
7864 - Add idl_preprocessed attribute to android_library, so that
7865 preprocessed aidl files can be passed to android_library for
7866 compiling
7867 - Bazel's remote_worker backend for remote execution supports
7868 sandboxing on Linux now. Check
7869 https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w
7870 orker/README.md for details.
7871 - Allows flags that expand to take values.
7872 - Make querying attributes formed by selector lists of list types
7873 more efficient by no longer listing every possible combination of
7874 attribute value but by more compactly storing the possible values
7875 of the list.
7876 - writing build events to a file is no longer experimental
7877 - set --rewrite_calls_to_long_compare to false by default.
7878 - ObjC and C++ coverage feature is unified under name 'coverage'
7879 - Enable --incremental_dexing for Android builds by default. Note
7880 that some dexopts are incompatible with incremental dexing,
7881 including --force-jumbo.
7882 - Evaluation will soon use checked arithmetics and throw an error
7883 instead of overflow/underflow.
7884 - Implicit iteration in the CROSSTOOL has been removed, use
7885 explicit 'iterate_over' message.
7886 - Add option for Android specific grte_top
7887 - Crosstool patches are only applied if the toolchain doesn't define
7888 'no_legacy_features' feature.
7889 - 'platform_type' is now a mandatory attribute on apple_binary and
7890 apple_static_library rules.
7891 If this change breaks your build, feel free to add platform_type
7892 = 'ios' to any apple_binary and apple_static_library
7893 targets in your project, as this was the previous default
7894 behavior.
7895 - Remove apple_watch2_extension build rule. Users should be using
7896 the skylark watchos_application and watchos_extension rules.
7897 https://github.com/bazelbuild/rules_apple has details.
7898 - Check stderr to detect if connected to a terminal. Deprecate
7899 --isatty.
7900 - Commands that shut down the server (like "shutdown") now ensure
7901 that the server process has terminated before the client process
7902 terminates.
7903 - Remove apple_watch1_extension and apple_watch_extension_binary
7904 rules. Users should be using the skylark watchos_application and
7905 watchos_extension rules.
7906 https://github.com/bazelbuild/rules_apple has details.
7907 - Windows: Wrapper-less CROSSTOOL becomes default now.
7908 set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.
7909 - Ignore --glibc in the Android transition.
7910 - Remove --experimental_android_use_singlejar_for_multidex.
7911 - nocopts now also filter copts
7912 - 'strip' action is now configured via feature configuration
7913 - The Build Event Service (BES) client now properly supports
7914 Google Applicaton Default Credentials.
7915 - Flags from action_config get added first to the command line
7916 first, before the flags from features.
7917 - update dexing tools to Android SDK 26.0.1
7918 - Bazel Android support now requires build-tools 26.0.1 or later.
7919 - `bazel info output_path` no longer relies on the root directory
7920 filename being equal to the workspace name.
7921 - The `print` function now prints debug messages instead of
7922 warnings.
7923 - speedup of incremental dexing tools
7924 - --announce_rc now controls whether bazelrc startup options are
7925 printed to stderr.
7926 - Removing a few unused objc_provider keys.
7927 - Improved logging when workers have to be restarted due to its
7928 files having changed.
7929 - Top-level `if` statements are now forbidden.
7930 - Java protos are compiled to Java 7 bytecode.
7931 - All Android builds now use the desugar tool to support some Java
7932 8 features by default. To disable, use the --nodesugar_for_android flag.
7933 - Skylark-related options may now appear as "common" command
7934 options in the .bazelrc
7935 - Python is now required to build bazel.
7936 - New --build_runfile_manifests flag controls production of
7937 runfiles manifests.
7938 - Enable debug info for Java builds
7939 - Allow java_lite_proto_library in the deps of android rules.
7940 - .so files in APKs will be memory-page aligned when
7941 android_binary.nocompress_extensions contains ".so" and
7942 --experimental_android_use_nocompress_extensions_on_apk is
7943 specified.
7944 - Skylark providers can specify allowed fields and their
7945 documentation.
7946 - Support ctx.actions.args() for more efficient Skylark command
7947 line construction.
7948 - The remote HTTP/1.1 caching client (--remote_rest_cache) now
7949 distinquishes between action cache and CAS. The request URL for
7950 the action cache is prefixed with 'ac' and the URL for the CAS
7951 is prefixed with 'cas'.
7952 - `JavaInfo` is a preferred alias to `java_common.provider`.
7953 - J2ObjC version updated to 2.0.3.
7954 - A new Java coverage implementation is available. Makes possible
7955 coverage for Skylark JVM rules.
7956 - Make proguard_apply_dictionary also apply to class and package
7957 obfuscation, not just class members.
7958 - android_binary.nocompress_extensions now applies to all files in
7959 the APK, not just resources and assets.
7960 - The apple_genrule rule that is distributed with Bazel has been
7961 deleted. Users who wish to use genrules with Xcode's
7962 DEVELOPER_DIR set should use the rules in
7963 https://github.com/bazelbuild/rules_apple instead.
7964 - The swift_library rule that is distributed with Bazel has been
7965 deleted. Users who wish to compile Swift should use the rules in
7966 https://github.com/bazelbuild/rules_apple instead.
7967 - The Build Event Protocol's File.uri field is now properly
7968 encoded according to RFC2396.
7969 - Deprecated: Using the android_library.deps attribute to
7970 implicitly export targets to dependent rules. If your code is
7971 using this feature, Bazel will raise a warning. To fix, please
7972 use android_library.exports to explicitly specify exported
7973 targets. Run with
7974 --experimental_allow_android_library_deps_without_srcs=false to
7975 ensure forward compatibility when this feature is removed in a
7976 future release.
7977 - java_common.create_provider is now supported with creating ijars
7978 by default. This introduces incompatibilities for existing users.
7979 Please set use_ijar=False if you don't want to use ijars.
7980 - Tests can now write files to TEST_UNDECLARED_OUTPUTS_DIR and
7981 TEST_UNDECLARED_OUTPUTS_ANNOTATIONS_DIR and these will be
7982 reflected under bazel-testlogs.
7983 - remove unused --host_incremental_dexing flag
7984 - Stop using --undefined dynamic_lookup in Apple links. Enables
7985 unresolved symbol errors.
7986 - All test output files included for cached, uncached, and multiple
7987 attempt tests.
7988 - Android rules no longer restrict the manifest file to be named
7989 "AndroidManifest.xml".
7990 - Boolean flag values will now get normalized to 1 or 0 in
7991 canonicalize-flags output.
7992 - added experimental --use_new_category_enum to the help command to
7993 output options grouped by the new type of category.
7994 - Expose output jars and jdeps in java_common.provider, when
7995 available.
7996 - android_library targets are no longer allowed to use deps to
7997 export targets implicitly; please use android_library.exports
7998 instead.
7999 - New depset API
8000 - apple_binary and apple_static_library no longer support
8001 compilation attributes such as 'srcs'. If this breaks any
8002 existing targets, you may migrate all such attributes to a new
8003 objc_library target and depend on that objc_library target via
8004 the 'deps' attribute of apple_binary or apple_static_library.
8005
Bazel Release Systemed0ebc02017-10-05 23:52:25 +02008006## Release 0.6.1 (2017-10-05)
8007
8008```
8009Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689
8010
8011Cherry picks:
8012 + a615d288b008c36c659fdc17965207bb62d95d8d:
8013 Rollback context.actions.args() functionality.
8014 + 7b091c1397a82258e26ab5336df6c8dae1d97384:
8015 Add a global failure when a test is interrupted/cancelled.
8016 + 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120:
8017 Cleanups for Skylark tracebacks
8018 + cc9c2f07127a832a88f27f5d72e5508000b53429:
8019 Remove the status xml attribute from AntXmlResultWriter
8020 + 471c0e1678d0471961f1dc467666991e4cce3846:
8021 Release 0.6.0 (2017-09-28)
8022 + 8bdd409f4900d4574667fed83d86b494debef467:
8023 Only compute hostname once per server lifetime
8024 + 0bc9b3e14f305706d72180371f73a98d6bfcdf35:
8025 Fix bug in NetUtil caching.
8026```
8027
8028Important changes:
8029 - Only compute hostname once per server lifetime
8030
Bazel Release System471c0e12017-09-28 16:36:12 +02008031## Release 0.6.0 (2017-09-28)
8032
8033```
8034Baseline: 87cc92e5df35d02a7c9bc50b229c513563dc1689
8035
8036Cherry picks:
8037 + a615d288b008c36c659fdc17965207bb62d95d8d:
8038 Rollback context.actions.args() functionality.
8039 + 7b091c1397a82258e26ab5336df6c8dae1d97384:
8040 Add a global failure when a test is interrupted/cancelled.
8041 + 95b0467e3eb42a8ce8d1179c0c7e1aab040e8120:
8042 Cleanups for Skylark tracebacks
8043 + cc9c2f07127a832a88f27f5d72e5508000b53429:
8044 Remove the status xml attribute from AntXmlResultWriter
8045```
8046
8047Incompatible changes:
8048
8049 - Noop flag --deprecated_generate_xcode_project deleted.
8050 - Objects in Skylark are converted to strings in a more descriptive
8051 and less harmful way (they don't leak information that shouldn't
8052 be accessed by Skylark code, e.g. nondeterministic memory addresses
8053 of objects).
8054 - `set` is deprecated in BUILD and .bzl files, please use `depset`
8055 instead. Ordering names have also been changed, please use
8056 "default", "postorder", "preorder", and "topological" instead of
8057 "stable", "compile", "naive_link", and "link" correspondingly.
8058 - Integer overflow (on signed 32 bit numbers) in BUILD/bzl files is
8059 an error.
8060 - Keyword-only syntax in a function definition is now forbidden
8061 e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`
8062 - --incompatible_comprehension_variables_do_not_leak defaults to
8063 "true."
8064 Iteration variable becomes inaccessible after a list/dict
8065 comprehension.
8066
8067New features:
8068
8069 - There is now a 'siblings' query function. See the query
8070 documentation for more details.
8071 - Added the print_action command, which outputs the
8072 actions needed to build a given target in the form of an
8073 ExtraActionSummary proto in text format.
8074 - android_binary now supports proguard_apply_dictionary to specify
8075 a custom dictionary to use for choosing names to obfuscate
8076 classes and members to.
8077
8078Important changes:
8079
8080 - 'strip' action is now configured via feature configuration
8081 - Flags from action_config get added first to the command line
8082 first,
8083 before the flags from features.
8084 - `bazel info output_path` no longer relies on the root directory
8085 filename being equal to the workspace name.
8086 - The `print` function now prints debug messages instead of
8087 warnings.
8088 - speedup of incremental dexing tools
8089 - --announce_rc now controls whether bazelrc startup options are
8090 printed to stderr.
8091 - Removing a few unused objc_provider keys.
8092 - Improved logging when workers have to be restarted due to its
8093 files having changed.
8094 - Top-level `if` statements are now forbidden.
8095 - Java protos are compiled to Java 7 bytecode.
8096 - All Android builds now use the desugar tool to support some Java
8097 8 features by default. To disable, use the
8098 --nodesugar_for_android flag.
8099 - Skylark-related options may now appear as "common" command
8100 options in the .bazelrc
8101 - Python is now required to build bazel.
8102 - When the lvalue of an augmented assignment is a list, we now
8103 throw an error
8104 before evaluating the code (e.g. `a, b += 2, 3`).
8105 - New --build_runfile_manifests flag controls production of
8106 runfiles manifests.
8107 - Enable debug info for Java builds
8108 - Allow java_lite_proto_library in the deps of android rules.
8109 - .so files in APKs will be memory-page aligned when
8110 android_binary.nocompress_extensions contains ".so" and
8111 --experimental_android_use_nocompress_extensions_on_apk is
8112 specified.
8113 - Skylark providers can specify allowed fields and their
8114 documentation.
8115 - Support ctx.actions.args() for more efficient Skylark command
8116 line construction.
8117 - The remote HTTP/1.1 caching client (--remote_rest_cache) now
8118 distinquishes between action cache and CAS. The request URL for
8119 the action cache is prefixed with 'ac' and the URL for the CAS
8120 is prefixed with 'cas'.
8121 - `JavaInfo` is a preferred alias to `java_common.provider`.
8122 - J2ObjC version updated to 2.0.3.
8123 - A new Java coverage implementation is available. Makes possible
8124 coverage for Skylark JVM rules.
8125 - Make proguard_apply_dictionary also apply to class and package
8126 obfuscation, not just class members.
8127 - When using the dictionary literal syntax, it is now an error to
8128 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
8129 - android_binary.nocompress_extensions now applies to all files in
8130 the APK, not just resources and assets.
8131 - The apple_genrule rule that is distributed with Bazel has been
8132 deleted. Users who wish to use genrules with Xcode's
8133 DEVELOPER_DIR set should use the rules in
8134 https://github.com/bazelbuild/rules_apple instead.
8135 - The swift_library rule that is distributed with Bazel has been
8136 deleted. Users who wish to compile Swift should use the rules in
8137 https://github.com/bazelbuild/rules_apple instead.
8138
Bazel Release System5371d132017-08-25 11:24:06 +02008139## Release 0.5.4 (2017-08-25)
8140
8141```
8142Baseline: 6563b2d42d29196432d5fcafa0144b8371fbb028
8143
8144Cherry picks:
8145 + d4fa181f8607c35230b7efa1ce94188b51508962:
8146 Use getExecPathString when getting bash_main_file
8147 + 837e1b3d4859140d29aaa6bbab8fbb008e6d701e:
8148 Windows, sh_bin. launcher: export runfiles envvars
8149 + fe9ba893c0ebec19228086356af5fa8d81f2809b:
8150 grpc: Consolidate gRPC code from BES and Remote Execution. Fixes
8151 #3460, #3486
8152 + e8d4366cd374fba92f1425de0d475411c8defda4:
8153 Automated rollback of commit
8154 496d3ded0bce12b7371a93e1183ba30e6aa88032.
8155 + 242a43449dd44a22857f6ce95f7cc6a7e134d298:
8156 bes,remote: update default auth scope.
8157 + 793b409eeae2b42be7fed58251afa87b5733ca4d:
8158 Windows, sh_bin. launcher: fix manifest path
8159 + 7e4fbbe4ab3915a57b2187408c3909e5cd6c6013:
8160 Add --windows_exe_launcher option
8161 + 91fb38e92ace6cf14ce5da6527d71320b4e3f3d2:
8162 remote_worker: Serialize fork() calls. Fixes #3356
8163 + b79a9fcd40f448d3aebb2b93a2ebe80d09b38408:
8164 Quote python_path and launcher in
8165 python_stub_template_windows.txt
8166 + 4a2e17f85fc8450aa084b201c5f24b30010c5987:
8167 Add build_windows_jni.sh back
8168 + ce61d638197251f71ed90db74843b55d9c2e9ae5:
8169 don't use methods and classes removed in upstream dx RELNOTES:
8170 update dexing tools to Android SDK 26.0.1
8171 + 5393a4996d701fa192964a35cbb75e558a0599c0:
8172 Make Bazel enforce requirement on build-tools 26.0.1 or later.
8173 + 5fac03570f80856c063c6019f5beb3bdc1672dee:
8174 Fix --verbose_failures w/ sandboxing to print the full command
8175 line
8176 + f7bd1acf1f96bb7e3e19edb9483d9e07eb5af070:
8177 Only patch in C++ compile features when they are not already
8178 defined in crosstool
8179 + d7f5c120417bc2d2344dfb285322355f225d9153:
8180 Bump python-gflags to 3.1.0, take two
8181 + 3cb136d5451e9d8af58f9a99990cad0592df101a:
8182 Add python to bazel's dockerfiles
8183```
8184
8185New features:
8186
8187 - Do not disable fully dynamic linking with ThinLTO when invoked
8188 via LIPO options.
8189
8190Important changes:
8191
8192 - Ignore --glibc in the Android transition.
8193 - Remove --experimental_android_use_singlejar_for_multidex.
8194 - nocopts now also filter copts
8195 - The Build Event Service (BES) client now properly supports
8196 Google Applicaton Default Credentials.
8197 - update dexing tools to Android SDK 26.0.1
8198 - Bazel Android support now requires build-tools 26.0.1 or later.
8199 - Fix a bug in the remote_worker that would at times make it crash on Linux. See #3356
8200 - The java_proto_library rule now supports generated sources. See #2265
8201
Bazel Release System195a7a82017-07-27 20:27:32 +02008202## Release 0.5.3 (2017-07-27)
8203
8204```
8205Baseline: 88518522a18df5788736be6151fc67992efe2aad
8206
8207Cherry picks:
8208 + 820a46af10808396873c36d0f331e533118cf0c6:
8209 Automated rollback of commit
8210 6d6e87297fe8818e4c374fdfabfbcf538bca898a.
8211 + ccfb2df69ecf4746f5a15e1295af995c3a45aa94:
8212 Allow py_binary to be the executable of a Skylark action or any
8213 SpawnAction on Windows.
8214 + 06534911696838e720c8681f6f568c69d28da65e:
8215 Fix string representation for the Root class
8216 + cd159bcee72a7f377621b45409807231a636f9e2:
8217 sandbox: Allow UNIX sockets on macOS even when block-network is
8218 used.
8219 + ad73cba3caa2e08ad61ea9ca63f9111cde1f48d1:
8220 Fix python_stub_template.txt to be compatible with Python 2.4.
8221 + 9a63aff8bb771af8917903fbbc9df3b708e2c0ed:
8222 Create Windows ZIP release artifact using Bazel
8223 + 5e576637b5705aff0a7bf56b5077463dffcd712f:
8224 Automated rollback of commit
8225 820a46af10808396873c36d0f331e533118cf0c6.
8226 + b6e29ca217b02c3ba499b85479a3830f59c9b9b6:
8227 Use the correct function to generate the release notes
8228 + 0f3481ba6364f24ef76b839bdde06ae7883c9bd9:
8229 Include <cinttypes> instead of <stdint.h>
8230```
8231
8232Incompatible changes:
8233
8234 - The --output=location flag to 'bazel query' cannot be used with
8235 query expressions that involve the 'buildfiles' or 'loadfiles'
8236 operators. This also applies to 'genquery' rules.
8237 - Operators for equality, comparison, 'in' and 'not in' are no
8238 longer associative, e.g. x < y < z is now a syntax error.
8239 Before, it was parsed as: (x < y) < z.
8240 - In strings, octal sequences greater than \377 are now forbidden
8241 (e.g. "\\600"). Previously, Blaze had the same behavior as Python 2,
8242 where "\\450" == "\050".
8243 - Using tabulation for identation is now fobidden in .bzl files
8244 - `load` is now a language keyword, it cannot be used as an
8245 identifier
8246 - lvalues must have define at least one variable (i.e. we forbid
8247 `[] = f()`).
8248 - Fixed a bug whereby multiple load() statements could appear on
8249 the same line
8250 - -extra_checks:off is no longer supported; use
8251 -XepDisableAllChecks instead
8252 - java_common.java_toolchain_attr is removed. Depend on the
8253 java_toolchain_alias() rule to accomplish the same thing.
8254 - cc_common.cc_toolchain_attr and java_common.java_runtime_attr are
8255 not supported anymore and were replaced with the
8256 cc_toolchain_alias() and java_runtime_alias() rules.
8257
8258New features:
8259
8260 - Zipped LLVM profiles are now supported.
8261 - LIPO maps to ThinLTO for LLVM builds.
8262 - Change to handle LLVM FDO zipped profile contents correctly.
8263
8264Important changes:
8265
8266 - Windows: bazel clean --expunge works
8267 - First argument of 'load' should be a label. Path syntax is
8268 deprecated (label should start with '//' or ':').
8269 - Octal prefix '0' is deprecated in favor of '0o' (use 0o777
8270 instead of 0777).
8271 - The extension_safe attribute of apple_binary no longer validates
8272 transitive dependencies are compiled against extension_safe APIs.
8273 - Parentheses around the tuple are now mandatory in [a for b in c
8274 if 1, 2]
8275 - Adjust the thresholds for --test_verbose_timeout_warnings so that
8276 it can recommending timeout increases and won't recommend
8277 timeouts that are too close to the actual timeout.
8278 - Iterating on a `depset` object is deprecated. If you need an
8279 iterable, call the `.to_list()` method first.
8280 - Bazel now uses tools from action_configs in Crosstool by default
8281 (as oposed to using top level tools).
8282 - Incremental dexing errors on combination of --multidex=off and
8283 either --main-dex-list or --minimal-main-dex.
8284 - When using the dictionary literal syntax, it is now an error to
8285 have duplicated keys (e.g. {'ab': 3, 'ab': 5}).
8286 - New property on android_sdk: aapt2
8287 Choose the version of aapt on android_binary
8288 - Add idl_preprocessed attribute to android_library, so that
8289 preprocessed aidl files can be passed to android_library for
8290 compiling
8291 - Bazel's remote_worker backend for remote execution supports
8292 sandboxing on Linux now. Check
8293 https://github.com/bazelbuild/bazel/blob/master/src/tools/remote_w
8294 orker/README.md for details.
8295 - Allows flags that expand to take values.
8296 - Make querying attributes formed by selector lists of list types
8297 more efficient by no longer listing every possible combination of
8298 attribute value but by more compactly storing the possible values
8299 of the list.
8300 - Writing build events to a file is no longer experimental
8301 - set --rewrite_calls_to_long_compare to false by default.
8302 - ObjC and C++ coverage feature is unified under name 'coverage'
8303 - Enable --incremental_dexing for Android builds by default. Note
8304 that some dexopts are incompatible with incremental dexing,
8305 including --force-jumbo.
8306 - Evaluation will soon use checked arithmetics and throw an error
8307 instead of overflow/underflow.
8308 - Implicit iteration in the CROSSTOOL has been removed, use
8309 explicit 'iterate_over' message.
8310 - Add option for Android specific grte_top
8311 - Crosstool patches are only applied if the toolchain doesn't define
8312 'no_legacy_features' feature.
8313 - 'platform_type' is now a mandatory attribute on apple_binary and
8314 apple_static_library rules.
8315 If this change breaks your build, feel free to add platform_type
8316 = 'ios' to any apple_binary and apple_static_library
8317 targets in your project, as this was the previous default
8318 behavior.
8319 - Remove apple_watch2_extension build rule. Users should be using
8320 the skylark watchos_application and watchos_extension rules.
8321 https://github.com/bazelbuild/rules_apple has details.
8322 - Check stderr to detect if connected to a terminal. Deprecate
8323 --isatty.
8324 - Commands that shut down the server (like "shutdown") now ensure
8325 that the server process has terminated before the client process
8326 terminates.
8327 - Remove apple_watch1_extension and apple_watch_extension_binary
8328 rules. Users should be using the skylark watchos_application and
8329 watchos_extension rules.
8330 https://github.com/bazelbuild/rules_apple has details.
8331 - Windows: Wrapper-less CROSSTOOL becomes default now.
8332 set USE_MSVC_WRAPPER=1 if you still want to use wrapper script.
8333
Bazel Release System7b851222017-06-27 15:08:47 +02008334## Release 0.5.2 (2017-06-27)
8335
8336```
8337Baseline: e78ad83ded6e9c6d639793827e27b6570e6e9f65
8338
8339Cherry picks:
8340 + 68028317c1d3d831a24f90e2b25d1410ce045c54:
8341 experimental UI: move stopUpdateThread() out of synchronized,
8342 again
8343 + 019935dfbb61e61d08d1351b0365fb4e2d0df305:
8344 Fix bug in URI computation in RemoteModule
8345 + e9424cf9b9d72b98594966d5ac0f15bb018ec639:
8346 Automated rollback of commit
8347 7dec00574aa91327693f6ba7e90bff5bc834253e.
8348 + 9eea05d068a06ab642dd9d86d46ee5fa2e36b02e:
8349 Switching to Watcher API instead of wait_for_completion, in
8350 preparation for deprecating the wait_for_completion field.
8351 + 89659810e3048782dfb5e308e39aa8a0727e464e:
8352 Set correct execroot for info
8353 + 716b527266f47f59a2b7fb2e5fc52cb45e1691b1:
8354 Only create a single per-build instance of the remote cache /
8355 executor
8356 + 1d82d199f82409f217a42bcefebb96f723f91caa:
8357 protobuf: Update protobuf jars to be binary compatible with Java
8358 6. Fixes #3198
8359 + 524b90d9e5acc4fa568f215c9415eaa902e979f8:
8360 Change CAS URI to use the "bytestream" scheme instead of being
8361 scheme-less
8362 + 4929ad79865f8c13ef3b33c827040f4a037e4afe:
8363 Automated g4 rollback of commit
8364 923d7df521f67d031b288180560848bd35e20976.
8365 + 68b9a7e2dc17e32b194238d287e79bee1ba035b9:
8366 Automated g4 rollback of commit
8367 da56606563ee9df438db93392f681bf2abb4ac97.
8368 + 2ba693ffbe824136a0ca5f47d34710612f6302c3:
8369 Automated rollback of commit
8370 ce7c4deda60a307bba5f0c9421738e2a375cf44e.
8371```
8372
8373Incompatible changes:
8374
8375 - Blaze no longer generates xcode projects. Use tulsi.bazel.build
8376 instead.
8377
8378Important changes:
8379
8380 - Keyword-only syntax in a function definition is deprecated
8381 (e.g. `def foo(a, *, b)` or `def foo(a, *b, c)`) and will be
8382 removed in the future.
8383 - Attempting to build an Android target without setting up
8384 android_sdk_repository will now produce a helpful error message.
8385 - Adds a sha256 attribute to git_repository and new_git_repository.
8386 This can only be used if the remote is a public GitHub
8387 repository. It forces
8388 Bazel to download the repository as a tarball, which will often
8389 be faster and
8390 more robust than cloning it.
8391 - Sandboxing is now enabled by default on FreeBSD (via
8392 processwrapper-sandbox).
8393 - android_test may use manifest placeholders with 'manifest_merger
8394 = "android"'.
8395 - load() statements should be called at the top of .bzl files,
8396 before any
8397 other statement. This convention will be enforced in the future.
8398 - Effectively remove sysroot from CppConfiguration and allow it to
8399 use select statements.
8400 - proto_library.strict_proto_deps no longer exists.
8401 - Flag --explicit_jre_deps is now a noop.
8402 - The 'legacy' Android manifest merger is deprecated. Please
8403 upgrade to the 'android' manifest merger, which is the same
8404 merger used by Gradle.
8405 https://developer.android.com/studio/build/manifest-merge.html
8406 - Using $(CC_FLAGS) in a GenRule adds a dependency to the c++
8407 toolchain
8408 - add one-version enforcement to android_local_test
8409 - Skylark support (apple_common.dotted_version(string)) for
8410 building DottedVersion objects to interface with native apple
8411 rules
8412 - CC_FLAGS can be defined using 'cc-flags-make-variable' action_config in
8413 CROSSTOOL
8414 - ios_framework native rule has been removed. This rule had been
8415 essentially broken for several months now; users should be using
8416 the skylark ios framework rule.
8417 https://github.com/bazelbuild/rules_apple has details.
8418 - Clean command no longer uses boolean values for --async,
8419 --expunge, and --expunge_async options.
8420 - Partially fixes external J2ObjC support.
8421 - '--aspects' can occur more than once on the command line.
8422 - --no_ prefix no longer recognized.
8423 - Use action_config in crosstool for static library archiving,
8424 remove ar_flag.
8425 - Added a new flag --sandbox_writable_path, which asks the sandbox
8426 to
8427 make an existing directory writable when running actions.
8428 - bazel test now also computes a default instrumentation filter if
8429 --collect_code_coverage is enabled
8430 - n/na
8431 - In .bzl files, top-level `if` statements are deprecated and will
8432 be forbidden
8433 in the future. Move them in a function body instead (or use a
8434 conditional
8435 expression instead: `x if condition else y`).
8436 - ios_device and ios_test are deprecated. Please use the new testing
8437 rules in https://github.com/bazelbuild/rules_apple instead.
8438 - bazel query --output package now displays packages from external
8439 repository with the format "@reponame//package". Packages in the
8440 main repository continue to have the format "package".
8441 - ctx.expand_make_variables is deprecated.
8442 - Bazel posts links to the CAS to the BEP if remote caching /
8443 execution is enabled
8444 - `bazel info execution_root` returns the corrrect directory name
8445 for the execution root.
8446
Bazel Release System63222de2017-06-06 11:32:04 +02008447## Release 0.5.1 (2017-06-06)
8448
8449```
8450Baseline: f3ae88ee043846e7acdffd645137075a4e72c573
8451
8452Cherry picks:
8453 + c58ba098526b748f9c73e6229cafd74748205aa1:
8454 Release to GCS: put the final release in its own directory
8455 + 0acead4ea3631240659836ce6ecd6d7f67fd352b:
8456 Update protobuf to latest master at a64497c and apply
8457 @laszlocsomor's latest changes from
8458 https://github.com/google/protobuf/pull/2969 on top of it.
8459 + d0242ce4a87929f2528f4602d0fb09d1ccfcea94:
8460 Make symlinks consistent
8461 + d953ca8b87a46decbce385cebb446ae0dd390881:
8462 Clean VanillaJavaBuilder output directories
8463 + 755669fb5de1f4e762f27c19776cac9f410fcb94:
8464 Pass all the environment variable to Bazel during bootstrapping
8465 + 6f041661ca159903691fcb443d86dc7b6454253d:
8466 Do not mark the JDK7 installer -without-jdk-installer
8467 + 720561113bfa702acfc2ca24ce3cc3fd7ee9c115:
8468 Fix #2958: Installer should not overwrite bazelrc
8469 + 511c35b46cead500d4e76706e0a709e50995ceba:
8470 Bootstrap: move the fail function to the top
8471 + 8470be1122825aae8ad0903dd1e1e2a90cce47d2:
8472 Clean up javac and Error Prone targets
8473 + 4a404de2c6c38735167e17ab41be45ef6fc4713a:
8474 Update javac version to 9-dev-r4023-2
8475 + 36ce4b433e19498a78c34540d5a166d4e0006b22:
8476 Update javac version to 9-dev-r4023-2
8477 + 38949b8526bdb3e6db22f3846aac87162c28c33f:
8478 Migrate off versioned javac and Error Prone targets
8479 + 1a57d298f8aa6ea8136d93223902104f2479cd2a:
8480 Re-enabling passing -sourcepath via javacopts.
8481 + eb565f408e03125e92d42b00756e519795be6593:
8482 Make make sure that msys build actually builds msys version
8483 + 39f328cf392056618d1a3ead4835a138b189a06d:
8484 Fix typo. Also do not override host_cpu for msvc.
8485 + 624802893f4fe72118f00a78452605d41a2e1c6f:
8486 Select correct JDK for windows_msys
8487 + c4f271d1a68366b6fa5ff38ea7d951b6a22af044:
8488 Automated g4 rollback of commit
8489 3e5edafa2a04a71cd3596e929e83222da725f3f9.
8490 + 926180997a0f296a5a009326aead887279ce0a90:
8491 Remove process-tools.cc which I forgot to delete during the last
8492 rollback.
8493 + baca6e4cb023649920871b74810927d304729e59:
8494 Fix #2982: Bazel installer should not check for installed JDK if
8495 using a bundled JDK.
8496 + 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842:
8497 Disable msys path conversion on Windows.
8498 + cc21998c299b4d1f97df37b961552ff8168da17f:
8499 Rollforward #2 of: Basic open-source crosstool to support
8500 targeting apple platform types.
8501 + 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f:
8502 Escape % in strings that will appear in Crosstool
8503 + 3b08f774e7938928e3a240a47a0a7554cdc8d50b:
8504 Adding feature for linking C Run-Time library on Windows
8505 + 3566474202d1978acfdcb7e5ff73ee03ea6f3df9:
8506 Do not use sed -E in bootstrap/compile.sh
8507 + c3cf7d917afd02d71de3800cd46ad8d14f1ddf55:
8508 Reverts non-xcode-available darwin crosstool generation.
8509```
8510
8511Important changes:
8512
8513 - Fixes regression in 0.5.0 requiring Xcode to build C++ on OSX.
8514
Bazel Release Systema3e26832017-05-26 14:11:07 +02008515## Release 0.5.0 (2017-05-26)
8516
8517```
8518Baseline: f3ae88ee043846e7acdffd645137075a4e72c573
8519
8520Cherry picks:
8521 + c58ba098526b748f9c73e6229cafd74748205aa1:
8522 Release to GCS: put the final release in its own directory
8523 + 0acead4ea3631240659836ce6ecd6d7f67fd352b:
8524 Update protobuf to latest master at a64497c and apply
8525 @laszlocsomor's latest changes from
8526 https://github.com/google/protobuf/pull/2969 on top of it.
8527 + d0242ce4a87929f2528f4602d0fb09d1ccfcea94:
8528 Make symlinks consistent
8529 + d953ca8b87a46decbce385cebb446ae0dd390881:
8530 Clean VanillaJavaBuilder output directories
8531 + 755669fb5de1f4e762f27c19776cac9f410fcb94:
8532 Pass all the environment variable to Bazel during bootstrapping
8533 + 6f041661ca159903691fcb443d86dc7b6454253d:
8534 Do not mark the JDK7 installer -without-jdk-installer
8535 + 720561113bfa702acfc2ca24ce3cc3fd7ee9c115:
8536 Fix #2958: Installer should not overwrite bazelrc
8537 + 511c35b46cead500d4e76706e0a709e50995ceba:
8538 Bootstrap: move the fail function to the top
8539 + 8470be1122825aae8ad0903dd1e1e2a90cce47d2:
8540 Clean up javac and Error Prone targets
8541 + 4a404de2c6c38735167e17ab41be45ef6fc4713a:
8542 Update javac version to 9-dev-r4023-2
8543 + 36ce4b433e19498a78c34540d5a166d4e0006b22:
8544 Update javac version to 9-dev-r4023-2
8545 + 38949b8526bdb3e6db22f3846aac87162c28c33f:
8546 Migrate off versioned javac and Error Prone targets
8547 + 1a57d298f8aa6ea8136d93223902104f2479cd2a:
8548 Re-enabling passing -sourcepath via javacopts.
8549 + eb565f408e03125e92d42b00756e519795be6593:
8550 Make make sure that msys build actually builds msys version
8551 + 39f328cf392056618d1a3ead4835a138b189a06d:
8552 Fix typo. Also do not override host_cpu for msvc.
8553 + 624802893f4fe72118f00a78452605d41a2e1c6f:
8554 Select correct JDK for windows_msys
8555 + c4f271d1a68366b6fa5ff38ea7d951b6a22af044:
8556 Automated g4 rollback of commit
8557 3e5edafa2a04a71cd3596e929e83222da725f3f9.
8558 + 926180997a0f296a5a009326aead887279ce0a90:
8559 Remove process-tools.cc which I forgot to delete during the last
8560 rollback.
8561 + baca6e4cb023649920871b74810927d304729e59:
8562 Fix #2982: Bazel installer should not check for installed JDK if
8563 using a bundled JDK.
8564 + 866ecc8c3d5e0b899e3f0c9c6b2265f16daae842:
8565 Disable msys path conversion on Windows.
8566 + cc21998c299b4d1f97df37b961552ff8168da17f:
8567 Rollforward #2 of: Basic open-source crosstool to support
8568 targeting apple platform types.
8569 + 0f0ccc4fc8229c1860a9c9b58089d6cfb2ee971f:
8570 Escape % in strings that will appear in Crosstool
8571 + 3b08f774e7938928e3a240a47a0a7554cdc8d50b:
8572 Adding feature for linking C Run-Time library on Windows
8573```
8574
8575Incompatible changes:
8576
8577 - Bazel's Linux sandbox no longer mounts an empty tmpfs on /tmp,
8578 instead the existing /tmp is mounted read-write. If you prefer
8579 to have a tmpfs on /tmp for sandboxed actions for increased
8580 hermeticity, please use the flag --sandbox_tmpfs_path=/tmp.
8581 - Converting artifacts to strings and printing them now return
8582 "File" instead of "Artifact" to be consistent with the type name.
8583 - The return type of depset.to_list() is now a list rather than a
8584 frozen list. (Modifying the list has no effect on the depset.)
8585 - Bazel now prints logs in single lines to java.log
8586 - --use_dash, --dash_url and --dash_secret are removed.
8587 - Remote repositories must define any remote repositories they
8588 themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
8589 defined
8590 in @x's WORKSPACE file).
8591 - Remote repositories must define any remote repositories they
8592 themselves use (e.g., if @x//:foo depends on @y//:bar, @y must be
8593 defined
8594 in @x's WORKSPACE file).
8595 - objc_xcodeproj has been removed, use tulsi.bazel.build instead.
8596
8597New features:
8598
8599 - If grte_top is a label, it can now follow non-configurable
8600 redirects.
8601 - Optional coverage_files attribute to cc_toolchain
8602 - "query --output=build" now includes select()s
8603 - Raw LLVM profiles are now supported.
8604
8605Important changes:
8606
8607 - Automatically generate Proguard mapping when resource shrinking
8608 and Proguard are enabled.
8609 - New rules in Bazel: proto_library, java_lite_proto_library,
8610 java_proto_library and cc_proto_library
8611 - Activate the "dead_strip" feature if objc binary stripping is
8612 enabled.
8613 - More stable naming scheme for lambda classes in desugared android
8614 code
8615 - Convert --use_action_cache to a regular option
8616 - Per-architecture dSYM binaries are now propagated by
8617 apple_binary's AppleDebugOutputsProvider.
8618 - Avoid factory methods when desugaring stateless lambdas for
8619 Android
8620 - desugar calls to Objects.requireNonNull(Object o) with
8621 o.getClass() for android
8622 - Add an --copy_bridges_from_classpath argument to android
8623 desugaring tool
8624 - Change how desugar finds desugared classes to have it working on
8625 Windows
8626 - Evaluation of commands on TargetsBelowDirectory patterns
8627 (e.g. //foo/...) matching packages that fail to load now report
8628 more
8629 detailed error messages in keep_going mode.
8630 - Allow to have several inputs and outputs
8631 - Repository context's execute() function can print stdout/stderr
8632 while running. To enable, pass quiet=False.
8633 - Bazel can now be built with a bundled version of the OpenJDK.
8634 This makes it possible to use Bazel on systems without a JDK, or
8635 where
8636 the installed JDK is too old.
8637 - The --jobs flag now defaults to "auto", which causes Bazel to
8638 use a reasonable degree of parallelism based on the local
8639 machine's
8640 capacity.
8641 - Bazel benchmark (perf.bazel.build) supports Java and Cpp targets.
8642 - no factory methods generated for lambda expressions on android
8643 - The Linux sandbox no longer changes the user to 'nobody' by
8644 default, instead the current user is used as is. The old behavior
8645 can be
8646 restored via the --sandbox_fake_username flag.
8647 - /tmp and /dev/shm are now writable by default inside the
8648 Linux sandbox.
8649 - Bazel can now use the process-wrapper + symlink tree based
8650 sandbox implementation in FreeBSD.
8651 - turn on --experimental_incremental_dexing_error_on_missed_jars by
8652 default.
8653 - All android_binarys are now signed with both Apk Signature V1 and
8654 V2. See https://source.android.com/security/apksigning/v2.html
8655 for more details.
8656 - Windows MSVC wrappers: Not filtering warning messages anymore,
8657 use --copt=-w and --host_copt=-w to suppress them.
8658 - A downloader bug was fixed that prevented RFC 7233 Range
8659 connection resumes from working with certain HTTP servers
8660 - Introduces experimental android_device rule for configuring and
8661 launching Android emulators.
8662 - For boolean flags, setting them to false using --no_<flag_name>
8663 is deprecated. Use --no<flag_name> without the underscore, or
8664 --<flag_name>=false instead.
8665 - Add --experimental_android_compress_java_resources flag to store
8666 java
8667 resources as compressed inside the APK.
8668 - Removed --experimental_use_jack_for_dexing and libname.jack
8669 output of
8670 android_library.
8671 - blaze canonicalize-flags now takes a --show_warnings flag
8672 - Changing --invocation_policy will no longer force a server
8673 restart.
8674 - Bazel now supports Android NDK14.
8675 - android_binary multidex should now work without additional flags.
8676 - Use action_config in crosstool for static library archiving,
8677 remove ar_flag.
8678 - new option for bazel canonicalize-flags, --canonicalize_policy
8679 - Use action_config in crosstool for static library archiving,
8680 remove ar_flag.
8681 - android_library exports_manifest now defaults to True.
8682 - Fix select condition intersections.
8683 - Adds a --override_repository option that takes a repository
8684 name and path. This forces Bazel to use the directory at that path
8685 for the repository. Example usage:
8686 `--override_repository=foo=/home/user/gitroot/foo`.
8687 - fix idempotency issue with desugaring lambdas in interface
8688 initializers for android
8689 - --experimental_android_use_singlejar_for_multidex is now a no-op
8690 and will eventually be removed.
8691 - Every local_repository now requires a WORKSPACE file.
8692 - Remove jack and jill attributes of the android_sdk rule.
8693 - Add Skylark stubs needed to remove sysroot from CppConfiguration.
8694 - Desugar try-with-resources so that this language feature is
8695 available
8696 to deveces with API level under 19.
8697 - The flag --worker_max_retries was removed. The
8698 WorkerSpawnStrategy no longer retries execution of failed Spawns,
8699 the reason being that this just masks compiler bugs and isn't
8700 done for any other execution strategy either.
8701 - Bazel will no longer gracefully restart workers that crashed /
8702 quit, instead this triggers a build failure.
8703 - All java resources are now compressed in android_binary APKs by
8704 default.
8705 - All java resources are now compressed in android_binary APKs by
8706 default.
8707 - android_ndk_repository now creates a cc_library
8708 (@androidndk//:cpufeatures) for the cpufeatures library that is
8709 bundled in the Android NDK. See
8710 https://developer.android.com/ndk/guides/cpu-features.html for
8711 more details.
8712 - 'output_groups' and 'instrumented_files' cannot be specified in
8713 DefaultInfo.
8714 - You can increase the CPU reservation for tests by adding a
8715 "cpu:<n>" (e.g. "cpu:4" for four cores) tag to their rule in a
8716 BUILD file. This can be used if tests would otherwise overwhelm
8717 your system if there's too much parallelism.
8718 - Deprecate use_singlejar_for_proguard_libraryjars and force
8719 behavior to always on.
8720
Bazel Release System8d635fc2017-03-16 13:18:30 +01008721## Release 0.4.5 (2017-03-16)
8722
8723```
8724Baseline: 2e689c29d5fc8a747216563235e905b1b62d63b0
8725
8726Cherry picks:
8727 + a28b54033227d930672ec7f2714de52e5e0a67eb:
8728 Fix Cpp action caching
8729 + 6d1d424b4c0da724e20e14235de8012f05c470f8:
8730 Fix paths of binaries in .deb packages.
8731 + 0785cbb672357d950e0c045770c4567df9fbdc43:
8732 Update to guava 21.0 and Error Prone version 2.0.18-20160224
8733 + 30490512eb0e48a3774cc4e4ef78680e77dd4e47:
8734 Update to latest javac and Error Prone
8735 + 867d16eab3bfabae070567ecd878c291978ff338:
8736 Allow ' ', '(', ')' and '$' in labels
8737 + 7b295d34f3a4f42c13aafc1cc8afba3cb4aa2985:
8738 Pass through -sourcepath to the JavaBuilder
8739 + 14e4755ce554cdfc685fc9cc2bfb5b699a3b48f4:
8740 PathFragment comparisons are now platform-aware
8741 + ed7795234ca7ccd2567007f2c502f853cd947e50:
8742 Flag to import external repositories in python import path
8743 + 81ae08bbc13f5f4a04f18caae339ca77ae2699c1:
8744 Suppress error for non-exhaustive switches
8745 + e8d1177eef9a9798d2b971630b8cea59471eec33:
8746 Correctly returns null if an environment variables is missing
8747 + 869d52f145c077e3499b88df752cebc60af51d66:
8748 Fix NPE in Android{S,N}dkRepositoryFunction.
8749 + d72bc57b60b26245e64f5ccafe023a5ede81cc7f:
8750 Select the good guava jars for JDK7 build
8751 + 92ecbaeaf6fa11dff161254df38d743d48be8c61:
8752 Windows: Assist JNI builds with a target for jni_md.h.
8753 + 36958806f2cd38dc51e64cd7bcc557bd143bbdb6:
8754 Add java_common.create_provider to allow creating a
8755 java_common.provider
8756 + 8c00f398d7be863c4f502bde3f5d282b1e18f504:
8757 Improve handling of unknown NDK revisions in
8758 android_ndk_repository.
8759 + b6ea0d33d3ab72922c8fb3ec1ff0e437af09584d:
8760 Add the appropriate cxx_builtin_include_directory entries for
8761 clang to the Android NDK crosstool created by
8762 android_ndk_repository.
8763```
8764
8765Incompatible changes:
8766
8767 - Depsets (former sets) are converted to strings as "depset(...)"
8768 instead of
8769 "set(...)".
8770 - Using --symlink_prefix is now applied to the output
8771 symlink (e.g. bazel-out) and the exec root symlink (e.g.
8772 bazel-workspace).
8773 - Bazel now uses the test's PATH for commands specified as
8774 --run_under; this can affect users who explicitly set PATH to
8775 a more
8776 restrictive value than the default, which is to forward the
8777 local PATH
8778 - It's not allowed anymore to compare objects of different types
8779 (i.e. a string to an integer) and objects for which comparison
8780 rules are not
8781 defined (i.e. a dict to another dict) using order operators.
8782
8783New features:
8784
8785 - environ parameter to the repository_rule function let
8786 defines a list of environment variables for which a change of
8787 value
8788 will trigger a repository refetching.
8789
8790Important changes:
8791
8792 - android_ndk_repository now supports Android NDK R13.
8793 - Android resource shrinking is now available for android_binary
8794 rules. To enable, set the attribute 'shrink_resources = 1'. See
8795 https://bazel.build/versions/master/docs/be/android.html#android_b
8796 inary.shrink_resources.
8797 - resolve_command/action's input_manifest return/parameter is now
8798 list
8799 - For increased compatibility with environments where UTS
8800 namespaces are not available, the Linux sandbox no longer hides
8801 the hostname of the local machine by default. Use
8802 --sandbox_fake_hostname to re-enable this feature.
8803 - proto_library: alias libraries produce empty files for descriptor
8804 sets.
8805 - Adds pkg_rpm rule for generating RPM packages.
8806 - Allow CROSSTOOL files to have linker flags specific to static
8807 shared libraries.
8808 - Make it mandatory for Java test suites in bazel codebase, to
8809 contain at least one test.
8810 - Support for Java 8 lambdas, method references, type annotations
8811 and repeated annotations in Android builds with
8812 --experimental_desugar_for_android.
8813 - Removed .xcodeproj automatic output from objc rules. It can still
8814 be generated by requesting it explicitly on the command line.
8815 - Flips --explicit_jre_deps flag on by default.
8816 - Activate the "dbg", "fastbuild", and "opt" features in the objc
8817 CROSSTOOL.
8818 - Remove support for configuring JDKs with filegroups; use
8819 java_runtime and java_runtime_suite instead
8820 - android_ndk_repository api_level attribute is now optional. If not
8821 specified, the highest api level in the ndk/platforms directory
8822 is used.
8823
Bazel Release System6712cac2017-02-01 19:53:37 +01008824## Release 0.4.4 (2017-02-01)
8825
8826```
8827Baseline: 4bf8cc30a
8828
8829Cherry picks:
8830 + ef1c6fd33: msvc_tools.py.tpl: Change default runtime library to
8831 static
8832```
8833
8834Incompatible changes:
8835
8836 - Only targets with public visibility can be bound to something in
8837 //external: .
8838 - The deprecated -x startup option has been removed.
8839 - docker_build: change the repository names embedded by
8840 docker_build. You can revert to the old behavior by setting
8841 legacy_repository_naming=True.
8842 - The string methods strip(), lstrip(), and rstrip() now
8843 by default remove the same whitespace characters as Python 3
8844 does, and accept
8845 None as an argument.
8846 - Deprecated globals HOST_CFG and DATA_CFG are removed. Use strings
8847 "host" and "data" instead.
8848 - repository_ctx environment is now affected by --action_env flag
8849 (value from the
8850 client environment will be replaced by value given on the command
8851 line through --action_env).
8852 - All executable labels must also have a cfg parameter specified.
8853 - Removed the cmd_helper.template function.
8854 The function was equivalent to:
8855 def template(items, template):
8856 return [template.format(path = i.path, short_path =
8857 i.short_path)
8858 for i in items]
8859 - Tuples that end with a trailing comma must now be inside parens,
8860 e.g. (1,) instead of 1,
8861 - The traversal orders for depsets have been renamed. The old names
8862 are deprecated and will be removed in the future. New names:
8863 "stable" -> "default", "compile" -> "postorder", "link" ->
8864 "topological", "naive_link" -> "preorder".
8865
8866New features:
8867
8868 - Skylark: you can now multiply a list by an integer to get the
8869 concatenation of N copies of this list, e.g. [a,b] * 3 =
8870 [a,b,a,b,a,b]
8871 - Allow Android aidl tool to add a jar to the program's classpath,
8872 such as if needed to support generated sources.
8873 - Add transitive proguard_specs when android_sdk.aidl_lib is
8874 specified
8875 - Windows: "/dev/null" is now a supported path, e.g.
8876 --bazelrc=/dev/null now works
8877
8878Important changes:
8879
8880 - Bazel Android builds use the apksigner tool from the Android SDK
8881 build-tools. Bazel Android builds now require build-tools version
8882 24.0.3 or
8883 later.
8884 - Android SDK external bindings for support libraries, e.g.
8885 //external:android/appcompat_v4, are removed because the support
8886 library JARs that they referenced no longer ship with the Android
8887 SDK.
8888 - aar_import rule is now documented.
8889 - An IE bug was fixed in repository_ctx.download_and_extract
8890 - Update "-I" to "-isystem" in documentation to reflect current
8891 behavior.
8892 - android_sdk_repository build_tools_version is now optional. The
8893 highest installed build-tools will be used if none is specified.
8894 - New flag --sandbox_add_mount_pair to specify customized
8895 source:target path pairs to bind mount inside the sandbox.
8896 - expose proto_library descriptor set to skylark via
8897 <dep>.proto.descriptor_set
8898 - The `set` constructor is deprecated in favor of `depset`
8899 - Autodetect gold linker in cc_configure.bzl
8900 - Remove build flag --experimental_j2objc_annotation_processing. It
8901 is on by default now.
8902 - Set clang's -mwatchos-version-min correctly using the value of
8903 --watchos_minimum_os, not --watchos_sdk_version.
8904 - singlejar can now create jar files larger than 4GB.
8905 - android_sdk_repository and android_ndk_repository now read
8906 $ANDROID_HOME and $ANDROID_NDK_HOME if the path attribute is not
8907 set.
8908 - Removed broken api levels 3, 4 and 5 from Android NDK 12.
8909 - Default --android_dynamic_mode to off.
8910 - android_sdk_repository no longer requires api_level. If one is
8911 not specified, the highest android platform installed will be
8912 used. Furthermore, android_sdk's are created for all android
8913 platforms installed and can be specified with the --android_sdk
8914 flag.
8915 - To iterate over or test for membership in a set, prefer using the
8916 new to_list() method. E.g., "for x in myset.to_list():", or
8917 "print(x in myset.to_list())". Iteration/membership-test on the
8918 raw set itself is deprecated.
8919 - Remove support for --javawarn; use e.g. --javacopt=-Xlint:all
8920 instead
8921
Bazel Release Systemd3b23642016-12-22 13:30:47 +01008922## Release 0.4.3 (2016-12-22)
Bazel Release System80865ff2016-11-30 13:18:54 +01008923
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +01008924```
Bazel Release Systemd3b23642016-12-22 13:30:47 +01008925Baseline: c645a45
Bazel Release System80865ff2016-11-30 13:18:54 +01008926
8927Cherry picks:
Bazel Release Systemd3b23642016-12-22 13:30:47 +01008928 + af878d0: Add coverage support for java test. (series 4/4 of
8929 open-sourcing coverage command for java test)
8930 + 09b92a8: Rollback of commit
8931 67b4d5250edcefa7220e928e529b1f385e2dc464.
8932 + b11dd48: Fix bad bug with the parallel implementation of
8933 BinaryOperatorExpression. Turns out that
8934 ForkJoinTask#adapt(Callable) returns a ForkJoinTask
8935 whose Future#get on error throws a ExecutionException
8936 wrapping a RuntimeException wrapping the thrown checked
8937 exception from the callable. This is documented
8938 behavior [1] that I incorrectly didn't know about.
8939 + 9012bf1: Fix scripts/packages/convert_changelog to read the
8940 changelog correctly
8941 + 55c97bc: Release script: if master branch does not exist, fall
8942 back on origin/master
8943 + 4fb378c: Debian repository: override section and priority fields
8944 + acbcbc2: Fix release notes in emails
8945 + 4975760: Fix PathFragment to not use Java8-only static hashCode
8946 methods.
8947 + 05fd076: Disable sandboxing for XibCompile actions.
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +01008948```
Bazel Release System80865ff2016-11-30 13:18:54 +01008949
8950Incompatible changes:
8951
Bazel Release Systemd3b23642016-12-22 13:30:47 +01008952 - Skylark maven_jar and maven_aar settings attribute is now a label
8953 so it can be checked into your workspace.
8954 - --{no}experimental_use_rclass_generator is now a nop.
8955
8956New features:
8957
8958 - Coverage support (*experimental*) for pure Java target.
8959 Use `bazel coverage //my:target` to generate coverage information
8960 from a `java_test`.
Bazel Release System80865ff2016-11-30 13:18:54 +01008961
8962Important changes:
8963
Bazel Release Systemd3b23642016-12-22 13:30:47 +01008964 - Enable fallback URLs in Skylark http rules.
8965 - cc_proto_library generates C++ code from proto_library rules.
8966 - cc_library now supports the strip_prefix and strip_include_prefix
8967 attributes for control of include paths.
8968 - Skylark dicts internally don't rely on keys order anymore and
8969 accept any hashable values (i.e. structs with immutable values)
8970 as keys. Iteration order of dictionaries is no longer specified.
Damien Martin-Guillerez961e54f2016-12-22 13:33:36 +01008971
8972## Release 0.4.2 (2016-12-02)
8973
8974```
8975Baseline: 6331a94
8976
8977Cherry picks:
8978 + 7b835d9: Do not patch WORKSPACE in the release process
8979```
8980
8981Incompatible changes:
8982
8983 - Callback functions in Skylark no longer support the cfg
8984 parameter. This is a cleanup and only affects the signatures of
8985 callbacks, since the parameter hasn't been set since September
8986 2016.
8987
8988Important changes:
8989
8990 - Alias proto_library's produce a descriptor set that contains all
8991 srcs of its dependencies.
8992 - proto_library supports strict proto deps.
8993 - Top level @androidsdk support library targets have been replaced
8994 by @androidsdk//<group id>:<artifact id>-<version> for Android
8995 SDK Support and Google Play Services libraries.
8996
Bazel Release System15402a92016-11-30 10:12:30 +01008997## Release 0.4.1 (2016-11-21)
8998
8999```
9000Baseline: 9a796de
9001
9002Cherry picks:
9003 + 88bfe85: Description redacted. -- MOS_MIGRATED_REVID=139219934
9004 + b09ea94: Rollback of commit
9005 a3f5f576cd35798140ba3e81d03d919dd4ecb847.
9006```
9007
9008New features:
9009
9010 - android_library now has a "exported_plugins" attribute just like
9011 java_library
9012 - Use --strict_system_includes to apply hdrs_check=strict also to
9013 cc_library.includes, even if sandboxing is disabled.
9014 - Bazel on Windows: java_binary can now be the executable of
9015 Skylark rule actions (ctx.action's executable argument)
9016 - Packages are defined in BUILD.bazel as well as BUILD files.
9017
9018Important changes:
9019
9020 - getattr()'s 3-arg form no longer raises an error when the
9021 retrieved field is a built-in method.
9022 - --apk_signing_method default changed to v1. Android APKs are now
9023 signed with the new ApkSignerTool by default.
9024 - New rule: proto_lang_toolchain(), to support LANG_proto_library
9025 rules on multiple platforms.
9026 - Fix for Android clang++ std::stack segfault on 32bit x86. See
9027 https://code.google.com/p/android/issues/detail?id=220159
9028 - Default android_manifest_merger is now "android" which uses the
9029 official Android manifest merger.
9030 http://tools.android.com/tech-docs/new-build-system/user-guide/man
9031 ifest-merger
9032 - Do not propagate aspect to its own attributes when using '*'.
9033 - Comparing sets (`if set1 < set2:`) is not allowed anymore in
9034 Skylark because it didn't work correctly anyway.
9035 - When --experimental_extra_action_top_level_only, Bazel reports
9036 extra-actions for actions registered by Aspects injected by a
9037 top-level rule (approximately).
9038 - Blacklists for proto_lang_toolchain() no longer have to be
9039 proto_library's.
9040 - Extra actions now contain aspect-related information.
9041 - Fix slicing bug where "abc"[:-4:-1] would give wrong answer
9042
Bazel Release Systemd0761e62016-11-02 13:36:35 -04009043## Release 0.4.0 (2016-10-26)
9044
9045```
9046Baseline: 088bbc6
9047
9048Cherry picks:
9049 + b01160c: Stamp Windows release.
9050 + 2d6736e: Add --no-tty for gpg signing
9051 + 9b1dfb8: Remove .sig file before gpg signing
9052 + 81aede1: Reimplement whole archive on Windows
9053```
9054
9055Incompatible changes:
9056
9057 - Skylark: updating list/dicts while they are being looped over is not
9058 allowed. Use an explicit copy if needed ("for x in list(mylist):").
9059 - Bazel now uses the --cpu flag to look up Jvms; it falls back
9060 to "default" if it can't find a Jvm matching the CPU value.
9061 - --command_port=-1 to use AF_UNIX for client/server communications
9062 is not supported anymore.
9063 - Sandboxed actions can access the network by default, unless their
9064 target has a "block-network" tag.
9065
9066New features:
9067
9068 - Files now have an "extension" property in Skylark.
9069
9070Important changes:
9071
9072 - Added a new flag --sandbox_tmpfs_path, which asks the sandbox to
9073 mount an empty, writable directory at a specified path when
9074 running actions. (Supported on Linux only for now.)
9075 - Update protoc-3.0.0-mingw.exe to a working (statically linked)
9076 binary
9077 - apple_static_library rule to create multi-architecture static
9078 archive files from Objc/C++/Swift dependencies on apple platforms
9079 - JS: Add support for localization with closure managed rules.
9080 - Create a flag --android_dynamic_mode to turn off dynamic mode
9081 during the Android split transition.
9082 - Darwin sandboxing is default.
9083 - Remove flag --experimental_zip_tree_artifact from j2objc Java
9084 annotation processing support.
9085 - A few functions are added to BUILD files for consistency (hash,
9086 dir,
9087 hasattr, getattr) with .bzl files, although they are not very
9088 useful.
9089 - --watchfs is now a command option; the startup option of the same
9090 name is deprecated. I.e., use bazel build --watchfs, not
9091 blaze --watchfs
9092 build.
9093
Bazel Release System33579a42016-10-07 13:05:11 -04009094## Release 0.3.2 (2016-10-07)
9095
9096```
9097Baseline: 023a7bd
9098
9099Cherry picks:
9100 + bebbbe5: Fix dependency on libtool's helper script
9101 make_hashed_objlist.py.
9102 + 8a0d45f: Add the version information to the bazel.exe file
9103 + 2bc0939: Allow new_ rules to overwrited BUILD files in
9104 downloaded repos
9105 + c5545fd: Rollback of commit
9106 96d46280bc5a4803ba2242a4ad16939f85a3b212.
9107 + eb87208: Make cc_configure on Windows more robust
9108 + c30432c: Fix cc_configure on Windows
9109 + 95b16a8: sandbox: Replace the error-prone lazy cleanup of
9110 sandbox directories by a simple synchronous cleanup.
9111 + e898023: Fix #1849: Sandboxing on OS X should be turned off by
9112 default for 0.3.2.
9113 + ffdc05d: Add action_config and feature for linking on Windows
9114```
9115
9116Incompatible changes:
9117
9118 - If you maintain a rule that uses persistent workers, you'll have
9119 to specify execution_requirements={"supports-workers": 1} in the
9120 ctx.action that intends to run a tool with workers. The
9121 WorkerSpawnStrategy will alert you with a warning message if you
9122 forget to make this change and fallback to non-worker based
9123 execution.
9124 - It is now an error to include a precompiled library (.a, .lo, .so)
9125 in a cc_library which would generate a library with the same name
9126 (e.g., libfoo.so in cc_library foo) if that library also contains
9127 other linkable
9128 sources.
9129 - The main repository's execution root is under the main
9130 repository's workspace name, not the source directory's basename.
9131 This shouldn't
9132 have any effect on most builds, but it's possible it could break
9133 someone doing
9134 weird things with paths in actions.
9135 - Blaze doesn't support Unix domain sockets for communication
9136 between its client and server anymore. Therefore, the
9137 --command_port command line argument doesn't accept -1 as a valid
9138 value anymore.
9139 - Skylark: It is an error to shadow a global variable with a local
9140 variable after the global has already been accessed in the
9141 function.
9142 - bin_dir and genfiles_dir are now properties of ctx, not
9143 configuration. That is, to access the bin or genfiles directory
9144 from a
9145 Skylark rule, use ctx.bin_dir or ctx.genfiles_dir (not
9146 ctx.configuration.{bin,genfiles}_dir). At the moment, you can
9147 access
9148 {bin,genfiles}_dir from either, but the ctx.configuration version
9149 will
9150 stop working in a future release.
9151 - filegroup-based C++ toolchains are not supported anymore.
9152 --*_crosstool_top options must always point to a
9153 cc_toolchain_suite rule (or an alias of one).
9154 - repository_ctx.{download,download_and_extract,execute} API now use
9155 named parameters for optional parameters and no
9156 longer uses argument
9157 type to distinguished between arguments
9158 (executable attribute name
9159 must be specified when preceding optional
9160 arguments are missing).
9161
9162New features:
9163
9164 - print and fail are now available in BUILD files.
9165
9166Important changes:
9167
9168 - Added @bazel_tools//tools/build_defs/repo/git.bzl as a Skylark
9169 rule for Git repositories.
9170 - Added @bazel_tools//tools/build_defs/repo/maven_rules.bzl as a
9171 Skylark rule for Maven repositories.
9172 - Add global hash() function for strings (only)
9173 - Improve Android split transition handling.
9174 - Removes exports_manifest attribute from android_binary rule.
9175 - java_proto_library: control strict-deps through a rule-level and
9176 a package-level attribute.
9177 - Persistent workers are now used by default for Java compilation
9178 in Bazel, which should speed up your Java builds by ~4x. You can
9179 switch back to the old behavior via --strategy=Javac=standalone.
9180 Check out http://www.bazel.io/blog/2015/12/10/java-workers.html
9181 for more details.
9182 - objc_* rules can now depend on any target that returns an "objc"
9183 provider.
9184 - Adds support for NDK12 to `android_ndk_repository` rule in Bazel.
9185 - Test targets can disable the JUnit4 test security manager via a
9186 property.
9187 - Disable the Android split transition if --android_cpu and
9188 fat_apk_cpu are both empty.
9189 - New sandboxing implementation for Linux in which all actions run
9190 in a separate execroot that contains input files as symlinks back
9191 to the originals in the workspace. The running action now has
9192 read-write access to its execroot and /tmp only and can no longer
9193 write in arbitrary other places in the file system.
9194 - Add worker support to single jar.
9195 - Invoke source jar action as a worker.
9196 - Sandboxed builds allow network access for builds by default.
9197 Tests will still be run without networking, unless
9198 "requires-network" is specified as a tag.
9199 - Add path.realpath() method for Skylark repositories.
9200 - On Mac devices, detect locally installed versions of xcode to:
9201 1. Use a sensible default if xcode is required but
9202 --xcode_version is unspecified.
9203 2. Use sensible default iOS SDK version for the targeted version
9204 of xcode if ios_sdk_version is unspecified.
9205 - Emacs' [C-x `], a.k.a. next-error, works again in emacsen >= 25.1
9206 - swift_library can be used to build watchOS apps.
9207 - Exposes the is_device field on Apple platform objects and adds
9208 the apple_common.platform_type(name) method to retrieve a
9209 platform_type value that can be passed to methods like the Apple
9210 fragment's multi_arch_platform.
9211 - Move Skylark git_repository rules to git.bzl
9212 - Add support for aspects to attr.label() attributes
9213 - Global varaiables HOST_CFG and DATA_CFG are deprecated in favor
9214 of strings "host"
9215 and "data.
9216 Argument `cfg = "host"` or `cfg = "data"` is mandatory if
9217 `executable = True` is provided for a label.
9218 - The deprecation attribute of all rules now causes warnings
9219 to be printed when other targets depend on a target with that
9220 attribute set.
9221 - Change default of --[no]instrument_test_targets to false, change
9222 default --instrumentation_filter (which previously tried to
9223 exclude test targets by heuristic) to only exclude targets in
9224 javatests.
9225 - Remove deprecated absolute paths in blaze IDE artifacts
9226 - When using android_binary.manifest_merger="android" the merger
9227 produces a summary log next to the merged manifest artifact.
9228 - Allow different default mallocs per configuration.
9229
Bazel Release System70c772b2016-07-29 10:28:13 +02009230## Release 0.3.1 (2016-07-29)
9231
9232```
9233Baseline: 792a9d6
9234
9235Cherry picks:
9236 + 25e5995: Rollback of commit
9237 a2770334ea3f3111026eb3e1368586921468710c.
9238 + 2479405: Fix NPE with unset maven_jar sha1
9239 + 3cf2126: Rewrite the extra action info files if the data within
9240 them changes.
9241 + 5a9c6b4: JavaBuilder: Reintroduce the -extra_checks flag.
9242```
9243
9244Incompatible changes:
9245
9246 - Removed predefined Python variable "generic_cpu".
9247 - Skylark rules: if you set "outputs" or an attribute to a
9248 function, this function must now list its required attributes as
9249 parameters (instead of an attribute map).
9250 - The host_platform and target_platform entries are not written to
9251 the master log anymore.
9252 - Bazel requires Hazelcast 3.6 or higher now for remote execution
9253 support, because we upgraded our client library and the protocol
9254 it uses is incompatible with older versions.
9255
9256New features:
9257
9258 - LIPO context (--lipo_context) can now also be a cc_test (in
9259 addition to cc_binary)
9260
9261Important changes:
9262
9263 - If --android_crosstool_top is set, native code compiled for
9264 android will always use --android_compiler and not --compiler in
9265 choosing the crosstool toolchain, and will use --android_cpu if
9266 --fat_apk_cpu is not set.
9267 - Add --instrument_test_targets option.
9268 - apple_binary supports a new platform_type attribute, which, if
9269 set to "watchos", will build dependencies for Apple's watchOS2.
9270 - objc_binary now supports late-loaded dynamic frameworks.
9271 - Native Swift rules no longer pull in module maps unconditionally.
9272 Use --experimental_objc_enable_module_maps for that.
9273 - Merged manifests are guaranteed to have the application element
9274 as the last child of the manifest element as required by Android
9275 N.
9276 - The Android manifest merger is now available as an option for
9277 android_binary rules. The merger will honor tools annotations in
9278 AndroidManifest.xml and will perform placeholder substitutions
9279 using the values specified in android_binary.manifest_values. The
9280 merger may be selected by setting the manifest_merger attribute
9281 on android_binary.
9282 - The progress message would not clear packages that need to be
9283 loaded twice.
9284 - Remove warning for high value of --jobs.
9285 - Use the correct build configuration for shared native deps during
9286 Android split transitions.
9287 - When building ObjectiveC++, pass the flag -std=gnu++11.
9288 - use xcrun simctl instead of iossim to launch the app for "blaze
9289 run".
9290 - Glob arguments 'exclude' and 'exclude_directories' must be named
9291 - Bazel no longer regards an empty file as changed if its mtime has
9292 changed.
9293
Bazel Release Systemccadf8d2016-06-10 13:28:40 +02009294## Release 0.3.0 (2016-06-10)
9295
9296```
9297Baseline: a9301fa
9298
9299Cherry picks:
9300 + ff30a73: Turn --legacy_external_runfiles back on by default
9301 + aeee3b8: Fix delete[] warning on fsevents.cc
9302```
9303
9304Incompatible changes:
9305
9306 - The --cwarn command line option is not supported anymore. Use
9307 --copt instead.
9308
9309New features:
9310
9311 - On OSX, --watchfs now uses FsEvents to be notified of changes
9312 from the filesystem (previously, this flag had no effect on OS X).
9313 - add support for the '-=', '*=', '/=', and'%=' operators to
9314 skylark. Notably, we do not support '|=' because the semantics
9315 of skylark sets are sufficiently different from python sets.
9316
9317Important changes:
9318
9319 - Use singular form when appropriate in blaze's test result summary
9320 message.
9321 - Added supported for Android NDK revision 11
9322 - --objc_generate_debug_symbols is now deprecated.
9323 - swift_library now generates an Objective-C header for its @objc
9324 interfaces.
9325 - new_objc_provider can now set the USES_SWIFT flag.
9326 - objc_framework now supports dynamic frameworks.
9327 - Symlinks in zip files are now unzipped correctly by http_archive,
9328 download_and_extract, etc.
9329 - swift_library is now able to import framework rules such as
9330 objc_framework.
9331 - Adds "jre_deps" attribute to j2objc_library.
9332 - Release apple_binary rule, for creating multi-architecture
9333 ("fat") objc/cc binaries and libraries, targeting ios platforms.
9334 - Aspects documentation added.
9335 - The --ues_isystem_for_includes command line option is not
9336 supported anymore.
9337 - global function 'provider' is removed from .bzl files. Providers
9338 can only be accessed through fields in a 'target' object.
9339
Bazel Release System9fdd6012016-05-17 11:12:31 +02009340## Release 0.2.3 (2016-05-10)
9341
9342```
9343Baseline: 5a2dd7a
9344```
9345
9346Incompatible changes:
9347
9348 - All repositories are now directly under the x.runfiles directory
9349 in the runfiles tree (previously, external repositories were at
9350 x.runfiles/main-repo/external/other-repo. This simplifies
9351 handling remote repository runfiles considerably, but will break
9352 existing references to external repository runfiles.
9353 Furthermore, if a Bazel project does not provide a workspace name
9354 in the WORKSPACE file, Bazel will now default to using __main__
9355 as the workspace name (instead of "", as previously). The
9356 repository's runfiles will appear under x.runfiles/__main__/.
9357 - Bazel does not embed protocol buffer-related rules anymore.
9358 - It is now an error for a cc rule's includes attribute to point to
9359 the workspace root.
9360 - Bazel warns if a cc rule's includes attribute points out of
9361 third_party.
9362 - Removed cc_* attributes: abi / abi_deps. Use select() instead.
9363
9364New features:
9365
9366 - select({"//some:condition": None }) is now possible (this "unsets"
9367 the attribute).
9368
9369Important changes:
9370
9371 - java_import now allows its 'jars' attribute to be empty.
9372 - adds crunch_png attribute to android_binary
9373 - Replace --java_langtools, --javabuilder_top, --singlejar_top,
9374 --genclass_top, and --ijar_top with
9375 java_toolchain.{javac,javabuilder,singlejar,genclass,ijar}
9376 - External repository correctness fix: adding a new file/directory
9377 as a child of a new_local_repository is now noticed.
9378 - iOS apps are signed with get-task-allow=1 unless building with -c
9379 opt.
9380 - Generate debug symbols (-g) is enabled for all dbg builds of
9381 objc_ rules.
9382 - Bazel's workspace name is now io_bazel. If you are using Bazel's
9383 source as an external repository, then you may want to update the
9384 name you're referring to it as or you'll begin seeing warnings
9385 about name mismatches in your code.
9386 - Fixes integer overflow in J2ObjC sources to be Java-compatible.
9387 - A FlagPolicy specified via the --invocation_policy flag will now
9388 match the current command if any of its commands matches any of
9389 the commands the current command inherits from, as opposed to
9390 just the current command.
9391 - The key for the map to cc_toolchain_suite.toolchains is now a
9392 string of the form "cpu|compiler" (previously, it was just "cpu").
9393 - Fix interaction between LIPO builds and C++ header modules.
9394 - Ctrl-C will now interrupt a download, instead of waiting for it to
9395 finish.
9396 - Proxy settings can now be specified in http_proxy and https_proxy
9397 environment variables (not just HTTP_PROXY and HTTPS_PROXY).
9398 - Skylark targets can now read include directories from
9399 ObjcProvider.
9400 - Expose parameterized aspects to Skylark.
9401 - Support alwayslink cc_library dependencies in objc binaries.
9402 - Import cc_library dependencies in generated Xcode project.
9403
Bazel Release System1aedd1f12016-04-25 09:47:50 +02009404## Release 0.2.2b (2016-04-22)
Bazel Release System951cea22016-04-21 14:10:12 +02009405
9406```
9407Baseline: 759bbfe
Bazel Release System1aedd1f12016-04-25 09:47:50 +02009408
9409Cherry picks:
Bazel Release System951cea22016-04-21 14:10:12 +02009410 + 1250fda: Rollback of commit
9411 351475627b9e94e5afdf472cbf465f49c433a25e.
9412 + ba8700e: Correctly set up build variables for the correct pic
9413 mode for fake_binary rules.
9414 + 386f242: Automated [] rollback of commit
9415 525fa71b0d6f096e9bfb180f688a4418c4974eb4.
Bazel Release System1aedd1f12016-04-25 09:47:50 +02009416 + 97e5ab0: Fix cc_configure include path for Frameworks on OS X.
9417 + a20352e: cc_configure: always add -B/usr/bin to the list of gcc
9418 option
9419 + 0b26f44: cc_configure: Add piii to the list of supported
9420 cpu_value
9421 + 3e4e416: cc_configure: uses which on the CC environment variable
9422 + aa3dbd3: cc_configure.bzl: strip end of line when looking for
9423 the cpu
9424 + 810d60a: cc_configure: Add -B to compiler flag too
Bazel Release System951cea22016-04-21 14:10:12 +02009425```
9426
Bazel Release System1aedd1f12016-04-25 09:47:50 +02009427Patch release, only includes fixes to C++ auto-configuration.
Bazel Release System951cea22016-04-21 14:10:12 +02009428
Bazel Release System950c1ab2016-03-31 17:18:55 +02009429## Release 0.2.1 (2016-03-21)
9430
9431```
9432Baseline: 19b5675
9433```
9434
9435Incompatible changes:
9436
9437 - Skylark rules that are available from their own repository will
9438 now issue a warning when accessed through @bazel_tools.
9439 - Set --legacy_bazel_java_test to off by default. java_test will
9440 now have a slightly different behaviour, correctly emitting XML
9441 file but, as a downside, it needs correct declaration of the
9442 test suite (see https://github.com/bazelbuild/bazel/issues/1017).
9443 - Labels in .bzl files in remote repositories will be resolved
9444 relative to their repository (instead of the repository the
9445 Skylark rule is used in).
9446 - Renamed proto_java_library to java_proto_library. The former
9447 is now deprecated and will print out a warning when used.
9448 - android_sdk now compiles android_jack on the fly from
9449 android_jar, which means android_jar must be a jar and
9450 android_jack is now deprecated. The Jack tools (jack, jill,
9451 resource_extractor) must be specified.
9452 - Any project that depended on the objc_options rule will be
9453 broken. Can be fixed by adding attrs (infoplists,copts) directly
9454 to rules depending on the options.
9455 - .aidl files correctly require import statements for types
9456 defined in the same package and the same android_library.
9457
9458New features:
9459
9460 - Experimental Windows support is available.
9461 - Experimental support for writing remote repository rules in
9462 Skylark is available.
9463 - iOS ipa_post_processor attribute allows for user-defined IPA
9464 edits.
9465 - Adds a to_json method to Skylark structs, providing conversion to
9466 JSON format.
9467 - Native python rule can depend on skylark rule as long as skylark
9468 rule provides 'py' provider.
9469 - When using both --verbose_failures and --sandbox_debug, Bazel
9470 prints instructions how to spawn a debugging shell inside the
9471 sandbox.
9472 - add flag --sandbox_add_path, which takes a list of additional
9473 paths as argument and mount these paths to sandbox.
9474
9475Important changes:
9476
9477 - @androidsdk//:org_apache_http_legacy added for the legacy Apache
9478 classes for android sdk version 23 and above.
9479 - Genrules correctly work when used with bazel run.
9480 - When namespace-sandbox is run with the -D (debug) flag and
9481 inside a terminal, it spawns a shell inside the sandbox to aid in
9482 debugging when the sandboxed command fails.
9483 - Added --artifact to workspace generator for generating workspace
9484 and build file rules from artifact coodrinates.
9485 - Specifying --experimental_android_resource_shrinking on the
9486 command line will enable a resource shrinking pass on
9487 android_binary targets that already use Proguard.
9488 - J2ObjC updated to 1.0.1 release.
9489 - Added "root_symlinks" and "symlinks" parameters to Skylark
9490 runfiles() method.
9491 - You can no longer use objc_binary targets for the xctest_app
9492 attribute of an ios_test rule.
9493 - Enable overriding jsonnet binaries and stdlib for Jsonnet rules.
9494 - mount target of /etc/resolv.conf if it is a symlink.
9495 - Tests that failed to build because execution was halted no longer
9496 print their status.
9497 - Bazel warns if a cc rule's includes attribute contains up-level
9498 references that escape its package.
9499 - Add repository_ctx.download and repository_ctx.download_and_extract
9500 function.
9501
Bazel Release Systemf98290d2016-02-23 13:51:16 +01009502## Release 0.2.0 (2016-02-18)
9503
9504```
9505Baseline: 9e100ac
9506```
9507
9508Incompatible changes:
9509
9510 - ObjC compile actions for J2ObjC-translated code now only has
9511 access to headers from the java deps of the associated original
9512 java rule.
9513 These compile actions no longer takes the compiler options
9514 specified in "copts" attribute on objc_binary/ios_test rules.
9515 J2ObjC dead code removal (enabled through flag
9516 "--j2objc_dead_code_removal") now happens *after* ObjC
9517 compilation.
9518 - maven_jar no longer supports separate artifact_id, group_id, and
9519 verison fields. This information should be provided in the
9520 artifact field,
9521 instead.
9522
9523New features:
9524
9525 - Better support for toolchains that don't have a dynamic linker.
9526 - build_file_content attribute added to new_git_repository,
9527 new_http_archive, and new_local_repository.
9528 - Add support for .tar.bz2 archives to http_archive rules.
9529
9530Important changes:
9531
9532 - The --skyframe flag is no longer available for the build command.
9533 - The --artifacts flag was removed from the dump command.
9534 - The sha256 attribute is now optional (although recommended!) for
9535 remote repository rules.
9536 - Add instrumented file provider support to Skylark rules.
9537 - Add imports attribute to native Python rules.
9538 - Allow overriding -gsplit-dwarf from copts.
9539 - Improved sandbox performance on XFS filesystems.
9540
Bazel Release System00cf25d2016-02-09 18:36:51 +01009541## Release 0.1.5 (2016-02-05)
9542
9543```
9544Baseline: 3a95f35
9545 + 8378cd8: Rollback of commit
9546 a9b84575a32476a5faf991da22b44661d75c19b6.
9547```
9548
9549Incompatible changes:
9550
9551 - Set stamping to false by default (i.e., --nostamp)
9552 - Removed --objc_dump_syms_binary.
9553 - Removes --objc_gcov_binary flag.
9554 - Remove JAVAC "Make" variable
9555 - The startup flag --blaze_cpu is removed,
9556
9557New features:
9558
9559 - A new java test runner that support XML output and test filtering
9560 is supported. It can be used by specifying --nolegacy_bazel_java_test
9561 or by specifying the test_class attribute on a java_test.
9562 - Skylark aspects can now specify configuration fragment
9563 dependencies with fragments and host_fragments like rules can.
9564
9565Important changes:
9566
9567 - Support for downloading remote resources through proxies by
9568 setting HTTP_PROXY (or HTTPS_PROXY).
9569 - Timestamps within Android apks are removed to make apks
9570 deterministic.
9571 - Support aggregation over existing rules in Skylark extensions
9572 through native.rules and native.rule.
9573 - A tools/bazel script in the workspace will be executed
9574 as an opportunity to use a fixed version of Bazel (not
9575 implemented for the homebrew recipe yet).
9576 - --noimplicit_deps and --nohost_deps work correctly for Aspect
9577 attributes.
9578 - JDK-related targets are now available via @local_jdk (instead of
9579 @local-jdk).
9580 - j2objc tools can now be accessed via @bazel_j2objc, not
9581 @bazel-j2objc.
9582 - Repository rules must use names that are valid workspace names.
9583 - [rust] Update to Rust 1.6
9584 - Add support for .tar.xz archives to http_archive rules.
9585 - Make C++ modules compatible with tools using
9586 --compilation_prerequisites_only
9587 - [d] Update to DMD 2.070.0
9588
Bazel Release System446d9922016-01-21 10:59:31 +01009589## Release 0.1.4 (2016-01-15)
9590
9591```
9592Baseline: e933d5e
9593 + 3d796fe: Rollback of commit
9594 ac6ed79e1a3fa6b0ca91657b28e2a35f7e49758c.
9595 + 7a02e5d: Fix installer under OS X
9596 + 848740c: Fix bazel version for debian package
9597 + 7751d43: Add a method for getting the root of a rule workspace
9598 to the Label method
9599```
9600
9601Important changes:
9602
9603 - add loadfiles() query operator, to find skylark files loaded by
9604 targets.
9605 - Added ability to declare and use aspects in Skylark.
9606 - Skylark load statements may now reference .bzl files via build
9607 labels, in addition to paths. In particular, such labels can be
9608 used to reference Skylark files in external repositories; e.g.,
9609 load("@my_external_repo//some_pkg:some_file.bzl", ...).
9610 Path-based loads are now deprecated and may be disabled in the
9611 future. Caveats: Skylark files currently do not respect package
9612 visibility; i.e., all Skylark files are effectively public. Also,
9613 loads may not reference the special //external package.
9614 - Relative paths can now be used for 'path' with
9615 new_local_repository and local_repository.
9616
Bazel Release System1518253e2016-01-11 10:10:19 +01009617## Release 0.1.3 (2016-01-07)
9618
9619```
9620Baseline: 23ad8f6
9621 + de2183d: Only depend on the WORKSPACE file for external files
9622 that are under the external/ directory, i.e. were
9623 created by Bazel.
9624 + f8f855c: Rollback of commit
9625 12bad3af0eade9c4b79d76f9e1c950ad2e3214c2.
9626 + f627562: Stop parsing the WORKSPACE file when a parse error is
9627 detected
9628 + 763f139: Add -fno-canonical-system-headers to CROSSTOOL files so
9629 that gcc doesn't resolve symlinks in .d files, which
9630 would confuse Blaze.
9631 + b95995b: Use openjdk7 as dependency for debian package of jdk7
9632 flavor
9633```
9634
9635New features:
9636
9637 - Skylark macros are now enabled in WORKSPACE file.
9638 - .bazelrc allows workspace-relative imports as "import
9639 %workspace%/path/to/rcfile"
9640 - Evaluate the query expression in a file by passing
9641 --query_file=<file> to query
9642
9643Important changes:
9644
9645 - Remove obsolete --objc_per_proto_includes flag.
9646 - iOS apps and extensions now have launch_storyboard
9647 - Passing multiple JVM options via a single --host_jvm_args flag is
9648 now deprecated. Pass each JVM option behind its own
9649 --host_jvm_args flag.
9650 - Resources defined locally on an android_library rule will respect
9651 the neverlink attribute.
9652 - Update Rust to 1.4
9653 - Fix resource handling for exported android_library rules
9654 - Files in external repositories are now treated as mutable, which
9655 will make the correctness guarantees of using external
9656 repositories stronger (existent), but may cause performance
9657 penalties.
9658
Bazel Release System0d2e4092015-12-04 23:31:41 +01009659## Release 0.1.2 (2015-11-20)
9660
9661```
9662Baseline: ee0ade3
9663 + 1e66ccd: RELNOTES: Symlink dirents of directories containing a
9664 file named
9665 "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA
9666 _A_RECURSIVE_TARGET_PATTERN" will *not* be traversed
9667 for transitive target patterns. The motivation here is
9668 to allow directories that intentionally contain wonky
9669 symlinks (e.g. foo/bar -> foo) to opt out of being
9670 consumed by Blaze. For example, given
9671 + f5773fc: Set the ijar MAX_BUFFER_SIZE to 256 MB
9672```
9673
9674New features:
9675
9676 - java_library now supports the proguard_specs attribute for
9677 passing Proguard configuration up to Android (not Java) binaries.
9678 - http_file can specify "executable" to make the downloaded file
9679 runnable.
9680 - Debian and tar packaging is now supported
9681 (see tools/build_defs/pkg/README.md).
9682 - cpxx_builtin_include_directory specifications allow more
9683 flexibility.
9684 - accept %crosstool_top% in cxx_builtin_include_directory
9685 - android_binary now supports proguard_apply_mapping to re-use a
9686 previously generated proguard mapping.
9687
9688Important changes:
9689
9690 - remove webstatusserver (--use_webstatusserver).
9691 - Add support for objc textual headers, which will not be compiled
9692 when modules are enabled.
9693 - actoolzip, momczip and swiftstdlibtoolzip have all been made into
9694 bash scripts and have been renamed to actoolwrapper, momcwrapper
9695 and swiftstdlibtoolwrapper respectively. The old versions will be
9696 deleted in a later change.
9697 - [rust] Add rust_bench_test and rust_doc_test rules and improve
9698 usability of rust_test tule.
9699 - Java rules now support a resource_strip_prefix attribute that
9700 allows the removal of path prefixes from Java resources.
9701 - [docker_build] incremental loading is default now.
9702 Specify explicitly //package:target.tar (with the .tar extension)
9703 to obtain the full image.
9704 - --ios_signing_cert_name allows specifying a cert for iOS app
9705 signing
9706 - Go rules for Bazel.
9707 - [jsonnet] Update to Jsonnet 0.8.1.
9708 - [jsonnet] Add vars and code_vars attributes to jsonnet_to_json to
9709 allow passing external variables to Jsonnet via --var and
9710 --code_var.
9711 - Adds --override_workspace_root blaze flag to hand-set
9712 workspace_root and mainGroup in xcodeproj.
9713 - Allow dots in package names.
9714 - When used as a forwarding rule (i.e., has no sources),
9715 android_library
9716 will also forward any exported_plugins in its dependencies.
9717 - Add support for Windows-created zip files with non-posix
9718 permissions.
9719 - [jsonnet] Add jsonnet_to_json_test rule for testing Jsonnet code.
9720 - C++ compile actions run in a sandbox now on systems that support
9721 sandboxed execution.
9722 - The names of the clang compilers in the Android NDK crosstool no
9723 longer reference gcc.
9724 - 420 dpi is now a valid density for andoid_binary.densities.
9725 - Bazel does strict validation of include files now to ensure
9726 correct incremental builds. If you see compilation errors when
9727 building C++ code, please make sure that you explicitly declare
9728 all header files in the srcs or hdrs attribute of your cc_*
9729 targets and that your cc_* targets have correct "deps" on
9730 cc_library's that they use.
9731 - [jsonnet] Fix jsonnet_to_json rule to read code_vars from
9732 code_vars instead of vars.
9733 - Tests, genrules, and Skylark actions without the
9734 "requires-network" tag will no longer be able to access the
9735 network.
9736 - C++ libraries no longer need includes = ["."] (or similar copts)
9737 to include paths relative to a remote repository's root.
9738 - Support exports attribute for android_library
9739 - Symlink dirents of directories containing a file named
9740 "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA_A_RECURSI
9741 VE_TARGET_PATTERN" will *not* be traversed for transitive target
9742 patterns. The motivation here is to allow directories that
9743 intentionally contain wonky symlinks (e.g. foo/bar -> foo) to opt
9744 out of being consumed by Blaze.
9745
Bazel Release Systemfa35b182015-10-14 12:11:51 -04009746## Release 0.1.1 (2015-10-05)
9747
9748```
9749Baseline: 22616ae
9750 + 1ef338f: Rollback of "Propagates cc_library linkopts attribute
9751 to dependent objc_libraries.": breaks certain
9752 objc_binary build targets.
9753 + 5fb1073: Reintroduce an inconsistency check (albeit, in a weaker
9754 form) removed by a previous change that was trying to
9755 optimize away a filesystem call.
9756 + 6d00468b2eb976866cfb814d562e0d53a580a46f: Add IdlClass to the embedded default android tools
9757 repository and rearrange BuildJar's JarHelper so that
9758 it too can be embedded.
9759 + a5199039934a2e399a7201adc0d74e2f2d2b0ff3: Fixes Android integration tests by wiring up idlclass
9760 rules in integration environment.
9761```
9762
9763Incompatible changes:
9764
9765 - Bazel requires JDK 8 to run.
9766 - Attribute "copts" is removed from j2objc_library.
9767
9768New features:
9769
9770 - a cc_binary rule may list '.s' and '.asm' files in the srcs
9771 - Support for build with libsass.
9772 - labels in "linkopts" may match any label in either "deps" or
9773 "srcs" to be considered valid.
9774 - Maven servers that require username & password authentication are
9775 now supported (see maven_server documentation).
9776
9777Important changes:
9778
9779 - Support empty plist files
9780 - The <compatible-screens> section of the AndroidManifest.xml will
9781 not be overwritten if it already contains a <screen> tag for each
9782 of the densities specified on the android_binary rule.
9783 - Add Jsonnet rules to Bazel
9784 - Remove deprecated xcode_options flag.
9785 - Workspace names are now restricted to being in their base
9786 directory
9787 (that is, the names cannot contain up-level references or /./).
9788 - j2objc_library on Bazel now transpiles transitive proto_library
9789 dependencies. (Note that java_* rules in Bazel do not yet support
9790 protos; currently they ignore proto dependencies.)
9791 - new_http_archive can specify a root directory.
9792 - Adds support for dylibs on devices for Xcode 7.
9793 - [d] d_docs rules now depend on a d_binary, a d_library or
9794 d_source_library.
9795 - [docker] docker_build now set the permission to 0555 to files
9796 added to the layer, use `mode = "0644"` to use the legacy behavior.
9797 - android_binary now has a main_dex_proguard_specs attribute to
9798 specify which classes should be in the main dex.
9799 - [rust] Add rust_docs rule for generating rustdoc.
Bazel Release System79e40ac2015-09-08 23:38:00 +02009800## Release 0.1.0 (2015-09-08)
9801
9802```
9803Baseline: a0881e8
9804 + 87374e6: Make android_binary use a constant, hard-coded,
9805 checked-in debug key.
9806 + 2984f1c: Adds some safety checks in the Bazel installer
9807 + 4e21d90: Remove BUILD.glob and incorporate the necessary
9808 filegroups into the android_{ndk,sdk}_repository rules
9809 themselves.
9810 + 1ee813e: Fix Groovy rules to work with sandboxing
9811 + 8741978: Add initial D rules to Bazel.
9812 + 2c2e70d: Fix the installer and fixing the package shiped into
9813 binary version of Bazel.
9814```
9815
9816Initial release.
Bazel Release System6712cac2017-02-01 19:53:37 +01009817
Bazel Release System8d635fc2017-03-16 13:18:30 +01009818
Bazel Release Systema3e26832017-05-26 14:11:07 +02009819
Bazel Release System63222de2017-06-06 11:32:04 +02009820
Bazel Release System7b851222017-06-27 15:08:47 +02009821
Bazel Release System195a7a82017-07-27 20:27:32 +02009822
Bazel Release System5371d132017-08-25 11:24:06 +02009823
Bazel Release System471c0e12017-09-28 16:36:12 +02009824
Bazel Release Systemed0ebc02017-10-05 23:52:25 +02009825
Bazel Release System76b6d0a2017-10-18 14:34:11 +02009826
Bazel Release System0838aee2017-11-27 14:16:34 +01009827
Bazel Release System3d53cb02017-12-05 15:28:40 +01009828
Bazel Release System5bd27482018-02-01 09:43:33 +01009829
Bazel Release Systeme1148362018-02-15 10:02:05 +01009830
Bazel Release System09077a32018-02-23 11:09:18 -05009831
Bazel Release Systemc86d6a02018-03-06 19:32:18 +01009832
Bazel Release System546976c2018-04-11 17:34:19 +02009833
Bazel Release System1d9c6062018-04-30 10:45:38 +02009834
Bazel Release System24c68ff2018-05-23 10:59:57 +02009835
Bazel Release System3a592f62018-06-01 15:04:31 +02009836
Bazel Release System513bbf52018-06-08 14:15:20 +02009837
Bazel Release System5013a332018-06-26 14:07:47 +02009838
Bazel Release System1281a022018-07-16 16:13:53 +02009839
Bazel Release System1bd58832018-08-13 15:41:26 +02009840
Bazel Release Systemfdb09a22018-09-14 12:15:54 +02009841
Bazel Release System50921e62018-09-21 12:27:04 +02009842
Bazel Release System36177972018-10-15 10:29:10 +02009843
Bazel Release System92849b82018-10-31 15:41:11 +01009844
Bazel Release System684f1092018-11-12 10:26:58 -05009845
Bazel Release Systemcb3e2982018-11-19 11:19:38 -05009846
Bazel Release System85378562018-11-30 15:34:16 +01009847