Releases: Enet4/nifti-rs
Releases · Enet4/nifti-rs
v0.16.0
Changes
- Removed
esize
parameter from extension constructor (#102 @twitzelbos) - Updated
nalgebra
to 0.32 andsimba
to 0.8 (#103) - Volume writing system has been redesigned to support complex valued data (#106 @twitzelbos)
New
- New NIFTI extension writer! See
examples/gen_nifti
for an example. (#101 @twitzelbos)
Miscellaneous
- Fixed all clippy warnings (#104 @nilgoyette)
New Contributors
🙏 Thank you @twitzelbos for your contributions.
Full Changelog: v0.15.0...v0.16.0
v0.15.0
Changes
-
The error type became non-exhaustive, meaning that exhaustive matching can no longer be done without a catch-all brace. Most users should not be affected by this (#98).
-
Dependencies were updated (#95):
- byteordered 0.6
- nalgebra 0.31
- simba 0.7.1
New
- Methods
set_sform
andset_qform
inNiftiHeader
are now available to users (#97 @nilgoyette)
Enhancements
- Use
try_reserve
to allocate volume/extended data (#93)
Misc
- Use github-actions/checkout v3 in CI (#91)
Full Changelog: v0.14.0...v0.15.0
v0.14.0
Breaking Changes
nalgebra
has been updated to 0.27, andsimba
to 0.5 (#86 @nilgoyette)- applicable to users of the
nalgebra_affine
Cargo feature
- applicable to users of the
Misc
- Add an error margin to checking whether the header's
pixdim[0]
is valid (#88) - Minor Clippy fixes (#88)
Chore
v0.13.0
Breaking Changes
- Public dependency updates: Updated
ndarray
to version 0.15,nalgebra
to version 0.25, andsimba
to version 0.4 (#85 @nilgoyette)
Enhancements
- Updated
pretty_assertions
to version 0.7 (#85 @nilgoyette)
v0.12.1
v0.12.0
Changes
- Public dependency updates. #77 @nilgoyette
ndarray
to 0.14nalgebra
to 0.24
- Test dependency update:
approx
to 0.4
New
- Getting data elements or converting to ndarrays no longer requires so many
{number}: AsPrimitive<T>
trait bounds, making integration with generics nicer. #78 ndarray_volumes
is now a default Cargo feature. For the previous behavior, simply disable default cargo features. #79
Fix
- Improved documentation and updated readme file. #80
Chores
v0.11.0
Changes
- New
Intent
type variants related to FSL (#74 @nilgoyette) - Updated error type declaration to specify
source
instead ofcause
(#76 @nilgoyette) - Dependency updates, some of which are part of the public API (#76 @nilgoyette)
- Special note to
nalgebra
@0.23 andsimba
@0.3
- Special note to
New
- New
WriterOptions
API provides greater control over the writing process of NIfTI files. (#75 @nilgoyette)
v0.10.0
Breaking
- The constructor functions
from_file
andfrom_file_pair
fromInMemNiftiObject
andStreamedNiftiObject
have been deprecated in favor of the newReaderOptions
andReaderStreamedOptions
API. (See the New section below) (#70 @nilgoyette) - Public API dependencies have been updated. (#71 @nilgoyette)
nalgebra
from 0.18 to 0.21alga
has been replaced withsimba
, with default features disabledbyteordered
from 0.4 to 0.5
- The default features in
nalgebra
have been disabled (#66 @nilgoyette) - Added variant
TemplateOther
toXForm
(#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.
- This is unlikely to break existing builds, but it is still admitted as a breaking change here because
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
andNiftiHeader::qform_affine
with thenalgebra_affine
feature. (#68 @nilgoyette)
Misc
- Removed the implementation of deprecated method
description
fromNiftiError
, and improved its implementation ofDisplay
(#65). - Reduced the number of dependencies in the library (#66 @nilgoyette)