Releases: devsisters/shardcake
v2.7.1
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-k8sby @nedsociety in #172
v2.7.0
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
- Upgrade caliban and sttp by @ghostdogpr in #167
v2.6.2
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
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
- Adding a method to get the pod address for an entity. by @douglasthomsen in #164
- Update scala-kryo-serialization version to 1.3.0 by @kajebiii in #165
v2.6.0
This is a small release just to upgrade redis4cats which had a major release (2.0).
What's Changed
- Upgrade redis4cats by @ghostdogpr in #162
v2.5.2
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
getShardIdis out of bounds by @ghostdogpr in #160 - Make terminateAllEntities interruptible so that time out works well by @ghostdogpr in #161
v2.5.1
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
- Add a layer to simplify local testing by @ghostdogpr in #152
- Upgrade dependencies by @ghostdogpr in #153
- Terminate all entities of each entity type in parallel by @ghostdogpr in #158
- Adding metadata to shardcake's internal calls. by @douglasthomsen in #155
- Add retries to unregister by @ghostdogpr in #159
v2.5.0
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
- Upgrade dependencies by @ghostdogpr in #151
v2.4.3
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
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