Releases: Zereker/socket
Releases · Zereker/socket
v1.1.0
What's Changed
Features
- Rename
HeartbeatOptiontoIdleTimeoutOptionfor clarity - Add
ErrMessageTooLargefor message size validation - Add
ServerLoggerOptionfor custom server logger - Add
ServerShutdownTimeoutOptionfor 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-filefrom 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
feat: add Close() and IsClosed() methods for connection management
v1.0.0: feat: socket - a simple TCP server framework for Go
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