Releases: asdf-format/asdf
Releases · asdf-format/asdf
5.0.0
What's Changed
- Start 5.0.0 development (remove deprecated code) by @braingram in #1970
Full Changelog: 4.5.0...5.0.0
4.5.0
What's Changed
- use updated terminology for standard by @braingram in #1953
- warn when bundled pytest plugin runs by @braingram in #1959
- fix bug in assumption about what is tagged by @braingram in #1960
- add note discouraging metaschemas by @braingram in #1964
Full Changelog: 4.4.0...4.5.0
4.4.0
What's Changed
- asdftool fixes by @braingram in #1939
- Port benchmarks to pytest-benchmark, enable codspeed by @braingram in #1943
- add asdftool validate by @braingram in #1952
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #1954
- Simplify open by @braingram in #1955
- Check for external pytest-asdf-plugin and don't register bundled plugin if the external one exists by @braingram in #1957
- update changelog for 4.4.0 by @braingram in #1958
Full Changelog: 4.3.0...4.4.0
4.3.0
What's Changed
- return ndarray if lazy_load=False by @braingram in #1929
- Add
dump
load
dumps
andloads
to top levelasdf
by @braingram in #1930 - Bump OpenAstronomy/github-actions-workflows from 1 to 2 by @dependabot[bot] in #1933
- Docs updates by @braingram in #1938
- Fix urljoin usage for python 3.14 by @braingram in #1932
- deprecate resolver argument to load_schema by @braingram in #1934
- deprecate refresh_extension_manager by @braingram in #1935
- Restrict scope of ndarray validators by @braingram in #1937
- Fixes for custom schemas by @braingram in #1931
- deprecate url_mapping argument to get_validator by @braingram in #1936
- generate changelog for 4.3.0 by @braingram in #1942
Full Changelog: 4.2.0...4.3.0
4.2.0
What's Changed
- fix downstream astrocut tests by @braingram in #1905
- Use fsspec for all non-local urls by @braingram in #1906
- allow extra keywords in structured datatype validation by @braingram in #1901
- use yaml constructors for _IgnoreCustomTagsLoader by @braingram in #1907
- Datatype validator fix by @braingram in #1904
- fix astrocut downstream tests by @braingram in #1912
- add weldx downstream by @braingram in #1919
- update pyproject.toml to avoid setuptools warnings by @braingram in #1917
- allow non-null post tree pre block padding by @braingram in #1918
- allow block index loading to use CSafeLoader by @braingram in #1920
- Cleanup docs by @braingram in #1913
- provide usedforsecurity to hashlib for block md5 by @braingram in #1925
- fix deepcopy of lazy tree by @braingram in #1922
- update changelog for 4.2.0 release by @braingram in #1926
Full Changelog: 4.1.0...4.2.0
4.1.0
What's Changed
- update downstream jobs to run on python 3.12 by @braingram in #1876
- fix type and filter docs for search by @braingram in #1880
- cleanup downstream by @braingram in #1885
- improve schema info collection combiner handling by @braingram in #1875
- pyproject.toml: version_file requires setuptools_scm>=8 by @wdconinc in #1894
- Add
Converter.to_info
to customizeinfo
andsearch
by @braingram in #1884 - fix dkist downstream test by @braingram in #1896
- docs/theme-updates by @alphasentaurii in #1897
- prep 4.1.0 release notes by @braingram in #1898
New Contributors
- @wdconinc made their first contribution in #1894
- @alphasentaurii made their first contribution in #1897
Full Changelog: 4.0.0...4.1.0
4.0.0
This is a major release for asdf that includes removal of deprecated features and changes to some defaults.
Please see the "what's new" documentation:
https://asdf.readthedocs.io/en/4.0.0/asdf/whats_new.html#whats-new-4-0-0
for a description of the included changes.
Changes include:
Feature
- Switch default ASDF standard to 1.6.0. (
#1744 <https://github.com/asdf-format/asdf/pull/1744>
_) - Raise RuntimeError if a Convert subclass supports multiple tags but doesn't
implement select_tag. (#1853 <https://github.com/asdf-format/asdf/pull/1853>
_)
General
- Set
memmap=False
to default forasdf.open
andAsdfFile.__init__
.
(#1801 <https://github.com/asdf-format/asdf/pull/1801>
_)
Removal
- remove
copy_arrays
(replaced bymemmap
) (#1800 <https://github.com/asdf-format/asdf/pull/1800>
_) - Remove deprecated API. See docs for full details. (
#1852 <https://github.com/asdf-format/asdf/pull/1852>
_) - Switch default convert_unknown_ndarray_subclasses to False and issue
deprecation warning if it is enabled. (#1858 <https://github.com/asdf-format/asdf/pull/1858>
_)
3.5.0
Bugfix
- Allow
asdf.util.load_yaml
to handle recursive objects (#1825 <https://github.com/asdf-format/asdf/pull/1825>
_)
Doc
- added issue links to changelog entries #1827
- Change asdf standard changelog entries to notes to ease transition to
towncrier #1830
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
- 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
fromyaml.representer.RepresenterError
to provide backwards compatibility. However
this inheritance may be dropped in a future asdf version. Please migrate to the new
AsdfSerializationError
. [#1809] - Drop
importlib_metadata
as a dependency on Python 3.12 and newer [#1810] - Bumped minimal requirement on
attrs
from20.1.0
to22.2.0
[#1815]
3.3.0
- 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_url
usepathlib.Path.to_uri
[#1735] - Record package providing manifest for extensions used to write
a file andAsdfPackageVersionWarning
when installed extension/manifest
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] - 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] - 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 viaAsdfConfig.default_array_save_base
,
AsdfFile.set_array_save_base
and
SerializationContext.set_array_save_base
[#1753] - Deprecate
ignore_implicit_conversion
and "implicit conversion" [#1724] - Add
lazy_tree
option toasdf.open
andasdf.config
to allow lazy deserialization of ASDF tagged tree nodes to
custom objects. [#1733]