From e0a4ac50d37f2797b3aac33a58aa15f799fb30cc Mon Sep 17 00:00:00 2001 From: Pablo Tamarit Date: Mon, 24 Feb 2025 17:44:03 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20release:=20v2.0.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGES.rst | 4 ++++ invenio_rest/__init__.py | 4 ++-- invenio_rest/csrf.py | 2 +- tests/test_csrf.py | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 437eefe..d8e6e03 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -10,6 +10,10 @@ Changes ======= +Version v2.0.1 (released 2025-02-24) + +- fix: flask changed from APP_ALLOWED_HOSTS to TRUSTED_HOSTS + Version 2.0.0 (released 2024-12-03) - fix: set_cookie needs a str diff --git a/invenio_rest/__init__.py b/invenio_rest/__init__.py index ec966f1..167bd3e 100644 --- a/invenio_rest/__init__.py +++ b/invenio_rest/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2015-2024 CERN. +# Copyright (C) 2015-2025 CERN. # Copyright (C) 2024 Graz University of Technology. # # Invenio is free software; you can redistribute it and/or modify it @@ -196,6 +196,6 @@ from .ext import InvenioREST from .views import ContentNegotiatedMethodView -__version__ = "2.0.0" +__version__ = "2.0.1" __all__ = ("__version__", "csrf", "InvenioREST", "ContentNegotiatedMethodView") diff --git a/invenio_rest/csrf.py b/invenio_rest/csrf.py index e5c2c56..1fc805f 100644 --- a/invenio_rest/csrf.py +++ b/invenio_rest/csrf.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2020 CERN. +# Copyright (C) 2020-2025 CERN. # Copyright (C) 2022 Northwestern University. # Copyright (C) 2023-2024 Graz University of Technology. # diff --git a/tests/test_csrf.py b/tests/test_csrf.py index 013a254..7c554e4 100644 --- a/tests/test_csrf.py +++ b/tests/test_csrf.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # # This file is part of Invenio. -# Copyright (C) 2015-2024 CERN. +# Copyright (C) 2015-2025 CERN. # Copyright (C) 2024 Graz University of Technology. # # Invenio is free software; you can redistribute it and/or modify it