[TASK] Make it run with v12
@helhum Maybe we can get this merged and tagged?
There are quite some extensions requiring this library. public example: sup7even/mailchimp It would be great to get these up to v12 now. Thanks.
@helhum I can only agree with @liayn , it would be nice if you could find time to merge it :)
@helhum pls merge
@liayn @SvenJuergens @mgrundkoetter The code here is WIP in some regards. All tests are red. I can totally understand you are wishing to have a released version of this extension compatible with TYPO3 12. I would love to have it, too. At the same time I can't responsibly merge this change to main. It does not meet my standards to have a clean history for the main branch with every commit representing a fully working and clean version. Also at the same time, I don't have on my priority list to work on this.
Working on it would mean to spend over 6h to fulfil the list, instead of spending this time with my family or doing customer work to have something on the plate for my family.
Here is a rough todo list for this PR to be merged in main:
- [ ] Tests must be green
- [ ] No commented out code in version control
- [ ] No unformatted code in version control (csfixer must be green)
- [ ] No fully qualified namespaces in version control
Nevertheless you have many options to proceed with the situation:
- Migrate your code to use Topwire. It took me a couple of minutes in several projects to do so.
- Update this PR to Check all the boxes or create a new one based on it that checks these boxes
- Use this PR as patch file in your Composer project
- Integrate Georgs fork into your Compoer project
- Use the branch that I created now as version
dev-v12 - Sponsor anyone (could be me, but does not need to be me) to work and fulfill 2.
All in all, I can again only recommend to migrate to Topwire. Topwire can do everything TypoScript Rendering can do and so much more. Migrating from TypScript Rendering to Topwire takes a fraction of the time of any other migration task you need to do to migrate your code from TYPO3 11 to 12.
Please tell me if I am missing something, or if any of the provided options might help you.
Last but not least: I will release a version of this extension compatible with TYPO3 12 at some point. If nobody picks up the tasks to help me out, I can't promise a date though.
Thanks a lot for the detailed wrap up. I fully understand this.
Regarding topwire:
For 99% of our use cases topwire simply ships too much, which we don't need.
Our most important use case is to generate a URL to some action, which is then used by some JS to retrieve data.
<div data-action="{h:uri.ajaxAction(action: 'validateVatIdAjax')}"> is a typical example. (I did not check, whether this can be achieved meanwhile with pure Core functionality, though.)