Major Changes
-
c5b51f6: ### Export maps for all packages
All packages now have export maps. This is a breaking change in two cases:
- The css imports have changed from
@uppy[package]/dist/styles.min.css
to@uppy[package]/css/styles.min.css
- You were importing something that wasn't exported from the root, for instance
@uppy/core/lib/foo.js
. You can now only import things we explicitly exported.
Changed imports for
@uppy/react
,@uppy/vue
, and@uppy/svelte
Some components, like Dashboard, require a peer dependency to work but since all components were exported from a single file you were forced to install all peer dependencies. Even if you never imported, for instance, the status bar component.
Every component that requires a peer dependency has now been moved to a subpath, such as
@uppy/react/dashboard
, so you only need to install the peer dependencies you need.Example for
@uppy/react
:Before:
import { Dashboard, StatusBar } from "@uppy/react";
Now:
import Dashboard from "@uppy/react/dashboard"; import StatusBar from "@uppy/react/status-bar";
- The css imports have changed from
Patch Changes
- Updated dependencies [c5b51f6]
- @uppy/remote-sources@3.0.0
- @uppy/screen-capture@5.0.0
- @uppy/image-editor@4.0.0
- @uppy/webcam@5.0.0
- @uppy/audio@3.0.0
- @uppy/core@5.0.0