Skip to content

Releases: devsisters/shardcake

v2.2.0

14 Mar 05:58
9c831a4
Compare
Choose a tag to compare

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 the sendTimeout parameter from Option[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

06 Mar 16:07
8333e6a
Compare
Choose a tag to compare

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

04 Mar 04:43
1ea75f1
Compare
Choose a tag to compare

This release contains a single change:

  • Fixed a (very slow) memory leak happening while an actor stays active #109 by @nox213

v2.1.4

13 Feb 02:12
1b76d54
Compare
Choose a tag to compare

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

12 Dec 02:40
ab599b1
Compare
Choose a tag to compare

This release contains a single improvement:

  • Make sure terminateAllEntities doesn't get interrupted during unregister #106 by @ghostdogpr

v2.1.2

29 Nov 04:55
390605f
Compare
Choose a tag to compare

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

06 Nov 00:55
9094a08
Compare
Choose a tag to compare

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

11 Aug 04:57
a7c033d
Compare
Choose a tag to compare

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 to Queue #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

11 Aug 04:51
56eab69
Compare
Choose a tag to compare
  • Changed behaviour signature from Dequeue to Queue #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)

22 Feb 00:22
d685799
Compare
Choose a tag to compare
  • 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