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
e927dc8e59
fix: correct libp2p transports TODO comments
2022-12-12 22:26:48 +01:00
Jorropo
710d3208af
feat: update upgrade repo from 12 to 13
...
Fixes : #9292
2022-12-12 21:57:02 +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
Gus Eggert
579175f81d
feat: add basic CLI tests using Go Test
...
This is intended as a replacement for sharness. These are vanilla Go
tests which can be run in your IDE for quick iteration on end-to-end
CLI tests.
This also removes IPTB by duplicating its functionality in the test
harness. This isn't a big deal...IPTB's complexity is mostly around
the fact that its state needs to be saved to disk in between `iptb`
command invocations, and that it uses Go plugins to inject
functionality, neither of which are relevant here.
If we merge this, we'll have to live with bifurcated tests for a while
until they are all migrated. I'd recommend we self-enforce a rule
that, if we need to touch a sharness test, we migrate it and one more
test over to Go tests first. Then eventually we will have migrated
everything.
2022-12-12 09:43:09 -05:00
Piotr Galar
08e9bb38ca
Merge pull request #9485 from ipfs/changelog-v0.18.0
...
Changelog: v0.18.0
2022-12-12 11:36:14 +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
76e0caa936
fix: remove the imports work-around
...
It seems to be fine now that everything has been updated.
2022-12-12 03:47:17 +01:00
Jorropo
47cbc3e3ce
fix: replace quic to quic-v1 for webtransport sharness
2022-12-12 03:47:17 +01:00
Jorropo
a3e09af203
fix: silence staticcheck warning for fx.Extract usage
...
See https://github.com/ipfs/kubo/pull/9423#issuecomment-1341038770
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
Marten Seemann
931a9df8a6
stop using the deprecated go-libp2p-loggables package
2022-12-12 03:47:17 +01:00
Piotr Galar
204b8428bf
docs(readme): update package managers section ( #9488 )
2022-12-12 00:12:21 +01:00
Marcin Rataj
15093a0011
fix: support /quic-v1 in webui v0.21
...
https://github.com/ipfs/ipfs-webui/releases/tag/v2.21.0
2022-12-10 00:45:50 +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
9805bd47d1
docs: update CHANGELOG.md
2022-12-08 16:44:41 +00:00
Gus Eggert
bf61e639e9
feat: add response body limiter to routing HTTP client ( #9478 )
2022-12-08 10:36:59 -05: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
a10d012b81
Add missing &&
2022-12-07 18:30:21 +01:00
Antonio Navarro Perez
9662c8e3f9
Fix sharness test
...
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 18:30:21 +01:00
Antonio Navarro Perez
be9539db03
Added a message when RM is disabled.
...
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 18:30:21 +01:00
Antonio Navarro Perez
a54cf2a95a
Requested changes.
...
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 18:30:21 +01:00
Antonio Navarro Perez
e3436d1b95
Fix sharness checking daemon output
...
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 18:30:21 +01:00
Antonio Navarro Perez
0bd119c340
Update test/sharness/t0060-daemon.sh
...
Co-authored-by: Piotr Galar <piotr.galar@gmail.com>
2022-12-07 18:30:21 +01:00
Antonio Navarro Perez
ad16dbdcd0
Try to fix sharness test.
2022-12-07 18:30:21 +01:00
Antonio Navarro Perez
67886f7bd3
Fix: RM: Improve init RM message and fix final memory value.
...
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 18:30:21 +01:00
Antonio Navarro Perez
d16e63a23e
Fix: Resource Manager: Filter stats correctly by %
...
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 18:05:15 +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
401a543f4c
Fix variable name
...
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
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
Antonio Navarro Perez
4587d1c1cb
Fix: Change RM log output to WARN level
...
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 16:30:43 +01:00
Antonio Navarro Perez
96bbd53033
Fix: RM: Set no-limit value to 1e9 (1000000000).
...
Added a comment next to the value to make possible to people to grep
over the code and find where that value is set.
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-07 15:56:41 +01:00
Jorropo
2110f2c204
Partial Revert "Revert "fix: ensure hasher is registered when using a hashing function""
...
I was too much trigger happy and caught #9297 's regression test in the workaround revert.
2022-12-07 15:01:53 +01:00
Antonio Navarro Perez
a3913d9f90
Add logs to the routing system
...
Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>
2022-12-06 18:59:09 +01:00
Marcin Rataj
5047c02d9a
fix: apply agent-version-suffix to libp2p identify
...
Closes #9456
2022-12-06 12:52:54 +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