github softwaremill/sttp v4.0.0-RC1

one day ago

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

Don't miss a new sttp release

NewReleases is sending notifications on new releases.