PackageTrack
Sign in Get early access

github.com/hashicorp/raft

v1.7.3 #451 most downloaded on Go modules hashicorp/raft

What this package is like to depend on

Last release 28 days ago

27 Jul 2026

Release timing varies

gaps range from 9 days to 3 months

Most releases are documented

notes for 18 of 29 stable releases

1 version withdrawn

withdrawn after publishing

13 years old

401 releases · first in 2013

28 releases in the last 12 months

see the full history below

Release timeline

401 releases · Nov 2013 to Jul 2026
2014 2016 2018 2020 2022 2024 2026
Release Pre-release Withdrawn

Releases

latest 60 of 401
  1. v1.7.4-0.20260727055746-80648832372a 27 Jul 2026 pre-release

    Nothing published for this version

  2. v1.7.4-0.20260720080743-dd30865f162c 20 Jul 2026 pre-release

    Nothing published for this version

  3. v1.7.4-0.20260706125026-54badfbf1b41 06 Jul 2026 pre-release

    Nothing published for this version

  4. v1.7.4-0.20260629132932-1a4cef650d41 29 Jun 2026 pre-release

    Nothing published for this version

  5. v1.7.4-0.20260622124240-14ec83928e29 22 Jun 2026 pre-release

    Nothing published for this version

  6. v1.7.4-0.20260611152124-1837036daf50 11 Jun 2026 pre-release

    Nothing published for this version

  7. v1.7.4-0.20260608131813-6d2f0f0374a0 08 Jun 2026 pre-release

    Nothing published for this version

  8. v1.7.4-0.20260601231246-2106b0d24cac 01 Jun 2026 pre-release

    Nothing published for this version

  9. v1.7.4-0.20260522072121-ec58ceb90ebf 22 May 2026 pre-release

    Nothing published for this version

  10. v1.7.4-0.20260519195656-4c8f61ac9255 19 May 2026 pre-release

    Nothing published for this version

  11. v1.7.4-0.20260424123053-ce1d06bfa084 24 Apr 2026 pre-release

    Nothing published for this version

  12. v1.7.4-0.20260413045428-fb8b30eb4f52 13 Apr 2026 pre-release

    Nothing published for this version

  13. v1.7.4-0.20260406131413-4f9dcce5bd4d 06 Apr 2026 pre-release

    Nothing published for this version

  14. v1.7.4-0.20260323135704-80fd32e266b6 23 Mar 2026 pre-release

    Nothing published for this version

  15. v1.7.4-0.20260313172952-10dcdbf1b794 13 Mar 2026 pre-release

    Nothing published for this version

  16. v1.7.4-0.20260225055113-9071aaf1ba92 25 Feb 2026 pre-release

    Nothing published for this version

  17. v1.7.4-0.20251117143445-9e3b7155dd6f 17 Nov 2025 pre-release

    Nothing published for this version

  18. v1.7.4-0.20250701114317-c4fb904a43d2 01 Jul 2025 pre-release

    Nothing published for this version

  19. v1.7.4-0.20250519025845-b91c0250e5cd 19 May 2025 pre-release

    Nothing published for this version

  20. v1.7.4-0.20250403053933-163eed6d3ae2 03 Apr 2025 pre-release

    Nothing published for this version

  21. v1.7.3 18 Mar 2025
    Release notes

    What's Changed

    • Add logs on active node when opening and sending a snapshot to a follower by @kubawi in #636

    New Contributors

    Full Changelog: v1.7.2...v1.7.3

    Open source →
    Release notes

    v1.7.3 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  22. v1.7.2 09 Jan 2025
    Release notes

    What's Changed

    Full Changelog: v1.7.1...v1.7.2

    Open source →
    Release notes

    v1.7.2

    Compare

    Choose a tag to compare

    Open source →
  23. v1.7.2-0.20241212131917-a5bc06ccef1d 12 Dec 2024 pre-release

    Nothing published for this version

  24. v1.7.2-0.20241119084901-7e8e836fe2e8 19 Nov 2024 pre-release

    Nothing published for this version

  25. v1.7.2-0.20241010165740-2b0032e390b8 10 Oct 2024 pre-release

    Nothing published for this version

  26. v1.7.2-0.20241007213103-18b8290112ec 07 Oct 2024 pre-release

    Nothing published for this version

  27. v1.7.2-0.20240924122322-dd1f3da54cd2 24 Sep 2024 pre-release

    Nothing published for this version

  28. v1.7.1 28 Aug 2024
    Release notes

    This patch release fixes two potential issues with Pre-Vote which was added in 1.7.0. One of these has been observed in a single deployed instance but we've been unable to replicate the exact conditions so impact is difficult to assess. Out of an abundance of caution we strongly recommend all 1.7.0 users upgrade to 1.7.1 to avoid this issue occurring.

    1. #605 Fixes the observed issue where a node looses leadership but is unable to get pre-votes accepted due to followers thinking it's still the leader. This was an implementation bug.
    2. #609 fixes a theoretical issue (not come up with an actual reproduction yet) where a very specific sequence of pre-votes could artificially prevent cluster followers from holding elections even though there is no active leader succeeding to get a quorum of pre-vote responses.
    Open source →
    Release notes

    v1.7.1

    Compare

    Choose a tag to compare

    Open source →
  29. v1.7.1-0.20240828172042-42d34464b2d2 28 Aug 2024 pre-release

    Nothing published for this version

  30. v1.7.1-0.20240820151618-831ddf858f70 20 Aug 2024 pre-release

    Nothing published for this version

  31. v1.7.1-0.20240611151951-a5db40042896 11 Jun 2024 pre-release

    Nothing published for this version

  32. v1.7.0 06 Jun 2024
    Release notes

    CHANGES

    • Raft multi version testing GH-559

    IMPROVEMENTS

    • Raft pre-vote extension implementation, activated by default. GH-530

    BUG FIXES

    • Fix serialize NetworkTransport data race on ServerAddr(). GH-591
    Open source →
    Release notes

    CHANGES

    • Raft multi version testing GH-559

    IMPROVEMENTS

    • Raft pre-vote extension implementation, activated by default. GH-530

    BUG FIXES

    • Fix serialize NetworkTransport data race on ServerAddr(). GH-591
    Open source →
    Release notes

    v1.7.0 (June 6th, 2024)

    Compare

    Choose a tag to compare

    Open source →
  33. v1.6.2-0.20240606213618-c92370996e9c 06 Jun 2024 pre-release

    Nothing published for this version

  34. v1.6.2-0.20240601093656-299de8a4f209 01 Jun 2024 pre-release

    Nothing published for this version

  35. v1.6.2-0.20240423095729-501fbadfdb5e 23 Apr 2024 pre-release

    Nothing published for this version

  36. v1.6.2-0.20240408142740-ddcbc506e2c0 08 Apr 2024 pre-release

    Nothing published for this version

  37. v1.6.2-0.20240325134829-cc2bb080d64f 25 Mar 2024 pre-release

    Nothing published for this version

  38. v1.6.1 09 Jan 2024
    Release notes

    CHANGES

    • Add reference use of Hashicorp Raft by @otoolep in #584
    • [COMPLIANCE] Add Copyright and License Headers by @hashicorp-copywrite in #580

    IMPROVEMENTS

    • Bump github.com/hashicorp/go-hclog from 1.5.0 to 1.6.2 by @dependabot in #583

    BUG FIXES

    • Fix rare leadership transfer failures when writes happen during transfer by @ncabatoff in #581
    Open source →
    Release notes

    CHANGES

    • Add reference use of Hashicorp Raft. GH-584
    • [COMPLIANCE] Add Copyright and License Headers. GH-580

    IMPROVEMENTS

    • Bump github.com/hashicorp/go-hclog from 1.5.0 to 1.6.2. GH-583

    BUG FIXES

    • Fix rare leadership transfer failures when writes happen during transfer. GH-581
    Open source →
    Release notes

    v1.6.1 (January 8th, 2024)

    Compare

    Choose a tag to compare

    Open source →
  39. v1.6.1-0.20240109003757-0f873ea82dcf 09 Jan 2024 pre-release

    Nothing published for this version

  40. v1.6.1-0.20231221004644-919b14f81cc4 21 Dec 2023 pre-release

    Nothing published for this version

  41. v1.6.1-0.20231204143808-62eaa1c192d4 04 Dec 2023 pre-release

    Nothing published for this version

  42. v1.6.1-0.20231120182535-1462fd5e80ad 20 Nov 2023 pre-release

    Nothing published for this version

  43. v1.6.0 15 Nov 2023
    Release notes

    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
    Open source →
    Release notes

    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 library 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
    Open source →
    Release notes

    1.6.0

    Compare

    Choose a tag to compare

    Open source →
  44. v1.5.1-0.20231115174440-fb42781ed6c6 15 Nov 2023 pre-release

    Nothing published for this version

  45. v1.5.1-0.20231109182536-47db751ae06c 09 Nov 2023 pre-release

    Nothing published for this version

  46. v1.5.1-0.20231101142108-254fe553f989 01 Nov 2023 pre-release

    Nothing published for this version

  47. v1.5.1-0.20231024165115-d79654935a01 24 Oct 2023 pre-release

    Nothing published for this version

  48. v1.5.1-0.20231010141026-d09d941599a5 10 Oct 2023 pre-release

    Nothing published for this version

  49. v1.5.1-0.20230928060007-49bd61b66666 28 Sep 2023 pre-release

    Nothing published for this version

  50. v1.5.1-0.20230710154659-3b0f2e5bce32 10 Jul 2023 pre-release

    Nothing published for this version

  51. v1.5.1-0.20230703200222-1feb9784a506 03 Jul 2023 pre-release

    Nothing published for this version

  52. v1.5.1-0.20230627195527-a359f5c6ce14 27 Jun 2023 pre-release

    Nothing published for this version

  53. v1.5.1-0.20230605190500-780339efa462 05 Jun 2023 pre-release

    Nothing published for this version

  54. v1.5.0 21 Apr 2023
    Release notes

    Fixes a performance bug related to pipelining. See #541 for extensive details on the testing done.

    Change in Default Behavior: This is being released as a minor version even though it changes the default behaviour of the library. The rationale for that is that in almost all cases we are aware of (including all HashiCorp tools) the previous behavior performs significantly worse than the new default. Most other users of this library are most likely to notice no change, or see a significant improvement in latency under high load so we want that to be the default experience rather than one that needs tuning to acheive.

    It's possible if you are using this library in way that is significantly different to our typical usage (e.g. over very high latency networks and with enough throughput) that this could cause an increase in commit latency. The increase should never exceed the round-trip-time between your servers. The issue being fixed could cause latency increases in the order of 100x more than the mean commit time at high load. If you are still unsure, the old behavior can be retained by setting the new NetTransportConfig.MaxRPCsInFlight = 130.

    See the PR for more analysis of this tradeoff.

    Open source →
    Release notes

    IMPROVEMENTS

    • Fixed a performance anomaly related to pipelining RPCs that caused large increases in commit latency under high write throughput. Default behavior has changed. For more information see #541.
    Open source →
    Release notes

    v1.5.0

    Compare

    Choose a tag to compare

    Open source →
  55. v1.4.1-0.20230328135650-34bcd7c1a256 28 Mar 2023 pre-release

    Nothing published for this version

  56. v1.4.1-0.20230322183922-4e4747586117 22 Mar 2023 pre-release

    Nothing published for this version

  57. v1.4.0 17 Mar 2023
    Release notes

    What's Changed

    • Support log stores with a montonically increasing index. Implementing a log store with the MonotonicLogStore interface where IsMonotonic() returns true will allow Raft to clear all previous logs on user restores of Raft snapshots by @mpalmi, @banks, and @jmurret in #545

    Full Changelog: v1.3.11...v1.4.0

    Open source →
    Release notes

    FEATURES

    • Support log stores with a monotonically increasing index. Implementing a log store with the MonotonicLogStore interface where IsMonotonic() returns true will allow Raft to clear all previous logs on user restores of Raft snapshots.

    BUG FIXES

    • Restoring a snapshot with the raft-wal log store caused a panic due to index gap that is created during snapshot restores.
    Open source →
    Release notes

    v1.4.0: Merge pull request #550 from hashicorp/jm/1.4.0

    Compare

    Choose a tag to compare

    Open source →
  58. v1.3.12-0.20230314195535-fc076ea00c38 14 Mar 2023 pre-release

    Nothing published for this version

  59. v1.3.12-0.20230312193108-ec7349bd6409 12 Mar 2023 pre-release

    Nothing published for this version

  60. v1.3.12-0.20230310155220-0fc4f86986a7 10 Mar 2023 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive