Repository navigation
v1.0.0
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-toolstodcp-tools, the import path todcp_toolsand the CLI todcp-tools. The old distribution installsdcp-toolsand re-exports it with aDeprecationWarning. - Breaking: ingestion runs on the Data Commons Platform.
run_data_loadis nowrun_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
MCFprefix, andadd_sourceandadd_provenancetake separatedcidandnameparameters. - Breaking:
export_allwrites the complete bundle and empties the target directory first. - Minimum supported Python is 3.13.
Added
add_nodefor nodes of any type, andadd_mcf_fileto declare MCF files inconfig.json.- Source and Provenance nodes with licence, refresh and coverage metadata.
- Multi-entity observations through
custom:<name>dimensions. constraint_propertieson StatVars, and ingestion of selected imports.
Removed
- Breaking: the variable-per-column (implicit schema) input format, and the
redeploycommand.
What's Changed
- Fix IndexError in mcf_str / mcf_quoted_str on empty list by @jm-rivera in #97
- Add optional data-completeness validation to export_all by @jm-rivera in #98
- Remove deprecated implicit (schemaless) schema support by @jm-rivera in #99
- Rename package to dcp-tools and align packaging by @jm-rivera in #118
- fix(storage): make GCS storage layer importName-subdirectory aware by @jm-rivera in #114
- feat(custom_data): emit and round-trip importName in config.json by @jm-rivera in #116
- Fix columnMappings keys to dcid: predicate form (#102) by @tillywoodfield in #117
- feat(custom_data): emit MCF Source/Provenance nodes for DCP strict mode by @jm-rivera in #121
- feat(custom_data): support remaining config.json fields by @jm-rivera in #122
- feat(gcp_utilities)!: re-point load flow at DC prep job (#100) by @tillywoodfield in #123
- feat(custom_data): add typed MCF builders for schema nodes by @jm-rivera in #124
- Support custom dimensions and multi-entity observations by @tillywoodfield in #125
- refactor(custom_data)!: drop explicit/implicit schema naming by @jm-rivera in #129
- fix(custom_data): create parent dirs on export and mint dcid: on statvar refs by @jm-rivera in #130
- fix(custom_data): enforce the dcid: pattern on DcidOrListDcid fields by @jm-rivera in #132
- fix(custom_data)!: enforce dcid patterns on assignment and group refs by @jm-rivera in #133
- fix(custom_data)!: require the dcid: prefix on a Topic node id by @jm-rivera in #135
- docs: rewrite documentation for the DCP flow by @jm-rivera in #136
- Refactor Node models by @tillywoodfield in #144
- Refactor to use snake_case across the project by @tillywoodfield in #145
- Update
export_alldefault behaviour by @tillywoodfield in #146 - Update stale camelCase references in docs by @tillywoodfield in #147
- Split
add_source/add_provenanceintodcid,name,descriptionby @tillywoodfield in #148 - Rename
remove_indicatortoremove_variableby @tillywoodfield in #149 - chore(release): prepare 1.0.0a1 by @jm-rivera in #142
- Rename
ProvenanceNode.source_linktosourceby @tillywoodfield in #156 - Refactor goldens tests by @tillywoodfield in #157
- fix: allow consumers to declare MCF files in config.json by @tillywoodfield in #158
- feat: add
constraint_propertiestoStatVarNodeby @tillywoodfield in #159 - feat(gcp_utilities)!: add support for DCP 1.1.1's ingestion workflow by @tillywoodfield in #161
- chore(release): prepare 1.0.0a2 by @tillywoodfield in #162
- fix(settings): accept field names as well as env aliases in KGSettings by @jm-rivera in #163
- feat(custom_data): add CustomDataManager.add_node by @jm-rivera in #164
- chore(release): prepare 1.0.0a3 by @tillywoodfield in #165
- chore(deps): upgrade locked transitive dependencies by @tillywoodfield in #166
- fix(custom_data): warn instead of raise on unregistered source by @tillywoodfield in #167
- chore(release): prepare 1.0.0a4 by @tillywoodfield in #168
- feat(custom_data): update Source and Provenance license properties by @tillywoodfield in #170
- refactor(gcp_utilities)!: align ingestion naming with DCP terminology by @tillywoodfield in #171
- feat(custom_data)!: export_all clears output directory before writing by @tillywoodfield in #172
- chore(release): prepare 1.0.0a5 by @tillywoodfield in #173
- docs: add a description to every page's front matter by @jm-rivera in #174
- docs: correct export_all and sync behaviour by @jm-rivera in #179
- chore(release): prepare 1.0.0 by @tillywoodfield in #180
New Contributors
- @tillywoodfield made their first contribution in #117
Full Changelog: v0.1.1...v1.0.0