Meteor Files Versions Save

🚀 Upload files via DDP or HTTP to ☄️ Meteor server FS, AWS, GridFS, DropBox or Google Drive. Fast, secure and robust.

2.3.3

1 year ago

Major changes:

  • no

Changes:

2.3.2

1 year ago
  • 👨‍💻 Potential fix for #857 (windows); Thanks to @Leekao

2.3.1

1 year ago

Changes:

  • 👨‍💻 Improve createIndex helper
  • 👨‍💻 Improve error output when FileSystem destination not writable; Related to #857, thanks to @Leekao
  • 🐞 Fix custom allowedOrigins option for CORS; Closing #850, thanks to @djlogan2;
  • 📔 Improve AWS S3 documentation, by @xsyann;

Notes:

2.3.0

1 year ago

New features:

  • opts.sanitize method, read more in Constructor docs; Thanks to @xet7 and @mfilser

Other Changes:

  • 👷‍♂️ Minor codebase enhancements and cleanups

2.2.1

1 year ago
  • 👨‍💻 Fix #842, a newly detected bug by @chrschae; Fixing case when namingFunction returns new nested path cause exception in .write() and .load() methods

2.2.0

1 year ago

Breaking Changes

  • ⚠️ Changes in 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 output

Changes

  • 📔 Merge #843 and fix #820, thanks to @Prinzhorn
  • 📔 Documentation refactoring focused on examples and its simplifications
  • 👨‍💻 Support nested custom path returned from namingFunction
  • 👨‍💻 Fix namingFunction behavior on Client and Server in upload, load, and write methods, closing #842; Thanks to @chrschae
  • 👷‍♂️ Now library exports its helpers import { FilesCollection, helpers };
  • 👷‍♂️ Add .meteorignore to minimize package's footprint

2.1.1

1 year ago
  • 👷‍♂️ Fix index creation (ensure)

v2.1.0

1 year ago

Major changes:

  • ⚠️ FSName now sanitized and limited to 28 symbols, no white-spaces allowed
  • ⚠️ fileId now sanitized and limited to 20 symbols, no white-spaces allowed
  • ⚠️ File extension now sanitized and limited to 20 symbols, no white-spaces allowed
  • 📦 Decouple fs-extra, use native node.js fs module
  • 👨‍💻 Add missing isData helper via #795, by @harryadel

Changes:

  • 👷‍♂️ Fix: #827, thanks to @aertms
  • 👷‍♂️ Fix: #832, thanks to @polygonwood
  • 👷‍♂️ Fix: #813, thanks to @Prinzhorn
  • 👨‍💻 Fix: #834, thanks to @bladerunner2020
  • 📔 Fix: #803, thanks to @bartenra
  • 🏗 Sanitize inputs (FSName, fileId, extension) to avoid command injection
  • 📔 Improved documentation, special thanks to @Prinzhorn and @make-github-pseudonymous-again
  • 📔 GridFS documentation fix: #818
  • 👷‍♂️ Utilize Meteor._debug where possible instead of console.log

Other:

2.0.1

3 years ago

New:

  • config.disableSetTokenCookie see #776 and #778 for details, thanks to @Kaczkazniszczenia

Changed:

  • 👨‍💻 Abort http-fetch requests when calling .abort();
  • 👨‍💻 Make sure no other/delayed requests/responses executed;

2.0.0

3 years ago

Major update is out 🎉

Goal of this release is feature freeze and getting into LTS mode. Related discussion on forum.

Major changes:

  • ⚠️ [Deprecated] streams of .insert() method;
  • ☝️ http module replaced with fetchAs suggested in [email protected] release and http package being deprecated;
  • ☝️ request-libcurl replaced with fetch — As a fix for #781 and similar issues;
  • ⚠️ [removed] 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:

  • Pause/Resume logic when connection with server is interrupted (no more missed chunks);
  • Chunks deliverability, — would retry when chunk was sent only partially.

Other changes: