Releases: plangrid/ReactiveLists
0.6.0
Breaking
- Dropped support for the
UITableViewRowActionAPI in theTableViewCellModelEditActionsprotocol, asUITableViewRowActionis deprecated in iOS 13.TableViewCellModelEditActionsnow uses theUISwipeActionsConfigurationAPI instead. (#167, @ronaldsmartin)
Changed
- Introduce the
FlowLayoutCollectionCellViewModelprotocol to add support for specifying unique item sizes for collection views used withUICollectionViewFlowLayout. (#178, @ronaldsmartin) - Upgrades SwiftLint to 0.31.0 and add several new rules. (#164, @anayini)
- Upgrade Travis to Xcode 10.2, SDK 12.2
0.5.1
Re-add support for Swift 4.2.
0.5.0
This release closes the 0.5.0 milestone.
Breaking
- Migrated to Swift 5.0
- Dropped support for iOS 10. iOS 11 and above now required.
Changed
- Upgraded to DifferenceKit to 1.1.0
0.4.0
This release closes the 0.4.0 milestone.
Breaking
-
Improve semantics of row height API (#154, @asmallteapot)
- Make
TableCellViewModel.rowHeightoptional, defaulting tonil - Add
TableViewModel.defaultRowHeight, defaulting to44.0
- Make
-
Updates the initializers for
TableSectionViewModelandCollectionSectionViewModelso that thediffingKeyargument is required. This prevents accidental misuse of the automatic diffing API, which was possible if you relied on the previous default parameter value. (#147, @ronaldsmartin)
Changed
0.3.0
This release closes the 0.3.0 milestone.
New
- Drop iOS 9 and migrate to Swift 4.2 (#144, @benasher44)
0.2.0
This release closes the 0.2.0 milestone.
Fixed
- Auto-diffing bugs and crashes (#136, @benasher44)
New
-
TableSectionViewModelandCollectionSectionViewModelnow implementCollection(#135, @benasher44) -
DifferenceKit is now used instead of Dwifft for faster diffing (#136, @benasher44)
0.1.4
This release closes the 0.1.4 milestone.
Fixed
Don't store an empty model for the first non-nil differ. (#137, @benasher44)
0.1.3
This release closes the 0.1.3 milestone.
Breaking
- Changes
TableViewModel.subscriptandCollectionViewModel.subscriptmethods that return anOptionalby adding theifExists:parameter name (separating them from future non-OptionalCollectionsubscripts) (#131, @benasher44)
Fixed
- Fix edge case reloading bug when reloading a table view with diffing disabled (#128, @benasher44)
0.1.2
This release closes the 0.1.2 milestone.
Breaking
-
Removed
TableSectionViewModel.collapsed(#121, @jessesquires) -
Removed undocumented initializers for
CollectionSectionViewModel(the ones that receivedheaderHeight:and/orfooterHeight:) (#123, @jessesquires) -
CollectionViewDriver.automaticDiffingEnabledis no longer public (#125, @jessesquires)
Fixed
-
Fixed a crash in diffing when transitioning to or from empty/nil states (#125, @jessesquires)
-
Fixed incorrect calculation for
TableViewModel.isEmpty. It now correctly returns true only if all sections returntrueforisEmpty. (#123, @jessesquires)
New
-
Added
CollectionSectionViewModel.isEmptyproperty (#123, @jessesquires) -
Added
CollectionViewModel.isEmptyproperty (#123, @jessesquires)
Changed
-
Section and cell view models are now diffable by default. (#119, @jessesquires)
Each provide default values fordiffingKey, but you can customize them for your own needs or opt-out of automatic diffing.CollectionSectionViewModelprotocol now inherits fromDiffableViewModelprotocolCollectionCellViewModelprotocol now inherits fromDiffableViewModelprotocolTableSectionViewModelprotocol now inherits fromDiffableViewModelprotocolTableCellViewModelprotocol now inherits fromDiffableViewModelprotocol
-
CollectionViewDriver.automaticDiffingEnabledwas reverted to befalseby default (#125, @jessesquires)
⚠️ Known issues ⚠️
- Automatic diffing for collection views with multiple sections currently fails (crashes) and possibly won't work in other scenarios. (Thus, the reason why auto-diffing is now
falseforCollectionViewDriver.) This will be fixed in the next release. Tracking at #126.
0.1.1
This release closes the 0.1.1 milestone.
Breaking
- Upgrade to Swift 4.1, Xcode 9.4 now required
Fixed
- Fix reloading bugs when going from non-nil to nil models
- Improved
TableViewDriveranimations when diffing - Fixed rare crash caused by UIKit passing a bad
IndexPathto dequeue cells - Podspec issues
New
- You can now customize the cell insertion and deletion animations on
TableViewDriver. (#115, @wickwirew) ViewRegistrationInfopropertiesreuseIdentifierandregistrationMethodare now publicViewRegistrationInfonow conforms toEquatableSupplementaryViewInfonow conforms toEquatableSupplementaryViewKindnow conforms toEquatableCellAccessibilityFormatnow conforms toEquatableSupplementaryAccessibilityFormatnow conforms toEquatable