From 1e4317d34128b8a005a8c51081e4f8035a3233a2 Mon Sep 17 00:00:00 2001 From: Brett Date: Fri, 8 Nov 2024 09:53:48 -0500 Subject: [PATCH] add standard change to what's new --- docs/asdf/whats_new.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/asdf/whats_new.rst b/docs/asdf/whats_new.rst index 8f9328cbf..5c8dd6884 100644 --- a/docs/asdf/whats_new.rst +++ b/docs/asdf/whats_new.rst @@ -46,6 +46,25 @@ Removed API New Defaults ------------ + +.. _whats_new_4.0.0_standard: + +ASDF standard version +^^^^^^^^^^^^^^^^^^^^^ + +By default asdf 4.0.0 will write files that use the 1.6.0 version of the +ASDF standard. This change should be transparent and all files +that use the older standards are readable. If you wish to write files +using the 1.5.0 (or older) ASDF standard you can provide a version +to `AsdfFile.write_to` or change `asdf.config.AsdfConfig.default_version`. + +In addition to new schemas and tags ASDF standard 1.6.0 comes with +a few other changes (scheduled for this version). + +- Opening files will no longer trigger `AsdfFile.fill_defaults`. +- Mapping keys are restricted to str, int, bool + See :external+asdf-standard:ref:`yaml_subset` + .. _whats_new_4.0.0_validation: Validation