Asdf

Latest version: v3.2.0

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

Scan your dependencies

Page 10 of 11

1.4.0

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

- Added asdf-standard 1.4.0 to the list of supported versions. [704]
- Fix load_schema LRU cache memory usage issue [682]
- Add convenience method for fetching the default resolver [682]

- ``SpecItem`` and ``Spec`` were deprecated in ``semantic_version``
and were replaced with ``SimpleSpec``. [715]

- Pinned the minimum required ``semantic_version`` to 2.8. [715]

- Fix bug causing segfault after update of a memory-mapped file. [716]

1.3.3

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

- Update test infrastructure to rely on new Astropy v3.0 plugins. [461]

- Disable use of 2to3. This was causing test failures on Debian builds. [463]

1.3.2

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

- Updates to allow this version of ASDF to be compatible with Astropy v3.0.
[450]

- Remove tests that are no longer relevant due to latest updates to Astropy's
testing infrastructure. [458]

1.3.1

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

- Relax requirement on ``semantic_version`` version to 2.3.1. [361]

- Fix bug when retrieving file format version from new ASDF file. [365]

- Fix bug when duplicating inline arrays. [370]

- Allow tag references using the tag URI scheme to be resolved in schema files.
[371]

1.3.0

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

- Fixed a bug in reading data from an "http:" url. [231]

- Implements v 1.1.0 of the asdf schemas. [233]

- Added a function ``is_asdf_file`` which inspects the input and
returns ``True`` or ``False``. [239]

- The ``open`` method of ``AsdfInFits`` now accepts URIs and open file handles
in addition to HDULists. The ``open`` method of ``AsdfFile`` will now try to
parse the given URI or file handle as ``AsdfInFits`` if it is not obviously a
regular ASDF file. [241]

- Updated WCS frame fields ``obsgeoloc`` and ``obsgeovel`` to reflect recent
updates in ``astropy`` that changed representation from ``Quantity`` to
``CartesianRepresentation``. Updated to reflect ``astropy`` change that
combines ``galcen_ra`` and ``galcen_dec`` into ``galcen_coord``. Added
support for new field ``galcen_v_sun``. Added support for required module
versions for tag classes. [244]

- Added support for ``lz4`` compression algorithm [258]. Also added support
for using a different compression algorithm for writing out a file than the
one that was used for reading the file (e.g. to convert blocks to use a
different compression algorithm) [257]

- Tag classes may now use an optional ``supported_versions`` attribute to
declare exclusive support for particular versions of the corresponding
schema. If this attribute is omitted (as it is for most existing tag
classes), the tag is assumed to be compatible with all versions of the
corresponding schema. If ``supported_versions`` is provided, the tag class
implementation can include code that is conditioned on the schema version. If
an incompatible schema is encountered, or if deserialization of the tagged
object fails with an exception, a raw Python data structure will be returned.
[272]

- Added option to ``AsdfFile.open`` to allow suppression of warning messages
when mismatched schema versions are encountered. [294]

- Added a diff tool to ``asdftool`` to allow for visual comparison of pairs of
ASDF files. [286]

- Added command to ``asdftool`` to display available tags. [303]

- When possible, display name of ASDF file that caused version mismatch
warning. [306]

- Issue a warning when an unrecognized tag is encountered. [295] This warning
is silenced by default, but can be enabled with a parameter to the
``AsdfFile`` constructor, or to ``AsdfFile.open``. Also added an option for
ignoring warnings from unrecognized schema tags. [319]

- Fix bug with loading JSON schemas in Python 3.5. [317]

- Remove all remnants of support for Python 2.6. [333]

- Fix issues with the type index used for writing out ASDF files. This ensures
that items in the type index are not inadvertently overwritten by later
versions of the same type. It also makes sure that schema example tests run
against the correct version of the ASDF standard. [350]

- Update time schema to reflect changes in astropy. This fixes an outstanding
bug. [343]

- Add ``copy_arrays`` option to ``asdf.open`` to control whether or not
underlying array data should be memory mapped, if possible. [355]

- Allow the tree to be accessed using top-level ``__getitem__`` and
``__setitem__``. [352]

1.2.1

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

- Make asdf conditionally dependent on the version of astropy to allow
running it with older versions of astropy. [228]

Page 10 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.