Back to Changelog
v0.12.1
March 25, 2026

Patch: Settings key lookup, lineage visualizer, MCP install hint

Fixed

#[0.12.1] - 2026-03-25

Patch release addressing three bugs found during a routine audit.

#Fixed

  • Settings.get_llm_api_key() ignored environment variables set after import

    Settings is instantiated as a module-level singleton at import time. get_llm_api_key() previously returned only the field values cached during __init__, so API keys set in environment variables after the module was imported (e.g. in tests, or via dynamic configuration) were silently ignored.

    get_llm_api_key() now calls os.getenv() at invocation time and uses the result as the primary source, falling back to the cached field value. Affected providers: openai, anthropic, google/gemini, xai/grok.

  • LineagePlugin.visualize_lineage() raised KeyError when using a graph backend

    The Mermaid and DOT diagram exporters accessed lineage item dictionaries with item["entity_id"] directly. Items returned by the graph backend's BFS traversal carry a node_id key rather than entity_id, causing a KeyError for any user of the persistent graph backend path. The in-memory fallback was unaffected.

    Both exporters now resolve the node identifier with item.get("node_id") or item.get("entity_id", "unknown"), handling both sources correctly.

  • MCP missing-package error logged an incorrect install command

    When the MCP SDK was not installed, the error logged pip install mcp instead of the correct pip install 'daita-agents[mcp]'. Following the wrong hint installs only the raw SDK without going through daita-agents' extra resolution, which can result in version mismatches.