Releases: palantir/policy-bot
v1.39.3
🐛 Fixes
- Add
POLICYBOT_OPTIONS_FORCE_SHARED_POLICYenvironment variable to configure the force shared policy option (#1095 by @mchristopher)
Full Changelog: v1.39.2...v1.39.3
v1.39.2
🐛 Fixes
- Fix potential GraphQL
RESOURCE_LIMITS_EXCEEDEDerrors when assigning reviewers (#1089 by @DepickereSven)
Full Changelog: v1.39.1...v1.39.2
v1.39.1
🐛 Fixes
- Fix evaluation triggers for comment-only reviews (#1073)
💡 Improvements
- Update TailwindCSS from v1 to v3 (#1076)
Full Changelog: v1.39.0...v1.39.1
v1.39.0
✨ Features
- Add the
force_shared_policyserver option to disable loading individual repository policies (#975, by @south-mer)
💡 Improvements
- Allow limiting the
modified_linespredicate to specific files by setting include and exclude patterns (#1043) - Build with Go 1.25 (#1019)
- Minor dependency and build tool updates
Full Changelog: v1.38.2...v1.39.0
v1.38.2
Re-release of 1.38.0
Add option to ignore edited comments on the server (#977)
Policy Bot now supports server side configuration to ignore edited commits and improve the overall security posture of a running instance.
Other Changes
- Use zero value by default for comments edited time when simulating PR status (#978)
- Minor dependency and build tool updates
Full Changelog: v1.37.0...v1.38.2
v1.38.1
Re-release of 1.38.0
Add option to ignore edited comments on the server (#977)
Policy Bot now supports server side configuration to ignore edited commits and improve the overall security posture of a running instance.
Other Changes
- Use zero value by default for comments edited time when simulating PR status (#978)
- Minor dependency and build tool updates
Full Changelog: v1.37.0...v1.38.1
v1.38.0
Add option to ignore edited comments on the server (#977)
Policy Bot now supports server side configuration to ignore edited commits and improve the overall security posture of a running instance.
Other Changes
- Use zero value by default for comments edited time when simulating PR status (#978)
- Minor dependency and build tool updates
Full Changelog: v1.37.0...v1.38.0
v1.37.0
Add file creation and deletion predicates (#935, #938)
The file_added, file_not_added, file_deleted, and file_not_deleted predicates allow writing policies that change when the PR introduces or removes specific files. Contributed by @dblinkhorn.
Add server option for strict review dismissals (#942)
By default, Policy Bot only dismisses a review if it no longer satisfies all rules. When rules have different invalidate_on_push settings, this means a review may remain because it still satisfies one rule while no longer satisfying another. If the new strict_review_dismissal option is enabled in the server configuration, Policy Bot will dismiss a review if it no longer satisfies any rule. This may be more intuitive for users, depending on how policies are constructed. Contributed by @devinburnette.
Other Changes
- Support marshaling Policy Bot configuration types to YAML (#796, by @iainlane)
Note that these Go types are not part of Policy Bot's public API and may change in any version - Add debug logging for
check_runevents (#966) - Minor dependency and build tool updates
Full Changelog: v1.36.5...v1.37.0
v1.36.5
v1.36.4
Fixes
- Fix error when rendering the details page for a disapproved pull request (#885)
Other Changes
- Retry loading configuration in certain error conditions (#887 by @nikola-jokic)
- Minor dependency and build tool updates
Full Changelog: v1.36.3...v1.36.4