Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Latest commit

 

History

History
1120 lines (478 loc) · 48.8 KB

CHANGELOG.md

File metadata and controls

1120 lines (478 loc) · 48.8 KB

Dependencies

Dependencies

Features

Trivial Changes

Features

Features

Documentation

Bug Fixes

Bug Fixes

Trivial Changes

Trivial Changes

Trivial Changes

Trivial Changes

⚠ BREAKING CHANGES

  • most modules have been split out of the @libp2p/interfaces and @libp2p/interface-compliance-tests packages

Trivial Changes

Bug Fixes

Trivial Changes

Bug Fixes

Bug Fixes

  • accept abort options in connection.newStream (#219) (8bfcbc9)

Bug Fixes

  • make stream return types synchronous (#217) (2fe61b7)

⚠ BREAKING CHANGES

  • This adds closeWrite and closeRead checks in the tests, which will cause test failures for muxers that don't implement those

Bug Fixes

  • close streams when connection is closed (#214) (88fcd58), closes #90

Bug Fixes

Bug Fixes

  • move startable and events interfaces (#209) (8ce8a08)

Bug Fixes

Bug Fixes

Bug Fixes

  • add abort options to open connection (#206) (b32234f)

Bug Fixes

  • move connection manager mock to connection manager module (#205) (a367375)

Bug Fixes

Bug Fixes

Bug Fixes

  • update pubsub interface in line with gossipsub (#199) (3f55596)

Bug Fixes

  • test PubSub interface and not PubSubBaseProtocol (#198) (96c15c9)

Bug Fixes

  • emit pubsub messages using 'message' event (#197) (df9b685)

Bug Fixes

  • add keychain types, fix bigint types (#193) (9ceadf9)

Trivial Changes

Bug Fixes

Bug Fixes

Bug Fixes

Bug Fixes

Bug Fixes

  • update content routing get return type (#182) (49da9d5)

Bug Fixes

  • simplify transport interface, update interfaces for use with libp2p (#180) (ec81622)

Bug Fixes

  • rename crypto to connection-encrypter (#179) (d197f55)

Bug Fixes

  • update package config and add connection gater interface (#178) (c6079a6)

Bug Fixes

Bug Fixes

  • update muxer to pass transport tests (#174) (466ed53)

Bug Fixes

Bug Fixes

Bug Fixes

  • add multistream-select and update pubsub types (#170) (b9ecb2b)

Bug Fixes

  • hide implementations behind factory methods (#167) (2fba080)

Bug Fixes

Bug Fixes

Bug Fixes

Bug Fixes

Bug Fixes

Features

  • add peer store/records, and streams are just streams (#160) (8860a0c)

Features

Bug Fixes

Features

Bug Fixes

Bug Fixes

Bug Fixes

Trivial Changes

Bug Fixes

Trivial Changes

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.2.0 (2022-01-04)

Bug Fixes

Features

BREAKING CHANGES

  • the dht.getPublicKey method has been removed
  • not all fields from concrete classes have been added to the interfaces, some adjustment may be necessary as this gets rolled out

3.1.1 (2022-01-02)

Bug Fixes

3.1.0 (2022-01-02)

Bug Fixes

Features

3.0.0 (2021-12-02)

Features

  • remove getPublicKey method from dht (603c818)

BREAKING CHANGES

  • the dht.getPublicKey method has been removed

2.0.0 (2021-11-22)

Features

BREAKING CHANGES

  • not all fields from concrete classes have been added to the interfaces, some adjustment may be necessary as this gets rolled out

1.2.0 (2021-10-18)

Features

1.1.1 (2021-09-20)

Bug Fixes

  • allow pubsub rpc to be processed concurrently (#106) (52f96b3)

1.1.0 (2021-08-20)

Features

1.0.1 (2021-07-08)

Bug Fixes

1.0.0 (2021-07-07)

chore

  • monorepo separating interfaces and compliance tests (#97) (946348f)

BREAKING CHANGES

  • the tests now live in the libp2p-interfaces-compliance-tests module

0.12.1 (2021-07-07)

0.12.0 (2021-07-06)

chore

BREAKING CHANGES

  • uses the CID class from the new multiformats module and pubsub.getMsgId became async

Co-authored-by: Vasco Santos [email protected]

0.11.0 (2021-05-27)

0.10.4 (2021-04-30)

Bug Fixes

  • event emitter and discovery and routing interfaces (#95) (93ddaa4)

0.10.3 (2021-04-22)

0.10.2 (2021-04-20)

Bug Fixes

0.10.1 (2021-04-19)

Features

  • export type for new stream muxer function (#91) (6467fdd)

0.10.0 (2021-04-12)

0.9.0 (2021-04-07)

0.8.4 (2021-03-22)

Bug Fixes

0.8.3 (2021-01-26)

0.8.2 (2021-01-20)

Bug Fixes

  • event emitter types with local types (#80) (ca52077)

0.8.1 (2020-12-11)

Bug Fixes

  • pubsub publish message should be uint8array (#77) (5b99e6b)

0.8.0 (2020-12-10)

Features

0.7.2 (2020-11-11)

0.7.1 (2020-11-03)

Bug Fixes

0.7.0 (2020-11-03)

Features

  • pubsub: add global signature policy (#66) (946b046)
  • update pubsub getMsgId return type to Uint8Array (#65) (e148443)

BREAKING CHANGES

  • signMessages and strictSigning pubsub configuration options replaced with a globalSignaturePolicy option
  • new getMsgId return type is not backwards compatible with prior string return type.

0.6.0 (2020-10-05)

Features

  • update pubsub getMsgId return type to Uint8Array (#65) (e148443)

BREAKING CHANGES

  • new getMsgId return type is not backwards compatible with prior string return type.

0.5.2 (2020-09-30)

Bug Fixes

  • replace remaining Buffer usage with Uint8Array (#62) (4130e7f)

Chores

Features

BREAKING CHANGES

  • records now marshal as Uint8Array instead of Buffer

  • fix: refactor remaining Buffer usage to Uint8Array

    • The peer id dep of this module has replaced node Buffers with Uint8Arrays
  • chore: update gh deps

0.5.1 (2020-08-25)

Features

0.5.0 (2020-08-24)

Bug Fixes

  • replace remaining Buffer usage with Uint8Array (#62) (4130e7f)

BREAKING CHANGES

  • records now marshal as Uint8Array instead of Buffer

  • fix: refactor remaining Buffer usage to Uint8Array

0.4.1 (2020-08-11)

0.4.0 (2020-08-10)

Chores

BREAKING CHANGES

    • The peer id dep of this module has replaced node Buffers with Uint8Arrays
  • chore: update gh deps

0.3.2 (2020-07-15)

Features

0.3.1 (2020-07-03)

Bug Fixes

  • content and peer routing multiaddrs property (#49) (9fbf9d0)
  • peer-routing typo (#47) (9a8f375)
  • reconnect should trigger topology on connect if protocol stored (#54) (e10a154)

Chores

  • remove peer-info usage on topology (#42) (a55c7c4)
  • update content and peer routing interfaces removing peer-info (#43) (87e2e89)

Features

  • peer-discovery not using peer-info (bdd2502)

BREAKING CHANGES

  • topology api now uses peer-id instead of peer-info
  • content-routing and peer-routing APIs return an object with relevant properties instead of peer-info
  • peer-discovery emits object with id and multiaddrs properties

0.3.0 (2020-04-21)

Chores

  • remove peer-info usage on topology (#42) (79a7843)
  • update content and peer routing interfaces removing peer-info (#43) (d2032e6)

Features

  • peer-discovery not using peer-info (5792b13)

BREAKING CHANGES

  • topology api now uses peer-id instead of peer-info
  • content-routing and peer-routing APIs return an object with relevant properties instead of peer-info
  • peer-discovery emits object with id and multiaddrs properties

0.2.8 (2020-04-21)

0.2.7 (2020-03-20)

Bug Fixes

0.2.6 (2020-02-17)

Bug Fixes

0.2.5 (2020-02-04)

Bug Fixes

  • connection: tracks streams properly (#25) (5c88d77)

0.2.4 (2020-02-04)

Bug Fixes

  • dependencies for tests should not be needed by who requires the tests (#18) (c5b724a)

0.2.3 (2020-01-21)

Bug Fixes

  • transport: make close listener test more resilient (#21) (2de533e)

0.2.2 (2020-01-17)

Bug Fixes

  • connection: dont require remoteAddr on creation (#20) (5967834)

0.2.1 (2019-12-28)

Features

0.2.0 (2019-12-20)

Bug Fixes

  • transport should not handle connection if upgradeInbound throws (#16) (ff03137)

0.1.7 (2019-12-15)

Features

0.1.6 (2019-12-02)

Bug Fixes

  • multicodec topology disconnect with peer param (#12) (d5dd256)

0.1.5 (2019-11-15)

Bug Fixes

  • multicodec topology update peers with multicodec (#10) (21d8ae6)

Features

0.1.4 (2019-11-14)

Features

0.1.3 (2019-10-30)

Bug Fixes

  • localAddr should be optional (#6) (749a8d0)

0.1.2 (2019-10-29)

Features

0.1.1 (2019-10-21)

Features

0.1.0 (2019-10-20)

Bug Fixes

  • add async support to setup (#11) (2814c76)
  • test: close with timeout (#54) (583f02d)
  • avoid making webpacky funky by not trying to inject tcp (6695b80)
  • improve the close test (d9c8681)
  • move dirty-chai to dependencies (#52) (f9a7908)
  • some fixes for incorrect tests (23a75d1)
  • when things are in the same process, there is a order to them :) (1635977)
  • wrong main path in package.json (54b83a7)
  • deps: fix package.json (e0f7db3)
  • dial-test: ensure goodbye works over tcp (e1346da)
  • package.json: point to right main (ace6150)
  • package.json: point to right main (84cd2ca)
  • tests: add place holder test script for releases (8e9f7cf)

Code Refactoring

  • API changes and switch to async await (#55) (dd837ba)
  • API changes and switch to async iterators (#29) (bf5c646)

Features

  • add onStreamEnd, muxer.streams and timeline (#56) (0f60832)
  • add support for timeline proxying (#31) (541bf83)
  • add type to AbortError (#45) (4fd37bb)
  • add upgrader support to transports (#53) (a5ad120)
  • async crypto + sauce labs + aegir 9 (b40114c)
  • callbacks -> async / await (#44) (b30ee5f)
  • initial commit (584a69b)
  • make listen take an array of addrs (#46) (1dc5baa)
  • move to next aegir (11980ac)
  • timeline and close checking (#55) (993ca1c)
  • api: update the interface usage from dial to dialer and listen to listener (5069679)
  • connection: migrate to pull-streams (ed5727a)
  • dialer: remove conn from on connect callback (1bd20d9)
  • pull: migration to pull streams. Upgrade tests to use mocha as (cc3130f)
  • spec: update the dial interface to cope with new pull additions (2e12166)
  • tests: add closing tests, make sure errors are propagated (c06da3b)
  • tests: add dial and listen tests (d50224d)
  • tests: stub test for aegir to verify (949faf0)

Reverts

  • "feat: make listen take an array of addrs (#46)" (#51) (030195e)

BREAKING CHANGES

  • all the callbacks in the provided API were removed and each function uses async/await. Additionally, pull-streams are no longer being used. See the README for new usage.

  • This adds new validations to the stream muxer, which will cause existing tests to fail.

  • the API is now async / await. See libp2p/interface-stream-muxer#55 (comment) for a summary of the changes.

  • Transports must now be passed and use an Upgrader instance. See the Readme for usage. Compliance test suites will now need to pass options from common.setup(options) to their Transport constructor.

  • docs: update readme to include upgrader

  • docs: update readme to include MultiaddrConnection ref

  • feat: add upgrader spy to test suite

  • test: validate returned value of spy

  • All places in the API that used callbacks are now replaced with async/await

  • test: add tests for canceling dials

  • feat: Adapter class