Skip to content

Releases: qgustavor/mega

v1.3.5

10 Dec 17:55
Compare
Choose a tag to compare

v1.3.4

25 Nov 15:35
Compare
Choose a tag to compare

Release v1.3.4

Changelog

Patch Changes

Remove Node 18 from testing, add Node 22 (@qgustavor)

Users of Node 18 should use --experimental-global-webcrypto flag. Support for it ends in 5 months anyway.

Fix various issues (@qgustavor)

Should fix #226 and #227.

v1.3.3

16 Oct 20:24
Compare
Choose a tag to compare

Release v1.3.3

Changelog

Patch Changes

All directories should contain a .children property (@qgustavor)

Moved .children = [] handling from the code that handles children to the code that creates the node. Fixes a lot of possible and existing bugs.

v1.3.2

26 Sep 12:44
Compare
Choose a tag to compare

Release v1.3.2

Changelog

Patch Changes

Handle RSA encrypted node keys (@qgustavor)

It checks for keys larger than 32 bytes and decrypt those with the user's RSA key if possible. Should fix accounts with the MEGAdrop feature enabled.

add filter/find type definitions (@abustamam)

Include directories in .find and .filter methods (@qgustavor)

Fixes #212.

Important

While this version fixes two issues, it still does not fix the issues with folder sharing (#213). I'm looking for help!

v1.3.1

06 Sep 20:29
Compare
Choose a tag to compare

Release v1.3.1

This release is proudly sponsored by... YOU! Help this project by sponsoring me: https://github.com/sponsors/qgustavor

Thanks for all sponsors! Actually just one guy that prefers to be anonymous, but thanks anyway! Also thanks to @xmok for the pull requests and @joopringelberg for submitting those really useful issues.

Pull requests

Changelog

Patch Changes

Simplify handleForceHttps (@qgustavor)

Use globalThis.isSecureContext. Advantages and disadvantages shown in detail here.

Handle ssl in API's pull request so Storage works in browsers (@qgustavor)

Should fix issue #205 where the Storage class does not work on HTTPS websites.

Fix .filter implementation (@qgustavor)

It was calling .find instead of calling .filter to recurse directories.

Add a note about updating TypeScript types (@qgustavor)

I always forget about that, so is better to put it in the readme.

Fix Deno tests (@qgustavor)

--allow-net should not include a trailing slash.

TS fix: find,filter,navigate in storage (@xmok)

I'm not sure if the return type of navigate is correct - could anyone verify?.

TS fix: secondFactorCode type was missing in Storage constructor (TS) (@xmok)

Fix typo in the template (@qgustavor)

Improve bug report template (@qgustavor)

v1.3.0

29 Jun 15:01
Compare
Choose a tag to compare

Release v1.3.0

Changelog

Minor Changes

Remove node-fetch (@qgustavor)

node-fetch is no longer going to be included with the library since all currently supported Node.js versions include a fetch global.

Patch Changes

Fix issue on handleForceHttps implementation. (@qgustavor)

I was certain I tested this! 😑

Create config.yml (@qgustavor)

Add checks for Firefox and Deno (@qgustavor)

Add checks for Firefox and Deno so having to set userAgent: null or forceHttps: false is no longer required.

Bump braces from 3.0.2 to 3.0.3 (@dependabot[bot])

Bumps braces from 3.0.2 to 3.0.3.

v1.2.2

04 May 02:02
Compare
Choose a tag to compare

Release v1.2.2

Changelog

Patch Changes

Use .bind to avoid fetch error (@qgustavor)

BUG FIX! Avoids "'fetch' called on an object that does not implement interface Window.".

v1.2.1

30 Apr 05:01
Compare
Choose a tag to compare

Release v1.2.1

Changelog

Patch Changes

Fix repository URL (@qgustavor)

Fix GitHub Actions (@qgustavor)

Use always the last Node version. Update action packages.

Fix package.json's exports (@qgustavor)

Simplify the readme warning message (@qgustavor)

I hope that makes people read it.

v1.2.0

18 Apr 18:27
Compare
Choose a tag to compare

Release v1.2.0

Changelog

Minor Changes

Find and fetch (@qgustavor)

Implement find, search and navigate functions, and fix fetch related issues.

Patch Changes

Add test for providing a stream as an input (@qgustavor)

No, that's not because of the guy who doesn't read things, that's because I noticed there was not a test for that.

v1.1.8

23 Mar 14:21
Compare
Choose a tag to compare

Release v1.1.8

Changelog

Patch Changes

Update Node.js versions in test runner (@qgustavor)

bump node-fetch version to 3.3.2 (@franklygeorgy)

punycode is deprecated. Bumped node-fetch version to a newer version that doesn't depend on punycode.

Export MutableFile (@super-v-2038)

Thank you for your work! This package has saved me a lot of time. It seems that MutableFile has not been exported, which may be an oversight.