Releases: redfin/validity
5.1.0 : Adding in reference equality check to objects
Adding in reference equality check for objects
5.0.0: Adding message suppliers
This update adds the ability to supply a message supplier rather than just a message directly. This means that expensive to construct strings can be deferred and only have to be built in case of validation failure.
4.1.0: Adding in new entry point
This release adds in the new entry point method Validity.expect()
which will throw IllegalStateExceptions upon validation failure. It also updates some file formatting.
4.0.1: Fixed dependency management scope
Updating the scope of JUnit in the dependency management section of the pom file.
Reworked API
Reworking the API of starting validation. This was a breaking change so also doing a major version increase. General cleanup for consistency.
JUnit updates, general cleanup, renamed entry points.
This release:
- updates the version of Unit 5 that is used to run tests.
- renames the method entry points in
Validity
- cleans up IDE warnings
- general code cleanup
JUnit version update
Updated the version of JUnit, added a few tests, and fixed up tests that needed to be changed due to the update.
Adding protected getters to the VerifiableFactory class
Subclasses couldn't access the final values of the verifiable factory class. That is now fixed.
Adding Verifiers for Instant and Duration types
This release adds verifiers for the Instant and Duration types.
Removed final vestiges of assertions and cleaned up API
Made some changes to the API methods for creating validation with or without custom message prefixes. Removed the last vestiges of the assertions portion of the library, and cleaned up some unit tests.