Asdf

Latest version: v3.2.0

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

Scan your dependencies

Page 8 of 11

2.3.0

------------------

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]

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]

- 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]

- Deprecate ``asdf.AsdfFile.open`` in favor of ``asdf.open``. [579]

- Add readonly protection to memory mapped arrays when the underlying file
handle is readonly. [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]

2.1.1

------------------

- Make sure extension metadata is written even when constructing the ASDF tree
on-the-fly. [549]

- Fix large integer validation when storing `numpy` integer literals in the
tree. [553]

- Fix bug that caused subclass of external type to be serialized by the wrong
tag. [560]

- Fix bug that occurred when attempting to open invalid file but Astropy import
fails while checking for ASDF-in-FITS. [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]

2.1.0

------------------

- Add API function for retrieving history entries. [501]

- Store ASDF-in-FITS data inside a 1x1 BINTABLE HDU. [519]

- Allow implicit conversion of ``namedtuple`` into serializable types. [534]

- Fix bug that prevented use of ASDF-in-FITS with HDUs that have names with
underscores. [543]

- Add option to ``generic_io.get_file`` to close underlying file handle. [544]

- Add top-level ``keys`` method to ``AsdfFile`` to access tree keys. [545]

Page 8 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.