Commit Graph

13445 Commits

Author SHA1 Message Date
Marcin Rataj
d82dec3248
Merge pull request #8958 from ipfs/chore/rename-to-kubo
refactor: rename to kubo

see: https://github.com/ipfs/kubo/issues/8959
2022-07-06 19:00:11 +02:00
Marcin Rataj
3417ed466f docs: kubo description from dist.ipfs.io
:-)
2022-07-06 18:40:39 +02:00
Marcin Rataj
b9240fe432 refactor(docker): publish images under both names
This ensures we keep publishing the same image under both names:

    $ ./bin/get-docker-tags.sh $(date -u +%F) 88d88158c master                                                                                                                                 ...chore/rename-to-banana
    ipfs/kubo:master-2022-06-21-88d8815
    ipfs/go-ipfs:master-2022-06-21-88d8815
    ipfs/kubo:master-latest
    ipfs/go-ipfs:master-latest
2022-07-06 18:40:39 +02:00
Marcin Rataj
5cb572660d docs(readme): rename to kubo
some things like third party package names, docker image etc need to
stay as go-ipfs for now
2022-07-06 18:40:39 +02:00
Marcin Rataj
82467bc936 refactor: rename to kubo 2022-07-06 18:40:37 +02:00
Marcin Rataj
289e465f05 fix: correct cache-control in car responses
Context: https://github.com/ipfs/specs/pull/295
2022-07-06 18:34:12 +02:00
Jorropo
90b48db172
Merge pull request #9094 from ipfs/Jorropo/temp-1
chore: merge v0.13.1 back into master (correctly this time)

#9093 but not squashed
2022-07-06 17:42:47 +02:00
Jorropo
df34bad3c7
docs: v0.13.1 (#9093)
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2022-07-06 17:32:59 +02:00
Jorropo
db88daf584 chore: resolve go.mod conflicts with master 2022-07-06 17:20:25 +02:00
Jorropo
57d54624ea chore: reset version number back to v0.14.0-dev 2022-07-06 17:18:13 +02:00
Adin Schmahmann
8ffc7a8a6c
Merge pull request #9092 from ipfs/release-v0.13.1
Release v0.13.1
2022-07-06 09:57:25 -04:00
Jorropo
1b60d07d6c chore: bump version number to v0.13.1 2022-07-06 09:45:21 -04:00
Jorropo
af27e43632 chore: Add release notes for 0.13.1 2022-07-06 09:45:21 -04:00
Jorropo
bc4f854ade chore: update go-car
(cherry picked from commit cbf5fdae55)
2022-07-06 09:45:21 -04:00
Adin Schmahmann
1efa29d956
Merge pull request #9089 from Jorropo/chore/update-car
chore: update go-car
2022-07-06 09:41:53 -04:00
Jorropo
cbf5fdae55 chore: update go-car 2022-07-06 15:30:29 +02:00
Adin Schmahmann
123f1f61e0
Merge pull request #9038 from ipfs/update-libp2p-v020
update go-libp2p to v0.20.3
2022-06-30 15:21:23 -04:00
Marco Munizaga
d5a7552014 Go mod tidy 2022-06-28 21:21:12 -07:00
Marco Munizaga
9dcc4e224e Update go-libp2p and go-multistream 2022-06-28 14:46:33 -07:00
Marcin Rataj
b6ded334ec
docs: add SECURITY.md (#9062)
* docs: add SECURITY.md

This moves existing security policy from README to SECURITY.md
which has a special meaning on Github:
https://docs.github.com/en/code-security/getting-started/adding-a-security-policy-to-your-repository

* style: editoral fix

Co-authored-by: Steve Loeppky <biglep@protocol.ai>
2022-06-28 18:51:37 +02:00
GitHub
862ce6bb8f Update .github/workflows/stale.yml 2022-06-27 10:45:42 +00: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
Jorropo
6602dd704e
refactor: prealloc slices with known sizes (#8892)
Often those are small slices and that cuts down the number
of (small) allocations from 2~7 to 1. 
This is consistent too, always only gets 1.
2022-06-24 21:19:19 +01:00
Marten Seemann
ec61dd410d update go-libp2p to v0.20.2 2022-06-24 19:48:11 +02:00
Jorropo
a3a6a59dbb chore: update go-multihash
This remove github.com/minio/blake2b-simd and replace it with golang.org/x/crypto/blake2b which slightly faster and reduce the code surface.

See https://github.com/multiformats/go-multihash/pull/157 for more info.
2022-06-22 16:03:28 -04:00
siiky
058803f167 docs: fix typo in cid/base32 2022-06-21 22:42:46 +02:00
Marcin Rataj
88d88158c6 docs: mark Swarm.ResourceMgr as experimental 2022-06-16 14:34:13 -04:00
Adin Schmahmann
c4522199bd chore: update go-unixfs 2022-06-16 12:04: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
Steven Allen
b38bbfa471 chore: update bitswap 2022-06-13 14:30:29 -04:00
ipfs-mgmt-read-write[bot]
910451a7da
Add .github/workflows/stale.yml 2022-06-13 12:49:30 +00:00
Alvin Reyes
04651e395d
feat: add a public function on peering to get the state
PR #9030
2022-06-11 08:34:10 +01:00
Henrique Dias
33843bfe3a fix: honor url filename when downloading as CAR/BLOCK 2022-06-10 00:07:55 +02:00
Adin Schmahmann
1e1e4797a8 Merge branch 'release' 2022-06-09 16:27:55 -04:00
Ikko Ashimine
b36044be34
chore: GitHub format 2022-06-09 17:36:51 +02:00
Chawye Hsu
20083ab328
fix(cmd/config): make config edit subcommand work on windows
Co-authored-by: Jorropo <jorropo.pgm@gmail.com>
2022-06-09 17:36:11 +02:00
Gus Eggert
c9d51bbe01
Merge pull request #9023 from ipfs/release-v0.13.0
Release v0.13.0
2022-06-09 09:36:31 -04:00
Gus Eggert
3b88b441b0
Release v0.13.0 2022-06-08 15:35:37 -04:00
Gus Eggert
56145237bb
docs: v0.13.0 release notes 2022-06-08 15:35:37 -04:00
Adin Schmahmann
6e1de05cd1
chore: bump Go to 1.18.3 (#9021)
(cherry picked from commit 9db6641efd)
2022-06-08 15:35:21 -04:00
Adin Schmahmann
9db6641efd
chore: bump Go to 1.18.3 (#9021) 2022-06-08 15:33:06 -04:00
Gus Eggert
85e3fa60c5
chore: upgrade to go-libp2p v0.19.4
(cherry picked from commit 2e170a4302)
2022-06-08 14:24:44 -04:00
Gus Eggert
7449a4b918
feat: upgrade to go-libp2p-kad-dht@v0.16.0 (#9005)
* feat: upgrade to go-libp2p-kad-dht@v0.16.0

* rename "cid format --codec" to "cid format --mc"

* refactor(test): from --codec to --mc

Co-authored-by: Marcin Rataj <lidel@lidel.org>
(cherry picked from commit 8d7ed002df)
2022-06-08 14:24:43 -04:00
siiky
a1a729c5cd
docs: fix typo in the swarm/peering help text
(cherry picked from commit 0a01574ff7)
2022-06-08 14:24:43 -04:00
Gus Eggert
0fe75d63ea
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>
(cherry picked from commit b1c051d250)
2022-06-08 14:24:43 -04:00
Gus Eggert
87fca8f225
fix: adjust rcmgr limits for accelerated DHT client rt refresh (#8982)
* fix: adjust rcmgr limits for accelerated DHT client rt refresh

The Accelerated DHT client periodically refreshes its routing table,
including at startup, and if Resource Manager throttling causes the
client's routing table to be incomplete, then content routing may be
degraded or broken for users.

This adjusts the default limits to a level that empirically doesn't
cause Resource Manager throttling during initial DHT client
bootstrapping. Ideally the Accelerated DHT client would handle this
scenario more gracefully, but this works for now to unblock the 0.13
release.

* Set default outbound conns unconditionally

This also sets the default overall conns as a function of the outbound
and inbound conns, since they are adjusted dynamically, and it makes
the intention of the value clear.

* increase min FD limit

(cherry picked from commit b8617b9966)
2022-06-08 14:24:43 -04:00
Marten Seemann
8dffa84d77
chore: update go-libp2p to v0.19.3 (#8990)
(cherry picked from commit f720172a2a)
2022-06-08 14:24:43 -04:00
Antonio Navarro Perez
bf06e54d44
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>
(cherry picked from commit e8f1ce07b3)
2022-06-08 14:24:43 -04:00
Gus Eggert
cb72776dec
feat: log when resource manager limits are exceeded (#8980)
This periodically logs how many times Resource Manager limits were
exceeded. If they aren't exceeded, then nothing is logged. The log
levels are at ERROR log level so that they are shown by default.

The motivation is so that users know when they have exceeded resource
manager limits. To find what is exceeding the limits, they'll need to
turn on debug logging and inspect the errors being logged. This could
collect the specific limits being reached, but that's more complicated
to implement and could result in much longer log messages.

(cherry picked from commit 5615715c55)
2022-06-08 14:24:43 -04:00
Marcin Rataj
4449909b2d
fix: JS caching via Access-Control-Expose-Headers (#8984)
This fix safelists additional headers allowing JS running on websites to
read them when IPFS resource is downloaded via Fetch API.

These headers provide metadata necessary for making smart caching
decisions when IPFS resources are downloaded via Service Worker or a
similar middleware on the edge.

(cherry picked from commit 650bc246ab)
2022-06-08 14:24:43 -04:00