Skip to content

Commit

Permalink
0.2.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
godenji committed Oct 28, 2017
1 parent 3e92fe7 commit 4ee6d36
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
0.2.5 (27/October/17)

* Added support for single case pattern without forced newline (fixes #29)

0.2.4 (25/October/17)

* Updated to Scala 2.12.4
Expand Down
16 changes: 15 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Usage within a project

Have a use for the scalariform source code directly? You can use it as a build dependency: ::

"org.scalariform" %% "scalariform" % "0.2.4"
"org.scalariform" %% "scalariform" % "0.2.5"

Integration with Eclipse
------------------------
Expand Down Expand Up @@ -765,6 +765,20 @@ is formatted as:
case 1 ⇒ println("odd")
}
singleCasePatternOnNewline
~~~~~~~~~~~~~~~~~~~~~~~~~~

Default: ``true``

When ``singleCasePatternOnNewline`` is ``false`` the default behavior of forcing
a single case pattern onto a newline is disabled. This allows for the following formatting style:

.. code:: scala
items.map { case (key, value) =>
(key, transform(value))
}
spaceBeforeColon
~~~~~~~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "0.2.5-SNAPSHOT"
version in ThisBuild := "0.2.5"

0 comments on commit 4ee6d36

Please sign in to comment.