Skip to content

Commit 872acc7

Browse files
committed
[Release] Bump version to v0.5.1
Patch release fixing database lock errors during concurrent hook execution and adding MCP auto-registration for plugin installs.
1 parent 734a5db commit 872acc7

5 files changed

Lines changed: 20 additions & 5 deletions

File tree

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "claude-memory",
3-
"version": "0.5.0",
3+
"version": "0.5.1",
44
"description": "Long-term self-managed memory for Claude Code with fact extraction, truth maintenance, and provenance tracking",
55
"author": {
66
"name": "Valentino Stoll"

.claude/CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- ClaudeMemory v0.5.0 -->
1+
<!-- ClaudeMemory v0.5.1 -->
22
# Project Memory
33

44
@.claude/rules/claude_memory.generated.md

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
## [0.5.1] - 2026-02-04
8+
9+
### Fixed
10+
11+
- **Database Lock Errors**: Fixed "database is locked" and "database is busy" errors when
12+
multiple Claude Code hooks run concurrently
13+
- Added application-level retry with exponential backoff (5 retries, 0.1s base delay)
14+
- Reduced SQLite busy_timeout from 30s to 1s for faster failure detection
15+
- Added `with_retry` and `transaction_with_retry` methods for concurrent access handling
16+
- SQLite's busy_timeout doesn't reliably detect lock release; app-level retry compensates
17+
18+
- **MCP Server Auto-Registration**: Added `.mcp.json` at plugin root so MCP server is
19+
automatically registered when plugin is installed (previously only worked in dev directory)
20+
721
## [0.5.0] - 2026-02-04
822

923
### Added

lib/claude_memory/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module ClaudeMemory
4-
VERSION = "0.5.0"
4+
VERSION = "0.5.1"
55
end

spec/claude_memory/mcp/text_summary_spec.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,17 +191,18 @@
191191

192192
describe ".summarize_check_setup" do
193193
it "summarizes setup status" do
194+
current_version = ClaudeMemory::VERSION
194195
result = {
195196
status: "ok",
196-
version: {current: "0.5.0", latest: "0.5.0"},
197+
version: {current: current_version, latest: current_version},
197198
components: {global_database: true, project_database: true, hooks_configured: true},
198199
issues: [],
199200
warnings: []
200201
}
201202
summary = described_class.summarize_check_setup(result)
202203

203204
expect(summary).to include("Setup status: ok")
204-
expect(summary).to include("0.5.0")
205+
expect(summary).to include(current_version)
205206
end
206207
end
207208
end

0 commit comments

Comments
 (0)