Releases: openconfig/ygot
Releases · openconfig/ygot
v0.24.4
v0.24.3
What's Changed
- Run
gofmt
on the codebase. by @robshakir in #722 - Support PreferShadowPath for ygot.Diff. by @wenovus in #723
Full Changelog: v0.24.1...v0.24.3
v0.24.2
What's Changed
- Use [email protected]. by @wenovus in #718
- Add Go generation flag
ignore_unsupported
by @wenovus in #712
Full Changelog: v0.24.0...v0.24.2
v0.24.1
What's Changed
- Use [email protected]. by @wenovus in #718
- Add Go generation flag
ignore_unsupported
by @wenovus in #712
Full Changelog: v0.24.0...v0.24.1
v0.24.0
v0.23.1
v0.23.0
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
'sUnionTypeInfo
intoUnionTypes
. by @wenovus in #684 - Split Go generation into
gogen
package. by @wenovus in #695 - Split Proto generation into
protogen
package. #696 - Delete
StoreRawSchema
fromGeneratorConfig
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
v0.22.1
Backwards-Incompatible Changes
trim_path_package_oc_prefix
is changed totrim_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
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
toProtoLangMapper
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 forGenerateIR
and add proto IR tests ingenir_test.go
by @wenovus in #671
- NOTE: Some of the new ygen types (e.g.
Full Changelog: v0.20.2...v0.21.0