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

# winreg breaking changes

winreg 15.0.0 (December 4, 2026) is its newest release with breaking changes, 2 of them. The first: Code now requires C++23 mode in winreg 15.0.0. Every breaking API change we have recorded in winreg on vcpkg: 14 breaking changes in 10 versions. Below, its 10 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `15.0.0`, released December 4, 2026. [Source repository](https://github.com/GiovanniDicanio/WinReg)

- From [14.0.0](#v-14-0-0) to [15.0.0](#v-15-0-0): 2 breaking changes in 1 version.
- From [2.1.2](#v-2-1-2) to [15.0.0](#v-15-0-0): 13 breaking changes in 9 versions.

## winreg 15.0.0 breaking changes

winreg 15.0.0, released December 4, 2026: 2 breaking changes.

- **Configuration changed**  

The library moved to C++23 mode, so users must compile with C++23 or use the C++20 release v14.1.1 instead. [github.com](https://github.com/GiovanniDicanio/WinReg/releases/tag/v15.0.0)
- **Signature changed** `RegExpected`  

RegExpected\<T> is now a plain alias for std::expected\<T, RegResult> instead of a custom implementation. Code that relied on the custom type's specific members or behavior may need to change. [github.com](https://github.com/GiovanniDicanio/WinReg/releases/tag/v15.0.0)

## winreg 14.0.0 breaking changes

winreg 14.0.0: 1 breaking change.

- **Removed**  

The library no longer supports compiling in C++17 mode and requires C++20. Users who need C++17 must stay on the v12 branch. [github.com](https://github.com/GiovanniDicanio/WinReg/releases/tag/v14.0.0)

## winreg 12.0.0 breaking changes

winreg 12.0.0: 1 breaking change.

- **Behavior changed**  

Getters now detect malformed registry data, such as a REG_DWORD with fewer than 4 bytes or UTF-16 strings with an odd byte count, and report them as errors rather than silently returning wrong or truncated values. Code that relied on the... [github.com](https://github.com/GiovanniDicanio/WinReg/releases/tag/v12.0.0)

## winreg 10.0.0 breaking changes

winreg 10.0.0: 4 breaking changes.

- **Behavior changed** `RegResult.ErrorMessage`  

RegResult::ErrorMessage() no longer includes the trailing \\r\\n returned by FormatMessage(), so code that expects that suffix must change. [github.com](https://github.com/GiovanniDicanio/WinReg/releases/tag/v10.0.0)
- **Signature changed** `RegTypeToString`  

RegTypeToString() returns a const wchar_t\* rather than a newly created wstring, so code that stores or assigns the result as a wstring must change. [github.com](https://github.com/GiovanniDicanio/WinReg/releases/tag/v10.0.0)
- **Signature changed** `SetQwordValue`  

SetQwordValue() now takes the ULONGLONG data parameter by value instead of by const reference. [github.com](https://github.com/GiovanniDicanio/WinReg/releases/tag/v10.0.0)
- **Signature changed** `TrySetQwordValue`  

TrySetQwordValue() now takes the ULONGLONG data parameter by value instead of by const reference. [github.com](https://github.com/GiovanniDicanio/WinReg/releases/tag/v10.0.0)

## winreg 8.0.0 breaking changes

winreg 8.0.0: 1 breaking change.

- **Behavior changed**  

The library now targets C++20, so code built with an older C++ standard must switch to C++20 to use this version. [github.com](https://github.com/GiovanniDicanio/WinReg/releases/tag/v8.0.0)

## winreg 6.0.0 breaking changes

winreg 6.0.0: 1 breaking change.

- **Signature changed** `TryGetDwordValue`  

The non-throwing TryGetXxxxValue methods, such as TryGetDwordValue, now return RegExpected\<T> instead of std::optional\<T>, so code using the optional interface must be updated to handle the new return type. [github.com](https://github.com/GiovanniDicanio/WinReg/releases/tag/v6.0.0)

## Older versions

4 older versions.

### winreg 5.0.0 breaking changes

winreg 5.0.0: 1 breaking change.

- **Signature changed** `QueryInfoKey`  

The public interface of some existing methods, such as QueryInfoKey, was refined and improved. Check existing calls to these methods and update them if they no longer compile. [github.com](https://github.com/GiovanniDicanio/WinReg/releases/tag/v5.0.0)

### winreg 4.0.0 breaking changes

winreg 4.0.0: 1 breaking change.

- **Default changed**  

Registry keys opened without an explicit access flag now default to the 64-bit registry view, so 32-bit applications on 64-bit Windows see different keys than before. Code that relies on the old default must pass access flags explicitly. [github.com](https://github.com/GiovanniDicanio/WinReg/releases/tag/v4.0.0)

### winreg 2.2.0 breaking changes

winreg 2.2.0: 1 breaking change.

- **Configuration changed**  

The library code was refactored to be header-only. Build setups that compile WinReg.cpp separately must stop doing so. [github.com](https://github.com/GiovanniDicanio/WinReg/releases/tag/v2.2.0)

### winreg 2.1.2 breaking changes

winreg 2.1.2: 1 breaking change.

- **Configuration changed**  

The library's code moved from header-only into .hpp and .cpp files. Users must now compile and link WinReg.cpp with their code. [github.com](https://github.com/GiovanniDicanio/WinReg/releases/tag/v2.1.2)

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