Releases: romshark/yamagiconf
Releases · romshark/yamagiconf
v0.6.0
v0.5.3
v0.5.2
- f920ada fix: Unmarshaling env var in arrays, slices and maps when iterating map pairs.
- f920ada fix: Iteration over sorted map keys.
- c41b190 fix: Missing error information when encountering an error during env unmarshaling.
- 8fddbde fix: Panic at validation of YAML values in
map
. - a248021 fix: Panic when decoding env var to nil pointer.
- 24b1578 fix: Prohibition of
env
struct tag on implementations ofyaml.Unmarshaler
. - 7d72f15 fix: Map key type check.
- bc3272b fix: Error message for
uint
which was previously the same as forint
.
v0.5.1
v0.5.0
v0.4.0
- feat: The use of YAML tags is no longer allowed.
- feat: Non-struct types and types that implement
yaml.Unmarshaler
and/orencoding.TextUnmarshaler
are no longer allowed to be used as the root type. - feat: Arbitrary unexported fields without
"env"
and"yaml"
struct tags are now allowed. - feat: The use of
"env"
and"yaml"
struct tags is no longer allowed within types that implementyaml.Unmarshaler
and/orencoding.TextUnmarshaler
to improve code clarity. - fix: A path placeholder
struct{...}
is now used for anonymous types which improves error reporting. Previously, the path from within an anonymous struct type would start with.
. - fix: A false-positive in the type recursion check was fixed.
v0.3.0
v0.2.2
!fix: env vars now also overwrite fields in structs inside maps, but this requires map
types to never use struct
values and instead require the map value to be a pointer to the struct.
fix: structs that implement the encoding.TextUnmarshaler
interface are no longer traversed, which fixes false-positive errors for struct types such as time.Time
.