Skip to content

Releases: openconfig/ygot

v0.7.3

23 Apr 19:20
d841da9
Compare
Choose a tag to compare

Bug fix for ytypes.Validate and other minor improvements.

  • Changed json.Unmarshal to fmt.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

14 Apr 17:06
9150fb3
Compare
Choose a tag to compare

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

02 Apr 18:19
c23bb15
Compare
Choose a tag to compare

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 to DeepCopy which can be expensive if not required.
  • Changes to the pathgen library to change suffixes in the builder API

v0.7.0

27 Mar 18:49
dde7fec
Compare
Choose a tag to compare

Currently stable version of ygot in use in production environments.

v0.6.0

11 Jun 00:15
Compare
Choose a tag to compare

Currently stable version of ygot in use in production environments.