William Crum
ab55d41986
chore: move to sigs.k8s.io/yaml
...
move to a maintained fork of gopkg.in/yaml.v2 / v3
2025-04-07 17:44:58 -06:00
Oleksandr Redko
c4dcd31f68
fix: godot lint issues
2023-11-30 21:20:53 +07:00
Oleksandr Redko
b5daec6e7b
test: Replace ifs with asserts to simplify tests
2023-10-14 02:12:35 +02:00
Oleksandr Redko
3d006fe361
refactor: replace interface{} with any
2023-10-01 17:04:26 +02:00
Mark Sagi-Kazar
e42b933dbe
feat!: drop yaml v2 support
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2023-01-19 16:02:48 +01:00
Mark Sagi-Kazar
8d0299919d
feat: make yaml3 the default
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2022-05-26 17:27:50 +02:00
Mark Sagi-Kazar
98c10c3c31
test(encoding): fix failing tests due to the yaml library update
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2022-01-01 18:16:38 +01:00
Mark Sagi-Kazar
f8a13cf704
feat(encoding): experimental yaml v3 library support
2022-01-01 18:16:38 +01:00
Mark Sagi-Kazar
e1924e3858
test(encoding): add tests for existing encoding implementations
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-12-15 22:31:11 +01:00
Mark Sagi-Kazar
4b307cc0f3
feat(encoding)!: accept a map in the encoder interface
...
This interface is specific to encoding data from Viper's internal,
so it's okay to make it Viper specific.
BREAKING CHANGE: the encoder interface now accepts a map instead of an interface
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-12-15 22:31:11 +01:00
Mark Sagi-Kazar
e54e7a53a5
feat(encoding)!: accept a map in the decoder interface
...
This interface is specific to decoding data into Viper's internal,
so it's okay to make it Viper specific.
BREAKING CHANGE: the decoder interface now accepts a map instead of an
interface
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-12-15 22:31:11 +01:00
Mark Sagi-Kazar
0e854bf27b
feat(encoding): Add yaml codec
2021-06-25 14:26:08 +02:00