diff --git a/CHANGES.rst b/CHANGES.rst index cb7a87aa5..091833bb8 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -12,6 +12,19 @@ Changes ======= +Version v16.3.1 (released 2024-12-02) + +- deposit-ui: make sure we handle null/undefined for SchemaField +- deposit-ui: skip unecessary removal of empty values in serialization + * This initial removal of empty values can be dangerous, since the + `record` at this point is a UI object representation that could + potentially include circular references or very deeply nested objects. + Since `_removeEmptyValues` is recursive this can lead to stack + overflow errors. +- deposit-ui: log errors on all deposit form actions + * This can help with debugging unexpected non-network related errors + that might occur in the logic before/after a REST API requests. + Version v16.3.0 (released 2024-11-27) - github: added default license from Github API diff --git a/invenio_rdm_records/__init__.py b/invenio_rdm_records/__init__.py index 8c4659b42..9c294024b 100644 --- a/invenio_rdm_records/__init__.py +++ b/invenio_rdm_records/__init__.py @@ -12,6 +12,6 @@ from .ext import InvenioRDMRecords -__version__ = "16.3.0" +__version__ = "16.3.1" __all__ = ("__version__", "InvenioRDMRecords") diff --git a/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/serializers/SchemaField.js b/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/serializers/SchemaField.js index f90e311af..0e70913bf 100644 --- a/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/serializers/SchemaField.js +++ b/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/serializers/SchemaField.js @@ -1,5 +1,5 @@ // This file is part of Invenio-RDM-Records -// Copyright (C) 2020-2023 CERN. +// Copyright (C) 2020-2024 CERN. // Copyright (C) 2020-2022 Northwestern University. // // Invenio-RDM-Records is free software; you can redistribute it and/or modify it diff --git a/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/state/actions/deposit.js b/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/state/actions/deposit.js index f9c01c121..f26659f68 100644 --- a/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/state/actions/deposit.js +++ b/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/state/actions/deposit.js @@ -1,5 +1,5 @@ // This file is part of Invenio-RDM-Records -// Copyright (C) 2020-2023 CERN. +// Copyright (C) 2020-2024 CERN. // Copyright (C) 2020-2022 Northwestern University. // // Invenio-RDM-Records is free software; you can redistribute it and/or modify it diff --git a/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/state/actions/files.js b/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/state/actions/files.js index c62f00e32..20270bd92 100644 --- a/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/state/actions/files.js +++ b/invenio_rdm_records/assets/semantic-ui/js/invenio_rdm_records/src/deposit/state/actions/files.js @@ -1,5 +1,5 @@ // This file is part of Invenio-RDM-Records -// Copyright (C) 2020-2023 CERN. +// Copyright (C) 2020-2024 CERN. // Copyright (C) 2020-2022 Northwestern University. // // Invenio-RDM-Records is free software; you can redistribute it and/or modify it