Releases: kartik-v/bootstrap-fileinput
Releases · kartik-v/bootstrap-fileinput
Version 4.4.3
Date: 27-Aug-2017
- (enh #1059): Better form reset behavior and update of
reset
method in docs. - (enh #1056): Add Lithuanian Translations.
- (enh #1050): Update Japanese Translations & Locales.
- (enh #1049): New property
uploadUrlThumb
. - (enh #1048): Add ability to retry errored file uploads.
- New plugin properties added:
retryErrorUploads
: boolean, will determine if errored out thumbnails can be retried for upload and submitted again.fileActionSettings.uploadRetryIcon
: Will change the icon of the upload button to retry icon specified here.fileActionSettings.uploadRetryTitle
: Will change the title of the upload button to retry title specified here.msgUploadError
: will be displayed within the progress bar on the errored out thumbnails.
- Other enhancements include:
- resetting progress bar correctly
- enhancing upload validation behavior so that if
retryErrorUploads
isfalse
, then no upload button is shown on the errored out thumbnails.
- New plugin properties added:
- (enh #1044): Add Slovak Translations.
- (enh #1043): Add Czech Translations.
- (enh #1042, #830): Fixes to initial preview delete (related to #1034).
- (enh #1038): Fix documentation for
{dataKey}
. - (enh #1034): Add new event
filebeforedelete
and enhance delete abort logic. - (enh #1033): Correct reset of preview in
reset
method. - (enh #1031): Update French Translations.
- (bug #1030): Correct image dimension validation to consider non JPEG images.
- (enh #1015): Enhancement to RTL styling.
- (enh #1014): Enhancements to file upload single.
- (enh #1012): Better formatting of ajax errors display.
- (enh #1006): Update Farsi Translations.
Version 4.4.2
Date: 24-Jun-2017
- (enh #1005): Update Dutch Translations.
- (enh #1004): New Krajee Explorer Font Awesome Theme.
- (bug #995): Correct and fix image load jquery event triggering for browser cache scenarios.
- (enh #991): Add Azerbaijan Translations.
- (enh #990): Ability to hide thumbnail content (
hideThumbnailContent
) and display only file name/size. - (enh #989): Update Chinese Translations.
- (enh #987): Zoom preview arrows orientation for RTL.
- (enh #986): Image width parsing and styling enhancements.
- (enh #985): Do not reset input when upload fails (single-upload mode).
- (enh #981): Update Hungarian Translations.
- (enh #977): Add RTL capability (new property
rtl
to be set) - includes newfileinput-rtl.css
(to be loaded afterfileinput.css
for RTL styling). - (enh #973): Add SCSS image path variable and file-image alt style updates.
Version 4.4.1
Date: 25-May-2017
- (enh #980): Add new method
getFrames
to get all thumbnail frames as jQuery objects. - (enh #979): Add new method
getExif
to retrieve exif data for a selected jpeg image. - (enh #978, #974): Implement exif restoration for resized images via
piexif
plugin. - (enh #968): Update Turkish Translations.
- (enh #967): Correct file caption display for ajax upload mode when
showPreview
isfalse
.
Version 4.4.0
Date: 13-May-2017
- (enh #966): Add Estonian Translations.
- (enh #965): New
required
andmsgFileRequired
properties. - (bug #958): Create
setTokens
string helper for easier replacement of tokens. - (bug #956): Correct initial preview file thumb deletions.
- (bug #955): Remove unnecessary
sourceMappingUrl
inpurify.min.js
. - (enh #954): Add minified theme assets.
- (enh #952): Auto orientation of image based on EXIF data (new property
autoOrientImage
). - (enh #950, #930): Add responsive support for Krajee Explorer theme for mobile devices.
- (enh #949): Sortable plugin enhancements and prevent scroll when dragging on mobile devices.
- Chronological ordering of issues for change log.
- (enh #947): Correct
showDelete
validation infileActionSettings
. - (enh #946): Enhance iconic preview validation to ignore extension case if possible.
- (enh #944): Publish v4.3.9 release to NPM.
- (enh #942): Enhance indicator and drag templates. New layout template
indicator
. - (enh #941): Correct
data-fileindex
validation. - (bug #940): Correct validation of
initialPreviewShowDelete
. - (enh #936): Enhance custom validation when ajax abort is triggered via event manipulation.
- (enh #934): Update Russian translations.
- (enh #929): Add Norwegian translations.
- (enh #926): Add Galician translations and update Spanish translations.
- (enh #924): Update Farsi Translations.
- (enh #921): Enhance zoom preview slide-show to show loading indicator during image change.
- (enh #920): Cancel ajax abort action more correctly.
- (bug #919): Fix resize validation.
- Parse all numeric properties correctly.
- (enh #915): Update default styling for zoom preview for object.
- (enh #910): New property
resizeIfMoreThan
to control image resize conditionally. - (bug #899): Fix multiple file selection for non-ajax scenario.
- (enh #477): Enhance and correct IE10 fileinput click misbehavior.
Version 4.3.9
Date: 02-Apr-2017
- (enh #914): Update Portuguese BR translations.
- (enh #913): Better id parsing and resetting of uploaded file thumbnails.
- Enhance zoom preview styling for Krajee Explorer theme.
- More correct validation of
allowedFileTypes
to accept null values. - (enh #909): Update German Translations.
- (enh #906): Add Swedish Translations.
- (enh #905): Prevent duplicate files to be dragged and dropped.
- (enh #902): Enhance zoom preview styling for large height images.
- (bug #900): Correct
overwriteInitial
validation for async batch uploads returning dynamic initial preview post upload. - (enh #898): New plugin method to get files in preview and config.
- (enh #894, #895): Correct file size validation for empty files.
- (bug #893): Correct
file-success-remove
event handling. - (bug #890): Fix doubling of images for async bulk uploads when initial preview is returned via ajax response.
- Enhance uploaded thumb frames to not reset or change the frame identifier after successful upload.
- (enh #887): New properties
msgUploadBegin
andmsgUploadEnd
to display a better progress status. ThelayoutTemplates.progress
will support a new token{status}
. - Enhance events like
fileclear
andfilepreajax
to be aborted viaevent.preventDefault()
. - (enh #886): Append zoom modal dialog to
body
element if available to avoid multiple BS modals conflict. - (bug #885): Correct validation for
allowedFileTypes
. - (enh #875): Reset form based events more correctly to allow multiple bootstrap file inputs within forms.
- (bug #882): Correct image resize validation.
- (enh #881): Update Spanish Translations.
- (enh #863): New plugin method
zoom
with parameterframeId
to allow custom triggering of zoomed preview for each thumbnail frame.
Version 4.3.8
Version 4.3.7
Date: 11-Feb-2017
- (enh #862): Launch a brand new Krajee theme:
explorer
. - (enh #861): New properties within
layoutTemplates
. - (enh #860): Initialize template defaults in a better manner.
- (enh #859): Enhance and revamp preview caching.
- (enh #858): Thumb Frame CSS class as configurable property.
- (enh #857): Default error handling for unknown ajax errors.
- (enh #854): Better file size calculation and display.
- (bug #852): Ensure
frameClass
setting ininitialPreviewConfig
is considered. - (enh #851): Create Kazakh Translations.
- (enh #847): Update German Translations.
- (enh #662, #725): Enhance preview modal to be appended to body before each zoom action (if
body
tag exists). - (enh #844): Display zoom preview navigation buttons only when multiple files exist.
- (bug #839): Correct
initialPreview
generation and sortable behavior for async uploads. - (enh #837): Update Czech Translations.
- (enh #835): Update Polish Translations.
- (bug #834): Correct clearing of file preview including zoom cache.
- (bug #833): Correct validation and defaults init for
allowedPreviewTypes
. - (enh #831): Update Finnish Translations.
- (enh #828): Allow drag sort of single uploaded thumbnails with
initialPreview
config set (post upload). - (bug #826): Extend language configuration to consider defaults.
- (bug #825): Correct
fileimagesresized
event triggering. - (enh #824): Add Korean Translations.
- (enh #823): Correct file indices assignment during validation of images.
- (enh #822): Enhancement for preventing upload when data is empty. New property
msgUploadEmpty
has been incorporated. - (enh #820): Prevent resize if image is smaller than allowed dimensions.
- (bug #819): Correct init preview auto replace post
uploadSingle
action in thumbnails. - (enh #816): New property
msgFileTypes
to control descriptions/localizations of file types displayed. - (enh #815): Enhance parsing of thumbnails that are visible in preview (will allow plugin to be
initialized in hidden containers like tabs). - (enh #812): Update Greek Translations.
Version 4.3.6
Date: 17-Dec-2016
- (enh #809): Various enhancements for preview control and iconic thumbnails.
- add ability to control and render different previews for file thumbnails and zoomed preview content
- new property
preferIconicPreview
will try to parse thepreviewFileIconSettings
andpreviewFileExtSettings
to automatically force iconic previews for file thumbnails. - new property
preferIconicZoomPreview
will try to parse thepreviewFileIconSettings
andpreviewFileExtSettings
to automatically force iconic previews in the zoomed content. - the above properties will be applied and parsed for
initialPreview
content as well.
- (enh #804): Add Slovenian Translations.
- (enh #803): Update Hungarian Translations.
- (enh #802): Allow MOV files preview for supported devices and browsers.
- (enh #800): Update Spanish Translations.
- (enh #799): Fix IE memory issue on image load.
- (enh #791): Auto orientation of images based on EXIF data.
- (enh #788): New validation for minimum file size:
- new property
minFileSize
which validates the minimum file size in KB for upload, else throws
a validation error usingmsgSizeTooSmall
. This defaults to0
. - if
minFileSize
is set tonull
, then above validation is skipped and no minimum file size
check is performed.
- new property
- (enh #782): New validation for invalid slug file name (caption):
- if slug callback returns an empty string, then an error will be thrown using
msgInvalidFileName
. - if slug callback returns
false
then the next file will be read and current file skipped.
- if slug callback returns an empty string, then an error will be thrown using
- (enh #779, #789): More correct thumbnail identification post rearrange.
- (enh #769, #785, #786, #787): Better image resized event handling.
- (enh #771): Update Chinese Translations.
- (enh #764): Update Russian Translations.
- (enh #696): Better default preview zoom settings.
Version 4.3.5
Date: 20-Sep-2016
- (bug #758): Correct file slug name parsing for an invalid file extension.
- (bug #753): Correct IE11 file clear bug when using without ajax.
- (enh #745): Update Russian Translations.
- (enh #741): Update Vietnamese Translations.
- (enh #736): Update Portugese Brazilian Translations.
- (bug #734): Correct right parsing of
fileuploaded
event params.
Version 4.3.4
Date: 07-Aug-2016
- (enh #731): New method
getFilesCount
for returning upl + non-upl files count. - (enh #730): Correct Romanian Translations.
- (enh #729): Implement
progressUploadThreshold
to show processing when waiting for server response. - (enh #728): Change sortable plugin name to avoid conflict with JUI Sortable.
- (bug #722): Correctly concat ajax output in initial preview.
- (enh #721): Update Turkish Translations.
- (enh #719): Pass right
previewId
tofileuploaded
event. - (enh #718): Update Japanese Translations.
- (enh #715): Reset caption correctly on clear.
- Add contribution templates.
- (bug #710): Fix bug for
ifSet
validation.