From 34ba8a5f97403eca8271947728e7ac8040c1e784 Mon Sep 17 00:00:00 2001
From: Geoffrey Bolmier <geoffrey.bolmier@gmail.com>
Date: Sat, 23 Nov 2024 18:13:42 -0500
Subject: [PATCH] Release 0.22.0

---
 docs/releases/0.22.0.md     | 33 +++++++++++++++++++++++++++++++++
 docs/releases/unreleased.md | 32 --------------------------------
 pyproject.toml              |  2 +-
 river/__version__.py        |  2 +-
 4 files changed, 35 insertions(+), 34 deletions(-)
 create mode 100644 docs/releases/0.22.0.md

diff --git a/docs/releases/0.22.0.md b/docs/releases/0.22.0.md
new file mode 100644
index 0000000000..a8781f95c5
--- /dev/null
+++ b/docs/releases/0.22.0.md
@@ -0,0 +1,33 @@
+# 0.22.0 - 2024-11-23
+
+- Dropped support for Python 3.9 and added support for Python 3.13.
+- The methods `learn_one`, `learn_many`, `update`, `revert`, and `append` now return `None`.
+- The units used in River have been corrected to be based on powers of 2 (KiB, MiB). This only changes the display, the behaviour is unchanged.
+
+## cluster
+
+- Update the description of `cluster.ODAC`.
+- Change `draw` in `cluster.ODAC` to draw the hierarchical cluster's structure as a Graphviz graph.
+- Add `render_ascii` in `cluster.ODAC` to render the hierarchical cluster's structure in text format.
+- Work with `stats.Var` in `cluster.ODAC` when cluster has only one time series.
+
+## drift
+
+- Make `drift.ADWIN` comply with the reference MOA implementation.
+
+## feature extraction
+
+- The mini-batch methods for `feature_extraction.TFIDF` now systematically raise an exception, as they are not implemented.
+
+## stats
+
+- Removed the unexported class `stats.CentralMoments`.
+
+## tree
+
+- Instead of letting trees grow indefinitely, setting the `max_depth` parameter to `None` will stop the trees from growing when they reach the system recursion limit.
+- Added `tree.LASTClassifier` (Local Adaptive Streaming Tree Classifier).
+
+## stream
+
+- `stream.iter_arff` now supports blank values (treated as missing values).
diff --git a/docs/releases/unreleased.md b/docs/releases/unreleased.md
index b59cb1a54f..79e701b844 100644
--- a/docs/releases/unreleased.md
+++ b/docs/releases/unreleased.md
@@ -1,33 +1 @@
 # Unreleased
-
-- The units used in River have been corrected to be based on powers of 2 (KiB, MiB). This only changes the display, the behaviour is unchanged.
-- The methods `learn_one`, `learn_many`, `update`, `revert`, and `append` now return `None`.
-- Dropped support for Python 3.9 and added support for Python 3.13.
-
-## cluster
-
-- Update the description of `cluster.ODAC`.
-- Change `draw` in `cluster.ODAC` to draw the hierarchical cluster's structure as a Graphviz graph.
-- Add `render_ascii` in `cluster.ODAC` to render the hierarchical cluster's structure in text format.
-- Work with `stats.Var` in `cluster.ODAC` when cluster has only one time series.
-
-## drift
-
-- Make `drift.ADWIN` comply with the reference MOA implementation.
-
-## feature extraction
-
-- The mini-batch methods for `feature_extraction.TFIDF` now systematically raise an exception, as they are not implemented.
-
-## stats
-
-- Removed the unexported class `stats.CentralMoments`.
-
-## tree
-
-- Instead of letting trees grow indefinitely, setting the `max_depth` parameter to `None` will stop the trees from growing when they reach the system recursion limit.
-- Added `tree.LASTClassifier` (Local Adaptive Streaming Tree Classifier).
-
-## stream
-
-- `stream.iter_arff` now supports blank values (treated as missing values).
diff --git a/pyproject.toml b/pyproject.toml
index bf5974d833..346c94489a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -10,7 +10,7 @@ build-backend = "poetry.core.masonry.api"
 
 [tool.poetry]
 name = "river"
-version = "0.21.2"
+version = "0.22.0"
 description = "Online machine learning in Python"
 readme = "README.md"
 homepage = "https://riverml.xyz/"
diff --git a/river/__version__.py b/river/__version__.py
index f31b3c83c6..2f4ea6d110 100644
--- a/river/__version__.py
+++ b/river/__version__.py
@@ -1,3 +1,3 @@
 from __future__ import annotations
 
-__version__ = "0.21.2"
+__version__ = "0.22.0"