mirror of
https://github.com/transloadit/uppy.git
synced 2026-01-23 02:25:07 +00:00
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @uppy/golden-retriever@5.2.1 ### Patch Changes -d766c30: Fix: Don't restore `currentUploads` if no files are being restored. - Updated dependencies [648f245] - @uppy/utils@7.1.5 ## @uppy/google-drive-picker@1.1.1 ### Patch Changes -50e2420: Improve Google Drive Picker folder picking: Resolve also folders inside shared drives (but not symlinks to folders) - Updated dependencies [648f245] - Updated dependencies [50e2420] - @uppy/utils@7.1.5 - @uppy/provider-views@5.2.2 ## @uppy/provider-views@5.2.2 ### Patch Changes -50e2420: Improve Google Drive Picker folder picking: Resolve also folders inside shared drives (but not symlinks to folders) - Updated dependencies [648f245] - @uppy/utils@7.1.5 ## @uppy/utils@7.1.5 ### Patch Changes -648f245: Fix `complete` event never firing for XHR and make sure the fetch aborts immediately if Uppy is cancelled before the fetch starts. ## @uppy/xhr-upload@5.1.1 ### Patch Changes -648f245: Fix `complete` event never firing for XHR and make sure the fetch aborts immediately if Uppy is cancelled before the fetch starts. - Updated dependencies [648f245] - @uppy/utils@7.1.5 ## uppy@5.2.1 ### Patch Changes - Updated dependencies [648f245] - Updated dependencies [50e2420] - Updated dependencies [d766c30] - @uppy/xhr-upload@5.1.1 - @uppy/google-drive-picker@1.1.1 - @uppy/provider-views@5.2.2 - @uppy/golden-retriever@5.2.1 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
396 lines
14 KiB
Markdown
396 lines
14 KiB
Markdown
# @uppy/xhr-upload
|
|
|
|
## 5.1.1
|
|
|
|
### Patch Changes
|
|
|
|
- 648f245: Fix `complete` event never firing for XHR and make sure the fetch aborts immediately if Uppy is cancelled before the fetch starts.
|
|
- Updated dependencies [648f245]
|
|
- @uppy/utils@7.1.5
|
|
|
|
## 5.1.0
|
|
|
|
### Minor Changes
|
|
|
|
- 79e6460: - Add PluginTypeRegistry and typed getPlugin overload in @uppy/core
|
|
- Register plugin ids across packages so uppy.getPlugin('Dashboard' | 'Webcam') returns the concrete plugin type and removes the need to pass generics in getPlugin()
|
|
|
|
### Patch Changes
|
|
|
|
- ac12f35: Fix: Move completed uploads exclusion logic into uploaders. This fixes the problem where postprocessors would not run for already uploaded files.
|
|
- Updated dependencies [79e6460]
|
|
- Updated dependencies [ac12f35]
|
|
- Updated dependencies [4817585]
|
|
- @uppy/core@5.2.0
|
|
- @uppy/utils@7.1.4
|
|
|
|
## 5.0.2
|
|
|
|
### Patch Changes
|
|
|
|
- 8ac1654: - Make `file.data` nullable - Because for ghosts it will be `undefined` and we don't have any type to distinguish ghosts from other (local) files. This caused a crash, because we didn't check for `undefined` everywhere (when trying to store a blob that was `undefined`). This means we have to add null checks in some packages
|
|
- Split UppyFile into two interfaces distinguished by the `isRemote` boolean:
|
|
- LocalUppyFile
|
|
- RemoteUppyFile
|
|
|
|
## 5.0.1
|
|
|
|
### Patch Changes
|
|
|
|
- 975317d: Removed "main" from package.json, since export maps serve as the contract for the public API.
|
|
- Updated dependencies [4b6a76c]
|
|
- Updated dependencies [975317d]
|
|
- Updated dependencies [9bac4c8]
|
|
- @uppy/core@5.0.2
|
|
- @uppy/companion-client@5.0.1
|
|
- @uppy/utils@7.0.2
|
|
|
|
## 5.0.0
|
|
|
|
### Major Changes
|
|
|
|
- c5b51f6: ### Export maps for all packages
|
|
|
|
All packages now have export maps. This is a breaking change in two cases:
|
|
|
|
1. The css imports have changed from `@uppy[package]/dist/styles.min.css` to `@uppy[package]/css/styles.min.css`
|
|
2. 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:**
|
|
|
|
```javascript
|
|
import { Dashboard, StatusBar } from "@uppy/react";
|
|
```
|
|
|
|
**Now:**
|
|
|
|
```javascript
|
|
import Dashboard from "@uppy/react/dashboard";
|
|
import StatusBar from "@uppy/react/status-bar";
|
|
```
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [d301c01]
|
|
- Updated dependencies [c5b51f6]
|
|
- @uppy/utils@7.0.0
|
|
- @uppy/companion-client@5.0.0
|
|
- @uppy/core@5.0.0
|
|
|
|
## 4.4.2
|
|
|
|
### Patch Changes
|
|
|
|
- 1b1a9e3: Define "files" in package.json
|
|
- Updated dependencies [1b1a9e3]
|
|
- @uppy/companion-client@4.5.2
|
|
- @uppy/utils@6.2.2
|
|
- @uppy/core@4.5.2
|
|
|
|
## 4.4.0
|
|
|
|
### Minor Changes
|
|
|
|
- 49e98ab: The `endpoint` option now also accepts a callback to dynamically set it (`endpoint: (fileOrFiles) => '<url>'`).
|
|
If `bundle` is `true`, you get `UppyFile[]` otherwise `UppyFile`.
|
|
- 0c24c5a: Use TypeScript compiler instead of Babel
|
|
|
|
### Patch Changes
|
|
|
|
- Updated dependencies [0c24c5a]
|
|
- Updated dependencies [0c24c5a]
|
|
- @uppy/core@4.5.0
|
|
- @uppy/companion-client@4.5.0
|
|
- @uppy/utils@6.2.0
|
|
|
|
## 4.3.3
|
|
|
|
Released: 2025-02-25
|
|
Included in: Uppy v4.13.3
|
|
|
|
- @uppy/xhr-upload: fix when responseType is set to JSON (Merlijn Vos / #5651)
|
|
|
|
## 4.3.1
|
|
|
|
Released: 2025-01-08
|
|
Included in: Uppy v4.12.0
|
|
|
|
- @uppy/xhr-upload: allow custom error message in onAfterResponse (Merlijn Vos / #5578)
|
|
|
|
## 4.3.0
|
|
|
|
Released: 2025-01-06
|
|
Included in: Uppy v4.11.0
|
|
|
|
- @uppy/angular,@uppy/audio,@uppy/aws-s3,@uppy/box,@uppy/companion-client,@uppy/compressor,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/drop-target,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive-picker,@uppy/google-drive,@uppy/google-photos-picker,@uppy/google-photos,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/progress-bar,@uppy/provider-views,@uppy/react,@uppy/remote-sources,@uppy/screen-capture,@uppy/status-bar,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/vue,@uppy/webcam,@uppy/webdav,@uppy/xhr-upload,@uppy/zoom: Remove "paths" from all tsconfig's (Merlijn Vos / #5572)
|
|
|
|
## 4.2.3
|
|
|
|
Released: 2024-12-05
|
|
Included in: Uppy v4.8.0
|
|
|
|
- @uppy/audio,@uppy/aws-s3,@uppy/box,@uppy/companion-client,@uppy/compressor,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/drop-target,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive,@uppy/google-photos,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/progress-bar,@uppy/provider-views,@uppy/react,@uppy/remote-sources,@uppy/screen-capture,@uppy/status-bar,@uppy/store-default,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/utils,@uppy/vue,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: cleanup tsconfig (Mikael Finstad / #5520)
|
|
|
|
## 4.2.2
|
|
|
|
Released: 2024-10-31
|
|
Included in: Uppy v4.6.0
|
|
|
|
- @uppy/xhr-upload: fix stale file references in events (Merlijn Vos / #5499)
|
|
- @uppy/aws-s3,@uppy/box,@uppy/companion-client,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive,@uppy/google-photos,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/progress-bar,@uppy/provider-views,@uppy/react-native,@uppy/react,@uppy/redux-dev-tools,@uppy/screen-capture,@uppy/status-bar,@uppy/store-default,@uppy/store-redux,@uppy/svelte,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/utils,@uppy/vue,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: Fix links (Anthony Veaudry / #5492)
|
|
|
|
## 4.2.1
|
|
|
|
Released: 2024-10-15
|
|
Included in: Uppy v4.5.0
|
|
|
|
- @uppy/xhr-upload: add response to upload-error callback (Caleb Hardin / #5486)
|
|
|
|
## 4.2.0
|
|
|
|
Released: 2024-09-20
|
|
Included in: Uppy v4.4.0
|
|
|
|
- @uppy/xhr-upload: pass files to onBeforeRequest (Merlijn Vos / #5447)
|
|
|
|
## 4.1.0
|
|
|
|
Released: 2024-08-29
|
|
Included in: Uppy v4.3.0
|
|
|
|
- @uppy/aws-s3,@uppy/box,@uppy/compressor,@uppy/dropbox,@uppy/facebook,@uppy/google-drive,@uppy/google-photos,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/onedrive,@uppy/screen-capture,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/xhr-upload,@uppy/zoom: export plugin options (Antoine du Hamel / #5433)
|
|
|
|
## 4.0.2
|
|
|
|
Released: 2024-07-18
|
|
Included in: Uppy v4.0.5
|
|
|
|
- @uppy/xhr-upload: bring back getResponseData (Merlijn Vos / #5354)
|
|
|
|
## 4.0.1
|
|
|
|
Released: 2024-07-15
|
|
Included in: Uppy v4.0.3
|
|
|
|
- @uppy/xhr-upload: correctly type xhrUpload meta (Merlijn Vos / #5344)
|
|
|
|
## 4.0.0-beta.6
|
|
|
|
Released: 2024-06-04
|
|
Included in: Uppy v4.0.0-beta.10
|
|
|
|
- @uppy/aws-s3,@uppy/tus,@uppy/utils,@uppy/xhr-upload: remove `uploader` from `upload-progress` event (Mikael Finstad / #5200)
|
|
|
|
## 4.0.0-beta.5
|
|
|
|
Released: 2024-05-23
|
|
Included in: Uppy v4.0.0-beta.9
|
|
|
|
- @uppy/xhr-upload: fix regression for lowercase HTTP methods (Antoine du Hamel / #5179)
|
|
|
|
## 4.0.0-beta.4
|
|
|
|
Released: 2024-05-14
|
|
Included in: Uppy v4.0.0-beta.7
|
|
|
|
- @uppy/xhr-upload: introduce hooks similar to tus (Merlijn Vos / #5094)
|
|
|
|
## 4.0.0-beta.3
|
|
|
|
Released: 2024-05-03
|
|
Included in: Uppy v4.0.0-beta.5
|
|
|
|
- @uppy/xhr-upload: do not throw when res is missing url (Merlijn Vos / #5132)
|
|
|
|
## 4.0.0-beta.2
|
|
|
|
Released: 2024-04-29
|
|
Included in: Uppy v4.0.0-beta.4
|
|
|
|
- @uppy/xhr-upload: refactor to use `fetcher` (Merlijn Vos / #5074)
|
|
|
|
## 4.0.0-beta.1
|
|
|
|
Released: 2024-03-28
|
|
Included in: Uppy v4.0.0-beta.1
|
|
|
|
- @uppy/aws-s3-multipart,@uppy/tus,@uppy/utils,@uppy/xhr-upload: Make `allowedMetaFields` consistent (Merlijn Vos / #5011)
|
|
|
|
## 3.6.8
|
|
|
|
Released: 2024-06-27
|
|
Included in: Uppy v3.27.1
|
|
|
|
- @uppy/xhr-upload: add `'PATCH'` as valid method (Quinn Daley / #5279)
|
|
|
|
## 3.6.7
|
|
|
|
Released: 2024-05-23
|
|
Included in: Uppy v3.25.5
|
|
|
|
- @uppy/xhr-upload: fix regression for lowercase HTTP methods (Antoine du Hamel / #5179)
|
|
|
|
## 3.6.6
|
|
|
|
Released: 2024-05-03
|
|
Included in: Uppy v3.25.1
|
|
|
|
- @uppy/xhr-upload: do not throw when res is missing url (Merlijn Vos / #5132)
|
|
|
|
## 3.6.5
|
|
|
|
Released: 2024-04-29
|
|
Included in: Uppy v3.25.0
|
|
|
|
- @uppy/xhr-upload: refactor to use `fetcher` (Merlijn Vos / #5074)
|
|
|
|
## 3.6.4
|
|
|
|
Released: 2024-02-28
|
|
Included in: Uppy v3.23.0
|
|
|
|
- @uppy/companion-client,@uppy/utils,@uppy/xhr-upload: improvements for #4922 (Mikael Finstad / #4960)
|
|
- @uppy/xhr-upload: fix getResponseData regression (Merlijn Vos / #4964)
|
|
|
|
## 3.6.1
|
|
|
|
Released: 2024-02-19
|
|
Included in: Uppy v3.22.0
|
|
|
|
- @uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/companion-client,@uppy/tus,@uppy/xhr-upload: update `uppyfile` objects before emitting events (antoine du hamel / #4928)
|
|
- @uppy/xhr-upload: migrate to ts (merlijn vos / #4892)
|
|
- @uppy/xhr-upload: show remove button (merlijn vos / #4851)
|
|
|
|
## 3.4.0
|
|
|
|
Released: 2023-09-05
|
|
Included in: Uppy v3.15.0
|
|
|
|
- @uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/companion-client,@uppy/core,@uppy/tus,@uppy/utils,@uppy/xhr-upload: Move remote file upload logic into companion-client (Merlijn Vos / #4573)
|
|
|
|
## 3.3.2
|
|
|
|
Released: 2023-08-15
|
|
Included in: Uppy v3.14.0
|
|
|
|
- @uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/companion,@uppy/transloadit,@uppy/xhr-upload: use uppercase HTTP method names (Antoine du Hamel / #4612)
|
|
- @uppy/aws-s3,@uppy/tus,@uppy/xhr-upload: Invoke headers function for remote uploads (Dominik Schmidt / #4596)
|
|
|
|
## 3.3.1
|
|
|
|
Released: 2023-07-06
|
|
Included in: Uppy v3.11.0
|
|
|
|
- @uppy/xhr-upload: export `Headers` type (Masum ULU / #4549)
|
|
|
|
## 3.3.0
|
|
|
|
Released: 2023-06-19
|
|
Included in: Uppy v3.10.0
|
|
|
|
- @uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/tus,@uppy/utils,@uppy/xhr-upload: When file is removed (or all are canceled), controller.abort queued requests (Artur Paikin / #4504)
|
|
- @uppy/aws-s3-multipart,@uppy/tus,@uppy/xhr-upload: Don't close socket while upload is still in progress (Artur Paikin / #4479)
|
|
- @uppy/xhr-upload: add support for arrays in metadata (Vasiliy Matyushin / #4431)
|
|
|
|
## 3.2.0
|
|
|
|
Released: 2023-04-18
|
|
Included in: Uppy v3.8.0
|
|
|
|
- @uppy/xhr-upload: fix type in README.md (Top Master / #4416)
|
|
|
|
## 3.1.1
|
|
|
|
Released: 2023-04-04
|
|
Included in: Uppy v3.7.0
|
|
|
|
- @uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/tus,@uppy/xhr-upload: make sure that we reset serverToken when an upload fails (Mikael Finstad / #4376)
|
|
|
|
## 3.1.0
|
|
|
|
Released: 2023-02-13
|
|
Included in: Uppy v3.5.0
|
|
|
|
- @uppy/xhr-upload: add `'upload-stalled'` event (Antoine du Hamel / #4247)
|
|
|
|
## 3.0.4
|
|
|
|
Released: 2022-10-24
|
|
Included in: Uppy v3.2.2
|
|
|
|
- @uppy/aws-s3,@uppy/tus,@uppy/xhr-upload: replace `this.getState().files` with `this.uppy.getState().files` (Artur Paikin / #4167)
|
|
|
|
## 3.0.3
|
|
|
|
Released: 2022-10-19
|
|
Included in: Uppy v3.2.0
|
|
|
|
- @uppy/xhr-upload: fix `Timed out waiting for socket` (Antoine du Hamel / #4150)
|
|
- @uppy/aws-s3,@uppy/xhr-upload: fix `Cannot mark a queued request as done` in `MiniXHRUpload` (Antoine du Hamel / #4151)
|
|
- @uppy/xhr-upload: queue requests for socket token for remote files (Daniel Jones / #4123)
|
|
|
|
## 3.0.2
|
|
|
|
Released: 2022-09-25
|
|
Included in: Uppy v3.1.0
|
|
|
|
- @uppy/audio,@uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/box,@uppy/companion-client,@uppy/companion,@uppy/compressor,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/drop-target,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/progress-bar,@uppy/provider-views,@uppy/react,@uppy/redux-dev-tools,@uppy/remote-sources,@uppy/screen-capture,@uppy/status-bar,@uppy/store-default,@uppy/store-redux,@uppy/svelte,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/utils,@uppy/vue,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: add missing entries to changelog for individual packages (Antoine du Hamel / #4092)
|
|
|
|
## 3.0.0
|
|
|
|
Released: 2022-08-22
|
|
Included in: Uppy v3.0.0
|
|
|
|
- @uppy/aws-s3,@uppy/tus,@uppy/xhr-upload: @uppy/tus, @uppy/xhr-upload, @uppy/aws-s3: `metaFields` -> `allowedMetaFields` (Merlijn Vos / #4023)
|
|
- Switch to ESM
|
|
|
|
## 3.0.0-beta.2
|
|
|
|
Released: 2022-07-27
|
|
Included in: Uppy v3.0.0-beta.3
|
|
|
|
- @uppy/aws-s3,@uppy/core,@uppy/dashboard,@uppy/store-redux,@uppy/xhr-upload: upgrade `nanoid` to v4 (Antoine du Hamel / #3904)
|
|
|
|
## 2.1.2
|
|
|
|
Released: 2022-06-07
|
|
Included in: Uppy v2.12.0
|
|
|
|
- @uppy/xhr-upload: replace `ev.target.status` with `xhr.status` (Wes Sankey / #3782)
|
|
|
|
## 2.1.1
|
|
|
|
Released: 2022-05-30
|
|
Included in: Uppy v2.11.0
|
|
|
|
- @uppy/angular,@uppy/audio,@uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/box,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/form,@uppy/golden-retriever,@uppy/google-drive,@uppy/image-editor,@uppy/informer,@uppy/instagram,@uppy/onedrive,@uppy/progress-bar,@uppy/react,@uppy/redux-dev-tools,@uppy/robodog,@uppy/screen-capture,@uppy/status-bar,@uppy/store-default,@uppy/store-redux,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/tus,@uppy/unsplash,@uppy/url,@uppy/vue,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: doc: update bundler recommendation (Antoine du Hamel / #3763)
|
|
|
|
## 2.1.0
|
|
|
|
Released: 2022-05-14
|
|
Included in: Uppy v2.10.0
|
|
|
|
- @uppy/aws-s3-multipart,@uppy/aws-s3,@uppy/core,@uppy/react,@uppy/transloadit,@uppy/tus,@uppy/xhr-upload: proposal: Cancel assemblies optional (Mikael Finstad / #3575)
|
|
- @uppy/xhr-upload: refactor to ESM (Antoine du Hamel / #3695)
|
|
|
|
## 2.0.7
|
|
|
|
Released: 2021-12-09
|
|
Included in: Uppy v2.3.1
|
|
|
|
- @uppy/aws-s3,@uppy/core,@uppy/dashboard,@uppy/store-redux,@uppy/xhr-upload: deps: use `nanoid/non-secure` to workaround react-native limitation (Antoine du Hamel / #3350)
|
|
|
|
## 2.0.6
|
|
|
|
Released: 2021-12-07
|
|
Included in: Uppy v2.3.0
|
|
|
|
- @uppy/aws-s3,@uppy/box,@uppy/core,@uppy/dashboard,@uppy/drag-drop,@uppy/dropbox,@uppy/facebook,@uppy/file-input,@uppy/google-drive,@uppy/image-editor,@uppy/instagram,@uppy/locales,@uppy/onedrive,@uppy/screen-capture,@uppy/status-bar,@uppy/thumbnail-generator,@uppy/transloadit,@uppy/url,@uppy/webcam,@uppy/xhr-upload,@uppy/zoom: Refactor locale scripts & generate types and docs (Merlijn Vos / #3276)
|