Releases: palantir/policy-bot
v1.17.2
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
v1.19.0
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
v1.18.0
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.
Other Changes
- Increase the maximum depth for approval rules (#220)
v1.17.1
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
v1.16.3
v1.16.2
v1.16.1
v1.16.0
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.