Skip to content

Releases: lukaszbudnik/jelvis

v1.3.0

19 Sep 06:11
Compare
Choose a tag to compare

New v1.3.0 features:

  • added new shorter syntax for both Java and Scala (see src/test/java and src/test/scala for examples)
  • Elvis.wrappedFunction() is now called automatically under the hood

v1.2

16 Feb 17:18
Compare
Choose a tag to compare

v1.2 contains:

  • Scala support
  • Log4j2 logging

Supported Scala syntax:

import com.github.lukaszbudnik.jelvis.Elvis._
import com.github.lukaszbudnik.jelvis.ElvisScalaToJavaConverters._
//...
val person = new Person
val isoCode = elvis(person, (p: Person) => p.getAddress.getCountry.getISOCode)

v1.1

15 Feb 07:51
Compare
Choose a tag to compare

v1.1 contains:

  • implementation of checked exceptions (wrapped inside ElvisException)
  • more tests to cover more scenarios

Supported syntax for checked exceptions:

import static com.github.lukaszbudnik.jelvis.Elvis.elvis;
import static com.github.lukaszbudnik.jelvis.Elvis.wrappedFunction;
//...
Person person = new Person();
String line2 = elvis(person, wrappedFunction(p -> p.getAddress().getLine2()));

v1.0

14 Feb 22:49
Compare
Choose a tag to compare

First public release of jelvis!

Supported syntax:

import static com.github.lukaszbudnik.jelvis.Elvis.elvis;
//...
Person person = new Person();
String isoCode = elvis(person, p -> p.getAddress().getCountry().getISOCode());