fix(deps): update all go dependencies master (minor)#317
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
c2b85c4 to
8198c43
Compare
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
8198c43 to
46f0bfb
Compare
Contributor
Author
ℹ️ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
Signed-off-by: renovate[bot] <bot@renovateapp.com>
46f0bfb to
c14238a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.18.0→v0.21.0v1.9.0→v1.10.0v28.0.4+incompatible→v28.5.2+incompatiblev1.3.1→v1.5.0v1.7.2→v1.11.1v4.25.9→v4.26.3v1.9.1→v1.10.2v0.18.0→v0.26.0v0.39.0→v0.43.0v0.33.5→v0.35.4v0.33.5→v0.35.4v2.130.1→v2.140.0Release 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
v0.20.0Compare Source
Performance Improvements
New Features
LoadSplitSpecfunction for easier use of split-BTF filesDetach()method for explicitly detaching linksmap_extrafield in MapSpec (enables bloom filter configuration)ExtraRelocationTargetsccache clang)ErrRestrictedKernelwhen reading zero addresses due tokernel.kptr_restrictErrRestrictedKernelwhen program info is restricted by kernel security settingsErrRestrictedKernelduring ksym resolution unless ksyms are requiredBugfixes
*Memoryinstead of**Memoryto fix resource leakWindows Support Improvements
Breaking Changes
ProgramOptions.KernelModuleTypes removed
The
KernelModuleTypesfield inProgramOptionshas been removed. In 99% of cases this field should not be necessary anymore. Module BTF should be merged into the vmlinux BTF, as tools like btfhub do.For advanced use cases that still require passing additional BTF specs for CO-RE relocations, use the new
ExtraRelocationTargetsfield:Before:
After:
btf.Cache fields unexported
The
KernelTypes,ModuleTypes, andLoadedModulesfields inbtf.Cachehave been unexported. These fields were internal implementation details and should not have been accessed directly. Users should continue usingbtf.NewCache()to create cache instances - no code changes are needed if you weren't directly accessing these fields.What's Changed
LoadSplitSpecfunction by @tdaudi in #1819BPF2GO_CCby @jrife in #1829go toolinstead ofgo runingo:generatestatements by @ti-mo in #1875ErrRestrictedKernelwhen kernel pointers are restricted using sysctls by @dylandreimerink in #1858New Contributors
Full Changelog: cilium/ebpf@v0.19.0...v0.20.0
v0.19.0Compare Source
Major Performance Improvements
This release includes significant performance optimizations across multiple areas:
Program.Stats()method allows querying runtime statistics without fetching full ProgramInfoCO-RE Improvements
Build System and Toolchain Updates
Enhanced Map Support
MapSpec.Tagsfield for readingbtf_decl_tagattributes set on mapsBPF_F_NO_PREALLOChints and warnings for map types that require this flagAssembly and Instruction Handling
Memory and Variable Access
VariableandMemorytypesWindows Support Improvements
Bug Fixes
BatchLookupandBatchLookupDelete(#1741)InvalidOpCodeforStoreImmwithDWordsize (#1767)WalkDirharder to misuse and added Windows support (#1652)structs.HostLayoutin GoFormatter (#1686)Compatibility Notes
What's Changed
New{Map,Program}From{ID,FD}andLoadPinned{Map,Program}by @ti-mo in #1791loadMapsif ELF file has no BTF by @paulcacheux in #1807/sys/kernel/btfby @paulcacheux in #1813New Contributors
Full Changelog: cilium/ebpf@v0.18.0...v0.19.0
docker/docker (github.com/docker/docker)
v28.5.2+incompatibleCompare Source
v28.5.1+incompatibleCompare Source
v28.5.0+incompatibleCompare Source
v28.4.0+incompatibleCompare Source
v28.3.3+incompatibleCompare Source
v28.3.2+incompatibleCompare Source
v28.3.1+incompatibleCompare Source
v28.3.0+incompatibleCompare Source
v28.2.2+incompatibleCompare Source
v28.2.1+incompatibleCompare Source
v28.2.0+incompatibleCompare Source
v28.1.1+incompatibleCompare Source
v28.1.0+incompatibleCompare Source
gopacket/gopacket (github.com/gopacket/gopacket)
v1.5.0Compare Source
What's Changed
New Contributors
Full Changelog: gopacket/gopacket@v1.4.0...v1.5.0
v1.4.0Compare Source
What's Changed
Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, 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.