filepond 4.31.1 → 4.31.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,942 @@
1
+ # Changelog
2
+
3
+ ## 4.31.3
4
+
5
+ - Fix issue where hidden input fields in `filepond--data` fieldset would stay disabled after enabling FilePond. #1001
6
+
7
+ ## 4.31.2
8
+
9
+ - Remove `aria-hidden` from drop label as suggested by Lighthouse.
10
+ - Fix `tabIndex` attribute on credits link not set correctly, now no longer included in tab flow.
11
+
12
+ ## 4.31.1
13
+
14
+ - Fix issue with dragging file items sometimes not working.
15
+
16
+ ## 4.31.0
17
+
18
+ - Add support for editing mock files if `item.source` is url.
19
+
20
+ ## 4.30.6
21
+
22
+ - Fix issue where using a number as source for a local file would throw a `url.split` error.
23
+
24
+ ## 4.30.5
25
+
26
+ - Fix file field value assignment #905
27
+
28
+ ## 4.30.4
29
+
30
+ - Fix a bug where the selected file is not replaced #841
31
+ - Fix a bug where the onwarning event is not triggered #839
32
+ - Add more translations
33
+
34
+ ## 4.30.3
35
+
36
+ - Fix accidental push.
37
+
38
+ ## 4.30.2
39
+
40
+ - Remove accidental log statement.
41
+
42
+ ## 4.30.1
43
+
44
+ - Prioritize server prop before other props when passed to setOptions #606
45
+
46
+ ## 4.30.0
47
+
48
+ - Add `labelFileSizeBytes`, `labelFileSizeKilobytes`, `labelFileSizeMegabytes`, `labelFileSizeGigabytes` #763
49
+
50
+ ## 4.29.1
51
+
52
+ - Revert chunked uploads #757
53
+
54
+ ## 4.29.0
55
+
56
+ - Enable rejecting images with an error message using the internal `DID_LOAD_ITEM` hook.
57
+
58
+ ## 4.28.2
59
+
60
+ - Fix issue where local server files could not be re-uploaded after editing and did not trigger remove of source file.
61
+
62
+ ## 4.28.1
63
+
64
+ - Fix CSS error.
65
+
66
+ ## 4.28.0
67
+
68
+ - Add `storeAsFile` property, if set to `true` FilePond will attempt to store the file objects in file input elements allowing file submit along with parent form (no need for `server` property). **This only works if the browser [supports the DataTransfer constructor](https://caniuse.com/mdn-api_datatransfer_datatransfer), this is the case on Firefox, Chrome, Chromium powered browsers and Safari version 14.1 and higher.**
69
+ - Switch to PostCSS for style output.
70
+
71
+ ## 4.27.3
72
+
73
+ - Fix issue with file.js component leaking state causing `allowRemove` to impact other instances of FilePond. #713
74
+
75
+ ## 4.27.2
76
+
77
+ - Fix issue with fetch and `HEAD` no setting server id to hidden input element.
78
+
79
+ ## 4.27.1
80
+
81
+ - Fix issue with `allowMinimumUploadDuration` set to `false` throwing error.
82
+
83
+ ## 4.27.0
84
+
85
+ - Add `allowMinimumUploadDuration` set to `false` to prevent a minimum upload time of 750ms.
86
+
87
+ ## 4.26.2
88
+
89
+ - `setMetadata` internal `silent` bool now does fire internal `DID_UPDATE_ITEM_METADATA` but doesn't trigger upload or file prepare logic. This fixes an issue with the new image editor and file poster plugins.
90
+
91
+ ## 4.26.1
92
+
93
+ - Add metdata change info to internal `SHOULD_PREPARE_OUTPUT` call
94
+
95
+ ## 4.26.0
96
+
97
+ - Fix problem with rendering 0 items per row. #676
98
+ - The `headers` property of the `server.process` end point can now be a function.
99
+
100
+ ## 4.25.3
101
+
102
+ - Fix issue with `chunkRetryDelays`. #671
103
+
104
+ ## 4.25.2
105
+
106
+ - Fix issue with fixed with file items not row wrapping correctly. #653
107
+ - Fix file info label when remove button positioned to the right. #620
108
+
109
+ ## 4.25.1
110
+
111
+ - Renamed `beforePrepareOutput` hook to `beforePrepareFile`.
112
+
113
+ ## 4.25.0
114
+
115
+ - Add `beforePrepareOutput` hook to intercept and prevent preparing a new output file.
116
+
117
+ ## 4.24.0
118
+
119
+ - Add action info to internal `SHOULD_PREPARE_OUTPUT` call
120
+ - Moved edit button CSS to FilePond
121
+
122
+ ## 4.23.1
123
+
124
+ - When files are dropped in a folder the file type cannot always be determined, this fix prevents FilePond from creating a Blob if it can't guesstimate the file type.
125
+
126
+ ## 4.23.0
127
+
128
+ - Add "powered by" footer and [credits prop](https://pqina.nl/filepond/docs/patterns/api/filepond-instance/#disabling-credits).
129
+
130
+ ## 4.22.1
131
+
132
+ - Fix problem with locale files.
133
+
134
+ ## 4.22.0
135
+
136
+ - Add internal filter for plugins to manipulate dropped files before adding them to the files list.
137
+
138
+ ## 4.21.1
139
+
140
+ - Fix calculation of file size when `fileSizeBase` is set to 1024.
141
+
142
+ ## 4.21.0
143
+
144
+ - Add `fileSizeBase` use to adjust the way files sizes are displayed. Default is `1000`.
145
+
146
+ ## 4.20.1
147
+
148
+ - Add `allowRemove` option so it actually works.
149
+
150
+ ## 4.20.0
151
+
152
+ - Add `allowRemove`, set to `false` to disable remove button.
153
+ - Improve TypeScript definitions.
154
+ - Fix issue where `removeFiles` would not remove all files.
155
+
156
+ ## 4.19.2
157
+
158
+ - Fix problem with locale files not ending up on npm.
159
+
160
+ ## 4.19.1
161
+
162
+ - Fix issue where removal of a server file was requested when setting new files to the `files` property.
163
+
164
+ ## 4.19.0
165
+
166
+ - Add locale folder, can now import different locales.
167
+ - Improve `supports` method, now correctly detects MacOS Safari 8.
168
+ - Improve type definitions file.
169
+ - Fix issue with `removeFiles({ revert: false })` not working.
170
+ - Fix issue where content pasted in a textarea would be interpreted as a file.
171
+
172
+ ## 4.18.0
173
+
174
+ - Add fallback for `fetch` when loading remote URLs, if no custom fetch supplied, will use default request.
175
+ - Add TypeScript dynamic label types.
176
+ - Fix issue where order of files wasn't correct when setting initial files.
177
+
178
+ ## 4.17.1
179
+
180
+ - Fix issue where reorder event was fired on each drag interaction, now only fires when order changes.
181
+
182
+ ## 4.17.0
183
+
184
+ - Add `allowProcess`, set to `false` to remove processing button and related abort / retry processing controls.
185
+ - Fix issue where hidden inputs didn't reflect visual order of files in list.
186
+
187
+ ## 4.16.0
188
+
189
+ - Add `allowSyncAcceptAttribute`, set to `false` to prevent FilePond from setting the file input field `accept` attribute to the value of the `acceptedFileTypes`.
190
+
191
+ ## 4.15.1
192
+
193
+ - Fix issue with abort being called even when not supplied.
194
+
195
+ ## 4.15.0
196
+
197
+ - Add support for reording items in grid layout. Thanks @jwsinner ❤︎
198
+
199
+ ## 4.14.0
200
+
201
+ - Add `oninitfile`, called when file is first initialised, can be used to immediately set metadata.
202
+
203
+ ## 4.13.7
204
+
205
+ - Fix backwards compatibility problem with `4.13.5` and `4.13.6` where removeFile would revert upload.
206
+ - Add `{ revert: true }` as parameter to `removeFile` and `removeFiles` methods. Where in the previous two fix versions reverting was added to be done automatically this new parameter now needs be set to revert the upload.
207
+
208
+ ## 4.13.6
209
+
210
+ - Fix problem where revert wasn't called for user added files.
211
+
212
+ ## 4.13.5
213
+
214
+ - Fix trigger of revert handler to `removeFile` API.
215
+ - Fix problem where circular layout wouldn't work on latest Safari.
216
+
217
+ ## 4.13.4
218
+
219
+ - Fix issue where FilePond internal event mechanism would be in slowmotion mode when running in an inactive tab because of `setTimeout` use.
220
+
221
+ ## 4.13.3
222
+
223
+ - Fix issue where FilePond would excessivly pause in between processing files while running in an inactive tab.
224
+
225
+ ## 4.13.2
226
+
227
+ - Fix issue where FilePond running in an inactive tab would be very slow to pick up new files.
228
+
229
+ ## 4.13.1
230
+
231
+ - Fix issue where HEAD fetch request would try turn response into zero byte file.
232
+
233
+ ## 4.13.0
234
+
235
+ - Fix issue where hidden file fields were not in the correct order when files were sorted either automatically or manually.
236
+ - Clean up accidental log statement left in 4.12.2 release.
237
+
238
+ ## 4.12.2
239
+
240
+ - Fix issue with re-enabling FilePond field from disabled state not applying the appropriate fields to the browse input.
241
+
242
+ ## 4.12.1
243
+
244
+ - Fix issue where browse button wasn't clickable when `styleLayoutMode` was set to `compact`.
245
+
246
+ ## 4.12.0
247
+
248
+ - Add `styleButtonRemoveItemAlign` to align remove button to the left side of the file item.
249
+ - Fix issue where list of files could not be scrolled when FilePond was disabled.
250
+
251
+ ## 4.11.0
252
+
253
+ - Add `relativePath` property to file item.
254
+ - Add `onreorderfiles` callback.
255
+ - Fix issue where unkown type was `"null"` instead of an empty string.
256
+ - Fix issue where `onactivatefile` was fired on drag end.
257
+
258
+ ## 4.10.0
259
+
260
+ - Copy webkitDirectory property to file object.
261
+
262
+ ## 4.9.5
263
+
264
+ - Fix issue with error format in TypeScript types.
265
+
266
+ ## 4.9.4
267
+
268
+ - Fix problem with API querystring containing multiple questionmarks.
269
+
270
+ ## 4.9.3
271
+
272
+ - Fix problem where ending the class attribute on a space would throw an error.
273
+
274
+ ## 4.9.2
275
+
276
+ - Add `grab` cursor to items so there's and indicator that items are grabbable.
277
+
278
+ ## 4.9.1
279
+
280
+ - Fix issue where Chrome on Android would launch pull-to-refresh when trying to drag a file item.
281
+
282
+ ## 4.9.0
283
+
284
+ - Add drag to reorder file items, enable by setting `allowReorder` to `true`.
285
+ - Only works in single column mode (for now).
286
+ - It also works when the list of files is showing a scrollbar, but dragging + scrolling isn't working correctly at the moment.
287
+ - Limited to [browsers supporting Pointer events](https://caniuse.com/#feat=pointer).
288
+ - Add `moveFile(query, index)` method. Use to move a file to a different index in the file items array.
289
+
290
+ ## 4.8.2
291
+
292
+ - Fix problem with 4.8.1 fix not working with SSR.
293
+
294
+ ## 4.8.1
295
+
296
+ - Fix IE issue where adding markup would not work.
297
+
298
+ ## 4.8.0
299
+
300
+ - Add `prepareFile` and `prepareFiles` methods to the FilePond instance, use to request output files of the current items in the files list.
301
+
302
+ ## 4.7.4
303
+
304
+ - UTF-8 encode request headers to prevent issues with weird characters.
305
+
306
+ ## 4.7.3
307
+
308
+ - Switch from `setAttribute` to `cssText` for layout changes resulting in better performance and CSP compatibility. [#400](https://github.com/pqina/filepond/pull/400)
309
+
310
+ ## 4.7.2
311
+
312
+ - Fix issue where iOS 10 would throw an error when calling `delete` on a dataset property
313
+ - Fix issue with `onwarning` being called on incorrect element
314
+
315
+ ## 4.7.1
316
+
317
+ - Fix problem where directories with over 100 files weren't read correctly.
318
+
319
+ ## 4.7.0
320
+
321
+ - Add support for [chunked uploads](https://pqina.nl/filepond/docs/patterns/api/server/#process-chunks). Thanks to Ryan Olson (@ams-ryanolson) Arctic Media for donating the funds to build this.
322
+
323
+ ## 4.6.1
324
+
325
+ - Add missing Blob type to TypeScript server config.
326
+
327
+ ## 4.6.0
328
+
329
+ - Add TypeScript declarations.
330
+
331
+ ## 4.5.2
332
+
333
+ - If `Blob` has `name` attribute use name attribute instead of URL for file name.
334
+
335
+ ## 4.5.1
336
+
337
+ - Fix issue where drag-drop from Firefox download list would not add file to drop area
338
+
339
+ ## 4.5.0
340
+
341
+ - Add option to set server end point headers on a generic level so they're applied to all end points using `server.headers`.
342
+
343
+ ## 4.4.13
344
+
345
+ - Fix problem with CSS overriding image preview markup text size.
346
+
347
+ ## 4.4.12
348
+
349
+ - Fix memory leak.
350
+
351
+ ## 4.4.11
352
+
353
+ - Fix problem with abort statement in file loader logic.
354
+
355
+ ## 4.4.10
356
+
357
+ - Fix issue where Promise returned by `addFile` would not be rejected if file failed to load.
358
+
359
+ ## 4.4.9
360
+
361
+ - Fix security issues with dependencies.
362
+
363
+ ## 4.4.8
364
+
365
+ - Fix issue where multiple calls to `setMetadata` would result in multiple successive calls to prepare file.
366
+ - Fix issue where drop area aspect ratio would not update correctly on resize.
367
+
368
+ ## 4.4.7
369
+
370
+ - Fix issue where pasting a file would throw an error.
371
+ - Fix issue where ignored files would be counted as files when dropping a folder.
372
+
373
+ ## 4.4.6
374
+
375
+ - Fix issue where `processFiles` would re-process `local` server images.
376
+
377
+ ## 4.4.5
378
+
379
+ - Fix issue where FilePond event loop would freeze when tab was inactive.
380
+
381
+ ## 4.4.4
382
+
383
+ - Fix issue where FilePond would not render when hidden, resulting in missing input elements and events not firing.
384
+
385
+ ## 4.4.3
386
+
387
+ - Fix issue where processing the queue didn't work correctly when files were removed while being in the queue.
388
+
389
+ ## 4.4.2
390
+
391
+ - Fix issue where UTF-8 encoded filename was not parsed correctly.
392
+
393
+ ## 4.4.1
394
+
395
+ - Fix issue where `Content-Disposition` header filename was not parsed correctly.
396
+
397
+ ## 4.4.0
398
+
399
+ - Fix issue where `addFile` did not respect `itemInsertLocation` setting.
400
+ - Add the `beforeDropFile` hook which can be used to validate a dropped item before it's added, make sure `dropValidation` is set to `true` as well.
401
+
402
+ ## 4.3.9
403
+
404
+ - Fix problem where enabling FilePond after being `disabled` would not allow browsing for files.
405
+
406
+ ## 4.3.8
407
+
408
+ - Improve accessibility of buttons by moving label from `title` to inner hidden `<span>`.
409
+
410
+ ## 4.3.7
411
+
412
+ - Attempt #2 at fixing the issue of release `4.3.6`.
413
+
414
+ ## 4.3.6
415
+
416
+ - Fix problem where the `abortAll` call triggered when destroying FilePond would inadvertently trigger the `server.remove` end point for each local file.
417
+
418
+ ## 4.3.5
419
+
420
+ - Fix issue where changing the `stylePanelAspectRatio` would not update the container size.
421
+
422
+ ## 4.3.4
423
+
424
+ - Add source code.
425
+ - Add build scripts.
426
+ - Fix `onremovefile` callback not receiving an error object similar to `onaddfile`.
427
+
428
+ ## 4.3.3
429
+
430
+ - Fix issue where aborting a file load while the file was being prepared (for instance, encoded) did not work.
431
+
432
+ ## 4.3.2
433
+
434
+ - Fix issue where 0 byte files would not upload to the server.
435
+
436
+ ## 4.3.1
437
+
438
+ - Add `status` property to the FilePond instance, use this property to determine the current FilePond status (`EMPTY`, `IDLE`, `ERROR`, `BUSY`, or `READY`).
439
+
440
+ ## 4.3.0
441
+
442
+ - Fix problem where `addFiles` would not correctly map passed options to files.
443
+ - Fix problem where upload error would prevent processing of other files.
444
+ - Fix problem where the field would not "exist" if it had no value. Now if FilePond is empty the internal file input element is given the name attribute, this is removed when a file is added (as the name is then present on the file's hidden input element).
445
+ - Add `onprocessfiles` which is called when all files have been processed.
446
+ - Add `onactivatefile` which is called when a user clicks or taps on a file item.
447
+
448
+ ## 4.2.0
449
+
450
+ - Add `disabled` property, can be set as an attribute on the file input or as a property in the FilePond options object.
451
+ - Add catching clicks on the entire pond label element to make it easier to click the label.
452
+
453
+ ## 4.1.4
454
+
455
+ - Only hide preview images when resizing the window horizontally, fixes problem with resize events on iOS.
456
+
457
+ ## 4.1.3
458
+
459
+ - Improve the way that FilePond resumes drawing when a tab retains focus.
460
+
461
+ ## 4.1.2
462
+
463
+ - Fix problem where `onaddfile` callback parameters were reversed when file validation plugins prevented file load
464
+
465
+ ## 4.1.1
466
+
467
+ - Fix problem where error shake animation would mess up preview image.
468
+
469
+ ## 4.1.0
470
+
471
+ - Add `itemInsertLocationFreedom` property, set to `false` to stop user from picking the location in the file list where the file is added.
472
+
473
+ ## 4.0.2
474
+
475
+ - Fix problem with undefine `ItemStatus` object in `processFiles` method
476
+
477
+ ## 4.0.1
478
+
479
+ - Fix problem where window resize handler was removed incorrectly resulting in an error.
480
+
481
+ ## 4.0.0
482
+
483
+ Multiple improvements, small fixes and new features. As updating will result in animation speed changes, changes to the way files are added to the files list, and will require an update of the image preview plugin, the version has been bumped to 4.0.0
484
+
485
+ - Add grid layout feature. Assign a fixed width to a filepond item and FilePond will render the items in rows.
486
+
487
+ The code below will render a list view on small viewports, a 50/50 grid on medium viewports, and a 33/33/33 grid on wide viewports. The `.5em` in each calc statement is equivalent to the combined left and right margin of each filepond item.
488
+
489
+ ```css
490
+ @media (min-width: 30em) {
491
+ .filepond--item {
492
+ width: calc(50% - 0.5em);
493
+ }
494
+ }
495
+
496
+ @media (min-width: 50em) {
497
+ .filepond--item {
498
+ width: calc(33.33% - 0.5em);
499
+ }
500
+ }
501
+ ```
502
+
503
+ - Add `styleItemPanelAspectRatio` to control the item panel aspect ratio and render item panels in a fixed size.
504
+ - Add `sort` method on FilePond instance for sorting FilePond files.
505
+ - Add `itemInsertLocation` property to set default insert location of files or sort method.
506
+ - Add `itemInsertInterval` to control the small delay between adding items to the files list.
507
+ - Improve drag and drop performance.
508
+ - Improve file insert logic and performance.
509
+ - Improve rendering of file previews will now scale correctly when window is resized.
510
+ - Improve handling of dropped directories on Firefox, file type was missing, now guestimates file type based on file extension.
511
+ - Small tweaks and changes to file animation durations and intros.
512
+ - Fixed drag coordinates being slightly out of place.
513
+ - Multiple small fixes and code improvements.
514
+
515
+ ## 3.9.0
516
+
517
+ - Add `checkValidity` which is set to `false` by default. If it's set to `true`, FilePond will set the contents of the `labelInvalidField` property as the field custom validity message if it contains invalid files (files that for instance exceed max file size or fail other tests).
518
+
519
+ ## 3.8.2
520
+
521
+ - Fix problem where remove server error message was passed directly to client without label. Set `labelFileRemoveError` to a string to change default error, set it to a function to show custom server error. `{ labelFileRemoveError: serverError => serverError }`
522
+
523
+ ## 3.8.1
524
+
525
+ - Expose `dispatch` call to plugin item extensions.
526
+
527
+ ## 3.8.0
528
+
529
+ - Add `forceRevert` option, set to `true` to force a revert action to finish before continuing.
530
+
531
+ ## 3.7.7
532
+
533
+ - Improve `onlistupdate` event so it can be better synced with adapter components.
534
+
535
+ ## 3.7.6
536
+
537
+ - Switched browse text underline to `text-decoration-skip-ink: auto` instead of `text-decoration-skip: ink` to prevent eslint warnings.
538
+
539
+ ## 3.7.5
540
+
541
+ - Fix problem where calling `processFiles` without arguments would re-process already processed files.
542
+
543
+ ## 3.7.4
544
+
545
+ - Fix problem where subsequent calls to `processFile` would not automatically revert an uploaded file or abort an active upload.
546
+
547
+ ## 3.7.3
548
+
549
+ - Fix problem where upload complete indicator would not show when image preview was active.
550
+
551
+ ## 3.7.2
552
+
553
+ - Expose `createItemAPI` to plugins.
554
+
555
+ ## 3.7.1
556
+
557
+ - Fix problem where URLs would immidiately be in processed state.
558
+
559
+ ## 3.7.0
560
+
561
+ - Add `maxParallelUploads` option to limit the amount of files being uploaded in parallel.
562
+ - Add option to only fetch file head when downloading remote URLs. File is downloaded to the server and server sends a unique file id to the client. Set `server.fetch.method` to `'HEAD'` the server needs to repond with custom header `X-Content-Transfer-Id` and a unique id. See [handle_fetch_remote_file](https://github.com/pqina/filepond-server-php/blob/master/index.php#L91) in FilePond PHP Server for an example implementation.
563
+
564
+ ## 3.6.0
565
+
566
+ - Add support for uploading transform plugin variants.
567
+ - Add `server.process.ondata` which allows adding entries to the formdata before it's sent to the server.
568
+
569
+ ## 3.5.1
570
+
571
+ - Fix problem where `processFile` and `processFiles` would reprocess already processed files.
572
+
573
+ ## 3.5.0
574
+
575
+ - Add `beforeAddFile` hook, this can be used to quickly validate files before they're being added.
576
+
577
+ ## 3.4.0
578
+
579
+ - Add `server.remove` property, this property can be optionally set to a method to call when the remove button is tapped on a `local` file. This allows removing files from the server. Please note that allowing clients to remove files from the server is a potential security risk and requires extra caution.
580
+
581
+ By default the property is `null`. The advise is to not use this method and only make changes to the server after the parent form has been submitted. The form POST will contain all the loaded file names and relevant file data, it should be enough to determine the files to remove and the files to keep.
582
+
583
+ ## 3.3.3
584
+
585
+ - Fix filename matching of content-disposition header when the filename is not wrapped in quotes.
586
+ - Fix problem where special characters in filename prevented a file from being added
587
+
588
+ ## 3.3.2
589
+
590
+ - Fix problem where revert call would revert wrong file item.
591
+
592
+ ## 3.3.1
593
+
594
+ - Fix problem where exceeding the max file limit would not throw an error
595
+
596
+ ## 3.3.0
597
+
598
+ - Add feature to silently update metadata so it doesn't trigger an update.
599
+
600
+ ## 3.2.5
601
+
602
+ - Fix issue where items would be removed before item sub views were all in rest state.
603
+
604
+ ## 3.2.4
605
+
606
+ - Fix problem where server side rendering would not work correctly.
607
+
608
+ ## 3.2.3
609
+
610
+ - Fix problem where `beforeRemoveFile` hook was not called when in `instantUpload` mode and reverting an upload.
611
+
612
+ ## 3.2.2
613
+
614
+ - Add preparations for queueing file processing.
615
+ - Improve guards against errors when items are removed.
616
+ - Improve alignment of drop label.
617
+
618
+ ## 3.2.1
619
+
620
+ - Group updateitems callback for better compatibility with React.
621
+
622
+ ## 3.2.0
623
+
624
+ - Add global scoped property for painter so multiple libraries can subscribe to read and write DOM operations. This is mostly in preparation for a standalone version of the Image Editor plugin.
625
+
626
+ ## 3.1.6
627
+
628
+ - Fix problem where remove callback would no longer work.
629
+
630
+ ## 3.1.5
631
+
632
+ - Fix problem with WebWorkers not working correctly on Edge and IE.
633
+
634
+ ## 3.1.4
635
+
636
+ - Fix syntax error [#147](https://github.com/pqina/filepond/pull/147)
637
+
638
+ ## 3.1.3
639
+
640
+ - Fix additional problem with quick file removals.
641
+
642
+ ## 3.1.2
643
+
644
+ - Fix problem where remove call would throw error depending on the state of the upload.
645
+ - Fix problem where clicking on abort before upload had started would not cancel upload.
646
+
647
+ Please note that this update will require installing new versions of the following plugins:
648
+
649
+ - File Validate Size
650
+
651
+ ## 3.1.1
652
+
653
+ - Fix problem where panel overflow would render incorrectly.
654
+
655
+ ## 3.1.0
656
+
657
+ - Improve diffing when updating the `files` property.
658
+ - Add `onupdatefiles` callback that is triggered when a file is added or removed to a pond instance.
659
+
660
+ ## 3.0.4
661
+
662
+ - Fix problem where feature detection would throw error on iOS 8.x
663
+
664
+ ## 3.0.3
665
+
666
+ - Fix problem with XMLHttpRequest timeout on Internet Explorer 11.
667
+ - Fix problem with custom properties on element on Internet Explorer 11.
668
+
669
+ ## 3.0.2
670
+
671
+ - Fix problem with label not being clickable while in integrated layout mode.
672
+
673
+ ## 3.0.1
674
+
675
+ - Fix problem where timeout would incorrectly trigger for uploads.
676
+
677
+ ## 3.0.0
678
+
679
+ - Small internal flow changes to facilitate integration with the Image Editor plugin
680
+ - Improve performance
681
+ - Improve file loader so it now supports `blob` URLs
682
+ - Add `stylePanelLayout` setting to set layout mode for panel
683
+ - Add `stylePanelAspectRatio` setting to fix aspect ratio of panel
684
+ - Add `styleButtonRemoveItemPosition` to control remove button position on image preview
685
+ - Add `styleButtonProcessItemPosition` to control item processing position on image preview
686
+ - Add `styleLoadIndicatorPosition` to control load indicator position on image preview
687
+ - Add `styleProgressIndicatorPosition` to control process indicator position on image preview
688
+ - Add method to automatically update data when file metadata is updated
689
+ - Fix animation rest state detection
690
+
691
+ Please note that this update will require installing new versions of the following plugins:
692
+
693
+ - File Encode
694
+ - Image Crop
695
+ - Image Preview
696
+ - Image Transform
697
+
698
+ ## 2.3.1
699
+
700
+ - Fix improved browser environment detection.
701
+
702
+ ## 2.3.0
703
+
704
+ - Improve browser environment detection [#123](https://github.com/pqina/filepond/pull/123).
705
+ - Add `beforeRemoveFile` callback to allow user confirmation before actual file removal.
706
+
707
+ ## 2.2.1
708
+
709
+ - Fix another problem where list overflow would not render correctly.
710
+
711
+ ## 2.2.0
712
+
713
+ - Fix problem where `maxFiles` was not enforced when dropping a set of files, each file was added in sequence till `maxFiles` was reached while the set as a whole should've been invalidated at once.
714
+
715
+ ## 2.1.3
716
+
717
+ - Fix problem where max-height of filepond root would not be respected by file list.
718
+
719
+ ## 2.1.2
720
+
721
+ - Cleaned up some stray babelHelpers.
722
+ - Fix bug in render engine style method, should result in less unnecessary redraws.
723
+
724
+ ## 2.1.1
725
+
726
+ - Fix problem where the drop indicator would render at the wrong location.
727
+ - Fix problem where calling `removeFile` directly after `processFile` was resolved would throw an error.
728
+
729
+ ## 2.1.0
730
+
731
+ - Labels can now be set as functions, these functions will receive context information, this is useful to customize both he load error and processing error labels based on server response.
732
+
733
+ ## 2.0.1
734
+
735
+ - Add additional utilities to plugin API.
736
+
737
+ ## 2.0.0
738
+
739
+ - Automatically replace undo button counterclockwise arrow icon with remove button icon when `instantUpload` is set to `true`.
740
+
741
+ ## 1.8.8
742
+
743
+ - Add `metadata` handling to `addFile` method.
744
+
745
+ ## 1.8.7
746
+
747
+ - Fix problem where setting `allowRevert` to `false` would hide the remove button.
748
+
749
+ ## 1.8.6
750
+
751
+ - Fix problem where adding dataURIs would throw an error
752
+
753
+ ## 1.8.5
754
+
755
+ - Fix casting of input attributes without value to correct boolean
756
+
757
+ ## 1.8.4
758
+
759
+ - Fix problem where response timeout would throw an error
760
+ - Improve handling of returned value by processing onload function
761
+
762
+ ## 1.8.3
763
+
764
+ - Cleaning up some stray code
765
+
766
+ ## 1.8.2
767
+
768
+ - Fix problem where element options did not override page level options
769
+
770
+ ## 1.8.1
771
+
772
+ - Handle `Blob` with `name` property same as actual `File` object
773
+ - Attempt to fix a problem where `elementFromPoint` could not be found in Angular component
774
+
775
+ ## 1.8.0
776
+
777
+ - Add view filter to file info view
778
+ - Add option to [mock server files](https://pqina.nl/filepond/docs/patterns/api/filepond-object/#creating-a-filepond-instance)
779
+ - Add option to [set initial file metadata](https://pqina.nl/filepond/docs/patterns/api/filepond-object/#creating-a-filepond-instance) for server files
780
+ - Bugfixes
781
+
782
+ ## 1.7.4
783
+
784
+ - Fix handling of `Content-Disposition` header to better extract the filename
785
+
786
+ ## 1.7.3
787
+
788
+ - Events are now fired asynchronous, this allows internal processes to finish up
789
+
790
+ ## 1.7.2
791
+
792
+ - Fix broken links in README
793
+
794
+ ## 1.7.1
795
+
796
+ - Add view filter to file status view
797
+ - Fix problem where attribute object value was not read correctly
798
+
799
+ ## 1.7.0
800
+
801
+ - Add `onerror` callback to server configuration to allow custom parsing of error response
802
+
803
+ ## 1.6.2
804
+
805
+ - Fix problem where restored temp file would not be removed correctly
806
+
807
+ ## 1.6.1
808
+
809
+ - Add `FileOrigin` enum to FilePond object
810
+
811
+ ## 1.6.0
812
+
813
+ - Add `fileOrigin` property to file item
814
+
815
+ ## 1.5.4
816
+
817
+ - Update README with links to new plugins and adapters
818
+
819
+ ## 1.5.3
820
+
821
+ - Accidentally skip over this version number
822
+
823
+ ## 1.5.2
824
+
825
+ - Remove max-width on file status view
826
+
827
+ ## 1.5.1
828
+
829
+ - Prevent text wrapping for file size label
830
+
831
+ ## 1.5.0
832
+
833
+ - Add `onload` method to server configuration
834
+
835
+ ## 1.4.1
836
+
837
+ - Fix progress indicator getting stuck on subsequent uploads
838
+
839
+ ## 1.4.0
840
+
841
+ - Add `allowRevert` option to disable revert button
842
+
843
+ ## 1.3.0
844
+
845
+ - Add `dropValidation` option to enable pre-validating of dropped items
846
+
847
+ ## 1.2.11
848
+
849
+ - Improve timing of CPU heavy operations (like file encoding) when a file is added to FilePond
850
+
851
+ ## 1.2.10
852
+
853
+ - Fix `removeFiles` method. Did not correctly remove files when called with empty arguments or an array of indexes
854
+
855
+ ## 1.2.9
856
+
857
+ - Fix bug where `processFiles` only worked when receiving parameters
858
+
859
+ ## 1.2.8
860
+
861
+ - Tiny improvements so can be used when server side rendering
862
+
863
+ ## 1.2.7
864
+
865
+ - Improve loading indicator state
866
+ - Add Angular adapter reference to README
867
+
868
+ ## 1.2.6
869
+
870
+ - Add `onprocessfile` callback to options object
871
+
872
+ ## 1.2.5
873
+
874
+ - Fix id attribute not being available on FilePond root
875
+ - Fix FilePond not rendering correctly when initially hidden
876
+ - Improve render performance
877
+
878
+ ## 1.2.4
879
+
880
+ - Fix `setOptions` method not correctly converting value types
881
+
882
+ ## 1.2.3
883
+
884
+ - Update the `OptionTypes` property when a plugin is registered
885
+
886
+ ## 1.2.2
887
+
888
+ - Fix `setOptions` returning an incorrectly formatted options object
889
+
890
+ ## 1.2.1
891
+
892
+ - Add README link to backlog on WIP
893
+ - Fix problem where `destroy` would not remove FilePond
894
+ - Switch license from GPL to MIT
895
+ - Add jQuery to adapters list
896
+ - Fix error message animation
897
+ - Improve FilePond event parameters
898
+
899
+ ## 1.1.0
900
+
901
+ - Accidentally skip version 1.1.0
902
+
903
+ ## 1.0.8
904
+
905
+ - Fix problem where plugins could be registered twice
906
+ - Improve `files` property, now compares existing files against new files and updates accordingly
907
+
908
+ ## 1.0.7
909
+
910
+ - Hide center panel before scaling panel view
911
+
912
+ ## 1.0.6
913
+
914
+ - Improve style possibilities for panel views and enforce internal panel layout properties
915
+
916
+ ## 1.0.5
917
+
918
+ - Fix problem where loading indicators would not spin for certain requests
919
+ - Various improvements to README
920
+
921
+ ## 1.0.4
922
+
923
+ - Fix render bugs
924
+ - Improve panel view layout
925
+
926
+ ## 1.0.3
927
+
928
+ - Fix processing complete state file item color
929
+
930
+ ## 1.0.2
931
+
932
+ - Add support for client side file manipulation
933
+ - Add support for file metadata
934
+ - Improve performance
935
+
936
+ ## 1.0.1
937
+
938
+ - Add correct banners to library files
939
+
940
+ ## 1.0.0
941
+
942
+ - Initial release