diff --git a/README.md b/README.md index 564a149..3b66048 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ It consists of different modules for different needs. You can find details, inst | Latest Version of e | Java Version | Scala Versions | | ------------------- | --------------------- | ----------------------- | -| 0.2.5-SNAPSHOT | 1.8 | 2.12, 2.13 | +| 1.0.0 | 1.8 | 2.12, 2.13 | ## Table of Contents @@ -42,10 +42,10 @@ It consists of different modules for different needs. You can find details, inst ```scala libraryDependencies ++= Seq( // Scala modules - "dev.akif" %% "[MODULE]" % "0.2.5-SNAPSHOT", + "dev.akif" %% "[MODULE]" % "1.0.0", // Java/Kotlin modules - "dev.akif" % "[MODULE]" % "0.2.5-SNAPSHOT" + "dev.akif" % "[MODULE]" % "1.0.0" ) ``` * If you use Maven, add following to your `pom.xml` for each module you want to use @@ -55,14 +55,14 @@ libraryDependencies ++= Seq( dev.akif [MODULE]_[SCALA_VERSION] - 0.2.5-SNAPSHOT + 1.0.0 dev.akif [MODULE] - 0.2.5-SNAPSHOT + 1.0.0 ``` @@ -71,10 +71,10 @@ libraryDependencies ++= Seq( ```javascript dependencies { // Scala modules - implementation('dev.akif:[MODULE]_[SCALA_VERSION]:0.2.5-SNAPSHOT'), + implementation('dev.akif:[MODULE]_[SCALA_VERSION]:1.0.0'), // Java/Kotlin modules - implementation('dev.akif:[MODULE]:0.2.5-SNAPSHOT') + implementation('dev.akif:[MODULE]:1.0.0') } ``` diff --git a/e-scala/README.md b/e-scala/README.md index 65eff35..7d46319 100644 --- a/e-scala/README.md +++ b/e-scala/README.md @@ -291,7 +291,7 @@ import e.scala.implicits._ /*******************************/ val encoder: Encoder[String] = JsonStringEncoder -// encoder: Encoder[String] = e.scala.JsonStringEncoder$@7e59f535 +// encoder: Encoder[String] = e.scala.JsonStringEncoder$@643bab66 encoder.encode(E()) // res39: String = "{}" @@ -308,7 +308,7 @@ val csv: Encoder[String] = { e: E => |"${e.name}","${e.message}","${e.code}" """.stripMargin } -// csv: Encoder[String] = repl.Session$App$$anonfun$80@4be309ae +// csv: Encoder[String] = repl.Session$App$$anonfun$80@4a34efcd csv.encode(E()) // res41: String = """"name","message","code" @@ -363,7 +363,7 @@ val csvDecoder: Decoder[String] = new Decoder[String] { private def unescape(s: String): String = if (s.startsWith("\"") && s.endsWith("\"")) s.drop(1).dropRight(1) else s } -// csvDecoder: Decoder[String] = repl.Session$App$$anon$1@2474a1cb +// csvDecoder: Decoder[String] = repl.Session$App$$anon$1@26ae2171 val result1 = csvDecoder.decode("foo") // result1: DecodingResult[E] = {"name":"decoding-failure","message":"Input did not have 2 rows!"} diff --git a/e-zio/README.md b/e-zio/README.md index a68b209..e49b498 100644 --- a/e-zio/README.md +++ b/e-zio/README.md @@ -18,7 +18,7 @@ import zio.internal.PlatformLive /****************/ val runtime1 = zio.Runtime((), PlatformLive.Default) -// runtime1: zio.Runtime[Unit] = zio.Runtime$$anon$1@1c13b7f1 +// runtime1: zio.Runtime[Unit] = zio.Runtime$$anon$1@c0f244b def divide(a: Int, b: Int): MaybeZ[Int] = if (b == 0) { @@ -33,7 +33,7 @@ runtime1.unsafeRunSync(divide(4, 0)) // Fail( // E("divide-by-zero", "Cannot divide by 0!", 0, None, Map("input" -> "4")) // ), -// ZTrace(Id(1581496439209L, 3L), List(), List(), None) +// ZTrace(Id(1581514181304L, 0L), List(), List(), None) // ) // ) @@ -50,7 +50,7 @@ val divider: Divider = (a: Int, b: Int) => divide(a, b) // divider: (Int, Int) => MaybeZ[Int] = val runtime2: zio.Runtime[Divider] = zio.Runtime(divider, PlatformLive.Default) -// runtime2: zio.Runtime[(Int, Int) => MaybeZ[Int]] = zio.Runtime$$anon$1@73880bf1 +// runtime2: zio.Runtime[(Int, Int) => MaybeZ[Int]] = zio.Runtime$$anon$1@6b6514dd def divideWithEnvironment(a: Int, b: Int): MaybeZR[Divider, Int] = for { @@ -67,7 +67,7 @@ runtime2.unsafeRunSync(divideWithEnvironment(4, 0)) // E("divide-by-zero", "Cannot divide by 0!", 0, None, Map("input" -> "4")) // ), // ZTrace( -// Id(1581496439217L, 5L), +// Id(1581514181347L, 2L), // List( // SourceLocation( // "README.md", diff --git a/version.sbt b/version.sbt index a8aa224..3265844 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -version in ThisBuild := "0.2.5-SNAPSHOT" +version in ThisBuild := "1.0.0"