add the usual sections for the next release
authorDenis Ovsienko <denis@ovsienko.info>
Sun, 17 Nov 2019 22:24:14 +0000 (22:24 +0000)
committerDenis Ovsienko <denis@ovsienko.info>
Sun, 17 Nov 2019 22:24:14 +0000 (22:24 +0000)
ChangeLog
wwwroot/inc/config.php
wwwroot/inc/upgrade.php

index aa77e72..06e6ade 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+0.22.0
 0.21.4 2019-11-17
        bugfix: amend SQL to work on MySQL 8 (Mantis#1909)
        update: use vertical writing mode in the 802.1Q report
index 109d3d5..61205b5 100644 (file)
@@ -13,4 +13,4 @@ committers' copies) can run into issues:
    have already been executed.
 */
 
-define ('CODE_VERSION', '0.21.4');
+define ('CODE_VERSION', '0.22.0');
index 627d629..8925364 100644 (file)
@@ -219,6 +219,7 @@ function getDBUpgradePath ($v1, $v2)
                '0.21.2',
                '0.21.3',
                '0.21.4',
+               '0.22.0',
        );
        if (! in_array ($v1, $versionhistory) || ! in_array ($v2, $versionhistory))
                return NULL;
@@ -1361,6 +1362,9 @@ INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, is_userdef
                case '0.21.4':
                        $query[] = "UPDATE Config SET varvalue = '0.21.4' WHERE varname = 'DB_VERSION'";
                        break;
+               case '0.22.0':
+                       $query[] = "UPDATE Config SET varvalue = '0.22.0' WHERE varname = 'DB_VERSION'";
+                       break;
                case 'dictionary':
                        $query = reloadDictionary();
                        break;