Skip to content

v0.8:

Latest
Compare
Choose a tag to compare
@snarfed snarfed released this 14 Mar 04:53
· 77 commits to main since this release
e6a814b

Breaking changes:

  • repo:
    • apply_commit, apply_writes: raise an exception if the repo is inactive.
  • storage:
    • create_repo: remove signing_key and rotation_key kwargs, read them from input repo instead.
    • load_repo: don't raise an exception if the repo is tombstoned.
  • datastore_storage:
    • Stop storing AtpBlock.decoded in the datastore, it's now just an in memory @property.
  • util:
    • Rename TombstonedRepo to InactiveRepo.

Non-breaking changes:

  • datastore_storage:
    • DatastoreStorage:
      • Add new ndb_context_kwargs constructor kwarg.
      • apply_commit: handle deactivated repos.
      • create_repo: propagate Repo.status into AtpRepo.
    • AtpRemoteBlob:
      • get_or_create: drop datastore transaction.
      • Add width and height properties, populated for images and videos, to be used in image/video embed aspectRatio (snarfed/bridgy-fed#1571).
      • Check video length, raise ValidationError on videos over 3 minutes.
  • did:
    • Add new get_signing_key, get_handle functions.
    • create_plc: remove trailing slash from services.atproto_pds.endpoint.
  • storage:
    • Storage: add new write_blocks method, implement in MemoryStorage and DatastoreStorage.
  • xrpc_repo:
    • describe_server: include all app.bsky collections and others like chat.bsky.actor.declaration; fetch and include DID doc.
    • Implement com.atproto.repo.importRepo.
  • xrpc_sync:
    • get_blob:
      • If we have more than one blob URL for the same CID, serve the latest one (bridgy-fed#1650.
      • Add HTTP Cache-Control to cache for 1h.
    • list_repos:
      • Bug fix: Use string TID for rev, not integer sequence number.
      • Bug fix: don't set status to null if the account is active.