From fac8c9245dc6a2802aeeef2a4476088c2d67834d Mon Sep 17 00:00:00 2001 From: Simon Pasquier Date: Thu, 15 Dec 2022 11:35:52 +0100 Subject: [PATCH 1/2] doc: update with new HTTP configuration options Signed-off-by: Simon Pasquier --- docs/configuration.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index bc4c570c..0fe39e46 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -425,6 +425,9 @@ authorization: oauth2: [ ] +# Whether to enable HTTP2. +[ enable_http2: | default: true ] + # Optional proxy URL. [ proxy_url: ] @@ -464,6 +467,9 @@ endpoint_params: # Configures the token request's TLS settings. tls_config: [ ] + +# Optional proxy URL. +[ proxy_url: ] ``` ## `` @@ -484,6 +490,17 @@ A `tls_config` allows configuring TLS connections. # Disable validation of the server certificate. [ insecure_skip_verify: | default = false] + +# Minimum acceptable TLS version. Accepted values: TLS10 (TLS 1.0), TLS11 (TLS +# 1.1), TLS12 (TLS 1.2), TLS13 (TLS 1.3). +# If unset, Prometheus will use Go default minimum version, which is TLS 1.2. +# See MinVersion in https://pkg.go.dev/crypto/tls#Config. +[ min_version: ] +# Maximum acceptable TLS version. Accepted values: TLS10 (TLS 1.0), TLS11 (TLS +# 1.1), TLS12 (TLS 1.2), TLS13 (TLS 1.3). +# If unset, Prometheus will use Go default maximum version, which is TLS 1.3. +# See MaxVersion in https://pkg.go.dev/crypto/tls#Config. +[ max_version: ] ``` ## `` From 5bfd61d499037fc20be05695b1d652ebaacdeee4 Mon Sep 17 00:00:00 2001 From: Simon Pasquier Date: Thu, 15 Dec 2022 11:36:25 +0100 Subject: [PATCH 2/2] release: cut v0.25.0-rc.0 Signed-off-by: Simon Pasquier --- CHANGELOG.md | 34 ++++++++++++++++++++++++++++++++++ VERSION | 2 +- 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a3f9a153..2601b73e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,37 @@ +## 0.25.0-rc.0 / 2022-12-16 + +* [CHANGE] Change the default `parse_mode` value from `MarkdownV2` to `HTML` for Telegram. #2981 +* [CHANGE] Make `api_url` field optional for Telegram. #2981 +* [CHANGE] Use CanonicalMIMEHeaderKey instead of TitleCasing for email headers. #3080 +* [CHANGE] Reduce the number of notification logs broadcasted between peers by expiring them after (2 * repeat interval). #2982 +* [FEATURE] Add `proxy_url` support for OAuth2 in HTTP client configuration. #3010 +* [FEATURE] Reload TLS certificate and key from disk when updated. #3168 +* [FEATURE] Add Discord integration. #2948 +* [FEATURE] Add Webex integration. #3132 +* [ENHANCEMENT] Add `--web.systemd-socket` flag to systemd socket activation listeners instead of port listeners (Linux only). #3140 +* [ENHANCEMENT] Add `enable_http2` support in HTTP client configuration. #3010 +* [ENHANCEMENT] Add `min_version` support to select the minimum TLS version in HTTP client configuration. #3010 +* [ENHANCEMENT] Add `max_version` support to select the maximum TLS version in HTTP client configuration. #3168 +* [ENHANCEMENT] Emit warning logs when truncating messages in notifications. #3145 +* [ENHANCEMENT] Add `--data.maintenance-interval` flag to define the interval between the garbage collection and snapshotting to disk of the silences and the notification logs. #2849 +* [ENHANCEMENT] Support HEAD method for the `/-/healty` and `/-/ready` endpoints. #3039 +* [ENHANCEMENT] Truncate messages with the `…` ellipsis character instead of the 3-dots string `...`. #3072 +* [ENHANCEMENT] Add support for reading global and local SMTP passwords from files. #3038 +* [ENHANCEMENT] Add Location support to time intervals. #2782 +* [ENHANCEMENT] UI: Add 'Link' button to alerts in list. #2880 +* [ENHANCEMENT] Add the `source` field to the PagerDuty configuration. #3106 +* [ENHANCEMENT] Add support for reading PagerDuty routing and service keys from files. #3107 +* [ENHANCEMENT] Log response details when notifications fail for Webhooks, Pushover and VictorOps. #3103 +* [ENHANCEMENT] UI: Allow to choose the first day of the week as Sunday or Monday. #3093 +* [ENHANCEMENT] Add support for reading VictorOps API key from file. #3111 +* [ENHANCEMENT] Support templating for Opsgenie's responder type. #3060 +* [BUGFIX] Fail configuration loading if `api_key` and `api_key_file` are defined at the same time. #2910 +* [BUGFIX] Fix the `alertmanager_alerts` metric to avoid counting resolved alerts as active. Also added a new `alertmanager_marked_alerts` metric that retain the old behavior. #2943 +* [BUGFIX] Trim contents of Slack API URLs when reading from files. #2929 +* [BUGFIX] amtool: Avoid panic when the label value matcher is empty. #2968 +* [BUGFIX] Fail configuration loading if `api_url` is empty for OpsGenie. #2910 +* [BUGFIX] Fix email template for resolved notifications. #3166 + ## 0.24.0 / 2022-03-24 * [CHANGE] Add the `/api/v2` prefix to all endpoints in the OpenAPI specification and generated client code. #2696 diff --git a/VERSION b/VERSION index 2094a100..3a3008fb 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.24.0 +0.25.0-rc.0