linfa breaking changes
linfa 0.9.0 (November 23, 2026) is its newest release with breaking changes, 10 of them. The first: ROC curve now starts at the origin when scores are zero in linfa 0.9.0. Every breaking API change we have recorded in linfa on crates.io: 10 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.9.0, released November 23, 2026. Source repository
Its 0.9.0 release requires Rust 1.88.0 or later. Rust end of life dates.
linfa 0.9.0 breaking changes
- Behavior changed
The ROC curve now starts at the origin when scores are zero, which changes the returned curve and AUC values. github.com - Behavior changed
The multiclass macro F-score now averages per-class scores, so its returned values change. github.com - Behavior changed
explained_variance
The explained_variance regression metric now returns different values to match scikit-learn. Code that compares against stored results must be updated. github.com - Configuration changed
The minimum supported Rust version is now 1.88.0, so older toolchains will no longer build the package. github.com - Signature changed
linfa::dataset::DatasetBase::cross_validate
Was fn cross_validate<O, ER, M, FACC, C>(&'a mut self, k: usize, parameters: &[M], eval: C) -> std::result::Result<Array<FACC, I>, ER> where ER: std::error::Error + std::convert::From<crate::error::Error>, M: for<'c> Fit<ArrayView2<'c, F>... crates.io - Signature changed
linfa::dataset::DatasetBase::cross_validate_single
Was fn cross_validate_single<O, ER, M, FACC, C>(&'a mut self, k: usize, parameters: &[M], eval: C) -> std::result::Result<Array1<FACC>, ER> where ER: std::error::Error + std::convert::From<crate::error::Error>, M: for<'c>... crates.io - Signature changed
linfa::DatasetBase::cross_validate
Was fn cross_validate<O, ER, M, FACC, C>(&'a mut self, k: usize, parameters: &[M], eval: C) -> std::result::Result<Array<FACC, I>, ER> where ER: std::error::Error + std::convert::From<crate::error::Error>, M: for<'c> Fit<ArrayView2<'c, F>... crates.io - Signature changed
linfa::DatasetBase::cross_validate_single
Was fn cross_validate_single<O, ER, M, FACC, C>(&'a mut self, k: usize, parameters: &[M], eval: C) -> std::result::Result<Array1<FACC>, ER> where ER: std::error::Error + std::convert::From<crate::error::Error>, M: for<'c>... crates.io - Signature changed
linfa::prelude::DatasetBase::cross_validate
Was fn cross_validate<O, ER, M, FACC, C>(&'a mut self, k: usize, parameters: &[M], eval: C) -> std::result::Result<Array<FACC, I>, ER> where ER: std::error::Error + std::convert::From<crate::error::Error>, M: for<'c> Fit<ArrayView2<'c, F>... crates.io - Signature changed
linfa::prelude::DatasetBase::cross_validate_single
Was fn cross_validate_single<O, ER, M, FACC, C>(&'a mut self, k: usize, parameters: &[M], eval: C) -> std::result::Result<Array1<FACC>, ER> where ER: std::error::Error + std::convert::From<crate::error::Error>, M: for<'c>... crates.io
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.