Skip to content

Commit

Permalink
Updated CHANGELOG.md files
Browse files Browse the repository at this point in the history
  • Loading branch information
coot committed Mar 17, 2023
1 parent e463fbe commit 46f85c3
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 8 deletions.
7 changes: 7 additions & 0 deletions cardano-client/CHANGELOG.md
@@ -1,5 +1,12 @@
# Revision history for cardano-client

## next version

### Breaking changes

* Due to changes in `RunMiniProtocol` & `OuroborosApplication` data types the
API provided in this package has breaking changes.

## 0.1.0.0 -- 2020-05-18

* Initial release
45 changes: 45 additions & 0 deletions ouroboros-network-framework/CHANGELOG.md
@@ -1,5 +1,50 @@
# Revision history for ouroboros-network-framework

## next version

### Breaking changes

* `MuxProtocolBundle` type alias was removed, since it was just reduced to
a list of 'MiniProtocol's.

* Added `ExpandedInitiatorContext`, `MinimalInitiatorContext` and
`ResponderInitiatorContext` types in a new module:
`Ouroboros.Network.Context`. The module also re-exports `ConnectionId`,
`IsBigLedgerPeer` and `ControlMessageSTM` thus an unqualified import might
cause some warnings.

* `RunMiniProtocol` now contains callbacks which receive a context. The type
is polymorphic over initiator and responder contexts. We also provide type
aliases for `RunMiniProtocolWithExpandedCtx` and
`RunMiniProtocolWithMinimalCtx` which instatiate initiator and responider
contexts.

* Added `OuroborosBundleWithExpandedCtx` and `OuroborosBundleWithMinimalCtx`
type aliases.

* Added `OuroborosApplicationWithMinimalCtx` and
`OuroborosApplicationWithExpandedCtx` type aliases.

* Added `contramMapInitiatorCtx` which contramaps the initiator context of an
`OuroborosApplication`.

* Added `fromOuroborosBundle` which creates `OuroborosApplication` from
`OuroborosBundle` by forgetting the hot / warm / established distinction
between all mini-protocols.

* Removed `MuxBundle` and `mkMuxApplicationBundle` which is no longer needed.

* Due to the above changes the following APIs changed their type signatures:

- `Ouroboros.Network.Socket.connectToNode`
- `Ouroboros.Network.Socket.connectToNode'`
- `Ouroboros.Network.Socket.connectToNodeSocket`
- `Ouroboros.Network.Socket.SomeResponderApplication`
- `Ouroboros.Network.Socket.withServerNode`
- inbound governor API

### Non-breaking changes

## 0.1.0.0 -- YYYY-mm-dd

* First version. Released on an unsuspecting world.
53 changes: 45 additions & 8 deletions ouroboros-network/CHANGELOG.md
Expand Up @@ -4,14 +4,51 @@

### Breaking

* `TraceLedgerPeers` renamed some constructors:
- `PickedPeer -> PickedLedgerPeer`
- `PickedPeers -> PickedLedgerPeers`;
added new ones:
- `PickedBigLedgerPeer`
- `PickedBigLedgerPeers`;
and `FetchingNewLedgerState` constructor has a new field: number of big
ledger peers.
* Introduced big ledger peers to the outbound governor. The breaking changes include:
- Added new targets to `PeerSelectionTargets` data type

- Added `requestBigLedgerPeers` to `PeerSelectionActions`.

- `establishPeerConnection` and `ativatePeerConnection` receive an
`IsLedgerPeer` argument (which is then passed to mini-protocols via
`ExtendedInitiatorContext`.

- The `PeerSelectionState` contains new fields to support big ledger peers.

- Modified `PickPolicy` type, it is now parametrised by monad `m` rather than
by an `stm` monad. With this change the type alias can be used in
`pickPeers` type signature.

- `TraceLedgerPeers` renamed some constructors:
- `PickedPeer -> PickedLedgerPeer`
- `PickedPeers -> PickedLedgerPeers`;
added new ones:
- `PickedBigLedgerPeer`
- `PickedBigLedgerPeers`;
and `FetchingNewLedgerState` constructor has a new field: number of big
ledger peers.

* Propagated changes from `ouroboros-network-framework` related to the
introduction of initiator and responder contexts to `RunMiniProtocol` data
type. These changes include breaking changes to the following APIs:

- `Ouroboros.Network.Diffusion` is using: `OuroborosBundleWithExpandedCtx`
for node-to-node applications, `OuroborosApplicationWithMinimalCtx` for
node-to-client responders.
- `Ouroboros.Network.NodeToNode` exports `MinimalInitiatorContext` and
`ExpandedInitiatorContext` data types.
- `Ouroboros.Network.NodeToClient` exports `MinimalInitiatorContext` and
`ResponderContext` data types.
- `Ouroboros.Network.NodeToNode.NodeToNodeProtocols`,
`Ouroboros.Network.NodeToNode.nodeToNodeProtocols`,
`Ouroboros.Network.NodeToNode.versionedNodeToClientProtocols`,
`Ouroboros.Network.NodeToNode.withServer` were modified.
- `Ouroboros.Network.NodeToClient.NodeToClientProtocols`,
`Ouroboros.Network.NodeToClient.nodeToClientProtocols`,
`Ouroboros.Network.NodeToClient.versionedNodeToClientProtocols`,
`Ouroboros.Network.NodeToClient.withServer`,
`Ouroboros.Network.NodeToClient.ipSubscriptionWorker`,
`Ouroboros.Network.NodeToClient.dnsSubscriptionWorker` were modified.

## 0.1.0.0 -- 2018-09-20

Expand Down

0 comments on commit 46f85c3

Please sign in to comment.