Skip to content

Releases: opendatacube/datacube-core

Open Data Cube 1.9.13

14 Jan 01:16
e93f498

Choose a tag to compare

This release adds support for custom fuse functions in driver based loads.

Custom fuse functions can be set as importable strings (fully qualified Python names).
This is required for driver based loads and will be enforced for legacy loads in a future
release.

E.g.:

   dc.load(..., fuse_func="my_module.my_fuser")

is required for driver-based loads and is now preferred for legacy loads over::

   from my_module import my_fuser
   dc.load(..., fuse_func=my_fuser)

Please start to update your code and notebooks accordingly.

Notable Changes

  • Support for custom fuse functions in driver based loads.
  • Compatibility with recent releases of GDAL and rasterio.

What's Changed

Automated updates

  • build(deps): bump the actions-deps group with 2 updates by @dependabot[bot] in #2304
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #2303
  • build(deps): bump the actions-deps group with 3 updates by @dependabot[bot] in #2311
  • build(deps): bump astral-sh/uv from 0.9.18 to 0.9.20 in /docker by @dependabot[bot] in #2312
  • build(deps): bump astral-sh/uv from 0.9.20 to 0.9.21 in /docker by @dependabot[bot] in #2313
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #2314
  • build(deps): bump astral-sh/uv from 0.9.21 to 0.9.22 in /docker by @dependabot[bot] in #2315
  • build(deps): bump osgeo/gdal from ubuntu-full-3.10.3 to ubuntu-full-3.12.1 in /docker by @dependabot[bot] in #2301
  • build(deps): bump astral-sh/uv from 0.9.22 to 0.9.24 in /docker by @dependabot[bot] in #2319
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #2320
  • build(deps): bump astral-sh/uv from 0.9.24 to 0.9.25 in /docker in #2322

Full Changelog: 1.9.12...1.9.13

The Open Data Cube Steering Council thanks and acknowledges the ongoing support of Geoscience Australia, CSIRO, and RISE.

Open Data Cube 1.9.12

22 Dec 01:53
9ccc81b

Choose a tag to compare

Notable Changes

  • Support for direct indexing of STAC items with ``datacube dataset add`. STAC documents are converted to EO3
    before being indexed.
  • The previous release (1.9.11) included a database schema upgrade for the postgis index driver and refused to operate
    if the upgrade was not applied. This was unnecessarily strict and caused deployment issues in complicated
    environments. v1.9.12 works with databases both with and without the upgrade. (The upgrade is now treated as
    recommended, not required, and can safely be held back until only core versions >=1.9.12 are deployed.
  • v1.9.12 works with odc-loader >=0.6.0, which included an internal API change.
  • Multi-polygon extent geometries in EO3 documents are now supported.
  • Better error reporting and less confusing and fewer unnecessary warning messages.

What's Changed

Automated updates

  • build(deps): bump astral-sh/uv from 0.9.14 to 0.9.15 in /docker by @dependabot[bot] in #2280
  • build(deps): bump astral-sh/uv from 0.9.15 to 0.9.16 in /docker by @dependabot[bot] in #2286
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #2287
  • build(deps): bump astral-sh/uv from 0.9.16 to 0.9.17 in /docker by @dependabot[bot] in #2290
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #2293
  • build(deps): bump actions/checkout from 6.0.0 to 6.0.1 in the actions-deps group by @dependabot[bot] in #2294
  • build(deps): bump astral-sh/uv from 0.9.17 to 0.9.18 in /docker by @dependabot[bot] in #2295

Full Changelog: 1.9.11...1.9.12

The Open Data Cube Steering Council thanks and acknowledges the ongoing support of Geoscience Australia, CSIRO, and RISE.

1.9.11

03 Dec 09:08
0d80169

Choose a tag to compare

Includes:

  • cleanup of database schema and permissions management, especially in postgis driver (See Schema Update section below) (@SpacemanPaul)
  • support for upgrading some (most?) EO datasets to EO3 (@Ariana-B)
  • support for relative paths in STAC catalogs (@pjonsson)
  • and the usual minor tweaks, (@pjonsson, @snowman2, and @omad)

Schema Update

Users of the postgis index driver will need to upgrade their database schema on upgrade to 1.9.11

This will require an ODC environment with database superuser privileges. E.g.::

   export ODC_DEFAULT_DB_URL=postgresql://postgres:/my_db
   export ODC_DEFAULT_INDEX_DRIVER=postgis
   datacube system init
   unset ODC_DEFAULT_DB_URL ODC_DEFAULT_DB_URL

This schema migration doesn't change any tables - it simply sets the owner of all dynamically
created index tables to the odc_admin role.

After this schema migration is applied, all future schema management will require only the odc_admin role,
and superuser privileges will only be required to create the postgis extension when first creating a database
index.

What's Changed

Automated updates

  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #2221
  • build(deps): bump astral-sh/uv from 0.9.4 to 0.9.5 in /docker by @dependabot[bot] in #2218
  • build(deps): bump the actions-deps group with 2 updates by @dependabot[bot] in #2223
  • build(deps): bump astral-sh/uv from 0.9.5 to 0.9.6 in /docker by @dependabot[bot] in #2229
  • build(deps): bump astral-sh/uv from 0.9.6 to 0.9.7 in /docker by @dependabot[bot] in #2233
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #2239
  • build(deps): bump github/codeql-action from 4.31.0 to 4.31.2 in the actions-deps group by @dependabot[bot] in #2240
  • build(deps): bump astral-sh/uv from 0.9.7 to 0.9.8 in /docker by @dependabot[bot] in #2249
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #2251
  • build(deps): bump astral-sh/setup-uv from 7.1.2 to 7.1.3 in the actions-deps group by @dependabot[bot] in #2252
  • build(deps): bump astral-sh/uv from 0.9.8 to 0.9.9 in /docker by @dependabot[bot] in #2256
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #2259
  • build(deps): bump the actions-deps group with 2 updates by @dependabot[bot] in #2260
  • build(deps): bump astral-sh/uv from 0.9.9 to 0.9.10 in /docker by @dependabot[bot] in #2261
  • build(deps): bump astral-sh/uv from 0.9.10 to 0.9.11 in /docker by @dependabot[bot] in #2263
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #2269
  • build(deps): bump the actions-deps group with 3 updates by @dependabot[bot] in #2270
  • build(deps): bump astral-sh/uv from 0.9.11 to 0.9.12 in /docker by @dependabot[bot] in #2271
  • build(deps): bump astral-sh/uv from 0.9.12 to 0.9.13 in /docker by @dependabot[bot] in #2272
  • [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci[bot] in #2274
  • build(deps): bump github/codeql-action from 4.31.5 to 4.31.6 in the actions-deps group by @dependabot[bot] in #2275
  • build(deps): bump astral-sh/uv from 0.9.13 to 0.9.14 in /docker by @dependabot[bot] in #2276

Full Changelog: 1.9.10...1.9.11

The Open Data Cube Steering Council thanks and acknowledges the ongoing support of Geoscience Australia, CSIRO, and RISE.

1.9.10

21 Oct 04:35
13a5103

Choose a tag to compare

This release fixes issues with the load function and resolves an incompatibility with odc-geo reprojection. It also introduces initial psycopg3 support, migrates some functionality from odc-tools, and includes cleanup to code, tests, docs, and CI setup.

What's Changed

Automated Updates

Autoupdates #2161, #2162, #2163, #2171, #2173, #2182, #2181, #2197, #2198, #2203, #2204, #2209, #2210, #2214, #2215, #2213

Full Changelog: 1.9.9...1.9.10

Includes contributions from @pjonsson, @omad, and @Ariana-B

The Open Data Cube Steering Council thanks and acknowledges the ongoing support of Geoscience Australia, CSIRO, and RISE.

Open Data Cube 1.9.9

02 Sep 07:56
07e4375

Choose a tag to compare

This release includes more fixes and improvements to STAC/EO3 conversion, documentation updates, and various code, testing, and CI cleanup.

What's Changed

Automated Updates

Full Changelog: 1.9.8...1.9.9

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

The Open Data Cube Steering Council thanks and acknowledges the ongoing support of Geoscience Australia, CSIRO, and RISE.

Open Data Cube 1.9.8

22 Aug 01:28

Choose a tag to compare

This release improves upon the STAC to EO3 conversion logic, and moves EO3 to STAC conversion code out of eo-datasets into datacube-core as the next step in the ongoing cross-repo consolidation and refactor of STAC handling logic.

It also contains some code improvements and cleanup.

What's Changed

Automated updates

Full Changelog: 1.9.7...1.9.8

Includes contributions from @SpacemanPaul, @pjonsson, and @Ariana-B

The Open Data Cube Steering Council thanks and acknowledges the ongoing support of Geoscience Australia and RISE.

Open Data Cube release 1.9.7

05 Aug 03:34

Choose a tag to compare

This release includes a fix for a critical bug affecting dask loading and the postgis index driver.

What's Changed

Full Changelog: 1.9.6...1.9.7

Includes contributions from @pjonsson, @SpacemanPaul, @emmaai and @Ariana-B

The Open Data Cube Steering Council thanks and acknowledges the ongoing support of Geoscience Australia and RISE.

Open Data Cube 1.9.6

11 Jul 01:43

Choose a tag to compare

This release brings odc-stac in as a direct dependency of datacube-core and moves some STAC to EO3
conversion code out of odc-stac into core as the first step in an organisation-wide cross-repo consolidation and
refactor of STAC handling code and in preparation for more native suppport of STAC metadata within core.

It also contains some enhancements to CLI commands, bugfixes and cleanup.

What's Changed

Full Changelog: 1.9.5...1.9.6

Includes contributions from @pjonsson, @Ariana-B, @omad, and @SpacemanPaul.

The Open Data Cube Steering Council thanks and acknowledges the ongoing support of
Geoscience Australia, CSIRO and RISE.

Open Data Cube 1.9.5

17 Jun 02:12
8389498

Choose a tag to compare

This release introduces support for boolean type search fields, as well as a handful of bug-fixes.

What's Changed

New feature:

  • Add boolean field definition (addressing issue #1937) #1949

Bug fixes:

  • Export grid workflow classes from datacube.api fixing issue #1953 #1958
  • archive-less-mature runs when re-indexing datasets (fixing issue #1917) #1948
  • Serialise Measurement with canonical name (fixing issue #1936) #1962

Docker image improvements:

  • Dockerfile: switch to ubuntu user #1964
  • Dockerfile: let rasterio detect data path #1966

Miscellaneous code cleanup and CI improvements:

  • model: handle integer resolution #1967
  • Remove types-redis dependency #1965
  • index: add return types #1939
  • Update dependencies #1925
  • Run Ruff format on all code #1926, #1927
  • Group all dependabot updates in the 'uv' ecosystem. #1928, #1934
  • Move deprecated imports #1938
  • Remove empty doc strings #1946
  • index: fix search_by_product type #1944
  • Put coverage config in pyproject #1942
  • Fix alembic deprecation warning #1941
  • Convert doc strings to type annotations #1940, #1950, #1951
  • Convert doc strings to type annotations #1940
  • Document alembic upgrades #1955
  • postgis: stop parsing table names #1961
  • postgis: fix alembic metadata object #1960
  • increment fallback version and finalise release notes #1970

Automated updates

Includes contributions from @pjonsson, @omad, @emmaai, @Ariana-B and @SpacemanPaul, with thanks to
supporting organisations CSIRO, RISE and Geoscience Australia.

Full Changelog: 1.9.4...1.9.5

v1.9.4 (20 May 2025)

20 May 05:49

Choose a tag to compare

Improvements

Bring back GridWorkflow

GridWorkflow is back! It was accidentally removed with the deprecated ingestion tools as part of the ODC 1.9 release, since it’s no longer needed internally. It is however an extremely useful public API for anyone running large scale data summaries and is used by ODC Statistician.

GridWorkflow has been updated to use the odc-geo geometry classes.

See: issue 1749 and PR 1760

Fixed Dask load crash in some cases

There was a regression in data loading with dask in Datacube 1.9. It only occurred in rare cases so only affected some people.

The load failed whenever there were completely empty data chunks, which are rectangular in shape. That is, X != Y.

See PR 1780 and issue 1779 for details.

Cleaning and Tidying

Massive cleaning effort across the codebase, spearheaded by @pjonsson, with a focus on:

Improvements in type annotations

Linting fixes

Code formatting and import ordering

Continuous integration improvements

See the ODC Docs Whats New page for more details.

Other Changes

Read more