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
On this page
Latest version 0.6.0, released November 10, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
umap-learn 0.6.0 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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 - 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
umap-learn 0.6.0rc1 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 - 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
umap-learn 0.5.0 breaking changes
- Removed
umap.nndescent
umap.nndescent was removed in umap-learn 0.5.0 pypi.org - Removed
umap.plot.deheap_sort
umap.plot.deheap_sort was removed in umap-learn 0.5.0 pypi.org - Removed
umap.plot.initialise_search
umap.plot.initialise_search was removed in umap-learn 0.5.0 pypi.org - Removed
umap.plot.initialized_nnd_search
umap.plot.initialized_nnd_search was removed in umap-learn 0.5.0 pypi.org - Removed
umap.rp_tree
umap.rp_tree was removed in umap-learn 0.5.0 pypi.org - Removed
umap.sparse_nndescent
umap.sparse_nndescent was removed in umap-learn 0.5.0 pypi.org - Removed
umap.sparse.build_candidates
umap.sparse.build_candidates was removed in umap-learn 0.5.0 pypi.org - Removed
umap.sparse.deheap_sort
umap.sparse.deheap_sort was removed in umap-learn 0.5.0 pypi.org - Removed
umap.sparse.heap_push
umap.sparse.heap_push was removed in umap-learn 0.5.0 pypi.org - Removed
umap.sparse.make_heap
umap.sparse.make_heap was removed in umap-learn 0.5.0 pypi.org
And 30 more in this version. Sign up to see every change
umap-learn 0.4.0 breaking changes
- Removed
umap.nndescent.build_candidates
umap.nndescent.build_candidates was removed in umap-learn 0.4.0 pypi.org - Removed
umap.nndescent.make_initialisations
umap.nndescent.make_initialisations was removed in umap-learn 0.4.0 pypi.org - Removed
umap.nndescent.make_initialized_nnd_search
umap.nndescent.make_initialized_nnd_search was removed in umap-learn 0.4.0 pypi.org - Removed
umap.nndescent.make_nn_descent
umap.nndescent.make_nn_descent was removed in umap-learn 0.4.0 pypi.org - Removed
umap.sparse.make_sparse_nn_descent
umap.sparse.make_sparse_nn_descent was removed in umap-learn 0.4.0 pypi.org - Removed
umap.umap_.categorical_simplicial_set_intersection
umap.umap_.categorical_simplicial_set_intersection was removed in umap-learn 0.4.0 pypi.org - Removed
umap.umap_.make_initialisations
umap.umap_.make_initialisations was removed in umap-learn 0.4.0 pypi.org - Removed
umap.umap_.make_initialized_nnd_search
umap.umap_.make_initialized_nnd_search was removed in umap-learn 0.4.0 pypi.org - Removed
umap.umap_.make_nn_descent
umap.umap_.make_nn_descent was removed in umap-learn 0.4.0 pypi.org - Removed
umap.umap_.optimize_layout
umap.umap_.optimize_layout was removed in umap-learn 0.4.0 pypi.org
And 11 more in this version. Sign up to see every change
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.