Changes in Version 1.10.0
Adds support for PyArrow 21.0
Adds support for conversion of unsupported Arrow data types in
writefunctions withauto_convertparametersMakes
pandasan optional dependencyAdds support for free-threaded Python 3.13 on Windows
Adds support for building against
libbson 2.0
Changes in Version 1.9.0
Adds support for strict type adherence for data if a schema is provided. If a field value contains a type mismatch with the schema's type for that field, a TypeError will be raised. Note that
NaNis a valid type for all fields. To suppress these errors and instead silently convert such mismatches toNaN, pass theallow_invalid=Trueargument to yourpymongoarrowAPI call.
Changes in Version 1.8.0
Adds support for PyArrow 20.0
Adds support for free-threaded Python on Linux and macOS
Changes in Version 1.7.0
Adds support for PyArrow 19.0
Adds support for the
pyarrow.Decimal128data type
Changes in Version 1.6.0
Warning
Potential Breaking Change
This version of PyMongoArrow removes support for Python v3.8.
Adds support for PyArrow 18.0 and Python 3.13
Fixes an issue that caused data loss on documents with nested data containing null or extension types
Adds support for PyArrow's
nulltypeChecks the status of all PyArrow C API calls to prevent segmentation faults
Changes in Version 1.5.0
Adds support for PyArrow 17.0
Adds support for nested
ObjectIdvalues in Polars conversions
Changes in Version 1.4.0
Added support for PyArrow 16.0.
Added a top-level Contributing guide.
Added an optional
boolflag to thewrite()function to skip writing null fields.Migrated documentation to the MongoDB Docs site.
Changes in Version 1.3.0
Support for Polars
Support for PyArrow.DataTypes: large_list, large_string, date32, date64
Changes in Version 1.2.0
Support for PyArrow 14.0.
Support for Python 3.12.
Changes in Version 1.1.0
Support for PyArrow 13.0.
Revert bug fix for nested extension objects in auto schema, since it caused a performance regression.
Changes in Version 1.0.2
Bug fix for projection on nested fields.
Bug fix for nested extension objects in auto schema.
Changes in Version 1.0.1
Support BSON binary type.
Support BSON Decimal128 type.
Support Pandas 2.0 and Pandas extension types.
Support PyArrow 12.0.
Changes in Version 0.7.0
Added support for BSON Embedded Document type.
Added support for BSON Array type.
Support PyArrow 11.0.
Changes in Version 0.6.3
Added wheels for Linux AArch64 and Python 3.11.
Fixed handling of time zones in schema auto-discovery.
Changes in Version 0.6.2
Fixed
ImportErroron Windows by buildinglibbsonin "Release" mode.Support PyArrow 10.0.
Changes in Version 0.5.1
Fixed auto-discovery of schemas for aggregation and
numpymethods.Added documentation for auto-discovery of schemas.
Changes in Version 0.5.0
Support auto-discovery of schemas in
find/aggregate_*_allmethods. If the schema is not given, it will be inferred using the first document in the result set.Support PyArrow 9.0.
Improve error message for lib ImportError.
Changes in Version 0.4.0
Support for
Decimal128type.Support for macOS arm64 architecture on Python 3.9+.
Support for writing tabular datasets (materialized as PyArrow Tables, Pandas DataFrames, or NumPy arrays) to MongoDB by using the
write()function. For more information, see the Quick Start guide for more info.
Changes in Version 0.3.0
Support for
PyArrow7.0.Support for the
ObjectIdtype.Improve error message when schema contains an unsupported type.
Add support for BSON string type.
Add support for BSON boolean type.
Upgraded to bundle libbson 1.21.1. If installing from source, the minimum supported
libbsonversion is now 1.21.0.Dropped Python 3.6 support (it was dropped in
PyArrow7.0).
Changes in Version 0.2.0
Support for PyMongo 4.0.
Support for Python 3.10.
Support for Windows.
The
find_arrow_all()method now accepts a user-providedprojection.The
find_arrow_all()method now accepts asessionobject.Note: PyMongoArrow now requires
pyarrowv6.0.x.
Changes in Version 0.1.1
Fixed a bug that caused Linux wheels to be created without the appropriate
manylinuxplatform tags.
Changes in Version 0.1.0
Support for efficiently converting find and aggregate query result sets into Arrow/Pandas/Numpy data structures.
Support for patching PyMongo's APIs by using the
monkey.patch_all()method.Support for loading the following BSON types:
64-bit binary floating point
32-bit integer
64-bit integer
Timestamp