Skip to content

Releases: catawiki/rate-limit

v0.3.0

17 May 09:50
fcf685b
Compare
Choose a tag to compare

What's Changed

  • Activesupport 7.1 compatibility by @rbp in #36

New Contributors

  • @rbp made their first contribution in #36

Full Changelog: v0.2.1...v0.3.0

v0.2.1

09 Nov 13:47
Compare
Choose a tag to compare

[v0.2.1] - 2022-11-09

Added

  • #28 added Integration Tests

Fixed

  • #29 Calling throttle with only_failures: true does not call success callback

v0.2.0

05 Oct 14:06
Compare
Choose a tag to compare

[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! and Worker#throttle_with_block! in favour of .throttle with { raise_errors: true } option
  • removed RateLimit.throttle_only_failures_with_block! and Worker#throttle_only_failures_with_block! in favour of .throttle with { only_failures: true } option

Fixed

  • #16 String Values are not respected

v0.1.0

19 Sep 14:54
Compare
Choose a tag to compare

[v0.1.0] - 2022-09-19

Added

  • #11 RateLimit::Result class
  • #12 RateLimit::Worker class
  • #13 RateLimit::Config#on_success and RateLimit::Config#on_failure

Changed

  • RateLimit.throttle to not accept block
  • RateLimit.throttle to return RateLimit::Result object
  • RateLimit::Throttler from class to module while moving responsibilities to RateLimit::Worker class
  • renamed RateLimit.throttle! to RateLimit.throttle_with_block!
  • renamed RateLimit.throttle_only_failures to RateLimit.throttle_only_failures_with_block!

Fixed

  • #7 Symbol topic names does not load the correct limits
  • #6 Main Module (RateLimit) fails to autoload

New Contributors

@dhruvCW made their first contribution 🎉