Skip to content

Release v1.5.0

Choose a tag to compare

@github-actions github-actions released this 13 Aug 15:12
· 24 commits to main since this release

Release v1.5.0

Changelog

Changed

  • Panel forms: enable / disable / schedule / clear-schedule / login / logout now use Symfony FormType classes under Nowo\MaintenanceModeBundle\Form\ with Twig form_start + unrendered-field form_row loop (panel/_form_fields.html.twig). CSRF stays on the same token ids (nowo_maintenance_*) and flat field names (empty block prefix). CSRF-only actions post a hidden confirmed=1 field so unnamed forms submit correctly.
  • Requires symfony/form (^7.4 || ^8.0).

Compatibility

  • Hosts that override panel/index.html.twig / panel/login.html.twig must switch to the FormView variables (enable_form, disable_form, schedule_form, clear_schedule_form, logout_form, login_form) or keep posting the same flat field names + _token (still accepted). See UPGRADING.
  • PHP >=8.2, <8.6; Symfony ^7.4 || ^8.0.

What's Changed

  • feat: use Symfony Forms for the maintenance panel by @HecFranco in #7

New Contributors

Full Changelog: v1.4.1...v1.5.0