bitswap/client: fix panic if current live count is greater than broadcast limit #702
[v0.24.1]
Changed
routing/http/client: creating delegated routing client with New now defaults to querying delegated routing server with DefaultProtocolFilter (IPIP-484) #689
routing/http/client: optional address and protocol filter parameters from IPIP-484 use human-readable , instead of %2C. #688
bitswap/client Cleanup live wants when wants are canceled. This prevents live wants from continuing to get rebroadcasted even after the wants are canceled. #690
Fix problem adding invalid CID to exhausted wants list resulting in possible performance issue. #692
Commits
980b669 Merge pull request #713 from ipfs/release-v0.24.3
The libp2p.MultiaddrResolver option now takes an interface rather than a
specific pointer. This decouples the resolver from a specific implementation
and also defines a better interface that is aware of bounds.
The swarm exports a new type ResolverFromMaDNS that implements this interface from a *madns.Resolver. The one line diff is essentially:
Authenticate a peer's identity over HTTP. This works on both libp2p stream backed HTTP transports and standard HTTP transports. There is also browser support in the js-libp2p module: https://github.com/libp2p/js-libp2p-http-fetch/tree/main.
In the future we'd like to expose the Fx options libp2p uses to construct itself so that users can better customize their libp2p nodes and integrate it seamlessly into their applications.
We decided to revert the testutil change that made our util functions less error-prone, but created a lot of work for our downstream users. Apologies for the pain! This revert should not cause any major breaking change, even if you already did the work--unless you depend on the exact error message.
Going forward, we plan to reinforce our release testing strategy [1],[2] and deliver an enhanced testutil package/module with more flexible and safer APIs.
[BUGFIX] testutil: Reverted #1424; functions using compareMetricFamilies are (again) only failing if filtered metricNames are in the expected input. #1645
v1.20.4
[BUGFIX] histograms: Fix a possible data race when appending exemplars vs metrics gather. #1623
Add go.opentelemetry.io/otel/sdk/metric/exemplar package which includes Exemplar, Filter, TraceBasedFilter, AlwaysOnFilter, HistogramReservoir, FixedSizeReservoir, Reservoir, Value and ValueType types. These will be used for configuring the exemplar reservoir for the metrics sdk. (#5747, #5862)
Add WithExportBufferSize option to log batch processor.(#5877)
Changed
Enable exemplars by default in go.opentelemetry.io/otel/sdk/metric. Exemplars can be disabled by setting OTEL_METRICS_EXEMPLAR_FILTER=always_off (#5778)
Logger.Enabled in go.opentelemetry.io/otel/log now accepts a newly introduced EnabledParameters type instead of Record. (#5791)
FilterProcessor.Enabled in go.opentelemetry.io/otel/sdk/log/internal/x now accepts EnabledParameters instead of Record. (#5791)
The Record type in go.opentelemetry.io/otel/log is no longer comparable. (#5847)
Performance improvements for the trace SDK SetAttributes method in Span. (#5864)
Reduce memory allocations for the Event and Link lists in Span. (#5858)
Performance improvements for the trace SDK AddEvent, AddLink, RecordError and End methods in Span. (#5874)
Deprecated
Deprecate all examples under go.opentelemetry.io/otel/example as they are moved to Contrib repository. (#5854)
Fixed
The race condition for multiple FixedSize exemplar reservoirs identified in #5814 is resolved. (#5819)
Fix log records duplication in case of heterogeneous resource attributes by correctly mapping each log record to it's resource and scope. (#5803)
Fix timer channel drain to avoid hanging on Go 1.23. (#5868)
Fix delegation for global meter providers, and panic when calling otel.SetMeterProvider. (#5827)
Change the reflect.TypeOf to use a nil pointer to not allocate on the heap unless necessary. (#5827)
Add go.opentelemetry.io/otel/sdk/metric/exemplar package which includes Exemplar, Filter, TraceBasedFilter, AlwaysOnFilter, HistogramReservoir, FixedSizeReservoir, Reservoir, Value and ValueType types. These will be used for configuring the exemplar reservoir for the metrics sdk. (#5747, #5862)
Add WithExportBufferSize option to log batch processor.(#5877)
Changed
Enable exemplars by default in go.opentelemetry.io/otel/sdk/metric. Exemplars can be disabled by setting OTEL_METRICS_EXEMPLAR_FILTER=always_off (#5778)
Logger.Enabled in go.opentelemetry.io/otel/log now accepts a newly introduced EnabledParameters type instead of Record. (#5791)
FilterProcessor.Enabled in go.opentelemetry.io/otel/sdk/log/internal/x now accepts EnabledParameters instead of Record. (#5791)
The Record type in go.opentelemetry.io/otel/log is no longer comparable. (#5847)
Performance improvements for the trace SDK SetAttributes method in Span. (#5864)
Reduce memory allocations for the Event and Link lists in Span. (#5858)
Performance improvements for the trace SDK AddEvent, AddLink, RecordError and End methods in Span. (#5874)
Deprecated
Deprecate all examples under go.opentelemetry.io/otel/example as they are moved to Contrib repository. (#5854)
Fixed
The race condition for multiple FixedSize exemplar reservoirs identified in #5814 is resolved. (#5819)
Fix log records duplication in case of heterogeneous resource attributes by correctly mapping each log record to it's resource and scope. (#5803)
Fix timer channel drain to avoid hanging on Go 1.23. (#5868)
Fix delegation for global meter providers, and panic when calling otel.SetMeterProvider. (#5827)
Change the reflect.TypeOf to use a nil pointer to not allocate on the heap unless necessary. (#5827)
[1.30.0/0.52.0/0.6.0/0.0.9] 2024-09-09
Added
Support OTEL_EXPORTER_OTLP_LOGS_INSECURE and OTEL_EXPORTER_OTLP_INSECURE environments in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#5739)
The WithResource option for NewMeterProvider now merges the provided resources with the ones from environment variables. (#5773)
The WithResource option for NewLoggerProvider now merges the provided resources with the ones from environment variables. (#5773)
Add UTF-8 support to go.opentelemetry.io/otel/exporters/prometheus. (#5755)
Fixed
Fix memory leak in the global MeterProvider when identical instruments are repeatedly created. (#5754)
Fix panic on instruments creation when setting meter provider. (#5758)
Fix an issue where SetMeterProvider in go.opentelemetry.io/otel might miss the delegation for instruments and registries. (#5780)
Add go.opentelemetry.io/otel/sdk/metric/exemplar package which includes Exemplar, Filter, TraceBasedFilter, AlwaysOnFilter, HistogramReservoir, FixedSizeReservoir, Reservoir, Value and ValueType types. These will be used for configuring the exemplar reservoir for the metrics sdk. (#5747, #5862)
Add WithExportBufferSize option to log batch processor.(#5877)
Changed
Enable exemplars by default in go.opentelemetry.io/otel/sdk/metric. Exemplars can be disabled by setting OTEL_METRICS_EXEMPLAR_FILTER=always_off (#5778)
Logger.Enabled in go.opentelemetry.io/otel/log now accepts a newly introduced EnabledParameters type instead of Record. (#5791)
FilterProcessor.Enabled in go.opentelemetry.io/otel/sdk/log/internal/x now accepts EnabledParameters instead of Record. (#5791)
The Record type in go.opentelemetry.io/otel/log is no longer comparable. (#5847)
Performance improvements for the trace SDK SetAttributes method in Span. (#5864)
Reduce memory allocations for the Event and Link lists in Span. (#5858)
Performance improvements for the trace SDK AddEvent, AddLink, RecordError and End methods in Span. (#5874)
Deprecated
Deprecate all examples under go.opentelemetry.io/otel/example as they are moved to Contrib repository. (#5854)
Fixed
The race condition for multiple FixedSize exemplar reservoirs identified in #5814 is resolved. (#5819)
Fix log records duplication in case of heterogeneous resource attributes by correctly mapping each log record to it's resource and scope. (#5803)
Fix timer channel drain to avoid hanging on Go 1.23. (#5868)
Fix delegation for global meter providers, and panic when calling otel.SetMeterProvider. (#5827)
Change the reflect.TypeOf to use a nil pointer to not allocate on the heap unless necessary. (#5827)
[1.30.0/0.52.0/0.6.0/0.0.9] 2024-09-09
Added
Support OTEL_EXPORTER_OTLP_LOGS_INSECURE and OTEL_EXPORTER_OTLP_INSECURE environments in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#5739)
The WithResource option for NewMeterProvider now merges the provided resources with the ones from environment variables. (#5773)
The WithResource option for NewLoggerProvider now merges the provided resources with the ones from environment variables. (#5773)
Add UTF-8 support to go.opentelemetry.io/otel/exporters/prometheus. (#5755)
Fixed
Fix memory leak in the global MeterProvider when identical instruments are repeatedly created. (#5754)
Fix panic on instruments creation when setting meter provider. (#5758)
Fix an issue where SetMeterProvider in go.opentelemetry.io/otel might miss the delegation for instruments and registries. (#5780)
Bumps the patch-updates group with 4 updates in the / directory: github.com/dgraph-io/badger/v4, github.com/ipfs/boxo, github.com/ipfs/go-metrics-prometheus and github.com/klauspost/reedsolomon.
Updates
github.com/dgraph-io/badger/v4
from 4.3.0 to 4.3.1Release notes
Sourced from github.com/dgraph-io/badger/v4's releases.
Commits
a9edda1
chore(deps): bump github.com/dgraph-io/ristretto from 0.1.2-0.20240116140435-...93b5d4e
chore(deps): bump github.com/klauspost/compress from 1.17.9 to 1.17.10 in the...1601efd
Update stale.ymlb77f2e8
fix: fix reverse iterator broken by seek (#2109)d114b10
chore(deps): bump golang.org/x/net from 0.28.0 to 0.29.0 in the minor group (...600fd6b
fix(ci): fix protobuf compiler installation error in dgraph test workflow (#2...a29b0b0
Update dependabot.yml8c33aac
chore: fix typo (#2101)40853f5
chore(): ignore docs and repo folders/files for tests (#2102)3488925
chore(deps): bump golang.org/x/sys from 0.24.0 to 0.25.0 in the minor group (...Updates
github.com/ipfs/boxo
from 0.24.0 to 0.24.3Release notes
Sourced from github.com/ipfs/boxo's releases.
Changelog
Sourced from github.com/ipfs/boxo's changelog.
Commits
980b669
Merge pull request #713 from ipfs/release-v0.24.3f397e79
chore: v0.24.3611af32
fix(bitswap): log unexpected blocks to debug level (#711)ca8df33
chore: update deps (#712)977edea
Merge branch 'main' into release814ad5d
Merge pull request #707 from ipfs/release-v0.24.208dee8c
docs: changelog6b0b5ce
bump version to v0.24.2114a70a
tidy changelog78817b5
bitswap(session): fix slice prealloc (#702)Updates
github.com/ipfs/go-metrics-prometheus
from 0.0.2 to 0.0.3Release notes
Sourced from github.com/ipfs/go-metrics-prometheus's releases.
Commits
903b4df
chore: release v0.0.3 (#24)c45f8a4
chore: update deps and update go-log to v2 (#23)8304a9d
chore: bump go.mod to Go 1.22 and run go fix (#22)89cf81d
ci: uci/copy-templates (#21)99025fa
ci: uci/update-go (#20)6b42aaa
chore: Update .github/workflows/stale.yml [skip ci]4ac96c9
chore: bump go.mod to Go 1.20 and run go fix (#19)6b8a6ee
ci: uci/copy-templates (#18)fe3233f
chore: delete templates [skip ci] (#17)1b7e9b5
chore: Update .github/workflows/stale.yml [skip ci]Updates
github.com/klauspost/reedsolomon
from 1.12.1 to 1.12.4Release notes
Sourced from github.com/klauspost/reedsolomon's releases.
Commits
6a9df69
Test asm slice reads/writes in race tests (#286)67157af
Make ARM SVE code vector length agnostic (#285)3412d52
Fix build for Graviton4 processor (#283)7202dfc
Support for ARM SVE and better performance for NEON (#281)d4574a5
tests: Bump CI to Go 1.22 (#280)ea0a106
Remove double load on 64 byte loop init (#279)465e91a
benchmark: Add CSV header (#277)85a5e93
Remove dead code in fwht (#275)fd7f7a5
Update README.md4e91954
Update link in README.md (#273)Updates
github.com/libp2p/go-libp2p
from 0.36.5 to 0.37.0Release notes
Sourced from github.com/libp2p/go-libp2p's releases.
... (truncated)
Commits
83d458c
Release v0.37.0 (#3013)c4c3a34
feat: Add WithFxOption (#2956)3d63fd6
Use fork of release-check (#3018)f120c6d
chore: update quic-go to v0.48.1 (#3016)aebc4eb
chore: update imports to use slices package (#3007)b1a0919
Change latency metrics buckets (#3012)ed0d8c9
chore: bump deps in preparation for v0.37.0 (#3011)b9cb861
autonat: fix interaction with autorelay (#2967)af2042c
swarm: add a peer dial latency metric (#2959)26c9014
peerstore: limit number of non connected peers in addrbook (#2971)Updates
github.com/libp2p/go-libp2p-kad-dht
from 0.26.1 to 0.27.0Release notes
Sourced from github.com/libp2p/go-libp2p-kad-dht's releases.
Commits
8170ac4
Merge pull request #992 from libp2p/release-v0.27.012c8339
release v0.27.00d075d2
Merge pull request #991 from cortze/feat/add-message-sender-opt794bfc7
remove comment0b803b9
change default msgSenderBuilder for config one53ef5be
add new option to set custom3989875
Merge pull request #987 from libp2p/fix/boxo-v0.22.007fd38c
addressing boxo deprecated func541a8d0
Merge pull request #986 from elecbug/master6a444ac
chore: update versionUpdates
github.com/prometheus/client_golang
from 1.20.3 to 1.20.5Release notes
Sourced from github.com/prometheus/client_golang's releases.
Changelog
Sourced from github.com/prometheus/client_golang's changelog.
Commits
48e12a1
Merge pull request #1645 from prometheus/cut-1204-pr1424504ad9b
Cut 1.20.5; update comments.584a7ce
Revert "testutil compareMetricFamilies: make less error-prone (#1424)"05fcde9
Merge pull request #1623 from krajorama/data-race-in-histogram-write209f4c0
Add changelog1e398cc
native histogram: Fix race between Write and addExemplarUpdates
go.opentelemetry.io/otel
from 1.30.0 to 1.31.0Changelog
Sourced from go.opentelemetry.io/otel's changelog.
Commits
bc2fe88
Release v1.31.0/v0.53.0/v0.7.0/v0.0.10 (#5883)a7d5c1a
Add an option to configure the exporter buffer of the BatchProcessor (#5877)eb9279b
fix(deps): update golang.org/x/exp digest to f66d83c (#5880)6441653
Performance improvements for the trace SDK inSpan
. (#5874)8e9baf2
chore(deps): update lycheeverse/lychee-action action to v2 (#5878)8fbaa97
ReducenewEvictedQueueLink
andnewEvictedQueueEvent
memory allocations (#...4a911f9
chore(deps): update googleapis to 5fefd90 (#5876)98cbdcb
fix(deps): update module google.golang.org/protobuf to v1.35.1 (#5875)3cbd967
Performance improvements forrecordingSpan
SetAttributes
and `addOverCapA...9e791a6
fix(deps): update golang.org/x (#5872)Updates
go.opentelemetry.io/otel/exporters/otlp/otlptrace
from 1.27.0 to 1.31.0Changelog
Sourced from go.opentelemetry.io/otel/exporters/otlp/otlptrace's changelog.
... (truncated)
Commits
bc2fe88
Release v1.31.0/v0.53.0/v0.7.0/v0.0.10 (#5883)a7d5c1a
Add an option to configure the exporter buffer of the BatchProcessor (#5877)eb9279b
fix(deps): update golang.org/x/exp digest to f66d83c (#5880)6441653
Performance improvements for the trace SDK inSpan
. (#5874)8e9baf2
chore(deps): update lycheeverse/lychee-action action to v2 (#5878)8fbaa97
ReducenewEvictedQueueLink
andnewEvictedQueueEvent
memory allocations (#...4a911f9
chore(deps): update googleapis to 5fefd90 (#5876)98cbdcb
fix(deps): update module google.golang.org/protobuf to v1.35.1 (#5875)3cbd967
Performance improvements forrecordingSpan
SetAttributes
and `addOverCapA...9e791a6
fix(deps): update golang.org/x (#5872)Updates
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
from 1.27.0 to 1.31.0Changelog
Sourced from go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp's changelog.
... (truncated)
Commits
bc2fe88
Release v1.31.0/v0.53.0/v0.7.0/v0.0.10 (#5883)a7d5c1a
Add an option to configure the exporter buffer of the BatchProcessor (#5877)eb9279b
fix(deps): update golang.org/x/exp digest to f66d83c (#5880)6441653
Performance improvements for the trace SDK inSpan
. (Looks like these dependencies are updatable in another way, so this is no longer needed.