From 1e5717228cc0ca85b54cf3a6da78de828fd64288 Mon Sep 17 00:00:00 2001 From: Brett Date: Fri, 8 Nov 2024 13:57:26 -0500 Subject: [PATCH] add convert_unknown_ndarray_subclasses default change to what's new --- docs/asdf/whats_new.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/asdf/whats_new.rst b/docs/asdf/whats_new.rst index 5db2ecdc1..c7ec9bd01 100644 --- a/docs/asdf/whats_new.rst +++ b/docs/asdf/whats_new.rst @@ -101,6 +101,22 @@ returned as lists. With asdf 4.0.0 this "implicit conversion" is no longer performed which allows extensions to implement converters for ``namedtuple`` instances. +.. _whats_new_4.0.0_unknown_ndarray_subclasses: + +Unknown NDArray Subclasses +^^^^^^^^^^^^^^^^^^^^^^^^^^ + +In asdf 3.0.0 a config attribute was added +`asdf.config.AsdfConfig.convert_unknown_ndarray_subclasses` that +was enabled by default (to retain the behavior of the removed legacy +extension that handled ndarrays). + +In asdf 4.0.0 this setting is disabled by default and issues a deprecation +warning when enabled. In an upcoming version of asdf this setting will +be removed. + +See :ref:`convert_unknown_ndarray_subclasses` for more details. + 3.0.0 =====