From df3554f9c0c6fd03a64e4f67f7791a6ebdb3ddc1 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 10 Dec 2024 13:58:32 +0000 Subject: [PATCH 1/2] =?UTF-8?q?Release=200.8.0=20=F0=9F=8E=89=F0=9F=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- governor/CHANGELOG.md | 2 ++ governor/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/governor/CHANGELOG.md b/governor/CHANGELOG.md index db2b4d8..7b5aca3 100644 --- a/governor/CHANGELOG.md +++ b/governor/CHANGELOG.md @@ -4,6 +4,8 @@ ## [Unreleased] - ReleaseDate +## [[0.8.0](https://docs.rs/governor/0.8.0/governor/)] - 2024-12-10 + ## [[0.7.0](https://docs.rs/governor/0.7.0/governor/)] - 2024-10-21 This is a quick bug-fix release to address the semver incompatibility diff --git a/governor/Cargo.toml b/governor/Cargo.toml index 073965d..9a60516 100644 --- a/governor/Cargo.toml +++ b/governor/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "governor" -version = "0.7.0" +version = "0.8.0" authors = ["Andreas Fuchs "] edition = "2018" license = "MIT" From af2aab6777a1bd3a394ef6605b023cbdcae902d4 Mon Sep 17 00:00:00 2001 From: Andreas Fuchs Date: Tue, 10 Dec 2024 10:18:00 -0500 Subject: [PATCH 2/2] Changelog entry for #251 --- governor/CHANGELOG.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/governor/CHANGELOG.md b/governor/CHANGELOG.md index 7b5aca3..3112a58 100644 --- a/governor/CHANGELOG.md +++ b/governor/CHANGELOG.md @@ -6,6 +6,25 @@ ## [[0.8.0](https://docs.rs/governor/0.8.0/governor/)] - 2024-12-10 +### Changed + +* Fixed the long-standing confusion of rate-limiting "tolerance" + vs. "burst capacity": Tolerance is indicated with one cell less than + burst capacity would be. The code treated the two as the same thing, + leading to spurious single cells being allowed through when the + clock advanced. + ([#107](https://github.com/boinkor-net/governor/issues/107), + [#249](https://github.com/boinkor-net/governor/issues/249)). This + confusion has finally been identified and fixed by @jonasmalacofilho + in [#251](https://github.com/boinkor-net/governor/pull/251). + + This should not affect the public API, but any clients subject to + rate-limiting may see a slightly fairer treatment. + +### Contributors + +* [@jonasmalacofilho](https://github.com/jonasmalacofilho) + ## [[0.7.0](https://docs.rs/governor/0.7.0/governor/)] - 2024-10-21 This is a quick bug-fix release to address the semver incompatibility