librosa breaking changes
Updated December 4, 2026
On this page
Latest version 1.0.1, released November 12, 2026. Source repository
Its 0.10.0rc0 release drops Python 3.6. Python end of life dates.
- From 0.11.0 to 1.0.1: 161 breaking changes in 3 versions.
- From 0.10.0 to 1.0.1: 168 breaking changes in 4 versions.
librosa 1.0.1 breaking changes
- Behavior changed
Spectral features keep float32 input precision instead of returning float64, so code relying on the previous output dtype may see different results. github.com - Behavior changed
effects.harmonic
The window argument is now passed through to the underlying STFT and inverse STFT, which can change the output. github.com - Behavior changed
effects.hpss
The window argument is now passed through to the underlying STFT and inverse STFT, which can change the output. github.com - Behavior changed
effects.percussive
The window argument is now passed through to the underlying STFT and inverse STFT, which can change the output. github.com - Signature changed
librosa.cqt_frequencies
Was def cqt_frequencies(n_bins: int, *, fmin: float, bins_per_octave: int = 12, tuning: float = 0.0) -> _Array1D[np.float64]; now def cqt_frequencies(n_bins: int, *, fmin: float, bins_per_octave: int = 12, tuning: float = 0.0, dtype... pypi.org - Signature changed
librosa.effects.pitch_shift
pitch_shift no longer accepts arbitrary keyword arguments; STFT settings must be passed as the explicit named parameters. pypi.org - Signature changed
librosa.effects.time_stretch
time_stretch no longer accepts arbitrary keyword arguments; STFT settings must be passed as the explicit named parameters. pypi.org - Signature changed
librosa.feature.mfcc
Was def mfcc(*, y: np.ndarray | None = None, sr: float = 22050, S: np.ndarray | None = None, n_mfcc: int = 20, dct_type: _DCTType = 2, norm: _DCTNorm | None = 'ortho', lifter: float = 0, mel_norm: Literal['slaney'] | float | None =... pypi.org - Signature changed
librosa.feature.spectral_contrast
Was def spectral_contrast(*, y: np.ndarray | None = None, sr: float = 22050, S: np.ndarray | None = None, n_fft: int = 2048, hop_length: int = 512, win_length: int | None = None, window: _WindowSpec = 'hann', center: bool = True, pad_mode... pypi.org - Signature changed
librosa.fft_frequencies
Was def fft_frequencies(*, sr: float = 22050, n_fft: int = 2048) -> _Array1D[np.float64]; now def fft_frequencies(*, sr: float = 22050, n_fft: int = 2048, dtype: npt.DTypeLike = np.float64) -> np.ndarray. pypi.org - Signature changed
librosa.fourier_tempo_frequencies
Was def fourier_tempo_frequencies(*, sr: float = 22050, win_length: int = 384, hop_length: int = 512) -> _Array1D[np.float64]; now def fourier_tempo_frequencies(*, sr: float = 22050, win_length: int = 384, hop_length: int = 512, dtype... pypi.org - Signature changed
librosa.mel_frequencies
Was def mel_frequencies(n_mels: int = 128, *, fmin: float = 0.0, fmax: float = 11025.0, htk: bool = False) -> _Array1D[np.float64]; now def mel_frequencies(n_mels: int = 128, *, fmin: float = 0.0, fmax: float = 11025.0, htk: bool = False... pypi.org - Signature changed
librosa.onset.onset_strength
Was def onset_strength(*, y: np.ndarray | None = None, sr: float = 22050, S: np.ndarray | None = None, lag: int = 1, max_size: int = 1, ref: np.ndarray | None = None, detrend: bool = False, center: bool = True, feature: Callable | None =... pypi.org - Signature changed
librosa.onset.onset_strength_multi
Was def onset_strength_multi(*, y: np.ndarray | None = None, sr: float = 22050, S: np.ndarray | None = None, n_fft: int = 2048, hop_length: int = 512, lag: int = 1, max_size: int = 1, ref: np.ndarray | None = None, detrend: bool = False... pypi.org - Signature changed
librosa.tempo_frequencies
Was def tempo_frequencies(n_bins: int, *, hop_length: int = 512, sr: float = 22050) -> _Array1D[np.float64]; now def tempo_frequencies(n_bins: int, *, hop_length: int = 512, sr: float = 22050, dtype: npt.DTypeLike = np.float64) ->... pypi.org
librosa 1.0.0 breaking changes
- Removed
librosa.beat.tempo
librosa.beat.tempo was removed in librosa 1.0.0 pypi.org - Removed
librosa.core.fft
librosa.core.fft was removed in librosa 1.0.0 pypi.org - Removed
librosa.display.cmap
librosa.display.cmap was removed in librosa 1.0.0 pypi.org - Removed
librosa.filters.constant_q
librosa.filters.constant_q was removed in librosa 1.0.0 pypi.org - Removed
librosa.filters.constant_q_lengths
librosa.filters.constant_q_lengths was removed in librosa 1.0.0 pypi.org - Removed
librosa.get_fftlib
librosa.get_fftlib was removed in librosa 1.0.0 pypi.org - Removed
librosa.set_fftlib
librosa.set_fftlib was removed in librosa 1.0.0 pypi.org - Behavior changed
feature.rms
feature.rms now checks its audio input and rejects inputs it previously accepted. Make sure inputs are valid audio arrays. github.com - Behavior changed
nnls
The initialization used by nnls changed. Results from nnls may differ from earlier versions. github.com - Signature changed
librosa.A_weighting
Was def A_weighting(frequencies: _ScalarOrSequence[_FloatLike_co], *, min_db: Optional[float] = -80.0) -> Union[np.floating[Any], np.ndarray]; now def A_weighting(frequencies: _ScalarOrSequence[_FloatLike_co], *, min_db: float | None =... pypi.org
And 129 more in this version. Sign up to see every change
librosa 1.0.0rc0 breaking changes
- Removed
Deprecations scheduled for expiry were removed in this release. Code using the deprecated items must be updated. github.com - Renamed
display.melodyplot
The melodyplot display function was renamed to display.wavef0. Update calls to use the new name. github.com - Behavior changed
Functions now use SciPy sparray rather than spmatrix. Code passing or expecting spmatrix objects may need updating. github.com - Behavior changed
Random state parameters were changed to follow SPEC 7. Code depending on the previous seeding behavior may get different results. github.com - Behavior changed
note_to_hz
note_to_hz no longer applies default quantization. Code that relied on the old quantized output must now request quantization explicitly. github.com - Default changed
cqt
cqt infers n_bins automatically instead of using the previous default. Code relying on the old n_bins default may produce different output. github.com - Default changed
vqt
vqt infers n_bins automatically instead of using the previous default. Code relying on the old n_bins default may produce different output. github.com
librosa 0.11.0 breaking changes
- Signature changed
librosa.feature.mfcc
Was def mfcc(*, y: Optional[np.ndarray] = None, sr: float = 22050, S: Optional[np.ndarray] = None, n_mfcc: int = 20, dct_type: int = 2, norm: Optional[str] = 'ortho', lifter: float = 0, **kwargs: Any) -> np.ndarray; now def mfcc(*, y... pypi.org - Signature changed
librosa.pyin
Was def pyin(y: np.ndarray, *, fmin: float, fmax: float, sr: float = 22050, frame_length: int = 2048, win_length: Optional[int] = None, hop_length: Optional[int] = None, n_thresholds: int = 100, beta_parameters: Tuple[float, float] = (2... pypi.org - Signature changed
librosa.util.decorators.deprecated
Was def deprecated(*, version: str, version_removed: str) -> Callable[[Callable[..., Any]], Callable[..., Any]]; now def deprecated(*, version: str, version_removed: str) -> Callable[[Callable[P, R]], Callable[P, R]]. pypi.org - Signature changed
librosa.util.decorators.moved
Was def moved(*, moved_from: str, version: str, version_removed: str) -> Callable[[Callable[..., Any]], Callable[..., Any]]; now def moved(*, moved_from: str, version: str, version_removed: str) -> Callable[[Callable[P, R]], Callable[P... pypi.org - Signature changed
librosa.util.phasor
Was def phasor(angles: Union[np.ndarray, _Real], *, mag: Optional[Union[np.ndarray, _Number]] = None) -> Union[np.ndarray, np.complex_]; now def phasor(angles: Union[np.ndarray, _Real], *, mag: Optional[Union[np.ndarray, _Number]] = None)... pypi.org - Signature changed
librosa.util.valid_audio
Was def valid_audio(y: np.ndarray, *, mono: Union[bool, Deprecated] = Deprecated()) -> bool; now def valid_audio(y: np.ndarray) -> bool. pypi.org - Signature changed
librosa.yin
Was def yin(y: np.ndarray, *, fmin: float, fmax: float, sr: float = 22050, frame_length: int = 2048, win_length: Optional[int] = None, hop_length: Optional[int] = None, trough_threshold: float = 0.1, center: bool = True, pad_mode: _PadMode... pypi.org
librosa 0.10.0 breaking changes
- Removed
Positional arguments that were deprecated are no longer accepted, so code must pass them as keyword arguments. github.com - Removed
librosa.util.decorators.deprecate_positional_args
librosa.util.decorators.deprecate_positional_args was removed in librosa 0.10.0 pypi.org - Removed
librosa.util.inspect
librosa.util.inspect was removed in librosa 0.10.0 pypi.org - Removed
librosa.util.warnings
librosa.util.warnings was removed in librosa 0.10.0 pypi.org - Default changed
The default resampling method changed, so code relying on the old default may produce different results; pass the resampler explicitly. github.com - Signature changed
librosa.beat.tempo
Was def tempo(*, y=None, sr=22050, onset_envelope=None, hop_length=512, start_bpm=120, std_bpm=1.0, ac_size=8.0, max_tempo=320.0, aggregate=np.mean, prior=None); now tempo. pypi.org - Signature changed
librosa.cqt
Was def cqt(y, *, sr=22050, hop_length=512, fmin=None, n_bins=84, bins_per_octave=12, tuning=0.0, filter_scale=1, norm=1, sparsity=0.01, window='hann', scale=True, pad_mode='constant', res_type=None, dtype=None); now def cqt(y: np.ndarray... pypi.org - Signature changed
librosa.display.AdaptiveWaveplot.__init__
Was def __init__(self, times, y, steps, envelope, sr=22050, max_samples=11025); now def __init__(self, times: np.ndarray, y: np.ndarray, steps: Line2D, envelope: PolyCollection, sr: float = 22050, max_samples: int = 11025, transpose: bool... pypi.org - Signature changed
librosa.display.specshow
Was def specshow(data, *, x_coords=None, y_coords=None, x_axis=None, y_axis=None, sr=22050, hop_length=512, n_fft=None, win_length=None, fmin=None, fmax=None, tuning=0.0, bins_per_octave=12, key='C:maj', Sa=None, mela=None, thaat=None... pypi.org - Signature changed
librosa.display.waveshow
Was def waveshow(y, *, sr=22050, max_points=11025, x_axis='time', offset=0.0, marker='', where='post', label=None, ax=None, **kwargs); now def waveshow(y: np.ndarray, *, sr: float = 22050, max_points: int = 11025, axis: Optional[str] =... pypi.org
And 14 more in this version. Sign up to see every change
librosa 0.10.0rc1 breaking changes
- Configuration changed
The minimum supported python-soundfile version is now 0.12.1; upgrade the dependency to use this release. github.com
Older versions
1 older version, each with its first changes. Sign up to see every change
Show 1 older version
librosa 0.10.0rc0 breaking changes
- Removed
Python 3.6 is no longer supported by this release. github.com - Removed
hanning
The hanning window name has been purged; use the hann window instead. github.com
And 1 more in this version.
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.