Skip to content

Commit

Permalink
feat: add compatibility with TYPO3 v13
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml committed Jan 30, 2024
1 parent c12414a commit 2140c61
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 10 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@ jobs:
typo3-versions: '^11'
- php-versions: '8.2'
typo3-versions: '^12'
- php-versions: '8.2'
typo3-versions: '^13'
- php-versions: '8.3'
typo3-versions: '^11'
- php-versions: '8.3'
typo3-versions: '^12'
- php-versions: '8.3'
typo3-versions: '^13'
steps:
- name: Check out repository
uses: actions/checkout@v4
Expand All @@ -52,9 +56,14 @@ jobs:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install composer dependencies
- name: Install composer dependencies for TYPO3 v11 and v12
if: matrix.typo3-versions != '^13'
run: |
composer require typo3/cms-core=${{ matrix.typo3-versions }} --no-progress --prefer-dist --optimize-autoloader
- name: Install composer dependencies for TYPO3 v13
if: matrix.typo3-versions == '^13'
run: |
composer remove saschaegerer/phpstan-typo3 symplify/phpstan-rules --dev --no-update
composer require typo3/testing-framework=dev-main@dev --dev --no-update
composer require typo3/cms-core=${{ matrix.typo3-versions }} --no-progress --prefer-dist --optimize-autoloader
- name: Run PHP linter
run: |
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added
- Compatibility with TYPO3 v13

## [3.1.0] - 2024-01-10

### Added
Expand Down
6 changes: 6 additions & 0 deletions Documentation/Changelog/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.
`Unreleased <https://github.com/brotkrueml/schema/compare/v3.1.0...HEAD>`_
------------------------------------------------------------------------------

Added
^^^^^


* Compatibility with TYPO3 v13

`3.1.0 <https://github.com/brotkrueml/schema/compare/v3.0.0...v3.1.0>`_ - 2024-01-10
----------------------------------------------------------------------------------------

Expand Down
4 changes: 2 additions & 2 deletions Documentation/Installation/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Installation
Target group: **Administrators**

.. note::
The extension in version |release| supports TYPO3 v11 LTS and TYPO3 v12 LTS
and needs at least PHP 8.1.
The extension in version |release| supports TYPO3 v11 LTS, TYPO3 v12 LTS and
TYPO3 v13 and needs at least PHP 8.1.

Use latest version 2.x for compatibility with TYPO3 v10 LTS or PHP 7.4/8.0.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

| Latest release | TYPO3 | PHP | Updates will contain |
|----------------|-------------|-------|--------------------------------------------------------|
| 3.x | 11.5 - 12.4 | ≥ 8.1 | Features, schema.org updates, security and bug fixes |
| 3.x | 11.5 - 13.4 | ≥ 8.1 | Features, schema.org updates, security and bug fixes |
| 2.x | 10.4 - 12.4 | ≥ 7.4 | Security and bug fixes, end of life expected: Oct 2024 |
| 1.x | 9.5 - 11.5 | ≥ 7.2 | End of life |

Expand Down
10 changes: 6 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
},
"require": {
"php": ">=8.1",
"typo3/cms-core": "^11.5.19 || ^12.4",
"typo3/cms-frontend": "^11.5.19 || ^12.4"
"typo3/cms-core": "^11.5.19 || ^12.4 || ^13.0",
"typo3/cms-frontend": "^11.5.19 || ^12.4 || ^13.0"
},
"require-dev": {
"ext-sqlite3": "*",
Expand All @@ -42,8 +42,8 @@
"symfony/yaml": "^5.4 || ^6.4 || ^7.0",
"symplify/phpstan-rules": "^12.4",
"tomasvotruba/cognitive-complexity": "^0.2.3",
"typo3/cms-adminpanel": "^11.5.19 || ^12.4",
"typo3/cms-lowlevel": "^11.5.19 || ^12.4",
"typo3/cms-adminpanel": "^11.5.19 || ^12.4 || ^13.0",
"typo3/cms-lowlevel": "^11.5.19 || ^12.4 || ^13.0",
"typo3/testing-framework": "^7.0 || ^8.0"
},
"conflict": {
Expand All @@ -58,6 +58,8 @@
"typo3/cms-adminpanel": "Display schema.org types and properties on a page in Admin Panel",
"typo3/cms-lowlevel": "Display available schema.org types in the Configuration module"
},
"minimum-stability": "RC",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Brotkrueml\\Schema\\": "Classes/"
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'constraints' => [
'depends' => [
'php' => '8.1.0-0.0.0',
'typo3' => '11.5.19-12.4.99',
'typo3' => '11.5.19-13.4.99',
],
'conflicts' => [
'sdbreadcrumb' => '',
Expand Down

0 comments on commit 2140c61

Please sign in to comment.