Repository: scala-steward-org/scala-steward
Pull request #2882 (2023-01-04 14:40:49)

Update http4s-circe, http4s-client, ... to 1.0.0-M38
Updates 
* [org.http4s:http4s-circe](https://github.com/http4s/http4s)
* [org.http4s:http4s-client](https://github.com/http4s/http4s)
* [org.http4s:http4s-core](https://github.com/http4s/http4s)
* [org.http4s:http4s-dsl](https://github.com/http4s/http4s)

 from 1.0.0-M37 to 1.0.0-M38.
[GitHub Release Notes](https://github.com/http4s/http4s/releases/tag/v1.0.0-M38) - [Version Diff](https://github.com/http4s/http4s/compare/v1.0.0-M37...v1.0.0-M38)


I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.

If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.

Configure Scala Steward for your repository with a [`.scala-steward.conf`](https://github.com/scala-steward-org/scala-steward/blob/470574b794e62118599f069c6b165f6e727ecce4/docs/repo-specific-configuration.md) file.

Have a fantastic day writing Scala!

<details>
<summary>Files still referring to the old version number</summary>

The following files still refer to the old version number (1.0.0-M37).
You might want to review and update them manually.
```
project/Dependencies.scala
```
</details>
<details>
<summary>Adjust future updates</summary>

Add this to your `.scala-steward.conf` file to ignore future updates of this dependency:
```
updates.ignore = [ { groupId = "org.http4s" } ]
```
Or, add this to slow down future updates of this dependency:
```
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.http4s" }
}]
```
</details>

labels: library-update, early-semver-pre-release, semver-spec-pre-release, old-version-remains, commit-count:1


Patch:
diff --git a/modules/core/src/main/scala/org/scalasteward/core/application/Context.scala b/modules/core/src/main/scala/org/scalasteward/core/application/Context.scala
index 7c52d0ac..5478d527 100644
--- a/modules/core/src/main/scala/org/scalasteward/core/application/Context.scala
+++ b/modules/core/src/main/scala/org/scalasteward/core/application/Context.scala
@@ -110,7 +110,7 @@ object Context {
       logger0 <- Resource.eval(Slf4jLogger.fromName[F]("org.scalasteward.core"))
       _ <- Resource.eval(printBanner(logger0))
       _ <- Resource.eval(F.delay(System.setProperty("http.agent", userAgentString)))
-      userAgent <- Resource.eval(F.fromEither(`User-Agent`.parse(userAgentString)))
+      userAgent <- Resource.eval(F.fromEither(`User-Agent`.parse(1)(userAgentString)))
       middleware = ClientConfiguration
         .setUserAgent[F](userAgent)
         .andThen(ClientConfiguration.retryAfter[F](maxAttempts = 5))
diff --git a/project/Dependencies.scala b/project/Dependencies.scala
index 506f3b89..c6bcf15a 100644
--- a/project/Dependencies.scala
+++ b/project/Dependencies.scala
@@ -20,7 +20,7 @@ object Dependencies {
   val disciplineMunit = "org.typelevel" %% "discipline-munit" % "1.0.9"
   val fs2Core = "co.fs2" %% "fs2-core" % "3.4.0"
   val fs2Io = "co.fs2" %% "fs2-io" % fs2Core.revision
-  val http4sCore = "org.http4s" %% "http4s-core" % "1.0.0-M37"
+  val http4sCore = "org.http4s" %% "http4s-core" % "1.0.0-M38"
   val http4sCirce = "org.http4s" %% "http4s-circe" % http4sCore.revision
   val http4sClient = "org.http4s" %% "http4s-client" % http4sCore.revision
   val http4sDsl = "org.http4s" %% "http4s-dsl" % http4sCore.revision


Test patch:
diff --git a/modules/core/src/test/scala/org/scalasteward/core/client/ClientConfigurationTest.scala b/modules/core/src/test/scala/org/scalasteward/core/client/ClientConfigurationTest.scala
index dd47b48c..93183ff6 100644
--- a/modules/core/src/test/scala/org/scalasteward/core/client/ClientConfigurationTest.scala
+++ b/modules/core/src/test/scala/org/scalasteward/core/client/ClientConfigurationTest.scala
@@ -15,7 +15,7 @@ class ClientConfigurationTest extends CatsEffectSuite {
 
   private val userAgentValue = "my-user-agent"
   private val dummyUserAgent =
-    `User-Agent`.parse(userAgentValue).getOrElse(fail("unable to create user agent"))
+    `User-Agent`.parse(1)(userAgentValue).getOrElse(fail("unable to create user agent"))
 
   private val routes: HttpRoutes[IO] = {
     import org.http4s.dsl.io._