fix(deps): update go dependencies#1237
Conversation
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
File name: tools.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
File name: tools/probe-ctrl/go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
|
Fixing CI error in #1238 |
54e7bde to
c7ee993
Compare
c7ee993 to
896a933
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
a479813 to
a90abd4
Compare
|
/easycla |
a90abd4 to
9be846c
Compare
This PR contains the following updates:
v1.96.3→v1.96.4v0.20.0→v0.21.0v2.10.1→v2.11.3v1.41.0→v1.42.0v1.41.0→v1.42.0v0.2.0→v0.3.0v0.24.0→v0.25.0v0.19.0→v0.20.0v0.41.0→v0.42.0v1.79.1→v1.79.2Release Notes
cilium/ebpf (github.com/cilium/ebpf)
v0.21.0: : Struct Ops, Weak Symbols and BTF deduplicationCompare Source
Hi, everyone! The Cilium project is proud to announce v0.21.0 of ebpf-go, our first major 2026 feature release. Please note that this version comes with a few breaking changes for XDP users that may require some intervention based on your use case, so please read the following section carefully before upgrading! We've also removed some long-deprecated APIs.
Breaking changes
XDP Attach Type
This release saw a change to the ELF parsing logic, specifically to XDP programs. Previously, XDP programs had their
ProgramSpec.AttachTypeset toAttachNone. Prompted by upstream changes in Linux 6.18, XDP programs now come with anAttachXDPattach type. This change ensures compatibility with kernels going forward, as well as better interoperability with libbpf-based tools using shared PROG_ARRAY maps.tl;dr: Linux 6.18 and later disallows mixing attach types within the same program array.
If your application uses a pinned program array, you may need to manually change the attach type of your XDP programs to
AttachNonebefore they are loaded to ensure they can still be inserted into maps containing pre-upgrade programs.The same goes for BPF links. If you're updating an XDP link created by an older version of ebpf-go, you need to ensure your XDP program is loaded with the same attach type the link was initially created with, or updating will fail with EINVAL.
For an example of how to deal with this change, here's the the Cilium PR that implemented logic to try both attach types when updating links.
Windows helper function rename
ebpf-for-windows was upgraded from
0.21.0tov1.0.0-rc1. efW made breaking changes to the names of helper functions, our API has been updated to match:asm.WindowsFnMemcmp->asm.WindowsFnMemcmpSasm.WindowsFnMemcpy->asm.WindowsFnMemcpySasm.WindowsFnMemmove->asm.WindowsFnMemmoveSNew Features
MapSpecsand resolving function-pointer members.link.AttachStructOpshas been added to allow attaching aStructOpsMapas a link. A sched_ext example can be found here.ProgramSpecandMapSpec, meaning linked objects (produced viabpftool gen object) are now handled correctly.btf.Buildercan now deduplicate types while generating a BTF blob. Deduplication can be enabled by passingBuilderOptionstoNewBuilderwith theDeduplicationfield set to true.ProgramSpec.Compatiblewas added —ProgramSpec.Tagis now deprecated. The newProgramSpec.Compatiblemethod compares a loaded program's tag against both SHA-1 and SHA-256 hashes of the spec, ensuring correct behaviour across kernels — including kernel v6.18+, which switched to SHA-256 for program hashing.ProgramInfo.Nameis now sourced from BTF func info when available to provide the full program name if it's longer than 15 bytes.Executable.Symbolto resolve addresses to a symbol and relative offset.HaveBPFLinkKprobeMulti,HaveBPFLinkUprobeMulti, andHaveBPFLinkKprobeSessionare now exported from the features package, making it easier to probe for multi-attach support before loading programs.RunOptions.BatchSizeoption has been added to support batching when running programs.Bug Fixes
CAP_SYS_ADMIN— Loading programs with weak kfuncs on kernels that don't have the kfunc no longer fails with "operation not permitted" when the caller lacksCAP_SYS_ADMIN. The permission error is now treated as "not found" for weak kfuncs.QueryResult.HaveLinkInfoheuristic — The heuristic has been updated to check for at least one attached program with a non-zero link ID, fixing a false positive introduced by a kernel change that began populating the revision field for cgroup queries.More breaking changes
Deprecations
In this release we have removed a number of features which had been deprecated for a while.
CollectionSpec.RewriteMaps- PassCollectionOptions.MapReplacementswhen loading the Collectioninstead.
CollectionSpec.RewriteConstants- UseCollectionSpec.Variablesinstead.NewLinkFromFD- UseNewFromFDinstead.HaveProgType- UseHaveProgramTypeinstead.IsUnreferencedSymbol- Useerrors.Is(err, asm.ErrUnreferencedSymbol)instead.Instruction.RewriteMapPtr- UseInstruction.AssociateMapinstead. If you cannot provide a Map, wrap an fd in a type implementingFDer.Instruction.Sym- UseInstruction.WithSymbolinstead.Instruction.MapPtr- UseInstruction.Mapinstead.Breaking changes to Memory, Variable and VariableSpec
Memory.Sizenow returns anuint32instead of anintVariable.Sizenow returns anuint32instead of anuint64VariableSpec.MapNamehas been removed, useVariableSpec.SectionNameinstead.VariableSpec.Offsetis no longer a method, and is now a field.VariableSpec.Sizenow returns anuint32instead of auint64.VariableSpec.Typeis no longer a method, and is now a field.Breaking changes to link info
KprobeInfo.Addresshas been changed from a method into a field.KprobeInfo.Missedhas been changed from a method into a field.KprobeMultiInfo.AddressCounthas been removed, uselen(KprobeMultiInfo.Address)instead.KprobeMultiInfo.Flagshas been changed from a method into a field.KprobeMultiInfo.Missedhas been changed from a method into a field.NetNsInfo.NetnsInowas renamed toNetNsInfo.NetnsInodeNetfilterInfo.Hooknumhas been renamed toNetfilterInfo.Hookand changed from anuint32to aNetfilterInetHookNetfilterInfo.Pfhas been renamed toNetfilterInfo.ProtocolFamilyand changed from anuint32to aNetfilterProtocolFamilyTracingInfo.TargetObjIdhas been renamed toNetfilterInfo.TargetObjectIdBreaking changes to BTF API
We exported methods and types from the btf package. This allowed us to directly assign BTF func info, line info and CO-RE relocations to instructions from outside of the btf package, making some methods unneeded and thus got removed.
ExtInfos.Assignhas been removed, useWithFuncMetadata,Instruction.WithSource, andWithCORERelocationMetadatainstead.AssignMetadataToInstructionshas been removed, useWithFuncMetadata,Instruction.WithSource, andWithCORERelocationMetadatainstead.CORERelocationInfoswas renamed toCORERelocationOffsets.NewBuildernow takes an additionalBuilderOptions. This can be leftnil.What's Changed
ProgramSpec.Tag, and introduceProgramSpec.Compatibleby @dylandreimerink in #1932CAP_SYS_ADMINby @dylandreimerink in #1950New Contributors
Full Changelog: cilium/ebpf@v0.20.0...v0.21.0
golangci/golangci-lint (github.com/golangci/golangci-lint/v2)
v2.11.3Compare Source
Released on 2026-03-10
gosec: from v2.24.7 to619ce21v2.11.2Compare Source
Released on 2026-03-07
fmt: fix error when using thefmtcommand with explicit paths.v2.11.1Compare Source
Released on 2026-03-06
Due to an error related to AUR, some artifacts of the v2.11.0 release have not been published.
This release contains the same things as v2.11.0.
v2.11.0Compare Source
Released on 2026-03-06
errcheck: from 1.9.0 to 1.10.0 (excludecrypto/rand.Readby default)gosec: from 2.23.0 to 2.24.6 (new rules:G113,G118,G119,G120,G121,G122,G123,G408,G707)noctx: from 0.4.0 to 0.5.0 (new detection:httptest.NewRequestWithContext)prealloc: from 1.0.2 to 1.1.0revive: from 1.14.0 to 1.15.0 (var-namingto a new rulepackage-naming)gocognit: from 1.2.0 to 1.2.1gosec: from 2.24.6 to 2.24.7unqueryvet: from 1.5.3 to 1.5.4open-telemetry/opentelemetry-go (go.opentelemetry.io/otel)
v1.42.0: /v0.64.0/v0.18.0/v0.0.16Compare Source
Added
go.opentelemetry.io/otel/semconv/v1.40.0package.The package contains semantic conventions from the
v1.40.0version of the OpenTelemetry Semantic Conventions.See the migration documentation for information on how to upgrade from
go.opentelemetry.io/otel/semconv/v1.39.0. (#7985)ErrandSetErronRecordingo.opentelemetry.io/otel/logto attach an error and set record exception attributes ingo.opentelemetry.io/otel/log/sdk. (#7924)Changed
TracerProvider.ForceFlushingo.opentelemetry.io/otel/sdk/tracejoins errors together and continues iteration through SpanProcessors as opposed to returning the first encountered error without attempting exports on subsequent SpanProcessors. (#7856)Fixed
request.GetBodyingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttpto correctly handle HTTP2 GOAWAY frame. (#7931)go.opentelemetry.io/otel/propagation. (#7834)Removed
What's Changed
df47568by @renovate[bot] in #799618da590by @renovate[bot] in #8000e526e8aby @renovate[bot] in #8010New Contributors
Full Changelog: open-telemetry/opentelemetry-go@v1.41.0...v1.42.0
grpc/grpc-go (google.golang.org/grpc)
v1.79.2: Release 1.79.2Compare Source
Bug Fixes
Configuration
📅 Schedule: Branch creation - "before 8am every weekday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.