Skip to content

Commit 7e2541d

Browse files
committed
Setting version to 3.0.0
1 parent 07d2720 commit 7e2541d

File tree

9 files changed

+60
-60
lines changed

9 files changed

+60
-60
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ It consists of different modules for different needs. You can find details, inst
88

99
| Latest Version of e | Java Version | Scala Version | Kotlin Version |
1010
|---------------------|----------------|-----------------|------------------|
11-
| 3.0.0-SNAPSHOT | 21 | 3.4.0 | 1.9.23 |
11+
| 3.0.0 | 21 | 3.4.0 | 1.9.23 |
1212

1313
## Table of Contents
1414

@@ -26,13 +26,13 @@ It consists of different modules for different needs. You can find details, inst
2626

2727
| Name | Platform | Details | Documentation |
2828
|--------------------------------------|----------|--------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
29-
| [e-scala](e-scala/README.md) | Scala | Scala implementation | [![](https://img.shields.io/badge/docs-3.0.0-SNAPSHOT-brightgreen.svg?style=for-the-badge&logo=scala&color=dc322f&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-scala_3) |
30-
| [e-kotlin](e-kotlin/README.md) | Kotlin | Kotlin implementation | [![](https://img.shields.io/badge/docs-3.0.0-SNAPSHOT-brightgreen.svg?style=for-the-badge&logo=kotlin&color=0095d5&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-kotlin) |
31-
| [e-java](e-java/README.md) | Java | Java implementation | [![](https://img.shields.io/badge/docs-3.0.0-SNAPSHOT-brightgreen.svg?style=for-the-badge&logo=java&color=007396&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-java) |
32-
| [e-circe](e-circe/README.md) | Scala | Extras for [circe](https://circe.github.io/circe) | [![](https://img.shields.io/badge/docs-3.0.0-SNAPSHOT-brightgreen.svg?style=for-the-badge&logo=scala&color=dc322f&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-circe_3) |
33-
| [e-play-json](e-play-json/README.md) | Scala | Extras for [play-json](https://github.com/playframework/play-json) | [![](https://img.shields.io/badge/docs-3.0.0-SNAPSHOT-brightgreen.svg?style=for-the-badge&logo=scala&color=dc322f&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-play-json_3) |
34-
| [e-zio](e-zio/README.md) | Scala | Extras for [ZIO](https://zio.dev) | [![](https://img.shields.io/badge/docs-3.0.0-SNAPSHOT-brightgreen.svg?style=for-the-badge&logo=scala&color=dc322f&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-zio_3) |
35-
| [e-gson](e-gson/README.md) | Java | Extras for [gson](https://github.com/google/gson) | [![](https://img.shields.io/badge/docs-3.0.0-SNAPSHOT-brightgreen.svg?style=for-the-badge&logo=java&color=007396&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-gson) |
29+
| [e-scala](e-scala/README.md) | Scala | Scala implementation | [![](https://img.shields.io/badge/docs-3.0.0-brightgreen.svg?style=for-the-badge&logo=scala&color=dc322f&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-scala_3) |
30+
| [e-kotlin](e-kotlin/README.md) | Kotlin | Kotlin implementation | [![](https://img.shields.io/badge/docs-3.0.0-brightgreen.svg?style=for-the-badge&logo=kotlin&color=0095d5&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-kotlin) |
31+
| [e-java](e-java/README.md) | Java | Java implementation | [![](https://img.shields.io/badge/docs-3.0.0-brightgreen.svg?style=for-the-badge&logo=java&color=007396&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-java) |
32+
| [e-circe](e-circe/README.md) | Scala | Extras for [circe](https://circe.github.io/circe) | [![](https://img.shields.io/badge/docs-3.0.0-brightgreen.svg?style=for-the-badge&logo=scala&color=dc322f&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-circe_3) |
33+
| [e-play-json](e-play-json/README.md) | Scala | Extras for [play-json](https://github.com/playframework/play-json) | [![](https://img.shields.io/badge/docs-3.0.0-brightgreen.svg?style=for-the-badge&logo=scala&color=dc322f&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-play-json_3) |
34+
| [e-zio](e-zio/README.md) | Scala | Extras for [ZIO](https://zio.dev) | [![](https://img.shields.io/badge/docs-3.0.0-brightgreen.svg?style=for-the-badge&logo=scala&color=dc322f&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-zio_3) |
35+
| [e-gson](e-gson/README.md) | Java | Extras for [gson](https://github.com/google/gson) | [![](https://img.shields.io/badge/docs-3.0.0-brightgreen.svg?style=for-the-badge&logo=java&color=007396&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-gson) |
3636

3737
## Examples and Use Cases
3838

e-circe/README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[//]: # "This file is generated by [mdoc](https://scalameta.org/mdoc). Do not edit it directly as it will be overwritten. Instead edit corresponding file in docs folder."
22

3-
# e-circe [![](https://img.shields.io/badge/docs-3.0.0-SNAPSHOT-brightgreen.svg?style=for-the-badge&logo=scala&color=dc322f&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-circe_3)
3+
# e-circe [![](https://img.shields.io/badge/docs-3.0.0-brightgreen.svg?style=for-the-badge&logo=scala&color=dc322f&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-circe_3)
44

55
This is a Json codec implementation for `E` and `EOr` types based on [circe](https://circe.github.io/circe). It provides circe's `Decoder`s and `Encoder`s as well as e's own `Codec` (see [e-scala](/e-scala/README.md#3-codec-decoder-and-encoder) docs).
66

@@ -9,7 +9,7 @@ This is a Json codec implementation for `E` and `EOr` types based on [circe](htt
99
If you use SBT, add following to your `build.sbt`:
1010

1111
```scala
12-
libraryDependencies += "dev.akif" %% "e-circe" % "3.0.0-SNAPSHOT"
12+
libraryDependencies += "dev.akif" %% "e-circe" % "3.0.0"
1313
```
1414

1515
If you use Maven, add following to your `pom.xml`:
@@ -20,7 +20,7 @@ If you use Maven, add following to your `pom.xml`:
2020
<dependency>
2121
<groupId>dev.akif</groupId>
2222
<artifactId>e-circe_3</artifactId>
23-
<version>3.0.0-SNAPSHOT</version>
23+
<version>3.0.0</version>
2424
</dependency>
2525
</dependencies>
2626
```
@@ -30,7 +30,7 @@ If you use Gradle, add following to your project's `build.gradle`:
3030
```javascript
3131
dependencies
3232
{
33-
implementation('dev.akif:e-circe_3:3.0.0-SNAPSHOT')
33+
implementation('dev.akif:e-circe_3:3.0.0')
3434
}
3535
```
3636

@@ -93,7 +93,7 @@ decode[E](Json.arr())
9393
// res7: EOr[E] = {"name":"decoding-error","message":"Failed to decode!","causes":[{"message":"Expected: JsonObject"}]}
9494

9595
val decoder = makeDecoder[E]
96-
// decoder: Decoder[Json, E] = e.scala.codec.CodecFor$$Lambda/0x0000000303c00e40@7b898871
96+
// decoder: Decoder[Json, E] = e.scala.codec.CodecFor$$Lambda/0x000001fe03c268a8@635798c
9797

9898
decoder.decode(Json.obj("code" := 1, "name" := "test"))
9999
// res8: EOr[E] = {"code":1,"name":"test"}
@@ -126,7 +126,7 @@ encode(E.name("test").message("Test").cause(E.code(1)))
126126
// }
127127

128128
val encoder = makeEncoder[E]
129-
// encoder: Encoder[E, Json] = e.scala.codec.CodecFor$$Lambda/0x0000000303c07420@b36987b
129+
// encoder: Encoder[E, Json] = e.scala.codec.CodecFor$$Lambda/0x000001fe03c2eec0@f2bdaaa
130130

131131
encoder.encode(E.code(2))
132132
// res12: Json = {
@@ -149,7 +149,7 @@ encode[EOr[Int]](123.toEOr)
149149
// res15: Json = 123
150150

151151
val encoder = makeEncoder[EOr[String]]
152-
// encoder: Encoder[EOr[String], Json] = e.scala.codec.CodecFor$$Lambda/0x0000000303c07420@69ea67a
152+
// encoder: Encoder[EOr[String], Json] = e.scala.codec.CodecFor$$Lambda/0x000001fe03c2eec0@5a0279f
153153

154154
encoder.encode(E.name("test").toEOr[String])
155155
// res16: Json = {
@@ -178,7 +178,7 @@ object User:
178178
given userEncoder: CirceEncoder[User] = CirceEncoder.forProduct2("n", "a")(u => (u.name, u.age))
179179

180180
val codec = makeCodec[User]
181-
// codec: Codec[User, Json] = e.scala.codec.CodecFor$$anon$1@721ad5cf
181+
// codec: Codec[User, Json] = e.scala.codec.CodecFor$$anon$1@c4ab843
182182

183183
codec.decode(Json.obj("foo" := "bar"))
184184
// res19: EOr[User] = {"name":"decoding-error","message":"Failed to decode!","causes":[{"name":".n","message":"Missing required field"},{"name":".a","message":"Missing required field"}]}

e-gson/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[//]: # "This file is generated by [mdoc](https://scalameta.org/mdoc). Do not edit it directly as it will be overwritten. Instead edit corresponding file in docs folder."
22

3-
# e-gson[![](https://img.shields.io/badge/docs-3.0.0-SNAPSHOT-brightgreen.svg?style=for-the-badge&logo=java&color=007396&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-gson)
3+
# e-gson[![](https://img.shields.io/badge/docs-3.0.0-brightgreen.svg?style=for-the-badge&logo=java&color=007396&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-gson)
44

55
This is a Json codec implementation for `E` and `EOr` types based on [gson](https://github.com/google/gson). It provides gson's `JsonDeserializer`s and `JsonSerializer`s as well as e's own `Codec` (see [e-java](/e-java/README.md#3-codec-decoder-and-encoder) docs).
66

@@ -10,7 +10,7 @@ If you use Gradle, add following to your project's `build.gradle`:
1010

1111
```javascript
1212
dependencies {
13-
implementation('dev.akif:e-gson:3.0.0-SNAPSHOT')
13+
implementation('dev.akif:e-gson:3.0.0')
1414
}
1515
```
1616

@@ -21,15 +21,15 @@ If you use Maven, add following to your `pom.xml`:
2121
<dependency>
2222
<groupId>dev.akif</groupId>
2323
<artifactId>e-gson</artifactId>
24-
<version>3.0.0-SNAPSHOT</version>
24+
<version>3.0.0</version>
2525
</dependency>
2626
</dependencies>
2727
```
2828

2929
If you use SBT, add following to your `build.sbt`:
3030

3131
```scala
32-
libraryDependencies += "dev.akif" % "e-gson" % "3.0.0-SNAPSHOT"
32+
libraryDependencies += "dev.akif" % "e-gson" % "3.0.0"
3333
```
3434

3535
## Contents

e-java/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[//]: # "This file is generated by [mdoc](https://scalameta.org/mdoc). Do not edit it directly as it will be overwritten. Instead edit corresponding file in docs folder."
22

3-
# e-java [![](https://img.shields.io/badge/docs-3.0.0-SNAPSHOT-brightgreen.svg?style=for-the-badge&logo=java&color=007396&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-java)
3+
# e-java [![](https://img.shields.io/badge/docs-3.0.0-brightgreen.svg?style=for-the-badge&logo=java&color=007396&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-java)
44

55
This is the main implementation of e in Java. It contains two main types [E](src/main/java/e/java/E.java) and [EOr](src/main/java/e/java/EOr.java). It also contains definitions of decoding and encoding for these. Implementations of decoding and encoding are provided in separate modules.
66

@@ -10,7 +10,7 @@ If you use Gradle, add following to your project's `build.gradle`:
1010

1111
```javascript
1212
dependencies {
13-
implementation('dev.akif:e-java:3.0.0-SNAPSHOT')
13+
implementation('dev.akif:e-java:3.0.0')
1414
}
1515
```
1616

@@ -21,15 +21,15 @@ If you use Maven, add following to your `pom.xml`:
2121
<dependency>
2222
<groupId>dev.akif</groupId>
2323
<artifactId>e-java</artifactId>
24-
<version>3.0.0-SNAPSHOT</version>
24+
<version>3.0.0</version>
2525
</dependency>
2626
</dependencies>
2727
```
2828

2929
If you use SBT, add following to your `build.sbt`:
3030

3131
```java
32-
libraryDependencies += "dev.akif" % "e-java" % "3.0.0-SNAPSHOT"
32+
libraryDependencies += "dev.akif" % "e-java" % "3.0.0"
3333
```
3434

3535
## Contents

e-kotlin/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[//]: # "This file is generated by [mdoc](https://scalameta.org/mdoc). Do not edit it directly as it will be overwritten. Instead edit corresponding file in docs folder."
22

3-
# e-kotlin [![](https://img.shields.io/badge/docs-3.0.0-SNAPSHOT-brightgreen.svg?style=for-the-badge&logo=kotlin&color=0095d5&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-kotlin)
3+
# e-kotlin [![](https://img.shields.io/badge/docs-3.0.0-brightgreen.svg?style=for-the-badge&logo=kotlin&color=0095d5&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-kotlin)
44

55
This is the main implementation of e in Kotlin. It contains two main types [E](src/main/kotlin/e/kotlin/E.kt) and [EOr](src/main/kotlin/e/kotlin/EOr.kt). It also contains definitions of decoding and encoding for these. Implementations of decoding and encoding are provided in separate modules.
66

@@ -10,7 +10,7 @@ If you use Gradle, add following to your project's `build.gradle`:
1010

1111
```javascript
1212
dependencies {
13-
implementation('dev.akif:e-kotlin:3.0.0-SNAPSHOT')
13+
implementation('dev.akif:e-kotlin:3.0.0')
1414
}
1515
```
1616

@@ -21,15 +21,15 @@ If you use Maven, add following to your `pom.xml`:
2121
<dependency>
2222
<groupId>dev.akif</groupId>
2323
<artifactId>e-kotlin</artifactId>
24-
<version>3.0.0-SNAPSHOT</version>
24+
<version>3.0.0</version>
2525
</dependency>
2626
</dependencies>
2727
```
2828

2929
If you use SBT, add following to your `build.sbt`:
3030

3131
```kotlin
32-
libraryDependencies += "dev.akif" % "e-kotlin" % "3.0.0-SNAPSHOT"
32+
libraryDependencies += "dev.akif" % "e-kotlin" % "3.0.0"
3333
```
3434

3535
## Contents

e-play-json/README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[//]: # "This file is generated by [mdoc](https://scalameta.org/mdoc). Do not edit it directly as it will be overwritten. Instead edit corresponding file in docs folder."
22

3-
# e-play-json [![](https://img.shields.io/badge/docs-3.0.0-SNAPSHOT-brightgreen.svg?style=for-the-badge&logo=scala&color=dc322f&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-play-json_3)
3+
# e-play-json [![](https://img.shields.io/badge/docs-3.0.0-brightgreen.svg?style=for-the-badge&logo=scala&color=dc322f&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-play-json_3)
44

55
This is a Json codec implementation for `E` and `EOr` types based on [play-json]((https://github.com/playframework/play-json)). It provides play-json's `Reads` and `Writes` as well as e's own `Codec` (see [e-scala](/e-scala/README.md#3-codec-decoder-and-encoder) docs).
66

@@ -9,7 +9,7 @@ This is a Json codec implementation for `E` and `EOr` types based on [play-json]
99
If you use SBT, add following to your `build.sbt`:
1010

1111
```scala
12-
libraryDependencies += "dev.akif" %% "e-play-json" % "3.0.0-SNAPSHOT"
12+
libraryDependencies += "dev.akif" %% "e-play-json" % "3.0.0"
1313
```
1414

1515
If you use Maven, add following to your `pom.xml`:
@@ -19,7 +19,7 @@ If you use Maven, add following to your `pom.xml`:
1919
<dependency>
2020
<groupId>dev.akif</groupId>
2121
<artifactId>e-play-json_3</artifactId>
22-
<version>3.0.0-SNAPSHOT</version>
22+
<version>3.0.0</version>
2323
</dependency>
2424
</dependencies>
2525
```
@@ -28,7 +28,7 @@ If you use Gradle, add following to your project's `build.gradle`:
2828

2929
```javascript
3030
dependencies {
31-
implementation('dev.akif:e-play-json_3:3.0.0-SNAPSHOT')
31+
implementation('dev.akif:e-play-json_3:3.0.0')
3232
}
3333
```
3434

@@ -89,7 +89,7 @@ decode[E](Json.arr())
8989
// res7: EOr[E] = {"name":"decoding-error","message":"Failed to decode!","causes":[{"name":"obj","message":"error.expected.jsobject"}]}
9090

9191
val decoder = makeDecoder[E]
92-
// decoder: Decoder[JsValue, E] = e.scala.codec.CodecFor$$Lambda/0x0000000303c00e40@466949ed
92+
// decoder: Decoder[JsValue, E] = e.scala.codec.CodecFor$$Lambda/0x000001fe03c268a8@722ea8c1
9393

9494
decoder.decode(Json.obj("code" -> 1, "name" -> "test"))
9595
// res8: EOr[E] = {"code":1,"name":"test"}
@@ -112,7 +112,7 @@ encode(E.name("test").message("Test").cause(E.code(1)))
112112
// res11: JsValue = {"name":"test","message":"Test","causes":[{"code":1}]}
113113

114114
val encoder = makeEncoder[E]
115-
// encoder: Encoder[E, JsValue] = e.scala.codec.CodecFor$$Lambda/0x0000000303c07420@3a7aa291
115+
// encoder: Encoder[E, JsValue] = e.scala.codec.CodecFor$$Lambda/0x000001fe03c2eec0@7c5b465f
116116

117117
encoder.encode(E.code(2))
118118
// res12: JsValue = {"code":2}
@@ -131,7 +131,7 @@ encode[EOr[Int]](123.toEOr)
131131
// res15: JsValue = 123
132132

133133
val encoder = makeEncoder[EOr[String]]
134-
// encoder: Encoder[EOr[String], JsValue] = e.scala.codec.CodecFor$$Lambda/0x0000000303c07420@25e4ddd2
134+
// encoder: Encoder[EOr[String], JsValue] = e.scala.codec.CodecFor$$Lambda/0x000001fe03c2eec0@3ccb623f
135135

136136
encoder.encode(E.name("test").toEOr[String])
137137
// res16: JsValue = {"name":"test"}
@@ -155,7 +155,7 @@ object User:
155155
given userFormat: Format[User] = Json.format[User]
156156

157157
val codec = makeCodec[User]
158-
// codec: Codec[User, JsValue] = e.scala.codec.CodecFor$$anon$1@4c221953
158+
// codec: Codec[User, JsValue] = e.scala.codec.CodecFor$$anon$1@613219ea
159159

160160
codec.decode(Json.obj("foo" -> "bar"))
161161
// res19: EOr[User] = {"name":"decoding-error","message":"Failed to decode!","causes":[{"name":"obj.age","message":"error.path.missing"},{"name":"obj.name","message":"error.path.missing"}]}

e-scala/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[//]: # "This file is generated by [mdoc](https://scalameta.org/mdoc). Do not edit it directly as it will be overwritten. Instead edit corresponding file in docs folder."
22

3-
# e-scala [![](https://img.shields.io/badge/docs-3.0.0-SNAPSHOT-brightgreen.svg?style=for-the-badge&logo=scala&color=dc322f&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-scala_3)
3+
# e-scala [![](https://img.shields.io/badge/docs-3.0.0-brightgreen.svg?style=for-the-badge&logo=scala&color=dc322f&labelColor=333333)](https://javadoc.io/doc/dev.akif/e-scala_3)
44

55
This is the main implementation of e in Scala. It contains two main types [E](src/main/scala/e/scala/E.scala) and [EOr](src/main/scala/e/scala/EOr.scala). It also contains definitions of decoding and encoding for these. Implementations of decoding and encoding are provided in separate modules.
66

@@ -9,7 +9,7 @@ This is the main implementation of e in Scala. It contains two main types [E](sr
99
If you use SBT, add following to your `build.sbt`:
1010

1111
```scala
12-
libraryDependencies += "dev.akif" %% "e-scala" % "3.0.0-SNAPSHOT"
12+
libraryDependencies += "dev.akif" %% "e-scala" % "3.0.0"
1313
```
1414

1515
If you use Maven, add following to your `pom.xml`:
@@ -20,7 +20,7 @@ If you use Maven, add following to your `pom.xml`:
2020
<dependency>
2121
<groupId>dev.akif</groupId>
2222
<artifactId>e-scala_3</artifactId>
23-
<version>3.0.0-SNAPSHOT</version>
23+
<version>3.0.0</version>
2424
</dependency>
2525
</dependencies>
2626
```
@@ -30,7 +30,7 @@ If you use Gradle, add following to your project's `build.gradle`:
3030
```javascript
3131
dependencies
3232
{
33-
implementation('dev.akif:e-scala_3:3.0.0-SNAPSHOT')
33+
implementation('dev.akif:e-scala_3:3.0.0')
3434
}
3535
```
3636

@@ -78,10 +78,10 @@ E.name("test-error").message("Test")
7878
// res2: E = {"name":"test-error","message":"Test"}
7979

8080
val unexpectedError = E(message = Some("Unexpected Error"), code = Some(-1)).now
81-
// unexpectedError: E = {"code":-1,"message":"Unexpected Error","time":1714475090084}
81+
// unexpectedError: E = {"code":-1,"message":"Unexpected Error","time":1714944937252}
8282

8383
val errorWithDataAndCause = unexpectedError.data("action" -> "test").cause(notSoEmpty)
84-
// errorWithDataAndCause: E = {"code":-1,"message":"Unexpected Error","causes":[{"code":1,"name":"error-name","message":"Error Message"}],"data":{"action":"test"},"time":1714475090084}
84+
// errorWithDataAndCause: E = {"code":-1,"message":"Unexpected Error","causes":[{"code":1,"name":"error-name","message":"Error Message"}],"data":{"action":"test"},"time":1714944937252}
8585
```
8686

8787
#### 1.2. Accessing Data in E

0 commit comments

Comments
 (0)