Skip to content

Releases: timonwong/prometheus-webhook-dingtalk

v2.1.0

21 Apr 08:15
8580d13
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.0...v2.1.0

2.0.0 / 2021-08-19

19 Aug 10:14
a848e5d
Compare
Choose a tag to compare

BREAKING CHANGE

Legacy command line flags, --ding.profile, --ding.timeout and --template.file are removed
and no longer can be used. Please use config file instead before upgrading.

  • [CHANGE] BREAKING CHANGE Remove legacy command line flags. #157
  • [BUILD] Add arm builds for windows and macOS.
  • [MISC] Update react & go dependencies.

1.4.0 / 2019-12-11

11 Dec 05:09
02fe826
Compare
Choose a tag to compare
  • [FEATURE/ENHANCEMENT] Allow override global default message template in config file. #76
  • [CHANGE] UI: Use CommonMark instead of GFM.
  • [ENHANCEMENT] Filter hidden flags in flags UI. #73
  • [ENHANCEMENT] Add goroutine info in runtime UI. #74

1.3.0 / 2019-12-09

09 Dec 15:42
1256015
Compare
Choose a tag to compare
  • [FEATURE/ENHANCEMENT] Improved compatibility: Now the following v0.3.0 command line flags are supported as well: --ding.profile, --ding.timeout and --template.file. #72
  • [FEATURE/ENHANCEMENT] Add support to reload through API /-/reload (Disabled by default, can be enabled via the --web.enable-lifecycle flag). #70
  • [FEATURE/ENHANCEMENT] Add ready and health check API endpoint: /-/healthy and /-/ready. #71
  • [CHANGE] (Backward compatible) Rename --web.ui-enabled to --web.enable-ui.

1.2.2 / 2019-12-09

09 Dec 01:19
cf32fb6
Compare
Choose a tag to compare
  • [FIX] Fix excessive rendering requests while in web UI preview. #65

1.2.1 / 2019-12-08

08 Dec 11:59
be10893
Compare
Choose a tag to compare
  • [FIX] Fix default template (which misleads users).

1.2.0 / 2019-12-08

08 Dec 08:20
d7aca2c
Compare
Choose a tag to compare

NOTE For security reason, the Web UI is disabled by default. In order to enable it, pass the --web.ui-enabled flag
when program starts.

  • [FEATURE] Add web UI for playground (preview & validate your templates, etc). #62, #63
  • [ENHANCEMENT] Add support to configuration reload through SIGHUP signal. #60
  • [ENHANCEMENT] Validate target incoming webhook url in case of typos. #61

1.1.0 / 2019-12-06

06 Dec 10:06
c8a0df4
Compare
Choose a tag to compare
  • [ENHANCEMENT] Allow template customization for target individually. #58
  • [ENHANCEMENT] Change default template.

v1.0.0 Released - BREAKING CHANGE

05 Dec 10:41
94af673
Compare
Choose a tag to compare

BREAKING CHANGES

Now instead of configuration via command line arguments, the YAML configuration file is used for better flexibility.

The example configuration file looks like:

## Request timeout
# timeout: 5s

## Customizable template file path
## In docker, by default the current working directory is set to /prometheus-webhook-dingtalk
## However it's recommended to use absolute path whenever possible
# template: template/default.tmpl

## Targets, previously was known as "profiles"
targets:
  webhook1:
    url: https://oapi.dingtalk.com/robot/send?access_token=xxxxxxxxxxxx
    # secret for signature
    secret: SEC000000000000000000000
  webhook2:
    url: https://oapi.dingtalk.com/robot/send?access_token=xxxxxxxxxxxx
  webhook_mention_all:
    url: https://oapi.dingtalk.com/robot/send?access_token=xxxxxxxxxxxx
    mention:
      all: true
  webhook_mention_users:
    mention:
      mobiles: ['156xxxx8827', '189xxxx8325']
  • [ENHANCEMENT] Add various template functions from sprig. #47
  • [ENHANCEMENT] Add signature support due to the new security enforcement requirement of dingtalk. #49
  • [ENHANCEMENT] Add user mention support (all or specific mobiles) to dingtalk notification/ #54

Release v0.3.0

21 Dec 13:42
4a7dee0
Compare
Choose a tag to compare
Bump version: v0.3.0