Releases: libp2p/js-libp2p-interfaces
v0.1.3
v0.1.2
v0.1.1
v0.1.0
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
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 passoptions
fromcommon.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