Skip to content

Releases: softwaremill/sttp

v3.11.0

09 Apr 16:15
651a6b6
Compare
Choose a tag to compare

What’s Changed

v4.0.0

08 Apr 08:00
e4dec8c
Compare
Choose a tag to compare

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

v4.0.0-RC4

04 Apr 13:09
c6e7f4a
Compare
Choose a tag to compare

What’s Changed

Dependency updates

v4.0.0-RC3

31 Mar 11:52
08e4c93
Compare
Choose a tag to compare

What’s Changed

  • When using asFail responses, properly handle redirects (#2510) @adamw
  • Add an encodeUriAll option in FollowRedirectsBackend (#2509) @adamw
  • Add otel4s OpenTelemetry backend (#2445) @iRevive
  • Update client4:caching-backend, ... to 4.0.0-RC2 (#2498) @softwaremill-ci
  • Change quickRequest to always read the response body as a string, instead of throwing an exception on http errors (#2507) @adamw
  • Hide sensitive information in URL query params (#2500) @aartigao
  • Update circe-core, circe-generic, ... to 0.14.12 (#2488) @softwaremill-ci
  • Update cats-effect to 3.6.0 (#2504) @iRevive

Dependency updates

v4.0.0-RC2

21 Mar 09:37
e2a42a3
Compare
Choose a tag to compare

See the release notes for 4.0.0-RC1 for details on upgrading.

What’s Changed

Dependency updates

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