|
3 | 3 | @import scalafix.Versions
|
4 | 4 |
|
5 | 5 | @sect{0.4.0}
|
6 |
| - NOTE. Has not been released yet, this changelog is a work-in-progress. |
| 6 | + NOTE. This version has not been released yet, this changelog is a work-in-progress. |
7 | 7 | @p
|
8 |
| - This release is almost a full re-write amount of changes from the 0.3.x series. |
9 |
| - A majority of the codebase has been rewritten to take full advantage |
10 |
| - of the latest @lnk("Scalameta semantic API", "https://github.com/scalameta/scalameta/blob/master/changelog/1.8.0.md"). |
11 |
| - The changes affect all Scalafix modules: core (patch, rewrite api), command |
12 |
| - line interface and sbt plugin. |
| 8 | + This release is almost a full rewrite of the 0.3 Scalafix codebase. |
| 9 | + The main motivation for this change is to take full advantage |
| 10 | + of what the @lnk("Scalameta semantic API", "https://github.com/scalameta/scalameta/blob/master/changelog/1.8.0.md") |
| 11 | + offers. |
13 | 12 |
|
14 | 13 | @h4{New features}
|
15 | 14 |
|
16 | 15 | @ul
|
17 | 16 | @li
|
18 |
| - |
19 |
| - |
| 17 | + New rewrite @sect.ref{RemoveUnusedImports}, by @user{olafurpg}. |
| 18 | + @li |
| 19 | + New rewrite @sect.ref{RemoveXmlLiterals}, by @user{allanrenucci}. |
| 20 | + @li |
| 21 | + New rewrite @sect.ref{NoAutoTupling}, by @user{gabro}. |
| 22 | + @li |
| 23 | + New rewrite @sect.ref{ExplicitUnit}, by @user{gabro}. |
| 24 | + @li |
| 25 | + New @sect.ref{github:} protocol for loading rewrites, by @user{gabro}. |
| 26 | + @li |
| 27 | + Improved @sect.ref{scalafix-testkit}, by @user{olafurpg}. |
| 28 | + @li |
| 29 | + Simplified Rewrite API. The public API has shrunk down to |
| 30 | + four types: @code{Rewrite}, @code{Patch}, @code{ScalafixConfig} and |
| 31 | + @code{RewriteCtx}. The type parameters on @code{Rewrite} and @code{RewriteCtx} |
| 32 | + have been removed. A single @code{import scalafix._} is enough get |
| 33 | + started with rewrites. |
| 34 | + @li |
| 35 | + See the |
| 36 | + @lnk("Scalameta Semantic API", "https://github.com/scalameta/scalameta/blob/master/changelog/1.8.0.md"). |
20 | 37 |
|
21 | 38 | @h4{Breaking changes}
|
22 | 39 |
|
|
74 | 91 | The following configuration options have been removed
|
75 | 92 | @hl.scala
|
76 | 93 | imports.removeUnusedImports // replaced by RemoveUnusedImports rewrite.
|
| 94 | + |
| 95 | + // These were wishful thinking, too eagerly merged. |
77 | 96 | imports.organizeImports
|
78 | 97 | imports.expandRelative
|
79 | 98 | imports.groupByPrefix
|
|
0 commit comments