Skip to content

Commit 4ee6d36

Browse files
committed
0.2.5 release
1 parent 3e92fe7 commit 4ee6d36

File tree

3 files changed

+20
-2
lines changed

3 files changed

+20
-2
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
0.2.5 (27/October/17)
2+
3+
* Added support for single case pattern without forced newline (fixes #29)
4+
15
0.2.4 (25/October/17)
26

37
* Updated to Scala 2.12.4

README.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Usage within a project
5252

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

55-
"org.scalariform" %% "scalariform" % "0.2.4"
55+
"org.scalariform" %% "scalariform" % "0.2.5"
5656

5757
Integration with Eclipse
5858
------------------------
@@ -765,6 +765,20 @@ is formatted as:
765765
case 1 ⇒ println("odd")
766766
}
767767
768+
singleCasePatternOnNewline
769+
~~~~~~~~~~~~~~~~~~~~~~~~~~
770+
771+
Default: ``true``
772+
773+
When ``singleCasePatternOnNewline`` is ``false`` the default behavior of forcing
774+
a single case pattern onto a newline is disabled. This allows for the following formatting style:
775+
776+
.. code:: scala
777+
778+
items.map { case (key, value) =>
779+
(key, transform(value))
780+
}
781+
768782
spaceBeforeColon
769783
~~~~~~~~~~~~~~~~
770784

version.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version in ThisBuild := "0.2.5-SNAPSHOT"
1+
version in ThisBuild := "0.2.5"

0 commit comments

Comments
 (0)