|
| 1 | +New features |
| 2 | +------------ |
| 3 | + |
| 4 | +* H5T_BITFIELD types will now be cast to their ``numpy.uint`` equivalent by default |
| 5 | + (:issue:`1258`). This means that no knowledge of mixed type compound dataset |
| 6 | + schemas is required to read these types, and can simply be read as follows: |
| 7 | + |
| 8 | + .. code:: |
| 9 | +
|
| 10 | + arr = dset[:] |
| 11 | +
|
| 12 | + Alternatively, 8-bit bitfields can still be cast to booleans explicitly: |
| 13 | + |
| 14 | + .. code:: |
| 15 | +
|
| 16 | + arr = dset.astype(numpy.bool_)[:] |
| 17 | +* Validate key types when accessing groups. |
| 18 | +* A new :meth:`Group.build_virtual_dataset` method acting as a context manager |
| 19 | + to assemble virtual datasets. |
| 20 | +* If the source and target of a virtual dataset mapping have different numbers |
| 21 | + of points, an error should now be thrown when you make the mapping in the |
| 22 | + :class:`VirtualLayout`, rather than later when writing this into the file. |
| 23 | + This should make it easier to find the source of such errors. |
| 24 | + |
| 25 | +Deprecations |
| 26 | +------------ |
| 27 | + |
| 28 | +* Linux wheels are now manylinux2010 rather than manylinux1 |
| 29 | +* The ``default_file_mode`` config option is deprecated, and setting it to |
| 30 | + values other than 'r' (for read-only mode) is no longer allowed. Pass the |
| 31 | + mode when creating a :class:`.File` object instead of setting a global |
| 32 | + default. |
| 33 | + |
| 34 | +Bug fixes |
| 35 | +--------- |
| 36 | + |
| 37 | +* Trying to open a file in append mode (``'a'``) should now give clearer |
| 38 | + error messages when the file exists but can't be opened. |
| 39 | +* Protect :func:`h5py.h5f.get_obj_ids` against garbage collection invalidating |
| 40 | + HDF5 IDs while it is retrieving them (:issue:`1852`). |
| 41 | +* Make file closing more robust, including when closing files while the |
| 42 | + interpreter is shutting down, by using lower-level code to close HDF5 IDs |
| 43 | + of objects inside the file (:issue:`1495`). |
| 44 | + |
0 commit comments