diff --git a/CHANGES.rst b/CHANGES.rst index 13039c828..c3aebc195 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -2,18 +2,19 @@ Changelog ========= -v0.50.0 (unreleased) +v0.50.0 (2024-06-17) -------------------- Contributors to this version: Trevor James Smith (:user:`Zeitsperre`), Éric Dupuis (:user:`coxipi`). New features and enhancements ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -* New properties: Bivariate Spell Length (``xclim.sdba.properties.bivariate_spell_length``), generalized spell lengths with an argument for `window`, and specific spell lengths with `window` fixed to 1 (``xclim.sdba.propertiies.threshold_count``, ``xclim.sdba.propertiies.bivariate_threshold_count``). (:pull:`1758`). -* New option `normalize` in ``sdba.measures.taylordiagram`` to obtain normalized Taylor diagrams (divide standard deviations by standard deviation of the reference). (:pull:`1764`). +* New properties: Bivariate Spell Length (``xclim.sdba.properties.bivariate_spell_length``), Generalized Spell Lengths with an argument for `window`, and Specific Spell Lengths with `window` fixed to '1' (``xclim.sdba.properties.threshold_count``, ``xclim.sdba.properties.bivariate_threshold_count``). (:pull:`1758`). +* New option `normalize` in ``sdba.measures.taylordiagram`` to obtain normalized Taylor Diagrams (divide standard deviations by standard deviation of the reference). (:pull:`1764`). Breaking changes ^^^^^^^^^^^^^^^^ * `pint` has been pinned below v0.24 until `xclim` can be updated to support the latest version. (:issue:`1771`, :pull:`1772`). +* `numpy` has been pinned below v2.0.0 until `xclim` can be updated to support the latest version. (:pull:`1783`). * Calendar utilities that have an equivalent in `xarray` have been deprecated and will be removed in `xclim` v0.51.0. (:issue:`1010`, :pull:`1761`). This concerns the following members of ``xclim.core.calendar``: - ``convert_calendar`` : Use ``Dataset.convert_calendar``, ``DataArray.convert_calendar`` or ``xr.coding.calendar_ops.convert_calendar`` instead. + If your code passes ``target`` as an array, first convert the source to the target's calendar and then reindex the result to ``target``. @@ -24,7 +25,6 @@ Breaking changes - ``interp_calendar`` : Use ``Dataset.interp_calendar`` or ``xarray.coding.calendar_ops.interp_calendar`` instead. - ``days_in_year`` : Use ``xarray.coding.calendar_ops._days_in_year`` instead. - ``datetime_to_decimal_year`` : Use ``xarray.coding.calendar_ops._datetime_to_decimal_year`` instead. -* `numpy` has been pinned below v2.0.0 until `xclim` can be updated to support the latest version. (:pull:`1783`). Internal changes ^^^^^^^^^^^^^^^^ diff --git a/pyproject.toml b/pyproject.toml index b5e99efe8..eaa750164 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -128,7 +128,7 @@ target-version = [ ] [tool.bumpversion] -current_version = "0.49.1-dev.6" +current_version = "0.50.0" commit = true commit_args = "--no-verify" tag = false diff --git a/xclim/__init__.py b/xclim/__init__.py index 7320539d3..c36d17c15 100644 --- a/xclim/__init__.py +++ b/xclim/__init__.py @@ -13,7 +13,7 @@ __author__ = """Travis Logan""" __email__ = "logan.travis@ouranos.ca" -__version__ = "0.49.1-dev.6" +__version__ = "0.50.0" with _resources.as_file(_resources.files("xclim.data")) as _module_data: