diff --git a/README.md b/README.md index 0697e464c..e5e3383f3 100644 --- a/README.md +++ b/README.md @@ -39,17 +39,17 @@ _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" % "1.1.0" -libraryDependencies += "dev.zio" %% "zio-schema-avro" % "1.1.0" -libraryDependencies += "dev.zio" %% "zio-schema-bson" % "1.1.0" -libraryDependencies += "dev.zio" %% "zio-schema-json" % "1.1.0" -libraryDependencies += "dev.zio" %% "zio-schema-msg-pack" % "1.1.0" -libraryDependencies += "dev.zio" %% "zio-schema-protobuf" % "1.1.0" -libraryDependencies += "dev.zio" %% "zio-schema-thrift" % "1.1.0" -libraryDependencies += "dev.zio" %% "zio-schema-zio-test" % "1.1.0" +libraryDependencies += "dev.zio" %% "zio-schema" % "1.1.1" +libraryDependencies += "dev.zio" %% "zio-schema-avro" % "1.1.1" +libraryDependencies += "dev.zio" %% "zio-schema-bson" % "1.1.1" +libraryDependencies += "dev.zio" %% "zio-schema-json" % "1.1.1" +libraryDependencies += "dev.zio" %% "zio-schema-msg-pack" % "1.1.1" +libraryDependencies += "dev.zio" %% "zio-schema-protobuf" % "1.1.1" +libraryDependencies += "dev.zio" %% "zio-schema-thrift" % "1.1.1" +libraryDependencies += "dev.zio" %% "zio-schema-zio-test" % "1.1.1" // Required for the automatic generic derivation of schemas -libraryDependencies += "dev.zio" %% "zio-schema-derivation" % "1.1.0" +libraryDependencies += "dev.zio" %% "zio-schema-derivation" % "1.1.1" libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value % "provided" ``` diff --git a/zio-schema-bson/src/test/scala-2.x/zio/schema/codec/BsonSchemaCodecGenericSpec.scala b/zio-schema-bson/src/test/scala/zio/schema/codec/BsonSchemaCodecGenericSpec.scala similarity index 97% rename from zio-schema-bson/src/test/scala-2.x/zio/schema/codec/BsonSchemaCodecGenericSpec.scala rename to zio-schema-bson/src/test/scala/zio/schema/codec/BsonSchemaCodecGenericSpec.scala index ea01ded61..805478cb5 100644 --- a/zio-schema-bson/src/test/scala-2.x/zio/schema/codec/BsonSchemaCodecGenericSpec.scala +++ b/zio-schema-bson/src/test/scala/zio/schema/codec/BsonSchemaCodecGenericSpec.scala @@ -7,9 +7,6 @@ import zio.schema.codec.BsonSchemaCodecSpec.roundTripTest import zio.schema.{ DeriveGen, DeriveSchema, Schema } import zio.test._ -/** - * Not supported in scala 3 yet - */ object BsonSchemaCodecGenericSpec extends ZIOSpecDefault { case class SimpleGeneric[T](value: T) @@ -51,7 +48,7 @@ object BsonSchemaCodecGenericSpec extends ZIOSpecDefault { implicit def codec[T: Schema]: BsonCodec[GenericRec[T]] = BsonSchemaCodec.bsonCodec(schema) } - def spec: Spec[TestEnvironment with Scope, Any] = suite("BsonSchemaCodecSpec")( + def spec: Spec[TestEnvironment with Scope, Any] = suite("BsonSchemaCodecGenericSpec")( suite("round trip")( roundTripTest("SimpleGeneric[String]")( DeriveGen.gen[SimpleGeneric[String]],