🚀 Upload files via DDP or HTTP to ☄️ Meteor server FS, AWS, GridFS, DropBox or Google Drive. Fast, secure and robust.
Major changes:
Changes:
[email protected]
Changes:
createIndex
helperallowedOrigins
option for CORS; Closing #850, thanks to @djlogan2;Notes:
[email protected]
New features:
opts.sanitize
method, read more in Constructor docs; Thanks to @xet7 and @mfilserOther Changes:
namingFunction
returns new nested path cause exception in .write()
and .load()
methodsBreaking Changes
namingFunction
, — now naming function acts the same on the Client and Server, upon insert, load, and write. Test your implementation with changed logic. Output of Server function supersedes Client's function outputChanges
namingFunction
namingFunction
behavior on Client and Server in upload, load, and write methods, closing #842; Thanks to @chrschaeimport { FilesCollection, helpers };
.meteorignore
to minimize package's footprintMajor changes:
FSName
now sanitized and limited to 28 symbols, no white-spaces allowedfileId
now sanitized and limited to 20 symbols, no white-spaces allowedfs-extra
, use native node.js fs
moduleisData
helper via #795, by @harryadelChanges:
FSName
, fileId
, extension
) to avoid command injectionMeteor._debug
where possible instead of console.log
Other:
[email protected]
[email protected]
New:
config.disableSetTokenCookie
see #776 and #778 for details, thanks to @KaczkazniszczeniaChanged:
.abort()
;Major update is out 🎉
Goal of this release is feature freeze and getting into LTS mode. Related discussion on forum.
Major changes:
streams
of .insert()
method;http
module replaced with fetch
— As suggested in [email protected]
release and http
package being deprecated;request-libcurl
replaced with fetch
— As a fix for #781 and similar issues;file-type
library used to detect file-type (file's mime-type) based on "magic numbers". Now mime-type detected from data supplied by browser. Regression possible upgrade with care if your app rely on mime-type detected after file is fully uploaded to server, this change won't affect mime-type detected on the Client before file fully loaded to server.Improved:
Other changes:
[email protected]
;ostrio:[email protected]
, was v2.6.1
;[email protected]
, was v9.0.1
;meteor-files-autoform
package;