The most relevant changes for this version are:
- Making gadgets self-contained, adding metadata, operators, interfaces and more: Part 2 by @flyth in #1396
- Build ig distribution packages on release by @eiffel-fl in #1445
- CI: benchmarks all gadgets and publish graphs by @alban in #1419
- runtime/local: Move context and timeout management from runtime to tracers by @blanquicet in #1408
Other changes are:
General Improvements
- go: bump golang.org/x/text from 0.7.0 to 0.8.0 by @dependabot in #1398
- go: bump golang.org/x/sys from 0.5.0 to 0.6.0 by @dependabot in #1399
- go: bump golang.org/x/term from 0.5.0 to 0.6.0 by @dependabot in #1397
- go.mod: update cilium/ebpf by @mauriciovasquezbernal in #1400
- cmd: Check ig is run as root. by @eiffel-fl in #1410
- go: bump google.golang.org/protobuf from 1.28.1 to 1.29.0 by @dependabot in #1412
- tools: dnstester for arm64 by @mqasimsarfraz in #1414
- go: bump github.com/onsi/gomega from 1.27.2 to 1.27.3 by @dependabot in #1428
- go: bump github.com/crossplane/crossplane-runtime from 0.14.1-0.20210713194031-85b19c28ea88 to 0.16.1 by @dependabot in #1431
- test: Fix trace dns test by @mauriciovasquezbernal in #1434
- Makefile: Add help target. by @eiffel-fl in #1418
- go: bump github.com/hashicorp/golang-lru/v2 from 2.0.1 to 2.0.2 by @dependabot in #1435
- go: bump google.golang.org/protobuf from 1.29.0 to 1.29.1 by @dependabot in #1436
- go: bump github.com/onsi/gomega from 1.27.3 to 1.27.4 by @dependabot in #1437
- go: bump google.golang.org/protobuf from 1.29.1 to 1.30.0 by @dependabot in #1443
- go: bump k8s.io/cli-runtime from 0.26.2 to 0.26.3 by @dependabot in #1457
- go: bump k8s.io/cri-api from 0.26.2 to 0.26.3 by @dependabot in #1456
- Use clang-15 to compile eBPF files by @mauriciovasquezbernal in #1449
- snapshot socket: improve performances by @alban in #1451
- gadgets: use __always_inline by @mauriciovasquezbernal in #1463
- gadgets/traceloop: Unroll loop to make verifier happy by @mauriciovasquezbernal in #1464
- go: bump k8s.io/code-generator from 0.26.2 to 0.26.3 by @dependabot in #1459
- go: bump k8s.io/apiextensions-apiserver from 0.26.2 to 0.26.3 by @dependabot in #1460
- go: bump google.golang.org/grpc from 1.53.0 to 1.54.0 by @dependabot in #1466
- trace/network: Use ticker to query results by @mauriciovasquezbernal in #1439
- go: bump sigs.k8s.io/security-profiles-operator from 0.4.2 to 0.7.0 by @dependabot in #1468
- go: bump github.com/containers/common from 0.51.0 to 0.51.1 by @dependabot in #1467
- go: bump github.com/onsi/gomega from 1.27.4 to 1.27.5 by @dependabot in #1471
- go: bump sigs.k8s.io/security-profiles-operator from 0.7.0 to 0.7.1 by @dependabot in #1475
- go: bump github.com/docker/docker from 23.0.1+incompatible to 23.0.2+incompatible by @dependabot in #1477
- go: bump sigs.k8s.io/controller-runtime from 0.14.5 to 0.14.6 by @dependabot in #1478
- go: bump github.com/onsi/gomega from 1.27.5 to 1.27.6 by @dependabot in #1482
- go: bump github.com/moby/moby from 23.0.1+incompatible to 23.0.2+incompatible by @dependabot in #1476
- trace/dns: Add NumAnswers and Addresses to DNS trace events by @mauriciovasquezbernal in #1448
Bug Fixes
- Fix error handling by @mauriciovasquezbernal in #1480
Documentation Improvements
- docs: Fix documents for website by @mauriciovasquezbernal in #1402
- docs: benchmarks by @alban in #1442
Testing and Continue Integration
- GithubActions: Check that website is built correctly by @mauriciovasquezbernal in #1404
- integration: Use local DNS server for trace dns testing by @mqasimsarfraz in #1407
- integration: Use 'dnstester' for k8s tests by @mqasimsarfraz in #1411
- ci: bump aquasecurity/trivy-action from 0.9.1 to 0.9.2 by @dependabot in #1427
- ci: bump actions/cache from 3.2.6 to 3.3.1 by @dependabot in #1426
- CI: benchmarks all gadgets and publish graphs by @alban in #1438
- ci: bump actions/setup-go from 3 to 4 by @dependabot in #1452
- ci: bump actions/setup-go from 3 to 4 by @dependabot in #1473
- ci: bump rajatjindal/krew-release-bot from 0.0.43 to 0.0.46 by @dependabot in #1474
- integration: Allow using PR image for dnstester by @mqasimsarfraz in #1472
- ci: switch CI region by @mauriciovasquezbernal in #1483
Statistics
With regard to v0.14.0, this release touched 267 files, added 5556 lines of code and removed 5998.
In this release, we continued our refactoring effort which resulted in more lines being removed than added.
As today, Inspektor Gadget relies on the following languages:
| Language | files | blank | comment | code |
|---|---|---|---|---|
| C/C++ Header | 34 | 27974 | 117 | 208950 |
| Go | 441 | 9506 | 10126 | 45118 |
| Markdown | 80 | 1521 | 0 | 5351 |
| SVG | 8 | 1 | 2 | 5143 |
| C | 28 | 763 | 462 | 3129 |
| YAML | 49 | 87 | 221 | 2417 |
| make | 13 | 115 | 54 | 479 |
| Bourne Shell | 24 | 122 | 200 | 377 |
| Dockerfile | 12 | 63 | 65 | 186 |
| Protocol Buffers | 1 | 29 | 31 | 80 |
| Perl | 1 | 18 | 13 | 54 |
| JSON | 3 | 0 | 0 | 45 |
| Bourne Again Shell | 1 | 4 | 3 | 16 |
| -------- | -------- | -------- | -------- | -------- |
| SUM: | 695 | 40203 | 11294 | 271345 |
Full Changelog: v0.14.0...v0.15.0