Skip to content

Releases: openconfig/ygot

v0.24.4

14 Sep 19:41
076ea7e
Compare
Choose a tag to compare

What's Changed

  • Utility to Unmarshal SetRequest and Notifications to a root GoStruct. by @wenovus in #726

Full Changelog: v0.24.3...v0.24.4

v0.24.3

01 Sep 23:19
77d1f74
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.24.1...v0.24.3

v0.24.2

05 Aug 18:07
f9326f6
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.24.0...v0.24.2

v0.24.1

25 Jul 18:22
f9326f6
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.24.0...v0.24.1

v0.24.0

20 Jul 23:28
f50653f
Compare
Choose a tag to compare

Backwards-Incompatible Changes (util)

  • Rename util.SchemaTreeRoot -> util.TopLevelModule by @wenovus in #709

Other Changes

  • Update gnmi repo and support unmarshalling double_val by @wenovus in #714

Full Changelog: v0.23.1...v0.24.0

v0.23.1

16 Jun 20:52
ef62b64
Compare
Choose a tag to compare

What's Changed

  • Add ability split path structs into multiple files when splitting by modules by @DanG100 in #707

Full Changelog: v0.23.0...v0.23.1

v0.23.0

09 Jun 17:59
0793c34
Compare
Choose a tag to compare

This release contains a major refactoring of existing code generation functions and types that has many backwards-incompatible changes for the ygen package in anticipation of a v1 release later this year. Generated code is not affected since the previous release apart from a bug fix to proto generation.

Backwards-Incompatible Changes (ygen)

  • Merge MappedType's UnionTypeInfo into UnionTypes. by @wenovus in #684
  • Split Go generation into gogen package. by @wenovus in #695
  • Split Proto generation into protogen package. #696
  • Delete StoreRawSchema from GeneratorConfig since it's not being used #705
  • Reorganize Code Generation flags and Delete ygen.GeneratorConfig #706
  • Delete YANGCodeGenerator.GetDirectoriesAndLeafTypes #694
  • Several changes to the IR definition.

What's Changed

  • Remove expectation that nil maps and slices (YANG lists) are initialized by BuildEmptyTree by @wenovus in #702
  • Codify that nil map marshals to null in JSON by @wenovus in #701
  • Update generated (u)?exampleoc and dependent tests. by @robshakir in #704
  • Make EnumeratedYANGType.IdentityBaseName exported. by @wenovus in #688

Full Changelog: v0.22.1...v0.23.0

  • For a full list of changes, see PRs #688 - #706 inclusive.

v0.22.1

27 May 19:02
9743b45
Compare
Choose a tag to compare

Backwards-Incompatible Changes

  • trim_path_package_oc_prefix is changed to trim_path_package_prefix for PathStruct generation

What's Changed

  • allow an arbitrary prefix to be trimmed from package names by @greg-dennis in #682
  • Fix MergeEmptyMap for MergeStructs and add schema_test by @wenovus in #686
  • Change -trim_package_prefix to -trim_path_package_prefix by @wenovus in #687

Full Changelog: v0.21.0...v0.22.1

v0.21.0

25 May 23:43
2b68a64
Compare
Choose a tag to compare

Backwards-Incompatible Changes

  • Delete enum flags for proto_generator by @wenovus in #667
    • -typedef_enum_with_defmod and -consistent_union_enum_names have been deleted and are now true by default.

What's Changed

  • Add MergeOpt MergeEmptyMaps to allow an empty map to be merged. by @wenovus in #685
  • GenerateProto3 uses IR for Code Generation.
    • NOTE: Some of the new ygen types (e.g. ProtoLangMapper) will be moved to a new package in the near future.
    • Rename protoGenState to ProtoLangMapper by @wenovus in #668
    • Change IR.Enums map's key to be a unique key instead of the enum's name. by @wenovus in #669
    • Add MappedType.UnionTypeInfos by @wenovus in #670
    • Full ProtoLangMapper Support for GenerateIR and add proto IR tests in genir_test.go by @wenovus in #671

Full Changelog: v0.20.2...v0.21.0

v0.20.2

23 May 21:53
de28b19
Compare
Choose a tag to compare

What's Changed

  • Add ConfigFalse field to IR's ParsedDirectories. by @wenovus in #681
  • Add ShadowSchemaPath field to IR's YANGDetails. by @wenovus in #683

Full Changelog: v0.20.1...v0.20.2