Breaking
- The constructor functions
from_file
and from_file_pair
from InMemNiftiObject
and StreamedNiftiObject
have been deprecated in favor of the new ReaderOptions
and ReaderStreamedOptions
API. (See the New section below) (#70 @nilgoyette)
- Public API dependencies have been updated. (#71 @nilgoyette)
nalgebra
from 0.18 to 0.21
alga
has been replaced with simba
, with default features disabled
byteordered
from 0.4 to 0.5
- The default features in
nalgebra
have been disabled (#66 @nilgoyette)
- Added variant
TemplateOther
to XForm
(#67 @nilgoyette)
- This is unlikely to break existing builds, but it is still admitted as a breaking change here because
XForm
is not marked as non-exhaustive.
New
- A builder-based API is available for reading NIFTI objects, which enables additional configuration in the reading process. (#70 @nilgoyette)
let obj = ReaderOptions::new()
.fix_header(true)
.read_file("path/to/file.nii.gz")?;
- NIFTI object readers may now optionally fix some header properties automatically, via the
fix_header
flag. (#70 @nilgoyette)
- Publicly available functions
NiftiHeader::sform_affine
and NiftiHeader::qform_affine
with the nalgebra_affine
feature. (#68 @nilgoyette)
Misc
- Removed the implementation of deprecated method
description
from NiftiError
, and improved its implementation of Display
(#65).
- Reduced the number of dependencies in the library (#66 @nilgoyette)