- Adds extra validation of telephonenumbers.
- Handling of Lithuanian license plates.
- fix regex for the check of number contains only zeros. A number which starts with a + was always not a null number but it should be.
- fix ValidPhoneNumberValidator before always returns false if the number was valid. Now is valid is true if the number is correct.
- Optimize ValidPhoneNumberValidator, checking for different constraints such as phone number is zero number, can not be formatted or is to long.
- Introduce the possibility to reset UniquenessValidator implementations. Reset means that all in-memory data is deleted. Reprovisioning the data lies in the responsibility of the calling code.
- fix PhoneNumberFormatter, the numbers was formatted by the google library and then splitted into country code, areaCode and connectionNumber. If the Number does have connectionNumbers with mor than on empty space splitted only the first part was used.
- fix broken tests from PhoneNumbers.
- use PhoneNumber in ContactInformation instead of String for phone- and mobile numbers
- change PhoneNumber only format number if method is called. Has country code, raw phone number and extension to a phone number.
- Adds PhoneNumber to format phone numbers and get information to a specific phone number, like the country code or country calling code.
- Change the amount of characters for license plates to max. 15 characters.
- Adds handlingcode 20OS with ISO-Code 22G2
- Separated uniqueness- and completeness validators in order to support use cases where only one of the checks is needed.
- BulgarianLicensePlateHandler: Adds missing letters to validation string.
- ContactInfoValidator: Report ContactInformation with duplicate mobile number as violation even if an email address is present (previously this was not the case).
- Add bulgrian license plate
- Add support for removal of users and change of contact options for existing users to the RequiredContactInfoValidationService.
- Add validation service that checks for valid contact options of a given COLA user
- Add romanian license plate
- Update
contargo-domain
to latest Jitpack-based version v0.3.0.
- Changes phone number validation, to not assert
null
or empty string as a validation failure of the phone number, and instead opt to ignore and returntrue
, in order to allow for composition with@NonEmpty
or@NonNull
validators.
- Add DIN5008 compliant formatting of phone numbers
- Increase robustness of phone number validation
- Add validation and formatting of phone numbers using Google's libphonenumber
- Add pre-computation of normalized value and validation state of LicensePlate objects.
- Add a Container Type for ISO-Code 25UT
- Formats container numbers without dashes
- Fix ISO 6346 validation of container numbers: add check for equipment category and remove this check in mere format validation
- Add some more container types
- Add example of correct license plates for every country (extends LicensePlateCountry enum)
- Introduce handler for unknown license plate countries (every license plate string is valid)
- Rename isoCode and internationalIsoCode in @ContainerType to contargoHandlingCode and isoCode
- Add some more ContainerTypes
- Introduce bean validation via annotation for container numbers (@ContainerNumber)
- Introduce Contargo type for direction of a unit movement regarding one location.
- Add check on maximum length for Dutch license plates.
- The license plate type is now bound to a country. Formatting and validation
of license plates depends on the bound country.
Currently supported countries are:
- Germany
- Netherlands
- Belgium
- Switzerland
- France
- Poland
- Czech Republic
- Introduce Contargo types for container type and loading state.
- Introduce Contargo types for container number and license plate providing basic functionality for formatting and validation.