Releases: timonwong/prometheus-webhook-dingtalk
Releases · timonwong/prometheus-webhook-dingtalk
v2.1.0
What's Changed
- build: fix ci go mod cache by @timonwong in #162
- ci: add codeql analysis by @timonwong in #163
- chore: rename main branch by @timonwong in #164
- build(deps): bump tmpl from 1.0.4 to 1.0.5 in /web/ui/react-app by @dependabot in #165
- feat: Upgrade go to 1.17 by @timonwong in #172
- feat: markdowan type message add at designated person function by @DesistDaydream in #174
- build(deps): bump url-parse from 1.5.3 to 1.5.7 in /web/ui/react-app by @dependabot in #177
- build(deps): bump ajv from 6.12.2 to 6.12.6 in /web/ui/react-app by @dependabot in #175
- build(deps): bump follow-redirects from 1.11.0 to 1.14.8 in /web/ui/react-app by @dependabot in #176
- build(deps): bump nanoid from 3.1.25 to 3.3.1 in /web/ui/react-app by @dependabot in #178
- build(deps): bump url-parse from 1.5.7 to 1.5.10 in /web/ui/react-app by @dependabot in #179
- build(deps): bump minimist from 1.2.5 to 1.2.6 in /web/ui/react-app by @dependabot in #180
- chore: lint pr title by @timonwong in #184
- feat: switch to distroless images by @timonwong in #183
- feat: upgrade to go 1.18 by @timonwong in #187
- build(deps): bump async from 2.6.3 to 2.6.4 in /web/ui/react-app by @dependabot in #185
- chore: adjust linter by @timonwong in #188
- feat: Remove pkg/errors package by @timonwong in #189
- feat: upgrade go-chi to v5 by @timonwong in #190
- fix: fix docker build by @timonwong in #191
- fix: fix arm docker build by @timonwong in #192
New Contributors
- @DesistDaydream made their first contribution in #174
Full Changelog: v2.0.0...v2.1.0
2.0.0 / 2021-08-19
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
1.3.0 / 2019-12-09
- [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
- [FIX] Fix excessive rendering requests while in web UI preview. #65
1.2.1 / 2019-12-08
- [FIX] Fix default template (which misleads users).
1.2.0 / 2019-12-08
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.
1.1.0 / 2019-12-06
- [ENHANCEMENT] Allow template customization for target individually. #58
- [ENHANCEMENT] Change default template.
v1.0.0 Released - BREAKING CHANGE
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']
Release v0.3.0
Bump version: v0.3.0