Changes¶
What’s new in asdf 2.9.2?¶
The ASDF Standard is at v1.6.0.
Changes include:
Fix deprecation warnings stemming from the release of pytest 7.0.0.
Fix bug in pytest plugin when schemas are not in a directory named “schemas”.
What’s new in asdf 2.9.1?¶
The ASDF Standard is at v1.6.0.
Changes include:
Fix typo in testing module
__init__.pyname.
What’s new in asdf 2.9.0?¶
The ASDF Standard is at v1.6.0.
Changes include:
Added the capability for classes to expose their contents to AsdfFile.info and AsdfFile.search via the
__asdf_traverse__method.Drop support for Python 3.6.
Update setup.py to raise error if “git submodule update –init” has not been run.
Add ability for tags to correspond to multiple schema_uri, with an implied allOf among the schema_uris.
Add the URL of the file being parsed to
SerializationContext.Add
asdf.testing.helpersmodule with simplified versions of test helpers previously available inasdf.tests.helpers.
What’s new in asdf 2.8.3?¶
The ASDF Standard is at v1.6.0.
Changes include:
Fix use of “python” instead of “python3” in compatibility tests.
What’s new in asdf 2.8.2?¶
The ASDF Standard is at v1.6.0.
Changes include:
Fix array compression for non-native byte order.
Fix bug in schema loading when URI is claimed by both legacy and new-style extensions.
Hide ‘name’ and ‘version’ attributes on instances of NDArrayType.
What’s new in asdf 2.8.1?¶
The ASDF Standard is at v1.6.0.
Changes include:
Fix bug that corrupts ndarray views when a new block is added to an existing file in absence of a block index.
What’s new in asdf 2.8.0?¶
The ASDF Standard is at v1.6.0.
Changes include:
New plugin APIs for block compressors, extensions, and schemas.
New global configuration mechanism (
asdf.get_config()).Support for the asdf:// URI scheme.
Drop support for Python 3.5.
Support for ASDF Standard 1.6.0, which is available via the
versionargument toAsdfFile.__init__but not yet the default.Values that match defaults defined in schemas are no longer automatically removed from the ASDF tree.
Nonevalues are no longer removed from the tree on write.Remove the
asdf.testmethod andasdf.__githash__attribute.And more, see full changelog below for details.
What’s new in asdf 2.7.5?¶
The ASDF Standard is at v1.5.0.
Changes include:
Fix bug in
asdf.schema.check_schemacausing relative references in metaschemas to be resolved incorrectly.Fix bug that corrupts ndarray views when a new block is added to an existing file in absence of a block index.
What’s New in asdf 2.7.4?¶
The ASDF Standard is at v1.5.0.
Changes include:
Fix pytest plugin failure under older versions of pytest.
Fix bugs when serializing views over non-contiguous and FITS base arrays.
Add support for opening files from HTTPS URLs and following HTTP/HTTPS redirects.
What’s New in asdf 2.7.3?¶
The ASDF Standard is at v1.5.0.
Changes include:
Fix bug resulting in invalid strides values for views over FITS arrays.
Add pytest plugin options to skip and xfail individual tests and xfail the unsupported ndarray-1.0.0 schema example.
What’s New in asdf 2.7.2?¶
The ASDF Standard is at v1.5.0.
Changes include:
Fix bug causing test collection failures under Python 3.9.
Fix bug when decompressing arrays with numpy 1.20.
Replace
assertstatements withraiseat the behest of the bandit security linter.
What’s New in asdf 2.7.1?¶
The ASDF Standard is at v1.5.0.
The sole change in this release:
Fix bug preventing access to copied array data after an
AsdfFileis closed.
What’s New in asdf 2.7.0?¶
The ASDF Standard is at v1.5.0.
Changes include:
Performance improvements when reading and validating ASDF files.
Numerous bug fixes. See complete changelog below for details.
Add option to
asdf.openthat disables schema validation on read.Improved warning messages. All
asdflibrary warnings now subclassasdf.exceptions.AsdfWarning.Drop support for filling default values from subschemas within oneOf or anyOf combiners.
Resolve deprecation warnings from the
asdfpytest plugin when used with newer versions of pytest.Drop support for 2.x versions of the jsonschema package.
What’s New in asdf 2.6.0?¶
The ASDF Standard is at v1.5.0.
Changes include:
ASDF Standard 1.5.0 is now the default for new files. Changes to the standard include several new and updated transform schemas, and removal of wcs schemas that were previously deprecated and moved to the
gwcspackage.Add
asdf.infoandAsdfFile.searchmethods for visualizing and interactively searching an ASDF tree.Fix bug causing too many bytes to be consumed when reading compressed blocks.
Support validation and serialization of additional numpy scalar types.
Fix serialization of trees containing implicit internal references and reference cycles, and simplify handling of children in
ExtensionTypesubclasses.Fix bug preventing addition of history entires to a file that was initially saved without them.
Expand developer documentation to cover the details of pyyaml integration and conversion between tagged trees and custom trees.
What’s New in asdf 2.5.2?¶
The ASDF Standard is at v1.4.0.
Changes include:
Add schemas that were previously missing from ASDF Standard 1.4.0, and fix a variety of minor issues in
AsdfTypesubclasses.Add general and versioning-specific developer documentation.
What’s New in asdf 2.5.1?¶
The ASDF Standard is at v1.4.0.
Changes include:
Fix bug in test causing failure when test suite is run against an installed
asdfpackage.
What’s New in asdf 2.5.0?¶
The ASDF Standard is at v1.4.0.
Changes include:
Added convenience method for fetching the default resolver
Fixed load_schema LRU cache memory usage issue
Fixed bug causing segfault after update of a memory-mapped file.
What’s New in asdf 2.4.2?¶
The ASDF Standard is at v1.3.0. Changes include:
Define the
inoperator for top-levelAsdfFileobjects.Automatically register schema tester plugin. Do not enable schema tests by default. Add configuration setting and command line option to enable schema tests.
Enable handling of subclasses of known custom types by using decorators for convenience.
Add support for jsonschema 3.x.
Fix bug in
NDArrayType.__len__. It must be a method, not a property.
What’s New in asdf 2.3.3?¶
The ASDF Standard is at v1.3.0. Changes include:
Pass
ignore_unrecognized_tagsetting through to ASDF-in-FITS.Use
$schemakeyword if available to determine meta-schema to use when testing whether schemas themselves are valid.Take into account resolvers from installed extensions when loading schemas for validation.
Fix compatibility issue with new release of
pyyaml(version 5.1).Allow use of
pathlib.Pathobjects forcustom_schemaoption.
What’s New in asdf 2.3.1?¶
he ASDF Standard is at v1.3.0. Changes include:
Provide source information for
AsdfDeprecationWarningthat come from extensions from external packages.Fix the way
generic_iohandles URIs and paths on Windows.Fix bug in
asdftoolthat preventedextractcommand from being visible.
What’s New in asdf 2.3?¶
asdf 2.3 reflects the update of ASDF Standard to v1.3.0, and contains a few
notable features and an API change:
Storage of arbitrary precision integers is now provided by
asdf.IntegerType. This new type is provided by version 1.3.0 of the ASDF Standard.Reading a file with integer literals that are too large now causes only a warning instead of a validation error. This is to provide backwards compatibility for files that were created with a buggy version of
asdf.The functions
asdf.openandAsdfFile.write_tonow support the use ofpathlib.Path.The
asdf.asdftypesmodule has been deprecated in favor ofasdf.types. The old module will be removed entirely in the 3.0 release.
What’s New in asdf 2.2?¶
asdf 2.2 contains several API changes, although backwards compatibilty is
preserved for now. The most significant changes are:
The function
AsdfFile.openhas been deprecated in favor ofasdf.open. It will be removed entirely in the 3.0 release. More intelligent file mode handling has been added toasdf.open. Files that are opened in read-only mode withasdf.opennow explicitly block writes to memory-mapped arrays. This may cause problems for some existing code, but any such code was accessing these arrays in an unsafe manner, so backwards compatibility for this case is not provided. The old mode handling behavior is retained for now inAsdfFile.open.It is now possible to disable lazy loading of internal arrays. This is useful when the
AsdfFilewas opened using another open file. With lazy loading, it is possible to close the original file but still retain access to the array data.There is a new warning
AsdfConversionWarningthat occurs when failing to convert nodes in the ASDF tree into custom tagged types. This makes it easier for users to filter specifically for this failure case.
What’s New in asdf 2.1?¶
asdf 2.1 is a minor release, and most of the changes affect only a subset of
users. The most notable changes are the following:
namedtupleobjects can now be serialized. They are automatically converted intolistobjects, and therefore are not strictly able to round-trip. By default a warning occurs when performing this conversion, but the warning can be disabled by passingignore_implicit_conversion=Trueto theAsdfFileconstructor.Added a method
AsdfFile.get_history_entriesfor getting a list of history entries from the tree.Added an option to
generic_io.get_fileto close the underlying file handle.
Please see the Change Log for additional details.
What’s New in asdf 2.0?¶
asdf 2.0 is a major release that includes many improvements, new features, and
some API changes. It is the first release of the asdf package that only
supports Python 3.
The full list of changes, including bug fixes, can be found in the Change Log. A brief overview of changes is provided below:
Support for Python 2.7 has been removed entirely.
There is no longer a hard dependency on
astropy. It is still required for some features, and for running the tests. Astropy-related tag implementations have been moved to the Astropy package itself.External packages can now install and register custom ASDF extensions using
setuptoolsentry points (see Extensions from other packages and Overriding built-in extensions).asdfdetects extensions that are installed in this way and automatically uses them when reading and writing files with custom types.A bug was fixed that now allows fully-specified tags from external packages to be properly resolved.
The file format now includes metadata about the extensions that were used to create an ASDF file. The software automatically adds this information when writing an ASDF file, and will check for installed extensions when reading a file containing such metadata (see Extension checking).
The restrictions on the top-level attributes
data,wcs, andfitshave been removed.Clients that wish to impose additional validation requirements on files can now provide custom top-level schemas (see Custom schemas).
There is a new way to reference array data that is defined in external files (see Array References).
Several new commands have been added to the
asdftoolcommand line interface:extensionsfor showing information about installed extensions (see
remove-hdufor removing ASDF extension from ASDF-in-FITS file(requires
astropy, see Saving ASDF in FITS).
The package now cleanly supports builds in
developmode and can be imported from the source tree.
Change Log¶
2.9.2 (2022-02-07)¶
Fix deprecation warnings stemming from the release of pytest 7.0.0. [#1075]
Fix bug in pytest plugin when schemas are not in a directory named “schemas”. [#1076]
2.9.1 (2022-02-03)¶
Fix typo in testing module
__init__.pyname. [#1071]
2.9.0 (2022-02-02)¶
Added the capability for tag classes to provide an interface to asdf info functionality to obtain information about the class attributes rather than appear as an opaque class object. [#1052 #1055]
Fix tag listing when extension is not fully implemented. [#1034]
Drop support for Python 3.6. [#1054]
Adjustments to compression plugin tests and documentation. [#1053]
Update setup.py to raise error if “git submodule update –init” has not been run. [#1057]
Add ability for tags to correspond to multiple schema_uri, with an implied allOf among the schema_uris. [#1058, #1069]
Add the URL of the file being parsed to
SerializationContext. [#1065]Add
asdf.testing.helpersmodule with simplified versions of test helpers previously available inasdf.tests.helpers. [#1067]
2.8.3 (2021-12-13)¶
Fix more use of ‘python’ where ‘python3’ is intended. [#1033]
2.8.2 (2021-12-06)¶
Update documentation to reflect new 2.8 features. [#998]
Fix array compression for non-native byte order [#1010]
Fix use of ‘python’ where ‘python3’ is intended. [#1026]
Fix schema URI resolving when the URI prefix is also claimed by a legacy extension. [#1029]
Remove ‘name’ and ‘version’ attributes from NDArrayType instances. [#1031]
2.8.1 (2021-06-09)¶
Fix bug in block manager when a new block is added to an existing file without a block index. [#1000]
2.8.0 (2021-05-12)¶
Add
yaml_tag_handlesproperty to allow definition of custom yaml%TAGhandles in the asdf file header. [#963]Add new resource mapping API for extending asdf with additional schemas. [#819, #828, #843, #846]
Add global configuration mechanism. [#819, #839, #844, #847]
Drop support for automatic serialization of subclass attributes. [#825]
Support asdf:// as a URI scheme. [#854, #855]
Include only extensions used during serialization in a file’s metadata. [#848, #864]
Drop support for Python 3.5. [#856]
Add new extension API to support versioned extensions. [#850, #851, #853, #857, #874]
Permit wildcard in tag validator URIs. [#858, #865]
Implement support for ASDF Standard 1.6.0. This version of the standard limits mapping keys to string, integer, or boolean. [#866]
Stop removing schema defaults for all ASDF Standard versions, and automatically fill defaults only for versions <= 1.5.0. [#860]
Stop removing keys with
Nonevalues from the tree on write. This fixes a long-standing issue where the tree structure is not preserved on write, but will breakExtensionTypesubclasses that depend on this behavior. Extension developers will need to modify theirto_treemethods to check forNonebefore adding a key to the tree (or modify the schema to permit nulls, if that is the intention). [#863]Deprecated the
auto_inlineargument toAsdfFile.write_toandAsdfFile.updateand addedAsdfConfig.array_inline_threshold. [#882, #991]Add
editsubcommand to asdftool for efficient editing of the YAML portion of an ASDF file. [#873, #922]Increase limit on integer literals to signed 64-bit. [#894]
Remove the
asdf.testmethod andasdf.__githash__attribute. [#943]Add support for custom compression via extensions. [#931]
Remove unnecessary
.treefrom search result paths. [#954]Drop support for bugs in older operating systems and Python versions. [#955]
Add argument to
asdftool diffthat ignores tree nodes that match a JMESPath expression. [#956]Fix behavior of
exceptionargument toGenericFile.seek_until. [#980]Fix issues in file type detection to allow non-seekable input and filenames without recognizable extensions. Remove the
asdf.asdf.is_asdf_filefunction. [#978]Update
asdftool extensionsandasdftool tagsto incorporate the new extension API. [#988]Add
AsdfSearchResult.replacemethod for assigning new values to search results. [#981]Search for block index starting from end of file. Fixes rare bug when a data block contains a block index. [#990]
Update asdf-standard to 1.6.0 tag. [#993]
2.7.5 (2021-06-09)¶
Fix bug in
asdf.schema.check_schemacausing relative references in metaschemas to be resolved incorrectly. [#987]Fix bug in block manager when a new block is added to an existing file without a block index. [#1000]
2.7.4 (2021-04-30)¶
Fix pytest plugin failure under older versions of pytest. [#934]
Copy array views when the base array is non-contiguous. [#949]
Prohibit views over FITS arrays that change dtype. [#952]
Add support for HTTPS URLs and following redirects. [#971]
Prevent astropy warnings in tests when opening known bad files. [#977]
2.7.3 (2021-02-25)¶
Add pytest plugin options to skip and xfail individual tests and xfail the unsupported ndarray-1.0.0 example. [#929]
Fix bug resulting in invalid strides values for views over FITS arrays. [#930]
2.7.2 (2021-01-15)¶
Fix bug causing test collection failures in some environments. [#889]
Fix bug when decompressing arrays with numpy 1.20. [#901, #909]
2.7.1 (2020-08-18)¶
Fix bug preventing access to copied array data after
AsdfFileis closed. [#869]
2.7.0 (2020-07-23)¶
Fix bug preventing diff of files containing ndarray-1.0.0 objects in simplified form. [#786]
Fix bug causing duplicate elements to appear when calling
copy.deepcopyon aTaggedList. [#788]Improve validator performance by skipping unnecessary step of copying schema objects. [#784]
Fix bug with
auto_inlineoption where inline blocks are not converted to internal when they exceed the threshold. [#802]Fix misinterpretation of byte order of blocks stored in FITS files. [#810]
Improve read performance by skipping unnecessary rebuild of tagged tree. [#787]
Add option to
asdf.openandfits_embed.AsdfInFits.openthat disables validation on read. [#792]Fix bugs and code style found by adding F and W
flake8checks. [#797]Eliminate warnings in pytest plugin by using
from_parentwhen available. [#799]Prevent validation of empty tree when
AsdfFileis initialized. [#794]All warnings now subclass
asdf.exceptions.AsdfWarning. [#804]Improve warning message when falling back to an older schema, and note that fallback behavior will be removed in 3.0. [#806]
Drop support for jsonschema 2.x. [#807]
Stop traversing oneOf and anyOf combiners when filling or removing default values. [#811]
Fix bug in version map caching that caused incompatible tags to be written under ASDF Standard 1.0.0. [#821]
Fix bug that corrupted ndarrays when the underlying block array was converted to C order on write. [#827]
Fix bug that produced unreadable ASDF files when an ndarray in the tree was both offset and broadcasted. [#827]
Fix bug preventing validation of default values in
schema.check_schema. [#785]Add option to disable validation of schema default values in the pytest plugin. [#831]
Prevent errors when extension metadata contains additional properties. [#832]
2.6.0 (2020-04-22)¶
AsdfDeprecationWarning now subclasses DeprecationWarning. [#710]
Resolve external references in custom schemas, and deprecate asdf.schema.load_custom_schema. [#738]
Add
asdf.infofor displaying a summary of a tree, andAsdfFile.searchfor searching a tree. [#736]Add pytest plugin option to skip warning when a tag is unrecognized. [#771]
Fix generic_io
read_blocks()reading past the requested size [#773]Add support for ASDF Standard 1.5.0, which includes several new transform schemas. [#776]
Enable validation and serialization of previously unhandled numpy scalar types. [#778]
Fix handling of trees containing implicit internal references and reference cycles. Eliminate need to call
yamlutil.custom_tree_to_tagged_treeandyamlutil.tagged_tree_to_custom_treefrom extension code, and allowExtensionTypesubclasses to return generators. [#777]Fix bug preventing history entries when a file was previously saved without them. [#779]
Update developer overview documentation to describe design of changes to handle internal references and reference cycles. [#781]
2.5.2 (2020-02-28)¶
Add a developer overview document to help understand how ASDF works internally. Still a work in progress. [#730]
Remove unnecessary dependency on six. [#739]
Add developer documentation on schema versioning, additional schema and extension-related tests, and fix a variety of issues in
AsdfTypesubclasses. [#750]Update asdf-standard to include schemas that were previously missing from 1.4.0 version maps. [#767]
Simplify example in README.rst [#763]
2.5.1 (2020-01-07)¶
Fix bug in test causing failure when test suite is run against an installed asdf package. [#732]
2.5.0 (2019-12-23)¶
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]
SpecItemandSpecwere deprecated insemantic_versionand were replaced withSimpleSpec. [#715]Pinned the minimum required
semantic_versionto 2.8. [#715]Fix bug causing segfault after update of a memory-mapped file. [#716]
2.4.2 (2019-08-29)¶
Limit the version of
semantic_versionto <=2.6.0 to work around a Deprecation warning. [#700]
2.4.1 (2019-08-27)¶
Define the
inoperator for top-levelAsdfFileobjects. [#623]Overhaul packaging infrastructure. Remove use of
astropy_helpers. [#670]Automatically register schema tester plugin. Do not enable schema tests by default. Add configuration setting and command line option to enable schema tests. [#676]
Enable handling of subclasses of known custom types by using decorators for convenience. [#563]
Add support for jsonschema 3.x. [#684]
2.3.4 (unreleased)¶
Fix bug in
NDArrayType.__len__. It must be a method, not a property. [#673]
2.3.3 (2019-04-02)¶
Pass
ignore_unrecognized_tagsetting through to ASDF-in-FITS. [#650]Use
$schemakeyword if available to determine meta-schema to use when testing whether schemas themselves are valid. [#654]Take into account resolvers from installed extensions when loading schemas for validation. [#655]
Fix compatibility issue with new release of
pyyaml(version 5.1). [#662]Allow use of
pathlib.Pathobjects forcustom_schemaoption. [#663]
2.3.2 (2019-02-19)¶
Fix bug that occurs when comparing installed extension version with that found in file. [#641]
2.3.1 (2018-12-20)¶
Provide source information for
AsdfDeprecationWarningthat come from extensions from external packages. [#629]Ensure that top-level accesses to the tree outside a closed context handler result in an
OSError. [#628]Fix the way
generic_iohandles URIs and paths on Windows. [#632]Fix bug in
asdftoolthat preventedextractcommand from being visible. [#633]
2.3.0 (2018-11-28)¶
Storage of arbitrary precision integers is now provided by
asdf.IntegerType. Reading a file with integer literals that are too large now causes only a warning instead of a validation error. This is to provide backwards compatibility for files that were created with a buggy version of ASDF (see #553 below). [#566]Remove WCS tags. These are now provided by the gwcs package. [#593]
Deprecate the
asdf.asdftypesmodule in favor ofasdf.types. [#611]Support use of
pathlib.Pathwithasdf.openandAsdfFile.write_to. [#617]Update ASDF Standard submodule to version 1.3.0.
2.2.1 (2018-11-15)¶
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 (2018-11-14)¶
Add new parameter
lazy_loadtoAsdfFile.open. It isTrueby default and preserves the default behavior.Falsedetaches 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 usingAsdfFile.tree. However,copy_arraysparameter is still effective and the active memory maps may still require the file to stay open in casecopy_arraysisFalse. [#573]Add
AsdfConversionWarningfor failures to convert ASDF tree into custom types. This warning is converted to an error when usingassert_roundtrip_treefor tests. [#583]Deprecate
asdf.AsdfFile.openin favor ofasdf.open. [#579]Add readonly protection to memory mapped arrays when the underlying file handle is readonly. [#579]
2.1.2 (2018-11-13)¶
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 (2018-11-01)¶
Make sure extension metadata is written even when constructing the ASDF tree on-the-fly. [#549]
Fix large integer validation when storing
numpyinteger 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 (2018-09-25)¶
Add API function for retrieving history entries. [#501]
Store ASDF-in-FITS data inside a 1x1 BINTABLE HDU. [#519]
Allow implicit conversion of
namedtupleinto 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_fileto close underlying file handle. [#544]Add top-level
keysmethod toAsdfFileto access tree keys. [#545]
2.0.3 (2018-09-06)¶
Update asdf-standard to reflect more stringent (and, consequently, more correct) requirements on the formatting of complex numbers. [#526]
Fix bug with dangling file handle when using ASDF-in-FITS. [#533]
Fix bug that prevented fortran-order arrays from being serialized properly. [#539]
2.0.2 (2018-07-27)¶
Allow serialization of broadcasted
numpyarrays. [#507]Fix bug that caused result of
set_array_compressionto be overwritten byall_array_compressionargument towrite_to. [#510]Add workaround for Python OSX write limit bug (see https://bugs.python.org/issue24658). [#521]
Fix bug with custom schema validation when using out-of-line definitions in schema file. [#522]
2.0.1 (2018-05-08)¶
Allow test suite to run even when package is not installed. [#502]
2.0.0 (2018-04-19)¶
Astropy-specific tags have moved to Astropy core package. [#359]
ICRSCoord tag has moved to Astropy core package. [#401]
Remove support for Python 2. [#409]
Create
pytestplugin to be used for testing schema files. [#425]Add metadata about extensions used to create a file to the history section of the file itself. [#475]
Remove hard dependency on Astropy. It is still required for testing, and for processing ASDF-in-FITS files. [#476]
Add command for extracting ASDF extension from ASDF-in-FITS file and converting it to a pure ASDF file. [#477]
Add command for removing ASDF extension from ASDF-in-FITS file. [#480]
Add an
ExternalArrayReferencetype for referencing arrays in external files. [#400]Improve the way URIs are detected for ASDF-in-FITS files in order to fix bug with reading gzipped ASDF-in-FITS files. [#416]
Explicitly disallow access to entire tree for ASDF file objects that have been closed. [#407]
Install and load extensions using
setuptoolsentry points. [#384]Automatically initialize
asdf-standardsubmodule insetup.py. [#398]Allow foreign tags to be resolved in schemas and files. Deprecate
tag_to_schema_resolverproperty forAsdfFileandAsdfExtensionList. [#399]Fix bug that caused serialized FITS tables to be duplicated in embedded ASDF HDU. [#411]
Create and use a new non-standard FITS extension instead of ImageHDU for storing ASDF files embedded in FITS. Explicitly remove support for the
.updatemethod ofAsdfInFits, even though it didn’t appear to be working previously. [#412]Allow package to be imported and used from source directory and builds in development mode. [#420]
Add command to
asdftoolfor querying installed extensions. [#418]Implement optional top-level validation pass using custom schema. This can be used to ensure that particular ASDF files follow custom conventions beyond those enforced by the standard. [#442]
Remove restrictions affecting top-level attributes
data,wcs, andfits. Bump top-level ASDF schema version to v1.1.0. [#444]
1.3.3 (2018-03-01)¶
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 (2018-02-22)¶
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 (2017-11-02)¶
Relax requirement on
semantic_versionversion 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 (2017-10-24)¶
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_filewhich inspects the input and returnsTrueorFalse. [#239]The
openmethod ofAsdfInFitsnow accepts URIs and open file handles in addition to HDULists. Theopenmethod ofAsdfFilewill now try to parse the given URI or file handle asAsdfInFitsif it is not obviously a regular ASDF file. [#241]Updated WCS frame fields
obsgeolocandobsgeovelto reflect recent updates inastropythat changed representation fromQuantitytoCartesianRepresentation. Updated to reflectastropychange that combinesgalcen_raandgalcen_decintogalcen_coord. Added support for new fieldgalcen_v_sun. Added support for required module versions for tag classes. [#244]Added support for
lz4compression 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_versionsattribute 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. Ifsupported_versionsis 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.opento allow suppression of warning messages when mismatched schema versions are encountered. [#294]Added a diff tool to
asdftoolto allow for visual comparison of pairs of ASDF files. [#286]Added command to
asdftoolto 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
AsdfFileconstructor, or toAsdfFile.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_arraysoption toasdf.opento 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(2016-11-07)¶
Make asdf conditionally dependent on the version of astropy to allow running it with older versions of astropy. [#228]
1.2.0(2016-10-04)¶
Added Tabular model. [#214]
Forced new blocks to be contiguous [#221]
Rewrote code which tags complex objects [#223]
Fixed version error message [#224]
1.0.5 (2016-06-28)¶
Fixed a memory leak when reading wcs that grew memory to over 10 Gb. [#200]
1.0.4 (2016-05-25)¶
Added wrapper class for astropy.core.Time, TaggedTime. [#198]
1.0.2 (2016-02-29)¶
Renamed package to ASDF. [#190]
Stopped support for Python 2.6 [#191]
1.0.1 (2016-01-08)¶
Fixed installation from the source tarball on Python 3. [#187]
Fixed error handling when opening ASDF files not supported by the current version of asdf. [#178]
Fixed parse error that could occur sometimes when YAML data was read from a stream. [#183]
1.0.0 (2015-09-18)¶
Initial release.