yyjson breaking changes
yyjson 0.13.0 is its newest release with breaking changes, 2 of them. The first: Read-only functions now take const-qualified parameters in yyjson 0.13.0. Every breaking API change we have recorded in yyjson on vcpkg: 15 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2021-04-12. Source repository
yyjson 0.13.0 breaking changes
- Signature changed
Parameters of read-only functions gained a const qualifier, which can affect code that passes pointers or relies on the previous declarations. github.com - Signature changed
set_int
The set_int() parameter changed from int to int64_t, so callers passing int-typed values or relying on the old signature may need updating. github.com
yyjson 0.12.0 breaking changes
- Behavior changed
yyjson_incr_read
The incremental reader yyjson_incr_read() dropped support for non-standard JSON. Code that relies on reading non-standard JSON incrementally must change its input to standard JSON. github.com
yyjson 0.11.0 breaking changes
- Behavior changed
For truncated escape sequences, the reported error position is now the start of the sequence rather than the end. Code that relies on the old error position must be updated. github.com - Behavior changed
When comments are allowed, an unclosed comment now returns the UNEXPECTED_END error code. Code that checks for INVALID_COMMENT must check for UNEXPECTED_END instead. github.com
yyjson 0.10.0 breaking changes
- Behavior changed
The wording of JSON reader error messages changed, so code that matches on the exact message text may need updating. github.com
yyjson 0.9.0 breaking changes
- Behavior changed
yyjson_ptr_get_uint
The pointer getters now automatically convert between uint and sint values instead of failing on a type mismatch. Code that relied on a failure for a mismatched type may now receive a converted value. github.com
yyjson 0.7.0 breaking changes
- Behavior changed
yyjson_mut_write
The custom allocator realloc function signature gained an old_size parameter, and yyjson_read_number() gained an alc parameter; update callers and allocator implementations. github.com - Signature changed
yyjson_read_number
yyjson_read_number() now takes an alc parameter, so existing calls must be updated. github.com
Older versions
2 older versions, each with its first changes. Sign up to see every change
Show 2 older versions
yyjson 0.5.0 breaking changes
- Behavior changed
String serialization was rewritten and validates unicode encoding by default; code writing strings with invalid unicode may now fail unless YYJSON_WRITE_ALLOW_INVALID_UNICODE is used. github.com - Signature changed
yyjson_mut_obj_remove
yyjson_mut_obj_remove() now returns yyjson_mut_val * instead of bool; code that checks the bool result must be updated. github.com
yyjson 0.4.0 breaking changes
- Renamed
YYJSON_DISABLE_COMMENT_READER
The YYJSON_DISABLE_COMMENT_READER flag is replaced by YYJSON_DISABLE_NON_STANDARD. Update build flags to use the new name. github.com - Renamed
YYJSON_DISABLE_FP_READER
The YYJSON_DISABLE_FP_READER flag is replaced by YYJSON_DISABLE_FAST_FP_CONV. Update build flags to use the new name. github.com
And 2 more in this version.
Related packages
- github.com/ibireme/yyjson on Swift Package Index
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.