Skip to content
This repository was 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

@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 alanshaw requested a review from achingbrain December 12, 2019 11:49
alanshaw pushed a commit to ipfs/js-ipfs that referenced this pull request Dec 12, 2019
@alanshaw alanshaw requested a review from achingbrain December 16, 2019 23:12
@alanshaw alanshaw force-pushed the refactor/remove-streams branch from 7c289f4 to c3ee120 Compare January 13, 2020 11:22
@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