diff --git a/build.sbt b/build.sbt index 502c970c5..47a131f64 100644 --- a/build.sbt +++ b/build.sbt @@ -60,9 +60,7 @@ lazy val buildInfoSettings: Seq[Def.Setting[_]] = Seq( buildInfoKeys := Seq[BuildInfoKey]( name, version, - // TODO(olafur) update to version.value.replaceAll("\\+.*", "") once custom - // resolver is no longer necessary - "stableVersion" -> "0.3.2", + "stableVersion" -> version.value.replaceAll("\\+.*", ""), "scalameta" -> scalametaV, scalaVersion, "scala211" -> scala211, diff --git a/readme/Changelog.scalatex b/readme/Changelog.scalatex index 4639aacd2..78000c045 100644 --- a/readme/Changelog.scalatex +++ b/readme/Changelog.scalatex @@ -3,6 +3,17 @@ @import scalafix.Versions @sect{Changelog} + @sect{0.3.4} + @ul + New @code{RenameSymbol} tree patch, which behaves similar to "Rename + method/variable" refactorings in IDEs. + @ul + New module: @sect.ref{scalafix-testkit}. + @ul + Rewrites can now report info/warn/error messages via + @code{ctx.reporter.info/warn/error}, see @pr(118). + @ul + 2.11 support is now only for 2.11.10. @sect{0.3.3} @ul @li diff --git a/readme/src/main/scala/scalafix/Readme.scala b/readme/src/main/scala/scalafix/Readme.scala index c870ee098..f0214e38a 100644 --- a/readme/src/main/scala/scalafix/Readme.scala +++ b/readme/src/main/scala/scalafix/Readme.scala @@ -19,6 +19,7 @@ object Readme { def repo: String = "https://github.com/scalacenter/scalafix" def user(name: String): Frag = a(href := s"$github/$name", s"@$name") def issue(i: Int): Frag = a(href := s"$repo/issues/$i", s"#$i") + def pr(i: Int): Frag = a(href := s"$repo/pulls/$i", s"#$i") def dotty = a(href := "http://dotty.epfl.ch/", "Dotty") def comment(frags: Frag*): TypedTag[String] = span("") def config(str: String): TypedTag[String] = {