From 4da432ea10608db9e2a548b085260f158087917b Mon Sep 17 00:00:00 2001 From: Lucas Satabin <2537737+satabin@users.noreply.github.com> Date: Mon, 17 Jul 2023 19:59:07 +0200 Subject: [PATCH 1/3] Add fs2-data-json migrations These migrations attempt to rewrite some pattern that can be improved in the new release --- modules/core/src/main/resources/scalafix-migrations.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/core/src/main/resources/scalafix-migrations.conf b/modules/core/src/main/resources/scalafix-migrations.conf index d5afaf348b..3eb89e3c17 100644 --- a/modules/core/src/main/resources/scalafix-migrations.conf +++ b/modules/core/src/main/resources/scalafix-migrations.conf @@ -89,6 +89,12 @@ migrations = [ rewriteRules: ["https://gist.githubusercontent.com/fthomas/ea14d58e1b445d8038a5bc22acf751e8/raw/e1180c91dab0b36d8f9ec37d413ef9507bee67ff/log4cats-1.2.0.scala"], authors: ["Frank Thomas "] }, + { + groupId: "org.gnieh, + artifactIds: ["fs2-data-json.*"], + newVersion: "1.8.0", + rewriteRules: ["github:gnieh/fs2-data/json-parse?sha=v1.8.0"] + }, { groupId: "org.http4s", artifactIds: ["http4s-.*"], From 6888071a97114db056088b7849e5804bee9ae7af Mon Sep 17 00:00:00 2001 From: Lucas Satabin <2537737+satabin@users.noreply.github.com> Date: Mon, 17 Jul 2023 23:33:42 +0200 Subject: [PATCH 2/3] Add PR as rule documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Marco Zühlke --- modules/core/src/main/resources/scalafix-migrations.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/core/src/main/resources/scalafix-migrations.conf b/modules/core/src/main/resources/scalafix-migrations.conf index 3eb89e3c17..322ba37665 100644 --- a/modules/core/src/main/resources/scalafix-migrations.conf +++ b/modules/core/src/main/resources/scalafix-migrations.conf @@ -93,7 +93,8 @@ migrations = [ groupId: "org.gnieh, artifactIds: ["fs2-data-json.*"], newVersion: "1.8.0", - rewriteRules: ["github:gnieh/fs2-data/json-parse?sha=v1.8.0"] + rewriteRules: ["github:gnieh/fs2-data/json-parse?sha=v1.8.0"], + doc: "https://github.com/scala-steward-org/scala-steward/pull/3123" }, { groupId: "org.http4s", From d388ba151041d2b59ae158c280d13edda9fe6cce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Z=C3=BChlke?= Date: Tue, 18 Jul 2023 07:59:35 +0200 Subject: [PATCH 3/3] Update modules/core/src/main/resources/scalafix-migrations.conf Co-authored-by: Frank Thomas --- modules/core/src/main/resources/scalafix-migrations.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/main/resources/scalafix-migrations.conf b/modules/core/src/main/resources/scalafix-migrations.conf index 322ba37665..1ad3ad68cf 100644 --- a/modules/core/src/main/resources/scalafix-migrations.conf +++ b/modules/core/src/main/resources/scalafix-migrations.conf @@ -90,7 +90,7 @@ migrations = [ authors: ["Frank Thomas "] }, { - groupId: "org.gnieh, + groupId: "org.gnieh", artifactIds: ["fs2-data-json.*"], newVersion: "1.8.0", rewriteRules: ["github:gnieh/fs2-data/json-parse?sha=v1.8.0"],