Review main Merged

91908[FEATURE] Allow extensions to move ext_emconf.php info to composer.json

Helmut Hummel CR +2 V +2 Nightmare +1189 −2984 updated 03/24/26, 14:35

Commit message

TYPO3 classic mode previously still relied on ext_emconf.php for
metadata that could not yet be fully expressed in composer.json,
especially the extension version and dependency information.

This change allows that remaining metadata to be moved to composer.json:

* "version" is now used for the extension version
* entries in "require" are treated as TYPO3 extension dependencies
  unless they are explicitly marked as regular Composer packages via
  extra.typo3/cms.Package.providesPackages

This enables TYPO3 to distinguish extension dependencies from plain
Composer package dependencies in classic mode, so Extension Manager can
use the version for compatibility checks and PackageManager can resolve
the correct extension loading order.

For third-party extensions, the version in composer.json must match the
former ext_emconf.php version and the tagged release version. Core
extensions may omit the version because it is derived from Typo3Version.

As a result, composer.json becomes the relevant metadata source for
classic mode as well, and ext_emconf.php is no longer evaluated once
the required composer.json fields are present.

Used Composer commands:

composer req composer/semver
composer req composer/semver -d typo3/sysext/core/ --no-update
composer up typo3/testing-framework

Review

  • Code review CR +2 Done
    • Helmut Hummel +2
    • Christian Kuhn +1
    • Simon Schaufelberger +1
  • Verified V +2 Done
    • Helmut Hummel +2
    • Christian Kuhn +1
    • Simon Schaufelberger +1
    • core-ci +1 CI

Issues 2

Files 240

Show 220 more files

Review log 4886

Show 3261 earlier messages
  1. Helmut Hummel uploaded patch set 1 11/27/25, 11:02

  2. Helmut Hummel marked it work in progress 11/27/25, 11:02

  3. core-ci voted on patch set 1 V -1 11/27/25, 11:17 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91090

  4. Helmut Hummel uploaded patch set 2 V -1 11/27/25, 11:36

  5. core-ci voted on patch set 2 V -1 11/27/25, 11:55 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91092

  6. Helmut Hummel uploaded patch set 3 V -1 11/27/25, 11:55

  7. core-ci voted on patch set 3 V -1 11/27/25, 12:10 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91095

  8. Helmut Hummel uploaded patch set 4 V -1 11/27/25, 16:23

  9. core-ci voted on patch set 4 V +1 11/27/25, 16:32 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91122

  10. Helmut Hummel uploaded patch set 5 V +1 11/27/25, 16:33

  11. core-ci voted on patch set 5 V -1 11/27/25, 16:45 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91124

  12. Helmut Hummel uploaded patch set 6 V -1 11/27/25, 17:59

  13. core-ci voted on patch set 6 V -1 11/27/25, 18:08 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91125

  14. Helmut Hummel uploaded patch set 7 V -1 11/27/25, 18:13

  15. core-ci voted on patch set 7 V +1 11/27/25, 18:21 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91126

  16. Helmut Hummel uploaded patch set 8 V +1 11/27/25, 21:47

  17. core-ci voted on patch set 8 V -1 11/27/25, 21:58 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91141

  18. Helmut Hummel uploaded patch set 9 V -1 11/27/25, 21:58

  19. Helmut Hummel uploaded patch set 10 11/27/25, 21:59

  20. core-ci voted on patch set 9 V +1 11/27/25, 22:08 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91143

  21. core-ci voted on patch set 10 V +1 11/27/25, 22:08 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91144

  22. Helmut Hummel uploaded patch set 11 V +1 12/04/25, 08:30

  23. core-ci voted on patch set 11 V -1 12/04/25, 08:43 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91575

  24. Helmut Hummel uploaded patch set 12 V -1 12/04/25, 12:08

  25. core-ci voted on patch set 12 V +1 12/04/25, 12:17 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91586

  26. Helmut Hummel uploaded patch set 13 V +1 12/04/25, 19:42

  27. core-ci voted on patch set 13 V -1 12/04/25, 19:53 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91601

  28. Helmut Hummel uploaded patch set 14 V -1 12/04/25, 19:57

  29. Helmut Hummel uploaded patch set 15 12/04/25, 20:01

  30. core-ci voted on patch set 14 V -1 12/04/25, 20:09 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91603

  31. core-ci voted on patch set 15 V -1 12/04/25, 20:10 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91604

  32. Helmut Hummel uploaded patch set 16 V -1 12/04/25, 21:31

  33. Helmut Hummel uploaded patch set 17 12/04/25, 21:37

  34. core-ci voted on patch set 16 V +1 12/04/25, 21:39 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91613

  35. core-ci voted on patch set 17 V -1 12/04/25, 21:45 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91614

  36. Helmut Hummel uploaded patch set 18 V -1 12/04/25, 22:11

  37. core-ci voted on patch set 18 V +1 12/04/25, 22:19 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/91615

  38. Helmut Hummel uploaded patch set 19 V +1 12/15/25, 13:35

  39. core-ci voted on patch set 19 V +1 12/15/25, 13:43 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/92237

  40. Helmut Hummel uploaded patch set 20 V +1 03/05/26, 12:45

  41. core-ci voted on patch set 20 V -1 03/05/26, 13:00 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/97407

  42. Helmut Hummel uploaded patch set 21 V -1 03/21/26, 10:38

  43. core-ci voted on patch set 21 V -1 03/21/26, 10:53 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98342

  44. Helmut Hummel uploaded patch set 22 V -1 03/21/26, 12:32

  45. core-ci voted on patch set 22 V -1 03/21/26, 12:46 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98343

  46. Helmut Hummel uploaded patch set 23 V -1 03/21/26, 12:47

  47. Helmut Hummel uploaded patch set 24 03/21/26, 12:49

  48. core-ci voted on patch set 23 V -1 03/21/26, 12:52 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98345

  49. core-ci voted on patch set 24 V -1 03/21/26, 13:04 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98346

  50. Helmut Hummel uploaded patch set 25 V -1 03/21/26, 15:01

  51. core-ci voted on patch set 25 V -1 03/21/26, 15:14 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98351

  52. core-ci commented on patch set 25 03/21/26, 16:08 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98351

  53. core-ci voted on patch set 25 V +1 03/21/26, 17:11 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98351

  54. Benni Mack commented on patch set 25 03/22/26, 06:57

    composer.json:5

    left over?

    composer.json:5

    left over?

    composer.json:5

    left over?

    composer.json:4

    left over?
  55. Helmut Hummel uploaded patch set 26 V +1 03/23/26, 09:54

  56. core-ci voted on patch set 26 V -1 03/23/26, 10:14 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98444

  57. Helmut Hummel commented on patch set 26 03/23/26, 11:18

    This change is ready for review.

    composer.json:5 Reply

    Done

    composer.json:4 Reply

    Done
  58. Helmut Hummel uploaded patch set 27 V -1 03/23/26, 11:35

  59. Helmut Hummel uploaded patch set 28 03/23/26, 11:43

  60. core-ci voted on patch set 27 V -1 03/23/26, 11:47 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98461

  61. Helmut Hummel commented on patch set 28 03/23/26, 11:52

    composer.json:5 Reply

    Done

    composer.json:5 Reply

    Done
  1. Helmut Hummel uploaded patch set 29 03/23/26, 11:52

  2. Helmut Hummel uploaded patch set 30 03/23/26, 11:58

  3. core-ci voted on patch set 30 V -1 03/23/26, 12:20 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98468

  4. core-ci voted on patch set 28 V -1 03/23/26, 12:32 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98462

  5. core-ci voted on patch set 29 V -1 03/23/26, 12:59 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98466

  6. core-ci voted on patch set 29 V -1 03/23/26, 13:45 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98466

  7. core-ci commented on patch set 30 03/23/26, 17:34 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98468

  8. core-ci commented on patch set 30 03/23/26, 18:46 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98468

  9. core-ci voted on patch set 30 V +1 03/23/26, 18:57 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98468

  10. Garvin Hicking commented on patch set 30 03/24/26, 06:01

    Feature-108345-No-ext-em-conf-in-classic-mode.rst:90

    is there a reason this is uppercased, when no other fields are? And other keys have dash-casing and not lowerCamelCase? This feels a bit inconsistent?
  11. Benni Mack commented on patch set 30 03/24/26, 06:36

    Feature-108345-No-ext-em-conf-in-classic-mode.rst:90 Reply

    We have "Package" already (e.g. serviceProvider, or partOfFactoryDefault) see composer.json in EXT:core for this
  12. Garvin Hicking commented on patch set 30 03/24/26, 07:45

    Feature-108345-No-ext-em-conf-in-classic-mode.rst:90 Reply

    Ah, did not know, sorry.
  13. Helmut Hummel uploaded patch set 31 V +1 03/24/26, 07:48

  14. core-ci voted on patch set 31 V +1 03/24/26, 07:59 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98539

  15. Simon Schaufelberger commented on patch set 31 03/24/26, 08:32

    composer.json:5

    Should it not be 14.2.0 everywhere?
  16. Helmut Hummel commented on patch set 31 03/24/26, 09:20

    composer.json:5 Reply

    the version in fixture extension is evaluated nowhere. I'd rather avoid unnecessary changes in this file, therefore
  17. Simon Schaufelberger commented on patch set 31 03/24/26, 09:54

    composer.json:5 Reply

    does the release script not update the version automatically? at least that is what is happening in all fixture extensions for a new release.
  18. Helmut Hummel uploaded patch set 32 V +1 03/24/26, 10:53

  19. Helmut Hummel commented on patch set 32 03/24/26, 10:57

    composer.json:5 Reply

    it did update the version in ext_emconf.php, yes I see it as an improvement to not ship an ext_emconf.php any more and to also not update a field (version in composer.json), that is not evaluated at all. But I don't care too much if someone wants to change that after we get this merged. I don't think this is a blocker for this one. Agreed?
  20. core-ci voted on patch set 32 V +1 03/24/26, 11:07 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/98571

  21. Christian Kuhn voted on patch set 32 CR +1 V +1 03/24/26, 13:20

  22. Simon Schaufelberger voted on patch set 32 CR +1 V +1 03/24/26, 13:38

  23. Simon Schaufelberger commented on patch set 32 03/24/26, 13:39

    composer.json:5 Reply

    Yes.
  24. Helmut Hummel voted on patch set 32 CR +2 V +2 03/24/26, 14:34

  25. Helmut Hummel merged patch set 33 03/24/26, 14:35