Skip to content

Commit 960ab6e

Browse files
committed
Update version in docs
1 parent e87532d commit 960ab6e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

vuepress/docs/docs/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ The first thing we need to do is starting the Shard Manager. This component is a
7979
To make it simpler and run our example without 3rd parties, we're going to run a simple `PodsHealth` implementation that just pings a pod to see if it's alive, and in-memory `Storage`.
8080
We need a proper messaging protocol to communicate with pods, so we're going to use `shardcake-protocol-grpc`.
8181
```
82-
libraryDependencies += "com.devsisters" %% "shardcake-manager" % "2.4.2"
83-
libraryDependencies += "com.devsisters" %% "shardcake-protocol-grpc" % "2.4.2"
82+
libraryDependencies += "com.devsisters" %% "shardcake-manager" % "2.5.0"
83+
libraryDependencies += "com.devsisters" %% "shardcake-protocol-grpc" % "2.5.0"
8484
```
8585
The Shard Manager exposes a small GraphQL API, which means we need to start a small webserver. This can be done by calling `Server.run` and providing all the required dependencies.
8686
```scala
@@ -107,8 +107,8 @@ We now need to define our **entity behavior**: what kind of messages can our ent
107107

108108
First, we need the following dependencies:
109109
```
110-
libraryDependencies += "com.devsisters" %% "shardcake-entities" % "2.4.2"
111-
libraryDependencies += "com.devsisters" %% "shardcake-protocol-grpc" % "2.4.2"
110+
libraryDependencies += "com.devsisters" %% "shardcake-entities" % "2.5.0"
111+
libraryDependencies += "com.devsisters" %% "shardcake-protocol-grpc" % "2.5.0"
112112
```
113113

114114
Let's start with defining the messages our entities can receive. We will have 2: one for joining a guild and one for leaving.

vuepress/docs/docs/customization.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ For testing, you can use the `Storage.memory` layer that keeps data in memory.
2828

2929
Shardcake provides an implementation of `Storage` using Redis with the Redis4cats library (there's also an alternative using Redisson). To use it, add the following dependency:
3030
```scala
31-
libraryDependencies += "com.devsisters" %% "shardcake-storage-redis" % "2.4.2"
31+
libraryDependencies += "com.devsisters" %% "shardcake-storage-redis" % "2.5.0"
3232
```
3333
You can then simply use the `StorageRedis.live` layer.
3434

@@ -85,7 +85,7 @@ For testing, you can use the `Pods.noop` layer that does nothing.
8585

8686
Shardcake provides an implementation of `Pods` using the gRPC protocol. To use it, add the following dependency:
8787
```scala
88-
libraryDependencies += "com.devsisters" %% "shardcake-protocol-grpc" % "2.4.2"
88+
libraryDependencies += "com.devsisters" %% "shardcake-protocol-grpc" % "2.5.0"
8989
```
9090
You can then simply use the `GrpcPods.live` layer.
9191

@@ -106,7 +106,7 @@ For testing, you can use the `Serialization.javaSerialization` layer that uses J
106106

107107
Shardcake provides an implementation of `Serialization` using the [Kryo](https://github.com/EsotericSoftware/kryo) binary serialization library. To use it, add the following dependency:
108108
```scala
109-
libraryDependencies += "com.devsisters" %% "shardcake-serialization-kryo" % "2.4.2"
109+
libraryDependencies += "com.devsisters" %% "shardcake-serialization-kryo" % "2.5.0"
110110
```
111111
You can then simply use the `KryoSerialization.live` layer.
112112

@@ -131,7 +131,7 @@ For testing, you can use the `PodsHealth.noop` layer that always returns true, o
131131

132132
Shardcake provides an implementation of `PodsHealth` using the [Kubernetes](https://kubernetes.io) API. To use it, add the following dependency:
133133
```scala
134-
libraryDependencies += "com.devsisters" %% "shardcake-health-k8s" % "2.4.2"
134+
libraryDependencies += "com.devsisters" %% "shardcake-health-k8s" % "2.5.0"
135135
```
136136
You can then simply use the `K8sPodsHealth.live` layer. This is requiring a `Pods` layer that comes from [zio-k8s](https://coralogix.github.io/zio-k8s/docs/overview/overview_gettingstarted).
137137

0 commit comments

Comments
 (0)