Asdf

Latest version: v4.1.0

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 12

2.2.1

==================

- Fix an issue with the README that caused sporadic installation failures and
also prevented the long description from being rendered on pypi. [`607 <https://github.com/asdf-format/asdf/issues/607>`_]

2.2.0

==================

- Add new parameter ``lazy_load`` to ``AsdfFile.open``. It is ``True`` by
default and preserves the default behavior. ``False`` detaches the
loaded tree from the underlying file: all blocks are fully read and
numpy arrays are materialized. Thus it becomes safe to close the file
and continue using ``AsdfFile.tree``. However, ``copy_arrays`` parameter
is still effective and the active memory maps may still require the file
to stay open in case ``copy_arrays`` is ``False``. [`573 <https://github.com/asdf-format/asdf/issues/573>`_]

- Add ``AsdfConversionWarning`` for failures to convert ASDF tree into custom
types. This warning is converted to an error when using
``assert_roundtrip_tree`` for tests. [`583 <https://github.com/asdf-format/asdf/issues/583>`_]

- Deprecate ``asdf.AsdfFile.open`` in favor of ``asdf.open``. [`579 <https://github.com/asdf-format/asdf/issues/579>`_]

- Add readonly protection to memory mapped arrays when the underlying file
handle is readonly. [`579 <https://github.com/asdf-format/asdf/issues/579>`_]

2.1.2

==================

- Make sure that all types corresponding to core tags are added to the type
index before any others. This fixes a bug that was related to the way that
subclass tags were overwritten by external extensions. [`598 <https://github.com/asdf-format/asdf/issues/598>`_]

2.1.1

==================

- Make sure extension metadata is written even when constructing the ASDF tree
on-the-fly. [`549 <https://github.com/asdf-format/asdf/issues/549>`_]

- Fix large integer validation when storing `numpy` integer literals in the
tree. [`553 <https://github.com/asdf-format/asdf/issues/553>`_]

- Fix bug that caused subclass of external type to be serialized by the wrong
tag. [`560 <https://github.com/asdf-format/asdf/issues/560>`_]

- Fix bug that occurred when attempting to open invalid file but Astropy import
fails while checking for ASDF-in-FITS. [`562 <https://github.com/asdf-format/asdf/issues/562>`_]

- Fix bug that caused tree creation to fail when unable to locate a schema file
for an unknown tag. This now simply causes a warning, and the offending node
is converted to basic Python data structures. [`571 <https://github.com/asdf-format/asdf/issues/571>`_]

2.1.0

==================

- Add API function for retrieving history entries. [`501 <https://github.com/asdf-format/asdf/issues/501>`_]

- Store ASDF-in-FITS data inside a 1x1 BINTABLE HDU. [`519 <https://github.com/asdf-format/asdf/issues/519>`_]

- Allow implicit conversion of ``namedtuple`` into serializable types. [`534 <https://github.com/asdf-format/asdf/issues/534>`_]

- Fix bug that prevented use of ASDF-in-FITS with HDUs that have names with
underscores. [`543 <https://github.com/asdf-format/asdf/issues/543>`_]

- Add option to ``generic_io.get_file`` to close underlying file handle. [`544 <https://github.com/asdf-format/asdf/issues/544>`_]

- Add top-level ``keys`` method to ``AsdfFile`` to access tree keys. [`545 <https://github.com/asdf-format/asdf/issues/545>`_]

2.0.3

==================

- Update asdf-standard to reflect more stringent (and, consequently, more
correct) requirements on the formatting of complex numbers. [`526 <https://github.com/asdf-format/asdf/issues/526>`_]

- Fix bug with dangling file handle when using ASDF-in-FITS. [`533 <https://github.com/asdf-format/asdf/issues/533>`_]

- Fix bug that prevented fortran-order arrays from being serialized properly.
[`539 <https://github.com/asdf-format/asdf/issues/539>`_]

Page 9 of 12

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.