This version introduces the List{Offline,Online,Possible,Present} functions (currently only implemented for Linux) which return a list of offline, online, possible or present CPUs, respectively.
This release notably drops go1.17 (due to dependencies that no longer support 1.17), and adds testing for go1.21 and go1.22.
Additionally adds a new function for iterating over only the headers of a the metadata. Previously this would have required assembling the full tar stream with is expensive for such an operation. Thanks @mtrmac
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)
Removed
The Minimum field of the LogProcessor in go.opentelemetry.io/contrib/processors/minsev is removed.
Use NewLogProcessor to configure this setting. (#6116)
The deprecated go.opentelemetry.io/contrib/instrumentation/gopkg.in/macaron.v1/otelmacaron package is removed. (#6186)
The deprecated go.opentelemetry.io/contrib/samplers/aws/xray package is removed. (#6187)
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)
Removed
The Minimum field of the LogProcessor in go.opentelemetry.io/contrib/processors/minsev is removed.
Use NewLogProcessor to configure this setting. (#6116)
The deprecated go.opentelemetry.io/contrib/instrumentation/gopkg.in/macaron.v1/otelmacaron package is removed. (#6186)
The deprecated go.opentelemetry.io/contrib/samplers/aws/xray package is removed. (#6187)
Add NewProducer to go.opentelemetry.io/contrib/instrumentation/runtime, which allows collecting the go.schedule.duration histogram metric from the Go runtime. (#5991)
Add gRPC protocol support for OTLP log exporter in go.opentelemetry.io/contrib/exporters/autoexport. (#6083)
Superfluous call to WriteHeader when flushing after setting a status code in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#6074)
Superfluous call to WriteHeader when writing the response body after setting a status code in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#6055)
Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.
Bumps the go-modules group with 12 updates in the / directory:
1.34.1
1.34.2
0.18.7
0.18.8
2.14.2
2.15.0
3.2.1
3.3.0
0.3.1
0.3.2
1.4.5
1.4.6
1.17.9
1.17.11
1.12.0
1.13.1
0.8.0
0.9.0
0.11.5
0.11.6
0.53.0
0.56.0
1.28.0
1.31.0
Updates
github.com/onsi/gomega
from 1.34.1 to 1.34.2Release notes
Sourced from github.com/onsi/gomega's releases.
Changelog
Sourced from github.com/onsi/gomega's changelog.
Commits
7cabed6
v1.34.2c59c6dc
bump ginkgo as well8158b99
bump to go 1.22 - remove x/exp dependencyUpdates
github.com/paketo-buildpacks/occam
from 0.18.7 to 0.18.8Release notes
Sourced from github.com/paketo-buildpacks/occam's releases.
Commits
1193f3c
Bump docker to version 26.1.5 to fix CVE-2024-411105cd4ede
Updates go mod version to 1.23.02e5b930
Updates go mod version to 1.22.6815b014
Bump github.com/paketo-buildpacks/packit/v2 from 2.14.1 to 2.14.274a79fb
Bump github.com/paketo-buildpacks/packit/v2 from 2.14.0 to 2.14.190134a5
Bump github.com/google/go-containerregistry from 0.20.1 to 0.20.2653a6fb
Bump github.com/onsi/gomega from 1.34.0 to 1.34.1ed0e429
Bump github.com/onsi/gomega from 1.33.1 to 1.34.0f467245
Updates go mod version to 1.22.5c97acf2
Bump github.com/google/go-containerregistry from 0.20.0 to 0.20.1Updates
github.com/paketo-buildpacks/packit/v2
from 2.14.2 to 2.15.0Release notes
Sourced from github.com/paketo-buildpacks/packit/v2's releases.
Commits
1ab5b00
SyftCLIScanner: support SBOM generation with syft CLI884a7b7
Update to fix linterc3a3e6a
Updating github-configUpdates
github.com/Masterminds/semver/v3
from 3.2.1 to 3.3.0Release notes
Sourced from github.com/Masterminds/semver/v3's releases.
Changelog
Sourced from github.com/Masterminds/semver/v3's changelog.
Commits
e6e3d4d
Merge pull request #249 from mattfarina/update-changelog-3.3.0e80c4ea
Updating changelog for 3.3.080427ad
Merge pull request #248 from mattfarina/bump-min-versionb610837
bumping min version in go.mod based on what's testeda4cccd8
Merge pull request #246 from mattfarina/bump-go-1.237c178cf
Updating the testing version of Go used29f94c1
Merge pull request #241 from grosser/grosser/validate2cf1b16
Merge pull request #245 from mattfarina/remove-vertb55476a
Removing reference to vertd07450b
simplify StrictNewVersionUpdates
github.com/cpuguy83/dockercfg
from 0.3.1 to 0.3.2Release notes
Sourced from github.com/cpuguy83/dockercfg's releases.
Commits
a07c3d1
Merge pull request #3 from stevenh/chore/improve-errors91bd66a
chore: improve errorsUpdates
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.9 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.md2a46d6b
Update README.md4dafca9
ci: Upgrade Go & other (#1008)26519f8
zstd: Improve memory usage on small streaming encodes (#1007)Updates
github.com/rogpeppe/go-internal
from 1.12.0 to 1.13.1Release notes
Sourced from github.com/rogpeppe/go-internal's releases.
Commits
e67a4aa
README: update the package list4794549
take advantage of Go 1.225ce929e
drop Go 1.21, add Go 1.233a65db1
dirhash: forward to golang.org/x/mod/sumdb/dirhash361e7d2
goproxytest: add test wrapper APIccf4b43
testscript: ignore result when interrupting background processes66960b6
Fix typos discovered by codespell5556500
cmd/testscript: do not create an extra temporary directory (#259)b143f3f
testscript: add Config.Files (#258)8300480
cmd/testscript: remove redundant use of Failed (#257)Updates
github.com/tklauser/numcpus
from 0.8.0 to 0.9.0Release notes
Sourced from github.com/tklauser/numcpus's releases.
Commits
0b05380
Don't skip testNumAndList if Get* fails or isn't supported8c67b16
.github: Bump actions/checkout from 4.1.7 to 4.2.003759c7
go.mod: bump golang.org/x/sys from 0.24.0 to 0.25.066b9208
ci: update Go to 1.23975ec65
go.mod: bump golang.org/x/sys from 0.23.0 to 0.24.07a80fe4
.github: Bump actions/setup-go from 5.0.1 to 5.0.2bbc341e
.cirrus.yml: update Go to 1.22.5, FreeBSD to 1.13.313b4a99
go.mod: bump golang.org/x/sys from 0.20.0 to 0.23.08a61286
.github: Bump actions/checkout from 4.1.6 to 4.1.7233c448
Simplify listCPURange implementationUpdates
github.com/vbatts/tar-split
from 0.11.5 to 0.11.6Release notes
Sourced from github.com/vbatts/tar-split's releases.
Commits
1f44cc4
Merge pull request #70 from vbatts/update-modsf39ca64
go*: update modulesac25d96
Merge pull request #72 from vbatts/go-versions84c1d45
github: drop go1.17, and add go1.21 & go1.2293a41cf
Merge pull request #71 from mtrmac/iterate99c8914
Add tar/asm.IterateHeadersfe4605a
Merge pull request #69 from testwill/typobd00927
fix: utility typoUpdates
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
from 0.53.0 to 0.56.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
9cf5701
Release v1.31.0/v0.56.0/v0.25.0/v0.11.0/v0.6.0/v0.4.0/v0.3.0 (Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting
@dependabot rebase
.Superseded by #526.