Skip to content

Latest commit

 

History

History
160 lines (95 loc) · 5.92 KB

CHANGELOG.md

File metadata and controls

160 lines (95 loc) · 5.92 KB

Change Log

All notable changes to this project will be documented in this file. FormValidatorSwift adheres to Semantic Versioning.

4.x Releases

3.x Releases

2.x Releases

1.x Releases


Master

Breaking
  • None.
Added
  • None.
Updated
  • None.
Breaking
  • Updated to Swift 5.0 (and added Xcode 10.x support).
Added
  • None.
Updated
  • None.
Breaking
  • None.
Added
Updated
  • None.
Breaking
  • None.
Added
Updated
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.

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.

Added

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

Updated

Added

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

Updated

  • Updated documentation around validatorDelegate.

Added

  • Initial release of FormValidatorSwift.