Skip to content

Releases: openconfig/ygot

v0.13.2

14 Jan 18:12
57d8e7c

Choose a tag to compare

What's Changed

  • Field numbers for multi-key leafs pointing to the same field should be unique. by @wenovus in #610

Full Changelog: v0.13.1...v0.13.2

v0.13.1

06 Jan 22:19
426a1fd

Choose a tag to compare

What's Changed

  • Add Go generation flag generate_populate_defaults. by @wenovus in #607

Full Changelog: v0.13.0...v0.13.1

v0.13.0

23 Dec 15:42
3149021

Choose a tag to compare

What's Changed

  • Do not Clone PathElems when creating a map value's path. by @wenovus in #609

Full Changelog: v0.12.6...v0.13.0

v0.12.6

30 Nov 20:36
032d1f4

Choose a tag to compare

What's Changed

  • Skip choice and case statements when searching leafref paths. by @wenovus in #586
  • Improve generated doc comments for goPathChildConstructorTemplate. by @wenovus in #602
  • Use reflect.DeepEqual instead of cmp.Equal. by @wenovus in #606
  • Add check for empty origin special case by @DanG100 in #608

Full Changelog: v0.12.5...v0.12.6

v0.12.5

09 Nov 23:01
ef8f2a1

Choose a tag to compare

What's Changed

  • [ypathgen]: Reduce code snippet size in TestGenerateDirectorySnippet. by @wenovus in #598
  • Fix static analysis errors. by @robshakir in #603
  • Replace IsConfig()'s implementation with goyang's ReadOnly(). by @wenovus in #604
  • Add ygot.PruneConfigFalse(*yang.Entry, GoStruct) for pruning "config false" values. by @wenovus in #600
  • Add util function PathMatchesQuery by @DanG100 in #601

Full Changelog: v0.12.4...v0.12.5

v0.12.4

14 Oct 00:03
3e1bf44

Choose a tag to compare

  • [bug]: SetNode: Don't Initialize Leaf Path if unmarshal fails when InitMissingElements is set.

v0.12.3

13 Oct 21:55
0cb8659

Choose a tag to compare

  • [ypathgen]: Add flag custom package suffix (@DanG100)

v0.12.2

08 Oct 18:04
26a85b4

Choose a tag to compare

  • [ypathgen]: Use correct schema entry for determining package name.

v0.12.1

30 Sep 17:22
a776802

Choose a tag to compare

  • [ypathgen] Allow generation of multiple path struct packages instead of one single package (@DanG100).
  • [ypathgen] add GoPathPackageName to NodeData (@DanG100).
  • [ypathgen] ResolvePath should return a non-nil PathElem message.
  • Don't import ywrapper and yext proto files if not used.
  • Update proto generation commands to the most recent and update README.

v0.12.0

16 Aug 19:26
816a0f6

Choose a tag to compare

  • Fix bug when JSON Marshalling augments when using compressed schemas where the augmented node is within config/state.
  • Improve testing coverage a little and minor refactoring.
  • Generate enumerated types in ΛEnumTypes in schema order to ensure that when unmarshalling string -> union type, that the enumerated types will be looped through in the right order (see #430).
  • Reject relative paths for leafref's path statement.
  • Update goyang dep to v0.2.9, which includes fix for openconfig/goyang#131.
  • Add go:generate directives for (u)exampleoc/... generated code.