From e74f397c798d2d5c8b80aa5bc9dbe5a8c5352fea Mon Sep 17 00:00:00 2001 From: Johannes Lares Date: Wed, 24 May 2023 13:06:14 +0300 Subject: [PATCH] Release 2.3.0 Changes after 2.2.5: * Configloader * Statistics UI * Mobile optimizations * Updated dockerfile --- .../upgrade/upgrades/upgrade_2_2_5_to_2_3_0.py | 17 +++++++++++++++++ b2share/version.py | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 b2share/modules/upgrade/upgrades/upgrade_2_2_5_to_2_3_0.py diff --git a/b2share/modules/upgrade/upgrades/upgrade_2_2_5_to_2_3_0.py b/b2share/modules/upgrade/upgrades/upgrade_2_2_5_to_2_3_0.py new file mode 100644 index 000000000..8cd4f5e16 --- /dev/null +++ b/b2share/modules/upgrade/upgrades/upgrade_2_2_5_to_2_3_0.py @@ -0,0 +1,17 @@ +"""Upgrade recipe migrating B2SHARE from version 2.2.5 to 2.3.0.""" + + +from __future__ import absolute_import, print_function + +import pkg_resources + +from .common import elasticsearch_index_init + +from ..api import UpgradeRecipe + + +migrate_2_2_5_to_2_3_0 = UpgradeRecipe('2.2.5', '2.3.0') + +# 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 4efe0a447..6b9389590 100644 --- a/b2share/version.py +++ b/b2share/version.py @@ -21,4 +21,4 @@ """Version number.""" -__version__ = "2.2.5" +__version__ = "2.3.0"