All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Support for vector data-types in reading and writing tables.
- Option to use CMake instead of Autotools when building CFITSIO (
fitsio-srcfeature +src-cmakefeature)
- Miscellaneous ABI-related fixes, especially for 64-bit values on some 32-bit architectures
- Support for n-d arrays (rather than just 2-d arrays) #233
- Updated
bindgento version 0.63.0 - The
bindgenfeature is now implemented infitsio-sysrather thanfitsio. This is done as the bindings generation is really part offitsio-sysrather thanfitsio. There should be no external difference noticed.
fitsio-sys-bindgenis no longer used. It has been merged withfitsio-sys.
fitsio: update versions offitsio-sysandfitsio-sys-bindgento pick up latest changesfitsio-sys: do not specify the version for msys2 since it is not well represented
- The abillity to create a
FitsFilestruct from afitsio_sys::fitsfilepointer #195 - Support for boolean header card values
fitsio-sys(whichever feature is used) is exposed asfitsio::systo make sure that only one crate that links to the system library exists #195
- BREAKING CHANGE the previously public field
filenameonFitsFilehas been removed, since:- it is now optional,
- it is not used internally for much, and
- it is state that does not need to be part of
fitsio. #195
- Some more types are deriving
Eqthanks to a clippy lint - Fixed broken tests on m1 macos #174
- Minimum cfitsio version of 3.37 specified for compilation #184
- Initial support for windows msys2 #150
- Specify version dependencies more specifically which should make installations more reliable, see this post #151
- Pin
ndarrayagainst versions 0.15.*. This prevents downstream users from having interoperability problems whenndarrayupdates to 0.16.0.
- Added support for 16 bit images and tables thanks @emaadparacha #148.
- arm32 architectures are tested on CI so consider arm32 a tier 1 platform -
fitsiowill not release a new version without arm32 tests passing on CI.
- Added support for arm32 architectures (armv7-unknown-linux-gnueabihf - e.g. Raspberry Pi). This is not tested on CI so it's not maintained as such.
- Added support for compiling
cfitsiofrom source rather than using the bundled version. This requires the installer needing to include the dependencies that are required for installingcfitsio, namelymakeandgcc, thanks @cjordan. #130
- (
fitsio-derive) corrected path toFitsHdu, release v0.2.0
- (
fitsio) expose the HDU number (number) in theFitsHdustruct - (
fitsio) handle the 'X' fits column data type. This may not match the behaviour with cfitsio, but that behaviour is also seemingly complicated and suboptimal; see #122 for discussion.
- (
fitsio) many small things, including using Rust 2018 edition.
- (
fitsio) BREAKING CHANGE: implementing underlying rawfitsfilepointer as astd::ptr::NonNull, meaning the pointer is guaranteed to never be null, increasing the safety of the API. The breaking change is that more methods require a mutable (exclusive) reference (due to the method of converting theNonNullto mutable pointer, required by some lower level methods). The upside is that theFitsFileobject should have exclusive access as it wraps the state of the fits file on disk. Safe concurrent (though not parallel) access is given by thethreadsafemethod.
- (
fitsio) add boolean column type - (
fitsio) add threadsafe version of aFitsFile#99 - (
fitsio) add benchmarking #98 - (
fitsio) add support for writing all integer header keys
- (
fitsio) fix errors with the system allocator, ensuring the package will run on the latest nightly and beta compilers #100
0.14.0 - 2018-04-21
- (
fitsio) addoverwritemethod toNewFitsFile#94 - (
fitsio) addndarraysupport #92 - (
fitsio) add lots of documentation
- (
fitsio) BREAKING CHANGE: move code into more logical submodule arrangement #95 - (
fitsio) add long cfitsio function names internally #88
0.13.0 - 2018-03-10
- (
fitsio) addrowmethod to read single row. This allows the user to declare a custom struct representing the row values #86 - (
fitsio) add pretty-printing support #83 - (
fitsio) addprimary_hdumethod #77
- (
fitsio) BREAKING CHANGE: changed ImageType variants to be more rusty #84 - (
fitsio)create_imageandcreate_tabletakeInto<String>#81 - (
fitsio)WritesKey::write_keynow accepts &str's as well asStrings #80 - (
fitsio) BREAKING CHANGE: all ranges are now exclusive of the upper value, matching Rust's default behaviour #61 - (
fitsio) BREAKING CHANGE: inverted the order of image/region axes to match the C row-major convention #59
0.12.1 - 2018-02-23
Fix issue with uploading crate
0.12.0 - 2018-02-23
- (
fitsio) add support for images which are not 2d - (
fitsio) add support for customising the primary HDU when a file is created (Thanks @astrojhgu from the users discourse, for the suggestion) - (
fitsio) add support for non-2d images - (
fitsio) more friendly errors when image data is requested outside of the range of the image
- (
fitsio) change function arguments that were previouslystartandendto arangeRange<usize> - (
fitsio) removed builder pattern for construction ofColumnDataDescription - (
fitsio) some implementations which were previously nightly-only have been used. These features involve theclonedmethod on anIterator. Therefore the version of rust is therefore restricted by this.
0.11.1 - 2017-11-24
- (
fitsio) Fixed problem with writing string columns
0.11.0 - 2017-11-24
- (
fitsio) Updated the documentation to be feature complete as of this version
0.10.0 - 2017-11-07
- (
fitsio) additer#46 - (
fitsio) addhdu_name,hdu_names,num_hdus, anddelete#45 - (
fitsio) addcopy_to#44 - (
fitsio) addinsert_column,append_column, anddelete_columnmethods toFitsHdu#43 - add contribution guide
- cfitsio license
- (
fitsio) BREAKING CHANGE: most methods require passing a mutableFitsFileto perform work - (
fitsio) IncludeSBYTE_IMG,USHORT_IMGandULONG_IMGdata types
Nothing
0.9.0 - 2017-07-15
- (
fitsio) Created unified error typefitsio::errors::Error - (
fitsio) Official (i.e. tested) support for the extended filename syntax - (
fitsio) Implemented support for generating the ffi bindings "live" usingbindgen#34 - (
fitsio) Support (unsafely) accessing the underlyingfitsfilepointer #32 - (
fitsio) Implement resizing images #31
- (
fitsio) Removed most unneededunwraps from the code - (
fitsio) Simplified the implementation ofbuf_to_string - (
fitsio) Include image data type in hdu info struct
Nothing
vim: ft=markdown:textwidth=0:nocindent