Feature Stages
What Preview, generally available, Deprecated and Sunset promise about a Mergify feature, what to do about each, and where a removal date is published.
A Mergify feature, and each option, command, API operation or field it adds, is at one stage at a time. The docs mark its stage beside its name and at the top of its page. A feature with no mark is generally available.
Preview
Section titled PreviewA feature in Preview works, but it does not promise its shape yet: what it adds may change, or the feature may go, before it is generally available, with no notice period and no migration.
Most Preview features are available on request: email support@mergify.com to turn one on for your organization. A Preview feature open to every organization says so in its notice. Neither kind is in Mergify Enterprise until it is generally available.
Use it where a change would cost you little, and read its page again when you change your configuration. A Preview feature has no removal date: if it goes before general availability, its page goes, and the organizations using it are told.
Generally available
Section titled Generally availableA generally available feature’s shape is stable. When something it adds has to change, the old shape is Deprecated first and keeps working until its removal date. A breaking change to the API ships in a new API version, and the version your requests name keeps answering as it did.
Deprecated
Section titled DeprecatedA Deprecated feature keeps working as before until its removal date, and a replacement does the same job. Its page, or the section that covers it, opens with the Deprecated notice, which names the replacement.
Move to the replacement before the removal date. When the feature is a
configuration option or action, Mergify opens an automatic migration pull
request that takes it out of your .mergify.yml, for you to merge. The CLI
prints a warning when you run a Deprecated command or flag. A Deprecated API
operation leaves the API in a new API version, and the version
your requests name serves it until that version stops being served.
Sunset
Section titled SunsetA Sunset feature keeps working for those who already use it, with fixes but no new features, until it is removed. Nothing in Mergify replaces it. Its notice may say where you can do the same job instead, such as GitHub Actions or a GitHub setting. Its reference pages stay in the navigation, marked Sunset, but no guide or getting-started page points to it.
Don’t start using it, and plan to move off it. Mergify tells the organizations still using it before it is removed.
Removal dates
Section titled Removal datesA Deprecated or Sunset feature’s removal date is stated in its notice, once it is set, and in the changelog, which also announces a date that moves. Once a feature is removed, a configuration that still uses it gets an error saying what to do instead.
Was this page helpful?
Thanks for your feedback!