Skip to content

v5.0.0-rc2

Pre-release
Pre-release

Choose a tag to compare

@twoldanski twoldanski released this 02 Sep 14:23
· 11 commits to master since this release
1eae102

Highlights

  • Site sets reworked - friendsoftypo3/headless now ships a lean, trimmed page response (no legacy meta or categories). Upgrading from 4.x? Add friendsoftypo3/headless-legacy on top - it restores the 4.x-compatible response. headless-mixed is unchanged.
  • Zero-config integrations - installed core extensions are detected automatically: EXT:form, EXT:felogin, EXT:redirects, EXT:seo; workspace preview works out of the box. No feature flags - headless.redirectMiddlewares is gone; redirects just work and respect full/mixed mode per site.
  • Frontend-aware redirect modules - the "Short URLs" and "QR Codes" backend modules now resolve source URLs against the site's frontendBase, so copied links and scanned codes land on the public frontend, not the API host.
  • ext:form goodies - the JsonRedirect finisher shows up in the form editor out of the box; the new RichTextFormDefinitionDecorator handles TYPO3 v14 RTE-enabled fields (sanitized, also t3:// links are resolved).
  • Merge dataProcessing with fields - until now, dataProcessing on a JSON object replaced the fields output entirely. Set dataProcessingMerge = 1 to keep both: each processor result is added under its as key next to the rendered fields (on a key collision the processor wins). Works on nested field blocks too; without the flag the behaviour is unchanged.
  • Optional PHP templates - headless.overrideFluidTemplates was rebuilt on core's ViewFactoryInterface; views can render JSON Fluid templates or raw PHP templates for easier JSON generation for external plugins
  • Improved documentation
  • A lot of minor bugs fixed

Cleanup & internals

  • XClasses (preview URLs, ImageService, resource driver, TemplateView) replaced by PSR-14 listeners and DI services.
  • TypoScript spring-cleaning: gallery CEs share one lib.galleryContentElement, dead lib.baseImage and unused constants are gone, and processors use short identifiers (headless-menu, headless-files, …).
  • Bump actions/cache from 5 to 6 by @dependabot[bot] in #898
  • Bump actions/checkout from 6 to 7 by @dependabot[bot] in #897

⚠️ Breaking
• RedirectUrlEvent and the RedirectHandler middleware are removed - listen to core's RedirectWasHitEvent instead (ext:headless ships the headless/RedirectWasHit listener).
• Legacy TypoScript moved to Configuration/TypoScript/Legacy/ - adjust direct @imports.
• Class signatures across ext:headless changed (unused code removed, public interfaces used throughout) — update extensions that subclass or call them.

Full Changelog: v5.0.0-rc1...v5.0.0-rc2