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

# 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

Latest version `4.8.0`. [Source repository](https://github.com/mlpack/mlpack)

## mlpack 4.0.0 breaking changes

mlpack 4.0.0: 9 breaking changes.

- **Removed**  

Model serialization now uses Cereal instead of Boost serialization, which may affect saved models. [github.com](https://github.com/mlpack/mlpack/blob/4.0.0/HISTORY.md)
- **Removed** `boost.visitor`  

Model classes for knn, kfn, cf, range_search, krann and kde no longer use boost::visitor. [github.com](https://github.com/mlpack/mlpack/blob/4.0.0/HISTORY.md)
- **Removed** `ElemType`  

The unused ElemType template parameter was removed from DecisionTree and RandomForest, so code specifying it must be updated. [github.com](https://github.com/mlpack/mlpack/blob/4.0.0/HISTORY.md)
- **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](https://github.com/mlpack/mlpack/blob/4.0.0/HISTORY.md)
- **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](https://github.com/mlpack/mlpack/blob/4.0.0/HISTORY.md)
- **Default changed**  

Bindings are disabled by default in CMake and the autodownloader is disabled by default, so builds must enable them explicitly. [github.com](https://github.com/mlpack/mlpack/blob/4.0.0/HISTORY.md)
- **Configuration changed**  

All language bindings are now off by default in CMake and must be enabled explicitly. [github.com](https://github.com/mlpack/mlpack/blob/4.0.0/HISTORY.md)
- **Configuration changed**  

Code must be compiled with C++14 or later to use this release. [github.com](https://github.com/mlpack/mlpack/blob/4.0.0/HISTORY.md)
- **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](https://github.com/mlpack/mlpack/blob/4.0.0/HISTORY.md)

## 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.
