8 Commits
Author SHA1 Message Date
3e09466c18 bump golangci-lint to 2.13.1 (#6129)
* bump golangci-lint to 2.13.1

* additional changes

---------

Co-authored-by: aler9 <46489434+aler9@users.noreply.github.com>
2026-08-22 16:57:28 +00:00
bluenviron-botandGitHub b83d5ac4b3 bump golangci-lint to 2.12.2 (#5727) 2026-05-10 17:54:18 +02:00
Alessandro RosandGitHub 3568c54a02 improve JSON decoder performance (#5526)
avoid decoding JSON twice.
2026-02-27 23:25:04 +01:00
Alessandro RosandGitHub a0bbdd9655 replace YAML parser (#5461)
switch from the unmaintained gopkg.in/yaml to goccy/go-yaml
2026-02-12 15:51:14 +01:00
4a559338ae improve JSON error message (#5412) (#5433)
Co-authored-by: Zaphkiel <duambi123@gmail.com>
2026-02-07 19:52:27 +01:00
Alessandro RosandGitHub a4561a8339 prevent setting slices to null (#5375)
In Golang, slices can be set to nil, while in most other languages they
cannot. This causes compatibility issues, especially because the
OpenAPI definition of the API does not allow slices to be nil. This
prevents slices from being set to nil through JSON/YAML, and
also sets default slices to an empty list instead of nil.
2026-01-25 19:49:39 +01:00
Alessandro RosandGitHub f4f795a2a6 simplify configuration parsing (#5372)
work around golang/go#21092 globally
2026-01-24 19:33:47 +01:00
Alessandro RosandGitHub 7ade2896e5 warn users when non-existent fields are used in conf (#4261) 2025-02-18 15:23:44 +01:00