What’s New
v0.3.0 (2025-01-31)
Added support for Python 3.9 ~ 3.13
Added support for MongoDB 5.0 ~ 8.0
Added support for recent versions of all dependencies
Increased all minimum dependencies:
Dependency
0.2.1
0.3.0
MongoDB
3.6
4.0
Python
3.6
3.9
numpy
1.15
1.19
dask
1.2
2.24
pandas
0.24
1.1
xarray
0.13
0.16
pymongo
3.7
3.11
motor
2.0
2.3
pint
0.10
0.18
sparse
0.9
removed
v0.2.1 (2021-01-13)
Support for dask 2020.12
CI tests for MongoDB 4.4 and Python 3.9
Use Sphinx 3 for documentation
v0.2.0 (2020-07-03)
Database structure changes
Removed
unitsfield from thexarray.chunkscollection. Pint must always wrap around dask, and not the other way around.DataArray.attrswas previously lost upon storage; it is now saved in the top-levelattrsdict. (#10).The
attrsdict is now omitted if empty.Added
attrsdict under every element of coords and data_vars (omitted if empty).Embed small variables into the metadata document. Added optional
datakey to each variable on the database. Added new parameterembed_threshold_bytesto control how aggressive embedding should be (see API Reference).
Packaging changes
xarray_mongodb now adopts a rolling Minimum dependency versions policy based on NEP-29.
Increased minimum dependency versions:
Package
old
new
xarray
0.10.4
0.13
numpy
1.13
1.15
dask
1.1
1.2
pandas
0.21
0.24
Added support for Python 3.8
Added support for Motor on Windows (requires Motor >=2.1)
toolz is now automatically installed by
pip install xarray_mongodbNow using setuptools-scm for versioning
Now using GitHub actions for CI
Run all CI tests on MongoDB 3.6 and 4.2
Other changes
Fixed error when a package importing xarray_mongodb runs
mypy --strictAutomatically cast scalar numpy objects (e.g. float64) wrapped by pint.Quantity to scalar ndarrays upon insertion
v0.1.0 (2019-03-13)
Initial release.