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/hashicorp/raft from 1.5.0 to 1.6.0 #2661

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 1, 2023

Bumps github.com/hashicorp/raft from 1.5.0 to 1.6.0.

Release notes

Sourced from github.com/hashicorp/raft's releases.

1.6.0 (November 15th, 2023)

CHANGES

  • Upgrade hashicorp/go-msgpack to v2, with go.mod upgraded from v0.5.5 to v2.1.1. GH-577

    go-msgpack v2.1.1 is by default binary compatible with v0.5.5 ("non-builtin" encoding of time.Time), but can decode messages produced by v1.1.5 as well ("builtin" encoding of time.Time).

    However, if users of this libary overrode the version of go-msgpack (especially to v1), this could break compatibility if raft nodes are running a mix of versions.

    This compatibility can be configured at runtime in Raft using NetworkTransportConfig.MsgpackUseNewTimeFormat -- the default is false, which maintains compatibility with go-msgpack v0.5.5, but if set to true, will be compatible with go-msgpack v1.1.5.

IMPROVEMENTS

  • Push to notify channel when shutting down. GH-567
  • Add CommitIndex API GH-560
  • Document some Apply error cases better GH-561

BUG FIXES

  • Race with candidateFromLeadershipTransfer GH-570
Changelog

Sourced from github.com/hashicorp/raft's changelog.

1.6.0 (November 15th, 2023)

CHANGES

  • Upgrade hashicorp/go-msgpack to v2, with go.mod upgraded from v0.5.5 to v2.1.1. GH-577

    go-msgpack v2.1.1 is by default binary compatible with v0.5.5 ("non-builtin" encoding of time.Time), but can decode messages produced by v1.1.5 as well ("builtin" encoding of time.Time).

    However, if users of this libary overrode the version of go-msgpack (especially to v1), this could break compatibility if raft nodes are running a mix of versions.

    This compatibility can be configured at runtime in Raft using NetworkTransportConfig.MsgpackUseNewTimeFormat -- the default is false, which maintains compatibility with go-msgpack v0.5.5, but if set to true, will be compatible with go-msgpack v1.1.5.

IMPROVEMENTS

  • Push to notify channel when shutting down. GH-567
  • Add CommitIndex API GH-560
  • Document some Apply error cases better GH-561

BUG FIXES

  • Race with candidateFromLeadershipTransfer GH-570
Commits
  • b96f998 Update changelog for 1.6.0
  • fb42781 Upgrade go-msgpack to 2.1.1
  • d09d941 Merge pull request #567 from SchopenhauerZhang/fix_unknow_status_when_multi_s...
  • 49bd61b make candidateFromLeadershipTransfer atomic to avoid a race (#570)
  • a3a1c10 Document some Apply error cases better (#561)
  • 6afcd70 Make it done when Push to the notify channel if given
  • 3b0f2e5 add CommitIndex API (#560)
  • b650ad6 Merge pull request #562 from hashicorp/gofumpt
  • 1feb978 go mod tidy
  • c9355ac Update minimum go version to 1.17
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 1, 2023
@dependabot dependabot bot requested a review from a team as a code owner December 1, 2023 02:04
@dependabot dependabot bot added the go Pull requests that update Go code label Dec 1, 2023
@dependabot dependabot bot requested a review from a team as a code owner December 1, 2023 02:04
@dependabot dependabot bot requested review from ademidoff, BupycHuk, artemgavrilov, idoqo and JiriCtvrtka and removed request for a team December 1, 2023 02:04
@github-actions github-actions bot enabled auto-merge (squash) December 1, 2023 02:04
Copy link

codecov bot commented Dec 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (94248c5) 42.15% compared to head (3209429) 42.15%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2661   +/-   ##
=======================================
  Coverage   42.15%   42.15%           
=======================================
  Files         395      395           
  Lines       49969    49969           
=======================================
  Hits        21066    21066           
  Misses      26936    26936           
  Partials     1967     1967           
Flag Coverage Δ
managed 42.78% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/hashicorp/raft-1.6.0 branch 3 times, most recently from 23613cd to 3feb481 Compare December 7, 2023 10:45
Bumps [github.com/hashicorp/raft](https://github.com/hashicorp/raft) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/hashicorp/raft/releases)
- [Changelog](https://github.com/hashicorp/raft/blob/main/CHANGELOG.md)
- [Commits](hashicorp/raft@v1.5.0...v1.6.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/hashicorp/raft-1.6.0 branch from 3feb481 to 3209429 Compare December 7, 2023 11:07
@artemgavrilov artemgavrilov merged commit 0e2fa26 into main Dec 7, 2023
31 of 33 checks passed
@artemgavrilov artemgavrilov deleted the dependabot/go_modules/github.com/hashicorp/raft-1.6.0 branch December 7, 2023 11:28
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