All Versions
202
Latest Version
Avg Release Cycle
18 days
Latest Release
1572 days ago

Changelog History
Page 10

  • v0.34.3 Changes

    January 24, 2019

    ๐Ÿ› Bug Fixes

    • โž• add cors support for preload-mock-server and update aegir (#1839) (2d45c9d)
  • v0.34.2 Changes

    January 21, 2019

    ๐Ÿ› Bug Fixes

    • race condition causing Database is not open error (#1834) (6066c97)

    ๐Ÿ”‹ Features

    • ๐Ÿ‘‰ use ws-star-multi instead of ws-star (#1793) (21fd4d1)
  • v0.34.1 Changes

    January 21, 2019

    ๐Ÿ”‹ Features

  • v0.34.0 Changes

    January 17, 2019
  • v0.34.0-rc.1 Changes

    January 15, 2019

    ๐Ÿ› Bug Fixes

    ๐Ÿ”จ Code Refactoring

    ๐Ÿ”‹ Features

    ๐Ÿ’ฅ BREAKING CHANGES

    License: MIT Signed-off-by: Alan Shaw [email protected]

  • v0.34.0-rc.0 Changes

    December 18, 2018

    ๐Ÿ› Bug Fixes

    • ๐Ÿ”— link to Github profile for David Dias (3659d7e)
    • streaming cat over http api (#1760) (3ded576)

    ๐Ÿ”‹ Features

  • v0.34.0-pre.0 Changes

    December 07, 2018

    ๐Ÿ› Bug Fixes

    ๐Ÿ”จ Code Refactoring

    ๐Ÿ”‹ Features

    ๐ŸŽ Performance Improvements

    ๐Ÿ’ฅ BREAKING CHANGES

    • ๐Ÿ”จ Object API refactor.

    ๐Ÿ“ฆ Object API methods that write DAG nodes now return a CID instead of a DAG node. Affected methods:

    • ipfs.object.new
    • ipfs.object.patch.addLink
    • ipfs.object.patch.appendData
    • ipfs.object.patch.rmLink
    • ipfs.object.patch.setData
    • ipfs.object.put

    Example:

    // Before
    const dagNode = await ipfs.object.new()
    
    // After
    const cid = await ipfs.object.new() // now returns a CID
    const dagNode = await ipfs.object.get(cid) // fetch the DAG node that was created
    

    ๐Ÿ”จ IMPORTANT: DAGNode instances, which are part of the IPLD dag-pb format have been refactored.

    These instances no longer have multihash, cid or serialized properties.

    This effects the following API methods that return these types of objects:

    • ipfs.object.get
    • ipfs.dag.get

    ๐Ÿ‘€ See https://github.com/ipld/js-ipld-dag-pb/pull/99 for more information.

    License: MIT Signed-off-by: Alan Shaw [email protected]

    • Files API methods add*, cat*, get* have moved from files to the root namespace.

    Specifically, the following changes have been made:

    • ipfs.files.add => ipfs.add
    • ipfs.files.addPullStream => ipfs.addPullStream
    • ipfs.files.addReadableStream => ipfs.addReadableStream
    • ipfs.files.cat => ipfs.cat
    • ipfs.files.catPullStream => ipfs.catPullStream
    • ipfs.files.catReadableStream => ipfs.catReadableStream
    • ipfs.files.get => ipfs.get
    • ipfs.files.getPullStream => ipfs.getPullStream
    • ipfs.files.getReadableStream => ipfs.getReadableStream

    License: MIT Signed-off-by: Alan Shaw [email protected]

  • v0.33.1 Changes

    November 05, 2018

    ๐Ÿ› Bug Fixes

  • v0.33.0 Changes

    November 01, 2018
  • v0.33.0-rc.4 Changes

    November 01, 2018

    ๐Ÿ› Bug Fixes

    Chores

    ๐Ÿ”‹ Features

    • โž• add support to pass config in the init cmd (#1662) (588891c)
    • get Ping to work properly (27d5a57)

    ๐Ÿ’ฅ BREAKING CHANGES

    • dag-cbor nodes now represent links as CID objects

    The API for dag-cbor changed. ๐Ÿ”— Links are no longer represented as JSON objects ({"/": "base-encoded-cid"}, ๐Ÿ’… but as CID objects. ipfs.dag.get() and now always return links as CID objects. ipfs.dag.put() also expects links to be represented as CID objects. The old-style JSON objects representation is still ๐Ÿ‘Œ supported, but deprecated.

    Prior to this change:

    const cid = new CID('QmXed8RihWcWFXRRmfSRG9yFjEbXNxu1bDwgCFAN8Dxcq5')
    // Link as JSON object representation
    const putCid = await ipfs.dag.put({link: {'/': cid.toBaseEncodedString()}})
    const result = await ipfs.dag.get(putCid)
    console.log(result.value)
    
    

    Output:

    { link:
       { '/':
          <Buffer 12 20 8aโ€ฆ> } }
    

    Now:

    const cid = new CID('QmXed8RihWcWFXRRmfSRG9yFjEbXNxu1bDwgCFAN8Dxcq5')
    // Link as CID object
    const putCid = await ipfs.dag.put({link: cid})
    const result = await ipfs.dag.get(putCid)
    console.log(result.value)
    

    Output:

    { link:
       CID {
         codec: 'dag-pb',
         version: 0,
         multihash:
          <Buffer 12 20 8aโ€ฆ> } }
    

    ๐Ÿ‘€ See https://github.com/ipld/ipld/issues/44 for more information on why this ๐Ÿ”„ change was made.

    • โœ‚ remove types.dagCBOR and types.dagPB from public API

    ๐Ÿ’ป If you need the ipld-dag-cbor or ipld-dag-pb module in the Browser, you need to bundle them yourself.