Skip to content

Release v1.2.0

Latest
Compare
Choose a tag to compare
@FjodorvRijsselberg FjodorvRijsselberg released this 28 Nov 13:22
· 11 commits to main since this release
0a4293a

What's new

This major version update introduces the addition of mapping the source fields to fields in the top hierarchical level of the dataverse metadata. In the past it was only possible to map to the metadata blocks in the datasetVersion dictionary in the dataverse template. Now it is possible to map to all fields. This addition also allows for mapping of the persistent identifier, making the older specific implementation for this mapping redundant. Therefore this implementation has been removed from the mapper.

The mapper now also has a submodule to all active mappings and templates. This is not only to always stay up-to-date and consistent with the workflow orchestrator, but also to allow for additional endpoints in future versions. These endpoints would implement existing mappings and templates, allowing the user to forgo having to send them along with their request.

Finally, the mapper now has a method to clean the template after the mapping is complete. This removes any fields which have a value of either empty string or empty list. This way there are no unexpected interactions when ingesting empty fields in to a dataverse instance.

In short

  • Mapping to all fields in dataverse template is now possible.
  • In use templates and mappings are pulled in by using a submodule.
  • Added a template cleaner method that removes all empty fields.
  • Bumped all package versions.

Full Changelog: v1.1.1...v1.2.0