Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/prometheus/alertmanager from 0.25.0 to 0.26.0 #2436

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 25, 2023

Bumps github.com/prometheus/alertmanager from 0.25.0 to 0.26.0.

Release notes

Sourced from github.com/prometheus/alertmanager's releases.

0.26.0 / 2023-08-23

  • [CHANGE] Telegram Integration: api_url is now optional. #2981
  • [CHANGE] Telegram Integration: ParseMode default is now HTML instead of MarkdownV2. #2981
  • [CHANGE] Webhook Integration: url is now marked as a secret. It will no longer show up in the logs as clear-text. #3228
  • [CHANGE] Metrics: New label reason for alertmanager_notifications_failed_total metric to indicate the type of error of the alert delivery. #3094 #3307
  • [FEATURE] Clustering: New flag --cluster.label, to help to block any traffic that is not meant for the cluster. #3354
  • [FEATURE] Integrations: Add Microsoft Teams as a supported integration. #3324
  • [ENHANCEMENT] Telegram Integration: Support bot_token_file for loading this secret from a file. #3226
  • [ENHANCEMENT] Webhook Integration: Support url_file for loading this secret from a file. #3223
  • [ENHANCEMENT] Webhook Integration: Leading and trailing white space is now removed for the contents of url_file. #3363
  • [ENHANCEMENT] Pushover Integration: Support options device and sound (sound was previously supported but undocumented). #3318
  • [ENHANCEMENT] Pushover Integration: Support user_key_file and token_file for loading this secret from a file. #3200
  • [ENHANCEMENT] Slack Integration: Support errors wrapped in successful (HTTP status code 200) responses. #3121
  • [ENHANCEMENT] API: Add CORS and Cache-Control HTTP headers to all version 2 API routes. #3195
  • [ENHANCEMENT] UI: Receiver name is now visible as part of the alerts page. #3289
  • [ENHANCEMENT] Templating: Better default text when using {{ .Annotations }} and {{ .Labels }}. #3256
  • [ENHANCEMENT] Templating: Introduced a new function trimSpace which removes leading and trailing white spaces. #3223
  • [ENHANCEMENT] CLI: amtool silence query now supports the --id flag to query an individual silence. #3241
  • [ENHANCEMENT] Metrics: Introduced alertmanager_nflog_maintenance_total and alertmanager_nflog_maintenance_errors_total to monitor maintenance of the notification log. #3286
  • [ENHANCEMENT] Metrics: Introduced alertmanager_silences_maintenance_total and alertmanager_silences_maintenance_errors_total to monitor maintenance of silences. #3285
  • [ENHANCEMENT] Logging: Log GroupKey and alerts on alert delivery when using debug mode. #3438
  • [BUGFIX] Configuration: Empty list of receivers and inhibit_rules would cause the alertmanager to crash. #3209
  • [BUGFIX] Templating: Fixed a race condition when using the title function. It is now race-safe. #3278
  • [BUGFIX] API: Fixed duplicate receiver names in the api/v2/receivers API endpoint. #3338
  • [BUGFIX] API: Attempting to delete a silence now returns the correct status code, 404 instead of 500. #3352
  • [BUGFIX] Clustering: Fixes a panic when tls_client_config is empty. #3443
  • [BUGFIX] Fix stored XSS via the /api/v1/alerts endpoint in the Alertmanager UI.

0.26.0-rc.0 / 2023-08-17

  • [CHANGE] Telegram Integration: api_url is now optional. #2981
  • [CHANGE] Telegram Integration: ParseMode default is now HTML instead of MarkdownV2. #2981
  • [CHANGE] Webhook Integration: url is now marked as a secret. It will no longer show up in the logs as clear-text. #3228
  • [CHANGE] Metrics: New label reason for alertmanager_notifications_failed_total metric to indicate the type of error of the alert delivery. #3094 #3307
  • [FEATURE] Clustering: New flag --cluster.label, to help to block any traffic that is not meant for the cluster. #3354
  • [FEATURE] Integrations: Add Microsoft Teams as a supported integration. #3324
  • [ENHANCEMENT] Telegram Integration: Support bot_token_file for loading this secret from a file. #3226
  • [ENHANCEMENT] Webhook Integration: Support url_file for loading this secret from a file. #3223
  • [ENHANCEMENT] Webhook Integration: Leading and trailing white space is now removed for the contents of url_file. #3363
  • [ENHANCEMENT] Pushover Integration: Support options device and sound (sound was previously supported but undocumented). #3318
  • [ENHANCEMENT] Pushover Integration: Support user_key_file and token_file for loading this secret from a file. #3200
  • [ENHANCEMENT] Slack Integration: Support errors wrapped in successful (HTTP status code 200) responses. #3121
  • [ENHANCEMENT] API: Add CORS and Cache-Control HTTP headers to all version 2 API routes. #3195
  • [ENHANCEMENT] UI: Receiver name is now visible as part of the alerts page. #3289
  • [ENHANCEMENT] Templating: Better default text when using {{ .Annotations }} and {{ .Labels }}. #3256
  • [ENHANCEMENT] Templating: Introduced a new function trimSpace which removes leading and trailing white spaces. #3223
  • [ENHANCEMENT] CLI: amtool silence query now supports the --id flag to query an individual silence. #3241
  • [ENHANCEMENT] Metrics: Introduced alertmanager_nflog_maintenance_total and alertmanager_nflog_maintenance_errors_total to monitor maintenance of the notification log. #3286
  • [ENHANCEMENT] Metrics: Introduced alertmanager_silences_maintenance_total and alertmanager_silences_maintenance_errors_total to monitor maintenance of silences. #3285
  • [ENHANCEMENT] Logging: Log GroupKey and alerts on alert delivery when using debug mode. #3438
  • [BUGFIX] Configuration: Empty list of receivers and inhibit_rules would cause the alertmanager to crash. #3209

... (truncated)

Changelog

Sourced from github.com/prometheus/alertmanager's changelog.

0.26.0 / 2023-08-23

  • [CHANGE] Telegram Integration: api_url is now optional. #2981
  • [CHANGE] Telegram Integration: ParseMode default is now HTML instead of MarkdownV2. #2981
  • [CHANGE] Webhook Integration: url is now marked as a secret. It will no longer show up in the logs as clear-text. #3228
  • [CHANGE] Metrics: New label reason for alertmanager_notifications_failed_total metric to indicate the type of error of the alert delivery. #3094 #3307
  • [FEATURE] Clustering: New flag --cluster.label, to help to block any traffic that is not meant for the cluster. #3354
  • [FEATURE] Integrations: Add Microsoft Teams as a supported integration. #3324
  • [ENHANCEMENT] Telegram Integration: Support bot_token_file for loading this secret from a file. #3226
  • [ENHANCEMENT] Webhook Integration: Support url_file for loading this secret from a file. #3223
  • [ENHANCEMENT] Webhook Integration: Leading and trailing white space is now removed for the contents of url_file. #3363
  • [ENHANCEMENT] Pushover Integration: Support options device and sound (sound was previously supported but undocumented). #3318
  • [ENHANCEMENT] Pushover Integration: Support user_key_file and token_file for loading this secret from a file. #3200
  • [ENHANCEMENT] Slack Integration: Support errors wrapped in successful (HTTP status code 200) responses. #3121
  • [ENHANCEMENT] API: Add CORS and Cache-Control HTTP headers to all version 2 API routes. #3195
  • [ENHANCEMENT] UI: Receiver name is now visible as part of the alerts page. #3289
  • [ENHANCEMENT] Templating: Better default text when using {{ .Annotations }} and {{ .Labels }}. #3256
  • [ENHANCEMENT] Templating: Introduced a new function trimSpace which removes leading and trailing white spaces. #3223
  • [ENHANCEMENT] CLI: amtool silence query now supports the --id flag to query an individual silence. #3241
  • [ENHANCEMENT] Metrics: Introduced alertmanager_nflog_maintenance_total and alertmanager_nflog_maintenance_errors_total to monitor maintenance of the notification log. #3286
  • [ENHANCEMENT] Metrics: Introduced alertmanager_silences_maintenance_total and alertmanager_silences_maintenance_errors_total to monitor maintenance of silences. #3285
  • [ENHANCEMENT] Logging: Log GroupKey and alerts on alert delivery when using debug mode. #3438
  • [BUGFIX] Configuration: Empty list of receivers and inhibit_rules would cause the alertmanager to crash. #3209
  • [BUGFIX] Templating: Fixed a race condition when using the title function. It is now race-safe. #3278
  • [BUGFIX] API: Fixed duplicate receiver names in the api/v2/receivers API endpoint. #3338
  • [BUGFIX] API: Attempting to delete a silence now returns the correct status code, 404 instead of 500. #3352
  • [BUGFIX] Clustering: Fixes a panic when tls_client_config is empty. #3443
  • [BUGFIX] Fix stored XSS via the /api/v1/alerts endpoint in the Alertmanager UI.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested review from a team as code owners August 25, 2023 02:41
@dependabot dependabot bot requested review from ademidoff, BupycHuk and artemgavrilov and removed request for a team August 25, 2023 02:41
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 25, 2023
@dependabot dependabot bot requested review from idoqo and JiriCtvrtka and removed request for a team August 25, 2023 02:41
@codecov
Copy link

codecov bot commented Aug 25, 2023

Codecov Report

Merging #2436 (f9b598e) into main (b4b1dbd) will increase coverage by 0.00%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2436   +/-   ##
=======================================
  Coverage   42.81%   42.82%           
=======================================
  Files         382      382           
  Lines       48101    48100    -1     
=======================================
+ Hits        20595    20598    +3     
+ Misses      25568    25567    -1     
+ Partials     1938     1935    -3     
Flag Coverage Δ
vmproxy 69.69% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
managed/services/alertmanager/emailer.go 0.00% <ø> (ø)

... and 2 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Bumps [github.com/prometheus/alertmanager](https://github.com/prometheus/alertmanager) from 0.25.0 to 0.26.0.
- [Release notes](https://github.com/prometheus/alertmanager/releases)
- [Changelog](https://github.com/prometheus/alertmanager/blob/main/CHANGELOG.md)
- [Commits](prometheus/alertmanager@v0.25.0...v0.26.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/alertmanager
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/prometheus/alertmanager-0.26.0 branch from dee389b to 1161b09 Compare August 25, 2023 09:18
@ademidoff
Copy link
Member

This one will eventually fix the CVE reported by https://github.com/percona/pmm/security/dependabot/33

@ademidoff ademidoff merged commit 5d52bd6 into main Aug 28, 2023
31 checks passed
@ademidoff ademidoff deleted the dependabot/go_modules/github.com/prometheus/alertmanager-0.26.0 branch August 28, 2023 09:53
ademidoff pushed a commit that referenced this pull request Aug 28, 2023
* Bump github.com/prometheus/alertmanager from 0.25.0 to 0.26.0

Bumps [github.com/prometheus/alertmanager](https://github.com/prometheus/alertmanager) from 0.25.0 to 0.26.0.
- [Release notes](https://github.com/prometheus/alertmanager/releases)
- [Changelog](https://github.com/prometheus/alertmanager/blob/main/CHANGELOG.md)
- [Commits](prometheus/alertmanager@v0.25.0...v0.26.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/alertmanager
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix: the FromGlobs parameters

* fix: rds_test since one more zone has been added by AWS

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Tymchuk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants