From 33245d83374f734c280b100d772c811531c5e7c0 Mon Sep 17 00:00:00 2001 From: MrPhil Date: Wed, 4 Mar 2026 22:21:04 -0600 Subject: [PATCH] Add CHANGELOG.md Generated with Changesmith based on git history and release tags. Covers v1.8.14 to v1.8.13 to v1.8.12 to v1.8.11. --- CHANGELOG.md | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..f7bfb294 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,53 @@ +# Changelog + +## [1.8.14] - 2025-09-05 + +### Added + +- Add `ErrMessageTooBig` sentinel error for limited reads (#535) + +### Changed + +- Use `context.AfterFunc` to track timeouts instead of spawning a goroutine (#532) +- Update minimum Go version to 1.23 (#524) + +### Fixed + +- Fix Origin scheme matching in `OriginPatterns` to align with RFC 6454 (#536) + +## [1.8.13] - 2025-03-14 + +### Added + +- Add `OnPingReceived` and `OnPongReceived` callbacks to `DialOptions` and `AcceptOptions` (#509) +- Add hijack unwrapping for `http.ResponseController` compatibility (#472) + +### Changed + +- Replace `filepath.Match` with `path.Match` to avoid OS-specific behavior in origin matching (#452) +- Use `atomic.Int64` instead of `atomic.Int32` for counting pings (#444) + +### Fixed + +- Fix writing messages after close and improve close handshake behavior (#476) +- Fix `printf` usage to conform to stricter Go 1.24 requirements (#508) + +## [1.8.12] - 2024-08-09 + +### Changed + +- Transfer project to `github.com/coder/websocket` import path (#462) + +## [1.8.11] - 2024-04-07 + +### Added + +- Add assembly-optimized WebSocket masking for amd64 and arm64 (#326) + +### Fixed + +- Fix `CloseRead` race condition with its own done channel (#427) +- Fix unaligned atomic load on 32-bit architectures (#438) +- Fix close handling rewrite for more reliable shutdown (#326) + +_Generated by [Changesmith](https://changesmith.dev)_