Skip to content

Commit cc2a6ab

Browse files
committed
chore: bump version to 0.5.3
Fixed CRITICAL bug where SchemaManager ignored VECTOR_DIMENSION environment variable. Changes in 0.5.3: - SchemaManager now correctly reads vector dimension from CloudConfiguration API - Fixes FHIR-AI-Hackathon deployment issues with custom embedding dimensions - Fixed iris.dbapi import issues in connection_pool.py (removed invalid Connection type hints) - Added 9 comprehensive integration tests against real IRIS database (100% passing) - Configuration priority chain (env > config > defaults) now works correctly - Fixed pyproject.toml packaging to prevent namespace pollution (removed adapters* and evaluation_framework* from package) Integration Test Coverage: - ConnectionManager with CloudConfiguration environment variables (2 tests) - SchemaManager dimension configuration with VECTOR_DIMENSION env var (3 tests) - Configuration priority chain validation (3 tests) - End-to-end configuration flow to database (1 test) FHIR-AI-Hackathon Compatibility: SchemaManager now properly reads VECTOR_DIMENSION=1024 and other custom dimensions.
1 parent e137b22 commit cc2a6ab

File tree

3 files changed

+31
-3
lines changed

3 files changed

+31
-3
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
# Changelog
22

3+
## [0.5.3] - 2025-11-12
4+
5+
### Fixed
6+
- **CRITICAL**: Fixed SchemaManager bug where VECTOR_DIMENSION environment variable was ignored
7+
- SchemaManager now correctly reads vector dimension from CloudConfiguration API
8+
- Previous behavior: Always returned default 384 dimensions regardless of VECTOR_DIMENSION env var
9+
- New behavior: Respects configuration priority (env > config > defaults) via Feature 058 CloudConfiguration
10+
- Impact: Fixes FHIR-AI-Hackathon deployment issues where custom embedding dimensions were required
11+
- Fixed iris.dbapi import issues in connection_pool.py
12+
- Replaced invalid `Connection` type hints with `Any` (iris.dbapi doesn't export Connection class)
13+
- Removed incorrect `from iris.dbapi import Connection` import
14+
15+
### Added
16+
- **Integration Test Coverage**: 9 comprehensive integration tests against real IRIS database
17+
- `TestConnectionManagerIntegration`: 2 tests validating ConnectionManager with CloudConfiguration
18+
- `TestSchemaManagerIntegration`: 3 tests validating SchemaManager dimension configuration
19+
- `TestConfigurationPriorityChain`: 3 tests validating env > config > defaults priority
20+
- `TestCompleteConfigurationFlow`: 1 test validating end-to-end configuration to database
21+
- All tests verify real IRIS database operations (not mocked)
22+
- Test Results: 9/9 passing (100%)
23+
24+
### Technical Details
25+
- Files Modified:
26+
- `iris_vector_rag/storage/schema_manager.py` - Lines 49-77: Changed from incorrect `config.get("embedding_model.dimension", 384)` to `cloud_config.vector.vector_dimension`
27+
- `iris_vector_rag/common/connection_pool.py` - Replaced 7 Connection type hints with Any
28+
- Test Coverage: Added `tests/integration/test_cloud_config_integration.py` (400 lines)
29+
- FHIR-AI-Hackathon Compatibility: SchemaManager now properly reads VECTOR_DIMENSION=1024 and other custom dimensions
30+
331
## [0.5.2] - 2025-11-12
432

533
### Added - Cloud Configuration Flexibility (Feature 058)

iris_vector_rag/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from .validation.validator import PreConditionValidator
1919

2020
# Package version
21-
__version__ = "0.5.1"
21+
__version__ = "0.5.3"
2222
__author__ = "InterSystems IRIS RAG Templates Project"
2323
__description__ = "A comprehensive, production-ready framework for implementing Retrieval Augmented Generation (RAG) pipelines using InterSystems IRIS as the vector database backend."
2424

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "iris-vector-rag"
7-
version = "0.5.2"
7+
version = "0.5.3"
88
description = "Production-ready, extensible RAG framework with native IRIS vector search - unified API for basic, CRAG, GraphRAG, and ColBERT pipelines with RAGAS and DSPy integration"
99
readme = "README.md"
1010
license = {text = "MIT"}
@@ -162,7 +162,7 @@ Changelog = "https://github.com/intersystems/rag-templates/blob/main/CHANGELOG.m
162162
rag-templates = "iris_vector_rag.cli:main"
163163

164164
[tool.setuptools.packages.find]
165-
include = ["iris_vector_rag*", "adapters*", "evaluation_framework*"]
165+
include = ["iris_vector_rag*"]
166166

167167
[tool.setuptools.package-data]
168168
iris_vector_rag = [

0 commit comments

Comments
 (0)