Skip to content

Releases: gab-studios/gab-validate

Initial v1.0.0 release of GAB Validate for general use

25 Sep 06:32
Compare
Choose a tag to compare

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

04 Jun 07:20
Compare
Choose a tag to compare
v0.5.1.beta Pre-release
Pre-release

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

24 May 07:57
Compare
Choose a tag to compare
v0.1.0.beta Pre-release
Pre-release

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

21 Nov 06:53
Compare
Choose a tag to compare
v0.4.beta Pre-release
Pre-release

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

16 Nov 01:22
Compare
Choose a tag to compare
v0.3.beta Pre-release
Pre-release

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

16 Nov 00:17
Compare
Choose a tag to compare
v0.2.beta Pre-release
Pre-release

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

12 Nov 06:09
Compare
Choose a tag to compare
v0.1.beta Pre-release
Pre-release

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)