Skip to content

Release v1.6.2

Choose a tag to compare

@github-actions github-actions released this 30 Oct 07:55
· 7 commits to master since this release

v1.6.2

Changelog

ContactForm: 1.x admin layout bridge wired (Twig autowired by type) See UPGRADING.

Fixed

  • 1.x admin layout bridge never used: ContactFormPages received null instead of the Twig environment because
    #[Autowire('@?twig')] is not an optional reference (the attribute keeps ? in the service id, "?twig", and the
    nullable argument turned the missing service into null). A configured 1.x web_ui.layout_template was therefore
    extended directly instead of through the deprecated admin/_legacy_layout.html.twig bridge. The argument is now
    autowired by type; a kernel test (BundleWiringTest::testLegacyAdminLayoutIsWrappedInTheBridge) covers the wiring.

What's Changed

  • fix(ui): autowire Twig by type so the 1.x admin layout bridge is used by @HecFranco in #50

Full Changelog: v1.6.1...v1.6.2