github thought-machine/please v16.0.0
Please v16.0.0

latest releases: v17.12.6-beta.1, v17.12.5, v17.12.4...
3 years ago

This is Please v16.0.0

  • The migration guide detailing the breaking changes and how to address them
    can be found on this issue: #1590
  • Various changes and fixes around remote execution #1584 #1624 #1642 #1656 #1672
    #1698 #1699 #1713 #1724 #1732
  • Implement text_file() rule that can be used to generate a file from
    the build language. This is used in sh_cmd() to avoid escaping env vars
    by the setting expand_env_vars = False #1585 #1666
  • Move please_go_install and please_go_test into unified please_go
    tool #1600 #1603
  • Removed the --nocache flag #1612
  • Removed the out param on go_library() in favour of the package
    param #1561
  • Removed rule_metadata param on build_rule() #1580
  • Stop pulling in transitive dependencies for go_test() and other
    go rules #1593 #1609
  • Removed //:pleasings as a default repo. This can be added back in
    with plz init pleasings #1591
  • Removed FeatureFlags.PleaseDownloadTools and made Please download
    them automatically #1582
  • Added architectures to go_toolchain() to facilitate cross compiling
    when targetting with a build label e.g. ///linux_amd64//... #1605
  • Improved ergonomics around git scm commands to report errors from stdout
    #1611
  • Added --level to plz query changes to get the reverse deps of the
    changed target. This replaces --include_dependees which is now deprecated
    and to be removed in v17 #1607
  • The interpreter will now print the stack trace when encountering a
    go panic #1614
  • Various linux sandbox improvements to allow finer control #1617 #1618 #1622
    #1632
  • Fix cross-compiling binary go_get() targets #1628
  • Added deps subcommand to //_please:please_go which can resolve go
    imports based on the Please build graph #1631
  • plz help no longer prints private args to build rules #1633
  • Add includes and defines to cc rules #1637
  • Performance improvements around glob() #1637
  • Fixed some bugs with .format() #1635
  • protoc_binary() can now take multiple URLs based on platform #1651
  • Various improvements and fixes to proto and grpc rules. Mostly around
    go and the new protoc plugins. #1653 #1655 #1665 #1716 #1717 #1705
  • Handle zipsafe applied directly on python binaries #1660 #1688
  • Add trimpath to go_module() to improve determinism when compiling
    third party code #1654
  • Fixes to go_test() related to coverage import paths #1667 #1670
  • Please will no longer set the stdout and stderr in log/test_results.xml
    to save space in CI. Added a config option to opt in. #1674 #1685
  • Please can now compress test results when uploading them #1668
  • Deprecated raise() which will be removed in v17 #1634
  • Fixed issues related to go_test() in the repo root #1675
  • Please no longer allows the go package some/package to be imported as
    some/package/package #1680
  • Test tools are now included in the runtime hash, fixing some issues around
    test caching. #1690
  • Changes around accessing $HASH to make it available for non-stamped
    targets (stamp = False) #1696
  • Added semver_check() which can be used to check semver constraints
    from the build language #1704
  • Various changes to plz query changes and plz query revdeps #1702
    #1718
  • Change how download and hash maven jars (removed FeatureFlags.MavenJar)
    #1701 #1710
  • Please now retrieves optional outputs from the cache #1727 #1731
  • Deprecate plz build --prepare in favour of just using --shell #1730
  • Fix up how we determine installing into a subdirectory for pip_library()
    #1728
  • Implement patches for go_module() and optionally strip sources from
    go_toolchain() #1734
  • Make go_module() install the root package when using the foo/...
    wildcard #1732
  • Fixed some issues around python coverage on macOS #1735
  • Added --in_tmp_dir flag to plz run to run in the same temp directory
    that plz test would run in #1733
  • gentest() can now accept lists for cmd and test_cmd #1760
  • plz-out is now excluded from glob() results #1756
  • Added a darwin_arm64 release for the new apple silicone. Will need to be
    installed manually for now as get.please.build isn't aware of this
    release yet.

Don't miss a new please release

NewReleases is sending notifications on new releases.