Release v1.5.0
Release v1.5.0
Changelog
Changed
- Panel forms: enable / disable / schedule / clear-schedule / login / logout now use Symfony
FormTypeclasses underNowo\MaintenanceModeBundle\Form\with Twigform_start+ unrendered-fieldform_rowloop (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 hiddenconfirmed=1field so unnamed forms submit correctly. - Requires
symfony/form(^7.4 || ^8.0).
Compatibility
- Hosts that override
panel/index.html.twig/panel/login.html.twigmust 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
- @HecFranco made their first contribution in #7
Full Changelog: v1.4.1...v1.5.0