Critical Bug Fix
CRITICAL: v0.5.11 and v0.5.12 did not export the Feature 051 API from the common module's __init__.py file.
This release makes Feature 051 Simplified Connection API actually usable for the first time in PyPI packages.
What Was Broken
In v0.5.11 and v0.5.12, the Feature 051 code existed but was not exported:
iris_vector_rag/common/__init__.pywas empty (only# common modulecomment)from iris_vector_rag.common import get_iris_connectionwould fail withImportError- Users could not access the new simplified connection API
What's Fixed
- ✅ Added proper exports to
iris_vector_rag/common/__init__.py - ✅ Feature 051 API now accessible via standard imports
- ✅ All three API functions exported:
get_iris_connection(),detect_iris_edition(),IRISConnectionPool
Changes Since v0.5.12
- Fixed Module Exports (commit 53af704)
- Added
get_iris_connection()export - Added
detect_iris_edition()export - Added
IRISConnectionPoolexport
- Added
Changes Since v0.5.11
-
Removed Non-existent
_DBAPIReferences (v0.5.12 - commit 08f8cd7b)- Removed incorrect
iris._DBAPIchecks fromiris_connection.py:66-78 - Removed incorrect
iris._DBAPIchecks fromiris_dbapi_connector.py:109-123 - Updated to use official
iris.connect()API only (per InterSystems documentation)
- Removed incorrect
-
Fixed Module Exports (v0.5.13 - commit 53af704)
- Added proper exports to
iris_vector_rag/common/__init__.py
- Added proper exports to
Migration from v0.5.11/v0.5.12
If you tried to use Feature 051 in v0.5.11 or v0.5.12 and got import errors:
# This now works in v0.5.13 (was broken in v0.5.11/v0.5.12)
from iris_vector_rag.common import get_iris_connection, detect_iris_edition, IRISConnectionPool
# Get connection (automatic caching, thread-safe)
conn = get_iris_connection()
# Optional: Use connection pooling for high-concurrency scenarios
pool = IRISConnectionPool(max_connections=10)
with pool.acquire() as conn:
# Use connection
passVerification
Package verified at: https://pypi.org/project/iris-vector-rag/0.5.13/
References
- Feature 051 Documentation:
specs/051-simplify-iris-connection/quickstart.md - Migration Guide:
/Users/tdyar/ws/hipporag2-pipeline/MIGRATION_FEATURE_051.md - Contract Tests:
tests/contract/test_iris_connection_contract.py(12 passing, 4 skipped)