diff --git a/CHANGELOG.md b/CHANGELOG.md index 74a5c7a..aeb2d20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,11 @@ All notable changes to ext-websocket are documented here. -## Unreleased +## 1.2.1 - 2026-05-23 + +### Added + +- Added WebSocket subprotocol negotiation with `WebSocket\Server::subprotocols()` and `WebSocket\Connection::$subprotocol`. ### Changed diff --git a/php_websocket.h b/php_websocket.h index e5971cd..9e9e57b 100644 --- a/php_websocket.h +++ b/php_websocket.h @@ -20,7 +20,7 @@ extern zend_module_entry websocket_module_entry; #define phpext_websocket_ptr &websocket_module_entry -#define PHP_WEBSOCKET_VERSION "1.1.0" +#define PHP_WEBSOCKET_VERSION "1.2.1" #define WEBSOCKET_HTTP_MAX_REQUEST_SIZE 8192 #define WEBSOCKET_DEFAULT_MAX_MESSAGE_SIZE (16 * 1024 * 1024) #define WEBSOCKET_DEFAULT_MAX_QUEUED_BYTES (16 * 1024 * 1024)