---
title: "usockets 0.7.0 Breaking Changes on vcpkg | Since.dev"
description: "What each usockets release removed, renamed or changed: 8 breaking changes in 4 versions on vcpkg, each with its source."
canonical_url: https://since.dev/packages/vcpkg/usockets
last_updated: 2026-12-04
---

# 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

Latest version `2021-1-19`. [Source repository](https://github.com/uNetworking/uSockets)

- From [0.3.0](#v-0-3-0) to [0.7.0](#v-0-7-0): 2 breaking changes in 2 versions.

## usockets 0.7.0 breaking changes

usockets 0.7.0: 1 breaking change.

- **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](https://github.com/uNetworking/uSockets/releases/tag/v0.7.0)

## usockets 0.4.0 breaking changes

usockets 0.4.0: 1 breaking change.

- **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](https://github.com/uNetworking/uSockets/releases/tag/v0.4.0)

## usockets 0.3.0 breaking changes

usockets 0.3.0: 1 breaking change.

- **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](https://github.com/uNetworking/uSockets/releases/tag/v0.3.0)

## usockets 0.2.0a1 breaking changes

usockets 0.2.0a1: 5 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](https://github.com/uNetworking/uSockets/releases/tag/v0.2.0a1)
- **Renamed**  

All structs now end with \_t. Update code that refers to structs by their old names. [github.com](https://github.com/uNetworking/uSockets/releases/tag/v0.2.0a1)
- **Renamed** `libusockets_new.h`  

Include libusockets.h instead of libusockets_new.h. [github.com](https://github.com/uNetworking/uSockets/releases/tag/v0.2.0a1)
- **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](https://github.com/uNetworking/uSockets/releases/tag/v0.2.0a1)
- **Signature changed**  

All socket and socket context functions now take int ssl as their first argument. Update call sites to pass it. [github.com](https://github.com/uNetworking/uSockets/releases/tag/v0.2.0a1)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
