From 0c79066559fc8266146db7c6741ca84930f6fc70 Mon Sep 17 00:00:00 2001 From: scala-steward Date: Sun, 29 Mar 2026 00:15:30 +0000 Subject: [PATCH] Update enumeratum, enumeratum-circe to 1.9.7 --- build.sbt | 4 ++-- .../src/sbt-test/sbt-openapi-codegen/nifi_test/build.sbt | 5 ++--- .../sbt-openapi-codegen/oneOf-json-roundtrip/build.sbt | 4 ++-- .../oneOf-json-roundtrip_jsoniter/build.sbt | 3 +-- .../oneOf-json-roundtrip_jsoniter_scala3/build.sbt | 3 +-- .../src/sbt-test/sbt-openapi-codegen/petstore/build.sbt | 3 +-- project/Versions.scala | 2 +- 7 files changed, 10 insertions(+), 14 deletions(-) diff --git a/build.sbt b/build.sbt index b19fc3881f..7e88c96f29 100644 --- a/build.sbt +++ b/build.sbt @@ -2192,8 +2192,8 @@ lazy val openapiCodegenCore: ProjectMatrix = (projectMatrix in file("openapi-cod } }, libraryDependencies ++= Seq( - "com.beachape" %% "enumeratum" % "1.9.0" % Test, - "com.beachape" %% "enumeratum-circe" % "1.9.0" % Test, + "com.beachape" %% "enumeratum" % "1.9.7" % Test, + "com.beachape" %% "enumeratum-circe" % "1.9.7" % Test, "io.circe" %% "circe-core" % Versions.circe, "io.circe" %% "circe-generic" % Versions.circe, "io.circe" %% "circe-yaml" % Versions.circeYaml, diff --git a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/nifi_test/build.sbt b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/nifi_test/build.sbt index 669249d973..4d3dde4f47 100644 --- a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/nifi_test/build.sbt +++ b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/nifi_test/build.sbt @@ -17,8 +17,8 @@ libraryDependencies ++= Seq( "com.softwaremill.sttp.apispec" %% "openapi-circe-yaml" % "0.11.10", "com.softwaremill.sttp.client3" %% "http4s-backend" % "3.11.0", "io.circe" %% "circe-generic" % "0.14.15", - "com.beachape" %% "enumeratum" % "1.9.0", - "com.beachape" %% "enumeratum-circe" % "1.9.0", + "com.beachape" %% "enumeratum" % "1.9.7", + "com.beachape" %% "enumeratum-circe" % "1.9.7", "com.github.geirolz" %% "cats-xml" % catsXmlVersion, "com.github.geirolz" %% "cats-xml-generic" % catsXmlVersion, "org.scalatest" %% "scalatest" % "3.2.19" % Test, @@ -28,7 +28,6 @@ libraryDependencies ++= Seq( import scala.io.Source import scala.util.Using - TaskKey[Unit]("check") := { def check(generatedFileName: String, expectedFileName: String) = { val generatedCode = diff --git a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip/build.sbt b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip/build.sbt index 64bcf794dc..4e25292148 100644 --- a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip/build.sbt +++ b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip/build.sbt @@ -16,8 +16,8 @@ libraryDependencies ++= Seq( "com.softwaremill.sttp.apispec" %% "openapi-circe-yaml" % "0.11.10", "com.softwaremill.sttp.client3" %% "http4s-backend" % "3.11.0", "io.circe" %% "circe-generic" % "0.14.15", - "com.beachape" %% "enumeratum" % "1.9.0", - "com.beachape" %% "enumeratum-circe" % "1.9.0", + "com.beachape" %% "enumeratum" % "1.9.7", + "com.beachape" %% "enumeratum-circe" % "1.9.7", "org.scalatest" %% "scalatest" % "3.2.19" % Test, "com.softwaremill.sttp.tapir" %% "tapir-sttp-stub-server" % tapirVersion % Test ) diff --git a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_jsoniter/build.sbt b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_jsoniter/build.sbt index b2b77f8a5e..30f3dbc808 100644 --- a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_jsoniter/build.sbt +++ b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_jsoniter/build.sbt @@ -17,7 +17,7 @@ libraryDependencies ++= Seq( "com.softwaremill.sttp.tapir" %% "tapir-openapi-docs" % tapirVersion, "com.softwaremill.sttp.tapir" %% "tapir-pekko-http-server" % tapirVersion, "com.softwaremill.sttp.apispec" %% "openapi-circe-yaml" % "0.11.10", - "com.beachape" %% "enumeratum" % "1.9.0", + "com.beachape" %% "enumeratum" % "1.9.7", "com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-core" % jsoniterScalaVersion, "com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-macros" % jsoniterScalaVersion % "compile-internal", "com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-circe" % jsoniterScalaVersion, @@ -47,7 +47,6 @@ def compare(name: String, genFn: String, expFn: String) = { } - TaskKey[Unit]("check") := { compare("endpoints", s"${sourceManaged.value}/main/sbt-openapi-codegen/TapirGeneratedEndpoints.scala", "Expected.scala.txt") compare( diff --git a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_jsoniter_scala3/build.sbt b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_jsoniter_scala3/build.sbt index 8b3a4a5466..9684681c78 100644 --- a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_jsoniter_scala3/build.sbt +++ b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/oneOf-json-roundtrip_jsoniter_scala3/build.sbt @@ -16,7 +16,7 @@ libraryDependencies ++= Seq( "com.softwaremill.sttp.tapir" %% "tapir-openapi-docs" % tapirVersion, "com.softwaremill.sttp.tapir" %% "tapir-http4s-server" % tapirVersion, "com.softwaremill.sttp.apispec" %% "openapi-circe-yaml" % "0.11.10", - "com.beachape" %% "enumeratum" % "1.9.0", + "com.beachape" %% "enumeratum" % "1.9.7", "co.fs2" %% "fs2-core" % "3.12.2", "com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-core" % "2.38.9", "com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-macros" % "2.38.9" % "compile-internal", @@ -45,7 +45,6 @@ def compare(name: String, genFn: String, expFn: String) = { } - TaskKey[Unit]("check") := { compare("endpoints", s"${sourceManaged.value}/main/sbt-openapi-codegen/TapirGeneratedEndpoints.scala", "Expected.scala.txt") compare( diff --git a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/petstore/build.sbt b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/petstore/build.sbt index 548ae087c4..c6b3a93f28 100644 --- a/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/petstore/build.sbt +++ b/openapi-codegen/sbt-plugin/src/sbt-test/sbt-openapi-codegen/petstore/build.sbt @@ -16,7 +16,7 @@ libraryDependencies ++= Seq( "com.softwaremill.sttp.apispec" %% "openapi-circe-yaml" % "0.11.10", "io.circe" %% "circe-generic" % "0.14.15", "com.beachape" %% "enumeratum" % "1.7.5", - "com.beachape" %% "enumeratum-circe" % "1.9.0", + "com.beachape" %% "enumeratum-circe" % "1.9.7", "com.github.geirolz" %% "cats-xml" % catsXmlVersion, "com.github.geirolz" %% "cats-xml-generic" % catsXmlVersion, "org.scalatest" %% "scalatest" % "3.2.19" % Test, @@ -26,7 +26,6 @@ libraryDependencies ++= Seq( import scala.io.Source import scala.util.Using - TaskKey[Unit]("check") := { def check(generatedFileName: String, expectedFileName: String) = { val generatedCode = diff --git a/project/Versions.scala b/project/Versions.scala index 705ddfa72d..1921e9ebcd 100644 --- a/project/Versions.scala +++ b/project/Versions.scala @@ -37,7 +37,7 @@ object Versions { val scalaTestPlusScalaCheck = "3.2.19.0" val refined = "0.11.3" val iron = "3.0.3" - val enumeratum = "1.9.0" + val enumeratum = "1.9.7" val zio = "2.1.24" val zioHttp = "3.8.0" val zioInteropCats = "23.1.0.13"