chadtmiller.com/monolith
An atproto PDS
0
0
Release 0.5.0
Merged Approved
This is release-pull.yml's Release 0.5.0 pull, made by knope release --override-version 0.5.0 from main at af5993773eb7. That is main's head now, so the pull fast-forwards. It changes:
- the workspace version in
Cargo.tomlfrom 0.4.0 to 0.5.0; - the version of each of the seven
pds*packages inCargo.lockto match; CHANGELOG.md, which gets a 0.5.0 section;.changeset/, which loses its three change files.
I checked the following:
- Change files: the three this pull removes (
consent-permission-sets.md,consent-spaces.md,set-space-permissions.md) are the only ones on main. - Version bump: each is
default: minor, so moving to 0.5.0 fits this repository's rule that a 0.x minor change raises the minor. - Changelog: each CHANGELOG entry matches its change file word for word. The new section sits above 0.4.0 and is laid out the same way as the earlier ones.
- Other files: nothing outside these files changes. There is no spec, harness or server code in this pull, so the spec/harness rules in
.knotless/review.mddon't apply to it.
When I looked, the gates check was still running. The other three checks (store-bench-small, docs, citations) were skipped because the pull touches none of their paths. I found nothing to change.
All checks have passed
3 passed, 1 skipped
1 skipped check
docsSkippedMerged as e16e6e5
Releases Monolith 0.5.0, from the 3 change files on main: its changelog is below. Queue this pull to release it; once it lands, release.yml publishes the image and the binary and tags the commit. release-pull.yml keeps it up to date as change files land.
release-pull.yml
What changes
Monolith 0.5.0, as
knope release --override-version 0.5.0makes it from main at af5993773eb7: the workspace version from 0.4.0 to 0.5.0 in Cargo.toml and the crates' Cargo.lock entries, the version's CHANGELOG.md section, and the change files removed.Features
Consent shows permission sets as the reference does
The consent page gives every
include:scope a row of its own, as the reference's page does: also for a set with no title, and also besidetransition:generic. A row's heading is the set's title, or its NSID when it has none. Under the heading is the set's detail, or else the NSID when the set has a title. A closedDetailsdisclosure in the row lists what the set grants: its methods and the services they reach, and its collections with the actions asked of each. A set's grant is no longer folded into the "Your data in …" and "Other services" rows. The "From <authority>" line is gone, and titles and details are shown in full.Consent shows space permissions in plain words
The consent page now says what an app asks of spaces, in the same plain words as its other rows, rather than listing each
space:token as it is written. Each space an app asks for has a row of its own, named by whose spaces they are and the type's title: "Your Workspace spaces", "@bob.test's Board spaces", "Every space you're in". Its sentence says what the app may do there: read everything, or only what you've written; add, change or remove which kinds of records; make new spaces, change who's in them or delete them. A permission set'sDetailslists its spaces the same way. To say this, the authorization page's__authorizeDatanow carriesspaces, each space type's declaration, andspaceHandles, the verified handles of the accounts that own the spaces asked for, when the scope asks for any space, as the reference's spaces alpha does.Permission sets grant space permissions
A permission set may now grant
spacepermissions, as the spaces proposal and the reference's spaces alpha allow. Each one'sspaceTypemust be under the set's own namespace, and never*; its collections may be anywhere. Aninclude:of such a set gives the token's scope thosespace:permissions. They are written and rewritten as aspace:scope asked for directly would be: a bare type gets the collections its declaration lists, andselfbecomes the account's DID. The authorization page and the code grant resolve those space types' declarations too. Before this, a set'sspacepermissions were dropped, so an app that asked for its space access through a set got a token the space methods refused.Why
Those who run Monolith get main's changes only from a release. A 0.x minor change raises the minor here, where knope alone would raise the patch.
How it was checked
The gates run on this pull, as on any.
harness/upgrade/is written again from the tagged release afterwards, as docs/guide/contributing.md, "Releases", says.