v2.0.0
⚠️ 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 tokind
#85 - For dataset and attribute metadata, the
dtype
field is replaced with a richertype
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 thetype
object (dtype
field)
- This
- 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