From e8b59d6eab268970b73dd0306fa538fbfe2eeb72 Mon Sep 17 00:00:00 2001 From: gammazero <11790789+gammazero@users.noreply.github.com> Date: Thu, 19 Dec 2024 07:55:03 -1000 Subject: [PATCH 1/5] tidy changelog --- CHANGELOG.md | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 544a82e05..f409c46ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,13 +16,25 @@ The following emojis are used to highlight certain changes: ### Added +### Changed + +### Removed + +### Fixed + +### Security + + +## [v0.25.0] + +### Added + - `bitswap/client`: Improved timeout configuration for block requests - Exposed `DontHaveTimeoutConfig` to hold configuration values for `dontHaveTimeoutMgr` which controls how long to wait for requested block before emitting a synthetic DontHave response - Added `DefaultDontHaveTimeoutConfig()` to return a `DontHaveTimeoutConfig` populated with default values - Added optional `WithDontHaveTimeoutConfig` to allow passing a custom `DontHaveTimeoutConfig` - Setting `SetSendDontHaves(false)` works the same as before. Behind the scenes, it will disable `dontHaveTimeoutMgr` by passing a `nil` `onDontHaveTimeout` to `newDontHaveTimeoutMgr`. - ### Changed - 🛠 `blockstore` and `blockservice`'s `WriteThrough()` option now takes an "enabled" parameter: `WriteThrough(enabled bool)`. @@ -31,15 +43,10 @@ The following emojis are used to highlight certain changes: - `bitswap/client`: if a libp2p connection has a context, use `context.AfterFunc` to cleanup the connection. - upgrade to `go-libp2p-kad-dht` [v0.28.1](https://github.com/libp2p/go-libp2p-kad-dht/releases/tag/v0.28.1) - -### Removed - - ### Fixed * `mfs`: directory cache is now cleared on Flush(), liberating the memory used by the otherwise ever-growing cache. References to directories and sub-directories should be renewed after flushing. -### Security ## [v0.25.0] From 13fa48fb259b51b9263fe685e705f8989b023fdb Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Thu, 19 Dec 2024 20:38:22 +0100 Subject: [PATCH 2/5] docs: v0.26.0 changelog --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f409c46ea..9096c4ca9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,7 +25,7 @@ The following emojis are used to highlight certain changes: ### Security -## [v0.25.0] +## [v0.26.0] ### Added @@ -42,6 +42,7 @@ The following emojis are used to highlight certain changes: - upgrade to go-libp2p [v0.38.1](https://github.com/libp2p/go-libp2p/releases/tag/v0.38.1) - `bitswap/client`: if a libp2p connection has a context, use `context.AfterFunc` to cleanup the connection. - upgrade to `go-libp2p-kad-dht` [v0.28.1](https://github.com/libp2p/go-libp2p-kad-dht/releases/tag/v0.28.1) +- upgrade to `go-libp2p` [v0.38.1](https://github.com/libp2p/go-libp2p/releases/tag/v0.38.1) ### Fixed From c24404e980b9b6be294b76857eb9811690e9bfb7 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Thu, 19 Dec 2024 20:40:02 +0100 Subject: [PATCH 3/5] chore: remove duplicated entry my bad, in kubo we keep those together --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9096c4ca9..c1e39cf13 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,7 +39,6 @@ The following emojis are used to highlight certain changes: - 🛠 `blockstore` and `blockservice`'s `WriteThrough()` option now takes an "enabled" parameter: `WriteThrough(enabled bool)`. - Replaced unmaintained mock time implementation uses in tests: [from](github.com/benbjohnson/clock) => [to](github.com/filecoin-project/go-clock) -- upgrade to go-libp2p [v0.38.1](https://github.com/libp2p/go-libp2p/releases/tag/v0.38.1) - `bitswap/client`: if a libp2p connection has a context, use `context.AfterFunc` to cleanup the connection. - upgrade to `go-libp2p-kad-dht` [v0.28.1](https://github.com/libp2p/go-libp2p-kad-dht/releases/tag/v0.28.1) - upgrade to `go-libp2p` [v0.38.1](https://github.com/libp2p/go-libp2p/releases/tag/v0.38.1) From 1829ea24ca02017925fc576472e9e0c77ebaa135 Mon Sep 17 00:00:00 2001 From: gammazero <11790789+gammazero@users.noreply.github.com> Date: Thu, 19 Dec 2024 10:00:58 -1000 Subject: [PATCH 4/5] update version --- version.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.json b/version.json index 0bab82458..5fa2fecc2 100644 --- a/version.json +++ b/version.json @@ -1,3 +1,3 @@ { - "version": "v0.25.0" + "version": "v0.26.0" } From 8d05ec46828b650f3e6d47d45a32b5d30d38c466 Mon Sep 17 00:00:00 2001 From: Andrew Gillis <11790789+gammazero@users.noreply.github.com> Date: Thu, 19 Dec 2024 12:53:40 -0800 Subject: [PATCH 5/5] Update CHANGELOG.md --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1e39cf13..199b69066 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,10 +42,14 @@ The following emojis are used to highlight certain changes: - `bitswap/client`: if a libp2p connection has a context, use `context.AfterFunc` to cleanup the connection. - upgrade to `go-libp2p-kad-dht` [v0.28.1](https://github.com/libp2p/go-libp2p-kad-dht/releases/tag/v0.28.1) - upgrade to `go-libp2p` [v0.38.1](https://github.com/libp2p/go-libp2p/releases/tag/v0.38.1) +- blockstore/blockservice: change option to `WriteThrough(enabled bool)` [#749](https://github.com/ipfs/boxo/pull/749) +- `mfs`: improve mfs republisher [#754](https://github.com/ipfs/boxo/pull/754) ### Fixed -* `mfs`: directory cache is now cleared on Flush(), liberating the memory used by the otherwise ever-growing cache. References to directories and sub-directories should be renewed after flushing. +- `mfs`: directory cache is now cleared on Flush(), liberating the memory used by the otherwise ever-growing cache. References to directories and sub-directories should be renewed after flushing. +- `bitswap/client`: Fix leak due to cid queue never getting cleaned up [#756](https://github.com/ipfs/boxo/pull/756) +- `bitswap`: Drop stream references on Close/Reset [760](https://github.com/ipfs/boxo/pull/760) ## [v0.25.0]