v0.5.3 — API Ergonomics & Serde
What's New
Added
query_json_params(sql, params)— parameterized SQL queries on core, async, FFI, and Node.js APIs. Prevents SQL injection when interpolating user-supplied values.metadataparameter oncreate_workflow— FFI, Node.js, and Go bindings now accept optional metadata JSON.relationfilter on graph traversal — FFI, Node.js, Go, Java, and C# bindings now accept an optional relation string to filter traversed edges.Serialize/Deserializederives on all public data types (DbStats,VectorEntry,SearchResult,SearchOptions,BatchEntry,Node,Edge,TraversalOptions,TraversalResult,FtsResult,HybridResult,MessageSearchResult,Conversation,Message,Workflow,WorkflowStep,Trace).Clonederive onAgentDB— enables sharing the database handle across threads/tasks.
Fixed
close()/Dropdouble-flush — callingclose()then dropping no longer reindexes HNSW indexes twice.- Vector search N+1 metadata queries — replaced per-result SQL lookups with a single batch
WHERE id IN (...)query. agentdb_opennot markedunsafe— now consistent with all other FFI exports.- Clippy clean — zero warnings with
--all-targets --features ffi.
Binding Parity
All new APIs are available in: Rust (core + async), C FFI, Node.js (napi-rs), Go (cgo), Java (JNI), C# (P/Invoke).
Full Changelog: v0.5.2...v0.5.3
Full Changelog: v0.5.0...v0.5.3