full diff

social.colibri.beta.channel

colibri.social +14 −5
From
bafyreicbfr6oxqwbq3r36l7w7nlokv3he3iso7ojxajuqusy2wpq74ts34 indexed 2026-08-23 12:32 UTC View this version
To
bafyreie3k7plfb5cqxk54pgoq3gvx7nebiec56wbo6y3qotrflqgwrm73e indexed 2026-11-14 11:13 UTC View this version

Compatibility

backward compatible Backward compatible. 6 non-breaking changes.

Non-breaking changes (6)
  • AddedVertex AddedVertex { vertex_id: "social.colibri.beta.channel:body.permissionOverrides" }
  • AddedVertex AddedVertex { vertex_id: "social.colibri.beta.channel:body.permissionOverrides:items" }
  • AddedVertex AddedVertex { vertex_id: "social.colibri.beta.defs#permissionOverride" }
  • AddedEdge AddedEdge { src: "social.colibri.beta.channel:body", tgt: "social.colibri.beta.channel:body.permissionOverrides", kind: "prop", name: Some("permissionOverrides") }
  • AddedEdge AddedEdge { src: "social.colibri.beta.channel:body.permissionOverrides", tgt: "social.colibri.beta.channel:body.permissionOverrides:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "social.colibri.beta.channel:body.permissionOverrides:items", tgt: "social.colibri.beta.defs#permissionOverride", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "social.colibri.beta.channel:body.permissionOverrides" }
  • AddedVertex { vertex_id: "social.colibri.beta.channel:body.permissionOverrides:items" }
  • AddedVertex { vertex_id: "social.colibri.beta.defs#permissionOverride" }

Notes

  • Non-breaking: AddedEdge { src: "social.colibri.beta.channel:body", tgt: "social.colibri.beta.channel:body.permissionOverrides", kind: "prop", name: Some("permissionOverrides") }
  • Non-breaking: AddedEdge { src: "social.colibri.beta.channel:body.permissionOverrides", tgt: "social.colibri.beta.channel:body.permissionOverrides:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "social.colibri.beta.channel:body.permissionOverrides:items", tgt: "social.colibri.beta.defs#permissionOverride", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "A channel's configuration. Lives at key 'self' in the channel's own space. The space type says whether it is a text or voice channel, and the space key is the channel's identity.",
66 "key": "literal:self",
77 "record": {
88 "properties": {
99 "allowedMembers": {
10 "description": "Members allowed to post here in addition to allowedRoles.",
10 "description": "Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.",
1111 "items": {
1212 "description": "A member permitted to post.",
1313 "format": "did",
1414 "type": "string"
1515 },
1616 "type": "array"
1717 },
1818 "allowedRoles": {
19 "description": "Roles allowed to post here. Empty means no role restriction.",
19 "description": "Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.",
2020 "items": {
2121 "description": "A role permitted to post.",
2222 "format": "record-key",
2323 "type": "string"
2424 },
2525 "type": "array"
2626 },
2727 "description": {
2828 "description": "The channel's topic.",
2929 "maxLength": 256,
3030 "type": "string"
3131 },
3232 "linkEmbeds": {
3333 "description": "Whether link previews are shown here. Absent means the community default.",
3434 "type": "boolean"
3535 },
3636 "migratedFrom": {
3737 "description": "Set on a channel created by migrating a repo-backed community. Points at the legacy channel record whose history is served alongside this channel.",
3838 "format": "at-uri",
3939 "type": "string"
4040 },
4141 "name": {
4242 "description": "The channel's name.",
4343 "maxLength": 32,
4444 "minLength": 1,
4545 "type": "string"
4646 },
4747 "ownerOnly": {
4848 "default": false,
49 "description": "Whether only community admins may post.",
49 "description": "Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.",
5050 "type": "boolean"
5151 },
52 "permissionOverrides": {
53 "description": "Per-role and per-member permission overrides in this channel.",
54 "items": {
55 "ref": "social.colibri.beta.defs#permissionOverride",
56 "type": "ref"
57 },
58 "maxLength": 200,
59 "type": "array"
60 },
5261 "visibleToMembers": {
53 "description": "Members that may read this channel in addition to visibleToRoles.",
62 "description": "Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.",
5463 "items": {
5564 "description": "A member permitted to read.",
5665 "format": "did",
5766 "type": "string"
5867 },
5968 "type": "array"
6069 },
6170 "visibleToRoles": {
62 "description": "Roles that may read this channel. Empty or absent means every member may read it. A non-empty list makes the channel private: the community declines space credentials for it to anyone outside the list, so it is enforced by the protocol rather than only by a read handler.",
71 "description": "Deprecated, superseded by permissionOverrides. Honoured only while permissionOverrides is absent.",
6372 "items": {
6473 "description": "A role permitted to read.",
6574 "format": "record-key",
6675 "type": "string"
6776 },
6877 "type": "array"
6978 }
7079 },
7180 "required": [
7281 "name"
7382 ],
7483 "type": "object"
7584 },
7685 "type": "record"
7786 }
7887 },
7988 "id": "social.colibri.beta.channel",
8089 "lexicon": 1
8190}

Compare other versions