Releases: gab-studios/gab-validate
Initial v1.0.0 release of GAB Validate for general use
GAB Validate has been made official with this release! Nolonger a snapshot, this projects goal is to improve validation within Java applications. Try it out!
v0.5.1.beta
This is the v0.5.1.beta release of the gab-validate library.
- Updated test classes and corrected issues based on testing.
v0.1.0.beta
This is the v0.1.0.beta release of the gab-validate library.
- Updated classes with internal flag changes.
- Cleaned up test classes to ensure code coverage. Codecov analysis shows coverage is at 80%.
- Updated javadoc on validators.
Binary built with:
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
v0.4.beta
This is the v0.4.beta release of the gab-validate library.
*Updated validation messages in the CharValidator.
*added validator tests for the CharValidator.
*Updated javadoc on validators.
Binary built with:
Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
v0.3.beta
This is the v0.3.beta release of the gab-validate library.
*Added regex match() method to StringValidator.
*added and updated validator tests.
Binary built with:
Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
v0.2.beta
This is the v0.2.beta release of the gab-validate library.
*Added ObjectValidatorTest and corrected issue with ObjectValidator.
*Added Validator interface that BaseValidator implements.
*renamed throwOnNotValidate() to be throwExceptionOnFailedValidation()
Binary built with:
Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
v0.1.beta
This is the v0.1.beta release of the gab-validate library.
Includes a refactored design that allows for method chaining on a validator. Validators can be for byte, char, double, float, integer, long, short, Object and String.
Examples:
This test is to validate that the String message is not null or empty and is not greater than the 256 chars. If the test fails, a ValidateException is thrown.
Validate.defineString(message).testNotNullEmpty().testMaxLength(256).throwOnNotValidate().validate();
This test validates if the integer 5 is equal to 5, greater than or equal to 3, and less than or equal to 6. A boolean value is returned.
boolean retVal = Validate.defineInteger(5).testEquals(5).testMinValue(3).testMaxValue(6).validate();
Binary built with:
Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)