What's New in Version 1.0.14
Version 1.0.14 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”-
Improved notebook support. Before, rerunning notebook cells could leave behind earlier model state, and diagnostics were less notebook-aware. Now PyRel cleans up prior model declarations more reliably across reruns and renders diagnostics inline in notebooks when possible.
-
Added reasoner-specific connection overrides in
raiconfig.yaml. You can now setreasoners.<type>.connectionso a specific reasoner uses a different connection than the globaldefault_connection. For broader reasoner configuration, see Configure reasoners. -
Added the
rai debuggerCLI command. -
Added pagination to
jobs:listandreasoners:list. Use--limitand--offsetto control large result sets.
Bug Fixes
Section titled “Bug Fixes”-
Fixed
model.data()so DataFrame columns with PyRelInt128extension dtypes are inferred asIntegerinstead of falling back toAny. Before, DataFrames with those columns could fail type inference after round-tripping results back intomodel.data(). Now those inputs compile without requiring a manual cast. -
Fixed correctness issues in unary relationships. Before, queries against unary relationships could produce incorrect results, such as over-counting.
-
Fixed
rank_asc()andrank_desc()when used withdistinct(). Before, duplicate values were not always deduplicated before ranking, so repeated values could still be ranked separately instead of once as unique values. Now queries that use these ranking functions withdistinct()reliably rank unique values after deduplication. -
Fixed an issue where property names could get renamed in query results if the property name contains spaces or special characters like parentheses. This happened when a property was auto-created from a table column name with spaces or parentheses, like
height(cm)orfull name. Previously, these names could get transformed toheight_cmorfull_namein results columns, which could cause confusion when working with the results. Now, property names are preserved as-is in results.