Eureka v2.0.0-beta.1 Release Notes

  • Pull requests associated with this milestone can be found in this filter.

    We have made tons of changes to the Eureka API to follow the new Swift API design guidelines. It's hard to enumerate all changes and most of them will be automatically suggested by Xcode.

    ๐Ÿ— We have also added to Eureka a extensible build-in validations support.

    These are the most important changes...

    โœ‚ Deleted

    • ๐Ÿšš PostalAddressRow was removed.
    • ๐Ÿšš ImageRow was removed.

    You can find these both rows under [EurekaCommunity] github organization.

    • Row's func highlightCell()
    • Row's func unhighlightCell()
    • Cell's func highlight()
    • Cell's func unhighlight()
    • Cell's func didSelect()

    โž• Added

    • Rows's var isHighlighted: Bool.
    • Rows's var isValid: Bool.
    • Row's func onCellHighlightChanged(_ callback: @escaping (_ cell: Cell, _ row: Self)->()) -> Self.
    • Row's func onRowValidationChanged(_ callback: @escaping (_ cell: Cell, _ row: Self)->()) -> Self.
    • Row's func validate() -> [ValidationError]
    • Form's func validate() -> [ValidationError]
    • Row's func add<Rule: RuleType>(rule: Rule)
    • ๐Ÿšš Row's func remove(ruleWithIdentifier: String)
    • RuleSet<T: Equatable> type.
    • ValidationOptions Enum type.
    • RuleType protocol.
    • ValidationError type.
    ๐Ÿ›  Fixes
    • ๐Ÿ›  Fixed textlabel alignment for cells with custom constraints (FieldRow, SegmentedRow, TextAreaRow).
    • Set 'Require Only App-Extension-Safe API' to YES to enable code sharing in App Extensions.
    • ๐Ÿ›  Other bug fixes and minor improvements

    Take a look at 2.0.0 Migration guide for more information on how to solve breaking changes.