Annoucements can be constrained by date such that if the current date falls between the constraints then the announcement will be displayed. While this is appropriate for time sensitive annoucements, some announcements might only be applicable to certain versions.
Before printing notices, the current semver version should be evaluated against any constraints. When date and version constraints are provided, both should be evaluated.
Example announcement
{
"from_version": "0.62.0",
"to_version": "0.64.0",
"announcement": "Only show this announcement when current version >= 0.62.0 and < 0.64.0"
}
Annoucements can be constrained by date such that if the current date falls between the constraints then the announcement will be displayed. While this is appropriate for time sensitive annoucements, some announcements might only be applicable to certain versions.
Before printing notices, the current semver version should be evaluated against any constraints. When date and version constraints are provided, both should be evaluated.
Example announcement
{ "from_version": "0.62.0", "to_version": "0.64.0", "announcement": "Only show this announcement when current version >= 0.62.0 and < 0.64.0" }