v0.15.0
π£ Discuss
If you have comments, questions, or feedback on this release, please post here.
If you experienced any bugs with the release, please post an issue.
π¦ Highlights
This is a release mainly with bugfixing and library updates.
We are improving release speed and cadence trying to have a new release every 5 weeks.
#οΈβ£ Blake 3 support
You can now use blake3
as a valid hash function:
ipfs block put --mhtype=blake3
ipfs add --hash=blake3
It uses a 32 bytes default size.
And verify up to 128 bytes.
Becauseblake3
is variable output hash function, you can use a different digest length, setmhlen
:ipfs block put --mhtype=blake3 --mhlen=64
,ipfs add
doesn't have this option yet.
π Fx Options plugin
This adds a plugin interface that lets the plugin modify the fx options that are passed to fx when the app is initialized.
This means plugins can inject their own implementations of Kubo interfaces.
This enables granular customization of Kubo behavior by plugins, such as:
- Bitswap with custom filters (e.g. for CID blocking)
- Custom interface implementations such as Pinner or DAGService
- Dynamic configuration of libp2p ...
Here's an example plugin that overrides the default Pinner with a custom one:
func (p *PinnerPlugin) Options(info core.FXNodeInfo) ([]fx.Option, error) {
pinner := mypinner.New()
return append(info.FXOptions, fx.Replace(fx.Annotate(pinner, fx.As(new(pin.Pinner))))), nil
}
Extra plugin info here.
π $IPFS_PATH/gateway
file
This adds a new file in the IPFS_PATH
folder similar to $IPFS_PATH/api
containing an address based on Addresses.Gateway
configuration.
This file is in URL (RFC1738) format.
$ cat ~/.ipfs/gateway
http://127.0.0.1:8080
Changelog
Full Changelog
- github.com/ipfs/kubo:
- chore: Release v0.15.0-rc1
- Update RELEASE_ISSUE_TEMPLATE.md for 0.15
- docs(add): skip binary name in helptext
- docs(cli): clarify CID determinism in add command
- docs(cli): clarify CAR format in dag export|import
- test(gw): cors preflight with custom hearder
- feat: make corehttp a reusable component (ipfs/kubo#9070)
- feat: go-libp2p v0.21 (rcmgr auto scaling) (ipfs/kubo#9074)
- (ipfs/kubo#9024)
- (ipfs/kubo#9100)
- (ipfs/kubo#9095)
- chore(cmd): add shutdown to CLI help (ipfs/kubo#9194)
- docs: add fx plugin documentation to plugins.md (#9191) (ipfs/kubo#9191)
- chore: switch to dist.ipfs.tech
- feat: add fx options plugin
- feat: add blake3 support
- Add reference to Experimental config doc (#9181) (ipfs/kubo#9181)
- feat: add $IPFS_PATH/gateway file
- docs: replace
docs.ipfs.io
withdocs.ipfs.tech
(#9158) (ipfs/kubo#9158) - chore: fix markdown link syntax typo for AutoNAT.ServiceMode
- chore: bump go-blockservice to only do put onces
- docs: update Arch Linux installation instructions
- chore: update kubo-as-a-library example
- docs(readme): add maintainer info (#9141) (ipfs/kubo#9141)
- fix(gw): 404 when a valid DAG is missing link
- fix(gw): directory URL normalization (ipfs/kubo#9123)
- docs(config): add link to someguy router
- fix: typo in README
- Reproducible Builds: Update GOFLAGS for -trimpath
- Merge v0.14.0 back into master
- fix(gw): cache-control of index.html websites
- chore(license): fix broken link to apache-2.0
- fix: kubo in daemon and cli stdout
- docs(readme): move content to docs website (#9102) (ipfs/kubo#9102)
- fix(gw): no backlink when listing root dir
- github.com/ipfs/go-bitswap (v0.7.0 -> v0.9.0):
- chore: release v0.9.0
- feat: split client and server (ipfs/go-bitswap#570)
- chore: remove goprocess from blockstoremanager
- Don't add blocks to the datastore (ipfs/go-bitswap#571)
- Remove dependency on travis package from go-libp2p-testing (ipfs/go-bitswap#569)
- feat: add basic tracing (#562) (ipfs/go-bitswap#562)
- github.com/ipfs/go-blockservice (v0.3.0 -> v0.4.0):
- write blocks retrieved from the exchange to the blockstore (ipfs/go-blockservice#92)
- feat: add basic tracing (ipfs/go-blockservice#91)
- github.com/ipfs/go-ipfs-exchange-interface (v0.1.0 -> v0.2.0):
- Rename HasBlock to NotifyNewBlocks, and make it accept multiple blocks (ipfs/go-ipfs-exchange-interface#23)
- github.com/ipfs/go-ipfs-exchange-offline (v0.2.0 -> v0.3.0):
- Exchange don't add blocks on their own anymore (ipfs/go-ipfs-exchange-offline#47)
- github.com/ipfs/go-verifcid (v0.0.1 -> v0.0.2):
- chore: release v0.0.2
- feat: add blake3 as a good hash
- sync: update CI config files (#12) (ipfs/go-verifcid#12)
- Add license (ipfs/go-verifcid#8)
- github.com/ipld/go-codec-dagpb (v1.4.0 -> v1.4.1):
- v1.4.1 bump
- github.com/libp2p/go-buffer-pool (v0.0.2 -> v0.1.0):
- release v0.1.0 (#30) (libp2p/go-buffer-pool#30)
- panic if a negative length is passed to BufferPool.Get (#28) (libp2p/go-buffer-pool#28)
- sync: update CI config files (#22) (libp2p/go-buffer-pool#22)
- sync: update CI config files (#20) (libp2p/go-buffer-pool#20)
- test: fix gc test on go 1.16 (libp2p/go-buffer-pool#18)
- fix staticcheck (libp2p/go-buffer-pool#16)
- test: make sure we have the correct number of pools (libp2p/go-buffer-pool#10)
- github.com/libp2p/go-libp2p (v0.20.3 -> v0.21.0):
- Release v0.21.0 (#1648) (libp2p/go-libp2p#1648)
- ping: optimize random number generation (#1658) (libp2p/go-libp2p#1658)
- feat: switch noise to use minio's SHA256 implementation (#1657) (libp2p/go-libp2p#1657)
- swarm: mark dialing WebTransport addresses as expensive (#1650) (libp2p/go-libp2p#1650)
- routedhost: fix decoding of relay peer ID (#1644) (libp2p/go-libp2p#1644)
- Release v0.21.0 RC (#1638) (libp2p/go-libp2p#1638)
- fix: return the best acceptable conn in NewStream (#1604) (libp2p/go-libp2p#1604)
- use autoscaling limits (#1637) (libp2p/go-libp2p#1637)
- docs: point to SetDefaultServiceLimits in ResourceManager option (#1636) (libp2p/go-libp2p#1636)
- chore: update deps (#1634) (libp2p/go-libp2p#1634)
- Pass endpoint information to resource manager's OpenConnection (#1633) (libp2p/go-libp2p#1633)
- Add canonical peer status logs (#1624) (libp2p/go-libp2p#1624)
- move go-libp2p-circuit here (libp2p/go-libp2p#1626)
- swarm: fix logging of accepted connections (#1629) (libp2p/go-libp2p#1629)
- fix: deny connections to peers in the right place (#1627) (libp2p/go-libp2p#1627)
- ping: fix flaky test (#1617) (libp2p/go-libp2p#1617)
- chore: use the new multiaddr.Contains function (#1618) (libp2p/go-libp2p#1618)
- chore: stop using the deprecated mux.MuxedConn (#1614) (libp2p/go-libp2p#1614)
- logging: Add canonical log for misbehaving peers (#1600) (libp2p/go-libp2p#1600)
- use multiaddr ipcidr to parse multiaddr filters (#1606) (libp2p/go-libp2p#1606)
- tcp: unexport TcpTransport.Upgrader (#1596) (libp2p/go-libp2p#1596)
- muxer: expose func to create MuxedConn from backing Conn (#1609) (libp2p/go-libp2p#1609)
- remove legacy mDNS implementation (#1192) (libp2p/go-libp2p#1192)
- feat: allow dialing wss peers using DNS multiaddrs
- fix natManager to close natManager.nat (#1468) (libp2p/go-libp2p#1468)
- Expose DefaultPerPeerRateLimit as var (#1580) (libp2p/go-libp2p#1580)
- swarm: add ListenClose (#1586) (libp2p/go-libp2p#1586)
- identify: Fix flaky tests (#1555) (libp2p/go-libp2p#1555)
- autonat: fix flaky TestAutoNATPrivate (#1581) (libp2p/go-libp2p#1581)
- pstoremanager: fix test timeout (#1588) (libp2p/go-libp2p#1588)
- swarm: send notifications synchronously (#1562) (libp2p/go-libp2p#1562)
- basichost: fix flaky TestSignedPeerRecordWithNoListenAddrs (#1559) (libp2p/go-libp2p#1559)
- identify: fix flaky TestIdentifyDeltaOnProtocolChange (again) (#1582) (libp2p/go-libp2p#1582)
- tls: fix flaky TestInvalidCerts on Windows (libp2p/go-libp2p#1560)
- chore: log autorelay start failure error (libp2p/go-libp2p#1583)
- Add sanity check assertion (#1570) (libp2p/go-libp2p#1570)
- swarm: speed up the TestDialWorkerLoopConcurrentFailureStress test (#1573) (libp2p/go-libp2p#1573)
- chore: update examples to go-libp2p v0.20.0 (#1557) (libp2p/go-libp2p#1557)
- Wait a couple seconds for ID event (#1568) (libp2p/go-libp2p#1568)
- remove workspace and packages section from README (#1563) (libp2p/go-libp2p#1563)
- fix: mkreleaselog exclude autogenerated files (#1567) (libp2p/go-libp2p#1567)
- move resource manager integration tests to p2p/test/ (#1561) (libp2p/go-libp2p#1561)
- swarm: only dial a single transport in TestDialWorkerLoopBasic (#1526) (libp2p/go-libp2p#1526)
- github.com/libp2p/go-libp2p-core (v0.16.1 -> v0.19.1):
- Update version.json
- Remove btcsuite/btcd dep (#272) (libp2p/go-libp2p-core#272)
- Release v0.19.0 (#271) (libp2p/go-libp2p-core#271)
- Add endpoint parameter to the OpenConnection method for ResourceManager (#257) (libp2p/go-libp2p-core#257)
- Release v0.18.0 (#270) (libp2p/go-libp2p-core#270)
- Add canonical peer status logging with sampling (#269) (libp2p/go-libp2p-core#269)
- canonicallog: reduce log level to warning (#268) (libp2p/go-libp2p-core#268)
- Only log once if we failed to convert from netAddr (#264) (libp2p/go-libp2p-core#264)
- remove deprecated mux package (#265) (libp2p/go-libp2p-core#265)
- remove the peer.Set (#261) (libp2p/go-libp2p-core#261)
- Bump version (#259) (libp2p/go-libp2p-core#259)
- Add canonical log for misbehaving peers (#258) (libp2p/go-libp2p-core#258)
- github.com/libp2p/go-libp2p-kad-dht (v0.16.0 -> v0.17.0):
- Chore: bump version to v0.17.0
- Update go-libp2p to v0.20.3 (libp2p/go-libp2p-kad-dht#778)
- github.com/libp2p/go-libp2p-peerstore (v0.6.0 -> v0.7.1):
- Release v0.7.1 (libp2p/go-libp2p-peerstore#202)
- stop using the peer.Set (#201) (libp2p/go-libp2p-peerstore#201)
- feat: Use a clock interface in pstoreds as well (libp2p/go-libp2p-peerstore#200)
- feat: use a clock interface to better support testing for pstoremem (libp2p/go-libp2p-peerstore#199)
- pstoremem: fix slice preallocation in GetProtocols (#198) (libp2p/go-libp2p-peerstore#198)
- remove all calls to peer.ID.Validate (libp2p/go-libp2p-peerstore#194)
- remove the addr package (libp2p/go-libp2p-peerstore#195)
- move AddrList to pstoremen, unexport it (libp2p/go-libp2p-peerstore#193)
- optimize allocations in the memory address book (libp2p/go-libp2p-peerstore#191)
- implement a clean shutdown for the memory address book (libp2p/go-libp2p-peerstore#192)
- github.com/libp2p/go-libp2p-resource-manager (v0.3.0 -> v0.5.3):
- Chore: release patch v0.5.3 (libp2p/go-libp2p-resource-manager#77)
- Add namespace to metrics (libp2p/go-libp2p-resource-manager#79)
- Fix usage of make to reserve capacity, not values (libp2p/go-libp2p-resource-manager#76)
- Add package docs (libp2p/go-libp2p-resource-manager#75)
- chore: Release v0.5.2 (libp2p/go-libp2p-resource-manager#74)
- Record which direction the resource was blocked (libp2p/go-libp2p-resource-manager#72)
- Simplify mem graphs in stock grafana dashboard (libp2p/go-libp2p-resource-manager#73)
- feat: Handle multiple instances in stock grafana dashboard (libp2p/go-libp2p-resource-manager#70)
- Use templated version of grafana dashboard json (libp2p/go-libp2p-resource-manager#69)
- Release v0.5.1 (libp2p/go-libp2p-resource-manager#66)
- Implement
json.Marshaler
interface for LimitConfig (libp2p/go-libp2p-resource-manager#67) - Don't wait for a chan that will never close (libp2p/go-libp2p-resource-manager#65)
- release v0.5.0 (libp2p/go-libp2p-resource-manager#60)
- Add docs around WithAllowlistedMultiaddrs. Expose allowlist (libp2p/go-libp2p-resource-manager#63)
- fix marshalling of allowlisted scopes (libp2p/go-libp2p-resource-manager#62)
- docs: describe how the limiter is configured, and how limits are scaled (#59) (libp2p/go-libp2p-resource-manager#59)
- don't limit the number of FDs on Windows (#58) (libp2p/go-libp2p-resource-manager#58)
- Add ability to configure allowlist limits (libp2p/go-libp2p-resource-manager#57)
- rewrite limits to allow auto-scaling (libp2p/go-libp2p-resource-manager#48)
- Release v0.4.0 (libp2p/go-libp2p-resource-manager#56)
- feat: Out of the box metrics for resource manager (libp2p/go-libp2p-resource-manager#54)
- feat: Allowlist (libp2p/go-libp2p-resource-manager#47)
- trace the scope as a JSON object (#52) (libp2p/go-libp2p-resource-manager#52)
- include current limits in debug messages (libp2p/go-libp2p-resource-manager#42)
- add an ID to spans (#44) (libp2p/go-libp2p-resource-manager#44)
- add a DefaultLimitConfig with infinite limits (#41) (libp2p/go-libp2p-resource-manager#41)
- export the TraceEvt (#40) (libp2p/go-libp2p-resource-manager#40)
- trace exact timestamps (#39) (libp2p/go-libp2p-resource-manager#39)
- skip events that don't change anything in tracer (#38) (libp2p/go-libp2p-resource-manager#38)
- fix typos in MetricsReporter docs
- fix shadowing of service name (#37) (libp2p/go-libp2p-resource-manager#37)
- add a timestamp to trace events (#34) (libp2p/go-libp2p-resource-manager#34)
- github.com/libp2p/go-libp2p-testing (v0.9.2 -> v0.11.0):
- Release v0.11.0 (libp2p/go-libp2p-testing#64)
- Remove unused bench file and dep (libp2p/go-libp2p-testing#63)
- Release v0.10.0 (libp2p/go-libp2p-testing#62)
- Update go-libp2p-core dep (libp2p/go-libp2p-testing#61)
- remove suites (#60) (libp2p/go-libp2p-testing#60)
- don't continue on read / write error in stream suite (#59) (libp2p/go-libp2p-testing#59)
- remove debug logging from stream and muxer suite (libp2p/go-libp2p-testing#58)
- remove Travis package (#57) (libp2p/go-libp2p-testing#57)
- github.com/lucas-clemente/quic-go (v0.27.1 -> v0.28.0):
- update for Go 1.19beta1 (#3460) (lucas-clemente/quic-go#3460)
- dedupe Alt-Svc header values (#3461) (lucas-clemente/quic-go#3461)
- only set DF for sockets that can handle it (#3448) (lucas-clemente/quic-go#3448)
- fix flaky HTTP/3 request body test (#3447) (lucas-clemente/quic-go#3447)
- make the keep alive interval configurable (#3444) (lucas-clemente/quic-go#3444)
- implement QUIC v2 (lucas-clemente/quic-go#3432)
- allow HTTP clients and servers to take over the request stream (lucas-clemente/quic-go#3437)
- remove the http3.DataStreamer (#3435) (lucas-clemente/quic-go#3435)
- always reset header buffer, even when QPACK encoding fails (#3436) (lucas-clemente/quic-go#3436)
- Change "HTTP/3" to "HTTP/3.0". (#3439) (lucas-clemente/quic-go#3439)
- remove stray http3 connection file
- pass frame / stream type parsing errors to the hijacker callbacks (lucas-clemente/quic-go#3429)
- add test for bidirectional stream hijacker (#3434) (lucas-clemente/quic-go#3434)
- make it possible to parse a varint at the end of a reader (#3428) (lucas-clemente/quic-go#3428)
- don't ignore errors that occur when the TLS ClientHello is generated (lucas-clemente/quic-go#3424)
- don't send path MTU probe packets on a timer (#3423) (lucas-clemente/quic-go#3423)
- introduce a http3.RoundTripOpt to prevent closing of request stream (#3411) (lucas-clemente/quic-go#3411)
- don't close the request stream when http3.DataStreamer was used (#3413) (lucas-clemente/quic-go#3413)
- do not embed http.Server in http3.Server (#3397) (lucas-clemente/quic-go#3397)
- remove error return value from ComposeVersionNegotiation (#3410) (lucas-clemente/quic-go#3410)
- don't set receive buffer if it is already large enough (#3407) (lucas-clemente/quic-go#3407)
- clone TLS conf in newClient (#3400) (lucas-clemente/quic-go#3400)
- remove warning comments of stable implementation (#3399) (lucas-clemente/quic-go#3399)
- fix parsing of request path for Extended CONNECT requests (#3388) (lucas-clemente/quic-go#3388)
- update docs to reflect that we support RFC 9221 (Unreliable Datagrams) (#3382) (lucas-clemente/quic-go#3382)
- fix deadlock on concurrent http3.Server.Serve and Close calls (#3387) (lucas-clemente/quic-go#3387)
- reduce flakiness of deadline integration tests (#3383) (lucas-clemente/quic-go#3383)
- protect against concurrent use of Stream.Write (#3381) (lucas-clemente/quic-go#3381)
- protect against concurrent use of Stream.Read (#3380) (lucas-clemente/quic-go#3380)
- Expose quic server closed err (#3395) (lucas-clemente/quic-go#3395)
- implement HTTP/3 unidirectional stream hijacking (#3389) (lucas-clemente/quic-go#3389)
- add LocalAddr and RemoteAddr functions to http3.StreamCreator (#3384) (lucas-clemente/quic-go#3384)
- extend the HTTP/3 API for WebTransport support (lucas-clemente/quic-go#3362)
- remove unneeded network from custom dial function used in HTTP/3 (#3368) (lucas-clemente/quic-go#3368)
- github.com/multiformats/go-multiaddr (v0.5.0 -> v0.6.0):
- release v0.6.0 (multiformats/go-multiaddr#178)
- add WebTransport multiaddr components (multiformats/go-multiaddr#176)
- add ipcidr support (#177) (multiformats/go-multiaddr#177)
- add a Contains function (#172) (multiformats/go-multiaddr#172)
- github.com/multiformats/go-multibase (v0.1.0 -> v0.1.1):
- chore: release version 0.1.1
- fix: add new emoji codepoint for Base256Emoji π
- github.com/multiformats/go-multihash (v0.2.0 -> v0.2.1):
- chore: release v0.2.1
- feat: adding tests and finish variable sized functions
- feat: add support for variable length hash functions
- adding blake3 tests and fixing an incorrect error message. (#158) (multiformats/go-multihash#158)
Contributors
Contributor | Commits | Lines Β± | Files Changed |
---|---|---|---|
Marten Seemann | 129 | +5612/-9895 | 345 |
Marco Munizaga | 109 | +7689/-3221 | 181 |
vyzo | 64 | +3972/-657 | 125 |
Jorropo | 19 | +1977/-1611 | 109 |
Steven Allen | 30 | +633/-593 | 54 |
Jeromy Johnson | 5 | +1032/-64 | 16 |
Marcin Rataj | 21 | +406/-200 | 59 |
Michael MurΓ© | 6 | +335/-250 | 14 |
Gus Eggert | 8 | +336/-104 | 31 |
Claudia Richoux | 3 | +181/-63 | 9 |
Steve Loeppky | 11 | +95/-141 | 11 |
Ian Davis | 4 | +126/-58 | 6 |
hareku | 3 | +172/-6 | 7 |
Ivan Trubach | 1 | +98/-74 | 6 |
RaΓΊl Kripalani | 2 | +69/-62 | 9 |
Seungbae Yu | 1 | +41/-41 | 13 |
Julien Muret | 1 | +60/-7 | 2 |
Mark Gaiser | 1 | +64/-0 | 5 |
Lars Gierth | 1 | +20/-29 | 4 |
Cole Brown | 4 | +27/-19 | 4 |
Chao Fei | 2 | +15/-30 | 9 |
Nuno Diegues | 2 | +25/-18 | 9 |
Jakub Sztandera | 1 | +37/-0 | 3 |
Wiktor Jurkiewicz | 1 | +13/-5 | 1 |
c r | 1 | +11/-6 | 3 |
Christian Stewart | 1 | +15/-2 | 4 |
Matt Robenolt | 1 | +15/-1 | 2 |
aarshkshah1992 | 2 | +8/-2 | 2 |
link2xt | 1 | +4/-4 | 1 |
Aaron Riekenberg | 1 | +4/-4 | 4 |
web3-bot | 3 | +7/-0 | 3 |
Adrian Lanzafame | 1 | +3/-3 | 1 |
Dmitriy Ryajov | 2 | +2/-3 | 2 |
Brendan O'Brien | 1 | +5/-0 | 1 |
millken | 1 | +1/-1 | 1 |
lostystyg | 1 | +1/-1 | 1 |
kpcyrd | 1 | +1/-1 | 1 |
anders | 1 | +1/-1 | 1 |
Rod Vagg | 1 | +1/-1 | 1 |
Matt Joiner | 1 | +1/-1 | 1 |
Leo Balduf | 1 | +1/-1 | 1 |
Didrik NordstrΓΆm | 1 | +2/-0 | 1 |
Daniel Norman | 1 | +1/-1 | 1 |
Antonio Navarro Perez | 1 | +1/-1 | 1 |
Adin Schmahmann | 1 | +1/-1 | 1 |
Lucas Molas | 1 | +1/-0 | 1 |