Releases: catawiki/rate-limit
Releases · catawiki/rate-limit
v0.3.0
v0.2.1
v0.2.0
[v0.2.0] - 2022-10-05
Added
- added
RateLimit::Errors::LimitExceededError#result
- added
Worker#raise_errors
- added
Worker#only_failures
Changed
- changed
RateLimit::Result.initialize
Removed
- removed
RateLimit::Result#namespace
- removed
RateLimit::Worker#namespace
- removed
RateLimit::Errors::LimitExceededError#namespace
- removed
RateLimit::Errors::LimitExceededError#worker
- removed
RateLimit.throttle_with_block!
andWorker#throttle_with_block!
in favour of.throttle
with{ raise_errors: true }
option - removed
RateLimit.throttle_only_failures_with_block!
andWorker#throttle_only_failures_with_block!
in favour of.throttle
with{ only_failures: true }
option
Fixed
- #16 String Values are not respected
v0.1.0
[v0.1.0] - 2022-09-19
Added
- #11
RateLimit::Result
class - #12
RateLimit::Worker
class - #13
RateLimit::Config#on_success
andRateLimit::Config#on_failure
Changed
RateLimit.throttle
to not accept blockRateLimit.throttle
to returnRateLimit::Result
objectRateLimit::Throttler
from class to module while moving responsibilities toRateLimit::Worker
class- renamed
RateLimit.throttle!
toRateLimit.throttle_with_block!
- renamed
RateLimit.throttle_only_failures
toRateLimit.throttle_only_failures_with_block!
Fixed
New Contributors
@dhruvCW made their first contribution 🎉