Releases: Agadar/JavaCommander
Releases · Agadar/JavaCommander
JavaCommander-4.0.0
Requirements and dependencies
- Built with and made for Java 11.
Changelog
- Upgraded codebase to Java 11;
- Added Lombok;
- Added SLF4J logging;
- Added support for 'flag' options;
- Plenty of refactorings, renames, moves, minor fixes, and other changes.
JavaCommander-3.0.0
Changelog
- Added support for '=' and ':' as separators. This means that, for example, besides 'command -param value' and 'command value', the following are now also legal: 'command -param=value' and 'command -param:value';
- Added support for parsing a string containing multiple commands, separated by ';'s. This means that, for example, the following is now legal: 'command -param value; command -param value';
- Removed support for 'empty'/'master' command, as there is no valid use case for it and it only makes the code more complex.
JavaCommander-2.0.0
Changelog
- A ton of refactoring. Most importantly:
- Moved example code and utility code from JavaCommander class to separate classes;
- Moved annotation parsing code from JavaCommander class to a new class: JcRegistry;
- Introduced new descriptive exceptions for specific errors, which when thrown are always wrapped in a JavaCommanderException for easy catching and filtering;
- Registering an object to a JavaCommander instance no longer registers its annotated static methods;
- Added support for registering a class to a JavaCommander instance, which registers its annotated static methods.
JavaCommander-1.0.0
v.1.0.0 Added release.bat.