Skip to content

v0.2.0

Choose a tag to compare

@dgenio dgenio released this 17 Apr 15:22
· 280 commits to main since this release
910adc5

What's Changed

Breaking Changes

  • ContextPolicy.ttl_behavior removed (#65) - the field was never read by any pipeline stage. Remove it from any ContextPolicy(ttl_behavior=...) calls. No behaviour changes; the field had no effect in prior releases.
  • InMemoryEventLog.append() now raises DuplicateItemError instead of bare ValueError - callers catching ValueError must migrate to DuplicateItemError or ContextWeaverError (#64)
  • InMemoryArtifactStore.drilldown() now raises ContextWeaverError instead of bare ValueError (#64)

Added

  • StoreBundle.from_dict() and InMemoryArtifactStore.from_dict() - full round-trip serialization (#66)
  • DuplicateItemError(ContextWeaverError) - exported from top-level package (#64)
  • Named configuration presets ("fast", "balanced", "accurate") via ProfileConfig and RoutingConfig (#133)
  • FastMCP Catalog bridge adapter in �dapters/fastmcp.py - astmcp_tool_to_selectable(), astmcp_tools_to_catalog(), load_fastmcp_catalog(), infer_fastmcp_namespace() (#114). Install: pip install contextweaver[fastmcp]
  • End-to-end four-phase runtime loop example (examples/full_agent_loop.py) and guide (docs/guide_agent_loop.md) (#24)
  • LangChain memory replacement example (examples/langchain_memory_demo.py) (#170)
  • Benchmark harness for routing and context pipeline - make benchmark (#119)
  • docs/troubleshooting.md - 10 common issues, debugging techniques, 12-entry FAQ (#82)
  • SECURITY.md - vulnerability disclosure policy
  • llms.txt / llms-full.txt - structured docs index and full-text bundle for AI tools
  • Auto-generated API reference site via MkDocs + mkdocstrings - make docs (#110)
  • make test now includes branch coverage report (#165)
  • CI pip dependency caching (#94)
  • Reusable agent prompt workflows in .github/prompts/ (#96)

Fixed

  • _strip_namespace_prefix() now handles dot- and slash-delimited FastMCP names (#177)
  • astmcp_tool_to_selectable() normalizes set/ rozenset/ uple metadata values to lists (#177)
  • All runnable snippets in docs/troubleshooting.md corrected to match actual APIs
  • Example output markers normalized to ASCII for Windows cp1252 compatibility

Full changelog: https://github.com/dgenio/contextweaver/blob/main/CHANGELOG.md