Breaking changes:
repo
:apply_commit
,apply_writes
: raise an exception if the repo is inactive.
storage
:create_repo
: removesigning_key
androtation_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
.
- Stop storing
util
:- Rename
TombstonedRepo
toInactiveRepo
.
- Rename
Non-breaking changes:
datastore_storage
:DatastoreStorage
:- Add new
ndb_context_kwargs
constructor kwarg. apply_commit
: handle deactivated repos.create_repo
: propagateRepo.status
intoAtpRepo
.
- Add new
AtpRemoteBlob
:get_or_create
: drop datastore transaction.- Add
width
andheight
properties, populated for images and videos, to be used in image/video embedaspectRatio
(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 fromservices.atproto_pds.endpoint
.
- Add new
storage
:Storage
: add newwrite_blocks
method, implement inMemoryStorage
andDatastoreStorage
.
xrpc_repo
:describe_server
: include allapp.bsky
collections and others likechat.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.
- Bug fix: Use string TID for