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

# uwebsockets breaking changes

uwebsockets 20.0.0 is its newest release with breaking changes. The first: Removes MQTT wildcard support from pub/sub topics in uwebsockets 20.0.0. Every breaking API change we have recorded in uwebsockets on vcpkg: 24 breaking changes in 12 versions. Below, its 12 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `20.81.0`. [Source repository](https://github.com/uWebSockets/uWebSockets)

- From [19.0.0](#v-19-0-0) to [20.0.0](#v-20-0-0): 1 breaking change in 1 version.
- From [0.14.0](#v-0-14-0) to [20.0.0](#v-20-0-0): 18 breaking changes in 11 versions.

## uwebsockets 20.0.0 breaking changes

uwebsockets 20.0.0: 1 breaking change.

- **Removed**  

MQTT wildcards ('#', '+') are no longer supported in pub/sub topics. Code relying on them must use explicit topic names instead. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v20.0.0)

## uwebsockets 19.0.0 breaking changes

uwebsockets 19.0.0: 4 breaking changes.

- **Removed** `WebSocket.unsubscribeAll`  

The function was removed in favor of more general pub/sub functions such as WebSocket::iterateTopics. Sockets are still unsubscribed automatically on close. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v19.0.0)
- **Behavior changed** `WebSocket.publish`  

WebSocket::publish now sends to all subscribers except the sending socket. Use App::publish to send to every subscriber unconditionally. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v19.0.0)
- **Default changed**  

The server automatically sends pings as needed to meet idleTimeout unless the client has sent data recently. Clients no longer need to send periodic keepalives; the old behavior can be restored via settings. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v19.0.0)
- **Signature changed**  

Ping and pong events now take a std::string_view message, so existing handlers must be updated to accept it. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v19.0.0)

## uwebsockets 19.0.0a3 breaking changes

uwebsockets 19.0.0a3: 4 breaking changes.

- **Behavior changed** `idleTimeout`  

Timeout values are now truncated to the nearest 4 seconds, and a warning is shown for values that are not a multiple of 4. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v19.0.0a3)
- **Configuration changed** `idleTimeout`  

Values from 1 to 8 are no longer accepted, and the maximum timeout is now 18 hours. Existing configurations must be checked against these limits. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v19.0.0a3)
- **Signature changed** `WebSocket.subscribe`  

subscribe now takes a bool nonStrict parameter, so calls must be updated to pass it. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v19.0.0a3)
- **Signature changed** `WebSocket.unsubscribe`  

unsubscribe now takes a bool nonStrict parameter, so calls must be updated to pass it. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v19.0.0a3)

## uwebsockets 18.0.0 breaking changes

uwebsockets 18.0.0: 1 breaking change.

- **Signature changed** `WebSocketBehavior.open`  

The .open handler no longer takes an HttpRequest. Read HttpRequest in the new .upgrade handler and pass the data to the WebSocket through its UserData. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v18.0.0)

## uwebsockets 015b4 breaking changes

uwebsockets 015b4: 1 breaking change.

- **Renamed** `WebSocket.close`  

WebSocket::close is now AsyncSocket::close, the same way HttpResponse::close works. Update calls to use AsyncSocket::close. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v015b4)

## uwebsockets 0.17.5 breaking changes

uwebsockets 0.17.5: 1 breaking change.

- **Behavior changed**  

When publishing to a topic, sockets with high backpressure are now skipped rather than immediately closed. Code that relied on those sockets being closed must handle them staying open. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v0.17.5)

## Older versions

6 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### uwebsockets 0.17.0 breaking changes

uwebsockets 0.17.0: 2 breaking changes.

- **Behavior changed**  

The Http router was replaced with one that has deterministic, simplified matching rules. Route matching may differ from before, so routes should be checked against the user manual. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v0.17.0)
- **Behavior changed**  

User data attached to WebSocket connections is now automatically constructed before open events and destructed after close events. Code that assumed different timing for this user data must be updated. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v0.17.0)

### uwebsockets 0.15.4 breaking changes

uwebsockets 0.15.4: 1 breaking change.

- **Renamed** `Loop.defaultLoop`  

Loop::defaultLoop is now Loop::get. Code calling Loop::defaultLoop must switch to Loop::get, and default loops are no longer used unless explicitly given. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v0.15.4)

### uwebsockets 0.15 breaking changes

uwebsockets 0.15: 1 breaking change.

- **Signature changed** `HttpResponse.tryEnd`  

tryEnd now returns a pair of \[ok, hasResponded\] instead of its previous return value, so callers that read the result must be updated. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v0.15)

### uwebsockets 0.15b2 breaking changes

uwebsockets 0.15b2: 1 breaking change.

- **Behavior changed**  

All functions became move-only, so code that copies them will no longer compile or work and must move them instead. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v0.15b2)

### uwebsockets 0.15b1 breaking changes

uwebsockets 0.15b1: 1 breaking change.

- **Behavior changed**  

app.any, get and ws routes no longer collide with each other, so route matching for existing code may change. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v0.15b1)

### uwebsockets 0.14.0 breaking changes

uwebsockets 0.14.0: 6 breaking changes.

- **Removed**  

Many structs now expose only the official API; code that touched their internal fields or members may no longer compile. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v0.14.0)
- **Removed**  

CMake is no longer provided for building the library; use the improved native Makefile or the native VC++.vcxproj instead. [github.com](https://github.com/uNetworking/uWebSockets/releases/tag/v0.14.0)

And 4 more in this version.

## 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.
