Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Releases: britter/bean-validators

bean-validator v0.3

26 Jul 11:32
Compare
Choose a tag to compare
bean-validator v0.3 Pre-release
Pre-release

New features

The net package provides constraints for network related validations:

  • @Domain checks whether a String is a valid domain name.
  • @IP checks whether a String is a valid Internet Protocol address. The com.github.britter.beanvalidators.net.IPType enum allows for customization of the validation, i.e. only IPv4, only IPv6 or both (default).
  • @Port checks Strings, ints and Integers are represent valid port numbers.

Changes

  • Enum constant com.github.britter.beanvalidators.strings.ISBNType.BOTH has been renamed to com.github.britter.beanvalidators.strings.ISBNType.ALL

bean-validators v0.2

24 Jul 16:57
Compare
Choose a tag to compare
bean-validators v0.2 Pre-release
Pre-release

New features

  • Added @Blank annotation serving as opposite for @NotBlank
  • Added @Empty annotation serving as opposite for @NotEmpty

Initial release

24 Jul 15:44
Compare
Choose a tag to compare
Initial release Pre-release
Pre-release

Initial release v0.1 of bean-validators

The initial release of bean-validators contains four validators which operate on strings:

  • @Alphabetic for strings which must contain only letters
  • @AlphaNumeric for strings which must contain only letters and/or numbers
  • @ISBN for strings which represent ISBN 10 und ISBN 13
  • @Numeric for strings which must contain only numbers