Skip to content

v0.2.0

Compare
Choose a tag to compare
@RondeauG RondeauG released this 10 Oct 15:57
· 1241 commits to main since this release
6b8e3ec

v0.2.0 (2023-10-10)

Contributors to this version: Trevor James Smith (@Zeitsperre), Gabriel Rondeau-Genesse (@RondeauG), Thomas-Charles Fortier Filion (@TC-FF), Sébastien Langlois (@sebastienlanglois)

Announcements

  • Support for Python3.8 and lower has been dropped. (PR/11).
  • xHydro now hosts its documentation on Read the Docs. (GH/22, PR/26).
  • Local frequency analysis functions have been added under a new module xhydro.frequency_analysis. (PR/20, PR/27).

New features and enhancements

  • GitHub Workflows for automated testing using tox have been added. (PR/11).
  • Support for various xscen functions has been added to compute indicators and various climate change metrics. (PR/21).
  • New function xh.indicators.compute_volume to convert streamflow data to volumes. (PR/20, PR/27).
  • New function xh.indicators.get_yearly_op to compute block operation (e.g. block maxima, minima, etc.). (PR/20, PR/27).

Breaking changes

  • xHydro repository has renamed its primary development branch from master to main. (PR/13).
  • xHydro now requires a conda environment to be installed. (PR/21).

Bug fixes

  • N/A

Internal changes

  • Added a Pull Request template. (PR/14).
  • Various updates to the autogenerated boilerplate (Ouranosinc/cookiecutter-pypackage) via cruft. (PR/11, PR/12, PR/13):
    • General updates to pre-commit hooks, development dependencies, documentation.
    • Added configurations for Pull Request and Issues templates, Zenodo.
    • Documentation now makes use of sphinx directives for usernames, issues, and pull request hyperlinks (via sphinx.ext.extlinks). (GH/15).
    • GitHub Workflows have been added for automated testing, and publishing.
    • Some sphinx extensions have been added/enabled (sphinx-codeautolink, sphinx-copybutton).
    • Automated testing with tox now updated to use v4.0+ conventions.
    • Removed all references to travis.ci.
  • Deployments to TestPyPI and PyPI are now run using GitHub Workflow Environments as a safeguarding mechanism. (PR/28).
  • Various cleanups of the environment files. (GH/23, PR/30).
  • xhydro now uses the trusted publishing mechanism for PyPI and TestPyPI deployment. (PR/32).
  • Added tests. (PR/27).