All Versions
40
Latest Version
Avg Release Cycle
10 days
Latest Release
1594 days ago
Changelog History
Page 4
Changelog History
Page 4
-
v2.0.6
March 16, 2020 -
v2.0.5
March 12, 2020 -
v2.0.4
March 10, 2020 -
v2.0.3
March 06, 2020 -
v2.0.2
March 05, 2020 -
v2.0.1
February 27, 2020 -
v2.0.0 Changes
February 24, 2020Major changes
- ๐ renamed the group id from
com.softwaremill.sttp
tocom.softwaremill.sttp.client
(organization) - ๐ renamed the main package from
com.softwaremill.sttp
tosttp.client
(see #288) - ๐ renamed initial request from
sttp
tobasicRequest
- ๐ reworked response-as (see #284)
asString
now is anEither[String, String]
not aString
(no assumptions as to the error type)- all json integrations return an
Either[ResponseError, B]
body
- โ added websocket support
๐ See also:
- migrating to sttp client 2.x and tapir 2.x
- sttp2: an overview of proposed changes
- Websockets in Scala using sttp
Minor changes
- โ removed Request.parseResponseIf
- โ removed Response.unsafeBody
- ๐ป redirect loops now throw an exception
- โฌ๏ธ reduce import conflicts with cats:
- rename Id to Identity (to make working w/ cats easier)
- move MonadError to another package
- cats, zio, monix, scalaz backends now return results wrapped in IO/Task when creating a backend
- backend.close returns a
F[Unit]
- watch out if you are using lazy wrappers! StatusCode
is a proper typeHeader
is a proper typeMultipart
renamed to Part and generified- ๐
asFile(overwrite)
- removed theoverwire
parameter QueryFragment(Encoding)
inUri
renamed toQuerySegment(Encoding)
- ๐
Uri.parse
,Uri.apply
removed, replaced withsafeApply
- ๐ป
uri"..."
without scheme throws exception SttpBackendStub
: instantiated using .stub on "real" backend companion object, instead of using an instance of the "real" backend
- ๐ renamed the group id from
-
v2.0.0-RC13
February 21, 2020 -
v2.0.0-RC12
February 20, 2020 -
v2.0.0-RC11
February 18, 2020