Atproto spaces alpha updates

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:

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 of SpaceRef.for()

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.

7 Likes