Skip to content

v0.5.3 — API Ergonomics & Serde

Choose a tag to compare

@hvrcharon1 hvrcharon1 released this 01 Jul 16:54

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.
  • metadata parameter on create_workflow — FFI, Node.js, and Go bindings now accept optional metadata JSON.
  • relation filter on graph traversal — FFI, Node.js, Go, Java, and C# bindings now accept an optional relation string to filter traversed edges.
  • Serialize/Deserialize derives on all public data types (DbStats, VectorEntry, SearchResult, SearchOptions, BatchEntry, Node, Edge, TraversalOptions, TraversalResult, FtsResult, HybridResult, MessageSearchResult, Conversation, Message, Workflow, WorkflowStep, Trace).
  • Clone derive on AgentDB — enables sharing the database handle across threads/tasks.

Fixed

  • close() / Drop double-flush — calling close() 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_open not marked unsafe — 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