Releases: ustwo/formvalidator-swift
Releases · ustwo/formvalidator-swift
Version 4.0.0
Breaking
- Updated to Swift 5.0 (and added Xcode 10.x support).
- Updated by Aaron McTavish in Pull Request #80.
Added
- None.
Updated
- None.
Version 3.2.0
Breaking
- None.
Added
- Added
OptionalValidator.- Added by Aaron McTavish in Pull Request #75.
Updated
- None.
Version 3.1.0
Breaking
- None.
Added
- Added Xcode 9.3 support.
- Updated by Aaron McTavish in Pull Request [#71]
Updated
- Removes
weakon property inValidatorControlprotocol as it is now deprecated in the latest version of Swift. See: swiftlang/swift-evolution#707- Updated by Aaron McTavish in Pull Request [#71]
3.0.0
Breaking
- Renamed
PostcodeCountriesenum cases to begin with lower case letter.- Updated by Aaron McTavish in Pull Request #68.
- Updated to Swift 4.1 (and added Xcode 9.x support).
- Updated by Aaron McTavish in Pull Request #65 and Pull Request #67.
Added
- None.
Updated
- None.
2.0.0
Breaking
- Updated
AlphabeticConditionandAlphanumericConditionto allow unicode characters by default (NumericConditionalready allowed unicode characters by default).- Updated by Aaron McTavish in Pull Request #49.
AlphabeticCondition,AlphanumericCondition,CreditCardCondition,NumericCondition,PasswordStrengthCondition,PostcodeCondition, andRangeConditionnow store their configurations in aconfigurationproperty rather than as top-level properties of the condition's instance. As an example, for an instance ofAlphabeticConditionthe checkcondition.allowsWhitespace == truewould becomecondition.configuration.allowsWhitespace == true.- Updated by Aaron McTavish in Pull Request #40 and #41.
Added
- Added
Configuration,ConfigurableCondition,ConfigurableValidatorprotocols. Updated existing conditions and validators to take advantage of new protocols.- Added by Aaron McTavish in Pull Request #40 and #41.
- Added macOS support.
- Added by Aaron McTavish in Pull Request #42.
Updated
NumericConditionnow supports ASCII only (as opposed to allowing any Unicode numeric characters) as an option. The default remains allowing Unicode characters.- Updated by Aaron McTavish in Pull Request #41.
- The
shouldAllowViolationproperty on validator controls now works as expected.- Updated by sparrowlegs in Pull Request #44.
Version 1.2.0
Added
- Add credit card validation.
- Added by Onur Ersel in Pull Request #18.
- Add Unicode support for
AlphabeticConditionandAlphanumericCondition.- Added by Aaron McTavish in Pull Request #32.
Updated
- Updated Swedish localization.
- Updated by Axel Lundbäck in Pull Request #27.
Version 1.1.0
Added
- Add postcode validation for Sweden and Turkey.
- Added by Onur Ersel in Pull Request #17.
- Add localization for Turkish.
- Added by Onur Ersel in Pull Request #17.
Updated
- Updated documentation around
validatorDelegate.- Updated by Aaron McTavish in Pull Request #21.
Version 1.0.0
Initial release of FormValidatorSwift.