mqtt-cpp breaking changes
mqtt-cpp 13.0.0 is its newest release with breaking changes. The first: Raises the minimum required Boost version to 1.74.0 in mqtt-cpp 13.0.0. Every breaking API change we have recorded in mqtt-cpp on vcpkg: 18 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 13.2.4, released November 20, 2026. Source repository
- From 12.0.0 to 13.0.0: 1 breaking change in 1 version.
- From 8.0.0 to 13.0.0: 10 breaking changes in 5 versions.
mqtt-cpp 13.0.0 breaking changes
- Configuration changed
Builds now need Boost 1.74.0 or newer, so projects using an older Boost must upgrade it before building against this release. github.com
mqtt-cpp 12.0.0 breaking changes
- Removed
async_client.force_disconnect
Use async_force_disconnect() instead, which was added in this release. github.com - Removed
ioc_accept
ioc_accept() is no longer available. Stop calling it in code that uses this library. github.com - Removed
ioc_con
ioc_con() is no longer available. Stop calling it in code that uses this library. github.com - Renamed
use_certificate_file
use_certificate_chain_file() replaces use_certificate_file() and supports both server certificate and intermediate CA certificate. Update calls to the new name. github.com - Behavior changed
set_async_operation
The endpoint constructor's fourth parameter async_operation now selects async or sync operation. set_async_operation() can overwrite it and must be called before sending any packets. github.com
mqtt-cpp 11.0.0 breaking changes
- Behavior changed
The release notes label this internal implementation change as breaking. Code that depended on the previous type erasure mechanism may need updating. github.com
mqtt-cpp 10.0.0 breaking changes
- Behavior changed
The release notes label shared subscription support as a breaking change. Check existing subscription code and broker behavior after upgrading. github.com
mqtt-cpp 9.0.0 breaking changes
- Behavior changed
The error code returned in one case was changed. Code checking that error code may need updating. github.com - Signature changed
payload
The return type of payload() changed to support scattered payloads. Use payload_as_buffer() instead. github.com
mqtt-cpp 8.0.0 breaking changes
- Removed
*_dup functions
The *_dup functions were removed in favor of publish_options and subscribe_options. Code calling them must switch to the options structures. github.com - Removed
acquired_*
The acquired_* functions were removed. Use the non-acquired name versions, which now take a packet_id parameter. github.com - Behavior changed
Event handler virtual functions are now noexcept. Handlers must catch any exception they throw themselves. github.com - Behavior changed
The library now uses boost::asio::steady_timer instead of boost::asio::deadline_timer internally. Code that depends on the timer type should be checked. github.com - Behavior changed
Buffer lifetimes now follow the Boost.Asio CompletionToken model. Code relying on the old buffer lifetime may need changes. github.com - Behavior changed
for_each_store
The message version passed by for_each_store was corrected, so callers relying on the old value may see different behavior. github.com - Configuration changed
The package now requires Boost 1.67.0 or later. Projects on older Boost versions must upgrade. github.com - Signature changed
Restoring functions no longer take a packet_id parameter. Callers must drop that argument. 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.