Skip to content

Releases: devsisters/shardcake

v2.3.0

14 May 08:13
Compare
Choose a tag to compare

This release brings improvements to the message streaming capabilities. Before, it was only possible to send a single message and receive either a single response or a stream of responses. Now we support sending streams as well.

Messenger now has 4 different methods:

  • send for sending a single message and receiving a single response
  • sendStream for sending a stream of messages without receiving any response (breaking change: this method was previously used for receiving a stream, you should use sendAndReceiveStream instead for that purpose)
  • sendAndReceiveStream for sending a single message and receiving a stream of responses
  • sendStreamAndReceiveStream for sending a stream of messages and receiving a stream of responses

With this release also come the following dependency upgrades:

  • zio to 2.1.1
  • sttp to 3.9.6
  • caliban to 2.6.0
  • zio-http to 3.0.0-RC6
  • zio-grpc to 0.6.2
  • grpc-netty to 1.63.0

What's Changed

New Contributors

Full Changelog: v2.2.7...v2.3.0

v2.2.7

24 Apr 03:49
d66027d
Compare
Choose a tag to compare

This release contains the following changes:

v2.2.6

24 Apr 02:12
65b15e8
Compare
Choose a tag to compare

This release contains the following changes:

  • Fixed the unassignedShards metric and renamed singletons metric tag from name to singleton_name #123 by @ghostdogpr

v2.2.5

07 Apr 04:22
309010c
Compare
Choose a tag to compare

This release contains the following changes:

  • Allow setting a custom labelSelector in the k8s health api to filter pods. This is useful if you have several deployments in the same cluster and a given IP address might be reused by another service/environment. #119 by @ghostdogpr

v2.2.4

02 Apr 06:00
9effe50
Compare
Choose a tag to compare

This release contains the following changes:

  • Made the grpc server shutdown timeout configurable. By default, zio-grpc was using shutdown then awaitTermination without any timeout, which prevents new connections and wait for existing connections to end. The problem is that if those connections are grpc streams, we are waiting forever. Instead, we use awaitTermination with a timeout, then call shutdownNow to force the grpc server to shutdown and interrupt the grpc streams. #117 by @ghostdogpr

v2.2.3

26 Mar 04:48
ea3ec60
Compare
Choose a tag to compare

This release contains the following changes:

  • Added zio metrics for useful values and events. That lets you track easily rebalances, registered pods and shard assignments using the metrics backend of your choice. #116 by @ghostdogpr

v2.2.2

22 Mar 05:37
83f09fa
Compare
Choose a tag to compare

This release contains the following changes:

  • Prevented spurious logs and double timeout in broadcastDiscard #115 by @ghostdogpr

v2.2.1

20 Mar 02:14
1529037
Compare
Choose a tag to compare

This release contains the following changes:

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