diff --git a/Documentation/ChangeLog/Index.rst b/Documentation/ChangeLog/Index.rst index 6227b3c..eb6e25d 100644 --- a/Documentation/ChangeLog/Index.rst +++ b/Documentation/ChangeLog/Index.rst @@ -11,6 +11,10 @@ ChangeLog ========= +2022-01-14 : Upload of version 4.1.3 + + - Added Compatibility for TYPO3 V11 LTS. + 2020-12-29 : Upload of version 4.1.2 - Added Compatibility for TYPO3 V10 LTS. diff --git a/Documentation/Settings.cfg b/Documentation/Settings.cfg index 5161d28..3199267 100644 --- a/Documentation/Settings.cfg +++ b/Documentation/Settings.cfg @@ -20,7 +20,7 @@ project = rt_simpleosm # ... Set during rendering based on rendered version # ................................................................................. -release = 4.1.2 +release = 4.1.3 # ................................................................................. # ... (recommended) displayed in footer diff --git a/Documentation/Settings.yml b/Documentation/Settings.yml index 9cc43e8..013ffc7 100644 --- a/Documentation/Settings.yml +++ b/Documentation/Settings.yml @@ -11,7 +11,7 @@ conf.py: copyright: 2021 project: Simple OpenStreetMap version: 4.1 - release: 4.1.2 + release: 4.1.3 intersphinx_mapping: t3tsref: - http://docs.typo3.org/typo3cms/TyposcriptReference/ diff --git a/composer.json b/composer.json index 92e254d..52cc1fe 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ }, "license": ["GPL-2.0-or-later"], "require": { - "typo3/cms-core": "~8.7.32 || ~9.5.24 || ~10.4.12" + "typo3/cms-core": "~8.7.32 || ~9.5.24 || ~10.4.12 || ~v11.5.0" }, "autoload": { "psr-4": { @@ -33,4 +33,4 @@ "extension-key": "rt_simpleosm" } } -} \ No newline at end of file +} diff --git a/ext_emconf.php b/ext_emconf.php index 13fc214..4a6df47 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -20,9 +20,9 @@ 'uploadfolder' => 0, 'createDirs' => '', 'clearCacheOnLoad' => 0, - 'version' => '4.1.2', + 'version' => '4.1.3', 'constraints' => [ - 'depends' => [ 'typo3' => '8.7.32-10.4.99' ], + 'depends' => [ 'typo3' => '8.7.32-11.5.99' ], 'conflicts' => [], 'suggests' => [ 'tt_address' => '4.0.0-5.99.99', diff --git a/ext_localconf.php b/ext_localconf.php index 71698a7..6fe447d 100644 --- a/ext_localconf.php +++ b/ext_localconf.php @@ -4,15 +4,19 @@ call_user_func( function() { + // configure plugin + $typo3Version = TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionStringToArray(TYPO3\CMS\Core\Utility\VersionNumberUtility::getNumericTypo3Version()); + $controllerName = $typo3Version['version_main'] >= 10 ? \SYRADEV\RtSimpleosm\Controller\OsmController::class : 'Osm'; + $extensionName = $typo3Version['version_main'] >= 10 ? 'RtSimpleosm' : 'SYRADEV.RtSimpleosm'; \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin( - 'SYRADEV.RtSimpleosm', + $extensionName, 'Sosm', [ - 'Osm' => 'displayMap' + $controllerName => 'displayMap' ], // non-cacheable actions [ - 'Osm' => '' + $controllerName => '' ] );