Skip to content

v0.10.2

Compare
Choose a tag to compare
@wenovus wenovus released this 24 Mar 23:22
· 275 commits to master since this release
25f3c35
  • Fix default value generation for non-singleton unions in leaf getters when -generate_simple_unions=true. Errors out for -generate_simple_unions=false.
  • ygot now checks that the default statement's value conforms to the type's restrictions. However, note there is a goyang bug with respect to the inheritance of max and min values that makes the check overly-lenient in some cases: openconfig/goyang#128.
    • NOTE: Previously passing generation will now fail if there is a default statement that doesn't conform to the type restrictions. Notably, pyang did not catch this error for leafref statements.
  • Generate default values for decimal64 and unions correctly.
    • NOTE: Previously passing generation will now fail if there is a default statement for a YANG typedef decimal64 or typedef union statement that's used as a leaf type in the compiled YANG models and -generate_simple_unions=false.
  • Fix where unsupported types were producing non-compilable code when -generate_simple_unions=true.
  • Improve inclusiveness of codebase terminology.