Release Notes
Stay up to date with the latest features, improvements, and bug fixes in Maticlib.
[v0.2.2] - 2026-05-03
Major Additions
Formatting & Evaluation
- Markdown Results: Convert SQL tuples and columns into a clean Markdown table format.
- Evaluation System: Flexible test modules (
ContextRelevanceEvaluator,AnswerAccuracyEvaluator) to grade outputs with fallback heuristics and LLM options.
[v0.2.1] - 2026-05-03
Major Additions
Prompts, Observability & Resilience
- Prompts & Memory: Established
BasePromptTemplateand dynamicPromptRegistrycoupled with rolling windowConversationBufferMemory. - Observability & Resilience: Built high-resolution tracing (
PipelineTrace,StepTrace) natively capturing token budgets and a robust exponential backoff@with_retrydecorator.
Vector Stores & Pipelines
- Vector Stores: Built integrations for
ChromaVectorIndex,MilvusVectorIndex,PineconeVectorIndex,QdrantVectorIndex, andInMemoryVectorIndex. - Advanced Retrieval: Implemented
HybridRetriever,ReciprocalRankFusion(RRF), and LLM-backedQueryTransformer. - Pipelines: Unified the logic into easy-to-use
RAGPipelineandText2SQLPipelineorchestrators.
[v0.2.0] - 2026-05-03
Major Additions
RAG & Context Engineering (Phase 2)
Completed a massive expansion of the Maticlib data pipeline, enabling advanced RAG and Text2SQL workflows.
- Advanced Chunkers: Built
SeparatorChunker,HierarchicalChunker,TokenBudgetChunker, andSemanticDifferenceChunkerfor precise context engineering. - Document Loaders: Added robust
TextLoader,PDFLoader,DOCXLoader, andWebPageLoaderto ingest data seamlessly into the chunking system. - Vector Stores Config: Implemented
VectorIndexConfigdefining Flat, HNSW, IVF, and LSH indexing strategies. - Text2SQL Engine: Introduced full schema reflection, dialect transpilation, tabular file ingestion (CSV/Excel/Parquet), and the powerful
SQLInjectionGuardutilizingsqlglotto secure LLM-generated queries.
[v0.1.9] - 2026-05-01
Major Additions
Embeddings Token Tracking & Metadata
- Changed
embed_query()andembed_documents()return types to return Pydantic objects (EmbedQueryResponseandEmbedDocumentsResponse). - Includes token usage (
prompt_tokens,total_tokens), precise model IDs, and the raw provider response dictionary directly inside the returned model.
[v0.1.8] - 2026-04-29
Major Additions
RAG & Context Engineering (Phase 1)
Introduced a unified interface for generating high-dimensional vector representations of text.
- Unified Interface: New
BaseEmbeddingsabstract class ensuring a consistentembed_queryandembed_documentsAPI across providers. - OpenAI Embeddings:
OpenAIEmbeddingsclient supportingtext-embedding-3models with dimensionality controls. - Google GenAI Embeddings:
GoogleGenAIEmbeddingsclient supportinggemini-embedding-001with task-type optimization. - Mistral Embeddings:
MistralEmbeddingsclient supporting themistral-embedmodel.
[v0.1.7] - 2026-04-21
Major Additions
Native Tool Calling (Function Calling)
A robust system for enabling LLMs to interact with external Python functions. Developers can now define tools using a simple decorator and pass them directly to any LLM client.
@toolDecorator: Automatically generates JSON Schemas from Python function signatures, docstrings, and type hints.- Multi-Provider Support: Standardized implementation across OpenAI, Google Gemini, and Mistral AI.
- Unified Response Interface: Tool requests are automatically extracted into a common
tool_callsfield in the standardized response model.
Fixes & Improvements
- Google GenAI: Updated default model to
gemini-2.5-flash-litefor better stability and lower latency. - OpenAI: Restored missing
response_idandmodel_versionmappings in the Responses API. - Imports: Fixed a missing
Callableimport in several LLM client modules to prevent runtime errors during test collection.
[v0.1.6] - 2026-04-17
Major Additions
Response Parser System
A new, LangChain-inspired structured output system. Developers can now pass a Pydantic BaseModel directly to any LLM client to receive validated, type-safe Python objects.
PydanticResponseParser: Auto-generates structural instructions and validates output.JSONResponseParser: Robust regex-based dictionary extraction.XMLResponseParser: Flat dictionary extraction from XML tags.
Fixes & Improvements
- LLM Clients: Updated default Gemini model to
gemini-2.5-lite. - API Key Detection: Fixed a race condition where environment variables were not picked up correctly at import time.
- MRO Fixes: Resolved method resolution order conflicts in the parser inheritance hierarchy.
[v0.1.5] - 2026-04-12
Major Additions
OpenAI Integration
We've added a robust OpenAIClient that leverages the modern Responses API. This ensures compatibility with the latest reasoning models (o-series) and provides detailed metadata like cached tokens.
Automated Documentation
The library now features a professional documentation site built with MkDocs. This includes an automated API reference that stays in sync with the source code.
Comprehensive Examples
A new examples/ directory has been populated with scripts covering everything from basic chat to complex parallel execution graphs.
Fixes & Improvements
- MaticGraph: Fixed a critical constructor assignment bug and resolved Unicode encoding issues on Windows.
- LLM Clients: Better API key validation and improved fallback logic for Gemini.
- Aesthetics: Replaced library-wide emojis with clean, professional Material Design icons.
[v0.1.4] - 2025-10-24
Added
- Parallel execution support in MaticGraph: Explicit fan-out/fan-in patterns using the
parallel_group()method. - System instruction support: Properly formatted system instructions for Google Gemini models.
Changed
- Async Client Management: Better resource cleanup and timeout handling in asynchronous requests.
For full historical details, please consult the CHANGELOG.md in the repository.