Skip to content

feat!: 3.0 — RushDB Cloud and self-hosted engine (direct mode) - #1

Merged
1pxone merged 2 commits into
mainfrom
release/3.0-rust-engine
Oct 14, 2026
Merged

1pxone merged 2 commits into
mainfrom
release/3.0-rust-engine

Conversation

@1pxone

@1pxone 1pxone commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

RushDB 3.0: RushDB Cloud and a self-hosted engine

The SDK works with RushDB Cloud (API key) or a self-hosted RushDB engine (rushdbd) in direct mode (direct: true, engineUrl). In direct mode a local router answers every SDK route from the engine over Protocol v1; nothing is ever sent to RushDB Cloud.

  • Cloud-only features (managed embeddings, ai.search, relationship patterns, settings) throw CloudOnlyError before sending anything. CLOUD_ONLY_METHODS, CLOUD_ONLY_FORMS, isCloudOnlyMethod list them.
  • Transactions stage record creates, update, set, deleteById, attach, importJson, importCsv; writes the engine cannot stage throw DirectModeError.
  • Detach without typeOrTypes/direction removes every type both ways; untyped links use __RUSHDB__RELATION__DEFAULT__.
  • New scope option (multitenant engine); engineToken removed; direct: true requires engineUrl.
  • Node ESM build with an exports map (import RushDB from gets the class).
  • Fixed: direct mode never sent the request body; findById([...ids]) posted to the create endpoint.
  • Docs: only the engine is self-hosted; the dashboard, managed embeddings and AI features are RushDB Cloud's.

Changesets: major → 3.0.0.

Release order

This is step 1: merge, then merge the Version Packages PR to publish 3.0.0. @rushdb/mcp-server, @rushdb/agent-memory-contract and @rushdb/openclaw-memory depend on ^3.0.0 and refresh their lockfiles after this is published.

Tests

65+ unit tests (every SDK method classified and checked in direct mode) and 11 live tests against a real engine (RUSHDB_TEST_ENGINE_URL).

One SDK, two modes. In direct mode a local router answers every SDK route
from a standalone rushdbd over Protocol v1; nothing is ever sent to
RushDB Cloud.

- Cloud-only features (managed embeddings, ai.search, relationship
  patterns, settings) throw CloudOnlyError before sending anything;
  CLOUD_ONLY_METHODS / CLOUD_ONLY_FORMS / isCloudOnlyMethod list them.
- Transactions stage record creates, update, set, deleteById, attach and
  JSON/CSV imports; writes the engine cannot stage throw DirectModeError.
- records.detach without typeOrTypes/direction removes every type both
  ways; untyped links use __RUSHDB__RELATION__DEFAULT__.
- New scope option for a multitenant engine; engineToken removed;
  direct: true requires engineUrl.
- Fixed: direct mode never sent a request body; findById([...ids]) posted
  to the create endpoint.
- Node ESM build and exports map (import RushDB from ... gets the class).
- Text search, text indexes, hybrid fusion and named embedding indexes.
From 3.0 the self-hostable part of RushDB is the engine (rushdbd), reached
in direct mode. The dashboard, managed embeddings and the AI features are
part of RushDB Cloud. Remove the remaining mentions of a self-hosted
platform: mode tables, the `url` option (a RushDB Cloud API endpoint),
RUSHDB_API_URL, and the traversal notes (an omitted hops.max means up to
10 hops; there is no unbounded traversal).
@1pxone
1pxone merged commit e9f8241 into main Oct 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant