Hdmf

Latest version: v4.0.0

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

Scan your dependencies

Page 1 of 12

4.0.0

Breaking changes
- The following classes have been deprecated and removed: Array, AbstractSortedArray, SortedArray, LinSpace, Query, RegionSlicer, ListSlicer, H5RegionSlicer, DataRegion, RegionBuilder. The following methods have been deprecated and removed: fmt_docval_args, call_docval_func, get_container_cls, add_child, set_dataio (now refactored as set_data_io). We have also removed all early development for region references. mavaylon1, rly [1998](https://github.com/hdmf-dev/hdmf/pull/1198), [#1212](https://github.com/hdmf-dev/hdmf/pull/1212)
- Importing from `hdmf.build.map` is no longer supported. Import from `hdmf.build` instead. rly [1221](https://github.com/hdmf-dev/hdmf/pull/1221)
- Python 3.8 has reached end of life. Dropped support for Python 3.8 and add support for Python 3.13. mavaylon1 [1209](https://github.com/hdmf-dev/hdmf/pull/1209)
- Support for Zarr is limited to versions < 3. rly [1229](https://github.com/hdmf-dev/hdmf/pull/1229)
- Scipy is no longer a required dependency. Users using the `CSRMatrix` data type should install `scipy` separately or with `pip install "hdmf[sparse]"`. rly [1140](https://github.com/hdmf-dev/hdmf/pull/1140)

Changed
- Added checks to ensure that group and dataset spec names and default names do not contain slashes. bendichter [1219](https://github.com/hdmf-dev/hdmf/pull/1219)
- Updated copyright dates. rly [1230](https://github.com/hdmf-dev/hdmf/pull/1230)
- Created optional dependency groups in `pyproject.toml` and update GitHub Actions workflows to use those instead of requirements files. rly [1230](https://github.com/hdmf-dev/hdmf/pull/1230)
- Stopped using pinned dependencies in the docs and testing. These are not necessary for library testing, confuse new users and developers, and add maintenance burden. Current dependencies are stable enough that they need not be pinned and users can report the libraries they use. rly [1230](https://github.com/hdmf-dev/hdmf/pull/1230)
- Stopped redundant testing using a conda environment. rly [1230](https://github.com/hdmf-dev/hdmf/pull/1230)
- Adopted changelog format conventions: https://keepachangelog.com/en/1.1.0/ . rly [#1230](https://github.com/hdmf-dev/hdmf/pull/1230)

Added
- Added script to check Python version support for HDMF dependencies. rly [1230](https://github.com/hdmf-dev/hdmf/pull/1230)

Fixed
- Fixed issue with `DynamicTable.add_column` not allowing subclasses of `DynamicTableRegion` or `EnumData`. rly [1091](https://github.com/hdmf-dev/hdmf/pull/1091)

3.14.6

Enhancements
- Added support for expandable datasets of references for untyped and compound data types. stephprince [1188](https://github.com/hdmf-dev/hdmf/pull/1188)
- Improved html representation of data in `Container` objects. h-mayorquin [1100](https://github.com/hdmf-dev/hdmf/pull/1100)
- Added error when using colon for `Container` name. A colon cannot be used as a group name when writing to Zarr on Windows. stephprince [1202](https://github.com/hdmf-dev/hdmf/pull/1202)
- Adjusted testing for hdmf-zarr. rly [1222](https://github.com/hdmf-dev/hdmf/pull/1222)

Bug fixes
- Fixed inaccurate error message when validating reference data types. stephprince [1199](https://github.com/hdmf-dev/hdmf/pull/1199)
- Fixed incorrect dtype conversion of a StrDataset. stephprince [1205](https://github.com/hdmf-dev/hdmf/pull/1205)

3.14.5

Enhancements
- Added support for overriding backend configurations of `h5py.Dataset` objects in `Container.set_data_io`. pauladkisson [1172](https://github.com/hdmf-dev/hdmf/pull/1172)

Bug fixes
- Fixed bug in writing of string arrays to an HDF5 file that were read from an HDF5 file that was introduced in 3.14.4. rly stephprince
[1189](https://github.com/hdmf-dev/hdmf/pull/1189)
- Fixed export of scalar datasets with a compound data type. stephprince [1185](https://github.com/hdmf-dev/hdmf/pull/1185)
- Fixed mamba-related error in conda-based GitHub Actions. rly [1194](https://github.com/hdmf-dev/hdmf/pull/1194)

3.14.4

Enhancements
- Added support to append to a dataset of references for HDMF-Zarr. mavaylon1 [1157](https://github.com/hdmf-dev/hdmf/pull/1157)
- Adjusted stacklevel of warnings to point to user code when possible. rly [1166](https://github.com/hdmf-dev/hdmf/pull/1166)
- Improved "already exists" error message when adding a container to a `MultiContainerInterface`. rly [1165](https://github.com/hdmf-dev/hdmf/pull/1165)
- Added support to write multidimensional string arrays. stephprince [1173](https://github.com/hdmf-dev/hdmf/pull/1173)
- Add support for appending to a dataset of references. mavaylon1 [1135](https://github.com/hdmf-dev/hdmf/pull/1135)

Bug fixes
- Fixed issue where scalar datasets with a compound data type were being written as non-scalar datasets stephprince [1176](https://github.com/hdmf-dev/hdmf/pull/1176)
- Fixed H5DataIO not exposing `maxshape` on non-dci dsets. cboulay [1149](https://github.com/hdmf-dev/hdmf/pull/1149)
- Fixed generation of classes in an extension that contain attributes or datasets storing references to other types defined in the extension.
rly [1183](https://github.com/hdmf-dev/hdmf/pull/1183)

3.14.3

Enhancements
- Added new attribute "dimension_labels" on `DatasetBuilder` which specifies the names of the dimensions used in the
dataset based on the shape of the dataset data and the dimension names in the spec for the data type. This attribute
is available on build (during the write process), but not on read of a dataset from a file. rly [1081](https://github.com/hdmf-dev/hdmf/pull/1081)
- Speed up loading namespaces by skipping register_type when already registered. magland [1102](https://github.com/hdmf-dev/hdmf/pull/1102)
- Speed up namespace loading: return a shallow copy rather than a deep copy in build_const_args. magland [1103](https://github.com/hdmf-dev/hdmf/pull/1103)

3.14.2

Enhancements
- Warn when unexpected keys are present in specs. rly [1134](https://github.com/hdmf-dev/hdmf/pull/1134)
- Support appending to zarr arrays. mavaylon1 [1136](https://github.com/hdmf-dev/hdmf/pull/1136)
- Support specifying "value" key in DatasetSpec. rly [1143](https://github.com/hdmf-dev/hdmf/pull/1143)
- Add support for numpy 2. rly [1139](https://github.com/hdmf-dev/hdmf/pull/1139)

Bug fixes
- Fix iterator increment causing an extra +1 added after the end of completion. CodyCBakerPhD [1128](https://github.com/hdmf-dev/hdmf/pull/1128)

Page 1 of 12

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.