Datacube

Latest version: v1.9.2

Safety actively analyzes 722581 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 14

1.9.2

What's Changed

* Fix postgis filtered count bug (1717)
* Suppress cartesian join warnings (1719)
* Remove stray debug message and minor mypy cleanup (1720)
* Update whats_new ready for 1.9.2 release (1720)

**Full Changelog**: https://github.com/opendatacube/datacube-core/compare/1.9.1...1.9.2

The work in this release was funded by Auspatious for the Digital Earth Pacific project.

1.9.1

**Changes**

- Make compatible with Dask/Distributed versions 2024.11 and above. A change in how Dask transmitted ODC data structures broke data loading in these versions. We had a dependency restriction to prevent incompatible versions being installed, which is now removed. [PR 1706](https://github.com/opendatacube/datacube-core/pulls/1706)
- New Documentation Theme which scales properly for mobiles, includes a dark mode, looks cleaner and is much more maintainable. [PR 1676](https://github.com/opendatacube/datacube-core/pulls/1676), [PR 1702](https://github.com/opendatacube/datacube-core/pulls/1702)
- Extend the allowed range of PostgreSQL TCP Ports to 65,535. Known as dynamic or ephemeral port numbers, they aren’t used for permanent servers, but are useful when dynamically running servers for tests. [PR 1697](https://github.com/opendatacube/datacube-core/pulls/1697)

**Test fixes**

- Fix compatibility with antimeridian 0.4+, which includes a superior implementation of splitting, using great circle coordinates instead of a simple 2D plane. [PR 1708](https://github.com/opendatacube/datacube-core/pulls/1708)
- Make tests pass when run as root, which often happens within a docker container. [PR 1705](https://github.com/opendatacube/datacube-core/pulls/1705)
- Hard code the use of nanosecond precision within xarray data. [PR 1707](https://github.com/opendatacube/datacube-core/pulls/1707)

**Maintenance**

- Update pre-commit hooks. [PR 1701](https://github.com/opendatacube/datacube-core/pulls/1701), [PR 1699](https://github.com/opendatacube/datacube-core/pulls/1699), [PR 1710](https://github.com/opendatacube/datacube-core/pulls/1710)
- Update copyright dates for 2025.
- Remove our GitHub Actions dependency on DockerHub (and credentials). [PR 1711](https://github.com/opendatacube/datacube-core/pulls/1711)
- Update the release process to be a bit simpler, and use OIDC for authentication with PyPI. [PR 1713](https://github.com/opendatacube/datacube-core/pulls/1713)

1.9.1rc2

What's Changed
* [chore] Update pre commit hooks, copyright dates for 2025, Doc-QA checks, mypy version pin by omad in https://github.com/opendatacube/datacube-core/pull/1699
* Dra/extend valid db port range by omad in https://github.com/opendatacube/datacube-core/pull/1697
* Major documentation theme update and fixes by omad in https://github.com/opendatacube/datacube-core/pull/1676
* Fix: Use canonical RTD url everywhere by omad in https://github.com/opendatacube/datacube-core/pull/1702
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/opendatacube/datacube-core/pull/1701
* Fix dask 2024.11+ incompatibility by omad in https://github.com/opendatacube/datacube-core/pull/1706
* Hardcode to ns precision times in xarray by omad in https://github.com/opendatacube/datacube-core/pull/1707
* Fix failing configuration test when running as root (and fix potential crash on misconfigured config paths) by omad in https://github.com/opendatacube/datacube-core/pull/1705
* Fix tests for antimeridian 0.4+ by omad in https://github.com/opendatacube/datacube-core/pull/1708
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/opendatacube/datacube-core/pull/1710
* In GHA Always Build Test Docker (And don't rely on DockerHub/credentials) by omad in https://github.com/opendatacube/datacube-core/pull/1711
* Improve automated release process with OIDC and uv by omad in https://github.com/opendatacube/datacube-core/pull/1713
* Prepare release notes for 1.9.1 release by omad in https://github.com/opendatacube/datacube-core/pull/1714
* Allow GHA to Authenticate with OIDC to PyPI by omad in https://github.com/opendatacube/datacube-core/pull/1715


**Full Changelog**: https://github.com/opendatacube/datacube-core/compare/1.9.0...1.9.1rc2

1.9.0

The last new major release of the Open Data Cube was v1.8.0 in May 2020, nearly 4 years ago.

ODC developers and the Steering Council have been working hard behind the scenes over the last couple of years
to address some of the accumulated technical debt in `datacube-core` and prepare for new major releases.

The long-term plan includes a number of significant backwards-incompatible changes. An effort has been made to
provide a smooth migration pathway wherever possible, with existing behaviour in 1.8.x versions being deprecated
in 1.9.x, with alternatives being provided, then removing the deprecated behaviour in 2.0.x with the alternative
approaches becoming the standard, but some minor backwards incompatible changes in 1.9.x were unavoidable.

This is the first release candidate for the 1.9.x release series. Please refer to the [Migration Notes](https://datacube-core.readthedocs.io/en/develop-1.9/MIGRATION-1.8-to-1.9.html) document before attempting to upgrade from a 1.8 series installation.

- Merge in 1.8.x branch changes. (1459, 1473, 1532, 1548, 1565)
- External Lineage API (1401)
- Add lineage support to index clone operation (1429)
- Migrate to SQLAlchemy 2.0 (1432)
- Clean up deprecated code and add deprecation warnings to legacy methods, simplify DocReader logic (1406)
- Mark geometry module as deprecated and replace all usage with odc-geo (1424)
- Mark GridSpec as deprecated, replace math and cog functions with odc-geo equivalents, enforce new odc-geo conventions (1441)
- Rename `gbox` to `geobox` in parameter names (1441)
- Remove executor API (1462)
- Remove ingestion methods, `GridWorkflow` and `Tile` classes (1465)
- Fix postgis queries for numeric custom search fields (1475)
- Document best practice for pulling in changes from develop and update constraints.txt (1478)
- Postgis index driver performance tuning (1480)
- Cleanup and formalise spatial index API and expose in CLI (1481)
- Increase minimum Python version to 3.10 (1509)
- Virtual product tests using odc-geo GridSpec (1512)
- New Configuration API, as per ODC-EP10 (1505)
- Alembic migrations for postgis driver (1520)
- EP08 lineage extensions/changes to datasets.get(). (1530)
- EP13 API changes to Index and IndexDriver. (1534)
- EP13 API changes to metadata and product resources. (1536)
- Phase 1 of EP13 API changes to dataset resource - get_unsafe, get_derived, temporal_extent. (1538)
- Add product argument to spatial_extent method, as per EP13. (1539)
- Index driver API type hint cleanup. (1541)
- Deprecate multiple locations. (1546)
- Deprecate search_eager and search_summaries and add `archived` arg to all dataset search/count methods. (1550)
- Migrate away from deprecated Python pkg_resources module (1558)
- Add `custom_offsets` and `order_by` arguments to search_retunrning() - order_by still unimplemented. (1557)
- Fix and enhance typehints, automated static type checking with mypy. (1562)
- Improve SQLAlchemy join hints, addressing an recurring but intermittent bug. (1564)
- Improve typehints and update docstrings in datacube/api/core.py (1567)
- Add migration notes, update documentation and whats_new.rst for 1.9.0-rc1 release (1569)

Includes contributions from SpacemanPaul and Ariana-B, with assistance from omad and robbibt

With thanks to the Open Data Cube Steering Council and all supporting organisations, especially Geoscience Australia.

1.9.0rc13

- Update and cross-reference 1.8 to 1.9 migration notes (1686)
- Fix SimpleDocNav lineage handling with PostGIS index (1687)
- Update whats_new.rst for 1.9.0-r13 pre-release (1689)

Includes contributions from SpacemanPaul and Ariana-B

1.9.0rc12

We are getting very close to a formal 1.9.0 release.

If you do NOT want to upgrade immediately upon the 1.9.0 release, you should pin `datacube<1.9` in your constraints and/or requirements files.

What's Changed

- Remove multiple location support from postgis driver and remove unnecessary logic copied from eodatasets3 (1658)
- Documentation fixes (1659)
- Don't use importlib_metadata (1657)
- Pin upstream libraries to get CI tests running with numpy2 (1661)
- Calculate spatial extent in epsg:4326 and reproject when no dedicated spatial extent for the requested CRS is available (1662)
- Fix broken alembic migration (1667)
- Fix broken documentation build (1668)
- Rename `DatasetType` to `Product` in all the tests (1671)
- Fix a bunch of typos and spelling mistakes (1672)
- Documentation updates for 1.9 release (1664, 1669)
- Fix metadata issues with new Lineage API. (1679)
- Suppress annoying config warning when configuring by environment variable (1680)
- Suppress internal deprecation warnings when running tests against deprecated code (1681)
- Split index.abstract module into a package (1682)
- Cherry picks from 1.8 and prepare for 1.9.0-rc12 release (1684)

Includes contributions from caitlinadams, alexgleith, pjonsson, omad, Ariana-B, whatnick and SpacemanPaul

Page 1 of 14

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.