Repository navigation
Ursa 0.5.0
Every relational step now runs in one engine plan. Graph verbs, stats and errors behave the same on every frame. This release has behavior changes: read them before you upgrade.
Highlights
- One plan, any order.
filter,select,with_columns,rename,sort,head,distinct,sampleandgroup_by().agg()run in the engine, in the order you write them, on any frame. - Joins anywhere. Any number of joins, in any position, on traversal and algorithm results. New
how:right,outer,semi,anti. - Graph ops over reshaped edges. Algorithms run over
distinct,group_by, join andsampleresults. Onewith_columnscan mix edge frames. - Plans are checked when you build them. A step that cannot run raises on the line that adds it. New
frame.schema()andframe.explain(). - Verbs are frames.
ur.degree(e)and the other verbs areNodeFrames with every frame method. - Stats over views.
density,diameterandavg_path_lengthread a filtered or traversal view. They takelazy=True.describe(nodes="touched")is new. - CSV. New options:
delimiter,has_header,quote,escape,null_value,comment. A list of paths reads as one table, weighted algorithms included. Floats such as+5andInfinityread asdouble. - Clear errors. Messages name the step, say what is wrong and what to do, and show no engine internals. The engine text is kept as
__cause__. - Faster. Large gains in PageRank (
direction="both"), closeness,avg_path_length,diameter, masked degree, attribute joins, Louvain and id interning.
Behaviour changes
- Float keys in
group_by,distinct,n_uniqueand joins use total order:-0.0 == 0.0, and all NaNs are equal. Filters andsortalready did. - A wrong kind of argument to a graph function raises
TypeError, where the function is called. Before, it raisedNotImplementedErrororAttributeError. bool(expr)raisesTypeError. Use&,|and~.density,diameterandavg_path_lengthover a filtered frame now read the filter (#210).- A bare
edges.nodes()collects to the node set. louvainpartitions differ from 0.4.1 for the same seed.- Many error messages are reworded; see the changelog for the list. Exception classes are unchanged unless listed.
Fixed
describe()over a filtered edge frame reported the whole graph.- A Parquet scan could read a column as one repeated value.
- CSV parse errors report the correct line on any number of cores.
- Very long step chains no longer crash the process.
- Security:
rustls-webpkiandtokiobumped for RUSTSEC-2026-0382 and RUSTSEC-2026-0386.
Full list: CHANGELOG.md.