Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.13.0 #9023

Merged
merged 501 commits into from Jun 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
501 commits
Select commit Hold shift + click to select a range
ed0f306
go-ipfs-config: feat: remove strict signing pubsub option.
Stebalien May 20, 2020
00a7c6a
go-ipfs-config: Merge pull request #90 from ipfs/feat/remove-strict-s…
Stebalien May 20, 2020
ca70989
go-ipfs-config: default config: add QUIC listening ports + quic to ma…
RubenKelevra May 21, 2020
c3cd359
go-ipfs-config: Merge pull request #91 from RubenKelevra/feat/default…
Stebalien May 21, 2020
7f51e84
go-ipfs-config: QUIC: remove experimental config option
RubenKelevra May 22, 2020
5f248ac
go-ipfs-config: fix boostrap peers
RubenKelevra May 22, 2020
984de70
go-ipfs-config: Merge pull request #94 from RubenKelevra/fix/bootstra…
Stebalien May 22, 2020
45f2784
go-ipfs-config: Merge pull request #93 from RubenKelevra/feat/quic_re…
Stebalien May 22, 2020
ba2e10a
go-ipfs-config: fix: include key size in key init method
Stebalien May 22, 2020
435b942
go-ipfs-config: Merge pull request #95 from ipfs/fix/key-init-message
Stebalien May 22, 2020
13bcc4d
go-ipfs-config: feat: add peering service config section
Stebalien May 25, 2020
75bde89
go-ipfs-config: doc: improve wording for peering config
Stebalien May 26, 2020
a346451
go-ipfs-config: Merge pull request #96 from ipfs/feat/peering-service
Stebalien May 26, 2020
e69fcd9
go-ipfs-config: feat: add an option for security transport experiments
Stebalien May 26, 2020
3d90053
go-ipfs-config: Merge pull request #97 from ipfs/feat/sec-transport-e…
Stebalien May 26, 2020
9ebfb49
go-ipfs-config: fix: remove group permissions
Stebalien Jun 3, 2020
89e73d9
go-ipfs-config: Merge pull request #98 from ipfs/fix/default-perms
Stebalien Jun 3, 2020
dfe53cd
go-ipfs-config: feat: add flag and priority types
Stebalien Jun 15, 2020
4f3aeb7
go-ipfs-config: feat: add a transports section for enabling/disabling…
Stebalien Jun 15, 2020
57089fd
go-ipfs-config: feat: remove OverrideSecurityTransports
Stebalien Jun 15, 2020
7ce67b8
go-ipfs-config: feat: add WithDefault for flag/priority
Stebalien Jun 16, 2020
0f17ef6
go-ipfs-config: doc(swarm): fix autorelay description
Stebalien Jun 16, 2020
f74d15e
go-ipfs-config: fix: fix type name typo
Stebalien Jun 16, 2020
f55b515
go-ipfs-config: doc(swarm): extend autorelay docs
Stebalien Jun 16, 2020
e26444e
go-ipfs-config: fix typo
Stebalien Jun 16, 2020
5c1b4cd
go-ipfs-config: doc: document Flag.WithDefault
Stebalien Jun 16, 2020
38ad98d
go-ipfs-config: fix: remove undefined support from unmarshal
Stebalien Jun 16, 2020
44e005e
go-ipfs-config: fix: panic on invalid priority/flag values
Stebalien Jun 16, 2020
9e480f6
go-ipfs-config: Merge pull request #102 from ipfs/feat/transports
Stebalien Jun 16, 2020
da97929
go-ipfs-config: error if bit size specified with ed25519 keys (#105)
petar Jul 14, 2020
1ec9262
go-ipfs-config: Add badger2 profile and config spec
gammazero Sep 24, 2020
74dcf42
go-ipfs-config: Remove badger2 profile
gammazero Nov 24, 2020
d445c0c
go-ipfs-config: Merge pull request #115 from ipfs/chore/rm-badger2
aschmahmann Nov 24, 2020
06fe967
go-ipfs-config: add remote pinning services config
aschmahmann Dec 4, 2020
d643a2b
go-ipfs-config: go fmt
aschmahmann Dec 4, 2020
ba6b029
go-ipfs-config: Merge pull request #113 from ipfs/petar/remotepin
aschmahmann Dec 8, 2020
2690c10
go-ipfs-config: add support for pinning mfs (#116)
aschmahmann Jan 28, 2021
f5fb70e
go-ipfs-config: remove duplicate entries in defaultServerFilters
RubenKelevra Mar 24, 2021
8a8b161
go-ipfs-config: add custom DNS Resolver configuration
vyzo Apr 12, 2021
28553d7
go-ipfs-config: simplify DNS config
vyzo Apr 13, 2021
f264de4
go-ipfs-config: update comments
vyzo Apr 13, 2021
c932e6b
go-ipfs-config: add default empty config for DNS, rename struct from …
vyzo Apr 14, 2021
4b1ae41
go-ipfs-config: Merge pull request #126 from ipfs/feat/custom-resolver
vyzo Apr 15, 2021
67456e2
go-ipfs-config: Add config for downloading repo migrations
gammazero Apr 17, 2021
5e6df6f
go-ipfs-config: unit test for migration config
gammazero Apr 18, 2021
98052e9
go-ipfs-config: Merge pull request #121 from RubenKelevra/patch-1
aschmahmann Apr 19, 2021
ec1659d
go-ipfs-config: Init migration config with empty values
gammazero Apr 20, 2021
dbb5fa7
go-ipfs-config: Fix comment
gammazero Apr 20, 2021
4b778ce
go-ipfs-config: Removed Peers from migration config
gammazero May 3, 2021
f7b64b3
go-ipfs-config: Merge pull request #128 from ipfs/feat/migration-config
Stebalien May 3, 2021
22d2b6b
go-ipfs-config: add option for Accelerated DHT Client experiment
aschmahmann Apr 5, 2021
fc761b1
go-ipfs-config: Merge pull request #125 from ipfs/feat/experimental-d…
aschmahmann May 14, 2021
e7bb833
go-ipfs-config: [LINT] error strings should not end with punctuation …
mburns May 14, 2021
b14afc2
go-ipfs-config: Merge pull request #131 from ipfs/fix-staticcheck
marten-seemann May 14, 2021
8f09fa5
go-ipfs-config: run gofmt -s
web3-bot May 17, 2021
ea17b50
go-ipfs-config: Merge pull request #132 from ipfs/web3-bot/sync
marten-seemann May 17, 2021
c692e73
go-ipfs-config: fix: remove deprecated calls
Stebalien Jul 22, 2021
d00f8a1
go-ipfs-config: Merge pull request #138 from ipfs/fix/deprecation
Stebalien Jul 22, 2021
7c1029c
go-ipfs-config: fix: make sure the Priority type properly implements …
aschmahmann Aug 11, 2021
ac81804
go-ipfs-config: feat: add an OptionalInteger type
aschmahmann Aug 16, 2021
4429117
go-ipfs-config: feat: add Internal and Internal.Bitswap config options
petar Jul 23, 2021
2cf170d
go-ipfs-config: feat: add an OptionalDuration type (#148)
marten-seemann Oct 27, 2021
9eaf572
go-ipfs-config: feat: pubsub and ipns pubsub flags (#145)
jwh Oct 27, 2021
cdaa222
go-ipfs-config: feat: OptionalString type and UnixFSShardingSizeThres…
aschmahmann Oct 28, 2021
ba9d9f6
go-ipfs-config: fix: String method on the OptionalString (#153)
marten-seemann Oct 29, 2021
d226879
go-ipfs-config: feat: Swarm.RelayService (circuit v2) (#146)
marten-seemann Nov 13, 2021
dcf17eb
go-ipfs-config: improve AutoRelay configuration, add config option fo…
marten-seemann Nov 14, 2021
bf3a2ca
go-ipfs-config: set Swarm.EnableAutoRelay to omitempty
marten-seemann Nov 15, 2021
aefce5a
go-ipfs-config: refactor: AutoRelay → RelayClient
lidel Nov 15, 2021
1b4502c
go-ipfs-config: Merge pull request #154 from ipfs/static-relays
aschmahmann Nov 15, 2021
7fe155c
go-ipfs-config: feat: add a flag to enable the hole punching service …
marten-seemann Nov 16, 2021
5ca8226
go-ipfs-config: chore: update comment to match struct
lidel Nov 18, 2021
d50960f
go-ipfs-config: chore: omitempty Experimental.ShardingEnabled (#158)
lidel Nov 23, 2021
ded27a5
go-ipfs-config: feat: omitempty Swarm.EnableRelayHop for circuit v1 m…
marten-seemann Nov 23, 2021
a6008f0
go-ipfs-config: feat: add Addresses.AppendAnnounce (#135)
Jorropo Nov 23, 2021
da35610
chore: update version to v0.13.0-dev
aschmahmann Dec 13, 2021
4d94e19
chore: use common ipfs/*-actions in sync-release-assets (#8609)
galargh Dec 15, 2021
6dfd2da
Fix typo
McSinyx Dec 26, 2021
91c5265
Merge pull request #8625 from ipwhl/master
Stebalien Dec 27, 2021
2a871ef
docs: add Snap note about customizing IPFS_PATH (#8584)
guseggert Jan 6, 2022
14046d0
test: restore ipfs-interop (#8613)
lidel Jan 12, 2022
7e4fcbb
Fixed typos in docs/config.md
SomajitDey Dec 4, 2021
562365f
Adding PowerShell to Minimal Go Installation
shotah Dec 17, 2021
4403946
docs: fix typo
siiky Dec 30, 2021
bc7ddef
fix(ci): interop test parallelism (#8674)
lidel Jan 17, 2022
32eb6e3
fix(ci): faster gobuild job
lidel Jan 19, 2022
9a0bd0f
go-ipfs-config: feat: add DNS.MaxCacheTTL for DNS-over-HTTPS resolver…
thibmeu Jan 20, 2022
4ad3168
docs: update badger section in config.md (#8662)
lidel Jan 28, 2022
74e6436
go-ipfs-config: docs: updated flatfs/badger profile helptext (#167)
lidel Jan 28, 2022
fcd3f49
chore: test go-ipfs-as-a-library against both current and go.mod version
shushen Feb 3, 2022
012be8a
chore: bump to go-ipfs@0.11 in go-ipfs-as-a-library
shushen Feb 3, 2022
cde79df
Merge pull request #8713 from shushen/8700-example-updates
aschmahmann Feb 3, 2022
fe788ca
feat(cmds): add cleartext PEM/PKCS8 for key import/export (#8616)
schomatis Feb 10, 2022
556c038
chore(deps): bump go.uber.org/zap from 1.19.1 to 1.21.0 (#8721)
dependabot[bot] Feb 10, 2022
a494f48
feat(cmds): ipfs id: support --offline option (#8626)
schomatis Feb 10, 2022
a93907a
feat: DNS.MaxCacheTTL for DNS-over-HTTPS resolvers (#8615)
thibmeu Feb 10, 2022
f9643a6
docs: optionalInteger|String|Duration (#8729)
lidel Feb 10, 2022
ebf8671
chore: update go-path
aschmahmann Feb 10, 2022
4f3eb4c
feat: log multifetcher errors
guseggert Feb 10, 2022
b1ffc87
feat: refactor Fetcher interface used for downloading migrations (#8728)
aschmahmann Feb 11, 2022
62979db
Merge pull request #8684 from ipfs/fix/faster-ci-gobuild
Stebalien Feb 12, 2022
0216bae
docker: build for arm cpu (#8633)
odanado Feb 15, 2022
edb32ac
chore(gateway): debug logging for the http requests (#8518)
Feb 15, 2022
e93d6fb
feat: warn user when 'pin remote add' while offline (#8621)
rukolahasser Feb 15, 2022
898065e
chore(cmds): encapsulate ipfs rm logic in another function (#8574)
schomatis Feb 15, 2022
ef63822
fix(build): Recognize Go Beta versions in makefile (#8677)
NatoBoram Feb 15, 2022
b2efcf5
Fix typos (#8726)
rex4539 Feb 15, 2022
a049ba9
fix: installation without sudo (#8715)
vmx Feb 16, 2022
5922eab
chore(deps): bump go.uber.org/fx from 1.15.0 to 1.16.0 (#8681)
dependabot[bot] Feb 16, 2022
3342362
fix(ci): testground workflow hanging indefinitely (#8741)
galargh Feb 18, 2022
b565374
Merge branch 'release'
aschmahmann Feb 18, 2022
9f6cd22
docs(changelog): update v0.12.0 release notes
aschmahmann Feb 18, 2022
bfa9d3d
feat(cmd): add silent option for repo gc (#7147)
will7200 Feb 18, 2022
686993f
docs: add Internal.UnixFSShardingSizeThreshold (#8723)
aschmahmann Feb 18, 2022
3ea5631
fix(cmds/keystore): do not allow to import keys we don't generate (#8…
schomatis Feb 18, 2022
ec46f1e
fix prioritization of stream muxers
marten-seemann Feb 25, 2022
3674b66
add a test case for libp2p option prioritization
marten-seemann Feb 28, 2022
da08ace
Merge pull request #8750 from ipfs/fix-muxer-prios
Stebalien Feb 28, 2022
10ff11b
chore: add instructions for Chocolatey release
guseggert Mar 1, 2022
caba3b2
feat: X-Ipfs-Roots for smarter HTTP caches (#8720)
lidel Mar 1, 2022
d5ad847
feat: ipfs-webui v2.15 (#8712)
lidel Mar 1, 2022
7bb3bfb
Bubble ErrNotFound improvements
hsanjuan Mar 2, 2022
eb86f36
Fix sharness for new not found error messages
hsanjuan Mar 2, 2022
04048f4
Try to fix sharness error
hsanjuan Mar 2, 2022
6c6830c
Fix sharness
hsanjuan Mar 2, 2022
e1d1444
fix(fsrepo): deep merge when setting config
kylehuntsman Mar 3, 2022
783092e
Merge remote-tracking branch 'config/master' into feat/add-back-ipfs-…
laurentsenta Mar 4, 2022
c9cf47d
config: remove go-ipfs-config code
laurentsenta Feb 25, 2022
8d549f0
fix: rewrite dependencies over the go-ipfs-config package
laurentsenta Mar 2, 2022
6379013
ci: tweak example testing to pass with internal config package
laurentsenta Mar 3, 2022
a09b6c2
fix(repo/common): improve MapGetKV not found error
kylehuntsman Mar 8, 2022
83b3ec4
Merge pull request #8756 from laurentsenta/feat/add-back-ipfs-config
lidel Mar 9, 2022
be3dbc2
fix(discovery): fix daemon not starting due to mdns startup failure (…
godcong Mar 9, 2022
816a128
fix: listen on loopback for API and gateway ports in docker-compose.y…
guseggert Mar 9, 2022
eafa1c7
docs: note the default reprovider strategy as all (#8603)
aschmahmann Mar 10, 2022
199659a
fix(cmds): option for progress bar in cat/get (#8686)
schomatis Mar 11, 2022
0487f03
feat: add endpoint for enabling block profiling (#8469)
guseggert Mar 11, 2022
04e7e95
feat(cmds): extend block size check for dag|block put (#8751)
schomatis Mar 11, 2022
7612827
unroll setConfigUnsynced
schomatis Mar 15, 2022
5e1b224
feat: add full goroutine stack dump (#8790)
guseggert Mar 16, 2022
bc33ed4
Update PATCH_RELEASE_TEMPLATE.md
guseggert Mar 16, 2022
3c09c26
remove todo
schomatis Mar 16, 2022
519863e
fix(core/node): unwrap fx error in node construction
schomatis Jan 5, 2022
e14f580
Merge pull request #8638 from ipfs/schomatis/fix/core/node/unwrap-fx-…
schomatis Mar 16, 2022
6774ef9
fix: allow ipfs-companion browser extension to access RPC API (#8690)
meandavejustice Mar 16, 2022
4cabdfe
feat(gateway): Block and CAR response formats (#8758)
lidel Mar 17, 2022
7c2033f
chore: update deps
Jorropo Mar 17, 2022
09aed2d
Merge pull request #8757 from ipfs/feat/err-not-found
Jorropo Mar 17, 2022
6c6a550
Fix typos
rex4539 Mar 13, 2022
943187d
ErrNotFound changes: bubble tagged libraries.
hsanjuan Mar 18, 2022
0dabcc2
Merge pull request #8803 from ipfs/bubble-err-not-found
hsanjuan Mar 19, 2022
beaa8fc
feat: add gateway histogram metrics (#8443)
aschmahmann Mar 21, 2022
f62bd64
allow config to fail as we have no empty default
schomatis Mar 21, 2022
c854390
Merge pull request #8793 from ipfs/kylehuntsman/fix/repo/omitempty-error
schomatis Mar 22, 2022
a61c53f
feat(cmds): document deprecated RPC API commands (#8802)
lidel Mar 22, 2022
d02e4aa
CI: force running go-ipfs-http-client and go-ipfs-api tests
Jorropo Mar 24, 2022
d13a09a
remove unused import (#8787)
Omicron166 Mar 25, 2022
d928870
fix(core/commands): do not cache config (#8824)
schomatis Mar 27, 2022
d6de97b
docs: gateway.md (#8825)
lidel Mar 28, 2022
46c3689
feat: re-enable docker sharness tests (#8808)
guseggert Mar 30, 2022
5fa5569
fix(gw): validate requested CAR version (#8835)
lidel Apr 1, 2022
e36f28d
chore: bump go-ipld-format v0.4.0 and fix related sharness tests
Jorropo Mar 31, 2022
f72110c
fix: use error instead of strings as error in blockstoreutil/remove
Jorropo Mar 31, 2022
ac297a8
chore: block/blockstoreutil remove unused ProcRmOutput function
Jorropo Apr 1, 2022
282ac7f
fix(cli): ipfs add with multiple files of same name (#8493)
schomatis Apr 3, 2022
f855bfe
feat: add basic gateway tracing (#8595)
guseggert Apr 4, 2022
4df7b79
Merge pull request #8838 from Jorropo/fix/ErrNotFound-hopefully-final
Jorropo Apr 5, 2022
5ae4752
chore: deprecate tar commands (#8849)
lidel Apr 6, 2022
e309682
fix: unknown fetcher type error (#8830)
lidel Apr 6, 2022
7b2c7c7
docs(logging): environment variables (#8833)
Apr 6, 2022
dd06dd0
chore: add CODEOWNERS (#8852)
lidel Apr 6, 2022
7871a0b
feat(cmds): add support for CAR v2 imports (#8854)
lidel Apr 7, 2022
514411b
feat: opt-in Swarm.ResourceMgr (go-libp2p v0.18) (#8680)
marten-seemann Apr 8, 2022
5d71216
feat: detect changes in go-libp2p-resource-manager (#8857)
lidel Apr 8, 2022
d18f1f7
Merge branch 'release'
aschmahmann Apr 8, 2022
fbf7666
fix(gw): update metrics only when payload data sent (#8827)
iand Apr 8, 2022
e1c8d78
chore: update deps (#8859)
aschmahmann Apr 8, 2022
52bf133
fix(gw): missing return if dir fails to finalize (#8806)
makew0rld Apr 8, 2022
9bd346e
fix: fix context plumbing in gateway handlers (#8871)
guseggert Apr 11, 2022
9210c08
Remove gobindata
frankywahl Mar 31, 2022
70398d2
Change `assets.Asset` from a `func` to the embed.FS
frankywahl Apr 11, 2022
ca4a3ed
fix: assets: correctly use the argument err in the WalkDirFunc Hashin…
Jorropo Apr 12, 2022
bb68a68
feat: port collect-profiles.sh to 'ipfs diag profile' (#8786)
guseggert Apr 12, 2022
63b0025
feat(docker): /container-init.d for advanced initialization (#6577)
Caian Apr 12, 2022
9470fa3
Use testground-github-action from testground
galargh Apr 14, 2022
8a1dc33
Merge pull request #8884 from ipfs/testground
galargh Apr 14, 2022
e07baf5
chore(gw): extract logical functions to improve readability (#8885)
Apr 15, 2022
d59730f
Update Go version to 1.17 (#8815)
aschmahmann Apr 15, 2022
67fdb6e
feat(gw): improved If-None-Match support (#8891)
lidel Apr 19, 2022
7b5fe80
fix(cmds): CIDv1 and correct multicodecs in 'block put' and 'cid code…
schomatis Apr 21, 2022
fd7af6a
chore: update go-libp2p-asn-util to make it init faster
Jorropo Apr 21, 2022
76ae33a
chore: deprecate /api/v0/dns (#8893)
lidel Apr 21, 2022
7162a63
chore: improve new issue links (#8874)
lidel Apr 22, 2022
6817fd4
feat(cmds): allow to set the configuration file path
schomatis Jan 3, 2022
447462b
use --repo-dir in sharness/t0020-init.sh
schomatis Mar 25, 2022
e172ad2
--config-file test in sharness/t0021-config.sh
schomatis Mar 25, 2022
d6077b8
Merge pull request #8634 from ipfs/schomatis/feat/cmds/use-custom-con…
schomatis Apr 22, 2022
967bd69
feat(tracing): use OpenTelemetry env vars where possible (#8875)
guseggert Apr 25, 2022
d4879a4
fix: build after Go 1.17 and Prometheus upgrades (#8916)
guseggert Apr 27, 2022
74aff24
feat: persist limits to Swarm.ResourceMgr.Limits (#8901)
guseggert Apr 28, 2022
6815293
chore: mark 'log tail' experimental (#8912)
lidel Apr 28, 2022
ae15fcd
chore&fix: panic/error handling while enumerating pins
lidel Apr 15, 2022
4e2028d
fix(cmds): add: reject files with different import dir
schomatis Apr 5, 2022
232ccb4
feat: relay v2 discovery (go-libp2p v0.19.0) (#8868)
marten-seemann Apr 28, 2022
4f7d4bc
docs: replace all git.io links with their actual URLs
SukkaW Apr 28, 2022
25cc85f
feat(gateway): Gateway.FastDirIndexThreshold (#8853)
schomatis Apr 28, 2022
6f4fc1a
ci: add more golang strictness checks
aschmahmann May 3, 2022
1f37a14
go fmt
aschmahmann May 3, 2022
0d74f32
Merge pull request #8931 from ipfs/ci/add-more-checks
aschmahmann May 3, 2022
be1acfa
chore: update go-libp2p
aschmahmann May 3, 2022
7ad6447
feat: enable hole-punching by default
aschmahmann May 3, 2022
346fd9d
fix: when the relay client is disabled and hole punching is left in i…
aschmahmann May 3, 2022
185971b
fix: add info log indicating that hole punching has been disabled whe…
aschmahmann May 3, 2022
126ebc4
Merge pull request #8748 from ipfs/feat/dcutr-hole-punching-on-by-def…
aschmahmann May 3, 2022
cab6927
docs: Swarm.ResourceMgr.Limits
lidel Apr 28, 2022
afd11f1
chore: fix linting errors (#8930)
ajnavarro May 4, 2022
0f8a1a3
chore: Update test/dependencies to match go-ipfs dependencies. (#8928)
ajnavarro May 4, 2022
3d52775
feat: enable Resource Manager by default
guseggert May 4, 2022
0ab4367
docs(tracing): update env var docs for new tracing env vars
guseggert May 4, 2022
34aac1e
chore: update deps
aschmahmann May 4, 2022
8ec5718
chore: build with go 1.18.1
aschmahmann May 3, 2022
ff832cb
docker: disable buildvcs for docker builds
aschmahmann May 4, 2022
6d2f790
chore: update example deps
aschmahmann May 4, 2022
2052809
Merge pull request #8932 from ipfs/chore/update-go-build-version
aschmahmann May 4, 2022
00c4a0c
Merge pull request #8941 from ipfs/docs/0.13.0-changelog
aschmahmann May 4, 2022
8c5fefa
Release v0.13.0-rc1
aschmahmann May 4, 2022
f6586af
fix: use path instead of filepath for asset embeds to support Windows
aschmahmann May 4, 2022
62c64c1
Add instructions to resolve repo migration error (#8946)
2color May 6, 2022
51fc526
Merge pull request #8934 from ajnavarro/fix/install-on-mac-m1-monterey
ajnavarro May 6, 2022
38c5dba
Merge pull request #8947 from RubenKelevra/patch-7
schomatis May 6, 2022
a7048c4
pubsub multibase encoding (#8933)
TMoMoreau May 6, 2022
a6dc7af
fix(ci): fix flaky t0081-repo-pinning.sh (#8919)
lidel May 6, 2022
93cad3b
ci: disable workflows in forks
galargh May 6, 2022
ec6e6f8
fix: go-libp2p 0.19.2 with holepunch fixup (#8966)
lidel May 12, 2022
d8d7c21
Merge pull request #8965 from ipfs/schomatis/fix/disable-rcmg-checks
schomatis May 12, 2022
5a1ca27
chore: mark fuse experimental (#8962)
lidel May 12, 2022
57706f2
fix: hanging goroutine in get fileArchive handler
Jorropo May 13, 2022
1adb6ea
docs: fix abstractions typo
siiky May 13, 2022
4449909
fix: JS caching via Access-Control-Expose-Headers (#8984)
lidel May 19, 2022
cb72776
feat: log when resource manager limits are exceeded (#8980)
guseggert May 19, 2022
bf06e54
fix(ci): make go-ipfs-as-a-library work without external peers (#8978)
ajnavarro May 25, 2022
8dffa84
chore: update go-libp2p to v0.19.3 (#8990)
marten-seemann Jun 1, 2022
87fca8f
fix: adjust rcmgr limits for accelerated DHT client rt refresh (#8982)
guseggert Jun 2, 2022
0fe75d6
feat: disable resource manager by default (#9003)
guseggert Jun 2, 2022
a1a729c
docs: fix typo in the `swarm/peering` help text
siiky Jun 3, 2022
7449a4b
feat: upgrade to go-libp2p-kad-dht@v0.16.0 (#9005)
guseggert Jun 3, 2022
85e3fa6
chore: upgrade to go-libp2p v0.19.4
guseggert Jun 3, 2022
6e1de05
chore: bump Go to 1.18.3 (#9021)
aschmahmann Jun 8, 2022
5614523
docs: v0.13.0 release notes
guseggert Jun 8, 2022
3b88b44
Release v0.13.0
guseggert Jun 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
53 changes: 37 additions & 16 deletions .circleci/main.yml
Expand Up @@ -32,11 +32,12 @@ default_environment: &default_environment
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
GIT_PAGER: cat
IPFS_CHECK_RCMGR_DEFAULTS: 1

executors:
golang:
docker:
- image: cimg/go:1.16.15
- image: cimg/go:1.18.3
working_directory: ~/ipfs/go-ipfs
environment:
<<: *default_environment
Expand All @@ -61,14 +62,15 @@ executors:
E2E_IPFSD_TYPE: go
dockerizer:
docker:
- image: cimg/go:1.16.15
- image: cimg/go:1.18.3
environment:
IMAGE_NAME: ipfs/go-ipfs
WIP_IMAGE_TAG: wip

jobs:
gobuild:
executor: golang
resource_class: 2xlarge+
steps:
- checkout
- *make_out_dirs
Expand Down Expand Up @@ -106,7 +108,10 @@ jobs:
command: bash <(curl -s https://codecov.io/bash) -cF unittests -X search -f coverage/unit_tests.coverprofile
- run:
command: |
# we want to test the examples against the current version of go-ipfs
# we want to first test with the go-ipfs in the go.mod file
go test -v ./...

# we also want to test the examples against the current version of go-ipfs
# however, that version might be in a fork so we need to replace the dependency

# backup the go.mod and go.sum files to restore them after we run the tests
Expand All @@ -116,11 +121,18 @@ jobs:
# make sure the examples run against the current version of go-ipfs
go mod edit -replace github.com/ipfs/go-ipfs=./../../..
go mod tidy

# use the internal config package when we test the current version of go-ipfs
sed -i.bak 's;"github.com/ipfs/go-ipfs-config";"github.com/ipfs/go-ipfs/config";' ./main.go

go test -v ./...

# restore the go.mod and go.sum files to their original state
mv go.mod.bak go.mod
mv go.sum.bak go.sum

# restore the main.go to its original state
mv main.go.bak main.go
working_directory: ~/ipfs/go-ipfs/docs/examples/go-ipfs-as-a-library

- run:
Expand All @@ -143,15 +155,15 @@ jobs:
working_directory: ~/ipfs/go-ipfs
environment:
<<: *default_environment
TEST_NO_DOCKER: 1
TEST_NO_DOCKER: 0
TEST_NO_FUSE: 1
TEST_VERBOSE: 1
steps:
- run: sudo apt update
- run: |
mkdir ~/localgo && cd ~/localgo
wget https://golang.org/dl/go1.16.15.linux-amd64.tar.gz
tar xfz go1.16.15.linux-amd64.tar.gz
wget https://golang.org/dl/go1.18.3.linux-amd64.tar.gz
tar xfz go1.18.3.linux-amd64.tar.gz
echo "export PATH=$(pwd)/go/bin:\$PATH" >> ~/.bashrc
- run: go version
- run: sudo apt install socat net-tools
Expand All @@ -166,7 +178,7 @@ jobs:
git checkout FETCH_HEAD
- run:
cd rb-pinning-service-api &&
docker-compose pull &&
(for i in {1..3}; do docker-compose pull && break || sleep 5; done) &&
docker-compose up -d

- *make_out_dirs
Expand Down Expand Up @@ -217,33 +229,43 @@ jobs:
- *store_gomod
interop:
docker:
- image: cimg/go:1.16-node
- image: cimg/go:1.18.3-node
parallelism: 4
resource_class: large
steps:
- *make_out_dirs
- attach_workspace:
at: /tmp/circleci-workspace
- restore_cache:
keys:
- v1-interop-{{ .Branch }}-{{ .Revision }}
- v1-interop-{{ .Branch }}-
- v1-interop-
- run:
name: Installing dependencies
command: |
npm init -y
npm install ipfs@^0.61.0
npm install ipfs-interop@^8.0.0
npm install ipfs-interop@^8.0.10
npm install mocha-circleci-reporter@0.0.3
working_directory: ~/ipfs/go-ipfs/interop
- run:
name: Running tests
command: |
mkdir -p /tmp/test-results/interop/
export MOCHA_FILE="$(mktemp /tmp/test-results/interop/unit.XXXXXX.xml)"
npx ipfs-interop -- -t node -f $(sed -n -e "s|^require('\(.*\)')$|test/\1|p" node_modules/ipfs-interop/test/node.js | circleci tests split) -- --reporter mocha-circleci-reporter
npx ipfs-interop -- -t node -f $(sed -n -e "s|^import '\(.*\)'$|test/\1|p" node_modules/ipfs-interop/test/node.js | circleci tests split --split-by=timings) -- --reporter mocha-circleci-reporter
working_directory: ~/ipfs/go-ipfs/interop
environment:
LIBP2P_TCP_REUSEPORT: false
LIBP2P_ALLOW_WEAK_RSA_KEYS: 1
IPFS_GO_EXEC: /tmp/circleci-workspace/bin/ipfs
- store_test_results:
path: /tmp/test-results
- save_cache:
key: v1-interop-{{ .Branch }}-{{ .Revision }}
paths:
- ~/ipfs/go-ipfs/interop/node_modules
go-ipfs-api:
executor: golang
steps:
Expand Down Expand Up @@ -271,7 +293,7 @@ jobs:
- v1-go-api-{{ checksum "~/ipfs/go-ipfs/go-ipfs-api/go.sum" }}
- v1-go-api-
- run:
command: go test -v ./...
command: go test -count=1 -v ./...
working_directory: ~/ipfs/go-ipfs/go-ipfs-api
- save_cache:
key: v1-go-api-{{ checksum "~/ipfs/go-ipfs/go-ipfs-api/go.sum" }}
Expand All @@ -292,18 +314,15 @@ jobs:
command: |
git clone https://github.com/ipfs/go-ipfs-http-client.git
git -C go-ipfs-http-client log -1
cd go-ipfs-http-client
git checkout v0.2.0
cd ..
- restore_cache:
keys:
- v1-http-client-{{ checksum "~/ipfs/go-ipfs/go-ipfs-http-client/go.sum" }}
- v1-http-client-
- run:
name: go test -v ./...
name: go test -count=1 -v ./...
command: |
export PATH=/tmp/circleci-workspace/bin:$PATH
go test -v ./...
go test -count=1 -v ./...
working_directory: ~/ipfs/go-ipfs/go-ipfs-http-client
- save_cache:
key: v1-http-client-{{ checksum "~/ipfs/go-ipfs/go-ipfs-http-client/go.sum" }}
Expand All @@ -329,6 +348,7 @@ jobs:
name: Installing dependencies
command: |
npm install
npx playwright install
working_directory: ~/ipfs/go-ipfs/ipfs-webui
- run:
name: Running upstream tests (finish early if they fail)
Expand All @@ -344,6 +364,7 @@ jobs:
- save_cache:
key: v1-ipfs-webui-{{ checksum "~/ipfs/go-ipfs/ipfs-webui/package-lock.json" }}
paths:
- ~/.cache/ms-playwright
- ~/ipfs/go-ipfs/ipfs-webui/node_modules
# We only run build as a test here. DockerHub images are built and published
# by Github Action now: https://github.com/ipfs/go-ipfs/pull/8467
Expand Down
2 changes: 2 additions & 0 deletions .dockerignore
Expand Up @@ -5,6 +5,8 @@ Dockerfile.fast
!.git/refs/
!.git/packed-refs
test/sharness/lib/sharness/
test/sharness/trash*
rb-pinning-service-api/

# The Docker client might not be running on Linux
# so delete any compiled binaries
Expand Down
7 changes: 7 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
@@ -0,0 +1,7 @@
# Code owners are automatically requested for review when someone opens a pull
# request that modifies code that they own. Code owners are not automatically
# requested to review draft pull requests.

# HTTP Gateway
core/corehttp/ @lidel
test/sharness/*gateway*.sh @lidel
10 changes: 5 additions & 5 deletions .github/ISSUE_TEMPLATE/config.yml
Expand Up @@ -4,14 +4,14 @@ contact_links:
url: https://ipfs.io/help
about: All information about how and where to get help on IPFS.
- name: Go-ipfs configuration reference
url: https://github.com/ipfs/go-ipfs/blob/master/docs/config.md
url: https://github.com/ipfs/go-ipfs/blob/master/docs/config.md#readme
about: Documentation on the different configuration settings
- name: Go-ipfs experimental features docs
url: https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md
url: https://github.com/ipfs/go-ipfs/blob/master/docs/experimental-features.md#readme
about: Documentation on Private Networks, Filestore and other experimental features.
- name: HTTP API Reference
url: https://docs.ipfs.io/reference/http/api/#api-v0-add
about: Documentation of all go-ipfs HTTP API endpoints.
- name: RPC API Reference
url: https://docs.ipfs.io/reference/http/api/
about: Documentation of all go-ipfs RPC API endpoints.
- name: IPFS Official Forum
url: https://discuss.ipfs.io
about: Please post general questions, support requests, and discussions here.
2 changes: 2 additions & 0 deletions .github/workflows/codeql-analysis.yml
Expand Up @@ -2,6 +2,7 @@
name: "CodeQL"

on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
Expand All @@ -12,6 +13,7 @@ on:

jobs:
analyze:
if: github.repository == 'ipfs/go-ipfs' || github.event_name == 'workflow_dispatch'
name: Analyze
runs-on: ubuntu-latest

Expand Down
28 changes: 22 additions & 6 deletions .github/workflows/docker-image.yml
Expand Up @@ -11,24 +11,40 @@ on:

jobs:
push_to_registry:
if: github.repository == 'ipfs/go-ipfs' || github.event_name == 'workflow_dispatch'
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
env:
IMAGE_NAME: ipfs/go-ipfs
WIP_IMAGE_TAG: wip
steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Build wip Docker image
run: docker build -t $IMAGE_NAME:$WIP_IMAGE_TAG .
- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Get tags
id: tags
run: |
TAGS="$(./bin/get-docker-tags.sh $(date -u +%F))"
TAGS="${TAGS//$'\n'/'%0A'}"
echo "::set-output name=value::$(echo $TAGS)"
shell: bash

- name: Log in to Docker Hub
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Publish Docker Image to Docker Hub
run: ./bin/push-docker-tags.sh $(date -u +%F)

- name: Build Docker image and publish to Docker Hub
uses: docker/build-push-action@v2
with:
platforms: linux/amd64,linux/arm/v7,linux/arm64/v8
context: .
push: true
file: ./Dockerfile
tags: "${{ steps.tags.outputs.value }}"
37 changes: 37 additions & 0 deletions .github/workflows/golang-analysis.yml
@@ -0,0 +1,37 @@
on: [push, pull_request]
name: Go Checks

jobs:
unit:
runs-on: ubuntu-latest
name: All
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-go@v2
with:
go-version: "1.18.x"
- name: Check that go.mod is tidy
uses: protocol/multiple-go-modules@v1.2
with:
run: |
go mod tidy
if [[ -n $(git ls-files --other --exclude-standard --directory -- go.sum) ]]; then
echo "go.sum was added by go mod tidy"
exit 1
fi
git diff --exit-code -- go.sum go.mod
- name: gofmt
if: always() # run this step even if the previous one failed
run: |
out=$(gofmt -s -l .)
if [[ -n "$out" ]]; then
echo $out | awk '{print "::error file=" $0 ",line=0,col=0::File is not gofmt-ed."}'
exit 1
fi
- name: go vet
if: always() # run this step even if the previous one failed
uses: protocol/multiple-go-modules@v1.2
with:
run: go vet ./...
35 changes: 4 additions & 31 deletions .github/workflows/sync-release-assets.yml
Expand Up @@ -11,40 +11,13 @@ concurrency:

jobs:
sync-github-and-dist-ipfs-io:
if: github.repository == 'ipfs/go-ipfs' || github.event_name == 'workflow_dispatch'
runs-on: "ubuntu-latest"
steps:
- name: Setup go
uses: actions/setup-go@v2
- uses: ipfs/download-ipfs-distribution-action@v1
- uses: ipfs/start-ipfs-daemon-action@v1
with:
go-version: '1.16'
- uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build go-ipfs binary
run: go install github.com/ipfs/go-ipfs/cmd/ipfs@latest
- name: Initialize go-ipfs and start daemon
run: |
sudo sysctl -w net.core.rmem_max=2500000
ipfs init --profile flatfs,server
ipfs daemon --enable-gc=false &
while (! ipfs id --api "/ip4/127.0.0.1/tcp/5001"); do sleep 1; done
- name: Wait for go-ipfs to be ready
shell: pwsh
run: |
for ($i = 0; $i -lt 10; $i++) {
$addrs = ipfs id | jq .Addresses;
if ($addrs -eq "null") {
sleep 1
} else {
echo "Successfully started the daemon"
exit 0
}
}
args: --init --init-profile=flatfs,server --enable-gc=false
- uses: actions/setup-node@v2
with:
node-version: 14
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/testground-on-push.yml
@@ -1,10 +1,14 @@
---
name: Testground PR Checker

on: [push]
on:
workflow_dispatch:
push:


jobs:
testground:
if: github.repository == 'ipfs/go-ipfs' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
name: ${{ matrix.composition_file }}
strategy:
Expand All @@ -25,7 +29,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: testground run
uses: coryschwartz/testground-github-action@v1.1
uses: testground/testground-github-action@v1
timeout-minutes: 5
with:
backend_addr: ${{ matrix.backend_addr }}
backend_proto: ${{ matrix.backend_proto }}
Expand Down