Hey everyone!
We haven’t pushed out any breaking changes the last couple weeks but we did land some this week, specifically centered around the simplespace API.
Two main pieces of work landed:
- Matthieu’s review & cleanup of the implementation: Permissioned data review by matthieusieben · Pull Request #5469 · bluesky-social/atproto · GitHub
- An update that makes simplespace write access (storing & forwarding a write notification) independent of read access (getting a space credential): Add independent write access to simplespaces by dholms · Pull Request #5496 · bluesky-social/atproto · GitHub
- The relevant change to the proposal is over here: 0016 Atproto spaces: simplespace write access by dholms · Pull Request #105 · bluesky-social/proposals · GitHub
- This change is necessary to support the currently proposed “invites” spaces in the atmosphere groups standard: Thoughts on atmosphere groups "Invite" space
Here’s a description of relevant breaking changes:
- simplespace lexicons
- policy split into required readPolicy/writePolicy
- addMember replaced by putMember
- read & write booleans on members
- @atproto/car
- CAR SDK moved from @atproto/common into a new @atproto/car
- some updated reader/lifecycle APIs
- @atproto/space
- Some type tightening & renaming
- @atproto/syntax
- removed
atUri.spaceRef()in favor ofSpaceRef.for()
- removed
We deployed the spaces alpha PDS, published an updated docker image at ghcr.io/bluesky-social/atproto:pds-spaces-alpha, and published new alpha snapshot packages on NPM for all relevant packages.
This does involve a database migration on the PDS. To reduce the operational burden for folks that are running a self-hosted PDS, I opted to make that something that runs the first time each user’s actor DB is opened (relevant commit) for now. This approach will likely change before the production distribution.