Debian Codegraph @

CHANGELOG.md

raw
1 # HDMF Changelog
2
3 ## HDMF 3.14.5 (October 6, 2024)
4
5 ### Enhancements
6 - 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)
7
8 ### Bug fixes
9 - 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
10 [#1189](https://github.com/hdmf-dev/hdmf/pull/1189)
11 - Fixed export of scalar datasets with a compound data type. @stephprince [#1185](https://github.com/hdmf-dev/hdmf/pull/1185)
12 - Fixed mamba-related error in conda-based GitHub Actions. @rly [#1194](https://github.com/hdmf-dev/hdmf/pull/1194)
13
14 ## HDMF 3.14.4 (September 4, 2024)
15
16 ### Enhancements
17 - Added support to append to a dataset of references for HDMF-Zarr. @mavaylon1 [#1157](https://github.com/hdmf-dev/hdmf/pull/1157)
18 - Adjusted stacklevel of warnings to point to user code when possible. @rly [#1166](https://github.com/hdmf-dev/hdmf/pull/1166)
19 - Improved "already exists" error message when adding a container to a `MultiContainerInterface`. @rly [#1165](https://github.com/hdmf-dev/hdmf/pull/1165)
20 - Added support to write multidimensional string arrays. @stephprince [#1173](https://github.com/hdmf-dev/hdmf/pull/1173)
21 - Add support for appending to a dataset of references. @mavaylon1 [#1135](https://github.com/hdmf-dev/hdmf/pull/1135)
22
23 ### Bug fixes
24 - 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)
25 - Fixed H5DataIO not exposing `maxshape` on non-dci dsets. @cboulay [#1149](https://github.com/hdmf-dev/hdmf/pull/1149)
26 - Fixed generation of classes in an extension that contain attributes or datasets storing references to other types defined in the extension.
27 @rly [#1183](https://github.com/hdmf-dev/hdmf/pull/1183)
28
29 ## HDMF 3.14.3 (July 29, 2024)
30
31 ### Enhancements
32 - Added new attribute "dimension_labels" on `DatasetBuilder` which specifies the names of the dimensions used in the
33 dataset based on the shape of the dataset data and the dimension names in the spec for the data type. This attribute
34 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)
35 - Speed up loading namespaces by skipping register_type when already registered. @magland [#1102](https://github.com/hdmf-dev/hdmf/pull/1102)
36 - 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)
37
38 ## HDMF 3.14.2 (July 7, 2024)
39
40 ### Enhancements
41 - Warn when unexpected keys are present in specs. @rly [#1134](https://github.com/hdmf-dev/hdmf/pull/1134)
42 - Support appending to zarr arrays. @mavaylon1 [#1136](https://github.com/hdmf-dev/hdmf/pull/1136)
43 - Support specifying "value" key in DatasetSpec. @rly [#1143](https://github.com/hdmf-dev/hdmf/pull/1143)
44 - Add support for numpy 2. @rly [#1139](https://github.com/hdmf-dev/hdmf/pull/1139)
45
46 ### Bug fixes
47 - Fix iterator increment causing an extra +1 added after the end of completion. @CodyCBakerPhD [#1128](https://github.com/hdmf-dev/hdmf/pull/1128)
48
49 ## HDMF 3.14.1 (June 6, 2024)
50
51 ### Bug fixes
52 - Excluded unnecessary artifacts from sdist and wheel. @rly [#1119](https://github.com/hdmf-dev/hdmf/pull/1119)
53 - Fixed issue with resolving attribute specs that have the same name at different levels of a spec hierarchy.
54 @rly [#1122](https://github.com/hdmf-dev/hdmf/pull/1122)
55
56 ## HDMF 3.14.0 (May 20, 2024)
57
58 ### Enhancements
59 - Updated `_field_config` to take `type_map` as an argument for APIs. @mavaylon1 [#1094](https://github.com/hdmf-dev/hdmf/pull/1094)
60 - Added `TypeConfigurator` to automatically wrap fields with `TermSetWrapper` according to a configuration file. @mavaylon1 [#1016](https://github.com/hdmf-dev/hdmf/pull/1016)
61 - Updated `TermSetWrapper` to support validating a single field within a compound array. @mavaylon1 [#1061](https://github.com/hdmf-dev/hdmf/pull/1061)
62 - Updated testing to not install in editable mode and not run `coverage` by default. @rly [#1107](https://github.com/hdmf-dev/hdmf/pull/1107)
63 - Add `post_init_method` parameter when generating classes to perform post-init functionality, i.e., validation. @mavaylon1 [#1089](https://github.com/hdmf-dev/hdmf/pull/1089)
64 - Exposed `aws_region` to `HDF5IO` and downstream passes to `h5py.File`. @codycbakerphd [#1040](https://github.com/hdmf-dev/hdmf/pull/1040)
65 - Exposed `progress_bar_class` to the `GenericDataChunkIterator` for more custom control over display of progress while iterating. @codycbakerphd [#1110](https://github.com/hdmf-dev/hdmf/pull/1110)
66 - Updated loading, unloading, and getting the `TypeConfigurator` to support a `TypeMap` parameter. @mavaylon1 [#1117](https://github.com/hdmf-dev/hdmf/pull/1117)
67
68 ### Bug Fixes
69 - Fixed `TermSetWrapper` warning raised during the setters. @mavaylon1 [#1116](https://github.com/hdmf-dev/hdmf/pull/1116)
70
71 ## HDMF 3.13.0 (March 20, 2024)
72
73 ### Enhancements
74 - Unwrap `TermSetWrapper` within the builder to support different backends more efficiently. @mavaylon1 [#1070](https://github.com/hdmf-dev/hdmf/pull/1070)
75 - Added docs page that lists limitations of support for the HDMF specification language. @rly [#1069](https://github.com/hdmf-dev/hdmf/pull/1069)
76 - Added warning when using `add_row` or `add_column` to add a ragged array to `DynamicTable` without an index parameter. @stephprince [#1066](https://github.com/hdmf-dev/hdmf/pull/1066)
77
78 ## HDMF 3.12.2 (February 9, 2024)
79
80 ### Bug fixes
81 - Fixed recursion error in html representation generation in jupyter notebooks. @stephprince [#1038](https://github.com/hdmf-dev/hdmf/pull/1038)
82
83 ## HDMF 3.12.1 (February 5, 2024)
84
85 ### Bug fixes
86 - Fixed retrieving the correct path for a `HERD` zip file on read. [#1046](https://github.com/hdmf-dev/hdmf/pull/1046)
87 - Fixed internal links in docstrings and tutorials. @stephprince [#1031](https://github.com/hdmf-dev/hdmf/pull/1031)
88 - Fixed issue with creating documentation links to classes in docval arguments. @rly [#1036](https://github.com/hdmf-dev/hdmf/pull/1036)
89 - Fixed issue with validator not validating against the spec that defines the data type of the builder. @rly [#1050](https://github.com/hdmf-dev/hdmf/pull/1050)
90
91 ## HDMF 3.12.0 (January 16, 2024)
92
93 ### Enhancements
94 - Add Data.set_data_io(), which allows for setting a `DataIO` to a data object after-the-fact. @bendichter and @CodyCBakerPhD [#1013](https://github.com/hdmf-dev/hdmf/pull/1013)
95 - Added `add_ref_termset`, updated helper methods for `HERD`, revised `add_ref` to support validations prior to populating the tables
96 and added `add_ref_container`. @mavaylon1 [#968](https://github.com/hdmf-dev/hdmf/pull/968)
97 - Use `stacklevel` in most warnings. @rly [#1027](https://github.com/hdmf-dev/hdmf/pull/1027)
98 - Fixed broken links in documentation and added internal link checking to workflows. @stephprince [#1031](https://github.com/hdmf-dev/hdmf/pull/1031)
99
100 ### Minor Improvements
101 - Updated `__gather_columns` to ignore the order of bases when generating columns from the super class. @mavaylon1 [#991](https://github.com/hdmf-dev/hdmf/pull/991)
102 - Update `get_key` to return all the keys if there are multiple within a `HERD` instance. @mavaylon1 [#999](https://github.com/hdmf-dev/hdmf/pull/999)
103 - Improve HTML rendering of tables. @bendichter [#998](https://github.com/hdmf-dev/hdmf/pull/998)
104 - Improved issue and PR templates. @rly [#1004](https://github.com/hdmf-dev/hdmf/pull/1004)
105 - Added check during validation for if a variable length dataset is empty. @bendichter, @oruebel [#789](https://github.com/hdmf-dev/hdmf/pull/789)
106
107 ### Bug fixes
108 - Fixed issue with custom class generation when a spec has a `name`. @rly [#1006](https://github.com/hdmf-dev/hdmf/pull/1006)
109 - Fixed issue with usage of deprecated `ruamel.yaml.safe_load` in `src/hdmf/testing/validate_spec.py`. @rly [#1008](https://github.com/hdmf-dev/hdmf/pull/1008)
110 - Fixed issue where `ElementIdentifiers` data could be set to non-integer values. @rly [#1009](https://github.com/hdmf-dev/hdmf/pull/1009)
111 - Fixed issue where string datasets/attributes with isodatetime-formatted values failed validation against a text spec. @rly [#1026](https://github.com/hdmf-dev/hdmf/pull/1026)
112
113 ## HDMF 3.11.0 (October 30, 2023)
114
115 ### Enhancements
116 - Added `target_tables` attribute to `DynamicTable` to allow users to specify the target table of any predefined
117 `DynamicTableRegion` columns of a `DynamicTable` subclass. @rly [#971](https://github.com/hdmf-dev/hdmf/pull/971)
118 - Updated `TermSet` to include `_repr_html_` for easy to read notebook representation. @mavaylon1 [#967](https://github.com/hdmf-dev/hdmf/pull/967)
119
120 ### Minor improvements
121 - Set up GitHub dependabot to check for updates to GitHub Actions. @rly [#977](https://github.com/hdmf-dev/hdmf/pull/977)
122 - Simplify tox configuration. @rly [#988](https://github.com/hdmf-dev/hdmf/pull/988)
123 - Add testing for Python 3.12. @rly [#988](https://github.com/hdmf-dev/hdmf/pull/988)
124
125 ### Bug fixes
126 - Updated custom class generation to handle specs with fixed values and required names. @rly [#800](https://github.com/hdmf-dev/hdmf/pull/800)
127 - Fixed custom class generation of `DynamicTable` subtypes to set attributes corresponding to column names for correct write. @rly [#800](https://github.com/hdmf-dev/hdmf/pull/800)
128 - Added a `.mailmap` file to correct mapping of names/emails in git logs. @oruebel [#976](https://github.com/hdmf-dev/hdmf/pull/976)
129
130 ## HDMF 3.10.0 (October 3, 2023)
131
132 Since version 3.9.1 should have been released as 3.10.0 but failed to release on PyPI and conda-forge, this release
133 will increase the minor version number to 3.10.0. See the 3.9.1 release notes below for new features.
134
135 ### Bug fixes
136 - Fixed issue with testing and deployment of releases. @rly [#957](https://github.com/hdmf-dev/hdmf/pull/957)
137
138 ## HDMF 3.9.1 (September 29, 2023)
139
140 ### Enhancements
141 - Updated `TermSet` to be used with `TermSetWrapper`, allowing for general use of validation for datasets and attributes. This also brings updates to `HERD` integration and updates on `write` to easily add references for wrapped datasets/attributes. @mavaylon1 [#950](https://github.com/hdmf-dev/hdmf/pull/950)
142
143 ### Minor improvements
144 - Removed warning when namespaces are loaded and the attribute marking where the specs are cached is missing. @bendichter [#926](https://github.com/hdmf-dev/hdmf/pull/926)
145
146 ### Bug fixes
147 - Fixed bug allowing `DynamicTable` to be constructed with empty `id` column when initializing all columns via `AbstractDataChunkIterator` objects. @oruebel [#953](https://github.com/hdmf-dev/hdmf/pull/953)
148
149 ## HDMF 3.9.0 (August 25, 2023)
150
151 ### New features and minor improvements
152 - Increased raw data chunk cache size for reading HDF5 files from 1 MiB to 32 MiB. @bendichter, @rly [#925](https://github.com/hdmf-dev/hdmf/pull/925)
153 - Increased default chunk size for `GenericDataChunkIterator` from 1 MB to 10 MB. @bendichter, @rly [#925](https://github.com/hdmf-dev/hdmf/pull/925)
154 - Added the magic `__reduce__` method as well as two private semi-abstract helper methods to enable pickling of the `GenericDataChunkIterator`. @codycbakerphd [#924](https://github.com/hdmf-dev/hdmf/pull/924)
155 - Updated `add_ref_termset` to add all instances of `TermSet` within a given root container. @mavaylon1 [#935](https://github.com/hdmf-dev/hdmf/pull/935)
156 - Added Dynamic Enumerations and Schemasheets support to `TermSet`. @mavaylon1 [#923](https://github.com/hdmf-dev/hdmf/pull/923)
157 - Updated `HERD` to support user defined file name for the `HERD` zip file. @mavaylon1 [#941](https://github.com/hdmf-dev/hdmf/pull/941)
158 - Added method `Container.set_data_io`, which wraps an existing data field in a `DataIO`. @bendichter [#938](https://github.com/hdmf-dev/hdmf/pull/938)
159
160 ## HDMF 3.8.1 (July 25, 2023)
161
162 ### Bug fixes
163 - Fixed error when calling `HDF5IO.read` twice. @rly [#915](https://github.com/hdmf-dev/hdmf/pull/915)
164
165 ## HDMF 3.8.0 (July 21, 2023)
166
167 ### New features and minor improvements
168 - Added the ability to write ExternalResources if the path is provided and the container has a linked instance of ExternalResources. @mavaylon1 [#910](https://github.com/hdmf-dev/hdmf/pull/910)
169
170 ### Bug fixes
171 - Fixed bug on `add_ref_term_set` in which attributes that were not subscribtable returned an error. @mavaylon1 [#909](https://github.com/hdmf-dev/hdmf/pull/909)
172
173 ## HDMF 3.7.0 (July 10, 2023)
174
175 ### New features and minor improvements
176 - Updated `ExternalResources` to have EntityKeyTable with updated tests/documentation and minor bug fix to ObjectKeyTable. @mavaylon1 [#872](https://github.com/hdmf-dev/hdmf/pull/872)
177 - Added abstract static method `HDMFIO.can_read()` and concrete static method `HDF5IO.can_read()`. @bendichter [#875](https://github.com/hdmf-dev/hdmf/pull/875)
178 - Added warning for `DynamicTableRegion` links that are not added to the same parent as the original container object. @mavaylon1 [#891](https://github.com/hdmf-dev/hdmf/pull/891)
179 - Added the `TermSet` class along with integrated validation methods for any child of `AbstractContainer`, e.g., `VectorData`, `Data`, `DynamicTable`. @mavaylon1 [#880](https://github.com/hdmf-dev/hdmf/pull/880)
180 - Added `AbstractContainer.read_io` property to be able to retrieve the HDMFIO object used for reading from the container and to ensure the I/O object used for reading is not garbage collected before the container is being deleted. @bendichter @oruebel [#882](https://github.com/hdmf-dev/hdmf/pull/882)
181 - Allow for `datetime.date` to be used instead of `datetime.datetime`. @bendichter [#874](https://github.com/hdmf-dev/hdmf/pull/874)
182 - Updated `HDMFIO` and `HDF5IO` to support `ExternalResources`. @mavaylon1 [#895](https://github.com/hdmf-dev/hdmf/pull/895)
183 - Dropped Python 3.7 support. @rly [#897](https://github.com/hdmf-dev/hdmf/pull/897)
184 - Added HTML repr to `Container` objects which displays an interactive tree of a container's values and children in a Jupyter notebook and other HTML representations. @edeno [#883](https://github.com/hdmf-dev/hdmf/pull/883)
185 - Update software_process.rst with the correct external links. @mavaylon1 [#900](https://github.com/hdmf-dev/hdmf/pull/900)
186
187 ### Documentation and tutorial enhancements:
188 - Added tutorial for the new `TermSet` class @mavaylon1 [#880](https://github.com/hdmf-dev/hdmf/pull/880)
189
190 ### Bug fixes
191 - Fixed CI testing of minimum installation requirements, and removed some gallery tests run on each PR. @rly
192 [#877](https://github.com/hdmf-dev/hdmf/pull/877)
193 - Fixed reporting of version when installed using conda. @rly [#890](https://github.com/hdmf-dev/hdmf/pull/890)
194
195
196 ## HMDF 3.6.1 (May 18, 2023)
197
198 ### Bug fixes
199 - Fixed compatibility with hdmf_zarr for converting string arrays from Zarr to HDF5 by adding logic to determine the dtype for object arrays. @oruebel [#866](https://github.com/hdmf-dev/hdmf/pull/866)
200
201 ## HDMF 3.6.0 (May 12, 2023)
202
203 ### New features and minor improvements
204 - Updated `ExternalResources` to have `FileTable` and new methods to query data. the `ResourceTable` has been removed along with methods relating to `Resource`. @mavaylon1 [#850](https://github.com/hdmf-dev/hdmf/pull/850)
205 - Updated hdmf-common-schema version to 1.6.0. @mavaylon1 [#850](https://github.com/hdmf-dev/hdmf/pull/850)
206 - Added testing of HDMF-Zarr on PR and nightly. @rly [#859](https://github.com/hdmf-dev/hdmf/pull/859)
207 - Replaced `setup.py` with `pyproject.toml`. @rly [#844](https://github.com/hdmf-dev/hdmf/pull/844)
208 - Use `ruff` instead of `flake8`. @rly [#844](https://github.com/hdmf-dev/hdmf/pull/844)
209 - Replaced `versioneer` with `setuptools_scm` for versioning. @rly [#844](https://github.com/hdmf-dev/hdmf/pull/844)
210 - Now recommending developers use `pre-commit`. @rly [#844](https://github.com/hdmf-dev/hdmf/pull/844)
211
212 ### Bug fixes
213 - Export cached specs that are loaded in source IO manager but not in export IO manager. @rly
214 [#855](https://github.com/hdmf-dev/hdmf/pull/855)
215 - Fixed issue with passing an S3 URL for source in the constructor of ``HDMFIO`` @rly
216 [#853](https://github.com/hdmf-dev/hdmf/pull/853)
217
218 ### Documentation and tutorial enhancements:
219 - Updated `ExternalResources` how to tutorial to include the new features. @mavaylon1 [#850](https://github.com/hdmf-dev/hdmf/pull/850)
220
221 ## HDMF 3.5.6 (April 28, 2023)
222
223 ### Bug fixes
224 - Removed references to discontinued `requires.io` service in documentation. @rly
225 [#854](https://github.com/hdmf-dev/hdmf/pull/854)
226
227 ## HDMF 3.5.5 (April 13, 2023)
228
229 ### Bug fixes
230 - Fixed error during export where an external link to the same file was created in some situations.
231 @rly [#847](https://github.com/hdmf-dev/hdmf/pull/847)
232 - Removed unused, deprecated `codecov` package from dev installation requirements. @rly
233 [#849](https://github.com/hdmf-dev/hdmf/pull/849)
234 - Fixed export with `'link_data': False'` not copying datasets in some situations. @rly
235 [#848](https://github.com/hdmf-dev/hdmf/pull/848)
236
237 ## HDMF 3.5.4 (April 7, 2023)
238
239 ### Bug fixes
240 - Fixed typo in deploy release workflow. @rly [#845](https://github.com/hdmf-dev/hdmf/pull/845)
241
242 ## HDMF 3.5.3 (April 7, 2023)
243
244 ### Bug fixes
245 - Fixed search bar and missing jquery in ReadTheDocs documentation. @rly
246 [#840](https://github.com/hdmf-dev/hdmf/pull/840)
247 - Fixed issue with dynamic class generation for a multi-container interface where one or more are required. @rly
248 [#839](https://github.com/hdmf-dev/hdmf/pull/839)
249
250 ### Minor improvements
251 - Added support for Python 3.11. @rly [#803](https://github.com/hdmf-dev/hdmf/pull/803)
252 - No longer set upper bounds on dependencies. @rly [#803](https://github.com/hdmf-dev/hdmf/pull/803)
253 - `DynamicTable.to_dataframe()` now sets the index (id) column dtype to int64 rather than the OS default (int32 on Windows, int64 on Mac, Linux). @rly [#803](https://github.com/hdmf-dev/hdmf/pull/803)
254
255 ## HDMF 3.5.2 (March 13, 2023)
256
257 ### Bug fixes
258 - Fixed issue with conda CI. @rly [#823](https://github.com/hdmf-dev/hdmf/pull/823)
259 - Fixed issue with deprecated `pkg_resources`. @mavaylon1 [#822](https://github.com/hdmf-dev/hdmf/pull/822)
260 - Fixed `hdmf.common` deprecation warning. @mavaylon1 [#826]((https://github.com/hdmf-dev/hdmf/pull/826)
261
262 ### Internal improvements
263 - A number of typos fixed and Github action running codespell to ensure that no typo sneaks in [#825](https://github.com/hdmf-dev/hdmf/pull/825) was added.
264 - Added additional documentation for `__fields__` in `AbstactContainer`. @mavaylon1 [#827](https://github.com/hdmf-dev/hdmf/pull/827)
265 - Updated warning message for broken links. @mavaylon1 [#829](https://github.com/hdmf-dev/hdmf/pull/829)
266
267 ## HDMF 3.5.1 (January 26, 2023)
268
269 ### Bug fixes
270 - Fixed bug when closing a ``HDF5IO`` on delete via the new ``HDMFIO.__del__`` before ``HDF5IO.__init__`` has been completed. @oruebel [#817](https://github.com/hdmf-dev/hdmf/pull/817)
271
272 ### Documentation and tutorial enhancements:
273 - Updated `DynamicTable` how to tutorial to clarify the status of `EnumData`. @oruebel [#819](https://github.com/hdmf-dev/hdmf/pull/819)
274
275 ## HDMF 3.5.0 (January 17, 2023)
276
277 ### Bug fixes
278 - Fixed an issue with `ExternalResources` where retrieving an object resources wasn't in the proper format for a Pandas DataFrame. Additionally, a boolean parameter for creating an object when checking the existence of an object was added. @mavaylon1 [#790](https://github.com/hdmf-dev/hdmf/pull/790)
279 - Fixed an issue with the `tox` tool when upgrading to tox 4. @rly [#802](https://github.com/hdmf-dev/hdmf/pull/802)
280 - Fixed export of newly added links to existing elements of the exported file. @rly [#808](https://github.com/hdmf-dev/hdmf/pull/808)
281 - Added ``HDMFIO.__del__`` to ensure that I/O objects are being closed on delete. @oruebel[#811](https://github.com/hdmf-dev/hdmf/pull/811)
282
283 ### Minor improvements
284 - Added support for reading and writing `ExternalResources` to and from denormalized TSV files. @mavaylon1 [#799](https://github.com/hdmf-dev/hdmf/pull/799)
285 - Changed the name of `ExternalResources.export_to_sqlite` to `ExternalResources.to_sqlite`. @mavaylon1 [#799](https://github.com/hdmf-dev/hdmf/pull/799)
286 - Updated the tutorial for `ExternalResources`. @mavaylon1 [#799](https://github.com/hdmf-dev/hdmf/pull/799)
287 - Added `message` argument for assert methods defined by `hdmf.testing.TestCase` to allow developers to include custom error messages with asserts. @oruebel [#812](https://github.com/hdmf-dev/hdmf/pull/812)
288 - Clarify the expected chunk shape behavior for `DataChunkIterator`. @oruebel [#813](https://github.com/hdmf-dev/hdmf/pull/813)
289
290 ## HDMF 3.4.7 (November 9, 2022)
291
292 ### Minor improvements
293 - Update CI, versioneer, and some requirements. @rly ([#786](https://github.com/hdmf-dev/hdmf/pull/786))
294
295 ### Bug fixes
296 - Fix an issue where not providing an optional argument to `__init__` of an auto-generated `MultiContainerInterface`
297 class raised an error. @rly ([#779](https://github.com/hdmf-dev/hdmf/pull/779))
298 - Fixed an issue with the `data_utils.GenericDataChunkIterator` where if the underlying dataset was such that the `numpy.product` of the `maxshape` exceeded the range of the default `int32`, buffer overflow would occur and cause the true buffer shape to exceed available memory. This has been resolved by dropping all `numpy` operations (which forced casting within the passed data type) in favor of the unlimited precision of Python builtin integer types @codycbakerphd ([#780](https://github.com/hdmf-dev/hdmf/pull/780)) ([#781](https://github.com/hdmf-dev/hdmf/pull/781))
299
300 ## HDMF 3.4.6 (October 4, 2022)
301
302 ### Minor improvements
303 - When data is not specified in DataIO, 1) require dtype and shape both be specified and 2) determine length from shape. @ajtritt ([#771](https://github.com/hdmf-dev/hdmf/pull/771))
304
305 ### Bug fixes
306 - Fix an issue when autogenerating a class that extends a class where the constructor docval does not include all of
307 the fields (i.e., when the constructor sets some fields to fixed values). @rly
308 ([#773](https://github.com/hdmf-dev/hdmf/pull/773))
309
310 ## HDMF 3.4.5 (September 22, 2022)
311
312 ### Minor improvements
313 - Allow passing arguments through to column class constructor (argument `col_cls`) when calling `DynamicTable.add_column`. @ajtritt ([#769](https://github.com/hdmf-dev/hdmf/pull/769))
314
315 ## HDMF 3.4.4 (September 20, 2022)
316
317 ### Bug fixes
318 - Fixed missing dependency "packaging" introduced in 3.4.3. The code has been updated to avoid the dependency. @rly @oruebel ([#770](https://github.com/hdmf-dev/hdmf/pull/770))
319
320 ## HDMF 3.4.3 (September 14, 2022)
321
322 ### Minor improvements
323 - Began to deprecate the use of the testing script `test.py` in favor of `pytest` and `test_gallery.py`.
324 @rly ([#760](https://github.com/hdmf-dev/hdmf/pull/760))
325 - Updated installation and maintainer documentation. @rly ([#760](https://github.com/hdmf-dev/hdmf/pull/760))
326
327 ### Bug fixes
328 - Fixed CI and flake8 issues. @rly ([#760](https://github.com/hdmf-dev/hdmf/pull/760))
329 - Updated uses of pandas.DataFrame.set_index to avoid FutureWarnings for pandas >=1.5.x @oruebel ([#762](https://github.com/hdmf-dev/hdmf/pull/762))
330 - Fixed broken `hdmf.common.get_hdf5io` function. @rly ([#765](https://github.com/hdmf-dev/hdmf/pull/765))
331
332 ## HDMF 3.4.2 (August 26, 2022)
333
334 ### Minor improvements
335 - Updated ``MultiContainerInterface.__make_add`` to clarify the docstring for ``add_*`` methods generated by the function. @oruebel ([#758](https://github.com/hdmf-dev/hdmf/pull/758))
336 - Support "allow_none=True" in docval for args with non-None default. @rly ([#757](https://github.com/hdmf-dev/hdmf/pull/757))
337
338 ### Bug fixes
339 - Fixed deploy release CI. @rly ([#759](https://github.com/hdmf-dev/hdmf/pull/759))
340
341 ## HDMF 3.4.1 (August 8, 2022)
342
343 ### Bug fixes
344 - Fixed deploy release CI. @rly ([#754](https://github.com/hdmf-dev/hdmf/pull/754))
345
346 ## HDMF 3.4.0 (August 5, 2022)
347
348 ### Minor improvements
349 - Allow manual triggering of some GitHub Actions. @rly ([#744](https://github.com/hdmf-dev/hdmf/pull/744))
350 - Relaxed input validation of `HDF5IO` to allow for s3fs support. Existing arguments of `HDF5IO` are modified as follows: i) `mode` was given a default value of "r", ii) `path` was given a default value of `None`, and iii) `file` can now accept an `S3File` type argument. @bendichter ([#746](https://github.com/hdmf-dev/hdmf/pull/746))
351 - Added ability to create and get back handle to empty HDF5 dataset. @ajtritt ([#747](https://github.com/hdmf-dev/hdmf/pull/747))
352 - Added `AbstractContainer._in_construct_mode` that is set and modified only by the ObjectMapper when constructing an
353 object from a builder read from a file. Subclasses of `AbstractContainer` can check `_in_construct_mode`
354 during the initialization phase as part of ``__init__`` to distinguish between actions during construction
355 (i.e., read from disk) vs. creation by the user, e.g., to determine whether to raise a warning or error when
356 encountering invalid data to support reading and correcting data that is invalid while preventing creation
357 of new data that is invalid. @rly ([#751](https://github.com/hdmf-dev/hdmf/pull/751))
358
359 ### Bug fixes
360 - Fixed PyNWB dev CI. @rly ([#749](https://github.com/hdmf-dev/hdmf/pull/749))
361
362 ## HDMF 3.3.2 (June 27, 2022)
363
364 ### Bug fixes
365 - Fix error message when using ``GenericDataChunkIterator`` and chunk shape is larger than dataset size. @rly (#743)
366 - Fix automatic class generation of extension data types that inherit from both another data type and
367 ``MultiContainerInteface``. @rly (#741)
368
369 ## HDMF 3.3.1 (May 20, 2022)
370
371 ### Bug fixes
372 - Fixed release deployment CI. @rly (#734, #735, #736)
373
374 ## HDMF 3.3.0 (May 18, 2022)
375
376 ### New features
377 - Added utility functions and classes useful for implementation of I/O backend to ease maintainability and reuse of functionality across I/O backends. @oruebel (#697)
378 - Added `HDF5IODataChunkIteratorQueue` class in `hdmf.backends.hdf5.h5_utils` as a new helper class for managing the write of `DataChunkIterator`s to HDF5. @oruebel (#697)
379 - Added new `hdmf/io/utils.py` module with new I/O utility classes: 1) `WriteStatusTracker` as a simple data structure for tracking the write status of `Builders`, and 2) `NamespaceToBuilderHelper` to help with converting of a namespace to a `Builder` for I/O. @oruebel (#697)
380 - Added `get_min_bounds` function to `hdmf.data_utils.DataChunk`. This functionality was originally part of `HDF5IO.__write_chunk__()` and has been moved here to enable reuse of the code across data backends. @oruebel (#697)
381 - Added `ignore_string_to_byte` option for `TestCase.assertContainerEqual` to allow us to ignore conversion from string to bytes and just compare unicode values, as different backends may store strings differently. @oruebel (#697)
382 - Allow `zarr.Array` as array datatype in docval to support conversion data stored in Zarr to HDMF HDF5 data. @oruebel (#721)
383 - Allow `hdmf.common.table.DynamicTable.add_column` to accept nested lists as column data and automatically create the `VectorIndex` and `VectorData` objects required to represent the ragged array. @oruebel (#728)
384 - Added a warning when the ``__init__`` of a class mapped to an HDMF-common data type or an autogenerated data type class
385 is passed positional arguments instead of all keyword arguments. @rly (#730)
386 - Added helper function `hdmf.utils.popargs_to_dict` for popping docval args into a dict. @rly (#732)
387
388 ### Bug fixes
389 - Fixed error with modifying files that contain external links to other files (e.g., shallow copies). @rly (#709)
390 - Fixed opening of files in append mode on Windows when the files contain links to other open files. @rly (#710)
391 - Updated `HDF5IO` to always set the `location` attribute of `GroupBuilders`, `DatasetBuilders`, and `LinkBuilders` on read. @oruebel (#697)
392 - Updated `HDF5IO.get_types` to correctly determine the data type for `bytes` data. @oruebel (#697)
393
394 ### Minor improvements
395 - Updated `HDF5IO` to use the new `WriteStatusTracker`, `NamespaceToBuilderHelper`, and `HDF5IODataChunkIteratorQueue` helper classes. @oruebel (#697)
396 - Updated `hdmf.common.sparse.CSRMatrix` to avoid direct dependency on h5py as a particular storage backend. @oruebel (#697)
397 - Improved readability of ``Container`` code. @rly (#707)
398 - Use GitHub Actions for all CI. @rly (#718)
399 - Allow `write_args=None` to be passed to `HDF5IO.export`. @rly (#733)
400 - Updated requirements and fixed minor documentation issues and warnings. @rly (#731)
401
402 ### Test enhancements
403 - Moved test functions to ease reuse and updated tests accordingly. @oruebel (#697)
404 - Moved `Baz`, `BazData`, `BazCpdData`, `BazBucket`, `get_baz_buildmanager` test data classes from `tests.unit.test_io_hdf5_h5tools` to `tests.unit.utils` to ease reuse and updated tests accordingly. Also `_get_baz_manager` was renamed to `get_baz_buildmanager` as part of this move. @oruebel (#697)
405 - Added numerous tests to `tests/unit/common/test_sparse.py` to enhance testing of the `CSRMatrix` type. @oruebel (#697)
406
407 ### Documentation and tutorial enhancements:
408 - Add copy button to code blocks. @weiglszonja @oruebel (#726)
409
410 ## HDMF 3.2.1 (February 22, 2022)
411
412 ### Bug fixes
413 - Fixed release CI that prevented distribution from being uploaded to PyPI. @rly (#699)
414
415 ## HDMF 3.2.0 (February 22, 2022)
416
417 ### New features
418 - Added ``hdmf.container.Row.__str__`` to improve print of rows. @oruebel (#667)
419 - Added ``to_dataframe`` method for ``hdmf.common.resources.ExternalResource`` to improve visualization. @oruebel (#667)
420 - Added ``export_to_sqlite`` method for ``hdmf.common.resources.ExternalResource``. @oruebel (#667)
421 - Added ``reset_parent`` method for ``hdmf.container.Container``. @rly (#692)
422
423 ### Minor improvements
424 - Plotted results in external resources tutorial. @oruebel (#667)
425 - Added support for Python 3.10. @rly (#679)
426 - Updated requirements. @rly @TheChymera (#681)
427 - Improved testing for `ExternalResources`. @mavaylon1 (#673)
428 - Improved docs for export. @rly (#674)
429 - Enhanced data chunk iteration speeds through new ``GenericDataChunkIterator`` class. @CodyCBakerPhD (#672)
430 - Enhanced issue template forms on GitHub. @CodyCBakerPHD (#700)
431
432 ### Bug fixes
433 - Fixed `setup.py` not being able to import `versioneer` when installing in an embedded Python environment. @rly (#662)
434 - Fixed broken tests in Python 3.10. @rly (#664)
435 - Fixed broken LaTeX PDF build of the docs. @oruebel (#669)
436 - Fixed adding containers as a child to a parent container sometimes not marking the parent container as modified. @rly
437 (#683)
438 - Fixed `to_hierarchcial_dataframe` failing when a table contains a `VectorIndex` column as a regular data column.
439 @oruebel (#666)
440 - Stop testing against base Python error messages because they may change in the future. @rly (#689)
441
442 ## HDMF 3.1.1 (July 29, 2021)
443
444 ### Bug fixes
445 - Updated the new ``DynamicTableRegion.get_linked_tables`` function (added in 3.1.0) to return lists of ``typing.NamedTuple``
446 objects rather than lists of dicts. @oruebel (#660)
447
448 ## HDMF 3.1.0 (July 29, 2021)
449
450 ### New features
451 - Added several features to simplify interaction with ``DynamicTable`` objects that link to other tables via
452 ``DynamicTableRegion`` columns. @oruebel (#645)
453 - Added ``DynamicTable.get_foreign_columns`` to find all columns in a table that are a ``DynamicTableRegion``
454 - Added ``DynamicTable.has_foreign_columns`` to identify if a ``DynamicTable`` contains ``DynamicTableRegion`` columns
455 - Added ``DynamicTable.get_linked_tables`` to retrieve all tables linked to either directly or indirectly from
456 the current table via ``DynamicTableRegion``
457 - Implemented the new ``get_foreign_columns``, ``has_foreign_columns``, and ``get_linked_tables`` also for
458 ``AlignedDynamicTable``
459 - Added new module ``hdmf.common.hierarchicaltable`` with helper functions to facilitate conversion of
460 hierarchically nested ``DynamicTable`` objects via the following new functions:
461 - ``to_hierarchical_dataframe`` to merge linked tables into a single consolidated pandas DataFrame.
462 - ``drop_id_columns`` to remove "id" columns from a DataFrame.
463 - ``flatten_column_index`` to replace a ``pandas.MultiIndex`` with a regular ``pandas.Index``
464
465 ### Bug fixes
466 - Do not build wheels compatible with Python 2 because HDMF requires Python 3.7. @rly (#642)
467 - ``AlignedDynamicTable`` did not overwrite its ``get`` function. When using ``DynamicTableRegion`` to reference ``AlignedDynamicTable`` this led to cases where the columns of the category subtables where omitted during data access (e.g., conversion to pandas.DataFrame). This fix adds the ``AlignedDynamicTable.get`` based on the existing ``AlignedDynamicTable.__getitem__``. @oruebel (#645)
468 - Fixed #651 to support selection of cells in an ``AlignedDynamicTable`` via slicing with ``[int, (str, str)]``(and ``[int, str, str]``) to select a single cell, and ``[int, str]`` to select a single row of a category table. @oruebel (#645)
469
470 ### Minor improvements
471 - Updated ``DynamicTable.to_dataframe()`` and ``DynamicTable.get`` functions to set the ``.name`` attribute
472 on generated pandas DataFrame objects. @oruebel (#645)
473 - Added ``AlignedDynamicTable.get_colnames(...)`` to support look-up of the full list of columns as the
474 ``AlignedDynamicTable.colnames`` property only includes the columns of the main table for compliance with
475 ``DynamicTable`` @oruebel (#645)
476 - Fix documentation for `DynamicTable.get` and `DynamicTableRegion.get`. @rly (#650)
477 - Allow passing string column name to `DynamicTableRegion`, i.e., `dtr['col_name']` is a shortcut to
478 `dtr.table['col_name']`. @rly (#657)
479
480 ## HDMF 3.0.1 (July 7, 2021)
481
482 ### Bug fixes
483 - Fixed release CI that prevented distribution from being uploaded to PyPI. @rly (#641)
484
485 ## HDMF 3.0.0 (July 6, 2021)
486
487 ### New features
488 - Add support for Python 3.9, drop support for Python 3.6. @rly (#620)
489 - Add support for h5py 3. @ajtritt (#480)
490 - h5py 3 introduced [breaking changes regarding how strings are handled]
491 (https://docs.h5py.org/en/latest/whatsnew/3.0.html#breaking-changes-deprecations), specifically that
492 variable-length UTF-8 strings in datasets are now read as `bytes` objects instead of `str` by default.
493 To reduce the impact of this change on HDMF users, when HDMF reads a variable-length UTF-8 string
494 dataset, instead of returning an `h5py.Dataset` that is read as `bytes` objects, HDMF will return a
495 `hdmf.utils.StrDataset` object that extends `h5py.Dataset` and is read as `str` objects, which preserves
496 previous behavior. For example, under HDMF 2.x, an HDF5 dataset `d` with data ['a', 'b'] is read as a
497 `h5py.Dataset` object, and `d[:]` returns `str` objects. Under HDMF 3.x, the same dataset `d` is read
498 as a `hdmf.utils.StrDataset` object and `d[:]` still returns `str` objects.
499 - Add RRID to docs. @oruebel (#633)
500 - Allow passing ``index=True`` to ``DynamicTable.to_dataframe()`` to support returning `DynamicTableRegion` columns
501 as indices or Pandas DataFrame. @rly (#579)
502 - Improve ``DynamicTable`` documentation. @rly (#639)
503 - Updated external resources tutorial. @mavaylon1 (#611)
504
505 ### Breaking changes and deprecations
506 - Previously, when using ``DynamicTable.__getitem__`` or ``DynamicTable.get`` to access a selection of a
507 ``DynamicTable`` containing a ``DynamicTableRegion``, new columns with mangled names for the table data referred to
508 by the ``DynamicTableRegion`` were added to the returned DataFrame. This did not work properly for ragged
509 ``DynamicTableRegion``, multiple levels of nesting, or multiple rows returned.
510 Now, these methods will by default return columns of indices of the ``DynamicTableRegion``. If ``index=False`` is
511 passed to ``DynamicTable.get``, then nested DataFrames will be returned, one DataFrame per row of the original
512 resulting DataFrame. @rly (#579)
513
514 ### Minor improvements
515 - Updated requirements and tests. @rly (#640)
516
517 ### Bug fixes
518 - Update the validator to allow extensions to data types which only define data_type_inc. @dsleiter (#609)
519 - Fix error when validating lazy-loaded datasets containing references. @dsleiter (#609)
520 - Fix error when using ``DynamicTable.__getitem__`` or ``DynamicTable.get`` when table has a ragged
521 ``DynamicTableRegion``. @rly (#579)
522
523 ## HDMF 2.5.8 (June 16, 2021)
524 - Fix incorrect dtype precision upgrade for VectorIndex (#631)
525
526 ### Minor improvements
527 - Improve Sphinx documentation. @rly (#627)
528
529 ### Bug fix
530 - Fix error with representing an indexed table column when the `VectorIndex` dtype precision is upgraded more
531 than one step, e.g., uint8 to uint32. This can happen when, for example, a single `add_row` call is used to
532 add more than 65535 elements to an empty indexed column. @rly (#631)
533
534 ## HDMF 2.5.7 (June 4, 2021)
535
536 ### Bug fix
537 - Fix generation of extension classes that extend `MultiContainerInterface` and use a custom _fieldsname. @rly (#626)
538
539 ## HDMF 2.5.6 (May 19, 2021)
540
541 ### Bug fix
542 - Raise minimum version of pandas from 0.23 to 1.0.5 to be compatible with numpy 1.20. @rly (#618)
543 - Update documentation and update structure of requirements files. @rly (#619)
544
545 ## HDMF 2.5.5 (May 17, 2021)
546
547 ### Bug fix
548 - Fix incompatibility issue with downstream github-release tool used to deploy releases to GitHub. @rly (#614)
549
550 ## HDMF 2.5.4 (May 17, 2021)
551
552 ### Bug fix
553 - Fix incompatibility issue with downstream github-release tool used to deploy releases to GitHub. @rly (#607)
554 - Fix issue where dependencies of included types were not being loaded in namespaces / extensions. @rly (#613)
555
556 ## HDMF 2.5.3 (May 12, 2021)
557
558 ### Bug fix
559 - Fix issue where tables with multi-indexed columns defined using `__columns__` did not have attributes properly set.
560 @rly (#605)
561
562 ## HDMF 2.5.2 (May 11, 2021)
563
564 ### Bug fix
565 - Add explicit `setuptools` requirement. @hrnciar (#596)
566 - Fix issue with generated custom classes that use a custom fields name (e.g., PyNWB uses `__nwbfields__` instead
567 of `__fields__`). @rly (#598)
568 - Fix issue with Sphinx Gallery. @rly (#601)
569
570 ## HDMF 2.5.1 (April 23, 2021)
571
572 ### Bug fix
573 - Revert breaking change in `TypeMap.get_container_cls`. While this function is returned to its original behavior,
574 it will be modified at the next major release. Please use the new `TypeMap.get_dt_container_cls` instead. @rly (#590)
575
576 ## HDMF 2.5.0 (April 22, 2021)
577
578 ### New features
579 - `DynamicTable` can be automatically generated using `get_class`. Now the HDMF API can read files with extensions
580 that contain a `DynamicTable` without needing to import the extension first. @rly and @bendichter (#536)
581 - Add `HDF5IO.get_namespaces(path=path, file=file)` method which returns a dict of namespace name mapped to the
582 namespace version (the largest one if there are multiple) for each namespace cached in the given HDF5 file.
583 @rly (#527)
584 - Use HDMF common schema 1.5.0.
585 - Add experimental namespace to HDMF common schema. New data types should go in the experimental namespace
586 (hdmf-experimental) prior to being added to the core (hdmf-common) namespace. The purpose of this is to provide
587 a place to test new data types that may break backward compatibility as they are refined. @ajtritt (#545)
588 - `ExternalResources` was changed to support storing both names and URIs for resources. @mavaylon1 (#517, #548)
589 - The `VocabData` data type was replaced by `EnumData` to provide more flexible support for data from a set of
590 fixed values.
591 - Added `AlignedDynamicTable`, which defines a `DynamicTable` that supports storing a collection of sub-tables.
592 Each sub-table is itself a `DynamicTable` that is aligned with the main table by row index. Each sub-table
593 defines a sub-category in the main table effectively creating a table with sub-headings to organize columns.
594 - See https://hdmf-common-schema.readthedocs.io/en/latest/format_release_notes.html#april-19-2021 for more
595 details.
596 - Add `EnumData` type for storing data that comes from a fixed set of values. This replaces `VocabData` i.e.
597 `VocabData` has been removed. `VocabData` stored vocabulary elements in an attribute, which has a size limit.
598 `EnumData` now stores elements in a separate dataset, referenced by an attribute stored on the `EnumData` dataset.
599 @ajtritt (#537)
600 - Add `AlignedDynamicTable` type which defines a DynamicTable that supports storing a collection of subtables.
601 Each sub-table is itself a DynamicTable that is aligned with the main table by row index. Each subtable
602 defines a sub-category in the main table effectively creating a table with sub-headings to organize columns.
603 @oruebel (#551)
604 - Add tutorial for new `AlignedDynamicTable` type. @oruebel (#571)
605 - Equality check for `DynamicTable` now also checks that the name and description of the table are the same. @rly (#566)
606
607 ### Internal improvements
608 - Update CI and copyright year. @rly (#523, #524)
609 - Refactor class generation code. @rly (#533, #535)
610 - Equality check for `DynamicTable` returns False if the other object is a `DynamicTable` instead of raising an error.
611 @rly (#566)
612 - Update ruamel.yaml usage to new API. @rly (#587)
613 - Remove use of ColoredTestRunner for more readable verbose test output. @rly (#588)
614
615 ### Bug fixes
616 - Fix CI testing on Python 3.9. @rly (#523)
617 - Fix certain edge cases where `GroupValidator` would not validate all of the child groups or datasets
618 attached to a `GroupBuilder`. @dsleiter (#526)
619 - Fix bug for generating classes from link specs and ignored 'help' fields. @rly (#535)
620 - Various fixes for dynamic class generation. @rly (#561)
621 - Fix generation of classes that extends both `MultiContainerInterface` and another class that extends
622 `MultiContainerInterface`. @rly (#567)
623 - Fix `make clean` command for docs to clean up sphinx-gallery tutorial files. @oruebel (#571)
624 - Make sure we cannot set ``AlignedDynamicTable`` as a category on an ``AlignedDynamicTable``. @oruebel (#571)
625 - Fix included data type resolution between HDMF and custom classes that customize the data_type_inc key. @rly (#503)
626 - Fix classification of attributes as new/overridden. @rly (#503)
627
628 ## HDMF 2.4.0 (February 23, 2021)
629
630 ### New features
631 - `GroupValidator` now checks if child groups, datasets, and links have the correct quantity of elements and returns
632 an `IncorrectQuantityError` for each mismatch. @dsleiter (#500)
633
634 ### Internal improvements
635 - Update CI. @rly (#432)
636 - Added driver option for ros3. @bendichter (#506)
637
638 ### Bug fixes
639 - Allow `np.bool_` as a valid `bool` dtype when validating. @dsleiter (#505)
640 - Fix building of Data objects where the spec has no dtype and the Data object value is a DataIO wrapping an
641 AbstractDataChunkIterator. @rly (#512)
642 - Fix TypeError when validating a group with an illegally-linked child.
643 @dsleiter (#515)
644 - Fix `DynamicTable.get` for compound type columns. @rly (#518)
645 - Fix and removed error "Field 'x' cannot be defined in y." when opening files with some extensions. @rly
646 (#519)
647
648 ## HDMF 2.3.0 (December 8, 2020)
649
650 ### New features
651 - Add methods for automatic creation of `MultiContainerInterface` classes. @bendichter (#420, #425)
652 - Add ability to specify a custom class for new columns to a `DynamicTable` that are not `VectorData`,
653 `DynamicTableRegion`, or `VocabData` using `DynamicTable.__columns__` or `DynamicTable.add_column(...)`. @rly (#436)
654 - Add support for creating and specifying multi-index columns in a `DynamicTable` using `add_column(...)`.
655 @bendichter, @rly (#430)
656 - Add capability to add a row to a column after IO. @bendichter (#426)
657 - Add method `AbstractContainer.get_fields_conf`. @rly (#441)
658 - Add functionality for storing external resource references. @ajtritt (#442)
659 - Add method `hdmf.utils.get_docval_macro` to get a tuple of the current values for a docval_macro, e.g., 'array_data'
660 and 'scalar_data'. @rly (#446)
661 - Add `SimpleMultiContainer`, a data_type for storing a `Container` and `Data` objects together. @ajtritt (#449)
662 - Support `pathlib.Path` paths in `HDMFIO.__init__`, `HDF5IO.__init__`, and `HDF5IO.load_namespaces`. @dsleiter (#450)
663 - Use hdmf-common-schema 1.2.1. See https://hdmf-common-schema.readthedocs.io/en/latest/format_release_notes.html for details.
664 - Block usage of h5py 3+. h5py>=2.9, <3 is supported. @rly (#461)
665 - Block usage of numpy>=1.19.4 due to a known issue with numpy on some Windows 10 systems. numpy>1.16, <1.19.4 is supported.
666 @rly (#461)
667 - Add check for correct quantity during the build process in `ObjectMapper`. @rly (#463, #492)
668 - Allow passing `GroupSpec` and `DatasetSpec` objects for the 'target_type' argument of `LinkSpec.__init__(...)`.
669 @rly (#468)
670 - Use hdmf-common-schema 1.3.0. @rly, @ajtritt (#486)
671 - Changes from hdmf-common-schema 1.2.0:
672 - Add data type ExternalResources for storing ontology information / external resource references. NOTE:
673 this data type is in beta testing and is subject to change in a later version.
674 - Fix missing data_type_inc and use dtype uint for CSRMatrix. It now has data_type_inc: Container.
675 - Add hdmf-schema-language comment at the top of each yaml file.
676 - Add SimpleMultiContainer, a Container for storing other Container and Data objects together.
677
678 ### Internal improvements
679 - Drop support for Python 3.5. @ajtritt (#459)
680 - Improve warning about cached namespace when loading namespaces from file. @rly (#422)
681 - Refactor `HDF5IO.write_dataset` to be more readable. @rly (#428)
682 - Fix bug in slicing tables with DynamicTableRegions. @ajtritt (#449)
683 - Add testing for Python 3.9 and using pre-release packages. @ajtritt, @rly (#459, #472)
684 - Improve contributing guide. @rly (#474)
685 - Update CI. @rly, @dsleiter (#481, #493, #497)
686 - Add citation information to documentation and support for duecredit tool. @rly (#477, #488)
687 - Add type checking and conversion in `CSRMatrix`. @rly (#485)
688 - Clean up unreachable validator code. @rly (#483)
689 - Reformat imports. @bendichter (#469)
690 - Remove unused or refactored internal builder functions `GroupBuilder.add_group`, `GroupBuilder.add_dataset`,
691 `GroupBuilder.add_link`, `GroupBuilder.set_builder`, `BaseBuilder.deep_update`, `GroupBuilder.deep_update`,
692 `DatasetBuilder.deep_update`. Make `BaseBuilder` not instantiable and refactor builder code. @rly (#452)
693
694 ### Bug fixes
695 - Fix development package dependency issues. @rly (#431)
696 - Fix handling of empty lists against a spec with text/bytes dtype. @rly (#434)
697 - Fix handling of 1-element datasets with compound dtype against a scalar spec with text/bytes dtype. @rly (#438)
698 - Fix convert dtype when writing numpy array from `h5py.Dataset`. @rly (#427)
699 - Fix inheritance when non-`AbstractContainer` is base class. @rly (#444)
700 - Fix use of `hdmf.testing.assertContainerEqual(...)` for `Data` objects. @rly (#445)
701 - Add missing support for data conversion against spec dtypes "bytes" and "short". @rly (#456)
702 - Clarify the validator error message when a named data type is missing. @dsleiter (#478)
703 - Update documentation on validation to indicate that the example command is not implemented @dsleiter (#482)
704 - Fix generated docval for classes with a LinkSpec. @rly (#487)
705 - Fix access of `DynamicTableRegion` of a `DynamicTable` with column of references. @rly (#491)
706 - Fix handling of `__fields__` for `Data` subclasses. @rly (#441)
707 - Fix `DynamicTableRegion` having duplicate fields conf 'table'. @rly (#441)
708 - Fix inefficient and sometimes inaccurate build process. @rly (#451)
709 - Fix garbage collection issue in Python 3.9. @rly (#496)
710
711 ## HDMF 2.2.0 (August 14, 2020)
712
713 ### New features
714 - Add ability to get list of tuples when indexing a `DynamicTable`. i.e. disable conversion to `pandas.DataFrame`.
715 @ajtritt (#418)
716
717 ### Internal improvements
718 - Improve documentation and index out of bounds error message for `DynamicTable`. @rly (#419)
719
720 ### Bug fixes:
721 - Fix error when constructing `DynamicTable` with `DataChunkIterators` as columns. @ajtritt (#418)
722
723 ## HDMF 2.1.0 (August 10, 2020)
724
725 ### New features
726 - Users can now use the `MultiContainerInterface` class to generate custom API classes that contain collections of
727 containers of a specified type. @bendichter @rly (#399)
728 - See the user guide
729 https://hdmf.readthedocs.io/en/stable/tutorials/multicontainerinterface.html for more information.
730
731 ### Internal improvements
732 - Add ability to pass callable functions to run when adding or removing items from a ``LabelledDict``.
733 An error is now raised when using unsupported functionality in ``LabelledDict``. @rly (#405)
734 - Raise a warning when building a container that is missing a required dataset. @rly (#413)
735
736 ## HDMF 2.0.1 (July 22, 2020)
737
738 ### Internal improvements
739 - Add tests for writing table columns with DataIO data, e.g., chunked, compressed data. @rly (#402)
740 - Add CI to check for breakpoints and print statements. @rly (#403)
741
742 ### Bug fixes:
743 - Remove breakpoint. @rly (#403)
744 - Allow passing None for docval enum arguments with default value None. @rly (#409)
745 - If a file is written with an orphan container, e.g., a link to a container that is not written, then an
746 `OrphanContainerBuildError` will be raised. This replaces the `OrphanContainerWarning` that was previously raised.
747 @rly (#407)
748
749 ## HDMF 2.0.0 (July 17, 2020)
750
751 ### New features
752 - Users can now call `HDF5IO.export` and `HDF5IO.export_io` to write data that was read from one source to a new HDF5
753 file. Developers can implement the `export` method in classes that extend `HDMFIO` to customize the export
754 functionality. See https://hdmf.readthedocs.io/en/latest/export.html for more details. @rly (#388)
755 - Users can use the new export functionality to read data from one source, modify the data in-memory, and then write the
756 modified data to a new file. Modifications can include additions and removals. To facilitate removals,
757 `AbstractContainer` contains a new `_remove_child` method and `BuildManager` contains a new `purge_outdated` method.
758 @rly (#388)
759 - Users can now call `Container.generate_new_id` to generate new object IDs for the container and all of its children.
760 @rly (#401)
761 - Use hdmf-common-schema 1.2.0. @ajtritt @rly (#397)
762 - `VectorIndex` now extends `VectorData` instead of `Index`. This change allows `VectorIndex` to index other `VectorIndex` types.
763 - The `Index` data type is now unused and has been removed.
764 - Fix missing dtype for `VectorIndex`.
765 - Add new `VocabData` data type.
766
767 ### Breaking changes
768 - `Builder` objects no longer have the `written` field which was used by `HDF5IO` to mark the object as written. This
769 is replaced by `HDF5IO.get_written`. @rly (#381)
770 - `HDMFIO.write` and `HDMFIO.write_builder` no longer have the keyword argument `exhaust_dcis`. This remains present in
771 `HDF5IO.write` and `HDF5IO.write_builder`. @rly (#388)
772 - The class method `HDF5IO.copy_file` is no longer supported and may be removed in a future version. Please use the
773 `HDF5IO.export` method or `h5py.File.copy` method instead. @rly (#388)
774
775 ## HDMF 1.6.4 (June 26, 2020)
776
777 ### Internal improvements
778 - Add ability to close open links. @rly (#383)
779
780 ### Bug fixes:
781 - Fix validation of empty arrays and scalar attributes. @rly (#377)
782 - Fix issue with constructing `DynamicTable` with empty array colnames. @rly (#379)
783 - Fix `TestCase.assertContainerEqual` passing wrong arguments. @rly (#385)
784 - Fix 'link_data' argument not being used when writing non-root level datasets. @rly (#384)
785 - Fix handling of ASCII numpy array. @rly (#387)
786 - Fix error when optional attribute reference is missing. @rly (#392)
787 - Improve testing for `get_data_shape` and fix issue with sets. @rly (#394)
788 - Fix inability to write references to HDF5 when the root builder is not named "root". @rly (#395)
789
790 ## HDMF 1.6.3 (June 9, 2020)
791
792 ### Internal improvements
793 - Improve documentation of `DynamicTable`. @rly (#371)
794 - Add user guide / tutorial for `DynamicTable`. @rly (#372)
795 - Improve logging of build and write processes. @rly (#373)
796
797 ### Bug fixes:
798 - Fix adding of optional predefined columns to `DynamicTable`. @rly (#371)
799 - Use dtype from dataset data_type definition when extended spec lacks dtype. @rly (#364)
800
801 ## HDMF 1.6.2 (May 26, 2020)
802
803 ### Internal improvements:
804 - Update MacOS in CI. @rly (#310)
805 - Raise more informative error when adding column to `DynamicTable` w/ used name. @rly (#307)
806 - Refactor `_init_class_columns` for use by DynamicTable subclasses. @rly (#323)
807 - Add/fix docstrings for DynamicTable. @oruebel, @rly (#304, #353)
808 - Make docval-decorated functions more debuggable in pdb. @rly (#308)
809 - Change dtype conversion warning to include path to type. @rly (#311)
810 - Refactor `DynamicTable.add_column` to raise error when name is an optional column. @rly (#305)
811 - Improve unsupported filter error message. @bendichter (#329)
812 - Add functionality to validate a yaml file against a json schema file. @bendichter (#332)
813 - Update requirements-min.txt for yaml validator. @bendichter (#333)
814 - Add allowed value / enum validation in docval. @rly (#335)
815 - Add logging of build and hdf5 write process. @rly (#336, #349)
816 - Allow loading namespaces from h5py.File object not backed by file. @rly (#348)
817 - Add CHANGELOG.md. @rly (#352)
818 - Fix codecov reports. @rly (#362)
819 - Make `getargs` raise an error if the argument name is not found. @rly (#365)
820 - Improve `get_class` and `docval` support for uint. @rly (#361)
821
822 ### Bug fixes:
823 - Register new child types before new parent type for dynamic class generation. @rly (#322)
824 - Raise warning not error when adding column with existing attr name. @rly (#324)
825 - Add `__version__`. @rly (#345)
826 - Only write a specific namespace version if it does not exist. @ajtritt (#346)
827 - Fix documentation formatting for DynamicTable. @rly (#353)
828
829
830 ## HDMF 1.6.1 (Mar. 2, 2020)
831
832 ### Internal improvements:
833 - Allow docval to warn about use of positional arguments. @rly (#293)
834 - Improve efficiency of writing chunks with `DataChunkIterator` and HDF5. @d-sot, @oruebel (#295)
835
836 ### Bug fixes:
837 - Flake8 style fixes. @oruebel (#291)
838 - Handle missing namespace version. @rly (#292)
839 - Do not raise error when a numeric type with a higher precision is provided for a spec with a lower precision and different base type. Raise a warning when the base type of a given value is converted to the specified base type, regardless of precision level. Add missing support for boolean conversions. @rly (#298, #299)
840 - Add forgotten validation of links. @t-b, @ajtritt (#286)
841 - Improve message for "can't change container_source" error. @rly (#302)
842 - Fix setup.py development status. @rly (#303)
843 - Refactor missing namespace version handling. @rly, @ajtritt (#297)
844 - Add print function for `DynamicTableRegion`. @oruebel, @rly (#290)
845 - Fix writing of refined RefSpec attribute. @oruebel, @rly (#301)
846
847 ## HDMF 1.6.0 (Jan. 31, 2020)
848
849 ### Internal improvements:
850 - Allow extending/overwriting attributes on dataset builders. @rly, @ajtritt (#279)
851 - Allow ASCII data where UTF8 is specified. @rly (#282)
852 - Add function to convert `DynamicTableRegion` to a pandas dataframe. @oruebel (#239)
853 - Add "mode" property to HDF5IO. @t-b (#280)
854
855 ### Bug fixes:
856 - Fix readthedocs config to include all submodules. @rly (#277)
857 - Fix test runner double printing in non-verbose mode. @rly (#278)
858
859 ## HDMF 1.5.4 (Jan. 21, 2020)
860
861 ### Bug fixes:
862 - Upgrade hdmf-common-schema 1.1.2 -> 1.1.3, which includes a bug fix for missing data and shape keys on `VectorData`, `VectorIndex`, and `DynamicTableRegion` data types. @rly (#272)
863 - Clean up documentation scripts. @rly (#268)
864 - Fix broken support for pytest testing framework. @rly (#274)
865 - Fix missing CI testing of minimum requirements on Windows and Mac. @rly (#270)
866 - Read 1-element datasets as scalar datasets when a scalar dataset is expected by the spec. @rly (#269)
867 - Fix bug where 'version' was not required for `SpecNamespace`. @bendichter (#276)
868
869 ## HDMF 1.5.3 (Jan. 14, 2020)
870
871 ### Minor improvements:
872 - Update and fix documentation. @rly (#267)
873
874 ### Bug fixes:
875 - Fix ReadTheDocs integration. @rly (#263)
876 - Fix conda build. @rly (#266)
877
878 ## HDMF 1.5.2 (Jan. 13, 2020)
879
880 ### Minor improvements:
881 - Add support and testing for Python 3.8. @rly (#247)
882 - Remove code duplication and make Type/Value Error exceptions more informative. @yarikoptic (#243)
883 - Streamline CI and add testing of min requirements. @rly (#258)
884
885 ### Bug fixes:
886 - Update hdmf-common-schema submodule to 1.1.2. @rly (#249, #252)
887 - Add support for `np.array(DataIO)` in py38. @rly (#248)
888 - Fix bug with latest version of coverage. @rly (#251)
889 - Stop running CI on latest and latest-tmp tags. @rly (#254)
890 - Remove lingering mentions of PyNWB. @rly (#257, #261)
891 - Fix and clean up documentation. @rly (#260)
892
893 ## HDMF 1.5.1 (Jan. 8, 2020)
894
895 ### Minor improvements:
896 - Allow passing HDF5 integer filter ID for dynamically loaded filters. @d-sot (#215)
897
898 ### Bug fixes:
899 - Fix reference to hdmf-common-schema 1.1.0. @rly (#231)
900
901 ## HDMF 1.5.0 (Jan. 6, 2020)
902
903 ### Minor improvements:
904 - Improve CI for HDMF to test whether changes in HDMF break PyNWB. #207 (@rly)
905 - Improve and clean up unit tests. #211, #214, #217 (@rly)
906 - Refactor code to remove six dependency and separate ObjectMapper into its own file. #213, #221 (@rly)
907 - Output exception message in ObjectMapper.construct. #220 (@t-b)
908 - Improve docstrings for VectorData, VectorIndex, and DynamicTableRegion. #226, #227 (@bendichter)
909 - Remove unused "datetime64" from supported dtype strings. #230 (@bendichter)
910 - Cache builders by h5py object id not name. #235 (@oruebel)
911 - Update copyright date and add legal to source distribution. #232 (@rly)
912 - Allow access to export_spec function from hdmf.spec package. #233 (@bendichter)
913 - Make calls to docval functions more efficient, resulting in a ~20% overall speedup. #238 (@rly)
914
915 ### Bug fixes:
916 - Fix wrong reference in ObjectMapper.get_carg_spec. #208 (@rly)
917 - Fix container source not being set for some references. #219 (@rly)
918
919 Python 2.7 is no longer supported.
920
921 ## HDMF 1.4.0 and earlier
922
923 Please see the release notes on the [HDMF GitHub repo Releases page](https://github.com/hdmf-dev/hdmf/releases).