Skip to content

v4.0.0-RC1

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 06 Feb 12:29
· 4 commits to refs/heads/master since this release
53a285b

This is the release candidate for sttp-client4, a major release of the Scala HTTP client you always wanted!
If no major issues are found, which would impact the public API, a final release of sttp-client 4.0.0 will follow in about a month.

Links

New features

  • simple use-cases, simple types: most of the time you'll work with Request[T], SyncBackend or Backend[F], reducing the number of type parameters involved
  • much better error reporting, due to the above simplifications
  • better integration with IDE's auto-complete
  • clearer types for streaming & WebSocket requests
  • ...OrFailed response descriptions
  • client-side, configurable compression support
  • deeper metrics & logging integration
  • improved OpenTelemetry, Prometheus, Logging backends
  • reworked documentation with a library of examples
  • request body progress callbacks for HttpClient-based backends
  • onBodyReceived callback support
  • more predictable BackendStub behavior
  • a number of quality-of-life improvements, extending scaladocs and making the API more consistent

What’s Changed

Dependency updates