Releases: pointcloudtechnology/resumable.js
Releases · pointcloudtechnology/resumable.js
v4.0.3
v4.0.2
v4.0.1
v4.0.0
v3.0.0
[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()
- Properties that are not readable and not writable anymore:
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()
- Properties that are not writable anymore, but can still be read:
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()
- Properties that are not readable and not writable anymore:
Added
- Add optional verbose logging (#27)
Changed
v2.1.0
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 thedragOverClass
anymore from the event target (#10)- This does not affect the function of
assignDrop
andunassignDrop
, they still handle thedragOverClass
- This does not affect the function of
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
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 memberresumableObj
anymore- The function passed as
fileTypeErrorCallback
will not get anerrorCount
anymore
Last version before fork of PCT
Merge pull request #568 from dannydjrs/dannydjrs/567/total-chunks-issue Remove timeout around chunk creation and push to chunks array