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

Release 0.5.0

Merged
Merged chadtmiller.com asked to merge into main from chadtmiller.com/monolith:release/next

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.0 makes 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 beside transition: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 closed Details disclosure 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's Details lists its spaces the same way. To say this, the authorization page's __authorizeData now carries spaces, each space type's declaration, and spaceHandles, 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 space permissions, as the spaces proposal and the reference's spaces alpha allow. Each one's spaceType must be under the set's own namespace, and never *; its collections may be anywhere. An include: of such a set gives the token's scope those space: permissions. They are written and rewritten as a space: scope asked for directly would be: a bare type gets the collections its declaration lists, and self becomes the account's DID. The authorization page and the code grant resolve those space types' declarations too. Before this, a set's space permissions 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.

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.toml from 0.4.0 to 0.5.0;
  • the version of each of the seven pds* packages in Cargo.lock to 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.md don'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

Merged as e16e6e5