Skip to content

Commit

Permalink
Update client4:cats, client4:circe, ... to 4.0.0-M25 (#2419)
Browse files Browse the repository at this point in the history
Co-authored-by: scala-steward <scala-steward>
  • Loading branch information
softwaremill-ci authored Jan 30, 2025
1 parent 0b482d6 commit 9baefc0
Show file tree
Hide file tree
Showing 33 changed files with 40 additions and 40 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// {cat=JSON; effects=Monix; backend=HttpClient}: Receive & parse JSON using circe

//> using scala 2.13
//> using dep com.softwaremill.sttp.client4::monix:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::circe:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::monix:4.0.0-M25
//> using dep com.softwaremill.sttp.client4::circe:4.0.0-M25
//> using dep io.circe::circe-generic:0.14.10

package sttp.client4.examples
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// {cat=Hello, World!; effects=Monix; backend=HttpClient}: Post JSON data

//> using scala 2.13
//> using dep com.softwaremill.sttp.client4::monix:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::circe:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::monix:4.0.0-M25
//> using dep com.softwaremill.sttp.client4::circe:4.0.0-M25
//> using dep io.circe::circe-generic:0.14.10

package sttp.client4.examples
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// {cat=WebSocket; effects=Monix; backend=HttpClient}: Connect to & interact with a WebSocket

//> using scala 2.13
//> using dep com.softwaremill.sttp.client4::monix:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::monix:4.0.0-M25

package sttp.client4.examples

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=Other; effects=Direct; backend=HttpClient}: Handle the body by both parsing it to JSON and returning the raw string

//> using dep com.softwaremill.sttp.client4::circe:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::circe:4.0.0-M25
//> using dep io.circe::circe-generic:0.14.10

package sttp.client4.examples
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// {cat=Logging; effects=Direct; backend=HttpClient}: Add a logging backend wrapper, which uses slf4j

//> using dep com.softwaremill.sttp.client4::circe:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::slf4j-backend:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::circe:4.0.0-M25
//> using dep com.softwaremill.sttp.client4::slf4j-backend:4.0.0-M25
//> using dep io.circe::circe-generic:0.14.10
//> using dep ch.qos.logback:logback-classic:1.5.16

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=Hello, World!; effects=Direct; backend=HttpClient}: POST form data

//> using dep com.softwaremill.sttp.client4::core:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M25

package sttp.client4.examples

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=Streaming; effects=cats-effect; backend=HttpClient}: Stream request & response bodies using fs2

//> using dep com.softwaremill.sttp.client4::fs2:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::fs2:4.0.0-M25

package sttp.client4.examples

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=Streaming; effects=ZIO; backend=HttpClient}: Stream request & response bodies using ZIO-Streams

//> using dep com.softwaremill.sttp.client4::zio:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::zio:4.0.0-M25

package sttp.client4.examples

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// {cat=Other; effects=Direct; backend=HttpClient}: Command output streaming with os-lib support

//> using dep com.lihaoyi::os-lib:0.11.3
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M25

package sttp.client4.examples

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// {cat=Other; effects=Direct; backend=HttpClient}: Download file with os-lib support

//> using dep com.lihaoyi::os-lib:0.11.3
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M25

package sttp.client4.examples

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=Hello, World!; effects=Direct; backend=HttpClient}: Dynamic URI components

//> using dep com.softwaremill.sttp.client4::core:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M25

package sttp.client4.examples

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=Hello, World!; effects=Direct; backend=HttpClient}: Upload file

//> using dep com.softwaremill.sttp.client4::core:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M25

package sttp.client4.examples

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// {cat=JSON; effects=cats-effect; backend=HttpClient}: Receive & parse JSON using circe

//> using dep com.softwaremill.sttp.client4::circe:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::cats:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::circe:4.0.0-M25
//> using dep com.softwaremill.sttp.client4::cats:4.0.0-M25
//> using dep org.typelevel::cats-effect:3.5.7
//> using dep io.circe::circe-generic:0.14.10

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// {cat=JSON; effects=ZIO; backend=HttpClient}: Receive & parse JSON using ZIO Json

//> using dep com.softwaremill.sttp.client4::zio:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::zio-json:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::zio:4.0.0-M25
//> using dep com.softwaremill.sttp.client4::zio-json:4.0.0-M25

package sttp.client4.examples.json

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// {cat=JSON; effects=Future; backend=Pekko}: Receive & parse JSON using json4s

//> using dep com.softwaremill.sttp.client4::json4s:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::pekko-http-backend:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::json4s:4.0.0-M25
//> using dep com.softwaremill.sttp.client4::pekko-http-backend:4.0.0-M25
//> using dep org.json4s::json4s-native:4.0.7
//> using dep org.apache.pekko::pekko-stream:1.1.2

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=JSON; effects=Direct; backend=HttpClient}: Receive & parse JSON using jsoniter

//> using dep com.softwaremill.sttp.client4::jsoniter:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::jsoniter:4.0.0-M25
//> using dep com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-macros:2.33.0

package sttp.client4.examples.json
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=Hello, World!; effects=Direct; backend=HttpClient}: POST multipart form

//> using dep com.softwaremill.sttp.client4::core:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M25

package sttp.client4.examples

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=Resilience; effects=Direct; backend=HttpClient}: Rate limit sending requests using Ox

//> using dep com.softwaremill.sttp.client4::ox:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::ox:4.0.0-M25

package sttp.client4.examples.resilience

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=Resilience; effects=Direct; backend=HttpClient}: Retry sending a request using Ox

//> using dep com.softwaremill.sttp.client4::ox:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::ox:4.0.0-M25

package sttp.client4.examples.resilience

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=Resilience; effects=ZIO; backend=HttpClient}: Retry sending a request using ZIO's retries

//> using dep com.softwaremill.sttp.client4::zio:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::zio:4.0.0-M25

package sttp.client4.examples.resilience

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=Testing}: Create a backend stub which simulates interactions using multiple query parameters

//> using dep com.softwaremill.sttp.client4::core:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M25

package sttp.client4.examples.testing

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=Testing; effects=cats-effect; backend=HttpClient}: Create a backend stub which simulates interactions with a WebSocket

//> using dep com.softwaremill.sttp.client4::fs2:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::fs2:4.0.0-M25

package sttp.client4.examples.testing

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// {cat=Other; effects=Direct; backend=HttpClient}: Download file with os-lib support

//> using dep com.lihaoyi::os-lib:0.11.3
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M25

package sttp.client4.examples

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=Backend wrapper; effects=cats-effect; backend=HttpClient}: Integrate with resilience4j to implement circuit-breaking

//> using dep com.softwaremill.sttp.client4::cats:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::cats:4.0.0-M25
//> using dep io.github.resilience4j:resilience4j-circuitbreaker:2.3.0
//> using dep org.typelevel::cats-effect:3.5.7

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=Backend wrapper; effects=Synchronous; backend=HttpClient}: A backend which adds a header to all outgoing requests

//> using dep com.softwaremill.sttp.client4::core:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M25

package sttp.client4.examples.wrapper

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=Backend wrapper; effects=Future; backend=HttpClient}: Integrate with resilience4j to implement rate-limiting

//> using dep com.softwaremill.sttp.client4::core:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M25
//> using dep io.github.resilience4j:resilience4j-ratelimiter:2.3.0

package sttp.client4.examples.wrapper
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// {cat=Backend wrapper; effects=Synchronous; backend=HttpClient}: Use the caching backend wrapper with Redis

//> using dep com.softwaremill.sttp.client4::core:4.0.0-M24
// > using dep com.softwaremill.sttp.client4::caching:4.0.0-M24 // TODO: enable once the module is released
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M25
// > using dep com.softwaremill.sttp.client4::caching:4.0.0-M25 // TODO: enable once the module is released
//> using dep redis.clients:jedis:5.2.0
//> using dep ch.qos.logback:logback-classic:1.5.15

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=Backend wrapper; effects=Synchronous; backend=HttpClient}: Simple retrying backend wrapper

//> using dep com.softwaremill.sttp.client4::core:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M25

package sttp.client4.examples.wrapper

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=WebSocket; effects=Future; backend=Pekko}: Connect to & interact with a WebSocket

//> using dep com.softwaremill.sttp.client4::pekko-http-backend:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::pekko-http-backend:4.0.0-M25
//> using dep org.apache.pekko::pekko-stream:1.1.2

package sttp.client4.examples.ws
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=WebSocket; effects=cats-effect; backend=HttpClient}: Connect to & interact with a WebSocket, using fs2 streaming

//> using dep com.softwaremill.sttp.client4::fs2:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::fs2:4.0.0-M25

package sttp.client4.examples.ws

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=WebSocket; effects=Direct; backend=HttpClient}: Connect to & interact with a WebSocket

//> using dep com.softwaremill.sttp.client4::core:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M25

package sttp.client4.examples.ws

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=WebSocket; effects=ZIO; backend=HttpClient}: Connect to & interact with a WebSocket

//> using dep com.softwaremill.sttp.client4::zio:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::zio:4.0.0-M25

package sttp.client4.examples.ws

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// {cat=WebSocket; effects=Direct; backend=HttpClient}: Connect to & interact with a WebSocket, using Ox channels for streaming

//> using dep com.softwaremill.sttp.client4::ox:4.0.0-M24
//> using dep com.softwaremill.sttp.client4::ox:4.0.0-M25

package sttp.client4.examples.ws

Expand Down

0 comments on commit 9baefc0

Please sign in to comment.