Gus Eggert
a09c8df24d
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>
2023-03-30 16:08:43 -04:00
Adin Schmahmann
353dd49be2
refactor: switch gateway code to new API from go-libipfs ( #9681 )
...
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Henrique Dias <hacdias@gmail.com>
2023-03-30 13:20:37 +00:00
Jorropo
3ab1086f71
chore: migrate go-libipfs to boxo
...
Resolves #9677 , #9676 , #9675 , #9736
2023-03-28 22:05:25 -04:00
Jorropo
405b1d2dcd
chore: update go-libp2p to v0.26.4
2023-03-28 00:49:39 +02:00
Henrique Dias
88d431c812
feat: remove writable gateway ( #9743 )
...
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-03-27 15:19:55 +02:00
Piotr Galar
1d7976667e
Merge branch 'master' into process-improvement-v0.18.0
2023-03-21 10:27:25 +01:00
Gus Eggert
e0b08ed783
docs: use fx.Decorate instead of fx.Replace in examples ( #9725 )
...
In practice there are cases when fx.Replace doesn't work as expected,
so this updates the documentation to recommend using fx.Decorate
instead which is a bit easier to use.
2023-03-20 17:27:45 -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
Henrique Dias
b975593920
feat(gateway): invalid CID returns 400 Bad Request ( #9726 )
2023-03-20 14:14:38 +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
Piotr Galar
7ea6e321fe
chore: update go-libp2p to v0.26.3 ( #9737 )
2023-03-20 10:06:04 +01:00
Henrique Dias
3c35a0cdea
chore: bump go-libipfs@v0.6.2
2023-03-20 10:05:29 +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
Jorropo
d339059a7f
chore: bump go-libipfs v0.6.1
...
This does nothing, just move from an untagged commit to a tagged commit but contain the same things.
2023-03-20 10:01:45 +01:00
Piotr Galar
ff019366f5
Merge pull request #9699 from ipfs/early-testers
...
docs: add bifrost to early testers
2023-03-20 10:01:17 +01:00
Piotr Galar
3382058c5f
Merge branch 'master' into changelog-0.19
2023-03-20 09:51:00 +01:00
Piotr Galar
715019440f
chore: update go-libp2p to v0.26.3 ( #9737 )
2023-03-20 09:47:59 +01:00
Henrique Dias
51eabd46da
chore: bump go-libipfs@v0.6.2
2023-03-16 14:12:36 -04:00
Jorropo
1f5763f787
chore: deprecate the pubsub api
...
Fixes #9717
2023-03-15 04:42:02 +01:00
Marcin Rataj
a4052c645b
chore: fix toc in changelog for 0.18
2023-03-10 15:30:18 +01:00
Gus Eggert
0d94bac30c
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-09 08:18:14 -05:00
Marcin Rataj
fb663c6bb4
docs: add IPIP-351 to 0.19 changelog
2023-03-09 00:24:46 +01:00
Jorropo
f509e24984
docs: add PubSub to changelog
2023-03-08 17:59:42 +01:00
Jorropo
40d7f2fecc
chore: bump go-libipfs v0.6.1
...
This does nothing, just move from an untagged commit to a tagged commit but contain the same things.
2023-03-08 12:00:58 +01:00
galargh
30fdc9c1e8
feat: restrict updating kubo in ipfs-desktop to final releases only
2023-03-06 20:28:53 +01:00
galargh
9b7a31d288
refactor: remove unnecessary tasks in RELEASE_ISSUE_TEMPLATE.md
2023-03-06 20:28:53 +01:00
galargh
a52625f181
chore: update release issue template to use lowercase for rc
2023-03-06 20:28:53 +01:00
Piotr Galar
4400db6ce4
docs: add bifrost to early testers
2023-03-06 19:48:39 +01:00
Piotr Galar
0ee879ec69
docs: sort early testers list alphabetically
2023-03-06 19:45:23 +01:00
omahs
698166bf2a
docs: fix typos
2023-03-06 09:42:54 -05:00
Jorropo
fea25f7ab1
chore: update golang.org/x/net to v0.7.0
...
Include fix for https://pkg.go.dev/vuln/GO-2023-1571 (this impact us in the DOH handler).
2023-03-03 12:54:20 +01:00
Jorropo
23379d8d60
chore: update go-unixfs v0.4.4
...
Include missing error handling.
2023-03-03 12:54:20 +01:00
Steve Loeppky
f84ad6d627
Doc updates/additions
2023-03-03 12:39:25 +01:00
Marten Seemann
68f4dd4427
chore: update go-libp2p to v0.26.2
2023-03-02 08:48:23 +01:00
Marten Seemann
56b9962103
chore: update go-libp2p to v0.26.1
2023-02-28 02:48:17 +01:00
Henrique Dias
1794649bf2
feat(gateway): error handling improvements (500, 502, 504) ( #9660 )
...
* fix(gateway): return 500 for all /ip[nf]s/id failures
* fix: replace deprecated structs
* chore: bump go-libipfs to version from main
2023-02-28 02:21:50 +01:00
Gabe
e3b17a4fe6
docs: be clear about swarm.addrfilters ( #9661 )
2023-02-27 15:43:20 +01:00
Piotr Galar
0055f5b9bd
Update docs/RELEASE_ISSUE_TEMPLATE.md
2023-02-27 10:08:51 +01:00
Piotr Galar
12da573e9e
Merge branch 'master' into process-improvement-v0.18.0
2023-02-27 10:07:42 +01:00
Henrique Dias
4283b9d98f
chore: bump go-libp2p-kad-dht to v0.21.1 ( #9663 )
2023-02-24 11:49:31 +01:00
Marten Seemann
a3366c522a
chore: update go-libp2p to v0.26 ( #9656 )
...
Co-authored-by: Henrique Dias <hacdias@gmail.com>
2023-02-24 10:34:10 +01:00
Jorropo
f73cd19220
chore: bump go-unixfs to v0.4.3 ( #9643 )
...
Co-authored-by: Henrique Dias <hacdias@gmail.com>
2023-02-23 09:17:01 +01:00
Michael Muré
86da181f7f
feat(pinning): connect some missing go context ( #9557 )
...
Co-authored-by: Henrique Dias <hacdias@gmail.com>
2023-02-22 16:56:59 +01:00
Henrique Dias
4db6ae1772
fix(gateway): return HTTP 500 on ErrResolveFailed ( #9589 )
2023-02-22 03:22:03 +01:00
ElPaisano
714a968faa
docs: bulk spelling edits ( #9544 )
...
Co-authored-by: Jorropo <jorropo.pgm@gmail.com>
Co-authored-by: Steve Loeppky <biglep@protocol.ai>
Co-authored-by: Gus Eggert <gus@gus.dev>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-02-20 23:37:10 +01:00
Jorropo
19feb15833
chore: bump go-libipfs v0.6.0
2023-02-17 22:23:47 +01:00