-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Runji Wang <[email protected]>
- Loading branch information
1 parent
36a3e5e
commit 9c75ee3
Showing
3 changed files
with
117 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
## [0.5.0] - 2024-07-12 | ||
|
||
### Changed | ||
|
||
- Update `etcd-client` to v0.14.0. | ||
|
||
## [0.4.0] - 2023-10-07 | ||
|
||
### Changed | ||
|
||
- Update `etcd-client` to v0.12.1. | ||
|
||
## [0.3.0] - 2023-07-20 | ||
|
||
### Changed | ||
|
||
- Update `etcd-client` to v0.11.1. | ||
|
||
## [0.2.23] - 2023-05-22 | ||
|
||
### Added | ||
|
||
- Add `CampaignResponse::{take_header, take_leader}`. | ||
|
||
### Fixed | ||
|
||
- Fix the behavior when campaign is called multiple times. | ||
|
||
## [0.2.20] - 2023-04-13 | ||
|
||
### Fixed | ||
|
||
- Fix leak of RPC task in server. | ||
|
||
## [0.2.18] - 2023-03-08 | ||
|
||
### Fixed | ||
|
||
- Fix election implementation. Put a key for each candidate. | ||
|
||
## [0.2.17] - 2023-02-17 | ||
|
||
### Fixed | ||
|
||
- Support "etcdserver: request is too large". | ||
|
||
## [0.2.15] - 2023-02-07 | ||
|
||
### Fixed | ||
|
||
- Return error on "lease not found". | ||
|
||
## [0.2.14] - 2023-01-30 | ||
|
||
### Fixed | ||
|
||
- Resolve DNS on connection. | ||
|
||
## [0.2.13] - 2023-01-11 | ||
|
||
### Added | ||
|
||
- Add `KeyValue::{lease, create_revision, mod_revision}` API. | ||
- Add maintenance `status` API. | ||
|
||
### Fixed | ||
|
||
- Fix response stream of `keep_alive`. | ||
- Fix waking up other candidates on leadership resign or lease revoke. | ||
- Fix unimplemented election `observe`. | ||
|
||
## [0.2.11] - 2022-12-02 | ||
|
||
### Added | ||
|
||
- Support load and dump in toml format. | ||
|
||
### Fixed | ||
|
||
- Fix lease grant. | ||
|
||
## [0.2.8] - 2022-09-26 | ||
|
||
### Added | ||
|
||
- Add lease and election API. | ||
|
||
## [0.2.6] - 2022-09-05 | ||
|
||
### Added | ||
|
||
- Add logging in etcd service. | ||
|
||
### Fixed | ||
|
||
- Complete `Error` type and fix the error kind of `request timed out`. | ||
|
||
## [0.2.5] - 2022-09-02 | ||
|
||
### Added | ||
|
||
- Add simulation crate of `etcd-client`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "madsim-etcd-client" | ||
version = "0.4.0+0.12.1" | ||
version = "0.5.0+0.14.0" | ||
edition = "2021" | ||
authors = ["Runji Wang <[email protected]>"] | ||
description = "The etcd simulator on madsim." | ||
|
@@ -13,18 +13,18 @@ license = "Apache-2.0" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[target.'cfg(not(madsim))'.dependencies] | ||
etcd-client = "0.12" | ||
etcd-client = "0.14" | ||
|
||
[target.'cfg(madsim)'.dependencies] | ||
http = "0.2" | ||
http = "1" | ||
futures-util = "0.3" | ||
madsim = { version = "0.2.20", path = "../madsim" } | ||
serde = { version = "1.0", features = ["derive"] } | ||
serde_with = "3" | ||
spin = "0.9" | ||
thiserror = "1" | ||
toml = "0.8" | ||
tonic = { version = "0.10", default-features = false, features = ["transport"] } | ||
tonic = { version = "0.12", default-features = false, features = ["transport"] } | ||
tokio = { version = "1", features = ["sync"] } | ||
tracing = "0.1" | ||
|
||
|