Skip to content

Releases: ustwo/formvalidator-swift

Version 4.0.0

24 Apr 14:45
Compare
Choose a tag to compare
Breaking
  • Updated to Swift 5.0 (and added Xcode 10.x support).
Added
  • None.
Updated
  • None.

Version 3.2.0

25 Apr 07:03
Compare
Choose a tag to compare
Breaking
  • None.
Added
Updated
  • None.

Version 3.1.0

04 Apr 08:42
Compare
Choose a tag to compare
Breaking
  • None.
Added
Updated

3.0.0

08 Feb 13:41
dffa6b1
Compare
Choose a tag to compare
Breaking
  • Renamed PostcodeCountries enum cases to begin with lower case letter.
  • Updated to Swift 4.1 (and added Xcode 9.x support).
Added
  • None.
Updated
  • None.

2.0.0

06 Feb 08:16
Compare
Choose a tag to compare

Breaking

  • Updated AlphabeticCondition and AlphanumericCondition to allow unicode characters by default (NumericCondition already allowed unicode characters by default).
  • AlphabeticCondition, AlphanumericCondition, CreditCardCondition, NumericCondition, PasswordStrengthCondition, PostcodeCondition, and RangeCondition now store their configurations in a configuration property rather than as top-level properties of the condition's instance. As an example, for an instance of AlphabeticCondition the check condition.allowsWhitespace == true would become condition.configuration.allowsWhitespace == true.

Added

  • Added Configuration, ConfigurableCondition, ConfigurableValidator protocols. Updated existing conditions and validators to take advantage of new protocols.
  • Added macOS support.

Updated

  • NumericCondition now supports ASCII only (as opposed to allowing any Unicode numeric characters) as an option. The default remains allowing Unicode characters.
  • The shouldAllowViolation property on validator controls now works as expected.

Version 1.2.0

21 Dec 13:39
Compare
Choose a tag to compare

Added

  • Add credit card validation.
  • Add Unicode support for AlphabeticCondition and AlphanumericCondition.

Updated

Version 1.1.0

05 Dec 08:32
Compare
Choose a tag to compare

Added

  • Add postcode validation for Sweden and Turkey.
  • Add localization for Turkish.

Updated

  • Updated documentation around validatorDelegate.

Version 1.0.0

17 Oct 10:11
Compare
Choose a tag to compare

Initial release of FormValidatorSwift.