Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

refactor: remove Node.js and pull streams #66

Merged
merged 7 commits into from
Jan 23, 2020

Conversation

alanshaw
Copy link
Contributor

@alanshaw alanshaw commented Dec 12, 2019

Also changes stat and ls to return CID's not strings from core and removes the long option from ls in core (is applied by CLI/HTTP API).

refs ipfs-inactive/interface-js-ipfs-core#394

BREAKING CHANGE: files.readPullStream and files.readReadableStream have been removed.

BREAKING CHANGE: files.read now returns an async iterable.

BREAKING CHANGE: files.lsPullStream and files.lsReadableStream have been removed.

BREAKING CHANGE: files.ls now returns an async iterable.

BREAKING CHANGE: files.ls results now contain a cid property (whose value is a CID instance) instead of a hash property.

BREAKING CHANGE: files.ls no longer takes a long option (in core) - you will receive all data by default.

BREAKING CHANGE: files.stat result now contains a cid property (whose value is a CID instance) instead of a hash property.

alanshaw added a commit to ipfs/js-ipfs that referenced this pull request Dec 12, 2019
package.json Outdated Show resolved Hide resolved
@achingbrain achingbrain merged commit d9569ab into master Jan 23, 2020
@achingbrain achingbrain deleted the refactor/remove-streams branch January 23, 2020 11:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants