Skip to content

Releases: SciCatProject/pyscicat

v0.4.8

29 May 00:34
2295a4d

Choose a tag to compare

What's Changed

Full Changelog: v0.4.7...v0.4.8

v0.4.7

09 May 16:55
a0e6550

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.4.6...v0.4.7

v0.4.6

01 May 00:55

Choose a tag to compare

Fix build.

v0.4.5

01 May 00:40
b7389b4

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.4.4...v0.4.5

v0.4.4

16 Oct 18:36
8ff172b

Choose a tag to compare

What's Changed

Full Changelog: v0.4.3...v0.4.4

Fixes for New Backend

03 Oct 16:46
67b0556

Choose a tag to compare

What's Changed

Full Changelog: v0.4.2...v0.4.3

Several issues were discovered in ingesting datasets to the new backend:

  • The new backend provides a more consistent usage of 404 return codes than the old backend did. In the new backend, 404 seems to only be returned when the path to and endpoint is not found. The old backend sometimes returned 404 when requests did not bring back content, and there was some code to deal with that discrepency, which has been removed.
  • There is a breaking API change in this version related to creating OrigDataBlock. The signature has changed, and a new model object has been introduced:

The OLD way to upload an `OrigDataBlock':

 # Datablock with DataFiles
data_file = DataFile(path="/foo/bar", size=42)
data_block = Datablock(
       size=42,
       version=1,
       datasetId=dataset_id,
       dataFileList=[data_file],
        **ownable.dict()
   )
scicat.upload_dataset_origdatablock(data_block)

The NEW way:

 # Datablock with DataFiles
 data_file = DataFile(path="/foo/bar", size=42)
 data_block_dto = CreateDatasetOrigDatablockDto(
       size=42,
       datasetId=dataset_id,
        dataFileList=[data_file],
  )
  scicat.upload_dataset_origdatablock(dataset_id, data_block_dto)

This change was necessary for uploading OrigDataBlock because the new backend introduces the CreateDatasetOrigDatablockDto model object, which has fewer fields then the old backends OrigDatablock model, and validation rejects the old mechanism.

Fix for pydantic 2 optional fields issue

02 Aug 18:30
f321072

Choose a tag to compare

What's Changed

  • Support newer versions of pydantic by @eilmiv in #46

Full Changelog: v0.4.1...v0.4.2

v0.2.6

05 Feb 19:49
03e0628

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.2.5...v0.2.6

v0.2.5

11 Nov 15:14
98fa114

Choose a tag to compare

What's Changed

Full Changelog: v0.2.3...v0.2.5

v0.2.4

08 Nov 13:18

Choose a tag to compare

Release of the code as it is on 2022/11/08

What's Changed

New Contributors

Full Changelog: v0.2.2...v0.2.4