v5.0.0: Breaking changes #374
Closed
TwiN
announced in
Announcements
Replies: 2 comments 1 reply
-
|
@TwiN It appears a typo has sneaked in your above message: Instead of it should say (no |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
As of today, the master branch and the latest Docker image tag are on v5.0.0. v5.0.0 will be officially released later today or this week. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
With v5.0.0 just around the corner, I thought I'd share the upcoming breaking changes to allow users of Gatus to prepare, so here goes.
Upcoming breaking changes
Mandatory space in conditions between comparator and placeholders/values
Before, a condition (e.g.
[STATUS] == 200) was split by its comparator (e.g.==), which made it possible to omit spaces in the condition (e.g.[STATUS]==200).As of v5.0.0, the comparator in each condition must be wrapped by a space (e.g.
[STATUS] == 200) or the condition will not be valid.Before vs. After
Before
After
Note that the "after" was also valid pre-v5.0.0.
Relevant PR: #382
Removal of deprecated
servicesin favor ofendpointsserviceshas been replaced byendpointsin v3.3.0 (#191), but backward compatibility has been retained until now. v5.0.0, however, will no longer supportservices, so make sure to update your configuration to useendpointsinstead.Before vs. After
Before
After
Relevant PR: #381
Alerts will default to
enabled: trueAs of v5.0.0,
endpoints[].alerts[].enabledwill default totrueunlessalerting.<provider>.default-alert.enabledis set tofalse.Before vs. After
Before
After
Relevant PR: #380
Other changes
As of v5.0.0, you may now use
ghcr.io/twin/gatusinstead oftwinproduction/gatusto retrieve the Docker image.Beta Was this translation helpful? Give feedback.
All reactions