pyDataverse v0.3.4
We are excited to announce the release of pyDataverse version 0.3.4! This update brings important fixes and new features, aimed at enhancing functionality and security for users.
Key Updates:
-
Bug Fix: We have addressed an issue related to the
replace_datafile
functionality, where metadata passed was not being updated correctly. This bug was initially reported in the datalad-dataverse GitHub repository. The issue has now been resolved, ensuring smoother file replacements with accurate metadata updates. -
New Authentication Feature: A special thanks to @shoeffner for contributing a base implementation of the
httpx
-based authentication. This update transitions the existing API-Token authentication flow into a more secure variant. It strengthens the overall authentication process, making it safer for users. -
Future Authentication Support: In addition to improving current security, the new authentication framework opens the door to future enhancements. pyDataverse is now well-positioned to support other authentication protocols such as OpenID Connect (OIDC) and SAML, which will be introduced in upcoming releases.
In the following, find a complete list of merged pull requests:
What's Changed
- fix calendar link in README by @pdurbin in #190
- Fix handling of empty metadata when uploading data files by @shoeffner in #207
- Run pre-commit run --all by @shoeffner in #196
- Update Docs Occurrences of requests.Response by @shoeffner in #199
- Update tox.ini and pyproject.toml by @shoeffner in #205
- Update DV_VERSION to 6.3 by @shoeffner in #197
- doc(
replace_datafile
): clarify and correct parameter description by @mih in #202 - Update contrib guide by @shoeffner in #206
- Fix
jsonData
not passed correctly by @JR-1991 in #203 - Rework auth/api_token parameters by @shoeffner in #201
- Remove trailing slash of
base_url
uponApi
initialization by @JR-1991 in #214 - Fix
get_datasets_by_data_location
docstring displaying wrongGET
url by @JR-1991 in #212
New Contributors
- @shoeffner made their first contribution in #207
- @mih made their first contribution in #202
Full Changelog: v0.3.3...v0.3.4