Skip to content

Releases: dandi/dandi-cli

0.11.0

08 Mar 19:27
Compare
Choose a tag to compare

🚀 Enhancement

🐛 Bug Fix

  • Add dateModified to asset metadata #452 (@jwodder)
  • fix: change enum to const for single enums #449 (@satra)
  • Add --new-schema option to ls command for converting output #445 (@jwodder)
  • Eliminate check for session_start_time preceding date_of_birth #440 (@jwodder)
  • Eliminate DANDI_SCHEMA; add get_schema_version() #442 (@jwodder)
  • Discard empty "sex" and "species" fields on conversion #438 (@jwodder)
  • schema: minor spotted typo fixes #435 (@yarikoptic)
  • Retry requests on ConnectionErrors #437 (@jwodder)
  • Include HDMF version as well into the token #434 (@yarikoptic)
  • Error if sha256 digest is missing from asset being downloaded #428 (@jwodder)
  • Report dandi version in User-Agent header #424 (@jwodder)
  • Remove misleading log message about authenticating with new API #425 (@jwodder)
  • Distinguish between pre- and post-validation when uploading #420 (@jwodder)
  • Log failed HTTP connections; include PID and TID in logs; include asset path in upload log messages #418 (@jwodder)
  • Revert PR #409 (Content-MD5 header) #419 (@jwodder)
  • Set Content-MD5 header when uploading asset parts #409 (@jwodder)
  • upload(): Only yield first "validating" status to pyout #417 (@jwodder)
  • Add more logging when uploading & downloading #412 (@jwodder)
  • Sleep increasing amounts while waiting for uploaded assets to validate #408 (@jwodder)
  • Populate wasDerivedFrom #386 (@jwodder)
  • FIX: use authorized checkout for actions #403 (@satra)
  • enh: account for samples, sessions and participants #392 (@satra @jwodder @yarikoptic)
  • Disabling logging to stderr while using pyout #401 (@jwodder)
  • Cache file digests and check for change in digest when uploading #391 (@jwodder)
  • Make existing="refresh" a synonym for "overwrite" for new upload #390 (@jwodder)
  • RF/NF: Identifiable and BareAssetMeta to describe an asset anywhere #373 (@yarikoptic @jwodder)
  • Give known_urls human-readable display strings #384 (@jwodder)
  • Make dandi download -i <instance> run in a Dandiset download that Dandiset #383 (@jwodder)
  • Give validate command a --schema VERSION option for validating assets and dandiset.yaml #379 (@jwodder)
  • Support downloading folders and latest Dandiset version #377 (@jwodder @yarikoptic)
  • Add include_metadata=False parameter to asset-listing DandiAPIClient methods #378 (@jwodder @yarikoptic)
  • Discard invalid asset identifiers when extracting metadata #374 (@jwodder)
  • Handle uploading already-present files in new API #347 (@jwodder)
  • Adjust license metadata conversion #364 (@jwodder @yarikoptic)
  • Give AssetMeta and DandiMeta json_dict() methods for better dictification #346 (@jwodder)
  • BF: allow to handle an item with multiple files #342 (@yarikoptic)
  • ENH: devel upload dandiset metadata #341 (@yarikoptic)
  • Try self.listFile() again on ConnectionErrors #335 (@jwodder)
  • Add functions for validating metadata against JSON Schema and use in tests #338 (@jwodder)
  • Fix AttributeError: 'Resource' object has no attribute 'values' #336 (@jwodder)
  • [DATALAD RUNCMD] Swap order of str and AnyUrl to be from specific to generic #334 (@yarikoptic)
  • cleaning up biosample and participant #312 (@satra @jwodder)
  • Tee all logs to user log directory #318 (@jwodder)
  • Update for new AP...
Read more

0.10.0

08 Dec 22:37
Compare
Choose a tag to compare

🚀 Enhancement

🐛 Bug Fix

  • Autogenerate schema element titles #304 (@jwodder)
  • Compare uploaded file size against what download headers report #306 (@jwodder)
  • fix: rat to common lab rat #307 (@satra)

Authors: 3

0.9.0

04 Dec 15:26
Compare
Choose a tag to compare

🚀 Enhancement

🐛 Bug Fix

🏠 Internal

Authors: 6

0.8.0

01 Dec 15:09
Compare
Choose a tag to compare

🚀 Enhancement

  • Add rudimentary duecredit support using zenodo's dandi-cli DOI #285 (@yarikoptic)

🐛 Bug Fix

🏠 Internal

Authors: 3

0.7.2

19 Nov 19:32
Compare
Choose a tag to compare

🐛 Bug Fix

🏠 Internal

  • Add healthchecks for the Postgres and minio Docker containers #272 (@jwodder)

Authors: 1

0.7.1

05 Nov 22:24
Compare
Choose a tag to compare

🐛 Bug Fix

  • Use oldest file when race condition causes multiple files per item #265 (@jwodder)

🏠 Internal

  • Set up workflow with auto for releasing & PyPI uploads #257 (@jwodder)

📝 Documentation

Authors: 1

[0.7.0] - 2020-11-04

04 Nov 16:29
0.7.0
f424a31
Compare
Choose a tag to compare

Added

  • Files are now stored in temporary directories while downloading alongside metadata for use in resuming interrupted downloads

Changed

  • Moved code for navigating Dandi Archive into new dandiarchive submodule
  • YAML output now sorts keys
  • dandiset.yaml is no longer uploaded to the archive
  • Restrict h5py dependency to pre-v3.0

[0.6.4] - 2020-09-04

04 Sep 14:35
0.6.4
Compare
Choose a tag to compare
Primarily a range of bugfixes to ensure correct operation with current state
of other components of DANDI, and use of the client on Windows OS.

Added
- Initial DANDI schema files
- More tests for various code paths
- `download`: new option `--download [assets,dandiset.yaml,all]`

Fixed
- `download` - account for changes in DANDI API (relevant only for released
  datasets, of which we do not have any "real" ones yet)
- `upload` - various Windows specific fixes

Note: [0.6.3] was released under missing some of the fixes, so overall
abandoned.

[0.6.2] - 2020-08-19

02 Sep 22:05
0.6.2
Compare
Choose a tag to compare
Fixed
- `organize` treatment of paths on window (gh-204)

[0.6.1] - 2020-08-18

19 Aug 00:45
0.6.1
Compare
Choose a tag to compare
Changed

- CLI modules RF to avoid circular imports
- `pytest` default traceback style is short and shows 10 slowest tsts

Fixed

- `download` of draft datasets from Windows (gh-202)
- `upload` and other tests to account for new web UI