Skip to content

Releases: pointcloudtechnology/resumable.js

v4.0.3

19 Mar 11:26
5f773cb
Compare
Choose a tag to compare

[4.0.3]

Fix broken npm package release (no changes since v4.0.2)

v4.0.2

05 Mar 13:59
c1b0a1a
Compare
Choose a tag to compare

[4.0.2]

Fixed

  • Fix file validation for duplicate files (#39)
  • Bump npm dependencies (#40)

v4.0.1

29 Nov 09:51
2192bf5
Compare
Choose a tag to compare

[4.0.1]

Fixed

  • Fix setTimeout callback without proper context (#36)

v4.0.0

27 Nov 13:13
6a48022
Compare
Choose a tag to compare

[4.0.0]

BREAKING

Unique identifiers by default do not use the relative path anymore. This means that there is no support for files with the same name from different subfolders when dropping a folder directly.

Fixed

  • Unify generation of unique identifier for resumable files (#31)

v3.0.0

15 Feb 14:09
9fcc317
Compare
Choose a tag to compare

[3.0.0]

BREAKING

  • (#25) Many class properties and some functions are private now and can't be accessed from the outside anymore. While these are technically breaking changes, there shouldn't have been any use cases for using those properties/functions.
    This does not affect any of the options you can provide to the Resumable constructor. Those did not change.
    All usable (not private) functions/properties are documented in the readme.
    The following class properties/functions are affected:
    • Resumable main class:
      • Properties that are not readable and not writable anymore:
        clearInput, dragOverClass, fileCategories, defaultFileCategory, fileTypes, fileTypeErrorCallback, _generateUniqueIdentifier, maxFileSize, maxFileSizeErrorCallback, maxFiles, maxFilesErrorCallback, minFileSize, minFileSizeErrorCallback, prioritizeFirstAndLastChunk, fileValidationErrorCallback, simultaneousUploads
      • Functions that can't be called from the outside anymore:
        checkUploadComplete()
    • ResumableFile class:
      • Properties that are not writable anymore, but can still be read:
        file, fileName, size, relativePath, uniqueIdentifier, fileCategory, chunks
      • Functions that can't be called from the outside anymore:
        bootstrap()
    • ResumableChunk class:
      • Properties that are not readable and not writable anymore:
        chunkNumberParameterName, chunkSizeParameterName, currentChunkSizeParameterName, totalSizeParameterName, typeParameterName, identifierParameterName, fileCategoryParameterName, fileNameParameterName, relativePathParameterName, totalChunksParameterName, throttleProgressCallbacks, query, headers, method, uploadMethod, testMethod, parameterNamespace, testChunks, maxChunkRetries, chunkRetryInterval, permanentErrors, withCredentials, xhrTimeout, chunkFormat, setChunkTypeFromFile, target, testTarget
      • Functions that can't be called from the outside anymore:
        setCustomHeaders(), test()

Added

  • Add optional verbose logging (#27)

Changed

  • Let all events from files and chunks bubble up and make them accessible for users (#20)
  • Update readme (#24)
  • Make class properties and some functions private and add getters for some of the properties (see breaking changes) (#25)

v2.1.0

21 Mar 07:17
0dc8a29
Compare
Choose a tag to compare

Added

  • Using the setFileTypes function you can now set the allowed file types at runtime (#8)
  • Files that are added to the Resumable object are now always part of a file category (#11)
    • Resumable can still be used as before, without any extra handling of file categories. Internally the "default file category" will be used for all files then.
    • Some new construction options were added to support file categories (see docs for full explanation):
      • fileCategoryParameterName
      • fileCategories
      • defaultFileCategory
    • Many functions now support optionally passing in a file category (always defaulting to the "default file category")

Changed

  • Calling handleDropEvent does not remove the dragOverClass anymore from the event target (#10)
    • This does not affect the function of assignDrop and unassignDrop, they still handle the dragOverClass

Fixed

  • Documentation is now up-to-date again (see Readme)
  • Licensing texts has been updated to now include the participation of PCT in this package

v2.0.0

23 Feb 14:53
ee9a8e4
Compare
Choose a tag to compare

First release after we (PCT) started to maintain and modify this repo.
The whole code base was split up into multiple files and uses TypeScript instead of vanilla JS now. Additionally IE support was dropped.
We also added some additional events, which are not yet documented.
From now on we'll adhere to correct semantic versioning and will also update the documentation soon. 🙂

Breaking changes:

  • No internet explorer support anymore
  • Some events have been removed (but will be re-added with #13)
  • ResumableFile does not have a member resumableObj anymore
  • The function passed as fileTypeErrorCallback will not get an errorCount anymore

Last version before fork of PCT

24 Sep 10:40
46a4017
Compare
Choose a tag to compare
Merge pull request #568 from dannydjrs/dannydjrs/567/total-chunks-issue

Remove timeout around chunk creation and push to chunks array