From d99c8f2a8aa40b326406b3a73a4dc3f42c3dcb82 Mon Sep 17 00:00:00 2001 From: "scala-center-steward[bot]" <111975575+scala-center-steward[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 00:23:26 +0000 Subject: [PATCH 1/2] Update elastic4s-client-esjava to 8.15.3 --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index d0b063c84..12d6c2111 100644 --- a/build.sbt +++ b/build.sbt @@ -240,7 +240,7 @@ lazy val V = new { val playJson = "2.9.4" val pekko = "1.1.2" val pekkoHttp = "1.1.0" - val elastic4s = "8.13.1" + val elastic4s = "8.15.3" val nscalaTime = "2.34.0" val scalatest = "3.2.19" val circe = "0.14.10" From 80507faa3375bad28ee6d92b15771b7c84e67d97 Mon Sep 17 00:00:00 2001 From: Adrien Piquerez Date: Mon, 18 Nov 2024 16:09:35 +0100 Subject: [PATCH 2/2] Remove @nowarn --- .../src/main/scala/scaladex/infra/ElasticsearchEngine.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/infra/src/main/scala/scaladex/infra/ElasticsearchEngine.scala b/modules/infra/src/main/scala/scaladex/infra/ElasticsearchEngine.scala index f31800ac2..360770312 100644 --- a/modules/infra/src/main/scala/scaladex/infra/ElasticsearchEngine.scala +++ b/modules/infra/src/main/scala/scaladex/infra/ElasticsearchEngine.scala @@ -2,7 +2,6 @@ package scaladex.infra import java.io.Closeable -import scala.annotation.nowarn import scala.concurrent.ExecutionContext import scala.concurrent.Future import scala.concurrent.duration._ @@ -271,7 +270,7 @@ class ElasticsearchEngine(esClient: ElasticClient, index: String)(implicit ec: E .toSeq .flatMap(_.hits) .flatMap { hit => - val source = SourceAsContentBuilder(hit.source).string: @nowarn("cat=deprecation") + val source = SourceAsContentBuilder(hit.source).string parser.decode[GithubIssue](source) match { case Right(issue) => Some(issue) case Left(_) =>