Skip to content

Commit b284665

Browse files
[MAINTENANCE] Update version numbers (kitodo#1718)
1 parent edd4a4b commit b284665

File tree

10 files changed

+19
-38
lines changed

10 files changed

+19
-38
lines changed

.github/pull.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ rules:
2424
- base: 5.1.x
2525
upstream: kitodo:5.1.x
2626
mergeMethod: hardreset
27+
- base: 6.x
28+
upstream: kitodo:6.x
29+
mergeMethod: hardreset

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CodeQL
22

33
on:
44
push:
5-
branches: [ "main", "1.x", "2.x", "3.2.x", "3.3.x", "4.x", "5.0.x", "5.1.x" ]
5+
branches: [ "main" ]
66
pull_request:
77
branches: [ "main" ]
88

Build/Test/runTests.sh

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ Options:
7878
- functional: PHP functional tests
7979
- unit (default): PHP unit tests
8080
81-
-t <11.5|12.4>
81+
-t <12.4|13.4>
8282
Only with -s composerInstall
8383
Specifies which TYPO3 version to install. When unset, installs either the packages from
8484
composer.lock, or the latest version otherwise (default behavior of "composer install").
85-
- 11.5
8685
- 12.4
86+
- 13.4
8787
8888
-a <mysqli|pdo_mysql>
8989
Only with -s functional
@@ -101,20 +101,18 @@ Options:
101101
- mariadb (default): use mariadb
102102
- mysql: use MySQL server
103103
104-
-i <10.2|10.3|10.4|10.5|10.6|10.11>
104+
-i <10.3|10.4|10.5|10.6|10.11>
105105
Only with -d mariadb
106106
Specifies on which version of mariadb tests are performed
107-
- 10.2
108107
- 10.3 (default)
109108
- 10.4
110109
- 10.5
111110
- 10.6
112111
- 10.11
113112
114-
-j <5.7|8.0>
113+
-j <8.0>
115114
Only with -d mysql
116115
Specifies on which version of mysql tests are performed
117-
- 5.7
118116
- 8.0 (default)
119117
120118
-p <8.1|8.2|8.3|8.4>
@@ -217,7 +215,7 @@ while getopts ":a:s:t:d:i:j:p:e:xy:whuv" OPT; do
217215
;;
218216
j)
219217
MYSQL_VERSION=${OPTARG}
220-
if ! [[ ${MYSQL_VERSION} =~ ^(5.7|8.0)$ ]]; then
218+
if ! [[ ${MYSQL_VERSION} =~ ^(8.0)$ ]]; then
221219
INVALID_OPTIONS+=("${OPTARG}")
222220
fi
223221
;;

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Please read the excellent [GitHub Open Source Guide](https://opensource.guide/how-to-contribute/) on *How to Contribute on Open Source*.
1+
Please read the excellent [GitHub Open Source Guide](https://opensource.guide/how-to-contribute/) on *How to Contribute on Open Source* as well as our [Kitodo Coding Guidelines](https://github.com/kitodo/coding-guidelines/releases/latest/).
22

33
If you have any further questions just [open a new issue](https://github.com/kitodo/kitodo-presentation/issues/new) and we'll be happy to assist!

Classes/Common/Solr/Solr.php

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -580,22 +580,13 @@ public function __set(string $var, $value): void
580580
*/
581581
protected function __construct(?string $core)
582582
{
583-
// Solarium requires different code for version 5 and 6.
584-
$isSolarium5 = Client::checkExact('5');
585583
// Get Solr connection parameters from configuration.
586584
$this->loadSolrConnectionInfo();
587585
// Configure connection adapter.
588586
$adapter = GeneralUtility::makeInstance(Http::class);
589587
$adapter->setTimeout($this->config['timeout']);
590588
// Configure event dispatcher.
591-
if ($isSolarium5) {
592-
$eventDispatcher = null;
593-
} else {
594-
// When updating to TYPO3 >=10.x and Solarium >=6.x
595-
// we have to provide a PSR-14 Event Dispatcher instead of
596-
// "null".
597-
$eventDispatcher = GeneralUtility::makeInstance(EventDispatcher::class);
598-
}
589+
$eventDispatcher = GeneralUtility::makeInstance(EventDispatcher::class);
599590
// Configure endpoint.
600591
$config = [
601592
'endpoint' => [
@@ -611,14 +602,7 @@ protected function __construct(?string $core)
611602
]
612603
];
613604
// Instantiate Solarium\Client class.
614-
if ($isSolarium5) {
615-
$this->service = GeneralUtility::makeInstance(Client::class, $config);
616-
} else {
617-
// When updating to TYPO3 >=10.x and Solarium >=6.x
618-
// $adapter and $eventDispatcher are mandatory arguments
619-
// of the \Solarium\Client constructor.
620-
$this->service = GeneralUtility::makeInstance(Client::class, $adapter, $eventDispatcher, $config);
621-
}
605+
$this->service = GeneralUtility::makeInstance(Client::class, $adapter, $eventDispatcher, $config);
622606
$this->service->setAdapter($adapter);
623607
// Check if connection is established.
624608
$query = $this->service->createCoreAdmin();

DEVELOPMENT.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@
55
Before running any of the tests, please install the project dependencies. Choose which version of TYPO3 you would like to test against.
66

77
```bash
8-
# If you use PHP 8.1 (supported by Kitodo)
9-
composer update --with=typo3/cms-core:^11.5
10-
11-
# If you use PHP 8
12-
composer install-via-docker -- -t 11.5
138
composer install-via-docker -- -t 12.4
9+
composer install-via-docker -- -t 13.4
1410
```
1511

1612
### Quick Start
@@ -80,7 +76,7 @@ docker compose down
8076
### External Links
8177

8278
- [TYPO3 Testing Framework](https://github.com/TYPO3/testing-framework)
83-
- [TYPO3 Explained: Extension testing](https://docs.typo3.org/m/typo3/reference-coreapi/9.5/en-us/Testing/ExtensionTesting.html)
79+
- [TYPO3 Explained: Extension testing](https://docs.typo3.org/m/typo3/reference-coreapi/13.4/en-us/Testing/ExtensionTesting.html)
8480
- [typo3/cms-styleguide](https://github.com/TYPO3/styleguide)
8581

8682
## Documentation

Documentation/guides.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<guides xmlns="https://www.phpdoc.org/guides" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.phpdoc.org/guides ../vendor/phpdocumentor/guides-cli/resources/schema/guides.xsd" links-are-relative="true">
33
<extension class="\T3Docs\Typo3DocsTheme\DependencyInjection\Typo3DocsThemeExtension" project-home="https://kitodo.org" project-contact="mailto:contact@kitodo.org" project-repository="https://github.com/kitodo/kitodo-presentation" project-issues="https://github.com/kitodo/kitodo-presentation/issues" edit-on-github-branch="main" edit-on-github="kitodo/kitodo-presentation" typo3-core-preferred="stable"/>
4-
<project title="Kitodo.Presentation" release="6.0" copyright="since 2017 by Kitodo Release Management Team"/>
4+
<project title="Kitodo.Presentation" release="7.0" copyright="since 2017 by Kitodo Release Management Team"/>
55
<inventory id="t3tsref" url="http://docs.typo3.org/typo3cms/TyposcriptReference/"/>
66
</guides>

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,3 @@ To ensure it can best advise and assist users on technical and organisational is
3434

3535
* [Extension Documentation](https://kitodo.github.io/kitodo-presentation)
3636
* [DDEV Development Environment](https://github.com/kitodo/ddev-kitodo-presentation)
37-
* [Demo Server](https://presentation-demo.kitodo.org/)

SECURITY.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ The following versions of Kitodo.Presentation are currently being supported with
66

77
| Version | With TYPO3 | Active Development | Security Fixes |
88
| ------- | --------------- | :----------------: | :------------: |
9-
| 6.x | 11 LTS + 12 LTS |||
10-
| 5.x | 10 LTS + 11 LTS |||
9+
| 7.x | 12 LTS + 13 LTS |||
10+
| 6.x | 11 LTS + 12 LTS |||
11+
| 5.x | 10 LTS + 11 LTS |||
1112
| 4.x | 9 LTS + 10 LTS |||
1213
| 3.3.x | 9 LTS |||
1314
| 3.2.x | 8 LTS + 9 LTS |||

ext_emconf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
$EM_CONF[$_EXTKEY] = [
1414
'title' => 'Kitodo.Presentation',
1515
'description' => 'Base plugins, modules, services and API of the Digital Library Framework. It is part of the community-based Kitodo Digitization Suite.',
16-
'version' => '6.0.0',
16+
'version' => '7.0.0',
1717
'category' => 'misc',
1818
'constraints' => [
1919
'depends' => [

0 commit comments

Comments
 (0)