Skip to content

Releases: devsisters/shardcake

v2.7.1

26 Jan 04:31
4bae7b5

Choose a tag to compare

This release fixes a dependency issue in the shardcake-health-k8s module caused by the fact that zio-k8s still depends on sttp 3 and therefore requires a dependency to sttp 3's slf4j-backend.

What's Changed

  • Reverted sttp dependency to 3.x for shardcake-health-k8s by @nedsociety in #172

v2.7.0

12 Jan 03:17
e2dc9bf

Choose a tag to compare

This release upgrades dependencies, most notably Caliban to 3.0.x and Sttp to 4.0.x. The minimum JDK version is now 17.

What's Changed

v2.6.2

03 Oct 13:57
de6eb79

Choose a tag to compare

This is a minor release that makes the Shard Manager stop rebalancing shards when it fails to persist its state, to minimize difference in assignments between pods and the Shard Manager when the persistence is not available.

What's Changed

  • Prevent Shard Manager from processing until persistence succeeds by @ghostdogpr in #166

v2.6.1

01 Sep 02:13
1ad1304

Choose a tag to compare

This is a minor release that adds some utility method and upgrade the serialization library to handle a potential issue with Kryo and lazy vals under Scala 3.

What's Changed

v2.6.0

07 Jul 07:42
d8ebfef

Choose a tag to compare

This is a small release just to upgrade redis4cats which had a major release (2.0).

What's Changed

v2.5.2

07 May 00:50
2eb50b6

Choose a tag to compare

This release fixes a bug that could cause entityTerminationTimeout not working properly, meaning that unregister could hang forever if some entity wouldn't stop by itself. It will also produce an explicit error if you use a custom getShardId that returns an ID out of bounds (such as 0).

What's Changed

  • Return an explicit error if getShardId is out of bounds by @ghostdogpr in #160
  • Make terminateAllEntities interruptible so that time out works well by @ghostdogpr in #161

v2.5.1

17 Apr 01:34
2bb514a

Choose a tag to compare

This release brings a few improvements. You can now configure a retry schedule for unregister (useful in case the Shard Manager is momentarily unavailable) as well as "server interceptors" for your gRPC service.

What's Changed

v2.5.0

31 Dec 03:15
e87532d

Choose a tag to compare

This release upgrades some dependencies:

  • zio to 2.1.14
  • zio-k8s to 3.1.0
  • sttp to 3.10.1
  • caliban to 2.9.1

What's Changed

v2.4.3

20 Nov 05:55
a32a997

Choose a tag to compare

The fix from 2.4.2 was apparently not enough in some cases so I removed the whole logic that caused the assignment inconsistencies.

What's Changed

  • Remove logic to refresh assignments from shard manager by @ghostdogpr in #150
  • Don't increment podHealthChecked metric on internal check (do it only for unresponsive pods) by @ghostdogpr in #149

Full Changelog: v2.4.2...v2.4.3

v2.4.2

31 Oct 00:20

Choose a tag to compare

This release fixes a bug that was introduced in 2.3.2, upgrading is strongly recommended if you use any version after that. It can cause a pod to lose track of some shards that are assigned to them, triggering EntityIsNotManagedByThisPod errors instead of handling messages.

What's Changed

  • Prevent a potential race condition that can cause self assignments to be replaced by @ghostdogpr in #148

Full Changelog: v2.4.1...v2.4.2