Skip to content

docs: document the Codec / API-version layer (#401) - #763

Merged
s2x merged 5 commits into
masterfrom
docs/issue-401-doc-35-document-the-codec-api-version-la
Oct 24, 2026
Merged

s2x merged 5 commits into
masterfrom
docs/issue-401-doc-35-document-the-codec-api-version-la

Conversation

@s2x

@s2x s2x commented Oct 24, 2026

Copy link
Copy Markdown
Member

Description

Closes #401

The docs did not describe the Codec / API-version layer. This change documents it in docs/architecture.md.

Changes

  • docs/architecture.md: new section "Key encoding and API versions" — CodecInterface, CodecV1, CodecV2, MemComparableCodec, Mode (prefix bytes 0x72 / 0x78), a region-key table by API version and mode, how options['apiVersion'] (0 and 1 = V1, 2 = V2) and the keyspace select the codec, the exceptions, and that Codec\ is internal.
  • CHANGELOG.md: entry under [Unreleased] / ### Fixed.

Acceptance criteria notes:

Testing

Documentation only. Every claim was checked against src/Client/Codec, ConnectionFactory, KeyspaceResolver, RawKvClient and TxnKvClient.

Code Review

  • Reviewed by an independent review agent (2 rounds, final: "Code looks good, no issues to fix.")

@s2x s2x self-assigned this Oct 24, 2026
…35-document-the-codec-api-version-la

# Conflicts:
#	CHANGELOG.md
@s2x
s2x merged commit 68f7eb8 into master Oct 24, 2026
11 checks passed
@s2x
s2x deleted the docs/issue-401-doc-35-document-the-codec-api-version-la branch October 24, 2026 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOC-35] Document the Codec / API-version layer

1 participant