---
title: "river 0.27.0 Breaking Changes on PyPI | Since.dev"
description: "What each river release removed, renamed or changed: 154 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/river
last_updated: 2026-12-04
---

# river breaking changes

river 0.27.0 (November 13, 2026) is its newest release with breaking changes, 154 of them. The first: Removed river.cluster.denstream.DenStreamMicroCluster.calc_norm_cf1_cf2. Every breaking API change we have recorded in river on PyPI: 154 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.27.0`, released November 13, 2026. [Source repository](https://github.com/online-ml/river)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

## river 0.27.0 breaking changes

river 0.27.0, released November 13, 2026: 154 breaking changes.

- **Removed** `river.cluster.denstream.DenStreamMicroCluster.calc_norm_cf1_cf2`  

DenStreamMicroCluster.calc_norm_cf1_cf2 was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.imblearn.hard_sampling.HardSampling.predict_one`  

HardSampling.predict_one was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.neighbors.ann.swinn.utils`  

river.neighbors.ann.swinn.utils was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.neighbors.knn_regressor.utils`  

river.neighbors.knn_regressor.utils was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.neighbors.lazy.utils`  

river.neighbors.lazy.utils was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.stream.twitch_chat_stream.ChatMessageItem.__init__`  

ChatMessageItem() was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.tree.last_classifier.LeafMajorityClassWithDetector.split_criterion`  

LeafMajorityClassWithDetector.split_criterion was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.tree.mondrian.mondrian_tree_classifier.go_downwards_classifier_c`  

river.tree.mondrian.mondrian_tree_classifier.go_downwards_classifier_c was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.tree.mondrian.mondrian_tree_classifier.go_upwards_c`  

river.tree.mondrian.mondrian_tree_classifier.go_upwards_c was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.tree.mondrian.mondrian_tree_classifier.MondrianBranchClassifier`  

river.tree.mondrian.mondrian_tree_classifier.MondrianBranchClassifier was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.tree.mondrian.mondrian_tree_classifier.MondrianLeafClassifier`  

river.tree.mondrian.mondrian_tree_classifier.MondrianLeafClassifier was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.tree.mondrian.mondrian_tree_classifier.MondrianNodeClassifier`  

river.tree.mondrian.mondrian_tree_classifier.MondrianNodeClassifier was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.tree.mondrian.mondrian_tree_classifier.predict_proba_classifier_c`  

river.tree.mondrian.mondrian_tree_classifier.predict_proba_classifier_c was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.tree.mondrian.mondrian_tree_nodes`  

river.tree.mondrian.mondrian_tree_nodes was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.tree.mondrian.mondrian_tree_regressor.go_downwards_regressor_c`  

river.tree.mondrian.mondrian_tree_regressor.go_downwards_regressor_c was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.tree.mondrian.mondrian_tree_regressor.go_upwards_c`  

river.tree.mondrian.mondrian_tree_regressor.go_upwards_c was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.tree.mondrian.mondrian_tree_regressor.MondrianBranchRegressor`  

river.tree.mondrian.mondrian_tree_regressor.MondrianBranchRegressor was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.tree.mondrian.mondrian_tree_regressor.MondrianLeafRegressor`  

river.tree.mondrian.mondrian_tree_regressor.MondrianLeafRegressor was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.tree.mondrian.mondrian_tree_regressor.MondrianNodeRegressor`  

river.tree.mondrian.mondrian_tree_regressor.MondrianNodeRegressor was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.tree.mondrian.mondrian_tree_regressor.predict_one_regressor_c`  

river.tree.mondrian.mondrian_tree_regressor.predict_one_regressor_c was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Removed** `river.utils.VectorDict.get`  

VectorDict.get was removed in river 0.27.0 [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.cluster.clustream.euclidean_distance_dict`  

Was def euclidean_distance_dict(a: dict\[Incomplete, Incomplete\], b: dict\[Incomplete, Incomplete\]) -> float; now def euclidean_distance_dict(a: Mapping\[Any, float\], b: Mapping\[Any, float\]) -> float. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.cluster.denstream.euclidean_distance_dict`  

Was def euclidean_distance_dict(a: dict\[Incomplete, Incomplete\], b: dict\[Incomplete, Incomplete\]) -> float; now def euclidean_distance_dict(a: Mapping\[Any, float\], b: Mapping\[Any, float\]) -> float. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.cluster.streamkmeans.euclidean_distance_dict`  

Was def euclidean_distance_dict(a: dict\[Incomplete, Incomplete\], b: dict\[Incomplete, Incomplete\]) -> float; now def euclidean_distance_dict(a: Mapping\[Any, float\], b: Mapping\[Any, float\]) -> float. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.cluster.TextClust.__init__`  

Was def \_\_init\_\_(self, radius=0.3, fading_factor=0.0005, tgap=100, term_fading=True, real_time_fading=True, micro_distance='tfidf_cosine_distance', macro_distance='tfidf_cosine_distance', num_macro=3, min_weight=0, auto_r=False... [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.cluster.TextClust.Distances.dist`  

Was def dist(self, m1, m2, idf); now dist. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.cluster.textclust.TextClust.Distances.dist`  

Was def dist(self, m1, m2, idf); now dist. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.covariance.emp.SymmetricMatrix`  

Was class SymmetricMatrix(abc.ABC); now class SymmetricMatrix(abc.ABC, typing.Generic\[\_ValueT\]). [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.covariance.emp.SymmetricMatrix.matrix`  

Was matrix: dict; now matrix: dict\[MatrixKey, \_ValueT\]. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.covariance.EmpiricalCovariance`  

Was class EmpiricalCovariance(SymmetricMatrix); now class EmpiricalCovariance(SymmetricMatrix\[typing.Any\]). [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.covariance.EmpiricalCovariance.revert`  

Was def revert(self, x: dict, w: float = 1.0); now def revert(self, x: dict\[typing.Any, float\], w: float = 1.0) -> None. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.covariance.EmpiricalCovariance.update`  

Was def update(self, x: dict, w: float = 1.0); now def update(self, x: dict\[typing.Any, float\], w: float = 1.0) -> None. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.covariance.EmpiricalPrecision`  

Was class EmpiricalPrecision(SymmetricMatrix); now class EmpiricalPrecision(SymmetricMatrix\[float\]). [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.covariance.EmpiricalPrecision.matrix`  

Was matrix: dict; now matrix: dict\[MatrixKey, float\]. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.covariance.EwaCovariance.matrix`  

Was matrix: dict; now matrix: dict\[MatrixKey, float\]. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.covariance.EwaCovariance.update`  

Was def update(self, x: dict); now def update(self, x: dict\[typing.Any, float\]) -> None. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.covariance.EwaPrecision.matrix`  

Was matrix: dict; now matrix: dict\[MatrixKey, float\]. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.covariance.EwaPrecision.update`  

Was def update(self, x: dict); now def update(self, x: dict\[typing.Any, float\]) -> None. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.covariance.LedoitWolfCovariance.matrix`  

Was matrix: dict; now matrix: dict\[MatrixKey, float\]. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.covariance.LedoitWolfCovariance.update`  

Was def update(self, x: dict); now def update(self, x: dict\[typing.Any, float\]) -> None. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.covariance.OASCovariance.matrix`  

Was matrix: dict; now matrix: dict\[MatrixKey, float\]. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.covariance.OASCovariance.update`  

Was def update(self, x: dict); now def update(self, x: dict\[typing.Any, float\]) -> None. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.covariance.ShrunkCovariance.matrix`  

Was matrix: dict; now matrix: dict\[MatrixKey, float\]. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.covariance.ShrunkCovariance.update`  

Was def update(self, x: dict); now def update(self, x: dict\[typing.Any, float\]) -> None. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.datasets.base.RemoteDataset.__init__`  

Was def \_\_init\_\_(self, url, size, unpack=True, filename=None, \*\*desc); now def \_\_init\_\_(self, url, size, unpack=True, filename=None, archive_name=None, \*\*desc). [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.drift.ADWIN.width`  

Was width: int; now width: float. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.drift.DriftRetrainingClassifier`  

Was class DriftRetrainingClassifier(base.Wrapper, base.Classifier); now class DriftRetrainingClassifier(base.Wrapper\[base.Classifier\], base.Classifier). [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.drift.DummyDriftDetector.clone`  

Was def clone(self); now def clone(self, new_params: dict\[str, typing.Any\] | None = None, include_attributes: bool = False) -> DummyDriftDetector. [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.drift.KSWIN.__init__`  

Was def \_\_init\_\_(self, alpha: float = 0.005, window_size: int = 100, stat_size: int = 30, seed: int | None = None, window: typing.Iterable | None = None); now def \_\_init\_\_(self, alpha: float = 0.005, window_size: int = 100, stat_size: int... [pypi.org](https://pypi.org/project/river/0.27.0/)
- **Signature changed** `river.feature_selection.SelectKBest.leaderboard`  

Was leaderboard: typing.Counter; now leaderboard: typing.Counter\[base.typing.FeatureName\]. [pypi.org](https://pypi.org/project/river/0.27.0/)

And 104 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
