Change Log¶
4.1.0 (2025-01-31)¶
Bugfix¶
Improve
schema_infohandling of schemas with combiners (allOf, anyOf, etc). (#1875)While walking schema for info/search/schema_info walk into nodes with __asdf_traverse__ if the parent node has a schema. (#1884)
Don’t infinitely loop on recursive lists during info/search/schema_info. (#1884)
Use extension_manager of associated AsdfFile in info/search/schema_info. (#1884)
Only use ANSI format codes when supported by stdout. (#1884)
Doc¶
Feature¶
Add
Converter.to_infoto allow customizinginfooutput. (#1884)
4.0.0 (2024-11-19)¶
Feature¶
General¶
Set
memmap=Falseto default forasdf.openandAsdfFile.__init__. (#1801)
Removal¶
3.5.0 (2024-10-02)¶
Bugfix¶
Allow
asdf.util.load_yamlto handle recursive objects (#1825)
Doc¶
General¶
fix changelog checker to remove brackets (#1828)
Removal¶
Deprecate
ignore_version_mismatch. This option has done nothing since asdf 3.0.0 and will be removed in an upcoming asdf version (#1819)
3.4.0 (2024-08-04)¶
Fix issue where roundtripping a masked array with no masked values removes the mask [#1803]
Use a custom exception
AsdfSerializationErrorto indicate when an object in the tree fails to be serialized by asdf (and by yaml). This exception currently inherits fromyaml.representer.RepresenterErrorto provide backwards compatibility. However this inheritance may be dropped in a future asdf version. Please migrate to the newAsdfSerializationError. [#1809]Drop
importlib_metadataas a dependency on Python 3.12 and newer [#1810]Bumped minimal requirement on
attrsfrom20.1.0to22.2.0[#1815]
3.3.0 (2024-07-12)¶
Fix
__asdf_traverse__for non-tagged objects [#1739]Deprecate
asdf.testing.helpers.format_tag[#1774]Deprecate
asdf.versioning.AsdfSpec[#1774]Deprecate
asdf.util.filepath_to_urlusepathlib.Path.to_uri[#1735]Record package providing manifest for extensions used to write a file and
AsdfPackageVersionWarningwhen installed extension/manifest package does not match that used to write the file [#1758]Fix bug where a dictionary containing a key
idcaused any contained references to fail to resolve [#1716]Issue a
AsdfManifestURIMismatchWarningduring write if a used extension was created from a manifest registered with a uri that does not match the id in the manifest [#1785]Allow converters to provide types as strings that can resolve to public classes (even if the class is implemented in a private module). [#1654]
Add options to control saving the base array when saving array views controlled via
AsdfConfig.default_array_save_base,AsdfFile.set_array_save_baseandSerializationContext.set_array_save_base[#1753]Deprecate
ignore_implicit_conversionand “implicit conversion” [#1724]Add
lazy_treeoption toasdf.openandasdf.configto allow lazy deserialization of ASDF tagged tree nodes to custom objects. [#1733]Deprecate
copy_arraysin favor ofmemmap[#1797]
3.2.0 (2024-04-05)¶
3.1.0 (2024-02-27)¶
Note
The ASDF Standard is at v1.6.0
Cleanup
asdf.utilincluding deprecating:human_listresolve_nameminversionanditer_subclasses[#1688]Deprecate validation on
AsdfFile.treeassignment. Please useAsdfFile.validateto validate the tree [#1691]Deprecate validation during
AsdfFile.resolve_references. Please useAsdfFile.validateto validate the tree [#1691]Deprecate
asdf.asdfandAsdfFile.resolve_and_inline[#1690]Deprecate automatic calling of
AsdfFile.find_referencesduringAsdfFile.__init__andasdf.open[#1708]Allow views of memmapped arrays to keep the backing mmap open to avoid segfaults [#1668]
Introduce
memmapargument toasdf.openthat overridescopy_arrayswith documentation that describes that the default formemmapwhencopy_arraysis removed in an upcoming asdf release will beFalseand asdf will no longer by-default memory map arrays. [#1667]Introduce
asdf.util.load_yamlto load just the YAML contents of an ASDF file (with the optiontaggedto load the contents as a tree ofasdf.tagged.Taggedinstances 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
tmpdirfixture in favor of the newtmp_pathfixture 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
strrepresentation duringinfoandsearchif it contains a single line (and does not fail) [#1748]
3.0.1 (2023-10-30)¶
Note
The ASDF Standard is at v1.6.0
3.0.0 (2023-10-16)¶
Note
The ASDF Standard is at v1.6.0
Drop support for ASDF-in-FITS. [#1288]
Add
all_array_storage,all_array_compressionandall_array_compression_kwargstoasdf.config.AsdfConfig[#1468]Move built-in tags to converters (except ndarray and integer). [#1474]
Add block storage support to Converter [#1508]
Remove deprecated legacy extension API [#1464]
Fix issue opening files that don’t support
fileno[#1557]Allow Converters to defer conversion to other Converters by returning
NoneinConverter.select_tag[#1561]Remove deprecated tests.helpers [#1597]
Remove deprecated load_custom_schema [#1596]
Remove deprecated TagDefinition.schema_uri [#1595]
Removed deprecated AsdfFile.open and deprecated asdf.open AsdfFile.write_to and AsdfFile.update kwargs [#1592]
Fix
AsdfFile.infoloading all array data [#1572]Blank out AsdfFile.tree on close [#1575]
Move ndarray to a converter, add
convert_unknown_ndarray_subclassestoasdf.config.AsdfConfig, moveasdf.Streamtoasdf.tags.core.Stream, update block storage support for Converter and update internal block API [#1537]Remove deprecated resolve_local_refs argument to load_schema [#1623]
Move IntegerType to converter and drop cache of converted values. [#1527]
Remove legacy extension API [#1637]
Fix bug that left out the name of the arrays that differed for
asdftool diffcomparisons [#1652]
2.15.2 (2023-09-29) ==================-
Note
The ASDF Standard is at v1.6.0
Add support for python 3.12 [#1641]
2.15.1 (2023-08-07) ==================-
Note
The ASDF Standard is at v1.6.0
Drop Python 3.8 support [#1556]
Drop NumPy 1.20, 1.21 support [#1568]
Convert numpy scalars to python types during yaml encoding to handle NEP51 changes for numpy 2.0 [#1605]
Vendorize jsonschema 4.17.3 [#1591]
Drop jsonschema as a dependency [#1614]
2.15.0 (2023-03-28) ==================-
Note
The ASDF Standard is at v1.6.0
Require numpy<1.25 for python 3.8 [#1327]
Add AsdfProvisionalAPIWarning to warn developers of new features that may undergo breaking changes but are likely to be included as stable features (without this warning) in a future version of ASDF [#1295]
Add AsdfDeprecationWarning to AsdfFile.blocks [#1336]
Document policy for ASDF release cycle including when support for ASDF versions end. Also document dependency support policy. [#1323]
Update lower pins on
numpy(per release policy),packaging, andpyyamlto ones that we can successfully build and test against. [#1360]Provide more informative filename when failing to open a file [#1357]
Add new plugin type for custom schema validators. [#1328]
Add AsdfDeprecationWarning to
asdf.types.CustomType[#1359]Throw more useful error when provided with a path containing an extra leading slash [#1356]
Add AsdfDeprecationWarning to AsdfInFits. Support for reading and writing ASDF in fits files is being moved to stdatamodels. [#1337]
Add AsdfDeprecationWarning to asdf.resolver [#1362]
Add AsdfDeprecationWarning to asdf.tests.helpers.assert_extension_correctness [#1388]
Add AsdfDeprecationWarning to asdf.type_index [#1403]
Add warning to use of asdftool extract and remove-hdu about deprecation and impending removal [#1411]
Deprecate AsdfFile attributes that use the legacy extension api [#1417]
Add AsdfDeprecationWarning to asdf.types [#1401]
deprecate default_extensions, get_default_resolver and get_cached_asdf_extension_list in asdf.extension [#1409]
move asdf.types.format_tag to asdf.testing.helpers.format_tag [#1433]
Deprecate AsdfExtenion, AsdfExtensionList, BuiltinExtension [#1429]
Add AsdfDeprecationWarning to asdf_extensions entry point [#1361]
Deprecate asdf.tests.helpers [#1440]
respect umask when determining file permissions for written files [#1451]
rename master branch to main [#1479]
2.14.4 (2022-03-17) ==================-
Note
The ASDF Standard is at v1.6.0
require jsonschema<4.18 [#1487]
2.14.3 (2022-12-15) ==================-
Note
The ASDF Standard is at v1.6.0
Use importlib_metadata for all python versions [#1260]
Fix issue #1268, where update could fail to clear memmaps for some files [#1269]
Bump asdf-transform-schemas version [#1278]
2.14.2 (2022-12-05) ==================-
Note
The ASDF Standard is at v1.6.0
Fix issue #1256, where
enumcould not be used on tagged objects. [#1257]
2.14.1 (2022-11-23) ==================-
Note
The ASDF Standard is at v1.6.0
Fix issue #1239, close memmap with asdf file context [#1241]
Add ndarray-1.1.0 and integer-1.1.0 support [#1250]
2.14.0 (2022-11-22) ==================-
Note
The ASDF Standard is at v1.6.0
Update citation. [#1184]
Add search support to
schema_info. [#1187]Add
asdf.search.AsdfSearchResultsupport forschema_infoandschema_infomethod. [#1197]Use forc ndarray flag to correctly test for fortran array contiguity [#1206]
Unpin
jsonschemaversion and fixjsonschemadeprecation warnings. [#1185]Replace
pkg_resourceswithimportlib.metadata. [#1199]Fix default validation for jsonschema 4.10+ [#1203]
Add
asdf-unit-schemasas a dependency, for backwards compatibility. [#1210]Remove stray toplevel packages
dockerdocsandcompatibility_testsfrom wheel [#1214]Close files opened during a failed call to asdf.open [#1221]
Modify generic_file for fsspec compatibility [#1226]
Add fsspec http filesystem support [#1228]
Memmap whole file instead of each array [#1230]
Fix issue #1232 where array data was duplicated during resaving of a fits file [#1234]
2.13.0 (2022-08-19) ==================-
Note
The ASDF Standard is at v1.6.0
Add ability to pull information from schema about asdf file data, using
schema_infomethod. [#1167]
2.12.1 (2022-08-17) ==================-
Note
The ASDF Standard is at v1.6.0
Overhaul of the ASDF documentation to make it more consistent and readable. [#1142, #1152]
Update deprecated instances of
abstractpropertytoabstractmethod[#1148]Pin
jsonschemato below4.10.0. [#1171]
2.12.0 (2022-06-06) ==================-
Note
The ASDF Standard is at v1.6.0
Added ability to display title as a comment in using the
info()functionality. [#1138]Add ability to set asdf-standard version for schema example items. [#1143]
2.11.2 (2022-08-17) ==================-
Backport
jsonschemapin to strictly less than 4.10.1. [#1175]
2.11.1 (2022-04-15) ==================-
Note
The ASDF Standard is at v1.6.0
Update minimum astropy version to 5.0.4. [#1133]
2.11.0 (2022-03-15) ==================-
Note
The ASDF Standard is at v1.6.0
Update minimum jsonschema version to 4.0.1. [#1105]
2.10.1 (2022-03-02) ==================-
Note
The ASDF Standard is at v1.6.0
Bugfix for circular build dependency for asdf. [#1094]
Fix small bug with handling multiple schema uris per tag. [#1095]
2.10.0 (2022-02-17) ==================-
Note
The ASDF Standard is at v1.6.0
Replace asdf-standard submodule with pypi package. [#1079]
2.9.2 (2022-02-07)¶
Note
The ASDF Standard is at v1.6.0
2.9.1 (2022-02-03)¶
Note
The ASDF Standard is at v1.6.0
Fix typo in testing module
__init__.pyname. [#1071]
2.9.0 (2022-02-02)¶
Note
The ASDF Standard is at v1.6.0
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)¶
Note
The ASDF Standard is at v1.6.0
Fix more use of ‘python’ where ‘python3’ is intended. [#1033]
2.8.2 (2021-12-06)¶
Note
The ASDF Standard is at v1.6.0
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)¶
Note
The ASDF Standard is at v1.6.0
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]
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]
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)¶
Note
The ASDF Standard is at v1.5.0
2.7.4 (2021-04-30)¶
Note
The ASDF Standard is at v1.5.0
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)¶
Note
The ASDF Standard is at v1.5.0
2.7.2 (2021-01-15)¶
Note
The ASDF Standard is at v1.5.0
2.7.1 (2020-08-18)¶
Note
The ASDF Standard is at v1.5.0
Fix bug preventing access to copied array data after
AsdfFileis closed. [#869]
2.7.0 (2020-07-23)¶
Note
The ASDF Standard is at v1.5.0
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)¶
Note
The ASDF Standard is at v1.5.0
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)¶
Note
The ASDF Standard is at v1.4.0
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)¶
Note
The ASDF Standard is at v1.4.0
Fix bug in test causing failure when test suite is run against an installed asdf package. [#732]
2.5.0 (2019-12-23)¶
Note
The ASDF Standard is at v1.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]
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)¶
Note
The ASDF Standard is at v1.3.0
Limit the version of
semantic_versionto <=2.6.0 to work around a Deprecation warning. [#700]
2.4.1 (2019-08-27)¶
Note
The ASDF Standard is at v1.3.0
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]
Fix bug in
NDArrayType.__len__. It must be a method, not a property. [#673]
2.3.3 (2019-04-02)¶
Note
The ASDF Standard is at v1.3.0
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)¶
Note
The ASDF Standard is at v1.3.0
Fix bug that occurs when comparing installed extension version with that found in file. [#641]
2.3.1 (2018-12-20)¶
Note
The ASDF Standard is at v1.3.0
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)¶
Note
The ASDF Standard is at v1.3.0
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)¶
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)¶
1.3.2 (2018-02-22)¶
1.3.1 (2017-11-02)¶
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)¶
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)¶
1.0.1 (2016-01-08)¶
1.0.0 (2015-09-18)¶
Initial release.