Releases: mochidev/CodableDatastore
Version 0.3.7
Overview
This release fixes a bug where datastores with secondary indexes would sometimes consistently fail to save an entry, specifically if it occurred after an entry that was saved across multiple pages on disk.
What's Changed
- Secondary Index Partial Content by @dimitribouniol in #224
Full Changelog: 0.3.6...0.3.7
Version 0.3.6
Overview
This release addresses stability issues when CodableDatastore is heavily used, as it'll have kept open file handles to every file cached in memory. Additionally, a memory retain cycle was caught preventing disk persistences from being cleaned up, though most users would not have been impacted as a DiskPersistence is typically created once and kept around for the duration of an executable's running time anyways.
What's Changed
- Close Open File Handles When Cached by @dimitribouniol in #220
- Disk Persistence Retain Cycle by @dimitribouniol in #221
- Child Transaction Optimization by @dimitribouniol in #222
Full Changelog: 0.3.5...0.3.6
Version 0.3.5
Overview
This release fixes a compilation issue for universal binaries where Float16 is unavailable on Intel, which would occur even on Apple Silicon when trying to profile a package that relied on this one.
What's Changed
- Universal Binary Compilation Issue by @dimitribouniol in #218
Full Changelog: 0.3.4...0.3.5
Version 0.3.4
Overview
This version adds a <
implementation for uuid_t
to assist in situations where the compiler complains of ambiguous implementations when manually comparing UUID
s. Now, you can simply call lhsUUID.uuid < rhsUUID.uuid
.
What's Changed
- Raw UUID Comparisons by @dimitribouniol in #216
Full Changelog: 0.3.3...0.3.4
Version 0.3.3
Overview
This version adds better support when packages declare the latest SDKs as their minimum deployment platforms.
What's Changed
- Better UUID Comparable Conformance by @dimitribouniol in #214
Full Changelog: 0.3.2...0.3.3
Version 0.3.2
Overview
This version adds Swift 6 support.
What's Changed
- Swift 6 by @dimitribouniol in #212
Full Changelog: 0.3.1...0.3.2
Version 0.3.1
Overview
This release adds a few more missing Sendable
conformances, especially surrounding keypath usage.
What's Changed
- More Sendable Conformances by @dimitribouniol in #209
Full Changelog: 0.3.0...0.3.1
Version 0.3.0
Overview
This release adds Sendable
conformance to all public types, and makes transaction closures non-escaping.
What's Changed
- Non-Escaping Transactions and Sendable Conformance by @dimitribouniol in #206
Full Changelog: 0.2.5...0.3.0
Version 0.2.5
Overview
This release fixes an issue where indexes with nil
values would not be ordered correctly, leading to failed updates when changing the optional index from nil
to a non-nil
value.
What's Changed
- Optional Index Ordering by @dimitribouniol in #203
Full Changelog: 0.2.4...0.2.5
Version 0.2.4
Overview
This update fixes a race between read-only transactions and read-write transactions that could corrupt the current state of the datastore, losing saved data in the process. This was usually caught via assertions, but now reads and writes should be safer to perform side by side in complex transactions.
What's Changed
- Transaction Race Corruption by @dimitribouniol in #201
Full Changelog: 0.2.3...0.2.4