Releases: jsimonetti/rtnetlink
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
v1.4.0
v1.3.6
What's Changed
- build(deps): bump actions/checkout from 3.5.3 to 3.6.0 by @dependabot in #185
- build(deps): bump golang.org/x/sys from 0.11.0 to 0.12.0 by @dependabot in #186
- [ci] use stable and oldstable identifiers by @jsimonetti in #187
- build(deps): bump actions/checkout from 3.6.0 to 4.1.0 by @dependabot in #188
- build(deps): bump golang.org/x/sys from 0.12.0 to 0.13.0 by @dependabot in #189
- build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by @dependabot in #190
- build(deps): bump github.com/cilium/ebpf from 0.11.0 to 0.12.0 by @dependabot in #192
- build(deps): bump golang.org/x/net from 0.9.0 to 0.17.0 by @dependabot in #191
- build(deps): bump github.com/cilium/ebpf from 0.12.0 to 0.12.1 by @dependabot in #193
- build(deps): bump github.com/cilium/ebpf from 0.12.1 to 0.12.2 by @dependabot in #194
- build(deps): bump actions/checkout from 4.1.0 to 4.1.1 by @dependabot in #195
- build(deps): bump github.com/cilium/ebpf from 0.12.2 to 0.12.3 by @dependabot in #197
- Address family is a u8, not u16 by @dswarbrick in #198
New Contributors
- @dswarbrick made their first contribution in #198
Full Changelog: v1.3.5...v1.3.6
v1.3.5
What's Changed
- build(deps): bump github.com/cilium/ebpf from 0.10.0 to 0.11.0 by @dependabot in #179
- Create govulncheck.yml by @jsimonetti in #180
- build(deps): bump golang.org/x/sys from 0.10.0 to 0.11.0 by @dependabot in #181
- Add more LL address sizes by @jsimonetti in #183
- Add go 1.21 tests by @jsimonetti in #184
Full Changelog: v1.3.4...v1.3.5
v1.3.4
What's Changed
- build(deps): bump golang.org/x/sys from 0.8.0 to 0.9.0 by @dependabot in #176
- build(deps): bump actions/checkout from 3.5.2 to 3.5.3 by @dependabot in #177
- build(deps): bump golang.org/x/sys from 0.9.0 to 0.10.0 by @dependabot in #178
Full Changelog: v1.3.3...v1.3.4
v1.3.3
What's Changed
New release to update dependencies.
- build(deps): bump actions/checkout from 3.5.0 to 3.5.2 by @dependabot in #174
- build(deps): bump github.com/mdlayher/netlink from 1.7.1 to 1.7.2 by @dependabot in #173
- build(deps): bump golang.org/x/sys from 0.7.0 to 0.8.0 by @dependabot in #175
Full Changelog: v1.3.2...v1.3.3