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 2026Releases
latest 60 of 401-
v1.7.4-0.20260727055746-80648832372a27 Jul 2026 pre-releaseNothing published for this version
-
v1.7.4-0.20260720080743-dd30865f162c20 Jul 2026 pre-releaseNothing published for this version
-
v1.7.4-0.20260706125026-54badfbf1b4106 Jul 2026 pre-releaseNothing published for this version
-
v1.7.4-0.20260629132932-1a4cef650d4129 Jun 2026 pre-releaseNothing published for this version
-
v1.7.4-0.20260622124240-14ec83928e2922 Jun 2026 pre-releaseNothing published for this version
-
v1.7.4-0.20260611152124-1837036daf5011 Jun 2026 pre-releaseNothing published for this version
-
v1.7.4-0.20260608131813-6d2f0f0374a008 Jun 2026 pre-releaseNothing published for this version
-
v1.7.4-0.20260601231246-2106b0d24cac01 Jun 2026 pre-releaseNothing published for this version
-
v1.7.4-0.20260522072121-ec58ceb90ebf22 May 2026 pre-releaseNothing published for this version
-
v1.7.4-0.20260519195656-4c8f61ac925519 May 2026 pre-releaseNothing published for this version
-
v1.7.4-0.20260424123053-ce1d06bfa08424 Apr 2026 pre-releaseNothing published for this version
-
v1.7.4-0.20260413045428-fb8b30eb4f5213 Apr 2026 pre-releaseNothing published for this version
-
v1.7.4-0.20260406131413-4f9dcce5bd4d06 Apr 2026 pre-releaseNothing published for this version
-
v1.7.4-0.20260323135704-80fd32e266b623 Mar 2026 pre-releaseNothing published for this version
-
v1.7.4-0.20260313172952-10dcdbf1b79413 Mar 2026 pre-releaseNothing published for this version
-
v1.7.4-0.20260225055113-9071aaf1ba9225 Feb 2026 pre-releaseNothing published for this version
-
v1.7.4-0.20251117143445-9e3b7155dd6f17 Nov 2025 pre-releaseNothing published for this version
-
v1.7.4-0.20250701114317-c4fb904a43d201 Jul 2025 pre-releaseNothing published for this version
-
v1.7.4-0.20250519025845-b91c0250e5cd19 May 2025 pre-releaseNothing published for this version
-
v1.7.4-0.20250403053933-163eed6d3ae203 Apr 2025 pre-releaseNothing published for this version
-
v1.7.318 Mar 2025 -
v1.7.209 Jan 2025Release notes
Open source →What's Changed
- Warn about usage of snapshots by @otoolep in #618
- Support retrieving current term by @otoolep in #620
- Fix typos in docs, comments, and tests by @alexandear in #595
- chore: Add flag to skip legacy duplicate telemetry by @kavirajk in #630
- Introduce hashicorp/go-metrics compatibility by @mkeeler in #631
Full Changelog: v1.7.1...v1.7.2
-
v1.7.2-0.20241212131917-a5bc06ccef1d12 Dec 2024 pre-releaseNothing published for this version
-
v1.7.2-0.20241119084901-7e8e836fe2e819 Nov 2024 pre-releaseNothing published for this version
-
v1.7.2-0.20241010165740-2b0032e390b810 Oct 2024 pre-releaseNothing published for this version
-
v1.7.2-0.20241007213103-18b8290112ec07 Oct 2024 pre-releaseNothing published for this version
-
v1.7.2-0.20240924122322-dd1f3da54cd224 Sep 2024 pre-releaseNothing published for this version
-
v1.7.128 Aug 2024Release notes
Open source →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.
- #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.
- #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.
-
v1.7.1-0.20240828172042-42d34464b2d228 Aug 2024 pre-releaseNothing published for this version
-
v1.7.1-0.20240820151618-831ddf858f7020 Aug 2024 pre-releaseNothing published for this version
-
v1.7.1-0.20240611151951-a5db4004289611 Jun 2024 pre-releaseNothing published for this version
-
v1.7.006 Jun 2024Release notes
Open source →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
Release notes
Open source →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
-
v1.6.2-0.20240606213618-c92370996e9c06 Jun 2024 pre-releaseNothing published for this version
-
v1.6.2-0.20240601093656-299de8a4f20901 Jun 2024 pre-releaseNothing published for this version
-
v1.6.2-0.20240423095729-501fbadfdb5e23 Apr 2024 pre-releaseNothing published for this version
-
v1.6.2-0.20240408142740-ddcbc506e2c008 Apr 2024 pre-releaseNothing published for this version
-
v1.6.2-0.20240325134829-cc2bb080d64f25 Mar 2024 pre-releaseNothing published for this version
-
v1.6.109 Jan 2024Release notes
Open source →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
Release notes
Open source →CHANGES
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
-
v1.6.1-0.20240109003757-0f873ea82dcf09 Jan 2024 pre-releaseNothing published for this version
-
v1.6.1-0.20231221004644-919b14f81cc421 Dec 2023 pre-releaseNothing published for this version
-
v1.6.1-0.20231204143808-62eaa1c192d404 Dec 2023 pre-releaseNothing published for this version
-
v1.6.1-0.20231120182535-1462fd5e80ad20 Nov 2023 pre-releaseNothing published for this version
-
v1.6.015 Nov 2023Release notes
Open source →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 oftime.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 isfalse, which maintains compatibility withgo-msgpackv0.5.5, but if set totrue, will be compatible withgo-msgpackv1.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
candidateFromLeadershipTransferGH-570
Release notes
Open source →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 oftime.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 isfalse, which maintains compatibility withgo-msgpackv0.5.5, but if set totrue, will be compatible withgo-msgpackv1.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
candidateFromLeadershipTransferGH-570
-
-
v1.5.1-0.20231115174440-fb42781ed6c615 Nov 2023 pre-releaseNothing published for this version
-
v1.5.1-0.20231109182536-47db751ae06c09 Nov 2023 pre-releaseNothing published for this version
-
v1.5.1-0.20231101142108-254fe553f98901 Nov 2023 pre-releaseNothing published for this version
-
v1.5.1-0.20231024165115-d79654935a0124 Oct 2023 pre-releaseNothing published for this version
-
v1.5.1-0.20231010141026-d09d941599a510 Oct 2023 pre-releaseNothing published for this version
-
v1.5.1-0.20230928060007-49bd61b6666628 Sep 2023 pre-releaseNothing published for this version
-
v1.5.1-0.20230710154659-3b0f2e5bce3210 Jul 2023 pre-releaseNothing published for this version
-
v1.5.1-0.20230703200222-1feb9784a50603 Jul 2023 pre-releaseNothing published for this version
-
v1.5.1-0.20230627195527-a359f5c6ce1427 Jun 2023 pre-releaseNothing published for this version
-
v1.5.1-0.20230605190500-780339efa46205 Jun 2023 pre-releaseNothing published for this version
-
v1.5.021 Apr 2023Release notes
Open source →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.
Release notes
Open source →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.
-
v1.4.1-0.20230328135650-34bcd7c1a25628 Mar 2023 pre-releaseNothing published for this version
-
v1.4.1-0.20230322183922-4e474758611722 Mar 2023 pre-releaseNothing published for this version
-
v1.4.017 Mar 2023Release notes
Open source →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
Release notes
Open source →FEATURES
- Support log stores with a monotonically increasing index. Implementing a log store with the
MonotonicLogStoreinterface whereIsMonotonic()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.
Release notes
Open source →v1.4.0: Merge pull request #550 from hashicorp/jm/1.4.0
Compare
Choose a tag to compare
-
v1.3.12-0.20230314195535-fc076ea00c3814 Mar 2023 pre-releaseNothing published for this version
-
v1.3.12-0.20230312193108-ec7349bd640912 Mar 2023 pre-releaseNothing published for this version
-
v1.3.12-0.20230310155220-0fc4f86986a710 Mar 2023 pre-releaseNothing published for this version