Skip to content

v0.5.0

Compare
Choose a tag to compare
@jalik jalik released this 21 Jan 08:24
· 112 commits to master since this release
Changes package version to 0.5.0

Adds Store.copy(fileId, store, callback) to copy a file to another store
Adds file.store to file before uploading
Adds Filter.isValid(file) to check if a file matches the filter without throwing an exception
Adds onCheck(file) method in Filter options to define custom check
Adds "adaptive" option to UploadFS.Uploader() to enable speed optimizations
Adds "capacity" option to UploadFS.Uploader() to set the upload target capacity
Adds "maxChunkSize" option to UploadFS.Uploader()
Improves upload speed by using an adaptive algorithm
Store.filter does not accept a function anymore (use filter's onCheck() instead)
Checks if the temp directory exists before creating it
Checks file.store before inserting in collection
Checks filter before copying in a store
Encodes file name in file URI before saving
Fixes Uploader.start() not updating the "uploading = true"
Modifies console messages