mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
v0.52.0
This commit is contained in:
1 parent
907f020bf6
commit
cd7acbc4ce
4 files changed
+14
-11
No files matched your search
+4
-1
@@ -1,10 +1,13 @@
|
||||
Release Notes
|
||||
=============
|
||||
|
||||
## Next version
|
||||
## 0.52.0
|
||||
|
||||
Released March 21, 2016
|
||||
|
||||
**New**
|
||||
|
||||
- Swift 2.2, and Xcode 7.3
|
||||
- `Row` adopts Equatable
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'GRDB.swift'
|
||||
s.version = '0.51.2'
|
||||
s.version = '0.52.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'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
GRDB.swift
|
||||
==========
|
||||
|
||||
GRDB.swift is an SQLite toolkit for Swift 2.
|
||||
GRDB.swift is an SQLite toolkit for Swift 2.2.
|
||||
|
||||
It ships with an SQL API, protocols that turn your custom types in ORM-like objects, safe concurrent accesses to the database (that's pretty unique), and a Swift query interface which lets SQL-allergic developers avoid their most dreaded language.
|
||||
|
||||
@@ -11,7 +11,7 @@ You should give it a try.
|
||||
|
||||
---
|
||||
|
||||
**March 14, 2016: GRDB.swift 0.51.2 is out** ([changelog](CHANGELOG.md)). Follow [@groue](http://twitter.com/groue) on Twitter for release announcements and usage tips.
|
||||
**March 14, 2016: GRDB.swift 0.52.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+
|
||||
|
||||
@@ -110,7 +110,7 @@ Documentation
|
||||
|
||||
**Reference**
|
||||
|
||||
- [GRDB Reference](http://cocoadocs.org/docsets/GRDB.swift/0.51.2/index.html) (on cocoadocs.org)
|
||||
- [GRDB Reference](http://cocoadocs.org/docsets/GRDB.swift/0.52.0/index.html) (on cocoadocs.org)
|
||||
|
||||
**Getting started**
|
||||
|
||||
@@ -157,7 +157,7 @@ To use GRDB with CocoaPods, specify in your Podfile:
|
||||
source 'https://github.com/CocoaPods/Specs.git'
|
||||
use_frameworks!
|
||||
|
||||
pod 'GRDB.swift', '~> 0.51.2'
|
||||
pod 'GRDB.swift', '~> 0.52.0'
|
||||
```
|
||||
|
||||
|
||||
@@ -168,7 +168,7 @@ pod 'GRDB.swift', '~> 0.51.2'
|
||||
To use GRDB with Carthage, specify in your Cartfile:
|
||||
|
||||
```
|
||||
github "groue/GRDB.swift" ~> 0.51.2
|
||||
github "groue/GRDB.swift" ~> 0.52.0
|
||||
```
|
||||
|
||||
|
||||
@@ -250,7 +250,7 @@ let dbQueue = try DatabaseQueue(
|
||||
configuration: config)
|
||||
```
|
||||
|
||||
See [Configuration](http://cocoadocs.org/docsets/GRDB.swift/0.51.2/Structs/Configuration.html) for more details.
|
||||
See [Configuration](http://cocoadocs.org/docsets/GRDB.swift/0.52.0/Structs/Configuration.html) for more details.
|
||||
|
||||
> :bowtie: **Tip**: see [DemoApps/GRDBDemoiOS/Database.swift](DemoApps/GRDBDemoiOS/GRDBDemoiOS/Database.swift) for a sample code that sets up a database queue.
|
||||
|
||||
@@ -301,7 +301,7 @@ let dbPool = try DatabasePool(
|
||||
maximumReaderCount: 10) // The default is 5
|
||||
```
|
||||
|
||||
See [Configuration](http://cocoadocs.org/docsets/GRDB.swift/0.51.2/Structs/Configuration.html) for more details.
|
||||
See [Configuration](http://cocoadocs.org/docsets/GRDB.swift/0.52.0/Structs/Configuration.html) for more details.
|
||||
|
||||
|
||||
Database pools are more memory-hungry than database queues. See [Memory Management](#memory-management) for more information.
|
||||
@@ -2560,7 +2560,7 @@ See [Transactions](#transactions) for more information.
|
||||
|
||||
SQLite concurrency is a wiiide topic.
|
||||
|
||||
First have a detailed look at the full API of [DatabaseQueue](http://cocoadocs.org/docsets/GRDB.swift/0.51.2/Classes/DatabaseQueue.html) and [DatabasePool](http://cocoadocs.org/docsets/GRDB.swift/0.51.2/Classes/DatabasePool.html). Both adopt the [DatabaseReader](http://cocoadocs.org/docsets/GRDB.swift/0.51.2/Protocols/DatabaseReader.html) and [DatabaseWriter](http://cocoadocs.org/docsets/GRDB.swift/0.51.2/Protocols/DatabaseWriter.html) protocols.
|
||||
First have a detailed look at the full API of [DatabaseQueue](http://cocoadocs.org/docsets/GRDB.swift/0.52.0/Classes/DatabaseQueue.html) and [DatabasePool](http://cocoadocs.org/docsets/GRDB.swift/0.52.0/Classes/DatabasePool.html). Both adopt the [DatabaseReader](http://cocoadocs.org/docsets/GRDB.swift/0.52.0/Protocols/DatabaseReader.html) and [DatabaseWriter](http://cocoadocs.org/docsets/GRDB.swift/0.52.0/Protocols/DatabaseWriter.html) protocols.
|
||||
|
||||
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
@@ -15,7 +15,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.51.2</string>
|
||||
<string>0.52.0</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
|
||||
Reference in new issue
Block a user