Five takeaways from migrating a library to Scala 3
summary
Migrates the Greyhound Kafka SDK to Scala 3 by switching from Bazel to sbt to use the sbt-migrate plugin, runs scalafix with SemanticDB for 2.13 fixes, and uses the compiler’s migrate+rewrite mode to apply automated rewrites. One scalafix rule for MapView fails so a manual patch is applied, migrate emits 27 candidate warnings that the rewrite fixes, and unit and integration tests run successfully under Scala 3.1.
AI-written summary · about
