Releases: silx-kit/h5grove
Releases · silx-kit/h5grove
v2.3.0
v2.2.0
v2.1.0
What's Changed
- ✨ Allow requesting value of non-numeric dataset as binary with
format=bin
, notably opaque datasets #89 - 🐛 Fix serialization of
complex256
values to JSON #91 - ⚙️ Add
/
endpoint to FastAPI, Tornado and Flask routers, with support for bothGET
andHEAD
requests, to check server status #92
Full Changelog: v2.0.0...v2.1.0
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
v1.3.0
What's Changed
- Add a
/paths
endpoint that returns the list of all the entities contained in the group. By default, the group is root so that it returns the list of all entities paths in the file #76- This relies on a new util
get_list_of_paths
that can be used in custom backends.
- This relies on a new util
- Improve the error messages when query arguments are malformed/invalid (also return 422 instead of 500) #77
- Update the API doc to reflect these changes.
Full Changelog: v1.2.1...v1.3.0
v1.2.1
v1.2.0
What's Changed
Improved the handling of errors for backend utils and example implementations:
- Raise a 403 if a
PermissionError
is thrown when reading the HDF5 file #71 - Response on 404/403 errors is now consistent across backends (JSON payload:
{message: <error message>}
) #73
Full Changelog: v1.1.0...v1.2.0
v1.1.0
v1.0.0 🎉
What's changed
- ✨ Added a FastAPI implementation in
fastapi_utils
#67 #68 ( thanks @shabihsherjeel ! )⚠️ Breaking change:flaskutils
andtornadoutils
were renamed toflask_utils
andtornado_utils
- ✨ Added
dtype
argument toencode
and/data/
endpoint #65.dtype
can have two values:origin
(default): do not change the dtype of the returned datasafe
: convert the dtype of the returned data to a dtype supported by JS TypedArray (if possible)
⚠️ Breaking change: Previously, the default behaviour of/data
was to convert the dtype (safe
). Now, by default, the dtype is unchanged (origin
).
Full Changelog: v0.0.16...v1.0.0