NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules · #438 by repository stars
Last release 6 days ago
30 Sep 2026
Ships on a steady schedule
a new release about every 2 weeks
Rarely documented
notes for 8 of 36 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
1157 releases · first in 2017
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
btf: Memory-map vmlinux BTF when possible instead of copying to heap (saves several megabytes)
LoadSplitSpec function for easier use of split-BTF filesDetach() method for explicitly detaching linksmap_extra field in MapSpec (enables bloom filter configuration)ExtraRelocationTargetsccache clang)ErrRestrictedKernel when reading zero addresses due to kernel.kptr_restrictErrRestrictedKernel when program info is restricted by kernel security settingsErrRestrictedKernel during ksym resolution unless ksyms are required*Memory instead of **Memory to fix resource leakThe KernelModuleTypes field in ProgramOptions has 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 ExtraRelocationTargets field:
Before:
opts := &ebpf.ProgramOptions{
KernelModuleTypes: map[string]*btf.Spec{
"module1": moduleSpec1,
},
}After:
// Merge module BTF into vmlinux BTF (recommended)
// Or for advanced cases:
opts := &ebpf.ProgramOptions{
ExtraRelocationTargets: []*btf.Spec{
moduleSpec1,
},
}The KernelTypes, ModuleTypes, and LoadedModules fields in btf.Cache have been unexported. These fields were internal implementation details and should not have been accessed directly. Users should continue using btf.NewCache() to create cache instances - no code changes are needed if you weren't directly accessing these fields.
cache := btf.NewCache()
cache.KernelTypes = mySpec // This will no longer compileLoadSplitSpec function by @tdaudi in #1819BPF2GO_CC by @jrife in #1829go tool instead of go run in go:generate statements by @ti-mo in #1875ErrRestrictedKernel when kernel pointers are restricted using sysctls by @dylandreimerink in #1858Full Changelog: v0.19.0...v0.20.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
This release includes significant performance optimizations across multiple areas:
This release includes significant performance optimizations across multiple areas:
Program.Stats() method allows querying runtime statistics without fetching full ProgramInfoMapSpec.Tags field for reading btf_decl_tag attributes set on mapsBPF_F_NO_PREALLOC hints and warnings for map types that require this flagVariable and Memory typesBatchLookup and BatchLookupDelete (#1741)InvalidOpCode for StoreImm with DWord size (#1767)WalkDir harder to misuse and added Windows support (#1652)structs.HostLayout in GoFormatter (#1686)New{Map,Program}From{ID,FD} and LoadPinned{Map,Program} by @ti-mo in #1791loadMapsif ELF file has no BTF by @paulcacheux in #1807/sys/kernel/btf by @paulcacheux in #1813Full Changelog: v0.18.0...v0.19.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →