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

# cppgraphqlgen breaking changes

cppgraphqlgen 4.0.0 is its newest release with breaking changes. The first: Removed schemagen --merge-files. Every breaking API change we have recorded in cppgraphqlgen on vcpkg: 11 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2020-12-07`. [Source repository](https://github.com/microsoft/cppgraphqlgen)

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 1 breaking change in 1 version.
- From [0.7](#v-0-7) to [4.0.0](#v-4-0-0): 10 breaking changes in 4 versions.

## cppgraphqlgen 4.0.0 breaking changes

cppgraphqlgen 4.0.0: 1 breaking change.

- **Removed** `schemagen --merge-files`  

The --merge-files option of schemagen was removed and generated code now always uses separate files. Stop passing --merge-files to schemagen. [github.com](https://github.com/microsoft/cppgraphqlgen/releases/tag/v4.0.0)

## cppgraphqlgen 3.0.0 breaking changes

cppgraphqlgen 3.0.0: 7 breaking changes.

- **Renamed** `facebook.graphql`  

The facebook::graphql namespace is replaced by graphql, so qualified references must be updated. [github.com](https://github.com/microsoft/cppgraphqlgen/releases/tag/v3.0.0)
- **Renamed** `Mutation`  

Generated Mutation accessors are renamed from getFieldName-style names to names like applyFieldName; update callers of the old names. [github.com](https://github.com/microsoft/cppgraphqlgen/releases/tag/v3.0.0)
- **Configuration changed**  

The grammar and AST are now a separate library target, so builds and linking that expect them in the main library must be updated. [github.com](https://github.com/microsoft/cppgraphqlgen/releases/tag/v3.0.0)
- **Configuration changed**  

The library now targets C++17, so builds must use a C++17 compiler and standard setting. [github.com](https://github.com/microsoft/cppgraphqlgen/releases/tag/v3.0.0)
- **Signature changed**  

Nullable fields are now std::optional rather than std::unique_ptr, so code that handles them as unique_ptr must change. [github.com](https://github.com/microsoft/cppgraphqlgen/releases/tag/v3.0.0)
- **Signature changed** `ast`  

The ast template now uses std::vector\<char> in place of std::string, so code instantiating ast\<std::string> must be updated. [github.com](https://github.com/microsoft/cppgraphqlgen/releases/tag/v3.0.0)
- **Signature changed** `response.Value`  

response::Value now uses std::variant, so code relying on its previous representation must be updated. [github.com](https://github.com/microsoft/cppgraphqlgen/releases/tag/v3.0.0)

## cppgraphqlgen 2.0.0 breaking changes

cppgraphqlgen 2.0.0: 1 breaking change.

- **Signature changed** `peg.ast`  

The peg::ast definition and its parsing functions were rewritten with less std::unique_ptr use and pointer dereferencing, so code that uses them must be updated. [github.com](https://github.com/microsoft/cppgraphqlgen/releases/tag/v2.0.0)

## cppgraphqlgen 1.1.0 breaking changes

cppgraphqlgen 1.1.0: 1 breaking change.

- **Signature changed**  

The notes say breaking API changes were needed but do not name the affected symbols, so check the v2.0.0 notes and the code you use. [github.com](https://github.com/microsoft/cppgraphqlgen/releases/tag/v1.1.0)

## cppgraphqlgen 0.7 breaking changes

cppgraphqlgen 0.7: 1 breaking change.

- **Signature changed**  

Most generated interface and service methods have new signatures, particularly for async support. Code with custom interface implementations or callers must be updated to the new signatures. [github.com](https://github.com/microsoft/cppgraphqlgen/releases/tag/v0.7)

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