Commit Graph

780 Commits

Author SHA1 Message Date
Steve Loeppky
0aa23b3ed8 fix: clarity: no user supplied rcmgr limits of 0 (#9563)
Co-authored-by: Antonio Navarro Perez <antnavper@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-01-23 12:05:24 +01:00
Henrique Dias
14703e19e3 fix(gateway): undesired conversions to dag-json and friends (#9566)
* fix(gateway): do not convert unixfs/raw into dag-* unless explicit
* fix(gateway): keep only dag-json|dag-cbor handling
* fix: allow requesting dag-json as application/json
- adds bunch of additional tests including JSON file on UnixFS
- fix: dag-json codec (0x0129) can be returned as plain json
- fix: json codec (0x0200) cna be retrurned as plain json
* fix: using ?format|Accept with CID w/ codec works
* docs(changelog): cbor and json on gateway

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-01-23 12:05:18 +01:00
Jorropo
486c4b5256 fix: ensure connmgr is smaller then autoscalled ressource limits
Fixes #9545
2023-01-23 12:05:02 +01:00
Jorropo
0ae3285a76 docs: clarify browser descriptions for webtransport 2023-01-23 12:04:50 +01:00
Marcin Rataj
7bcca5fcd4 fix: User-Agent sent to HTTP routers
See https://github.com/ipfs/go-libipfs/issues/17
and https://github.com/ipfs/go-libipfs/pull/31
2023-01-23 12:04:25 +01:00
Antonio Navarro Perez
89cdd8264f docs: improve docs/README (#9539)
Avoid confusion about what kind of documentation we have on this folder.
2023-01-23 12:02:37 +01:00
Henrique Dias
4ddeda55c0 chore: migrate from go-ipfs-files to go-libipfs/files (#9535) 2023-01-23 12:01:20 +01:00
Antonio Navarro Perez
2759a229c7 fix: stats dht command when Routing.Type=auto (#9538)
Fixes default auto mode, but Routing.Type=custom needs more work.
Continued in https://github.com/ipfs/kubo/issues/9482
2023-01-23 12:01:02 +01:00
Jorropo
5138e7ba07 fix: hint people to changing from RSA peer ids 2023-01-23 12:00:42 +01:00
Antonio Navarro Perez
04931b042d docs(config): ProviderSearchDelay (#9526)
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2023-01-23 11:58:38 +01:00
Vladimir Ivanov
26edc75eaa docs: clarify debug environment variables 2023-01-23 11:58:03 +01:00
galargh
faaac6e4cd chore: combined improvements from v0.18.0-rc2 2023-01-04 18:59:21 +01:00
Marten Seemann
15ed4c1c02 fix: update go-libp2p to v0.24.2 (#9522)
https://github.com/libp2p/go-libp2p/releases/tag/v0.24.2
2023-01-04 09:45:53 +01:00
Piotr Galar
e44a4d9228 Merge pull request #9503 from ipfs/docs/early-testers-remove-qri
Removing QRI from early tester
2023-01-04 09:43:00 +01:00
Antonio Navarro Perez
d6069b93ee
fix: disable provide over HTTP with Routing.Type=auto (#9511)
Closes https://github.com/ipfs/kubo/issues/9504
2023-01-03 21:10:33 +01:00
Piotr Galar
7db059b493
Update RELEASE_ISSUE_TEMPLATE.md 2022-12-13 22:09:55 +01:00
Piotr Galar
fe542db061
docs: add more automation commands to the release template 2022-12-13 16:55:20 +01:00
Piotr Galar
1ca3ea4a53
docs: enrich release issue template with initial set of mage commands 2022-12-13 10:58:37 +01:00
Piotr Galar
5dcd9ad14b
Update docs/changelogs/v0.18.md 2022-12-13 09:29:57 +01:00
Steve Loeppky
861c3f803a Cleaned up content 2022-12-12 21:55:55 -08:00
Steve Loeppky
e1f5cf53b6 Reodered sections and updated titles 2022-12-12 21:12:50 -08:00
Steve Loeppky
477c97ccf1 Added autogenerated TOC 2022-12-12 18:00:46 -08:00
Steve Loeppky
9ddfbcf7fe Add resource manager to changelog 2022-12-12 17:58:15 -08:00
Jorropo
ffb635d797
Merge pull request #9492 from ipfs/default-webtransport
feat: turn on WebTransport by default
2022-12-12 22:57:09 +01:00
Jorropo
16d189b8b8 feat: turn on WebTransport by default
Fixes #9292
2022-12-12 21:56:55 +01:00
Henrique Dias
7bdb341132
feat: fast directory listings with DAG Size column (#9481)
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-12-12 21:45:13 +01:00
Marcin Rataj
3a3a97100c feat: go-libp2p-kad-dht with expiration 48h
https://github.com/libp2p/go-libp2p-kad-dht/releases/tag/v0.20.0
(cherry picked from commit f31d524d14)
2022-12-12 03:47:17 +01:00
Jorropo
deacafd178 chore: update go-libp2p to v0.24.1 2022-12-12 03:47:17 +01:00
Jorropo
f08b439d48 update go-libp2p to v0.24.0 2022-12-12 03:47:17 +01:00
Marcin Rataj
70e604ff99
feat: Routing.Type=auto (DHT+IPNI) (#9475)
This changes the default routing to use both DHT and IPNI
at the same time. Closes #9454 Closes #9422

Full context:
https://github.com/ipfs/kubo/issues/9454
https://github.com/ipfs/kubo/issues/9422

Co-authored-by: Steve Loeppky <biglep@protocol.ai>
Co-authored-by: Gus Eggert <gus@gus.dev>
Co-authored-by: Steve Loeppky <biglep@protocol.ai>
2022-12-08 23:20:24 +01:00
Marcin Rataj
1f636400aa
feat: adjust ConnMgr target to 32-96 (#9483)
https://github.com/ipfs/kubo/pull/9483#issuecomment-1343067553
2022-12-08 21:45:32 +01:00
Mikel Cortes
72bad5c060
feat: increase default Reprovider.Interval (#9326)
* increase republish interval based on RFM17
* refactor(config): switch to implicit default

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-12-08 21:28:40 +01:00
Kubo Mage
71b098e25f 'docs: update RELEASE_ISSUE_TEMPLATE.md' 2022-12-08 15:25:33 +00:00
Steve Loeppky
01e0bfa359
docs: libp2p resource management (#9468)
Co-authored-by: Antonio Navarro Perez <antnavper@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-12-08 16:18:04 +01:00
Gus Eggert
5e5d15ae1e
chore: upgrade libipfs for routing HTTP API schema changes (#9477) 2022-12-07 17:34:00 -05:00
Marcin Rataj
e0e4741fe0 feat: lower connection pool 2022-12-07 23:00:00 +01:00
Antonio Navarro Perez
7a8639ee33 Apply suggestions from code review
Co-authored-by: Steve Loeppky <biglep@protocol.ai>
2022-12-07 16:47:37 +01:00
Antonio Navarro Perez
22a03bda6d Increase MaxMemory param to use half of total memory.
Previously it was using 1/8 of the total memory.

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 16:47:37 +01:00
Antonio Navarro Perez
3185dee22a Update libipfs dependency. 2022-12-07 16:34:59 +01:00
Antonio Navarro Perez
f0d720cd55 Update go-libipfs dep
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 16:34:59 +01:00
Antonio Navarro Perez
7f5adb5e07 Add sharness tests and documentation 2022-12-07 16:34:59 +01:00
Antonio Navarro Perez
df828c0a47 feature: delegated-routing: Add HTTP delegated routing.
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 16:34:59 +01:00
Gus Eggert
b9a4d4592d chore: migrate ipfs/tar-utils to libipfs 2022-12-05 21:28:30 -05:00
Henrique Dias
fdd19656c4
feat(gateway): JSON and CBOR response formats (IPIP-328) (#9335)
https://github.com/ipfs/kubo/pull/9335
https://github.com/ipfs/specs/pull/328

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-12-05 20:22:26 +01:00
Jorropo
4d4841f41c
Merge pull request #9318 from ipfs/rvagg/go-merkledag-0.8 2022-12-05 15:15:12 +01:00
Piotr Galar
b84e296b6f
Merge branch 'master' into docs-release-v0.17.0 2022-12-05 10:03:47 +01:00
Piotr Galar
928105865c
Apply suggestions from code review 2022-12-05 10:02:15 +01:00
galargh
5ff08e4e18 docs: update top comment in release issue template 2022-12-05 09:58:15 +01:00
galargh
4d1d0b7eed docs: remove raw release issue template automation notes 2022-12-05 09:58:15 +01:00
galargh
345c58ff7a docs: ensure the changelogs are correctly linked 2022-12-05 09:52:43 +01:00
galargh
a1a7c987b0 docs: update examples in release issue teamplate 2022-12-05 09:50:10 +01:00
galargh
2c2926b7ab docs: parameterise release issue template 2022-12-05 09:47:25 +01:00
Antonio Navarro Perez
5283c6f8b5 chore: Update go-routing-helpers dependency
It will avoid a deadlock when using parallel router to compose routers.

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-02 13:42:28 -05:00
Rod Vagg
7d0ea08289
deps: go-merkledag@v0.8.1 2022-12-02 10:16:15 +11:00
Mohsin Zaidi
51f60ea05a
feat(config): Pubsub.SeenMessagesTTL (#9372)
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-11-29 00:05:44 +01:00
Marcin Rataj
3b00c81c8d docs: remove snap and chocolatey packages
See
https://github.com/ipfs/kubo/issues/8688
https://github.com/ipfs/kubo/issues/9341
2022-11-28 15:55:57 +01:00
galargh
227641a309 Merge remote-tracking branch 'origin/master' into merge-release-v0.17.0 2022-11-23 10:56:34 +01:00
Russell Dempsey
a32128d1d3
docs: ipfs-http-client -> kubo-rpc-client (#9331)
Fixes https://github.com/ipfs/js-kubo-rpc-client/issues/35

Co-authored-by: Steve Loeppky <stvn@loeppky.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-11-22 23:19:27 +01:00
galargh
d007b2ae38 docs: udpate changelog 2022-11-22 13:20:20 +01:00
Steve Loeppky
039badf3b2
Update config.md for resource management limits (#9421) 2022-11-18 18:51:12 +01:00
Steve Loeppky
83034d840c Doc improvements and changelog for resource manager (#9413)
Co-authored-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-11-16 13:09:12 +01:00
Steve Loeppky
6f730dc268
Doc improvements and changelog for resource manager (#9413)
Co-authored-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-11-16 11:26:59 +01:00
Steve Loeppky
9eeca82269 Revert "Doc improvements for rcmgr"
This reverts commit b1a89c93e4.
2022-11-16 08:32:24 +00:00
Steve Loeppky
b1a89c93e4 Doc improvements for rcmgr
This was done taking a fresh look for someone learning about
the resource manager being enabled by default.

Moved and expanded documentation to the right places for more visibility.

Added an initial changelog entry.
2022-11-16 08:06:23 +00:00
Antonio Navarro Perez
6f5e226de6 fix: update go-unixfs lib to v0.4.1
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-11-15 21:51:43 +01:00
Antonio Navarro Perez
1127a15aeb fix: update go-unixfs lib to v0.4.1
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-11-15 21:51:11 +01:00
Marcin Rataj
db3d1cd8e1 fix(docs): typo 2022-11-15 21:36:10 +01:00
Marcin Rataj
13b9a62ae5 docs: document /wss fixes in 0.17 2022-11-15 21:34:45 +01:00
Lucas Molas
65365192f7 refactor(config): remove Swarm.ConnMgr defaults
This moves defaults to Kubo code, cleaning up config.
If value is in config, we assume it is an explicit choice made by user.
Makes migrations easier.
2022-11-15 21:34:38 +01:00
Marcin Rataj
a4e47b0db4 docs: document /wss fixes in 0.17 2022-11-15 20:36:11 +01:00
Lucas Molas
e34c0da2b5 refactor(config): remove Swarm.ConnMgr defaults
This moves defaults to Kubo code, cleaning up config.
If value is in config, we assume it is an explicit choice made by user.
Makes migrations easier.
2022-11-15 20:26:59 +01:00
galargh
7b79f69c78 docs: internal testing as code 2022-11-15 18:18:25 +01:00
Antonio Navarro Perez
e58cde1789
docs: Deprecate Reframe on docs. (#9401) 2022-11-15 17:01:08 +01:00
galargh
341c2ab460 docs: create a final issue for bifrost (TODO) 2022-11-15 14:09:15 +01:00
galargh
350f58e581 docs: add instructions on how to complete RC via CLI 2022-11-15 14:07:21 +01:00
tabcat
2479cc163a
docs: replace tabcat with aphelionz in EARLY_TESTERS.md (#9404)
I no longer maintain OrbitDB.
2022-11-14 18:11:55 +01:00
Jorropo
8cca21ad27 docs: fix spoiler for 0.13.1 changelog 2022-11-11 00:51:28 +00:00
Steve Loeppky
9fafe50fae
Update RELEASE_ISSUE_TEMPLATE.md
Making some changes that am seeing so far.  Some of these changes are so I can leave PR comments.
2022-11-10 15:28:45 -08:00
Marcin Rataj
fd1a8f2cec
fix(docs): typo 2022-11-11 00:05:02 +01:00
Antonio Navarro Perez
9da7f3a02d
Update to v0.23.4
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-11-10 10:49:08 -05:00
Antonio Navarro Perez
3550758035
chore: Update go-libp2p to v0.23.3
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-11-10 10:48:07 -05:00
galargh
3e104db9af docs: update header in release issue template 2022-11-10 14:03:10 +01:00
Antonio Navarro Perez
254d81a9d5
feat: Improve ResourceManager UX (#9338)
This PR adds several new functionalities to make easier the usage of ResourceManager:

- Now resource manager logs when resources are exceeded are on ERROR instead of warning.
- The resources exceeded error now shows what kind of limit was reached and the scope.
- When there was no limit exceeded, we print a message for the user saying that limits are not exceeded anymore.
- Added `swarm limit all` command to show all set limits with the same format as `swarm stats all`
- Added `min-used-limit-perc` option to `swarm stats all` to only show stats that are above a specific percentage
- Simplify a lot default values.
- **Enable ResourceManager by default.**

Output example:
```
2022-11-09T10:51:40.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
2022-11-09T10:51:50.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 483095 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
2022-11-09T10:51:50.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
2022-11-09T10:52:00.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 455294 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
2022-11-09T10:52:00.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
2022-11-09T10:52:10.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 471384 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
2022-11-09T10:52:10.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
2022-11-09T10:52:20.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 8 times with error "peer:12D3KooWKqcaBtcmZKLKCCoDPBuA6AXGJMNrLQUPPMsA5Q6D1eG6: cannot reserve inbound stream: resource limit exceeded".
2022-11-09T10:52:20.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 192 times with error "peer:12D3KooWPjetWPGQUih9LZTGHdyAM9fKaXtUxDyBhA93E3JAWCXj: cannot reserve inbound stream: resource limit exceeded".
2022-11-09T10:52:20.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 469746 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
2022-11-09T10:52:20.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
2022-11-09T10:52:30.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 484137 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
2022-11-09T10:52:30.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 29 times with error "peer:12D3KooWPjetWPGQUih9LZTGHdyAM9fKaXtUxDyBhA93E3JAWCXj: cannot reserve inbound stream: resource limit exceeded".
2022-11-09T10:52:30.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
2022-11-09T10:52:40.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 468843 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
2022-11-09T10:52:40.566+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
2022-11-09T10:52:50.566+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 366638 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
2022-11-09T10:52:50.566+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
2022-11-09T10:53:00.566+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 405526 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
2022-11-09T10:53:00.566+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 107 times with error "peer:12D3KooWQZQCwevTDGhkE9iGYk5sBzWRDUSX68oyrcfM9tXyrs2Q: cannot reserve inbound stream: resource limit exceeded".
2022-11-09T10:53:00.566+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
2022-11-09T10:53:10.566+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 336923 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
2022-11-09T10:53:10.566+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
2022-11-09T10:53:20.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:55      Resource limits were exceeded 71 times with error "transient: cannot reserve inbound stream: resource limit exceeded".
2022-11-09T10:53:20.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:59      Consider inspecting logs and raising the resource manager limits. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmresourcemgr
2022-11-09T10:53:30.565+0100    ERROR   resourcemanager libp2p/rcmgr_logging.go:64      Resrouce limits are no longer being exceeded.

```
## Validation tests

- Accelerated DHT client runs with no errors when ResourceManager is active. No problems were observed.
- Running an attack with 200 connections and 1M streams using yamux protocol. Node was usable during the attack. With ResourceManager deactivated, the node was killed by the OS because of the amount of memory consumed.
	- Actions done when the attack was active:
		- Add files 
		- Force a reprovide
		- Use the gateway to resolve an IPNS address.

It closes #9001 
It closes #9351
It closes #9322
2022-11-10 12:25:57 +01:00
Henrique Dias
a210abd743
feat(gateway): TAR response format (#9029)
Implementation of IPIP-288 (https://github.com/ipfs/specs/pull/288)

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-11-09 19:20:33 +01:00
Marcin Rataj
d69f7a5ac9 chore: go-multicodec v0.7.0
https://github.com/multiformats/go-multicodec/releases/tag/v0.7.0
2022-11-08 18:33:36 +01:00
Andreas Källberg
2fd4e197a0 feat: Add command line completion for fish 2022-10-30 21:13:53 +00:00
Piotr Galar
0f44f2974a
Merge pull request #9283 from ipfs/docs-release-0.16.0
docs: init release issue template improvement process v0.16.0
2022-10-20 08:25:34 +02:00
Gus Eggert
8c72ea909a
feat: add delegated routing metrics (#9354) 2022-10-19 09:50:30 -04:00
galargh
c656952d78 Apply suggestions from the code review 2022-10-19 14:38:18 +02:00
Piotr Galar
cba1bdf4ea
Apply suggestions from code review
Co-authored-by: Steve Loeppky <biglep@protocol.ai>
2022-10-19 14:37:49 +02:00
Piotr Galar
f54018c39a
chore: create v0.17.md changelog 2022-10-18 18:55:20 +02:00
Rod Vagg
9e3745ebeb deps: upgrade go-ipld-prime to v0.19.0
Ref: https://github.com/ipld/go-ipld-prime/releases/tag/v0.19.0
2022-10-14 05:23:43 +02:00
Piotr Galar
cf4bf8a1c8
Merge branch 'master' into docs-release-0.16.0 2022-10-12 13:41:48 +02:00
galargh
2321be0457 docs: self-review the release issue template updates 2022-10-12 13:29:39 +02:00
galargh
4f76b9f326 docs: apply updates discovered during the final release 2022-10-12 12:13:37 +02:00
Henrique Dias
4291d6b236
fix: add InlineDNSLink flag to PublicGateways config (#9328)
https://github.com/ipfs/kubo/issues/9243
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-10-11 15:45:43 +02:00
galargh
9364243414 docs: update changelog-v0.16 with full changelog data 2022-10-04 11:15:00 +02:00
galargh
5d2f3373da docs: update application testing examples 2022-10-01 17:51:51 +02:00
galargh
940e3974b1 docs: copy final release instructions 2022-10-01 13:38:04 +02:00
Marcin Rataj
c4a0656920 docs: document remaining 0.16.0 features 2022-09-28 20:13:03 +02:00
galargh
6c6708af32 docs: guess what's going to be required for the final release 2022-09-27 18:17:54 +02:00
galargh
4b50e59762 docs: move publishing npm package 2022-09-27 17:18:21 +02:00
galargh
c86b75debd docs: move changelog creation instructions earlier 2022-09-27 17:08:37 +02:00
galargh
335d961d15 docs: update release issue template with learnings from v0.16.0-rc1 release 2022-09-27 16:26:38 +02:00
Jorropo
b539cd4e47 docs: add WebTransport docs 2022-09-27 16:14:34 +02:00
Jorropo
baccaef1b5
Merge pull request #9293 from Jorropo/webtransport
feat: add webtransport as an optin transport
2022-09-23 20:09:33 +02:00
Jorropo
8baec10146 feat: add webtransport as an optin transport 2022-09-23 19:50:55 +02:00
Justin Johnson
bcaacdd6c3
feat(gateway): _redirects file support (#8890)
https://github.com/ipfs/kubo/pull/8890
https://github.com/ipfs/specs/pull/290
2022-09-23 18:44:19 +02:00
Jorropo
2549475d84 docs: fix typo in changelog-v0.16.0.md 2022-09-23 11:45:16 +02:00
Antonio Navarro Perez
d1b9e41fc2
feat: Delegated routing with custom configuration. (#9274)
New multi-router configuration system based on https://hackmd.io/G1KRDEX5T3qyfoBMkIrBew#Methods

- Added a new routing type: "custom"
- Added specific struct types for different Routers (instead of map[string]interface{})
- Added `Duration` config type, to make easier time string parsing
- Added config documentation.
- Use the latest go-delegated-routing library version with GET support.
- Added changelog notes for this feature.

It:
- closes #9157
- closes #9079
- closes #9186
2022-09-22 15:47:45 +02:00
galargh
b11efaf765 docs: add docs-release-vX.Y.Z info to the checklist 2022-09-22 10:43:15 +02:00
galargh
e103254e6f docs: incorporate the RC into the main checklist 2022-09-22 10:41:10 +02:00
galargh
f50fc3211c docs: add information about release prerequisites 2022-09-22 10:10:41 +02:00
Jorropo
74aaf37cec chore: bump go-libp2p v0.23.1
This does not include any WebTransport config code in Kubo, this will be done later in an other PR.
2022-09-21 23:16:03 +02:00
Marcin Rataj
b6b97d90ac fix: require IPNS V2 signatures 2022-09-21 01:09:00 +02:00
eth-limo
8e2bf82f97
docs: fix broken ENS DoH example (#9281) 2022-09-21 00:37:47 +02:00
galargh
cb706d73c1 docs: document currently used Go image version 2022-09-19 11:58:58 +02:00
galargh
f7df8d7318 docs: init release issue template improvement process v0.16.0 2022-09-19 11:48:09 +02:00
Steve Loeppky
289b4e1d60 Update docs/RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Steve Loeppky
a6eb9f1238 Update docs/RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Steve Loeppky
5abfd14e9b Update docs/RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Steve Loeppky
203c2f5e78 Update docs/RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Steve Loeppky
07c9b7d815 Update docs/RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
952a376433 Update RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
e7d9ce2915 Update RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
3fe18278af Update RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
4cb7508c3a Update docs/RELEASE_ISSUE_TEMPLATE.md
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
917d2bbf4f Update docs/RELEASE_ISSUE_TEMPLATE.md
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
7c0dde45e9 Add how to test IPFS companion. 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
29810705f7 Update RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
c9fa800ac9 Update RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
4ade119953 Update RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
7efa911b2a Update RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
951cb328cd Update docs/RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Steve Loeppky
343e265d01 Minor list formatting update 2022-09-16 10:57:37 -07:00
Antonio Navarro Perez
3fed8b2a66 Update RELEASE_ISSUE_TEMPLATE.md 2022-09-16 10:57:37 -07:00
Jorropo
aeaf57734a chore: bump go-bitswap v0.10.2 2022-09-13 19:21:18 +02:00
Jorropo
196887cbe5 chore: bump go-libp2p v0.22.0 & go1.18&go1.19
Fixes: #9225
2022-09-09 17:09:38 +02:00
Jorropo
849e0478b5 chore: bump go-pinning-service-http-client v0.1.2 to include up to nano precision 2022-09-01 15:36:25 +02:00
Marcin Rataj
c9693edbc5 chore: remove Gateway.PathPrefixes
Closes #7702
2022-08-30 15:38:04 +02:00
Jorropo
0d9478d3c8
docs: fix markdown syntax typo in v0.15's changelog 2022-08-30 14:41:46 +02:00
Antonio Navarro Perez
de7d74f486 Merge branch 'release-v0.15.0' of github.com:ipfs/go-ipfs into release-v0.15.0 2022-08-30 11:27:30 +02:00
Jorropo
8c6aaa8393 docs: changelog: add mention of gateway file to v0.15 2022-08-29 18:19:23 +02:00
Oleg
6516883b6b
correct data type for Reprovider.Interval (#9224)
* correct data type for Reprovider.Interval

Signed-off-by: Oleg Silkin <16809287+osilkin98@users.noreply.github.com>
Co-authored-by: Jorropo <jorropo.pgm@gmail.com>
2022-08-25 12:27:42 -07:00
Antonio Navarro Perez
bd7e41ce83
chore: First v0.15.0 CHANGELOG draft. 2022-08-25 14:12:49 +02:00
Marcin Rataj
9c6094e651 docs(config): mention routing.delegate.ipfs.io 2022-08-18 16:52:44 +02:00
Steve Loeppky
2d98b4f229 Update RELEASE_ISSUE_TEMPLATE.md for 0.15 2022-08-17 09:42:39 +00:00
Jorropo
1236eb0f58 chore: update github.com/gabriel-vasile/mimetype
See the release notes: https://github.com/gabriel-vasile/mimetype/releases/tag/v1.4.1

This is a valuable release with already public security fixes (which don't affect us AFAIT but better safe than sorry).
More mimetypes and bug fixes.
2022-08-17 02:19:18 +02:00
Marcin Rataj
00f2a64673
Merge pull request #9074 from ipfs/rcgmr-auto-scale
feat: go-libp2p v0.21 (rcmgr auto scaling)
2022-08-17 01:37:44 +02:00
Marcin Rataj
77251b60c4
test(rcmgr): regression test prometherus metrics 2022-08-17 01:27:50 +02:00
Marcin Rataj
5ca74c7f7a docs(config): Swarm.ResourceMgr.Allowlist 2022-08-17 00:38:51 +02:00
Antonio Navarro Perez
f5e7905f91
Merge branch 'master' into guseggert-patch-1 2022-08-16 12:35:25 +02:00
Antonio Navarro Perez
654745aaa2
Merge branch 'master' into chore/update-release-template-0.14.0 2022-08-16 10:16:05 +02:00
Marco Munizaga
5c858d5063 Go mod tidy kubo-as-a-library 2022-08-15 14:47:22 -07:00
Marco Munizaga
831135cc9b Update go-libp2p-kad-dht to v0.17.0 2022-08-15 14:14:00 -07:00
Marco Munizaga
194eb2f298 Go mod tidy 2022-08-15 14:12:21 -07:00
Marco Munizaga
4cd437dfe2 Use replace in kubo example as a library 2022-08-15 14:12:21 -07:00
Marco Munizaga
b0adea314a Update go.mod/sum in examples/kubo-as-a-library 2022-08-15 14:12:21 -07:00
Marcin Rataj
44581e9077
Merge branch 'master' into chore/update-patch-release-template-0.13.1 2022-08-15 20:29:27 +02:00
Marcin Rataj
532ba09283
Merge branch 'master' into chore/update-release-template-0.14.0 2022-08-15 20:22:14 +02:00
Gus Eggert
795c2cf819
docs: add fx plugin documentation to plugins.md (#9191) 2022-08-13 08:08:52 -04:00
Marcin Rataj
837f6ee92b chore: switch to dist.ipfs.tech
Part of https://github.com/protocol/bifrost-infra/issues/2018
ensures the domain used for fetching migrations is not
impacted by ipfs.io being blocked at DNS level by some ISPs.
2022-08-12 23:42:17 +02:00
Brendan O'Brien
8fd49badc2
Add reference to Experimental config doc (#9181)
* Add reference to Experimental config doc

this clarifies that `Experimental` is in fact a top level configuration key, and links to the most current documentation

Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2022-08-11 10:15:08 -07:00
Steve Loeppky
c09ead2363
More blog entry updates. 2022-08-08 11:58:30 -07:00
Steve Loeppky
dbe4e6cf24
Updating blog entry request section 2022-08-08 11:53:03 -07:00
Seungbae Yu
cb280cbf16
docs: replace docs.ipfs.io with docs.ipfs.tech (#9158)
* docs: fix redirecting URL in README.md
* all: replace `docs.ipfs.io` with `docs.ipfs.tech`
* apply suggestions from code review

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-08-05 19:01:10 +03:00
Steve Loeppky
312e574f94
Merge branch 'master' into chore/update-patch-release-template-0.13.1 2022-08-04 08:45:20 -07:00
lostystyg
f9db823138
chore: fix markdown link syntax typo for AutoNAT.ServiceMode 2022-08-03 15:17:28 +02:00
Marcin Rataj
2f08eb45e7 chore: update kubo-as-a-library example 2022-07-25 16:48:52 +02:00
Marcin Rataj
e4da0b8663
Update RELEASE_ISSUE_TEMPLATE.md
See https://github.com/ipfs/distributions/pull/745
2022-07-21 23:29:03 +02:00
Marcin Rataj
09fa9beb52
Update docs/RELEASE_ISSUE_TEMPLATE.md 2022-07-21 23:13:31 +02:00
Marcin Rataj
ee3603c674
Merge branch 'master' into chore/update-release-template-0.14.0 2022-07-21 23:13:23 +02:00
Marcin Rataj
fdb9f8f680
Update RELEASE_ISSUE_TEMPLATE.md
Copied npm/choco/snap context from https://github.com/ipfs/kubo/pull/9095
2022-07-21 23:08:56 +02:00
Marcin Rataj
bcab64d42d docs(config): add link to someguy router 2022-07-21 21:00:39 +02:00
Jorropo
9412867f5e docs(changelog): finish v0.14.0 changelog
Co-Authored-By: Marcin Rataj <lidel@lidel.org>
2022-07-21 04:52:18 +02:00
Jorropo
af4211a2fa backport: merge commit '839b0848a' into release-v0.14.0 2022-07-21 04:04:46 +02:00
Steve Loeppky
54a30a857c
Add step for creating PR to improve process 2022-07-14 09:27:17 -07:00
Steve Loeppky
4b4e256a52
Spacing fix 2022-07-14 09:22:23 -07:00
Steve Loeppky
8e2ef239c4
Added link to patch release template 2022-07-14 09:21:37 -07:00
Steve Loeppky
baa7018246
Updating based on release process
Accounting for items in https://pl-strflt.notion.site/Kubo-Release-Process-5a5d066264704009a28a79cff93062c4
2022-07-14 09:19:30 -07:00
Marcin Rataj
fbb496b623 docs(changelog): v0.14 rename and breaking changes 2022-07-08 22:11:10 +02:00
Jorropo
44ec4cd444 docs: fix v0.14's changelog format 2022-07-07 23:47:41 +02:00
Antonio Navarro Perez
92c4dc61a8
feat(routing): Delegated Routing (#8997)
* Delegated Routing.

Implementation of Reframe specs (https://github.com/ipfs/specs/blob/master/REFRAME.md) using go-delegated-routing library.

* Requested changes.

* Init using op string

* Separate possible ContentRouters for TopicDiscovery.

If we don't do this, we have a ciclic dependency creating TieredRouter.
Now we can create first all possible content routers, and after that,
create Routers.

* Set dht default routing type

* Add tests and remove uneeded code

* Add documentation.

* docs: Routing.Routers

* Requested changes.

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>

* Add some documentation on new fx functions.

* Add changelog entry and integration tests

* test: sharness for 'dht' in 'routing' commands

Since 'routing' is currently the same as 'dht' (minus query command)
we need to test both, that way we won't have unnoticed divergence
in the default behavior.

* test(sharness): delegated routing via reframe URL

* Add more tests for delegated routing.

* If any put operation fails, the tiered router will fail.

* refactor: Routing.Routers: Parameters.Endpoint

As agreed  in https://github.com/ipfs/kubo/pull/8997#issuecomment-1175684716

* Try to improve CHANGELOG entry.

* chore: update reframe spec link

* Update go-delegated-routing dependency

* Fix config error test

* use new changelog format

* Remove port conflict

* go mod tidy

* ProviderManyWrapper to ProviderMany

* Update docs/changelogs/v0.14.md

Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>

Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2022-07-07 17:10:25 -04:00
Jorropo
24b8dd5ab0 chore: changelogs split
Closes #8976
2022-07-07 19:44:01 +02:00
Marcin Rataj
c5792a0dbe
Merge branch 'master' into chore/update-patch-release-template-0.13.1 2022-07-07 15:32:49 +02:00
Marcin Rataj
8565bbb75c
refactor: kubo in ./docs 2022-07-06 23:45:25 +02:00
Marcin Rataj
91e6451419 refactor: kubo in snap docs 2022-07-06 23:44:38 +02:00
Daniel N
e5f63393ff docs: refine wording 2022-07-06 22:47:07 +02:00
Daniel N
d323189598 docs: refine the wording of provider strategies 2022-07-06 22:47:07 +02:00
Steve Loeppky
bb980eed8a
Update RELEASE_ISSUE_TEMPLATE.md based on 0.14.0 release
Changes based on the 0.14.0 release: https://github.com/ipfs/kubo/issues/9032

Items from 0.13.1 should also be incorporated: https://github.com/ipfs/kubo/pull/9095
2022-07-06 12:51:02 -07:00
Marcin Rataj
2f0ea0f7ff
chore: add links to npm/choco jobs 2022-07-06 18:20:08 +02:00
Marcin Rataj
74c34e2d48
fix: npm link 2022-07-06 18:17:32 +02:00
Marcin Rataj
80cc506c79
docs: add note about automations: npm, choco, snap 2022-07-06 18:16:46 +02:00
Steve Loeppky
5f67f8cb54
Update PATCH_RELEASE_TEMPLATE.md based on 0.13.1
These updates are based on items from https://github.com/ipfs/go-ipfs/pull/9092
2022-07-06 09:10:32 -07:00
Marcin Rataj
61f0710100
fix: remove mdns_legacy & Discovery.MDNS.Interval
* fix: remove mdns_legacy

We've been running both implementations for a long, long time.
It is time to remove legacy version and lower the number of LAN packets
IPFS node produces.

See https://github.com/ipfs/go-ipfs/pull/9048#discussion_r906814717
for the Interval removal rational.
2022-06-27 04:17:40 +02:00
Marcin Rataj
88d88158c6 docs: mark Swarm.ResourceMgr as experimental 2022-06-16 14:34:13 -04:00
Jorropo
a433064d72
chore: replace ioutil with io and os (#8969)
Co-authored-by: Håvard Anda Estensen <haavard.ae@gmail.com>
2022-06-14 12:37:02 -04:00
Gus Eggert
81112c3d6e
docs: elaborate on some git cmds for releasing 2022-06-09 15:52:15 -04:00
Gus Eggert
b1c051d250
feat: disable resource manager by default (#9003)
* feat: disable resource manager by default

We are disabling this by default for v0.13 as we work to improve the
UX around Resource Manager. It is still usable and can be enabled in
the IPFS config with "ipfs config --bool Swarm.ResourceMgr.Enabled true".

We intend to enable Resource Manager by default in a subsequent
release.

* docs(config): Swarm.ResourceMgr disabled by default

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-06-02 10:31:06 -04:00
Antonio Navarro Perez
e8f1ce07b3
fix(ci): make go-ipfs-as-a-library work without external peers (#8978)
* Do not connect to external nodes on ipfs as a lib example.

It was causing some build timeouts error because CircleCI
was throttling WAN connections.

It closes #8956

* style: rename node vars

since this is example, this should make things easier to follow

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-05-25 02:36:01 +02:00