From
bafyreicl425kwjroyq2mvpv6egc7rhhdt4357q2ml7cy5lhelmandsr6g4
indexed 2026-03-19 20:26 UTC
View this version
To
bafyreid76brwsr2sl3lgcir65ksuunitewj7pvzuetx34n375rcgeqsvuy
indexed 2026-03-27 06:44 UTC
View this version
Compatibility
breaking 3 breaking changes, 2 non-breaking changes.
Breaking changes (3)
- RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "at.inlay.component:body", src: "at.inlay.component:body", tgt: "at.inlay.component:body.type", kind: "prop", name: Some("type") }
- RemovedVertex RemovedVertex { vertex_id: "at.inlay.component:body.type" }
- ConstraintTightened ConstraintTightened { vertex_id: "at.inlay.component:body.imports:items", sort: "format", old_value: "at-uri", new_value: "did" }
Non-breaking changes (2)
- AddedVertex AddedVertex { vertex_id: "at.inlay.component#bodyExternal.personalized" }
- AddedEdge AddedEdge { src: "at.inlay.component#bodyExternal", tgt: "at.inlay.component#bodyExternal.personalized", kind: "prop", name: Some("personalized") }
Migration guidance
Removed
RemovedVertex { vertex_id: "at.inlay.component:body.type" }
Added
AddedVertex { vertex_id: "at.inlay.component#bodyExternal.personalized" }
Constraint changes
- ConstraintTightened ConstraintTightened { vertex_id: "at.inlay.component:body.imports:items", sort: "format", old_value: "at-uri", new_value: "did" }
Notes
- Breaking: RequiredEdgeRemoved { vertex_id: "at.inlay.component:body", src: "at.inlay.component:body", tgt: "at.inlay.component:body.type", kind: "prop", name: Some("type") }
- Non-breaking: AddedEdge { src: "at.inlay.component#bodyExternal", tgt: "at.inlay.component#bodyExternal.personalized", kind: "prop", name: Some("personalized") }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"bodyExternal": {55
"description": "Component rendered by calling a remote XRPC endpoint",66
"properties": {77
"did": {88
"description": "DID of the service hosting this component",99
"format": "did",1010
"type": "string"11
},12
"personalized": {13
"description": "When true, host sends a signed JWT identifying the viewer with each call.",14
"type": "boolean"1115
}1216
},1317
"required": [1418
"did"1519
],1620
"type": "object"1721
},1822
"bodyTemplate": {1923
"description": "Component rendered by the host from a serialized element tree",2024
"properties": {2125
"node": {2226
"description": "Serialized element tree with bindings",2327
"type": "unknown"2428
}2529
},2630
"required": [2731
"node"2832
],2933
"type": "object"3034
},3135
"main": {32
"description": "Component record - declares an implementation of a type",33
"key": "tid",36
"description": "Component record. The rkey is the type NSID this component implements.",37
"key": "nsid",3438
"record": {3539
"properties": {3640
"body": {3741
"description": "How this component is rendered. Omit for primitives rendered by the host.",3842
"refs": [3943
"#bodyExternal",4044
"#bodyTemplate"4145
],4246
"type": "union"4347
},4448
"createdAt": {4549
"format": "datetime",4650
"type": "string"4751
},4852
"description": {4953
"maxGraphemes": 1000,5054
"maxLength": 10000,5155
"type": "string"5256
},5357
"imports": {54
"description": "Ordered list of pack URIs (import stack). First pack that exports an NSID wins.",58
"description": "Ordered list of DIDs (import stack). For each NSID, the first DID that has a component with that rkey wins.",5559
"items": {56
"format": "at-uri",60
"format": "did",5761
"type": "string"5862
},5963
"type": "array"6064
},61
"type": {62
"description": "NSID this component implements (also the XRPC procedure)",63
"format": "nsid",64
"type": "string"65
},6665
"updatedAt": {6766
"description": "Last update timestamp. Set by the publish flow to bust cached responses.",6867
"format": "datetime",6968
"type": "string"7069
},7170
"via": {7271
"description": "Platform-managed deployment metadata",7372
"refs": [7473
"at.inlay.defs#viaValtown"7574
],7675
"type": "union"7776
},7877
"view": {7978
"description": "What data this component views and which prop receives it",8079
"ref": "#view",8180
"type": "ref"8281
}8382
},84
"required": [85
"type"86
],83
"required": [],8784
"type": "object"8885
},8986
"type": "record"9087
},9188
"view": {9289
"description": "Declares what data this component views and which prop receives it.",9390
"properties": {9491
"accepts": {9592
"description": "Data types this view accepts.",9693
"items": {9794
"refs": [9895
"#viewRecord",9996
"#viewPrimitive"10097
],10198
"type": "union"10299
},103100
"minLength": 1,104101
"type": "array"105102
},106103
"prop": {107104
"description": "Which component prop receives the view data.",108105
"maxLength": 256,109106
"type": "string"110107
}111108
},112109
"required": [113110
"prop",114111
"accepts"115112
],116113
"type": "object"117114
},118115
"viewPrimitive": {119116
"description": "View accepts a primitive value type.",120117
"properties": {121118
"format": {122119
"description": "String format constraint. Only applies when type is 'string'.",123120
"knownValues": [124121
"at-uri",125122
"did",126123
"datetime",127124
"uri",128125
"handle",129126
"at-identifier",130127
"nsid",131128
"cid",132129
"language",133130
"record-key",134131
"tid"135132
],136133
"maxLength": 64,137134
"type": "string"138135
},139136
"type": {140137
"description": "Lexicon primitive type.",141138
"knownValues": [142139
"string",143140
"integer",144141
"boolean",145142
"blob",146143
"cid-link",147144
"bytes"148145
],149146
"maxLength": 128,150147
"type": "string"151148
}152149
},153150
"required": [154151
"type"155152
],156153
"type": "object"157154
},158155
"viewRecord": {159156
"description": "View accepts individual records of a collection. Omit collection for a generic record view. When rkey is present, the component accepts bare DIDs (expanded to full AT URIs) and appears on identity pages.",160157
"properties": {161158
"collection": {162159
"description": "The collection this component views. Omit for any-collection.",163160
"format": "nsid",164161
"type": "string"165162
},166163
"rkey": {167164
"description": "The record key, baked from the collection's lexicon at authoring time. Presence enables DID expansion and identity page routing.",168165
"maxLength": 512,169166
"type": "string"170167
}171168
},172169
"type": "object"173170
}174171
},175172
"id": "at.inlay.component",176173
"lexicon": 1177174
}