Skip to content

5.2.0

Compare
Choose a tag to compare
@effigies effigies released this 12 Dec 14:28
· 289 commits to master since this release

DOI

Release notes

New feature release in the 5.2.x series.

This release requires a minimum Python of 3.8 and NumPy 1.20, and has been tested up to Python 3.12 and NumPy 1.26.

New features

  • Add generic Pointset and regularly spaced Grid data structures in preparation for coordinate transformation and resampling (#1251) (CM, reviewed by Oscar Esteban)

Enhancements

  • Add copy method to ArrayProxy (#1255) (CM, reviewed by Paul McCarthy)
  • Permit to_xml to pass keyword arguments to tostring (#1258) (CM)
  • Allow user expansion (e.g., ~/...) in strings passed to functions that accept paths (#1260) (Reinder Vos de Wael, reviewed by CM)
  • Expand CIFTI-2 brain structures to permit synonyms (#1256) (CM, reviewed by Mathias Goncalves)
  • Annotate SpatialImage as accepting affine=None argument (#1253) (Blake Dewey, reviewed by CM)
  • Warn on invalid MINC2 spacing declarations, treat as missing (#1237) (Peter Suter, reviewed by CM)
  • Refactor find_private_section for improved readability and maintainability (#1228) (MB, reviewed by CM)

Bug fixes

  • Resolve test failure related to randomly generated invalid case (#1221) (CM)

Documentation

  • Remove references to NiPy data packages from documentation (#1275) (Dimitri Papadopoulos, reviewed by CM, MB)

Maintenance

  • Quality of life improvements for CI, including color output and OIDC publishing (#1282) (CM)
  • Patch for NumPy 2.0 pre-release compatibility (#1250) (Mathieu Scheltienne and EL, reviewed by CM)
  • Add spellchecking to tox, CI and pre-commit (#1266) (CM)
  • Add py312-dev-x64 environment to Tox to test NumPy 2.0 pre-release compatibility (#1267) (CM, reviewed by EL)
  • Resurrect tox configuration to cover development workflows and CI checks (#1262) (CM)
  • Updates for Python 3.12 support (#1247, #1261, #1273) (CM)
  • Remove uses of deprecated numpy.compat.py3k module (#1243) (Eric Larson, reviewed by CM)
  • Various fixes for typos and style issues detected by Codespell, pyupgrade and refurb (#1263, #1269, #1270, #1271, #1276) (Dimitri Papadopoulos, reviewed by CM)
  • Use stable argsorts in PARREC tests to ensure consistent behavior on systems with AVX512 SIMD instructions and numpy 1.25 (#1234) (CM)
  • Resolve CodeCov submission failures (#1224) (CM)
  • Link to logo with full URL to avoid broken links in PyPI (#1218) (CM, reviewed by Zvi Baratz)

API changes and deprecations

New Contributors

Full Changelog: 5.1.0...5.2.0