From 696f065673af6bf1e37943d9f58db52411352ad5 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Mon, 6 May 2024 14:34:06 +0300 Subject: [PATCH 1/2] Add changelog entry for v1.3.0 Signed-off-by: Stefan Prodan --- CHANGELOG.md | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index de2aa4007..45df95810 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,57 @@ All notable changes to this project are documented in this file. +## 1.3.0 + +**Release date:** 2024-05-06 + +This minor release comes with new features, improvements and bug fixes. + +The `Receiver` API has been extended to support CDEvents, +for more information, please see the +[CDEvents Receiver API documentation](https://github.com/fluxcd/notification-controller/blob/release/v1.3.x/docs/spec/v1/receivers.md#cdevents). + +Starting with this version, the controller allows grouping alerts for Alertmanager +by setting the `startsAt` label instead of `timestamp`. When sending alerts to +OpsGenie, the controller now sets the `severity` field to the alert's details. + +In addition, the controller dependencies have been updated to Kubernetes v1.30 +and controller-runtime v0.18. Various other dependencies have also been updated to +their latest version to patch upstream CVEs. + +Lastly, the controller is now built with Go 1.22. + +Improvements: +- Add CDEvent Receiver Support + [#772](https://github.com/fluxcd/notification-controller/pull/772) +- Add severity to opsgenie alerts + [#796](https://github.com/fluxcd/notification-controller/pull/796) +- Alertmanager: Change timestamp label to .StartsAt + [#795](https://github.com/fluxcd/notification-controller/pull/795) +- Use `password` as fallback for the Git provider `token` auth + [#790](https://github.com/fluxcd/notification-controller/pull/790) +- Add support for Bitbucket Context path + [#747](https://github.com/fluxcd/notification-controller/pull/747) +- Various dependency updates + [#816](https://github.com/fluxcd/notification-controller/pull/816) + [#814](https://github.com/fluxcd/notification-controller/pull/814) + [#813](https://github.com/fluxcd/notification-controller/pull/813) + [#810](https://github.com/fluxcd/notification-controller/pull/810) + [#809](https://github.com/fluxcd/notification-controller/pull/809) + [#787](https://github.com/fluxcd/notification-controller/pull/787) + [#783](https://github.com/fluxcd/notification-controller/pull/783) + [#763](https://github.com/fluxcd/notification-controller/pull/763) + +Fixes: +- Sanitize provider data loaded from secret + [#789](https://github.com/fluxcd/notification-controller/pull/789) +- Fix timeout propagation for alerts + [#757](https://github.com/fluxcd/notification-controller/pull/757) +- Fix Telegram MarkdownV2 escaping + [#776](https://github.com/fluxcd/notification-controller/pull/776) +- Remove `genclient:Namespaced` tag + [#749](https://github.com/fluxcd/notification-controller/pull/749) + ## 1.2.4 **Release date:** 2024-02-01 From a8f81b3a001e0210dda382efdc59a5f8aa1a18c9 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Mon, 6 May 2024 14:34:36 +0300 Subject: [PATCH 2/2] Release v1.3.0 Signed-off-by: Stefan Prodan --- config/manager/kustomization.yaml | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/manager/kustomization.yaml b/config/manager/kustomization.yaml index 7ecee844b..1a16a1dd4 100644 --- a/config/manager/kustomization.yaml +++ b/config/manager/kustomization.yaml @@ -6,4 +6,4 @@ resources: images: - name: fluxcd/notification-controller newName: fluxcd/notification-controller - newTag: v1.2.0 + newTag: v1.3.0 diff --git a/go.mod b/go.mod index 1da357c86..bab956fba 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,7 @@ require ( github.com/chainguard-dev/git-urls v1.0.2 github.com/containrrr/shoutrrr v0.8.0 github.com/fluxcd/cli-utils v0.36.0-flux.7 - github.com/fluxcd/notification-controller/api v1.2.0 + github.com/fluxcd/notification-controller/api v1.3.0 github.com/fluxcd/pkg/apis/event v0.9.0 github.com/fluxcd/pkg/apis/meta v1.5.0 github.com/fluxcd/pkg/git v0.19.0