From
bafyreiabxarcra7rwzf7yov6ygtufgoe4rx6zympqvtwg2bzn2icpvng5e
indexed 2026-09-24 00:10 UTC
View this version
To
bafyreifryrcafn6ar2v2og7nkk3klnoqvkmfjmmbimgxi5q4x4dbl6f7eq
indexed 2026-11-05 16:25 UTC
View this version
Compatibility
breaking 2 breaking changes, 3 non-breaking changes.
Breaking changes (2)
- KindChanged KindChanged { vertex_id: "fyi.opensocial.membership:body.roles:items", old_kind: "string", new_kind: "ref" }
- ConstraintAdded ConstraintAdded { vertex_id: "fyi.opensocial.membership:body.roles:items", sort: "ref", value: "fyi.opensocial.defs#roleId" }
Non-breaking changes (3)
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.defs#roleId" }
- AddedEdge AddedEdge { src: "fyi.opensocial.membership:body.roles:items", tgt: "fyi.opensocial.defs#roleId", kind: "ref", name: None }
- ConstraintRemoved ConstraintRemoved { vertex_id: "fyi.opensocial.membership:body.roles:items", sort: "maxLength" }
Migration guidance
Added
AddedVertex { vertex_id: "fyi.opensocial.defs#roleId" }
Constraint changes
- ConstraintAdded ConstraintAdded { vertex_id: "fyi.opensocial.membership:body.roles:items", sort: "ref", value: "fyi.opensocial.defs#roleId" }
- ConstraintRemoved ConstraintRemoved { vertex_id: "fyi.opensocial.membership:body.roles:items", sort: "maxLength" }
Notes
- Breaking: KindChanged { vertex_id: "fyi.opensocial.membership:body.roles:items", old_kind: "string", new_kind: "ref" }
- Non-breaking: AddedEdge { src: "fyi.opensocial.membership:body.roles:items", tgt: "fyi.opensocial.defs#roleId", kind: "ref", name: None }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {5
"description": "Grants a member their roles. Written by the group authority; the record key is the member's DID.",5
"description": "Grants a member their roles, in the members space. Written by the group authority; the record key is the member's DID. Writes are bounded by the writer's assignable roles. Creating one admits one waiting to join and decides their request; deleting one ejects the member.",66
"key": "any",77
"record": {88
"properties": {99
"createdAt": {1010
"format": "datetime",1111
"type": "string"1212
},1313
"member": {1414
"format": "did",1515
"type": "string"1616
},1717
"roles": {18
"description": "Distinct roles declared by this group.",1819
"items": {19
"description": "A role id: the record key of a fyi.opensocial.role record.",20
"maxLength": 64,21
"type": "string"20
"ref": "fyi.opensocial.defs#roleId",21
"type": "ref"2222
},23
"maxLength": 100,2324
"type": "array"2425
}2526
},2627
"required": [2728
"member",2829
"roles",2930
"createdAt"3031
],3132
"type": "object"3233
},3334
"type": "record"3435
}3536
},3637
"id": "fyi.opensocial.membership",3738
"lexicon": 13839
}