Skip to content

Release 0.20.5 - #258

Merged
chouswei merged 1 commit into
masterfrom
release/0.20.5
Nov 4, 2026
Merged

chouswei merged 1 commit into
masterfrom
release/0.20.5

Conversation

@chouswei

@chouswei chouswei commented Nov 4, 2026

Copy link
Copy Markdown
Owner

Why

Release 0.20.5 for the Devicor rollout. This bumps the version in __init__.py, project.toml and the version pin tests, and moves CHANGELOG [Unreleased] to 0.20.5, following the pattern of #252.

[0.20.5] - 2026-11-04

Added

  • Upgrade health and data check — memnet admin upgrade-verify --before <manifest> compares the running serve with the saved upgrade manifest: the same session ids, and the same rows and relations per session. Any mismatch exits 3. It runs client side, so it also checks a 0.20.4 serve.
  • One-step rollback — scripts/upgrade-rollback.sh restores the old venv link and the saved pre-upgrade state directory, then waits for the old serve to restore every session (docs/operations/safe-upgrade.md).
  • Typed walks over MCP, handles only — MCP tool typed_walk and CLI memnet query typed-walk --json-handles (one @WALKJSON line). Every node and edge is an opaque session-keyed handle; no nickname, hid or element id appears in the reply or its error text. start takes a handle from an earlier row or a nickname. A handle from another session, or of a deleted node, is refused stale_handle. Same limits as the CLI walk. MN-REQ-14.7 slice.

Fixed

  • Restart restore — Restart restores from the newest valid snapshot set (checkpoint or upgrade-prepare); a later restart restores again; a corrupt newest set falls back with @WARN: restore_fallback.
  • CLI exit codes when run in-process — a command that memnet runs in its own process (version, guide, examples, admin upgrade-verify, or under MEMNET_TEST_INLINE) now returns its own exit code; a typer.Exit code was turned into 0.
  • memnet-mcp without the [mcp] extra — memnet-mcp without the [mcp] extra exits 2 with one line: pip install 'memnet-llm[mcp]'.

Changed

  • Range WHERE type refusal — A quoted number, or a quoted string against a stored number, in a range WHERE is refused where_type_mismatch. This replaces the 0.20.4 note that '000123' matches nothing.
  • Typed walk refuses an edge type no edge has — unknown_relation (CLI and MCP; checked after folding) instead of an empty walk.

@chouswei
chouswei merged commit a5d948b into master Nov 4, 2026
2 checks passed
@chouswei chouswei mentioned this pull request Nov 4, 2026
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