Loading
Commits on Source 3
-
Oleksandr Redko authored
NotificationLevelValue.String indexed notificationLevelNames without a bounds check, so marshaling an out-of-range level panicked. Unknown levels now map to "disabled", matching how UnmarshalJSON treats unknown names. Also drop the notificationLevelTypes map, which duplicated notificationLevelNames, and look names up with slices.Index instead.
-
Florian Forster authored
fix(types): avoid panic on unknown notification level See merge request !3190
-
semantic-release-bot authored
## 3.54.1 ###
🐛 Bug Fixes - fix(types): avoid panic on unknown notification level ([!3190](!3190)) by [Oleksandr Redko](https://gitlab.com/alexandear) ## [3.54.1](https://gitlab.com/gitlab-org/api/client-go/compare/v3.54.0...v3.54.1) (2026-11-20) ### Bug Fixes * **types:** avoid panic on unknown notification level ([dcfbdd4e](dcfbdd4e))