Skip to content

Commit 7e2901b

Browse files
authored
Merge pull request #658 from fluxcd/release-v1.2.0
Release v1.2.0
2 parents 5500739 + 3a22adb commit 7e2901b

File tree

3 files changed

+73
-2
lines changed

3 files changed

+73
-2
lines changed

CHANGELOG.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,77 @@
22

33
All notable changes to this project are documented in this file.
44

5+
## 1.2.0
6+
7+
**Release date:** 2023-12-05
8+
9+
This minor release graduates the notification `Alert` and `Provider` APIs to
10+
`v1beta3`. In addition, this version comes with alert Provider support for
11+
[BitBucket
12+
Server](https://github.com/fluxcd/notification-controller/blob/api/v1.2.0/docs/spec/v1beta3/providers.md#bitbucket-serverdata-center)
13+
and
14+
[NATS](https://github.com/fluxcd/notification-controller/blob/api/v1.2.0/docs/spec/v1beta3/providers.md#nats).
15+
16+
### `notification.toolkit.fluxcd.io/v1beta3`
17+
18+
After upgrading the controller to v1.2.0, please update the notification Custom
19+
Resources for `Alert` and `Provider` in Git by replacing
20+
`notification.toolkit.fluxcd.io/v1beta2` with
21+
`notification.toolkit.fluxcd.io/v1beta3` in all the YAML manifests.
22+
23+
#### Static Alerts and Providers
24+
25+
The notification Alert and Provider API resources will become static objects
26+
with configurations that will be used by the event handlers for processing the
27+
respective incoming events. They will no longer be reconciled by a reconciler
28+
and will not advertise any status. Once `Alerts` and `Providers` are created,
29+
they can be considered ready. Users of
30+
[kstatus](https://github.com/kubernetes-sigs/cli-utils/blob/master/pkg/kstatus/README.md)
31+
shouldn't see any difference. Existing `Alerts` and `Providers` objects in
32+
`v1beta2` API will undergo a one-time automatic migration to be converted into
33+
static objects without any status.
34+
35+
#### Enhanced Alert events
36+
37+
The event handler will emit Kubernetes native events on the respective Alert
38+
object for any relevant information, including failures due to any
39+
misconfiguration.
40+
41+
Improvements:
42+
- Add Provider for NATS Subject
43+
[#651](https://github.com/fluxcd/notification-controller/pull/651)
44+
- Cap provider address at 2048 bytes
45+
[#654](https://github.com/fluxcd/notification-controller/pull/654)
46+
- Refactor events and introduce v1beta3 API for Alert and Provider
47+
[#540](https://github.com/fluxcd/notification-controller/pull/540)
48+
- Add Bitbucket server/Bitbucket Data Center provider for git commit status
49+
[#639](https://github.com/fluxcd/notification-controller/pull/639)
50+
- Address miscellaneous issues throughout code base
51+
[#627](https://github.com/fluxcd/notification-controller/pull/627)
52+
- Update dependencies
53+
[#609](https://github.com/fluxcd/notification-controller/pull/609)
54+
[#612](https://github.com/fluxcd/notification-controller/pull/612)
55+
[#613](https://github.com/fluxcd/notification-controller/pull/613)
56+
[#617](https://github.com/fluxcd/notification-controller/pull/617)
57+
[#621](https://github.com/fluxcd/notification-controller/pull/621)
58+
[#623](https://github.com/fluxcd/notification-controller/pull/623)
59+
[#628](https://github.com/fluxcd/notification-controller/pull/628)
60+
[#629](https://github.com/fluxcd/notification-controller/pull/629)
61+
[#632](https://github.com/fluxcd/notification-controller/pull/632)
62+
[#635](https://github.com/fluxcd/notification-controller/pull/635)
63+
[#637](https://github.com/fluxcd/notification-controller/pull/637)
64+
[#641](https://github.com/fluxcd/notification-controller/pull/641)
65+
[#643](https://github.com/fluxcd/notification-controller/pull/643)
66+
[#646](https://github.com/fluxcd/notification-controller/pull/646)
67+
[#648](https://github.com/fluxcd/notification-controller/pull/648)
68+
[#652](https://github.com/fluxcd/notification-controller/pull/652)
69+
[#656](https://github.com/fluxcd/notification-controller/pull/656)
70+
[#657](https://github.com/fluxcd/notification-controller/pull/657)
71+
72+
Fixes:
73+
- Fix README.md links to notification APIs
74+
[#619](https://github.com/fluxcd/notification-controller/pull/619)
75+
576
## 1.1.0
677

778
**Release date:** 2023-08-23

config/manager/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ resources:
66
images:
77
- name: fluxcd/notification-controller
88
newName: fluxcd/notification-controller
9-
newTag: v1.1.0
9+
newTag: v1.2.0

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ require (
1414
github.com/PagerDuty/go-pagerduty v1.7.0
1515
github.com/containrrr/shoutrrr v0.8.0
1616
github.com/fluxcd/cli-utils v0.36.0-flux.1
17-
github.com/fluxcd/notification-controller/api v1.1.0
17+
github.com/fluxcd/notification-controller/api v1.2.0
1818
github.com/fluxcd/pkg/apis/event v0.6.0
1919
github.com/fluxcd/pkg/apis/meta v1.2.0
2020
github.com/fluxcd/pkg/git v0.16.0

0 commit comments

Comments
 (0)