Skip to content

Latest commit

 

History

History
987 lines (427 loc) · 37 KB

CHANGELOG.md

File metadata and controls

987 lines (427 loc) · 37 KB

12.1.7 (2023-08-16)

Trivial Changes

  • add or force update .github/workflows/js-test-and-release.yml (#336) (9e786a0)
  • delete templates [skip ci] (#335) (853d432)

Dependencies

12.1.6 (2023-08-05)

Dependencies

12.1.5 (2023-07-28)

Bug Fixes

  • make getPeerId return the target peer id from relay addrs (#325) (2b0e353), closes #319

12.1.4 (2023-07-28)

Bug Fixes

Trivial Changes

Documentation

Dependencies

  • bump multiformats from 11.0.2 to 12.0.1 (#328) (07d4f8a)
  • dev: bump aegir from 39.0.13 to 40.0.2 (#333) (3480741)

12.1.3 (2023-05-11)

Dependencies

  • dev: bump aegir from 38.1.8 to 39.0.6 (#324) (8a84847)

12.1.2 (2023-04-14)

Bug Fixes

12.1.1 (2023-04-05)

Bug Fixes

12.1.0 (2023-03-21)

Features

12.0.0 (2023-03-17)

⚠ BREAKING CHANGES

  • webrtc has been renamed webrtc-direct and webrtc-w3c has been renamed webrtc

Bug Fixes

  • Rename webrtc to webrtc-direct and webrtc-w3c to webrtc (#314) (fc33ac8)

11.6.1 (2023-03-09)

Bug Fixes

11.6.0 (2023-03-06)

Features

11.5.0 (2023-03-03)

Features

  • Add webrtc-w3c protocol for browser to browser (#309) (16232d5)

11.4.0 (2023-01-30)

Features

11.3.0 (2023-01-17)

Features

11.2.0 (2023-01-17)

Features

Dependencies

  • dev: bump aegir from 37.12.1 to 38.1.0 (#302) (534d8fa)

11.1.5 (2023-01-06)

Dependencies

Documentation

11.1.4 (2022-12-16)

Bug Fixes

11.1.3 (2022-12-14)

Documentation

11.1.2 (2022-12-14)

Bug Fixes

11.1.1 (2022-12-13)

Bug Fixes

11.1.0 (2022-12-10)

Features

11.0.12 (2022-12-08)

Bug Fixes

  • update inspect format to be like CID class (#290) (db032e9)

Documentation

  • update reamde with correct global namespace name (#292) (fe36328)

11.0.11 (2022-12-08)

Bug Fixes

  • include minified bundle in npm tarball (#291) (ac88cba)

11.0.10 (2022-12-07)

Bug Fixes

  • run docs after release otherwise version number is always wrong (04e19e1)

11.0.9 (2022-12-07)

Documentation

  • publish API docs to github pages on release (#289) (c22e55f)

11.0.8 (2022-12-07)

Bug Fixes

  • varint.decode.bytes can now be undefined according to types (#288) (e0a59e5)

Dependencies

  • dev: bump sinon from 14.0.2 to 15.0.0 (#287) (41f67a7)

11.0.7 (2022-11-02)

Dependencies

11.0.6 (2022-10-29)

Bug Fixes

11.0.5 (2022-10-12)

Dependencies

  • bump uint8arrays from 3.x.x to 4.x.x (#279) (4ef82ac)

11.0.4 (2022-10-12)

Dependencies

  • bump multiformats from 9.9.0 to 10.0.0 (#278) (767bcbe)

11.0.3 (2022-09-30)

Bug Fixes

  • use private class field to store cached strings and tuples (#277) (b0809bf)

11.0.2 (2022-09-29)

Bug Fixes

  • cache string and tuple representations (#275) (9b18ff4)

11.0.1 (2022-09-27)

Tests

11.0.0 (2022-09-21)

⚠ BREAKING CHANGES

  • the Multiaddr class is now an interface

Features

Bug Fixes

  • fix converting strings to IP addresses and back again (#270) (77f063a)

10.5.0 (2022-09-20)

Features

10.4.3 (2022-09-12)

Bug Fixes

  • trim string before parsing IP address (#269) (9924afa)

10.4.2 (2022-09-12)

Bug Fixes

10.4.1 (2022-09-06)

Bug Fixes

10.4.0 (2022-08-30)

Features

10.3.5 (2022-08-30)

Trivial Changes

Dependencies

10.3.4 (2022-08-30)

Bug Fixes

  • specify return type of method to to fix linting (#264) (e5f3bf6)

10.3.3 (2022-07-07)

Bug Fixes

  • return correct family from toOptions with dns4 MultiAddr (#233) (d3f8b05)

10.3.2 (2022-07-07)

Bug Fixes

  • use codes instead of strings for dnsaddr detection (#259) (d8431bf), closes #258

10.3.1 (2022-07-07)

Bug Fixes

  • default to https ports for dnsaddr addresses (#258) (e8bcff7)

Dependencies

  • dev: bump sinon from 13.0.2 to 14.0.0 (#240) (3c2eaba)

10.3.0 (2022-07-07)

Features

  • allow cancelling in-flight multiaddr resolve (#257) (ddd751b)

10.2.1 (2022-06-24)

Bug Fixes

10.2.0 (2022-06-09)

Features

10.1.8 (2022-03-21)

Bug Fixes

  • remove instanceof from multiaddr check (#232) (5680412)

10.1.7 (2022-03-08)

Bug Fixes

10.1.6 (2022-02-28)

Bug Fixes

10.1.5 (2022-02-07)

Bug Fixes

10.1.4 (2022-02-06)

Trivial Changes

10.1.3 (2022-02-06)

Bug Fixes

10.1.2 (2022-01-08)

Trivial Changes

10.0.1 (2021-08-19)

10.0.0 (2021-07-06)

chore

BREAKING CHANGES

  • uses the CID class from the new multiformats module

9.0.2 (2021-06-23)

9.0.1 (2021-04-08)

Bug Fixes

9.0.0 (2021-04-08)

Features

BREAKING CHANGES

  • entry point uses named exports
// before

const multiaddr = require('multiaddr')
multiaddr.resolvers
multiaddr.protocols

// after

const {multiaddr , Multiaddr, protocols, resolvers} = = require('multiaddr')
Multiaddr.resolvers
Multiaddr.protocols
  • Multiaddr is a normal class now
  • toOptions output changed to match node
// before
multiaddr('/ip4/127.0.0.1/tcp/4001').toOptions()
{ family: 'ipv4', host: '127.0.0.1', transport: 'tcp', port: 4001 }

// after
new Multiaddr('/ip4/127.0.0.1/tcp/4001').toOptions()
{ family: 4, host: '127.0.0.1', transport: 'tcp', port: 4001 }
  • fromNodeAddress and nodeAddress inputs/outputs now match
// before the family type was not the same between them
multiaddr('/ip4/127.0.0.1/tcp/4001').nodeAddress()
{family: 4, address: '127.0.0.1', port: '4001'}

multiaddr.fromNodeAddress({family: 'IPv4', address: '127.0.0.1', port: '4001'}, 'tcp')
<Multiaddr 047f000001060fa1 - /ip4/127.0.0.1/tcp/4001>

// after 
new Multiaddr('/ip4/127.0.0.1/tcp/4001').nodeAddress()
{family: 4, address: '127.0.0.1', port: 4001}

Multiaddr.fromNodeAddress({family: 4, address: '127.0.0.1', port: '4001'}, 'tcp')
<Multiaddr 047f000001060fa1 - /ip4/127.0.0.1/tcp/4001>

8.1.2 (2020-12-11)

Bug Fixes

  • tell bundlers to return false for node dns module (#163) (0ac20ba)

8.1.1 (2020-10-30)

Bug Fixes

8.1.0 (2020-10-29)

Features

8.0.0 (2020-08-07)

Bug Fixes

  • replace node buffers with uint8arrays (#140) (53398f5)

BREAKING CHANGES

    • Where node Buffers were returned, now Uint8Arrays are
  • chore: downgrade aegir

7.5.0 (2020-06-25)

Features

  • add new memory protocol for testing and other simulation scenarios (bba22d2)

7.4.3 (2020-03-26)

7.4.2 (2020-03-18)

Bug Fixes

7.4.1 (2020-03-16)

Bug Fixes

  • use multibase, add buffer, remove ip dep (#113) (f245744)

7.4.0 (2020-02-28)

Bug Fixes

7.3.1 (2020-02-13)

Bug Fixes

7.3.0 (2020-02-06)

Features

7.2.1 (2019-11-11)

Bug Fixes

7.2.0 (2019-10-28)

Features

7.1.0 (2019-09-10)

Features

7.0.0 (2019-09-03)

Bug Fixes

  • make getPeerId resolve the last id (#95) (c32071d)
  • return ports as ints not strings (#87) (2a170c3)

6.1.0 (2019-06-05)

Features

6.0.6 (2019-03-04)

Bug Fixes

  • json round trip works as expected (#85) (1977874)

6.0.5 (2019-02-25)

Features

  • add unix protocol support and update protocol table (#84) (d4d3d9b)

6.0.4 (2019-01-25)

Features

6.0.3 (2019-01-08)

Bug Fixes

  • clean up repo and bundle size reduction (136315a)
  • increase bundle size limit (b7fc015)
  • remove unused deps (3d8cb42)
  • update max bundle size (116f227)

6.0.2 (2018-12-17)

Bug Fixes

  • make ipfs the default 421 proto name (#77) (bab6edb)

6.0.1 (2018-12-17)

Features

6.0.0 (2018-11-28)

Bug Fixes

Features

  • add support for quic addresses (9238d0d)

BREAKING CHANGES

  • The UDP code was changed in the multicodec table

The UDP code is now 273 instead of 17. For the full discussion of this change please see multiformats/multicodec#16.

5.0.2 (2018-11-05)

5.0.1 (2018-11-05)

Features

  • add support for quic addresses (9238d0d)

5.0.0 (2018-04-24)

Features

  • Add support for multiaddr node with dns (5d6b93a)

4.0.0 (2018-04-05)

3.2.0 (2018-04-05)

Features

  • add ip validations to ip addr formats (#60) (70c138b)
  • use class-is module for type checks (b097af9)

3.1.0 (2018-03-23)

Bug Fixes

  • avoid constructor.name pattern (e386738)
  • use consistent /dnsaddr code (#59) (67fef56)

3.0.2 (2018-01-07)

Features

  • rename /dns to /dnsaddr to conform with go implementation (#50) (99a1aa4)

3.0.1 (2017-09-05)

Bug Fixes

  • Remove (s) in p2p-websockets-star (#46) (b6a613e)

3.0.0 (2017-09-03)

Features

2.3.0 (2017-03-28)

Features

  • don't throw on invalid b58 string in getPeerId (#43) (ec23f14)

2.2.3 (2017-03-27)

2.2.2 (2017-03-16)

2.2.1 (2017-02-09)

2.2.0 (2017-01-22)

2.1.3 (2017-01-16)

Features

2.1.1 (2016-11-17)

2.1.0 (2016-11-17)

2.0.3 (2016-09-07)

Features

2.0.2 (2016-05-21)

2.0.1 (2016-05-21)

2.0.0 (2016-05-17)

1.4.1 (2016-04-20)

Bug Fixes

  • handle variable sized protocols in protoCodes (1bce576)

1.4.0 (2016-04-19)

Features

  • Add support for ipfs addresses. (0f39678), closes #15

1.3.1 (2016-04-18)

1.3.0 (2016-03-12)

1.2.0 (2016-03-12)

1.1.3 (2016-03-11)

1.1.2 (2016-03-11)

1.1.1 (2015-11-06)

1.1.0 (2015-11-06)