Skip to content

Releases: Zereker/socket

v1.1.0

26 Dec 09:37

Choose a tag to compare

What's Changed

Features

  • Rename HeartbeatOption to IdleTimeoutOption for clarity
  • Add ErrMessageTooLarge for message size validation
  • Add ServerLoggerOption for custom server logger
  • Add ServerShutdownTimeoutOption for graceful shutdown control
  • Improve connection lifecycle logging

Improvements

  • Improve Write method documentation and backpressure handling
  • Fix shutdown timeout to use non-blocking select pattern
  • Update CI to use go-version-file from go.mod

Bug Fixes

  • Fix golangci-lint config compatibility
  • Fix build output conflict with example directory

Full Changelog: v1.0.1...v1.1.0

v1.0.1: Merge pull request #1 from Zereker/claude/upgrade-go-1-24-zqNFI

25 Dec 10:47
d4705b8

Choose a tag to compare

feat: add Close() and IsClosed() methods for connection management

v1.0.0: feat: socket - a simple TCP server framework for Go

19 Dec 06:23

Choose a tag to compare

Features:
- TCP server with context-based graceful shutdown
- Custom Codec interface for message encoding/decoding
- Asynchronous read/write loops with errgroup
- Heartbeat/deadline support for connection health
- Flexible error handling with ErrorAction (Disconnect/Continue)
- Structured logging with slog
- Functional options pattern for configuration
- GitHub Actions CI/CD workflow