mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
v2.3.1
This commit is contained in:
1 parent
78c36612b7
commit
cafbecd8af
6 files changed
+14
-14
No files matched your search
+5
-5
@@ -1,22 +1,22 @@
|
||||
Release Notes
|
||||
=============
|
||||
|
||||
## Next Version
|
||||
## 2.3.1
|
||||
|
||||
Released November 8, 2017 • [diff](https://github.com/groue/GRDB.swift/compare/v2.3.0...v2.3.1)
|
||||
|
||||
**Fixed**
|
||||
|
||||
- GRDB 2.2.0 has introduced a fix in the way [transaction observers](https://github.com/groue/GRDB.swift/blob/master/README.md#transactionobserver-protocol) are notified of empty deferred transactions (`BEGIN; COMMIT;`). That fix was incomplete, and inconsistent.
|
||||
|
||||
Now all transactions are notified to transaction observers. Including empty degenerated transactions such as:
|
||||
Now all transactions are notified, without any exception, including:
|
||||
|
||||
```swift
|
||||
try db.inTransaction { .commit }
|
||||
try db.inSavepoint { .commit }
|
||||
try db.execute("BEGIN; COMMIT;")
|
||||
try db.execute("SAVEPOINT foo; RELEASE SAVEPOINT foo;")
|
||||
```
|
||||
|
||||
For a detailed rationale, see [820bc87](https://github.com/groue/GRDB.swift/commit/820bc87cfeee701743da852f3634e2c695e911ee#diff-3e791e9db648cd302590c9b86c70757fR376).
|
||||
[Rationale](https://github.com/groue/GRDB.swift/commit/820bc87cfeee701743da852f3634e2c695e911ee#diff-3e791e9db648cd302590c9b86c70757fR376)
|
||||
|
||||
|
||||
## 2.3.0
|
||||
|
||||
@@ -15,7 +15,7 @@ GRDB builds SQLite with [swiftlyfalling/SQLiteLib](https://github.com/swiftlyfal
|
||||
|
||||
```sh
|
||||
cd [GRDB directory]
|
||||
git checkout v2.3.0
|
||||
git checkout v2.3.1
|
||||
git submodule update --init SQLiteCustom/src
|
||||
````
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'GRDB.swift'
|
||||
s.version = '2.3.0'
|
||||
s.version = '2.3.1'
|
||||
|
||||
s.license = { :type => 'MIT', :file => 'LICENSE' }
|
||||
s.summary = 'A Swift application toolkit for SQLite databases.'
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |s|
|
||||
s.name = 'GRDBCipher'
|
||||
s.version = '2.3.0'
|
||||
s.version = '2.3.1'
|
||||
|
||||
s.license = { :type => 'MIT', :file => 'LICENSE' }
|
||||
s.summary = 'A Swift application toolkit for SQLite databases.'
|
||||
|
||||
@@ -3,7 +3,7 @@ GRDB 2 [](ht
|
||||
|
||||
### A toolkit for SQLite databases, with a focus on application development
|
||||
|
||||
**Latest release**: November 5, 2017 • version 2.3.0 • [CHANGELOG](CHANGELOG.md)
|
||||
**Latest release**: November 8, 2017 • version 2.3.1 • [CHANGELOG](CHANGELOG.md)
|
||||
|
||||
**Requirements**: iOS 8.0+ / OSX 10.9+ / watchOS 2.0+ • Swift 4.0 / Xcode 9+
|
||||
|
||||
@@ -14,7 +14,7 @@ GRDB 2 [](ht
|
||||
| Swift 3 | [v1.0](https://github.com/groue/GRDB.swift/tree/v1.0) |
|
||||
| Swift 3.1 | [v1.3.0](https://github.com/groue/GRDB.swift/tree/v1.3.0) |
|
||||
| Swift 3.2 | [v1.3.0](https://github.com/groue/GRDB.swift/tree/v1.3.0) |
|
||||
| **Swift 4** | **v2.3.0** |
|
||||
| **Swift 4** | **v2.3.1** |
|
||||
|
||||
Follow [@groue](http://twitter.com/groue) on Twitter for release announcements and usage tips.
|
||||
|
||||
@@ -265,7 +265,7 @@ The [Swift Package Manager](https://swift.org/package-manager/) automates the di
|
||||
```swift
|
||||
let package = Package(
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/groue/GRDB.swift.git", from: "2.3.0")
|
||||
.package(url: "https://github.com/groue/GRDB.swift.git", from: "2.3.1")
|
||||
]
|
||||
)
|
||||
```
|
||||
@@ -282,7 +282,7 @@ If you decide to use Carthage despite this warning, and get any Carthage-related
|
||||
|
||||
## Manually
|
||||
|
||||
1. [Download](https://github.com/groue/GRDB.swift/releases/tag/v2.3.0) a copy of GRDB, or clone its repository and make sure you use the latest tagged version with the `git checkout v2.3.0` command.
|
||||
1. [Download](https://github.com/groue/GRDB.swift/releases/tag/v2.3.1) a copy of GRDB, or clone its repository and make sure you use the latest tagged version with the `git checkout v2.3.1` command.
|
||||
|
||||
2. Embed the `GRDB.xcodeproj` project in your own project.
|
||||
|
||||
@@ -5094,7 +5094,7 @@ Alternatively, perform a manual installation of GRDB and SQLCipher:
|
||||
|
||||
```sh
|
||||
cd [GRDB directory]
|
||||
git checkout v2.3.0
|
||||
git checkout v2.3.1
|
||||
git submodule update --init SQLCipher/src
|
||||
```
|
||||
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>2.3.0</string>
|
||||
<string>2.3.1</string>
|
||||
<key>CFBundleSignature</key>
|
||||
<string>????</string>
|
||||
<key>CFBundleVersion</key>
|
||||
|
||||
Reference in new issue
Block a user