Release notes
*Sourced from [github.com/libp2p/go-libp2p-kad-dht's releases](https://github.com/libp2p/go-libp2p-kad-dht/releases).*
> ## v0.4.1
> * Prioritize closer peers in the connection manager. Otherwise, the connection manager can partition the network.
> * Add a feature for disabling storing providers/values (only usable in a _forked_ network).
> * Correctly close the channel returned by RefreshRoutingTable.
>
> ## v0.4.0
> * Updates go-libp2p-kbucket to fix a bug where we might have peers in our routing table but not use them.
> * Fixes a bug where we might run out of peers in our routing table, have connected peers, and not use them. We now try to re-fill our routing table from connected peers whenever we run out of peers in the DHT.
> * Updates go-multiaddr to switch to /p2p multiaddrs by default (hence the 0.4.0 version bump).
Commits
- [`dd3d8fb`](https://github.com/libp2p/go-libp2p-kad-dht/commit/dd3d8fbb9d8617ef4bb4e4cb373ca824d6471602) Merge pull request [#425](https://github-redirect.dependabot.com/libp2p/go-libp2p-kad-dht/issues/425) from libp2p/fix/refresh-wait
- [`e512351`](https://github.com/libp2p/go-libp2p-kad-dht/commit/e51235114571541db0a2f87ac548de19fb4282e7) fix: always send the result channel when triggering a refresh
- [`2e6adb8`](https://github.com/libp2p/go-libp2p-kad-dht/commit/2e6adb8c2b71410128fc19101c1e42da638235e5) Merge pull request [#400](https://github-redirect.dependabot.com/libp2p/go-libp2p-kad-dht/issues/400) from libp2p/feat/disable-providers
- [`c08274f`](https://github.com/libp2p/go-libp2p-kad-dht/commit/c08274fb0374b39bd4f81c6ef647473c8cb8ecde) Merge pull request [#424](https://github-redirect.dependabot.com/libp2p/go-libp2p-kad-dht/issues/424) from hacdias/fix/prioritize-closer-peers
- [`0449555`](https://github.com/libp2p/go-libp2p-kad-dht/commit/0449555dde3006cb6036a7c4e237f9a581e6ad92) make BaseConnMgrScore const
- [`e4dae1c`](https://github.com/libp2p/go-libp2p-kad-dht/commit/e4dae1c931d116d33426619342ce61f195b53203) call it common prefix len
- [`dca21f6`](https://github.com/libp2p/go-libp2p-kad-dht/commit/dca21f6a050b3a59fab1fe9e0b1e9186879b72de) fix: prioritize closer peers
- [`a7093c7`](https://github.com/libp2p/go-libp2p-kad-dht/commit/a7093c7cb48ab7569ccb44678b8107e5688ee865) Merge pull request [#421](https://github-redirect.dependabot.com/libp2p/go-libp2p-kad-dht/issues/421) from libp2p/chore/update-kbucket
- [`6adedd5`](https://github.com/libp2p/go-libp2p-kad-dht/commit/6adedd5011aa60184b2dfbacc99d32c79a8faa8e) chore(dep): update kbucket
- [`323ee8e`](https://github.com/libp2p/go-libp2p-kad-dht/commit/323ee8e22c7597d08502c5a052bb9871dd5f9c51) Merge pull request [#420](https://github-redirect.dependabot.com/libp2p/go-libp2p-kad-dht/issues/420) from libp2p/fix/add-when-empty
- Additional commits viewable in [compare view](https://github.com/libp2p/go-libp2p-kad-dht/compare/v0.3.2...v0.4.1)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps github.com/libp2p/go-libp2p-kad-dht from 0.3.2 to 0.4.1.
Release notes
*Sourced from [github.com/libp2p/go-libp2p-kad-dht's releases](https://github.com/libp2p/go-libp2p-kad-dht/releases).* > ## v0.4.1 > * Prioritize closer peers in the connection manager. Otherwise, the connection manager can partition the network. > * Add a feature for disabling storing providers/values (only usable in a _forked_ network). > * Correctly close the channel returned by RefreshRoutingTable. > > ## v0.4.0 > * Updates go-libp2p-kbucket to fix a bug where we might have peers in our routing table but not use them. > * Fixes a bug where we might run out of peers in our routing table, have connected peers, and not use them. We now try to re-fill our routing table from connected peers whenever we run out of peers in the DHT. > * Updates go-multiaddr to switch to /p2p multiaddrs by default (hence the 0.4.0 version bump).Commits
- [`dd3d8fb`](https://github.com/libp2p/go-libp2p-kad-dht/commit/dd3d8fbb9d8617ef4bb4e4cb373ca824d6471602) Merge pull request [#425](https://github-redirect.dependabot.com/libp2p/go-libp2p-kad-dht/issues/425) from libp2p/fix/refresh-wait - [`e512351`](https://github.com/libp2p/go-libp2p-kad-dht/commit/e51235114571541db0a2f87ac548de19fb4282e7) fix: always send the result channel when triggering a refresh - [`2e6adb8`](https://github.com/libp2p/go-libp2p-kad-dht/commit/2e6adb8c2b71410128fc19101c1e42da638235e5) Merge pull request [#400](https://github-redirect.dependabot.com/libp2p/go-libp2p-kad-dht/issues/400) from libp2p/feat/disable-providers - [`c08274f`](https://github.com/libp2p/go-libp2p-kad-dht/commit/c08274fb0374b39bd4f81c6ef647473c8cb8ecde) Merge pull request [#424](https://github-redirect.dependabot.com/libp2p/go-libp2p-kad-dht/issues/424) from hacdias/fix/prioritize-closer-peers - [`0449555`](https://github.com/libp2p/go-libp2p-kad-dht/commit/0449555dde3006cb6036a7c4e237f9a581e6ad92) make BaseConnMgrScore const - [`e4dae1c`](https://github.com/libp2p/go-libp2p-kad-dht/commit/e4dae1c931d116d33426619342ce61f195b53203) call it common prefix len - [`dca21f6`](https://github.com/libp2p/go-libp2p-kad-dht/commit/dca21f6a050b3a59fab1fe9e0b1e9186879b72de) fix: prioritize closer peers - [`a7093c7`](https://github.com/libp2p/go-libp2p-kad-dht/commit/a7093c7cb48ab7569ccb44678b8107e5688ee865) Merge pull request [#421](https://github-redirect.dependabot.com/libp2p/go-libp2p-kad-dht/issues/421) from libp2p/chore/update-kbucket - [`6adedd5`](https://github.com/libp2p/go-libp2p-kad-dht/commit/6adedd5011aa60184b2dfbacc99d32c79a8faa8e) chore(dep): update kbucket - [`323ee8e`](https://github.com/libp2p/go-libp2p-kad-dht/commit/323ee8e22c7597d08502c5a052bb9871dd5f9c51) Merge pull request [#420](https://github-redirect.dependabot.com/libp2p/go-libp2p-kad-dht/issues/420) from libp2p/fix/add-when-empty - Additional commits viewable in [compare view](https://github.com/libp2p/go-libp2p-kad-dht/compare/v0.3.2...v0.4.1)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)