Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.14.0 #500

Merged
merged 68 commits into from Nov 1, 2023
Merged

Release v0.14.0 #500

merged 68 commits into from Nov 1, 2023

Conversation

hacdias
Copy link
Member

@hacdias hacdias commented Nov 1, 2023

No description provided.

hacdias and others added 30 commits September 21, 2023 17:01
Merge Back Release 0.13.1
…ange

Co-authored-by: Henrique Dias <hacdias@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Let's not repeat ipfs/go-block-format#45 interface for struct with one implementation and no value added.
Keeping a counter should not require query-ing the blockstore repeteadly for
every single block received, so I have added an option to disable it.

Currently there is the assumption that doing Has() calls is cheap. That can be
correct for most cases but also badly incorrect for others.
... when duplicated block stats are disabled.
bitswap/client: add option to disable duplicated block stats
The old version was not very smart and wasted DNS lookup per
every inlined DNSLink label (my-v--long-example-com) before
retrying with un-inlined one (my.v-long.example.com).

This version is optimized to avoid unnecessary DNS lookup for
the golden path majority of inlined DNS names on subdomain will hit.

It also ensures that in case of missing DNSLink, the un-inlined domain
name is used in error path, which makes better UX.
faster implementation + exported funcs for reuse
outside of boxo/gateway
MVP for #6097

This feature will repeatedly reconnect (with a randomized exponential backoff)
to peers in a set of "peered" peers.

In the future, this should be extended to:

1. Include a CLI for modifying this list at runtime.
2. Include additional options for peers we want to _protect_ but not connect to.
3. Allow configuring timeouts, backoff, etc.
4. Allow groups? Possibly through textile threads.
5. Allow for runtime-only peering rules.
6. Different reconnect policies.

But this MVP should be a significant step forward.


This commit was moved from ipfs/kubo@978091a
Co-authored-by: Will <will.scott@protocol.ai>

This commit was moved from ipfs/kubo@8e52c7f
* better name for timer
* cancel context from within stop


This commit was moved from ipfs/kubo@0551c4d
Jorropo and others added 19 commits October 31, 2023 11:45
Co-authored-by: Henrique Dias <hacdias@gmail.com>
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>


This commit was moved from ipfs/kubo@d35dac7
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>


This commit was moved from ipfs/kubo@0e6f8d4
closes #6391

License: MIT
Signed-off-by: Raúl Kripalani <raul@protocol.ai>


This commit was moved from ipfs/kubo@e8c2852
We've deprecated this system and have yet to move to a new system. We might as
well remove everything, switch to a new system, then deliberately trace the
entire system.


This commit was moved from ipfs/kubo@906f45e
* feat(bootstrap): save connected peers as backup temporary bootstrap ones
* fix: do not add duplicated oldSavedPeers, not using tags, reuse
randomizeList
* test: add regression test
* chore: add changelog

---------

Co-authored-by: Henrique Dias <hacdias@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>

This commit was moved from ipfs/kubo@63561f3
…0029)

Fix panic when backup bootstrap peer load and save funcs are nil

A panic occurs when the first bootstrap round runs is these functions are not assigned in the configuration:
- `LoadBackupBootstrapPeers`
- `SaveBackupBootstrapPeers`

This fix assumes that it is acceptable for these functions to be nil, as it may be desirable to disable the backup peer load and save functionality.

This commit was moved from ipfs/kubo@c46cbec
Co-authored-by: Jorropo <jorropo.pgm@gmail.com>
@hacdias hacdias requested a review from a team as a code owner November 1, 2023 09:24
@hacdias hacdias changed the base branch from main to release November 1, 2023 09:24
@hacdias hacdias requested a review from lidel as a code owner November 1, 2023 09:24
@hacdias hacdias added the release Merging this PR will create a tagged release label Nov 1, 2023
Copy link

github-actions bot commented Nov 1, 2023

Suggested version: v0.14.0

Comparing to: v0.13.1 (diff)

Changes in go.mod file(s):

(empty)

gorelease says:

# diagnostics
go.mod: the following requirements are needed
	github.com/cespare/xxhash@v1.1.0
	go.uber.org/atomic@v1.11.0
Run 'go mod tidy' to add missing requirements.
required module github.com/microcosm-cc/bluemonday@v1.0.1 retracted by module author: Retract older versions as only latest is to be depended upon

# summary
Suggested version: v0.13.2

gocompat says:

Your branch is up to date with 'origin/release'.

Cutting a Release (and modifying non-markdown files)

This PR is modifying both version.json and non-markdown files.
The Release Checker is not able to analyse files that are not checked in to release. This might cause the above analysis to be inaccurate.
Please consider performing all the code changes in a separate PR before cutting the release.

Automatically created GitHub Release

A draft GitHub Release has been created.
It is going to be published when this PR is merged.
You can modify its' body to include any release notes you wish to include with the release.

Copy link

codecov bot commented Nov 1, 2023

Codecov Report

Merging #500 (50f0e2c) into release (e0d4b3e) will decrease coverage by 0.91%.
The diff coverage is 55.57%.

Impacted file tree graph

@@             Coverage Diff             @@
##           release     #500      +/-   ##
===========================================
- Coverage    66.56%   65.65%   -0.91%     
===========================================
  Files          207      207              
  Lines        24692    25604     +912     
===========================================
+ Hits         16435    16811     +376     
- Misses        6837     7323     +486     
- Partials      1420     1470      +50     
Files Coverage Δ
bitswap/client/internal/getter/getter.go 81.81% <ø> (ø)
bitswap/metrics/metrics.go 100.00% <100.00%> (ø)
gateway/assets/assets.go 69.62% <100.00%> (ø)
gateway/handler_tar.go 79.36% <100.00%> (ø)
namesys/republisher/repub.go 58.65% <100.00%> (-4.10%) ⬇️
path/error.go 100.00% <100.00%> (ø)
routing/http/client/client.go 74.59% <100.00%> (ø)
routing/http/server/server.go 67.45% <100.00%> (ø)
routing/http/types/json/responses.go 45.45% <ø> (ø)
util/util.go 39.34% <100.00%> (+6.01%) ⬆️
... and 33 more

... and 11 files with indirect coverage changes

@hacdias hacdias merged commit 07c5719 into release Nov 1, 2023
17 of 18 checks passed
hacdias added a commit to ipfs/kubo that referenced this pull request Nov 29, 2023
hacdias added a commit to ipfs/kubo that referenced this pull request Nov 29, 2023
@hacdias hacdias deleted the release-v0.14.0 branch February 20, 2024 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Merging this PR will create a tagged release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet