mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Cursor changelog
This commit is contained in:
1 parent
4faa9964bd
commit
e8d0af93fc
1 file changed
+15
-2
+15
-2
@@ -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 • [diff](https://github.com/groue/GRDB.swift/compare/v2.8.0...v2.9.0)
|
||||
|
||||
Reference in new issue
Block a user