Skip to content

Release v0.3.1

Choose a tag to compare

@github-actions github-actions released this 10 Apr 17:28
· 109 commits to main since this release

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): TwigPathsPass registers @NowoTranslationYamlToolsBundle/ with prependPath() for templates/bundles/NowoTranslationYamlToolsBundle/ when that directory exists, then addPath() for src/Resources/views (Composer package root), so app overrides win without twig.paths (REQ-TWIG-001). 0.3.0 pointed at a non-existent Resources/views directory at the package root, which made bin/console cache:clear fail while Twig warmed the FilesystemLoader.

Documentation

  • USAGE: Web UI and “Overriding templates (REQ-TWIG-001)” (procedure, subpath table, prependPath / addPath).
  • CONFIGURATION: web_ui row; Twig registration via TwigPathsPass and src/Resources/views.
  • INSTALLATION: link to template override procedure.
  • UPGRADING: 0.3.0 → 0.3.1 notes for Web UI users.