Releases: openconfig/ygot
Releases · openconfig/ygot
v0.7.3
Bug fix for ytypes.Validate
and other minor improvements.
- Changed
json.Unmarshal
tofmt.Sprint
for consistent enum-key presentation during schema validation (ytypes.Validate
). - Force an error during JSON marshalling if an unset or otherwise out-of-range enum value is encountered as an enum key of a list.
- Use new protobuf library for testcmp and testutils
- Updated to latest versions for gnmi & goyang libraries.
v0.7.2
Minor changes, bugfixes, and coverage improvements to ygen and ytypes.
- Check for nil keys in generated AppendXXX methods, avoiding NPEs in calling code when used incorrectly.
- Error out on any kind of nil input value when doing unmarshalling using gNMI encoding.
- Make GoEnum a stringer by outputting a logging-friendly message for String().
- Coverage improvements in genutil.
v0.7.1
Minor changes, performance improvements and bugfixes to ygot.
- Resolve a number of issues with struct merging in ygot, whereby values would be incorrectly overwritten.
- Create a new
MergeStructInto
which avoids a call toDeepCopy
which can be expensive if not required. - Changes to the pathgen library to change suffixes in the builder API