Skip to content

v3.3.0

Latest

Choose a tag to compare

@florentchauveau florentchauveau released this 07 Jul 18:05
bc64e97

Fixed

  • Values larger than 32 bits (ints and doubles) were silently truncated (mod 2^32) when encoded with Encode or WritePacket. The read path was unaffected. Negative values now round-trip correctly as well.
  • ReadHeader and ReadRecord treated partial reads as errors; packets arriving in several TCP segments could fail with errors like cannot read header: read=1/2. Reads now use io.ReadFull.

Changed

  • Requires Go 1.22. Cookie generation uses math/rand/v2.
  • CI runs on pull requests with the race detector, vet, and gofmt checks; Dependabot enabled.

Full changelog: v3.2.0...v3.3.0