mlpack breaking changes
mlpack 4.0.0 is its newest release with breaking changes, 9 of them. The first: Boost serialization replaced by Cereal in mlpack 4.0.0. Every breaking API change we have recorded in mlpack on vcpkg: 9 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 4.8.0. Source repository
mlpack 4.0.0 breaking changes
- Removed
Model serialization now uses Cereal instead of Boost serialization, which may affect saved models. github.com - Removed
boost.visitor
Model classes for knn, kfn, cf, range_search, krann and kde no longer use boost::visitor. github.com - Removed
ElemType
The unused ElemType template parameter was removed from DecisionTree and RandomForest, so code specifying it must be updated. github.com - Behavior changed
mlpack_test
The mlpack_test target is no longer built as part of make all; build tests with make mlpack_test. github.com - Behavior changed
NegativeLogLikelihood
Class labels passed to NegativeLogLikelihood must now be in the range 0 to numClasses - 1; code using other label ranges must be updated. github.com - Default changed
Bindings are disabled by default in CMake and the autodownloader is disabled by default, so builds must enable them explicitly. github.com - Configuration changed
All language bindings are now off by default in CMake and must be enabled explicitly. github.com - Configuration changed
Code must be compiled with C++14 or later to use this release. github.com - Configuration changed
PYTHON_INSTALL_PREFIX
New option for Python binding install root; no change needed unless build scripts rely on previous install location. github.com
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.