Releases: pbower/minarrow
Releases · pbower/minarrow
minarrow-pyo3 0.3.0
Changed
- Bumped
minarrowdependency from0.10.1to0.11.0.
Removed
- Unused nightly feature gates (
allocator_api,slice_ptr_get,
portable_simd) from the crate root. The underlying allocator-aware types
are re-exported fromminarrow, so the gates are not required at this
crate's call sites.
minarrow 0.11.0
[0.11.0] - 2026-05-15
Added
- arrow-rs / polars import bridges (#70): symmetric
from_apache_arrow/
from_polarsacrossArray,FieldArray,Table,SuperArray, and
SuperTable, each with atry_*sibling returningResult<_, MinarrowError>.
AddsFrom<&Series>,From<&RecordBatch>,From<&DataFrame>, and
From<&[RecordBatch]>for.into()ergonomics. - New feature-gated bridge modules
src/ffi/arrow_rs.rs(cast_arrow) and
src/ffi/polars.rs(cast_polars) centralising the export / import pairs (#70). MinarrowError::BridgeErrorvariant carrying arrow-rs / polars FFI failures,
with feature-gatedFromimpls forArrowErrorandPolarsError(#70).- Matrix: strided LAPACK matrix getters, improved interoperability, and
improved docs (#59, #62). - Cross-tabulate string kernel.
has_nullsaccessor (#63).with_capacityforCategoricalArray<T>(#67).- Filled missing trait impls:
SuperTableFrom,TryFrom<Value>gaps,
From<BooleanArrayV>forValue, plus otherFromimpls (#67). Vec64arm for thefa!macro.- Zero-copy
to_arrayescape path. - Minimal
logdependency.
Changed
- View -> owned conversions take a fast path when the view spans its full
backing storage (offset 0, length matches the backing array): skips
slice_cloneand returns anArcclone of the underlying allocation (#80). - Polars
Array/FieldArray/Tablefrom_polarsnow route through
SuperArray::from_polars/SuperTable::from_polars, correctly handling
multi-chunkedSeries/DataFrameinputs (#76, #77). - Bumped all dependencies to latest semver (#68).
- Breaking: renamed
SuperArray::to_apache_arrow_chunksand
SuperTable::to_apache_arrow_batchestoto_apache_arrow(#70).
Removed
- Breaking: removed
Array::to_apache_arrow_with_fieldand
Array::to_polars_with_field. Wrap in aFieldArrayand call itsto_*()
method when an explicitFieldis needed (#70).
Fixed
- Per-call
Boxleak in theto_*export paths —ArrowArray/ArrowSchema
heap wrappers were not freed afterread()(#70). - Categorical pandas
-1null sentinel handling (#69). - Zero-sized shared buffer checks: round-trips through
SharedBufferfor
zero-row columns no longer panic on alignment assertions (#73). - Polars default features (#77).
- Default features and the test harness; stale ref in benches.
- Pinned the toolchain via
rust-toolchain.tomlto work around an upstream
issue.