Durian releases
April 6, 2016 ยท View on GitHub
Version 3.5.0 - TBD (javadoc) snapshot)
Version 3.4.0 - April 6th (javadoc, jcenter)
- Added
Errors.wrap[Function/Predicate]methods to handle cases whereErrors.wrapwas ambiguous. - Added
Either.create(L, R)for cases where the user knows that exactly one argument will be non-null. - Added
Either.mapLeft()andmapRight()for transformingEithers. - Improved the performance of the
java.io.Writerreturned byStringPrinter.toWriter(). - Added a
map()function toBox.Nullable.Boxalready had one, its omission fromBox.Nullablewas an oversight. - Until now,
Errors.rethrow()wrappedErrors insideRuntimeExceptions. This complicated the stack traces and served no useful purpose. - Added
TreeQuery.isDescendantOf()andisDescendantOfOrEqualTo(). - Added
TreeQuery.copyLeavesIn()andcopyRootOut().
Version 3.3.0 - October 19th (javadoc, jcenter)
- Added
Box.Nullable.modify(), which has the same behavior asBox.modify(). - OSGi metadata is now auto-generated using bnd.
Version 3.2.0 - September 14th 2015 (javadoc, jcenter)
- Added the
Errors.asTerminal()method, for treating anErrorsinstance as aConsumer<Optional<Throwable>>rather than the usualConsumer<Throwable>. - Added the
TreeQuery.root(TreeDef<T> treeDef, T node)method, which returns the root node based on the given node.
Version 3.1.2 - August 19th 2015 (javadoc, jcenter)
- Fixed a bug in
Throwing.Specific.Bi*where these interfaces did not throw exceptions - which is the whole reason they exist.
Version 3.1.1 - July 27th 2015 (javadoc, jcenter)
- Gah! MANIFEST.MF still had -SNAPSHOT version. Fixed now. Would be really nice if we could get MANIFEST.MF generation working.
Version 3.1 - July 24th 2015 (javadoc, jcenter)
- When
Errors.asRuntime()wraps an exception as aRuntimeException, it now usesErrors.WrappedAsRuntimeExceptionrather than a genericRuntimeException.
Version 3.0 - July 19th 2015 (javadoc, jcenter)
- Now available on Maven Central!
- Merged
GetterSetterandBoxinto justBox. - Rather than
BoxandBox.NonNull extends Box, we now haveBoxandBox.Nullable.- Non-null by default is much better.
- There should not be an inheritance hierarchy between the nullable and non-null versions, and now there isn't.
- Added a mechanism for testing trees for equality.
- Other miscellaneous changes.
Version 2.0 - May 13th 2015 (javadoc, jcenter)
- Renamed ErrorHandler to Errors. This was done mainly to avoid name conflicts with the many other ErrorHandler classes that are out in the wild, but it also has the advantage of being shorter.
Version 1.0.1 - May 13th 2015 (javadoc, jcenter)
- The Maven POM was missing the FindBugs annotations, which was causing compile warnings for users of the library. It now includes them under the proper 'provided' scope.
Version 1.0 - May 13th 2015 (javadoc, jcenter)
- First stable release.
Version 0.1 - April 20th 2015 (javadoc, jcenter)
- First release, to test out that we can release to jcenter and whatnot.