Skip to content

v0.3.0

Compare
Choose a tag to compare
@pires pires released this 28 Oct 19:50
7962c3f

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 from net.Addr attributes.
    • The header.{Local,Remote}Addr helpers have been removed in favor or accessors header.{Source,Destination}Addr.
  • TLV.Length has been removed, in favor of using len(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)