antelope-api-healthcheck (1.4.6) unstable; urgency=medium

  * Go Packages
    - Update github.com/panjf2000/gnet/v2 from 2.2.9 to 2.3.1
    - Update github.com/stretchr/testify from 1.8.3 to 1.8.4

 -- Henrik Hautakoski <henrik@eossweden.org>  Tue, 25 Jul 2023 17:28:29 +0200

antelope-api-healthcheck (1.4.5) unstable; urgency=medium

  Maintenance release, dependancies updates.

  * Go Packages
    - Update github.com/panjf2000/gnet/v2 from 2.2.6 to 2.2.9
    - Update github.com/stretchr/testify from 1.8.2 to 1.8.3

 -- Henrik Hautakoski <henrik@eossweden.org>  Tue, 23 May 2023 17:19:42 +0200

antelope-api-healthcheck (1.4.4) unstable; urgency=medium

  [ Security ]
    * CVE-2022-41723 - Uncontrolled Resource Consumption
      Fixed by updating golang.org/x/net to patched version 0.7.0

  [ Misc ]

    * Go Packages
      - Update golang.org/x/net from 0.4.0 to 0.7.0
      - Update github.com/eosswedenorg-go/atomicasset from v0.1.1-0.20230206134606-4577244fa67a to v0.1.1

 -- Henrik Hautakoski <henrik@eossweden.org>  Tue, 04 Apr 2023 07:04:24 +0200

antelope-api-healthcheck (1.4.3) unstable; urgency=medium

  [ Misc ]

    * Typo fix.

    * Go Packages
      - github.com/stretchr/testify from 1.8.1 to 1.8.2
      - github.com/inconshreveable/log15 from 0.0.0-20221122034931-555555054819 to 3.0.0-testing.5+incompatible
      - github.com/panjf2000/gnet/v2 from 2.2.4 to 2.2.6

 -- Henrik Hautakoski <henrik@eossweden.org>  Tue, 04 Apr 2023 06:07:05 +0200

antelope-api-healthcheck (1.4.2) unstable; urgency=medium

  [ Improvements ]
    * API Check
      - Default value for api timeout changed from 30s to 2s.
        This makes sense because haproxy "inter" parameter is set to 2s per default.

    * Linux install script
      - Now installs `syslog-ng` configuration file.

    * Misc
      - Program now exits with correct status code "1" when an error occures.

 -- Henrik Hautakoski <henrik@eossweden.org>  Tue, 14 Feb 2023 09:11:43 +0100

antelope-api-healthcheck (1.4.1) unstable; urgency=medium

  [ Bugfixes ]

    * Fixing a bug where TCP connections were not closed after response was written.

  [ Improvements ]

    * API Check
      - timeouts can now be configurable.
      - "duration" and "duration_us" fields added to log row, these
        values represents the api check duration.

    * CLI
      - new parameter `-t`, `--timeout` that specify the maximum duration of api checks.

  [ Misc ]

    * Go Packages
      - Update github.com/panjf2000/gnet/v2 to v2.2.4
      - Update github.com/eosswedenorg-go/leapapi to v0.2.3
      - Update github.com/eosswedenorg-go/atomicassets to v0.1.1-0.20230206134606-4577244fa67a

 -- Henrik Hautakoski <henrik@eossweden.org>  Tue, 07 Feb 2023 09:29:40 +0100

antelope-api-healthcheck (1.4.0) unstable; urgency=medium

  * Using github.com/panjf2000/gnet as tcp server library instead of github.com/eosswedenorg-go/tcp_server

  [ Misc ]

    * Go Packages
      - Update github.com/eosswedenorg-go/haproxy to v1.0.1
      - Update github.com/eosswedenorg-go/atomicasset to v0.1.0

 -- Henrik Hautakoski <henrik@eossweden.org>  Wed, 04 Jan 2023 14:03:41 +0100

antelope-api-healthcheck (1.3.1) unstable; urgency=medium

  * Upgraded to github.com/eosswedenorg-go/leapapi@v0.2.1
    That contains a bugfix for HTTP Host Header being sent without port.
    This caused some antelope api's with `http-validate-host` enabled
    to respond with `400 Bad Request` as the header and url did not match.

 -- Henrik Hautakoski <henrik@eossweden.org>  Mon, 12 Dec 2022 16:19:26 +0100

antelope-api-healthcheck (1.3.0) unstable; urgency=medium

  Project and binary renamed from eosio-api-healthcheck to antelope-api-healthcheck

  [ BREAKING Change: Config files ]

  * Debian /etc/sysconfig/eosio-api-healthcheck
    - File renamed to /etc/sysconfig/antelope-api-healthcheck
    - EOSIO_API_HEALTCHECK_OPTS changed to ANTELOPE_API_HEALTCHECK_OPTS

  * FreeBSD /etc/rc.conf
    - eosio_api_healthcheck_args changed to antelope_api_healthcheck_args
    - eosio_api_healthcheck_logfile changed to antelope_api_healthcheck_logfile

  [ BREAKING Change: API ]

  * Requests using "contract" as api is invalid from
    this release and should use "atomic" instead.

    For example: "contract|https://api.domain.com" should be changed to "atomic|https://api.domain.com"

  [ Misc ]

  * Go Packages
   - Upgrade github.com/eosswedenorg-go/eosapi to github.com/eosswedenorg-go/leapapi v0.2.0

 -- Henrik Hautakoski <henrik@eossweden.org>  Fri, 25 Nov 2022 12:40:02 +0100

eosio-api-healthcheck (1.2.6) unstable; urgency=medium

  * Go Packages
   - Upgrade github.com/stretchr/testify to v1.8.1
   - Upgrade github.com/eosswedenorg-go/eosapi to v0.1.3
   - Upgrade github.com/inconshreveable/log15 to v0.0.0-20221122034931-555555054819
   - Upgrade github.com/eosswedenorg-go/tcp_server to v0.2.1

  * Eosio v1/v2 API's
   - HTTP Errors are now handled by `eosapi`
     This changes the log message abit and will report "Fail" instead of "Down" to haproxy.

 -- Henrik Hautakoski <henrik@eossweden.org>  Thu, 24 Nov 2022 14:57:00 +0100

eosio-api-healthcheck (1.2.5) unstable; urgency=medium

  * Logging
   - Add runtime support via "--log-format" cli flag to change the logging format.
     Supported formats are: term, logfmt, json, json-pretty

 -- Henrik Hautakoski <henrik@eossweden.org>  Fri, 21 Oct 2022 13:42:23 +0200

eosio-api-healthcheck (1.2.4) unstable; urgency=medium

  * Go Version
   - Project now requires golang v1.16 or later to build.

  * Go Packages
   - Upgrade github.com/eosswedenorg-go/pid to v1.0.1
   - Upgrade github.com/mattn/go-colorable to v0.1.13
   - Upgrade github.com/eosswedenorg-go/eosapi to v0.1.1
   - Upgrade github.com/eosswedenorg-go/eos-contract-api-client to v0.0.0-20220221105418-dc591fcc0dc5
   - Upgrade github.com/eosswedenorg-go/tcp_server to v0.2.0

  * Testing
   - Improve unit tests to catch more bugs.

 -- Henrik Hautakoski <henrik@eossweden.org>  Thu, 13 Oct 2022 14:34:04 +0200

eosio-api-healthcheck (1.2.3) bionic; urgency=medium

  * Signal handling
   - Act on SIGINT (user input CTRL+C for example)
     and gracefully shutdown the program.
   - Act on SIGTERM (sent by systemd for example)
     and gracefully shutdown the program
  * Build system
   - Separate install and packaging from build script into it's own scripts.
   - Remove the debian package script and use "The debian standard"
     (and debhelper) to build packages.
     Files stored under the debian directory defines how the program is
     built and package The `dpkg-buildpackage` script (and other tools)
     uses these files to create a package.
  * Testing: Adding test cases and make github automatically runs test on push.
  * Go packages
   - Upgrade to v0.1.1 for github.com/eosswedenorg-go/tcp_server

 -- Henrik Hautakoski <henrik@eossweden.org>  Mon, 22 Aug 2022 13:31:39 +0200
