Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ All notable changes to Le Space Belege. The format follows

## [Unreleased]

### Changed

- **OrbitDB 4.0.2.** `@orbitdb/core` goes from 4.0.0 to 4.0.2, also for the backups' storage bridge, which brought its own 4.0.0 until now (an override in `pnpm-workspace.yaml` keeps one copy). The passkey session workaround for orbitdb/orbitdb#1258 stays; OrbitDB's own cache no longer needs it from 4.0.2.

## [0.68.0] – 2026-12-02

## [0.67.0] – 2026-12-01
Expand Down
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"@multiformats/multiaddr": "13.0.3",
"@noble/curves": "2.4.0",
"@noble/hashes": "2.4.0",
"@orbitdb/core": "4.0.0",
"@orbitdb/core": "4.0.2",
"@scure/base": "2.4.0",
"@scure/bip39": "1.6.0",
"blockstore-core": "^6.0.0",
Expand Down
7 changes: 4 additions & 3 deletions app/src/lib/session-identities.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,15 @@ export async function createBooksIdentities(ipfs, signer) {
}

/**
* OrbitDB 4.0.0 remembers a verified identity under its `signatures.id` and
* refuses another session of the same passkey (orbitdb/orbitdb#1258): this
* OrbitDB up to 4.0.1 remembers a verified identity under its `signatures.id`
* and refuses another session of the same passkey (orbitdb/orbitdb#1258): this
* session's identity cached, every entry an earlier session signed – from a
* backup, or synced from an own device – is refused as "Key … is not allowed
* to write to the log". The workaround that lived here (PR #259) is the
* provider's since 0.11.0 (orbitdb-identity-provider-webauthn-did#90), so
* that simple-todo and Belege stop carrying copies of it; re-exported so the
* tests and any caller keep their import.
* tests and any caller keep their import. From 4.0.2 OrbitDB keys that cache by
* the identity's hash, so the wrapper is redundant there but harmless.
*/
export { withoutStaleIdentityCache };

Expand Down
57 changes: 31 additions & 26 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ onlyBuiltDependencies:
# entry, which neither Node nor a browser loads, and its peer react-native
# brought ~290 MiB (react-native, Babel, Metro, Hermes) into the bridge's
# image, which must stay below Aleph's 1 GiB upload once encrypted.
# @orbitdb/core: one copy, 4.0.2. @le-space/orbitdb-storage-bridge (backups)
# asks for ^4.0.0 and would otherwise keep its own 4.0.0 next to the app's.
overrides:
'@libp2p/gossipsub': 16.1.0
'@orbitdb/core': 4.0.2
react-native-webrtc: '-'
# Playwright records its videos as VP8 capped at 1 Mbit/s, too soft for text
# on a 1080p page (the demo films, app/e2e-video). The patch raises the cap.
Expand Down