full diff

tech.lenooby09.kvcs.channel

From
bafyreihn3w7utwakpinh3hw24vkcfpmpy5oa4acs7rrnxiv534gzbbp5iu indexed 2026-05-01 19:53 UTC View this version
To
bafyreibjt5zv3q32hgu6aoafviky232a4iirkkqeq4tkfg37bwl2jubhoi indexed 2026-05-05 13:43 UTC View this version

Compatibility

breaking 2 breaking changes, 0 non-breaking changes.

Breaking changes (2)
  • ConstraintAdded ConstraintAdded { vertex_id: "tech.lenooby09.kvcs.channel:body.heads:items", sort: "maxLength", value: "128" }
  • ConstraintAdded ConstraintAdded { vertex_id: "tech.lenooby09.kvcs.channel:body.name", sort: "maxLength", value: "256" }

Migration guidance

Constraint changes

  • ConstraintAdded ConstraintAdded { vertex_id: "tech.lenooby09.kvcs.channel:body.name", sort: "maxLength", value: "256" }
  • ConstraintAdded ConstraintAdded { vertex_id: "tech.lenooby09.kvcs.channel:body.heads:items", sort: "maxLength", value: "128" }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "A kvcs channel head record. Holds the human-readable channel name and the hex patch ids that are currently the tips of the channel.",
66 "key": "any",
77 "record": {
88 "properties": {
99 "heads": {
10 "description": "Hex patch ids that are tips of this channel.",
10 "description": "Hex patch ids that are tips of this channel. The 64-item cap is a defensive bound; real-world channels typically have 1-3 tips.",
1111 "items": {
12 "description": "Lower-case hex multihash (BLAKE3) of a patch — 128 chars covers the longest hashes in current use.",
13 "maxLength": 128,
1214 "type": "string"
1315 },
16 "maxLength": 64,
1417 "type": "array"
1518 },
1619 "name": {
17 "description": "Channel name (e.g. \"main\").",
20 "description": "Channel name (e.g. \"main\"). Capped at 256 chars — kvcs channel labels are short, human-readable identifiers similar to git branch names.",
21 "maxLength": 256,
1822 "type": "string"
1923 }
2024 },
2125 "required": [
2226 "name",
2327 "heads"
2428 ],
2529 "type": "object"
2630 },
2731 "type": "record"
2832 }
2933 },
3034 "description": "A kvcs channel head — points at one or more patch records under tech.lenooby09.kvcs.patch.",
3135 "id": "tech.lenooby09.kvcs.channel",
3236 "lexicon": 1
3337}

Compare other versions