---
title: "umap-learn 0.6.0 Breaking Changes on PyPI | Since.dev"
description: "What each umap-learn release removed, renamed or changed: 80 breaking changes in 4 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/umap-learn
last_updated: 2026-12-04
---

# umap-learn breaking changes

umap-learn 0.6.0 (November 10, 2026) is its newest release with breaking changes, 17 of them. The first: Signature changed umap.aligned_umap.spectral_layout. Every breaking API change we have recorded in umap-learn on PyPI: 80 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.6.0`, released November 10, 2026. [Source repository](https://github.com/lmcinnes/umap)

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

- From [0.4.0](#v-0-4-0) to [0.6.0](#v-0-6-0): 59 breaking changes in 3 versions.

## umap-learn 0.6.0 breaking changes

umap-learn 0.6.0, released November 10, 2026: 17 breaking changes.

- **Signature changed** `umap.aligned_umap.spectral_layout`  

Was def spectral_layout(data, graph, dim, random_state, metric='euclidean', metric_kwds={}, tol=0.0, maxiter=0); now def spectral_layout(data, graph, dim, random_state, metric='euclidean', metric_kwds={}, tol=0.0, maxiter=0... [pypi.org](https://pypi.org/project/umap-learn/0.6.0/)
- **Signature changed** `umap.AlignedUMAP.__init__`  

Was def \_\_init\_\_(self, n_neighbors=15, n_components=2, metric='euclidean', metric_kwds=None, n_epochs=None, learning_rate=1.0, init='spectral', alignment_regularisation=0.01, alignment_window_size=3, min_dist=0.1, spread=1.0... [pypi.org](https://pypi.org/project/umap-learn/0.6.0/)
- **Signature changed** `umap.layouts.optimize_layout_euclidean`  

Was def optimize_layout_euclidean(head_embedding, tail_embedding, head, tail, n_epochs, n_vertices, epochs_per_sample, a, b, rng_state, gamma=1.0, initial_alpha=1.0, negative_sample_rate=5.0, parallel=False, verbose=False, densmap=False... [pypi.org](https://pypi.org/project/umap-learn/0.6.0/)
- **Signature changed** `umap.layouts.optimize_layout_generic`  

Was def optimize_layout_generic(head_embedding, tail_embedding, head, tail, n_epochs, n_vertices, epochs_per_sample, a, b, rng_state, gamma=1.0, initial_alpha=1.0, negative_sample_rate=5.0, output_metric=dist.euclidean... [pypi.org](https://pypi.org/project/umap-learn/0.6.0/)
- **Signature changed** `umap.parametric_umap.spectral_layout`  

Was def spectral_layout(data, graph, dim, random_state, metric='euclidean', metric_kwds={}, tol=0.0, maxiter=0); now def spectral_layout(data, graph, dim, random_state, metric='euclidean', metric_kwds={}, tol=0.0, maxiter=0... [pypi.org](https://pypi.org/project/umap-learn/0.6.0/)
- **Signature changed** `umap.spectral.component_layout`  

Was def component_layout(data, n_components, component_labels, dim, random_state, metric='euclidean', metric_kwds={}); now def component_layout(data, n_components, component_labels, dim, random_state, metric='euclidean', metric_kwds={}... [pypi.org](https://pypi.org/project/umap-learn/0.6.0/)
- **Signature changed** `umap.spectral.multi_component_layout`  

Was def multi_component_layout(data, graph, n_components, component_labels, dim, random_state, metric='euclidean', metric_kwds={}, init='random', tol=0.0, maxiter=0); now def multi_component_layout(data, graph, n_components... [pypi.org](https://pypi.org/project/umap-learn/0.6.0/)
- **Signature changed** `umap.spectral.spectral_layout`  

Was def spectral_layout(data, graph, dim, random_state, metric='euclidean', metric_kwds={}, tol=0.0, maxiter=0); now def spectral_layout(data, graph, dim, random_state, metric='euclidean', metric_kwds={}, tol=0.0, maxiter=0... [pypi.org](https://pypi.org/project/umap-learn/0.6.0/)
- **Signature changed** `umap.spectral.tswspectral_layout`  

Was def tswspectral_layout(data, graph, dim, random_state, metric='euclidean', metric_kwds={}, method=None, tol=0.0, maxiter=0); now def tswspectral_layout(data, graph, dim, random_state, metric='euclidean', metric_kwds={}, method=None... [pypi.org](https://pypi.org/project/umap-learn/0.6.0/)
- **Signature changed** `umap.umap_.fuzzy_simplicial_set`  

Was def fuzzy_simplicial_set(X, n_neighbors, random_state, metric, metric_kwds={}, knn_indices=None, knn_dists=None, angular=False, set_op_mix_ratio=1.0, local_connectivity=1.0, apply_set_operations=True, verbose=False, return_dists=None)... [pypi.org](https://pypi.org/project/umap-learn/0.6.0/)
- **Signature changed** `umap.umap_.nearest_neighbors`  

Was def nearest_neighbors(X, n_neighbors, metric, metric_kwds, angular, random_state, low_memory=True, use_pynndescent=True, n_jobs=-1, verbose=False); now def nearest_neighbors(X, n_neighbors, metric, metric_kwds, angular, random_state... [pypi.org](https://pypi.org/project/umap-learn/0.6.0/)
- **Signature changed** `umap.umap_.optimize_layout_euclidean`  

Was def optimize_layout_euclidean(head_embedding, tail_embedding, head, tail, n_epochs, n_vertices, epochs_per_sample, a, b, rng_state, gamma=1.0, initial_alpha=1.0, negative_sample_rate=5.0, parallel=False, verbose=False, densmap=False... [pypi.org](https://pypi.org/project/umap-learn/0.6.0/)
- **Signature changed** `umap.umap_.optimize_layout_generic`  

Was def optimize_layout_generic(head_embedding, tail_embedding, head, tail, n_epochs, n_vertices, epochs_per_sample, a, b, rng_state, gamma=1.0, initial_alpha=1.0, negative_sample_rate=5.0, output_metric=dist.euclidean... [pypi.org](https://pypi.org/project/umap-learn/0.6.0/)
- **Signature changed** `umap.umap_.simplicial_set_embedding`  

Was def simplicial_set_embedding(data, graph, n_components, initial_alpha, a, b, gamma, negative_sample_rate, n_epochs, init, random_state, metric, metric_kwds, densmap, densmap_kwds, output_dens... [pypi.org](https://pypi.org/project/umap-learn/0.6.0/)
- **Signature changed** `umap.umap_.spectral_layout`  

Was def spectral_layout(data, graph, dim, random_state, metric='euclidean', metric_kwds={}, tol=0.0, maxiter=0); now def spectral_layout(data, graph, dim, random_state, metric='euclidean', metric_kwds={}, tol=0.0, maxiter=0... [pypi.org](https://pypi.org/project/umap-learn/0.6.0/)
- **Signature changed** `umap.umap_.tswspectral_layout`  

Was def tswspectral_layout(data, graph, dim, random_state, metric='euclidean', metric_kwds={}, method=None, tol=0.0, maxiter=0); now def tswspectral_layout(data, graph, dim, random_state, metric='euclidean', metric_kwds={}, method=None... [pypi.org](https://pypi.org/project/umap-learn/0.6.0/)
- **Signature changed** `umap.UMAP.__init__`  

Was def \_\_init\_\_(self, n_neighbors=15, n_components=2, metric='euclidean', metric_kwds=None, output_metric='euclidean', output_metric_kwds=None, n_epochs=None, learning_rate=1.0, init='spectral', min_dist=0.1, spread=1.0, low_memory=True... [pypi.org](https://pypi.org/project/umap-learn/0.6.0/)

## umap-learn 0.6.0rc1 breaking changes

umap-learn 0.6.0rc1, released November 10, 2026: 2 breaking changes.

- **Behavior changed** `fit_transform`  

fit_transform output keeps the dtype of the input data, so code that assumed the previous output dtype may need to change. [github.com](https://github.com/lmcinnes/umap/releases/tag/release-0.6.0rc1)
- **Behavior changed** `transform`  

transform output keeps the dtype of the input data, so code that assumed the previous output dtype may need to change. [github.com](https://github.com/lmcinnes/umap/releases/tag/release-0.6.0rc1)

## umap-learn 0.5.0 breaking changes

umap-learn 0.5.0, released January 11, 2021: 40 breaking changes.

- **Removed** `umap.nndescent`  

umap.nndescent was removed in umap-learn 0.5.0 [pypi.org](https://pypi.org/project/umap-learn/0.5.0/)
- **Removed** `umap.plot.deheap_sort`  

umap.plot.deheap_sort was removed in umap-learn 0.5.0 [pypi.org](https://pypi.org/project/umap-learn/0.5.0/)
- **Removed** `umap.plot.initialise_search`  

umap.plot.initialise_search was removed in umap-learn 0.5.0 [pypi.org](https://pypi.org/project/umap-learn/0.5.0/)
- **Removed** `umap.plot.initialized_nnd_search`  

umap.plot.initialized_nnd_search was removed in umap-learn 0.5.0 [pypi.org](https://pypi.org/project/umap-learn/0.5.0/)
- **Removed** `umap.rp_tree`  

umap.rp_tree was removed in umap-learn 0.5.0 [pypi.org](https://pypi.org/project/umap-learn/0.5.0/)
- **Removed** `umap.sparse_nndescent`  

umap.sparse_nndescent was removed in umap-learn 0.5.0 [pypi.org](https://pypi.org/project/umap-learn/0.5.0/)
- **Removed** `umap.sparse.build_candidates`  

umap.sparse.build_candidates was removed in umap-learn 0.5.0 [pypi.org](https://pypi.org/project/umap-learn/0.5.0/)
- **Removed** `umap.sparse.deheap_sort`  

umap.sparse.deheap_sort was removed in umap-learn 0.5.0 [pypi.org](https://pypi.org/project/umap-learn/0.5.0/)
- **Removed** `umap.sparse.heap_push`  

umap.sparse.heap_push was removed in umap-learn 0.5.0 [pypi.org](https://pypi.org/project/umap-learn/0.5.0/)
- **Removed** `umap.sparse.make_heap`  

umap.sparse.make_heap was removed in umap-learn 0.5.0 [pypi.org](https://pypi.org/project/umap-learn/0.5.0/)

And 30 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## umap-learn 0.4.0 breaking changes

umap-learn 0.4.0, released April 7, 2020: 21 breaking changes.

- **Removed** `umap.nndescent.build_candidates`  

umap.nndescent.build_candidates was removed in umap-learn 0.4.0 [pypi.org](https://pypi.org/project/umap-learn/0.4.0/)
- **Removed** `umap.nndescent.make_initialisations`  

umap.nndescent.make_initialisations was removed in umap-learn 0.4.0 [pypi.org](https://pypi.org/project/umap-learn/0.4.0/)
- **Removed** `umap.nndescent.make_initialized_nnd_search`  

umap.nndescent.make_initialized_nnd_search was removed in umap-learn 0.4.0 [pypi.org](https://pypi.org/project/umap-learn/0.4.0/)
- **Removed** `umap.nndescent.make_nn_descent`  

umap.nndescent.make_nn_descent was removed in umap-learn 0.4.0 [pypi.org](https://pypi.org/project/umap-learn/0.4.0/)
- **Removed** `umap.sparse.make_sparse_nn_descent`  

umap.sparse.make_sparse_nn_descent was removed in umap-learn 0.4.0 [pypi.org](https://pypi.org/project/umap-learn/0.4.0/)
- **Removed** `umap.umap_.categorical_simplicial_set_intersection`  

umap.umap\_.categorical_simplicial_set_intersection was removed in umap-learn 0.4.0 [pypi.org](https://pypi.org/project/umap-learn/0.4.0/)
- **Removed** `umap.umap_.make_initialisations`  

umap.umap\_.make_initialisations was removed in umap-learn 0.4.0 [pypi.org](https://pypi.org/project/umap-learn/0.4.0/)
- **Removed** `umap.umap_.make_initialized_nnd_search`  

umap.umap\_.make_initialized_nnd_search was removed in umap-learn 0.4.0 [pypi.org](https://pypi.org/project/umap-learn/0.4.0/)
- **Removed** `umap.umap_.make_nn_descent`  

umap.umap\_.make_nn_descent was removed in umap-learn 0.4.0 [pypi.org](https://pypi.org/project/umap-learn/0.4.0/)
- **Removed** `umap.umap_.optimize_layout`  

umap.umap\_.optimize_layout was removed in umap-learn 0.4.0 [pypi.org](https://pypi.org/project/umap-learn/0.4.0/)

And 11 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

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