@@ -7,7 +7,10 @@ Dispatch reboot is a rewrite of the Dispatch library for HTTP interaction in Sca
7
7
[ async-http-client] [ async ] , commonly called AHC, as its underlying transport. For more info, see the
8
8
[ Dispatch documentation site] [ docs ] .
9
9
10
- Dispatch requires that you use at least Java 11. Our test suite is also run against recent Java LTS versions.
10
+ Minimum requirements:
11
+
12
+ * Java >= 11 (tested against 11, 17, and 21)
13
+ * Scala 2.13 or >= 3.3.3
11
14
12
15
[ docs ] : https://dispatch.github.io/reboot/Dispatch.html
13
16
[ async ] : https://github.com/AsyncHttpClient/async-http-client
@@ -17,16 +20,16 @@ Dispatch requires that you use at least Java 11. Our test suite is also run agai
17
20
Stable releases of Dispatch are published to Maven Central. As such, you can pull in the current
18
21
stable release by simply adding a library dependency to your project for the correct version.
19
22
20
- To get the latest stable release, 1.2 .0, simply add the following to your ` build.sbt ` :
23
+ To get the latest stable release, 2.0 .0, simply add the following to your ` build.sbt ` :
21
24
22
25
``` scala
23
- libraryDependencies += " org.dispatchhttp" %% " dispatch-core" % " 1.2 .0"
26
+ libraryDependencies += " org.dispatchhttp" %% " dispatch-core" % " 2.0 .0"
24
27
```
25
28
26
29
If Gradle is more your style, you could also use this style:
27
30
28
31
``` scala
29
- implementation " org.dispatchhttp:dispatch-core_2.12:1.2 .0"
32
+ implementation " org.dispatchhttp:dispatch-core_2.13:2.0 .0"
30
33
```
31
34
32
35
### Snapshot releases
@@ -38,7 +41,7 @@ to add the snapshots repository to your project and pull the relevant snapshot:
38
41
resolvers +=
39
42
" Sonatype OSS Snapshots" at " https://oss.sonatype.org/content/repositories/snapshots"
40
43
41
- libraryDependencies += " org.dispatchhttp" %% " dispatch-core" % " 1.3 .0-SNAPSHOT"
44
+ libraryDependencies += " org.dispatchhttp" %% " dispatch-core" % " 2.1 .0-SNAPSHOT"
42
45
```
43
46
44
47
## Versioning and Support
@@ -67,7 +70,8 @@ their current support status:
67
70
| 1.0.3 | 2.5.4 | 2.11,2.12 | None | 1.0.x |
68
71
| 1.1.3 | 2.10.4 | 2.12,2.13 | None | 1.1.x |
69
72
| 1.2.0 | 2.10.4 | 2.12,2.13 | Critical | 1.2.x |
70
- | 2.0.0-SNAPSHOT | 3.0.0 | 2.13,3.3.3 | Development | main |
73
+ | 2.0.0-SNAPSHOT | 3.0.0 | 2.13,3.3.3 | Full | 2.0.x |
74
+ | 2.1.0-SNAPSHOT | 3.0.0 | 2.13,3.3.3 | Development | main |
71
75
72
76
Because the AsyncHttpClient does not adhere to semantic versioning, and its versions can increment
73
77
quite quickly at times, beginning with 0.14 Dispatch will only use the latest (major, minor) AHC
0 commit comments