Skip to content

Commit f508bb6

Browse files
committed
Bump version to 1.3.1
1 parent ed1bc8d commit f508bb6

5 files changed

Lines changed: 34 additions & 5 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@graphmemory/server",
3-
"version": "1.3.0",
3+
"version": "1.3.1",
44
"description": "MCP server for semantic graph memory from markdown files",
55
"main": "dist/cli/index.js",
66
"bin": {

site/docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const config: Config = {
7272
operatingSystem: 'Cross-platform',
7373
url: 'https://graphmemory.dev',
7474
downloadUrl: 'https://www.npmjs.com/package/@graphmemory/server',
75-
softwareVersion: '1.3.0',
75+
softwareVersion: '1.3.1',
7676
author: {
7777
'@type': 'Organization',
7878
name: 'Graph Memory',

site/src/pages/changelog.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,35 @@ description: Graph Memory release history and version changes.
55

66
# Changelog
77

8+
## v1.3.1
9+
10+
**Released: March 2026**
11+
12+
### Highlights
13+
14+
- **Code Audit Bugfixes** — 10 bugs fixed from deep codebase audit: Unicode signature extraction, import-based symbol disambiguation, BM25 body truncation, embedding codec optimization, attachment limits, graph persistence recovery, WebSocket cleanup.
15+
- **Embedding API Base64**`POST /api/embed` now supports `format: "base64"` for compact transfer (~2x smaller than JSON number arrays).
16+
- **REST Embedding Stripping** — GET endpoints for notes/symbols/docs no longer return raw embedding vectors.
17+
- **Centralized Defaults** — All magic numbers extracted to `src/lib/defaults.ts` (~80 constants).
18+
19+
### Fixes
20+
21+
- `buildSignature` — line-based slicing instead of byte offsets; correct for Cyrillic/emoji in JSDoc
22+
- `getDocComment` — use `previousNamedSibling` for robustness across tree-sitter grammars
23+
- `resolvePendingEdges` — disambiguate via import edges when multiple classes share the same name
24+
- `float32ToBase64` — O(n) `Buffer.from` instead of O(n²) string concatenation
25+
- BM25 body truncation to 2000 chars prevents `avgDl` distortion from large code files
26+
- Parser caches (`_pathMappings`, `_wikiIndex`) cleared between projects in multi-project mode
27+
- Graph `loadGraph` recovers from interrupted saves via `.tmp` file fallback
28+
- WebSocket `attachWebSocket` returns cleanup function for listener removal
29+
30+
### Security
31+
32+
- Attachment limits enforced: 10 MB per file, 20 per entity (note/task/skill)
33+
- REST endpoints strip embedding vectors from responses (matching MCP tool behavior)
34+
35+
---
36+
837
## v1.3.0
938

1039
**Released: March 2026**

src/cli/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const program = new Command();
1616
program
1717
.name('graphmemory')
1818
.description('MCP server for semantic graph memory from markdown docs and source code')
19-
.version('1.3.0');
19+
.version('1.3.1');
2020

2121
const parseIntArg = (v: string) => parseInt(v, 10);
2222

0 commit comments

Comments
 (0)