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