This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
Releases: britter/bean-validators
Releases · britter/bean-validators
bean-validator v0.3
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. Thecom.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 tocom.github.britter.beanvalidators.strings.ISBNType.ALL
bean-validators v0.2
New features
- Added
@Blank
annotation serving as opposite for@NotBlank
- Added
@Empty
annotation serving as opposite for@NotEmpty
Initial 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