Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update FilePond (major) #413

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update FilePond (major) #413

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 15, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
filepond (source) 3.9.0 -> 4.32.6 age adoption passing confidence
filepond-plugin-image-preview (source) 3.1.6 -> 4.6.12 age adoption passing confidence
react-filepond (source) 5.0.0 -> 7.1.3 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

pqina/filepond (filepond)

v4.32.6

Compare Source

  • Fix processfiles event missing from types.`

v4.32.5

Compare Source

  • Attempt to fix item dragging issue on Android.

v4.32.4

Compare Source

  • Make credits link more visible to prevent authors from leaving it in place accidentally.

v4.32.3

Compare Source

  • Add nofollow to credits link.

v4.32.2

Compare Source

  • Fix accessibility issue with data fieldset missing a legend.

v4.32.1

Compare Source

  • Fix types.

v4.32.0

Compare Source

  • Add onload property to chunk patch request, receives xhr object, chunk index, and total chunks. #​649
  • Fix role attribute in voice over assistant to improve WCAG compatibility #​988

v4.31.4

Compare Source

  • Fix issue where images pasted in contenteditable elements would be handled by FilePond.

v4.31.3

Compare Source

  • Fix issue where hidden input fields in filepond--data fieldset would stay disabled after enabling FilePond. #​1001

v4.31.2

Compare Source

  • Remove aria-hidden from drop label as suggested by Lighthouse.
  • Fix tabIndex attribute on credits link not set correctly, now no longer included in tab flow.

v4.31.1

Compare Source

  • Fix issue with dragging file items sometimes not working.

v4.30.6

Compare Source

  • Fix issue where using a number as source for a local file would throw a url.split error.

v4.30.5

Compare Source

  • Fix file field value assignment #​905

v4.30.4

Compare Source

  • Fix a bug where the selected file is not replaced #​841
  • Fix a bug where the onwarning event is not triggered #​839
  • Add more translations

v4.30.3

Compare Source

  • Fix accidental push.

v4.30.2

Compare Source

  • Remove accidental log statement.

v4.30.1

Compare Source

  • Prioritize server prop before other props when passed to setOptions #​606

v4.30.0

Compare Source

  • Add labelFileSizeBytes, labelFileSizeKilobytes, labelFileSizeMegabytes, labelFileSizeGigabytes #​763

v4.29.1

Compare Source

v4.29.0

Compare Source

  • Enable rejecting images with an error message using the internal DID_LOAD_ITEM hook.

v4.28.2

Compare Source

  • Fix issue where local server files could not be re-uploaded after editing and did not trigger remove of source file.

v4.28.1

Compare Source

  • Fix CSS error.

v4.28.0

Compare Source

  • 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, this is the case on Firefox, Chrome, Chromium powered browsers and Safari version 14.1 and higher.
  • Switch to PostCSS for style output.

v4.27.3

Compare Source

  • Fix issue with file.js component leaking state causing allowRemove to impact other instances of FilePond. #​713

v4.27.2

Compare Source

  • Fix issue with fetch and HEAD no setting server id to hidden input element.

v4.27.1

Compare Source

  • Fix issue with allowMinimumUploadDuration set to false throwing error.

v4.27.0

Compare Source

  • Add allowMinimumUploadDuration set to false to prevent a minimum upload time of 750ms.

v4.26.2

Compare Source

  • 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.

v4.26.1

Compare Source

  • Add metdata change info to internal SHOULD_PREPARE_OUTPUT call

v4.26.0

Compare Source

  • Fix problem with rendering 0 items per row. #​676
  • The headers property of the server.process end point can now be a function.

v4.25.3

Compare Source

  • Fix issue with chunkRetryDelays. #​671

v4.25.2

Compare Source

  • Fix issue with fixed with file items not row wrapping correctly. #​653
  • Fix file info label when remove button positioned to the right. #​620

v4.25.1

Compare Source

  • Renamed beforePrepareOutput hook to beforePrepareFile.

v4.25.0

Compare Source

  • Add beforePrepareOutput hook to intercept and prevent preparing a new output file.

v4.24.0

Compare Source

  • Add action info to internal SHOULD_PREPARE_OUTPUT call
  • Moved edit button CSS to FilePond

v4.23.1

Compare Source

  • 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.

v4.23.0

Compare Source

v4.22.1

Compare Source

  • Fix problem with locale files.

v4.22.0

Compare Source

  • Add internal filter for plugins to manipulate dropped files before adding them to the files list.

v4.21.1

Compare Source

  • Fix calculation of file size when fileSizeBase is set to 1024.

v4.21.0

Compare Source

  • Add fileSizeBase use to adjust the way files sizes are displayed. Default is 1000.

v4.20.1

Compare Source

  • Add allowRemove option so it actually works.

v4.20.0

Compare Source

  • Add allowRemove, set to false to disable remove button.
  • Improve TypeScript definitions.
  • Fix issue where removeFiles would not remove all files.

v4.19.2

Compare Source

  • Fix problem with locale files not ending up on npm.

v4.19.1

Compare Source

  • Fix issue where removal of a server file was requested when setting new files to the files property.

v4.19.0

Compare Source

  • Add locale folder, can now import different locales.
  • Improve supports method, now correctly detects MacOS Safari 8.
  • Improve type definitions file.
  • Fix issue with removeFiles({ revert: false }) not working.
  • Fix issue where content pasted in a textarea would be interpreted as a file.

v4.18.0

Compare Source

  • Add fallback for fetch when loading remote URLs, if no custom fetch supplied, will use default request.
  • Add TypeScript dynamic label types.
  • Fix issue where order of files wasn't correct when setting initial files.

v4.17.1

Compare Source

  • Fix issue where reorder event was fired on each drag interaction, now only fires when order changes.

v4.17.0

Compare Source

  • Add allowProcess, set to false to remove processing button and related abort / retry processing controls.
  • Fix issue where hidden inputs didn't reflect visual order of files in list.

v4.16.0

Compare Source

  • Add allowSyncAcceptAttribute, set to false to prevent FilePond from setting the file input field accept attribute to the value of the acceptedFileTypes.

v4.15.1

Compare Source

  • Fix issue with abort being called even when not supplied.

v4.14.0

Compare Source

  • Add oninitfile, called when file is first initialised, can be used to immediately set metadata.

v4.13.7

Compare Source

  • Fix backwards compatibility problem with 4.13.5 and 4.13.6 where removeFile would revert upload.
  • 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.

v4.13.6

Compare Source

  • Fix problem where revert wasn't called for user added files.

v4.13.5

Compare Source

  • Fix trigger of revert handler to removeFile API.
  • Fix problem where circular layout wouldn't work on latest Safari.

v4.13.4

Compare Source

  • Fix issue where FilePond internal event mechanism would be in slowmotion mode when running in an inactive tab because of setTimeout use.

v4.13.3

Compare Source

  • Fix issue where FilePond would excessivly pause in between processing files while running in an inactive tab.

v4.13.2

Compare Source

  • Fix issue where FilePond running in an inactive tab would be very slow to pick up new files.

v4.13.1

Compare Source

  • Fix issue where HEAD fetch request would try turn response into zero byte file.

v4.13.0

Compare Source

  • Fix issue where hidden file fields were not in the correct order when files were sorted either automatically or manually.
  • Clean up accidental log statement left in 4.12.2 release.

v4.12.2

Compare Source

  • Fix issue with re-enabling FilePond field from disabled state not applying the appropriate fields to the browse input.

v4.12.1

Compare Source

  • Fix issue where browse button wasn't clickable when styleLayoutMode was set to compact.

v4.12.0

Compare Source

  • Add styleButtonRemoveItemAlign to align remove button to the left side of the file item.
  • Fix issue where list of files could not be scrolled when FilePond was disabled.

v4.11.0

Compare Source

  • Add relativePath property to file item.
  • Add onreorderfiles callback.
  • Fix issue where unkown type was "null" instead of an empty string.
  • Fix issue where onactivatefile was fired on drag end.

v4.10.0

Compare Source

  • Copy webkitDirectory property to file object.

v4.9.5

Compare Source

  • Fix issue with error format in TypeScript types.

v4.9.4

Compare Source

  • Fix problem with API querystring containing multiple questionmarks.

v4.9.3

Compare Source

  • Fix problem where ending the class attribute on a space would throw an error.

v4.9.2

Compare Source

  • Add grab cursor to items so there's and indicator that items are grabbable.

v4.9.0

Compare Source

  • Add drag to reorder file items, enable by setting allowReorder to true.
    • Only works in single column mode (for now).
    • It also works when the list of files is showing a scrollbar, but dragging + scrolling isn't working correctly at the moment.
    • Limited to browsers supporting Pointer events.
  • Add moveFile(query, index) method. Use to move a file to a different index in the file items array.

v4.8.2

Compare Source

  • Fix problem with 4.8.1 fix not working with SSR.

v4.8.1

Compare Source

  • Fix IE issue where adding markup would not work.

v4.8.0

Compare Source

  • Add prepareFile and prepareFiles methods to the FilePond instance, use to request output files of the current items in the files list.

v4.7.4

Compare Source

  • UTF-8 encode request headers to prevent issues with weird characters.

v4.7.3

Compare Source

  • Switch from setAttribute to cssText for layout changes resulting in better performance and CSP compatibility. #​400

v4.7.2

Compare Source

  • Fix issue where iOS 10 would throw an error when calling delete on a dataset property
  • Fix issue with onwarning being called on incorrect element

v4.7.1

Compare Source

  • Fix problem where directories with over 100 files weren't read correctly.

v4.7.0

Compare Source

v4.6.1

Compare Source

  • Add missing Blob type to TypeScript server config.

v4.6.0

Compare Source

  • Add TypeScript declarations.

v4.5.2

Compare Source

  • If Blob has name attribute use name attribute instead of URL for file name.

v4.5.1

Compare Source

  • Fix issue where drag-drop from Firefox download list would not add file to drop area

v4.5.0

Compare Source

  • Add option to set server end point headers on a generic level so they're applied to all end points using server.headers.

v4.4.13

Compare Source

  • Fix problem with CSS overriding image preview markup text size.

v4.4.12

Compare Source

  • Fix memory leak.

v4.4.11

Compare Source

  • Fix problem with abort statement in file loader logic.

v4.4.10

Compare Source

  • Fix issue where Promise returned by addFile would not be rejected if file failed to load.

v4.4.9

Compare Source

  • Fix security issues with dependencies.

v4.4.8

Compare Source

  • Fix issue where multiple calls to setMetadata would result in multiple successive calls to prepare file.
  • Fix issue where drop area aspect ratio would not update correctly on resize.

v4.4.7

Compare Source

  • Fix issue where pasting a file would throw an error.
  • Fix issue where ignored files would be counted as files when dropping a folder.

v4.4.6

Compare Source

  • Fix issue where processFiles would re-process local server images.

v4.4.5

Compare Source

  • Fix issue where FilePond event loop would freeze when tab was inactive.

v4.4.4

Compare Source

  • Fix issue where FilePond would not render when hidden, resulting in missing input elements and events not firing.

v4.4.3

Compare Source

  • Fix issue where processing the queue didn't work correctly when files were removed while being in the queue.

v4.4.2

Compare Source

  • Fix issue where UTF-8 encoded filename was not parsed correctly.

v4.4.1

Compare Source

  • Fix problem with CSS overriding image preview markup text size.

v4.4.0

Compare Source

  • Fix issue where addFile did not respect itemInsertLocation setting.
  • 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.

v4.3.9

Compare Source

  • Fix problem where enabling FilePond after being disabled would not allow browsing for files.

v4.3.8

Compare Source

  • Improve accessibility of buttons by moving label from title to inner hidden <span>.

v4.3.7

Compare Source

  • Attempt #​2 at fixing the issue of release 4.3.6.

v4.3.6

Compare Source

  • Fix problem where the abortAll call triggered when destroying FilePond would inadvertently trigger the server.remove end point for each local file.

v4.3.5

Compare Source

  • Fix issue where changing the stylePanelAspectRatio would not update the container size.

v4.3.4

Compare Source

  • Add source code.
  • Add build scripts.
  • Fix onremovefile callback not receiving an error object similar to onaddfile.

v4.3.3

Compare Source

  • Fix issue where aborting a file load while the file was being prepared (for instance, encoded) did not work.

v4.3.2

Compare Source

  • Fix issue where 0 byte files would not upload to the server.

v4.3.1

Compare Source

  • Add status property to the FilePond instance, use this property to determine the current FilePond status (EMPTY, IDLE, ERROR, BUSY, or READY).

v4.3.0

Compare Source

  • Fix problem where addFiles would not correctly map passed options to files.
  • Fix problem where upload error would prevent processing of other files.
  • 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).
  • Add onprocessfiles which is called when all files have been processed.
  • Add onactivatefile which is called when a user clicks or taps on a file item.

v4.2.0

Compare Source

  • Add disabled property, can be set as an attribute on the file input or as a property in the FilePond options object.
  • Add catching clicks on the entire pond label element to make it easier to click the label.

v4.1.4

Compare Source

  • Only hide preview images when resizing the window horizontally, fixes problem with resize events on iOS.

v4.1.3

Compare Source

  • Improve the way that FilePond resumes drawing when a tab retains focus.

v4.1.2

Compare Source

  • Fix problem where onaddfile callback parameters were reversed when file validation plugins prevented file load

v4.1.1

Compare Source

  • Fix problem where error shake animation would mess up preview image.

v4.1.0

Compare Source

  • Add itemInsertLocationFreedom property, set to false to stop user from picking the location in the file list where the file is added.

v4.0.2

Compare Source

  • Fix problem with undefine ItemStatus object in processFiles method

v4.0.1

Compare Source

  • Fix problem where window resize handler was removed incorrectly resulting in an error.

v4.0.0

Compare Source

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

  • Add grid layout feature. Assign a fixed width to a filepond item and FilePond will render the items in rows.

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.

@&#8203;media (min-width: 30em) {
    .filepond--item {
        width: calc(50% - 0.5em);
    }
}

@&#8203;media (min-width: 50em) {
    .filepond--item {
        width: calc(33.33% - 0.5em);
    }
}
  • Add styleItemPanelAspectRatio to control the item panel aspect ratio and render item panels in a fixed size.
  • Add sort method on FilePond instance for sorting FilePond files.
  • Add itemInsertLocation property to set default insert location of files or sort method.
  • Add itemInsertInterval to control the small delay between adding items to the files list.
  • Improve drag and drop performance.
  • Improve file insert logic and performance.
  • Improve rendering of file previews will now scale correctly when window is resized.
  • Improve handling of dropped directories on Firefox, file type was missing, now guestimates file type based on file extension.
  • Small tweaks and changes to file animation durations and intros.
  • Fixed drag coordinates being slightly out of place.
  • Multiple small fixes and code improvements.
pqina/filepond-plugin-image-preview (filepond-plugin-image-preview)

v4.6.12

Compare Source

v4.6.11

Compare Source

v4.6.10

Compare Source

v4.6.9

Compare Source

v4.6.8

Compare Source

v4.6.7

Compare Source

v4.6.6

Compare Source

v4.6.5

Compare Source

v4.6.4

Compare Source

v4.6.3

Compare Source

v4.6.2

Compare Source

v4.6.1

Compare Source

v4.6.0

Compare Source

v4.5.0

Compare Source

  • Add crop scaleToFit support
  • Add derive background color from image transform plugin support

v4.4.0

Compare Source

Add imagePreviewFilterItem function to help use the plugin alongside the file poster plugin.

v4.3.3

Compare Source

v4.3.2

Compare Source

v4.3.1

Compare Source

v4.3.0

Compare Source

v4.2.1

Compare Source

  • Improve test to determine if the set filter is actually a color matrix filter

v4.2.0

Compare Source

v4.1.1

Compare Source

v4.1.0

Compare Source

v4.0.8

Compare Source

v4.0.7

Compare Source

v4.0.6

Compare Source

v4.0.5

Compare Source

v4.0.4

Compare Source

v4.0.3

Compare Source

v4.0.2

Compare Source

v4.0.1

Compare Source

v4.0.0

Compare Source

pqina/react-filepond (react-filepond)

v7.1.3

Compare Source

v7.1.2

Compare Source

  • Fix error thrown in <Strict> mode.

v7.1.1

Compare Source

  • Up version of React dependency.

v7.1.0

Compare Source

  • Add React types, please uninstall @types/react-filepond

v7.0.1

Compare Source

v7.0.0

Compare Source

  • Update filepond peer dependency to match version 4.0.0
  • Add example folder

v6.0.1

Compare Source

  • Fix typo in README

v6.0.0

Compare Source

  • Removed <File> component, it created the illusion that it was possible to modify the HTML of FilePond which is not possible. This also simplifies the component making it easier to maintain and keep in sync with FilePond core.

  • You can now set files using the files prop, similar to how it is set on the JavaScript version of FilePond.

  • Fixed problem where syncing the FilePond internal state with the component state would sometimes not work properly.

  • Please make sure you update FilePond core dependency to 3.7.7

  • Add CHANGELOG.md


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/major-filepond branch from da0b2a7 to 1a8235f Compare April 12, 2024 14:18
Copy link
Contributor Author

renovate bot commented Apr 12, 2024

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: packages/web/package-lock.json
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@olimat%2fapi - Not found
npm ERR! 404 
npm ERR! 404  '@olimat/[email protected]' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'web'
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2024-04-12T14_18_38_827Z-debug.log

@renovate renovate bot force-pushed the renovate/major-filepond branch from 1a8235f to 2b21b2a Compare August 12, 2024 17:13
Copy link
Contributor Author

renovate bot commented Aug 12, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: packages/web/package-lock.json
(node:1982) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@olimat%2fapi - Not found
npm ERR! 404 
npm ERR! 404  '@olimat/[email protected]' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'web'
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate/cache/others/npm/_logs/2024-12-23T08_20_43_959Z-debug.log

@renovate renovate bot force-pushed the renovate/major-filepond branch from 2b21b2a to 3ec5997 Compare September 9, 2024 10:08
@renovate renovate bot force-pushed the renovate/major-filepond branch from 3ec5997 to 2bcebeb Compare September 23, 2024 10:54
@renovate renovate bot force-pushed the renovate/major-filepond branch 2 times, most recently from 0aa5cd8 to f677709 Compare November 4, 2024 10:11
@renovate renovate bot force-pushed the renovate/major-filepond branch 4 times, most recently from 4fa0016 to fe1ee57 Compare November 29, 2024 13:33
@renovate renovate bot force-pushed the renovate/major-filepond branch from fe1ee57 to 88dc7ee Compare December 16, 2024 16:44
@renovate renovate bot force-pushed the renovate/major-filepond branch from 88dc7ee to ba64744 Compare December 23, 2024 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants