Skip to content

v0.20.0

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Feb 20:32
v0.20.0
e55ec6f

New features

  • Updated raven-hydro to v0.5.0 (RavenHydroFramework v4.1.0). (PR #560)
  • ravenpy now officially supports Python 3.14. (PR #577)

Fixes

  • Fix Reservoir command parser failing when optional fields were missing. (PR #544)
  • Add GaugedSubBasinGroup command to RVH class. (Issue #546, PR #547)
  • In nc_specs, set dim_names_nc in the order expected by Raven (x, y, t). Previously, we only made sure that time was the last dimension, but did not ensure x and y were in the right order. (PR #533)
  • Adjusted the Perform_a_climate_change_impact_study_on_a_watershed.ipynb notebook to reduce the number of years in the simulation to speed up execution time. (PR #535)
  • Adjusted a broken test that was overlooked in the previous release (from changes in PR #513). (PR #535)
  • Adapted code base to the pandas v3.0 API. (Issue #570, PR #572)
  • Addressed a small pydantic v2.12 deprecation. (PR #577)
  • Include NetCDFAttribute alias in emulated models. Include dict update logic higher up in the chain rather than only through the emulators field_validator. (PR #580)

Internal changes

  • Updated the cookiecutter template to the latest version (PR #548):
    • Updated the Contributor Covenant Agreement to v3.0.
    • Added a CITATION.cff file.
    • Removed black, blackdoc, and isort, as well as their configurations.
    • Updated pyproject.toml to be PEP 639-compliant.
  • Pinned pydantic below v2.12 due to breaking changes in their API. (PR #548)
    • Unpinned pydantic as newer 2.12 patch releases appear to have addressed regressions. (PR #559)
  • Pinned pydap >=3.5.6 and h5netcdf >=1.5.0 to ensure modern versions with better xarray support are installed by default. (PR #559)
  • Updated the cookiecutter template to the latest version (PR #569):
    • Added a workflow for automatically accepting and merging periodic updates from Dependabot affecting CI dependencies.
  • Added a pytest fixture to perform a teardown of changes performed within the installed ravenpy source location. (PR #572)