What's New in Version 1.0.7
Version 1.0.7 of the relationalai Python package is now available!
To upgrade, activate your virtual environment and run the following command:
pip install --upgrade relationalaiNew Features and Enhancements
Section titled “New Features and Enhancements”-
Added
Relationship.ref()for relationships declared directly, not attached to a concept attribute. Before, if you used the same standalone relationship twice in one query, PyRel treated both uses as the same query occurrence, so they could not match independently. Now,Relationship.ref()gives you a second occurrence of the same relationship definition, similar toChain.ref(). -
Debugger UI packages are now optional. Before, a standard PyRel install included
niceguieven if you did not use the debugger. Now a standard install stays smaller, and if you do use the debugger without its extra packages, PyRel tells you to installrelationalai[debugger].
Bug Fixes
Section titled “Bug Fixes”- Fixed
select()withnot_()soselect(not_(expr))evaluates to a boolean result. Before, selecting a negated expression did not behave the same way as selecting other boolean expressions such asx == 2. Nowselect(not_(expr))works like a normal boolean selection.
Upgrade Notes
Section titled “Upgrade Notes”auto_suspend_minsandawait_storage_vacuumare no longer managed inraiconfig.yaml. Before, these reasoner lifecycle settings could appear inraiconfig.yaml, andrai init --migratecould carry them over when convertingraiconfig.tomltoraiconfig.yaml. Now PyRel warns if they appear in config and leaves them out of the generatedraiconfig.yamlduring migration. Manageauto_suspend_minswithrai reasoners:alter. Setawait_storage_vacuumwhen you create a reasoner withrai reasoners:create. For broader reasoner configuration, see Configure reasoners.