Commit Graph

14050 Commits

Author SHA1 Message Date
galargh
ceed43ea0e chore: clean up after circleci removal 2023-03-21 14:57:14 +01:00
galargh
7b9819e526 ci: remove circleci config 2023-03-21 14:57:11 +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
Piotr Galar
08dcb28866
Merge pull request #9742 from ipfs/changelog-v0.20
Create Changelog: v0.20
2023-03-20 19:46:29 +01:00
galargh
1f36e3dbe6 chore: create next changelog 2023-03-20 16:35:00 +00:00
Piotr Galar
77a64f0829
Merge pull request #9741 from ipfs/merge-release-v0.19.0
Merge Release: v0.19.0
2023-03-20 17:34:06 +01: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
Piotr Galar
624846fc15
Merge pull request #9739 from Jorropo/fix/changelog
fix: remove outdated changelog part
2023-03-20 13:25:23 +01: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
Jorropo
c9fc10dafc fix: remove outdated changelog part 2023-03-20 12:23:16 +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
75998d3b6d
Merge pull request #9707 from ipfs/changelog-0.19
docs: 0.19 changelog
2023-03-20 11:45:02 +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
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
ed671e8489 fix: canonicalize user defined headers 2023-03-17 23:40:35 +01:00
Henrique Dias
63b2a0e069
fix: apply API.HTTPHeaders to /webui redirect 2023-03-17 15:14:10 +01:00
Gus Eggert
23b5abfb7a feat: add heap allocs to 'ipfs diag profile' 2023-03-17 10:09:33 -04:00
Henrique Dias
51eabd46da chore: bump go-libipfs@v0.6.2 2023-03-16 14:12:36 -04:00
Jorropo
a3b417779c fix: future proof with > rcmgr.DefaultLimit for new enum rcmgr values 2023-03-16 13:41:24 +01:00
Jorropo
8b05cf05b0 test: add test for presarvation of unlimited configs for inbound systems 2023-03-16 13:41:24 +01:00
Jorropo
e870dcdc0e fix: preserve Unlimited StreamsInbound in connmgr reconciliation
Fixes #9695
2023-03-16 13:41:24 +01:00
Gus Eggert
684d9dc79f test: fix flaky rcmgr test 2023-03-15 22:45:56 -04:00
Piotr Galar
4a6c8d59bf
Merge pull request #9719 from ipfs/go-test-sum
feat: publish html report and test summary from gotest
2023-03-15 10:12:29 +01:00
Jorropo
1f5763f787 chore: deprecate the pubsub api
Fixes #9717
2023-03-15 04:42:02 +01:00
Henrique Dias
5b9442cfed
Revert "chore: add hamt directory sharding test"
This reverts commit d23702bbf8.
2023-03-14 13:53:17 +01:00