CHANGELOG

This commit is contained in:
Gwendal Roué committed 2022-11-27 15:05:45 +01:00
1 parent 35e60f2b97
commit ef019bb9da
1 file changed
+3 -3
+3 -3
View File
@@ -103,12 +103,12 @@ GRDB adheres to [Semantic Versioning](https://semver.org/), with one exception:
## Next Version
- **New**: The `Configuration.readQoS` and `writeQoS` properties return the effective quality of service of read-only and write database accesses. This helps application code avoid priority inversion and similar scheduling misuses when needed.
- **New**: `DatabaseReader.configuration.readQoS` and `writeQoS` return the effective quality of service of read-only and write database accesses. This helps application code avoid priority inversion and similar scheduling misuses when needed.
- **New**: `DatabaseReader.configuration.maximumReaderCount` returns the effective capacity for concurrent reads, so that application code can adapt when needed.
- **New**: `DatabasePool.makeSnapshot()` no longer throws an error when the database is not in the WAL mode. In such case, the returned snapshot prevents all database modifications during its lifetime.
- **New**: `Database.registerAccess(to:)` has `ValueObservation` track a region. This helps building optimized observations of a constant database region with `ValueObservation.trackingConstantRegion(_:)`.
- **New**: Open several connections to the same in-memory databases with `DatabaseQueue(named:)`.
- **New**: `TableDefinition` has new `primaryKey` methods that fix [an SQLite bug](https://www.sqlite.org/quirks.html#primary_keys_can_sometimes_contain_nulls) by adding NOT NULL constraints to primary key columns. Previous techniques for defining the primary key are preserved for backwards compatibility, but their use is not recommended.
- **New**: Open several connections to the same in-memory database with `DatabaseQueue(named:)`.
- **New**: `TableDefinition` has new methods for defining primary keys, with automatic NOT NULL constraints. They workaround [an SQLite bug](https://www.sqlite.org/quirks.html#primary_keys_can_sometimes_contain_nulls). Previous techniques for defining primary keys are preserved for backwards compatibility, but their use is not recommended.
- **New**: [#1293](https://github.com/groue/GRDB.swift/pull/1293) by [@groue](https://github.com/groue): Enable concurrent reads from a WAL snapshot.
## 6.3.1