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
On this page
Latest version 0.27.0, released November 13, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
river 0.27.0 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 - Removed
river.imblearn.hard_sampling.HardSampling.predict_one
HardSampling.predict_one was removed in river 0.27.0 pypi.org - Removed
river.neighbors.ann.swinn.utils
river.neighbors.ann.swinn.utils was removed in river 0.27.0 pypi.org - Removed
river.neighbors.knn_regressor.utils
river.neighbors.knn_regressor.utils was removed in river 0.27.0 pypi.org - Removed
river.neighbors.lazy.utils
river.neighbors.lazy.utils was removed in river 0.27.0 pypi.org - Removed
river.stream.twitch_chat_stream.ChatMessageItem.__init__
ChatMessageItem() was removed in river 0.27.0 pypi.org - Removed
river.tree.last_classifier.LeafMajorityClassWithDetector.split_criterion
LeafMajorityClassWithDetector.split_criterion was removed in river 0.27.0 pypi.org - 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 - 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 - Removed
river.tree.mondrian.mondrian_tree_classifier.MondrianBranchClassifier
river.tree.mondrian.mondrian_tree_classifier.MondrianBranchClassifier was removed in river 0.27.0 pypi.org - Removed
river.tree.mondrian.mondrian_tree_classifier.MondrianLeafClassifier
river.tree.mondrian.mondrian_tree_classifier.MondrianLeafClassifier was removed in river 0.27.0 pypi.org - Removed
river.tree.mondrian.mondrian_tree_classifier.MondrianNodeClassifier
river.tree.mondrian.mondrian_tree_classifier.MondrianNodeClassifier was removed in river 0.27.0 pypi.org - 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 - Removed
river.tree.mondrian.mondrian_tree_nodes
river.tree.mondrian.mondrian_tree_nodes was removed in river 0.27.0 pypi.org - 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 - 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 - Removed
river.tree.mondrian.mondrian_tree_regressor.MondrianBranchRegressor
river.tree.mondrian.mondrian_tree_regressor.MondrianBranchRegressor was removed in river 0.27.0 pypi.org - Removed
river.tree.mondrian.mondrian_tree_regressor.MondrianLeafRegressor
river.tree.mondrian.mondrian_tree_regressor.MondrianLeafRegressor was removed in river 0.27.0 pypi.org - Removed
river.tree.mondrian.mondrian_tree_regressor.MondrianNodeRegressor
river.tree.mondrian.mondrian_tree_regressor.MondrianNodeRegressor was removed in river 0.27.0 pypi.org - 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 - Removed
river.utils.VectorDict.get
VectorDict.get was removed in river 0.27.0 pypi.org - 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 - 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 - 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 - 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 - Signature changed
river.cluster.TextClust.Distances.dist
Was def dist(self, m1, m2, idf); now dist. pypi.org - Signature changed
river.cluster.textclust.TextClust.Distances.dist
Was def dist(self, m1, m2, idf); now dist. pypi.org - Signature changed
river.covariance.emp.SymmetricMatrix
Was class SymmetricMatrix(abc.ABC); now class SymmetricMatrix(abc.ABC, typing.Generic[_ValueT]). pypi.org - Signature changed
river.covariance.emp.SymmetricMatrix.matrix
Was matrix: dict; now matrix: dict[MatrixKey, _ValueT]. pypi.org - Signature changed
river.covariance.EmpiricalCovariance
Was class EmpiricalCovariance(SymmetricMatrix); now class EmpiricalCovariance(SymmetricMatrix[typing.Any]). pypi.org - 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 - 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 - Signature changed
river.covariance.EmpiricalPrecision
Was class EmpiricalPrecision(SymmetricMatrix); now class EmpiricalPrecision(SymmetricMatrix[float]). pypi.org - Signature changed
river.covariance.EmpiricalPrecision.matrix
Was matrix: dict; now matrix: dict[MatrixKey, float]. pypi.org - Signature changed
river.covariance.EwaCovariance.matrix
Was matrix: dict; now matrix: dict[MatrixKey, float]. pypi.org - Signature changed
river.covariance.EwaCovariance.update
Was def update(self, x: dict); now def update(self, x: dict[typing.Any, float]) -> None. pypi.org - Signature changed
river.covariance.EwaPrecision.matrix
Was matrix: dict; now matrix: dict[MatrixKey, float]. pypi.org - Signature changed
river.covariance.EwaPrecision.update
Was def update(self, x: dict); now def update(self, x: dict[typing.Any, float]) -> None. pypi.org - Signature changed
river.covariance.LedoitWolfCovariance.matrix
Was matrix: dict; now matrix: dict[MatrixKey, float]. pypi.org - Signature changed
river.covariance.LedoitWolfCovariance.update
Was def update(self, x: dict); now def update(self, x: dict[typing.Any, float]) -> None. pypi.org - Signature changed
river.covariance.OASCovariance.matrix
Was matrix: dict; now matrix: dict[MatrixKey, float]. pypi.org - Signature changed
river.covariance.OASCovariance.update
Was def update(self, x: dict); now def update(self, x: dict[typing.Any, float]) -> None. pypi.org - Signature changed
river.covariance.ShrunkCovariance.matrix
Was matrix: dict; now matrix: dict[MatrixKey, float]. pypi.org - Signature changed
river.covariance.ShrunkCovariance.update
Was def update(self, x: dict); now def update(self, x: dict[typing.Any, float]) -> None. pypi.org - 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 - Signature changed
river.drift.ADWIN.width
Was width: int; now width: float. pypi.org - Signature changed
river.drift.DriftRetrainingClassifier
Was class DriftRetrainingClassifier(base.Wrapper, base.Classifier); now class DriftRetrainingClassifier(base.Wrapper[base.Classifier], base.Classifier). pypi.org - 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 - 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 - Signature changed
river.feature_selection.SelectKBest.leaderboard
Was leaderboard: typing.Counter; now leaderboard: typing.Counter[base.typing.FeatureName]. pypi.org
And 104 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.