github.com/rgb/xitdb-swift breaking changes
github.com/rgb/xitdb-swift 0.8.0 (December 2, 2026) is its newest release with breaking changes, 3 of them. The first: Renamed Durability.none. Every breaking API change we have recorded in github.com/rgb/xitdb-swift on Swift Package Index: 36 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.8.3, released December 3, 2026. Source repository
github.com/rgb/xitdb-swift 0.8.0 breaking changes
- Renamed
Durability.none
Durability.none is now Durability.unsynced, and the word none in text is kept for both lock and durability. Code using Durability.none or durability: .none must change to Durability.unsynced. github.com - Behavior changed
XitDBError.storageFailure
A lock held by another opener is now XitDBError.lockHeld, of kind .storage, rather than storageFailure(errno:). Code that catches storageFailure for a held lock must catch lockHeld. github.com - Signature changed
FileLock
The lock: parameter of fifteen initialisers no longer accepts nil or an optional FileLock, and FileLock gains a three-case form. Pass a FileLock value, using .unlocked for no lock. github.com
github.com/rgb/xitdb-swift 0.7.0 breaking changes
- Behavior changed
Every tree descent reads at most 64 nodes, so a tree whose leaf is the sixty-fifth node now fails with invalidBTreeNode. github.com - Behavior changed
Lookups, writes, compactions, remove neighbours and join bottom nodes that reach a branch with no children now fail with invalidBTreeNode. github.com - Behavior changed
applyReplicated
A range whose end passes 2^64 or a full copy shorter than the smallest database now fails with invalidRange before the source is read, instead of the earlier errors. github.com - Behavior changed
Durability
A client's own Codable or RawRepresentable conformance to Durability gets a warning and is replaced by the library's word encoding; data coded in the client's old words must be read by hand. github.com - Behavior changed
FileAccess
A client's own Codable or RawRepresentable conformance to FileAccess gets a warning and is replaced by the library's word encoding; data coded in the client's old words must be read by hand. github.com - Behavior changed
FileLock
A client's own Codable or RawRepresentable conformance to FileLock gets a warning and is replaced by the library's word encoding; data coded in the client's old words must be read by hand. github.com - Behavior changed
FileReading
A client's own Codable or RawRepresentable conformance to FileReading gets a warning and is replaced by the library's word encoding; data coded in the client's old words must be read by hand. github.com - Behavior changed
XitDBError
A switch over XitDBError or XitDBError.Code without a default must handle the new overflow case. github.com - Behavior changed
XitDBError.Code.invalidBTreeNode
Appending, inserting or joining into a linked array list whose size would pass 2^64 − 1 now throws overflow instead of invalidBTreeNode. Code that matches the old error must match overflow. github.com
github.com/rgb/xitdb-swift 0.6.0 breaking changes
- Removed
FileAccess.readOnly
FileStorage(path:access: .readOnly) and BufferedFileStorage(path:access: .readOnly) no longer compile. Open a ReadOnlyFileStorage and a ReadOnlyDatabase over it instead. github.com - Removed
FileStorage.access
Whether a file storage can write is now expressed by its type, so code reading FileStorage.access must change. github.com - Behavior changed
A snapshot taken before a full copy onto a file now reads the old file whole instead of failing with snapshotOverwritten. github.com - Behavior changed
A failed or interrupted full copy onto a file storage leaves the old database as it was. Programs that detected a failed copy by invalidDatabase no longer find it. github.com - Behavior changed
The lock belongs to the storage alone and is released when the storage goes or is closed, not when the last snapshot is released. github.com - Behavior changed
callerError
Two callerError values are equal when they carry errors of one type that are equal by that type's own ==, not when their descriptions match. github.com - Behavior changed
Database.recover
Recovery cuts past a sound root header only, not to later trailers. Use recover(_:ignoringRootHeader: true) to recover by trailers as before. github.com - Behavior changed
MemoryStorage
An in-memory storage is limited to the machine's memory by default, and writes past the limit fail with maxSizeExceeded. Use maxSize: nil for no limit. github.com - Signature changed
XitDBError
Two new cases, memoryMapNeedsLock and storageClosed, were added, so a switch over XitDBError without a default must handle them. github.com
github.com/rgb/xitdb-swift 0.5.0 breaking changes
- Behavior changed
xitdb-dump --path now reports a missing step as no such place with exit code 1, instead of printing the whole root with exit code 0. Scripts relying on the old output or exit code must be updated. github.com - Signature changed
put
The keyed put on HashMap now takes a storingKey argument, defaulting to false. Protocols requiring put(_:forKey:) and function references to it must name put(_:forKey:storingKey:) or wrap it in a closure. github.com - Signature changed
putCursor
The keyed put cursor on HashMap now takes a storingKey argument, defaulting to false. Protocols requiring putCursor(forKey:) and function references to it must name putCursor(forKey:storingKey:). github.com
github.com/rgb/xitdb-swift 0.4.0 breaking changes
- Removed
KeyHashing.Digest
Hashers no longer declare a Digest type; a hasher writes its hash with hash(_:into:) instead. github.com - Removed
KeyHashing.hash
A custom hasher must rewrite its function to write the hash into the buffer it is given. github.com - Removed
SipHash128
The SipHash128 hasher is gone; use SHA256 or Insecure.SHA1 instead. github.com - Removed
SipHash128Digest
The SipHash128Digest type is gone along with SipHash128. github.com - Removed
xitdb-dump --hash siphash128
The --hash option takes only sha256 and sha1 now. github.com - Removed
XitDBError.hashSizeMismatch
Code matching hashSizeMismatch must match invalidHashSize instead. github.com - Removed
XitDBStore
The XitDBStore module is gone in 0.4.0; code that imports it must use v0.3.0 or move off it. github.com - Renamed
SHA256.hash
Use SHA256.keyHash(of:) to get a key's hash as an array; a digest of data for its own sake is CryptoKit's. github.com - Behavior changed
xitdb-dump
An unfinished file is now reported with exit code 1 instead of 2. github.com - Behavior changed
XitDBError
A switch over XitDBError without a default must now handle noKeyHashing and invalidUTF8. github.com
And 2 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.