Releases: smbhuin/SBValidator
Releases · smbhuin/SBValidator
Release 3.0.0
Added
CurrencyRule
added.NumericRule
added.errorOnValidate
method added inValidator
firstValid
method added inValidator
firstInvalid
method added inValidator
Updated
PhoneNumberRule
updated. You can now specify theFormat
of phone number.
Breaking Changes
validate()
method now throws exception and returnsBool
validate(named: String)
method now throws exception and returnsBool
validateAll()
method now returns[ValidationError]?
Previous validate() -> (valid: Bool, validatable: NamedValidatable?, error: ValidationError?)
Now validate() throws -> Bool
Release 2.0.1
Renamed
- func
month
renamed to varmonth
inMonthRule
extension.
Updated
ArrayLengthRule
changed to generic fromAny
type.
Release 2.0.0
Renamed
- Framework renamed.
- Cocoapod framework renamed to
SBValidator
.
Release 1.0.5
Updated
ArrayRule
updated.
Release 1.0.4
Updated
- Package restructured.
- XCode Project Config Updated.
- Cocoapod Spec Updated.
Renamed
- var
ISBN
renamed toisbn
inISBNRule
. - var
IPV4
renamed toipv4
inIPV4Rule
. - var
iso8601date
renamed toiso8601Date
inISO8601DateRule
.
Release 1.0.3
Updated
- Fixes for cocoapod.
Stable Release 1.0.2
Updated
- Fixes for cocoapod.
Stable Release 1.0.1
Updated
- Validator functions return named touples now.
Initial Release
- Initial release of Validator.