Skip to content

Releases: natesilva/p-ratelimit

v1.0.1

31 Dec 20:16
Compare
Choose a tag to compare
  • Merge branch 'rexxars-fix-error-typo' 3eae81c
  • fix: typo in maxDelay error message 5653b36
  • doc: remove a broken README badge 2f31432

v1.0.0...v1.0.1

v1.0.0

10 Dec 21:49
Compare
Choose a tag to compare
  • fix: address a timing issue 9b6ebb7
  • chore: update dependencies c203f61
  • feat!: require Node 10 3adfbf5
    • 💥 BREAKING CHANGE — the minimum required Node version is 10
  • test: update to latest version of Ava 9528f59
  • Bump dot-prop from 4.2.0 to 4.2.1 c964374
  • Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/ini-1.3.7' a04e7e4
  • Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/handlebars-4.7.6' a80a7c1
  • Bump ini from 1.3.5 to 1.3.7 551ac87
  • Bump handlebars from 4.1.2 to 4.7.6 9121741
  • Bump lodash from 4.17.14 to 4.17.19 e2d4615

v0.11.0...v1.0.0

v0.11.0

15 Jul 18:58
v0.11.0
443e79f
Compare
Choose a tag to compare
  • support IORedis cluster clients 3d6a583
  • improved sublime project config 2d9f762
  • updated dependencies 5f412eb
  • quota manager tests can use a live Redis server 7c39824
  • Merge pull request #3 from mjdavidson/master 6623941
  • create a type alias for IORedis and other clients fd5208e
  • add ts support for ioredis a36ef5a

v0.10.1...v0.11.0

v0.10.1

10 Jun 18:43
Compare
Choose a tag to compare
  • Updated dev dependencies. No functional changes.

v0.10.0

12 Mar 16:22
2b8ab50
Compare
Choose a tag to compare
  • Using the rate option without interval, or vice-versa, now throws an Error. (It’s okay to use neither rate nor interval if you don’t want rate-limiting; perhaps you only want concurrency limits.)

  • You can call pRateLimit with no options (pRateLimit()) and this works as a no-op (it doesn’t do any rate limiting), but it prints a warning to the console. To indicate that, yes, you know what you’re doing and really want a no-op, call it like this: pRateLimit({}).

v0.9.5

25 Oct 22:53
42c08f5
Compare
Choose a tag to compare
  • No code changes. The README is updated with links that work on npmjs.com.

v0.9.4

25 Oct 22:24
d5c05bb
Compare
Choose a tag to compare
  • Support for specialty Redis clients that do not support the client.duplicate() function.
    • For these clients, instead of passing in a Redis client to RedisQueueManager, pass an array of two initialized clients.
    • This has been tested with Redis cluster (using IORedis.Cluster) and with fakeredis.

v0.9.3

23 Oct 23:35
213705c
Compare
Choose a tag to compare
  • New: fastStart option allows quicker startup when using distributed rate limiting. [documentation]

v0.9.2

23 Oct 18:48
3fbe3f0
Compare
Choose a tag to compare
  • Bugfix: when a maxDelay is specified and you are using a Redis queue manager, the maxDelay should apply even before the queue manager is ready to begin processing requests.

v0.9.1

23 Oct 17:05
473efd3
Compare
Choose a tag to compare
  • export RateLimitTimeoutError