Repository navigation
🚀 Elusion v9.0.0 Release Notes
📦 Installation
[dependencies]
elusion = "9.0.0"
tokio = { version = "1.50.0", features = ["rt-multi-thread"] }[9.0.0] - 2026-10-25
Added - Column operations, data cleaning and Data Lake partitioning
with_columns([...])— add new columns or replace existing ones while keeping all other columns, no need to list every column in.select(). Existing columns keep their position, new ones are added at the enddrop_columns([...])— remove columns by namerename([("old", "new")])— rename columnscast([("column", "SQL_TYPE")])— change column types (INT,DOUBLE,DECIMAL(10,2),VARCHAR,DATE...)- Vec versions for dynamic column lists:
with_columns_vec(),drop_columns_vec(),rename_vec(),cast_vec() - Column operations chain with the existing builder and run in call order on the query result. Missing columns return a clear error with the list of available columns
columns(),count_rows(),shape()— column names, row count and (rows, columns) of a DataFrameschema()— Arrow schema with column names and types (programmatic counterpart ofdf_schema())value_counts("column", "alias")— frequency of each value in a column, most frequent firstwrite_to_parquet_partitioned(mode, path, &["col1", "col2"])— Hive-style partitioned Parquet output (path/col1=value/col2=value/*.parquet) withoverwriteandappendmodes, the standard layout for Fabric, Databricks and Sparkload_parquet_partitioned(path, alias)— load a Hive-partitioned Parquet folder; partition columns are detected from folder namesfill_null_strategy(["col"], strategy)(+_vec) — fill nulls withforward,backward,mean,median,min,maxorzero.forwardgives the same result asfill_down()with_row_index("name", offset)— row number as the first columnsample(n)andsample_fraction(f)— random rows for quick looks at large files- NDJSON / JSON Lines:
.ndjsonand.jsonlfiles load withCustomDataFrame::new()and folder loaders,write_to_ndjson(path)writes one JSON object per line explode("col")— one row per element of a JSON array column (REST API data);explode_split("col", ",")— one row per part of delimited textto_dummies(["col"])(+_vec) — one 0/1 column per category, replacing the original columninterpolate(["col"])(+_vec) — linear interpolation of nulls in numeric columns
⚠️ Breaking Changes
- Azure SDK migration: Azure Blob support now uses the official
azure_storage_blob1.1 crate instead of the deprecatedazure_storage/azure_storage_blobs0.21 crates elusion::preludeno longer re-exports the old Azure SDK types:azure_storage_blobs::prelude::*,StorageCredentials,CloudLocation,BlockList,BlobBlockType. If you used them directly, addazure_storage_blobto your ownCargo.toml- Elusion's Azure functions are unchanged —
from_azure_with_sas_token(),write_parquet_to_azure_with_sas()andwrite_json_to_azure_with_sas()keep the same signatures and behavior - JSON nulls:
nullvalues in JSON / NDJSON files are now loaded as real nulls instead of the text"null", and no longer turn a numeric column into a text column. A column with whole and decimal numbers (1and1.5) is nowFloat64instead of text. If your code compared JSON values to the string'null', useIS NULLinstead - Elusion now enables the
preserve_orderfeature ofserde_json. Because Cargo unifies features,serde_json::Mapin your project will also keep insertion order instead of sorting keys alphabetically
Security
- Fixed 32 of 34 RustSec advisories reported by
cargo audit azure_core0.21 wrote theauthorizationheader to logs (RUSTSEC-2026-0275) — fixed by the Azure SDK migrationsuppaftp8 → 12.1.2 — fixes FTP command injection via CRLF (RUSTSEC-2026-0271)calamine0.34 → 0.37 andrust_xlsxwriter0.94 → 0.101 — pullszip9.1 (symlink / SUID extraction issues, RUSTSEC-2026-0367/0368/0369) andquick-xml0.42cargo updatefor patched transitive dependencies:rustls,rustls-webpki,quinn-proto,h2,tokio,tokio-postgres,postgres-protocol,webpki-rootsand others- Remaining: 2
quick-xml0.38 advisories (RUSTSEC-2026-0194/0195) come throughdeltalake→delta_kernel→object_store0.12 cloud features. They are not reachable from Elusion: Elusion usesdeltalakeonly with localfile://paths and includes no deltalake cloud handlers, so the S3/Azure/GCS XML parsing code never runs (Elusion's own Azure and Fabric code uses the fixedquick-xml0.41). They are ignored in CI with this explanation and will be removed oncedeltalakemoves toobject_store0.14 (delta-rs #4566). If your own project usesdeltalakewith cloud storage handlers, that code path is reachable in your dependencies
Fixed
-
macOS build: relaxed the
opensslpin from=0.10.72to0.10.72(minimum) so it compiles against OpenSSL 4 from Homebrew -
Cross-platform paths in
ElusionProjectlocal materialization — Parquet and Delta output paths are now built withPath::joininstead of a hardcoded\separator, so Linux and macOS write to the correct location -
JSON column order: columns loaded from JSON (local files, FTP, Azure, CopyData) now keep the order they have in the source file instead of a random order on every run. Azure CSV blobs keep their header order too. JSON written with
write_to_json()keeps the DataFrame column order. Loading large JSON files is also slightly faster (228 MB file: 18.6s → 17.2s) -
df_schema()now showsStringfor all string types (Utf8View,LargeUtf8) and the real type name instead ofOtherfor everything else -
"Column Not Found" error suggested a non-existent
.display_schema()— now points to.df_schema() -
extract_value_from_df()andextract_row_from_df()returned Arrow debug text for non-string columns (e.g."PrimitiveArray<Int64>\n[\n 10,\n]"instead of"10"). All types (numbers, dates, booleans, ParquetUtf8Viewstrings) are now returned as plain values; nulls stay empty strings -
COUNT(DISTINCT col)in.select()and.agg()failed with "Column Not Found" —DISTINCTwas treated as part of the column name -
write_to_json()wrote whole numbers as decimals (478.0instead of478) and lost precision for integers above 2^53
Tests
- New integration tests in
tests/column_operations.rs(22) for column operations,fill_null_strategy,with_row_index,sample,explode,to_dummies,interpolate,value_counts, DataFrame info, cache keys, partitioned Parquet and NDJSON round-trips, JSON nulls andCOUNT(DISTINCT)
Changed
- Azure uploads and downloads are partitioned and parallelized by the SDK — the manual block upload for files over 1 GB was removed