From 655c7a58ec374d80663349ec5f9f12815db9439c Mon Sep 17 00:00:00 2001 From: Giacomo Furlan Date: Fri, 17 Nov 2023 09:04:39 +0200 Subject: [PATCH] Release version 2.3.1 Updates after version 2.3.0: - Add User-Agent Header to Request Object (BUGFIX) - Fix PATCH record for TypeError when missing doi - Blur community description when it's too long - Load fonts locally instead of using Google API - Fix the parsing of ePIC PIDs Co-authored-by: Harri Hirvonsalo --- .../upgrade/upgrades/upgrade_2_3_0_to_2_3_1.py | 17 +++++++++++++++++ b2share/version.py | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 b2share/modules/upgrade/upgrades/upgrade_2_3_0_to_2_3_1.py diff --git a/b2share/modules/upgrade/upgrades/upgrade_2_3_0_to_2_3_1.py b/b2share/modules/upgrade/upgrades/upgrade_2_3_0_to_2_3_1.py new file mode 100644 index 000000000..0cad57be7 --- /dev/null +++ b/b2share/modules/upgrade/upgrades/upgrade_2_3_0_to_2_3_1.py @@ -0,0 +1,17 @@ +"""Upgrade recipe migrating B2SHARE from version 2.3.0 to 2.3.1.""" + + +from __future__ import absolute_import, print_function + +import pkg_resources + +from .common import elasticsearch_index_init + +from ..api import UpgradeRecipe + + +migrate_2_3_0_to_2_3_1 = UpgradeRecipe('2.3.0', '2.3.1') + +# There are no ES mapping updates + +# There are no changes to the db schema, so no other updates are necessary diff --git a/b2share/version.py b/b2share/version.py index 6b9389590..7c79c09ce 100644 --- a/b2share/version.py +++ b/b2share/version.py @@ -21,4 +21,4 @@ """Version number.""" -__version__ = "2.3.0" +__version__ = "2.3.1"