This project uses semantic versioning. Change log is also reflected under Releases on GitHub, inspired by Keep a CHANGELOG.
3.2: 2020-02-17 Swift 5, SPM
- Update Package.swift to latest syntax, fix Xcode 11.3 warnings (PR #54)
3.1.1: 2018-10-13 Swift 4.2
- Update to a few nested UIKit types (PR #52)
- Clarify issue around a data/view inconsistency with
UICollectionView
, discussed in PR #26 - Also, since version 3.1: assume
IndexDistance
is always of typeInt
(PR #48)
3.1: 2018-03-14(π) Custom Comparator
- Support custom comparator function for comparing collection elements (defaults to
==
)
3.0: 2017-11-03 Swift 4.0
- Update to Swift 4; most noticeably,
String
is now aCollection
- Make
Edit
a subtype ofChangeset
so that it inherits the same generic constraints - Make
Operation
a subtype ofEdit
- Use offsets on changeset collections, as opposed to indices
- Use labels on all initializer parameters (per Swift convention)
- 100% code coverage on unit tests
2.1.2: 2017-03-27 Reduce Memory Footprint
- Reduce space complexity to O(m)
- Expand variable names for readability
2.1.1: 2017-03-21 Suppress Warning
- Allow Changeset to be used from within a framework, and outside of an application target.
2.1: 2016-11-23 UIKit Extensions
- UIKit extensions for
UITableView
andUICollectionView
for easy updating (were previously only included in the test app)
2.0.1: 2016-10-20 Automatic Provisioning
- Framework target set to automatically manage code signing.
2.0: 2016-10-12 Swift 3
- Project defaults to Swift 3 (use the
swift-2
tag to stay on Swift 2). - Renamed
editDistance(source:target:)
onChangeset
to the Swift 3-friendlyedits(from:to:)
. - Updated Quick Help documentation slightly.
1.0.6: 2016-10-12 tvOS
- Support tvOS.
1.0.5: 2016-05-22 Swift 3.0, SPM Compatibility
- Remove use of deprecated
var
parameters.
- Rearrange repository layout to support the upcoming Swift Package Manager (experimental).
1.0.4: 2016-03-11 Table/Collection View Compatibility
- Express
.Substitution
indices relative to the source collection (again).
- Update tests to reflect changed indices.
- Add iOS target to illustrate
Changeset
usage in an app. - Add extension to
UITableView
andUICollectionView
for animatingChangeset
edits.
1.0.3: 2016-01-22 MIT License
- Move license from BSD to MIT.
1.0.2: 2016-01-05 Insertion Indices
- Fix
Changeset.editDistance
to have.Insertion
indices point into the target collection. - Update tests to reflect changed indices.
1.0.1: 2015-12-29 Swift 3.0 Compliance
- Remove
++
increment, will go away in Swift 3.0.