# Changelog

## 4.5.0 (2020/08/29)

* Allow to set the hostname sent to the SMTP server with the HELO command for mail notification (#165)
* Fix Telegram notification error (#162)

## 4.4.1 (2020/08/20)

* Allow to use `--test-notif` without providers and DB connection (#157 #150)
* Update deps

## 4.4.0 (2020/08/08)

* Allow to customize message type for Matrix notifications (#143)

## 4.3.1 (2020/07/30)

* Hostname not taken into account for Matrix notifications

## 4.3.0 (2020/07/29)

* Add Matrix notification (#124)

## 4.2.0 (2020/07/16)

* Seek configuration file from default places (#107)
* Switch to [gonfig](https://github.com/crazy-max/gonfig)
* Update deps

## 4.1.1 (2020/06/26)

* Small typo

## 4.1.0 (2020/06/26)

* Discord notifications (#110 #111)
* Update migration notes (#107)
* Logging when configuration file or `DIUN_` env vars not found (#107)
* Bump github.com/containers/image/v5 from 5.4.4 to 5.5.1 (#96)

## 4.0.0 (2020/06/22)

:warning: See **Migration notes** in the documentation for breaking changes.

* Display hostname in notifications (#102)
* Automatically determine registry options based on image name (#103)
* Docs website with mkdocs (#99)
* Skip dangling images (#98)
* More explicit message if manifest not found (#94)
* Add swarm example
* Update doc for file and Swarm providers
* Add Kubernetes provider (#25)
* Update Teams notification screenshot (#93)
* Send message as markdown for Gotify and Telegram notifiers
* Add link to respective hub (#40)
* Configuration transposed into environment variables (#82)
* Configuration file not required anymore
* `DIUN_DB` env var renamed `DIUN_DB_PATH`
* Only accept duration as timeout value (`10` becomes `10s`)
* Enhanced documentation (#83)
* Add note about test notifications (#79)
* Improve configuration validation
* Fix telegram init
* All fields in configuration are now _camelCased_
* Docker API version negotiation (#29)
* Add Mattermost compatibility via Slack webhooks (#80)
* Update deps

## 3.0.0 (2020/05/27)

:warning: See **Migration notes** in the documentation for breaking changes.

* Add script notification (#53)
* Add Teams notification (#72)
* Add `--test-notif` flag (#23)
* Allow only one Docker and Swarm provider
* Remove "enable" setting for notifiers
* Logging when no image is found
* Add Amqp notification client (#63)
* Fix default log level
* Move static to file provider (#71)
* Reload config on change for file provider (#16)
* Switch to kong command-line parser (#66)
* Enhanced Dockerfile
* Review of platform detection (#57)
* Leave default image platform empty for file provider (see FAQ doc)
* Handle platform variant
* Add database migration process
* Switch to Open Container Specification labels as label-schema.org ones are deprecated
* Remove unneeded `diun.os` and `diun.arch` docker labels
* Add upgrade notes
* Update deps

## 2.6.1 (2020/03/26)

* Downgrade containers/image to 5.2.1 (#54)

## 2.6.0 (2020/03/26)

* Fix service image inspection (#52)
* Docker client v19.03.8
* Update deps

## 2.5.0 (2020/03/01)

* Add Rocket.Chat notifier (#44)

## 2.4.0 (2020/02/17)

* Add Gotify notification client (#36)
* Bump containers/image v5 (#35) 

## 2.3.0 (2020/01/28)

* Add Telegram notifier (#30)
* Docker client struct options
* Move registry client to a dedicated package

## 2.2.1 (2020/01/07)

* Set user agent for Docker registry client
* Update deps

## 2.2.0 (2019/12/22)

* Add option to skip notification at the very first analysis of an image (#10)
* Skip analysis of locally built image

## 2.1.0 (2019/12/17)

* Add Slack notifier (#8)

## 2.0.0 (2019/12/14)

:warning: See **Migration notes** in the documentation for breaking changes.

* Include provider in notifications
* Add providers documentation
* Move image validation and improve job execution
* Add Swarm provider
* Add fields to load sensitive values from file (#7)
* Add Docker provider (#3)
* Docker client v19.03.5
* Move `image` field to providers layer and rename it `static`
* Update deps
* Go 1.13.5
* Seconds field optional for schedule

## 1.4.1 (2019/10/20)

* Update deps
* Fix Docker labels

## 1.4.0 (2019/10/01)

* Multi-platform Docker image
* Switch to GitHub Actions
* Stop publishing Docker image on Quay
* Go 1.12.10
* Use GOPROXY

## 1.3.0 (2019/08/22)

* Add Linux service doc and sample
* Move documentation
* Fix go mod
* Remove `--docker` flag
* Allow to override database path through `DIUN_DB` env var

## 1.2.0 (2019/08/18)

* Update deps
* Display containers/image logs
* Fix registry options not setted (#5)

## 1.1.0 (2019/07/24)

* Update deps

## 1.0.2 (2019/07/01)

* Worker pool can be full while retrieving tags

## 1.0.1 (2019/07/01)

* Fix runtime error

## 1.0.0 (2019/07/01)

:warning: See **Migration notes** in the documentation for breaking changes.

* Always run on startup. Flag `--run-startup` removed.
* Display next execution time
* Use v3 robfig/cron
* Move `Os` and `Arch` filters to image
* Retrieve all tags by default
* Review config file structure
* Improve worker pool

## 0.5.0 (2019/06/09)

* Add worker pool to parallelize analyses

## 0.4.1 (2019/06/08)

* Filter tags before return them

## 0.4.0 (2019/06/08)

* Add option to set the maximum number of tags to watch for an item if `watch_repo` is enabled

## 0.3.2 (2019/06/08)

* Fix registry client context

## 0.3.1 (2019/06/08)

* Fix email template
* Add flag to log caller

## 0.3.0 (2019/06/08)

* Allow overriding os and architecture when watching
* Move `insecure_tls` and `timeout` options to registry option
* Rename Bolt bucket
* Change default schedule
* Review registry client

## 0.2.0 (2019/06/05)

* Don't skip repo analysis if default tag not found
* Docker engine 18.09.6

## 0.1.1 (2019/06/04)

* Increase default timeout
* Fix `data` volume mount

## 0.1.0 (2019/06/04)

* Initial version
