This commit is contained in:
Gwendal Roué committed 2016-05-10 09:57:03 +02:00
1 parent f9d82b8ead
commit 5614f57f43
4 files changed
+17 -12

No files matched your search

+8 -2
View File
@@ -1,11 +1,17 @@
Release Notes
=============
## Next version
## 0.61.0
Released May 10, 2016
**New**
- `FetchedRecordsController` is now exposed in OSX CocoaPods framework ([documentation](https://github.com/groue/GRDB.swift#fetchedrecordscontroller)
**Fixed**
- Transactions that fail precisely on the COMMIT statement are rollbacked (they used to remain open).
- Transactions that fail precisely on the COMMIT statement are now rollbacked (they used to remain open).
## 0.60.1
+1 -2
View File
@@ -1,13 +1,12 @@
Pod::Spec.new do |s|
s.name = 'GRDB.swift'
s.version = '0.60.1'
s.version = '0.61.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'
s.author = { 'Gwendal Roué' => 'gr@pierlis.com' }
s.source = { :git => 'https://github.com/groue/GRDB.swift.git', :tag => "v#{s.version}" }
s.source_files = 'GRDB/**/*.{h,m,swift}'
s.osx.exclude_files = 'GRDB/Record/FetchedRecordsController.swift'
s.module_name = 'GRDB'
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.9'
+7 -7
View File
@@ -24,7 +24,7 @@ You should give it a try.
---
**May 7, 2016: GRDB.swift 0.60.1 is out** ([changelog](CHANGELOG.md)). Follow [@groue](http://twitter.com/groue) on Twitter for release announcements and usage tips.
**May 10, 2016: GRDB.swift 0.61.0 is out** ([changelog](CHANGELOG.md)). Follow [@groue](http://twitter.com/groue) on Twitter for release announcements and usage tips.
**Requirements**: iOS 7.0+ / OSX 10.9+, Xcode 7.3+
@@ -142,7 +142,7 @@ Documentation
**Reference**
- [GRDB Reference](http://cocoadocs.org/docsets/GRDB.swift/0.60.1/index.html) (on cocoadocs.org)
- [GRDB Reference](http://cocoadocs.org/docsets/GRDB.swift/0.61.0/index.html) (on cocoadocs.org)
**Getting started**
@@ -193,7 +193,7 @@ To use GRDB with CocoaPods, specify in your Podfile:
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!
pod 'GRDB.swift', '~> 0.60.1'
pod 'GRDB.swift', '~> 0.61.0'
```
@@ -204,7 +204,7 @@ pod 'GRDB.swift', '~> 0.60.1'
To use GRDB with Carthage, specify in your Cartfile:
```
github "groue/GRDB.swift" ~> 0.60.1
github "groue/GRDB.swift" ~> 0.61.0
```
@@ -306,7 +306,7 @@ let dbQueue = try DatabaseQueue(
configuration: config)
```
See [Configuration](http://cocoadocs.org/docsets/GRDB.swift/0.60.1/Structs/Configuration.html) for more details.
See [Configuration](http://cocoadocs.org/docsets/GRDB.swift/0.61.0/Structs/Configuration.html) for more details.
## Database Pools
@@ -386,7 +386,7 @@ let dbPool = try DatabasePool(
maximumReaderCount: 10) // The default is 5
```
See [Configuration](http://cocoadocs.org/docsets/GRDB.swift/0.60.1/Structs/Configuration.html) for more details.
See [Configuration](http://cocoadocs.org/docsets/GRDB.swift/0.61.0/Structs/Configuration.html) for more details.
Database pools are more memory-hungry than database queues. See [Memory Management](#memory-management) for more information.
@@ -2862,7 +2862,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.60.1/Classes/DatabaseQueue.html) and [DatabasePool](http://cocoadocs.org/docsets/GRDB.swift/0.60.1/Classes/DatabasePool.html). Both adopt the [DatabaseReader](http://cocoadocs.org/docsets/GRDB.swift/0.60.1/Protocols/DatabaseReader.html) and [DatabaseWriter](http://cocoadocs.org/docsets/GRDB.swift/0.60.1/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.61.0/Classes/DatabaseQueue.html) and [DatabasePool](http://cocoadocs.org/docsets/GRDB.swift/0.61.0/Classes/DatabasePool.html). Both adopt the [DatabaseReader](http://cocoadocs.org/docsets/GRDB.swift/0.61.0/Protocols/DatabaseReader.html) and [DatabaseWriter](http://cocoadocs.org/docsets/GRDB.swift/0.61.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.60.1</string>
<string>0.61.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>