Skip to content

Add missing method#795

Merged
dr-dimitru merged 4 commits intoveliovgroup:devfrom
harryadel:minor-fixes
Jun 8, 2022
Merged

Add missing method#795
dr-dimitru merged 4 commits intoveliovgroup:devfrom
harryadel:minor-fixes

Conversation

@harryadel
Copy link
Copy Markdown
Contributor

Just noticed that isDate property isn't defined

dr-dimitru and others added 4 commits February 5, 2021 00:16
v2.0.0

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` — 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. __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](https://github.com/veliovgroup/meteor-files-website);
- 👨‍💻 Update [`meteor-files-autoform`](https://github.com/VeliovGroup/meteor-autoform-file) package;
- 📋 Documentation refactoring.
v2.0.1

__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;
@dr-dimitru dr-dimitru merged commit 58f1b7e into veliovgroup:dev Jun 8, 2022
dr-dimitru added a commit that referenced this pull request Jun 9, 2022
__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:__

- 🤝 Compatibility with `meteor@2.7.3`
@dr-dimitru dr-dimitru mentioned this pull request Jun 9, 2022
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