Skip to content

Releases: softwaremill/sttp

v3.8.15

11 Apr 09:13
ba4b4e7
Compare
Choose a tag to compare

What’s Changed

v3.8.14

29 Mar 15:58
349031d
Compare
Choose a tag to compare

What’s Changed

v4.0.0-M1

14 Mar 10:47
aee041e
Compare
Choose a tag to compare

This is the first milestone release for the upcoming sttp 4. The focus of this release is to simplify the types used by sttp, improve type inference and error reporting, while keeping the same API.

Hence the good news: if you are using sttp 3, your code should work with minimal changes. These should concern mainly the types, and code organization (package names). If you'd like to help us and try out this release, please do - and report anything that has been unexpectedly broken.

sttp 4 uses a new organization (com.softwaremill.sttp.client4) and package name (sttp.client4), so you can safely use both v3 and v4 in a single codebase.

If you'd like to test the new release, check out the updated quickstart documentation page.

And finally, for feedback regarding this release, or suggestions on what to improve in further milestone releases (NOW is the best time to let us know what you found irritating or broken in sttp v3), please let us know on the community forum. Thank you!

Thanks to @adpi2 for the PR transforming how we define requests & backends.

Non-exhaustive list of breaking changes

  • remove RequestT, introduce PartialRequest, Request, StreamRequest, WebSocketRequest, WebSocketStreamRequest
  • rename SttpBackend to GenericBackend, introduce subtypes: Backend, StreamBackend, SyncBackend etc.
  • rename SttpBackendOptions to BackendOptions
  • rename Backend.responseMonad to Backend.monad
  • request.send(backend) is now the only preferred method of sending a request
  • remove SimpleHttpClient
  • move HttpClientBackend to a dedicated package, introduce DefaultSyncBackend and DefaultFutureBackend

What’s Changed

Dependency updates

v3.8.13

09 Mar 16:09
90944b8
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v3.8.12

28 Feb 20:40
2ed59dc
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v3.8.11

07 Feb 20:37
1885dad
Compare
Choose a tag to compare

What’s Changed

  • Add an option to customise armeria's WebClient when creating the backend. (#1725) @adamw
  • Adjust exceptions in SttpBackendStub (#1723) @adamw

Dependency updates

v3.8.10

31 Jan 21:03
e389cda
Compare
Choose a tag to compare

Drops support for 2.11 + JS/Native

What’s Changed

  • Fix response.request accessible from PrometheusBackend (#1718) @Krever

Dependency updates

v3.8.9

26 Jan 21:36
Compare
Choose a tag to compare

What’s Changed

  • Optimize the way HttpClient-based backends read body as an input stream (#1712) @adamw

Dependency updates

v3.8.8

10 Jan 15:58
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v3.8.7

04 Jan 19:26
Compare
Choose a tag to compare

What’s Changed

  • De-deprecate async-http-client (#1688) @adamw
  • Added replaceExisting flag for headers method (#1680) @ezequielmasciarelli
  • Don't close the effect system executor, if it is the one used by HttpClient. Only close thread-pool based executors. (#1687) @adamw
  • Fix websocket client using asWebSocket in JS (#1683) @adamw

Dependency updates