Releases: jsimonetti/rtnetlink
v2.2.0
Please be aware that a (longstanding) bug was fixed in the Receive method of an rtnetlink Conn.
This might require additional changes on your end if you inadvertently used this bugs behavior.
What's Changed
- Return equal-length slices from Receive by @tpayne-akamai in #298
New Contributors
- @tpayne-akamai made their first contribution in #298
Full Changelog: v2.1.1...v2.2.0
v2.1.1
What's Changed
- build(deps): bump github.com/cilium/ebpf from 0.19.0 to 0.20.0 by @dependabot[bot] in #281
- build(deps): bump golang.org/x/sys from 0.37.0 to 0.38.0 by @dependabot[bot] in #282
- build(deps): bump golang.org/x/sync from 0.17.0 to 0.18.0 by @dependabot[bot] in #283
- build(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.1.0 by @dependabot[bot] in #285
- build(deps): bump actions/checkout from 5.0.0 to 6.0.0 by @dependabot[bot] in #286
- build(deps): bump actions/setup-go from 6.0.0 to 6.1.0 by @dependabot[bot] in #284
- build(deps): bump golang.org/x/sync from 0.18.0 to 0.19.0 by @dependabot[bot] in #287
- build(deps): bump golang.org/x/sys from 0.38.0 to 0.39.0 by @dependabot[bot] in #288
- Use generic function for creating pointers by @dswarbrick in #291
- build(deps): bump golangci/golangci-lint-action from 9.1.0 to 9.2.0 by @dependabot[bot] in #290
- build(deps): bump actions/checkout from 6.0.0 to 6.0.1 by @dependabot[bot] in #289
- build(deps): bump golang.org/x/sys from 0.39.0 to 0.40.0 by @dependabot[bot] in #293
- link: add support for IFLA_VFINFO_LIST and IFLA_VF_STATS by @aharivel in #295
New Contributors
Full Changelog: v2.1.0...v2.1.1
v2.1.0
What's Changed
- Implement additional Link drivers by @jsimonetti in #280
- build(deps): bump golang.org/x/sys from 0.33.0 to 0.34.0 by @dependabot[bot] in #270
- build(deps): bump golang.org/x/sync from 0.15.0 to 0.16.0 by @dependabot[bot] in #271
- build(deps): bump golang.org/x/sys from 0.34.0 to 0.35.0 by @dependabot[bot] in #272
- Use golang.org/x/sys/cpu.IsBigEndian by @dswarbrick in #273
- build(deps): bump github.com/mdlayher/netlink from 1.7.2 to 1.8.0 by @dependabot[bot] in #274
- build(deps): bump actions/checkout from 4.2.2 to 5.0.0 by @dependabot[bot] in #275
- build(deps): bump actions/setup-go from 5.5.0 to 6.0.0 by @dependabot[bot] in #278
- build(deps): bump golang.org/x/sys from 0.35.0 to 0.37.0 by @dependabot[bot] in #279
- build(deps): bump golang.org/x/sync from 0.16.0 to 0.17.0 by @dependabot[bot] in #276
Full Changelog: v2.0.5...v2.1.0
v2.0.5
What's Changed
- build(deps): bump golang.org/x/sys from 0.31.0 to 0.32.0 by @dependabot in #258
- build(deps): bump golang.org/x/sync from 0.12.0 to 0.13.0 by @dependabot in #259
- build(deps): bump github.com/cilium/ebpf from 0.17.3 to 0.18.0 by @dependabot in #260
- build(deps): bump golang.org/x/net from 0.36.0 to 0.38.0 by @dependabot in #261
- feat(route): list with kernel filtering by @terinjokes in #262
- build(deps): bump golang.org/x/sync from 0.13.0 to 0.14.0 by @dependabot in #264
- build(deps): bump golang.org/x/sys from 0.32.0 to 0.33.0 by @dependabot in #263
- build(deps): bump actions/setup-go from 5.4.0 to 5.5.0 by @dependabot in #266
- build(deps): bump golang.org/x/sync from 0.14.0 to 0.15.0 by @dependabot in #268
- build(deps): bump golangci/golangci-lint-action from 7.0.0 to 8.0.0 by @dependabot in #267
- build(deps): bump github.com/cilium/ebpf from 0.18.0 to 0.19.0 by @dependabot in #269
Full Changelog: v2.0.3...v2.0.5
v2.0.3
What's Changed
- build(deps): bump actions/setup-go from 5.0.0 to 5.0.1 by @dependabot in #228
- build(deps): bump golangci/golangci-lint-action from 5.1.0 to 6.0.1 by @dependabot in #230
- build(deps): bump actions/checkout from 4.1.4 to 4.1.6 by @dependabot in #229
- build(deps): bump golang/govulncheck-action from 1.0.2 to 1.0.3 by @dependabot in #231
- build(deps): bump actions/checkout from 4.1.6 to 4.1.7 by @dependabot in #232
- build(deps): bump actions/setup-go from 5.0.1 to 5.0.2 by @dependabot in #235
- build(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 by @dependabot in #234
- build(deps): bump actions/checkout from 4.1.7 to 4.2.0 by @dependabot in #236
- build(deps): bump golang/govulncheck-action from 1.0.3 to 1.0.4 by @dependabot in #237
- build(deps): bump actions/checkout from 4.2.0 to 4.2.2 by @dependabot in #239
- build(deps): bump actions/setup-go from 5.0.2 to 5.1.0 by @dependabot in #238
- build(deps): bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 by @dependabot in #240
- feat: implement support for altnames by @smira in #241
- feat: support setting alias for links by @smira in #242
- rtnetlink: fix Link ListByKind response by @boussole in #233
- build(deps): bump actions/setup-go from 5.1.0 to 5.2.0 by @dependabot in #243
- build(deps): bump golangci/golangci-lint-action from 6.1.1 to 6.2.0 by @dependabot in #245
- build(deps): bump actions/setup-go from 5.2.0 to 5.3.0 by @dependabot in #244
- update ci test go versions by @jsimonetti in #247
- build(deps): bump golangci/golangci-lint-action from 6.2.0 to 6.5.0 by @dependabot in #248
- build(deps): bump golang.org/x/net from 0.23.0 to 0.36.0 by @dependabot in #249
- build(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0 by @dependabot in #250
- build(deps): bump golang.org/x/sys from 0.20.0 to 0.31.0 by @dependabot in #251
- build(deps): bump github.com/cilium/ebpf from 0.12.3 to 0.17.3 by @dependabot in #252
- build(deps): bump golang.org/x/sync from 0.1.0 to 0.12.0 by @dependabot in #253
- build(deps): bump golangci/golangci-lint-action from 6.5.0 to 7.0.0 by @dependabot in #254
- build(deps): bump actions/setup-go from 5.3.0 to 5.4.0 by @dependabot in #255
- feat: add support for address priority by @smira in #256
- chore: fix CI issues by @jsimonetti in #257
New Contributors
Full Changelog: v2.0.2...v2.0.3
v2.0.2
The rtnetlink.NetNS implementation had some quirks. This was changed to be more compatible with existing namespace libraries.
Unfortunately this is backwards incompatible, but really belongs to this version.
What's Changed
Full Changelog: v2.0.1...v2.0.2
v2.0.1
v2.0.0
This release introduces the concept of drivers for use in rtnetlink.LinkInfo which is a backwards incompatible change.
These drivers allow for setting driver specific link attributes. This means the LinkInfo.Data and LinkInfo.SlaveData fields are no longer of type []byte, but are of type LinkDriver.
At this time, initial drivers are available for Bond, Veth and NetKit.
If you use the byte slices of LinkInfo.Data and LinkInfo.SlaveData you can now use the default LinkData driver or the appropriate driver (if available in this package). Please consider contributing your driver should you use other types.
This release also renames the Prefered field of the rtnetlink.CacheInfo struct to Preferred to fix a long outstanding typo. This is also backwards incompatible.
What's Changed
- Add LinkDriver interface and Driver package by @brlbil in #221
- Update go-test versions by @jsimonetti in #223
- Rename CacheInfo Prefered by @jsimonetti in #224
New Contributors
Full Changelog: v1.4.2...v2.0.0
v1.4.2
This is the final 1.x release before release the 2.x series which has some backward incompatibilities.
What's Changed
- build(deps): bump golang.org/x/sys from 0.16.0 to 0.17.0 by @dependabot in #211
- build(deps): bump golang/govulncheck-action from 1.0.1 to 1.0.2 by @dependabot in #212
- build(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 by @dependabot in #213
- build(deps): bump golang.org/x/sys from 0.17.0 to 0.18.0 by @dependabot in #214
- build(deps): bump actions/checkout from 4.1.1 to 4.1.2 by @dependabot in #215
- build(deps): bump golang.org/x/net from 0.17.0 to 0.23.0 by @dependabot in #217
- build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 by @dependabot in #218
- build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 by @dependabot in #219
- build(deps): bump actions/checkout from 4.1.2 to 4.1.4 by @dependabot in #220
- build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 by @dependabot in #222
Full Changelog: v1.4.1...v1.4.2
v1.4.1
The behaviour of NeighAttributes has changed and length checking has been removed. This means you should check for correct lengths on the receiving end.
What's Changed
- Enable golangci-lint by @SuperQ in #202
- Use commit hash with actions by @jsimonetti in #203
- build(deps): bump actions/setup-go from 3.5.0 to 4.1.0 by @dependabot in #205
- build(deps): bump golang.org/x/sys from 0.14.1-0.20231108175955-e4099bfacb8c to 0.15.0 by @dependabot in #206
- build(deps): bump golang.org/x/sys from 0.15.0 to 0.16.0 by @dependabot in #210
- build(deps): bump actions/setup-go from 4.1.0 to 5.0.0 by @dependabot in #209
- Relieve length check for NeighAttributes by @jsimonetti in #208
Full Changelog: v1.4.0...v1.4.1