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

# bitsery breaking changes

bitsery 5.0.0 is its newest release with breaking changes, 22 of them. The first: Removed AdapterAccess. Every breaking API change we have recorded in bitsery on vcpkg: 22 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `5.2.5`. [Source repository](https://github.com/fraillt/bitsery)

## bitsery 5.0.0 breaking changes

bitsery 5.0.0: 22 breaking changes.

- **Removed** `AdapterAccess`  

Serializer and deserializer expose the adapter directly via adapter(). [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Removed** `AdapterWriter`  

Its functionality moved to adapters. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Removed** `align`  

align can now be called directly on the input or output adapter. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Removed** `archive`  

Use operator() instead, which does the same thing. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Removed** `BufferedSessions`  

BufferedSessions was removed; read and write position can now be changed directly on buffered adapters. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Removed** `context`  

Use an outer tuple wrapping with the other context methods instead. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Removed** `internal context`  

The internal context option was removed from config. Code that sets it must stop doing so. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Removed** `isValidState`  

Query the stream object directly instead. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Removed** `registerBasesList`  

This method was previously deprecated and is now gone. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Removed** `UnsafeInputBufferAdapter`  

Use the CheckAdapterErrors config option to disable adapter read error checks instead. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Renamed** `BasicDeserializer`  

Use Deserializer\<Adapter, Context=void> instead. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Renamed** `BasicSerializer`  

Use Serializer\<Adapter, Context=void> instead. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Renamed** `flexible`  

Replace every use of flexible with brief_syntax. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Renamed** `NetworkEndianness`  

Use Endianness in config instead of NetworkEndianness. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Renamed** `setError`  

Use error instead of setError on input adapters. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Behavior changed** `context<T>`  

context\<T> checks whether a type is convertible, so base class lookups can match child implementations. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Behavior changed** `contextOrNull<T>`  

contextOrNull\<T> checks whether a type is convertible, so base class lookups can match child implementations. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Signature changed**  

Serialize and deserialize functions receive the context as a reference first argument instead of a pointer. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Signature changed**  

Lambdas that accepted (T&) must now accept (S&, T&). [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Signature changed**  

Extensions no longer receive Writer or Reader parameters, since the adapter is exposed directly. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Signature changed** `context<T>`  

context\<T> returns T& and fails to compile if no context exists, instead of returning nullptr. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)
- **Signature changed** `Serializer`  

Serializer is now Serializer\<Adapter, Context=void>. [github.com](https://github.com/fraillt/bitsery/blob/v5.0.0/CHANGELOG.md)

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