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

# xgboost breaking changes

xgboost 2.0.0 (September 12, 2023) is its newest release with breaking changes, 16 of them. The first: Scala-based tracker removed from JVM packages in xgboost 2.0.0. Every breaking API change we have recorded in xgboost on PyPI: 16 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 `3.4.1`, released August 15, 2026. [Source repository](https://github.com/dmlc/xgboost)

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

## xgboost 2.0.0 breaking changes

xgboost 2.0.0, released September 12, 2023: 16 breaking changes.

- **Removed**  

The Scala-based tracker has been removed from the JVM packages. [github.com](https://github.com/dmlc/xgboost/releases/tag/v2.0.0)
- **Removed** `cpu_predictor`  

Use the device parameter instead of cpu_predictor. [github.com](https://github.com/dmlc/xgboost/releases/tag/v2.0.0)
- **Removed** `DeviceQuantileDmatrix`  

Use QuantileDMatrix in place of DeviceQuantileDmatrix in JVM packages. [github.com](https://github.com/dmlc/xgboost/releases/tag/v2.0.0)
- **Removed** `gpu_coord_descent`  

Use the device parameter instead of gpu_coord_descent. [github.com](https://github.com/dmlc/xgboost/releases/tag/v2.0.0)
- **Removed** `gpu_id`  

Use the device parameter to select the device and its ordinal instead of gpu_id. [github.com](https://github.com/dmlc/xgboost/releases/tag/v2.0.0)
- **Removed** `gpu_predictor`  

Use the device parameter instead of gpu_predictor. [github.com](https://github.com/dmlc/xgboost/releases/tag/v2.0.0)
- **Removed** `ntree_limit`  

The ntree_limit argument was removed; it had been deprecated in earlier versions. [github.com](https://github.com/dmlc/xgboost/releases/tag/v2.0.0)
- **Removed** `predictor`  

The predictor parameter no longer exists; device selects where prediction runs. [github.com](https://github.com/dmlc/xgboost/releases/tag/v2.0.0)
- **Removed** `save_model`  

Parameters in the save_model call for the scikit-learn interface were removed. [github.com](https://github.com/dmlc/xgboost/releases/tag/v2.0.0)
- **Behavior changed**  

Users must specify the format for text input; prefer numpy arrays or other data structures instead. [github.com](https://github.com/dmlc/xgboost/releases/tag/v2.0.0)
- **Behavior changed**  

The old setup.py is replaced by pyproject.toml; consult the latest docs for build and install instructions. [github.com](https://github.com/dmlc/xgboost/releases/tag/v2.0.0)
- **Behavior changed** `best_iteration`  

best_iteration is now set only if early stopping is used, matching the documented behavior. [github.com](https://github.com/dmlc/xgboost/releases/tag/v2.0.0)
- **Behavior changed** `DataIter`  

DataIter now accepts only keyword arguments; update calls that pass positional arguments. [github.com](https://github.com/dmlc/xgboost/releases/tag/v2.0.0)
- **Behavior changed** `sklearn`  

Feature validation is now immutable; check code that relied on earlier validation behavior. [github.com](https://github.com/dmlc/xgboost/releases/tag/v2.0.0)
- **Default changed** `objective`  

For learning-to-rank, NDCG is now the default objective function. [github.com](https://github.com/dmlc/xgboost/releases/tag/v2.0.0)
- **Default changed** `tree_method`  

Previously XGBoost chose approx or exact automatically; now hist is the default, so set tree_method explicitly to keep old behavior. [github.com](https://github.com/dmlc/xgboost/releases/tag/v2.0.0)

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