Releases: dirmacs/ares
v0.7.2 — Feature gate postgres/server modules
What's Changed
Enables ares-server to compile as a lean library dependency via cargo add ares-server --no-default-features --features openai. This unlocks composable use from CLI agents like pawan.
Feature Gating
sqlxis now an optional dep (only pulled in withpostgresfeature)api,auth,middleware,research,workflowsmodules gated behindpostgresTenantDb,PostgresClient,AppState,base_routergated behindpostgresagents::orchestratorandagents::tenant_agentgated behindpostgres
Always Available (no postgres needed)
ares::llm—LLMClient,Provider,ToolCoordinator,ProviderRegistryares::tools—Tooltrait,ToolRegistry, built-in toolsares::agents—Agent,ConfigurableAgent,LoopDetector,CheckpointManager,AgentRegistryares::memory,ares::types,ares::utils,ares::models
Backward Compatibility
Zero behavior changes when postgres feature is enabled (default). All existing deployments compile and run identically.
Usage for Lean Library Consumers
[dependencies]
ares-server = { version = "0.7", default-features = false, features = ["openai"] }Full changelog: v0.7.1...v0.7.2
v0.7.0 — OSS Split + ContextProvider + PostgreSQL
Breaking Changes
- PostgreSQL required — SQLite/libsql/Turso support removed. Use
docker-compose.minimal.ymlfor quick PostgreSQL setup. - ContextProvider trait —
AppStatenow requires acontext_providerfield. UseNoOpContextProviderfor default behavior.
New Features
- ContextProvider trait — pluggable external context injection into agent calls
base_router()— composable entry point for building managed platforms on top of ARES- Optional Eruka MCP tools — OSS gets 5 generic tools, managed deployments get 8
- Pre-commit hook + CI guard — blocks proprietary content in OSS repo
docker-compose.minimal.yml— PostgreSQL-only for OSS developers- mdBook docs — new "Extending ARES" section (ContextProvider + base_router)
Improvements
- 215 tests pass in 2 seconds (multi-threaded)
connect_lazyfor test DB pools (fixes tokio runtime deadlock)- API key generation includes
ares_prefix - Deploy handler uses env vars instead of hardcoded paths
- SVG logo (consistent with other DIRMACS projects)
Full Changelog
v0.5.0
Added
- Unified ToolCoordinator: Provider-agnostic multi-turn tool calling orchestration
- New
ToolCoordinatorstruct for managing tool calling across all LLM providers ToolCallingConfigfor configuring max iterations, parallel tool calls, and timeoutsConversationMessageenum for unified message representation- New
generate_with_tools_and_history()method added toLLMClienttrait - Implemented for all 4 providers: OpenAI, Anthropic, Ollama, LlamaCpp
- Location:
src/llm/coordinator.rs
- New
Deprecated
- OllamaToolCoordinator: Deprecated in favor of the new unified
ToolCoordinator- The Ollama-specific coordinator still works but will be removed in a future version
- Migrate to
ToolCoordinatorfor cross-provider compatibility
Full Changelog
v0.4.0
What's New
Anthropic Claude API Provider
Full support for Claude models via the Anthropic API. Enable with the anthropic feature flag.
- Supports Claude 3.5 Sonnet, Claude 3 Opus, Haiku, and all Claude model variants
- Streaming support with tool calling
- Full
LLMClienttrait implementation
Token Usage Tracking
LLM responses now include token usage statistics (prompt_tokens, completion_tokens, total_tokens) across all providers.
Fixes
Windows MSVC Compatibility
- Added compile-time error for
local-embeddingsfeature on Windows MSVC targets - Prevents cryptic ort-sys linker errors by failing fast with a helpful message
Security
- Updated
lruto 0.16.3 to fix RUSTSEC-2026-0002
Breaking Changes
full feature no longer includes local-embeddings
The local-embeddings feature has been removed from the full feature bundle due to ort-sys linker errors on Windows MSVC.
Migration:
- Windows users: Use remote embedding APIs or WSL
- Linux/macOS users: Use
full-local-embeddingsfeature if you need local embeddings
New Feature Bundles
full-local-embeddings- Full features with local embeddings (Linux/macOS only)full-ui-local-embeddings- Full features with UI and local embeddings (Linux/macOS only)
Installation
cargo install ares-serverOr with specific features:
cargo install ares-server --features "anthropic,openai,full"v0.3.3
v0.3.2 - Query Typo Correction & Embedding Cache
What's New
Query-Level Typo Correction
Fuzzy search now automatically corrects typos in search queries using vocabulary built from indexed documents.
QueryCorrectionstruct for vocabulary-based word correctionsearch_bm25_with_correction()andsearch_hybrid_with_correction()methods- Uses Levenshtein distance for domain-specific corrections
- Closes GitHub issue #4
Embedding Cache
New in-memory LRU cache for embedding vectors to avoid re-computation.
EmbeddingCachetrait withget/set/invalidate/clear/statsmethodsLruEmbeddingCachewith SHA-256 hashing, configurable max entries, optional TTLCachedEmbeddingServicewrapper for transparent caching- Thread-safe with
parking_lotRwLock
Documentation Updates
- Updated KNOWN_ISSUES.md, DIR-24_RAG_IMPLEMENTATION_PLAN.md, FUTURE_ENHANCEMENTS.md
- Removed stale session log file
Full Changelog
See CHANGELOG.md for complete details.
Full Changelog: v0.2.3...v0.3.2
v0.2.3
Full Changelog: v0.2.0...v0.2.3
v0.2.0
Full Changelog: https://github.com/dirmacs/ares/commits/v0.2.0