File tree 4 files changed +28
-0
lines changed
ouroboros-network-framework
4 files changed +28
-0
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## next version
4
4
5
+ ### Breaking changes
6
+
7
+ * Reimplemntation of ` subscribe ` without relaying on non-p2p stack. Its
8
+ arguments have changed. Note that the ` NodeToClientProtocols ` and
9
+ ` OuroborosApplicationWithMinimalCtx ` specify ` Void ` as return type of the
10
+ responder side.
11
+ * The default reconnect delay was increased from ` 0.025s ` to ` 5s ` .
12
+
13
+ ### Non-breaking changes
14
+
5
15
## 0.3.1.5 -- 2024-08-27
6
16
7
17
### Breaking changes
Original file line number Diff line number Diff line change 9
9
* ` Ouroboros.Network.Mux.mkMiniProtocolBundle ` was renamed to
10
10
` mkMiniProtocolInfos ` , its type changed.
11
11
* Removed ` MiniProtocolBundle ` newtype wrapper.
12
+ * Generalised ` Channel ` type and provide ` ByteChannel ` type alias.
13
+ * Provide additional APIs in the ` Network.Mux.Channel ` for creating channels
14
+ and byte channels.
15
+ * ` MuxBearer ` has a ` name ` field.
12
16
13
17
### Non-breaking changes
14
18
Original file line number Diff line number Diff line change 10
10
* Renamed ` Ouroboros.Network.Mux.mkMiniProtocolBundle ` as ` mkMiniProtocolInfos `
11
11
(its type has changed).
12
12
* Added ` Ouroboros.Network.Mux.toMiniProtocolInfos ` .
13
+ * Added ` ConnectToArgs ` for ` Ouroboros.Network.Socket.connectToNode ` & friends.
14
+ * ` Ouroboros.Network.Socket.connectToNode ` & friends return result (or an
15
+ error) of the first terminated mini-protocol.
16
+ * Added ` Ouroboros.Network.Socket.connectToNodeWithMux ` and
17
+ ` connectToNodeWithMux' ` . They give control over running mux, e.g. one can
18
+ start some of the mini-protocols, or implement a re-start policy.
13
19
14
20
### Non-breaking changes
15
21
Original file line number Diff line number Diff line change 24
24
It is used by ` outboundConnectionsState ` when signaling trust state when syncing in
25
25
Genesis mode. Default value is provided by the Configuration module.
26
26
* Using ` typed-protocols-0.2.0.0 ` .
27
+ * ` Ouroboros.Network.NodeToClient.connectTo ` takes
28
+ ` OuroborosApplicationWithMinimalCtx ` which is using ` Void ` type for responder
29
+ protocols. It anyway only accepts ` InitiatorMode ` , and thus no responder
30
+ protocols can be specified, nontheless this might require changing type
31
+ signature of the applications passed to it. ` connectTo ` returns now either
32
+ an error or the result of the first terminated mini-protocol.
33
+ * ` Ouroboros.Network.NodeToNode.connectTo ` returns either an error or the
34
+ result of the first terminated mini-protocol.
27
35
28
36
### Non-Breaking changes
29
37
You can’t perform that action at this time.
0 commit comments