Release notes
New feature release in the 5.4.x series.
This release requires a minimum Python of 3.10 and NumPy 1.25, and has been tested up to Python 3.14 and NumPy 2.4.
New features
- Add mode parameter to nibabel.processing.conform (#1396) (Clorindo Notte, reviewed by CM)
Enhancements
- Label image axes consistently in cases of extreme obliquity (#1450) (Leonardo Ayala, reviewed by CM)
- Use compressionzstd or
backports.zstdin preference topyzstd(#1444) (PM, reviewed by CM) - Support PAR/REC files generated by Philips R11 consoles (#1430) (Alex Daniel, reviewed by CM)
- Add stub file for top-level nibabel module, improving support in code analyzers (#1436) (Jon Cluce, reviewed by CM)
- Use informative error message for missing file attribute in TCKFile header (#1422) (Jon Haitz Legarreta Gorroño, reviewed by CM)
- Support
ushortdatatypes in MGH/MGZ files (#1415) (Benjamin Thyreau, reviewed by CM) - Simplify nibabel.cmdline.utils.table2string implementation (#1403) (CM)
Bug fixes
- Fix type-checking errors in nibabel.volumeutils.rec2dict (#1424) (Jon Haitz Legarreta Gorroño, reviewed by CM)
- Adapt to functools.partial becoming a method descriptor in Python 3.14 (#1391) (Benjamin Beasley, reviewed by CM)
Maintenance
- Split pre-release tests into cron job (#1466) (CM, reviewed by Remi Gau)
- Adapt to numpy 2.5 deprecation of setting shape attributes (#1452) (CM)
- Document and test support for osPathLike objects in streamlines APIs (#1435) (Jon Haitz Legarreta Gorroño, reviewed by CM)
- Drop CI tests on Intel Macs (#1439) (Dimitri Papadopoulos, reviewed by CM)
- Update license metadata using SPDX expression (#1425) (Dimitri Papadopoulos, reviewed by CM)
- Test on Python 3.14, us locking tox runners (#1431, #1447) (CM)
- Update style checker (ruff) and address new complaints (#1405, #1406, #1433) (CM, Dimitri Papadopoulos)
- Add broad testing for Python 3.13 (#1381) (CM)
- Build docs on PRs with ReadTheDocs to permit quick inspection. (#1398) (CM)
API changes and deprecations
- Drop support for Python 3.9, Numpy < 1.25 (#1448) (CM)
New Contributors
- @musicinmybrain made their first contribution in #1391
- @nightwnvol made their first contribution in #1396
- @bthyreau made their first contribution in #1415
- @shnizzedy made their first contribution in #1436
- @alexdaniel654 made their first contribution in #1432
- @leoyala made their first contribution in #1450
Full Changelog: 5.3.3...5.4.0