Welcome to the v0.27.0 release of Inspektor Gadget. The most relevant changes for this version are:
- Artifact Hub: publish gadgets by @alban in #2643
- Refactoring for image based gadgets by @flyth in #2512
- kallsyms: use ebpf alternative when kallsyms not available by @alban in #2280
- ci: Attach SBOM to container images. by @eiffel-fl in #2431
General Improvements
- oci/build: Specify ArtifactType in the correct place by @blanquicet in #2572
- ig: Pass host's GOPROXY to the build container by @i-Pear in #2578
- gha/stale: Update operations-per-run to 500 by @mauriciovasquezbernal in #2584
- pkg/gadgets/top/tcp: Align IP version field with other gadgets by @blanquicet in #2564
- ebpf-builder: update to libbpf v1.3.0 by @alban in #2532
- dns: Add support for IPv6 and variable length IPv4 headers. by @mauriciovasquezbernal in #2574
- gha: Fix exempt issue label for action/stale by @mqasimsarfraz in #2590
- run: Support basic uprobe and uretprobe by @i-Pear in #2580
- pkg/oci: Few cleanups and improvements to make code clearer by @blanquicet in #2585
- trace exec: add pcomm field (parent command) by @alban in #2605
- gadgettracermanager: Explictly import kubemanager operator by @blanquicet in #2594
- trace/tcpretrans: Add support to tcploss events by @eiffel-fl in #1987
- pkg/gadgets: Add ntfs3 to trace fsslower. by @eiffel-fl in #1879
- gitignore: Include gadgetctl and align all binaries by @blanquicet in #2613
- tree-wide: Fix imports grouping and add lint target by @mauriciovasquezbernal in #2624
- examples: Add trace network with container filter by @danielpacak in #2599
- image list: add creation date by @alban in #2611
- trace_dns: switch from perf ringbuf to bpf ringbuf by @alban in #2579
- trace_mount: add missing fields in gadget metadata by @alban in #2612
- Makefile: Add target to debug ig using delve. by @eiffel-fl in #2623
- trace exec: add exe path by @alban in #1959
- add btfhelpers package by @flyth in #2521
- pkg/oci: make fixMetadataOwner more generic by @alban in #2641
- gadgets/ci/sched_cls_drop: add missing gadget.yaml by @alban in #2640
- Update gadgets metadata and keep them in sync by @alban in #2642
- move metadata for image based gadgets to a versioned location and remove dependencies by @flyth in #2551
- artifacthub-repo.yml: new repositoryID by @alban in #2644
- refactoring: port uprobe support by @flyth in #2657
- Introduce uprobetracer for auto attach/detach by @i-Pear in #2634
Bug Fixes
- pkg/gadgets: Fixes trace bind for kernel 6.6 and younger. by @eiffel-fl in #2545
- Fix tracer name in GADGET_TRACER(open, ...) by @alban in #2636
Documentation Improvements
- docs: trace network title by @alban in #2588
- Add readmes for image-basde and built-in gadgets by @mauriciovasquezbernal in #2592
- README: Update community meeting times by @mauriciovasquezbernal in #2625
- docs/run: Use shorter form in the guide by @mqasimsarfraz in #2620
- README.md: update artifacthub badges by @alban in #2650
Testing and Continue Integration
- gha: Automatically mark and close stale issues / PRs by @mauriciovasquezbernal in #2573
- ci: Use correct helper image even if both are built simultaneously by @mqasimsarfraz in #2606
- integration: Test uncompressed DNS messages by @mqasimsarfraz in #2609
- integration: Use interface type instead of type parameter by @blanquicet in #2646
- integration: IntegrationTestsContainer interface is not necessary by @blanquicet in #2647
- integration: Wait until test-pod was OOMKilled for oomkill related tests by @eiffel-fl in #2649
Statistics
In this release, we modified 283 files to add 13516 new lines of code while removing 1758.
As we started a refactoring targeting the code for image based gadgets, we had to add a big amount of code.
The next releases should remove more code to reach a good balance.
New Contributors
- @danielpacak made their first contribution in #2599
Full Changelog: v0.26.0...v0.27.0