dev.knotless.state
Schema Diff
+6 -5
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 0 non-breaking changes.
Breaking Changes (1)
- ConstraintTightened ConstraintTightened { vertex_id: "dev.knotless.state:body.state", sort: "knownValues", old_value: "[\"open\",\"closed\",\"merged\"]", new_value: "[\"open\",\"closed\",\"merged\",\"resolved\"]" }
Migration Guidance
Constraint Changes
- ConstraintTightened ConstraintTightened { vertex_id: "dev.knotless.state:body.state", sort: "knownValues", old_value: "[\"open\",\"closed\",\"merged\"]", new_value: "[\"open\",\"closed\",\"merged\",\"resolved\"]" }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "Kept in the account of whoever changed it. Readers take the latest from someone allowed to make it: the subject's author, the repository's owner or a collaborator; `merged` only from the latter two.",
5
+
"description": "Kept in the account of whoever changed it. Readers take the latest from someone allowed to make it: the subject's author, the repository's owner or a collaborator; `merged` only from the latter two; for a thread, also the pull's author.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"base": {
10
10
"description": "For a pull, the branch it targets from here on, without refs/heads/: set when the branch it targeted was renamed.",
11
11
"maxLength": 255,
12
12
"type": "string"
13
13
},
14
14
"commit": {
15
15
"description": "The hex object ID of the merge commit, for `merged`.",
16
16
"maxLength": 64,
17
17
"minLength": 40,
18
18
"type": "string"
19
19
},
20
20
"createdAt": {
21
21
"format": "datetime",
22
22
"type": "string"
23
23
},
24
24
"from": {
25
25
"description": "For `merged`, the hex object ID the base was at before the merge: from..commit is what the pull brought in, whose commits readers may then show as its author's.",
26
26
"maxLength": 64,
27
27
"minLength": 40,
28
28
"type": "string"
29
29
},
30
30
"pull": {
31
31
"description": "For `closed` on an issue, the dev.knotless.pull whose merge closed it, as its title or body named the issue after a closing keyword such as `Fixes`.",
32
32
"format": "at-uri",
33
33
"type": "string"
34
34
},
35
35
"repo": {
36
36
"description": "The repository the pull or issue is on.",
37
37
"ref": "dev.knotless.defs#repoRef",
38
38
"type": "ref"
39
39
},
40
40
"state": {
41
-
"description": "`merged` applies to pulls only. Absent when the record only sets `base`: the state stands.",
41
+
"description": "`merged` applies to pulls only; `resolved` and `open`, to a thread. Absent when the record only sets `base`: the state stands.",
42
42
"knownValues": [
43
43
"open",
44
44
"closed",
45
-
"merged"
45
+
"merged",
46
+
"resolved"
46
47
],
47
48
"maxLength": 64,
48
49
"type": "string"
49
50
},
50
51
"subject": {
51
-
"description": "The dev.knotless.pull or dev.knotless.issue whose state changed.",
52
+
"description": "The dev.knotless.pull or dev.knotless.issue whose state changed; or the dev.knotless.comment, with a `line`, that starts a thread.",
52
53
"format": "at-uri",
53
54
"type": "string"
54
55
}
55
56
},
56
57
"required": [
57
58
"repo",
58
59
"subject",
59
60
"createdAt"
60
61
],
61
62
"type": "object"
62
63
},
63
64
"type": "record"
64
65
}
65
66
},
66
-
"description": "A pull or issue opened, closed or merged, or a pull pointed at another target branch.",
67
+
"description": "A pull or issue opened, closed or merged, or a pull pointed at another target branch; or a thread on a pull's lines resolved or opened again.",
67
68
"id": "dev.knotless.state",
68
69
"lexicon": 1
69
70
}