Skip to content

[TASK] DPL-224: Drop the Composer patch plumbing - #100

Merged
sbuerk merged 2 commits into
mainfrom
task/dpl-224
Aug 21, 2026
Merged

sbuerk merged 2 commits into
mainfrom
task/dpl-224

Conversation

@sbuerk

@sbuerk sbuerk commented Aug 21, 2026

Copy link
Copy Markdown
Member

Part of the portfolio wide cleanup for
web-vision/deepltranslate-core#646.

web-vision/deepltranslate-core declares the TYPO3 Core patch for forge
#110281 in extra.patches, using the object form
({"source": …, "version": …}) that only vaimo/composer-patches
understands. cweagans/composer-patches expects a plain URL string there
and aborts the Composer run of a project with "Array to string
conversion" (1.7.3) or a type error in ResolverBase (2.0.0).

The declaration is therefore dropped from the whole portfolio. This
package never declared a patch itself; it only carried the plumbing so a
declaration of a dependency would be applied in its own test install:

  • vaimo/composer-patches in require-dev and in config.allow-plugins
  • extra.patches-search
  • the empty patches/ directory

All of it is removed here.

The upstream fix is released with TYPO3 v13.4.34 and v14.3.6, so the
lower bound is raised to those versions instead of patching older ones —
in composer.json and in ext_emconf.php.

Refs: DPL-224

sbuerk added 2 commits August 21, 2026 22:46
The package never declared a Composer patch of its own. It only carried
the `vaimo/composer-patches` requirement, the matching `allow-plugins`
entry, the `extra.patches-search` setting and an empty `patches/`
directory so that a patch declared by a dependency would be applied in
its own test installation.

`web-vision/deepltranslate-core` is dropping that declaration, because
the object form it uses is only understood by `vaimo/composer-patches`
and lets `cweagans/composer-patches` abort the Composer run of a
project. With nothing left to apply, the plumbing here is dead weight
and is removed.
The DeepL packages stop shipping the Composer patch for the TYPO3 Core
defect forge #110281 (translations with an empty `l10n_source` are
invisible to `BackendUtility::getRecordLocalization()`). The fix is
released upstream with TYPO3 v13.4.34 and v14.3.6, so the whole
portfolio raises its lower bound to those versions instead of patching
older ones.

This package is not affected by the defect itself, but it is always
installed together with the packages that are. Keeping one common lower
bound avoids a resolution in which they disagree, and keeps the
`ext_emconf.php` constraints in sync with `composer.json` for non
Composer installations.
@github-actions

Copy link
Copy Markdown

Documentation rendering

You can find files attached to the below linked Workflow Run URL (Logs).

Please note that files only stay for around 5 days!

Name Link
Commit 0fe30a1
Logs https://github.com/web-vision/deepl-base/actions/runs/32525290007
Documentation https://github.com/web-vision/deepl-base/actions/runs/32525290007/artifacts/9461957448

@sbuerk
sbuerk merged commit 29872ea into main Aug 21, 2026
8 checks passed
@sbuerk
sbuerk deleted the task/dpl-224 branch August 21, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant