Ygot Versions Save

A YANG-centric Go toolkit - Go/Protobuf Code Generation; Validation; Marshaling/Unmarshaling

v0.29.9

9 months ago

What's Changed

Full Changelog: https://github.com/openconfig/ygot/compare/v0.29.8...v0.29.9

v0.29.8

10 months ago

What's Changed

Full Changelog: https://github.com/openconfig/ygot/compare/v0.29.7...v0.29.8

v0.29.7

10 months ago

What's Changed

Full Changelog: https://github.com/openconfig/ygot/compare/v0.29.6...v0.29.7

v0.29.6

10 months ago

What's Changed

Full Changelog: https://github.com/openconfig/ygot/compare/v0.29.5...v0.29.6

v0.29.5

10 months ago

Fixes

This release fixes a build error due to not pinning the experimental slices package. The Go team made a backwards-incompatible change to this package in the last 24 hours presumably in preparation for making it as part of the standard library in Go 1.21. The version has now been pinned in go.mod to avoid this issue.

What's Changed

New Contributors

Full Changelog: https://github.com/openconfig/ygot/compare/v0.29.4...v0.29.5

v0.29.4

10 months ago

Compatibility Notice

  • This release fixed an issue whereby ordered by user lists for Internal JSON format was generating non-backwards-compatible JSON.

What's Changed

Full Changelog: https://github.com/openconfig/ygot/compare/v0.29.3...v0.29.4

v0.29.3

10 months ago

What's Changed

Full Changelog: https://github.com/openconfig/ygot/compare/v0.29.2...v0.29.3

v0.29.2

10 months ago

What's Changed

Full Changelog: https://github.com/openconfig/ygot/compare/v0.29.1...v0.29.2

v0.29.1

10 months ago

What's Changed

Full Changelog: https://github.com/openconfig/ygot/compare/v0.29.0...v0.29.1

v0.29.0

11 months ago

Backwards-incompatible Changes

  • Ygot now supports ordered-by user lists via generating a custom Go struct satisfying the ygot.GoOrderedMap interface.
    • Migration notes:
      • Any existing GetOrCreate methods are removed and must be replaced by AppendNew methods, which now returns an error when there is an existing element. For a full set of methods see here, or here for an example generated code with ordered maps.
      • Associated gNMI scalar-based marshal helpers now assume that ygot.OrderedMap types are telemetry-atomic and generate a single atomic Notification for the entire ordered map in order to preserve list element ordering.
      • This struct contains unexported fields, and so you may experience a panic when comparing these types using cmp. You may consider changing these comparisons to use ygot.Diff.
      • To avoid this generation, set -generate_ordered_maps=false when calling the ygot generator. However, this means ygot will marshal such configuration in a random order, since the built-in Go map type does not preserve element ordering. Notably, this applies to OpenConfig BGP policy statements (see this for discussion on adding telemetry-atomic).

What's Changed

New Contributors

Full Changelog: https://github.com/openconfig/ygot/compare/v0.28.3...v0.29.0