Release v0.3.1
0.3.1: fix Twig Web UI loader path; REQ-TWIG-001 overrides
- TwigPathsPass uses src/Resources/views; prependPath for app overrides.
- Fixes cache:clear failure on 0.3.0 when web_ui was enabled.
Changelog
Fixed
- Twig (Web UI):
TwigPathsPassregisters@NowoTranslationYamlToolsBundle/withprependPath()fortemplates/bundles/NowoTranslationYamlToolsBundle/when that directory exists, thenaddPath()forsrc/Resources/views(Composer package root), so app overrides win withouttwig.paths(REQ-TWIG-001). 0.3.0 pointed at a non-existentResources/viewsdirectory at the package root, which madebin/console cache:clearfail while Twig warmed theFilesystemLoader.
Documentation
- USAGE: Web UI and “Overriding templates (REQ-TWIG-001)” (procedure, subpath table,
prependPath/addPath). - CONFIGURATION:
web_uirow; Twig registration viaTwigPathsPassandsrc/Resources/views. - INSTALLATION: link to template override procedure.
- UPGRADING: 0.3.0 → 0.3.1 notes for Web UI users.