@@ -25,31 +25,72 @@ Eric Larson (EL), Demian Wassermann, Stephan Gerhard and Ross Markello (RM).
25
25
26
26
References like "pr/298" refer to github pull request numbers.
27
27
28
- Upcoming release (To be determined)
29
- ===================================
28
+ 5.3.0 (Tuesday 8 October 2024)
29
+ ==============================
30
+
31
+ This release primarily adds support for Python 3.13 and Numpy 2.0.
32
+
33
+ NiBabel 6.0 will drop support for Numpy 1.x.
30
34
31
35
New features
32
36
------------
37
+ * Update NIfTI extension protocol to include ``.content : bytes ``, ``.text : str `` and ``.json : dict ``
38
+ properties for accessing extension contents. Exceptions will be raised on ``.text `` and ``.json `` if
39
+ conversion fails. (pr/1336) (CM)
33
40
34
41
Enhancements
35
42
------------
36
- * Ability to read data from many multiframe DICOM files that previously generated errors
43
+ * Ability to read data from many multiframe DICOM files that previously generated errors (pr/1340)
44
+ (Brendan Moloney, reviewed by CM)
45
+ * ``nib-nifti-dx `` now supports NIfTI-2 files with a ``--nifti2 `` flag (pr/1323) (CM)
46
+ * Update :mod: `nibabel.streamlines.tractogram ` to support ragged arrays. (pr/1291)
47
+ (Serge Koudoro, reviewed by CM)
48
+ * Filter numpy ``UserWarning `` on ``np.finfo(np.longdouble) ``. This can occur on
49
+ Windows systems, but it's done in the context of checking for the problem that
50
+ is being warned against, so there's no need to be noisy. (pr/1310)
51
+ (Joshua Newton, reviewed by CM)
52
+ * Improve error message for for dicomwrapper errors in shape calculation (pr/1302)
53
+ (YOH, reviewed by CM)
54
+ * Support "flat" ASCII-encoded GIFTI DataArrays (pr/1298) (PM, reviewed by CM)
37
55
38
56
Bug fixes
39
57
---------
40
- * Fixed multiframe DICOM issue where data could be flipped along slice dimension relative to the
41
- affine
42
- * Fixed multiframe DICOM issue where `` image_position `` and the translation component in the
43
- `` affine `` could be incorrect
44
-
45
- Documentation
46
- -------------
58
+ * Fix location initialization/update in OrthoSlicer3D for permuted axes (pr/1319, pr/1350)
59
+ (Guillaume Becq, reviewed by CM)
60
+ * Fix DICOM scaling, making frame filtering explicit (pr/1342) (Brendan Moloney, reviewed by CM)
61
+ * Fixed multiframe DICOM issue where data could be flipped along slice dimension relative to the
62
+ affine (pr/1340) (Brendan Moloney, reviewed by CM)
63
+ * Fixed multiframe DICOM issue where `` image_position `` and the translation component in the
64
+ `` affine `` could be incorrect (pr/1340) (Brendan Moloney, reviewed by CM)
47
65
48
66
Maintenance
49
67
-----------
68
+ * Numpy 2.0 compatibility and addressing deprecations in numpy API
69
+ (pr/1304, pr/1330, pr/1331, pr/1334, pr/1337) (Jon Haitz Legarreta Gorroño, CM)
70
+ * Python 3.13 compatibility (pr/1315) (Sandro from the Fedora Project, reviewed by CM)
71
+ * Testing on Python 3.13 with free-threading (pr/1339) (CM)
72
+ * Testing on ARM64 Mac OS runners (pr/1320) (CM)
73
+ * Proactively address deprecations in coming Python versions (pr/1329, pr/1332, pr/1333)
74
+ (Jon Haitz Legarreta Gorroño, reviewed by CM)
75
+ * Replace nose-era ``setup() `` and ``teardown() `` functions with pytest equivalents
76
+ (pr/1325) (Sandro from the Fedora Project, reviewed by Étienne Mollier and CM)
77
+ * Transitioned from blue/isort/flake8 to `ruff <https://docs.astral.sh/ruff/ >`__. (pr/1289)
78
+ (Dimitri Papadopoulos, reviewed by CM)
79
+ * Vetted and added various rules to the ruff configuration for auto-formatting and style
80
+ guide enforcement. (pr/1321, pr/1351, pr/1352, pr/1353, pr/1354, pr/1355, pr/1357, pr/1358,
81
+ pr/1359, pr/1360, pr/1361, pr/1362, pr/1363, pr/1364, pr/1368, pr/1369)
82
+ (Dimitri Papadopoulos, reviewed by CM)
83
+ * Fixing typos when found. (pr/1313, pr/1370) (MB, Dimitri Papadopoulos)
84
+ * Applied Repo-Review suggestions (Dimitri Papadopoulos, reviewed by CM)
50
85
51
86
API changes and deprecations
52
87
----------------------------
88
+ * Raise :class: `~nibabel.spatialimages.HeaderDataError ` from
89
+ :func: `~nibabel.nifti1.Nifti1Header.set_qform ` if the affine fails to decompose.
90
+ This would previously result in :class: `numpy.linalg.LinAlgError `. (pr/1227) (CM)
91
+ * The :func: `nibabel.onetime.auto_attr ` module can be replaced by :func: `functools.cached_property `
92
+ in all supported versions of Python. This alias may be removed in future versions. (pr/1341) (CM)
93
+ * Removed the deprecated ``nisext `` (setuptools extensions) package. (pr/1290) (CM, reviewed by MB)
53
94
54
95
55
96
5.2.1 (Monday 26 February 2024)
0 commit comments