This commit is contained in:
Gwendal Roué committed 2016-07-19 08:54:35 +02:00
1 parent 0677a8a21a
commit f19f29a4bd
4 files changed
+25 -13

No files matched your search

+12
View File
@@ -1,6 +1,18 @@
Release Notes
=============
## 0.76.0
**Breaking Change**
- The query interface `order` method now replaces any previously applied ordering (related issue: [#85](https://github.com/groue/GRDB.swift/issues/85)):
```swift
// SELECT * FROM "persons" ORDER BY "name"
Person.order(scoreColumn).order(nameColumn)
```
## 0.75.2
Released July 18, 2016
+1 -1
View File
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'GRDB.swift'
s.version = '0.75.2'
s.version = '0.76.0'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.summary = 'A versatile SQLite toolkit for Swift, with WAL mode support.'
s.homepage = 'https://github.com/groue/GRDB.swift'
+11 -11
View File
@@ -25,7 +25,7 @@ You should give it a try.
---
**July 18, 2016: GRDB.swift 0.75.2 is out** ([changelog](CHANGELOG.md)). Follow [@groue](http://twitter.com/groue) on Twitter for release announcements and usage tips.
**July 19, 2016: GRDB.swift 0.76.0 is out** ([changelog](CHANGELOG.md)). Follow [@groue](http://twitter.com/groue) on Twitter for release announcements and usage tips.
**Requirements**: iOS 8.0+ / OSX 10.9+, Xcode 7.3+
@@ -143,7 +143,7 @@ Documentation
**Reference**
- [GRDB Reference](http://cocoadocs.org/docsets/GRDB.swift/0.75.2/index.html) (on cocoadocs.org)
- [GRDB Reference](http://cocoadocs.org/docsets/GRDB.swift/0.76.0/index.html) (on cocoadocs.org)
**Getting started**
@@ -189,7 +189,7 @@ To use GRDB with CocoaPods, specify in your Podfile:
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
pod 'GRDB.swift', '~> 0.75.2'
pod 'GRDB.swift', '~> 0.76.0'
```
> :point_up: **Note**: [SQLCipher](#encryption) and [custom SQLite builds](#custom-sqlite-builds) are not available via CocoaPods.
@@ -202,7 +202,7 @@ pod 'GRDB.swift', '~> 0.75.2'
To use GRDB with Carthage, specify in your Cartfile:
```
github "groue/GRDB.swift" ~> 0.75.2
github "groue/GRDB.swift" ~> 0.76.0
```
> :point_up: **Note**: [custom SQLite builds](#custom-sqlite-builds) are not available via Carthage.
@@ -311,7 +311,7 @@ let dbQueue = try DatabaseQueue(
configuration: config)
```
See [Configuration](http://cocoadocs.org/docsets/GRDB.swift/0.75.2/Structs/Configuration.html) for more details.
See [Configuration](http://cocoadocs.org/docsets/GRDB.swift/0.76.0/Structs/Configuration.html) for more details.
## Database Pools
@@ -391,7 +391,7 @@ let dbPool = try DatabasePool(
configuration: config)
```
See [Configuration](http://cocoadocs.org/docsets/GRDB.swift/0.75.2/Structs/Configuration.html) for more details.
See [Configuration](http://cocoadocs.org/docsets/GRDB.swift/0.76.0/Structs/Configuration.html) for more details.
Database pools are more memory-hungry than database queues. See [Memory Management](#memory-management) for more information.
@@ -1477,10 +1477,10 @@ for person in Person.fetch(db, sql, adapter: adapter) {
For more information about row adapters, see the documentation of:
- [RowAdapter](http://cocoadocs.org/docsets/GRDB.swift/0.75.2/Protocols/RowAdapter.html): the protocol that lets you define your custom row adapters
- [ColumnMapping](http://cocoadocs.org/docsets/GRDB.swift/0.75.2/Structs/ColumnMapping.html): a row adapter that renames row columns
- [SuffixRowAdapter](http://cocoadocs.org/docsets/GRDB.swift/0.75.2/Structs/SuffixRowAdapter.html): a row adapter that hides the first columns of a row
- [ScopeAdapter](http://cocoadocs.org/docsets/GRDB.swift/0.75.2/Structs/ScopeAdapter.html): the row adapter that groups several adapters together to define scopes
- [RowAdapter](http://cocoadocs.org/docsets/GRDB.swift/0.76.0/Protocols/RowAdapter.html): the protocol that lets you define your custom row adapters
- [ColumnMapping](http://cocoadocs.org/docsets/GRDB.swift/0.76.0/Structs/ColumnMapping.html): a row adapter that renames row columns
- [SuffixRowAdapter](http://cocoadocs.org/docsets/GRDB.swift/0.76.0/Structs/SuffixRowAdapter.html): a row adapter that hides the first columns of a row
- [ScopeAdapter](http://cocoadocs.org/docsets/GRDB.swift/0.76.0/Structs/ScopeAdapter.html): the row adapter that groups several adapters together to define scopes
## Raw SQLite Pointers
@@ -3383,7 +3383,7 @@ let count2 = dbQueue.inDatabase { db in
SQLite concurrency is a wiiide topic.
First have a detailed look at the full API of [DatabaseQueue](http://cocoadocs.org/docsets/GRDB.swift/0.75.2/Classes/DatabaseQueue.html) and [DatabasePool](http://cocoadocs.org/docsets/GRDB.swift/0.75.2/Classes/DatabasePool.html). Both adopt the [DatabaseReader](http://cocoadocs.org/docsets/GRDB.swift/0.75.2/Protocols/DatabaseReader.html) and [DatabaseWriter](http://cocoadocs.org/docsets/GRDB.swift/0.75.2/Protocols/DatabaseWriter.html) protocols, so that you can write code that targets both classes.
First have a detailed look at the full API of [DatabaseQueue](http://cocoadocs.org/docsets/GRDB.swift/0.76.0/Classes/DatabaseQueue.html) and [DatabasePool](http://cocoadocs.org/docsets/GRDB.swift/0.76.0/Classes/DatabasePool.html). Both adopt the [DatabaseReader](http://cocoadocs.org/docsets/GRDB.swift/0.76.0/Protocols/DatabaseReader.html) and [DatabaseWriter](http://cocoadocs.org/docsets/GRDB.swift/0.76.0/Protocols/DatabaseWriter.html) protocols, so that you can write code that targets both classes.
If the built-in queues and pools do not fit your needs, or if you can not guarantee that a single queue or pool is accessing your database file, you may have a look at:
+1 -1
View File
@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.75.2</string>
<string>0.76.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>