Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/openconfig/ygot from 0.28.3 to 0.29.0 #168

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 3, 2023

Bumps github.com/openconfig/ygot from 0.28.3 to 0.29.0.

Release notes

Sourced from github.com/openconfig/ygot's releases.

v0.29.0

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

... (truncated)

Commits
  • ec273a7 Add generation flag to ordered maps (#884)
  • efad7f9 Added UnmarshalOpt to allow a best effort unmarshal (#863)
  • a2af562 Export function for determining name of a keyed, unordered map. (#882)
  • 6198aa1 Add TelemetryAtomic-related fields to IR. (#881)
  • dfbe14e Add OrderedList type to IR (#879)
  • 2060d30 Make variable a function (#878)
  • e9abcd4 Uncompressed ordered map tests for ytypes (#873)
  • 7c99f87 Uncompressed ordered map tests in mostly ygot package. (#872)
  • 39c3eaa Uncompressed ordered map test on PopulateDefaults (#871)
  • e8dd757 Initial tests for uncompressed structs with ordered maps. (#870)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/openconfig/ygot](https://github.com/openconfig/ygot) from 0.28.3 to 0.29.0.
- [Release notes](https://github.com/openconfig/ygot/releases)
- [Commits](openconfig/ygot@v0.28.3...v0.29.0)

---
updated-dependencies:
- dependency-name: github.com/openconfig/ygot
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 3, 2023
@karimra karimra merged commit 660203b into main Jul 3, 2023
@karimra karimra deleted the dependabot/go_modules/github.com/openconfig/ygot-0.29.0 branch July 3, 2023 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant