From 8ee4116550ad554e4639aabbbedde2dc61796726 Mon Sep 17 00:00:00 2001 From: Alex Athorne Date: Wed, 26 Nov 2025 13:52:44 +0000 Subject: [PATCH 1/4] Prep v0.13.0-rc.2 --- CHANGELOG.md | 19 +++++++++++++++++++ CITATION.cff | 4 ++-- README.md | 4 ++-- alibi_detect/version.py | 2 +- 4 files changed, 24 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3acd95031..f8c2e36fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Change Log +## [v0.12.0](https://github.com/SeldonIO/alibi-detect/tree/v0.12.0) (2024-04-17) +[Full Changelog](https://github.com/SeldonIO/alibi-detect/compare/v0.13.0...v0.12.0) + +This is a minor release. The main feature is adding support for python3.12. + +### Added + +- Added support for python3.12 ([#917](https://github.com/SeldonIO/alibi-detect/pull/917)) + +### Fixed + +- Numerical stability fix for spectral residual outlier detector ([#907](http://github.com/SeldonIO/alibi-detect/pull/907)) +- Fixes Mahalanobis detector incompatibility with `scipy>1.13` ([#913](https://github.com/SeldonIO/alibi-detect/pull/913)) +- Fixed image rendering in notebooks ([#918](https://github.com/SeldonIO/alibi-detect/pull/918)) + +### Changed + +- Migrated docs to gitbook ([#904](https://github.com/SeldonIO/alibi-detect/pull/904), [#937](https://github.com/SeldonIO/alibi-detect/pull/937), [#923](https://github.com/SeldonIO/alibi-detect/pull/923)) + ## [v0.12.0](https://github.com/SeldonIO/alibi-detect/tree/v0.12.0) (2024-04-17) [Full Changelog](https://github.com/SeldonIO/alibi-detect/compare/v0.11.5...v0.12.0) diff --git a/CITATION.cff b/CITATION.cff index 572f42a8e..3f8e576b7 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -19,6 +19,6 @@ authors: - family-names: "Athorne" given-names: "Alex" title: "Alibi Detect: Algorithms for outlier, adversarial and drift detection" -version: 0.12.0 -date-released: 2024-04-17 +version: 0.13.0-rc.1 +date-released: 2025-11-26 url: "https://github.com/SeldonIO/alibi-detect" diff --git a/README.md b/README.md index cfad96805..271bf8d31 100644 --- a/README.md +++ b/README.md @@ -407,8 +407,8 @@ BibTeX entry: title = {Alibi Detect: Algorithms for outlier, adversarial and drift detection}, author = {Van Looveren, Arnaud and Klaise, Janis and Vacanti, Giovanni and Cobb, Oliver and Scillitoe, Ashley and Samoilescu, Robert and Athorne, Alex}, url = {https://github.com/SeldonIO/alibi-detect}, - version = {0.12.1.dev0}, - date = {2024-04-17}, + version = {0.13.0-rc.1}, + date = {2025-11-26}, year = {2019} } ``` diff --git a/alibi_detect/version.py b/alibi_detect/version.py index 8138e9fe8..ada13ea4b 100644 --- a/alibi_detect/version.py +++ b/alibi_detect/version.py @@ -3,4 +3,4 @@ # 2) we can import it in setup.py for the same reason # 3) we can import it into your module module -__version__ = "0.12.1.dev0" +__version__ = "0.13.0-rc.1" From 486be85ab14e795319408ddface02b18743e953b Mon Sep 17 00:00:00 2001 From: Alex Athorne Date: Wed, 3 Dec 2025 13:55:22 +0000 Subject: [PATCH 2/4] Bump version number --- CHANGELOG.md | 2 +- CITATION.cff | 4 ++-- README.md | 4 ++-- alibi_detect/version.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8c2e36fa..cb890686a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log -## [v0.12.0](https://github.com/SeldonIO/alibi-detect/tree/v0.12.0) (2024-04-17) +## [v0.13.0](https://github.com/SeldonIO/alibi-detect/tree/v0.12.0) (2024-04-17) [Full Changelog](https://github.com/SeldonIO/alibi-detect/compare/v0.13.0...v0.12.0) This is a minor release. The main feature is adding support for python3.12. diff --git a/CITATION.cff b/CITATION.cff index 3f8e576b7..d430407b7 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -19,6 +19,6 @@ authors: - family-names: "Athorne" given-names: "Alex" title: "Alibi Detect: Algorithms for outlier, adversarial and drift detection" -version: 0.13.0-rc.1 -date-released: 2025-11-26 +version: 0.13.0 +date-released: 2025-12-03 url: "https://github.com/SeldonIO/alibi-detect" diff --git a/README.md b/README.md index 271bf8d31..3caf5cd62 100644 --- a/README.md +++ b/README.md @@ -407,8 +407,8 @@ BibTeX entry: title = {Alibi Detect: Algorithms for outlier, adversarial and drift detection}, author = {Van Looveren, Arnaud and Klaise, Janis and Vacanti, Giovanni and Cobb, Oliver and Scillitoe, Ashley and Samoilescu, Robert and Athorne, Alex}, url = {https://github.com/SeldonIO/alibi-detect}, - version = {0.13.0-rc.1}, - date = {2025-11-26}, + version = {0.13.0}, + date = {2025-12-03}, year = {2019} } ``` diff --git a/alibi_detect/version.py b/alibi_detect/version.py index ada13ea4b..beb5ad8a0 100644 --- a/alibi_detect/version.py +++ b/alibi_detect/version.py @@ -3,4 +3,4 @@ # 2) we can import it in setup.py for the same reason # 3) we can import it into your module module -__version__ = "0.13.0-rc.1" +__version__ = "0.13.0" From dca20e15fad69675109179e6836e61a3c9bd798d Mon Sep 17 00:00:00 2001 From: Alex Athorne Date: Thu, 11 Dec 2025 12:33:09 +0000 Subject: [PATCH 3/4] Add release and documentation note on legacy keras support for tensorflow>2.15 --- CHANGELOG.md | 5 ++++- docs-gb/saving.md | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb890686a..e2feec6a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,9 @@ ## [v0.13.0](https://github.com/SeldonIO/alibi-detect/tree/v0.12.0) (2024-04-17) [Full Changelog](https://github.com/SeldonIO/alibi-detect/compare/v0.13.0...v0.12.0) -This is a minor release. The main feature is adding support for python3.12. +This is a minor release. The main feature is adding support for python3.12 and increasing tensorflow version bound. + +Note: If saving detectors with `legacy=True` or loading detectors that where saved with `legacy=True` users must set the environmental variable `TF_USE_LEGACY_KERAS=1` in order to configure tensorflow to use the legacy keras 2 implementation instead of the now default keras 3. See **TensorFlow + Keras 2 backwards compatibility** section of the [getting started docs for keras](https://keras.io/getting_started/) for more details. ### Added @@ -18,6 +20,7 @@ This is a minor release. The main feature is adding support for python3.12. ### Changed - Migrated docs to gitbook ([#904](https://github.com/SeldonIO/alibi-detect/pull/904), [#937](https://github.com/SeldonIO/alibi-detect/pull/937), [#923](https://github.com/SeldonIO/alibi-detect/pull/923)) +- Increased tensorflow version bound to `<2.19` ([#908](https://github.com/SeldonIO/alibi-detect/pull/908)) ## [v0.12.0](https://github.com/SeldonIO/alibi-detect/tree/v0.12.0) (2024-04-17) [Full Changelog](https://github.com/SeldonIO/alibi-detect/compare/v0.11.5...v0.12.0) diff --git a/docs-gb/saving.md b/docs-gb/saving.md index 8a2d6c8cc..25b256148 100644 --- a/docs-gb/saving.md +++ b/docs-gb/saving.md @@ -30,7 +30,11 @@ od = load_detector(filepath) Detectors can be saved using two formats: * **Config format**: For drift detectors, by default `save_detector` serializes the detector via a config file named `config.toml`, stored in `filepath`. The [TOML](https://toml.io/en/) format is human-readable, which makes the config files useful for record keeping, and allows a detector to be edited before it is reloaded. For more details, see [Detector Configuration Files](config_files.md). -* **Legacy format**: Outlier and adversarial detectors are saved to [dill](https://dill.readthedocs.io/en/latest/dill.html) files stored within `filepath`. Drift detectors can also be saved in this legacy format by running `save_detector` with `legacy=True`. Loading is performed in the same way, by simply running `load_detector(filepath)`. +* **Legacy format**: Outlier and adversarial detectors are saved to [dill](https://dill.readthedocs.io/en/latest/dill.html) files stored within `filepath`. Drift detectors can also be saved in this legacy format by running `save_detector` with `legacy=True`. Loading is performed in the same way, by simply running `load_detector(filepath)`. + +{% hint style="info" %} +**Note:** If using `legacy=True` to save a detector or if you are loading a detector that was saved using `legacy=True` and you are using `tensorflow>2.15` then you will need to set an environmental variable `TF_USE_LEGACY_KERAS=1` in order to tell tensorflow to use the legacy keras version to save and load tensorflow models. See **TensorFlow + Keras 2 backwards compatibility** section of the [getting started docs for keras](https://keras.io/getting_started/) for more details. +{% endhint %} ## Supported detectors From 9cbb90b3ef515d2952ce7fb7fe2d55255a8415d1 Mon Sep 17 00:00:00 2001 From: Alex Athorne Date: Thu, 11 Dec 2025 12:45:29 +0000 Subject: [PATCH 4/4] Fix grammer, spelling and clarity issues --- CHANGELOG.md | 8 ++++---- docs-gb/saving.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e2feec6a7..5768de85f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,11 @@ # Change Log -## [v0.13.0](https://github.com/SeldonIO/alibi-detect/tree/v0.12.0) (2024-04-17) +## [v0.13.0](https://github.com/SeldonIO/alibi-detect/tree/v0.13.0) (2024-04-17) [Full Changelog](https://github.com/SeldonIO/alibi-detect/compare/v0.13.0...v0.12.0) -This is a minor release. The main feature is adding support for python3.12 and increasing tensorflow version bound. +This is a minor release. The main feature is adding support for Python 3.12 and increasing the TensorFlow version bound. -Note: If saving detectors with `legacy=True` or loading detectors that where saved with `legacy=True` users must set the environmental variable `TF_USE_LEGACY_KERAS=1` in order to configure tensorflow to use the legacy keras 2 implementation instead of the now default keras 3. See **TensorFlow + Keras 2 backwards compatibility** section of the [getting started docs for keras](https://keras.io/getting_started/) for more details. +Note: If saving detectors with `legacy=True` or loading detectors that were saved with `legacy=True` users must set the environment variable `TF_USE_LEGACY_KERAS=1` in order to configure tensorflow to use the legacy Keras 2 implementation instead of the now-default Keras 3. See **TensorFlow + Keras 2 backwards compatibility** section of the [Getting Started docs for Keras](https://keras.io/getting_started/) for more details. ### Added @@ -15,7 +15,7 @@ Note: If saving detectors with `legacy=True` or loading detectors that where sav - Numerical stability fix for spectral residual outlier detector ([#907](http://github.com/SeldonIO/alibi-detect/pull/907)) - Fixes Mahalanobis detector incompatibility with `scipy>1.13` ([#913](https://github.com/SeldonIO/alibi-detect/pull/913)) -- Fixed image rendering in notebooks ([#918](https://github.com/SeldonIO/alibi-detect/pull/918)) +- Fixed image rendering in Jupyter notebooks ([#918](https://github.com/SeldonIO/alibi-detect/pull/918)) ### Changed diff --git a/docs-gb/saving.md b/docs-gb/saving.md index 25b256148..53c01a39f 100644 --- a/docs-gb/saving.md +++ b/docs-gb/saving.md @@ -33,7 +33,7 @@ Detectors can be saved using two formats: * **Legacy format**: Outlier and adversarial detectors are saved to [dill](https://dill.readthedocs.io/en/latest/dill.html) files stored within `filepath`. Drift detectors can also be saved in this legacy format by running `save_detector` with `legacy=True`. Loading is performed in the same way, by simply running `load_detector(filepath)`. {% hint style="info" %} -**Note:** If using `legacy=True` to save a detector or if you are loading a detector that was saved using `legacy=True` and you are using `tensorflow>2.15` then you will need to set an environmental variable `TF_USE_LEGACY_KERAS=1` in order to tell tensorflow to use the legacy keras version to save and load tensorflow models. See **TensorFlow + Keras 2 backwards compatibility** section of the [getting started docs for keras](https://keras.io/getting_started/) for more details. +**Note:** If you save a detector with `legacy=True`, or load one that was saved with `legacy=True`, and you are using TensorFlow>2.15, then you must set the environment variable `TF_USE_LEGACY_KERAS=1`. This is in order to tell TensorFlow to use the legacy Keras 2 implementation to save and load TensorFlow models. See **TensorFlow + Keras 2 backwards compatibility** section of the [Getting Started docs for Keras](https://keras.io/getting_started/) for more details. {% endhint %} ## Supported detectors