Skip to content

Python API Release Notes

1.15.0

Python SDK


Version 1.15.0 of the relationalai Python package is now available!

To upgrade, activate your virtual environment and run the following command:

pip install --upgrade relationalai

New Features and Enhancements

  • You can now use alias() to give any value an output alias, including Python literals such as 1, which can't call .alias() directly. Before 1.15.0, there was no top-level helper in relationalai.semantics to alias literal values.

1.14.0

Python SDK


Version 1.14.0 of the relationalai Python package is now available!

To upgrade, activate your virtual environment and run the following command:

pip install --upgrade relationalai

Bug Fix

  • Job commands such as rai jobs create now send background job guidance to stderr instead of stdout. This keeps stdout cleaner for scripts. If your automation relied on those guidance lines, you may need to capture or redirect stderr.

1.13.0

Python SDK


Version 1.13.0 of the relationalai Python package is now available!

To upgrade, activate your virtual environment and run the following command:

pip install --upgrade relationalai

New Features and Enhancements

  • You can now use std.re regex queries with the SQL backend, including match(), search(), fullmatch(), findall(), and sub(). Before 1.13.0, the SQL backend did not support these regex operations.

  • The ZIP archive from rai doctor:report now includes a readable summary.md file so you can quickly review status and key diagnostics. Before 1.13.0, you had to inspect raw JSON, YAML, and CSV artifacts for that overview.

Bug Fixes

  • rai doctor now warns earlier when you use direct_access: true with an unsupported Snowflake authenticator and tells you how to fix it. Before this fix, you might instead hit a later raw token-exchange error.

  • Deployments and refresh tasks now use the Snowflake role you set in DeploymentConfig.role. Before this fix, PyRel could ignore that setting and use a different role.

1.12.0

Python SDK


Version 1.12.0 of the relationalai Python package is now available!

To upgrade, activate your virtual environment and run the following command:

pip install --upgrade relationalai

New Features and Enhancements

  • You can now use aggregates.product() to compute the product of numeric values in PyRel queries. Before 1.12.0, the standard aggregates module did not include a built-in product aggregate.

  • rai doctor:report now includes expanded diagnostics.

1.11.0

Python SDK


Version 1.11.0 of the relationalai Python package is now available!

To upgrade, activate your virtual environment and run the following command:

pip install --upgrade relationalai

Bug Fix

  • PyRel now stops at the first model compilation error. Before this fix, PyRel could continue and fail later with a less clear error.