Skip to content

Releases: TwiN/gatus

v3.3.0

23 Oct 21:08
6ed93d4
Compare
Choose a tag to compare

Renamed service to endpoint #191 #192

THIS CHANGE IS BACKWARD COMPATIBLE

I've been wanting to rename service to endpoint for a while now.
service is confusing, and it doesn't align well with features I want to implement in the future.

As such, I finally decided to make the move.

What you need to know

For most people, all you need to do is replace services: by endpoints: in your configuration file, but here's a full break down of the changes that may impact you.

Endpoint changes

All /api/v1/services/* routes will continue working until v4.0.0 for the sake of backward compatibility, but should be replaced by /api/v1/endpoints/*.

This includes badges.

Configuration changes

services has been renamed to endpoints, but the former will continue being supported until v5.0.0. This is a pretty big breaking change, and I want people to have enough time to migrate.

Before:

services:
  - name: website
    url: "https://twin.sh/health"
    conditions:
      - "[STATUS] == 200"

After:

endpoints:
  - name: website
    url: "https://twin.sh/health"
    conditions:
      - "[STATUS] == 200"

If you continue using services in your configuration, there will be a warning logged in the console pointing to this issue

Storage

SQLite and Postgres

If you are using a storage of type sqlite or postgres, the data in the old tables will not be migrated. I considered automatically migrating the data, but decided that it was not worth the trouble given that currently, the retention period is very short.

That being said, the old tables are not going to be automatically deleted, in case you are using said data for other purposes.

Here is a list of the old table names and their replacements:

  • service -> endpoints
  • service_event -> endpoint_events
  • service_result -> endpoint_results
  • service_result_condition -> endpoint_result_conditions
  • service_uptime -> endpoint_uptimes

If you have any questions, please ask them in #191

v3.2.3

18 Oct 16:21
Compare
Choose a tag to compare

Added Docker image for armv6

v3.2.2

08 Oct 02:48
Compare
Choose a tag to compare

⚠ Migrated TwinProduction/gatus to TwiN/gatus

NOTE: The Docker repository will not be affected by this change

v3.2.1

04 Oct 02:03
Compare
Choose a tag to compare
  • Updated Go to 1.17
  • Added /v3 to module path: Gatus was never meant to be used as a library, but I have a use case for this now, hence the small release.

v3.2.0

03 Oct 16:25
Compare
Choose a tag to compare
  • Added support for maintenance window #74
  • Added optional services[].enabled parameter #175 - Thanks to @1newsr
  • Added support for monitoring endpoints via TLS #177 - Thanks to @Carlotronics

v3.1.0

15 Sep 04:02
Compare
Choose a tag to compare
  • Added support for Postgres as a storage type #124
  • Added support for customizing logo and page title #77
  • Fixed issue with 1h uptime badge

v3.0.0

06 Sep 18:50
Compare
Choose a tag to compare

Breaking changes

  • Kubernetes auto discovery has been removed #135
  • service[].insecure has been replaced in favor of service[].client.insecure
  • alerting.mattermost.insecure has been replaced by alerting.mattermost.client.insecure
  • alerting.custom.insecure has been replaced by alerting.custom.client.insecure

The following deprecated endpoints have been removed:

  • /api/v1/statuses
    • Replaced by /api/v1/services/statuses
  • /api/v1/statuses/{key}
    • Replaced by /api/v1/services/{key}/statuses
  • /api/v1/badges/uptime/{duration}/{identifier}
    • Replaced by /api/v1/services/{key}/uptimes/{duration}/badge.svg

Features

  • Added the ability to hide the hostname of a service #159

v2.9.0

22 Aug 04:05
Compare
Choose a tag to compare
  • Added badges for response time #160 #156
  • Added a response time chart #160 #142
  • Updated badge colors #125
  • Created new endpoints:
    • /api/v1/services/statuses
    • /api/v1/services/{key}/statuses
    • /api/v1/services/{key}/uptimes/{duration}/badge.svg
    • /api/v1/services/{key}/response-times/{duration}/badge.svg
    • /api/v1/services/{key}/response-times/{duration}/chart.svg
  • Deprecated the following endpoints:
    • /api/v1/statuses
    • /api/v1/statuses/{key}
    • /api/v1/badges/uptime/{duration}/{identifier}

NOTE: This major release may be the last one before v3.0.0. If you're using any of the deprecated endpoints or configuration parameters, make sure to migrate to them as soon as you can.

v2.8.2

15 Aug 01:21
Compare
Choose a tag to compare
  • Renamed storage type inmemory to memory
  • Added more uptime badge colors #125

NOTICE: v3.0.0 is just around the corner, and with it will come several breaking changes. For those of you using the latest tag, you may want to pin a specific version. Furthermore, keep an eye on the startup application logs, as most deprecated features your configuration is still leveraging that will be removed or modified in v3.0.0 should have relevant logs warning you of what to expect.

v2.8.1

30 Jul 22:48
Compare
Choose a tag to compare
  • Added alerting provider for Microsoft Teams #143 - Thanks to @zeylos
  • Added the ability to configure the client used to monitor services (timeout, insecure, ignore-redirect) and some alerting providers #126
    • Deprecated alerting.custom.insecure in favor of alerting.custom.client.insecure
    • Deprecated alerting.mattermost.insecure in favor of alerting.mattermost.client.insecure
  • Deprecated Kubernetes implementation (see discussion)