Skip to content

Commit

Permalink
Merge pull request #684 from eliashaeussler/feature/typo3-13.2
Browse files Browse the repository at this point in the history
[FEATURE] Add support for TYPO3 v13.2
  • Loading branch information
eliashaeussler committed Jul 11, 2024
2 parents eb971ea + d260e30 commit b477580
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 25 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
fail-fast: false
matrix:
php-version: ["8.1", "8.2", "8.3"]
typo3-version: ["12.4", "13.1"]
typo3-version: ["12.4", "13.2"]
dependencies: ["highest", "lowest"]
exclude:
- php-version: "8.1"
typo3-version: "13.1"
typo3-version: "13.2"
steps:
- uses: actions/checkout@v4
with:
Expand Down
6 changes: 4 additions & 2 deletions Documentation/Installation/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Requirements
============

- PHP 8.1 - 8.3
- TYPO3 12.4 LTS - 13.1
- TYPO3 12.4 LTS - 13.2

.. _steps:

Expand All @@ -36,7 +36,9 @@ Version matrix
+--------------------+-------------------------+---------------+
| Extension versions | TYPO3 versions | PHP versions |
+====================+=========================+===============+
| **since 2.2.0** | **12.4 LTS - 13.1** | **8.1 - 8.3** |
| **since 2.3.0** | **12.4 LTS - 13.2** | **8.1 - 8.3** |
+--------------------+-------------------------+---------------+
| 2.2.0 | 12.4 LTS - 13.1 | 8.1 - 8.3 |
+--------------------+-------------------------+---------------+
| 2.1.0 | 12.4 LTS - 13.0 | 8.1 - 8.3 |
+--------------------+-------------------------+---------------+
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Introduction/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Features
- Support for :ref:`custom crawlers <crawlers>` and
:ref:`crawling strategies <crawling-strategies>`
- :ref:`Console commands <console-commands>`
- Compatible with TYPO3 12.4 LTS and 13.1 (see :ref:`version matrix <version-matrix>`)
- Compatible with TYPO3 12.4 LTS and 13.2 (see :ref:`version matrix <version-matrix>`)

.. _support:

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ It supports multiple languages and custom crawler implementations.
* Multi-language support
* Support for custom crawlers
* Console command
* Compatible with TYPO3 12.4 LTS and 13.1
* Compatible with TYPO3 12.4 LTS and 13.2

## 🔥 Installation

Expand Down
16 changes: 16 additions & 0 deletions Tests/Build/Scripts/fix_invalid_package_path.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env bash
# shellcheck disable=SC2155,SC2059
set -e

readonly artifactFile=".Build/vendor/typo3/PackageArtifact.php"
readonly tempFile="$(mktemp)"

CYAN="\e[36m"
YELLOW="\e[43m"
NC="\e[0m"

printf "${YELLOW}Running script to fix invalid package path in PackageArtifact.${NC}\n"
printf "${CYAN}Please remove this script once https://review.typo3.org/c/Packages/TYPO3.CMS/+/85212 is released.${NC}\n"

awk '{ gsub(/packagePath";s:2:"\/\/"/, "packagePath\";s:0:\"\""); print }' "$artifactFile" > "$tempFile" \
&& mv "$tempFile" "$artifactFile"
17 changes: 9 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
"psr/log": "^1.0 || ^2.0 || ^3.0",
"symfony/console": "^6.0 || ^7.0",
"symfony/dependency-injection": "^6.0 || ^7.0",
"typo3/cms-backend": "~12.4.2 || ~13.1.0",
"typo3/cms-core": "~12.4.2 || ~13.1.0",
"typo3/cms-extbase": "~12.4.2 || ~13.1.0",
"typo3/cms-fluid": "~12.4.2 || ~13.1.0"
"typo3/cms-backend": "~12.4.2 || ~13.2.0",
"typo3/cms-core": "~12.4.2 || ~13.2.0",
"typo3/cms-extbase": "~12.4.2 || ~13.2.0",
"typo3/cms-fluid": "~12.4.2 || ~13.2.0"
},
"require-dev": {
"codeception/module-asserts": "^3.0",
Expand All @@ -45,9 +45,9 @@
"eliashaeussler/typo3-codeception-helper": "^1.0",
"phpunit/phpcov": "^9.0 || ^10.0",
"symfony/config": "^6.0 || ^7.0",
"typo3/cms-install": "~12.4.2 || ~13.1.0",
"typo3/cms-seo": "~12.4.2 || ~13.1.0",
"typo3/cms-tstemplate": "~12.4.2 || ~13.1.0",
"typo3/cms-install": "~12.4.2 || ~13.2.0",
"typo3/cms-seo": "~12.4.2 || ~13.2.0",
"typo3/cms-tstemplate": "~12.4.2 || ~13.2.0",
"typo3/testing-framework": "^8.0.9"
},
"autoload": {
Expand Down Expand Up @@ -88,7 +88,8 @@
"@composer -d Tests/CGL update"
],
"post-autoload-dump": [
"@environment:prepare"
"@environment:prepare",
"Tests/Build/Scripts/fix_invalid_package_path.sh"
],
"cgl": "@composer -d Tests/CGL --",
"docs": [
Expand Down
20 changes: 10 additions & 10 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
'author_email' => '[email protected]',
'constraints' => [
'depends' => [
'typo3' => '12.4.2-13.1.99',
'typo3' => '12.4.2-13.2.99',
'php' => '8.1.0-8.3.99',
'sitemap_locator' => '0.1.0-0.1.99',
],
Expand Down

0 comments on commit b477580

Please sign in to comment.