From ec7225dcddb82cbc837877746ac184ffa22744fe Mon Sep 17 00:00:00 2001 From: Greg Sleap Date: Mon, 11 Nov 2024 12:30:37 +1100 Subject: [PATCH] Updated version and changelog --- CHANGELOG.md | 15 +++++++++------ Cargo.toml | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9204947..6f4f0fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,15 @@ Changes in each release are listed below. -## 1.8.0 8-Nov-2024 - -* Fixed pyo3 decorators to allow stub_gen to work properly / generate python stubs correctly. -* Used prerelease version of pyo3_stub_gen to ensure Chrono::FixedTimeOffset can have a stub generated in `MetafitsContext`. -* +## 1.8.0 11-Nov-2024 +* mwalib now will detect and raise an error (`MwalibError::Fits.CfitsioIsNotReentrant`) if the CFITSIO library that mwalib is linked with has been built without the `-D_REENTRANT` directive (github issue #82). +* Expose the FITS BSCALE in image HDUs as a single value `bscale` in `CorrelatorContext` (github issue #85). + * For most Legacy MWA observations, this may be a value other than 1.0. For MWAX correlator this will always be 1.0. + * This is mainly of interest to EoR researchers who are trying to implement Van Vleck corrections. +* Python type stubs: + * Fixed pyo3 decorators to allow stub_gen to work properly / generate python stubs correctly. + * Used prerelease version of pyo3_stub_gen to ensure Chrono::FixedTimeOffset can have a stub generated in `MetafitsContext`. ## 1.7.2 8-Nov-2024 @@ -21,7 +24,7 @@ Changes in each release are listed below. ## 1.7.0 23-Oct-2024 (Yanked- MWAFitsFile is no longer to be used) * Bumped MSRV to 1.65. -* Update fitsio to 0.21 and fitsio-sys to 0.5. To make v0.21 work, a new struct, MWAFitsFile is used inplace of FitsFile, as FitsFile no longer carries the `filename` property which is needed by mwalib. +* Update fitsio to 0.21 and fitsio-sys to 0.5. To make v0.21 work, a new struct, MWAFitsFile is used inplace of FitsFile, as FitsFile no longer carries the `filename` property which is needed by mwalib. * Removed Rust Report Card from README status badges. Looks like this service is abandonded. * Added Python .pyi stub generation to provide mwalib Python users with type and docstring information. The mwalib.pyi should get baked into the python wheels released to github and Pypi. See `bin/README.md` for caveats and more details. * Added CI to test compilation against cfitsio 3.x and 4.x when not using the `cfitsio-static` feature. diff --git a/Cargo.toml b/Cargo.toml index 8b861a3..78243c2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mwalib" -version = "1.7.3" +version = "1.8.0" homepage = "https://github.com/MWATelescope/mwalib" repository = "https://github.com/MWATelescope/mwalib" readme = "README.md"