new: make collection-related matchers Go 1.23 iterator aware [4c964c6]
Maintenance
Replace min/max helpers with built-in min/max [ece6872]
Fix some typos in docs [8e924d7]
v1.35.1
1.35.1
Fixes
Export EnforceDefaultTimeoutsWhenUsingContexts and DisableDefaultTimeoutsWhenUsingContext [ca36da1]
v1.35.0
1.35.0
Features
You can now call EnforceDefaultTimeoutsWhenUsingContexts() to have Eventually honor the default timeout when passed a context. (prior to this you had to expclility add a timeout) [e4c4265]
You can call StopTrying(message).Successfully() to abort a Consistently early without failure [eeca931]
Fixes
Stop memoizing the result of HaveField to avoid unexpected errors when used with async assertions. [3bdbc4e]
new: make collection-related matchers Go 1.23 iterator aware [4c964c6]
Maintenance
Replace min/max helpers with built-in min/max [ece6872]
Fix some typos in docs [8e924d7]
1.35.1
Fixes
Export EnforceDefaultTimeoutsWhenUsingContexts and DisableDefaultTimeoutsWhenUsingContext [ca36da1]
1.35.0
Features
You can now call EnforceDefaultTimeoutsWhenUsingContexts() to have Eventually honor the default timeout when passed a context. (prior to this you had to expclility add a timeout) [e4c4265]
You can call StopTrying(message).Successfully() to abort a Consistently early without failure [eeca931]
Fixes
Stop memoizing the result of HaveField to avoid unexpected errors when used with async assertions. [3bdbc4e]
Add the WithSource option to the go.opentelemetry.io/contrib/bridges/otelslog log bridge to set the code.* attributes in the log record that includes the source location where the record was emitted. (#6253)
Add ContextWithStartTime and StartTimeFromContext to go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, which allows setting the start time using go context. (#6137)
Set the code.* attributes in go.opentelemetry.io/contrib/bridges/otelzap if the zap.Logger was created with the AddCaller or AddStacktrace option. (#6268)
Add a LogProcessor to go.opentelemetry.io/contrib/processors/baggagecopy to copy baggage members to log records. (#6277)
Use baggagecopy.NewLogProcessor when configuring a Log Provider.
NewLogProcessor accepts a Filter function type that selects which baggage members are added to the log record.
Changed
Transform raw (slog.KindAny) attribute values to matching log.Value types.
For example, []string{"foo", "bar"} attribute value is now transformed to log.SliceValue(log.StringValue("foo"), log.StringValue("bar")) instead of log.String("[foo bar"]). (#6254)
Upgrade go.opentelemetry.io/otel/semconv/v1.17.0 to go.opentelemetry.io/otel/semconv/v1.21.0 in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo. (#6272)
Resource doesn't merge with defaults if a valid resource is configured in go.opentelemetry.io/contrib/config. (#6289)
Fixed
Transform nil attribute values to log.Value zero value instead of panicking in go.opentelemetry.io/contrib/bridges/otellogrus. (#6237)
Transform nil attribute values to log.Value zero value instead of panicking in go.opentelemetry.io/contrib/bridges/otelzap. (#6237)
Transform nil attribute values to log.Value zero value instead of log.StringValue("<nil>") in go.opentelemetry.io/contrib/bridges/otelslog. (#6246)
Fix NewClientHandler so that rpc.client.request.* metrics measure requests instead of responses and rpc.client.responses.* metrics measure responses instead of requests in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#6250)
Fix issue in go.opentelemetry.io/contrib/config causing otelprom.WithResourceAsConstantLabels configuration to not be respected. (#6260)
otel.Handle is no longer called on a successful shutdown of the Prometheus exporter in go.opentelemetry.io/contrib/config. (#6299)
Add the WithSource option to the go.opentelemetry.io/contrib/bridges/otelslog log bridge to set the code.* attributes in the log record that includes the source location where the record was emitted. (#6253)
Add ContextWithStartTime and StartTimeFromContext to go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp, which allows setting the start time using go context. (#6137)
Set the code.* attributes in go.opentelemetry.io/contrib/bridges/otelzap if the zap.Logger was created with the AddCaller or AddStacktrace option. (#6268)
Add a LogProcessor to go.opentelemetry.io/contrib/processors/baggagecopy to copy baggage members to log records. (#6277)
Use baggagecopy.NewLogProcessor when configuring a Log Provider.
NewLogProcessor accepts a Filter function type that selects which baggage members are added to the log record.
Changed
Transform raw (slog.KindAny) attribute values to matching log.Value types.
For example, []string{"foo", "bar"} attribute value is now transformed to log.SliceValue(log.StringValue("foo"), log.StringValue("bar")) instead of log.String("[foo bar"]). (#6254)
Upgrade go.opentelemetry.io/otel/semconv/v1.17.0 to go.opentelemetry.io/otel/semconv/v1.21.0 in go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo. (#6272)
Resource doesn't merge with defaults if a valid resource is configured in go.opentelemetry.io/contrib/config. (#6289)
Fixed
Transform nil attribute values to log.Value zero value instead of panicking in go.opentelemetry.io/contrib/bridges/otellogrus. (#6237)
Transform nil attribute values to log.Value zero value instead of panicking in go.opentelemetry.io/contrib/bridges/otelzap. (#6237)
Transform nil attribute values to log.Value zero value instead of log.StringValue("<nil>") in go.opentelemetry.io/contrib/bridges/otelslog. (#6246)
Fix NewClientHandler so that rpc.client.request.* metrics measure requests instead of responses and rpc.client.responses.* metrics measure responses instead of requests in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#6250)
Fix issue in go.opentelemetry.io/contrib/config causing otelprom.WithResourceAsConstantLabels configuration to not be respected. (#6260)
otel.Handle is no longer called on a successful shutdown of the Prometheus exporter in go.opentelemetry.io/contrib/config. (#6299)
The Severitier and SeverityVar types are added to go.opentelemetry.io/contrib/processors/minsev allowing dynamic configuration of the severity used by the LogProcessor. (#6116)
Move examples from go.opentelemetry.io/otel to this repository under examples directory. (#6158)
Support yaml/json struct tags for generated code in go.opentelemetry.io/contrib/config. (#5433)
Add support for parsing YAML configuration via ParseYAML in go.opentelemetry.io/contrib/config. (#5433)
Add support for temporality preference configuration in go.opentelemetry.io/contrib/config. (#5860)
Changed
The function signature of NewLogProcessor in go.opentelemetry.io/contrib/processors/minsev has changed to accept the added Severitier interface instead of a log.Severity. (#6116)
Updated go.opentelemetry.io/contrib/config to use the v0.3.0 release of schema which includes backwards incompatible changes. (#6126)
NewSDK in go.opentelemetry.io/contrib/config now returns a no-op SDK if disabled is set to true. (#6185)
The deprecated go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho package has found a Code Owner.
The package is no longer deprecated. (#6207)
Fixed
Possible nil dereference panic in go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace. (#5965)
logrus.Level transformed to appropriate log.Severity in go.opentelemetry.io/contrib/bridges/otellogrus. (#6191)
Add go.opentelemetry.io/otel/sdk/metric/exemplar.AlwaysOffFilter, which can be used to disable exemplar recording. (#5850)
Add go.opentelemetry.io/otel/sdk/metric.WithExemplarFilter, which can be used to configure the exemplar filter used by the metrics SDK. (#5850)
Add ExemplarReservoirProviderSelector and DefaultExemplarReservoirProviderSelector to go.opentelemetry.io/otel/sdk/metric, which defines the exemplar reservoir to use based on the aggregation of the metric. (#5861)
Add ExemplarReservoirProviderSelector to go.opentelemetry.io/otel/sdk/metric.Stream to allow using views to configure the exemplar reservoir to use for a metric. (#5861)
Add ReservoirProvider, HistogramReservoirProvider and FixedSizeReservoirProvider to go.opentelemetry.io/otel/sdk/metric/exemplar to make it convenient to use providers of Reservoirs. (#5861)
The go.opentelemetry.io/otel/semconv/v1.27.0 package.
The package contains semantic conventions from the v1.27.0 version of the OpenTelemetry Semantic Conventions. (#5894)
Add Attributes attribute.Set field to Scope in go.opentelemetry.io/otel/sdk/instrumentation. (#5903)
Add Attributes attribute.Set field to ScopeRecords in go.opentelemetry.io/otel/log/logtest. (#5927)
go.opentelemetry.io/otel/exporters/prometheus adds instrumentation scope attributes in otel_scope_info metric as labels. (#5932)
Changed
Support scope attributes and make them as identifying for Tracer in go.opentelemetry.io/otel and go.opentelemetry.io/otel/sdk/trace. (#5924)
Support scope attributes and make them as identifying for Meter in go.opentelemetry.io/otel and go.opentelemetry.io/otel/sdk/metric. (#5926)
Support scope attributes and make them as identifying for Logger in go.opentelemetry.io/otel and go.opentelemetry.io/otel/sdk/log. (#5925)
Make schema URL and scope attributes as identifying for Tracer in go.opentelemetry.io/otel/bridge/opentracing. (#5931)
Clear unneeded slice elements to allow GC to collect the objects in go.opentelemetry.io/otel/sdk/metric and go.opentelemetry.io/otel/sdk/trace. (#5804)
Fixed
Global MeterProvider registration unwraps global instrument Observers, the undocumented Unwrap() methods are now private. (#5881)
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc now keeps the metadata already present in the context when WithHeaders is used. (#5892)
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc now keeps the metadata already present in the context when WithHeaders is used. (#5911)
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc now keeps the metadata already present in the context when WithHeaders is used. (#5915)
Fix go.opentelemetry.io/otel/exporters/prometheus trying to add exemplars to Gauge metrics, which is unsupported. (#5912)
Fix WithEndpointURL to always use a secure connection when an https URL is passed in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#5944)
Bumps the go-modules group with 8 updates in the / directory:
1.34.2
1.36.0
0.18.8
0.19.0
0.15.1
0.16.2
1.9.0
1.10.0
0.55.0
0.57.0
1.30.0
1.32.0
0.28.0
0.29.0
0.30.0
0.31.0
Updates
github.com/onsi/gomega
from 1.34.2 to 1.36.0Release notes
Sourced from github.com/onsi/gomega's releases.
Changelog
Sourced from github.com/onsi/gomega's changelog.
Commits
f1ff459
v1.36.04c964c6
new: make collection-related matchers Go 1.23 iterator awareece6872
Replace min/max helpers with built-in min/max8e924d7
Fix some typos in docs9f5a208
v1.35.1ca36da1
Export EnforceDefaultTimeoutsWhenUsingContexts and DisableDefaultTimeoutsWhen...d6331f9
v1.35.05deaf23
fix tests, but like actually this timeeeca931
Add Successfully() to StopTrying() to signal that Consistently can end early ...3bdbc4e
stop memoizing result of HaveFieldUpdates
github.com/paketo-buildpacks/occam
from 0.18.8 to 0.19.0Release notes
Sourced from github.com/paketo-buildpacks/occam's releases.
Commits
9b665d9
feat: allow occam to cope with pack limitationseebbe41
Bump github.com/paketo-buildpacks/packit/v2 from 2.15.0 to 2.16.021300d8
Bump github.com/onsi/gomega from 1.35.0 to 1.35.16603928
Bump github.com/onsi/gomega from 1.34.2 to 1.35.0e10b1fa
Bump github.com/paketo-buildpacks/packit/v2 from 2.14.2 to 2.15.0e64011e
Bump github.com/onsi/gomega from 1.34.1 to 1.34.2b8c82dc
Updating github-configUpdates
github.com/containerd/stargz-snapshotter/estargz
from 0.15.1 to 0.16.2Release notes
Sourced from github.com/containerd/stargz-snapshotter/estargz's releases.
Commits
1d34a1b
Merge pull request #1878 from ktock/prepare-v0.16.23971b26
Merge pull request #1877 from ktock/v0.16dev1e4fad0
Preapre for v0.16.24edcebd
go.mod: Use 1.22.0 by specifying to google.golang.org/grpc v1.67.17d3230e
Merge pull request #1864 from ktock/prepare-v0.16.19f207c4
Merge pull request #1863 from ktock/gomodversion96bea0a
Prepare for v0.16.1985b021
go.mod : prevernt go upgraded to 1.2318cb40a
Merge pull request #1859 from ktock/prepare-v0.16.0-afe111ee
Merge pull request #1832 from ktock/gomodbumpUpdates
github.com/gabriel-vasile/mimetype
from 1.4.5 to 1.4.6Release notes
Sourced from github.com/gabriel-vasile/mimetype's releases.
Commits
2998a94
Remove GPL test file (#583)8a780a5
Bump actions/checkout from 4.1.7 to 4.2.1 in the github-actions group (#592)458b62d
action for benchmarking detectors (#590)fd16da2
retract v1.4.4; closes #575. (#591)3cf98ef
Bump golang.org/x/net in the gomod group across 1 directory (#585)9349e46
Bump the github-actions group across 1 directory with 2 updates (#586)7798415
add benchmark action that leaves comment on PR (#588)c6c5e4f
Make mso detection work similar to what file/file doesc78cb11
add application/xml as alias; close #227 (#581)c4abedc
feat: Add parquet file detection (#578)Updates
github.com/klauspost/compress
from 1.17.10 to 1.17.11Release notes
Sourced from github.com/klauspost/compress's releases.
Commits
72cd4a9
zstd: Fix extra CRC written with multiple Close calls (#1017)dbd6c38
s2: Don't use stack for index tables (#1014)f73ab1e
Do not set the content-type when response has no body (#1013)f2a4f25
build(deps): bump github/codeql-action in the github-actions group (#1012)8e14b1b
No content-type on no body response code (#1011)13a1ce6
ci: Match goreleaser version (#1009)6c5a195
Update README.mdUpdates
github.com/paketo-buildpacks/packit/v2
from 2.15.0 to 2.16.0Release notes
Sourced from github.com/paketo-buildpacks/packit/v2's releases.
Commits
837f1ba
syftCLIScanner: allow generic path to be scanned292f752
Bump github.com/gabriel-vasile/mimetype from 1.4.5 to 1.4.6fc95594
feat: add support for targets to cargoUpdates
github.com/stretchr/testify
from 1.9.0 to 1.10.0Release notes
Sourced from github.com/stretchr/testify's releases.
... (truncated)
Commits
89cbdd9
Merge pull request #1626 from arjun-1/fix-functional-options-diff-indirect-calls07bac60
Merge pull request #1667 from sikehish/flaky716de8d
Increase timeouts in Test_Mock_Called_blocks to reduce flakiness in CI118fb83
NotSame should fail if args are not pointers #1661 (#1664)7d99b2b
attempt 205f87c0
more similarea7129e
better fmta1b9c9e
Merge pull request #1663 from ybrustin/master8302de9
Merge branch 'master' into master89352f7
Merge pull request #1518 from hendrywiranto/adjust-readme-remove-v2Updates
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
from 0.55.0 to 0.57.0Release notes
Sourced from go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp's releases.
... (truncated)
Changelog
Sourced from go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp's changelog.
... (truncated)
Commits
519f10d
Release v1.32.0/v0.57.0/v0.26.0/v0.12.0/v0.7.0/v0.5.0/v0.4.0 (#6311)bb01131
fix(deps): update module google.golang.org/grpc to v1.68.0 (#6306)b559799
fix(deps): update aws-sdk-go-v2 monorepo (#6308)0beb27c
fix(deps): update module go.opentelemetry.io/build-tools/multimod to v0.15.0 ...4e7a11a
chore(deps): update module github.com/klauspost/cpuid/v2 to v2.2.9 (#6304)8e0db19
config: don't log an error on close (#6299)da04e2d
fix(deps): update module go.opentelemetry.io/build-tools/crosslink to v0.15.0...f658e10
fix(deps): update module go.opentelemetry.io/build-tools/gotmpl to v0.15.0 (#...6b29ae8
chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.113...68e20fe
fix(deps): update aws-sdk-go-v2 monorepo (#6298)Updates
go.opentelemetry.io/otel
from 1.30.0 to 1.32.0Changelog
Sourced from go.opentelemetry.io/otel's changelog.
Superseded by #1205.