Releases: Mergifyio/mergify
Release list
5.0.0
New Features
- Queue rules option
allow_inplace_checksdefault if nowtrueonly
ifspeculative_checks: 1orbatch_size: 1. - A new API endpoint (
/api/repos/<owner>/<repo>/pulls/<pull>/events)
to query the mergify action logs has been added. - Action
mergegot a new merge method:fast-forward. - Added a new API endpoint
(/api/repos/<owner>/<repo>/queues/configuration) that allows to
query the list of queues configuration in a repository sorted by
queue processing order. - Action
queuegot a new merge method:fast-forward.
Upgrade Notes
- Mergify engine now requires Redis server >= 6.2.
- The environment variables
MERGIFYENGINE_ACCOUNT_TOKENSformat has
changed toid1:login1:token1,id2:login2:token2.
Deprecation Notes
- The deprecated
commit_messageoption ofmergeandqueue
actions has been removed.
Bug Fixes
commits-behindreturns the number of commits instead of the list
of sha.
4.1.1
Bug Fixes
- GitHub.com and future GHES will not automatically close pull request
when the head branch is deleted. Mergify does it itself now.
4.1.0
New Features
-
The
requeuecommand has been added. -
The
unqueuecommand has been added.
Bug Fixes
- Use the correct graphql endpoint for
editaction.
4.0.0
New Features
-
The
queue_rulessection offers a new optionbatch_max_wait_time. -
Mergify generates automatically condition for
mergeandqueue
action based on branch protection setting
required_conversation_resolution. -
The option
checks_timeouthas been added toqueue_rules
configuration. -
New configuration section
commands_restrictions. -
The
queue_rulessection offers a new option
disallow_checks_interruption_from_queues. -
The
dismiss_reviewsaction offers a new optionwhen. -
The
approvedandchanges_requestedoption ofdismiss_reviews
offer a new valuefrom_requested_reviewers. -
The
queue_rulessection offers a new optiondraft_bot_account. -
The
queue_rulessection offers a new option
allow_speculative_checks_interruption. -
Queue API reports last seen checks and rule evaluations.
-
/v1/repos/{owner}/{repository}/queuesAPI endpoints returns new
attributesended_atandstate. -
Mergify allows to freeze the merge of one or several queues through
new added API endpoints.
(/api/repos/<owner>/<repo>/queue/<queue_name>/freeze,
/api/repos/<owner>/<repo>/queue/<queue_name>/unfreeze,
/api/repos/<owner>/<repo>/queues/freezes) -
Add
queue-merge-started-atcondition. -
Add
queued-atcondition. -
Add
repository-full-nameandrepository-nameattributes. -
The attributes
review-threads-resolved&
review-threads-unresolvedhave been added.
Upgrade Notes
- The deprecated strict mode of the
mergeaction has been removed.
Deprecation Notes
-
Environment variable
MERGIFYENGINE_GITHUB_API_URLhave been
replaced byMERGIFYENGINE_GITHUB_REST_API_URLand
MERGIFYENGINE_GITHUB_GRAPHQL_API_URL. -
The
queue_rulesoptionallow_inplace_speculative_checkshas been
renamedallow_inplace_checks. -
The
queue_rulesoptionallow_speculative_checks_interruptionhas
been renamedallow_checks_interruption.
3.0.0
New Features
-
Add
commits-unverifiedcondition. -
Add
editaction withdraftkey. -
The
markdownifyJinja2 filter has been added. -
The
get_section("# Description")Jinja2 filter has been added. -
The
mergeandqueueactions offer a new
commit_message_templateoption. It allows defining a Jinja2
template in that will be used as the merge commit message for the
whole repo. -
An API (
/api/repos/<owner>/<repo>/queues) to query the queues
status has been added. -
Add
queue-positioncondition. -
Option
require_branch_protectionhas been added to actionqueue. -
Option
bot_accounthas been added to actionrequest_review.
Upgrade Notes
- The merge-queue data format stored in redis has changed. The
migration is done automatically on first startup of version 3.X and
must be done before updating to 4.X.
Deprecation Notes
-
The
commit_messageconfiguration option of the merge action and
queue action is deprecated and planned for removal on a future
version. -
The
commit_messageconfiguration option of the merge and queue
action is deprecated and planned for removal on a future version.
The option can be removed earlier by setting the environment
variableALLOW_COMMIT_MESSAGE_OPTIONtoFalse.
2.0.0
New Features
-
Mergify generates automatically conditions for
mergeandqueue
action based on branch protection settings:
required_linear_history,required_approving_review_countand
require_code_owner_reviews. -
Add
commitscondition. -
Add
commits-behindcondition. -
Add
linear-historycondition. -
The option
users_from_teamshas been added torequest_reviews
action. -
Allow to specify timezone in
current-time,schedule,
created-at,merged-at,closed-atandupdated_atconditions. -
Pull requests that change the content of the
.github/worflows
directory are now supported bybackport,copy,mergeand
queueactions.
Upgrade Notes
-
For GitHub Enterprise, the repository
Administrationpermission
must be set toReadfor all Mergify GitHub App installations. -
For GitHub Enterprise, the repository
Workflowpermission must be
set toRead&Writefor all Mergify GitHub App installation.
Deprecation Notes
- The
strictconfiguration option of the merge action is deprecated
and planned for removal for 3.0.0. The option can be removed earlier
by setting the environment variableALLOW_MERGE_STRICT_MODEto
False.
1.5.1
Bug Fixes
- Handles correctly the
errorstate from GitHub Statuses API for the
check-failureattribute
1.5.0
New Features
-
The
queue_rulessection offers a new option
allow_inplace_speculative_checks. -
Add
batch_sizeoption to queue rules. The new option allows to
check multiple pull requests within each speculative check. -
The
queueaction got two new options:update_methodand
update_bot_account.
Bug Fixes
- Handles the rare case where GitHub pull request API returns a buggy
nullinstead of a string for the body.
1.4.0
New Features
mergify-count-seatsnow allows to report detailed usage in JSON by
passing the--jsoncommand line option.