Releases: openconfig/ygot
Releases · openconfig/ygot
v0.18.1
Breaking Changes
- If you currently use the
Validate()in theygot.ValidatedGoStructinterface, you must change these calls toΛValidate().
What's Changed
- Add code to generate IR (not used). by @wenovus in #644
- Rename goGenState to GoLangMapper. by @wenovus in #646
- rename
ValidatetoΛValidateby @steiler in #643
New Contributors
Full Changelog: v0.18.0...v0.18.1
v0.18.0
What's Changed
- Presence Containers (JSON marshalling/unmarshalling support) by @hansthienpondt in #645
- Remove log that is always generated for annotation fields. by @robshakir in #652
- Create FindShadowSchemaPath by @DanG100 in #654
- Revert behaviour to not prepend non-root top-level fields in JSON rendering by @wenovus in #653
NOTE: This release reverts the default JSON rendering behaviour to v0.16.3 due to unclear RFC specification in discussion at #648.
Full Changelog: v0.17.0...v0.18.0
v0.17.0
What's Changed
- Don't prepend module name for in-namespace fields of a non-root-level GoStruct #638.
- Deprecate the
GoStructinterface. It is now replaced by theValidatedGoStructinterface. In spite of its name, this interface is intended to encompass all methods of all Go structs that are always generated regardless of what generation flag is used (ref).
Full Changelog: v0.16.3...v0.17.0
v0.16.3
v0.16.2
What's Changed
- Update
uexampleoc'supdate.shgeneration flags by @wenovus in #633 - Add option for
RFC7951JSONConfigto prepend module names only for identityrefs by @wenovus in #631- NOTE: This is a non-standard behaviour and should not be used for any implementation aiming to utilize standard RFC7951 behaviour.
- [cosmetic]: Change relevant instances of append -> prepend by @wenovus in #632
Full Changelog: v0.16.1...v0.16.2
v0.16.1
What's Changed
- Sanitise defVal for enumDefaultValue() by @hansthienpondt in #630
- Add Go Reference badge by @wenovus in #629
New Contributors
- @hansthienpondt made their first contribution in #630
Full Changelog: v0.16.0...v0.16.1
v0.16.0
What's Changed
- Specify latest release of staticcheck rather than HEAD. by @robshakir in #624
- Fix leaf-list validation when it is a relative path leafref by @wenovus and @hansthienpondt in #626
Note: There is a backwards-incompatible change in util.ForEachField if you use NodeInfo.PathFromParent, where compressed list (map/slice) elements no longer have a trimmed path.
Full Changelog: v0.15.1...v0.16.0
v0.15.1
v0.15.0
NOTE: The minor version has been incremented due to this backwards-incompatible change (openconfig/goyang#139) made in goyang@v1.
What's Changed
- Fix doc typos in flag names by @wenovus in #620
- Support leaf-list defaults using latest version of goyang. by @wenovus in #618
- Now using [email protected].
Full Changelog: v0.14.0...v0.15.0
v0.14.0
What's Changed
- Fix BGP demo. by @robshakir in #616
- Update goyang dep to v0.4.0. by @wenovus in #617
- This change included a potentially disruptive goyang backwards-incompatible update, see openconfig/goyang#188 (comment).
Full Changelog: v0.13.2...v0.14.0