Cursor changelog

This commit is contained in:
Gwendal Roué committed 2018-02-27 08:17:55 +01:00
1 parent 4faa9964bd
commit e8d0af93fc
1 file changed
+15 -2
+15 -2
View File
@@ -5,11 +5,13 @@ Release Notes
### Breaking Changes
- `Request` and `TypedRequest` protocols have been merged into `FetchRequest`.
- `Request` and `TypedRequest` protocols have been merged into `FetchRequest` ([311](https://github.com/groue/GRDB.swift/pull/311))
- The `IteratorCursor` type has been removed. Use `AnyCursor` instead.
### API diff
FetchRequest
**FetchRequest**
```diff
+protocol FetchRequest {
@@ -99,6 +101,17 @@ FetchRequest
+extension QueryInterfaceRequest : FetchRequest { }
```
**Cursor**
```diff
final class AnyCursor<Element> : Cursor {
+ convenience init<I: IteratorProtocol>(iterator: I) where I.Element == Element
+ convenience init<S: Sequence>(_ s: S) where S.Element == Element
}
-final class IteratorCursor<Base: IteratorProtocol> : Cursor { }
```
## 2.9.0
Released February 25, 2018 &bull; [diff](https://github.com/groue/GRDB.swift/compare/v2.8.0...v2.9.0)