Releases: jessesquires/ReactiveCollectionsKit
Releases · jessesquires/ReactiveCollectionsKit
0.1.9
Immutable
release. Only release title and notes can be modified.
This release closes the 0.1.9 milestone.
- Drop support for iOS 15. Minimum iOS 16 now required.
- Fixed a (potential) bug where cells with the same name, but in different modules, would provide the same (conflicting) default
reuseIdentifier. DefaultreuseIdentifiersnow return the fully qualified type name. (@jessesquires, #150, #154)- Previous behavior:
"MyCellClassName" - New behavior:
"MyModuleName.MyCellClassName" - Note: This should be a transparent change and not impact any existing code. If you were previously working around this issue by providing a custom
reuseIdentifier, you can now adopt the default implementation instead.
- Previous behavior:
- Fixed possible crash in
asyncversion ofCollectionViewDriver.update(viewModel: animated:)due to incorrect handling of thecontinuation. (@jessesquires, #152, #155) - Improve debug descriptions (i.e.,
CustomDebugStringConvertible) for various types. (@nuomi1, #139) - Implement (optional) debug logging for view model updates. You can now provide a logger for debugging purposes by setting
CollectionViewDriver.logger. The library provides a default implementation viaRCKLogger.shared. (@nuomi1, #141) - Upgrade to Xcode 26. (@jessesquires, #153)
Full Changelog: 0.1.8...0.1.9
0.1.8
- Allow setting a
UICollectionViewDelegateFlowLayoutobject to receive flow layout events from the collection view. (@jessesquires, #134) - Swift Concurrency improvements:
@MainActorannotations have been removed from most top-level types and protocols, instead opting to apply@MainActorto individual members only where necessary. (@jessesquires, #135)DiffableViewModelis now marked asSendable. This meansSendablealso applies toCellViewModel,SupplementaryViewModel,SectionViewModel, andCollectionViewModel. (@jessesquires, #137)
- Various performance improvements. Notably, when configuring
CollectionViewDriverto perform diffing on a background queue viaCollectionViewDriverOptions.diffOnBackgroundQueue, more operations are now performed in the background that were previously running on the main thread. (@jessesquires, #136, #137, @lachenmayer, #138)
Full Changelog: 0.1.7...0.1.8
0.1.7
- Upgraded to Xcode 16. (@jessesquires, #116)
- Reverted back to Swift 5 language mode because of issues in UIKit. (@jessesquires, #116)
- Applying a snapshot using
reloadDatanow always occurs on the main thread. (@jessesquires, #116) - Implemented additional selection APIs for
CellViewModel:shouldSelect,shouldDeselect,didDeselect(). (@nuomi1, #127) - Allow setting a
UIScrollViewDelegateobject to receive scroll view events from the collection view. (@ruddfawcett, #131, #133)
Full Changelog: 0.1.6...0.1.7
0.1.6
- Fixed a potential crash (in
DiffableDataSource) when hiding a collection view before animations complete when diffing. This may have caused a crash with the message Fatal error: Attempted to read an unowned reference but the object was already deallocated. (@lachenmayer, #125, #126)
Full Changelog: 0.1.5...0.1.6
0.1.5
Full Changelog: 0.1.4...0.1.5
0.1.4
- Implemented
willDisplay()anddidEndDisplaying()APIs for bothCellViewModelandSupplementaryViewModel. (@nuomi1, #121)
Full Changelog: 0.1.3...0.1.4
0.1.3
Full Changelog: 0.1.2...0.1.3
0.1.2
- Fixed bug when chaining multiple calls to
eraseToAnyViewModel()for bothCellViewModeland andSupplementaryViewModel. Previously, it was possible "double erase" a view model by callingeraseToAnyViewModel()multiple times, thus actually losing type information. Now, consecutive calls toeraseToAnyViewModel()have no effect. (@nuomi1, #117)
Full Changelog: 0.1.1...0.1.2
0.1.1
Minor documentation updates.
Full Changelog: 0.1.0...0.1.1
0.1.0
Initial release. 🎉
Read the docs here.
Note: despite being a 0.1 release, this library is ready to use! I do not expect major API churn. I'm only being cautious with versioning for now while continuing to collect feedback on the API.