Skip to content

Releases: transloadit/uppy

@uppy/xhr-upload@5.0.2

22 Oct 19:24
55e926c

Choose a tag to compare

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

@uppy/webcam@5.0.2

22 Oct 19:24
55e926c

Choose a tag to compare

Patch Changes

  • 8ac1654: - Remove TagFile type - Use UppyFile instead.
    • Split UppyFile into two interfaces distinguished by the isRemote boolean:
      • LocalUppyFile
      • RemoteUppyFile

@uppy/status-bar@5.0.2

22 Oct 19:24
55e926c

Choose a tag to compare

Patch Changes

  • 8ac1654: Change internal type from any to unknown.

uppy@5.1.7

17 Oct 18:28
2c4727e

Choose a tag to compare

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

17 Oct 18:28
2c4727e

Choose a tag to compare

Patch Changes

  • 0c16fe4: - 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)
    • Introduce new field progress.complete: if there is a post-processing step, set it to true once post processing is complete. If not, set it to true once upload has finished.
    • Throw a proper Nonexistent upload error message if trying to upload a non-existent upload, instead of TypeError
    • Rewrite Uppy.upload() - this fixes two bugs:
      1. No more duplicate emit call when this.#restricter.validateMinNumberOfFiles throws (#informAndEmit and this.emit('error'))
      2. 'restriction-failed' now also gets correctly called when checkRequiredMetaFields check errors.
    • Don't re-upload completed files #5930
    • Split UppyFile into two intefaces distinguished by the isRemote boolean:
      • LocalUppyFile
      • RemoteUppyFile
    • Remove TagFile type - Use UppyFile instead.
    • Make name required on UppyFile (it is in reality always set)
    • Fix bug: RestrictionError sometimes thrown with a file property that was not a UppyFile, but a File. This would happen if someone passed a File instead of a MinimalRequiredUppyFile into core.addFile (which is valid to do according to our API)
    • Improve some log messages
    • Simplify Uppy postprocess-complete handler

@uppy/url@5.0.2

17 Oct 18:27
2c4727e

Choose a tag to compare

Patch Changes

  • 0c16fe4: - 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 intefaces distinguished by the isRemote boolean:
      • LocalUppyFile
      • RemoteUppyFile
  • 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

17 Oct 18:28
2c4727e

Choose a tag to compare

Patch Changes

  • 0c16fe4: - 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 intefaces distinguished by the isRemote boolean:
      • LocalUppyFile
      • RemoteUppyFile
  • 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

17 Oct 18:28
2c4727e

Choose a tag to compare

Patch Changes

  • 0c16fe4: - Internal inter-package breaking change: Remove hacky internal event restore:get-data that would send a function as its event data (to golden retriever for it to call the function to receive data from it). Add instead restore:plugin-data-changed that publishes data when it changes. This means that old versions of @uppy/transloadit are 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-changed whenever assembly state changes
    • Split UppyFile into two intefaces distinguished by the isRemote boolean:
      • LocalUppyFile
      • RemoteUppyFile
  • 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

17 Oct 18:28
2c4727e

Choose a tag to compare

Patch Changes

  • 0c16fe4: - 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 intefaces distinguished by the isRemote boolean:
      • LocalUppyFile
      • RemoteUppyFile
  • Updated dependencies [0c16fe4]
    • @uppy/core@5.1.1
    • @uppy/utils@7.1.1

@uppy/provider-views@5.1.1

17 Oct 18:27
2c4727e

Choose a tag to compare

Patch Changes

  • 0c16fe4: - Rename getTagFile to companionFileToUppyFile
  • Updated dependencies [0c16fe4]
    • @uppy/core@5.1.1
    • @uppy/utils@7.1.1