Skip to content

Releases: softwaremill/sttp

v4.0.0-RC1

06 Feb 12:29
53a285b
Compare
Choose a tag to compare

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

v4.0.0-M26

05 Feb 17:31
3d939cb
Compare
Choose a tag to compare

What’s Changed

  • Allow more precise definition of response body handling in stubs (#2436) @adamw
  • Add onBodyReceived callback, use in logs & metrics (#2427) @adamw
  • Update client4:cats, client4:circe, ... to 4.0.0-M25 (#2419) @softwaremill-ci

Dependency updates

v3.10.3

04 Feb 12:58
dd33dc0
Compare
Choose a tag to compare

What’s Changed

v4.0.0-M25

24 Jan 14:46
f871639
Compare
Choose a tag to compare

What’s Changed

  • Update scalafmt-core to 3.8.6 (#2418) @softwaremill-ci
  • Fix resource leak for HttpClient-based backends on cancellation (#2413) @adamw
  • [minor] Fixed class name in documentation (#2415) @amorfis
  • Omit the charset parameter when using the application/json content type (#2412) @adamw
  • Make body setting more consistent, always compute the type/length headers if missing (#2411) @adamw
  • Add an option to limit the response length for JVM backends (#2410) @adamw
  • Request body progress callbacks in HttpClient-based backends (#2408) @adamw
  • Update scalafmt-core to 3.8.5 (#2404) @softwaremill-ci
  • Add open-telemetry sync tracing backend wrapper; rename otel artifact (#2405) @adamw
  • fix warning in build.sbt (#2406) @xuwei-k
  • Added a probably missing -ce2 in fs2.md (#2402) @matsluni
  • Add request to the functions which calculate OTEL metrics (#2401) @adamw
  • Update client4:cats, client4:circe, ... to 4.0.0-M24 (#2400) @softwaremill-ci

Dependency updates

v4.0.0-M24

14 Jan 11:54
370d649
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v4.0.0-M22

31 Dec 12:20
134a7b4
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v3.10.2

30 Dec 21:39
9361eb3
Compare
Choose a tag to compare

What’s Changed

v4.0.0-M20

16 Dec 10:33
5681059
Compare
Choose a tag to compare

What’s Changed

  • Improve usability of response specifications (#2365) @adamw
  • Move options that used tags to RequestOptions, replace tags with attributes (#2364) @adamw
  • Remove BodySerializer (#2362) @adamw
  • make HttpError and DeserializationException covariant to follow variance of ResponseException (#2357) @NPCRUS
  • Add OpenTelemetry attributes to the metrics backend (#2327) @varshith257
  • Fix comma/typo (#2325) @magdzikk

Dependency updates

v4.0.0-M19

15 Oct 09:57
ce5a544
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v3.10.1

16 Oct 06:37
7ed4b55
Compare
Choose a tag to compare

What’s Changed