From 884521c9e301d5c19fc4359c513fa1958a206080 Mon Sep 17 00:00:00 2001 From: Kelly McCusker Date: Thu, 14 Aug 2025 11:07:12 -0400 Subject: [PATCH 1/3] update CHANGELOG for v0.7.0 release --- CHANGELOG.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3fc980a4..a2cf5270 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,13 +6,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.7.0] - 2025-08-14 + +### Added +- Documentation pages added using mkdocs (Needs a new hostsite) ([PR #254](https://github.com/ClimateImpactLab/dscim/pull/254), [@JMGilbert](https://github.com/JMGilbert)) +- Added discounting option `constant_gwr`, which applies discounting across SSPs. + ### Changed - Python version for running automated tests in CI upgraded from Python 3.10 to 3.12 ([PR #270](https://github.com/ClimateImpactLab/dscim/pull/270), [@brews](https://github.com/brews)). +- The function signature for `calculate_labor_batch_damages()` in `src/dscim/preprocessing/input_damages.py` was updated to include additional args with default values that allow the labor SCC application to run without modifying `dscim` code in the future ([PR #415](https://github.com/ClimateImpactLab/dscim/pull/415), [@JMGilbert](https://github.com/JMGilbert)). ### Fixed - Minor code cleanup. Switch old %-string formatting to use f-strings ([PR #351](https://github.com/ClimateImpactLab/dscim/pull/351), [@brews](https://github.com/brews)). +- Pin `numcodecs` package to 0.15.1 in `requirements.txt` to fix failing tests. This works with `zarr < 3` and will need to be updated when DSCIM's `zarr` version is updated ([PR #406](https://github.com/ClimateImpactLab/dscim/pull/406), [@JMGilbert](https://github.com/JMGilbert)). +- Fixed how quantile regression SCCs (`quantreg`) are calculated by allowing for the full cloud of damage points in the damage function fit stage (previously the `batch` dimension was incorrectly reduced before damage function fit even if `quantreg=True`) ([PR #405](https://github.com/ClimateImpactLab/dscim/pull/405), [@JMGilbert](https://github.com/JMGilbert)). +- Pin `statsmodels` to 0.14.5 in `requirements.txt` to fix `scipy` 1.16+ import error ([PR #429](https://github.com/ClimateImpactLab/dscim/pull/429), [@C1587S](https://github.com/C1587S)). ### Removed @@ -137,7 +147,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release. -[unreleased]: https://github.com/climateimpactlab/dscim/compare/v0.6.0...HEAD +[unreleased]: https://github.com/climateimpactlab/dscim/compare/v0.7.0...HEAD +[0.7.0]: https://github.com/climateimpactlab/dscim/compare/v0.6.0...v0.7.0 [0.6.0]: https://github.com/climateimpactlab/dscim/compare/v0.5.0...v0.6.0 [0.5.0]: https://github.com/climateimpactlab/dscim/compare/v0.4.0...v0.5.0 [0.4.0]: https://github.com/climateimpactlab/dscim/compare/v0.3.0...v0.4.0 From 7c47678512a81dcee399ce03274d62ae7e609913 Mon Sep 17 00:00:00 2001 From: Kelly McCusker Date: Thu, 14 Aug 2025 11:10:18 -0400 Subject: [PATCH 2/3] minor edit to CHANGELOG --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a2cf5270..a328a7bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Documentation pages added using mkdocs (Needs a new hostsite) ([PR #254](https://github.com/ClimateImpactLab/dscim/pull/254), [@JMGilbert](https://github.com/JMGilbert)) -- Added discounting option `constant_gwr`, which applies discounting across SSPs. +- Added discounting option `constant_gwr`, which applies discounting across SSPs ([PR #405](https://github.com/ClimateImpactLab/dscim/pull/405), [@JMGilbert](https://github.com/JMGilbert)). ### Changed From ddaa00257ccd0a42a99ad5d68708b644506c3e5e Mon Sep 17 00:00:00 2001 From: Kelly McCusker Date: Fri, 15 Aug 2025 12:02:34 -0400 Subject: [PATCH 3/3] clarified and re-ordered bullets in CHANGELOG --- CHANGELOG.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a328a7bb..ebad9bf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,25 +4,24 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] ## [0.7.0] - 2025-08-14 ### Added -- Documentation pages added using mkdocs (Needs a new hostsite) ([PR #254](https://github.com/ClimateImpactLab/dscim/pull/254), [@JMGilbert](https://github.com/JMGilbert)) +- [Documentation pages](climateimpactlab.github.io/dscim/) added using mkdocs ([PR #254](https://github.com/ClimateImpactLab/dscim/pull/254), [@JMGilbert](https://github.com/JMGilbert)) - Added discounting option `constant_gwr`, which applies discounting across SSPs ([PR #405](https://github.com/ClimateImpactLab/dscim/pull/405), [@JMGilbert](https://github.com/JMGilbert)). ### Changed +- The function signature for `calculate_labor_batch_damages()` in `src/dscim/preprocessing/input_damages.py` was updated to include additional args with default values that allow the labor SCC application to run without modifying `dscim` code in the future. This is backwards compatible. ([PR #415](https://github.com/ClimateImpactLab/dscim/pull/415), [@JMGilbert](https://github.com/JMGilbert)). - Python version for running automated tests in CI upgraded from Python 3.10 to 3.12 ([PR #270](https://github.com/ClimateImpactLab/dscim/pull/270), [@brews](https://github.com/brews)). -- The function signature for `calculate_labor_batch_damages()` in `src/dscim/preprocessing/input_damages.py` was updated to include additional args with default values that allow the labor SCC application to run without modifying `dscim` code in the future ([PR #415](https://github.com/ClimateImpactLab/dscim/pull/415), [@JMGilbert](https://github.com/JMGilbert)). ### Fixed -- Minor code cleanup. Switch old %-string formatting to use f-strings ([PR #351](https://github.com/ClimateImpactLab/dscim/pull/351), [@brews](https://github.com/brews)). -- Pin `numcodecs` package to 0.15.1 in `requirements.txt` to fix failing tests. This works with `zarr < 3` and will need to be updated when DSCIM's `zarr` version is updated ([PR #406](https://github.com/ClimateImpactLab/dscim/pull/406), [@JMGilbert](https://github.com/JMGilbert)). - Fixed how quantile regression SCCs (`quantreg`) are calculated by allowing for the full cloud of damage points in the damage function fit stage (previously the `batch` dimension was incorrectly reduced before damage function fit even if `quantreg=True`) ([PR #405](https://github.com/ClimateImpactLab/dscim/pull/405), [@JMGilbert](https://github.com/JMGilbert)). -- Pin `statsmodels` to 0.14.5 in `requirements.txt` to fix `scipy` 1.16+ import error ([PR #429](https://github.com/ClimateImpactLab/dscim/pull/429), [@C1587S](https://github.com/C1587S)). +- Minor code cleanup. Switch old %-string formatting to use f-strings ([PR #351](https://github.com/ClimateImpactLab/dscim/pull/351), [@brews](https://github.com/brews)). +- Pin `numcodecs` package to 0.15.1 to fix automated tests in CI. This works with `zarr < 3`. ([PR #406](https://github.com/ClimateImpactLab/dscim/pull/406), [@JMGilbert](https://github.com/JMGilbert)). +- Pin `statsmodels` to 0.14.5 to fix automated tests in CI. ([PR #429](https://github.com/ClimateImpactLab/dscim/pull/429), [@C1587S](https://github.com/C1587S)). ### Removed