This release is only possible with the amazing work by @emersion to whom I want to say thank you very much!
Breaking changes
- Rely on
net.Addr, which allows to represent any network address, instead of using an IP and a port (#46)- New helpers (
header.{TCPAddrs(),UDPAddrs(),UnixAddrs(),IPs(),Ports()}) allows to easily extract data fromnet.Addrattributes. - The
header.{Local,Remote}Addrhelpers have been removed in favor or accessorsheader.{Source,Destination}Addr.
- New helpers (
TLV.Lengthhas been removed, in favor of usinglen(TLV.Value)instead (#42)
Improvements
- Properly validate source and destination IPs when transport protocol is IP-based, e.g. ensure IPv4 addresses when TCPv4 is set (#46 and #48)
- Support Unix sockets (#46)
- Format a PP2SSL struct into a TLV (#41)
- Test Go 1.14 and 1.15 support (#39)
- Update spec URL (#40)