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

bean-validator v0.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@britter britter released this 26 Jul 11:32
· 301 commits to main since this 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