What's New in Version 0.9.2
Version 0.9.2 is out now with several improvements that enhance usability, safety, and performance.
To upgrade, activate your virtual environment and run the following command:
pip install --upgrade relationalai
New Features and Enhancements
Section titled “New Features and Enhancements”-
The CLI now checks that any engine size you specify—either in the command line or your configuration file—is valid when creating an engine. If you provide an invalid engine size, the CLI will display a clear error message and list the valid options, helping you fix the issue immediately. For example, if you set the engine size to an unsupported value, you’ll see an error like:
Terminal window Invalid engine size INVALID_SIZE provided. Please check your config.Valid engine sizes are: HIGHMEM_X64_S, HIGHMEM_X64_M, HIGHMEM_X64_L -
Improved the behavior of the
rai imports:delete
andrai imports:stream
CLI commands to make deletion of data streams safer and clearer:-
The
--force
flag is now required byimports:delete
to delete a data stream and all its associated data. Deleting a data stream without--force
deletes the stream but leaves a snapshot of the data in your RAI Native App. Queries can still access this data, but it will not be updated. -
The
imports:stream
command blocks creation of a stream if a snapshot from a deleted stream with the same name exists and displays an error message with instructions for deleting the snapshot before creating the stream:Terminal window The import 'MY_IMPORT' cannot be created due to existing non-empty relationships.You can use the --force parameter to overwrite these:rai imports:stream --source MY_IMPORT --model my_model --forceTo delete the import and all its relationships, use the --force parameter:rai imports:delete --object MY_IMPORT --model my_model --force
-
-
Added a new
.full_reachable_from()
method to the graph library in the Python API. This method provides a faster and more robust way to compute all nodes reachable from a given node, especially on large or complex graphs. The interface is the same as the existing.reachable_from()
method, but you may see improved performance by switching to.full_reachable_from()
.
Bug Fixes
Section titled “Bug Fixes”- Fixed a bug where exporting SQL stored procedures with multiple arguments from RelationalAI to Snowflake generated incorrectly indented Python code. This caused syntax errors and large, unreadable error messages in the Snowflake UI. You can export stored procedures with any number of arguments. No changes to your code are needed—just upgrade to the latest version to benefit from this fix.