github softwaremill/sttp v4.0.0

latest releases: v4.0.10, v4.0.9, v4.0.8...
5 months ago

This is the stable release of sttp-client4, a major release of the Scala HTTP client you always wanted!

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

  • OpenTelemetry metrics+tracing example (#2519) @adamw
  • Add mapResponseWithMetadata helper method to requests (#2520) @adamw

Dependency updates

Don't miss a new sttp release

NewReleases is sending notifications on new releases.