~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
214 lines · 24.2 KB Raw History
# Changelog

What changed in each version of the group host, its console and the
`opensocial` command for those who run and use them, from the change
files in `.changeset/` (see `knope.toml`).

## 0.8.0 (2026-11-30)

### Features

#### Choose to see the console light or dark

The menu under your handle has Appearance: System, Light or Dark. A choice takes effect at once, is kept in a cookie of the console's own for a year, and every page is drawn in it from its first byte. System, as before, follows the device.

#### Approving an app is a page of its own, over the host's background

The page an app's request is approved on is one card, without the console's header and footer: at its top, the host's name and logo and who is signed in, whose menu switches account, adds one or signs out. With one group to approve, Decline sits beside its button. "Technical details" and the operator's links are at the card's foot. `BACKGROUND_LIGHT_URL` and `BACKGROUND_DARK_URL` set the picture behind the card, served at `/img/background-light` and `/img/background-dark`, and `getBrand` names them as `backgrounds`.

#### A host's operator names it, and gives it a logo and links to their pages

`SERVICE_NAME`, `LOGO_URL`, `HOME_URL`, `PRIVACY_POLICY_URL`, `TERMS_OF_SERVICE_URL`, `SUPPORT_URL` and `CONTACT_EMAIL` say how the host shows itself. The console draws the name and logo in its header and its pages' titles, and links the operator's pages from its footer, reading them from the host by `org.atgrp.internal.getBrand`. The host serves its logo at `/img/host`, read as an app's logo is: only a PNG, JPEG, GIF or WebP image of at most 256 KiB. `describeServer` gives the privacy policy and terms of service as its `links`, and the email address as its `contact`. Unset, the console is Atmosphere Groups as before.

#### A host's operator sets the colour that acts, and the console's palette

`PRIMARY_COLOR` and `PRIMARY_COLOR_DARK`, each `#rgb` or `#rrggbb`, make the console's buttons, links and marks the operator's colour, with their hover, wash and link line mixed from it and the text on a button whichever of white or the page's ink reads better. Without a dark one, the light one is lifted lighter. `PALETTE` sets the rest of the console, its paper, cards, lines and ink: `paper`, its own warm one, or a gray faintly tinted to go with a primary colour, `slate` (blue), `neutral` (none), `sage` (green) or `mauve` (purple). `getBrand` answers them as `colors` and `palette`; the host refuses to start on any other colour or palette. In dark, the quietest text reads more clearly on the console's wells.

## 0.7.0 (2026-11-30)

### Features

#### Identities, guarded requests and service tokens by atproto-client

The host resolves identities, asks the hosts others' data names, and checks a space's delegation tokens and a group's token for moving here with the `atproto-client` crate. Its requests to such hosts now share one pool of connections rather than a client each. Whose a handle is, it keeps five minutes as it keeps DID documents, but asks again to check a group's own domain or an account moving here. `HANDLE_RESOLVERS` names a handle's own `/.well-known/atproto-did` as `well-known`, asked over the scheme `DID_WEB_SCHEME` says, where it was `well-known:<scheme>`: the host refuses to start with the old form. With `DID_WEB_SCHEME=http`, as on a test network, a handle may be any name, as `127.0.0.1:2584`. `atgrp` calls hosts and its own PDS through the same crate.

Each call the host makes to resolve an identity or check a token is logged as a `call` line, attempt by attempt, in the trace of the request it is made for, and sends a `traceparent` naming that trace; a refusal it is answered with is logged as `refused`.

#### The console signs people in with atproto-client's OAuth client

Signing in to the console, signing up, and signing in to an account to move here go through `atproto-client`'s OAuth client, which holds an authorization server to atproto's profile: it must require PAR, take client metadata documents, say who answers (`iss`, which a callback must carry), and list the methods the profile asks. Before the tokens are taken, at the callback and before each refresh of a move's session, the account's authorization server is read again from its DID and must be the one that issued them. A sign-in refused after its code was redeemed, as another account's, has its grant revoked. What a sign-in gives back is its refresh token, which ends the whole grant, where it was the access token.

The console's client metadata is a confidential web client's as atproto's profile has it, with a second redirect, `/console/move/callback`, for an account being moved here; it answers 500, saying why, where `CONSOLE_URL` is not https at a public name, as no authorization server takes such a client. A sign-in waiting for the browser is kept in the database whole, and a move keeps its account's session there by the account; a move under way when the host is upgraded is let go, to be signed in to again. An account's server is read at most 16 MiB an answer, and 256 MiB a repo or file, while it moves.

Each call the host makes to a host others' data names (sending a call on, telling a PDS or a syncer, reading a client's metadata, a group's own domain) is now logged as a `call` line and sends a `traceparent`, as identity calls were.

#### An app keeps reading a space the group makes after approving it

Approval now keeps a scope that only reads spaces of a type (`space:T?action=read`), or of a type and key, where the group has no such space yet. Before, it was withheld, and a grant keeps its scope through every refresh, so an app approved before the group made the space could never read it without being approved again. Each credential still asks whether the member reads the space at that moment, so the scope reads nothing the member doesn't. A scope that writes, or reads a space the group already has that the roles don't read, is withheld as before. Grants already made keep the scope they were given: an app reads a space made since only once a member approves it again.

### Fixes

#### The console signs in with one OAuth client, and checks service auth by atproto-client

The console signs people in, and signs in to accounts being moved here, with one OAuth client on atproto-client 0.6. A sign-in coming back to the other one's callback (the console's at a move's, or a move's at the console's) is refused as one this browser did not start, approved or not. A move finished or cancelled while its account's session was being refreshed stays ended: the refreshed tokens are given back, and the move answers `NotFound`.

Service auth sent to the host's own methods, to `notifyRepoUpdate` and `notifyCredentialsRevoked`, and an account's token for moving here, are checked with atproto-client's `verify_any`, for the audiences each took before. A token's audience and method are now checked before any key is read: `notifyRepoUpdate` checks its `space` is well formed first, and a token for an account not hosted here is refused by `notifyCredentialsRevoked` before its signature.
An account's token for moving here whose DID can't be resolved is refused `InvalidToken`, as one whose DID names no key is, where it was `InvalidRequest`.

#### A list's last page names no cursor

The last page of a list names no `cursor`, where it named `"cursor": null`, which a lexicon's `cursor`, a string, does not allow, so a client checking answers against the lexicons (as `@atproto/lex` does) refused it. That was `com.atproto.repo.listRecords`, `com.atproto.sync.listRepos` and `listBlobs`, `com.atproto.space.listRecords`, `listRepoOps` and `listBlobs`, `org.atgrp.listJoinRequests`, `org.atgrp.internal.listInvites` and `org.atgrp.internal.listSpaceRecords`.

#### Moving a group and revoking a token name their errors

The lexicons of `org.atgrp.internal.migratePrepare`, `migrateReceive`, `migrateComplete`, `migrateActivate` and `revokeGroupToken` now list the errors each answers beyond those any method may, with when, so a client can tell one refusal from another by its name: `NotController`, `NotAllowed`, `AlreadyHere`, `BadServiceJwt`, `HandleNotAvailable`, `SourceUnreadable`, `InvalidOperation`, `NotYet` and `NotFound`.

#### Scopes read as atproto's reference reads them

The host reads OAuth scopes, roles' permissions and space policies' permissions with atproto 0.4.4's `scope` module, as atproto's permission spec and `@atproto/oauth-scopes` read them. A scope its grammar doesn't take is no scope: one naming an action there is none of (`repo:C?action=upsert`, where the unknown action was left out before), a parameter its resource doesn't take, a value it takes once named twice, a collection that isn't an NSID, or an `rpc:` audience with no `#service`. Approval withholds such a scope, and `createSpace` and `updateSpace` refuse a policy permission that is one (`InvalidRequest`).

A blob scope names one type or pattern: `blob:image/*,video/*` is no scope, where it was read as both. An upload's type is compared with the scope as written, not ignoring case, so `IMAGE/png` no longer passes `blob:image/*`. A token now keeps each blob scope it is given as one scope per type, lowercase (`blob?accept=Image/PNG` becomes `blob:image/png`).

An `rpc:` scope for one of the host's own methods names it at `<host DID>#atgrp` or `*`; the host's DID alone, which it took before, is no audience. `space?spaceType=T` is now kept at approval as `space:T` is.

Tokens already issued keep what they were granted: upgrading rewrites each grant's scope once so that it reads the same. A blob list becomes a scope per type, lowercase; unknown actions and parameters, and repeated values after the first, are dropped; and the host's DID alone as an audience of its own methods becomes `<host DID>#atgrp`. A scope that granted nothing before still does. Roles and space policies already written are records and are not rewritten: a permission in one that the grammar doesn't take now grants nothing. Those the console and `atgrp` write all read the same.

#### Service auth is checked with atproto-client 0.7.1's `verify_with`

The host's service auth and an account's token for moving here are checked with atproto-client 0.7.1's `verify_with`, which judges a token's audience itself, and tells an issuer that can't be resolved from one naming no key. An account's token for moving here whose DID can't be resolved is refused `InvalidRequest` again, as before 0.6; one whose DID names no key, or whose signature doesn't hold, is still `InvalidToken`.

## 0.6.1 (2026-11-27)

### Fixes

#### DPoP proofs, PKCE, did:webs and AT URIs are read by atproto 0.4.1

The host checks DPoP proofs, PKCE verifiers and challenges, `did:web`s and AT URIs with the `atproto` crate's own, as the reference implementation does. A DPoP proof with an `ath` sent with no access token, as to `/oauth/par` or `/oauth/token`, is now refused (`invalid_dpop_proof`), where before its `ath` went unread. A pushed authorization request whose `code_challenge` is not 43 to 128 unreserved characters is refused there, rather than at the token endpoint. A `PUBLIC_URL` whose host is no hostname, with a port if any, is refused at start unless `SERVICE_DID` is set, and `atgrp` refuses an `ATGRP_HOST` or `--to` address whose did:web it cannot make, unless `ATGRP_HOST_DID` or `--to-did` names one.

#### The console's header stays on one line on a phone

The site's name and the signed-in account's menu sit side by side at every width. On a narrow screen the handle in the menu is cut short with an ellipsis, rather than the menu dropping to a second line under the name.

#### The host asks no host a DID or handle names at a private address

A `did:web`'s document, a handle's `/.well-known/atproto-did`, the PDS a DID document names (told of a write in a space or of revoked credentials, or read for a space's repo or file) and a group's own domain, when the host checks that it reaches it, are now asked only over `https`, at public addresses, with no redirect followed. These are the rules the host already held client metadata, syncer endpoints and proxied services to. Before, anyone controlling a `did:web` or a handle could point the host at an address on its own network. A host whose `PUBLIC_URL` is `http`, a network of test servers, asks them over `http` too, at any address, as before. So `DID_WEB_SCHEME=http` now reaches a `did:web`'s own host only from such a host. The addresses `DID_WEB_HOSTS` sets are the host's own settings, and are read as they are set.

## 0.6.0 (2026-11-27)

### Features

#### The Apps page names apps as they name themselves, and says what was done in words

The apps acting as a group are listed by the name and icon their client metadata gives (`client_name`, `logo_uri`), with the domain of their client ID beside the name, what their scope lets them do ("Can post and make changes as the group", or "Can read the group's profile and members, and see requests to join" for an app that only reads), and who approved them. The app's icon shows on the approval page too, where an app asks to sign in as a group. The host reads the icon itself and serves it at `/img/app?id=<client ID>`: only an `https` `logo_uri` on the client ID's own origin, a PNG, JPEG, GIF or WebP by its bytes, 256 KiB at most, kept ten minutes. An app with none is drawn as its initial.

The card under them is now "Changes made as the group", made by apps and by members in the console, each said as it is seen: "@alice.test made the group members-only", "Grain (grain.social) created the group's Grain profile". A change to a space names it by what the group keeps there (its profile, its members, its pool), never by its URI, and a change to who may read it says so. Another app's record is named by its app and kind, with its lexicon's description under it where the host can resolve the lexicon. `org.atgrp.internal.listGroupTokens` gives what these are said from: each app's `client`, a space change's `space`, and a write's `description`.

## 0.5.1 (2026-11-27)

### Fixes

#### A group's record is served with its proof

The host answers `com.atproto.sync.getRecord`, as a PDS does: a CAR rooted at the group's signed commit, holding the tree's nodes down to the record and the record itself, or proving it absent. Apps that read a record a group just wrote through `getRecord` were refused with `MethodNotImplemented`, so the record showed only once the network brought it.

## 0.5.0 (2026-11-27)

### Features

#### An app signed in as a group calls other services through the host

An app signed in as a group (with OAuth or an app password) calls other services as the group the way it would through any account's PDS: a call with `atproto-proxy: <did>#<service>` to a method the host doesn't serve is sent on to that service with service auth the group signs (`aud` the service's DID, `lxm` the method, a minute), and its answer streamed back. `com.atproto.server.getServiceAuth` gives an app such a token to send itself. A token's scope must hold the call (`rpc:<method>?aud=<did>#<service>`, a permission set that gives it, or `transition:generic`), or it fails `ScopeMissingError`, and its member must still hold `repo:*`. An app password's session calls anything but chat unless it may use chat. The host refuses methods that manage an account directly, itself as the service, and services not at a public address.

Signing an app in now keeps `transition:generic` and `transition:chat.bsky` for members holding `repo:*`, and other apps' permission sets (`include:social.grain.authFull?aud=…`) as far as the member's roles grant their parts. A set is read as its app publishes it: its `_lexicon` TXT record, read from `DNS_OVER_HTTPS` (Cloudflare's unless set), names the repo holding it.

## 0.4.1 (2026-11-27)

### Fixes

#### The relays are asked to read the host as it starts

The host asks each relay in `PDS_CRAWLERS` to read its firehose (`com.atproto.sync.requestCrawl`) as it starts, before it writes anything, and every 20 minutes after, whether or not it wrote anything. It asked only after writing an event, which a relay reading the host for the first time never received, so a new host's first group could miss the relays entirely. It logs `asked the relay to crawl` or `requestCrawl failed` for each relay each time.

## 0.4.0 (2026-11-26)

### Breaking Changes

#### The host follows the Atmosphere Groups spec as released

The host now follows the Atmosphere Groups spec (tangled.org/atmospheregroups.org/spec) as it was released. Groups made before this change keep their old records, which the host no longer reads.

- A group's profile is now two records in its meta space: `org.atgrp.about` (display name, description, avatar and `website`, which was `url`) and `org.atgrp.config` (its join policy). The banner is gone. A group's rules and labeler moved to its members space. Its declaration is empty.
- Records and spaces were renamed: `acceptance` is now `confirmation`, and the `invites` inbox space is now `inbox`. In roles and space policies, `scopes` is now `permissions`, and in roles, `assignable` is now `canAssign`. A role's ID is lowercase letters and `-`, at least three of them.
- The permission sets are now `authManageBasic`, `authManageMembers`, `authModerate` and `authManageAdmin`. `authModerate` no longer admits, invites or assigns roles.
- Moderation methods are now under `org.atgrp.mod.*`: `submitReport`, `querySubjects`, `querySubjectHistory` and `updateSubject`. A subject is either open or resolved. Moderators tag subjects instead of escalating them, and can reopen a resolved one. Report reasons are `org.atgrp.mod.defs#reason*` tokens. Appeals go through the new `mod.submitAppeal`, and an account reads its own history with `mod.querySelfHistory`.
- An app signed in as the group no longer passes `group` to the group methods.
- `requestJoin` now returns the caller's existing request or membership, where before it refused them.
- `atgrp`: `role set` and `role grant` now take `--permissions` and `--can-assign`, `profile set` takes `--website`, `mod list` filters by tags and sorts, and `mod update` replaces `mod resolve`.

### Features

#### Space URIs are at:space/

The host names a space `at:space/<authority>/<type>/<skey>`, and a record in one `at:space/<authority>/<type>/<skey>/<repo>/<collection>/<rkey>`, as the spaces alpha of November 24, 2026 does (@atproto/space 0.0.0-spaces-alpha-20261124235736). They were `at://<authority>/space/…`. Every method, the console, `atgrp` and the MCP tools answer and take the new form; a space or a record in one named the old way is refused, as anything that is not one is. The host renames the spaces its database keeps, and the moderation subjects and events that name them, when it starts.

#### An app signed in as a group reads its spaces

`com.atproto.space.getDelegationToken` answers an app signed in as a group, as a PDS answers one signed in as its account: a delegation token the group signs for one of its spaces, which buys a credential from `com.atproto.space.authorizeSpaceSync` to read the space, with `notify` if the app wants to hear of its changes. The session's scope must read the space (`space:<type>?action=read`, `ScopeMissing` otherwise), and the member who approved it must read it at that moment (`NotAuthorized`). So an app an admin approves once reads a group's `meta`, `members` and its own spaces, the members' records in them at their PDSes included, the Atmosphere Groups proposal's shared application session. Before, a group session could write in its spaces and read none of them.

#### An app signed in as a group calls its methods with rpc: scopes, and what its grant bought ends with it

Approval keeps `rpc:org.atgrp.listJoinRequests`, `denyJoinRequest`, `listModSubjects`, `getModSubjectHistory` and `resolveModSubject` (for this host or `aud=*`) when the approving member's roles hold the action each asks (`admit`, `mod.read`, `mod.resolve`). Those methods then answer the group session's DPoP token as well as a member's service auth, asking the member's roles again at each call (`Forbidden`), and the scope (`ScopeMissing`).

The delegation tokens a group session is given, and the space credentials and `notify` registrations they buy, are kept with its grant. When the grant ends (`revokeGroupToken`, `/oauth/revoke`, `deleteSession`, its member put out), or its member reads a space no more after a members-space write or a policy change, its credentials there are revoked, the writers' PDSes told, its registrations withdrawn, and its unspent delegations buy nothing.

#### /oauth/token names the approving member

A token response, to a code or a refresh, carries `member`, the DID of the member who approved the grant: this host's own field, beside `sub`, the group.

### Fixes

#### LastConfigurer says what to do, in words a person reads

`leaveGroup`, refused because nobody else could run the group, says "You're the group's only admin. Make someone else an admin first." A write to the members space that would leave nobody running it says "That would leave the group with no admin. Make someone else an admin first." `leaveGroup`'s lexicon describes `LastConfigurer` in the same words, so an app can show it to the person.

## 0.3.0 (2026-11-25)

### Features

#### The project is Atmosphere Groups

The lexicons are `org.atgrp.*`, and the host's own methods `org.atgrp.internal.*`; they were `fyi.opensocial.*`.

The command is `atgrp`, and reads `ATGRP_AS`, `ATGRP_PASSWORD`, `ATGRP_HOST`, `ATGRP_HOST_DID`, `ATGRP_SEED_INVITE` and `ATGRP_IMPORT_PASSWORD`. `just atgrp` runs it.

The host's DID document names its service `#atgrp`, of type `AtgrpGroupHost`, so an app proxies to `<did>#atgrp`.

The project is Atmosphere Groups, implementing the Atmosphere Groups proposal.

#### The host's own methods are internal, and groups no longer have websites

The methods that are this host's own, not the Atmosphere Groups proposal's, moved to `org.atgrp.internal.*`, with the views they answer in `org.atgrp.internal.defs`. A caller names them by their new NSIDs.

A group's website is gone: `putSite`, `deleteSite`, the `fyi.opensocial.site` record, the `fyi.opensocial.siteSpace` space type, the site kit and the page the host served around a site, `opensocial site` and the `site_publish` and `site_delete` MCP tools. A group's address now only redirects, to its own domain or to its page in the console.

A group's own domain stays, as `org.atgrp.internal.putGroupDomain` and `deleteGroupDomain`, `atgrp group domain` and the `group_domain` MCP tool, and the group's view names it as `domain`. `SITE_CHECK_AT` is now `DOMAIN_CHECK_AT`, and the host no longer reads `SITE_SHELL_DIR`, `SITE_HANDLE_RESOLVER` or `SITE_PLC_URL`.

`@opensocial/sdk` is gone.

### Fixes

#### A space read's signature and audience are refused as the reference refuses them

A space credential's request whose HTTP Message Signature fails, or whose `Atproto-Space-Audience` is missing or not a DID, is refused with 401 `BadSpaceSignature`, the spaces alpha's name, where it was `BadSignature`. A request signed for another repo than the one it reads is refused with 401 `BadSpaceAudience`, where it was 400, and only once its signature holds.

#### A space credential for another space is refused as InvalidCredential

A space read or an authority's method called with a sound space credential for another space is refused with 400 `InvalidCredential`, as the spaces alpha's reference refuses it, where it was 401 `BadJwtSub`. It is checked last, after the request's signature, revocation and audience, and a credential is looked up as revoked under the space it was issued for.

## 0.2.0 (2026-11-24)

### Features

#### A group's profile has the opensocial proposal's fields alone

`fyi.opensocial.profile` now holds what the proposal's `group.opensocial.profile` does: `displayName`, `description`, `avatar`, `banner`, `joinPolicy` and `url`, with `createdAt` beside them. `location`, `online`, `topics`, `languages` and `links` are gone, from the profile and from `getGroup`, with the `community.lexicon.location` lexicons. The console's profile settings no longer ask where a group meets, what it's about, its languages or its links, and its card no longer shows them. `opensocial profile set` and the `profile_set` MCP tool no longer take those fields, and nothing asks a favicon service for a link's icon, so the host, the console and the command no longer read `FAVICONS`. A profile written with the old fields keeps them in its record, but they aren't shown, and the console drops them when it next saves the profile.