diff --git a/CHANGES.rst b/CHANGES.rst index 0cd787cd2..0666f7294 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,67 +1,67 @@ 3.4.0 (2024-08-04) ================== -- Fix issue where roundtripping a masked array with no masked values removes the mask (#1803) +- Fix issue where roundtripping a masked array with no masked values removes the mask (`#1803 `_) - Use a custom exception ``AsdfSerializationError`` to indicate when an object in the tree fails to be serialized by asdf (and by yaml). This exception currently inherits from ``yaml.representer.RepresenterError`` to provide backwards compatibility. However this inheritance may be dropped in a future asdf version. Please migrate to the new - ``AsdfSerializationError``. (#1809) + ``AsdfSerializationError``. (`#1809 `_) -- Drop ``importlib_metadata`` as a dependency on Python 3.12 and newer (#1810) +- Drop ``importlib_metadata`` as a dependency on Python 3.12 and newer (`#1810 `_) -- Bumped minimal requirement on ``attrs`` from ``20.1.0`` to ``22.2.0`` (#1815) +- Bumped minimal requirement on ``attrs`` from ``20.1.0`` to ``22.2.0`` (`#1815 `_) 3.3.0 (2024-07-12) ================== -- Fix ``__asdf_traverse__`` for non-tagged objects (#1739) +- Fix ``__asdf_traverse__`` for non-tagged objects (`#1739 `_) -- Deprecate ``asdf.testing.helpers.format_tag`` (#1774) +- Deprecate ``asdf.testing.helpers.format_tag`` (`#1774 `_) -- Deprecate ``asdf.versioning.AsdfSpec`` (#1774) +- Deprecate ``asdf.versioning.AsdfSpec`` (`#1774 `_) -- Deprecate ``asdf.util.filepath_to_url`` use ``pathlib.Path.to_uri`` (#1735) +- Deprecate ``asdf.util.filepath_to_url`` use ``pathlib.Path.to_uri`` (`#1735 `_) - Record package providing manifest for extensions used to write a file and ``AsdfPackageVersionWarning`` when installed extension/manifest - package does not match that used to write the file (#1758) + package does not match that used to write the file (`#1758 `_) - Fix bug where a dictionary containing a key ``id`` caused - any contained references to fail to resolve (#1716) + any contained references to fail to resolve (`#1716 `_) - Issue a ``AsdfManifestURIMismatchWarning`` during write if a used extension was created from a manifest registered with a uri that - does not match the id in the manifest (#1785) + 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) + 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_base`` and - ``SerializationContext.set_array_save_base`` (#1753) + ``SerializationContext.set_array_save_base`` (`#1753 `_) -- Deprecate ``ignore_implicit_conversion`` and "implicit conversion" (#1724) +- Deprecate ``ignore_implicit_conversion`` and "implicit conversion" (`#1724 `_) - Add ``lazy_tree`` option to ``asdf.open`` and ``asdf.config`` to allow lazy deserialization of ASDF tagged tree nodes to - custom objects. (#1733) + custom objects. (`#1733 `_) -- Deprecate ``copy_arrays`` in favor of ``memmap`` (#1797) +- Deprecate ``copy_arrays`` in favor of ``memmap`` (`#1797 `_) 3.2.0 (2024-04-05) ================== -- Deprecate ``AsdfFile.version_map`` (#1745) +- Deprecate ``AsdfFile.version_map`` (`#1745 `_) -- Fix ``numpy.ma.MaskedArray`` saving for numpy 2.x (#1769) +- Fix ``numpy.ma.MaskedArray`` saving for numpy 2.x (`#1769 `_) -- Add ``float16`` support (#1692) +- Add ``float16`` support (`#1692 `_) -- Removed unused ``asdf-unit-schemas`` dependency (#1767) +- Removed unused ``asdf-unit-schemas`` dependency (`#1767 `_) 3.1.0 (2024-02-27) @@ -71,45 +71,45 @@ The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Cleanup ``asdf.util`` including deprecating: ``human_list`` - ``resolve_name`` ``minversion`` and ``iter_subclasses`` (#1688) + ``resolve_name`` ``minversion`` and ``iter_subclasses`` (`#1688 `_) - Deprecate validation on ``AsdfFile.tree`` assignment. Please - use ``AsdfFile.validate`` to validate the tree (#1691) + use ``AsdfFile.validate`` to validate the tree (`#1691 `_) - Deprecate validation during ``AsdfFile.resolve_references``. Please - use ``AsdfFile.validate`` to validate the tree (#1691) + use ``AsdfFile.validate`` to validate the tree (`#1691 `_) -- Deprecate ``asdf.asdf`` and ``AsdfFile.resolve_and_inline`` (#1690) +- Deprecate ``asdf.asdf`` and ``AsdfFile.resolve_and_inline`` (`#1690 `_) - Deprecate automatic calling of ``AsdfFile.find_references`` during - ``AsdfFile.__init__`` and ``asdf.open`` (#1708) + ``AsdfFile.__init__`` and ``asdf.open`` (`#1708 `_) - Allow views of memmapped arrays to keep the backing mmap - open to avoid segfaults (#1668) + 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) + 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) + 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) + 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) + 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) + 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) + if it contains a single line (and does not fail) (`#1748 `_) 3.0.1 (2023-10-30) @@ -118,10 +118,10 @@ The ASDF Standard is at v1.6.0 The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Fix bug in ``asdftool diff`` for arrays within a list (#1672) +- Fix bug in ``asdftool diff`` for arrays within a list (`#1672 `_) - For ``info`` and ``search`` show ``str`` representation of childless - (leaf) nodes if ``show_values`` is enabled (#1687) -- Deprecate ``asdf.util.is_primitive`` (#1687) + (leaf) nodes if ``show_values`` is enabled (`#1687 `_) +- Deprecate ``asdf.util.is_primitive`` (`#1687 `_) 3.0.0 (2023-10-16) @@ -130,31 +130,31 @@ The ASDF Standard is at v1.6.0 The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Drop support for ASDF-in-FITS. (#1288) +- Drop support for ASDF-in-FITS. (`#1288 `_) - Add ``all_array_storage``, ``all_array_compression`` and - ``all_array_compression_kwargs`` to ``asdf.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) + ``all_array_compression_kwargs`` to ``asdf.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 ``None`` in ``Converter.select_tag`` (#1561) -- Remove deprecated tests.helpers (#1597) -- Remove deprecated load_custom_schema (#1596) -- Remove deprecated TagDefinition.schema_uri (#1595) + by returning ``None`` in ``Converter.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.info`` loading all array data (#1572) -- Blank out AsdfFile.tree on close (#1575) + AsdfFile.write_to and AsdfFile.update kwargs (`#1592 `_) +- Fix ``AsdfFile.info`` loading all array data (`#1572 `_) +- Blank out AsdfFile.tree on close (`#1575 `_) - Move ndarray to a converter, add ``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) -- 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) + 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 diff`` comparisons (#1652) + for ``asdftool diff`` comparisons (`#1652 `_) 2.15.2 (2023-09-29) ==================- @@ -162,7 +162,7 @@ The ASDF Standard is at v1.6.0 The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Add support for python 3.12 (#1641) +- Add support for python 3.12 (`#1641 `_) 2.15.1 (2023-08-07) ==================- @@ -170,12 +170,12 @@ The ASDF Standard is at v1.6.0 The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Drop Python 3.8 support (#1556) -- Drop NumPy 1.20, 1.21 support (#1568) +- 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) + 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) ==================- @@ -183,38 +183,38 @@ The ASDF Standard is at v1.6.0 The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Require numpy<1.25 for python 3.8 (#1327) +- 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) + 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) + end. Also document dependency support policy. (`#1323 `_) - Update lower pins on ``numpy`` (per release policy), ``packaging``, and ``pyyaml`` to - 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) + 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) + 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) + `_. (`#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) + 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) + 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) ==================- @@ -222,7 +222,7 @@ The ASDF Standard is at v1.6.0 The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- require jsonschema<4.18 (#1487) +- require jsonschema<4.18 (`#1487 `_) 2.14.3 (2022-12-15) ==================- @@ -230,9 +230,9 @@ The ASDF Standard is at v1.6.0 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) +- 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) ==================- @@ -240,7 +240,7 @@ The ASDF Standard is at v1.6.0 The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Fix issue #1256, where ``enum`` could not be used on tagged objects. (#1257) +- Fix issue #1256, where ``enum`` could not be used on tagged objects. (`#1257 `_) 2.14.1 (2022-11-23) ==================- @@ -248,8 +248,8 @@ The ASDF Standard is at v1.6.0 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) +- 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) ==================- @@ -257,21 +257,21 @@ The ASDF Standard is at v1.6.0 The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Update citation. (#1184) -- Add search support to `~asdf.AsdfFile.schema_info`. (#1187) +- Update citation. (`#1184 `_) +- Add search support to `~asdf.AsdfFile.schema_info`. (`#1187 `_) - Add `asdf.search.AsdfSearchResult` support for `~asdf.AsdfFile.schema_info` and - `~asdf.search.AsdfSearchResult.schema_info` method. (#1197) -- Use forc ndarray flag to correctly test for fortran array contiguity (#1206) -- Unpin ``jsonschema`` version and fix ``jsonschema`` deprecation warnings. (#1185) -- Replace ``pkg_resources`` with ``importlib.metadata``. (#1199) -- Fix default validation for jsonschema 4.10+ (#1203) -- Add ``asdf-unit-schemas`` as a dependency, for backwards compatibility. (#1210) -- Remove stray toplevel packages ``docker`` ``docs`` and ``compatibility_tests`` from 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) + `~asdf.search.AsdfSearchResult.schema_info` method. (`#1197 `_) +- Use forc ndarray flag to correctly test for fortran array contiguity (`#1206 `_) +- Unpin ``jsonschema`` version and fix ``jsonschema`` deprecation warnings. (`#1185 `_) +- Replace ``pkg_resources`` with ``importlib.metadata``. (`#1199 `_) +- Fix default validation for jsonschema 4.10+ (`#1203 `_) +- Add ``asdf-unit-schemas`` as a dependency, for backwards compatibility. (`#1210 `_) +- Remove stray toplevel packages ``docker`` ``docs`` and ``compatibility_tests`` from 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) ==================- @@ -280,7 +280,7 @@ The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Add ability to pull information from schema about asdf file data, using `~asdf.AsdfFile.schema_info` - method. (#1167) + method. (`#1167 `_) 2.12.1 (2022-08-17) ==================- @@ -288,10 +288,10 @@ The ASDF Standard is at v1.6.0 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 ``abstractproperty`` to ``abstractmethod`` (#1148) -- Move build configuration into ``pyproject.toml`` (#1149, #1155) -- Pin ``jsonschema`` to below ``4.10.0``. (#1171) +- Overhaul of the ASDF documentation to make it more consistent and readable. (`#1142 `_, `#1152 `_) +- Update deprecated instances of ``abstractproperty`` to ``abstractmethod`` (`#1148 `_) +- Move build configuration into ``pyproject.toml`` (`#1149 `_, `#1155 `_) +- Pin ``jsonschema`` to below ``4.10.0``. (`#1171 `_) 2.12.0 (2022-06-06) ==================- @@ -300,13 +300,13 @@ 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) + ``info()`` functionality. (`#1138 `_) +- Add ability to set asdf-standard version for schema example items. (`#1143 `_) 2.11.2 (2022-08-17) ==================- -- Backport ``jsonschema`` pin to strictly less than 4.10.1. (#1175) +- Backport ``jsonschema`` pin to strictly less than 4.10.1. (`#1175 `_) 2.11.1 (2022-04-15) ==================- @@ -314,7 +314,7 @@ The ASDF Standard is at v1.6.0 The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Update minimum astropy version to 5.0.4. (#1133) +- Update minimum astropy version to 5.0.4. (`#1133 `_) 2.11.0 (2022-03-15) ==================- @@ -322,7 +322,7 @@ The ASDF Standard is at v1.6.0 The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Update minimum jsonschema version to 4.0.1. (#1105) +- Update minimum jsonschema version to 4.0.1. (`#1105 `_) 2.10.1 (2022-03-02) ==================- @@ -330,9 +330,9 @@ The ASDF Standard is at v1.6.0 The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Bugfix for circular build dependency for asdf. (#1094) +- Bugfix for circular build dependency for asdf. (`#1094 `_) -- Fix small bug with handling multiple schema uris per tag. (#1095) +- Fix small bug with handling multiple schema uris per tag. (`#1095 `_) 2.10.0 (2022-02-17) ==================- @@ -340,7 +340,7 @@ The ASDF Standard is at v1.6.0 The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Replace asdf-standard submodule with pypi package. (#1079) +- Replace asdf-standard submodule with pypi package. (`#1079 `_) 2.9.2 (2022-02-07) ================== @@ -348,9 +348,9 @@ The ASDF Standard is at v1.6.0 The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Fix deprecation warnings stemming from the release of pytest 7.0.0. (#1075) +- 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) +- Fix bug in pytest plugin when schemas are not in a directory named "schemas". (`#1076 `_) 2.9.1 (2022-02-03) ================== @@ -358,7 +358,7 @@ The ASDF Standard is at v1.6.0 The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Fix typo in testing module ``__init__.py`` name. (#1071) +- Fix typo in testing module ``__init__.py`` name. (`#1071 `_) 2.9.0 (2022-02-02) ================== @@ -369,24 +369,24 @@ 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) + (`#1052 #1055 `_) -- Fix tag listing when extension is not fully implemented. (#1034) +- Fix tag listing when extension is not fully implemented. (`#1034 `_) -- Drop support for Python 3.6. (#1054) +- Drop support for Python 3.6. (`#1054 `_) -- Adjustments to compression plugin tests and documentation. (#1053) +- Adjustments to compression plugin tests and documentation. (`#1053 `_) - Update setup.py to raise error if "git submodule update --init" has - not been run. (#1057) + not been run. (`#1057 `_) - Add ability for tags to correspond to multiple schema_uri, with an - implied allOf among the schema_uris. (#1058, #1069) + implied allOf among the schema_uris. (`#1058 `_, `#1069 `_) -- Add the URL of the file being parsed to ``SerializationContext``. (#1065) +- Add the URL of the file being parsed to ``SerializationContext``. (`#1065 `_) - Add ``asdf.testing.helpers`` module with simplified versions of test - helpers previously available in ``asdf.tests.helpers``. (#1067) + helpers previously available in ``asdf.tests.helpers``. (`#1067 `_) 2.8.3 (2021-12-13) ================== @@ -394,7 +394,7 @@ The ASDF Standard is at v1.6.0 The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Fix more use of 'python' where 'python3' is intended. (#1033) +- Fix more use of 'python' where 'python3' is intended. (`#1033 `_) 2.8.2 (2021-12-06) ================== @@ -402,23 +402,23 @@ The ASDF Standard is at v1.6.0 The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Update documentation to reflect new 2.8 features. (#998) +- Update documentation to reflect new 2.8 features. (`#998 `_) -- Fix array compression for non-native byte order (#1010) +- Fix array compression for non-native byte order (`#1010 `_) -- Fix use of 'python' where 'python3' is intended. (#1026) +- 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) + claimed by a legacy extension. (`#1029 `_) - Remove 'name' and 'version' attributes from NDArrayType - instances. (#1031) + 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) + file without a block index. (`#1000 `_) 2.8.0 (2021-05-12) ================== @@ -427,34 +427,34 @@ The ASDF Standard is at v1.6.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Add ``yaml_tag_handles`` property to allow definition of custom yaml - ``%TAG`` handles in the asdf file header. (#963) + ``%TAG`` handles in the asdf file header. (`#963 `_) - Add new resource mapping API for extending asdf with additional - schemas. (#819, #828, #843, #846) + schemas. (`#819 `_, `#828 `_, `#843 https://github.com/asdf-format/asdf/<#843>`_, `#846 `_) -- Add global configuration mechanism. (#819, #839, #844, #847) +- Add global configuration mechanism. (`#819 `_, `#839 `_, `#844 https://github.com/asdf-format/asdf/<#844>`_, `#847 `_) - Drop support for automatic serialization of subclass - attributes. (#825) + attributes. (`#825 `_) -- Support asdf:// as a URI scheme. (#854, #855) +- Support asdf:// as a URI scheme. (`#854 https://github.com/asdf-format/asdf/<#854>`_, `#855 `_) - Include only extensions used during serialization in - a file's metadata. (#848, #864) + a file's metadata. (`#848 https://github.com/asdf-format/asdf/<#848>`_, `#864 `_) -- Drop support for Python 3.5. (#856) +- Drop support for Python 3.5. (`#856 `_) - Add new extension API to support versioned extensions. - (#850, #851, #853, #857, #874) + (`#850, #851 `_, `#853 `_, `#857 https://github.com/asdf-format/asdf/<#857>`_, `#874 `_) -- Permit wildcard in tag validator URIs. (#858, #865) +- Permit wildcard in tag validator URIs. (`#858 https://github.com/asdf-format/asdf/<#858>`_, `#865 `_) - Implement support for ASDF Standard 1.6.0. This version of the standard limits mapping keys to string, integer, or - boolean. (#866) + boolean. (`#866 `_) - Stop removing schema defaults for all ASDF Standard versions, - and automatically fill defaults only for versions <= 1.5.0. (#860) + and automatically fill defaults only for versions <= 1.5.0. (`#860 `_) - Stop removing keys with ``None`` values from the tree on write. This fixes a long-standing issue where the tree structure is not preserved @@ -462,43 +462,43 @@ The ASDF Standard is at v1.6.0 this behavior. Extension developers will need to modify their ``to_tree`` methods to check for ``None`` before adding a key to the tree (or modify the schema to permit nulls, if that is the - intention). (#863) + intention). (`#863 `_) - Deprecated the ``auto_inline`` argument to ``AsdfFile.write_to`` and - ``AsdfFile.update`` and added ``AsdfConfig.array_inline_threshold``. (#882, #991) + ``AsdfFile.update`` and added ``AsdfConfig.array_inline_threshold``. (`#882 https://github.com/asdf-format/asdf/<#882>`_, `#991 `_) - Add ``edit`` subcommand to asdftool for efficient editing of - the YAML portion of an ASDF file. (#873, #922) + the YAML portion of an ASDF file. (`#873 https://github.com/asdf-format/asdf/<#873>`_, `#922 `_) -- Increase limit on integer literals to signed 64-bit. (#894) +- Increase limit on integer literals to signed 64-bit. (`#894 `_) -- Remove the ``asdf.test`` method and ``asdf.__githash__`` attribute. (#943) +- Remove the ``asdf.test`` method and ``asdf.__githash__`` attribute. (`#943 `_) -- Add support for custom compression via extensions. (#931) +- Add support for custom compression via extensions. (`#931 `_) -- Remove unnecessary ``.tree`` from search result paths. (#954) +- Remove unnecessary ``.tree`` from search result paths. (`#954 `_) -- Drop support for bugs in older operating systems and Python versions. (#955) +- Drop support for bugs in older operating systems and Python versions. (`#955 `_) - Add argument to ``asdftool diff`` that ignores tree nodes that match - a JMESPath expression. (#956) + a JMESPath expression. (`#956 `_) -- Fix behavior of ``exception`` argument to ``GenericFile.seek_until``. (#980) +- Fix behavior of ``exception`` argument to ``GenericFile.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_file`` - function. (#978) + function. (`#978 `_) - Update ``asdftool extensions`` and ``asdftool tags`` to incorporate - the new extension API. (#988) + the new extension API. (`#988 `_) - Add ``AsdfSearchResult.replace`` method for assigning new values to - search results. (#981) + search results. (`#981 `_) - Search for block index starting from end of file. Fixes rare bug when - a data block contains a block index. (#990) + a data block contains a block index. (`#990 `_) -- Update asdf-standard to 1.6.0 tag. (#993) +- Update asdf-standard to 1.6.0 tag. (`#993 `_) 2.7.5 (2021-06-09) ================== @@ -507,10 +507,10 @@ The ASDF Standard is at v1.5.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Fix bug in ``asdf.schema.check_schema`` causing relative references in - metaschemas to be resolved incorrectly. (#987) + 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) + file without a block index. (`#1000 `_) 2.7.4 (2021-04-30) ================== @@ -518,15 +518,15 @@ The ASDF Standard is at v1.5.0 The ASDF Standard is at v1.5.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Fix pytest plugin failure under older versions of pytest. (#934) +- Fix pytest plugin failure under older versions of pytest. (`#934 `_) -- Copy array views when the base array is non-contiguous. (#949) +- Copy array views when the base array is non-contiguous. (`#949 `_) -- Prohibit views over FITS arrays that change dtype. (#952) +- Prohibit views over FITS arrays that change dtype. (`#952 `_) -- Add support for HTTPS URLs and following redirects. (#971) +- Add support for HTTPS URLs and following redirects. (`#971 `_) -- Prevent astropy warnings in tests when opening known bad files. (#977) +- Prevent astropy warnings in tests when opening known bad files. (`#977 `_) 2.7.3 (2021-02-25) ================== @@ -535,10 +535,10 @@ The ASDF Standard is at v1.5.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Add pytest plugin options to skip and xfail individual tests - and xfail the unsupported ndarray-1.0.0 example. (#929) + and xfail the unsupported ndarray-1.0.0 example. (`#929 `_) - Fix bug resulting in invalid strides values for views over - FITS arrays. (#930) + FITS arrays. (`#930 `_) 2.7.2 (2021-01-15) ================== @@ -546,9 +546,9 @@ The ASDF Standard is at v1.5.0 The ASDF Standard is at v1.5.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Fix bug causing test collection failures in some environments. (#889) +- Fix bug causing test collection failures in some environments. (`#889 `_) -- Fix bug when decompressing arrays with numpy 1.20. (#901, #909) +- Fix bug when decompressing arrays with numpy 1.20. (`#901 https://github.com/asdf-format/asdf/<#901>`_, `#909 `_) 2.7.1 (2020-08-18) ================== @@ -557,7 +557,7 @@ The ASDF Standard is at v1.5.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Fix bug preventing access to copied array data after - ``AsdfFile`` is closed. (#869) + ``AsdfFile`` is closed. (`#869 `_) 2.7.0 (2020-07-23) ================== @@ -566,61 +566,61 @@ The ASDF Standard is at v1.5.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Fix bug preventing diff of files containing ndarray-1.0.0 - objects in simplified form. (#786) + objects in simplified form. (`#786 `_) - Fix bug causing duplicate elements to appear when calling - ``copy.deepcopy`` on a ``TaggedList``. (#788) + ``copy.deepcopy`` on a ``TaggedList``. (`#788 `_) - Improve validator performance by skipping unnecessary step of - copying schema objects. (#784) + copying schema objects. (`#784 `_) - Fix bug with ``auto_inline`` option where inline blocks - are not converted to internal when they exceed the threshold. (#802) + are not converted to internal when they exceed the threshold. (`#802 `_) - Fix misinterpretation of byte order of blocks stored - in FITS files. (#810) + in FITS files. (`#810 `_) - Improve read performance by skipping unnecessary rebuild - of tagged tree. (#787) + of tagged tree. (`#787 `_) - Add option to ``asdf.open`` and ``fits_embed.AsdfInFits.open`` - that disables validation on read. (#792) + that disables validation on read. (`#792 `_) -- Fix bugs and code style found by adding F and W ``flake8`` checks. (#797) +- Fix bugs and code style found by adding F and W ``flake8`` checks. (`#797 `_) - Eliminate warnings in pytest plugin by using ``from_parent`` - when available. (#799) + when available. (`#799 `_) - Prevent validation of empty tree when ``AsdfFile`` is - initialized. (#794) + initialized. (`#794 `_) -- All warnings now subclass ``asdf.exceptions.AsdfWarning``. (#804) +- 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) + and note that fallback behavior will be removed in 3.0. (`#806 `_) -- Drop support for jsonschema 2.x. (#807) +- Drop support for jsonschema 2.x. (`#807 `_) - Stop traversing oneOf and anyOf combiners when filling - or removing default values. (#811) + 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) + 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) + 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) + ndarray in the tree was both offset and broadcasted. (`#827 `_) - Fix bug preventing validation of default values in - ``schema.check_schema``. (#785) + ``schema.check_schema``. (`#785 `_) - Add option to disable validation of schema default values - in the pytest plugin. (#831) + in the pytest plugin. (`#831 `_) - Prevent errors when extension metadata contains additional - properties. (#832) + properties. (`#832 `_) 2.6.0 (2020-04-22) ================== @@ -628,35 +628,35 @@ The ASDF Standard is at v1.5.0 The ASDF Standard is at v1.5.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- AsdfDeprecationWarning now subclasses DeprecationWarning. (#710) +- AsdfDeprecationWarning now subclasses DeprecationWarning. (`#710 `_) - Resolve external references in custom schemas, and deprecate - asdf.schema.load_custom_schema. (#738) + asdf.schema.load_custom_schema. (`#738 `_) - Add ``asdf.info`` for displaying a summary of a tree, and - ``AsdfFile.search`` for searching a tree. (#736) + ``AsdfFile.search`` for searching a tree. (`#736 `_) - Add pytest plugin option to skip warning when a tag is - unrecognized. (#771) + unrecognized. (`#771 `_) -- Fix generic_io ``read_blocks()`` reading past the requested size (#773) +- 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) + transform schemas. (`#776 `_) - Enable validation and serialization of previously unhandled numpy - scalar types. (#778) + scalar types. (`#778 `_) - Fix handling of trees containing implicit internal references and reference cycles. Eliminate need to call ``yamlutil.custom_tree_to_tagged_tree`` and ``yamlutil.tagged_tree_to_custom_tree`` from extension code, - and allow ``ExtensionType`` subclasses to return generators. (#777) + and allow ``ExtensionType`` subclasses to return generators. (`#777 `_) - Fix bug preventing history entries when a file was previously - saved without them. (#779) + saved without them. (`#779 `_) - Update developer overview documentation to describe design of changes - to handle internal references and reference cycles. (#781) + to handle internal references and reference cycles. (`#781 `_) 2.5.2 (2020-02-28) ================== @@ -665,18 +665,18 @@ 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) + internally. Still a work in progress. (`#730 `_) -- Remove unnecessary dependency on six. (#739) +- 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 ``AsdfType`` subclasses. (#750) + issues in ``AsdfType`` subclasses. (`#750 `_) - Update asdf-standard to include schemas that were previously - missing from 1.4.0 version maps. (#767) + missing from 1.4.0 version maps. (`#767 `_) -- Simplify example in README.rst (#763) +- Simplify example in README.rst (`#763 `_) 2.5.1 (2020-01-07) ================== @@ -685,7 +685,7 @@ 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) + an installed asdf package. (`#732 `_) 2.5.0 (2019-12-23) ================== @@ -693,16 +693,16 @@ The ASDF Standard is at v1.4.0 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) +- 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) + and were replaced with ``SimpleSpec``. (`#715 `_) -- Pinned the minimum required ``semantic_version`` to 2.8. (#715) +- Pinned the minimum required ``semantic_version`` to 2.8. (`#715 `_) -- Fix bug causing segfault after update of a memory-mapped file. (#716) +- Fix bug causing segfault after update of a memory-mapped file. (`#716 `_) 2.4.2 (2019-08-29) ================== @@ -711,7 +711,7 @@ The ASDF Standard is at v1.3.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Limit the version of ``semantic_version`` to <=2.6.0 to work - around a Deprecation warning. (#700) + around a Deprecation warning. (`#700 `_) 2.4.1 (2019-08-27) ================== @@ -719,21 +719,21 @@ The ASDF Standard is at v1.3.0 The ASDF Standard is at v1.3.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Define the ``in`` operator for top-level ``AsdfFile`` objects. (#623) +- Define the ``in`` operator for top-level ``AsdfFile`` objects. (`#623 `_) -- Overhaul packaging infrastructure. Remove use of ``astropy_helpers``. (#670) +- 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) + tests. (`#676 `_) - Enable handling of subclasses of known custom types by using decorators for - convenience. (#563) + convenience. (`#563 `_) -- Add support for jsonschema 3.x. (#684) +- Add support for jsonschema 3.x. (`#684 `_) - Fix bug in ``NDArrayType.__len__``. It must be a method, not a - property. (#673) + property. (`#673 `_) 2.3.3 (2019-04-02) ================== @@ -741,17 +741,17 @@ The ASDF Standard is at v1.3.0 The ASDF Standard is at v1.3.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- Pass ``ignore_unrecognized_tag`` setting through to ASDF-in-FITS. (#650) +- Pass ``ignore_unrecognized_tag`` setting through to ASDF-in-FITS. (`#650 `_) - Use ``$schema`` keyword if available to determine meta-schema to use when - testing whether schemas themselves are valid. (#654) + testing whether schemas themselves are valid. (`#654 `_) - Take into account resolvers from installed extensions when loading schemas - for validation. (#655) + for validation. (`#655 `_) -- Fix compatibility issue with new release of ``pyyaml`` (version 5.1). (#662) +- Fix compatibility issue with new release of ``pyyaml`` (version 5.1). (`#662 `_) -- Allow use of ``pathlib.Path`` objects for ``custom_schema`` option. (#663) +- Allow use of ``pathlib.Path`` objects for ``custom_schema`` option. (`#663 `_) 2.3.2 (2019-02-19) ================== @@ -760,7 +760,7 @@ The ASDF Standard is at v1.3.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Fix bug that occurs when comparing installed extension version with that - found in file. (#641) + found in file. (`#641 `_) 2.3.1 (2018-12-20) ================== @@ -769,15 +769,15 @@ The ASDF Standard is at v1.3.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Provide source information for ``AsdfDeprecationWarning`` that come from - extensions from external packages. (#629) + extensions from external packages. (`#629 `_) - Ensure that top-level accesses to the tree outside a closed context handler - result in an ``OSError``. (#628) + result in an ``OSError``. (`#628 `_) -- Fix the way ``generic_io`` handles URIs and paths on Windows. (#632) +- Fix the way ``generic_io`` handles URIs and paths on Windows. (`#632 `_) - Fix bug in ``asdftool`` that prevented ``extract`` command from being - visible. (#633) + visible. (`#633 `_) 2.3.0 (2018-11-28) ================== @@ -789,15 +789,15 @@ The ASDF Standard is at v1.3.0 ``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) + version of ASDF (see #553 below). (`#566 `_) - Remove WCS tags. These are now provided by the `gwcs package - `_. (#593) + `_. (`#593 `_) -- Deprecate the ``asdf.asdftypes`` module in favor of ``asdf.types``. (#611) +- Deprecate the ``asdf.asdftypes`` module in favor of ``asdf.types``. (`#611 `_) - Support use of ``pathlib.Path`` with ``asdf.open`` and ``AsdfFile.write_to``. - (#617) + (`#617 `_) - Update ASDF Standard submodule to version 1.3.0. @@ -805,7 +805,7 @@ The ASDF Standard is at v1.3.0 ================== - Fix an issue with the README that caused sporadic installation failures and - also prevented the long description from being rendered on pypi. (#607) + also prevented the long description from being rendered on pypi. (`#607 `_) 2.2.0 (2018-11-14) ================== @@ -816,202 +816,202 @@ The ASDF Standard is at v1.3.0 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) + 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) + ``assert_roundtrip_tree`` for tests. (`#583 `_) -- Deprecate ``asdf.AsdfFile.open`` in favor of ``asdf.open``. (#579) +- 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) + 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) + 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) + on-the-fly. (`#549 `_) - Fix large integer validation when storing `numpy` integer literals in the - tree. (#553) + tree. (`#553 `_) - Fix bug that caused subclass of external type to be serialized by the wrong - tag. (#560) + tag. (`#560 `_) - Fix bug that occurred when attempting to open invalid file but Astropy import - fails while checking for ASDF-in-FITS. (#562) + 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) + is converted to basic Python data structures. (`#571 `_) 2.1.0 (2018-09-25) ================== -- Add API function for retrieving history entries. (#501) +- Add API function for retrieving history entries. (`#501 `_) -- Store ASDF-in-FITS data inside a 1x1 BINTABLE HDU. (#519) +- Store ASDF-in-FITS data inside a 1x1 BINTABLE HDU. (`#519 `_) -- Allow implicit conversion of ``namedtuple`` into serializable types. (#534) +- 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) + underscores. (`#543 `_) -- Add option to ``generic_io.get_file`` to close underlying file handle. (#544) +- 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) +- Add top-level ``keys`` method to ``AsdfFile`` to 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) + correct) requirements on the formatting of complex numbers. (`#526 `_) -- Fix bug with dangling file handle when using ASDF-in-FITS. (#533) +- Fix bug with dangling file handle when using ASDF-in-FITS. (`#533 `_) - Fix bug that prevented fortran-order arrays from being serialized properly. - (#539) + (`#539 `_) 2.0.2 (2018-07-27) ================== -- Allow serialization of broadcasted ``numpy`` arrays. (#507) +- Allow serialization of broadcasted ``numpy`` arrays. (`#507 `_) - Fix bug that caused result of ``set_array_compression`` to be overwritten by - ``all_array_compression`` argument to ``write_to``. (#510) + ``all_array_compression`` argument to ``write_to``. (`#510 `_) - Add workaround for Python OSX write limit bug - (see https://bugs.python.org/issue24658). (#521) + (see https://bugs.python.org/issue24658). (`#521 `_) - Fix bug with custom schema validation when using out-of-line definitions in - schema file. (#522) + schema file. (`#522 `_) 2.0.1 (2018-05-08) ================== -- Allow test suite to run even when package is not installed. (#502) +- 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) +- Astropy-specific tags have moved to Astropy core package. (`#359 `_) -- ICRSCoord tag has moved to Astropy core package. (#401) +- ICRSCoord tag has moved to Astropy core package. (`#401 `_) -- Remove support for Python 2. (#409) +- Remove support for Python 2. (`#409 `_) -- Create ``pytest`` plugin to be used for testing schema files. (#425) +- Create ``pytest`` plugin 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) + the file itself. (`#475 `_) - Remove hard dependency on Astropy. It is still required for testing, and for - processing ASDF-in-FITS files. (#476) + 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) + converting it to a pure ASDF file. (`#477 `_) -- Add command for removing ASDF extension from ASDF-in-FITS file. (#480) +- Add command for removing ASDF extension from ASDF-in-FITS file. (`#480 `_) - Add an ``ExternalArrayReference`` type for referencing arrays in external - files. (#400) + 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) + with reading gzipped ASDF-in-FITS files. (`#416 `_) - Explicitly disallow access to entire tree for ASDF file objects that have - been closed. (#407) + been closed. (`#407 `_) -- Install and load extensions using ``setuptools`` entry points. (#384) +- Install and load extensions using ``setuptools`` entry points. (`#384 `_) -- Automatically initialize ``asdf-standard`` submodule in ``setup.py``. (#398) +- Automatically initialize ``asdf-standard`` submodule in ``setup.py``. (`#398 `_) - Allow foreign tags to be resolved in schemas and files. Deprecate ``tag_to_schema_resolver`` property for ``AsdfFile`` and - ``AsdfExtensionList``. (#399) + ``AsdfExtensionList``. (`#399 `_) - Fix bug that caused serialized FITS tables to be duplicated in embedded ASDF - HDU. (#411) + 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 ``.update`` method of ``AsdfInFits``, even though it didn't appear to be - working previously. (#412) + working previously. (`#412 `_) - Allow package to be imported and used from source directory and builds in - development mode. (#420) + development mode. (`#420 `_) -- Add command to ``asdftool`` for querying installed extensions. (#418) +- Add command to ``asdftool`` for 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) + those enforced by the standard. (`#442 `_) - Remove restrictions affecting top-level attributes ``data``, ``wcs``, and - ``fits``. Bump top-level ASDF schema version to v1.1.0. (#444) + ``fits``. 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) +- 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) +- 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) + (`#450 `_) - Remove tests that are no longer relevant due to latest updates to Astropy's - testing infrastructure. (#458) + testing infrastructure. (`#458 `_) 1.3.1 (2017-11-02) ================== -- Relax requirement on ``semantic_version`` version to 2.3.1. (#361) +- 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 retrieving file format version from new ASDF file. (`#365 `_) -- Fix bug when duplicating inline arrays. (#370) +- Fix bug when duplicating inline arrays. (`#370 `_) - Allow tag references using the tag URI scheme to be resolved in schema files. - (#371) + (`#371 `_) 1.3.0 (2017-10-24) ================== -- Fixed a bug in reading data from an "http:" url. (#231) +- Fixed a bug in reading data from an "http:" url. (`#231 `_) -- Implements v 1.1.0 of the asdf schemas. (#233) +- 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) + 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) + 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) + versions for tag classes. (`#244 `_) -- Added support for ``lz4`` compression algorithm (#258). Also added support +- 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) + different compression algorithm) (`#257 `_) - Tag classes may now use an optional ``supported_versions`` attribute to declare exclusive support for particular versions of the corresponding @@ -1021,88 +1021,88 @@ The ASDF Standard is at v1.3.0 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) + (`#272 `_) - Added option to ``AsdfFile.open`` to allow suppression of warning messages - when mismatched schema versions are encountered. (#294) + when mismatched schema versions are encountered. (`#294 `_) - Added a diff tool to ``asdftool`` to allow for visual comparison of pairs of - ASDF files. (#286) + ASDF files. (`#286 `_) -- Added command to ``asdftool`` to display available tags. (#303) +- Added command to ``asdftool`` to display available tags. (`#303 `_) - When possible, display name of ASDF file that caused version mismatch - warning. (#306) + warning. (`#306 `_) -- Issue a warning when an unrecognized tag is encountered. (#295) This warning +- 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) + ignoring warnings from unrecognized schema tags. (`#319 `_) -- Fix bug with loading JSON schemas in Python 3.5. (#317) +- Fix bug with loading JSON schemas in Python 3.5. (`#317 `_) -- Remove all remnants of support for Python 2.6. (#333) +- 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) + against the correct version of the ASDF standard. (`#350 `_) - Update time schema to reflect changes in astropy. This fixes an outstanding - bug. (#343) + bug. (`#343 `_) - Add ``copy_arrays`` option to ``asdf.open`` to control whether or not - underlying array data should be memory mapped, if possible. (#355) + underlying array data should be memory mapped, if possible. (`#355 `_) - Allow the tree to be accessed using top-level ``__getitem__`` and - ``__setitem__``. (#352) + ``__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) + running it with older versions of astropy. (`#228 `_) 1.2.0 (2016-10-04) ================== -- Added Tabular model. (#214) +- Added Tabular model. (`#214 `_) -- Forced new blocks to be contiguous (#221) +- Forced new blocks to be contiguous (`#221 `_) -- Rewrote code which tags complex objects (#223) +- Rewrote code which tags complex objects (`#223 `_) -- Fixed version error message (#224) +- 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) +- 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) +- Added wrapper class for astropy.core.Time, TaggedTime. (`#198 `_) 1.0.2 (2016-02-29) ================== -- Renamed package to ASDF. (#190) +- Renamed package to ASDF. (`#190 `_) -- Stopped support for Python 2.6 (#191) +- Stopped support for Python 2.6 (`#191 `_) 1.0.1 (2016-01-08) ================== -- Fixed installation from the source tarball on Python 3. (#187) +- 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) + version of asdf. (`#178 `_) - Fixed parse error that could occur sometimes when YAML data was read from - a stream. (#183) + a stream. (`#183 `_) 1.0.0 (2015-09-18) diff --git a/pyproject.toml b/pyproject.toml index c9cc014aa..2a4267b1d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -201,3 +201,4 @@ package = "asdf" title_format = "{version} ({project_date})" ignore = [".gitkeep"] wrap = true +issue_format = "`{issue} `_"