Skip to content

v2.0.0#785

Merged
dr-dimitru merged 19 commits intomasterfrom
dev
Feb 4, 2021
Merged

v2.0.0#785
dr-dimitru merged 19 commits intomasterfrom
dev

Conversation

@dr-dimitru
Copy link
Copy Markdown
Member

@dr-dimitru dr-dimitru commented Feb 4, 2021

Major update is out 🎉

Major changes:

  • ⚠️ [Deprecated] streams of .insert() method;
  • ☝️ http module raplcaed with fetchAs suggested in meteor@2.0.0 release and http package being deprecated;
  • ☝️ request-libcurl replaced with fetch — As a fix for Invaild ELF header when deploying to server but not locally #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. Regresion 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, including retries if chunk was sent only partially.

Other changes:

  • 🤝 Compatibility with meteor@2.0.0;
  • 📦 ostrio:cookies@2.7.0, was v2.6.1;
  • 📦 fs-extra@9.1.0, was v9.0.1;
  • 🖥 Update, refactor, and refine demo app;
  • 👨‍💻 Update meteor-files-autoform package;
  • 📋 Documentation refactoring.

niklasdahlheimer and others added 19 commits January 23, 2021 13:38
Fix typo in `.write()` method docs, thanks to @niklasdahlheimer
- ☄️ Use recommended `fetch` library to send HTTP request
- 👷 Discard using `request-libcurl` potentially fixing #781
- ✨ Add `timeout` option to `.load()` method
- 📋 Update `.load()` method documentation
For stability and reliability recovering after interrupted commection reasons
Major update is out 🎉

__Major changes__:

- __[Deprecated]__ `streams` of `.insert()` method;
- `http` module raplcaed with `fetch` — *As suggested* in `meteor@2.0.0` release and `http` package being deprecated;
- `request-libcurl` replaced with `fetch` — Should fix #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. __Regresion possible upgrade with care if you 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, including retries if chunk was sent only partially.

__Other changes__:

- 🤝 Compatibility with `meteor@2.0.0`;
- 📦 `ostrio:cookies@2.7.0`, *was `v2.6.1`*;
- 📦 `fs-extra@9.1.0`, *was `v9.0.1`*;
- 🖥 Update, refactor, and refine [demo app](https://github.com/veliovgroup/meteor-files-website #file-sharing-web-app)
- 👨‍💻 Update [`meteor-files-autoform`](https://github.com/VeliovGroup/meteor-autoform-file) package;
- 📋 Documentation refactoring.
@dr-dimitru dr-dimitru merged commit 2b76cc3 into master Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants