Releases: scalameta/scalafmt
v0.4.2
Changelog: https://olafurpg.github.io/scalafmt/#0.4.2
v0.4.1
Changelog: https://olafurpg.github.io/scalafmt/#0.4.1
v0.4.0
Changelog: https://olafurpg.github.io/scalafmt/#0.4.0
0.4.0-SNAPSHOT
0.4 introduces new HOCON configuration, as discussed in #316. This is a pre-release to collect early feedback before cutting the release.
If you are not using custom configuration, you don't have to do anything except bump up the version number.
If you are using custom configuration, I recommend you run the CLI to automatically migrate your old configuration.
The easiest way to install the CLI is to download the 12kb scalafmt
bootstrap script attached to this release. Alternatively, see https://olafurpg.github.io/scalafmt/#CLI
Once you have the CLI installed, run
scalafmt --migrate2hocon .scalafmt
Make sure that each line in your configuration is on a separate line like this
// OK
--maxColumn 100
--style defaultWithAlign
// BAD
--maxColumn 100 --style defaultWithAlign
The migration may still be buggy, please report if it does not work correctly.
v0.3.1
Changelog: https://olafurpg.github.io/scalafmt/#0.3.1
v0.3.0
Changelog: https://olafurpg.github.io/scalafmt/#0.3.0