Skip to content

Commit

Permalink
Update Dependencies (#531)
Browse files Browse the repository at this point in the history
* update dependencies

* update read me
  • Loading branch information
adamgfraser authored Mar 23, 2023
1 parent d7ea85b commit 3a27db8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ _ZIO Schema_ is used by a growing number of ZIO libraries, including _ZIO Flow_,
In order to use this library, we need to add the following lines in our `build.sbt` file:

```scala
libraryDependencies += "dev.zio" %% "zio-schema" % "0.4.8"
libraryDependencies += "dev.zio" %% "zio-schema-json" % "0.4.8"
libraryDependencies += "dev.zio" %% "zio-schema-protobuf" % "0.4.8"
libraryDependencies += "dev.zio" %% "zio-schema" % "0.4.9"
libraryDependencies += "dev.zio" %% "zio-schema-json" % "0.4.9"
libraryDependencies += "dev.zio" %% "zio-schema-protobuf" % "0.4.9"

// Required for automatic generic derivation of schemas
libraryDependencies += "dev.zio" %% "zio-schema-derivation" % "0.4.8",
libraryDependencies += "dev.zio" %% "zio-schema-derivation" % "0.4.9",
libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value % "provided"
```

Expand Down
10 changes: 5 additions & 5 deletions project/BuildHelper.scala
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ object BuildHelper {
val Scala213: String = versions("2.13")
val Scala3: String = versions("3.2") //versions.getOrElse("3.0", versions("3.1"))

val zioVersion = "2.0.6"
val zioJsonVersion = "0.3.0-RC9"
val zioPreludeVersion = "1.0.0-RC16"
val zioOpticsVersion = "0.2.0"
val zioVersion = "2.0.10"
val zioJsonVersion = "0.5.0"
val zioPreludeVersion = "1.0.0-RC18"
val zioOpticsVersion = "0.2.1"
val silencerVersion = "1.7.11"
val avroVersion = "1.11.0"
val zioConstraintlessVersion = "0.3.1"
val zioConstraintlessVersion = "0.3.2"

private val testDeps = Seq(
"dev.zio" %% "zio-test" % zioVersion % "test",
Expand Down
2 changes: 1 addition & 1 deletion tests/shared/src/test/scala-2/zio/schema/SchemaGen.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ object SchemaGen {
schemaGen: Gen[Sized, Schema[_]]
): Gen[Sized, FieldSet] =
Gen.setOfBounded(1, 3)(anyLabel).flatMap { keySet =>
Gen.setOfN(keySet.size)(schemaGen).map { schemas =>
Gen.listOfN(keySet.size)(schemaGen).map { schemas =>
FieldSet(
keySet
.zip(schemas)
Expand Down

0 comments on commit 3a27db8

Please sign in to comment.