Releases: nepada/file-upload-control
Releases · nepada/file-upload-control
1.9.0
1.8.1
1.8.0
- Added validation to prevent form submit with partially uploaded files
- Client side form validation rule checking no upload is in progress
- Backend form validation rule checking all uploads have successfully finished
- Partially uploaded files are rendered as failed uploads after form submit to notify user and make it possible to delete them
- Previously they were not shown in UI at all
- Custom control templates need to be updated - there are new
$partiallyUploadedFiles
and$allFiles
variables available alongside the old$completedFiles
- Prefer standard Nette error message for failed uploads
- Change internal representation of failed uploads (possible BC break)
FileUploadChunk
now represents successful upload only- New
FailedUpload
value object represents failed uploads
1.7.1
1.7.0
- DI extension: allow to configure the template file by a constant reference
- Forward compatibility with Nette Forms 3.2
- Loosen paramater typehints for validation methods (
Html
->Stringable
) - Loosen caption typehints where possible (
Html
->Stringable
)
- Loosen paramater typehints for validation methods (
- Added Bootstrap 5 support - new template & styles
- Bootstrap 4 template & styles made available under new more specific names
- To improve forward compatibility always explicitly specify which version of template and styles you'd like to be used