From 12ab035e9bb7a988c60ab4107fb52c75299e9ec1 Mon Sep 17 00:00:00 2001 From: hannahhoward Date: Thu, 29 Jun 2023 19:13:29 -0700 Subject: [PATCH] docs(CHANGELOG): document traceability.Block feature --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8388c06f9..da229502a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ The following emojis are used to highlight certain changes: * The only change to the default behavior on CAR responses is that we follow IPIP-412 and make `order=dfs;dups=n` explicit in the returned `Content-Type` HTTP header. +* ✨ While the call signature remains the same, the blocks that Bitswap returns can now be cast to [traceability.Block](./bitswap/client/traceability/block.go), which will additionally tell you where the Block came from and how long it took to fetch. This helps consumers of Bitswap collect better metrics on Bitswap behavior. ### Changed