Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dependencies #531

Merged
merged 2 commits into from
Mar 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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