usockets breaking changes
usockets 0.7.0 is its newest release with breaking changes. The first: Connect socket errors are now reported in a new on_connect_error event in usockets 0.7.0. Every breaking API change we have recorded in usockets on vcpkg: 8 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2021-1-19. Source repository
usockets 0.7.0 breaking changes
- Behavior changed
Connect socket failures are delivered through a new on_connect_error event instead of the previous handling. Code that relies on the old error path must be updated to handle on_connect_error. github.com
usockets 0.4.0 breaking changes
- Signature changed
connect
The connect function also accepts a source IP or NULL, so existing calls must be updated to pass that argument. github.com
usockets 0.3.0 breaking changes
- Default changed
The experimental kqueue backend is now the default event backend on macOS, so code relying on the previous default backend behaves differently. github.com
usockets 0.2.0a1 breaking changes
- Removed
us_ssl_socket
us_ssl_socket no longer exists. Code using it must switch to the unified socket API with the ssl argument. github.com - Renamed
All structs now end with _t. Update code that refers to structs by their old names. github.com - Renamed
libusockets_new.h
Include libusockets.h instead of libusockets_new.h. github.com - Renamed
us_new_socket_t
The us_new_socket_t type is now simply us_socket_t. Update code that names the old type. github.com - Signature changed
All socket and socket context functions now take int ssl as their first argument. Update call sites to pass it. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.