From
bafyreibsl7e3ajmxkmzkfycwuto2g6n2onzbnhc5c4ea6ereimltwd2v2i
indexed 2026-10-17 02:20 UTC
View this version
To
bafyreib6fjdayjeqhyzacvqmwdmqlw6fx7deeyjb5ytxmc25cytd4ps47m
indexed 2026-11-05 16:25 UTC
View this version
Compatibility
breaking 7 breaking changes, 4 non-breaking changes.
Breaking changes (7)
- RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "fyi.opensocial.getSubjectHistory:output", src: "fyi.opensocial.getSubjectHistory:output", tgt: "fyi.opensocial.getSubjectHistory:output.subject", kind: "prop", name: Some("subject") }
- RemovedVertex RemovedVertex { vertex_id: "fyi.opensocial.defs#eventView" }
- RemovedVertex RemovedVertex { vertex_id: "fyi.opensocial.defs#subjectView" }
- RemovedVertex RemovedVertex { vertex_id: "fyi.opensocial.getSubjectHistory:output.subject" }
- RemovedEdge RemovedEdge { src: "fyi.opensocial.getSubjectHistory:output.events:items", tgt: "fyi.opensocial.defs#eventView", kind: "ref", name: None }
- RemovedEdge RemovedEdge { src: "fyi.opensocial.getSubjectHistory:output.subject", tgt: "fyi.opensocial.defs#subjectView", kind: "ref", name: None }
- ConstraintTightened ConstraintTightened { vertex_id: "fyi.opensocial.getSubjectHistory:output.events:items", sort: "ref", old_value: "fyi.opensocial.defs#eventView", new_value: "fyi.opensocial.defs#moderationEvent" }
Non-breaking changes (4)
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.defs#moderationEvent" }
- AddedVertex AddedVertex { vertex_id: "fyi.opensocial.getSubjectHistory:output.cursor" }
- AddedEdge AddedEdge { src: "fyi.opensocial.getSubjectHistory:output", tgt: "fyi.opensocial.getSubjectHistory:output.cursor", kind: "prop", name: Some("cursor") }
- AddedEdge AddedEdge { src: "fyi.opensocial.getSubjectHistory:output.events:items", tgt: "fyi.opensocial.defs#moderationEvent", kind: "ref", name: None }
Migration guidance
Removed
RemovedVertex { vertex_id: "fyi.opensocial.defs#eventView" }RemovedVertex { vertex_id: "fyi.opensocial.defs#subjectView" }RemovedVertex { vertex_id: "fyi.opensocial.getSubjectHistory:output.subject" }
Added
AddedVertex { vertex_id: "fyi.opensocial.defs#moderationEvent" }AddedVertex { vertex_id: "fyi.opensocial.getSubjectHistory:output.cursor" }
Constraint changes
- ConstraintTightened ConstraintTightened { vertex_id: "fyi.opensocial.getSubjectHistory:output.events:items", sort: "ref", old_value: "fyi.opensocial.defs#eventView", new_value: "fyi.opensocial.defs#moderationEvent" }
Notes
- Breaking: RequiredEdgeRemoved { vertex_id: "fyi.opensocial.getSubjectHistory:output", src: "fyi.opensocial.getSubjectHistory:output", tgt: "fyi.opensocial.getSubjectHistory:output.subject", kind: "prop", name: Some("subject") }
- Breaking: RemovedEdge { src: "fyi.opensocial.getSubjectHistory:output.events:items", tgt: "fyi.opensocial.defs#eventView", kind: "ref", name: None }
- Breaking: RemovedEdge { src: "fyi.opensocial.getSubjectHistory:output.subject", tgt: "fyi.opensocial.defs#subjectView", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "fyi.opensocial.getSubjectHistory:output", tgt: "fyi.opensocial.getSubjectHistory:output.cursor", kind: "prop", name: Some("cursor") }
- Non-breaking: AddedEdge { src: "fyi.opensocial.getSubjectHistory:output.events:items", tgt: "fyi.opensocial.defs#moderationEvent", kind: "ref", name: None }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {5
"description": "Every event on one subject. Requires mod.read.",5
"description": "Get a subject's moderation history, oldest first. Requires mod.read.",6
"errors": [7
{8
"description": "The subject isn't an account or record in this group.",9
"name": "InvalidSubject"10
}11
],612
"output": {713
"encoding": "application/json",814
"schema": {915
"properties": {16
"cursor": {17
"type": "string"18
},1019
"events": {1120
"items": {12
"ref": "fyi.opensocial.defs#eventView",21
"ref": "fyi.opensocial.defs#moderationEvent",1322
"type": "ref"1423
},1524
"type": "array"16
},17
"subject": {18
"ref": "fyi.opensocial.defs#subjectView",19
"type": "ref"2025
}2126
},2227
"required": [23
"subject",2428
"events"2529
],2630
"type": "object"2731
}2832
},2933
"parameters": {3034
"properties": {35
"cid": {36
"description": "Narrow a record subject to one version.",37
"format": "cid",38
"type": "string"39
},40
"cursor": {41
"type": "string"42
},3143
"group": {32
"description": "The group DID. Every method is served by the group's host and authorized against that group's roles. Or the host's own DID, for its queue of what's shared with everyone: templates, their versions, and likes of them, for the host's moderators alone.",44
"description": "The group DID. Every method is served by the group's host and authorized against that group's roles.",3345
"format": "did",3446
"type": "string"3547
},48
"limit": {49
"default": 50,50
"maximum": 100,51
"minimum": 1,52
"type": "integer"53
},3654
"subject": {37
"description": "A record's at-uri, or an account's DID.",55
"description": "An account DID or record URI.",3856
"format": "uri",3957
"type": "string"4058
}4159
},4260
"required": [4361
"group",4462
"subject"4563
],4664
"type": "params"4765
},4866
"type": "query"4967
}5068
},5169
"id": "fyi.opensocial.getSubjectHistory",5270
"lexicon": 15371
}