What's New in Version 1.9.0
Version 1.9.0 of the relationalai Python package is now available!
To upgrade, activate your virtual environment and run the following command:
pip install --upgrade relationalaiUpgrade Notes
Section titled “Upgrade Notes”- If your code uses
filter_by()onConceptorRef, it now emits a PythonDeprecationWarningin 1.9.0. Your existing code still works in 1.9.0. Use.lookup()instead offilter_by()going forward.
New Features and Enhancements
Section titled “New Features and Enhancements”-
Prescriptive
solve()now helps you inspect solved models and diagnose infeasible ones. Usesolve(sensitivity=True)after solving to inspect solve diagnostics such as reduced costs and constraint sensitivity. Usesolve(conflict=True)to identify infeasibility conflicts, then checksolve_info().conflict_status. -
PyRel 1.9.0 improves CLI diagnostics.
rai doctornow prints live health checks, anddoctor:reportcollects diagnostic artifacts for support.
Bug Fixes
Section titled “Bug Fixes”-
Fixed a bug where queries using
top(),bottom(), orlimit()could fail with a SQL parser error. -
When
raiconfig.yamlcontains placeholders,rai doctornow identifies the missing configuration instead of failing with a raw connection error. -
If you use grouped optional aggregates over stored relationships, those Snowflake-backed queries now run correctly. Before this fix, they could fail with
Unsupported subquery type cannot be evaluated.