Releases: DenTelezhkin/DTModelStorage
Releases · DenTelezhkin/DTModelStorage
7.2.0
Added
-
Single section storage classes with support for automatic diffing.
SingleSectionStorage
classes are now a recommended way of handling items in single section in more powerful way thanMemoryStorage
class.Read more about it in README.
-
Support for Swift 4.2 and Xcode 10.
-
Convenience methods for conditional mappings and anomalies
- Method to create
MappingCondition
from ModelTransfer objects - Ability to silence anomalies using enum or closure
- Method to create
7.1.0
Added
- Anomaly detecting system for various errors in
MemoryStorage
. Read more about it in DTTableViewManager Anomaly Handler Readme section. Anomaly handler system requires Swift 4.1 and higher.
Changed
- Support for Xcode 10 (beta 1) with Swift 4.1 and Swift 4.2.
Fixed
- Crash that could happen if move operation for
MemoryStorage
happened from and to the same section with not enough items in section.
7.0.3
- Updates for Xcode 9.3 and Swift 4.1
7.0.2
- Properly collect all updates from updateWithoutAnimations block.
7.0.1
- Fixed a bug, that prevented datasource from being updated when
updateWithoutAnimations
method onMemoryStorage
was used.
7.0.0
Releasing version 7.0.0.
7.0.0-beta.1
- Implemented mechanism for deferring datasource updates of
MemoryStorage
. When turned on, updates are no longer applied automatically, but can be applied callingStorageUpdate.applyDeferredDatasourceUpdates()
method. Keep in mind, that not only datasource updates are not applied, but object and section changes are also empty until updates are applied. This behaviour is turned on by default, to disable it, call
MemoryStorage.defersDatasourceUpdates = false
- Ream podspec now requires
Realm
version 3.x
6.0.0
- Fixed warnings for Xcode 9.1 / Swift 4.0.2
6.0.0-beta.2
- Build with Xcode 9.0 release.
6.0.0-beta.1
This is major release, containing breaking API changes, please read DTTableViewManager 6.0 Migration Guide
MemoryStorage
now has a convenience method for moving item without animations:moveItemWithoutAnimation(from:to:)
.EventReaction
class now has 4 and 5 argument reactions- All storage protocols are now class-bound.
- Implemented mapping conditions.
ViewModelMapping
was changed to be able to work with mapping blocks.
Breaking
RealmStorage
is not included in Carthage releases.setItems
method, that accepted array of arrays of items to set items for all sections, has been renamed tosetItemsForAllSections
to provide more clarity and not to clash withsetItems(_:forSection:)
method.