~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

Release 0.3.0

Merged
Merged chadtmiller.com asked to merge into main from chadtmiller.com/group-host:release/next

Releases group-host 0.3.0, from the 4 change files on main: its changelog is below. Merging this pull releases it; just release then tags it v0.3.0, and brings this pull up to date as more change files land.

deploy/release.sh

What changes

group-host 0.3.0, as knope release --override-version 0.3.0 makes it from main at 8e90c4ceeb49: the workspace version from 0.2.0 to 0.3.0 in Cargo.toml and the crates' Cargo.lock entries, which /xrpc/_health and the MCP server's serverInfo name once it is deployed, the version's CHANGELOG.md section, and the change files removed.

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.

Why

A version names what the host, the console and the command do for those who run and use them. A 0.x minor change bumps the minor here, where knope alone would bump the patch.

How it was checked

The build and tests are left to CI.

Approved

This is a mechanical release bump. It raises the workspace version from 0.2.0 to 0.3.0 in Cargo.toml and in the three crates' Cargo.lock entries. It adds the 0.3.0 section to CHANGELOG.md, and that section matches the four change files word for word. It deletes those four change files. The two minor-level files (the rename to Atmosphere Groups, and the internal methods with no sites) justify the minor bump. I found nothing wrong. I didn't check the build and tests, which the body leaves to CI.

Merged as ac68313