Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Compatibility and stability

From 0.11.0, mushroomdb is in beta. This page says what a release may and may not change, so you can decide which versions to accept. It applies to every release from 0.11.0 on; 0.10.x and earlier were alpha and made no such promise.

Versions stay at 0.x during the beta. A minor release is the second number (0.11 to 0.12); a patch release is the third (0.11.0 to 0.11.1).

Your stores

  • Every release opens every store written by 0.10.0 or later, with no manual step.
  • A change to the on-disk format happens only in a minor release. The store upgrades when it is opened, and the changelog says so and says whether an older release can still open it afterwards.
  • A store that has upgraded may not open in the release before. The current format rules, including which features make a store one-way, are in Format stability.

CI checks this on every pull request: stores written by released binaries are opened by the code under review, and their answers compared.

What is public

These are covered by the promises below:

SurfaceWhat counts
RustThe mushroomdb crate and everything it exports, including the types it re-exports. Items marked #[doc(hidden)] are not public.
PythonThe mushroomdb module as its type stubs (.pyi) describe it.
TypeScriptThe mushroomdb-client package.
ServerThe HTTP API, the Bolt protocol, and serve’s flags and environment variables.
CLICommand names, flags, exit codes and JSON output. Human-readable text may change.
MCPTool names and their parameters. Tool descriptions and reply wording may change.

The crates mushroomdb-storage, mushroomdb-query, mushroomdb-rules, mushroomdb-extract and mushroomdb-arrow are implementation crates. They are published so the others can be installed, and their own APIs may change in any release. Use what mushroomdb exports instead.

What a release may change

ChangePatchMinor
Fix a bugyesyes
Add a function, flag, endpoint, tool or Cypher featureyesyes
Add a variant to an enum marked #[non_exhaustive]yesyes
Add a variant to any other public enum (Value, GraphError, Predicate)noyes
Add a field with a default to a public Rust structnoyes
Remove or rename anything publicnoafter one minor release of deprecation
Change the on-disk formatnoyes, upgrading on open
Change a documented Cypher deviationnoyes
Raise the minimum Rust versionnoyes

A deprecated item warns (a Rust #[deprecated] attribute, a Python DeprecationWarning, a note in the changelog) for at least one minor release before it is removed.

Query answers

A query keeps returning the same rows from one release to the next, with one exception: an answer that was wrong by openCypher may be corrected in any release. Each correction is listed in the changelog under Changed answers, with the query shape it affects, so you can check whether your queries use it.

Where mushroomdb answers differently from openCypher on purpose, the difference is listed in openCypher conformance and changes only in a minor release.

Platforms

Linux and macOS run the full test suite. Windows is experimental: the release binary is built and smoke-tested on every pull request, but the test suite does not run there yet. See Install.

Security fixes

Security fixes ship in a patch release of the current minor version. See SECURITY.md.

After the beta

1.0 follows the beta once mushroomdb has been in real use outside its own development for a sustained period, with no serious wrong-answer defect found in a released version for 60 days and one minor release cycle with no break outside this page. From 1.0 the same rules apply under ordinary semantic versioning: breaking changes only in a major release.