Releases: devsisters/shardcake
Releases · devsisters/shardcake
v2.2.0
This release contains the following changes:
- Upgraded library dependencies, in particular Caliban to 2.5.3 which transitively depends on zio-http 3.0.0-RC4 #110 by @jgulotta
- Added the ability to set no timeout in
Messenger
. This changes thesendTimeout
parameter fromOption[Duration]
to a small ADT that allows no timeout, a specific timeout or just using the global config timeout #112 by @ghostdogpr
v2.1.6
This release contains a bug fix:
- Fixed a bug introduced in 2.1.2, making the reply stream not being interrupted properly #111 by @ghostdogpr
v2.1.5
v2.1.4
This release contains a single change:
- Added a new
shardcake-storage-redisson
storage module using the Redisson library as an alternative to the Redis4cats one #108 by @ghostdogpr
v2.1.3
This release contains a single improvement:
- Make sure
terminateAllEntities
doesn't get interrupted duringunregister
#106 by @ghostdogpr
v2.1.2
This release contains a few usability improvements.
- Add a new method
terminateLocalEntity
to terminate an entity after processing all its messages. It will enqueue the termination message and prevent new messages being enqueued #103 by @ghostdogpr - Wait until the pod receives initial assignments during
Sharding
layer construction. This prevents a race condition when registering singletons that could prevent the singleton from being started #100 by @ghostdogpr - Catch fiber errors in replyStream. This will prevent spurious zio logs about a fiber ending with an error #105 by @ghostdogpr
- Add a dedicated error for when the reply stream cancelled (instead of using
PodUnavailable
) #104 by @ghostdogpr
v2.1.1
This release mostly contains performance improvements, in particular with streaming replies (taking advantage of chunking) but also regular messages, in particular when a lot of messages are sent to the same entity.
v2.1.0
The main change in this release is the support for streaming replies. There is now a sendStream
method on Messenger
that allow you receiving a stream of responses from a remote entity.
- Added support for streaming replies #53 by @ghostdogpr @mleclercq
- Upgraded zio-grpc to 0.6.0 (no more using a snapshot!) #89 by @ghostdogpr
- Changed behaviour signature from
Dequeue
toQueue
#61 by @frekw - Improved logs for k8s pod health #66 by @jgulotta
- Switched Kryo serialization library (Chill being unmaintained) #82 by @ghostdogpr
- Fix logic to wait on previously terminating entities when terminating all entities #86 by @ghostdogpr
- Added catch and log errors in
Sharding.unregister
#74 by @mleclercq
v1.1.0
- Changed behaviour signature from
Dequeue
toQueue
#62 by @frekw - Improved logs for k8s pod health #67 by @jgulotta
- Switched Kryo serialization library (Chill being unmaintained) #76 by @ghostdogpr
- Fix logic to wait on previously terminating entities when terminating all entities #87 by @ghostdogpr
v2.0.6 (zio 2.x)
- Allowed
sendDiscard
to fail if communication fails #50 by @ghostdogpr - Allowed overriding
maxSessionIdleTime
per entity #48 by @csar - Added more sharding events + a way to check all pods health #59 by @ghostdogpr