You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+25-25Lines changed: 25 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,7 @@ Released February 1, 2022 • [diff](https://github.com/groue/GRDB.swift/comp
130
130
- **Fixed**: Fixed a bug of `including(all:)` for composite foreign keys and limited requests.
131
131
- **Fixed**: [#1162](https://github.com/groue/GRDB.swift/pull/1162) by [@groue](https://github.com/groue): Fix truncate optimization handling.
132
132
- **New**: [#1160](https://github.com/groue/GRDB.swift/pull/1160) by [@groue](https://github.com/groue): Hide statement arguments by default.
133
-
- **New**: [#1161](https://github.com/groue/GRDB.swift/pull/1160) by [@groue](https://github.com/groue): Target DispatchQueue for non-read-only database connections.
133
+
- **New**: [#1161](https://github.com/groue/GRDB.swift/pull/1161) by [@groue](https://github.com/groue): Target DispatchQueue for non-read-only database connections.
134
134
- **Documentation Update**: The [Database Configuration](README.md#database-configuration) chapter explains how to opt in for public statement arguments in DEBUG builds.
135
135
136
136
@@ -656,7 +656,7 @@ Released May 2, 2020 • [diff](https://github.com/groue/GRDB.swift/compare/v
656
656
657
657
GRDB 5 is a release focused on **Swift 5.2**, and **removing technical debt**.
658
658
659
-
There are breaking changes, though as few as possible. They open the door for future library improvements. And they have GRDB, [GRDBCombine](http://github.com/groue/GRDBCombine), and [RxGRDB](http://github.com/RxSwiftCommunity/RxGRDB) offer a common behavior.
659
+
There are breaking changes, though as few as possible. They open the door for future library improvements. And they have GRDB, [GRDBCombine](https://github.com/groue/GRDBCombine), and [RxGRDB](https://github.com/RxSwiftCommunity/RxGRDB) offer a common behavior.
660
660
661
661
New features include support for SQL subqueries, and a simplified handling of database errors. The most demanding users will also find it easier to switch between the system SQLite, SQLCipher, and custom SQLite builds.
662
662
@@ -2374,7 +2374,7 @@ It comes with new features, but also a few breaking changes, and a set of update
2374
2374
- `DatabaseMigrator.appliedMigrations(in:)` returns the set of applied migrations identifiers in a database ([#321](https://github.com/groue/GRDB.swift/pull/321)).
2375
2375
- `Database.isSQLiteInternalTable(_:)` returns whether a table name is an internal SQLite table ([#321](https://github.com/groue/GRDB.swift/pull/321)).
2376
2376
- `Database.isGRDBInternalTable(_:)` returns whether a table name is an internal GRDB table ([#321](https://github.com/groue/GRDB.swift/pull/321)).
2377
-
- Upgrade custom SQLite builds to [v3.23.0](http://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
2377
+
- Upgrade custom SQLite builds to [v3.23.0](https://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
- Preliminary Linux support for the main framework ([#354](https://github.com/groue/GRDB.swift/pull/354)).
@@ -2559,7 +2559,7 @@ Released January 29, 2018 • [diff](https://github.com/groue/GRDB.swift/comp
2559
2559
2560
2560
**New**
2561
2561
2562
-
- Upgrade custom SQLite builds to [v3.22.0](http://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
2562
+
- Upgrade custom SQLite builds to [v3.22.0](https://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
2563
2563
- The FTS5 full-text search engine has been enhanced with [initial token queries](https://sqlite.org/fts5.html#carrotq), and FTS5Pattern has gained a new initializer: `FTS5Pattern(matchingPrefixPhrase:)`
2564
2564
- The `Cursor` protocol is extended with more methods inspired by the standard Sequence protocol: `drop(while:)`, `dropFirst()`, `dropFirst(_:)`, `dropLast()`, `dropLast(_:)`, `joined(separator:)`, `prefix(_:)`, `max()`, `max(by:)`, `min()`, `min(by:)`, `prefix(while:)`, `reduce(into:_:)`, `suffix(_:)`,
2565
2565
@@ -2613,7 +2613,7 @@ Released January 18, 2018 • [diff](https://github.com/groue/GRDB.swift/comp
2613
2613
- `TransactionObserver.stopObservingDatabaseChangesUntilNextTransaction()` allows transaction observers to stop observing the database for the remaining extent of a transaction.
2614
2614
- GRDB no longer prevents the [truncate optimization](https://www.sqlite.org/lang_delete.html#truncateopt) when no transaction observers are interested in deleted rows.
2615
2615
- FetchedRecordsController now avoids checking for changes in untracked rowIds.
2616
-
- `DatabaseRegion` is a new public type that helps transaction observers recognize impactful database changes. This type is not documented in the main documentation. For more information, see [DatabaseRegion reference](http://groue.github.io/GRDB.swift/docs/2.6/Structs/DatabaseRegion.html), and look at [FetchedRecordsController implementation](https://github.com/groue/GRDB.swift/blob/master/GRDB/Record/FetchedRecordsController.swift).
2616
+
- `DatabaseRegion` is a new public type that helps transaction observers recognize impactful database changes. This type is not documented in the main documentation. For more information, see [DatabaseRegion reference](https://groue.github.io/GRDB.swift/docs/2.6/Structs/DatabaseRegion.html), and look at [FetchedRecordsController implementation](https://github.com/groue/GRDB.swift/blob/master/GRDB/Record/FetchedRecordsController.swift).
2617
2617
- `TransactionObserver` protocol provides default implementations for rarely used callbacks.
2618
2618
2619
2619
- `Row` adopts RandomAccessCollection
@@ -2700,7 +2700,7 @@ Released January 11, 2018 • [diff](https://github.com/groue/GRDB.swift/comp
2700
2700
let player = try request.fetchOne(db) // Player?
2701
2701
```
2702
2702
2703
-
This feature has been introduced in order to ease the use of [RxGRDB](http://github.com/RxSwiftCommunity/RxGRDB):
2703
+
This feature has been introduced in order to ease the use of [RxGRDB](https://github.com/RxSwiftCommunity/RxGRDB):
2704
2704
2705
2705
```swift
2706
2706
// New
@@ -2769,7 +2769,7 @@ Released December 3, 2017 • [diff](https://github.com/groue/GRDB.swift/comp
2769
2769
}
2770
2770
```
2771
2771
2772
-
- [#281](https://github.com/groue/GRDB.swift/pull/280): The `Database.dropFTS4SynchronizationTriggers` & `Database.dropFTS5SynchronizationTriggers` method help cleaning up synchronized full-text table ([documentation](https://github.com/groue/GRDB.swift/blob/master/README.md#deleting-synchronized-full-text-tables))
2772
+
- [#281](https://github.com/groue/GRDB.swift/pull/281): The `Database.dropFTS4SynchronizationTriggers` & `Database.dropFTS5SynchronizationTriggers` method help cleaning up synchronized full-text table ([documentation](https://github.com/groue/GRDB.swift/blob/master/README.md#deleting-synchronized-full-text-tables))
2773
2773
2774
2774
**Breaking Change**
2775
2775
@@ -2800,7 +2800,7 @@ Released November 5, 2017 • [diff](https://github.com/groue/GRDB.swift/comp
2800
2800
2801
2801
**New**
2802
2802
2803
-
- Upgrade custom SQLite builds to [v3.21.0](http://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
2803
+
- Upgrade custom SQLite builds to [v3.21.0](https://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
2804
2804
2805
2805
2806
2806
## 2.2.0
@@ -2833,7 +2833,7 @@ Released October 24, 2017 • [diff](https://github.com/groue/GRDB.swift/comp
2833
2833
### New
2834
2834
2835
2835
- GRDBCipher can now build from command line ([groue/sqlcipher/pull/1](https://github.com/groue/sqlcipher/pull/1) by [Darren Clark](https://github.com/darrenclark))
2836
-
- Upgrade custom SQLite builds to [v3.20.1](http://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
2836
+
- Upgrade custom SQLite builds to [v3.20.1](https://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
2837
2837
- The new method `Request.asSQLRequest` allows to inspect the sql and arguments of any request:
2838
2838
2839
2839
```swift
@@ -2977,7 +2977,7 @@ Released September 16, 2017 • [diff](https://github.com/groue/GRDB.swift/co
2977
2977
2978
2978
### New
2979
2979
2980
-
New features have been added in order to plug a few holes and support the [RxGRDB](http://github.com/RxSwiftCommunity/RxGRDB) and [GRDBObjc](http://github.com/groue/GRDBObjc) companion projects:
2980
+
New features have been added in order to plug a few holes and support the [RxGRDB](https://github.com/RxSwiftCommunity/RxGRDB) and [GRDBObjc](https://github.com/groue/GRDBObjc) companion projects:
2981
2981
2982
2982
- Persistable records can export themselves as dictionaries:
2983
2983
@@ -3240,7 +3240,7 @@ Released August 18, 2017 • [diff](https://github.com/groue/GRDB.swift/compa
3240
3240
3241
3241
**New**
3242
3242
3243
-
- Upgrade custom SQLite builds to [v3.20.0](http://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
3243
+
- Upgrade custom SQLite builds to [v3.20.0](https://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
3244
3244
- Complete support for all signed and unsigned integer types: from Int8 toUInt64, all integers can be stored and loaded from the database.
3245
3245
3246
3246
**API diff**
@@ -3271,7 +3271,7 @@ Released July 19, 2017 • [diff](https://github.com/groue/GRDB.swift/compare
3271
3271
3272
3272
**Fixed**
3273
3273
3274
-
- Upgrade custom SQLite builds to [v3.19.3](http://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
3274
+
- Upgrade custom SQLite builds to [v3.19.3](https://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
3275
3275
- The [Query Interface](https://github.com/groue/GRDB.swift/#the-query-interface) now generates `IS NULL` SQL snippets for comparisons with `DatabaseValue.null`:
3276
3276
3277
3277
```swift
@@ -3585,7 +3585,7 @@ Released May 28, 2017
3585
3585
3586
3586
**New**
3587
3587
3588
-
- Upgrade custom SQLite builds to [v3.19.2](http://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
3588
+
- Upgrade custom SQLite builds to [v3.19.2](https://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
3589
3589
- Upgrade SQLCipher to v3.4.1 ([announcement](https://discuss.zetetic.net/t/sqlcipher-3-4-1-release/1962), [changelog](https://github.com/sqlcipher/sqlcipher/blob/master/CHANGELOG.md))
3590
3590
- A [large test suite](https://travis-ci.org/groue/GRDB.swift) that runs on Travis-CI, thanks to [@swiftlyfalling](https://github.com/swiftlyfalling) in [PR #213](https://github.com/groue/GRDB.swift/pull/213)
3591
3591
@@ -3675,7 +3675,7 @@ Released April 6, 2017
3675
3675
3676
3676
**New**
3677
3677
3678
-
- `DatabaseWriter.availableDatabaseConnection` allows reentrant uses of GRDB, and improves support for [reactive](http://reactivex.io) programming.
3678
+
- `DatabaseWriter.availableDatabaseConnection` allows reentrant uses of GRDB, and improves support for [reactive](https://reactivex.io) programming.
3679
3679
3680
3680
3681
3681
**Breaking Changes**
@@ -3690,8 +3690,8 @@ Released April 3, 2017
3690
3690
**New**
3691
3691
3692
3692
- Support for Xcode 8.3 and Swift 3.1 (Xcode 8.1 and Swift 3 are still supported).
3693
-
- Upgrade custom SQLite builds to [v3.18.0](http://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
3694
-
- Support for [reactive](http://reactivex.io) extensions:
3693
+
- Upgrade custom SQLite builds to [v3.18.0](https://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
3694
+
- Support for [reactive](https://reactivex.io) extensions:
3695
3695
- `SelectStatement.SelectionInfo` is an opaque value that knows which database tables and columns are read by a [select statement](https://github.com/groue/GRDB.swift#prepared-statements).
3696
3696
- `DatabaseEventKind.impacts(_ selectionInfo:SelectStatement.SelectionInfo)` tells whether a database change has any impact on the results of a select statement. See [Database Changes Observation](https://github.com/groue/GRDB.swift#database-changes-observation)
3697
3697
- `TableMapping.primaryKeyRowComparator(_ db: Database)` returns a function that compares two database rows and return true if and only if they have the same non-null primary key.
@@ -3785,7 +3785,7 @@ Released January 10, 2017
3785
3785
3786
3786
- `Row` adopts the Hashable protocol
3787
3787
- [FetchedRecordsController](https://github.com/groue/GRDB.swift#fetchedrecordscontroller) now outputs request changes on all platforms, for both table and collection views. Merged [#160](https://github.com/groue/GRDB.swift/pull/160) by [@kdubb](https://github.com/kdubb).
3788
-
- Upgrade custom SQLite builds to [v3.16.2](http://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
3788
+
- Upgrade custom SQLite builds to [v3.16.2](https://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
3789
3789
3790
3790
**Breaking Changes**
3791
3791
@@ -3951,7 +3951,7 @@ Released December 4, 2016
3951
3951
3952
3952
**New**
3953
3953
3954
-
- Upgrade custom SQLite builds to [v3.15.2](http://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
3954
+
- Upgrade custom SQLite builds to [v3.15.2](https://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
3955
3955
3956
3956
3957
3957
## 0.92.1
@@ -4188,7 +4188,7 @@ Released November 5, 2016
4188
4188
4189
4189
**New**
4190
4190
4191
-
- Upgrade custom SQLite builds to [v3.15.1](http://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
4191
+
- Upgrade custom SQLite builds to [v3.15.1](https://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
4192
4192
4193
4193
**Fixed**
4194
4194
@@ -4276,7 +4276,7 @@ Released October 16, 2016
4276
4276
}
4277
4277
```
4278
4278
4279
-
- Upgrade custom SQLite builds to [v3.15.0](http://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
4279
+
- Upgrade custom SQLite builds to [v3.15.0](https://www.sqlite.org/changes.html) (thanks to [@swiftlyfalling](https://github.com/swiftlyfalling/SQLiteLib)).
4280
4280
4281
4281
4282
4282
**Breaking Change**
@@ -4329,7 +4329,7 @@ Released October 8, 2016
4329
4329
try Book.deleteOne(db, key: 1)
4330
4330
```
4331
4331
4332
-
- Upgrade custom SQLite builds to [v3.14.2](http://www.sqlite.org/changes.html).
4332
+
- Upgrade custom SQLite builds to [v3.14.2](https://www.sqlite.org/changes.html).
4333
4333
4334
4334
**Breaking Changes**
4335
4335
@@ -4378,7 +4378,7 @@ Released September 16, 2016
4378
4378
4379
4379
**New**
4380
4380
4381
-
- Upgrade custom SQLite builds to [v3.14.1](http://www.sqlite.org/changes.html).
4381
+
- Upgrade custom SQLite builds to [v3.14.1](https://www.sqlite.org/changes.html).
4382
4382
4383
4383
**Fixed**
4384
4384
@@ -5465,7 +5465,7 @@ Released April 5, 2016
5465
5465
5466
5466
**New**
5467
5467
5468
-
- The new framework GRDBCipher embeds [SQLCipher](http://sqlcipher.net) and can encrypt databases ([documentation](https://github.com/groue/GRDB.swift#encryption))
5468
+
- The new framework GRDBCipher embeds [SQLCipher](https://www.zetetic.net/sqlcipher/) and can encrypt databases ([documentation](https://github.com/groue/GRDB.swift#encryption))
5469
5469
- `DatabaseQueue.path` and `DatabasePool.path` give the path to the database.
5470
5470
5471
5471
**Fixed**
@@ -6415,11 +6415,11 @@ Released August 18, 2015
6415
6415
6416
6416
- `RowModel.exists(db)` returns whether a row model has a matching row in the database.
6417
6417
- `Statement.arguments` property gains a public setter.
6418
-
- `Database.executeMultiStatement(sql)` can execute several SQL statements separated by a semi-colon ([#6](http://github.com/groue/GRDB.swift/pull/6) by [peter-ss](https://github.com/peter-ss))
6418
+
- `Database.executeMultiStatement(sql)` can execute several SQL statements separated by a semi-colon ([#6](https://github.com/groue/GRDB.swift/pull/6) by [peter-ss](https://github.com/peter-ss))
6419
6419
6420
6420
**Breaking changes**
6421
6421
6422
-
- `UpdateStatement.Changes` has been renamed `DatabaseChanges` ([#6](http://github.com/groue/GRDB.swift/pull/6) by [peter-ss](https://github.com/peter-ss)).
6422
+
- `UpdateStatement.Changes` has been renamed `DatabaseChanges` ([#6](https://github.com/groue/GRDB.swift/pull/6) by [peter-ss](https://github.com/peter-ss)).
0 commit comments