Releases: nryanov/genkai
Releases · nryanov/genkai
v0.6.0-RC1
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
v0.5.0
v0.4.0
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
v0.4.0-RC1
v0.3.1
v0.2.1 - bug fixes
Use seconds instead of millis (#27) * Use seconds instead of millis
v0.1.1 - bug fixes
Use seconds instead of millis (#26) * Use seconds instead of millis
v0.3.0
v0.2.0
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