Commit Graph

1049 Commits

Author SHA1 Message Date
Marcin Rataj
73c3fd3d15
refactor: move AutoTLS to top level
we have AutoNAT there, and this feature could be extended in the future
to cover user-provided domains and Gateway, so moving it out of Swarm
makes it more future-proof.
2024-10-29 16:23:37 +01:00
Marcin Rataj
e51d907854
fix: p2p-forge/client with newCertmagicConfig
this should fix race condition caused by using certmagic.Default
directly before.
2024-10-29 00:22:24 +01:00
Marcin Rataj
ed7e20171d
chore: rename logger to autotls 2024-10-28 19:30:51 +01:00
Marcin Rataj
e6e0b7a1dc
Merge branch 'master' into feat/libp2p-direct 2024-10-28 19:24:12 +01:00
Marcin Rataj
99b7757e71
refactor: ForgeClient → AutoTLS
addressing UX/DX feedback from Daniel, switching to self-explanatory
configuration section
2024-10-28 19:20:57 +01:00
Marcin Rataj
7eeda1bb6f
docs: apply suggestions from code review
Co-authored-by: Daniel Norman <1992255+2color@users.noreply.github.com>
2024-10-28 18:24:27 +01:00
Andrew Gillis
ecb81c9222
chore: upgrade to boxo v0.24.2 (#10559)
Some checks failed
CodeQL / codeql (push) Has been cancelled
Docker Build / docker-build (push) Has been cancelled
Gateway Conformance / gateway-conformance (push) Has been cancelled
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Has been cancelled
Go Build / go-build (push) Has been cancelled
Go Check / go-check (push) Has been cancelled
Go Lint / go-lint (push) Has been cancelled
Go Test / go-test (push) Has been cancelled
Interop / interop-prep (push) Has been cancelled
Sharness / sharness-test (push) Has been cancelled
Interop / helia-interop (push) Has been cancelled
Interop / ipfs-webui (push) Has been cancelled
* use boxo v0.24.2
* update changelog
2024-10-25 20:59:26 +02:00
Marcin Rataj
21b5c8898b
Merge remote-tracking branch 'origin/master' into feat/libp2p-direct 2024-10-23 02:22:04 +02:00
Marco Munizaga
56c68a1657
refactor: update to go-libp2p v0.37.0 (#10554)
Some checks failed
CodeQL / codeql (push) Has been cancelled
Docker Build / docker-build (push) Has been cancelled
Gateway Conformance / gateway-conformance (push) Has been cancelled
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Has been cancelled
Go Build / go-build (push) Has been cancelled
Go Check / go-check (push) Has been cancelled
Go Lint / go-lint (push) Has been cancelled
Go Test / go-test (push) Has been cancelled
Interop / interop-prep (push) Has been cancelled
Sharness / sharness-test (push) Has been cancelled
Interop / helia-interop (push) Has been cancelled
Interop / ipfs-webui (push) Has been cancelled
https://github.com/libp2p/go-libp2p/releases/tag/v0.37.0

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2024-10-23 01:31:40 +02:00
Andrew Gillis
5399757b9a
chore: upgrade to Boxo v0.24.1 (#10556)
Upgrade to Boxo vX.Y.Z
2024-10-22 16:06:13 -07:00
Marcin Rataj
8913a1c1e5
docs(config): explain what multiaddr is 2024-10-23 00:08:12 +02:00
Andrew Gillis
1fd5ab4c45
chore: update dependencies (#10548)
Some checks are pending
CodeQL / codeql (push) Waiting to run
Docker Build / docker-build (push) Waiting to run
Gateway Conformance / gateway-conformance (push) Waiting to run
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Waiting to run
Go Build / go-build (push) Waiting to run
Go Check / go-check (push) Waiting to run
Go Lint / go-lint (push) Waiting to run
Go Test / go-test (push) Waiting to run
Interop / interop-prep (push) Waiting to run
Interop / helia-interop (push) Blocked by required conditions
Interop / ipfs-webui (push) Blocked by required conditions
Sharness / sharness-test (push) Waiting to run
update dependencies
2024-10-22 11:26:02 -07:00
Andrew Gillis
551ac65b84
chore: update go-unixfsnode (#10553)
minor dependency update
2024-10-21 11:05:32 -07:00
Marcin Rataj
b306f563ba
chore(doc): add toc 2024-10-19 00:25:21 +02:00
Marcin Rataj
538c9bb054
fix: p2p-forge log and debugging
Cleanup to unify the way p2p-forge related things are logged.

Debugging can be enabled by setting environment variable
`GOLOG_LOG_LEVEL="error,p2p-forge/client=debug"`
2024-10-19 00:18:11 +02:00
Marcin Rataj
a03863741e
docs: Swarm.ForgeClient 2024-10-18 21:10:01 +02:00
Marcin Rataj
48896120d1
Merge branch 'master' into feat/libp2p-direct 2024-10-18 17:21:26 +02:00
gammazero
5cc979f15f Create Changelog: v0.32
This PR creates changelog: v0.32
2024-10-16 22:03:21 -10:00
Andrew Gillis
6849e98e74
Merge branch 'master' into merge-release-v0.31.0 2024-10-16 21:34:50 -10:00
Andrew Gillis
61bae0360e
chore: update RELEASE_CHECKLIST.md (#10544)
Some checks are pending
CodeQL / codeql (push) Waiting to run
Docker Build / docker-build (push) Waiting to run
Gateway Conformance / gateway-conformance (push) Waiting to run
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Waiting to run
Go Build / go-build (push) Waiting to run
Go Check / go-check (push) Waiting to run
Go Lint / go-lint (push) Waiting to run
Go Test / go-test (push) Waiting to run
Interop / interop-prep (push) Waiting to run
Interop / helia-interop (push) Blocked by required conditions
Interop / ipfs-webui (push) Blocked by required conditions
Sharness / sharness-test (push) Waiting to run
2024-10-16 22:06:12 +02:00
Andrew Gillis
c488864f93
chore: update RELEASE_CHECKLIST.md (#10542)
Update distribution publishing procedure
2024-10-16 20:03:37 +02:00
gammazero
4aebe7f27b Add full changelog to release changelog
(cherry picked from commit 36f385cfdb)
2024-10-16 05:54:15 -10:00
gammazero
36f385cfdb Add full changelog to release changelog
Some checks are pending
CodeQL / codeql (push) Waiting to run
Docker Build / docker-build (push) Waiting to run
Gateway Conformance / gateway-conformance (push) Waiting to run
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Waiting to run
Go Build / go-build (push) Waiting to run
Go Check / go-check (push) Waiting to run
Go Lint / go-lint (push) Waiting to run
Go Test / go-test (push) Waiting to run
Interop / interop-prep (push) Waiting to run
Interop / helia-interop (push) Blocked by required conditions
Interop / ipfs-webui (push) Blocked by required conditions
Sharness / sharness-test (push) Waiting to run
2024-10-16 05:37:42 -10:00
Marcin Rataj
7ae58bc997
chore: bump p2p-forge client to 65145f8 2024-10-11 23:33:28 +02:00
Marcin Rataj
d5994c1b26
chore: linter fix for deprecated config option 2024-10-11 20:17:12 +02:00
Marcin Rataj
946298b60f
Merge master into feat/libp2p-direct 2024-10-11 19:54:08 +02:00
Marcin Rataj
598545171c fix: go 1.23(.2) (#10540)
go1.23.2 includes potential fix for issue described in
https://github.com/ipfs/kubo/issues/10501

(cherry picked from commit 091bc083c3)
2024-10-08 17:17:58 +02:00
Marcin Rataj
091bc083c3
fix: go 1.23(.2) (#10540)
Some checks failed
CodeQL / codeql (push) Has been cancelled
Docker Build / docker-build (push) Has been cancelled
Gateway Conformance / gateway-conformance (push) Has been cancelled
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Has been cancelled
Go Build / go-build (push) Has been cancelled
Go Check / go-check (push) Has been cancelled
Go Lint / go-lint (push) Has been cancelled
Go Test / go-test (push) Has been cancelled
Interop / interop-prep (push) Has been cancelled
Sharness / sharness-test (push) Has been cancelled
Interop / helia-interop (push) Has been cancelled
Interop / ipfs-webui (push) Has been cancelled
go1.23.2 includes potential fix for issue described in
https://github.com/ipfs/kubo/issues/10501
2024-10-08 17:16:02 +02:00
Marcin Rataj
6b3cd0d14f
chore: typo 2024-10-07 21:52:08 +02:00
Marcin Rataj
38ae2e73b2 chore: go-libp2p v0.36.5 (#10538)
https://github.com/libp2p/go-libp2p/releases/tag/v0.36.5
(cherry picked from commit 00e1f812a2)
2024-10-04 16:47:35 +02:00
Marcin Rataj
00e1f812a2
chore: go-libp2p v0.36.5 (#10538)
Some checks failed
CodeQL / codeql (push) Has been cancelled
Docker Build / docker-build (push) Has been cancelled
Gateway Conformance / gateway-conformance (push) Has been cancelled
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Has been cancelled
Go Build / go-build (push) Has been cancelled
Go Check / go-check (push) Has been cancelled
Go Lint / go-lint (push) Has been cancelled
Go Test / go-test (push) Has been cancelled
Interop / interop-prep (push) Has been cancelled
Sharness / sharness-test (push) Has been cancelled
Interop / helia-interop (push) Has been cancelled
Interop / ipfs-webui (push) Has been cancelled
https://github.com/libp2p/go-libp2p/releases/tag/v0.36.5
2024-10-04 16:32:21 +02:00
Marcin Rataj
52ca370759
feat(routing/http): support IPIP-484 and streaming (#10534) 2024-10-03 22:58:25 +00:00
Andrew Gillis
4566741b22
chore: update changelog and config doc with more info about pebble (#10533)
* Update config doc with more info about Pebble

Provide additional information about some key behaviors that may be useful for deciding what datastore to use.
2024-10-03 15:42:15 -07:00
Andrew Gillis
52b00624cd
feat: pebbleds profile and plugin (#10530)
* include pebble as built-in plugin

Pebble provides a high-performance alternative to leveldb as the datastore, and will serve as a replacement for badger1.

There are a number of tuning parameters available for tuning pebble's performance to your specific needs. Default values are used for any that are not configured or are set to the parameter's zero-value.

Requires https://github.com/ipfs/go-ds-pebble/pull/39

Closes #10347

* docs: remove mention of ipfs-ds-convert. Rationale: https://github.com/ipfs/ipfs-ds-convert/issues/50
* docs: pebbleds profile
* test: meaningful t0025-datastores.sh
* Update config/init.go
* Update docs/config.md
* Do not hard-code zero values into pebble config
2024-10-03 13:58:14 -07:00
Marcin Rataj
1bc773fd8b
chore: dependency updates for 0.31 (#10511)
* chore: client_golang v1.20.4
* chore: go-libp2p-kbucket v0.6.4
* chore: go-libp2p v0.36.4
* chore: go-car/v2 v2.14
* chore: go-ipld-cbor v0.2.0
2024-10-03 22:03:58 +02:00
Andrew Gillis
e1955a8a5a
chore: boxo v0.24.0 and go-libp2p v0.36.4 (#10531)
* Upgrade to Boxo v0.24.0
* Update to boxo release v0.24.0
2024-10-03 21:50:34 +02:00
Marcin Rataj
a8ecf014a9
feat: explicit announce-on/off profiles (#10524)
moving reprovide on/off to separate profile to avoid footgun
where node no longer announces to DHT + ipfs daemon check
that prints warning on start if reprovide system is disabled
2024-10-03 21:39:52 +02:00
Andrew Gillis
9577527329
feat(bitswap): allow configuring WithWantHaveReplaceSize (#10512)
Allow configuration of the bitswap server's replace WantHave with WantBlock maximum block size using the Internal.Bitswap.WantHaveReplaceSize config item. This sets the maximum size of a block in bytes up to which we will replace a want-have with a want-block. Setting a size of 0 disables this replacement and means that block sizes are not read for WantHave requests.

See ipfs/boxo#672 for more details

Updated boxo to version with PR 672

---------

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2024-09-27 20:37:41 -07:00
Marcin Rataj
836d51650d
docs: clarify Gateway.PublicGateways (#10525)
* docs: clarify Gateway.PublicGateways
* docs: caution about reusing domains
2024-09-26 19:31:36 +02:00
Marcin Rataj
43ba17bca2
chore: clarify dep update in RELEASE_CHECKLIST.md (#10518)
Co-authored-by: Andrew Gillis <11790789+gammazero@users.noreply.github.com>
2024-09-26 10:01:05 -07:00
Marcin Rataj
7c9842e5b1
refactor(forge): WithUserAgent + WithForgeAuth 2024-09-20 20:16:26 +02:00
Marcin Rataj
58434ecbd1
docs(config): add useful references 2024-09-20 15:54:41 +02:00
Marcin Rataj
60588afc9e
docs(config): improve profile descriptions (#10517)
* docs(config): improve profile descriptions
* chore: move profiles and types to the end
2024-09-20 15:40:45 +02:00
Marcin Rataj
fe307da094
refactor(config): Swarm.ForgeClient 2024-09-19 00:37:38 +02:00
Adin Schmahmann
ecfc8d9188 chore: update changelog 2024-09-18 17:44:55 -04:00
Adin Schmahmann
ce6d09d4db feat: add ability to automatically acquire WSS certificates using p2p-forge and libp2p.direct 2024-09-18 17:42:57 -04:00
Marcin Rataj
4842d6e547
docs: update RELEASE_CHECKLIST.md (#10496) 2024-09-11 19:06:54 +02:00
Marcin Rataj
3799c32971
chore: create next changelog (#10510) 2024-09-11 19:01:22 +02:00
Marcin Rataj
2b86fa819c
Merge branch 'master' into merge-release-v0.30.0 2024-09-11 18:54:27 +02:00
Marcin Rataj
aa355da338
docs: changelog cleanup 2024-09-11 16:14:50 +02:00