Skip to content

v2.0.0

Compare
Choose a tag to compare
@loichuder loichuder released this 13 Feb 15:28
· 16 commits to main since this release

⚠️ Breaking changes

  • Now requires Python 3.8, h5py v3 and Pydantic v2 (for FastAPI) #82 #83
  • For all entities metadata, the type field is renamed to kind #85
  • For dataset and attribute metadata, the dtype field is replaced with a richer type field. #85
    • This type field is now an object that contains much more information about the type of the data.
      Ex: { dtype: '<f8' } becomes { type: {"class": 1, "dtype": "<f8", "size": 8, "order": 0}}
    • The old dtype field is still available in the type object (dtype field)
  • The new type field brings support for non-obvious data types: opaque, variable-length, enum, etc.

Thanks to @axelboc for this big work on their first contribution 🎉

Other changes

  • 🐛 Fix broken import of BaseSettings for pydantic v2 #82
  • ✨ Datasets containing (u)int64 are no longer cast as (u)int32 when requesting data with dtype=safe #87
  • ✨ The /paths endpoint now also includes links #88

Full Changelog: v1.3.0...v2.0.0