This repository was archived by the owner on Apr 20, 2024. It is now read-only.
Repository navigation
Releases
Releases · ml-archive/forms
Version 0.7.2
Changed
- Renamed a single file so no files includes spaces in their filenames. This is required for Swift 4.2 on Linux.
Version 0.7.1
Added
- Brought back
FieldsetRepresentablefor more flexibility.
Version 0.7.0
Added
- add option to pass error to throw on nil for
allowingNil(false, errorOnNil: MyError.nilValue) - public version of
makeFieldsetonSequenceofFieldsetEntrys
Changed
validateon Sequence is now defined for Elements conforming toValidationModeValidatableinstead of elements that are ValidationModeValidatable.
Removed
FieldsetRepresentableprotocol
Version 0.6.1
Changed
- only the version number. It is an attempt to satisfy CircleCI for building a package that depends on Forms (JWTKeychain)
Version 0.6.0
Added
- "convenience" initializer for
ViewDatathat can be used as follows:
let viewData = ViewData([
.fieldset: fieldset,
.request: request,
"other": "value".
])Changed
validate(inValidationMode:)is defined on Sequence ofValidationModeValidatables instead ofArray
Removed
- initializer for ViewData with signature
init(fieldset:request:other:)in favor of the one described above.
Version 0.5.1
• Convenience to validate elements of an array
Version 0.5.0
Added
- Convenience for handling whether or not to allow
nilvalues when validating. - Convenience for transforming errors being thrown in a validator.
0.2.0
- add
NonValidatingFormFieldfor when any value is acceptable - include keys in
*FormField - change
Formprotocol to have fields that areFieldSetEntryRepresentable - add convenient initializers for ViewData
0.1.1
- rename
inputValuetovalue
0.1.0
Remove transform functionality