pypi / pyarrow
pyarrow
What changed in pyarrow 22 to 26, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
18 breaking8 security3 deprecations99 new APIs and options5 performance5 behavior and defaults3 tooling74 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initpyarrow 2663 changes
Breaking changes 6
Appending binary values over 2 GiB now raises CapacityError instead of truncating them.
Rejects inputs that are not Buffer objects.
PyArrow now requires NumPy 2.0.
PyArrow drops support for Pandas versions earlier than 2.0.3.
PyArrow drops support for Python 3.10.
Schema nesting depth is limited when reading Parquet files.
Security 3
Fixes an out-of-bounds read in round with the most negative precision.
Fixes a heap buffer overflow in FillNullForward and FillNullBackward.
Gandiva REPLACE no longer reports a buffer overflow for results larger than 64 KB.
New APIs and options 15
Python exposes Array::ToTensor, including support for fixed size lists.
Arrays and Tensor can consume DLPack objects.
The CSV reader can ignore extra columns in rows that contain more columns.
The dataset writer accepts write_table options.
FixedShapeTensorArray can produce DLPack objects.
FixedShapeTensorScalar can produce DLPack objects.
PyArrow adds conversion from NumPy StringDType to Arrow.
The MemoryPool used by Parquet ReaderProperties can now be set.
The use_content_defined_chunking option is explicitly exposed on ParquetWriter.
Python exposes RecordBatchFileReader.count_rows for counting rows in a record batch file.
Python exposes the record_batch_reader_source Acero node.
A search sorted compute kernel is added for Python and C++.
The use_content_defined_chunking option is explicitly exposed on write_table.
Python exposes the CSV writer's eol option so developers can configure the line ending.
Python exposes the CSV writer's null_string option so developers can configure how nulls are written.
Performance 1
Speeds up content-defined chunking using a local gear hash.
Behavior and default changes 5
Adds support for string/binary view to the content-defined chunking writer.
The CSV reader can pad rows that are missing trailing fields.
PyArrow moves to DLPack 1.3.
Parquet reading tolerates unrecognized logical and physical type combinations.
Python slice methods now accept Arrow integer scalars.
Tooling 1
PyArrow packaging adds support for Python 3.15.
Fixes and other changes 32
Rejects unsupported compression codecs.
Keeps content-defined chunking state across row groups.
Fixes a segfault when indices_nonzero is called on a chunkless ChunkedArray.
Prevents a crash when reading an invalid map array from IPC.
Preserves the cipher in plaintext footer metadata.
The CSV parse delimiter is propagated to write options.
Fixes parsing rows containing an embedded NUL byte.
Fixes the default start value for floating-point types in cumulative_max and cumulative_min.
Fixes filtering Arrow Datasets with a date expression on the right-hand side.
Fixes a correctness error in the decimal round_binary kernel.
Parquet reading now supports fixed size list arrays with nulls.
Breaks a reference cycle between the C++ server base and Python object to avoid leaking the server.
Fixes incorrect values when reading a Parquet file with a Float16 column.
Deleting a key returns IndexError instead of crashing when the key is missing.
Fixes incorrect new column names when using mutate with if_any.
Fixes pivot_wider when group ids are non-monotonic.
Fixes unification of nested uint64 fields inside a Struct array across record batches.
Fixes unification of nested Enum fields inside a Struct array across record batches.
Rejects read-only destinations.
Argument names in a schema supplied as in_type are no longer ignored.
Calling resize on an unopened object raises an exception instead of crashing.
Run-end encoded values now support struct, list view, large list view, and map types.
S3 filesystem metadata now supports Content-Encoding.
Scalar and Array arithmetic dunders return NotImplemented for unsupported types.
Initializes output for empty select_k inputs.
Adds Substrait mappings for starts_with, ends_with, and match_substring.
R str_replace() now matches base/stringr semantics when the replacement is NA.
Fixes Table.from_struct_array for an empty ChunkedArray.
Writing with TeeNode now preserves order.
Building from values now preserves unsigned dictionary index types.
UUID extension type round-trips to pandas as UUID values rather than bytes.
Validity kernels now handle logical nulls.
pyarrow 2519 changes
Breaking changes 1
Reading a single Parquet file no longer adds partition columns from its file path.
Deprecations 2
Narrows the Feather deprecation to the V1 format.
The Feather Python package was deprecated.
New APIs and options 6
An optional default_column_type parameter was introduced for column type selection.
Lists of multidimensional arrays can now be converted to FixedShapeTensor.
A hypot compute kernel was added.
pa.OSFile now supports raw file descriptors.
A direct key encryption/decryption API was added for Python Parquet use.
Conversion of a Table to an Arrow Tensor was added.
Performance 1
Converts arrays to Python objects without creating per-element Scalars.
Fixes and other changes 9
Fixes a SIGSEGV when libarrow is first loaded on a non-main thread that exits.
Fixes silent incorrect values when decoding a double column on aarch64 SVE.
Bloom filter length metadata is now exposed to Python in column chunk metadata.
Bloom filter offset metadata is now exposed to Python in column chunk metadata.
When a pandas DataFrame already contains an __index_level_i__ column, the index level is bumped once.
list_ storage no longer crashes when values exceed int32 offsets.
read_schema now supports extension types.
Inconsistent default values for Parquet pre_buffer were fixed.
Converting a timezone-aware Categorical to an Arrow array no longer drops its timezone.
pyarrow 2432 changes
Breaking changes 1
Disables DSN default values on macOS.
Deprecations 1
The pyarrow.gandiva module is deprecated.
New APIs and options 21
Adds access to raw records for a fixed size list in Ruby.
Adds access to the values of a fixed size list in Ruby.
Result::Map supports callables that return Status.
Adds an option to disable atfork handlers.
Adds ApplicationId for Azure SDK calls.
Adds support for writing Parquet Bloom filters from PyArrow.
Adds Ruby support for fixed size list arrays.
Adds Ruby support for custom metadata in Footer.
Adds a GLib API to check whether a map data type has sorted keys.
Can be used as an alias for the LZ4 raw compression name in PyArrow Parquet.
Adds Ruby support for custom metadata in Message.
Adds arrow::Result versions of ReadRowGroup and ReadRowGroups.
Adds an arrow::Result version of ReadTable().
Adds Bloom filter write support in C++.
Supports arithmetic on arrays and scalars.
Adds the BufferedStats API.
Adds ODBC support for Ubuntu.
Adds a VariableShapeTensor implementation.
Implements dplyr's when_all() helper in R.
Implements dplyr's when_any() helper in R.
Adds support for customizing more Zstd parameters.
Performance 1
Optimizes Gandiva's LPAD and RPAD functions.
Tooling 1
Adds Gandiva support for LLVM 22.1.0.
Fixes and other changes 7
Fixes string type conversion for arrays containing None.
Fixes memory allocation and handling of len<=0 in Gandiva's castVARCHAR.
Fixes duplicate CSV headers when the first batch is empty.
Adds a public virtual destructor to parquet::Page.
Scalar inference now recognizes UUIDs, and UuidArray can be constructed from a list of UuidScalars.
Fixes a segmentation fault in if_else.
Preserves dictionary key order when inferring a struct type.
pyarrow 2388 changes
Breaking changes 8
Removes the deprecated Array.format method; developers using it must switch to another supported API.
GLib uses a major- and minor-versioned typelib filename instead of Arrow-1.0.typelib.
C++ builds now require C++20, affecting compiler and build configuration requirements.
Drops CentOS 7 support for packaging.
R turns off gcs by default; when enabled, it is bundled.
Drops support for the gold linker.
Adds a binding for stringr::str_ilike().
Removes the ignore_case argument from the stringr::str_like() binding.
Security 5
Apache Arrow: Potential use-after-free when reading IPC file with pre-buffering
Fixes an out-of-bounds memory access in C++ buffered IO.
Avoids memory blowup when IPC uses an excessive variadic buffer count.
Fixes issues found by OSS-Fuzz in the IPC reader.
Prevents a potential crash when reading invalid Parquet data.
New APIs and options 52
Implements the statistics specification attribute for approximate null counts.
Implements the statistics specification attribute for approximate row counts.
GLib and Ruby add AssumeTimezoneOptions.
GLib and Ruby add CSVWriter.
GLib and Ruby add CumulativeOptions.
GLib and Ruby add DayOfWeekOptions.
GLib and Ruby add DictionaryEncodeOptions.
Adds duration support to GLib.
GLib and Ruby add ElementWiseAggregateOptions.
GLib and Ruby now allow passing a thread pool to ExecutePlan.
Python adds support for external key material features in Parquet.
GLib and Ruby add ExtractRegexOptions.
GLib and Ruby add FixedSizeListArray.
GLib and Ruby add GArrowExtractRegexSpanOptions.
GLib and Ruby add GArrowJoinOptions.
GLib and Ruby add GArrowListFlattenOptions.
GLib and Ruby add GArrowListSliceOptions.
GLib and Ruby add GArrowMakeStructOptions.
Adds Python bindings for the inverse_permutation compute function.
GLib and Ruby add MapLookupOptions.
Adds a Parquet writer setting to limit the number of rows written per page.
Adds the dataset build option to Meson configuration.
Meson now implements GCS support.
Adds the Substrait build option to Meson configuration.
Adds a utf8proc option to the Meson configuration.
GLib and Ruby add ModeOptions.
GLib and Ruby add NullOptions.
Adds Flight SQL ODBC driver connectivity, query execution, data retrieval, metadata, and statement and connection support.
GLib and Ruby add PadOptions.
GLib and Ruby add PairwiseOptions.
Adds an arrow::Result-returning version of FileReader::Make.
Exposes WriterProperties::max_rows_per_page through Python bindings.
Python's ParquetWriter now accepts write_time_adjusted_to_utc.
GLib and Ruby add PartitionNthOptions.
GLib and Ruby add PivotWiderOptions.
GLib and Ruby add RankQuantileOptions.
GLib and Ruby add ReplaceSliceOptions.
GLib and Ruby add ReplaceSubstringOptions.
GLib and Ruby add RoundBinaryOptions.
GLib and Ruby add RoundTemporalOptions.
Ruby adds support for reading Int8, Int16, UInt16, Int32, UInt32, Int64, UInt64, binary, large binary, UTF-8, large UTF-8, null, boolean, list, large list, fixed-size list, struct, map, dense and sparse union, float32, float64, date32, date64, time32, time64, fixed-size binary, timestamp…
Ruby adds support for reading the streaming format.
Adds Python bindings for the scatter compute function.
GLib and Ruby add SelectKOptions.
GLib and Ruby add SkewOptions.
GLib and Ruby add SliceOptions.
GLib and Ruby add SplitOptions.
GLib and Ruby add TDigestOptions.
GLib and Ruby add TrimOptions.
GLib and Ruby add WeekOptions.
GLib and Ruby add WinsorizeOptions.
GLib and Ruby add ZeroFillOptions.
Performance 2
Avoids re-serializing the footer during signature verification.
Reduces memory usage when converting tables with many extension-array columns to Pandas.
Fixes and other changes 21
Disables absl deadlock detection for ODBC in FlightRPC.
Adds the missing curl dependency to the CMake target.
Fixes a bug that could allow Arrow::ExecutePlan nodes to be garbage-collected.
Fixes cookie duplication in the Flight SQL ODBC driver and the Flight Client.
Checks IPC Message body length consistency in IPC files.
Float parsing no longer treats out_of_range as an error.
Gandiva detects overflow in repeat().
Python string comparison now requires the GIL.
Python improves the error message in CheckTypeExact.
Fixes issues in the CSV reader when processing invalid inputs.
Fixes roundtrips for pre-1970 INT96 timestamps.
Fixes writing partitioned datasets on S3 when the user is not allowed to use ListBucket.
Fixes the MinMax kernel emitting infinities for all-NaN input.
Fixes the assumption that DataFrame attrs must be serializable.
Improves compatibility with Pandas 3.0's changed default datetime unit.
The C++ Parquet column encryption API is improved.
Fixes invalid Parquet files written when dictionary-encoded pages are large.
Fixes applying column-specific options when writing an encrypted Dataset.
Fixes Pandas roundtrips involving a RangeIndex in a MultiIndex.
Flight SQLGetData uses IRD precision and scale defaults, with ARD override.
Pandas conversion now supports unsigned dictionary indices.
pyarrow 2213 changes
Breaking changes 2
PyArrow now requires Cython 3.1.
PyArrow drops support for Python 3.9.
New APIs and options 5
Adds options to DatasetFactory.inspect, allowing developers to control dataset inspection.
Exposes ipc::ReadStats in Flight MetadataRecordBatchReader.
Adds a way to specify is_adjusted_to_utc for the Time type when writing to Parquet.
Adds support for pandas DataFrame.attrs.
Adds the quoting_header option to pyarrow WriterOptions.
Tooling 1
Wheel building is set up for Python 3.14.
Fixes and other changes 5
Fixes segfault behavior when opening file-like objects.
Restores FileSystem.from_uri as a static method.
Applies maps_as_pydicts to nested MapScalar values.
Adds Numba-CUDA interoperability with NVIDIA bindings.
Schema objects are now hashable even when they have metadata.