Releases: transloadit/uppy
Releases · transloadit/uppy
@uppy/xhr-upload@5.0.2
Patch Changes
- 8ac1654: - Make
file.datanullable - Because for ghosts it will beundefinedand we don't have any type to distinguish ghosts from other (local) files. This caused a crash, because we didn't check forundefinedeverywhere (when trying to store a blob that wasundefined). This means we have to add null checks in some packages- Split UppyFile into two interfaces distinguished by the
isRemoteboolean:- LocalUppyFile
- RemoteUppyFile
- Split UppyFile into two interfaces distinguished by the
@uppy/webcam@5.0.2
Patch Changes
- 8ac1654: - Remove TagFile type - Use UppyFile instead.
- Split UppyFile into two interfaces distinguished by the
isRemoteboolean:- LocalUppyFile
- RemoteUppyFile
- Split UppyFile into two interfaces distinguished by the
@uppy/status-bar@5.0.2
Patch Changes
- 8ac1654: Change internal type from
anytounknown.
uppy@5.1.7
Patch Changes
- Updated dependencies [0c16fe4]
- Updated dependencies [0c16fe4]
- Updated dependencies [0c16fe4]
- Updated dependencies [0c16fe4]
- Updated dependencies [0c16fe4]
- Updated dependencies [0c16fe4]
- Updated dependencies [0c16fe4]
- Updated dependencies [0c16fe4]
- Updated dependencies [0c16fe4]
- Updated dependencies [0c16fe4]
- Updated dependencies [0c16fe4]
- Updated dependencies [0c16fe4]
- @uppy/aws-s3@5.0.2
- @uppy/companion-client@5.1.1
- @uppy/compressor@3.0.2
- @uppy/core@5.1.1
- @uppy/dashboard@5.0.3
- @uppy/golden-retriever@5.1.1
- @uppy/image-editor@4.0.2
- @uppy/provider-views@5.1.1
- @uppy/thumbnail-generator@5.0.2
- @uppy/transloadit@5.1.3
- @uppy/tus@5.0.2
- @uppy/url@5.0.2
@uppy/utils@7.1.1
Patch Changes
- 0c16fe4: - Make
file.datanullable - Because for ghosts it will beundefinedand we don't have any type to distinguish ghosts from other (local) files. This caused a crash, because we didn't check forundefinedeverywhere (when trying to store a blob that wasundefined)- Introduce new field
progress.complete: if there is a post-processing step, set it totrueonce post processing is complete. If not, set it totrueonce upload has finished. - Throw a proper
Nonexistent uploaderror message if trying to upload a non-existent upload, instead of TypeError - Rewrite
Uppy.upload()- this fixes two bugs:- No more duplicate emit call when this.#restricter.validateMinNumberOfFiles throws (
#informAndEmitandthis.emit('error')) - 'restriction-failed' now also gets correctly called when
checkRequiredMetaFieldscheck errors.
- No more duplicate emit call when this.#restricter.validateMinNumberOfFiles throws (
- Don't re-upload completed files #5930
- Split UppyFile into two intefaces distinguished by the
isRemoteboolean:- LocalUppyFile
- RemoteUppyFile
- Remove TagFile type - Use UppyFile instead.
- Make
namerequired on UppyFile (it is in reality always set) - Fix bug:
RestrictionErrorsometimes thrown with afileproperty that was not aUppyFile, but aFile. This would happen if someone passed aFileinstead of aMinimalRequiredUppyFileintocore.addFile(which is valid to do according to our API) - Improve some log messages
- Simplify Uppy
postprocess-completehandler
- Introduce new field
@uppy/url@5.0.2
Patch Changes
- 0c16fe4: - Make
file.datanullable - Because for ghosts it will beundefinedand we don't have any type to distinguish ghosts from other (local) files. This caused a crash, because we didn't check forundefinedeverywhere (when trying to store a blob that wasundefined). This means we have to add null checks in some packages- Split UppyFile into two intefaces distinguished by the
isRemoteboolean:- LocalUppyFile
- RemoteUppyFile
- Split UppyFile into two intefaces distinguished by the
- Updated dependencies [0c16fe4]
- Updated dependencies [0c16fe4]
- @uppy/companion-client@5.1.1
- @uppy/core@5.1.1
- @uppy/utils@7.1.1
@uppy/tus@5.0.2
Patch Changes
- 0c16fe4: - Make
file.datanullable - Because for ghosts it will beundefinedand we don't have any type to distinguish ghosts from other (local) files. This caused a crash, because we didn't check forundefinedeverywhere (when trying to store a blob that wasundefined). This means we have to add null checks in some packages- Split UppyFile into two intefaces distinguished by the
isRemoteboolean:- LocalUppyFile
- RemoteUppyFile
- Split UppyFile into two intefaces distinguished by the
- Updated dependencies [0c16fe4]
- Updated dependencies [0c16fe4]
- @uppy/companion-client@5.1.1
- @uppy/core@5.1.1
- @uppy/utils@7.1.1
@uppy/transloadit@5.1.3
Patch Changes
- 0c16fe4: - Internal inter-package breaking change: Remove hacky internal event
restore:get-datathat would send a function as its event data (to golden retriever for it to call the function to receive data from it). Add insteadrestore:plugin-data-changedthat publishes data when it changes. This means that old versions of@uppy/transloaditare not compatible with newest version of@uppy/golden-retriever(and vice versa).- Minor internal refactoring in order to make sure that we will always emit
restore:plugin-data-changedwhenever assembly state changes - Split UppyFile into two intefaces distinguished by the
isRemoteboolean:- LocalUppyFile
- RemoteUppyFile
- Minor internal refactoring in order to make sure that we will always emit
- Updated dependencies [0c16fe4]
- Updated dependencies [0c16fe4]
- Updated dependencies [0c16fe4]
- Updated dependencies [0c16fe4]
- @uppy/companion-client@5.1.1
- @uppy/core@5.1.1
- @uppy/utils@7.1.1
- @uppy/provider-views@5.1.1
- @uppy/tus@5.0.2
@uppy/thumbnail-generator@5.0.2
Patch Changes
- 0c16fe4: - Make
file.datanullable - Because for ghosts it will beundefinedand we don't have any type to distinguish ghosts from other (local) files. This caused a crash, because we didn't check forundefinedeverywhere (when trying to store a blob that wasundefined). This means we have to add null checks in some packages- Split UppyFile into two intefaces distinguished by the
isRemoteboolean:- LocalUppyFile
- RemoteUppyFile
- Split UppyFile into two intefaces distinguished by the
- Updated dependencies [0c16fe4]
- @uppy/core@5.1.1
- @uppy/utils@7.1.1