PackageTrack
Sign in Get early access

kartik-v/bootstrap-fileinput

An enhanced HTML 5 file input for Bootstrap 5.x, 4.x, and 3.x with features for file preview for many file types, multiple selection, ajax uploads, and more.

v5.5.4 8.4M downloads/mo #2272 most downloaded on Packagist kartik-v/bootstrap-fileinput

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Ships unpredictably

gaps range from 2 weeks to 1.4 years

Rarely documented

notes for 10 of 92 stable releases

Nothing withdrawn

no release was ever pulled

12 years old

92 releases · first in 2014

0 releases in the last 12 months

see the full history below

Release timeline

92 releases · May 2014 to Apr 2024
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 60 of 92
  1. v5.5.4 09 Apr 2024
    Release notes

    Date: 09-Apr-2024

    • (bug #1858): Correct Plugin Options & Themes Initialization.
    • (bug #1857): Correct Finnish Translations.
    • (enh #1833): Fix compliance with CSP not having unsafe-inline policy.
    Open source →
  2. v5.5.3 11 Mar 2024
    Release notes

    Date: 11-Mar-2024

    • (enh #1856): Replace and fix deprecated jQuery methods.
    • (enh #1852): Create Basque Translations.
    • (enh #1851): Update Spanish Translations.
    • (enh #1850): Add maxMultipleFileSize feature check.
    • (enh #1847): Fix invalid attribute autocomplete for button.
    • (enh #1846): Update Finnish Translations.
    • (enh #1845): Copy & Paste files functionality (pasting enabled on the filename caption input element).
    • (enh #1842): Update German Translations.
    • (enh #1840): Update Hungarian Translations.
    • (enh #1836): Create Urdu Translations.
    • (enh #1825): Update fileinput.js overriding default options.
    • (bug #1822): Fix tiff parsing exceptions and convert filetype library to ES5.
    Open source →
  3. v5.5.2 13 Oct 2022
    Release notes

    version 5.5.2

    Date: 13-Oct-2022

    • (bug #1822): Correct file type tokenizer parsing.
    • (enh #1821): Update Indonesian Translations.
    • (enh #1819): Update Chinese Translations.
    • (enh #1817): Fix invalid signature detection.
    Open source →
  4. v5.5.1 17 Aug 2022
    Release notes

    Date: 17-Aug-2022

    • (enh #1809, #1810): Correct minified plugins file "filetype.min.js".
    • (enh #1803): Add image/vnd.dwg signature.
    • (bug #1802): Fix SassError Invalid parent selector.
    • (bug #1782): Fix loading indicator reset for same file selected again.
    Open source →
  5. v5.5.0 29 Jun 2022
    Release notes

    Major Release: BC Breaking

    Date: 29-Jun-2022

    • (enh #1800): Styling enhancements for thumbnail content and rotatable images.
    • (enh #1799): Correct translations containing {maxSize}, {minSize}, {size}.
    • (enh #1796): Add two new Font Awesome 6.x themes.
      • fa6
      • explorer-fa6
    • (enh #1795): Refactoring and renaming of all Font Awesome based themes.
      • Refactor and rename fa theme to fa4
      • Refactor and rename fas theme to fa5
      • Refactor and rename explorer-fa theme to explorer-fa4
      • Refactor and rename explorer-fas theme to explorer-fa5
    • (enh #1792): Advanced file mime type detection for preview irrespective of file extension.
      • Load the following new plugin files before fileinput.min.js
    <!-- buffer.min.js and filetype.min.js are necessary in the order listed for advanced mime type parsing and more correct
         preview. This is a feature available since v5.5.0 and is needed if you want to ensure file mime type is parsed 
         correctly even if the local file's extension is named incorrectly. This will ensure more correct preview of the
         selected file (note: this will involve a small processing overhead in scanning of file contents locally). -->
    <script src="https://cdn.jsdelivr.net/gh/kartik-v/[email protected]/js/plugins/buffer.min.js" type="text/javascript"></script>
    <script src="https://cdn.jsdelivr.net/gh/kartik-v/[email protected]/js/plugins/filetype.min.js" type="text/javascript"></script>
    • (enh #1791): Enhance preview update automatically when addToStack is called.

    • (enh #1785): Image rotation button action feature in thumbnail and zoom.

      • New property rotatableFileExtensions defaults to ['jpg', 'jpeg', 'png', 'gif'],
      • New properties in fileActionSettings (rotateIcon, rotateTitle, rotateClass)
      • New properties previewZoomButtonIcons.rotate, previewZoomButtonClasses.rotate and previewZoomButtonTitles.rotate
    • (enh #1788): Enhancements to showUserError method.

      • New 3rd parameter retainErrorHistory which allows you to retain previous errors (defaults to false)
    var $input = $('#file-input-id');
    $input.on('fileuploaderror', function(event, data) {
      var userMessage = 'We could not process the upload because of a server error.',
          retainErrorHistory = true; // whether to retain error history
      // to show error specific to each file pass `data` as received above (the `data` object must contain the `fileId` property)
      $input.fileinput('showUserError', userMessage, data, retainErrorHistory);
    
      // to show a constant global error not specific to each file do not pass `data` (uncomment below line to achieve this)
      // $input.fileinput('showUserError', userMessage); 
    });
    • (enh #1694): Thumbnail of images only but detailed preview/iconic view of all other files.
      • New property alwaysPreviewFileExtensions - setup as an array list of extensions whose content will always be shown in preview (irrespective of preferIconPreview or previewFileIconSettings which will be used to control icon preview for configured types).
    Open source →
  6. v5.2.8 10 May 2022
    Release notes

    Date: 10-May-2022

    • (enh #1787): Enhance image size validation messages.
    • (enh #1786): Correct Uzbek Cyrillic Translation file name.
    • (enh #1784): Correct documentation for layoutTemplates.fileIcon.
    • (bug #1783): Correct image size validation checks (for min and max width/height).
    • (enh #1782): Correct loading indicator reset for file selection.
    • (bug #1780): Correct autoReplace behavior to clear already uploaded thumbnails.
    • (enh #1779): New plugin method showUserError and new event fileusererror.
      Usage:
    var $input = $('#file-input-id');
    $input.on('fileuploaderror', function(event, data) {
      var userMessage = 'We could not process the upload because of a server error.';
    
      // to show error specific to each file pass `data` as received above (the `data` object must contain the `fileId` property)
      $input.fileinput('showUserError', userMessage, data);
    
      // to show a constant global error not specific to each file do not pass `data` (uncomment below line to achieve this)
      // $input.fileinput('showUserError', userMessage); 
    });
    • (enh #1777): Ensure alt property for image is applied via intial preview config if set.
    • (bug #1775): Correct syntax error for Danish translations.
    • (bug #1773): Fix blank preview issue for large files > maxFilePreviewSize.
    • (enh #1771): Human readable sizes in messages like msgSizeTooLarge.
    Open source →
  7. v5.2.7 17 Dec 2021
    Release notes

    Date: 17-Dec-2021

    • (enh #1767): Enhance ajax task queuing to validate maxAjaxThreads correctly.
      • enhancement for async uploads (with correct firing of events filebatchuploadsuccess and filebatchuploaderror)
    • (enh #1765): Map missing icons in gly theme.
    • (enh #1763): Preview centering enhancements for thumbnail, object and zoom content.
    • (bug #1758): Correct bootstrap module parser.
    Open source →
  8. v5.2.6 23 Sep 2021
    Release notes

    Date: 23-Sep-2021

    • (bug #1758): Correct bootstrap module parser.
    • (enh #1756): Replace getLoadingUrl to a new $h.getZoomPlaceholder method.
    Open source →
  9. v5.2.5 19 Sep 2021
    Release notes

    Date: 19-Sep-2021

    • (enh #1755): Simplify NPM module handling.
    Open source →
  10. v5.2.4 18 Sep 2021
    Release notes

    Date: 17-Sep-2021

    • (enh #1754): Default button styling & Explorer theme enhancements.
    • (enh #1753): Enhance NPM module handling.
    • (enh #1752): Enhance exif properties validation .
    • (enh #1750): Enhancements to file caption icon and input group styling.
    • (enh #1744): Enhance zoom cache temporary url to use loader image.
    • (enh #1741): Fix zoom cache 404 console warnings.
    Open source →
  11. v5.2.3 25 Jul 2021

    Nothing published for this version

  12. v5.2.2 19 Jun 2021

    Nothing published for this version

  13. v5.2.1 19 May 2021

    Nothing published for this version

  14. v5.2.0 06 May 2021

    Nothing published for this version

  15. v5.1.5 02 Mar 2021

    Nothing published for this version

  16. v5.1.4 12 Jan 2021

    Nothing published for this version

  17. v5.1.3 23 Oct 2020

    Nothing published for this version

  18. v5.1.2 15 Jul 2020

    Nothing published for this version

  19. v5.1.1 20 Jun 2020

    Nothing published for this version

  20. 5.1.0 11 Jun 2020

    Nothing published for this version

  21. v5.0.9 02 Jun 2020

    Nothing published for this version

  22. v5.0.8 13 Dec 2019

    Nothing published for this version

  23. v5.0.7 17 Nov 2019

    Nothing published for this version

  24. v5.0.6 11 Sep 2019

    Nothing published for this version

  25. v5.0.5 23 Aug 2019

    Nothing published for this version

  26. v5.0.4 30 Jun 2019

    Nothing published for this version

  27. v5.0.3 12 May 2019

    Nothing published for this version

  28. v5.0.2 18 Apr 2019

    Nothing published for this version

  29. v5.0.1 26 Mar 2019

    Nothing published for this version

  30. v5.0.0 24 Mar 2019

    Nothing published for this version

  31. v4.5.3 21 Mar 2019

    Nothing published for this version

  32. v4.5.2 03 Jan 2019

    Nothing published for this version

  33. v4.5.1 25 Sep 2018

    Nothing published for this version

  34. v4.5.0 30 Aug 2018

    Nothing published for this version

  35. v4.4.9 25 Jul 2018

    Nothing published for this version

  36. v4.4.8 11 Apr 2018

    Nothing published for this version

  37. v4.4.7 22 Jan 2018

    Nothing published for this version

  38. v4.4.6 13 Nov 2017

    Nothing published for this version

  39. v4.4.5 01 Oct 2017

    Nothing published for this version

  40. v4.4.4 21 Sep 2017

    Nothing published for this version

  41. v4.4.3 27 Aug 2017

    Nothing published for this version

  42. v4.4.2 24 Jun 2017

    Nothing published for this version

  43. v4.4.1 25 May 2017

    Nothing published for this version

  44. v4.4.0 13 May 2017

    Nothing published for this version

  45. v4.3.9 02 Apr 2017

    Nothing published for this version

  46. v4.3.8 21 Feb 2017

    Nothing published for this version

  47. v4.3.7 12 Feb 2017

    Nothing published for this version

  48. v4.3.6 17 Dec 2016

    Nothing published for this version

  49. v4.3.5 20 Sep 2016

    Nothing published for this version

  50. v4.3.4 07 Aug 2016

    Nothing published for this version

  51. v4.3.3 09 Jul 2016

    Nothing published for this version

  52. v4.3.2 11 Jun 2016

    Nothing published for this version

  53. v4.3.1 28 Feb 2016

    Nothing published for this version

  54. v4.3.0 25 Jan 2016

    Nothing published for this version

  55. v4.2.9 21 Jan 2016

    Nothing published for this version

  56. v4.2.8 18 Nov 2015

    Nothing published for this version

  57. v4.2.7 13 Sep 2015

    Nothing published for this version

  58. v4.2.6 26 Aug 2015

    Nothing published for this version

  59. v4.2.5 26 Jul 2015

    Nothing published for this version

  60. v4.2.4 22 Jul 2015

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive