Commit Graph

742 Commits

Author SHA1 Message Date
Henrique Dias
c178c51835
fix: deadlock on retrieving WebTransport addresses (#9857)
Co-authored-by: Marco Polo <git@marcopolo.io>
2023-05-08 16:11:03 +02:00
Marcin Rataj
196b5c16c0
docs(config): remove mentions of relay v1 (#9860)
Context: https://github.com/ipfs/interop/pull/592
2023-05-08 14:20:51 +02:00
Laurent Senta
a6f446a4ba
test: deterministic ipns fixtures during sharness gateway tests (#9667) 2023-05-03 15:01:13 +02:00
Henrique Dias
6fa79e3d3a
Merge branch 'master' into merge-release-v0.19.2 2023-05-03 12:57:21 +02:00
Henrique Dias
347ad061f4
docs: add changelog for v0.19.2 2023-05-03 09:00:41 +02:00
Henrique Dias
e4908a0163
chore: bump to boxo 0.8.1 (#9836) 2023-04-25 10:47:28 +02:00
Henrique Dias
366546aae2
docs: add ipfs pubsub deprecation reminder to changelog (#9827) 2023-04-25 09:55:40 +02:00
Marco Munizaga
78895a1184
deps: bump go-libp2p to v0.27.1 (#9816)
Co-authored-by: Jorropo <jorropo.pgm@gmail.com>
2023-04-14 09:09:51 +00:00
Steve Loeppky
0d38c369fd
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-13 13:59:08 +00:00
Henrique Dias
f7cab554f9
feat: boxo tracing and traceparent support (#9811)
https://www.w3.org/TR/trace-context/
https://github.com/ipfs/bifrost-gateway/issues/68
2023-04-11 23:51:02 +00:00
Marten Seemann
3c363eb658 update go-libp2p to v0.27.0 2023-04-06 23:15:33 +02:00
Dennis Trautwein
cb2e109e4d docs: add optimistic provide feature description 2023-04-06 16:49:46 -04:00
Gus Eggert
0e55ca9377 feat: add experimental optimistic provide
This adds the ability to enable "optimistic provide" to the default
DHT client, which enables faster provides and reprovides.

For more information about optimistic provide, see:

https://protocollabs.notion.site/Optimistic-Provide-2c79745820fa45649d48de038516b814

Note that this feature only works when using non-custom router
types. This does not include the ability to enable optimistic provide
on custom routers for now, to minimize the footprint of this
experimental feature. We intend on continuing to test this and improve
the UX, which may or may not involve adding configuration for it to
custom routers. We also plan on refactoring/redesigning custom routers
more broadly so I don't want this to add more effort for maintainers
and confusion for users.
2023-04-06 16:49:46 -04:00
Henrique Dias
c6a59c9cc1
feat(tracing): use OTEL_PROPAGATORS as per OTel spec (#9801) 2023-04-06 16:36:15 +02:00
Henrique Dias
1958510b3e
docs: fix jaeger command (#9797) 2023-04-06 11:30:20 +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
7cff6b9359
chore: upgrade boxo to v0.8.0 (#9793) 2023-04-05 16:48:39 +00:00
galargh
b34c7a367e chore: update changelog for v0.19 2023-04-05 15:52:04 +00:00
Piotr Galar
0ec22f4add
chore: update deps after v0.19.0 release (#9744)
Co-authored-by: Henrique Dias <hacdias@gmail.com>
2023-04-05 12:02:20 +00:00
Jorropo
486c583293 chore: bump go-blockservice to v0.5.1 2023-04-04 18:57:54 +02:00
Gus Eggert
e80dadd1a4 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-04-04 10:23:55 +02:00
Jorropo
0fad74c619 chore: update go-libp2p to v0.26.4 2023-04-04 10:22:05 +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
Marcin Rataj
d1713ca28e
feat(gw): new metrics and HTTP range support (#9786)
Co-authored-by: Henrique Dias <hacdias@gmail.com>
2023-04-03 08:17:07 +00:00
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