Commit Graph

14000 Commits

Author SHA1 Message Date
Piotr Galar
958e586ca7
Merge pull request #9791 from ipfs/release-v0.19.1
Release: v0.19.1
2023-04-05 18:14:13 +02:00
galargh
b34c7a367e chore: update changelog for v0.19 2023-04-05 15:52:04 +00:00
galargh
096c783e4b chore: update version 2023-04-05 15:28:47 +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
galargh
249ef363d2 chore: update version 2023-04-04 08:17:18 +00:00
Piotr Galar
1963219586
Merge pull request #9697 from ipfs/release-v0.19.0
Release: v0.19.0
2023-03-20 12:59:53 +01:00
galargh
13865920d8 docs: update changelog 2023-03-20 12:33:11 +01:00
galargh
822106134a chore: update version 2023-03-20 11:15:40 +00: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
a22db797b9 fix: canonicalize user defined headers 2023-03-20 10:05:58 +01:00
Henrique Dias
6cdc3c8a14 fix: apply API.HTTPHeaders to /webui redirect 2023-03-20 10:05:52 +01:00
Gus Eggert
010e22b508 feat: add heap allocs to 'ipfs diag profile' 2023-03-20 10:05:43 +01:00
Henrique Dias
3c35a0cdea chore: bump go-libipfs@v0.6.2 2023-03-20 10:05:29 +01:00
Jorropo
af79d841dc fix: future proof with > rcmgr.DefaultLimit for new enum rcmgr values 2023-03-20 10:05:23 +01:00
Jorropo
383065397d test: add test for presarvation of unlimited configs for inbound systems 2023-03-20 10:05:17 +01:00
Jorropo
6ff764f9fb fix: preserve Unlimited StreamsInbound in connmgr reconciliation
Fixes #9695
2023-03-20 10:05:11 +01:00
Gus Eggert
c78c9886ad test: fix flaky rcmgr test 2023-03-20 10:05:03 +01:00
Jorropo
cc5e1325b4 chore: deprecate the pubsub api
Fixes #9717
2023-03-20 10:04:53 +01:00
Gus Eggert
b4211be7d6 test: port peering test from sharness to Go
This is the slowest test in the sharness test suite, because it has
very long sleeps. It usually takes 2+ minutes to run.

This new impl runs all peering tests in about 20 seconds, since it
polls for conditions instead of sleeping, and runs the tests in
parallel.

This also has an additional test case for a peer that was never online
and then connects.
2023-03-20 10:03:15 +01:00
Eng Zer Jun
5f766619cf test: use T.TempDir to create temporary test directory
This commit replaces `os.MkdirTemp` with `t.TempDir` in tests. The
directory created by `t.TempDir` is automatically removed when the test
and all its subtests complete.

Prior to this commit, temporary directory created using `os.MkdirTemp`
needs to be removed manually by calling `os.RemoveAll`, which is omitted
in some tests. The error handling boilerplate e.g.
	defer func() {
		if err := os.RemoveAll(dir); err != nil {
			t.Fatal(err)
		}
	}
is also tedious, but `t.TempDir` handles this for us nicely.

Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-03-20 10:02:53 +01:00
Laurent Senta
d001ed7451 fix: --verify forgets the verified key 2023-03-20 10:02:46 +01:00
Laurent Senta
6bab5ce37c test: name --verify forgets the verified key 2023-03-20 10:02:39 +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
Gus Eggert
840eaa7599 test: parallelize more of rcmgr Go tests 2023-03-20 10:02:00 +01:00
Gus Eggert
bfa425fc67 test: port legacy DHT tests to Go 2023-03-20 10:01:54 +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
8fe7d779c1 Merge pull request #9696 from ipfs/galargh-patch-2
fix: t0116-gateway-cache.sh
2023-03-20 10:01:38 +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
c30ab94c53 Merge pull request #9689 from ipfs/no-testground
ci: remove disabled testground workflow
2023-03-20 10:01:06 +01:00
Will Hawkins
adcee3e515 fix: typo in documentation for install path
By default, `go install` will install go $GOBIN and not $GOPATH/bin. In
most cases there is no functional difference -- `go install` falls
back to $GOPATH/bin when $GOBIN is empty.
2023-03-20 10:00:48 +01:00
galargh
0f1181d232 chore: update version 2023-03-06 12:30:18 +00:00
Jorropo
7986196414 feat: Reduce RM code footprint
Co-Authored-By: Antonio Navarro Perez <antnavper@gmail.com>
2023-03-06 12:46:58 +01:00
Piotr Galar
d1541e1d30
Merge pull request #9666 from ipfs/galargh-patch-1
ci: ensure new interop suites are executed
2023-03-03 17:50:56 +01: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
Piotr Galar
0cea5be411
Merge branch 'master' into galargh-patch-1 2023-03-02 11:31:04 +01:00
galargh
fe8f72e707 ci: replace junit html generation with gh action 2023-03-02 10:52:23 +01:00
Piotr Galar
e1f38d7567
ci: set sensible timeouts on all gha jobs (#9683) 2023-03-02 10:51:57 +01:00
Marten Seemann
68f4dd4427 chore: update go-libp2p to v0.26.2 2023-03-02 08:48:23 +01:00
Gus Eggert
145795b148 test: port rcmgr sharness tests to Go 2023-02-28 15:34:23 +01:00
Marcin Rataj
cf9276db02
Merge pull request #9657 from laurentsenta/test/sharness-with-car-fixtures
test(gateway): use deterministic CAR fixtures
2023-02-28 14:22:40 +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
baa9d609ec
ci: get rid of interop matrix 2023-02-27 13:18:11 +01:00
Laurent Senta
92a068a82b fix: remove leftover fixtures & notes 2023-02-27 12:16:44 +01:00