Skip to content

Releases: palantir/policy-bot

v1.17.2

11 Sep 23:57
Compare
Choose a tag to compare

Other Changes

  • Fix author values for bot-authored pull requests (#231)

⚠️ Compatibility Note

This is the last policy-bot release to support GitHub Enterprise Server versions older than 2.21.0. Starting from policy-bot v1.18.0, GitHub Enterprise Server 2.21.0 or newer is required due to the use of new Team APIs.

v1.19.1

12 Sep 00:00
5b3a180
Compare
Choose a tag to compare

Other Changes

  • Fix author values for bot-authored pull requests (#231)

v1.19.0

31 Aug 17:21
0d9968e
Compare
Choose a tag to compare

Add toggle to hide skipped rules in the UI (#228)

The pull request details view now has a toggle to hide skipped rules, making it easier to focus on the rules that actually apply in repositories with large numbers of rules.

Other Changes

  • Fix file predicates so that they match both the old and new file paths in pull requests containing renames (#225)
  • Upgrade TailwindCSS to 1.7.5 (#226)

v1.18.0

15 Aug 01:00
e2d43d1
Compare
Choose a tag to compare

Use new API for team operations (#212)

Policy Bot now uses the new slug-based Team API to check and list team membership. This significantly reduces requests in organizations that have many teams.

⚠️ As a result of this change, Policy Bot now requires GitHub Enterprise Server 2.21.0+ or GitHub.com.

Other Changes

  • Increase the maximum depth for approval rules (#220)

v1.17.1

13 Aug 21:31
ddf502f
Compare
Choose a tag to compare

Improve default Docker configuration (#211)

Published Docker images now include a default server configuration file. Additionally, configuration properties in the server block can be set using environment variables starting with POLICYBOT_. For example, the POLICYBOT_PUBLIC_URL variable now sets or overrides the server.public_url property.

Other Changes

  • Fix label caching for pull request with no labels (#213)
  • Only process review requests when it is enabled for at least one rule (#214)
  • Use the v3 API to list repository collaborators, improving cross-request caching (#215)
  • Upgrade palantir/go-githubapp to the latest version, introducing new error metrics and log fields (#216)

⚠️ Compatibility Note

This is the last policy-bot release to support GitHub Enterprise Server versions older than 2.21.0. Starting from policy-bot v1.18.0, GitHub Enterprise Server 2.21.0 or newer is required due to the use of new Team APIs.

v1.17.0

16 Jul 21:42
58a9379
Compare
Choose a tag to compare

Other Changes

  • Add GitHub client request timeout (#204)
  • Upgrade google/go-github and palantir/go-githubapp to the latest versions (#204)

v1.16.3

29 Jun 20:24
cc0e1aa
Compare
Choose a tag to compare

Other Changes

  • Reduce requests when listing teams by using larger page sizes (#199)

v1.16.2

26 Jun 17:28
edfaf84
Compare
Choose a tag to compare

Other Changes

  • Reduce requests when assigning reviewers by caching team and organization memberships (#195)
  • Comment out development-only options in the example configuration file (#198)

v1.16.1

17 Jun 16:32
bbd819e
Compare
Choose a tag to compare

Other Changes

  • Evaluate pull requests for reviewer assignment on reopened events (#192)
  • Fix documentation link on the app landing page after adding v prefix to tags (#190)

v1.16.0

13 May 19:45
5c2521f
Compare
Choose a tag to compare

Add teams mode for reviewer requests (#183)

When using this mode, Policy Bot requests reviews from teams rather than individual users. The teams must be collaborators with at least read permissions on the repository.

Enable asynchronous processing for webhooks (#187)

Policy Bot now processes all webhooks in separate goroutines, avoiding issues with GitHub webhook delivery time outs. By default, there are 10 workers processing events with a queue size of 100. These values are adjustable using the workers.workers and workers.queue_size configuration properties.

Other Changes

  • Update google/go-github, palantir/go-githubapp, and palantir/go-baseapp to the latest versions (#186)
  • Convert to Go modules. Tags now have a leading v, but published versions are the same as before. (#186)