Changelog

v1.1.50 — 2026-03-20

Fix FileField — validation des restrictions

Invalid files are automatically deleted from the disk if validation fails. Submissions without a file no longer create orphaned files. The `upload_to()` function sets the exact path, and files are only moved in `finalize()` after successful validation.

Fix RuniqueForm::clear() + Forms::clear_values()

Clears all field values (except CSRF) and resets `submitted` to `false`. Requires `&mut self` — can be called from a handler or from `save(&mut self)`.

Feature derive_form — option file()

Models can now accept a file upload link.