Releases: jbock-java/jbock
Releases · jbock-java/jbock
v2.5.1
- Bugfix: ensure that the parse method never throws RuntimeException
- add support for char, Pattern, Instant
- add some compile-time usage hints
v2.5.0
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
generate public parser class if source type is public
v2.4.1
add parseOrExit methods
v2.4.0
- parser is now only package visible
- remove unnecessary code
- use system newlines
- json now always shows all fields
Java 8 compat
Drop module support, Java 9 is a mess.
Ensure Java 8 compatibility.
Fix Java 9 module
v2.3.1 fix java9 module
validation fix
Check that at most one method has the OtherTokens annotation.
Big refactoring in the compiler code.
better error messages
Better error message for option groups.
The methods of the generated Option enum now return java.util.Optional.
enum improvements
- 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