diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e9548d..771d0c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## [0.4.0] - 2024-01-22 + - Use Bucket#connditional_fillup inside Throttle and throttle only when the capacity _would_ be exceeded, as opposed to throttling when capacity has already been exceeded. This allows for finer-grained throttles such as "at most once in", where filling "exactly to capacity" is a requirement. It also provides for more accurate diff --git a/lib/pecorino/version.rb b/lib/pecorino/version.rb index 68a6c09..7742c8f 100644 --- a/lib/pecorino/version.rb +++ b/lib/pecorino/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Pecorino - VERSION = "0.3.0" + VERSION = "0.4.0" end