ASDF (Advanced Scientific Data Format) is a next generation interchange format for scientific data
AsdfFile.version_map
[#1745]numpy.ma.MaskedArray
saving for numpy 2.x [#1769]float16
support [#1692]asdf-unit-schemas
dependency [#1767]The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Cleanup asdf.util
including deprecating: human_list
resolve_name
minversion
and iter_subclasses
[#1688]
Deprecate validation on AsdfFile.tree
assignment. Please
use AsdfFile.validate
to validate the tree [#1691]
Deprecate validation during AsdfFile.resolve_references
. Please
use AsdfFile.validate
to validate the tree [#1691]
Deprecate asdf.asdf
and AsdfFile.resolve_and_inline
[#1690]
Deprecate automatic calling of AsdfFile.find_references
during
AsdfFile.__init__
and asdf.open
[#1708]
Allow views of memmapped arrays to keep the backing mmap open to avoid segfaults [#1668]
Introduce memmap
argument to asdf.open
that
overrides copy_arrays
with documentation that describes
that the default for memmap
when copy_arrays
is removed in an upcoming asdf release will be False
and
asdf will no longer by-default memory map arrays. [#1667]
Introduce asdf.util.load_yaml
to load just the YAML contents
of an ASDF file (with the option tagged
to load the contents
as a tree of asdf.tagged.Tagged
instances to preserve tags) [#1700]
Require pytest 7+ and update asdf pytest plugin to be compatible with the current development version of pytest (8.1) [#1731]
Eliminate the use of the legacy tmpdir
fixture in favor of
the new tmp_path
fixture for temporary directory creation. [#1759]
Remove conversion of warnings to errors in asdf pytest plugin. This
prevented other warning filters (like those provided with -W
)
from working. If you want these warnings to produce errors you can
now add your own warning filter [#1757]
Only show str
representation during info
and search
if it contains a single line (and does not fail) [#1748]
The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
asdftool diff
for arrays within a list [#1672]Asdf 3.0.0 is the first major asdf release since 2018.
Thank you to all the contributors!
There are many large and small changes in asdf 3.0.
Please see the updated docs and the What's New page for more details.
The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
all_array_storage
, all_array_compression
and
all_array_compression_kwargs
to asdf.config.AsdfConfig
[#1468]fileno
[#1557]None
in Converter.select_tag
[#1561]AsdfFile.info
loading all array data [#1572]convert_unknown_ndarray_subclasses
to asdf.config.AsdfConfig
, move asdf.Stream
to
asdf.tags.core.Stream
, update block storage support for
Converter and update internal block API [#1537]asdftool diff
comparisons [#1652]The ASDF Standard is at v1.6.0
The ASDF Standard is at v1.6.0
Asdf 2.15.1 includes internally a version of jsonschema 4.17.3. This inclusion was done to deal with incompatible changes in jsonschema 4.18.
Many libraries that use asdf import jsonschema to allow catching of ValidationError instances that might be raised during schema validation. Prior to asdf 2.15 this error type was not part of the public asdf API. For 2.15 and later users are expected to import ValidationError from asdf.exceptions (instead of jsonschema directly).
To further ease the transition, asdf will, when possible, use exceptions imported from any installed version of jsonschema. This means that when the asdf internal jsonschema raises a ValidationError on a system where jsonschema was separately installed, the internal jsonschema will attempt to use ValidationError from the installed version. This should allow code that catches exceptions imported from jsonschema to continue to work with no changes. However, asdf cannot guarantee compatibility with future installed jsonschema versions and users are encouraged to update their code to import ValidationError from asdf.exceptions.
Finally, asdf is temporarily keeping jsonschema as a dependency as many libraries expected this to be installed by asdf. We expect to drop this requirement soon (likely in 3.0.0) and this change might occur in a minor or even patch version.
The above text is also available in the updated docs under What's New.
Full Changelog: https://github.com/asdf-format/asdf/compare/2.15.0...2.15.1
The ASDF Standard is at v1.6.0
numpy
(per release policy), packaging
, and pyyaml
to
ones that we can successfully build and test against. [#1360]asdf.types.CustomType
[#1359]Changes include:
Changes include:
Changes include:
enum
could not be used on tagged objects. [#1257]