- An experimental
autodeps
command was added. This currently only works with Java: https://buckbuild.com/command/autodeps.html - The message a user sees when an http cache error is encountered is now configurable: https://buckbuild.com/concept/buckconfig.html#cache.http_error_message_format
-
genrule
now supports thetests
argument: https://buckbuild.com/rule/genrule.html -
python_binary
andpython_test
now support thelinker_flags
argument which indicates any flags that should be applied to any links for the build rule. https://buckbuild.com/rule/python_binary.html, https://buckbuild.com/rule/python_test.html - A massive performance win (200x on HFS+ and 20x on ext4) when crawling the filesystem for build files (common during commands like
buck project
orbuck build //...
) when using watchman. This may not be enabled by default for your project, however. See https://buckbuild.com/concept/buckconfig.html#project.build_file_search_method for more details. - Thanks to @mikekap, test selectors now work for
python_test
when usingbuck test
. https://buckbuild.com/command/test.html - Thanks to @janicduplessis,
buck fetch
now properly works on Windows when downloading from a disk-based Maven repository. - Buck will now use
clang
's colors when using the SuperConsole. -
python_test
rules can now be run withbuck run
. - Thanks to @mikekap, the
library
argument was added togo_test
to automatically use the same values forsrcs
,package
, anddeps
from the specified library. https://buckbuild.com/rule/go_test.html - The disk cache of Buck is now structured differently and performs better as a result on some filesystems.
- The
licenses
argument was added to all build rules. Withbuck query
, one could construct the licenses used by a binary. For example, in the Buck repository:buck query "labels('licenses', deps('buck'))"
- You can now use the
$(location )
macro withprebuilt_cxx_library
. - Thanks to @mikekap, Buck now has CI for Windows (via Appveyor).
- Thanks to @mrkane27, Buck now supports authentication when fetching from Maven repositories. This is controlled by the
[credentials]
section of thebuckconfig
: https://buckbuild.com/concept/buckconfig.html#credentials