Skip to content

Release v0.3.5

Choose a tag to compare

@github-actions github-actions released this 18 Mar 09:45

Release 0.3.5

Changelog

Added

  • Translation domain: Bundle uses domain NowoDashboardMenuBundle for all UI strings (dashboard, form labels, validation). Constant NowoDashboardMenuBundle::TRANSLATION_DOMAIN for use in code; form types and controller use it.
  • Docs: USAGE documents overriding templates (templates/bundles/NowoDashboardMenuBundle/) and translations (translations/NowoDashboardMenuBundle.{locale}.yaml with same key structure).

Changed

  • Translations (breaking for overrides): Bundle translation files are now NowoDashboardMenuBundle.{locale}.yaml (replacing messages.* and validators.*). To override strings in your app, create translations/NowoDashboardMenuBundle.{locale}.yaml with the same keys (e.g. dashboard.title, form.copy_menu_type.code.regex_message). See UPGRADING.
  • Extension: DashboardMenuExtension no longer prepends Twig or translator paths; Symfony’s default behaviour applies so your app’s templates/bundles/NowoDashboardMenuBundle/ and translation files take precedence over the bundle’s.
  • Dashboard layout: {% trans_default_domain 'NowoDashboardMenuBundle' %} set in the bundle’s dashboard layout so all dashboard views use the bundle domain.

Fixed

  • Tests: Additional coverage for PermissionCheckerPass (config/order/labels not array), AutoTagPermissionCheckersPass (empty or non-string constant), MenuImporter and MenuRepository edge cases.

Full Changelog: v0.3.4...v0.3.5