Skip to content

Commit 75d0059

Browse files
committed
Updated CHANGELOG for 3.3.0
1 parent b064819 commit 75d0059

8 files changed

Lines changed: 44 additions & 228 deletions

‎docs/whatsnew/3.3.0.rst‎

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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+

‎news/1258-default-cast-b8.rst‎

Lines changed: 0 additions & 41 deletions
This file was deleted.

‎news/append-filenotfound.rst‎

Lines changed: 0 additions & 30 deletions
This file was deleted.

‎news/bump-wheel-base.rst‎

Lines changed: 0 additions & 29 deletions
This file was deleted.

‎news/deprecate-default-file-mode-2.rst‎

Lines changed: 0 additions & 32 deletions
This file was deleted.

‎news/fix-1829.rst‎

Lines changed: 0 additions & 29 deletions
This file was deleted.

‎news/get-obj-ids-gc.rst‎

Lines changed: 0 additions & 33 deletions
This file was deleted.

‎news/vds-set-virtual-sooner.rst‎

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)