Skip to content

Releases: openconfig/ygot

v0.10.13

11 Jun 04:43
7889ea7
Compare
Choose a tag to compare
  • Add the JoinPaths gNMI utility function.

v0.10.12

07 Jun 20:48
449c150
Compare
Choose a tag to compare
  • Fix bug in protomap's handling of nil list members within a ygot-generated protobuf.

v0.10.11

26 May 21:58
75ebd15
Compare
Choose a tag to compare
  • Add LocalGoTypeName to NodeDataMap for ypathgen.
  • Add option for ytypes.[Set/Get/GetCreate/Delete]Node() for reversing "shadow-path" and "path" behaviour.

v0.10.10

19 May 01:09
172a0e6
Compare
Choose a tag to compare
  • Add new path generation flag -simplify_wildcard_paths.
    • When this flag is enabled, the keys from the generated paths are omitted if all keys are wildcarded for a list node. This is an equivalent representation for the path per the gNMI spec. e.g. map[string]interface{}{"key1": "*", "key2": "*", "union-key": "*"} is now map[string]interface{}{}.
  • Add new RFC7951JSONConfig option PreferShadowPath that allows JSON marshalling to prefer using the "shadow-path" name instead of the "path" name.

v0.10.9

12 May 19:04
9e9160f
Compare
Choose a tag to compare
  • encode empty list as [] instead of null when using RFC7951 encoding (credits @cyrilMargaria)

v0.10.8

03 May 17:19
13d6af5
Compare
Choose a tag to compare

Added option -generate_wildcard_paths for ypathgen to allow to avoid generating wildcard paths. list_builder_key_threshold is nullified if no wildcard paths is generated.

v0.10.7

30 Apr 21:38
685d47b
Compare
Choose a tag to compare
  • Allow state to be excluded when generating path structs.
    • This is now enabled via the existing -exclude_state flag for generator.go, and a new field ExcludeState in ypathgen's GenConfig struct.

v0.10.5

22 Apr 16:17
bb56b0a
Compare
Choose a tag to compare
  • Add support for adding go_package annotations within generated protobufs to meet new protoc-gen-go requirements. This option is accessible through a command line flag to proto_generator.
  • Misc housekeeping (Go modules update).

v0.10.4

10 Apr 00:42
7437d3c
Compare
Choose a tag to compare
  • Adds the ability to specify an -include_descriptions flag on the generate command for Go code (@SeanCondon).
  • Cache regexp compilations during string validation of GoStructs to improve validate performance.

v0.10.3

25 Mar 16:49
318cf86
Compare
Choose a tag to compare
  • Code style: remove a superfluous nil check.