diff --git a/CHANGELOG.md b/CHANGELOG.md
index 38ba48464..2ff9b7f1b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,13 @@
Release Notes
=============
+## 0.106.1
+
+Released April 12, 2017
+
+No change, but a better support for Swift Package Manager at the git repository level.
+
+
## 0.106.0
Released April 11, 2017
diff --git a/Documentation/CustomSQLiteBuilds.md b/Documentation/CustomSQLiteBuilds.md
index 8c14b420b..0426ec571 100644
--- a/Documentation/CustomSQLiteBuilds.md
+++ b/Documentation/CustomSQLiteBuilds.md
@@ -15,7 +15,7 @@ GRDB builds SQLite with [swiftlyfalling/SQLiteLib](https://github.com/swiftlyfal
```sh
cd [GRDB.swift directory]
- git checkout 0.106.0
+ git checkout v0.106.1
git submodule update --init SQLiteCustom/src
````
diff --git a/Documentation/ExtendingGRDB.md b/Documentation/ExtendingGRDB.md
index 680b890bc..fc4f35180 100644
--- a/Documentation/ExtendingGRDB.md
+++ b/Documentation/ExtendingGRDB.md
@@ -473,7 +473,7 @@ Build a `value IN (...)` expression from any sequence of [values](../../../#valu
![1,2,3].contains(Column("id"))
```
-The most general way to generate an `IN` operator is from any value that adopts the [SQLCollection](http://groue.github.io/GRDB.swift/docs/0.106.0/Protocols/SQLCollection.html) protocol, like the [query interface requests](../../../#requests):
+The most general way to generate an `IN` operator is from any value that adopts the [SQLCollection](http://groue.github.io/GRDB.swift/docs/0.106.1/Protocols/SQLCollection.html) protocol, like the [query interface requests](../../../#requests):
```swift
let request = Person.select(Column("id"))
@@ -495,7 +495,7 @@ Build a `value BETWEEN min AND max` expression from Swift ranges:
#### The EXISTS Operator
-Build a `EXISTS(...)` expression from any value that adopts the [SQLSelectQuery](http://groue.github.io/GRDB.swift/docs/0.106.0/Protocols/SQLSelectQuery.html) protocol, like the [query interface requests](../../../#requests):
+Build a `EXISTS(...)` expression from any value that adopts the [SQLSelectQuery](http://groue.github.io/GRDB.swift/docs/0.106.1/Protocols/SQLSelectQuery.html) protocol, like the [query interface requests](../../../#requests):
```swift
let request = Person.all()
@@ -507,7 +507,7 @@ request.exists()
#### The COUNT Function
-Build a `COUNT(...)` expression from the [count](http://groue.github.io/GRDB.swift/docs/0.106.0/Functions.html) and [count(distinct:)](http://groue.github.io/GRDB.swift/docs/0.106.0/Functions.html) functions:
+Build a `COUNT(...)` expression from the [count](http://groue.github.io/GRDB.swift/docs/0.106.1/Functions.html) and [count(distinct:)](http://groue.github.io/GRDB.swift/docs/0.106.1/Functions.html) functions:
```swift
// SQLExpression: COUNT(email)
@@ -598,4 +598,4 @@ You may want to compare it to another protocol, SQLSpecificExpressible, which ha
> :point_up: **Note**: whenever you extend GRDB with a Swift function, method, or operator, you should generally make sure that its signature contains at least one GRDB-specific type. In the `cast` function, it is Database.ColumnType.
-**If SQLExpressionLiteral reveals too limited for your purpose**, you may have to implement a new type that adopts the [SQLExpression](http://groue.github.io/GRDB.swift/docs/0.106.0/Protocols/SQLExpression.html) protocol.
+**If SQLExpressionLiteral reveals too limited for your purpose**, you may have to implement a new type that adopts the [SQLExpression](http://groue.github.io/GRDB.swift/docs/0.106.1/Protocols/SQLExpression.html) protocol.
diff --git a/GRDB.swift.podspec b/GRDB.swift.podspec
index ff59cfe71..fcaceb25d 100644
--- a/GRDB.swift.podspec
+++ b/GRDB.swift.podspec
@@ -1,12 +1,12 @@
Pod::Spec.new do |s|
s.name = 'GRDB.swift'
- s.version = '0.106.0'
+ s.version = '0.106.1'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.summary = 'A Swift application toolkit for SQLite databases.'
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 => s.version }
+ s.source = { :git => 'https://github.com/groue/GRDB.swift.git', :tag => "v#{s.version}" }
s.module_name = 'GRDB'
s.ios.deployment_target = '8.0'
diff --git a/Makefile b/Makefile
index 88edcb455..a4dee0531 100644
--- a/Makefile
+++ b/Makefile
@@ -4,10 +4,14 @@
# CocoaPods ~> 1.2.0 - https://cocoapods.org
# Carthage ~> 0.20.1 - https://github.com/carthage/carthage
# Jazzy ~> 0.7.4 - https://github.com/realm/jazzy
+# Xcode 8.3, with iOS8.1 Simulator installed
-POD := $(shell command -v pod)
CARTHAGE := $(shell command -v carthage)
+GIT := $(shell command -v git)
JAZZY := $(shell command -v jazzy)
+POD := $(shell command -v pod)
+SWIFT := $(shell command -v swift)
+XCODEBUILD := $(shell command -v xcodebuild)
# Targets
@@ -45,14 +49,14 @@ test_framework_GRDBCipher: test_framework_GRDBCipherOSX test_framework_GRDBCiphe
test_install: test_install_manual test_install_GRDBCipher test_CocoaPodsLint
test_framework_GRDBOSX:
- xcodebuild \
+ $(XCODEBUILD) \
-project GRDB.xcodeproj \
-scheme GRDBOSX \
$(TEST_ACTIONS)
test_framework_GRDBWatchOS:
# XCTest is not supported for watchOS: we only make sure that the framework builds.
- xcodebuild \
+ $(XCODEBUILD) \
-project GRDB.xcodeproj \
-scheme GRDBWatchOS \
clean build
@@ -60,21 +64,21 @@ test_framework_GRDBWatchOS:
test_framework_GRDBiOS: test_framework_GRDBiOS_maxTarget test_framework_GRDBiOS_minTarget
test_framework_GRDBiOS_maxTarget:
- xcodebuild \
+ $(XCODEBUILD) \
-project GRDB.xcodeproj \
-scheme GRDBiOS \
-destination $(MAX_IOS_DESTINATION) \
$(TEST_ACTIONS)
test_framework_GRDBiOS_minTarget:
- xcodebuild \
+ $(XCODEBUILD) \
-project GRDB.xcodeproj \
-scheme GRDBiOS \
-destination $(MIN_IOS_DESTINATION) \
$(TEST_ACTIONS)
test_framework_GRDBCustomSQLiteOSX: SQLiteCustom
- xcodebuild \
+ $(XCODEBUILD) \
-project GRDB.xcodeproj \
-scheme GRDBCustomSQLiteOSX \
$(TEST_ACTIONS)
@@ -82,21 +86,21 @@ test_framework_GRDBCustomSQLiteOSX: SQLiteCustom
test_framework_GRDBCustomSQLiteiOS: test_framework_GRDBCustomSQLiteiOS_maxTarget test_framework_GRDBCustomSQLiteiOS_minTarget
test_framework_GRDBCustomSQLiteiOS_maxTarget: SQLiteCustom
- xcodebuild \
+ $(XCODEBUILD) \
-project GRDB.xcodeproj \
-scheme GRDBCustomSQLiteiOS \
-destination $(MAX_IOS_DESTINATION) \
$(TEST_ACTIONS)
test_framework_GRDBCustomSQLiteiOS_minTarget: SQLiteCustom
- xcodebuild \
+ $(XCODEBUILD) \
-project GRDB.xcodeproj \
-scheme GRDBCustomSQLiteiOS \
-destination $(MIN_IOS_DESTINATION) \
$(TEST_ACTIONS)
test_framework_GRDBCipherOSX: SQLCipher
- xcodebuild \
+ $(XCODEBUILD) \
-project GRDB.xcodeproj \
-scheme GRDBCipherOSX \
$(TEST_ACTIONS)
@@ -104,25 +108,25 @@ test_framework_GRDBCipherOSX: SQLCipher
test_framework_GRDBCipheriOS: test_framework_GRDBCipheriOS_maxTarget test_framework_GRDBCipheriOS_minTarget
test_framework_GRDBCipheriOS_maxTarget: SQLCipher
- xcodebuild \
+ $(XCODEBUILD) \
-project GRDB.xcodeproj \
-scheme GRDBCipheriOS \
-destination $(MAX_IOS_DESTINATION) \
$(TEST_ACTIONS)
test_framework_GRDBCipheriOS_minTarget: SQLCipher
- xcodebuild \
+ $(XCODEBUILD) \
-project GRDB.xcodeproj \
-scheme GRDBCipheriOS \
-destination $(MIN_IOS_DESTINATION) \
$(TEST_ACTIONS)
test_framework_SPM:
- swift package clean
- swift build
+ $(SWIFT) package clean
+ $(SWIFT) build
test_install_manual:
- xcodebuild \
+ $(XCODEBUILD) \
-project DemoApps/GRDBDemoiOS/GRDBDemoiOS.xcodeproj \
-scheme GRDBDemoiOS \
-configuration Release \
@@ -130,7 +134,7 @@ test_install_manual:
clean build
test_install_GRDBCipher: SQLCipher
- xcodebuild \
+ $(XCODEBUILD) \
-project Tests/GRDBCipher/GRDBiOS/GRDBiOS.xcodeproj \
-scheme GRDBiOS \
-configuration Release \
@@ -167,14 +171,14 @@ SQLiteCustom: SQLiteCustom/src/sqlite3.h
# Makes sure the SQLiteCustom/src submodule has been downloaded
SQLiteCustom/src/sqlite3.h:
- git submodule update --init SQLiteCustom/src
+ $(GIT) submodule update --init SQLiteCustom/src
# Target that setups SQLCipher
SQLCipher: SQLCipher/src/sqlite3.h
# Makes sure the SQLCipher/src submodule has been downloaded
SQLCipher/src/sqlite3.h:
- git submodule update --init SQLCipher/src
+ $(GIT) submodule update --init SQLCipher/src
# Documentation
@@ -187,10 +191,10 @@ ifdef JAZZY
--author 'Gwendal Roué' \
--author_url https://github.com/groue \
--github_url https://github.com/groue/GRDB.swift \
- --github-file-prefix https://github.com/groue/GRDB.swift/tree/0.106.0 \
- --module-version 0.106.0 \
+ --github-file-prefix https://github.com/groue/GRDB.swift/tree/0.106.1 \
+ --module-version 0.106.1 \
--module GRDB \
- --root-url http://groue.github.io/GRDB.swift/docs/0.106.0/ \
+ --root-url http://groue.github.io/GRDB.swift/docs/0.106.1/ \
--output Documentation/Reference \
--podspec GRDB.swift.podspec
else
diff --git a/README.md b/README.md
index eb0541d06..909e27f24 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@ GRDB.swift [
### A toolkit for SQLite databases, with a focus on application development
-**Latest release**: April 11, 2017 • version 0.106.0 • [CHANGELOG](CHANGELOG.md)
+**Latest release**: April 12, 2017 • version 0.106.1 • [CHANGELOG](CHANGELOG.md)
**Requirements**: iOS 8.0+ / OSX 10.9+ / watchOS 2.0+ • Xcode 8.1+ • Swift 3
@@ -186,7 +186,7 @@ Documentation
**Reference**
-- [GRDB Reference](http://groue.github.io/GRDB.swift/docs/0.106.0/index.html) (generated by [Jazzy](https://github.com/realm/jazzy))
+- [GRDB Reference](http://groue.github.io/GRDB.swift/docs/0.106.1/index.html) (generated by [Jazzy](https://github.com/realm/jazzy))
**Getting Started**
@@ -272,7 +272,7 @@ Any pull request that has the `make test_CarthageBuild` command successfully com
## Manually
-1. [Download](https://github.com/groue/GRDB.swift/releases/tag/0.106.0) a copy of GRDB.swift, or clone its repository and make sure you use the latest tagged version with the `git checkout 0.106.0` command.
+1. [Download](https://github.com/groue/GRDB.swift/releases/tag/0.106.1) a copy of GRDB.swift, or clone its repository and make sure you use the latest tagged version with the `git checkout 0.106.1` command.
2. Embed the `GRDB.xcodeproj` project in your own project.
@@ -371,7 +371,7 @@ let dbQueue = try DatabaseQueue(
configuration: config)
```
-See [Configuration](http://groue.github.io/GRDB.swift/docs/0.106.0/Structs/Configuration.html) for more details.
+See [Configuration](http://groue.github.io/GRDB.swift/docs/0.106.1/Structs/Configuration.html) for more details.
## Database Pools
@@ -450,7 +450,7 @@ let dbPool = try DatabasePool(
configuration: config)
```
-See [Configuration](http://groue.github.io/GRDB.swift/docs/0.106.0/Structs/Configuration.html) for more details.
+See [Configuration](http://groue.github.io/GRDB.swift/docs/0.106.1/Structs/Configuration.html) for more details.
Database pools are more memory-hungry than database queues. See [Memory Management](#memory-management) for more information.
@@ -698,7 +698,7 @@ let rows = try Row.fetchAll(db,
arguments: ["name": "Arthur"])
```
-See [Values](#values) for more information on supported arguments types (Bool, Int, String, Date, Swift enums, etc.), and [StatementArguments](http://groue.github.io/GRDB.swift/docs/0.106.0/Structs/StatementArguments.html) for a detailed documentation of SQLite arguments.
+See [Values](#values) for more information on supported arguments types (Bool, Int, String, Date, Swift enums, etc.), and [StatementArguments](http://groue.github.io/GRDB.swift/docs/0.106.1/Structs/StatementArguments.html) for a detailed documentation of SQLite arguments.
Unlike row arrays that contain copies of the database rows, row cursors are close to the SQLite metal, and require a little care:
@@ -936,7 +936,7 @@ GRDB ships with built-in support for the following value types:
- Generally speaking, all types that adopt the [DatabaseValueConvertible](#custom-value-types) protocol.
-Values can be used as [statement arguments](http://groue.github.io/GRDB.swift/docs/0.106.0/Structs/StatementArguments.html):
+Values can be used as [statement arguments](http://groue.github.io/GRDB.swift/docs/0.106.1/Structs/StatementArguments.html):
```swift
let url: URL = ...
@@ -1327,7 +1327,7 @@ try dbQueue.inDatabase { db in
}
```
-The `?` and colon-prefixed keys like `:name` in the SQL query are the statement arguments. You set them with arrays or dictionaries (arguments are actually of type [StatementArguments](http://groue.github.io/GRDB.swift/docs/0.106.0/Structs/StatementArguments.html), which happens to adopt the ExpressibleByArrayLiteral and ExpressibleByDictionaryLiteral protocols).
+The `?` and colon-prefixed keys like `:name` in the SQL query are the statement arguments. You set them with arrays or dictionaries (arguments are actually of type [StatementArguments](http://groue.github.io/GRDB.swift/docs/0.106.1/Structs/StatementArguments.html), which happens to adopt the ExpressibleByArrayLiteral and ExpressibleByDictionaryLiteral protocols).
```swift
updateStatement.arguments = ["name": "Arthur", "age": 41]
@@ -1542,7 +1542,7 @@ row.value(named: "consumed") // "Hello"
row.value(named: "produced") // nil
```
-Row adapters are values that adopt the [RowAdapter](http://groue.github.io/GRDB.swift/docs/0.106.0/Protocols/RowAdapter.html) protocol. You can implement your own custom adapters, or use one of the four built-in adapters:
+Row adapters are values that adopt the [RowAdapter](http://groue.github.io/GRDB.swift/docs/0.106.1/Protocols/RowAdapter.html) protocol. You can implement your own custom adapters, or use one of the four built-in adapters:
### ColumnMapping
@@ -1669,8 +1669,8 @@ Before jumping in the low-level wagon, here is the list of all SQLite APIs used
- `sqlite3_backup_finish`, `sqlite3_backup_init`, `sqlite3_backup_step`: see [Backup](#backup)
- `sqlite3_bind_blob`, `sqlite3_bind_double`, `sqlite3_bind_int64`, `sqlite3_bind_null`, `sqlite3_bind_parameter_count`, `sqlite3_bind_parameter_name`, `sqlite3_bind_text`, `sqlite3_clear_bindings`, `sqlite3_column_blob`, `sqlite3_column_bytes`, `sqlite3_column_count`, `sqlite3_column_double`, `sqlite3_column_int64`, `sqlite3_column_name`, `sqlite3_column_text`, `sqlite3_column_type`, `sqlite3_exec`, `sqlite3_finalize`, `sqlite3_prepare_v2`, `sqlite3_reset`, `sqlite3_step`: see [Executing Updates](#executing-updates), [Fetch Queries](#fetch-queries), [Prepared Statements](#prepared-statements), [Values](#values)
-- `sqlite3_busy_handler`, `sqlite3_busy_timeout`: see [Configuration.busyMode](http://groue.github.io/GRDB.swift/docs/0.106.0/Structs/Configuration.html)
-- `sqlite3_changes`, `sqlite3_total_changes`: see [Database.changesCount and Database.totalChangesCount](http://groue.github.io/GRDB.swift/docs/0.106.0/Classes/Database.html)
+- `sqlite3_busy_handler`, `sqlite3_busy_timeout`: see [Configuration.busyMode](http://groue.github.io/GRDB.swift/docs/0.106.1/Structs/Configuration.html)
+- `sqlite3_changes`, `sqlite3_total_changes`: see [Database.changesCount and Database.totalChangesCount](http://groue.github.io/GRDB.swift/docs/0.106.1/Classes/Database.html)
- `sqlite3_close`, `sqlite3_close_v2`, `sqlite3_next_stmt`, `sqlite3_open_v2`: see [Database Connections](#database-connections)
- `sqlite3_commit_hook`, `sqlite3_rollback_hook`, `sqlite3_update_hook`: see [Database Changes Observation](#database-changes-observation), [FetchedRecordsController](#fetchedrecordscontroller)
- `sqlite3_create_collation_v2`: see [String Comparison](#string-comparison)
@@ -1681,9 +1681,9 @@ Before jumping in the low-level wagon, here is the list of all SQLite APIs used
- `sqlite3_last_insert_rowid`: see [Executing Updates](#executing-updates)
- `sqlite3_preupdate_count`, `sqlite3_preupdate_depth`, `sqlite3_preupdate_hook`, `sqlite3_preupdate_new`, `sqlite3_preupdate_old`: see [Support for SQLite Pre-Update Hooks](#support-for-sqlite-pre-update-hooks)
- `sqlite3_set_authorizer`: **reserved by GRDB**
-- `sqlite3_sql`: see [Statement.sql](http://groue.github.io/GRDB.swift/docs/0.106.0/Classes/Statement.html)
-- `sqlite3_trace`: see [Configuration.trace](http://groue.github.io/GRDB.swift/docs/0.106.0/Structs/Configuration.html)
-- `sqlite3_wal_checkpoint_v2`: see [DatabasePool.checkpoint](http://groue.github.io/GRDB.swift/docs/0.106.0/Classes/DatabasePool.html)
+- `sqlite3_sql`: see [Statement.sql](http://groue.github.io/GRDB.swift/docs/0.106.1/Classes/Statement.html)
+- `sqlite3_trace`: see [Configuration.trace](http://groue.github.io/GRDB.swift/docs/0.106.1/Structs/Configuration.html)
+- `sqlite3_wal_checkpoint_v2`: see [DatabasePool.checkpoint](http://groue.github.io/GRDB.swift/docs/0.106.1/Classes/DatabasePool.html)
Records
@@ -1877,7 +1877,7 @@ try PointOfInterest.fetchAll(db, "SELECT ...", arguments:...) // [PointOfInte
try PointOfInterest.fetchOne(db, "SELECT ...", arguments:...) // PointOfInterest?
```
-See [fetching methods](#fetching-methods) for information about the `fetchCursor`, `fetchAll` and `fetchOne` methods. See [StatementArguments](http://groue.github.io/GRDB.swift/docs/0.106.0/Structs/StatementArguments.html) for more information about the query arguments.
+See [fetching methods](#fetching-methods) for information about the `fetchCursor`, `fetchAll` and `fetchOne` methods. See [StatementArguments](http://groue.github.io/GRDB.swift/docs/0.106.1/Structs/StatementArguments.html) for more information about the query arguments.
### RowConvertible and Row Adapters
@@ -2844,7 +2844,7 @@ Person // SELECT * FROM persons
```
-Raw SQL snippets are also accepted, with eventual [arguments](http://groue.github.io/GRDB.swift/docs/0.106.0/Structs/StatementArguments.html):
+Raw SQL snippets are also accepted, with eventual [arguments](http://groue.github.io/GRDB.swift/docs/0.106.1/Structs/StatementArguments.html):
```swift
// SELECT DATE(creationDate), COUNT(*) FROM persons WHERE name = 'Arthur' GROUP BY date(creationDate)
@@ -3280,11 +3280,11 @@ try request.fetchOne(db) // Person?
**To build custom requests**, you can create your own type that adopts the protocols, or derive requests from other requests, or use one of the built-in concrete types:
-- [Request](http://groue.github.io/GRDB.swift/docs/0.106.0/Protocols/Request.html): the protocol for all requests
-- [TypedRequest](http://groue.github.io/GRDB.swift/docs/0.106.0/Protocols/TypedRequest.html): the protocol for all typed requests
-- [SQLRequest](http://groue.github.io/GRDB.swift/docs/0.106.0/Structs/SQLRequest.html): a Request built from raw SQL
-- [AnyRequest](http://groue.github.io/GRDB.swift/docs/0.106.0/Structs/AnyRequest.html): a type-erased Request
-- [AnyTypedRequest](http://groue.github.io/GRDB.swift/docs/0.106.0/Structs/AnyTypedRequest.html): a type-erased TypedRequest
+- [Request](http://groue.github.io/GRDB.swift/docs/0.106.1/Protocols/Request.html): the protocol for all requests
+- [TypedRequest](http://groue.github.io/GRDB.swift/docs/0.106.1/Protocols/TypedRequest.html): the protocol for all typed requests
+- [SQLRequest](http://groue.github.io/GRDB.swift/docs/0.106.1/Structs/SQLRequest.html): a Request built from raw SQL
+- [AnyRequest](http://groue.github.io/GRDB.swift/docs/0.106.1/Structs/AnyRequest.html): a type-erased Request
+- [AnyTypedRequest](http://groue.github.io/GRDB.swift/docs/0.106.1/Structs/AnyTypedRequest.html): a type-erased TypedRequest
Rebind the fetched type of requests:
@@ -3699,7 +3699,7 @@ let pattern = FTS3Pattern(matchingAnyTokenIn: "") // nil
let pattern = FTS3Pattern(matchingAnyTokenIn: "*") // nil
```
-FTS3Pattern are regular [values](#values). You can use them as query [arguments](http://groue.github.io/GRDB.swift/docs/0.106.0/Structs/StatementArguments.html):
+FTS3Pattern are regular [values](#values). You can use them as query [arguments](http://groue.github.io/GRDB.swift/docs/0.106.1/Structs/StatementArguments.html):
```swift
let documents = try Document.fetchAll(db,
@@ -3912,7 +3912,7 @@ let pattern = FTS5Pattern(matchingAnyTokenIn: "") // nil
let pattern = FTS5Pattern(matchingAnyTokenIn: "*") // nil
```
-FTS5Pattern are regular [values](#values). You can use them as query [arguments](http://groue.github.io/GRDB.swift/docs/0.106.0/Structs/StatementArguments.html):
+FTS5Pattern are regular [values](#values). You can use them as query [arguments](http://groue.github.io/GRDB.swift/docs/0.106.1/Structs/StatementArguments.html):
```swift
let documents = try Document.fetchAll(db,
@@ -4588,7 +4588,7 @@ This requires a manual installation of GRDB:
```sh
cd [GRDB.swift directory]
- git checkout 0.106.0
+ git checkout v0.106.1
git submodule update --init SQLCipher/src
````
@@ -4694,7 +4694,7 @@ DROP TABLE students;
--' WHERE id = 1
```
-To avoid those problems, **never embed raw values in your SQL queries**. The only correct technique is to provide [arguments](http://groue.github.io/GRDB.swift/docs/0.106.0/Structs/StatementArguments.html) to your SQL queries:
+To avoid those problems, **never embed raw values in your SQL queries**. The only correct technique is to provide [arguments](http://groue.github.io/GRDB.swift/docs/0.106.1/Structs/StatementArguments.html) to your SQL queries:
```swift
// Good
@@ -5247,7 +5247,7 @@ try dbPool.write { db in
### DatabaseWriter and DatabaseReader Protocols
-Both DatabaseQueue and DatabasePool adopt the [DatabaseReader](http://groue.github.io/GRDB.swift/docs/0.106.0/Protocols/DatabaseReader.html) and [DatabaseWriter](http://groue.github.io/GRDB.swift/docs/0.106.0/Protocols/DatabaseWriter.html) protocols.
+Both DatabaseQueue and DatabasePool adopt the [DatabaseReader](http://groue.github.io/GRDB.swift/docs/0.106.1/Protocols/DatabaseReader.html) and [DatabaseWriter](http://groue.github.io/GRDB.swift/docs/0.106.1/Protocols/DatabaseWriter.html) protocols.
These protocols provide a unified API that lets you write safe concurrent code that targets both classes.
@@ -5255,7 +5255,7 @@ However, database queues are not database pools, and DatabaseReader and Database
- Pools are less forgiving than queues when one overlooks a transaction (see [concurrency rule 3](#guarantees-and-rules)).
- DatabaseWriter.readFromCurrentState is synchronous, or asynchronous, depending on whether it is run by a queue or a pool (see [advanced DatabasePool](#advanced-databasepool)). It thus requires higher libDispatch skills, and more complex synchronization code.
-- The definition of "current state" in DatabaseWriter.readFromCurrentState is [delicate](http://groue.github.io/GRDB.swift/docs/0.106.0/Protocols/DatabaseWriter.html#/s:FP4GRDB14DatabaseWriter20readFromCurrentStateFzFCS_8DatabaseT_T_).
+- The definition of "current state" in DatabaseWriter.readFromCurrentState is [delicate](http://groue.github.io/GRDB.swift/docs/0.106.1/Protocols/DatabaseWriter.html#/s:FP4GRDB14DatabaseWriter20readFromCurrentStateFzFCS_8DatabaseT_T_).
DatabaseReader and DatabaseWriter are not a tool for applications that hesitate between DatabaseQueue and DatabasePool, and look for a common API. As seen above, the protocols actually make applications harder to write correctly. Instead, they target reusable agnostic code that has *both* queues and pools in mind. For example, GRDB uses those protocols for [migrations](#migrations) and [FetchedRecordsController](#fetchedrecordscontroller), two tools that accept both queues and pools.
@@ -5274,7 +5274,7 @@ If you absolutely need multiple connections, then:
- Read about [isolation in SQLite](https://www.sqlite.org/isolation.html)
- Learn about [locks and transactions](https://www.sqlite.org/lang_transaction.html)
- Become a master of the [WAL mode](https://www.sqlite.org/wal.html)
-- Prepare to setup a [busy handler](https://www.sqlite.org/c3ref/busy_handler.html) with [Configuration.busyMode](http://groue.github.io/GRDB.swift/docs/0.106.0/Structs/Configuration.html)
+- Prepare to setup a [busy handler](https://www.sqlite.org/c3ref/busy_handler.html) with [Configuration.busyMode](http://groue.github.io/GRDB.swift/docs/0.106.1/Structs/Configuration.html)
- [Ask questions](https://github.com/groue/GRDB.swift/issues)
diff --git a/Support/Info.plist b/Support/Info.plist
index 6b1dc546e..73dc1d6dc 100644
--- a/Support/Info.plist
+++ b/Support/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 0.106.0
+ 0.106.1
CFBundleSignature
????
CFBundleVersion