CHANGELOG: summary for 0.4.18 p2p changes
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
Łukasz Magiera committed
Oct 30, 2018 at 01:24 UTC
f36ba0d1079b086b230a51f63dccfbaea53c7183
1 file changed
+18
-1
CHANGELOG.md
+18
-1
@@ -85,7 +85,24 @@ nodes from one host to another. It's `ssh -L` but for IPFS. You can find
85
documentation in
86
[here](https://github.com/ipfs/go-ipfs/docs/experimental-features.md#ipfs-p2p)).
87
It's still experimental but we don't expect too many breaking changes at this
88
-point (it will very likely be stabilized in the next release).
88
+point (it will very likely be stabilized in the next release). Quick summary of
89
+breaking changes:
90
+
91
+* We don't stop listening for local (forwarded) connections after accepting a
92
+ single connection.
93
+* `ipfs p2p stream ls` output now returns more useful output, first address is
94
+ always the initiator address.
95
+* `ipfs p2p listener ls` is renamed to `ipfs p2p ls`
96
+* `ipfs p2p listener close` is renamed to `ipfs p2p close`
97
+* Protocol names have to be prefixed with `/x/` and are now just passed to
98
+ libp2p as handler name. Previous version did this 'under the hood' and with
99
+ `/p2p/` prefix. There is a `--allow-custom-protocol` flag which allows you
100
+ to use any libp2p handler name.
101
+* `ipfs p2p listener open` and `ipfs p2p stream dial` got renamed:
102
+ * `ipfs p2p listener open p2p-test /ip4/127.0.0.1/tcp/10101`
103
+ new becomes `ipfs p2p listen /x/p2p-test /ip4/127.0.0.1/tcp/10101`
104
+ * `ipfs p2p stream dial $NODE_A_PEERID p2p-test /ip4/127.0.0.1/tcp/10102`
105
+ is now `ipfs p2p forward /x/p2p-test /ip4/127.0.0.1/tcp/10102 /ipfs/$NODE_A_PEERID`
106
107
There is now a new flag for `ipfs name resolve` - `--stream`. When the command
108
is invoked with the flag set, it will start returning results as soon as they