H5grove

Latest version: v2.2.0

Safety actively analyzes 625148 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

2.2.0

What's Changed

* :sparkles: Add `strpad` to string dtype metadata https://github.com/silx-kit/h5grove/pull/93

**Full Changelog**: https://github.com/silx-kit/h5grove/compare/v2.1.0...v2.2.0

2.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 both `GET` and `HEAD` requests, to check server status 92

**Full Changelog**: https://github.com/silx-kit/h5grove/compare/v2.0.0...v2.1.0

2.0.0

:warning: 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 :tada:

Other changes
* :bug: Fix broken import of BaseSettings for pydantic v2 https://github.com/silx-kit/h5grove/pull/82
* :sparkles: Datasets containing (u)int64 are no longer cast as (u)int32 when requesting data with `dtype=safe` https://github.com/silx-kit/h5grove/pull/87
* :sparkles: The `/paths` endpoint now also includes links https://github.com/silx-kit/h5grove/pull/88

**Full Changelog**: https://github.com/silx-kit/h5grove/compare/v1.3.0...v2.0.0

1.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.
* Improve the error messages when query arguments are malformed/invalid (also return 422 instead of 500) https://github.com/silx-kit/h5grove/pull/77
* Update the [API doc](https://silx-kit.github.io/h5grove/api.html) to reflect these changes.

**Full Changelog**: https://github.com/silx-kit/h5grove/compare/v1.2.1...v1.3.0

1.2.1

What's Changed

H5Grove now explicitly supports **h5py >= 2.9**.

* :bug: Fix attribute and error handling for h5py 2.9 75
* :bug: Fix typing of `path` in `get_content_from_file`

**Full Changelog**: https://github.com/silx-kit/h5grove/compare/v1.2.0...v1.2.1

1.2.0

What's Changed
:warning: **Dropped support for Python 3.6. Python 3.7 is now the minimal supported version.**

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**: https://github.com/silx-kit/h5grove/compare/v1.1.0...v1.2.0

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.