Skip to content

Releases: nepada/file-upload-control

1.9.0

28 Oct 11:48
Compare
Choose a tag to compare
  • Dropped support for older Nette versions (require nette/forms 3.2, nette/utils 4.0.4, latte/latte 3.0.12 or later)
  • Get rid of depedency on unmaintained nextras/forms
  • Fix bug when uploading empty file #165
  • Fix FE binding to latest nette-forms.js
  • PHP 8.4 compatibility

1.8.1

09 Feb 06:18
Compare
Choose a tag to compare
  • Fix compatibility with nette/application 3.2

1.8.0

20 Jan 19:54
Compare
Choose a tag to compare
  • 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

15 Jan 19:09
Compare
Choose a tag to compare
  • Chunked upload validation #143 bugfix (mime type validation rule causing failure on upload of 2nd chunk)

1.7.0

09 Jan 18:15
Compare
Choose a tag to compare
  • 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)
  • 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

1.6.0

12 Oct 11:36
ab3c87c
Compare
Choose a tag to compare
  • Drop support for PHP <8.1
  • Drop Latt 2.x support
  • Use PHP8 native typehints
  • Use readonly properties in simple DTOs
  • Drop useless annotations
  • PHP 8.3 compatibility

1.5.0

06 Aug 19:37
Compare
Choose a tag to compare
  • Nette utils 4.x support

1.4.0

03 Dec 18:46
Compare
Choose a tag to compare
  • Cleanup Nette deprecations
  • PHP 8.2 compatibility
  • Bump FE dependencies

1.3.0

19 May 04:52
Compare
Choose a tag to compare
  • Explicitly restrict maximum supported PHP version in composer.json
  • Latte 3.x compatibility

1.2.0

29 Oct 09:09
Compare
Choose a tag to compare
  • PHP 8.1 compatibility.