Commit Graph

112 Commits

Author SHA1 Message Date
Marcin Rataj
733b01a37b
fix(gw): useful IPIP-402 CARs on not found errors (#10084)
Co-authored-by: Henrique Dias <hacdias@gmail.com>
2023-08-18 06:54:08 +00:00
Jorropo
f805b9fcda feat: allow users to optin again into mplex
This is a partial revert of 7220409394.

Closes #9958
2023-08-15 14:53:44 +02:00
Jorropo
7220409394 feat: remove Mplex
Mplex does not implement backpressure, our implementation will randomly reset streams if buffers overflow instead of risking deadlocks.

In the past we had a bug where kubo nodes would prefer mplex over yamux. Turning off mplex make our connections to thoses nodes negociate yamux.

Closes #9958
2023-08-15 11:35:45 +02:00
Jorropo
fe94dade32 docs: add v0.23.md 2023-08-14 15:04:36 +02:00
Jorropo
ea4bf382af docs: get ready for v0.23 2023-08-14 15:01:41 +02:00
Marcin Rataj
54ac8124c3
chore: fix link in v0.22 changelog 2023-08-09 20:58:54 +02:00
Jorropo
efa179fce4 changelog: add mkreleaselog for v0.22 2023-08-08 16:42:12 +02:00
Jorropo
f1ec5298a9 Merge branch 'release-v0.21' back into master 2023-08-08 14:18:32 +02:00
Jorropo
61e0779f66 changelog: make v0.21.1 2023-08-08 14:01:19 +02:00
Jorropo
89b0432387 chore: merge release back into master
Needs to include 9db33d3191
2023-07-31 17:13:48 +02:00
Marcin Rataj
afa891b0ed
docs: changelog v0.21 fixes (#10037)
Co-authored-by: Jorropo <jorropo.pgm@gmail.com>
2023-07-27 20:14:30 +02:00
Jorropo
149190c5a6 chore: update changelog for v0.22 2023-07-27 11:55:23 +00:00
Jorropo
6be6630e4e libp2p: stop reporting ProtocolVersion 2023-07-26 14:48:19 +02:00
Jorropo
9c02eecad7
fix: mark all routers DoNotWaitForSearchValue (#10020)
* fix: mark ipns pubsub router DoNotWaitForSearchValue

That means if the DHT has finished searching and no one responded over pubsub *yet*, we will not spend 1 minute searching for no reason.

This also include other error handling bug fixes inside `go-libp2p-routing-helpers`.

Fixes: #9927

* routing: bring back the old IPNS behaviour

Stop making this configurable let everything race like it used to do.
2023-07-25 19:39:21 +02:00
Henrique Dias
a8c63537f2
feat(gateway): support for ipip-412 parameters 2023-07-24 11:09:09 +02:00
Henrique Dias
0c890de400
Merge branch 'master' into merge-release-v0.21.0 2023-07-03 13:24:34 +02:00
Henrique Dias
4d5f2b89e9 chore: update changelog for v0.21 2023-06-29 15:13:51 +00:00
Henrique Dias
5156f21162
feat(ipns): records with V2-only signatures (#9932) 2023-06-20 14:24:31 +02:00
Jorropo
02fb0a4ad4
cmds/dag/import: pin roots by default (#9966)
This is a partial revert of b685355ca8.
Closes #9765 with compromise agreed in https://github.com/ipfs/kubo/issues/9765#issuecomment-1593117410
2023-06-20 08:20:26 +02:00
Henrique Dias
91835546c7
docs: fix 0.21 changelog 2023-06-20 08:20:25 +02:00
Rod Vagg
308274f886
feat!: dag import - don't pin roots by default (#9926)
* feat!: dag import - don't pin roots by default

Fixes: https://github.com/ipfs/kubo/issues/9765

* test(ipip-402): dag import

this adds basic regression test that guards behavior
around partial cars with or without pinning

* docs(ipip-402): ipip and dag import changelog

---------

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-06-20 08:20:24 +02:00
Jorropo
82fd9ec329
cmds/dag/import: pin roots by default (#9966)
This is a partial revert of b685355ca8.
Closes #9765 with compromise agreed in https://github.com/ipfs/kubo/issues/9765#issuecomment-1593117410
2023-06-15 16:41:59 +02:00
Henrique Dias
2cbee81b9b docs: fix 0.21 changelog 2023-06-15 14:58:02 +02:00
Marcin Rataj
df5c0620ec
chore(docs): typo http→https 2023-06-15 13:20:19 +02:00
Rod Vagg
b685355ca8
feat!: dag import - don't pin roots by default (#9926)
* feat!: dag import - don't pin roots by default

Fixes: https://github.com/ipfs/kubo/issues/9765

* test(ipip-402): dag import

this adds basic regression test that guards behavior
around partial cars with or without pinning

* docs(ipip-402): ipip and dag import changelog

---------

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-06-14 20:45:34 +00:00
Marcin Rataj
f0397719ad
chore(docs): typo http→https 2023-06-14 00:37:03 +02:00
Henrique Dias
2716cd987f
feat(gateway): support for IPIP-402 CAR params (#9914) 2023-06-08 17:32:18 +02:00
Jorropo
e7294cbdff feat: warn users who are falling behind reprovides
Fixes: #9704
Fixes: #9702
Fixes: #9703
Fixes: #9419
2023-06-08 10:05:30 +02:00
Jorropo
50daf64be4 changelog/v0.21: add dag stat additions 2023-06-06 16:22:08 +02:00
Henrique Dias
eb265f7cd8
fix(gateway)!: no duplicate payload during subdomain redirects (#9913)
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-06-02 08:14:19 +02:00
Henrique Dias
dfd244816a
feat(gateway): human error pages, dag-cbor/dag-json preview (#9904)
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-05-31 23:43:11 +00:00
Jorropo
12f343d837 client/rpc: rename package name to match rpc and edit migration story 2023-05-31 15:40:00 +02:00
Jorropo
86d8e75b7f client/rpc: migrate go-ipfs-http-client 2023-05-30 21:28:07 +02:00
Henrique Dias
c10b804449
feat: Gateway.DeserializedResponses config flag (#9789)
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-05-30 00:59:34 +02:00
Lucas Molas
63561f3baf
feat(bootstrap): save connected peers as backup bootstrap peers (#8856)
* 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>
2023-05-25 14:39:49 +02:00
Henrique Dias
851248aedc chore: create next changelog 2023-05-09 13:05:13 +00:00
Henrique Dias
3a6fa1e229 chore: update changelog for v0.20 2023-05-09 09:31:11 +00:00
Henrique Dias
d2c578878f
docs: add changelog for v0.19.2 2023-05-09 11:18:59 +02:00
Henrique Dias
7ea0b07038 docs: add ipfs pubsub deprecation reminder to changelog (#9827) 2023-04-25 13:49:27 +02:00
Steve Loeppky
b706d64487 docs: preparing 0.20 changelog for release (#9799)
Co-authored-by: Gus Eggert <gus@gus.dev>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Henrique Dias <hacdias@gmail.com>
2023-04-25 13:49:27 +02:00
Piotr Galar
f18a69eced
Merge Release: v0.19.1 (#9794)
* chore: update version

* chore: update go-libp2p to v0.26.4

* fix: remove timeout on default DHT operations (#9783)

* fix: remove timeout on default DHT operations

This removes the timeout by default for DHT operations. In particular
this causes issues with ProvideMany requests which can take an
indeterminate amount of time, but really these should just respect
context timeouts by default. Users can still specify timeouts here if
they want, but by default they will be set to "0" which means "no
timeout".

This is unlikely to break existing users of custom routing, because
there was previously no utility in configuring a router with timeout=0
because that would cause the router to immediately fail, so it is
unlikely (and incorrect) if anybody was using timeout=0.

* fix: remove 5m timeout on ProvideManyRouter

For context see
5fda291b66

---------

Co-authored-by: Marcin Rataj <lidel@lidel.org>

* chore: bump go-blockservice to v0.5.1

* chore: update version

* chore: update changelog for v0.19

---------

Co-authored-by: Jorropo <jorropo.pgm@gmail.com>
Co-authored-by: Gus Eggert <gus@gus.dev>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-04-05 22:42:09 +02:00
Gus Eggert
68ee5e61a8
feat: add changelog entry for router timeouts for v0.19.1 (#9784)
* feat: add changelog entry for router timeouts for v0.19.1

* Apply suggestions from code review

Co-authored-by: Steve Loeppky <biglep@protocol.ai>

---------

Co-authored-by: Steve Loeppky <biglep@protocol.ai>
2023-04-03 11:21:53 -04:00
galargh
1f36e3dbe6 chore: create next changelog 2023-03-20 16:35:00 +00:00
Piotr Galar
eb7d6f98df
Merge branch 'master' into merge-release-v0.19.0 2023-03-20 16:48:58 +01:00
galargh
13865920d8 docs: update changelog 2023-03-20 12:33:11 +01:00
Jorropo
c9fc10dafc fix: remove outdated changelog part 2023-03-20 12:23:16 +01:00
Piotr Galar
754264fc08 Merge pull request #9707 from ipfs/changelog-0.19
docs: 0.19 changelog
2023-03-20 11:45:57 +01:00
Jorropo
cc5e1325b4 chore: deprecate the pubsub api
Fixes #9717
2023-03-20 10:04:53 +01:00
Gus Eggert
2510f06364 feat: add "autoclient" routing type
This routing type is the same as "auto" but it creates the DHT in
"client" mode and hence does not start a DHT server.
2023-03-20 10:02:06 +01:00
Piotr Galar
3382058c5f
Merge branch 'master' into changelog-0.19 2023-03-20 09:51:00 +01:00