-
Notifications
You must be signed in to change notification settings - Fork 7
Modernize for TYPO3 v13/v14 #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
davidsteeb
wants to merge
5
commits into
master
Choose a base branch
from
feature/v3-cleanup
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
e091b3e
Modernize for TYPO3 v13/v14
davidsteeb c0226d8
[TASK] Use addRecordType() for CType registration
davidsteeb d06579d
[TASK] Declare cms-backend/cms-frontend deps and Set description
davidsteeb 3fe1d66
[TASK] Remove deprecated clearCacheOnLoad from ext_emconf
davidsteeb 6a7eb3f
[TASK] Shrink showitem — system tabs auto-added since v13.3
davidsteeb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| # Changelog | ||
|
|
||
| ## 3.0.0 — Cleanup release for TYPO3 v13 and v14 | ||
|
|
||
| ### Breaking | ||
|
|
||
| - **Drops support for TYPO3 10, 11, and 12.** Minimum is now TYPO3 13.4. | ||
| - **Requires PHP 8.2 or newer.** | ||
| - **Delivery is now a Site Set.** Assign `b13/codeblock` to your site | ||
| (Sites module → tab *Sets for this Site*) instead of `@import`-ing | ||
| `EXT:codeblock/Configuration/TypoScript/setup.typoscript` and | ||
| `EXT:codeblock/Configuration/PageTs/PageTs.tsconfig`. The legacy file | ||
| paths no longer exist. | ||
|
|
||
| ### Removed | ||
|
|
||
| - `ext_tables.sql` — the `code_language` column is now auto-created from | ||
| the TCA definition (TYPO3 v13+ feature). | ||
| - `ext_localconf.php` — the pre-v12 `tt_content_drawItem` hook and the | ||
| manual `IconRegistry` registration are gone. The icon is registered via | ||
| `Configuration/Icons.php`. | ||
| - `Classes/Hooks/CodeblockPreviewRenderer.php` — relied on the | ||
| `PageLayoutViewDrawItemHookInterface`, which was removed in TYPO3 v12. | ||
| - `Classes/Listener/PageContentPreviewRendering.php` — preview truncation | ||
| now happens inside `ContentPreviewRenderer::renderPageModulePreviewContent()`, | ||
| so the separate event listener is no longer needed. | ||
| - `Configuration/PageTs/PageTs.tsconfig` and | ||
| `Configuration/TypoScript/setup.typoscript` — moved into the Site Set. | ||
|
|
||
| ### Changed | ||
|
|
||
| - `HighlightProcessor` and `CodeLanguages` now get their `Highlighter` | ||
| instance via constructor injection (autowired through `Services.yaml`). | ||
| - `HighlightProcessor` fixes the auto-detect default for the | ||
| `code_language` field. The previous `?? true` default unintentionally | ||
| skipped auto-detection when the field was unset. | ||
| - `ContentPreviewRenderer` truncates the bodytext for the page-module | ||
| preview with `mb_strimwidth()` instead of the deprecated | ||
| `GeneralUtility::fixed_lgd_cs()`. | ||
| - TCA `CType` registration now includes a `description` and `group`, so | ||
| the New Content Element Wizard picks it up correctly under the | ||
| *default* group on TYPO3 13 and 14. | ||
| - GitHub Actions workflow refreshed: `ubuntu-latest`, `actions/checkout@v4`, | ||
| PHP 8.2, `$GITHUB_OUTPUT` syntax. | ||
|
|
||
| ## 2.1.0 and earlier | ||
|
|
||
| See git history. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can be done with PHP-Attributes