Skip to content

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 13 Oct 15:04
· 13 commits to main since this release
7439b73

First stable release of dcp-tools, the new name for bblocks-datacommons-tools. The API is unchanged since 1.0.0a5, and from this release on, breaking changes wait for a new major version.

Upgrading from bblocks-datacommons-tools 0.1.1? Follow the migration notes in the 1.0.0a1 to 1.0.0a5 entries of the changelog.

Highlights

Changed

  • Breaking: renamed the package from bblocks-datacommons-tools to dcp-tools, the import path to dcp_tools and the CLI to dcp-tools. The old distribution installs dcp-tools and re-exports it with a DeprecationWarning.
  • Breaking: ingestion runs on the Data Commons Platform. run_data_load is now run_ingestion_workflow, the ingestion settings are renamed, and the Cloud SQL and redeploy settings and commands are removed.
  • Breaking: the Python API is snake_case throughout, the node models drop their MCF prefix, and add_source and add_provenance take separate dcid and name parameters.
  • Breaking: export_all writes the complete bundle and empties the target directory first.
  • Minimum supported Python is 3.13.

Added

  • add_node for nodes of any type, and add_mcf_file to declare MCF files in config.json.
  • Source and Provenance nodes with licence, refresh and coverage metadata.
  • Multi-entity observations through custom:<name> dimensions.
  • constraint_properties on StatVars, and ingestion of selected imports.

Removed

  • Breaking: the variable-per-column (implicit schema) input format, and the redeploy command.

What's Changed

New Contributors

Full Changelog: v0.1.1...v1.0.0