blob: 4f54086f14bd90ac010239ea1525ab273d231c04 [file] [log] [blame] [view]
Bazel Release System15402a92016-11-30 10:12:30 +01001## Release 0.4.1 (2016-11-21)
2
3```
4Baseline: 9a796de
5
6Cherry picks:
7 + 88bfe85: Description redacted. -- MOS_MIGRATED_REVID=139219934
8 + b09ea94: Rollback of commit
9 a3f5f576cd35798140ba3e81d03d919dd4ecb847.
10```
11
12New features:
13
14 - android_library now has a "exported_plugins" attribute just like
15 java_library
16 - Use --strict_system_includes to apply hdrs_check=strict also to
17 cc_library.includes, even if sandboxing is disabled.
18 - Bazel on Windows: java_binary can now be the executable of
19 Skylark rule actions (ctx.action's executable argument)
20 - Packages are defined in BUILD.bazel as well as BUILD files.
21
22Important changes:
23
24 - getattr()'s 3-arg form no longer raises an error when the
25 retrieved field is a built-in method.
26 - --apk_signing_method default changed to v1. Android APKs are now
27 signed with the new ApkSignerTool by default.
28 - New rule: proto_lang_toolchain(), to support LANG_proto_library
29 rules on multiple platforms.
30 - Fix for Android clang++ std::stack segfault on 32bit x86. See
31 https://code.google.com/p/android/issues/detail?id=220159
32 - Default android_manifest_merger is now "android" which uses the
33 official Android manifest merger.
34 http://tools.android.com/tech-docs/new-build-system/user-guide/man
35 ifest-merger
36 - Do not propagate aspect to its own attributes when using '*'.
37 - Comparing sets (`if set1 < set2:`) is not allowed anymore in
38 Skylark because it didn't work correctly anyway.
39 - When --experimental_extra_action_top_level_only, Bazel reports
40 extra-actions for actions registered by Aspects injected by a
41 top-level rule (approximately).
42 - Blacklists for proto_lang_toolchain() no longer have to be
43 proto_library's.
44 - Extra actions now contain aspect-related information.
45 - Fix slicing bug where "abc"[:-4:-1] would give wrong answer
46
Bazel Release Systemd0761e62016-11-02 13:36:35 -040047## Release 0.4.0 (2016-10-26)
48
49```
50Baseline: 088bbc6
51
52Cherry picks:
53 + b01160c: Stamp Windows release.
54 + 2d6736e: Add --no-tty for gpg signing
55 + 9b1dfb8: Remove .sig file before gpg signing
56 + 81aede1: Reimplement whole archive on Windows
57```
58
59Incompatible changes:
60
61 - Skylark: updating list/dicts while they are being looped over is not
62 allowed. Use an explicit copy if needed ("for x in list(mylist):").
63 - Bazel now uses the --cpu flag to look up Jvms; it falls back
64 to "default" if it can't find a Jvm matching the CPU value.
65 - --command_port=-1 to use AF_UNIX for client/server communications
66 is not supported anymore.
67 - Sandboxed actions can access the network by default, unless their
68 target has a "block-network" tag.
69
70New features:
71
72 - Files now have an "extension" property in Skylark.
73
74Important changes:
75
76 - Added a new flag --sandbox_tmpfs_path, which asks the sandbox to
77 mount an empty, writable directory at a specified path when
78 running actions. (Supported on Linux only for now.)
79 - Update protoc-3.0.0-mingw.exe to a working (statically linked)
80 binary
81 - apple_static_library rule to create multi-architecture static
82 archive files from Objc/C++/Swift dependencies on apple platforms
83 - JS: Add support for localization with closure managed rules.
84 - Create a flag --android_dynamic_mode to turn off dynamic mode
85 during the Android split transition.
86 - Darwin sandboxing is default.
87 - Remove flag --experimental_zip_tree_artifact from j2objc Java
88 annotation processing support.
89 - A few functions are added to BUILD files for consistency (hash,
90 dir,
91 hasattr, getattr) with .bzl files, although they are not very
92 useful.
93 - --watchfs is now a command option; the startup option of the same
94 name is deprecated. I.e., use bazel build --watchfs, not
95 blaze --watchfs
96 build.
97
Bazel Release System33579a42016-10-07 13:05:11 -040098## Release 0.3.2 (2016-10-07)
99
100```
101Baseline: 023a7bd
102
103Cherry picks:
104 + bebbbe5: Fix dependency on libtool's helper script
105 make_hashed_objlist.py.
106 + 8a0d45f: Add the version information to the bazel.exe file
107 + 2bc0939: Allow new_ rules to overwrited BUILD files in
108 downloaded repos
109 + c5545fd: Rollback of commit
110 96d46280bc5a4803ba2242a4ad16939f85a3b212.
111 + eb87208: Make cc_configure on Windows more robust
112 + c30432c: Fix cc_configure on Windows
113 + 95b16a8: sandbox: Replace the error-prone lazy cleanup of
114 sandbox directories by a simple synchronous cleanup.
115 + e898023: Fix #1849: Sandboxing on OS X should be turned off by
116 default for 0.3.2.
117 + ffdc05d: Add action_config and feature for linking on Windows
118```
119
120Incompatible changes:
121
122 - If you maintain a rule that uses persistent workers, you'll have
123 to specify execution_requirements={"supports-workers": 1} in the
124 ctx.action that intends to run a tool with workers. The
125 WorkerSpawnStrategy will alert you with a warning message if you
126 forget to make this change and fallback to non-worker based
127 execution.
128 - It is now an error to include a precompiled library (.a, .lo, .so)
129 in a cc_library which would generate a library with the same name
130 (e.g., libfoo.so in cc_library foo) if that library also contains
131 other linkable
132 sources.
133 - The main repository's execution root is under the main
134 repository's workspace name, not the source directory's basename.
135 This shouldn't
136 have any effect on most builds, but it's possible it could break
137 someone doing
138 weird things with paths in actions.
139 - Blaze doesn't support Unix domain sockets for communication
140 between its client and server anymore. Therefore, the
141 --command_port command line argument doesn't accept -1 as a valid
142 value anymore.
143 - Skylark: It is an error to shadow a global variable with a local
144 variable after the global has already been accessed in the
145 function.
146 - bin_dir and genfiles_dir are now properties of ctx, not
147 configuration. That is, to access the bin or genfiles directory
148 from a
149 Skylark rule, use ctx.bin_dir or ctx.genfiles_dir (not
150 ctx.configuration.{bin,genfiles}_dir). At the moment, you can
151 access
152 {bin,genfiles}_dir from either, but the ctx.configuration version
153 will
154 stop working in a future release.
155 - filegroup-based C++ toolchains are not supported anymore.
156 --*_crosstool_top options must always point to a
157 cc_toolchain_suite rule (or an alias of one).
158 - repository_ctx.{download,download_and_extract,execute} API now use
159 named parameters for optional parameters and no
160 longer uses argument
161 type to distinguished between arguments
162 (executable attribute name
163 must be specified when preceding optional
164 arguments are missing).
165
166New features:
167
168 - print and fail are now available in BUILD files.
169
170Important changes:
171
172 - Added @bazel_tools//tools/build_defs/repo/git.bzl as a Skylark
173 rule for Git repositories.
174 - Added @bazel_tools//tools/build_defs/repo/maven_rules.bzl as a
175 Skylark rule for Maven repositories.
176 - Add global hash() function for strings (only)
177 - Improve Android split transition handling.
178 - Removes exports_manifest attribute from android_binary rule.
179 - java_proto_library: control strict-deps through a rule-level and
180 a package-level attribute.
181 - Persistent workers are now used by default for Java compilation
182 in Bazel, which should speed up your Java builds by ~4x. You can
183 switch back to the old behavior via --strategy=Javac=standalone.
184 Check out http://www.bazel.io/blog/2015/12/10/java-workers.html
185 for more details.
186 - objc_* rules can now depend on any target that returns an "objc"
187 provider.
188 - Adds support for NDK12 to `android_ndk_repository` rule in Bazel.
189 - Test targets can disable the JUnit4 test security manager via a
190 property.
191 - Disable the Android split transition if --android_cpu and
192 fat_apk_cpu are both empty.
193 - New sandboxing implementation for Linux in which all actions run
194 in a separate execroot that contains input files as symlinks back
195 to the originals in the workspace. The running action now has
196 read-write access to its execroot and /tmp only and can no longer
197 write in arbitrary other places in the file system.
198 - Add worker support to single jar.
199 - Invoke source jar action as a worker.
200 - Sandboxed builds allow network access for builds by default.
201 Tests will still be run without networking, unless
202 "requires-network" is specified as a tag.
203 - Add path.realpath() method for Skylark repositories.
204 - On Mac devices, detect locally installed versions of xcode to:
205 1. Use a sensible default if xcode is required but
206 --xcode_version is unspecified.
207 2. Use sensible default iOS SDK version for the targeted version
208 of xcode if ios_sdk_version is unspecified.
209 - Emacs' [C-x `], a.k.a. next-error, works again in emacsen >= 25.1
210 - swift_library can be used to build watchOS apps.
211 - Exposes the is_device field on Apple platform objects and adds
212 the apple_common.platform_type(name) method to retrieve a
213 platform_type value that can be passed to methods like the Apple
214 fragment's multi_arch_platform.
215 - Move Skylark git_repository rules to git.bzl
216 - Add support for aspects to attr.label() attributes
217 - Global varaiables HOST_CFG and DATA_CFG are deprecated in favor
218 of strings "host"
219 and "data.
220 Argument `cfg = "host"` or `cfg = "data"` is mandatory if
221 `executable = True` is provided for a label.
222 - The deprecation attribute of all rules now causes warnings
223 to be printed when other targets depend on a target with that
224 attribute set.
225 - Change default of --[no]instrument_test_targets to false, change
226 default --instrumentation_filter (which previously tried to
227 exclude test targets by heuristic) to only exclude targets in
228 javatests.
229 - Remove deprecated absolute paths in blaze IDE artifacts
230 - When using android_binary.manifest_merger="android" the merger
231 produces a summary log next to the merged manifest artifact.
232 - Allow different default mallocs per configuration.
233
Bazel Release System70c772b2016-07-29 10:28:13 +0200234## Release 0.3.1 (2016-07-29)
235
236```
237Baseline: 792a9d6
238
239Cherry picks:
240 + 25e5995: Rollback of commit
241 a2770334ea3f3111026eb3e1368586921468710c.
242 + 2479405: Fix NPE with unset maven_jar sha1
243 + 3cf2126: Rewrite the extra action info files if the data within
244 them changes.
245 + 5a9c6b4: JavaBuilder: Reintroduce the -extra_checks flag.
246```
247
248Incompatible changes:
249
250 - Removed predefined Python variable "generic_cpu".
251 - Skylark rules: if you set "outputs" or an attribute to a
252 function, this function must now list its required attributes as
253 parameters (instead of an attribute map).
254 - The host_platform and target_platform entries are not written to
255 the master log anymore.
256 - Bazel requires Hazelcast 3.6 or higher now for remote execution
257 support, because we upgraded our client library and the protocol
258 it uses is incompatible with older versions.
259
260New features:
261
262 - LIPO context (--lipo_context) can now also be a cc_test (in
263 addition to cc_binary)
264
265Important changes:
266
267 - If --android_crosstool_top is set, native code compiled for
268 android will always use --android_compiler and not --compiler in
269 choosing the crosstool toolchain, and will use --android_cpu if
270 --fat_apk_cpu is not set.
271 - Add --instrument_test_targets option.
272 - apple_binary supports a new platform_type attribute, which, if
273 set to "watchos", will build dependencies for Apple's watchOS2.
274 - objc_binary now supports late-loaded dynamic frameworks.
275 - Native Swift rules no longer pull in module maps unconditionally.
276 Use --experimental_objc_enable_module_maps for that.
277 - Merged manifests are guaranteed to have the application element
278 as the last child of the manifest element as required by Android
279 N.
280 - The Android manifest merger is now available as an option for
281 android_binary rules. The merger will honor tools annotations in
282 AndroidManifest.xml and will perform placeholder substitutions
283 using the values specified in android_binary.manifest_values. The
284 merger may be selected by setting the manifest_merger attribute
285 on android_binary.
286 - The progress message would not clear packages that need to be
287 loaded twice.
288 - Remove warning for high value of --jobs.
289 - Use the correct build configuration for shared native deps during
290 Android split transitions.
291 - When building ObjectiveC++, pass the flag -std=gnu++11.
292 - use xcrun simctl instead of iossim to launch the app for "blaze
293 run".
294 - Glob arguments 'exclude' and 'exclude_directories' must be named
295 - Bazel no longer regards an empty file as changed if its mtime has
296 changed.
297
Bazel Release Systemccadf8d2016-06-10 13:28:40 +0200298## Release 0.3.0 (2016-06-10)
299
300```
301Baseline: a9301fa
302
303Cherry picks:
304 + ff30a73: Turn --legacy_external_runfiles back on by default
305 + aeee3b8: Fix delete[] warning on fsevents.cc
306```
307
308Incompatible changes:
309
310 - The --cwarn command line option is not supported anymore. Use
311 --copt instead.
312
313New features:
314
315 - On OSX, --watchfs now uses FsEvents to be notified of changes
316 from the filesystem (previously, this flag had no effect on OS X).
317 - add support for the '-=', '*=', '/=', and'%=' operators to
318 skylark. Notably, we do not support '|=' because the semantics
319 of skylark sets are sufficiently different from python sets.
320
321Important changes:
322
323 - Use singular form when appropriate in blaze's test result summary
324 message.
325 - Added supported for Android NDK revision 11
326 - --objc_generate_debug_symbols is now deprecated.
327 - swift_library now generates an Objective-C header for its @objc
328 interfaces.
329 - new_objc_provider can now set the USES_SWIFT flag.
330 - objc_framework now supports dynamic frameworks.
331 - Symlinks in zip files are now unzipped correctly by http_archive,
332 download_and_extract, etc.
333 - swift_library is now able to import framework rules such as
334 objc_framework.
335 - Adds "jre_deps" attribute to j2objc_library.
336 - Release apple_binary rule, for creating multi-architecture
337 ("fat") objc/cc binaries and libraries, targeting ios platforms.
338 - Aspects documentation added.
339 - The --ues_isystem_for_includes command line option is not
340 supported anymore.
341 - global function 'provider' is removed from .bzl files. Providers
342 can only be accessed through fields in a 'target' object.
343
Bazel Release System9fdd6012016-05-17 11:12:31 +0200344## Release 0.2.3 (2016-05-10)
345
346```
347Baseline: 5a2dd7a
348```
349
350Incompatible changes:
351
352 - All repositories are now directly under the x.runfiles directory
353 in the runfiles tree (previously, external repositories were at
354 x.runfiles/main-repo/external/other-repo. This simplifies
355 handling remote repository runfiles considerably, but will break
356 existing references to external repository runfiles.
357 Furthermore, if a Bazel project does not provide a workspace name
358 in the WORKSPACE file, Bazel will now default to using __main__
359 as the workspace name (instead of "", as previously). The
360 repository's runfiles will appear under x.runfiles/__main__/.
361 - Bazel does not embed protocol buffer-related rules anymore.
362 - It is now an error for a cc rule's includes attribute to point to
363 the workspace root.
364 - Bazel warns if a cc rule's includes attribute points out of
365 third_party.
366 - Removed cc_* attributes: abi / abi_deps. Use select() instead.
367
368New features:
369
370 - select({"//some:condition": None }) is now possible (this "unsets"
371 the attribute).
372
373Important changes:
374
375 - java_import now allows its 'jars' attribute to be empty.
376 - adds crunch_png attribute to android_binary
377 - Replace --java_langtools, --javabuilder_top, --singlejar_top,
378 --genclass_top, and --ijar_top with
379 java_toolchain.{javac,javabuilder,singlejar,genclass,ijar}
380 - External repository correctness fix: adding a new file/directory
381 as a child of a new_local_repository is now noticed.
382 - iOS apps are signed with get-task-allow=1 unless building with -c
383 opt.
384 - Generate debug symbols (-g) is enabled for all dbg builds of
385 objc_ rules.
386 - Bazel's workspace name is now io_bazel. If you are using Bazel's
387 source as an external repository, then you may want to update the
388 name you're referring to it as or you'll begin seeing warnings
389 about name mismatches in your code.
390 - Fixes integer overflow in J2ObjC sources to be Java-compatible.
391 - A FlagPolicy specified via the --invocation_policy flag will now
392 match the current command if any of its commands matches any of
393 the commands the current command inherits from, as opposed to
394 just the current command.
395 - The key for the map to cc_toolchain_suite.toolchains is now a
396 string of the form "cpu|compiler" (previously, it was just "cpu").
397 - Fix interaction between LIPO builds and C++ header modules.
398 - Ctrl-C will now interrupt a download, instead of waiting for it to
399 finish.
400 - Proxy settings can now be specified in http_proxy and https_proxy
401 environment variables (not just HTTP_PROXY and HTTPS_PROXY).
402 - Skylark targets can now read include directories from
403 ObjcProvider.
404 - Expose parameterized aspects to Skylark.
405 - Support alwayslink cc_library dependencies in objc binaries.
406 - Import cc_library dependencies in generated Xcode project.
407
Bazel Release System1aedd1f12016-04-25 09:47:50 +0200408## Release 0.2.2b (2016-04-22)
Bazel Release System951cea22016-04-21 14:10:12 +0200409
410```
411Baseline: 759bbfe
Bazel Release System1aedd1f12016-04-25 09:47:50 +0200412
413Cherry picks:
Bazel Release System951cea22016-04-21 14:10:12 +0200414 + 1250fda: Rollback of commit
415 351475627b9e94e5afdf472cbf465f49c433a25e.
416 + ba8700e: Correctly set up build variables for the correct pic
417 mode for fake_binary rules.
418 + 386f242: Automated [] rollback of commit
419 525fa71b0d6f096e9bfb180f688a4418c4974eb4.
Bazel Release System1aedd1f12016-04-25 09:47:50 +0200420 + 97e5ab0: Fix cc_configure include path for Frameworks on OS X.
421 + a20352e: cc_configure: always add -B/usr/bin to the list of gcc
422 option
423 + 0b26f44: cc_configure: Add piii to the list of supported
424 cpu_value
425 + 3e4e416: cc_configure: uses which on the CC environment variable
426 + aa3dbd3: cc_configure.bzl: strip end of line when looking for
427 the cpu
428 + 810d60a: cc_configure: Add -B to compiler flag too
Bazel Release System951cea22016-04-21 14:10:12 +0200429```
430
Bazel Release System1aedd1f12016-04-25 09:47:50 +0200431Patch release, only includes fixes to C++ auto-configuration.
Bazel Release System951cea22016-04-21 14:10:12 +0200432
Bazel Release System950c1ab2016-03-31 17:18:55 +0200433## Release 0.2.1 (2016-03-21)
434
435```
436Baseline: 19b5675
437```
438
439Incompatible changes:
440
441 - Skylark rules that are available from their own repository will
442 now issue a warning when accessed through @bazel_tools.
443 - Set --legacy_bazel_java_test to off by default. java_test will
444 now have a slightly different behaviour, correctly emitting XML
445 file but, as a downside, it needs correct declaration of the
446 test suite (see https://github.com/bazelbuild/bazel/issues/1017).
447 - Labels in .bzl files in remote repositories will be resolved
448 relative to their repository (instead of the repository the
449 Skylark rule is used in).
450 - Renamed proto_java_library to java_proto_library. The former
451 is now deprecated and will print out a warning when used.
452 - android_sdk now compiles android_jack on the fly from
453 android_jar, which means android_jar must be a jar and
454 android_jack is now deprecated. The Jack tools (jack, jill,
455 resource_extractor) must be specified.
456 - Any project that depended on the objc_options rule will be
457 broken. Can be fixed by adding attrs (infoplists,copts) directly
458 to rules depending on the options.
459 - .aidl files correctly require import statements for types
460 defined in the same package and the same android_library.
461
462New features:
463
464 - Experimental Windows support is available.
465 - Experimental support for writing remote repository rules in
466 Skylark is available.
467 - iOS ipa_post_processor attribute allows for user-defined IPA
468 edits.
469 - Adds a to_json method to Skylark structs, providing conversion to
470 JSON format.
471 - Native python rule can depend on skylark rule as long as skylark
472 rule provides 'py' provider.
473 - When using both --verbose_failures and --sandbox_debug, Bazel
474 prints instructions how to spawn a debugging shell inside the
475 sandbox.
476 - add flag --sandbox_add_path, which takes a list of additional
477 paths as argument and mount these paths to sandbox.
478
479Important changes:
480
481 - @androidsdk//:org_apache_http_legacy added for the legacy Apache
482 classes for android sdk version 23 and above.
483 - Genrules correctly work when used with bazel run.
484 - When namespace-sandbox is run with the -D (debug) flag and
485 inside a terminal, it spawns a shell inside the sandbox to aid in
486 debugging when the sandboxed command fails.
487 - Added --artifact to workspace generator for generating workspace
488 and build file rules from artifact coodrinates.
489 - Specifying --experimental_android_resource_shrinking on the
490 command line will enable a resource shrinking pass on
491 android_binary targets that already use Proguard.
492 - J2ObjC updated to 1.0.1 release.
493 - Added "root_symlinks" and "symlinks" parameters to Skylark
494 runfiles() method.
495 - You can no longer use objc_binary targets for the xctest_app
496 attribute of an ios_test rule.
497 - Enable overriding jsonnet binaries and stdlib for Jsonnet rules.
498 - mount target of /etc/resolv.conf if it is a symlink.
499 - Tests that failed to build because execution was halted no longer
500 print their status.
501 - Bazel warns if a cc rule's includes attribute contains up-level
502 references that escape its package.
503 - Add repository_ctx.download and repository_ctx.download_and_extract
504 function.
505
Bazel Release Systemf98290d2016-02-23 13:51:16 +0100506## Release 0.2.0 (2016-02-18)
507
508```
509Baseline: 9e100ac
510```
511
512Incompatible changes:
513
514 - ObjC compile actions for J2ObjC-translated code now only has
515 access to headers from the java deps of the associated original
516 java rule.
517 These compile actions no longer takes the compiler options
518 specified in "copts" attribute on objc_binary/ios_test rules.
519 J2ObjC dead code removal (enabled through flag
520 "--j2objc_dead_code_removal") now happens *after* ObjC
521 compilation.
522 - maven_jar no longer supports separate artifact_id, group_id, and
523 verison fields. This information should be provided in the
524 artifact field,
525 instead.
526
527New features:
528
529 - Better support for toolchains that don't have a dynamic linker.
530 - build_file_content attribute added to new_git_repository,
531 new_http_archive, and new_local_repository.
532 - Add support for .tar.bz2 archives to http_archive rules.
533
534Important changes:
535
536 - The --skyframe flag is no longer available for the build command.
537 - The --artifacts flag was removed from the dump command.
538 - The sha256 attribute is now optional (although recommended!) for
539 remote repository rules.
540 - Add instrumented file provider support to Skylark rules.
541 - Add imports attribute to native Python rules.
542 - Allow overriding -gsplit-dwarf from copts.
543 - Improved sandbox performance on XFS filesystems.
544
Bazel Release System00cf25d2016-02-09 18:36:51 +0100545## Release 0.1.5 (2016-02-05)
546
547```
548Baseline: 3a95f35
549 + 8378cd8: Rollback of commit
550 a9b84575a32476a5faf991da22b44661d75c19b6.
551```
552
553Incompatible changes:
554
555 - Set stamping to false by default (i.e., --nostamp)
556 - Removed --objc_dump_syms_binary.
557 - Removes --objc_gcov_binary flag.
558 - Remove JAVAC "Make" variable
559 - The startup flag --blaze_cpu is removed,
560
561New features:
562
563 - A new java test runner that support XML output and test filtering
564 is supported. It can be used by specifying --nolegacy_bazel_java_test
565 or by specifying the test_class attribute on a java_test.
566 - Skylark aspects can now specify configuration fragment
567 dependencies with fragments and host_fragments like rules can.
568
569Important changes:
570
571 - Support for downloading remote resources through proxies by
572 setting HTTP_PROXY (or HTTPS_PROXY).
573 - Timestamps within Android apks are removed to make apks
574 deterministic.
575 - Support aggregation over existing rules in Skylark extensions
576 through native.rules and native.rule.
577 - A tools/bazel script in the workspace will be executed
578 as an opportunity to use a fixed version of Bazel (not
579 implemented for the homebrew recipe yet).
580 - --noimplicit_deps and --nohost_deps work correctly for Aspect
581 attributes.
582 - JDK-related targets are now available via @local_jdk (instead of
583 @local-jdk).
584 - j2objc tools can now be accessed via @bazel_j2objc, not
585 @bazel-j2objc.
586 - Repository rules must use names that are valid workspace names.
587 - [rust] Update to Rust 1.6
588 - Add support for .tar.xz archives to http_archive rules.
589 - Make C++ modules compatible with tools using
590 --compilation_prerequisites_only
591 - [d] Update to DMD 2.070.0
592
Bazel Release System446d9922016-01-21 10:59:31 +0100593## Release 0.1.4 (2016-01-15)
594
595```
596Baseline: e933d5e
597 + 3d796fe: Rollback of commit
598 ac6ed79e1a3fa6b0ca91657b28e2a35f7e49758c.
599 + 7a02e5d: Fix installer under OS X
600 + 848740c: Fix bazel version for debian package
601 + 7751d43: Add a method for getting the root of a rule workspace
602 to the Label method
603```
604
605Important changes:
606
607 - add loadfiles() query operator, to find skylark files loaded by
608 targets.
609 - Added ability to declare and use aspects in Skylark.
610 - Skylark load statements may now reference .bzl files via build
611 labels, in addition to paths. In particular, such labels can be
612 used to reference Skylark files in external repositories; e.g.,
613 load("@my_external_repo//some_pkg:some_file.bzl", ...).
614 Path-based loads are now deprecated and may be disabled in the
615 future. Caveats: Skylark files currently do not respect package
616 visibility; i.e., all Skylark files are effectively public. Also,
617 loads may not reference the special //external package.
618 - Relative paths can now be used for 'path' with
619 new_local_repository and local_repository.
620
Bazel Release System1518253e2016-01-11 10:10:19 +0100621## Release 0.1.3 (2016-01-07)
622
623```
624Baseline: 23ad8f6
625 + de2183d: Only depend on the WORKSPACE file for external files
626 that are under the external/ directory, i.e. were
627 created by Bazel.
628 + f8f855c: Rollback of commit
629 12bad3af0eade9c4b79d76f9e1c950ad2e3214c2.
630 + f627562: Stop parsing the WORKSPACE file when a parse error is
631 detected
632 + 763f139: Add -fno-canonical-system-headers to CROSSTOOL files so
633 that gcc doesn't resolve symlinks in .d files, which
634 would confuse Blaze.
635 + b95995b: Use openjdk7 as dependency for debian package of jdk7
636 flavor
637```
638
639New features:
640
641 - Skylark macros are now enabled in WORKSPACE file.
642 - .bazelrc allows workspace-relative imports as "import
643 %workspace%/path/to/rcfile"
644 - Evaluate the query expression in a file by passing
645 --query_file=<file> to query
646
647Important changes:
648
649 - Remove obsolete --objc_per_proto_includes flag.
650 - iOS apps and extensions now have launch_storyboard
651 - Passing multiple JVM options via a single --host_jvm_args flag is
652 now deprecated. Pass each JVM option behind its own
653 --host_jvm_args flag.
654 - Resources defined locally on an android_library rule will respect
655 the neverlink attribute.
656 - Update Rust to 1.4
657 - Fix resource handling for exported android_library rules
658 - Files in external repositories are now treated as mutable, which
659 will make the correctness guarantees of using external
660 repositories stronger (existent), but may cause performance
661 penalties.
662
Bazel Release System0d2e4092015-12-04 23:31:41 +0100663## Release 0.1.2 (2015-11-20)
664
665```
666Baseline: ee0ade3
667 + 1e66ccd: RELNOTES: Symlink dirents of directories containing a
668 file named
669 "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA
670 _A_RECURSIVE_TARGET_PATTERN" will *not* be traversed
671 for transitive target patterns. The motivation here is
672 to allow directories that intentionally contain wonky
673 symlinks (e.g. foo/bar -> foo) to opt out of being
674 consumed by Blaze. For example, given
675 + f5773fc: Set the ijar MAX_BUFFER_SIZE to 256 MB
676```
677
678New features:
679
680 - java_library now supports the proguard_specs attribute for
681 passing Proguard configuration up to Android (not Java) binaries.
682 - http_file can specify "executable" to make the downloaded file
683 runnable.
684 - Debian and tar packaging is now supported
685 (see tools/build_defs/pkg/README.md).
686 - cpxx_builtin_include_directory specifications allow more
687 flexibility.
688 - accept %crosstool_top% in cxx_builtin_include_directory
689 - android_binary now supports proguard_apply_mapping to re-use a
690 previously generated proguard mapping.
691
692Important changes:
693
694 - remove webstatusserver (--use_webstatusserver).
695 - Add support for objc textual headers, which will not be compiled
696 when modules are enabled.
697 - actoolzip, momczip and swiftstdlibtoolzip have all been made into
698 bash scripts and have been renamed to actoolwrapper, momcwrapper
699 and swiftstdlibtoolwrapper respectively. The old versions will be
700 deleted in a later change.
701 - [rust] Add rust_bench_test and rust_doc_test rules and improve
702 usability of rust_test tule.
703 - Java rules now support a resource_strip_prefix attribute that
704 allows the removal of path prefixes from Java resources.
705 - [docker_build] incremental loading is default now.
706 Specify explicitly //package:target.tar (with the .tar extension)
707 to obtain the full image.
708 - --ios_signing_cert_name allows specifying a cert for iOS app
709 signing
710 - Go rules for Bazel.
711 - [jsonnet] Update to Jsonnet 0.8.1.
712 - [jsonnet] Add vars and code_vars attributes to jsonnet_to_json to
713 allow passing external variables to Jsonnet via --var and
714 --code_var.
715 - Adds --override_workspace_root blaze flag to hand-set
716 workspace_root and mainGroup in xcodeproj.
717 - Allow dots in package names.
718 - When used as a forwarding rule (i.e., has no sources),
719 android_library
720 will also forward any exported_plugins in its dependencies.
721 - Add support for Windows-created zip files with non-posix
722 permissions.
723 - [jsonnet] Add jsonnet_to_json_test rule for testing Jsonnet code.
724 - C++ compile actions run in a sandbox now on systems that support
725 sandboxed execution.
726 - The names of the clang compilers in the Android NDK crosstool no
727 longer reference gcc.
728 - 420 dpi is now a valid density for andoid_binary.densities.
729 - Bazel does strict validation of include files now to ensure
730 correct incremental builds. If you see compilation errors when
731 building C++ code, please make sure that you explicitly declare
732 all header files in the srcs or hdrs attribute of your cc_*
733 targets and that your cc_* targets have correct "deps" on
734 cc_library's that they use.
735 - [jsonnet] Fix jsonnet_to_json rule to read code_vars from
736 code_vars instead of vars.
737 - Tests, genrules, and Skylark actions without the
738 "requires-network" tag will no longer be able to access the
739 network.
740 - C++ libraries no longer need includes = ["."] (or similar copts)
741 to include paths relative to a remote repository's root.
742 - Support exports attribute for android_library
743 - Symlink dirents of directories containing a file named
744 "DONT_FOLLOW_SYMLINKS_WHEN_TRAVERSING_THIS_DIRECTORY_VIA_A_RECURSI
745 VE_TARGET_PATTERN" will *not* be traversed for transitive target
746 patterns. The motivation here is to allow directories that
747 intentionally contain wonky symlinks (e.g. foo/bar -> foo) to opt
748 out of being consumed by Blaze.
749
Bazel Release Systemfa35b182015-10-14 12:11:51 -0400750## Release 0.1.1 (2015-10-05)
751
752```
753Baseline: 22616ae
754 + 1ef338f: Rollback of "Propagates cc_library linkopts attribute
755 to dependent objc_libraries.": breaks certain
756 objc_binary build targets.
757 + 5fb1073: Reintroduce an inconsistency check (albeit, in a weaker
758 form) removed by a previous change that was trying to
759 optimize away a filesystem call.
760 + 6d00468b2eb976866cfb814d562e0d53a580a46f: Add IdlClass to the embedded default android tools
761 repository and rearrange BuildJar's JarHelper so that
762 it too can be embedded.
763 + a5199039934a2e399a7201adc0d74e2f2d2b0ff3: Fixes Android integration tests by wiring up idlclass
764 rules in integration environment.
765```
766
767Incompatible changes:
768
769 - Bazel requires JDK 8 to run.
770 - Attribute "copts" is removed from j2objc_library.
771
772New features:
773
774 - a cc_binary rule may list '.s' and '.asm' files in the srcs
775 - Support for build with libsass.
776 - labels in "linkopts" may match any label in either "deps" or
777 "srcs" to be considered valid.
778 - Maven servers that require username & password authentication are
779 now supported (see maven_server documentation).
780
781Important changes:
782
783 - Support empty plist files
784 - The <compatible-screens> section of the AndroidManifest.xml will
785 not be overwritten if it already contains a <screen> tag for each
786 of the densities specified on the android_binary rule.
787 - Add Jsonnet rules to Bazel
788 - Remove deprecated xcode_options flag.
789 - Workspace names are now restricted to being in their base
790 directory
791 (that is, the names cannot contain up-level references or /./).
792 - j2objc_library on Bazel now transpiles transitive proto_library
793 dependencies. (Note that java_* rules in Bazel do not yet support
794 protos; currently they ignore proto dependencies.)
795 - new_http_archive can specify a root directory.
796 - Adds support for dylibs on devices for Xcode 7.
797 - [d] d_docs rules now depend on a d_binary, a d_library or
798 d_source_library.
799 - [docker] docker_build now set the permission to 0555 to files
800 added to the layer, use `mode = "0644"` to use the legacy behavior.
801 - android_binary now has a main_dex_proguard_specs attribute to
802 specify which classes should be in the main dex.
803 - [rust] Add rust_docs rule for generating rustdoc.
Bazel Release System79e40ac2015-09-08 23:38:00 +0200804## Release 0.1.0 (2015-09-08)
805
806```
807Baseline: a0881e8
808 + 87374e6: Make android_binary use a constant, hard-coded,
809 checked-in debug key.
810 + 2984f1c: Adds some safety checks in the Bazel installer
811 + 4e21d90: Remove BUILD.glob and incorporate the necessary
812 filegroups into the android_{ndk,sdk}_repository rules
813 themselves.
814 + 1ee813e: Fix Groovy rules to work with sandboxing
815 + 8741978: Add initial D rules to Bazel.
816 + 2c2e70d: Fix the installer and fixing the package shiped into
817 binary version of Bazel.
818```
819
820Initial release.