Skip to content

Releases: jbock-java/jbock

v2.5.1

11 Sep 17:15
Compare
Choose a tag to compare
  • Bugfix: ensure that the parse method never throws RuntimeException
  • add support for char, Pattern, Instant
  • add some compile-time usage hints

v2.5.0

11 Sep 17:13
Compare
Choose a tag to compare

This is a major release.

  • many simplifications across the codebase
  • Print errors to stderr
  • Builder-style parser config
  • Support for many common types: most primitives, Path, LocalDate etc

v2.4.2

30 Aug 20:41
Compare
Choose a tag to compare

generate public parser class if source type is public

v2.4.1

29 Aug 16:17
Compare
Choose a tag to compare

add parseOrExit methods

v2.4.0

29 Aug 16:16
Compare
Choose a tag to compare
  • parser is now only package visible
  • remove unnecessary code
  • use system newlines
  • json now always shows all fields

Java 8 compat

15 Aug 08:12
Compare
Choose a tag to compare

Drop module support, Java 9 is a mess.
Ensure Java 8 compatibility.

Fix Java 9 module

12 Mar 07:08
Compare
Choose a tag to compare
v2.3.1

fix java9 module

validation fix

25 Nov 19:07
Compare
Choose a tag to compare

Check that at most one method has the OtherTokens annotation.
Big refactoring in the compiler code.

better error messages

23 Nov 20:03
Compare
Choose a tag to compare

Better error message for option groups.
The methods of the generated Option enum now return java.util.Optional.

enum improvements

22 Nov 16:21
Compare
Choose a tag to compare
  • rename generated method Option.descriptionArgumentName() to Option.descriptionParameter()
  • add generated methods Option.isSpecial() and Option.isBinding()
  • descriptionParameter() now returns null for special options
  • improved readability in generated code