Skip to content

Latest commit

 

History

History
176 lines (130 loc) · 7.54 KB

CHANGELOG.md

File metadata and controls

176 lines (130 loc) · 7.54 KB

Change Log

All notable changes to this project will be documented in this file.

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.

  • Breaking change: Fixed typo in hightlightCell. You must now call / override highlightCell.
  • Added allSections method to Form. (by @programmarchy)
  • Updated navigation images for row navigation. (thanks @VladislavJevremovic)
  • Removed +++= operator.
  • Other bug fixes and minor improvements
  • Breaking change: Remove controller: FormViewController parameter from HeaderFooterViewRepresentable viewForSection method.

  • Support for Xcode 7.3.1.

  • Fixed ImageRow issue when trying to access imageURL after selecting image. Now imageURL is properly set up. #346

  • Made FieldRowConformance protocol public.

  • Added ability to override TextAreaRow constraints.

  • Fix. Now section headerView/footerView cache is deleted whenever section header/footer is assigned.

  • Made public navigateToDirection(direction: Direction) method.

  • Fixed autolayout in cells. #396

  • Removed cell.setNeedsLayout() and cell.setNeedsUpdateConstraints() from updateCell process.

  • Added ButtonRow onCellSelecttion example.

  • Improve row deselection behavior during interactive transitions. #406

  • Autosize TextAreaRow functionality added.

  • Moved inputAccessoryViewForRow method from extension to FormViewController allowing it to be overridden.

  • Added ability to show a text when there is no value selected to some rows.

  • Fixed: The top divider of a PickerInlineRow disappears upon selection.

  • Fixed crash when selecting a date. DatePickerRow.

  • Ensure inline row is visible when it’s expanded.

  • Fixed PostalAddressRow - When a long form is scrolled up/down, values in Address box disappears.

  • Xcode 7.3 support.
  • Expose a public KeyboardReturnTypeConfiguration initializer.
  • Allow to override constraints of FieldRow.
  • Fixed SelectableSection wrong behaviour when the selectable rows was added to the section before adding the selectable section to the form.
  • Implemented StepperRow and added an example to the example project.
  • Allow AlertRow cancel title to be changed.
  • Enabled CI UI testing and added some tests.
  • Fixed "0 after decimal separator (DecimalRow)"
  • Added ability to customize selector and multiple selector view controller option rows. Added selectableRowCellUpdate property to SelectorViewController and MultipleSelectorViewController.
  • Performance improvement. Store values for each tag in a dictionary and do not calculate it every time we evaluateHidden.

Released on 2016-02-25.

Breaking Changes
  • SelectorRow now requires the cell among its generic values. This means it is easier to change the cell for a selector row.
  • _AlertRow and _ActionSheetRow require generic cell parameter

If you are using custom rows that inherit from SelectorRow then you might want to change them as follows (or use your custom cell):

// before
// public final class LocationRow : SelectorRow<CLLocation, MapViewController>, RowType
// now
public final class LocationRow : SelectorRow<CLLocation, MapViewController, PushSelectorCell<CLLocation>>, RowType

Released on 2016-02-25.

  • PopoverSelectorRow added.
  • BaseRow reload, select, deselect helpers added.
  • ImageRow update: allows clear button, image sources are public
  • Added PostalAddressRow
  • Lots of smaller bug fixes and new documentation
Breaking Changes
  • BaseCellType protocol method func cellBecomeFirstResponder() -> Bool was renamed to func cellBecomeFirstResponder(direction: Direction) -> Bool

If you are using custom rows you may have to fix the compiler error by adding the new parameter.

  • DecimalRow value type changed from Float to Double.

Released on 2016-01-11.

  • Bug fixes and stability improvements.

Released on 2015-12-08.

  • Memory leak fix.
  • Removed HeaderFooterView inits from Section.
  • Removed HeaderFooterView inits from Section
  • Added documentation for Section Header and Footer
  • Added documentation for Implementing custom Presenter row
  • Inject table view style on init (by mikaoj)
  • Modified observeValueForKeyPath functions on FieldCell and SegmentedCell to correctly update constraints (by dernster and estebansotoara)
  • Added Keyboard next button
  • Fixed bug with minimum dates #111
  • Fixed bug where autocorrected value would not be saved in row.value
  • Fixed currency formatter bugs
  • Added list sections

Released on 2015-11-12.

  • Added PickerRow.
  • Added PickerInlineRow.
  • Added ZipCodeRow.
  • Fix bug when inserting hidden row in midst of a section.
  • Example project: Added ability to set up a formatter to FloatLabelRow.
  • rowValueHasBeenChanged signature has been changed to override func rowValueHasBeenChanged(row: BaseRow, oldValue: Any?, newValue: Any?).
  • Added @noescape attribute to initializer closures.
  • Fixed issue with tableView's bottom inset when keyboard was dismissed.
  • Changed NameRow keyboardType to make autocapitalization works.

Released on 2015-10-20.

Released on 2015-09-29. This is the initial version.