Skip to content

Releases: nryanov/genkai

v0.6.0-RC1

31 Jul 20:20
699e5e5
Compare
Choose a tag to compare

New features

  • Update RateLimiter api (#73): now you can use acquireS methods to get not only boolean flag, but also a limiter state:
  /**
   * @param limit - max available tokens
   * @param remaining - remaining tokens
   * @param isAllowed - is current request allowed
   * @param reset - epoch seconds at which rate limit resets
   * @param resetAfter - total time (in seconds) of when the current rate limit bucket will reset
   * @param key - bucket
   */
  final case class State(
    limit: Long,
    remaining: Long,  // (not including the current acquired token)
    isAllowed: Boolean,
    reset: Long,
    resetAfter: Long,
    key: String
  )

Dependencies update

  • Update lettuce-core to 6.1.4.RELEASE (#61)
  • Update aerospike-client to 5.1.5.1 (#67)
  • Update redisson to 3.16.1 (#70)
  • Update cats-effect to 2.5.2 (#74)
  • Update cats-effect to 3.2.1 (#75)
  • Update zio, zio-streams to 1.0.10 (#72)

v0.5.0

22 Jul 22:02
b979df1
Compare
Choose a tag to compare

New features

  • Add cats-effect 3.x support (#63)

Dependency updates

  • Update redisson to 3.16.0 (#56)
  • Update aerospike-client to 5.1.5 (#57) …
  • Update sbt-scalafmt to 2.4.3 (#59)
  • Update sbt to 1.5.5 (#60)
  • Update jedis to 3.6.3 (#66)

Tools

  • Add codecov plugin (#58)

v0.4.0

27 Jun 14:38
f02dd57
Compare
Choose a tag to compare

Bump dependency versions

  • Update monix to 3.4.0 (#34)
  • Update testcontainers-scala to 0.39.5 (#43)
  • Update zio, zio-streams to 1.0.9 (#45)
  • Update redisson to 3.15.6 (#47)
  • Update sbt to 1.5.4 (#50)
  • Update jedis to 3.6.1 (#51)
  • Update slf4j-api to 1.7.31 (#52)
  • Update lettuce-core to 6.1.3.RELEASE (#53)
  • Update aerospike-client to 5.1.4 (#54)

Core updates

  • Update IdMonadError (#46)
  • Error handlers fix (#49)
  • Update Jedis implementations (#55) (Add JedisCluster and JedisSentinel support)

v0.4.0-RC1

23 May 13:27
0a4d68e
Compare
Choose a tag to compare

Bump versions:

  • Update sbt to 1.5.2 (#22)
  • Update testcontainers-scala to 0.39.4 (#29)
  • Update kind-projector to 0.13.0 (#37)
  • Update scalatest to 3.2.9 (#36)
  • Update cats-effect to 2.5.1 (#35)
  • Update lettuce-core to 6.1.2.RELEASE (#30)
  • Update redisson to 3.15.5 (#31)

Core changes:

  • Aerospike lua: sliding window fix
  • Update redis sliding window implementation
  • Reject token acquiring for past timestamps (#23)
  • Update RateLimiter api (#38)
  • [ConcurrentRateLimiter] Redis backend (#39)

v0.3.1

12 May 00:42
b5fcb4a
Compare
Choose a tag to compare

Bug fixes

v0.2.1 - bug fixes

12 May 00:08
88c4454
Compare
Choose a tag to compare
Use seconds instead of millis (#27)

* Use seconds instead of millis

v0.1.1 - bug fixes

11 May 23:56
e47a51a
Compare
Choose a tag to compare
Use seconds instead of millis (#26)

* Use seconds instead of millis

v0.3.0

04 May 23:49
184e2f6
Compare
Choose a tag to compare
  • Update sbt to 1.5.1 (#14)
  • Aerospike backend (#16)

v0.2.0

25 Apr 12:50
a1f8ff9
Compare
Choose a tag to compare

Update dependency versions:

  • Update lettuce-core to 6.1.1.RELEASE (#11)
  • Update sbt to 1.5.0 (#12)
  • Update cats-effect to 2.5.0 (#13)
  • Update jedis to 3.6.0
  • Update scalacheck-1-14 to 3.2.2.0
  • Update scalatest to 3.2.8
  • Update scalamock to 5.1.0
  • Update redisson to 3.15.4
  • Update zio, zio-streams to 1.0.7
  • Update testcontainers-scala to 0.39.3

v0.1.0

19 Apr 19:52
bed961f
Compare
Choose a tag to compare
  • Redis backend
  • Second, Minute, Hour, Day windows
  • Token bucket, Fixed window, Sliding window strategies
  • Jedis, Lettuce, Redisson clients