Skip to content

Releases: openconfig/ygot

v0.20.1

20 May 17:48
178606e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.20.0...v0.20.1

v0.20.0

09 May 21:29
6f722a0
Compare
Choose a tag to compare

TLDR

  • ytypes.UnmarshalFunc and ytypes.MergeStructs now take in ygot.GoStruct instead of ygot.ValidatedGoStruct. This may break existing code.
  • All backwards-incompatible changes (except a minor change #658) made since v0.17.0 are now reverted or made compatible once again.

What's Changed

NOTE: This change is backwards-incompatible because of the following:

  • it reverts the definition of ygot.ValidatedGoStruct that was changed in v0.18.0. It further reverts the remaining backwards-incompatible changes made in v0.18.1 and v0.17.0.
  • ytypes.UnmarshalFunc and ytypes.MergeStructs now take in ygot.GoStruct instead of ygot.ValidatedGoStruct.

Full Changelog: v0.19.0...v0.20.0

v0.19.0

05 May 22:53
a730317
Compare
Choose a tag to compare

What's Changed

  • Update IR to Support Go Generation by @wenovus in #650
  • Convert GenerateGoCode to use IR for Code Generation. by @wenovus in #651
  • workaround for map declaration limit (ΛEnumTypes) by @steiler in #641
  • Add new Fields to IR to support path API generation by @wenovus in #655
  • Rename ResolvedPath to LeafrefTargetPath by @wenovus in #658
  • Improve ΛBelongingModule() comment by @wenovus in #659
  • Add a new JSON unmarshal option that prefers the shadow path values. by @wenovus in #661
  • Allow JSON input for ytypes.SetNode by @wenovus in #662

Full Changelog: v0.18.1...v0.19.0

v0.18.1

26 Apr 17:25
c2a594c
Compare
Choose a tag to compare

Breaking Changes

  • If you currently use the Validate() in the ygot.ValidatedGoStruct interface, you must change these calls to ΛValidate().

What's Changed

New Contributors

Full Changelog: v0.18.0...v0.18.1

v0.18.0

25 Apr 17:52
d5a8afe
Compare
Choose a tag to compare

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

13 Apr 16:52
c15884d
Compare
Choose a tag to compare

What's Changed

  • Don't prepend module name for in-namespace fields of a non-root-level GoStruct #638.
  • Deprecate the GoStruct interface. It is now replaced by the ValidatedGoStruct interface. 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

31 Mar 16:37
a161c48
Compare
Choose a tag to compare

What's Changed

  • Fix leaf-list Unmarshal to replace instead of appending values. by @wenovus in #635

Full Changelog: v0.16.2...v0.16.3

v0.16.2

24 Mar 22:26
ade4651
Compare
Choose a tag to compare

What's Changed

  • Update uexampleoc's update.sh generation flags by @wenovus in #633
  • Add option for RFC7951JSONConfig to 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

22 Mar 17:53
1294a4a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.16.0...v0.16.1

v0.16.0

15 Mar 17:37
c238422
Compare
Choose a tag to compare

What's Changed

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