Releases: moira-alert/moira
v2.11.0
Incompatible changes
- To realize the feature with multiple senders of the same type we have changed the configuration of senders in notifier config and web api config.
- It is necessary to replace the
contacts
field in the web config api withcontacts_template
. - It is also necessary to replace field
type
withsender_type
in notifier config and add fieldcontact_type
, which will refer totype
in web configcontacts_template
.
Major Changes
-
Add ability to scale senders with same type.
Read more in notifier docs.
#994 (by @almostinf) -
Add ability to use template webhook body and custom headers.
Read more in webhook docs.
#995 (by @almostinf)
Minor Changes
-
Add contacts logo uri to web config.
Read more in api docs.
#1005 (by @almostinf) -
Update go to 1.21.
#1008 (by @Tetrergeru)
Fixes
- Fix filter connection, heartbeat and create matching handler logs level.
#1010 (by @almostinf)
v2.10.0
Major Changes
-
Multiple clusters per trigger source. !! Config changes required in checker, notifier and api, see the docs.
#981 (by @Tetrergeru) -
Add admin permissions via list of admins in api. Admins can be configured via config
#996 #1001 (by @Tetrergeru) -
Fix sending notifications on muted and deleted triggers and muted metrics. Read more in notifier docs.
#966 (by @almostinf)
Minor Changes
-
Make triggers with seriesByTag function require at least one argument with a strict equality
#988 (by @mchrome) -
Add metrics for number of contacts
#1002 (by @almostinf) -
Add remove subscriptions command
#979 (by @almostinf) -
Add sentry dsn in web config
#973 (by @almostinf) -
Add platform field to get sentry handler
#982 (by @almostinf) -
Log triggers with critical time of check
#987 (by @Tetrergeru) -
Add api route for tags creation
#991 (by @almostinf) -
Add api for getting a single subscription
#998 (by @Tetrergeru)
Fixes
-
Fix fetching notifications by batch
#974 (by @almostinf) -
Fix nodata when toggling alone metrics checkbox
#983 (by @almostinf) -
Fix panic with alone and regular metrics
#984 (by @almostinf) -
Increase sleep and attempts count for lock
#985 #986 (by @kissken)
Dependencies
-
Update blackfriday slack to 0.1.2
#978 (by @Tetrergeru) -
Bump golang.org/x/crypto from 0.14.0 to 0.17.0
#977 (by @dependabot) -
Bump google.golang.org/protobuf from 1.31.0 to 1.33.0
#999 (by @dependabot)
Lints
v2.9.1
What’s Changed
Fixes
- Fix checker settings: add
max_parallel_prometheus_checks
and fix filling default settings
#972
(by @almostinf)
v2.9.0
Major Changes
-
Add Prometheus support. !! Config changes required to use prometheus, see the docs. #848 (by @Tetrergeru)
-
Filter apply regices the same way as graphite, see the docs for configuration. #923 #924 (by @lordvidex and @Tetrergeru)
-
Add swagger generated client (by @almostinf)
Minor Changes
-
Log failed notification only after several retries #906 (by @kissken)
-
Add metrics for the number of triggers by source #904 (by @Tetrergeru)
-
Add prometheus retries #909 (by @Tetrergeru)
-
Add notifier is alive metric in notifier-selfcheck #910 (by @kissken)
-
Add search by created by parameter #908 (by @almostinf)
-
Add error handling for regex compilation #933 (by @Tetrergeru)
Dependencies
Fixes
-
Fix switch to maintenance at set del #916 (by @almostinf)
-
Fix panics in checker and enable panic logging #928 #929 #939 (by @Tetrergeru)
-
Calculate RemoteAllowed based on remote/prom configs #945 (by @Pliner)
-
Add x-nullable annotation and fix documentaion in config handler #903 (by @almostinf)
v2.8.4
Fixed
- Uprade moira from 2.7 to 2.8
- Now notifier configs must use exact types (now you can't use
"true"
in boolean fields, onlytrue
)
v2.8.3
What's changed
Major features
- Collect history of sent notifications by @ejuravlev (#846)
- Change PR Action logic to trigger build from comment and support build on forks @kotbauk (#868)
Other
- Trigger with duplicated metrics now has EXCEPTION state instead of ERROR by @almostinf (#875)
- Add support for sprig library in trigger description templates by @gODeaLoAple (#876)
- Add EXCEPTION state to the list of daily reminded states by @Tetrergeru (#878)
- Add validation of the list of used variables in trigger expressions by @almostinf (#881)
- Stricter validation of trigger ids by @almostinf (#887)
- Add timezone to messages in notifier by @almostinf (#885)
- Add swagger generation by @almostinf (#891)
v2.8.2
v2.8.1
Known issues
‼️ Broke anonymous user subscriptions and contact, fix in https://github.com/moira-alert/moira/releases/tag/v2.8.2
What's Changed
- Updated golang to 1.18 by @Dimedrolity in #775
- Upgraded dependencies by @Dimedrolity in #776
- Add support for sentinel auth by @DreidSpb in #847
Full Changelog: v2.8.0...v2.8.1
v2.8.0
What's Changed
Known issues
‼️ Broke anonymous user subscriptions and contact, fix in https://github.com/moira-alert/moira/releases/tag/v2.8.2
Breaking
‼️ Update carbonapi to 0.16.0 by @Tetrergeru in #822‼️ Replace flat logs with structured logging by @Tetrergeru in #819 and #811
Other
-
‼️ Fix regex in series by tag parser by @balalay12 in #825 -
Validate trigger target on create/update by @Dimedrolity in #817
-
Add created_by and updated_by for trigger by @kissken in #824
-
Make strings.Split function available in description templates by @kotbauk in #843
-
Added cleanup abandoned tags by @Dimedrolity in #773
New Contributors
Full Changelog: v2.7.2...v2.8.0
v2.7.2
What's Changed
⚠️ Cleanup (to clean users) named cleanup-users now- Don't write into Redis old metrics by @kissken #757
‼️ Moira will ignore tag order in tag metrics and will sort them alphabetically by @zhelyabuzhsky #758- Mattermost support by @Dimedrolity #791
- Checker can run in multiple instances by @maksgalimz #802
Full Changelog: v2.7.1...v2.7.2