Andrew Gillis
a26aee1a11
Upgrade to Boxo v0.27.2 ( #10672 )
...
* Upgrade to Boxo v0.27.2
2025-01-22 18:19:04 -08:00
Andrew Gillis
fcfdbfb32e
Upgrade to Boxo v0.27.1 ( #10671 )
...
* Upgrade to Boxo v0.27.1
* update changelog
* use tagged release of boxo
2025-01-22 13:22:27 -08:00
Marcin Rataj
256a739e3b
fix(autotls): renewal and AutoTLS.ShortAddrs ( #10669 )
...
* fix(autotls): renewal and AutoTLS.ShortAddrs
updates to p2p-forge/client with fix from
https://github.com/ipshipyard/p2p-forge/pull/42
we also add AutoTLS.ShortAddrs flag and enable it by default
to benefit from shorter addrs discusses in
https://github.com/ipshipyard/p2p-forge/pull/40
* test: fix flaky NewRandPort
reducing chance of bind: address already in use
2025-01-22 17:26:15 +01:00
Andrew Gillis
22466fa051
Upgrade to go-ds-pebble v0.4.2 ( #10667 )
...
Upgrade pebble to v1.1.4
2025-01-21 23:51:40 -08:00
Andrew Gillis
332a9484eb
Upgrade to Boxo v0.27.0 ( #10665 )
...
* Upgrade to Boxo v0.27.0
2025-01-21 13:27:50 -08:00
Andrew Gillis
104b661134
update dependencies ( #10664 )
2025-01-21 13:00:32 -08:00
Marcin Rataj
b021a00bf6
fix(dns): update default DNSLink resolvers ( #10655 )
...
* fix(dns): update default DNSLink resolvers
Depends on
- https://github.com/ipfs/boxo/pull/781
- https://github.com/ipfs/boxo/pull/782
* chore: latest boxo main and go-doh-resolver v0.5.0
makes error message better, informing which URL failled
* chore: p2p-forge v0.2.1+
this removes acmez/v2 and fixes go vet
* chore: latest boxo with DoH fixes
commit from main branch that includes:
https://github.com/ipfs/boxo/pull/645
https://github.com/ipfs/boxo/pull/782
https://github.com/ipfs/boxo/pull/781
2025-01-14 22:21:47 +01:00
Marcin Rataj
5f8dd91c3c
chore: p2p-forge v0.2.2 + go-libp2p-kad-dht v0.28.2 ( #10663 )
...
* chore: p2p-forge v0.2.2
https://github.com/ipshipyard/p2p-forge/releases/tag/v0.2.2
* chore: go-libp2p-kad-dht v0.28.2
https://github.com/libp2p/go-libp2p-kad-dht/releases/tag/v0.28.2
2025-01-14 00:36:54 +01:00
Andrew Gillis
b7cc47aef5
fix/gateway: escape directory redirect url ( #10649 )
...
* fix/gateway: escape directory redirect URLs
When a director gets redirected to a URL with a treailing slash, special chars in the directory name must be escaped in the redirect URL. This upgrades to a version of box that has that fix.
Closes #10536
* Fix sharness test for new redirect URLs
* Update to latest boxo
* Use latest gateway-conformance
2025-01-03 16:37:18 -08:00
Adin Schmahmann
397c346ae0
feat(libp2p): shared TCP listeners and AutoTLS.AutoWSS ( #10565 )
...
* feat(libp2p): enable shared TCP listeners
* docs: switch mentions of /ws to /tcp/4001
* feat: AutoTLS.AutoWSS
This adds AutoTLS.AutoWSS flag that is set to true by default.
It will check if Addresses.Swarm contain explicit /ws listener,
and if not found, it will append one per every /tcp listener
This way existing TCP ports are reused without any extra configuration,
but we don't break user's who have custom / explicit /ws listener
already.
I also moved logger around, to include Addresses.Swarm inspection
results in `autotls` logger.
* chore: go-libp2p v0.38.1
https://github.com/libp2p/go-libp2p/releases/tag/v0.38.0
https://github.com/libp2p/go-libp2p/releases/tag/v0.38.1
* docs: AutoTLS.AutoWSS and go-libp2p v0.38.x
* chore: p2p-forge/client v0.2.0
https://github.com/ipshipyard/p2p-forge/releases/tag/v0.2.0
* fix: disable libp2p.ShareTCPListener() in PNET
* chore(ci): timeout sharness after 15m
average successful run is <9 minutes, no need to wait for 20
https://github.com/ipfs/kubo/actions/workflows/sharness.yml?query=is%3Asuccess
---------
Co-authored-by: Andrew Gillis <11790789+gammazero@users.noreply.github.com >
Co-authored-by: Marcin Rataj <lidel@lidel.org >
2024-12-20 18:41:25 +01:00
Hector Sanjuan
519ae27dce
feat: expose BlockKeyCacheSize and enable WriteThrough datastore options ( #10614 )
...
* feat: expose BlockKeyCacheSize and enable WriteThrough when bloom filter disabled
* import/config: add BatchMaxSize and BatchMaxNodes
* config: make BlockKeyCacheSize an OptionalInteger
* config: add and wire datastore.WriteThrough option
* config: omitempty on BlockKeyCacheSize
* changelog: rewrite entry about new options for the datastore
* config: add docs for BatchMaxNodes and BatchMaxSize
* config: make WriteThrough an optional Flag
* changelog: improve description of new datastore/import options
* refactor: DefaultWriteThrough as bool
* chore: boxo v0.26.0
* docs: config and changelog fixes
2024-12-19 23:12:05 +00:00
Andrew Gillis
7c49860061
Upgrade to Boxo v0.26.0 ( #10631 )
...
* Upgrade to Boxo v0.26.0
* Update docs/changelogs/v0.33.md
2024-12-19 13:54:02 -08:00
Andrew Gillis
335a27820d
Merge branch 'master' into update-nopfs
2024-12-13 02:16:57 -10:00
gammazero
09d5789946
mod tidy examples
2024-12-13 02:16:38 -10:00
Andrew Gillis
b42eb5a8f9
Update deps ( #10624 )
2024-12-13 04:12:55 -08:00
Andrew Gillis
19dc712498
chore: boxo v0.25.0 ( #10619 )
...
https://github.com/ipfs/boxo/releases/tag/v0.25.0
2024-12-09 23:25:44 +01:00
Andrew Gillis
224d6a3ba4
refactor(cmds): do not return errors embedded in result type ( #10527 )
...
incl. https://github.com/ipfs/boxo/pull/738
2024-12-03 20:15:33 +01:00
Marcin Rataj
3b2c2698e7
chore: p2p-forge/client v0.1.0 ( #10605 )
2024-11-27 19:28:11 +01:00
Marcin Rataj
23ef1d70e7
fix: go-libp2p v0.37.2 ( #10603 )
...
* chore: go-libp2p v0.37.1
https://github.com/libp2p/go-libp2p/releases/tag/v0.37.1
* chore: go-libp2p v0.37.2
https://github.com/libp2p/go-libp2p/releases/tag/v0.37.2
2024-11-26 19:49:02 +01:00
Hector Sanjuan
37c5060742
Update to boxo with refactored providerQueryManager. ( #10595 )
2024-11-26 03:34:06 -08:00
Andrew Gillis
3a1b8eed0f
refactor: update to boxo without goprocess ( #10567 )
...
* chore: update to boxo without goprocess
* Use boxo fix for registering metrics
* chore: switch to boxo main with PR 723
---------
Co-authored-by: Marcin Rataj <lidel@lidel.org >
2024-11-19 18:04:22 +01:00
Marcin Rataj
83b06f14d2
fix: go-libp2p-kad-dht v0.28.1 ( #10581 )
...
https://github.com/libp2p/go-libp2p-kad-dht/releases/tag/v0.28.1
2024-11-15 17:50:18 +01:00
Marcin Rataj
e80e821cf8
fix: go-libp2p-kad-dht v0.28.0 ( #10578 )
...
https://github.com/libp2p/go-libp2p-kad-dht/releases/tag/v0.28.0
2024-11-13 23:57:44 +01:00
Marcin Rataj
1512ec5fa5
chore: boxo v0.24.3 and p2p-forge v0.0.2 ( #10572 )
...
https://github.com/ipfs/boxo/releases/tag/v0.24.3
https://github.com/ipshipyard/p2p-forge/releases/tag/v0.0.2
2024-11-07 03:33:50 +01:00
Andrew Gillis
4009ad3e5a
chore: stop using go-homedir ( #10568 )
...
* chore: stop using go-homedir
The `github.com/mitchellh/go-homedir` repo is archived, no longer needed, and no longer maintained.
- `homedir.Dir` is replaced by the stdlib `os.UserHomeDir`
- `homedir.Expand` is replaced by fsutil.ExpandHome` in the `github.com/ipfs/kubo/misc/fsutil` package.
Additional functionality, such as `DirWritable` and `FileExists` was moved into or included in the `github.com/ipfs/kubo/misc/fsutil` package.
2024-11-05 07:45:11 -08:00
Adin Schmahmann
d4ae7fa812
chore: update deps ( #10569 )
2024-11-04 20:24:34 +01:00
Adin Schmahmann
3134fd246e
feat(AutoTLS): opt-in WSS certs from p2p-forge at libp2p.direct ( #10521 )
...
Co-authored-by: Marcin Rataj <lidel@lidel.org >
2024-10-29 22:37:33 +01:00
Andrew Gillis
ecb81c9222
chore: upgrade to boxo v0.24.2 ( #10559 )
...
* use boxo v0.24.2
* update changelog
2024-10-25 20:59:26 +02:00
Marco Munizaga
56c68a1657
refactor: update to go-libp2p v0.37.0 ( #10554 )
...
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
Andrew Gillis
1fd5ab4c45
chore: update dependencies ( #10548 )
...
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
091bc083c3
fix: go 1.23(.2) ( #10540 )
...
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
00e1f812a2
chore: go-libp2p v0.36.5 ( #10538 )
...
https://github.com/libp2p/go-libp2p/releases/tag/v0.36.5
2024-10-04 16:32:21 +02: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
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
6454bdb4ea
chore: boxo v0.23.0 and go-libp2p v0.36.3 ( #10507 )
...
https://github.com/libp2p/go-libp2p/releases/tag/v0.36.3
https://github.com/ipfs/boxo/releases/tag/v0.23.0
2024-09-05 23:52:19 +02:00
Marcin Rataj
23ca1ddab1
fix: switch back to go 1.22 ( #10502 )
...
Switching back until https://github.com/ipfs/kubo/issues/10501 is resolved.
2024-09-02 23:39:16 +02:00
Marcin Rataj
2260e35df2
chore: upgrade to go 1.23 ( #10486 )
...
* chore: upgrade to go 1.23
https://tip.golang.org/doc/go1.23
* refactor: golangci-lint v1.60.2
2024-08-28 18:56:45 +02:00
Andrew Gillis
add45cf34c
chore: update go-unixfsnode, cmds, and boxo ( #10494 )
...
* Update go-unixfsnode dependency
* Update go-ipfs-cmds
* chore: boxo@main with boxo#659
---------
Co-authored-by: Marcin Rataj <lidel@lidel.org >
2024-08-28 02:41:45 +02:00
Marcin Rataj
ca95b637ab
chore: go-libp2p-kad-dht v0.26.1 ( #10488 )
...
* chore: go-libp2p-kad-dht v0.26.1
https://github.com/libp2p/go-libp2p-kad-dht/releases/tag/v0.26.1
* fix(ci): helia-interop from pr fix
https://github.com/ipfs/helia/pull/584
2024-08-21 23:56:55 +02:00
Marcin Rataj
330818582d
chore: update go-ipfs-cmds and boxo ( #10485 )
...
* chore: go-ipfs-cmds v0.12.0
https://github.com/ipfs/go-ipfs-cmds/releases/tag/v0.12.0
* chore: boxo main with boxo#649
https://github.com/ipfs/boxo/pull/649
2024-08-21 18:10:41 +02:00
Andrew Gillis
263edb251e
feat: Support storing UnixFS 1.5 Mode and ModTime ( #10478 )
...
Co-authored-by: Marcin Rataj <lidel@lidel.org >
2024-08-21 02:02:46 +02:00
Marcin Rataj
c8007dd242
fix: go-libp2p v0.36.2 ( #10483 )
...
https://github.com/libp2p/go-libp2p/releases/tag/v0.36.2
2024-08-19 14:43:49 +02:00
Marcin Rataj
fc31f9c211
chore: boxo v0.22.0 ( #10469 )
2024-08-07 01:14:26 +02:00
Marcin Rataj
feef0851bd
feat: go-libp2p 0.36 and /webrtc-direct listener ( #10463 )
...
Co-authored-by: Marco Munizaga <git@marcopolo.io >
2024-08-06 21:25:27 +02:00
Marcin Rataj
749a61bae2
chore: update dependencies ( #10462 )( #10466 )
...
* chore: go get -u
* fix(gateway): return 404 in no-fetch contexts (#10466 )
applies and tests fix from https://github.com/ipfs/boxo/pull/630
2024-07-30 16:42:18 +02:00
Marcin Rataj
f08d585a5a
chore: update deps incl. boxo v0.21.0 ( #10444 )
...
* chore: update dependencies
* refactor: go lint
* chore: boxo v0.21.0
https://github.com/ipfs/boxo/releases/tag/v0.21.0
2024-06-21 02:57:36 +02:00