Releases: jalik/meteor-jalik-ufs
Releases · jalik/meteor-jalik-ufs
v0.7.4_1
v0.7.4
v0.7.3
v0.7.2
- Fixes file path/url when app is in a subfolder (#104)
- Adds attribute
etag
to uploaded files - Adds HTTP cache support : return HTTP code
304
depending ofLast-Modified
andIf-None-Match
request headers (#110) - Adds option
Store.onValidate(file)
to validate a file before writing to the store (#109) - Adds method
UploadFS.addETagAttributeToFiles(where)
to addetag
attribute to existing files - Adds method
UploadFS.generateEtag()
- Adds method
Store.validate(file)
- Uses ES6 class syntax
- Uses ES6 import syntax
NOTE: To add etag
attribute to existing files, call once the method UploadFS.addETagAttributeToFiles({etag: null});
NOTE 2: If your ROOT_URL
env var is pointing to a subfolder like http://localhost/myapp, please call this method once UploadFS.addPathAttributeToFiles({});
v0.7.1
v0.7.0_2
v0.6.9_1
v0.6.9
- Adds ufs-mime.js file to handle mime related operations
- Sets default file type to "application/octet-stream"
- Detects automatically MIME type by checking file extension on upload (#84)
- Fixes error thrown by UploadFS.Filter.checkContentType() when file type is empty
- Fixes check(file, Object); into "ufsImportURL" method
v0.6.8
- Passes full predicate in CRUD operations instead of just the ID
- Removes file tokens when file is uploaded or removed
- Adds the "originalUrl" attribute to files imported from URLs
- Adds the "path" attribute to uploaded files corresponding to the relative URL of the file (#fix 78)
- Adds UploadFS.Store.prototype.getRelativeURL(path) to get the relative URL of a store
- Adds UploadFS.Store.prototype.getFileRelativeURL(path) to get the relative URL of a file in a store
- Adds UploadFS.addPathAttributeToFiles(where) to add the path attribute to existing files
- Unblock the UploadFS.importFromURL()
- Fixes file deletion during upload (stop uploading and removes temp file)