diff --git a/config/module.ini b/config/module.ini index 989bf893..efb8da14 100644 --- a/config/module.ini +++ b/config/module.ini @@ -8,6 +8,6 @@ author_link = "https://gitlab.com/Daniel-KM" module_link = "https://gitlab.com/Daniel-KM/Omeka-S-module-BulkImport" support_link = "https://gitlab.com/Daniel-KM/Omeka-S-module-BulkImport/-/issues" configurable = true -version = "3.3.33.6" +version = "3.3.34" omeka_version_constraint = "^3.1.0" dependencies = "Log" diff --git a/data/scripts/upgrade.php b/data/scripts/upgrade.php index c167ae71..f0aa2213 100644 --- a/data/scripts/upgrade.php +++ b/data/scripts/upgrade.php @@ -536,3 +536,18 @@ SQL; $connection->executeStatement($sql); } + +if (version_compare($oldVersion, '3.3.34.0', '<')) { + require_once __DIR__ . '/upgrade_vocabulary.php'; + + $messenger = new Messenger(); + $messenger->addSuccess($message); + $message = new Message( + 'New mappers where added to import iiif manifests.' // @translate + ); + $messenger->addSuccess($message); + $message = new Message( + 'Two new formats are supported to write mappings: jsonpath and jmespath. See examples with iiif manifest mappings.' // @translate + ); + $messenger->addSuccess($message); +} diff --git a/src/Reader/HttpClientTrait.php b/src/Reader/HttpClientTrait.php index ddacc3af..fefb4f2c 100644 --- a/src/Reader/HttpClientTrait.php +++ b/src/Reader/HttpClientTrait.php @@ -16,7 +16,7 @@ trait HttpClientTrait /** * @var string */ - protected $userAgent = 'Omeka S - module BulkImport version 3.3.29.0'; + protected $userAgent = 'Omeka S - module BulkImport version 3.3.34'; /** * @var \Laminas\Http\Client