/
scalafix-migrations.conf
250 lines (249 loc) · 9.65 KB
/
scalafix-migrations.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
// NOTE: The latest version of this file in the scala-steward Git repository
// is loaded by every Scala Steward instance on start-up, unless it is
// started with the --disable-default-scalafix-migrations option.
// Changes to this file are therefore immediately visible to all
// Scala Steward instances.
migrations = [
{
groupId: "co.fs2",
artifactIds: ["fs2-.*"],
newVersion: "1.0.0",
rewriteRules: ["github:functional-streams-for-scala/fs2/v1?sha=v1.0.5"]
},
{
groupId: "co.fs2",
artifactIds: ["fs2-.*"],
newVersion: "3.0.7",
// Note that the replace rule can generate broken code in some cases.
// See https://github.com/scalacenter/scalafix/issues/1168 for details.
rewriteRules: [
"replace:fs2.text.utf8Decode/fs2.text.utf8.decode",
"replace:fs2.text.utf8DecodeC/fs2.text.utf8.decodeC",
"replace:fs2.text.utf8Encode/fs2.text.utf8.encode",
"replace:fs2.text.utf8EncodeC/fs2.text.utf8.encodeC"
],
executionOrder: "post-update"
},
{
groupId: "com.github.fd4s",
artifactIds: ["fs2-kafka"],
newVersion: "1.3.1",
rewriteRules: ["https://raw.githubusercontent.com/fd4s/fs2-kafka/fe62ecdd7f204aa70f4249c29c44d4ad60f7947c/scalafix/rules/src/main/scala/fix/Fs2Kafka.scala"]
},
{
groupId: "com.github.fd4s",
artifactIds: ["fs2-kafka"],
newVersion: "1.5.0",
rewriteRules: ["github:fd4s/fs2-kafka/Fs2Kafka?sha=v1.5.0"]
},
{
groupId: "com.permutive",
artifactIds: ["prometheus4cats"],
newVersion: "2.0.0",
rewriteRules: ["github:permutive-engineering/prometheus4cats/MigrateV2_0?sha=v2.0.0"]
},
{
groupId: "com.spotify",
artifactIds: ["scio-.*"],
newVersion: "0.8.0",
rewriteRules: ["github:spotify/scio/MigrateV0_8?sha=v0.8.0"]
},
{
groupId: "com.spotify",
artifactIds: ["scio-.*"],
newVersion: "0.7.0",
rewriteRules: [
"github:spotify/scio/FixAvroIO?sha=v0.7.4",
"github:spotify/scio/AddMissingImports?sha=v0.7.4",
"github:spotify/scio/RewriteSysProp?sha=v0.7.4",
"github:spotify/scio/BQClientRefactoring?sha=v0.7.4"
],
doc: "https://github.com/spotify/scio/blob/v0.7.0/site/src/paradox/migrations/v0.7.0-Migration-Guide.md#automated-migration"
},
{
groupId: "com.twilio",
artifactIds: ["sbt-guardrail"],
newVersion: "0.59.0.1",
rewriteRules: ["https://raw.githubusercontent.com/blast-hardcheese/guardrail-scalafix-rules/master/rules/src/main/scala/fix/GuardrailScalaResponseTypes.scala"],
doc: "https://github.com/twilio/guardrail/blob/master/MIGRATING.md#0590-may-contain-type-and-package-naming-changes-that-will-require-changes-in-consuming-code"
},
{
groupId: "dev.guardrail",
artifactIds: ["sbt-guardrail"],
newVersion: "0.72.0",
rewriteRules: ["https://raw.githubusercontent.com/guardrail-dev/guardrail-scalafix-rules/master/rules/src/main/scala/fix/GuardrailIterableToVector.scala"],
doc: "https://github.com/guardrail-dev/guardrail/blob/master/MIGRATING.md#migrating-to-guardrail-core-0710"
},
{
groupId: "com.typesafe.akka",
artifactIds: ["akka-http.*"],
newVersion: "10.2.0",
rewriteRules: ["dependency:MigrateToServerBuilder@com.typesafe.akka:akka-http-scalafix-rules:10.2.0"],
doc: "https://doc.akka.io/docs/akka-http/10.2/migration-guide/migration-guide-10.2.x.html#akka-http-10-1-x-10-2-0"
},
{
groupId: "dev.zio",
artifactIds: ["zio-test"],
newVersion: "1.0.0-RC18",
rewriteRules: ["github:zio/zio/CurriedAssert?sha=v1.0.0-RC18"]
},
{
groupId: "io.chrisdavenport",
artifactIds: ["log4cats-.*"],
newVersion: "1.2.0",
rewriteRules: ["https://gist.githubusercontent.com/fthomas/ea14d58e1b445d8038a5bc22acf751e8/raw/e1180c91dab0b36d8f9ec37d413ef9507bee67ff/log4cats-1.2.0.scala"],
authors: ["Frank Thomas <frank@timepit.eu>"]
},
{
groupId: "org.gnieh",
artifactIds: ["fs2-data-json.*"],
newVersion: "1.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",
artifactIds: ["http4s-.*"],
newVersion: "0.22.0",
rewriteRules: ["github:http4s/http4s/v0_22?sha=series/0.22"]
},
{
groupId: "org.http4s",
artifactIds: ["http4s-.*"],
newVersion: "0.21.5",
rewriteRules: ["dependency:v0_21@org.http4s:http4s-scalafix:0.21.5"],
doc: "https://github.com/http4s/http4s/releases/tag/v0.21.5"
},
{
groupId: "org.http4s",
artifactIds: ["http4s-.*"],
newVersion: "0.20.0",
rewriteRules: ["github:http4s/http4s/v0_20?sha=v0.20.11"],
doc: "https://github.com/http4s/http4s/blob/v0.20.0/docs/src/main/tut/upgrading.md"
},
{
groupId: "org.manatki",
artifactIds: ["derevo-.*"],
newVersion: "0.11.0",
rewriteRules: ["https://gist.githubusercontent.com/REDNBLACK/9bc56ad71e4b01a63001339fa61b4cfd/raw/5f1cd32713c3235a83fe2d1d182bd71a001ef464/derevo-v0.11.0.scala"],
doc: "https://github.com/manatki/derevo/blob/0.11.3/README.md#breaking-changes-in-011"
},
{
groupId: "org.scala-sbt",
artifactIds: ["sbt"],
newVersion: "1.5.0",
rewriteRules: ["https://gist.githubusercontent.com/eed3si9n/57e83f5330592d968ce49f0d5030d4d5/raw/7f576f16a90e432baa49911c9a66204c354947bb/Sbt0_13BuildSyntax.scala"],
doc: "https://eed3si9n.com/syntactic-scalafix-rule-for-unified-slash-syntax",
target: "build"
},
{
groupId: "org.scalacheck",
artifactIds: ["scalacheck"],
newVersion: "1.14.1",
rewriteRules: ["github:typelevel/scalacheck/v1_14_1?sha=1.14.1"]
},
{
groupId: "org.scalatest",
artifactIds: ["scalatest"],
newVersion: "3.1.0",
rewriteRules: ["https://raw.githubusercontent.com/scalatest/autofix/e4de53fa40fac423bd64d165ff36bde38ce52388/3.1.x/rules/src/main/scala/org/scalatest/autofix/v3_1_x/RewriteDeprecatedNames.scala"],
doc: "https://github.com/scalatest/autofix/blob/master/3.1.x/README.md"
},
{
groupId: "org.scalatest",
artifactIds: ["scalatest"],
newVersion: "3.0.8",
rewriteRules: ["https://raw.githubusercontent.com/scalatest/autofix/e4de53fa40fac423bd64d165ff36bde38ce52388/3.0.x/rules/src/main/scala/org/scalatest/autofix/v3_0_x/RenameDeprecatedPackage.scala"],
doc: "https://github.com/scalatest/autofix/blob/master/3.0.x/README.md"
},
{
groupId: "org.scalaz",
artifactIds: ["scalaz-.*"],
newVersion: "7.3.0",
rewriteRules: ["https://raw.githubusercontent.com/scalaz/scalazfix/v0.1.2/rules/src/main/scala/scalaz/ScalazFix.scala"]
},
{
groupId: "org.typelevel",
artifactIds: ["cats-core"],
newVersion: "2.2.0",
rewriteRules: ["github:typelevel/cats/Cats_v2_2_0?sha=v2.2.0"],
doc: "https://github.com/typelevel/cats/blob/v2.2.0/scalafix/README.md#migration-to-cats-v220",
scalacOptions: ["-P:semanticdb:synthetics:on"]
},
{
groupId: "org.typelevel",
artifactIds: ["cats-core"],
newVersion: "1.0.0",
rewriteRules: ["https://raw.githubusercontent.com/typelevel/cats/v2.1.1/scalafix/rules/src/main/scala/fix/Cats_v1_0_0.scala"],
doc: "https://github.com/typelevel/cats/blob/v2.1.1/scalafix/README.md"
},
{
groupId: "org.typelevel",
artifactIds: ["cats-effect", "cats-effect-laws"],
newVersion: "2.4.0",
rewriteRules: ["github:typelevel/cats-effect/v2_4_0?sha=v2.4.0"],
doc: "https://github.com/typelevel/cats-effect/blob/v2.4.0/scalafix/README.md"
},
{
groupId: "org.typelevel",
artifactIds: ["cats-effect", "cats-effect-laws"],
newVersion: "3.0.0",
rewriteRules: ["github:typelevel/cats-effect/v3_0_0?sha=v3.0.0"],
scalacOptions: ["-P:semanticdb:synthetics:on"]
},
{
groupId: "org.typelevel",
artifactIds: ["cats-effect", "cats-effect-laws"],
newVersion: "3.3.0",
rewriteRules: ["github:typelevel/cats-effect/v3_3_0?sha=series/3.x"],
scalacOptions: ["-P:semanticdb:synthetics:on"]
},
{
groupId: "ch.epfl.scala",
artifactIds: ["scalafix-testkit"],
newVersion: "0.9.28",
rewriteRules: ["https://raw.githubusercontent.com/scalacenter/scalafix.g8/main/migration-rules/v0.9.28/rules/src/main/scala/fix/v0_9_28.scala"]
},
{
groupId: "org.typelevel",
artifactIds: ["cats-parse"],
newVersion: "0.3.0",
rewriteRules: ["github:martijnhoekstra/catsparsescalafix/Parser01Fix"],
doc: "https://github.com/martijnhoekstra/catsparsescalafix/blob/main/readme.md"
},
{
groupId: "io.catbird",
artifactIds: ["catbird-effect", "catbird-effect3", "catbird-finagle", "catbird-util"],
newVersion: "22.4.0",
rewriteRules: ["dependency:RenameIoCatbirdPackage@org.typelevel:catbird-scalafix:22.4.0"]
},
{
groupId: "io.janstenpickle",
artifactIds: ["trace4cats-.*"],
newVersion: "0.14.0",
rewriteRules: ["github:trace4cats/trace4cats-scalafix/v0_14?sha=v0.14.0"],
doc: "https://github.com/trace4cats/trace4cats-docs/blob/master/docs/migrating.md"
},
{
groupId: "org.scala-lang",
artifactIds: ["scala-library", "scala-compiler", "scala-reflect", "scalap"],
newVersion: "2.13.0",
doc: "https://github.com/scala/scala-collection-compat#collection213upgrade",
rewriteRules: ["dependency:Collection213Upgrade@org.scala-lang.modules:scala-collection-migrations:2.8.1"],
scalacOptions: ["-P:semanticdb:synthetics:on"]
},
{
groupId: "io.github.davidgregory084",
artifactIds: ["sbt-tpolecat"],
newVersion: "0.5.0",
doc: "https://github.com/typelevel/sbt-tpolecat/blob/main/CHANGELOG.md#050",
rewriteRules: ["github:typelevel/sbt-tpolecat/v0_5?sha=4837a5bad7426c97be9bb3a5b792fd779f5c921a"],
target: "build"
},
{
groupId: "org.typelevel",
artifactIds: ["otel4s-.*"],
newVersion: "0.5.0",
rewriteRules: ["dependency:V0_5_0Rewrites@org.typelevel:otel4s-scalafix:0.5.0"]
}
]