Skip to content

Commit 471f095

Browse files
authored
chore: release v1.5.0 (#158)
* chore: go-libp2p v0.36.1 boxo 0.22.0 * refactor: remove noopPeerLedger * fix: libp2p agent version * docs: cache sharing WithPeerBlockRequestFilter
1 parent c544481 commit 471f095

7 files changed

+99
-123
lines changed

CHANGELOG.md

+16-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ The following emojis are used to highlight certain changes:
1515

1616
### Added
1717

18-
- Simple end-to-end test to check that trustless-gateway-domains are set correctly.
19-
- HTTP API to dynamically list logging subsystems and modify logging levels for subsystems.
20-
2118
### Changed
2219

2320
### Removed
@@ -26,6 +23,22 @@ The following emojis are used to highlight certain changes:
2623

2724
### Security
2825

26+
## [v1.5.0]
27+
28+
### Added
29+
30+
- Simple end-to-end test to check that trustless-gateway-domains are set correctly. [#151](https://github.com/ipfs/rainbow/pull/151) [#157](https://github.com/ipfs/rainbow/pull/157)
31+
- HTTP API to dynamically list logging subsystems and modify logging levels for subsystems. [#156](https://github.com/ipfs/rainbow/pull/156)
32+
33+
### Changed
34+
35+
- go-libp2p [0.36.1](https://github.com/libp2p/go-libp2p/releases/tag/v0.36.1)
36+
- boxo [0.22.0](https://github.com/ipfs/boxo/releases/tag/v0.22.0)
37+
38+
### Fixed
39+
40+
- [libp2p identify agentVersion](https://github.com/libp2p/specs/blob/master/identify/README.md#agentversion) correctly indicates rainbow version when shared host is not used
41+
2942
## [v1.4.0]
3043

3144
### Added

docs/environment-variables.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,13 @@ queries from these safelisted peers, serving locally cached blocks if requested.
189189
> This saves resources as data cached on other instance can be fetched internally
190190
> (e.g. LAN) rather than externally (WAN, p2p).
191191
192-
Default: `false` (no cache sharing)
192+
> [!CAUTION]
193+
> This mode comes with additional overhead, YMMV. A bitswap server
194+
> applies `WithPeerBlockRequestFilter` and only answers to safelisted peers;
195+
> however may still increase resource usage, as every requested CID will be
196+
> also broadcasted to peered nodes.
197+
198+
Default: `false` (no cache sharing, no bitswap server, client-only)
193199

194200
### `RAINBOW_REMOTE_BACKENDS`
195201

go.mod

+23-21
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/felixge/httpsnoop v1.0.4
1010
github.com/ipfs-shipyard/nopfs v0.0.12
1111
github.com/ipfs-shipyard/nopfs/ipfs v0.13.2-0.20231024163508-120e0c51ee3a
12-
github.com/ipfs/boxo v0.21.0
12+
github.com/ipfs/boxo v0.22.0
1313
github.com/ipfs/go-block-format v0.2.0
1414
github.com/ipfs/go-cid v0.4.1
1515
github.com/ipfs/go-datastore v0.6.0
@@ -20,10 +20,10 @@ require (
2020
github.com/ipfs/go-log/v2 v2.5.1
2121
github.com/ipfs/go-metrics-interface v0.0.1
2222
github.com/ipfs/go-metrics-prometheus v0.0.2
23-
github.com/ipfs/go-test v0.0.2
23+
github.com/ipfs/go-test v0.0.4
2424
github.com/ipfs/go-unixfsnode v1.9.0
2525
github.com/ipld/go-codec-dagpb v1.6.0
26-
github.com/libp2p/go-libp2p v0.35.1
26+
github.com/libp2p/go-libp2p v0.36.1
2727
github.com/libp2p/go-libp2p-kad-dht v0.25.2
2828
github.com/libp2p/go-libp2p-record v0.2.0
2929
github.com/libp2p/go-libp2p-routing-helpers v0.7.4
@@ -44,8 +44,8 @@ require (
4444
go.opentelemetry.io/otel v1.27.0
4545
go.opentelemetry.io/otel/sdk v1.27.0
4646
go.opentelemetry.io/otel/trace v1.27.0
47-
golang.org/x/crypto v0.24.0
48-
golang.org/x/sys v0.21.0
47+
golang.org/x/crypto v0.25.0
48+
golang.org/x/sys v0.22.0
4949
)
5050

5151
require (
@@ -83,7 +83,7 @@ require (
8383
github.com/golang/snappy v0.0.4 // indirect
8484
github.com/google/flatbuffers v24.3.25+incompatible // indirect
8585
github.com/google/gopacket v1.1.19 // indirect
86-
github.com/google/pprof v0.0.0-20240625030939-27f56978b8b0 // indirect
86+
github.com/google/pprof v0.0.0-20240727154555-813a5fbdbec8 // indirect
8787
github.com/google/uuid v1.6.0 // indirect
8888
github.com/gorilla/websocket v1.5.3 // indirect
8989
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
@@ -143,36 +143,37 @@ require (
143143
github.com/multiformats/go-multihash v0.2.3 // indirect
144144
github.com/multiformats/go-multistream v0.5.0 // indirect
145145
github.com/multiformats/go-varint v0.0.7 // indirect
146-
github.com/onsi/ginkgo/v2 v2.19.0 // indirect
146+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
147+
github.com/onsi/ginkgo/v2 v2.19.1 // indirect
147148
github.com/opencontainers/runtime-spec v1.2.0 // indirect
148149
github.com/opentracing/opentracing-go v1.2.0 // indirect
149150
github.com/openzipkin/zipkin-go v0.4.3 // indirect
150151
github.com/petar/GoLLRB v0.0.0-20210522233825-ae3b015fd3e9 // indirect
151-
github.com/pion/datachannel v1.5.6 // indirect
152-
github.com/pion/dtls/v2 v2.2.11 // indirect
153-
github.com/pion/ice/v2 v2.3.25 // indirect
152+
github.com/pion/datachannel v1.5.8 // indirect
153+
github.com/pion/dtls/v2 v2.2.12 // indirect
154+
github.com/pion/ice/v2 v2.3.32 // indirect
154155
github.com/pion/interceptor v0.1.29 // indirect
155156
github.com/pion/logging v0.2.2 // indirect
156157
github.com/pion/mdns v0.0.12 // indirect
157158
github.com/pion/randutil v0.1.0 // indirect
158159
github.com/pion/rtcp v1.2.14 // indirect
159-
github.com/pion/rtp v1.8.6 // indirect
160-
github.com/pion/sctp v1.8.16 // indirect
160+
github.com/pion/rtp v1.8.8 // indirect
161+
github.com/pion/sctp v1.8.20 // indirect
161162
github.com/pion/sdp/v3 v3.0.9 // indirect
162-
github.com/pion/srtp/v2 v2.0.18 // indirect
163+
github.com/pion/srtp/v2 v2.0.20 // indirect
163164
github.com/pion/stun v0.6.1 // indirect
164-
github.com/pion/transport/v2 v2.2.5 // indirect
165+
github.com/pion/transport/v2 v2.2.9 // indirect
165166
github.com/pion/turn/v2 v2.1.6 // indirect
166-
github.com/pion/webrtc/v3 v3.2.43 // indirect
167+
github.com/pion/webrtc/v3 v3.2.50 // indirect
167168
github.com/pkg/errors v0.9.1 // indirect
168169
github.com/pmezard/go-difflib v1.0.0 // indirect
169170
github.com/polydawn/refmt v0.89.0 // indirect
170171
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
171172
github.com/prometheus/client_model v0.6.1 // indirect
172-
github.com/prometheus/common v0.54.0 // indirect
173+
github.com/prometheus/common v0.55.0 // indirect
173174
github.com/prometheus/procfs v0.15.1 // indirect
174175
github.com/quic-go/qpack v0.4.0 // indirect
175-
github.com/quic-go/quic-go v0.45.1 // indirect
176+
github.com/quic-go/quic-go v0.45.2 // indirect
176177
github.com/quic-go/webtransport-go v0.8.0 // indirect
177178
github.com/raulk/go-watchdog v1.3.0 // indirect
178179
github.com/russross/blackfriday/v2 v2.1.0 // indirect
@@ -185,6 +186,7 @@ require (
185186
github.com/whyrusleeping/cbor-gen v0.1.2 // indirect
186187
github.com/whyrusleeping/chunker v0.0.0-20181014151217-fe64bd25879f // indirect
187188
github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 // indirect
189+
github.com/wlynxg/anet v0.0.3 // indirect
188190
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
189191
github.com/yusufpapurcu/wmi v1.2.4 // indirect
190192
go.opentelemetry.io/contrib/propagators/aws v1.27.0 // indirect
@@ -204,12 +206,12 @@ require (
204206
go.uber.org/mock v0.4.0 // indirect
205207
go.uber.org/multierr v1.11.0 // indirect
206208
go.uber.org/zap v1.27.0 // indirect
207-
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8 // indirect
208-
golang.org/x/mod v0.18.0 // indirect
209-
golang.org/x/net v0.26.0 // indirect
209+
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
210+
golang.org/x/mod v0.19.0 // indirect
211+
golang.org/x/net v0.27.0 // indirect
210212
golang.org/x/sync v0.7.0 // indirect
211213
golang.org/x/text v0.16.0 // indirect
212-
golang.org/x/tools v0.22.0 // indirect
214+
golang.org/x/tools v0.23.0 // indirect
213215
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
214216
gonum.org/v1/gonum v0.15.0 // indirect
215217
google.golang.org/genproto/googleapis/api v0.0.0-20240624140628-dc46fd24d27d // indirect

0 commit comments

Comments
 (0)