Skip to content
Snippets Groups Projects
  1. Apr 12, 2024
  2. Oct 24, 2023
  3. Aug 07, 2023
  4. Jul 04, 2023
    • Alexander Schnitzler's avatar
      [BUGFIX] Avoid symfony/property-access in getGettablePropertyNames() · 2289ae2f
      Alexander Schnitzler authored
      ObjectAccess::getGettablePropertyNames() has quite the history by now.
      It used to be quite simple, an is_callable() check for getters/hassers
      and issers of objects. That didn't account for methods with mandatory
      method arguments which was fixed by using reflection. Because runtime
      reflection is slow, the usage of cached reflection (ClassSchema) had
      been introduced. But, during that change, symfony/property-access had
      also been introduces, which contradicts the idea of performance gain
      because:
      
      - symfony/property-access also uses uncached reflection
      - symfony/property-access actually calls the accessors under test
      
      As both is undesirable, the usage of symfony/property-access has been
      removed again.
      
      Releases: main, 12.4, 11.5
      Resolves: #101176
      Change-Id: I2bc796ebeaf2f1357fd3154b711910c6f553f4e4
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79675
      
      
      Tested-by: default avatarcore-ci <typo3@b13.com>
      Reviewed-by: default avatarBenni Mack <benni@typo3.org>
      Tested-by: default avatarBenni Mack <benni@typo3.org>
      2289ae2f
  5. Mar 27, 2023
  6. Mar 10, 2023
  7. Nov 20, 2022
  8. Aug 08, 2022
  9. Apr 22, 2022
  10. Feb 08, 2022
  11. Feb 07, 2022
  12. Jan 08, 2022
  13. Dec 15, 2021
  14. Dec 04, 2021
  15. Oct 02, 2021
  16. Sep 30, 2021
  17. Sep 24, 2021
  18. Sep 21, 2021
  19. Jun 30, 2021
  20. Jun 14, 2021
  21. May 30, 2021
  22. May 06, 2021
  23. May 04, 2021
  24. Mar 15, 2021
  25. Mar 01, 2021
  26. Dec 14, 2020
    • Alexander Schnitzler's avatar
      [TASK] Deprecate @Extbase\Inject · 64c8a784
      Alexander Schnitzler authored
      Since core dependency injection is in place and is about to
      replace the extbase dependency injection, marking properties
      with the @Extbase\Inject annotation to invoke property injection is
      deprecated and must be replaced by one of the following di
      methods:
      
      - constructor injection: works both with core and extbase di
        and is well suited to make extensions compatible for multiple
        TYPO3 versions.
      
      - setter injection: Basically the same like constructor injection.
        Both the core and extbase di can handle setter injection and
        both are supported in different TYPO3 versions.
      
      - (core) property injection: This kind of injection can be used
        but it requires the configuration of services via a Services.yaml
        in the Configuration folder of an extension.
      
      The recommended way is constructor injection. Not only is it the
      most compatible version of di, it also brings the advantage of
      clearly showing dependencies of a class. Also, it quickly shows
      if dependencies stack up which indicates that the service should
      be refactored.
      
      Releases: master
      Resolves: #92386
      Change-Id: I61afbb6bb15b136c200849c6c8f2cd6211d4c306
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65835
      
      
      Tested-by: default avatarTYPO3com <noreply@typo3.com>
      Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
      Tested-by: default avatarBenjamin Franzke <bfr@qbus.de>
      Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
      Reviewed-by: default avatarBenjamin Franzke <bfr@qbus.de>
      64c8a784
  27. Nov 05, 2020
  28. Sep 17, 2020
  29. Jul 21, 2020
  30. Jul 09, 2020
    • Benni Mack's avatar
      [!!!][TASK] Remove various deprecated arguments and methods · eb0d4528
      Benni Mack authored
      This change removes deprecated functionality:
      
      - ReferenceIndex->updateIndex() is now either ProgressListenerInterface or null
      - ExtensionManagementUtility->findService() expects an array as third argument
      - BasicFileUtility->setFileExtensionPermissions() removed
      - GeneralUtility->callUserFunction now expects object or null as third argument
      - DataMapper->__construct does not expect $query to be set anymore
      - ObjectAccess->setProperty - fourth argument removed
      
      Resolves: #91613
      Related: #91473
      Releases: master
      Change-Id: I39fa30f84201b0ed837f6ac0e6d27e1ddb15376d
      eb0d4528
  31. Jun 03, 2020
  32. May 29, 2020
  33. May 18, 2020
  34. May 12, 2020
  35. Apr 15, 2020