Skip to content

@uppy/core@6.3.1

Choose a tag to compare

@github-actions github-actions released this 03 Nov 14:09
· 4 commits to main since this release
b0c61ac

Patch Changes

  • 628b3c0: Unmount UI plugins' Preact trees and remove the Dashboard modal's keyboard listener during uninstall. Removing an open DashboardModal now releases keyboard focus, restores focus to the element that had it before the modal opened (if that element is still on the page), and runs component cleanup, including pending panel transitions.
  • f58058d: Deprecate the tokenStorage export. Use defaultStorage from @uppy/core/companion-client instead.
  • f58058d: Allow various asynchronous interfaces and callbacks to be synchronous. Some methods that never awaited anything are no longer async; for example Webcam#getVideo() now returns its value directly.
  • f58058d: Only access localStorage when a provider plugin's default token storage is used, so the plugins can be constructed during server-side rendering again.
  • a16a4bf: Strip all trailing slashes from companionUrl (previously only one was stripped for HTTP requests, and none for websockets), so a companionUrl ending in / no longer produces ws://host//api/... and breaks remote uploads.