New Features
- Add a new API endpoint to list the base refs used by
queued pull requests of a repository in a given time window.
The path is
/v1/repos/{owner}/{repository}/queues/branches
. - Mergify now allows you to share YAML anchors across configuration files
through the
extends
configuration feature. You can now define your YAML anchors in a unique shared configuration file and use them in all your other configuration files, without having to redefine them. - The
mergify-configuration-changed
boolean condition is now exposed to users. It allows to detect configuration changes in a pull request. - Add
queue-freeze-reason
attribute. - Add new Boolean attribute
queue-frozen
for pull request, indicating if they are in a queue that is frozen. - Added a new statistics endpoint that returns the average
CI runtime.
The endpoint path is
/v1/repos/{repository_owner}/{repository_name}/stats/average_ci_runtime
. - Added a new statistics endpoint that returns the average
idle time spent in queue for pull requests.
The endpoint path is
/v1/repos/{repository_owner}/{repository_name}/stats/average_queue_time
. - Added a new statistics endpoint aimed to replace the one at path:
/v1/repos/{repository_owner}/{repository_name}/stats/queue_checks_outcome
The new endpoint groups the outcomes of the merge queue by base_ref, partition_name, and queue_name. Its path is/v1/repos/{repository_owner}/{repository_name}/stats/merge_queue_checks_outcome
. - Added a new statistics endpoint that returns the number of
pull requests merged by intervals of time.
The endpoint path is
/v1/repos/{repository_owner}/{repository_name}/stats/queues_merged_count
. - Added a new statistics endpoint that returns the average, max and min
queue size by intervals of time.
The endpoint path is
/v1/repos/{repository_owner}/{repository_name}/stats/queue_size
. - Added a new statistics endpoint that returns the average, max and min
of running speculative checks by intervals of time.
The endpoint path is
/v1/repos/{repository_owner}/{repository_name}/stats/running_speculative_checks
.
Deprecation Notes
- The following API endpoints are deprecated and will be removed in a future release:
/repos/{owner}/{repository}/stats/queue_checks_outcome
/repos/{owner}/{repository}/queues/{queue_name}/stats/queue_checks_outcome
/repos/{owner}/{repository}/partitions/{partition_name}/queues/{queue_name} /stats/queue_checks_outcome
You should now use the new one instead:/repos/{owner}/{repository}/stats/queue_checks_outcome