Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 34c8eb0

Browse files
author
Alan Shaw
committed
chore: release version v0.34.0-pre.0
1 parent 19cc30b commit 34c8eb0

File tree

1 file changed

+92
-0
lines changed

1 file changed

+92
-0
lines changed

CHANGELOG.md

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,95 @@
1+
<a name="0.34.0-pre.0"></a>
2+
# [0.34.0-pre.0](https://github.com/ipfs/js-ipfs/compare/v0.33.1...v0.34.0-pre.0) (2018-12-07)
3+
4+
5+
### Bug Fixes
6+
7+
* add dash case to pin cli ([#1719](https://github.com/ipfs/js-ipfs/issues/1719)) ([eacd580](https://github.com/ipfs/js-ipfs/commit/eacd580))
8+
* add missing dependencies ([#1663](https://github.com/ipfs/js-ipfs/issues/1663)) ([4bcf4a7](https://github.com/ipfs/js-ipfs/commit/4bcf4a7))
9+
* allow disabling mfs preload from config ([#1733](https://github.com/ipfs/js-ipfs/issues/1733)) ([5f66538](https://github.com/ipfs/js-ipfs/commit/5f66538))
10+
* better error message when pubsub is not enabled ([#1729](https://github.com/ipfs/js-ipfs/issues/1729)) ([5237dd9](https://github.com/ipfs/js-ipfs/commit/5237dd9))
11+
* examples after files API refactor ([#1740](https://github.com/ipfs/js-ipfs/issues/1740)) ([34ec036](https://github.com/ipfs/js-ipfs/commit/34ec036))
12+
* ipns datastore key ([#1741](https://github.com/ipfs/js-ipfs/issues/1741)) ([a39770e](https://github.com/ipfs/js-ipfs/commit/a39770e))
13+
* make circuit relay test ([#1710](https://github.com/ipfs/js-ipfs/issues/1710)) ([345ce91](https://github.com/ipfs/js-ipfs/commit/345ce91))
14+
* remove electron-webrtc and wrtc for now ([#1718](https://github.com/ipfs/js-ipfs/issues/1718)) ([b6b50d5](https://github.com/ipfs/js-ipfs/commit/b6b50d5))
15+
16+
17+
### Code Refactoring
18+
19+
* files API ([#1720](https://github.com/ipfs/js-ipfs/issues/1720)) ([a82a5dc](https://github.com/ipfs/js-ipfs/commit/a82a5dc))
20+
* object APIs write methods now return CIDs ([#1730](https://github.com/ipfs/js-ipfs/issues/1730)) ([ac5fa8e](https://github.com/ipfs/js-ipfs/commit/ac5fa8e)), closes [/github.com/ipfs/interface-ipfs-core/pull/388#pullrequestreview-173866270](https://github.com//github.com/ipfs/interface-ipfs-core/pull/388/issues/pullrequestreview-173866270)
21+
22+
23+
### Features
24+
25+
* ipns over dht ([#1725](https://github.com/ipfs/js-ipfs/issues/1725)) ([1a943f8](https://github.com/ipfs/js-ipfs/commit/1a943f8))
26+
* ipns over pubsub ([#1559](https://github.com/ipfs/js-ipfs/issues/1559)) ([8712542](https://github.com/ipfs/js-ipfs/commit/8712542))
27+
* Web UI updated to v2.2.0 ([#1711](https://github.com/ipfs/js-ipfs/issues/1711)) ([b2158bc](https://github.com/ipfs/js-ipfs/commit/b2158bc))
28+
29+
30+
### Performance Improvements
31+
32+
* lazy load IPLD formats ([#1704](https://github.com/ipfs/js-ipfs/issues/1704)) ([aefb261](https://github.com/ipfs/js-ipfs/commit/aefb261))
33+
34+
35+
### BREAKING CHANGES
36+
37+
* Object API refactor.
38+
39+
Object API methods that write DAG nodes now return a [CID](https://www.npmjs.com/package/cids) instead of a DAG node. Affected methods:
40+
41+
* `ipfs.object.new`
42+
* `ipfs.object.patch.addLink`
43+
* `ipfs.object.patch.appendData`
44+
* `ipfs.object.patch.rmLink`
45+
* `ipfs.object.patch.setData`
46+
* `ipfs.object.put`
47+
48+
Example:
49+
50+
```js
51+
// Before
52+
const dagNode = await ipfs.object.new()
53+
```
54+
55+
```js
56+
// After
57+
const cid = await ipfs.object.new() // now returns a CID
58+
const dagNode = await ipfs.object.get(cid) // fetch the DAG node that was created
59+
```
60+
61+
IMPORTANT: `DAGNode` instances, which are part of the IPLD dag-pb format have been refactored.
62+
63+
These instances no longer have `multihash`, `cid` or `serialized` properties.
64+
65+
This effects the following API methods that return these types of objects:
66+
67+
* `ipfs.object.get`
68+
* `ipfs.dag.get`
69+
70+
See https://github.com/ipld/js-ipld-dag-pb/pull/99 for more information.
71+
72+
License: MIT
73+
Signed-off-by: Alan Shaw <[email protected]>
74+
* Files API methods `add*`, `cat*`, `get*` have moved from `files` to the root namespace.
75+
76+
Specifically, the following changes have been made:
77+
78+
* `ipfs.files.add` => `ipfs.add`
79+
* `ipfs.files.addPullStream` => `ipfs.addPullStream`
80+
* `ipfs.files.addReadableStream` => `ipfs.addReadableStream`
81+
* `ipfs.files.cat` => `ipfs.cat`
82+
* `ipfs.files.catPullStream` => `ipfs.catPullStream`
83+
* `ipfs.files.catReadableStream` => `ipfs.catReadableStream`
84+
* `ipfs.files.get` => `ipfs.get`
85+
* `ipfs.files.getPullStream` => `ipfs.getPullStream`
86+
* `ipfs.files.getReadableStream` => `ipfs.getReadableStream`
87+
88+
License: MIT
89+
Signed-off-by: Alan Shaw <[email protected]>
90+
91+
92+
193
<a name="0.33.1"></a>
294
## [0.33.1](https://github.com/ipfs/js-ipfs/compare/v0.33.0...v0.33.1) (2018-11-05)
395

0 commit comments

Comments
 (0)