From 82e2d6fea4f6b5a241974cbc4fd223f0c6cbb319 Mon Sep 17 00:00:00 2001 From: Rob Vesse Date: Thu, 1 Dec 2016 15:20:38 +0000 Subject: [PATCH] Note recent changes in Change Log (#48, #53, #56) --- CHANGELOG.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 870ea9eaf..b19444cf9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Airline - Change Log +## 2.3.0 + +- Parsing Changes + - New `ParserErrorHandler` interface for handling non-fatal parser errors (#53) + - `FailFast` - Classic behaviour, throw as soon as error encountered + - `FailAll` - Collect and aggregate non-fatal errors and throw as single error + - `CollectAll` - Collect all non-fatal errors + - New `ParseResult` interface for representing parsing result and accessing success status and errors (if any) + - Help Changes + - Added `showHelpIfErrors()` method to `HelpOption` for use with error handlers which collect errors e.g. `CollectAll` (#53) + - Annotation Changes + - New `errorHandler` field on `@Parser` annotation for specifying error handler, defaults to `FailFast` for backwards compatible behaviour (#53) + - New `description` field on `@Pattern` to provide human readable explanation of regular expression restriction intent (#48) + - Noted in Javadoc that `@Version` supports both properties and Manifest files as data sources (#56) + ## 2.2.0 - Bug Fixes