.. _changes_0_14:

Version 0.14.2
==============

**June 7, 2026**

Changelog
---------

Maintenance
...........

- Compatibility with scikit-learn 1.9
  :pr:`1178` by :user:`Guillaume Lemaitre <glemaitre>`.

Bug fixes
.........

- Raise an informative error in :class:`~imblearn.over_sampling.SMOTENC` when the
  provided `categorical_encoder` does not keep one column per category (e.g.
  `OneHotEncoder(drop=...)` or an encoder merging infrequent categories), instead
  of failing with an opaque ``zero-size array`` NumPy error.
  :issue:`1035` by :user:`Imran Ahamed <immu4989>`.

- Compatibility

Version 0.14.1
==============

**December 21, 2025**

Changelog
---------

Maintenance
...........

- Compatibility with scikit-learn 1.8
  :pr:`1158` by :user:`Guillaume Lemaitre <glemaitre>` and
  :user:`stratakis <stratakis>`.

Version 0.14.0
==============

**August 14, 2025**

Changelog
---------

Bug fixes
.........

Enhancements
............

- Add :class:`~imblearn.model_selection.InstanceHardnessCV` to split data and ensure
  that samples are distributed in folds based on their instance hardness.
  :pr:`1125` by :user:`Frits Hermans <fritshermans>`.

Compatibility
.............

- Compatibility with scikit-learn 1.7
  :pr:`1137`, :pr:`1145`, :pr:`1146` by :user:`Guillaume Lemaitre <glemaitre>`.
